/* TRC Brasil — site additions on top of trilhas capture theme */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/opensans-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/opensans-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/opensans-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/opensans-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

/* brand CSS plates instead of operator logos */
.brand_plate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 52px;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  padding: 2px 6px;
  box-sizing: border-box;
  transition: transform .3s ease;
  text-decoration: none !important;
}
a.brand_plate:hover { transform: scale(1.06); color:#fff; }
.brand_plate span { display: block; overflow: hidden; }

/* hero cover on home */
.home_hero { margin: 0 0 24px 0; }
.home_hero img { width: 100%; height: auto; border-radius: 8px; vertical-align: bottom; }

/* article cover + figures */
.post_img { margin: 0 0 24px 0; }
.post_img img { width: 100%; height: auto; border-radius: 8px; vertical-align: bottom; }
.entry figure { margin: 0 0 24px 0; text-align: center; }
.entry figure img { max-width: 100%; height: auto; border-radius: 8px; }
.entry figcaption { font-size: 13px; color: #777; margin-top: 8px; }

/* fallback plates when images pending */
.img_plate {
  display: flex; align-items: center; justify-content: center;
  min-height: 180px; border-radius: 8px; margin: 0 0 24px 0;
  background: linear-gradient(135deg, #ecebff 0%, #d9d4fb 100%);
  border: 1px dashed #b0aaff; color: #5b4fc9;
  font-weight: 700; font-size: 14px; text-align: center; padding: 16px;
  box-sizing: border-box;
}

/* RG block */
.rgblock {
  margin: 30px 0 0 0;
  padding: 18px 22px;
  border: 1px solid #b0aaff;
  border-left: 5px solid #7d6df0;
  border-radius: 6px;
  background: #f6f5ff;
  font-size: 14px;
  line-height: 22px;
}
.rgblock strong { color: #26272c; }
.rgblock a { color: #5b4fc9; font-weight: 700; }
.rg18 {
  display: inline-block; min-width: 34px; padding: 2px 6px; margin-right: 8px;
  border: 2px solid #d33; border-radius: 50%; color: #d33;
  font-weight: 700; text-align: center; font-size: 13px;
}

/* article table (canon) */
.article-table-wrap { overflow-x: auto; margin: 0 0 24px 0; }
table.article-table {
  width: 100%; border-collapse: collapse; font-size: 14px; line-height: 21px;
  background: #fff; margin: 0;
}
table.article-table th, table.article-table td {
  border: 1px solid #d9d4fb; padding: 9px 12px; text-align: left; vertical-align: top;
}
table.article-table thead th { background: #ecebff; color: #26272c; font-weight: 700; }
table.article-table tbody tr:nth-child(even) td { background: #f8f7ff; }

/* entry lists */
.entry ul, .entry ol { padding-left: 24px; }
.entry li { margin: 0 0 8px 0; }

/* strategy / hub cards */
.card_grid { display: flex; flex-wrap: wrap; justify-content: space-between; padding: 0 40px 30px 40px; }
.hub_card {
  width: 48%; margin: 0 0 20px 0; box-sizing: border-box;
  border: 1px solid #e4e1fa; border-radius: 8px; overflow: hidden;
  background: #fff; transition: box-shadow .3s ease;
}
.hub_card:hover { box-shadow: 0 4px 18px rgba(38,39,44,.12); }
.hub_card .hub_img img { width: 100%; height: auto; vertical-align: bottom; }
.hub_card .hub_t { padding: 14px 16px 4px 16px; font-weight: 700; font-size: 16px; line-height: 22px; }
.hub_card .hub_t a { color: #26272c; text-decoration: none; }
.hub_card .hub_t a:hover { color: #7d6df0; }
.hub_card .hub_x { padding: 0 16px 16px 16px; font-size: 14px; color: #555; }

/* review page head meta box */
.rev_meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 16px 18px; margin: 0 0 24px 0;
  background: #ecebff; border-radius: 8px;
}
.rev_meta .brand_plate { width: 110px; height: 64px; font-size: 15px; }
.rev_meta .rev_bon { flex: 1; min-width: 200px; font-size: 14px; line-height: 21px; }
.rev_meta .rev_bon strong { display: block; font-size: 16px; color: #26272c; }
.rev_meta .rat { width: 110px; }

/* entry page wrapper */
.page_entry { padding: 40px 40px 30px 40px; }

/* related bets on review pages */
.rel_bets { padding: 0 40px 30px 40px; }
.rel_bets .title h3 { text-align: left; }

/* footer */
.footer_imgs img { vertical-align: bottom; margin-left: 8px; }
.rgfoot { color: #999; font-size: 13px; margin-top: 6px; }
.rgfoot a { color: #b0aaff; }

/* mobile: nav wraps instead of JS drawer */
@media (max-width: 980px) {
  .main_nav { display: block !important; position: relative !important; height: auto !important; box-shadow: none !important; }
  .main_nav > ul { display: flex !important; flex-wrap: wrap; width: auto !important; }
  .main_nav > ul > li { width: auto !important; border-top: none !important; }
  .main_nav > ul > li > a { height: auto !important; line-height: 22px !important; padding: 10px 14px !important; text-align: left; }
  .show_nav, .top_se { display: none !important; }
  .card_grid { padding: 0 15px 20px 15px; }
  .hub_card { width: 100%; }
  .page_entry { padding: 25px 15px 20px 15px; }
  .rel_bets { padding: 0 15px 20px 15px; }
  .betting { flex-wrap: wrap; padding: 15px 10px; }
  .betting_bon { order: 5; width: 100%; margin-top: 10px; text-align: center; }
  .logo { width: 180px; }
  .logo img { max-width: 100%; height: auto; }
}
