/* =========================================================
   Sitezen 3.0 — 20 magazine footer designs (.szf-*)
   ========================================================= */
.szf {
  --ft-bg: #141414; --ft-ink: #fff; --ft-txt: #b9b9b9; --ft-mut: #828282;
  --ft-line: rgba(255, 255, 255, .1); --ft-soft: rgba(255, 255, 255, .05);
  background: var(--ft-bg); color: var(--ft-txt); margin-top: 0; font-size: .9rem; line-height: 1.7;
  position: relative;
}
.szf a { color: var(--ft-txt); transition: color .2s; }
.szf a:hover { color: var(--ft-ink); }
.szf-d-light, .szf-d-stacked, .szf-d-editorial, .szf-d-paper, .szf-d-bordered, .szf-d-topics, .szf-d-chips {
  --ft-bg: #fff; --ft-ink: #161616; --ft-txt: #555; --ft-mut: #8b8b8b; --ft-line: #e8e8e8; --ft-soft: #f5f5f5;
}
.szf-d-paper { --ft-bg: #f3eee4; --ft-line: #ddd3c1; --ft-soft: #ebe4d6; }
.szf-d-light, .szf-d-stacked, .szf-d-editorial, .szf-d-bordered, .szf-d-topics, .szf-d-chips { border-top: 1px solid var(--ft-line); }

/* Shared pieces */
.szf-logo { display: inline-block; font: 800 1.7rem/1.1 var(--f-head, Georgia, serif); letter-spacing: -.04em; color: var(--ft-ink) !important; }
.szf-logo::after { content: "."; color: var(--sz-red); }
.szf-logo-img::after { content: none; }
.szf-logo-img img { max-height: 54px; width: auto; }
.szf-about { margin: 12px 0 18px; max-width: 380px; color: var(--ft-txt); }
.szf-title { margin: 0 0 16px; font: 800 .74rem/1.3 var(--f-body, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--ft-ink); }
.szf-title a { color: inherit !important; }
.szf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.szf-list li { margin: 0; }
.szf-list em { font-style: normal; font-size: .72rem; color: var(--ft-mut); margin-left: 4px; }
.szf-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.szf-menu li { margin: 0; }
.szf-menu a { font-weight: 600; }
.szf-menu-sm { gap: 6px 18px; font-size: .8rem; }
.szf-social { display: flex; flex-wrap: wrap; gap: 8px; }
.szf-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--ft-line); border-radius: 50%; color: var(--ft-ink) !important; transition: background .2s, border-color .2s, color .2s; }
.szf-social a:hover { background: var(--sz-red); border-color: var(--sz-red); color: #fff !important; }
.szf-social svg { width: 16px; height: 16px; }
.szf-social-sm a { width: 32px; height: 32px; }
.szf-social-sm svg { width: 14px; height: 14px; }
.szf-social-lg a { width: 46px; height: 46px; }
.szf-social-lg svg { width: 19px; height: 19px; }
.szf-recent { display: grid; gap: 14px; }
.szf-rp { display: flex; gap: 12px; align-items: flex-start; }
.szf-rp-img { flex: 0 0 64px; height: 50px; overflow: hidden; background: var(--ft-soft); }
.szf-rp-img img, .szf-rp-img .ph-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.szf-rp h3 { margin: 0 0 2px; font: 700 .85rem/1.4 var(--f-body, sans-serif); }
.szf-rp h3 a { color: var(--ft-ink); }
.szf-rp h3 a:hover { color: var(--sz-red); }
.szf-rp time { font-size: .7rem; color: var(--ft-mut); }
.szf-kicker { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sz-red); margin-bottom: 8px; }
.szf-btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 26px; background: var(--sz-red); color: #fff !important; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.szf-btn:hover { filter: brightness(.9); }
.szf .gm-sub .social-links a { color: var(--ft-ink); border-color: var(--ft-line); }
.szf .gm-btn { color: #fff !important; }

.szf-cols { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding: 56px 0 46px; }
.szf-cols-5 { grid-template-columns: 1.5fr .8fr .8fr 1.4fr .9fr; gap: 34px; }
.szf-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; }
.szf-cols-2 { grid-template-columns: 1fr 1fr; padding: 0; }
.szf-col { min-width: 0; }
.szf-widgets .widget { background: none; border: 0; padding: 0; margin: 0 0 24px; }
.szf-widgets .widget-title { color: var(--ft-ink); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; border: 0; padding: 0; }
.szf-widgets .widget-title::before { display: none; }
.szf-widgets .widget ul { list-style: none; padding: 0; margin: 0; }
.szf-widgets .widget li { border: 0; padding: 4px 0; }

.szf-bottom { border-top: 1px solid var(--ft-line); font-size: .8rem; }
.szf-bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; }
.szf-copy a { color: var(--ft-ink) !important; font-weight: 700; }
.szf-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.szf-row-sep { padding-top: 30px; margin-top: 40px; border-top: 1px solid var(--ft-line); }
.szf-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.szf-center .szf-about { margin-inline: auto; }
.szf-head-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 48px 0 28px; border-bottom: 1px solid var(--ft-line); margin-bottom: 30px; }
.szf-big { margin: 0; font: 800 clamp(1.6rem, 3.4vw, 2.4rem)/1.1 var(--f-head, sans-serif); letter-spacing: -.03em; color: var(--ft-ink); }
.szf-center-t { text-align: center; padding: 54px 0 26px; }

/* 1. Newsletter */
.szf-band { background: var(--sz-red); color: #fff; }
.szf-band-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 50px; align-items: center; padding-top: 38px; padding-bottom: 38px; }
.szf-band h2 { margin: 0 0 4px; color: #fff; font: 800 clamp(1.4rem, 2.8vw, 2rem)/1.15 var(--f-head, sans-serif); letter-spacing: -.02em; }
.szf-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.szf-band .szf-kicker { color: rgba(255, 255, 255, .8); }
.szf-band form.gm-sub button, .szf-band .gm-btn { background: #141414; }
.szf-band form.gm-sub input[type="email"] { border-color: transparent; }
.szf-band .gm-sub .social-links a { color: #fff; border-color: rgba(255, 255, 255, .4); }

/* 3. Wordmark */
.szf-wordmark { padding: 10px 0 0; font: 900 clamp(4rem, 17vw, 15rem)/.8 var(--f-head, sans-serif); letter-spacing: -.07em; color: var(--ft-ink); white-space: nowrap; overflow: hidden; text-overflow: clip; padding-bottom: .12em; user-select: none; }
.szf-wordmark span { color: var(--sz-red); }
.szf-top-row { display: grid; grid-template-columns: 1fr auto auto; gap: 24px 46px; align-items: center; padding: 50px 0 34px; border-bottom: 1px solid var(--ft-line); margin-bottom: 30px; }
.szf-top-row .szf-about { margin: 0; }
.szf-wordmark { background: linear-gradient(180deg, var(--ft-ink) 50%, color-mix(in srgb, var(--ft-ink) 30%, var(--ft-bg)) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.szf-wordmark span { -webkit-text-fill-color: var(--sz-red); }

/* 5. Stacked */
.szf-d-stacked .szf-center { padding: 56px 0 40px; gap: 6px; }
.szf-d-stacked .szf-menu { justify-content: center; margin: 4px 0 22px; text-transform: uppercase; font-size: .76rem; letter-spacing: .1em; }
.szf-d-stacked .szf-bottom-in { justify-content: center; }

/* 6. Two-tone */
.szf-split { display: grid; grid-template-columns: minmax(300px, 38%) 1fr; }
.szf-split-brand { background: var(--sz-red); color: rgba(255, 255, 255, .9); }
.szf-split-brand .szf-logo { color: #fff !important; }
.szf-split-brand .szf-logo::after { color: #141414; }
.szf-split-brand .szf-about { color: rgba(255, 255, 255, .88); }
.szf-split-brand form.gm-sub button, .szf-split-brand .gm-btn { background: #141414; }
.szf-split-brand .gm-sub .social-links a { color: #fff; border-color: rgba(255, 255, 255, .4); }
.szf-split-in { padding: 56px clamp(20px, 5vw, 64px) 40px; height: 100%; display: flex; flex-direction: column; }
.szf-split-brand .szf-split-in { max-width: 520px; margin-left: auto; }
.szf-split-main .szf-split-in { max-width: 860px; }
.szf-split-bottom { margin-top: auto; padding-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; }
.szf-split-main .szf-cols { padding: 0; }

/* 7. Cards */
.szf-cardrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding-bottom: 50px; }
.szf-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ft-soft); margin-bottom: 12px; }
.szf-card-img img, .szf-card-img .ph-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.szf-card:hover img { transform: scale(1.05); }
.szf-card h3 { margin: 0 0 4px; font: 700 .95rem/1.4 var(--f-head, sans-serif); }
.szf-card h3 a { color: var(--ft-ink); }
.szf-card time { font-size: .72rem; color: var(--ft-mut); }

/* 8. Chips */
.szf-chip-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 44px 0 24px; }
.szf-chips { display: flex; flex-direction: column; gap: 12px; padding-bottom: 44px; }
.szf-chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.szf-chip-list li { margin: 0; }
.szf-chip-list a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--ft-soft); font-weight: 700; font-size: .86rem; color: var(--ft-ink); }
.szf-chip-list a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sz-red); }
.szf-chip-list a:hover { background: var(--sz-red); color: #fff; }
.szf-chip-list a:hover::before { background: #fff; }
.szf-chip-list-2 a { background: transparent; border: 1px solid var(--ft-line); font-weight: 600; font-size: .8rem; padding: 7px 15px; }
.szf-chip-list-2 a::before { display: none; }

/* 9. Gradient */
.szf-d-gradient { --ft-bg: #0d0d12; background: radial-gradient(900px 380px at 15% -10%, color-mix(in srgb, var(--sz-red) 55%, transparent), transparent 70%), radial-gradient(700px 300px at 95% 10%, color-mix(in srgb, var(--sz-red) 30%, #4f46e5 30%), transparent 70%), #0d0d12; }
.szf-glow { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: 50px 0 40px; border-bottom: 1px solid var(--ft-line); }
.szf-glow h2 { margin: 0; color: #fff; font: 800 clamp(1.6rem, 3.6vw, 2.6rem)/1.1 var(--f-head, sans-serif); letter-spacing: -.03em; max-width: 560px; }
.szf-glow .gm-sub { flex: 0 1 460px; }
.szf-glow form.gm-sub input[type="email"] { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }

/* 10. Editorial */
.szf-d-editorial { font-family: var(--f-head, Georgia, serif); }
.szf-masthead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 46px 0 14px; border-bottom: 4px double var(--ft-ink); margin-bottom: 30px; }
.szf-masthead .szf-logo { font-size: clamp(2rem, 5vw, 3.2rem); }
.szf-dateline { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ft-mut); font-family: var(--f-body, sans-serif); }
.szf-d-editorial .szf-cols-3 { padding-bottom: 44px; gap: 0; }
.szf-d-editorial .szf-cols-3 > .szf-col { padding: 0 28px; border-left: 1px solid var(--ft-line); }
.szf-d-editorial .szf-cols-3 > .szf-col:first-child { padding-left: 0; border-left: 0; }
.szf-d-editorial .szf-about { font-size: 1rem; font-style: italic; }
.szf-d-editorial .szf-title { font-family: var(--f-body, sans-serif); padding-bottom: 8px; border-bottom: 1px solid var(--ft-ink); }
.szf-d-editorial .szf-social { margin-top: 16px; }

/* 11. Big CTA */
.szf-cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 60px; align-items: end; padding: 64px 0 54px; }
.szf-huge { margin: 0 0 26px; font: 800 clamp(2.2rem, 6vw, 4.6rem)/1 var(--f-head, sans-serif); letter-spacing: -.045em; color: var(--ft-ink); }
.szf-huge span { color: var(--sz-red); }

/* 12. Sitemap */
.szf-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 30px; padding-bottom: 50px; }
.szf-map-tree { display: contents; list-style: none; margin: 0; padding: 0; }
.szf-map-tree > li { margin: 0; min-width: 0; }
.szf-map-tree > li > a { display: block; margin-bottom: 14px; font: 800 .74rem/1.3 var(--f-body, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--ft-ink) !important; }
.szf-map-tree .sub-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.szf-map-tree .sub-menu li { margin: 0; }
.szf-map-tree .sub-menu a { font-size: .86rem; }
.szf-map-tree .sub-toggle { display: none; }
.szf-map .szf-list a { font-size: .86rem; }
.szf-map .szf-about { margin-top: 0; }

/* 13. Bordered */
.szf-cells { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; border-left: 1px solid var(--ft-line); margin: 50px 0; }
.szf-cell { padding: 28px; border-right: 1px solid var(--ft-line); border-top: 1px solid var(--ft-line); }
.szf-cell-wide { grid-column: 1 / -1; border-bottom: 1px solid var(--ft-line); padding-top: 18px; padding-bottom: 18px; font-size: .8rem; }
.szf-cell-brand .szf-about { margin-bottom: 0; }

/* 14. Big links */
.szf-d-topics .szf-center { padding: 56px 0 40px; }
.szf-biglinks { list-style: none; margin: 8px 0 18px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 34px; }
.szf-biglinks li { margin: 0; }
.szf-biglinks a { font: 800 clamp(1.3rem, 3vw, 2.1rem)/1.3 var(--f-head, sans-serif); letter-spacing: -.02em; color: var(--ft-ink) !important; background: linear-gradient(var(--sz-red), var(--sz-red)) 0 100% / 0 3px no-repeat; transition: background-size .3s; }
.szf-biglinks a:hover { background-size: 100% 3px; }
.szf-d-topics .szf-about { margin: 0 auto 30px; text-align: center; }
.szf-d-topics .szf-row { width: 100%; padding-top: 28px; border-top: 1px solid var(--ft-line); }

/* Shared extras */
.szf-mail { margin: 0 0 14px; }
.szf-mail a { font-weight: 700; color: var(--ft-ink) !important; }
.szf-sub-stack { flex-direction: column; align-items: stretch; }
.szf-sub-stack input[type="email"] { flex: none !important; width: 100%; }
.szf-sub-stack button { justify-content: center; }
.szf .szf-list .sub-menu { display: none; }

/* 15. Photo strip */
.szf-photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.szf-photos a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.szf-photos img, .szf-photos .ph-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s, filter .4s; filter: saturate(.85); }
.szf-photos span { position: absolute; inset: auto 0 0; padding: 30px 12px 10px; font-size: .75rem; font-weight: 700; line-height: 1.35; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.szf-photos a:hover img { transform: scale(1.07); filter: none; }
.szf-photos a:hover span, .szf-photos a:focus span { opacity: 1; transform: none; }

/* 16. Social tiles */
.szf-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 210px)); justify-content: center; gap: 12px; }
.szf-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px 12px; background: var(--ft-soft); border: 1px solid var(--ft-line); color: var(--ft-ink) !important; font-weight: 700; font-size: .84rem; transition: background .2s, transform .2s; }
.szf-tile svg { width: 26px; height: 26px; }
.szf-tile:hover { background: var(--sz-red); transform: translateY(-3px); color: #fff !important; }
.szf-d-social .szf-bottom-in { justify-content: center; }

/* 17. Inline */
.szf-inline { display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 14px; }
.szf-inline .szf-logo { font-size: 1.35rem; }
.szf-inline .szf-menu { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.szf-inline-copy { padding-bottom: 22px; font-size: .78rem; color: var(--ft-mut); }

/* 18. Wave */
.szf-d-wave { background: transparent; }
.szf-wave-svg { display: block; width: 100%; height: 70px; fill: var(--ft-bg); margin-bottom: -1px; }
.szf-wave-body { background: var(--ft-bg); }
.szf-d-wave .szf-cols { padding-top: 26px; }
.szf-d-wave { --ft-bg: #10223a; --ft-line: rgba(255, 255, 255, .12); }

/* 19. Marquee */
.szf-marquee { display: flex; align-items: stretch; background: var(--sz-red); color: #fff; overflow: hidden; }
.szf-marquee-label { flex: none; display: flex; align-items: center; padding: 0 18px; background: #0a0a0a; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.szf-marquee-track { flex: 1; overflow: hidden; }
.szf-marquee-move { display: inline-flex; white-space: nowrap; animation: szf-marq 60s linear infinite; }
.szf-marquee-move a, .szf-dup a { display: inline-block; padding: 14px 26px; color: #fff !important; font-weight: 700; font-size: .88rem; }
.szf-marquee-move a::before { content: "●"; font-size: .5em; vertical-align: 3px; margin-right: 12px; opacity: .7; }
.szf-dup { display: inline-flex; }
.szf-marquee-track:hover .szf-marquee-move { animation-play-state: paused; }
@keyframes szf-marq { to { transform: translateX(-50%); } }

/* 20. Paper */
.szf-paper-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 50px; padding: 58px 0 46px; }
.szf-d-paper .szf-logo { font-family: var(--f-head, Georgia, serif); font-size: 2.1rem; }
.szf-d-paper .szf-about { font-size: .98rem; }
.szf-d-paper form.gm-sub input[type="email"] { background: #fff; }

/* Light footers: inherit body text tone */
.szf-d-light .szf-cols { padding-top: 54px; }
.szf-d-light { border-top: 3px solid var(--ft-ink); }

/* Dark mode for light footers */
.sz-dark .szf-d-light, .sz-dark .szf-d-stacked, .sz-dark .szf-d-editorial, .sz-dark .szf-d-paper, .sz-dark .szf-d-bordered, .sz-dark .szf-d-topics, .sz-dark .szf-d-chips {
  --ft-bg: #070b11; --ft-ink: #e8edf4; --ft-txt: #a9b3c1; --ft-mut: #7f8a9b; --ft-line: #1f2836; --ft-soft: #111823;
}

/* Responsive */
@media (max-width: 1024px) {
  .szf-cols, .szf-cols-5 { grid-template-columns: 1fr 1fr; }
  .szf-cols > .szf-col-about, .szf-cols-5 > .szf-col-wide { grid-column: 1 / -1; }
  .szf-cardrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .szf-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .szf-cells { grid-template-columns: 1fr 1fr; }
  .szf-split { grid-template-columns: 1fr; }
  .szf-split-brand .szf-split-in { max-width: none; margin: 0; }
  .szf-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .szf-paper-grid { grid-template-columns: 1fr 1fr; }
  .szf-paper-about { grid-column: 1 / -1; }
  .szf-top-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .szf-band-in, .szf-cta-grid { grid-template-columns: 1fr; }
  .szf-d-editorial .szf-cols-3 { grid-template-columns: 1fr; gap: 28px; }
  .szf-d-editorial .szf-cols-3 > .szf-col { padding: 0; border: 0; }
  .szf-cols-3 { grid-template-columns: 1fr 1fr; gap: 28px; }
  .szf-cols-3 > .szf-col:last-child { grid-column: 1 / -1; }
  .szf-bottom-in { justify-content: center; text-align: center; }
  .szf-inline { justify-content: center; text-align: center; }
  .szf-inline-copy { text-align: center; }
  .szf-wave-svg { height: 40px; }
}
@media (max-width: 520px) {
  .szf-cols, .szf-cols-5 { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 34px; }
  .szf-cardrow { grid-template-columns: 1fr 1fr; gap: 16px; }
  .szf-map { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .szf-cells { grid-template-columns: 1fr; }
  .szf-cell { padding: 22px; }
  .szf-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .szf-photos a:nth-child(n+4) { display: none; }
  .szf-paper-grid { grid-template-columns: 1fr; gap: 30px; }
  .szf-cols-3, .szf-cols-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .szf-marquee-move { animation: none; } }
@media print { .szf { display: none; } }

/* =========================================================
   Footer element switches: columns reflow when some are off
   ========================================================= */
.szf-cols, .szf-cols-5, .szf-cols-3, .szf-cols-2 { display: flex; flex-wrap: wrap; gap: 34px 40px; }
.szf-cols > .szf-col { flex: 1 1 170px; min-width: 0; }
.szf-cols > .szf-col-about { flex: 1.6 1 260px; }
.szf-cols > .szf-col-wide { flex: 1.5 1 240px; }
.szf-cells { display: flex; flex-wrap: wrap; }
.szf-cells > .szf-cell { flex: 1 1 200px; }
.szf-cells > .szf-cell-brand { flex: 1.5 1 280px; }
.szf-cells > .szf-cell-wide { flex: 1 1 100%; }
.szf-map { display: flex; flex-wrap: wrap; }
.szf-map > .szf-map-col, .szf-map-tree > li { flex: 1 1 190px; }
.szf-map > .szf-map-wide { flex: 1.4 1 240px; }
.szf-paper-grid { display: flex; flex-wrap: wrap; }
.szf-paper-grid > * { flex: 1 1 200px; min-width: 0; }
.szf-paper-grid > .szf-paper-about { flex: 1.6 1 300px; }

.szf-col:empty, .szf-cell:empty, .szf-map-col:empty, .szf-paper-about:empty, .szf-split-in:empty,
.szf-bottom-in:empty, .szf-top-row:empty, .szf-row:empty, .szf-head-row:empty, .szf-chip-head:empty,
.szf-chips:empty, .szf-cols:empty, .szf-cta-grid > div:empty { display: none; }
.szf-bottom:has(> .szf-bottom-in:empty) { display: none; }
.szf-cols:not(:has(> :not(:empty))) { display: none; }
.szf-split-brand:has(> .szf-split-in:empty) { display: none; }
.szf-split:has(> .szf-split-brand:empty), .szf-split:not(:has(.szf-split-brand .szf-split-in > *)) { grid-template-columns: 1fr; }
@media (max-width: 520px) {
  .szf-cols, .szf-cols-5 { padding: 40px 0 34px; gap: 28px; }
  .szf-cols > .szf-col, .szf-cols > .szf-col-about { flex-basis: 100%; }
}

/* Latest-posts count is dynamic: rows fill the width */
.szf-cardrow { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.szf-photos { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 520px) { .szf-cardrow { grid-template-columns: 1fr 1fr; } .szf-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
