@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/source-sans-3-500.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-600.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/source-sans-3-700.woff2") format("woff2"); }
@font-face { font-family: "JEC Celebration"; font-style: normal; font-weight: 400; font-display: swap; src: url("../slots/fonts/party-popper.woff") format("woff"); unicode-range: U+1F389; }
:root { --ink: #23332e; --muted: #5b655f; --green: #174c41; --green-dark: #103b33; --paper: #ffffff; --cream: #f5f7f4; --line: #dde3dd; --gold: #927346; --font: "Source Sans 3", "JEC Celebration", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.language-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 28px; padding-bottom: 20px; color: var(--muted); font-size: .9444rem; }
.language-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px; color: var(--green); text-underline-offset: 4px; }
.language-switch a[aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }
* { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body, button, input, textarea, select { font-family: var(--font); }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
button, input, textarea, select { font-size: 1rem; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a, summary, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #94723a; outline-offset: 4px; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
svg { vertical-align: middle; }
h1, h2, h3 { line-height: 1.2; }
p { margin: 0 0 1.1rem; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 10px 18px; background: var(--green); color: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 200; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 94px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 1.389rem; font-weight: 650; line-height: 1.2; white-space: nowrap; letter-spacing: -.035em; }
.brand-symbol { display: grid; place-items: center; width: 39px; height: 45px; border: 1px solid #d3d6cd; border-radius: 5px; background: #fff; color: var(--green); transform: rotate(-8deg); }
.brand-symbol .icon { width: 25px; height: 25px; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 0.7222rem; font-weight: 500; letter-spacing: .02em; }
.site-navigation { display: flex; align-items: center; gap: 27px; font-size: 1rem; font-weight: 550; }
.site-navigation > a { min-height: 44px; padding-block: 10px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.site-navigation > a:hover, .site-navigation > a[aria-current], .nav-trainers[data-active] summary { color: var(--green); }
.site-navigation > a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-trainers { position: relative; }
.nav-trainers summary { display: block; min-height: 44px; padding-block: 10px; color: var(--muted); list-style: none; cursor: pointer; }
.nav-trainers summary::-webkit-details-marker { display: none; }

.nav-dropdown { position: absolute; top: 100%; left: -18px; width: 205px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px #23332e14; }
.nav-dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 4px; text-decoration: none; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current] { background: var(--cream); }

.menu-toggle { min-height: 44px; min-width: 76px; display: none; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: transparent; font-size: 1rem; }

.eyebrow { margin-bottom: 18px; color: var(--gold); font-size: 0.7778rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero { display: block; padding-top: 48px; padding-bottom: 28px; text-align: center; }
.hero h1 { max-width: 900px; margin: 0 auto 20px; font-size: clamp(40px, 4.5vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1.12; text-wrap: balance; }
.hero .lead { max-width: 840px; margin: 0 auto; color: var(--muted); font-size: 1.111rem; line-height: 1.65; }
.button-link, .contact-submit { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 47px; padding: 11px 20px; border: 1px solid var(--green); border-radius: 5px; background: var(--green); color: #fff; font-size: 1rem; font-weight: 600; text-decoration: none; }
.button-link:hover, .contact-submit:hover { color: #fff; background: var(--green-dark); }
.button-link .icon { width: 19px; height: 19px; }
.text-link { font-size: 1rem; font-weight: 550; }
.trust-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; justify-items: center; margin: 30px 0 42px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.111rem; line-height: 1.5; text-align: center; }
.trust-line span { display: flex; align-items: center; justify-content: center; gap: 10px; }
.trust-line .icon { width: 24px; height: 24px; color: var(--green); }
.home-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px; margin-bottom: 56px; }
.home-context h2 { margin: 0 0 18px; font-size: 1.556rem; font-weight: 550; letter-spacing: -.025em; }
.home-context p { color: var(--muted); }
.home-context p:last-child { margin-bottom: 0; }
.bts-bj-intro .training-source-note, .bts-ba-intro .training-source-note, .pk-intro .training-source-note { max-width: 790px; margin: 15px auto 0; color: var(--muted); font-size: .9444rem; line-height: 1.6; }
.training-sources { max-width: 820px; margin: 3rem auto; }
.training-sources h2 { margin: 0 0 18px; font-size: 1.667rem; font-weight: 550; }
.training-sources p { color: var(--muted); }
.trainer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.trainer-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); text-decoration: none; }
.trainer-card:hover { color: var(--ink); }
.trainer-preview { height: 152px; overflow: hidden; border-bottom: 1px solid var(--line); background: #edf0ed; }
.trainer-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.trainer-preview--blackjack img { object-position: 50% 55%; }
.trainer-preview--poker img { object-position: 50% 56%; }
.trainer-preview--baccarat img { object-position: 50% 52%; }
.trainer-preview--slots img { object-position: 50% 55%; }

.trainer-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.trainer-card h2 { margin: 0 0 10px; font-size: 1.556rem; font-weight: 550; letter-spacing: -.025em; }
.trainer-card p { min-height: 90px; margin-bottom: 18px; color: var(--muted); font-size: 1rem; }
.trainer-card ul { margin: 0 0 23px; padding: 0; list-style: none; font-size: 0.8889rem; color: var(--muted); }
.trainer-card li { padding-left: 13px; position: relative; margin-top: 5px; }
.trainer-card li::before { content: "·"; position: absolute; left: 0; color: var(--green); }
.trainer-card-cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: auto; padding: 11px 16px; border: 1px solid var(--green); border-radius: 5px; color: var(--green); background: #fff; font-size: 1rem; font-weight: 600; line-height: 1.35; text-align: center; text-decoration: none; }
.trainer-card:hover .trainer-card-cta, .trainer-card:focus-visible .trainer-card-cta { border-color: var(--green); color: #fff; background: var(--green); }
.page-intro { max-width: 750px; margin: 38px auto 43px; text-align: center; }
.page-intro h1, .reading-page h1 { margin: 0 0 21px; font-size: clamp(32px, 4.5vw, 47px); font-weight: 550; letter-spacing: -.045em; }
.page-intro > p:last-child { color: var(--muted); font-size: 1.111rem; }
.reading-page { max-width: 760px; margin: 35px auto 66px; }
.reading-page .lead { margin-bottom: 28px; color: var(--muted); font-size: 1.222rem; }
.reading-page h2 { margin: 39px 0 17px; font-size: 1.778rem; font-weight: 550; letter-spacing: -.028em; scroll-margin-top: 22px; }
.reading-page h3 { margin: 23px 0 10px; font-size: 1.222rem; font-weight: 600; }
.reading-page p, .reading-page li { color: #48594f; }
.reading-page ul, .reading-page ol { padding-left: 23px; }
.reading-page li { padding-left: 3px; margin-bottom: 9px; }
.contents { margin: 28px 0 32px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 6px; background: var(--cream); }
.contents :is(h2, h3) { margin: 0 0 10px; font-size: 1rem; font-weight: 600; }
.contents ol { margin: 0; font-size: 1rem; }
.contents li { margin-bottom: 5px; }
.contents a { text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.example, .note { margin: 24px 0; padding: 21px 24px; border-left: 3px solid #a38b60; background: var(--cream); border-radius: 0 5px 5px 0; }
.example strong:first-child, .note strong:first-child { display: block; margin-bottom: 6px; }
.example p:last-child, .note p:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 24px 0; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 1rem; }
.data-table caption { padding-bottom: 12px; text-align: left; color: var(--muted); font-size: 0.9444rem; }
.data-table th { padding: 13px 16px; border-bottom: 2px solid #b9c7ba; background: #ecf0e7; color: var(--ink); font-weight: 600; }
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: #48594f; }
.data-table tbody tr:nth-child(even) { background: #f6f4ee; }
.cards-example { white-space: nowrap; font-family: Georgia, serif; font-size: 1rem; }
.cards-example .red { color: #a74037; }
.practice-callout { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 40px; padding: 27px; border-radius: 7px; background: #e8ede3; }
.practice-callout h2 { margin: 0 0 7px; font-size: 1.556rem; }
.practice-callout p { margin: 0; color: var(--muted); font-size: 1rem; }
.practice-callout .button-link { white-space: nowrap; }
.related-learning { margin-top: 18px; margin-bottom: 56px; }
.related-learning .eyebrow { margin-bottom: 8px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.related-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 23px 25px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; background: #fff; }
.related-link strong { font-size: 1.111rem; font-weight: 550; }
.related-link small { display: block; margin-top: 6px; color: var(--muted); font-size: 0.9444rem; }
.site-footer { background: #fff; border-top: 1px solid #d7dcd1; }
.footer-main { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1fr; gap: 34px; padding-top: 43px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 1.389rem; font-weight: 600; letter-spacing: -.03em; text-decoration: none; }
.footer-brand .icon { width: 20px; height: 20px; }
.footer-intro p { margin: 13px 0 17px; color: var(--muted); font-size: 0.9444rem; line-height: 1.8; }
.footer-main nav h2 { margin: 6px 0 15px; font-size: 0.8889rem; font-weight: 650; }
.footer-main nav a { display: block; margin-bottom: 9px; color: var(--muted); font-size: 0.8889rem; text-decoration: none; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 17px; border-top: 1px solid #d7dcd1; }
.footer-bottom p { margin: 0; color: var(--muted); font-size: 0.7222rem; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; margin-bottom: 70px; }
.contact-copy h2 { margin: 0 0 15px; font-size: 1.556rem; font-weight: 550; letter-spacing: -.03em; }
.contact-copy p, .contact-copy li { color: var(--muted); font-size: 1rem; }
.contact-copy ul { padding-left: 20px; }
.contact-copy li { margin-bottom: 8px; }
.contact-box { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.contact-form label { display: block; margin: 0 0 7px; font-size: 1rem; font-weight: 550; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; max-width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b9c4ba; border-radius: 4px; background: #fff; color: var(--ink); font-size: 1rem; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.form-field { margin-bottom: 20px; }
.form-note { margin: 13px 0 18px; color: var(--muted); font-size: 0.8889rem; }
.form-message { margin-bottom: 24px; padding: 18px 22px; border: 1px solid #a9bd9f; border-radius: 5px; background: #edf2e7; color: #30442c; }
.form-errors { border-color: #cf9c8a; background: #fff1e8; color: #813d25; }
.form-message p:last-child, .form-message ul:last-child { margin-bottom: 0; }
.field-error { margin: 8px 0 0; color: #813d25; font-size: .8889rem; }
.contact-form [aria-invalid="true"] { border-color: #a04b31; }
.contact-submit:disabled { opacity: .6; cursor: not-allowed; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.storage-button { padding: 11px 16px; border: 1px solid var(--green); border-radius: 4px; color: var(--green); background: #fff; font-size: 1rem; }
.storage-status { margin-top: 12px; min-height: 24px; font-size: 1rem; }
.legal-details { display: grid; grid-template-columns: minmax(130px, .4fr) 1fr; gap: 10px 24px; padding: 20px 0; border-block: 1px solid var(--line); overflow-wrap: anywhere; }
.legal-details dt { color: var(--ink); font-weight: 600; }
.legal-details dd { margin: 0; color: var(--muted); }
@media (max-width: 1000px) {
    .site-navigation { gap: 19px; }
    .trainer-card-body { padding: 21px; }
    .footer-main { gap: 25px; }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 40px); }
    .header-inner { flex-wrap: wrap; gap: 0 20px; min-height: 78px; padding-block: 16px; }
    .brand { font-size: 1.222rem; }
    .brand-symbol { width: 34px; height: 39px; }
    .menu-toggle:not([hidden]) { display: inline-flex; }
    .site-navigation { flex-basis: 100%; flex-wrap: wrap; gap: 7px 23px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
    .site-navigation[data-enhanced]:not([data-open="true"]) { display: none; }
    .nav-dropdown { left: 0; }
    .hero { padding-top: 35px; padding-bottom: 24px; }
    .hero h1 { max-width: 660px; font-size: clamp(38px, 7.4vw, 52px); }
    .hero .lead { max-width: 620px; font-size: 1.056rem; }
    .trust-line { grid-template-columns: 1fr; gap: 15px; margin-bottom: 40px; font-size: 1.056rem; }
    .home-context { grid-template-columns: 1fr; gap: 32px; margin-bottom: 42px; }
    .trainer-grid { grid-template-columns: 1fr; }
    .trainer-card { display: flex; }
    .trainer-preview { height: 190px; }
    .trainer-card p { min-height: auto; }

    .reading-page { margin-top: 27px; }
    .page-intro { margin-top: 25px; }
    .practice-callout { align-items: flex-start; flex-direction: column; gap: 18px; }
    .contact-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 7px; }
    .related-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 480px) {
    .wrap { width: calc(100% - 32px); }
    .hero { padding-top: 35px; }
    .hero h1 { font-size: clamp(34px, 9.6vw, 42px); }
    .trust-line { gap: 15px; padding-block: 22px; }
    .trainer-card { display: flex; }
    .trainer-preview { height: 160px; }
    .trainer-card-body { padding: 24px; }
    .trainer-card p { min-height: auto; }
    .reading-page .lead, .page-intro > p:last-child { font-size: 1.111rem; }
    .reading-page { font-size: 1rem; }
    .reading-page h2 { font-size: 1.556rem; }
    .contents, .example, .note { padding: 20px; }
    .data-table { font-size: 0.8889rem; }
    .data-table th, .data-table td { padding: 11px 10px; }
    .cards-example { font-size: 1rem; }
    .footer-main { gap: 26px 18px; }
    .footer-intro { grid-column: 1 / -1; }
    .footer-main nav:last-child { grid-column: 1 / -1; }
    .contact-box { padding: 22px; }
    .legal-details { grid-template-columns: 1fr; gap: 3px; }
    .legal-details dd { margin-bottom: 13px; }
}

.trainer-jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 20px 0 0; font-size: .9444rem; }
.trainer-jumps a { padding-block: 5px; }
.trainer-lesson { max-width: 820px; margin: 3.5rem auto; }
.trainer-lesson > h2 { margin-top: 0; font-size: 1.889rem; }
.trainer-lesson > h3 { margin-top: 32px; font-size: 1.333rem; scroll-margin-top: 24px; }
.trainer-lesson .contents h3 { margin-top: 0; font-size: 1rem; }
.lesson-actions { margin: 30px 0 0; }
@media (max-width: 480px) {
    .trainer-jumps { gap: 6px 18px; font-size: .9444rem; }
    .trainer-lesson > h2 { font-size: 1.556rem; }
    .trainer-lesson > h3 { font-size: 1.222rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
