:root {
    --primary: #1e3a8a;
    --success: #11b76b;
    --success-trans: #abeac6;
}

.btc-date-heading {
    font-weight: bold;
	margin-top: 5px;
    margin-bottom: 5px;
}

/* Deprecated */
/*.btc-betting-tip-item {
    background: #ffffff;
    padding: 15px 15px;
    border-radius: 15px;
    margin-bottom: 10px;

    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.btc-betting-tip-item .btc-time {
    font-weight: bold;
    font-size: 1.25em;
}

.btc-betting-tip-item .btc-label {
    flex-grow: 1;
}

.btc-betting-tip-item .btc-cta a {
    background: var(--success);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 10px;
}

.btc-betting-tip-item .btc-odds {
    font-weight: bold;
}*/

/* Clickable row as a link */
a.btc-betting-tip-item {
    background: #ffffff;
    padding: 15px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
  
    display: flex;            /* desktop layout */
    flex-direction: row;
    gap: 15px;
    align-items: center;
  
    text-decoration: none;
    color: inherit;
    transition: background-color 140ms ease-out;
  }
  
  a.btc-betting-tip-item:hover { background: #f7f7f7; }
  a.btc-betting-tip-item:active { background: #f1f1f1; }
  a.btc-betting-tip-item:focus-visible {
    outline: 2px solid #2b7cff;
    outline-offset: 3px;
  }
  
  /* Time: bold only */
  .btc-betting-tip-item .btc-time { font-weight: bold; }
  
  /* Label stretches on desktop */
  .btc-betting-tip-item .btc-label {
    flex: 1;
    min-width: 0;             /* allow wrapping without overflow */
    word-break: break-word;
  }
  
  /* Odds + CTA */
  .btc-betting-tip-item .btc-odds { font-weight: bold; }
  .btc-betting-tip-item .btc-cta {
    background: var(--success-trans);
    color: var(--success);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 1;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  a.btc-betting-tip-item:hover .btc-cta { filter: brightness(0.95); }
  
  /* ===== Mobile layout: reorder with grid =====
     Row 1: time | odds (right)
     Row 2: label | cta (right)
  */
  @media (max-width: 767px) {
    a.btc-betting-tip-item {
      display: grid;                     /* override flex */
      grid-template-columns: 1fr auto;   /* left grows, right auto */
      grid-template-areas:
        "time  odds"
        "label cta";
      align-items: center;
      row-gap: 8px;
      column-gap: 12px;
    }
    .btc-betting-tip-item .btc-time  { grid-area: time; }
    .btc-betting-tip-item .btc-odds  { grid-area: odds; justify-self: end; text-align: right; }
    .btc-betting-tip-item .btc-label { grid-area: label; min-width: 0; }
    .btc-betting-tip-item .btc-cta   { grid-area: cta; justify-self: end; }
  }
  
  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    a.btc-betting-tip-item { transition: none; }
  }
  




.btc-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;             /* 20px between items */
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}
  
.btc-box {
    /* Take up half the width minus half the gap */
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    
    box-sizing: border-box;
    background: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
}
  
@media (max-width: 767px) {
    .btc-box {
      flex: 0 0 100%;
      max-width: 100%;
    }
}

.btc-tip-info-table {
    width: auto !important;
    font-size: inherit !important;
}

.btc-tip-info-table td {
    border: 0 !important;
    background: transparent !important;
    padding: 0 15px 0 0 !important;
}

.btc-outcome-wrapper {
    display: flex;
    gap: 20px;
}

@media (max-width: 767px) {
    .btc-outcome-wrapper {
        display: block;
    }
    .btc-outcome-wrapper div:last-child {
        margin-top: 20px;
    }

    .btc-tip-info-table,
    .btc-tip-info-table tr,
    .btc-tip-info-table td {
        display: block !important;
        width: 100% !important;
    }

    .btc-tip-info-table tr {
        margin-bottom: 5px; /* space between rows */
    }

    .btc-tip-info-table td {
        padding: 0 !important; /* override your desktop padding */
    }
}