/* =================================================================
   Konna long-form landing pages
   Hand-written article pages (not Elementor). Scoped to .kb-article
   so nothing here leaks into the Elementor-built pages.
   ================================================================= */

.kb-article {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 20px 64px;
    box-sizing: border-box;
    color: #e8e8e8;
    font-size: 1.02rem;
    line-height: 1.72;
}

/* ---------- Hero band ----------
   The Elementor pages all open with a hero, so these hand-written pages
   get a matching band. It carries the H1; the theme's own .entry-title is
   suppressed in PHP so there is only ever one. */
.kb-hero-band {
    /* Full-bleed: the theme renders the_content inside a max-width
       container, which left the band floating with dead page background
       either side. This breaks it out to the full viewport width.
       Safe because body already has overflow-x: hidden. */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    position: relative;
    padding: 68px 24px 60px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0, 255, 65, 0.16), transparent 68%),
        radial-gradient(ellipse 120% 80% at 50% 100%, rgba(0, 255, 65, 0.05), transparent 60%),
        linear-gradient(180deg, #0f1410 0%, #090909 100%);
    border-bottom: 1px solid rgba(0, 255, 65, 0.18);
    text-align: center;
}

/* Faint grid, masked to fade outward — gives the flat band some depth
   without competing with the type. */
.kb-hero-band::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 255, 65, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.055) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 65% 75% at 50% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 65% 75% at 50% 40%, #000 20%, transparent 75%);
}

/* Hairline that echoes the top edge of the offer cards. */
.kb-hero-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.7), transparent);
    z-index: 1;
}

.kb-hero-band__inner {
    position: relative;
    z-index: 1;
}

/* At-a-glance facts under the subtitle. */
.kb-hero-band__facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 22px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.kb-hero-band__facts li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: rgba(255, 255, 255, 0.8);
}

.kb-hero-band__facts svg {
    flex-shrink: 0;
    color: #00ff41;
    filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.6));
}

.kb-hero-band__inner {
    max-width: 780px;
    margin: 0 auto;
}

.kb-hero-band__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 13px;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #00ff41;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.4);
    border-radius: 999px;
}

.kb-hero-band__title {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 4.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.kb-hero-band__sub {
    margin: 0 auto;
    max-width: 620px;
    font-size: clamp(0.98rem, 2vw, 1.12rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 600px) {
    .kb-hero-band {
        padding: 38px 16px 34px;
    }
    .kb-hero-band::before {
        left: 8%;
        right: 8%;
    }
}

.kb-article h2 {
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    font-weight: 800;
    color: #00ff41;
    line-height: 1.25;
    margin: 46px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.22);
}

.kb-article h3 {
    font-size: clamp(1.05rem, 2.2vw, 1.22rem);
    font-weight: 700;
    color: #ffffff;
    margin: 30px 0 10px;
}

.kb-article p {
    margin: 0 0 18px;
}

.kb-article a {
    color: #00ff41;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.kb-article a:hover {
    color: #5fff8a;
}

/* Opening summary — the direct answer, kept visually distinct because it
   is what search and AI answer engines tend to lift. */
.kb-article .kb-lede {
    font-size: 1.12rem;
    line-height: 1.65;
    color: #ffffff;
    padding: 18px 22px;
    background: rgba(0, 255, 65, 0.05);
    border-left: 3px solid #00ff41;
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
}

.kb-article ul {
    margin: 0 0 20px;
    padding-left: 22px;
}

.kb-article li {
    margin-bottom: 10px;
}

.kb-article strong {
    color: #ffffff;
}

/* Operator's own wording, quoted rather than paraphrased. */
.kb-article blockquote {
    margin: 22px 0;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.035);
    border-left: 3px solid rgba(255, 255, 255, 0.25);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #f0f0f0;
}

.kb-article blockquote p:last-child {
    margin-bottom: 0;
}

/* Inline CTA — gold, matching the offer cards' primary action. */
.kb-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 28px 0 24px;
}

.kb-inline-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    min-height: 48px;
    background: linear-gradient(180deg, #ffd84a, #f9b91a);
    color: #1a1300 !important;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 999px;
    box-shadow:
        0 4px 16px rgba(249, 185, 26, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: background 0.18s ease;
}

.kb-inline-cta:hover,
.kb-inline-cta:focus {
    background: linear-gradient(180deg, #ffe271, #ffc42e);
    color: #1a1300 !important;
}

.kb-cta-note {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.kb-disclosure-note {
    margin-top: 40px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 600px) {
    .kb-article {
        padding: 28px 16px 48px;
        font-size: 1rem;
    }
    .kb-article .kb-lede {
        font-size: 1.05rem;
        padding: 16px 18px;
    }
    .kb-cta-wrap {
        gap: 10px;
    }
    .kb-inline-cta {
        width: 100%;
    }
}

/* =================================================================
   EMBEDDED OFFER CARD

   The homepage card is built for a ~1320px row: brand + five stat pills
   + CTA side by side. Dropped into a 780px article column it collapses
   into an unreadable smear. Inside .kb-article it uses the stacked
   layout instead — the same arrangement the card already uses on tablet,
   applied at every width because the container, not the viewport, is
   what is narrow here.
   ================================================================= */

.kb-article .kb-casino-cards {
    max-width: none;
    padding: 0;
    margin: 22px 0 30px;
}

.kb-article .kb-card {
    padding: 22px 24px;
}

.kb-article .kb-card__main {
    grid-template-columns: 1fr;
    gap: 18px;
}

/* Brand becomes a centred masthead: rank, logo, name in a row. */
.kb-article .kb-card__brand {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
    gap: 14px;
}

.kb-article .kb-card__ident {
    width: auto;
    align-items: flex-start;
    text-align: left;
}

.kb-article .kb-card .kb-card__logo {
    width: 76px;
    height: 76px;
}

.kb-article .kb-card__rank {
    position: static;
    font-size: 1.05rem;
}

.kb-article .kb-card__name {
    font-size: 1.2rem;
}

/* Two-up stats: bonus and licence take full rows, the rest pair off. */
.kb-article .kb-card__info {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.kb-article .kb-pill--bonus {
    grid-column: 1 / -1;
}

.kb-article .kb-pill--license {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.kb-article .kb-card__cta {
    width: 100%;
    max-width: 380px;
    margin: 4px auto 0;
}

.kb-article .kb-card__toggle {
    width: 100%;
    margin: 16px 0 0;
}

.kb-article .kb-card__details {
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Label above the embedded offer. */
.kb-article .kb-offer-intro {
    margin: 30px 0 0;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(0, 255, 65, 0.85);
}

@media (max-width: 600px) {
    .kb-article .kb-card {
        padding: 18px 16px;
    }
    .kb-article .kb-card__brand {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .kb-article .kb-card__ident {
        align-items: center;
        text-align: center;
    }
    .kb-article .kb-card .kb-card__logo {
        width: 88px;
        height: 88px;
    }
    .kb-article .kb-pill--license {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .kb-article .kb-card__cta {
        max-width: none;
    }
}

/* Same hit-area treatment as the offer-card CTA: the gold glow makes the
   button look larger than its clickable box, so edge presses miss. */
.kb-inline-cta {
    position: relative;
    z-index: 3;
    min-height: 52px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 216, 74, 0.3);
}

.kb-inline-cta::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 999px;
}

/* Advertising label on embedded offers — required disclosure, so it sits
   directly above the offer rather than only in the footer note. */
.kb-article .kb-offer-intro {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.kb-ad-chip {
    display: inline-block;
    padding: 2px 9px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
}
