/* CASINO-AGG Knowledge K1 | article-only stylesheet, no global overrides. */
.k-article { position: relative; padding-bottom: clamp(88px, 9vw, 144px); }
.k-article-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 480px; padding-top: 71px; padding-bottom: 100px; }
.k-article-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 -15vw; pointer-events: none; opacity: .43; background: radial-gradient(circle at 80% 26%, rgba(42,91,188,.21), transparent 31%); }
.k-hero-copy { position: relative; z-index: 2; max-width: 920px; }
.k-article-hero .eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-bottom: 30px; }
.k-hero-separator { display: inline-block; width: 18px; height: 1px; background: rgba(157,185,240,.48); }
.k-article-hero h1 { max-width: 940px; font-size: clamp(44px, 5.3vw, 76px); line-height: 1.075; letter-spacing: -.056em; }
.k-article-lead { max-width: 820px; margin: 28px 0 0; color: #b8c5db; font-size: clamp(17px, 1.65vw, 21px); line-height: 1.75; }
.k-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 27px; margin-top: 35px; color: #c2d2ec; font-size: 12px; font-weight: 650; letter-spacing: .01em; }
.k-article-meta > span + span { position: relative; }
.k-article-meta > span + span::before { content: ""; position: absolute; top: 50%; inset-inline-start: -15px; width: 3px; height: 3px; border-radius: 50%; background: #7197e9; }
.k-meta-label { color: #8395b3; }
.k-hero-composition { position: absolute; z-index: 0; inset-inline-end: 0; top: 1%; width: min(45%, 570px); height: 94%; opacity: .58; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 57%); mask-image: linear-gradient(90deg, transparent, #000 57%); }
.k-hero-composition::before { content: ""; position: absolute; inset: 5%; background-image: radial-gradient(rgba(132,164,230,.27) .8px, transparent 1.2px); background-size: 23px 23px; }
.k-hero-track { position: absolute; left: 31%; top: 23%; width: 63%; height: 44%; border: 1px solid rgba(123,158,222,.12); border-radius: 50%; transform: rotate(-19deg); }
.k-hero-track-two { inset: 34% auto auto 17%; width: 47%; height: 40%; transform: rotate(38deg); }
.k-hero-track-three { inset: 16% auto auto 46%; width: 34%; height: 62%; transform: rotate(28deg); }
.k-hero-point { display: none; }
.k-point-a { top: 27%; left: 55%; }.k-point-b { top: 65%; left: 70%; }.k-point-c { top: 45%; left: 32%; }

.k-article-grid { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); align-items: start; gap: clamp(30px, 5vw, 77px); }
.k-article-aside { position: sticky; top: 114px; align-self: start; min-width: 0; }
.k-toc { position: static; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior-y: auto; padding: 23px 0 10px; scrollbar-width: thin; scrollbar-color: #354969 transparent; }
.k-aside-label { margin: 0 0 26px; color: #8299be; font-size: 11px; font-weight: 780; letter-spacing: .15em; text-transform: uppercase; }
.k-toc ol { list-style: none; display: grid; gap: 4px; margin: 0; padding: 0; }
.k-toc a { display: block; padding: 11px 15px; color: #a2b2cb; border-radius: 7px; font-size: 13px; line-height: 1.5; text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.k-toc a:hover, .k-toc a:focus-visible { color: #fff; background: #162840; }

.k-article-sheet { min-width: 0; padding: clamp(37px, 5vw, 76px) clamp(28px, 5vw, 76px) clamp(42px, 6vw, 88px); background: #f7f9fc; color: #192942; border-radius: 11px; box-shadow: 0 35px 100px rgba(0,0,0,.11); }
.k-article-sheet p { line-height: 1.84; }
.k-editor-note { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 67px; padding: 22px 24px 24px; background: #e8eef8; border-radius: 8px; }
.k-editor-note-symbol { flex: 0 0 auto; display: grid; place-items: center; width: 25px; height: 25px; margin-top: 3px; border-radius: 50%; background: #3069e5; color: #fff; font-family: Georgia, serif; font-size: 17px; font-weight: 700; }
.k-editor-note strong { display: block; margin: 0 0 5px; font-size: 14px; }
.k-editor-note p { margin: 0; color: #51617a; font-size: 13px; line-height: 1.7; }

.k-chapter { scroll-margin-top: 118px; padding-top: 2px; }
.k-chapter + .k-chapter { margin-top: clamp(49px, 5.4vw, 74px); }
.k-chapter h2 { margin: 0 0 29px; color: #14233c; font-size: clamp(28px, 2.65vw, 39px); font-weight: 700; line-height: 1.22; letter-spacing: -.045em; }
.k-chapter h3 { margin: 35px 0 14px; color: #1e3352; font-size: 20px; letter-spacing: -.026em; }
.k-chapter > p { margin: 0 0 22px; color: #4a5a72; font-size: 16px; line-height: 1.92; }
.k-content-list { margin: 20px 0 28px; padding-inline-start: 23px; color: #4a5a72; font-size: 15px; }
.k-content-list li { padding-inline-start: 7px; margin-bottom: 13px; line-height: 1.8; }
.k-content-list li::marker { color: #2c67df; font-weight: 800; }
.k-callout { margin: 34px 0; padding: 23px 27px 25px; background: #e8eef9; border-radius: 8px; }
.k-callout strong { color: #214eae; font-size: 14px; font-weight: 760; }
.k-callout p { margin: 10px 0 0; color: #3f5576; font-size: 15px; line-height: 1.75; }
.k-process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 33px 0; }
.k-process-item { padding: 26px 23px 25px; border-radius: 8px; background: #e9eef6; }
.k-process-item:nth-child(3n+2) { background: #dfe9f8; }
.k-process-index { display: block; margin-bottom: 21px; color: #245cd5; font-size: 12px; font-weight: 830; letter-spacing: .08em; }
.k-process-item strong { display: block; color: #172a46; font-size: 16px; line-height: 1.35; }
.k-process-item p { margin: 10px 0 0; color: #526581; font-size: 13px; line-height: 1.72; }
.k-table-scroll { max-width: 100%; margin: 33px 0; overflow-x: auto; outline-offset: 4px; }
.k-data-table { min-width: 520px; width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; line-height: 1.68; }
.k-data-table caption { padding-bottom: 17px; text-align: start; color: #263d61; font-size: 13px; font-weight: 730; }
.k-data-table thead th { padding: 17px 17px; background: #203858; color: #f6f8fd; text-align: start; font-size: 12px; font-weight: 730; }
.k-data-table thead th:first-child { border-start-start-radius: 6px; }
.k-data-table thead th:last-child { border-start-end-radius: 6px; }
.k-data-table tbody td { padding: 16px 17px; vertical-align: top; color: #42536f; background: #eef2f8; }
.k-data-table tbody tr:nth-child(even) td { background: #e6edf7; }
.k-data-table tbody tr:last-child td:first-child { border-end-start-radius: 6px; }
.k-data-table tbody tr:last-child td:last-child { border-end-end-radius: 6px; }
.k-data-table td:first-child { color: #263b5a; font-weight: 720; }

.k-article-sources { scroll-margin-top: 120px; margin-top: 77px; padding-top: 43px; background: linear-gradient(#c6d3e8,#c6d3e8) top left / 100% 1px no-repeat; }
.k-article-sources .eyebrow { margin-bottom: 17px; color: #3864b9; }
.k-article-sources h2 { margin: 0; font-size: clamp(26px, 2.55vw, 36px); letter-spacing: -.04em; }
.k-article-sources > p:not(.eyebrow) { margin: 17px 0 24px; color: #5c6e86; font-size: 14px; }
.k-article-sources ol { display: grid; gap: 12px; padding-inline-start: 23px; margin: 0; }
.k-article-sources li { padding-inline-start: 6px; color: #5d72a0; }
.k-article-sources a { color: #2859bd; font-size: 14px; font-weight: 640; line-height: 1.6; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.k-article-sources a:hover { color: #173d8b; }
.k-article-sources a span { display: inline-block; margin-inline-start: 6px; text-decoration: none; }
.k-article-cta { margin-top: 76px; padding: 39px; color: #fff; background: #1a355c; border-radius: 8px; }
.k-article-cta .eyebrow { margin-bottom: 18px; color: #a9c6ff; }
.k-article-cta h2 { max-width: 490px; margin: 0; font-size: clamp(27px, 2.5vw, 38px); letter-spacing: -.045em; line-height: 1.23; }
.k-article-cta > p:not(.eyebrow) { max-width: 540px; margin: 17px 0 25px; color: #c2d1e9; font-size: 14px; }
.k-article-cta .button { min-height: 46px; padding: 12px 17px; font-size: 12px; }
.k-article-cta .ui-icon { width: 16px; height: 16px; }
.k-article-fallback { font-size: 16px; line-height: 1.85; }

@media (max-width: 1060px) {
    .k-article-grid { grid-template-columns: minmax(160px, 220px) minmax(0,1fr); gap: 25px; }
    .k-article-sheet { padding: 47px 43px 61px; }
}
@media (max-width: 860px) {
    .k-article-hero { min-height: 400px; padding-top: 53px; padding-bottom: 76px; }
    .k-article-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
    .k-article-aside { position: static; top: auto; max-width: 100%; }
    .k-toc { position: static; max-height: none; overflow-y: visible; padding: 19px 21px 20px; background: #101e32; border-radius: 8px; }
    .k-aside-label { margin-bottom: 11px; }
    .k-toc ol { display: flex; overflow-x: auto; gap: 2px; padding-bottom: 3px; scrollbar-width: thin; }
    .k-toc a { min-width: 155px; max-width: 240px; padding: 9px 10px; font-size: 12px; }
    .k-hero-composition { width: 60%; }
}
@media (max-width: 620px) {
    .k-article { padding-bottom: 80px; }
    .k-article-hero { min-height: 365px; padding-top: 50px; padding-bottom: 59px; }
    .k-article-hero h1 { font-size: clamp(37px, 9.6vw, 54px); }
    .k-article-hero .eyebrow { margin-bottom: 23px; gap: 9px; font-size: 9px; }
    .k-article-lead { margin-top: 20px; font-size: 16px; }
    .k-article-meta { gap: 8px 24px; margin-top: 25px; font-size: 11px; }
    .k-hero-composition { display: none; }
    .k-article-sheet { padding: 32px 22px 45px; }
    .k-editor-note { gap: 11px; margin-bottom: 47px; padding: 17px; }
    .k-chapter h2 { margin-bottom: 22px; font-size: 28px; }
    .k-chapter > p { font-size: 15px; }
    .k-content-list { font-size: 14px; padding-inline-start: 19px; }
    .k-process { grid-template-columns: 1fr; }
    .k-process-item { padding: 20px; }
    .k-process-index { margin-bottom: 12px; }
    .k-callout { padding: 19px; }
    .k-article-cta { padding: 26px 22px; margin-top: 56px; }
    .k-article-sources { margin-top: 58px; }
}
@media (prefers-reduced-motion: reduce) {
    .k-toc a { transition: none; }
}
