/* SklepNarzędzia24 – Workshop Atlas 1.0.0
   IMPORTANT: NO background declaration for html/body. Newspaper's background remains visible.
   All rules live inside #sn24-site; the page background and SEO metadata stay with WP/theme. */
body.sn24-body { margin: 0; }
#sn24-site,
#sn24-site * { box-sizing: border-box; }
#sn24-site {
  --sn-navy: #111f2a; --sn-navy2: #192d39; --sn-ink: #13202c;
  --sn-muted: #52616e; --sn-paper: #f7f7f4; --sn-white: #fff;
  --sn-gold: #ffb728; --sn-gold2: #ffc84e; --sn-stroke: #e5e7e3;
  width: min(1536px, calc(100% - 76px));
  margin: 22px auto 28px; background: var(--sn-paper); color: var(--sn-ink);
  font-family: Inter, "Segoe UI", Roboto, system-ui, -apple-system, Arial, sans-serif;
  font-size: 15px; font-weight: 400; line-height: 1.54;
  isolation: isolate; overflow: clip; border-radius: 16px;
  box-shadow: 0 26px 65px rgba(9, 17, 24, .17);
  -webkit-font-smoothing: antialiased;
}
#sn24-site [hidden] { display: none !important; }
#sn24-site h1, #sn24-site h2, #sn24-site h3, #sn24-site h4,
#sn24-site p, #sn24-site ul, #sn24-site ol, #sn24-site figure { margin-top: 0; }
#sn24-site h1, #sn24-site h2, #sn24-site h3, #sn24-site h4 { color: inherit; font-family: inherit; font-style: normal; letter-spacing: -.038em; line-height: 1.17; }
#sn24-site a { color: inherit; text-decoration: none; transition: color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
#sn24-site a:hover { color: #b77500; }
#sn24-site button, #sn24-site input { font: inherit; }
#sn24-site button { cursor: pointer; }
#sn24-site img { display: block; max-width: 100%; height: auto; }
#sn24-site .sn24-icon { display: inline-block; width: 20px; height: 20px; vertical-align: -.2em; flex: 0 0 auto; }
#sn24-site :focus-visible { outline: 3px solid #f4ad1f; outline-offset: 4px; }
#sn24-site .screen-reader-text { position: absolute !important; height: 1px; width: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Masthead – the same HTML header appears on front page, posts and all archives. */
#sn24-site .sn24-header { position: relative; z-index: 50; background: var(--sn-navy); color: #fff; }
#sn24-site .sn24-header-inner { max-width: 1490px; margin: auto; padding-inline: clamp(26px, 4.6vw, 68px); display: flex; align-items: center; }
#sn24-site .sn24-topline { background: #22303b; color: #f0f3f5; border-bottom: 1px solid rgba(255,255,255,.07); }
#sn24-site .sn24-topline-inner { min-height: 34px; justify-content: space-between; gap: 18px; font-size: 10px; letter-spacing: .025em; }
#sn24-site .sn24-topline-left { display: flex; gap: 10px; align-items: center; font-weight: 800; }
#sn24-site .sn24-topline-left .sn24-separator { color: var(--sn-gold); }
#sn24-site .sn24-topline-right { display: flex; align-items: center; gap: 17px; white-space: nowrap; }
#sn24-site .sn24-topline-right a { color: #e3edf4; font-size: 10px; }
#sn24-site .sn24-topline-right a:hover { color: var(--sn-gold); }
#sn24-site .sn24-mainbar { background: linear-gradient(110deg,#10202c,#112631 55%,#0d1b25); }
#sn24-site .sn24-mainbar-inner { min-height: 80px; gap: 24px; }
#sn24-site .sn24-logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; color: #fff; white-space: nowrap; }
#sn24-site .sn24-logo:hover { color: #fff; }
#sn24-site .sn24-logo-mark { display: grid; place-items: center; width: 48px; height: 51px; color: #0e222c; background: var(--sn-gold); clip-path: polygon(50% 0%, 93% 24%, 93% 76%, 50% 100%, 7% 76%, 7% 24%); }
#sn24-site .sn24-logo-mark .sn24-icon { width: 29px; height: 29px; stroke-width: 2.45; }
#sn24-site .sn24-logo-text { font-weight: 850; font-stretch: condensed; letter-spacing: -.07em; font-size: clamp(23px, 2.25vw, 32px); }
#sn24-site .sn24-logo-text span { color: var(--sn-gold); }
#sn24-site .sn24-nav { display: flex; align-items: center; margin-left: auto; gap: clamp(13px, 1.7vw, 29px); font-size: 13px; font-weight: 720; }
#sn24-site .sn24-nav > a { display: inline-flex; align-items: center; padding: 11px 0; color: #f5f7f8; white-space: nowrap; }
#sn24-site .sn24-nav > a:hover, #sn24-site .sn24-nav > a[aria-current="page"] { color: var(--sn-gold); }
#sn24-site .sn24-mobile-utils { display: none; }
#sn24-site .sn24-actions { display: flex; align-items: center; gap: 8px; margin-left: 11px; }
#sn24-site .sn24-search-button, #sn24-site .sn24-menu-button { display: inline-grid; place-items: center; width: 41px; height: 41px; padding: 0; border-radius: 11px; background: var(--sn-gold); border: 1px solid var(--sn-gold); color: #111f2a; box-shadow: none; }
#sn24-site .sn24-search-button:hover, #sn24-site .sn24-menu-button:hover { background: #ffcb4f; transform: translateY(-1px); }
#sn24-site .sn24-menu-button { display: none; }
#sn24-site .sn24-header-search { padding: 12px clamp(26px, 4.6vw, 68px) 18px; background: #132c37; }
#sn24-site .sn24-header-search form { display: flex; margin-inline: auto; max-width: 950px; gap: 12px; }
#sn24-site .sn24-header-search input { flex: 1; min-width: 0; padding: 13px 18px; border: 1px solid #54616a; border-radius: 9px; background: #fff; color: #101e28; }
#sn24-site .sn24-header-search button { display: inline-flex; align-items: center; gap: 9px; padding: 10px 23px; border: 0; border-radius: 9px; color: #111f2a; font-weight: 800; background: var(--sn-gold); }

/* Hero */
#sn24-site .sn24-hero { position: relative; display: flex; align-items: center; min-height: 510px; overflow: hidden; background: #0e1c25; color: #fff; }
#sn24-site .sn24-hero-photo { position: absolute; top: 0; bottom: 0; left: 32%; right: 0; }
#sn24-site .sn24-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; filter: brightness(.79) saturate(1.1); }
#sn24-site .sn24-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,#0a1923 0%,rgba(10,24,33,.98) 30%,rgba(10,24,33,.74) 52%,rgba(10,24,33,.19) 82%),linear-gradient(0deg,rgba(6,15,20,.55),transparent 45%); }
#sn24-site .sn24-hero-copy { position: relative; z-index: 1; width: min(600px, 54%); margin-left: clamp(35px, 5.1vw, 78px); padding: 40px 0 45px; }
#sn24-site .sn24-eyebrow { display: block; color: #667886; font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
#sn24-site .sn24-eyebrow--gold { display: inline-flex; align-items: center; width: fit-content; background: var(--sn-gold); padding: 6px 11px; border-radius: 4px; color: #1a242d; font-size: 10px; letter-spacing: .025em; }
#sn24-site .sn24-hero h1 { margin: 18px 0 10px; font-size: clamp(46px, 5.3vw, 74px); font-weight: 860; line-height: 1.025; color: white; letter-spacing: -.06em; }
#sn24-site .sn24-hero h1 em { color: var(--sn-gold); font-style: normal; }
#sn24-site .sn24-hero-copy > p { max-width: 460px; margin-bottom: 23px; font-size: clamp(14px,1.1vw,17px); color: #f0f3f4; line-height: 1.65; }
#sn24-site .sn24-benefits { display: flex; align-items: flex-start; gap: clamp(12px, 2.5vw, 37px); margin-bottom: 33px; }
#sn24-site .sn24-benefits span { display: flex; align-items: center; gap: 9px; color: #fcffff; font-size: 12px; font-weight: 570; line-height: 1.28; }
#sn24-site .sn24-benefits .sn24-icon { color: var(--sn-gold); width: 30px; height: 30px; stroke-width: 1.65; }
#sn24-site .sn24-primary-button, #sn24-site .sn24-secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 22px; border-radius: 9px; background: var(--sn-gold); color: #16232d; font-size: 13px; font-weight: 830; box-shadow: 0 6px 14px rgba(0,0,0,.06); }
#sn24-site .sn24-primary-button:hover, #sn24-site .sn24-secondary-button:hover { background: #ffcc51; color: #101d26; box-shadow: 0 8px 24px rgba(255,183,40,.18); transform: translateY(-1px); }
#sn24-site .sn24-primary-button .sn24-icon, #sn24-site .sn24-secondary-button .sn24-icon { width: 17px; height: 17px; }
#sn24-site .sn24-hero-feature { display: flex; position: absolute; z-index: 2; right: clamp(22px, 3.2vw, 48px); bottom: 23px; width: min(445px, 41%); min-height: 159px; overflow: hidden; border: 1px solid rgba(255,255,255,.62); border-radius: 9px; box-shadow: 0 12px 38px rgba(0,0,0,.4); color: #fff; background: #101e29; }
#sn24-site .sn24-hero-feature:hover { color: #fff; transform: translateY(-3px); }
#sn24-site .sn24-hero-feature > img { position: absolute; inset: 0 0 0 auto; width: 68%; height: 100%; object-fit: cover; object-position: 65% center; opacity: .74; }
#sn24-site .sn24-hero-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#0d1c26 0%,rgba(13,28,38,.98) 48%,rgba(13,28,38,.06) 100%); }
#sn24-site .sn24-hero-feature-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; width: 75%; padding: 17px 20px; gap: 8px; }
#sn24-site .sn24-hero-feature-copy strong { font-size: 16px; font-weight: 790; line-height: 1.23; letter-spacing: -.025em; }
#sn24-site .sn24-hero-feature-copy small { color: #dce3e6; font-size: 11px; line-height: 1.33; }
#sn24-site .sn24-hero-feature-copy time { margin-top: auto; font-size: 10px; color: #e7e9e9; }
#sn24-site .sn24-hero-feature .sn24-eyebrow { font-size: 9px; }
#sn24-site .sn24-hero-feature-arrow { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sn-gold); color: #14212a; }
#sn24-site .sn24-hero-feature-arrow .sn24-icon { width: 15px; height: 15px; }

/* Homepage sections */
#sn24-site .sn24-section { padding: 49px clamp(27px, 4.5vw, 68px) 53px; }
#sn24-site .sn24-section--categories { background: linear-gradient(180deg,#fafaf8,#f7f7f4); }
#sn24-site .sn24-section--featured { border-top: 1px solid var(--sn-stroke); background: #fafaf8; }
#sn24-site .sn24-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
#sn24-site .sn24-section-heading h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin: 5px 0 0; font-size: clamp(26px, 2.4vw, 37px); font-weight: 835; }
#sn24-site .sn24-heading-line { display: inline-block; vertical-align: middle; width: 35px; height: 4px; border-radius: 2px; background: var(--sn-gold); }
#sn24-site .sn24-section-more { display: inline-flex; align-items: center; gap: 11px; padding: 5px 0; color: #263641; font-weight: 720; font-size: 12px; white-space: nowrap; }
#sn24-site .sn24-section-more .sn24-icon { width: 17px; height: 17px; color: #d9940c; }
#sn24-site .sn24-category-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 11px; }
#sn24-site .sn24-category-card { display: block; min-width: 0; overflow: hidden; border-radius: 9px; color: #15222d; background: #fff; box-shadow: 0 5px 18px rgba(19,31,42,.055); border: 1px solid #eeeeea; }
#sn24-site .sn24-category-card:hover { color: #16222b; transform: translateY(-4px); box-shadow: 0 12px 30px rgba(19,31,42,.13); }
#sn24-site .sn24-category-card img { width: 100%; height: clamp(112px,10.8vw,157px); object-fit: cover; object-position: center; background: #26323a; }
#sn24-site .sn24-category-card-body { display: block; position: relative; min-height: 84px; padding: 13px 34px 15px 13px; }
#sn24-site .sn24-category-card-body strong { display: block; color: #18242e; font-size: clamp(11px,.95vw,14px); font-weight: 820; line-height: 1.26; }
#sn24-site .sn24-category-card-body small { display: block; padding-top: 6px; color: #53616b; font-size: 11px; line-height: 1.28; }
#sn24-site .sn24-category-arrow { display: grid; place-items: center; position: absolute; right: 10px; bottom: 12px; width: 24px; height: 24px; background: var(--sn-gold); color: #16222b; border-radius: 7px; }
#sn24-site .sn24-category-arrow .sn24-icon { width: 14px; height: 14px; }
#sn24-site .sn24-featured-grid, #sn24-site .sn24-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 21px; }
#sn24-site .sn24-post-card { position: relative; min-width: 0; overflow: hidden; }
#sn24-site .sn24-post-card--light { background: #fff; color: var(--sn-ink); border: 1px solid #ecece8; border-radius: 8px; box-shadow: 0 4px 22px rgba(21,31,40,.035); }
#sn24-site .sn24-post-card--light:hover { box-shadow: 0 10px 29px rgba(20,32,43,.12); transform: translateY(-2px); }
#sn24-site .sn24-post-card-image { display: block; height: 205px; position: relative; overflow: hidden; background: #27353f; }
#sn24-site .sn24-post-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s ease; }
#sn24-site .sn24-post-card:hover .sn24-post-card-image img { transform: scale(1.04); }
#sn24-site .sn24-post-card-content { padding: 18px 18px 15px; }
#sn24-site .sn24-post-card--light .sn24-post-card-content { position: relative; min-height: 190px; display: flex; flex-direction: column; }
#sn24-site .sn24-card-tag { position: absolute; top: -192px; left: 13px; display: inline-block; max-width: calc(100% - 27px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 9px; border-radius: 5px; color: #1b252d; background: var(--sn-gold); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .02em; }
#sn24-site .sn24-card-tag:hover { color: #15222a; background: #ffce55; }
#sn24-site .sn24-post-card-title { margin: 0 0 8px; color: inherit; font-size: clamp(17px,1.35vw,21px); font-weight: 810; letter-spacing: -.03em; line-height: 1.26; }
#sn24-site .sn24-post-card-title a:hover { color: #bb7800; }
#sn24-site .sn24-post-card-content > p { color: #5a6570; font-size: 12.5px; line-height: 1.5; margin: 0 0 19px; }
#sn24-site .sn24-post-card-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
#sn24-site .sn24-post-card-meta > span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #61717c; }
#sn24-site .sn24-post-card-meta > span .sn24-icon { width: 13px; height: 13px; }
#sn24-site .sn24-post-card-arrow { display: grid; place-items: center; background: var(--sn-gold); color: #16242c; width: 26px; height: 26px; border-radius: 50%; }
#sn24-site .sn24-post-card-arrow:hover { color: #16242c; background: #ffd15d; }
#sn24-site .sn24-post-card-arrow .sn24-icon { width: 14px; height: 14px; }

/* The 5 latest articles update automatically with WordPress publications. */
#sn24-site .sn24-section--latest { color: #fff; background: radial-gradient(ellipse at 65% 0%,#203741,#0f2029 66%); padding-top: 43px; padding-bottom: 52px; }
#sn24-site .sn24-section--latest h2, #sn24-site .sn24-section--latest .sn24-eyebrow, #sn24-site .sn24-section--latest .sn24-section-more { color: #fff; }
#sn24-site .sn24-section--latest .sn24-section-more .sn24-icon { color: var(--sn-gold); }
#sn24-site .sn24-latest-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; }
#sn24-site .sn24-post-card--dark { background: transparent; color: #fff; }
#sn24-site .sn24-post-card--dark .sn24-post-card-image { height: 132px; border-radius: 7px; }
#sn24-site .sn24-post-card--dark .sn24-post-card-content { padding: 12px 1px 0; }
#sn24-site .sn24-post-card--dark .sn24-post-card-title { font-size: clamp(14px,1.13vw,17px); min-height: 54px; }
#sn24-site .sn24-post-card--dark .sn24-post-card-title a:hover { color: var(--sn-gold); }
#sn24-site .sn24-post-card--dark .sn24-post-card-meta { flex-wrap: wrap; align-items: flex-start; flex-direction: column; margin-top: 9px; gap: 10px; }
#sn24-site .sn24-post-card--dark .sn24-post-card-meta > span { color: #c5d0d5; }
#sn24-site .sn24-pill { display: inline-block; max-width: 100%; padding: 3px 11px; border-radius: 20px; background: #273525; color: var(--sn-gold); font-size: 10px; font-weight: 740; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sn24-site .sn24-pill:hover { color: #fff; }

/* About */
#sn24-site .sn24-about { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1.2fr) minmax(0,.78fr); gap: 27px; align-items: stretch; min-height: 278px; padding: 0 0 0 clamp(27px,4.5vw,68px); background: #f9faf7; }
#sn24-site .sn24-about-copy { padding: 36px 0 36px; }
#sn24-site .sn24-about-copy h2 { margin: 7px 0 12px; font-size: clamp(25px,2.35vw,34px); font-weight: 840; }
#sn24-site .sn24-about-copy > p { font-size: 12px; line-height: 1.64; color: #3a4854; margin: 0 0 15px; }
#sn24-site .sn24-secondary-button { min-height: 35px; padding: 8px 13px; font-size: 11px; border-radius: 6px; }
#sn24-site .sn24-about-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; align-items: center; }
#sn24-site .sn24-about-values > div { display: flex; align-items: center; flex-direction: column; text-align: center; gap: 8px; }
#sn24-site .sn24-about-values .sn24-icon { width: 32px; height: 32px; color: #172632; stroke-width: 1.4; }
#sn24-site .sn24-about-values strong { font-size: 11px; font-weight: 800; color: #11212d; line-height: 1.35; }
#sn24-site .sn24-about-values small { font-size: 10px; line-height: 1.5; color: #586571; }
#sn24-site .sn24-about-photo { width: 100%; height: 100%; min-height: 278px; object-fit: cover; object-position: center; }

/* Archive, category, pages, posts: same clear cream canvas, no white rectangles behind text. */
#sn24-site .sn24-interior { min-height: 62vh; padding-block: 38px 84px; background: var(--sn-paper); }
#sn24-site .sn24-container { max-width: 1360px; margin: 0 auto; padding-inline: clamp(26px,4.5vw,67px); }
#sn24-site .sn24-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 31px; color: #566775; font-size: 12px; line-height: 1.4; }
#sn24-site .sn24-breadcrumbs > a { display: inline-flex; align-items: center; gap: 6px; }
#sn24-site .sn24-breadcrumbs > a:hover { color: #a56a00; }
#sn24-site .sn24-breadcrumbs > .sn24-icon { width: 12px; height: 12px; color: #9da8ad; }
#sn24-site .sn24-breadcrumbs a .sn24-icon { width: 15px; height: 15px; }
#sn24-site .sn24-breadcrumbs > span { color: #263743; }
#sn24-site .sn24-article-header { max-width: 1000px; margin-bottom: 30px; }
#sn24-site .sn24-article-header h1 { margin: 11px 0 18px; font-size: clamp(34px,3.5vw,54px); font-weight: 835; line-height: 1.13; color: #132330; }
#sn24-site .sn24-article-category { display: inline-block; border-radius: 6px; padding: 7px 11px; color: #15222b; background: var(--sn-gold); text-transform: uppercase; letter-spacing: .045em; font-weight: 800; font-size: 10px; }
#sn24-site .sn24-article-category:hover { background: #ffcf54; color: #15222b; }
#sn24-site .sn24-article-meta { display: flex; gap: 21px; flex-wrap: wrap; align-items: center; color: #5a6c78; font-size: 12px; }
#sn24-site .sn24-article-meta > span, #sn24-site .sn24-article-meta > time { display: inline-flex; gap: 7px; align-items: center; }
#sn24-site .sn24-article-meta .sn24-icon { width: 16px; height: 16px; color: #d39823; }
#sn24-site .sn24-article-featured-image { margin: 0 0 38px; }
#sn24-site .sn24-article-featured-image img { display: block; width: 100%; max-height: 510px; height: auto; object-fit: cover; border-radius: 13px; }
#sn24-site .sn24-article-featured-image figcaption { margin-top: 8px; color: #67737b; font-size: 11px; }
#sn24-site .sn24-article-layout { display: grid; grid-template-columns: minmax(0,1fr) 318px; gap: clamp(27px,4.2vw,63px); align-items: start; }
#sn24-site .sn24-prose { background: transparent; color: #23333f; font-size: 16px; line-height: 1.84; word-wrap: break-word; overflow-wrap: anywhere; }
#sn24-site .sn24-prose > :first-child { margin-top: 0; }
#sn24-site .sn24-prose h2, #sn24-site .sn24-prose h3, #sn24-site .sn24-prose h4 { color: #142530; line-height: 1.32; letter-spacing: -.028em; font-weight: 800; scroll-margin-top: 95px; }
#sn24-site .sn24-prose h2 { margin: 38px 0 17px; font-size: clamp(24px,2.1vw,31px); }
#sn24-site .sn24-prose h3 { margin: 29px 0 12px; font-size: clamp(19px,1.6vw,24px); }
#sn24-site .sn24-prose h4 { margin: 21px 0 10px; font-size: 18px; }
#sn24-site .sn24-prose p { margin: 0 0 22px; }
#sn24-site .sn24-prose ul, #sn24-site .sn24-prose ol { padding-left: 24px; margin: 12px 0 25px; }
#sn24-site .sn24-prose li { margin: 8px 0; }
#sn24-site .sn24-prose a { color: #8c5b00; text-decoration: underline; text-underline-offset: 3px; }
#sn24-site .sn24-prose a:hover { color: #ba7f0d; }
#sn24-site .sn24-prose strong, #sn24-site .sn24-prose b { color: #122430; }
#sn24-site .sn24-prose img { max-width: 100%; height: auto; border-radius: 8px; }
#sn24-site .sn24-prose img.alignleft { float: left; margin: 8px 24px 16px 0; }
#sn24-site .sn24-prose img.alignright { float: right; margin: 8px 0 16px 24px; }
#sn24-site .sn24-prose .aligncenter { display: block; margin: 16px auto; }
#sn24-site .sn24-prose figure { max-width: 100%; }
#sn24-site .sn24-prose figure figcaption { color: #647582; font-size: 12px; line-height: 1.5; }
#sn24-site .sn24-prose blockquote { border-left: 4px solid var(--sn-gold); margin: 29px 0; padding: 16px 26px; background: #ecefe9; font-style: italic; color: #273d4a; }
#sn24-site .sn24-prose table { border-collapse: collapse; width: 100%; margin-block: 23px; display: block; overflow-x: auto; }
#sn24-site .sn24-prose td, #sn24-site .sn24-prose th { border: 1px solid #ced5d7; padding: 10px 14px; text-align: left; vertical-align: top; }
#sn24-site .sn24-prose th { background: #e8ede9; font-weight: 800; }
#sn24-site .sn24-prose iframe, #sn24-site .sn24-prose video, #sn24-site .sn24-prose embed { max-width: 100%; }
#sn24-site .sn24-prose pre { max-width: 100%; overflow-x: auto; padding: 19px; border-radius: 9px; background: #152936; color: #fff; }
#sn24-site .sn24-prose .wp-block-image { max-width: 100%; }
#sn24-site .sn24-prose .wp-block-gallery { display: flex; flex-wrap: wrap; }
#sn24-site .sn24-prose .wp-block-button__link { color: #14222b; background: var(--sn-gold); text-decoration: none; padding: 10px 18px; }
#sn24-site .sn24-prose .wp-block-cover { border-radius: 8px; overflow: hidden; }
#sn24-site .sn24-static-page { width: min(100%,1050px); min-height: 300px; }
#sn24-site .sn24-attachment-image { margin-bottom: 25px; }
#sn24-site .sn24-archive-header { max-width: 960px; margin-bottom: 35px; }
#sn24-site .sn24-archive-header h1 { color: #132431; font-size: clamp(37px,3.8vw,57px); margin: 8px 0 15px; font-weight: 850; }
#sn24-site .sn24-archive-description { color: #455563; max-width: 850px; font-size: 15px; line-height: 1.7; }
#sn24-site .sn24-archive-description p { margin: 0 0 13px; }
#sn24-site .sn24-archive-grid { row-gap: 26px; }
#sn24-site .sn24-archive-grid .sn24-post-card-image { height: 190px; }
#sn24-site .sn24-archive-grid .sn24-card-tag { top: -179px; }
#sn24-site .sn24-pagination { margin-top: 36px; }
#sn24-site .sn24-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
#sn24-site .sn24-pagination .page-numbers { padding: 10px 13px; border-radius: 7px; background: #fff; color: #253643; font-weight: 740; }
#sn24-site .sn24-pagination .page-numbers.current, #sn24-site .sn24-pagination a.page-numbers:hover { background: #172d39; color: #fff; }
#sn24-site .sn24-empty-results, #sn24-site .sn24-error { padding: 35px 0 80px; max-width: 760px; }
#sn24-site .sn24-empty-results h2, #sn24-site .sn24-error h1 { font-size: 35px; }
#sn24-site .sn24-error p, #sn24-site .sn24-empty-results p { color: #536573; font-size: 17px; }
#sn24-site .sn24-search-inline { display: flex; gap: 11px; margin: 27px 0; }
#sn24-site .sn24-search-inline input { flex: 1; min-width: 0; padding: 13px 17px; border-radius: 8px; border: 1px solid #bdc6c9; background: #fff; color: #1a2c39; }
#sn24-site .sn24-search-inline button { display: inline-flex; gap: 9px; align-items: center; padding: 10px 20px; border: none; border-radius: 8px; background: #1b333f; color: #fff; }

/* Sidebar: NEVER scroll the entire sidebar! ONLY .sn24-toc-links scrolls. */
#sn24-site .sn24-sidebar { min-width: 0; position: static; align-self: start; overflow: visible !important; max-height: none !important; }
/* Sticky is used only when all sidebar cards can comfortably fit on a tall screen. */
@media (min-height: 1170px) and (min-width: 980px) { #sn24-site .sn24-sidebar { position: sticky; top: 30px; } }
#sn24-site .sn24-side-box { margin: 0 0 21px; padding: 22px 22px 20px; background: #fffefa; border: 1px solid #e1e6e4; border-radius: 12px; box-shadow: 0 6px 22px rgba(22,38,48,.045); }
#sn24-site .sn24-side-box h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; padding-bottom: 13px; border-bottom: 1px solid #dfe5e1; color: #142735; font-size: 17px; font-weight: 820; letter-spacing: -.018em; }
#sn24-site .sn24-side-box h2 .sn24-icon { width: 18px; height: 18px; color: #d89d2b; }
#sn24-site .sn24-toc-links { display: flex; flex-direction: column; gap: 3px; max-height: 325px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding-right: 9px; scrollbar-color: #d1a33c #f1eee5; scrollbar-width: thin; }
#sn24-site .sn24-toc-links a { display: block; padding: 8px 10px; border-radius: 7px; border-left: 3px solid transparent; color: #435666; font-size: 12.5px; line-height: 1.42; }
#sn24-site .sn24-toc-links a[data-level="3"] { padding-left: 24px; font-size: 12px; }
#sn24-site .sn24-toc-links a:hover, #sn24-site .sn24-toc-links a.is-active { border-left-color: var(--sn-gold); color: #172835; background: #fff5df; }
#sn24-site .sn24-side-posts, #sn24-site .sn24-side-categories { list-style: none; padding: 0; margin: 0; }
#sn24-site .sn24-side-posts li { padding: 0 0 14px; margin: 0 0 15px; border-bottom: 1px solid #edf0ed; }
#sn24-site .sn24-side-posts li:last-child { margin-bottom: 0; border: 0; padding-bottom: 0; }
#sn24-site .sn24-side-posts a { display: block; color: #203543; font-size: 13px; font-weight: 700; line-height: 1.45; }
#sn24-site .sn24-side-posts a:hover { color: #b87d11; }
#sn24-site .sn24-side-posts time { display: block; margin-top: 4px; color: #73818b; font-size: 11px; }
#sn24-site .sn24-side-categories li + li { border-top: 1px solid #eef1ee; }
#sn24-site .sn24-side-categories a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; color: #2c404d; font-size: 13px; font-weight: 650; }
#sn24-site .sn24-side-categories a:hover { color: #b27b0c; }
#sn24-site .sn24-side-categories .sn24-icon { width: 13px; height: 13px; }
#sn24-site .sn24-related { margin-top: 66px; padding-top: 33px; border-top: 1px solid #dde2df; }
#sn24-site .sn24-comments { max-width: 890px; margin: 55px 0 0; padding: 28px 0; border-top: 1px solid #d6dedb; }
#sn24-site .sn24-comments h3, #sn24-site .sn24-comments h2 { font-size: 23px; color: #18303d; }
#sn24-site .sn24-comments textarea, #sn24-site .sn24-comments input:not([type="submit"]) { max-width: 100%; width: 100%; padding: 12px 14px; border: 1px solid #c4cecf; background: #fff; border-radius: 7px; color: #172a35; }
#sn24-site .sn24-comments input[type="submit"], #sn24-site .sn24-comments button { border: 0; border-radius: 8px; padding: 12px 20px; font-weight: 750; color: #192935; background: var(--sn-gold); }
#sn24-site .sn24-content-pagination { margin-top: 26px; padding: 12px; border-top: 1px solid #d9deda; }

/* Footer and Statlink. No label is visibly added for Statlink links. */
#sn24-site .sn24-footer { background: #11212b; color: #e6edf0; }
#sn24-site .sn24-footer-main { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.9fr); gap: 28px; padding: 44px clamp(27px,4.5vw,68px) 37px; }
#sn24-site .sn24-footer .sn24-logo-mark { width: 44px; height: 47px; }
#sn24-site .sn24-footer .sn24-logo-text { font-size: clamp(22px,1.7vw,29px); }
#sn24-site .sn24-footer-about { padding-right: 18px; }
#sn24-site .sn24-footer-about p { color: #cad6dc; font-size: 12px; line-height: 1.6; margin: 18px 0 0; }
#sn24-site .sn24-footer-col { border-left: 1px solid rgba(255,255,255,.11); padding-left: 23px; }
#sn24-site .sn24-footer-col h2 { margin: 3px 0 11px; font-size: 13px; font-weight: 820; color: #fff; letter-spacing: -.01em; }
#sn24-site .sn24-footer-col > a { display: block; padding: 3px 0; color: #cad5d9; font-size: 11px; line-height: 1.45; }
#sn24-site .sn24-footer-col > a:hover { color: var(--sn-gold); }
#sn24-site .sn24-footer-claim { display: flex; align-items: center; justify-content: center; padding: 18px 4px; border-left: 1px solid rgba(255,255,255,.11); color: #a5b4bd; font-weight: 900; letter-spacing: .02em; font-size: clamp(15px,1.7vw,24px); line-height: 1.04; text-align: center; }
#sn24-site .sn24-statlink { border-top: 1px solid rgba(255,255,255,.14); padding: 15px clamp(27px,4.5vw,68px); text-align: center; font-size: 12px; line-height: 1.8; }
#sn24-site .sn24-statlink b { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 23px; font-weight: 550; }
#sn24-site .sn24-statlink a { color: #e8d8b5; text-decoration: underline; text-decoration-color: rgba(255,183,40,.5); text-underline-offset: 3px; }
#sn24-site .sn24-statlink a:hover { color: var(--sn-gold); }
#sn24-site .sn24-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.13); padding: 18px clamp(27px,4.5vw,68px); color: #becbd1; font-size: 11px; }
#sn24-site .sn24-footer-bottom > div { display: flex; align-items: center; gap: 17px; }
#sn24-site .sn24-footer-bottom a { color: #cbd4d9; }
#sn24-site .sn24-footer-bottom a:hover { color: var(--sn-gold); }
#sn24-site .sn24-to-top { display: inline-grid; width: 28px; height: 28px; place-items: center; border: 1px solid #cd941d; border-radius: 50%; color: var(--sn-gold) !important; font-size: 16px; }

/* Responsive behavior: completely scrollable page, no sidebar scrollbars except TOC. */
@media (max-width: 1240px) {
  #sn24-site .sn24-topline-right > span { display: none; }
  #sn24-site .sn24-mainbar-inner { gap: 13px; }
  #sn24-site .sn24-nav { gap: 15px; }
  #sn24-site .sn24-hero-copy { width: 56%; }
  #sn24-site .sn24-hero-feature { width: 39%; }
  #sn24-site .sn24-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
  #sn24-site .sn24-category-card img { height: 156px; }
  #sn24-site .sn24-post-card--dark .sn24-post-card-image { height: 116px; }
  #sn24-site .sn24-about { grid-template-columns: minmax(0,1.6fr) minmax(0,1.1fr); }
  #sn24-site .sn24-about-photo { display: none; }
  #sn24-site .sn24-footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  #sn24-site .sn24-footer-claim { display: none; }
}
@media (max-width: 980px) {
  #sn24-site .sn24-nav { gap: 9px; font-size: 11px; }
  #sn24-site .sn24-logo-text { font-size: 25px; }
  #sn24-site .sn24-logo-mark { width: 41px; height: 45px; }
  #sn24-site .sn24-hero { min-height: 470px; }
  #sn24-site .sn24-hero h1 { font-size: 50px; }
  #sn24-site .sn24-hero-feature { width: 40%; }
  #sn24-site .sn24-latest-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
  #sn24-site .sn24-about { grid-template-columns: 1fr; padding-right: clamp(27px,4.5vw,68px); }
  #sn24-site .sn24-about-values { padding-bottom: 28px; }
  #sn24-site .sn24-article-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 30px; }
  #sn24-site .sn24-side-box { padding: 18px; }
}
@media (max-width: 790px) {
  #sn24-site { width: 100%; margin: 0; border-radius: 0; }
  #sn24-site .sn24-topline-inner { justify-content: center; }
  #sn24-site .sn24-topline-right { display: none; }
  #sn24-site .sn24-mainbar-inner { min-height: 70px; }
  #sn24-site .sn24-actions { margin-left: auto; }
  #sn24-site .sn24-menu-button { display: inline-grid; }
  #sn24-site .sn24-nav { display: none; position: absolute; inset: auto 0 auto 0; top: 100%; z-index: 100; padding: 16px 26px 22px; background: #132a36; box-shadow: 0 16px 20px rgba(0,0,0,.18); }
  #sn24-site .sn24-nav.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  #sn24-site .sn24-nav > a, #sn24-site .sn24-mobile-utils a { display: block; padding: 11px 5px; font-size: 14px; color: #f1f5f6; border-bottom: 1px solid rgba(255,255,255,.08); }
  #sn24-site .sn24-mobile-utils { display: block; margin-top: 13px; }
  #sn24-site .sn24-mobile-utils a { color: #e5e0d2; }
  #sn24-site .sn24-hero { min-height: 595px; align-items: flex-start; padding-top: 10px; }
  #sn24-site .sn24-hero-photo { left: 10%; opacity: .88; }
  #sn24-site .sn24-hero-shade { background: linear-gradient(90deg,rgba(9,22,31,.97),rgba(9,22,31,.75) 75%,rgba(9,22,31,.4)),linear-gradient(0deg,rgba(9,22,31,.84),transparent 65%); }
  #sn24-site .sn24-hero-copy { width: 90%; margin-left: 5%; padding: 35px 0 0; }
  #sn24-site .sn24-hero h1 { font-size: clamp(44px,8vw,63px); }
  #sn24-site .sn24-hero-feature { width: 90%; max-width: 500px; left: 5%; right: auto; bottom: 20px; min-height: 148px; }
  #sn24-site .sn24-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #sn24-site .sn24-featured-grid, #sn24-site .sn24-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #sn24-site .sn24-article-layout { grid-template-columns: 1fr; }
  #sn24-site .sn24-sidebar { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; overflow: visible !important; }
  #sn24-site .sn24-side-box { margin: 0; }
  #sn24-site .sn24-toc-links { max-height: 300px; }
  #sn24-site .sn24-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) {
  #sn24-site .sn24-header-inner { padding-inline: 17px; }
  #sn24-site .sn24-logo-mark { width: 38px; height: 41px; }
  #sn24-site .sn24-logo-mark .sn24-icon { width: 24px; height: 24px; }
  #sn24-site .sn24-logo-text { font-size: clamp(19px,5.1vw,26px); }
  #sn24-site .sn24-actions { gap: 6px; }
  #sn24-site .sn24-search-button, #sn24-site .sn24-menu-button { width: 37px; height: 37px; }
  #sn24-site .sn24-header-search { padding-inline: 14px; }
  #sn24-site .sn24-header-search form { flex-direction: column; }
  #sn24-site .sn24-hero { min-height: 625px; }
  #sn24-site .sn24-hero-copy { padding-top: 32px; }
  #sn24-site .sn24-hero h1 { font-size: clamp(41px,10.5vw,59px); }
  #sn24-site .sn24-hero-copy > p { font-size: 13px; }
  #sn24-site .sn24-benefits { gap: 12px; flex-wrap: wrap; }
  #sn24-site .sn24-benefits span { font-size: 10px; }
  #sn24-site .sn24-benefits .sn24-icon { width: 23px; height: 23px; }
  #sn24-site .sn24-hero-feature { min-height: 139px; }
  #sn24-site .sn24-hero-feature-copy { padding: 12px; width: 84%; gap: 5px; }
  #sn24-site .sn24-hero-feature-copy strong { font-size: 13px; }
  #sn24-site .sn24-hero-feature-copy small { font-size: 10px; }
  #sn24-site .sn24-section { padding: 38px 18px 43px; }
  #sn24-site .sn24-section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 20px; gap: 8px; }
  #sn24-site .sn24-section-heading h2 { font-size: 26px; gap: 11px; }
  #sn24-site .sn24-category-grid { gap: 10px; }
  #sn24-site .sn24-category-card img { height: 113px; }
  #sn24-site .sn24-category-card-body { padding: 10px 24px 13px 10px; min-height: 83px; }
  #sn24-site .sn24-category-card-body strong { font-size: 12px; }
  #sn24-site .sn24-category-card-body small { font-size: 10px; }
  #sn24-site .sn24-category-arrow { right: 7px; bottom: 9px; width: 20px; height: 20px; }
  #sn24-site .sn24-featured-grid, #sn24-site .sn24-archive-grid { grid-template-columns: 1fr; gap: 18px; }
  #sn24-site .sn24-post-card-image, #sn24-site .sn24-archive-grid .sn24-post-card-image { height: 200px; }
  #sn24-site .sn24-post-card--light .sn24-post-card-content { min-height: 165px; }
  #sn24-site .sn24-card-tag, #sn24-site .sn24-archive-grid .sn24-card-tag { top: -189px; }
  #sn24-site .sn24-latest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  #sn24-site .sn24-post-card--dark .sn24-post-card-image { height: 104px; }
  #sn24-site .sn24-post-card--dark .sn24-post-card-title { font-size: 13px; min-height: 66px; }
  #sn24-site .sn24-post-card--dark .sn24-post-card-meta > span { font-size: 10px; }
  #sn24-site .sn24-pill { font-size: 9px; }
  #sn24-site .sn24-about { padding: 0 18px; }
  #sn24-site .sn24-about-copy { padding-bottom: 6px; }
  #sn24-site .sn24-about-values { gap: 10px; }
  #sn24-site .sn24-about-values strong { font-size: 10px; }
  #sn24-site .sn24-about-values small { font-size: 9px; }
  #sn24-site .sn24-container { padding-inline: 19px; }
  #sn24-site .sn24-interior { padding-top: 27px; padding-bottom: 50px; }
  #sn24-site .sn24-article-header h1 { font-size: 33px; }
  #sn24-site .sn24-archive-header h1 { font-size: 36px; }
  #sn24-site .sn24-prose { font-size: 15px; line-height: 1.78; }
  #sn24-site .sn24-sidebar { grid-template-columns: 1fr; gap: 15px; }
  #sn24-site .sn24-toc-links { max-height: 295px; }
  #sn24-site .sn24-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 34px 18px 28px; gap: 23px 12px; }
  #sn24-site .sn24-footer-about { grid-column: 1 / -1; }
  #sn24-site .sn24-footer-col { padding-left: 11px; }
  #sn24-site .sn24-footer-bottom { padding: 17px 18px; flex-direction: column; align-items: flex-start; gap: 9px; }
  #sn24-site .sn24-footer-bottom > div { flex-wrap: wrap; }
  #sn24-site .sn24-statlink { padding-inline: 18px; }
  #sn24-site .sn24-search-inline { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  #sn24-site *, #sn24-site *::before, #sn24-site *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
