/* Reader-facing additions. Kept separate from the prebuilt Tailwind bundle. */
:root { --ksn-reading-link: #374b68; }
body.ksn-nav-open { overscroll-behavior: contain; }
[data-ksn-outbound] { cursor: pointer; }
[data-ksn-outbound]:focus-visible { outline: 3px solid var(--ksn-blue,#1100fe); outline-offset: 3px; }

/* Mobile navigation drawer. Desktop navigation keeps the existing inline menu. */
.ksn-nav-backdrop, .ksn-mobile-drawer-header { display: none; }
@media (max-width: 1143px) {
  #masthead .ksn-header-grid { grid-template-columns: 32px minmax(0,1fr) 32px; gap: 12px; }
  #masthead .site-branding { min-width: 0; }
  #masthead .site-branding .custom-logo-link { display: flex; align-items: center; justify-content: center; width: min(210px,100%); height: 36px; padding: 0; }
  #masthead .site-branding .custom-logo { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
  #masthead .header-nav { justify-content: flex-start; }
  .header-nav > .ksn-nav-backdrop {
    display: block;
    position: fixed;
    z-index: 70;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #10295799;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transition: opacity .28s ease,visibility 0s linear .28s;
  }
  .header-nav > .ksn-mobile-drawer {
    position: fixed;
    z-index: 71;
    inset: var(--ksn-reader-admin,0px) auto 0 0;
    width: min(82vw,360px);
    height: calc(100dvh - var(--ksn-reader-admin,0px));
    max-height: none;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
    color: #17243b;
    box-shadow: 16px 0 42px #0f172a24;
    transform: translateX(-102%);
    scale: 1;
    transform-origin: left center;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s cubic-bezier(.22,.61,.36,1),visibility 0s linear .3s;
  }
  .header-nav.toggled > .ksn-nav-backdrop { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .header-nav.toggled > .ksn-mobile-drawer { transform: translateX(0); scale: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .ksn-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 12px 18px;
    border-bottom: 1px solid #e5eaf0;
    background: #fff;
  }
  .ksn-mobile-drawer-logo { display: flex; align-items: center; flex: 1; min-width: 0; height: 38px; margin-right: 12px; }
  .ksn-mobile-drawer-logo .custom-logo-link { width: min(210px,100%); min-width: 0; height: 38px; padding: 0; }
  .ksn-mobile-drawer-logo .custom-logo { width: 100%; max-width: 100%; height: 100%; object-fit: contain; object-position: left center; }
  .ksn-mobile-drawer-close { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; color: #52627b; cursor: pointer; }
  .header-nav > .ksn-mobile-drawer > .header-menu {
    display: block;
    width: 100%;
    height: calc(100dvh - var(--ksn-reader-admin,0px) - 70px);
    max-width: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .header-nav > .ksn-mobile-drawer > .header-menu > li { margin: 0; border-bottom: 1px solid #e9edf2; }
  .header-nav > .ksn-mobile-drawer > .header-menu li a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 12px 18px;
    color: #243249;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
    text-decoration: none;
  }
  .header-nav > .ksn-mobile-drawer > .header-menu li.menu-item-has-children > a { padding-right: 48px; }
  .header-nav > .ksn-mobile-drawer > .header-menu li.menu-item-has-children > a::after {
    top: 50%;
    right: 18px;
    margin: 0;
    color: #8a99ad;
    font-size: 24px;
    line-height: 1;
    transform: translateY(-50%);
    rotate: 0deg;
    transition: transform .2s ease;
  }
  .header-nav > .ksn-mobile-drawer > .header-menu li.menu-item-has-children.submenu-open > a::after { transform: translateY(-50%) rotate(90deg); }
  .header-nav > .ksn-mobile-drawer > .header-menu li.menu-item-has-children > ul {
    display: block;
    min-width: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: #f7f9fc;
    transition: max-height .28s ease,opacity .2s ease,visibility 0s linear .28s;
  }
  .header-nav > .ksn-mobile-drawer > .header-menu li.menu-item-has-children.submenu-open > ul { max-height: 640px; opacity: 1; visibility: visible; transition-delay: 0s; }
  .header-nav > .ksn-mobile-drawer > .header-menu li.menu-item-has-children > ul > li { margin: 0; padding: 0; border-top: 1px solid #e9edf2; background: transparent; }
  .header-nav > .ksn-mobile-drawer > .header-menu li.menu-item-has-children > ul > li > a { min-height: 48px; padding-left: 32px; font-size: 14px; }
  .header-nav > .ksn-mobile-drawer > .header-menu li.menu-item-has-children > ul > li > a::before { content: none; }
}
@media (min-width: 1144px) {
  .header-nav > .ksn-mobile-drawer { position: static; width: auto; height: 100%; max-height: none; padding: 0; background: transparent; transform: none; scale: 1; }
  .header-nav > .ksn-mobile-drawer > .header-menu { display: flex; align-items: center; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .header-nav > .ksn-mobile-drawer, .header-nav > .ksn-nav-backdrop,
  .header-nav > .ksn-mobile-drawer > .header-menu li.menu-item-has-children > ul { transition: none; }
}
body .entry-content :is(p,li,td,figcaption) a:not(.ksn-link):not(.ksn-btn):not(.wp-element-button) {
  color: var(--ksn-reading-link); text-decoration: underline; text-decoration-color: #a6b2c2;
  text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-skip-ink: auto;
}
body .entry-content :is(p,li,td,figcaption) a:not(.ksn-link):not(.ksn-btn):hover { color: #1e3a5f; text-decoration-color: currentColor; }
.ksn-author-bar { position: relative; display: grid; grid-template-columns: auto auto minmax(120px,1fr); align-items: center; gap: 16px 24px; }
.ksn-author-bar > div { min-width: 0; }
.ksn-author-bar .text-lg { font-size: 14px; }
.ksn-disclosures { justify-self: end; display: grid; gap: 0; }
.ksn-disclosure { font-family: inherit; color: #737373; }
.ksn-disclosure summary { display: flex; align-items: center; gap: 6px; min-height: 28px; cursor: pointer; list-style: none; font-size: 10px; line-height: 1.2; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.ksn-disclosure summary:hover { color: #334155; }
.ksn-disclosure summary::-webkit-details-marker, .ksn-mobile-toc summary::-webkit-details-marker { display: none; }
.ksn-info-icon { width: 16px; height: 16px; display: block; flex-shrink: 0; color: currentColor; }
.ksn-disclosure[open] summary { color: #334155; }
.ksn-disclosure-panel { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: min(410px,calc(100vw - 32px)); max-height: min(460px,calc(100vh - 32px)); overflow-y: auto; padding: 20px; border: 1px solid #dce3ec; border-radius: 10px; background: #fff; color: #334155; box-shadow: 0 16px 40px #0f172a1f; line-height: 1.55; font-size: 14px; text-align: left; text-transform: none; letter-spacing: 0; }
.ksn-disclosure:not([open]) > .ksn-disclosure-panel, .ksn-home-disclosure:not([open]) > .ksn-disclosure-panel { display: none; }
body .ksn-disclosure-panel p { margin: 0 0 10px; }
.ksn-disclosure-panel strong { color: #17243b; }
.ksn-disclosure-panel { font-weight: 400; }
.ksn-disclosure-panel a { text-decoration: underline; text-underline-offset: 3px; }
.ksn-mobile-toc { position: fixed; top: var(--ksn-reader-top,0px); left: 0; right: 0; z-index: 40; margin: 0; border-top: 1px solid #dce3ec; border-bottom: 1px solid #dce3ec; background: #fff; color: #263951; box-shadow: 0 4px 12px #0f172a0d; }
.entry-content h2 { scroll-margin-top: var(--ksn-reader-offset,96px); }
@media (max-width:1143px) { #masthead { position: sticky; top: var(--ksn-reader-admin,0px); } }
.ksn-mobile-toc[hidden], .ksn-desktop-toc[hidden] { display: none; }
.ksn-mobile-toc summary { display: none; }
.ksn-toc-chevron { font-size: 22px; line-height: 1; transition: transform .15s; }
.ksn-mobile-toc[open] .ksn-toc-chevron { transform: rotate(180deg); }
.ksn-mobile-toc nav { position: relative; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ksn-mobile-toc nav::-webkit-scrollbar { display: none; }
body .ksn-mobile-toc ol, body .ksn-desktop-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: ksn-toc; }
body .ksn-mobile-toc ol { display: flex; min-width: max-content; }
body .ksn-mobile-toc li, body .ksn-desktop-toc li { margin: 0; padding: 0; counter-increment: ksn-toc; }
body .ksn-mobile-toc a, body .ksn-desktop-toc a { display: flex; gap: 10px; color: #475569; text-decoration: none; font-size: 14px; line-height: 1.4; padding: 10px 4px; }
body .ksn-mobile-toc a { align-items: center; min-height: 44px; max-width: 74vw; padding: 10px 14px; border-right: 1px solid #edf1f6; color: #17243b; font-size: 16px; font-weight: 600; white-space: nowrap; }
.ksn-mobile-toc .ksn-toc-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ksn-mobile-toc a::before, .ksn-desktop-toc a::before { content: counter(ksn-toc, decimal-leading-zero); color: #64748b; font-size: 12px; min-width: 20px; padding-top: 2px; }
.ksn-mobile-toc a::before { content: none; }
.ksn-mobile-toc a:hover, .ksn-desktop-toc a:hover { color: #17243b; background: #f5f7fa; }
.ksn-mobile-toc a.is-active { color: #4267ff; background: #f8fbff; }
.ksn-desktop-toc { max-height: calc(100vh - 100px); overflow-y: auto; }
.entry-content h2[id] { scroll-margin-top: var(--ksn-reader-offset,100px); }
.ksn-editorial-links { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 12px; margin-top: 12px; border-top: 1px solid #dce3ec; }
.ksn-editorial-links a { display: inline-flex; align-items: center; gap: 6px; color: #475569; font-size: 12px; line-height: 1.4; text-decoration: none; min-height: 28px; }
.ksn-editorial-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ksn-editorial-links svg { width: 15px; height: 15px; flex-shrink: 0; }
.ksn-review-bonus { min-width: 0; }
.ksn-review-bonus > div > span { overflow: visible; text-overflow: clip; white-space: normal; }
.ksn-page-hero-grid { display: grid; grid-template-columns: minmax(0,1fr); align-items: center; gap: 32px; }
.ksn-highlights { padding: 26px; border: 1px solid #dce3ec; border-radius: 16px; background: #fff; color: #192b43; box-shadow: 0 10px 28px #0f172a0a; }
body .ksn-highlights h2 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 0 22px; }
body .ksn-highlights ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.ksn-highlights li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.ksn-highlight-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: #f0f3fa; color: #4b4b9a; }
.ksn-highlight-icon svg { width: 23px; height: 23px; }
.ksn-highlights strong, .ksn-highlights a { font-size: 16px; line-height: 1.35; font-weight: 600; color: #192b43; }
body .ksn-highlights p { font-size: 14px; line-height: 1.5; margin: 4px 0 0; color: #64748b; }
.ksn-highlights-block { margin-bottom: 28px; }
.ksn-editor-placeholder { padding: 24px; border: 1px dashed #94a3b8; border-radius: 8px; background: #f8fafc; color: #475569; }
:is(.ksn-disclosure,.ksn-mobile-toc) summary:focus-visible, .ksn-editorial-links a:focus-visible, .ksn-highlights a:focus-visible { outline: 2px solid #4f46e5; outline-offset: 4px; border-radius: 4px; }
@media (min-width: 768px) {
  .ksn-page-hero-grid--highlights { grid-template-columns: minmax(0,1.25fr) minmax(300px,.85fr); gap: 48px; }
}
@media (min-width: 1144px) { .ksn-mobile-toc { display: none; } }
@media (max-width: 767px) {
  .ksn-author-bar { grid-template-columns: minmax(0,1fr) auto; gap: 6px 12px; padding: 12px; }
  .ksn-author-person { grid-column: 1; grid-row: 1; align-items: center; }
  .ksn-author-bar .ksn-author-person img { width: 30px; height: 30px; }
  .ksn-author-bar .ksn-author-person .text-lg { font-size: 12px; }
  .ksn-author-person .text-slate-500 { font-size: 10px; }
  .ksn-author-bar .ksn-author-date { grid-column: 1; grid-row: 2; gap: 4px; }
  .ksn-author-date > svg { display: none; }
  .ksn-author-bar .ksn-author-date .text-lg { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 3px; font-size: 10px; }
  .ksn-author-date time { margin: 0; font-weight: 500; }
  .ksn-disclosures { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .ksn-disclosure summary { min-height: 30px; font-size: 9px; }
  details[data-ksn-disclosure][open]::before { content: ''; position: fixed; z-index: 58; inset: 0; background: #0f172a52; pointer-events: none; }
  .ksn-disclosure-panel, .ksn-home-disclosure .ksn-disclosure-panel {
    position: fixed;
    z-index: 60;
    top: 50%;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: 420px;
    max-height: calc(100dvh - 40px);
    margin: 0 auto;
    transform: translateY(-50%);
  }
  .ksn-highlights { padding: 20px; }
  .ksn-page-hero-grid { gap: 24px; }
  header:has(> .ksn-page-hero-grid) { padding-top: 36px; padding-bottom: 36px; margin-bottom: 28px; }
  .ksn-page-hero-grid h1 { max-width: 100%; font-size: 30px; line-height: 1.15; }
  .ksn-page-hero-grid > div > p { max-width: 100%; font-size: 16px; line-height: 1.6; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ksn-toc-chevron { transition: none; } }

/* Footer: parent menu items are distinct groups; child links remain editable in WordPress. */
.ksn-site-footer { margin-top: 56px; padding: 48px 20px 24px; background: #10192c; color: #b8c4d8; }
.ksn-footer-top { display: grid; grid-template-columns: minmax(180px, .85fr) minmax(0,2fr); gap: 64px; padding-bottom: 36px; }
.ksn-footer-brand > a { display: inline-block; }
.ksn-footer-brand img { max-width: 200px; height: auto; }
.ksn-footer-brand > p { font-size: 14px; line-height: 1.7; margin: 18px 0; color: #a8b6cc; }
.ksn-footer-socials { display: flex; gap: 10px; }
.ksn-footer-socials :is(a,span) { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #344057; border-radius: 8px; color: #dbe4f0; }
.ksn-site-footer ul { list-style: none; padding: 0; margin: 0; }
.ksn-footer-menu { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.ksn-footer-menu > li { border-top: 2px solid #36425a; padding-top: 16px; min-width: 0; }
.ksn-footer-menu > li > a { color: #f2f5fa; font-size: 14px; font-weight: 700; }
.ksn-footer-menu .sub-menu { margin-top: 12px; }
.ksn-footer-menu .sub-menu .sub-menu { margin: 0 0 4px 12px; }
.ksn-footer-menu a { display: block; padding: 8px 0; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; text-decoration: none; color: #b8c4d8; }
.ksn-footer-menu a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ksn-footer-responsibility { display: flex; align-items: center; gap: 18px; padding: 24px 0; border-top: 1px solid #344057; border-bottom: 1px solid #344057; }
.ksn-footer-age { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #77859b; border-radius: 50%; font-size: 15px; font-weight: 700; color: #eef2f8; }
.ksn-footer-responsibility > p { font-size: 12px; line-height: 1.7; margin: 0; max-width: 420px; }
.ksn-footer-responsibility > p a { color: #e0e7f2; text-decoration: underline; text-underline-offset: 3px; }
.ksn-footer-support { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ksn-footer-support a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px; background: #fff; border-radius: 8px; }
.ksn-footer-support img { display: block; width: auto; height: 26px; max-width: 160px; object-fit: contain; }
.ksn-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 11px; line-height: 1.6; color: #95a5bd; }
.ksn-site-footer a:focus-visible { outline: 2px solid #c7d2fe; outline-offset: 4px; }
@media (max-width: 900px) { .ksn-footer-top { grid-template-columns: 1fr; gap: 30px; } .ksn-footer-responsibility { flex-wrap: wrap; } .ksn-footer-support { width: 100%; margin-left: 0; } }
@media (max-width: 479px) {
  .ksn-site-footer { padding: 32px 20px 22px; margin-top: 36px; }
  .ksn-footer-menu { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 20px; }
  .ksn-footer-menu a { padding: 10px 0; }
  .ksn-footer-responsibility { gap: 14px; }
  .ksn-footer-responsibility > p { flex: 1; }
  .ksn-footer-support { gap: 8px; }
  .ksn-footer-support a { flex: 1; padding: 8px; min-width: 0; }
  .ksn-footer-support img { max-width: 100%; height: auto; max-height: 30px; }
  .ksn-footer-bottom { flex-direction: column; gap: 6px; }
}

.ksn-footer-support a:first-child { background: #1e2b42; border: 1px solid #45536b; }
@media (max-width: 479px) {
  .ksn-footer-menu > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ksn-footer-menu > li:last-child:nth-child(odd) > .sub-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
}

/* Light brand footer and editorial comments. */
.ksn-site-footer { position: relative; isolation: isolate; overflow: hidden; background: #fff; color: #152e58; padding-bottom: 0; border-top: 1px solid #e2e8f0; }
.ksn-footer-inner { position: relative; z-index: 1; }
.ksn-footer-brand > p { color: #30496b; }
.ksn-footer-brand .ksn-community-title { font-weight: 600; margin: 22px 0 10px; color: #152e58; }
.ksn-footer-socials :is(a,span) { border: 1px solid #dce2ed; background: #e9edf4; color: #183761; width: 42px; height: 42px; border-radius: 9px; }
.ksn-footer-socials a:hover { background: #dbe3f0; }
.ksn-footer-socials svg { width: 24px; height: 24px; }
.ksn-footer-socials :is(a,span):last-child svg { width: 18px; height: 18px; }
.ksn-footer-menu > li { border-color: #a8b4c8; }
.ksn-footer-menu > li > a { color: #102957; font-size: 15px; }
.ksn-footer-menu a { color: #30496b; font-size: 14px; }
.ksn-footer-menu a:hover { color: #071d41; }
.ksn-footer-responsibility { border-color: #cbd0d7; padding: 22px 0; }
.ksn-footer-age { border: 0; color: #183761; width: 42px; height: 42px; }
.ksn-footer-age svg { width: 36px; height: 36px; }
.ksn-footer-responsibility > p { max-width: 730px; font-size: 13px; }
.ksn-footer-responsibility > p a { color: #102957; }
.ksn-footer-bottom { color: #445977; padding-bottom: 24px; }
.ksn-site-footer a:focus-visible { outline-color: #183761; }
.ksn-footer-art { height: 220px; margin-top: -10px;  mask-image: linear-gradient(transparent,#000 30%); -webkit-mask-image: linear-gradient(transparent,#000 30%); pointer-events: none; }
.ksn-editor-thoughts { margin: 32px 0; padding: 24px 26px; background: #edf2ff; border-left: 4px solid #4c5dba; border-radius: 0 14px 14px 0; color: #203450; }
.ksn-thought-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ksn-thought-heading > span { font-family: Georgia,serif; font-size: 42px; line-height: 25px; color: #5264ac; transform: translateY(7px); }
.ksn-thought-heading strong { font-size: 17px; color: #172e57; }
.ksn-thought-copy { font-style: italic; font-size: 17px; line-height: 1.75; }
body .ksn-thought-copy > :last-child { margin-bottom: 0; }
.ksn-thought-byline { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #d4def2; }
.ksn-thought-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ksn-thought-byline strong { display: block; font-size: 14px; }
.ksn-thought-byline span { display: block; font-size: 12px; color: #576884; margin-top: 2px; }
@media(max-width: 479px) { .ksn-footer-art { height: 150px; background-size: auto 230px; background-position: 25% bottom; } .ksn-editor-thoughts { padding: 20px; margin: 26px 0; } .ksn-thought-copy { font-size: 16px; } }
.ksn-footer-art { margin-left: -20px; margin-right: -20px; height: clamp(190px,25vw,420px);  background-size: cover; }
@media(max-width: 479px) { .ksn-footer-art { height: 190px; background-size: auto 280px; background-position: 12% bottom; } }

/* Optimized responsive artwork: only the matching image is requested. */
.ksn-footer-art { background: none; }
.ksn-footer-art picture, .ksn-footer-art img { display: block; width: 100%; height: 100%; }
.ksn-footer-art img { object-fit: cover; object-position: center bottom; }
@media(max-width: 600px) {
  .ksn-footer-art { height: clamp(180px,49.5vw,297px); }
  .ksn-footer-art img { object-position: left bottom; }
}

/* Shared site identity, editorial role and destination-led homepage. */
.ksn-footer-brand > .custom-logo-link { display: inline-block; }
.ksn-footer-brand .custom-logo { width: min(240px,100%); max-width: 240px; height: auto; }
.ksn-author-title { color: #40557a; font-size: 18px; font-weight: 500; line-height: 1.4; margin: 14px 0 0; }
.ksn-home-hero { margin-bottom: 44px; padding: 70px 20px 48px; background: radial-gradient(ellipse at 80% 40%,#303578 0,transparent 52%),#131644; color: #fff; overflow: hidden; }
.ksn-home-hero:has(.ksn-home-disclosure[open]) { overflow: visible; }
.ksn-home-hero-inner { position: relative; }
.ksn-home-copy { position: relative; z-index: 2; max-width: 680px; }
.ksn-home-copy h1 { font-size: clamp(34px,3.5vw,48px); line-height: 1.13; letter-spacing: -.035em; font-weight: 700; margin: 0; }
.ksn-home-description { color: #e1e5fb; font-size: 18px; line-height: 1.7; margin: 22px 0 0; max-width: 630px; }
.ksn-home-description > :first-child { margin-top: 0; }
.ksn-home-description > :last-child { margin-bottom: 0; }
.ksn-home-description strong { color: #fff; font-weight: 700; }
.ksn-home-meta { position: relative; z-index: 4; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 22px; color: #eef5ff; font-size: 14px; line-height: 1.3; font-weight: 600; }
.ksn-home-meta > span:first-child { width: 5px; height: 5px; border-radius: 50%; background: #63df9f; }
.ksn-home-meta-separator { opacity: .55; }
.ksn-home-disclosure { position: relative; }
.ksn-home-disclosure summary { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; list-style: none; }
.ksn-home-disclosure summary::-webkit-details-marker { display: none; }
.ksn-home-disclosure .ksn-disclosure-panel { top: calc(100% + 10px); left: 0; right: auto; width: min(390px,calc(100vw - 32px)); color: #334155; }
.ksn-home-info-icon { display: inline-grid; place-items: center; width: 14px; height: 14px; border: 1px solid #b9cdfa; border-radius: 50%; color: #dce7ff; font-size: 10px; line-height: 1; }
.ksn-home-hero--mascot .ksn-home-copy { max-width: 62%; }
.ksn-home-links { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 44px; }
.ksn-home-links > :is(a,div) { display: flex; align-items: center; gap: 12px; padding: 16px 14px; min-height: 76px; border: 1px solid #e1e5f0; border-radius: 13px; background: #fff; color: #132b54; text-decoration: none; font-size: 16px; line-height: 1.35; font-weight: 600; box-shadow: 0 6px 20px #00000012; }
.ksn-home-links > a:hover { border-color: #b6c1ed; background: #f5f7ff; }
.ksn-home-links > a:focus-visible { outline: 3px solid #c8d2ff; outline-offset: 4px; }
.ksn-home-link-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; color: #4d5da8; background: #eff1fc; }
.ksn-home-link-icon svg { width: 22px; height: 22px; }
.ksn-home-link-arrow { display: grid; place-items: center; margin-left: auto; width: 24px; height: 24px; flex-shrink: 0; background: #f0f3fc; border-radius: 50%; color: #5665a4; font-size: 19px; }
.ksn-home-links > .ksn-home-link-placeholder { background: #eef0fa; border-color: #d8dff0; box-shadow: none; }
.ksn-home-link-placeholder small { display: block; margin-top: 4px; font-size: 10px; font-weight: 500; letter-spacing: .015em; color: #5a6582; }
.ksn-home-mascot { position: absolute; right: 0; bottom: 18px; width: 36%; height: 370px; perspective: 900px; z-index: 1; pointer-events: none; }
.ksn-mascot-relief { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-12deg) rotateX(5deg) rotateZ(3deg); }
.ksn-mascot-relief > span { position: absolute; inset: 0; mask: url('../dealer-mask.png') center / contain no-repeat; -webkit-mask: url('../dealer-mask.png') center / contain no-repeat; }
.ksn-mascot-depth { background: #6269ae; transform: translate3d(10px,10px,-18px); }
.ksn-mascot-face { background: linear-gradient(135deg,#fcf9ed 10%,#c8d4f5 58%,#818fc6); filter: drop-shadow(0 16px 18px #070d32); }
.ksn-home-mascot--animated .ksn-mascot-relief { animation: ksn-dealer-arrive 4.5s ease-in-out 1; }
@keyframes ksn-dealer-arrive { 0% { transform: translateY(12px) rotateY(-18deg) rotateX(7deg) rotateZ(4deg); } 50% { transform: translateY(-6px) rotateY(0deg) rotateX(2deg) rotateZ(1deg); } 100% { transform: translateY(0) rotateY(-12deg) rotateX(5deg) rotateZ(3deg); } }
@media(max-width: 1000px) { .ksn-home-links { grid-template-columns: repeat(2,minmax(0,1fr)); } .ksn-home-mascot { bottom: 110px; height: 310px; } }
@media(max-width: 600px) {
  .ksn-home-hero { padding: 38px 16px 30px; margin-bottom: 28px; }
  .ksn-home-hero--mascot .ksn-home-copy { max-width: 100%; }
  .ksn-home-copy h1 { font-size: 34px; line-height: 1.14; }
  .ksn-home-description { font-size: 16px; line-height: 1.65; margin-top: 18px; }
  .ksn-home-meta { margin-top: 20px; font-size: 14px; }
  .ksn-home-disclosure .ksn-disclosure-panel { position: fixed; top: 50%; right: 16px; left: 16px; width: auto; max-width: 420px; margin: 0 auto; transform: translateY(-50%); }
  .ksn-home-mascot { position: relative; margin: 16px 0 -34px auto; width: 180px; height: 160px; bottom: auto; }
  .ksn-home-links { margin-top: 22px; gap: 10px; }
  .ksn-home-hero--mascot .ksn-home-links { margin-top: 0; }
  .ksn-home-links > :is(a,div) { padding: 9px 10px; gap: 7px; min-height: 38px; border-radius: 7px; font-size: 13px; line-height: 1.2; box-shadow: none; }
  .ksn-home-link-icon { display: none; }
  .ksn-home-link-icon svg { width: 16px; height: 16px; }
  .ksn-home-link-arrow { width: 18px; height: 18px; font-size: 14px; }
}
@media(prefers-reduced-motion: reduce) { .ksn-home-mascot--animated .ksn-mascot-relief { animation: none; } }
.ksn-home-mascot { height: 300px; bottom: 0; }
.ksn-home-links[data-count="1"] { grid-template-columns: minmax(0,1fr); max-width: 420px; }
.ksn-home-links[data-count="2"] { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 760px; }
.ksn-home-links[data-count="3"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media(max-width: 1000px) { .ksn-home-mascot { height: 260px; bottom: 90px; } .ksn-home-links[data-count="3"] { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 600px) { .ksn-home-mascot { height: 160px; bottom: auto; } }

.ksn-summary-panel, .ksn-summary-info { padding: 18px; border: 1px solid #dce3ec; border-radius: 12px; background: #f8fafc; box-shadow: 0 8px 24px #0f172a0a; }
.ksn-summary-panel--pros { background: linear-gradient(180deg,#f5fff9,#f8fafc); }
.ksn-summary-panel--cons { background: linear-gradient(180deg,#fff7f7,#f8fafc); }
.ksn-summary-panel ul, .ksn-summary-info table { margin-bottom: 0; }
.ksn-summary-panel li:last-child { margin-bottom: 0; }
.casino-pros-cons { background: #f8fafc; box-shadow: 0 8px 24px #0f172a0a; }

/* Editorial tables: crisp hierarchy, quieter rules and horizontal mobile overflow. */
:is(.entry-content,.editor-styles-wrapper) .wp-block-table {
  position: relative;
  margin: 28px 0 32px;
  overflow-x: auto;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px #1029570d;
  scrollbar-color: #9cacc1 #edf2f7;
  scrollbar-width: thin;
}
:is(.entry-content,.editor-styles-wrapper) .wp-block-table::-webkit-scrollbar { height: 7px; }
:is(.entry-content,.editor-styles-wrapper) .wp-block-table::-webkit-scrollbar-track { background: #edf2f7; }
:is(.entry-content,.editor-styles-wrapper) .wp-block-table::-webkit-scrollbar-thumb { border-radius: 7px; background: #9cacc1; }
:is(.entry-content,.editor-styles-wrapper) .wp-block-table table {
  width: max-content;
  min-width: 100%;
  margin: 0;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  color: #203450;
  font-size: 16px;
  line-height: 1.4;
}
:is(.entry-content,.editor-styles-wrapper) .wp-block-table :is(th,td) {
  min-width: 128px;
  padding: 13px 16px;
  border: 0;
  border-right: 1px solid #e4eaf1;
  border-bottom: 1px solid #e4eaf1;
  vertical-align: middle;
}
:is(.entry-content,.editor-styles-wrapper) .wp-block-table :is(th,td):first-child { min-width: 150px; }
:is(.entry-content,.editor-styles-wrapper) .wp-block-table :is(th,td):last-child { border-right: 0; }
:is(.entry-content,.editor-styles-wrapper) .wp-block-table tbody tr:last-child td,
:is(.entry-content,.editor-styles-wrapper) .wp-block-table tfoot tr:last-child td { border-bottom: 0; }
:is(.entry-content,.editor-styles-wrapper) .wp-block-table thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  border-color: #405276;
  background: #172a52;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
:is(.entry-content,.editor-styles-wrapper) .wp-block-table tbody tr:nth-child(even) td { background: #f7f9fc; }
:is(.entry-content,.editor-styles-wrapper) .wp-block-table tbody tr { transition: background-color .15s ease; }
:is(.entry-content,.editor-styles-wrapper) .wp-block-table tbody tr:hover td { background: #edf2ff; }
:is(.entry-content,.editor-styles-wrapper) .wp-block-table tbody td:first-child { color: #132b54; font-weight: 600; }
:is(.entry-content,.editor-styles-wrapper) .wp-block-table tfoot td {
  background: #eef2f8;
  color: #132b54;
  font-weight: 700;
}
:is(.entry-content,.editor-styles-wrapper) .wp-block-table figcaption {
  padding: 11px 16px;
  border-top: 1px solid #d9e2ec;
  background: #f8fafc;
  color: #607089;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}
@media(max-width: 600px) {
  :is(.entry-content,.editor-styles-wrapper) .wp-block-table { margin: 22px 0 26px; }
  :is(.entry-content,.editor-styles-wrapper) .wp-block-table table { font-size: 14px; }
  :is(.entry-content,.editor-styles-wrapper) .wp-block-table :is(th,td) { min-width: 118px; padding: 11px 12px; }
  :is(.entry-content,.editor-styles-wrapper) .wp-block-table :is(th,td):first-child { min-width: 132px; }
  :is(.entry-content,.editor-styles-wrapper) .wp-block-table thead th { font-size: 13px; }
}
/* Author content filters retain real links for visitors without JavaScript. */
.ksn-author-listing { padding-bottom: 48px; }
.ksn-author-listing #ksn-author-results { row-gap: 16px; }
.ksn-author-card { width: 100%; max-width: none; padding: 0; border: 1px solid #e1e6ef; border-radius: 6px; overflow: hidden; }
.ksn-author-card .ksn-post-media img { width: 100%; max-width: none; aspect-ratio: 16 / 7; border-radius: 0; }
.ksn-author-card .ksn-post-body { width: 100%; max-width: none; padding: 12px 14px; min-width: 0; }
.ksn-author-card .ksn-post-date { font-size: 13px; line-height: 20px; }
.ksn-author-card .ksn-post-title { margin-top: 4px; font-size: 18px; line-height: 24px; }
.ksn-author-card .ksn-post-excerpt { margin-top: 6px; font-size: 16px; line-height: 24px; flex: none; }
.ksn-author-card .ksn-post-title, .ksn-author-card .ksn-post-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 767px) {
  .ksn-author-listing #ksn-author-results { row-gap: 10px; }
  .ksn-author-card { display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: start; gap: 12px; padding: 12px; }
  .ksn-author-card .ksn-post-media { border-radius: 4px; }
  .ksn-author-card .ksn-post-media img { width: 88px; height: 88px; aspect-ratio: 1; object-fit: cover; }
  .ksn-author-card .ksn-post-body { padding: 0; margin: 0; }
  .ksn-author-card .ksn-post-title { line-height: 22px; }
  .ksn-author-card .ksn-post-excerpt { font-size: 15px; line-height: 21px; }
}
.ksn-author-categories { display: flex; gap: 28px; border-bottom: 1px solid #dbe2ed; margin-bottom: 28px; }
.ksn-author-categories a { font: inherit; font-size: 16px; font-weight: 700; color: #334155; padding: 14px 0; border-bottom: 3px solid transparent; text-decoration: none; }
.ksn-author-categories a[aria-current="true"] { color: #1100fe; border-bottom-color: #1100fe; }
.ksn-author-categories a:hover { color: #1100fe; }
.ksn-author-listing-footer { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ksn-author-listing-footer p, .ksn-author-empty, .ksn-author-error { margin: 0; font-size: 16px; line-height: 1.5; }
.ksn-author-load { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 28px; border-radius: 6px; background: #1100fe; color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; }
.ksn-author-load:hover { background: #2818db; }
.ksn-author-load[aria-disabled="true"] { opacity: .65; cursor: wait; }
.ksn-author-load[hidden], .ksn-author-empty[hidden], .ksn-author-error[hidden] { display: none; }
.ksn-author-empty { text-align: center; margin-bottom: 24px; }
.ksn-author-error { text-align: center; margin-top: 16px; color: #b42318; }
.ksn-author-categories a:focus-visible, .ksn-author-load:focus-visible { outline: 3px solid #1100fe; outline-offset: 4px; }
@media (max-width: 600px) {
  .ksn-author-categories { gap: 18px; justify-content: space-between; }
  .ksn-author-categories a { font-size: 14px; }
}
