/*
Theme Name: bonus-code-canada
Template: expert-dental-specialist
Version: 1.0.1784232734
Updated: 2026-07-16 20:12:14

*/


:root {
 
  /* -- Core palette -- */
  --bcc-color-ink:        #1b2430; /* body text, headings */
  --bcc-color-bg:         #eef2f7; /* page background — cool light blue-gray */
  /* Alternates, just swap the line above if you want a different feel:
     --bcc-color-bg: #e8eef5;  cooler / more visibly blue
     --bcc-color-bg: #eaf3f2;  cool but slightly fresher/greener
     --bcc-color-bg: #f7f5ee;  original warm cream, for reference */
  --bcc-color-primary:    #c8272c; /* CTA, links on hover, key accent (maple red) */
  --bcc-color-primary-dark: #a91f24; /* CTA hover/active */
  --bcc-color-secondary:  #1f3a5f; /* links, secondary accent (deep denim blue) */
  --bcc-color-gold:       #e3a63e; /* highlights, stamp, step badges (jackpot gold) */
  --bcc-color-accent:     #0e9594; /* vivid teal — a cool counterweight to the warm red/gold, used sparingly */
 
  /* -- Tints, derived from the palette above, used for backgrounds/borders -- */
  --bcc-color-primary-tint:   #f9e6e5;
  --bcc-color-secondary-tint: #e8edf3;
  --bcc-color-gold-tint:      #fbf0dc;
  --bcc-color-ink-tint:       #e6ebf1; /* cool, matches the new bg family (was a warm greige) */
 
  --bcc-color-white:  #ffffff;
  --bcc-color-border: #e3e0d4;
 
  /* -- Typography -- */
  /* Base reading size: applies ONLY to paragraphs, list items, table cells.
     Headings and disclaimers/fine print use their own fixed sizes below,
     so they never change if this value is adjusted. */
  --bcc-font-size-base: 1.05rem;
  --bcc-line-height-base: 1.7;
 
  /* -- Layout -- */
  --bcc-radius:  12px;
  --bcc-radius-sm: 8px;
  --bcc-shadow:  0 6px 20px rgba(27, 36, 48, 0.08);
  --bcc-shadow-hover: 0 12px 28px rgba(27, 36, 48, 0.14);
  --bcc-gap: 1.75rem;
}
 
/* ==========================================================================
   2. BASE TYPOGRAPHY
   ========================================================================== */
 
body {
  background-color: var(--bcc-color-bg);
  color: var(--bcc-color-ink);
}
 
/* Base font-size variable applies only to these elements, per project rule */
p,
li,
td,
th {
  font-size: var(--bcc-font-size-base);
  line-height: var(--bcc-line-height-base);
  color: var(--bcc-color-ink);
}
 
/* Headings keep their own fixed scale, independent of --bcc-font-size-base */
h1 { font-size: 2.5rem;  line-height: 1.15; font-weight: 800; }
h2 { font-size: 1.9rem;  line-height: 1.25; font-weight: 800; margin-top: 3rem; }
h3 { font-size: 1.4rem;  line-height: 1.3;  font-weight: 700; }
h4 { font-size: 1.15rem; line-height: 1.35; font-weight: 700; }
 
h1, h2, h3, h4, h5, h6 {
  color: var(--bcc-color-ink);
}
 
/* Accent underline under H2s, ties every section header to the palette */
h2 {
  position: relative;
  padding-bottom: 0.5rem;
}
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bcc-color-primary), var(--bcc-color-gold), var(--bcc-color-accent));
}
 
/* Links */
a {
  color: var(--bcc-color-secondary);
  text-decoration-color: var(--bcc-color-gold);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover,
a:focus {
  color: var(--bcc-color-primary);
}
 
/* Fine print / disclaimers / legal text: fixed size, NOT tied to --bcc-font-size-base */
.bcc-disclaimer,
.bcc-fine-print {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #55606e;
}
 
/* ==========================================================================
   3. BUTTONS / CTA ("Get Bonus" links)
   ========================================================================== */
 
.wp-block-button__link {
  background: var(--bcc-color-primary);
  color: var(--bcc-color-white) !important;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.85em 1.9em;
  box-shadow: var(--bcc-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: var(--bcc-color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--bcc-shadow-hover);
}
 
.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--bcc-color-secondary) !important;
  border: 2px solid var(--bcc-color-secondary);
}
 
/* ==========================================================================
   4. TABLES
   Mobile (<=650px) tables are rebuilt by a separate plugin, so every rule in
   this section is scoped to 651px and up on purpose — do not move anything
   table-related outside this media query without checking with the person
   maintaining the mobile table plugin first.
   ========================================================================== */
 
@media (min-width: 651px) {
  .wp-block-table {
    margin: 1.75rem 0;
    border: 1px solid var(--bcc-color-border);
    border-radius: var(--bcc-radius);
    box-shadow: var(--bcc-shadow);
    /* WP core already sets overflow-x:auto on this wrapper — that alone is
       enough to clip the table's contents to these rounded corners.
       Putting border-radius/overflow on the <table> element itself (the
       previous approach) is unreliable across browsers: thead/tbody
       backgrounds often refuse to clip to a table's own border-radius. */
  }
  .wp-block-table table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
  }
  .wp-block-table thead th {
    background: var(--bcc-color-secondary);
    color: var(--bcc-color-white);
    text-align: left;
    padding: 0.9rem 1.1rem;
    font-weight: 700;
  }
  .wp-block-table td,
  .wp-block-table tbody th {
    padding: 0.85rem 1.1rem;
    /*border-top: 1px solid var(--bcc-color-border);*/
    border: 1px solid var(--bcc-color-border);
    vertical-align: top;
  }
  .wp-block-table tbody tr:nth-child(even) {
    background: var(--bcc-color-ink-tint);
  }
  .wp-block-table tbody th {
    color: var(--bcc-color-ink);
    font-weight: 700;
    white-space: nowrap;
  }
 
  /* Comparison-table variant: highlight the site's own row (used on the
     Jackpot City "vs other casinos" table) */
  .bcc-table-highlight tbody tr.bcc-row-featured td,
  .bcc-table-highlight tbody tr.bcc-row-featured th {
    background: var(--bcc-color-gold-tint);
    font-weight: 700;
    border-top: 2px solid var(--bcc-color-gold);
    border-bottom: 2px solid var(--bcc-color-gold);
  }
 
  /* Placeholder box for the live offers table (content doc marked this
     "~TABLE~", meaning the real comparison table is maintained elsewhere
     and inserted here) */
  .bcc-table-placeholder {
    border: 2px dashed var(--bcc-color-gold);
    border-radius: var(--bcc-radius);
    background: var(--bcc-color-gold-tint);
    padding: 1.5rem;
  }
  .bcc-table-placeholder .wp-block-table {
    border: none;
    box-shadow: none;
  }
  .wp-block-table .has-fixed-layout {
    margin-bottom: 0;
  }
}
 
/* ==========================================================================
   5. LISTS
   ========================================================================== */
 
.wp-block-list {
  list-style: none; /* the parent theme sets "body ul li{list-style:none}" globally
                        anyway — drawing our own marker below instead of fighting
                        that gives full control over its color/size regardless */
  padding-left: 0.2rem;
}
.wp-block-list > li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.55rem;
}
.wp-block-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bcc-color-gold);
}
 
/* Pros / cons styling for the Jackpot City review */
.bcc-list--pros,
.bcc-list--cons {
  list-style: none;
  padding-left: 0;
}
.bcc-list--pros li,
.bcc-list--cons li {
  position: relative;
  padding-left: 1.85rem;
}
.bcc-list--pros li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bcc-color-accent);
  font-weight: 800;
}
.bcc-list--cons li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bcc-color-primary);
  font-weight: 800;
}
 
/* ==========================================================================
   6. SIGNATURE ELEMENT — the "verified" ink-stamp badge
   Wraps existing "TESTED", "Last verified" and "Reviewed by..." text that is
   already in the content. No new copy added, just a distinctive treatment
   for the phrase the whole site is built around: real-money testing.
   ========================================================================== */
 
.bcc-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid var(--bcc-color-primary);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bcc-color-primary);
  background: var(--bcc-color-primary-tint);
  transform: rotate(-3deg);
  white-space: nowrap;
}
.bcc-stamp::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: var(--bcc-color-primary);
  color: var(--bcc-color-white);
  font-size: 0.75em;
}
 
/* Gold variant, used for "Last verified" style mentions */
.bcc-stamp--gold {
  border-color: var(--bcc-color-gold);
  color: #8a5a10;
  background: var(--bcc-color-gold-tint);
}
.bcc-stamp--gold::before {
  background: var(--bcc-color-gold);
}
 
/* On narrow screens the longer stamp text (e.g. "Tested by the
   bonuscodecanada.ca team · June 1 to 15, 2026") no longer fits on one
   line. Let it wrap instead of overflowing/getting clipped, and drop the
   pill shape + tilt since both only read well as a single short line. */
@media (max-width: 600px) {
  .bcc-stamp {
    display: inline-flex;
    align-items: flex-start;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
    border-radius: var(--bcc-radius);
    transform: none;
  }
  .bcc-stamp::before {
    flex-shrink: 0;
    margin-top: 0.05rem;
  }
}
 
/* ==========================================================================
   7. SIGNATURE ELEMENT — step ribbon
   Used both for the 5-stage "Deposit -> Claim -> Playthrough -> Withdraw ->
   Score" testing process and for "How to claim" numbered steps.
   Built from a plain Columns block (or a List block) + this styling only.
   ========================================================================== */
 
.bcc-steps {
  position: relative;
  z-index: 0; /* own stacking context, so the negative z-index line below stays contained here */
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 2rem 0;
}
.bcc-steps .wp-block-column {
  position: relative;
  text-align: center;
  flex-basis: 0;
}
/* Single connector line drawn behind the whole row instead of a separate
   mini-segment per column. This is what makes it robust: with 5 equal
   columns each badge is centered at 10% / 30% / 50% / 70% / 90% of the row,
   so a line from 10% to 90% always reaches exactly from the first badge's
   center to the last badge's center, no matter how wide .bcc-steps ends up
   being. The white badge background (in front, normal stacking order)
   simply covers the segments where a circle sits. */
.bcc-steps::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 23px; /* vertical center of the 46px badge */
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--bcc-color-gold) 0,
    var(--bcc-color-gold) 6px,
    transparent 6px,
    transparent 12px
  );
}
.bcc-step__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--bcc-color-gold);
  background: var(--bcc-color-white);
  color: var(--bcc-color-primary);
  font-weight: 800;
  font-size: 1.1rem;
}
.bcc-step__title {
  font-weight: 800;
  color: var(--bcc-color-ink);
  display: block;
}
.bcc-step__subtitle {
  font-size: 0.9rem;
  color: #55606e;
  display: block;
}
 
@media (max-width: 780px) {
  .bcc-steps {
    flex-direction: column;
  }
  .bcc-steps::before {
    display: none;
  }
}
 
/* Numbered "how to claim" list dressed with the same circular badge language */
.bcc-steps-list {
  list-style: none;
  counter-reset: bcc-step;
  padding-left: 0;
}
.bcc-steps-list li {
  counter-increment: bcc-step;
  position: relative;
  padding-left: 3.25rem;
  min-height: 2.4rem;
  margin-bottom: 1.1rem;
}
.bcc-steps-list li::before {
  content: counter(bcc-step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2px solid var(--bcc-color-gold);
  background: var(--bcc-color-white);
  color: var(--bcc-color-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
/* ==========================================================================
   8. CARDS
   Shared "highlight box" component: casino review boxes (Inclave page) and
   responsible-gambling resource boxes (home page) both use this class.
   ========================================================================== */
 
.bcc-card {
  background: var(--bcc-color-white);
  border: 1px solid var(--bcc-color-border);
  border-left: 5px solid var(--bcc-color-gold);
  border-radius: var(--bcc-radius);
  padding: 1.6rem 1.85rem;
  box-shadow: var(--bcc-shadow);
  margin: 1.75rem 0;
}
.bcc-card p {
  margin: 0.3rem 0;
}
.bcc-card__meta strong {
  color: var(--bcc-color-secondary);
}
.bcc-card__take {
  font-style: italic;
  color: #55606e;
}
 
/* Grid of cards (2x2 resource grid on the responsible gambling section).
   IMPORTANT: this WordPress/Gutenberg setup wraps Group block content in an
   extra <div class="wp-block-group__inner-container">, so the 4 card Groups
   are actually grandchildren of .bcc-card-grid, not direct children. Both
   selectors below are needed — the second one is the one doing the real
   work on this install; the first is kept in case a future WP/theme update
   stops adding that wrapper. */
.bcc-card-grid > .wp-block-group__inner-container,
.bcc-card-grid:not(:has(> .wp-block-group__inner-container)) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.bcc-card-grid {
  margin: 1.75rem 0;
}
.bcc-card-grid .bcc-card {
  margin: 0;
}
@media (max-width: 600px) {
  .bcc-card-grid > .wp-block-group__inner-container,
  .bcc-card-grid:not(:has(> .wp-block-group__inner-container)) {
    grid-template-columns: 1fr;
  }
}
 
/* ==========================================================================
   8b. BONUS TYPE CARDS (.bonus-cols)
   Columns block used for the "Most Popular Types of Casino Bonuses" grid:
   each column is an icon+heading row (a nested Group block) followed by a
   paragraph. Restyled as cards, reusing .bcc-card's visual language, plus a
   round icon "chip" that echoes the site's circular badge system (stamp,
   step numbers, FAQ toggle).
   ========================================================================== */
 
.bonus-cols {
  gap: 1.5rem;
  margin: 2rem 0;
  align-items: stretch;
}
 
.bonus-cols .wp-block-column {
  background: var(--bcc-color-white);
  border: 1px solid var(--bcc-color-border);
  border-left: 5px solid var(--bcc-color-gold);
  border-radius: var(--bcc-radius);
  box-shadow: var(--bcc-shadow);
  padding: 1.5rem 1.75rem;
}
 
/* Icon + heading row (the nested Group block) */
.bonus-cols .wp-block-group {
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}
 
/* Round icon "chip" — sized independently of whatever width/height the
   image itself was resized to in the editor, so the icon always sits
   centered inside a consistent 44px gold circle */
.bonus-cols .wp-block-image {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bcc-color-gold-tint);
}
.bonus-cols .wp-block-image img {
  border-radius: 0;
  box-shadow: none;
}
 
.bonus-cols .wp-block-group h3 {
  margin: 0;
  font-size: 1.2rem;
}
 
.bonus-cols .wp-block-column > p {
  margin: 0;
}
 
@media (max-width: 600px) {
  .bonus-cols {
    flex-direction: column;
  }
}
 
/* ==========================================================================
   9. FAQ ACCORDION (core/details block)
   ========================================================================== */
 
.wp-block-details {
  border-bottom: 1px solid var(--bcc-color-border);
  padding: 1.1rem 0;
}
.wp-block-details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bcc-color-ink);
  position: relative;
  padding-right: 2rem;
}
.wp-block-details summary::-webkit-details-marker {
  display: none;
}
.wp-block-details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.15rem;
  font-size: 1.4rem;
  color: var(--bcc-color-primary);
  transition: transform 0.15s ease;
}
.wp-block-details[open] summary::after {
  content: "\2212";
}
.wp-block-details p {
  margin-top: 0.75rem;
}
 
/* ==========================================================================
   10. CALLOUTS (responsible gambling / 18+ notices)
   ========================================================================== */
 
.bcc-callout {
  border: 1px solid var(--bcc-color-border);
  border-left: 5px solid var(--bcc-color-secondary);
  background: var(--bcc-color-secondary-tint);
  border-radius: var(--bcc-radius);
  padding: 1.4rem 1.7rem;
  margin: 1.75rem 0;
}
.bcc-callout p:last-child {
  margin-bottom: 0;
}
 
/* Lede variant: the bordered highlight paragraph right under the H1 */
.bcc-callout--lede {
  border-left-color: var(--bcc-color-primary);
  background: var(--bcc-color-primary-tint);
  font-size: 1.15rem;
}
 
/* ==========================================================================
   11. IMAGES
   ========================================================================== */
 
.wp-block-image img {
  border-radius: var(--bcc-radius);
  box-shadow: var(--bcc-shadow);
}
.bcc-img-wide {
  margin: 2.25rem 0;
}
/* Floated side images (align left/right + explicit width). Gutenberg wraps
   these in <div class="wp-block-image bcc-img-side"><figure class="alignright is-resized">
   on some WP versions, so this needs to work as a block-level margin on the
   outer wrapper regardless of which element ends up carrying alignright. */
.bcc-img-side {
  margin: 0.35rem 0 1.5rem 2rem;
}
.bcc-img-side.alignleft,
.bcc-img-side .alignleft {
  margin: 0.35rem 2rem 1.5rem 0;
}
figcaption {
  font-size: 0.85rem;
  color: #55606e;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
 
/* ==========================================================================
   12. QUOTE / INTRO LEDE
   ========================================================================== */
 
.wp-block-quote {
  border-left: 4px solid var(--bcc-color-gold);
  padding-left: 1.25rem;
  font-style: italic;
  color: #3a4453;
}
 


