/* ShortlistMag — magazine-blog theme (black + orange from the logo; heavy italic grotesque headlines) */
:root {
  --slm-black: #000000;
  --slm-ink: #1A1A1A;
  --slm-muted: #6B6B6B;
  --slm-line: #E5E5E5;
  --slm-bg: #FFFFFF;
  --slm-bg-soft: #F7F7F5;
  --slm-orange: #FFA200;
  --slm-orange-dark: #CC8200;
  --slm-orange-light: #FFC14D;
  --slm-tint: #FFF4E0;
  --slm-font-head: "Archivo", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --slm-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-font-family: var(--slm-font-body);
  --bs-body-color: #1A1A1A;
  --bs-link-color: #1A1A1A;
  --bs-link-hover-color: #CC8200;
  --bs-primary: #FFA200;
}

/* ---- Base ------------------------------------------------------------------ */
body.slm { background: var(--slm-bg); color: var(--slm-ink); font-family: var(--slm-font-body); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.slm a { color: var(--slm-ink); text-decoration: none; }
.slm a:hover { color: var(--slm-orange-dark); }
.slm h1, .slm h2, .slm h3, .slm .slm-h { font-family: var(--slm-font-head); font-weight: 900; font-style: italic; letter-spacing: -0.02em; line-height: 1.12; color: var(--slm-black); }
.slm h4, .slm h5 { font-family: var(--slm-font-head); font-weight: 800; font-style: normal; letter-spacing: -0.01em; }
.slm .container { max-width: 1200px; }
.slm-skip { position: absolute; top: 0; left: 0; background: #fff; padding: 0.5rem 1rem; z-index: 2000; }
.btn-slm { background: var(--slm-orange); border: 2px solid var(--slm-orange); color: var(--slm-black); font-weight: 700; border-radius: 6px; }
.btn-slm:hover, .btn-slm:focus { background: var(--slm-black); border-color: var(--slm-black); color: #fff; }
.btn-outline-slm { border: 2px solid var(--slm-black); color: var(--slm-black); font-weight: 700; border-radius: 6px; background: transparent; }
.btn-outline-slm:hover { background: var(--slm-black); color: #fff; }
.slm-kicker { display: inline-block; font-family: var(--slm-font-head); font-style: italic; font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slm-orange-dark); }
.slm-kicker:hover { color: var(--slm-black); }
.slm-date, .slm-card-meta { font-size: 0.82rem; color: var(--slm-muted); }
.slm-card-meta { margin: 0.35rem 0 0; }
.slm-card-meta a { font-weight: 600; color: var(--slm-ink); }
.slm-dot { margin: 0 0.35rem; color: var(--slm-line); }
.slm-img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 2 / 1; border-radius: 8px; background: var(--slm-bg-soft); }
.slm-img-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; background: var(--slm-tint); color: var(--slm-orange-dark); font-family: var(--slm-font-head); font-weight: 900; font-style: italic; font-size: 1.1rem; }
.slm-img-fallback i { font-size: 2rem; color: var(--slm-orange); }
.slm-empty { padding: 2rem; background: var(--slm-bg-soft); border-radius: 8px; color: var(--slm-muted); }

/* ---- Header ---------------------------------------------------------------- */
.slm-masthead { position: sticky; top: 0; z-index: 1040; background: #fff; border-bottom: 1px solid var(--slm-line); transition: box-shadow 0.2s; }
.slm-header.is-stuck .slm-masthead { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }
.slm-masthead-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.slm-logo-img { height: 44px; width: auto; display: block; }
.slm-logo-sm { height: 32px; }
.slm-logo-footer { height: 40px; }
.slm-burger, .slm-search-toggle { background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--slm-black); padding: 0.25rem; }
.slm-quick { margin-left: auto; }
.slm-quick-link { display: inline-flex; align-items: center; padding: 0.5rem 0.75rem; font-family: var(--slm-font-head); font-weight: 800; font-size: 0.92rem; color: var(--slm-black); white-space: nowrap; }
.slm-quick-link::after { margin-left: 0.4rem; }
.slm-quick .dropdown-menu { z-index: 1061; font-size: 0.88rem; min-width: 210px; border-radius: 8px; border-top: 3px solid var(--slm-orange); }
.slm .slm-quick .dropdown-item { color: var(--slm-ink); font-weight: 600; padding: 0.45rem 1rem; }
.slm .slm-quick .dropdown-item:hover { color: var(--slm-orange-dark); background: var(--slm-tint); }
.slm-nav { flex: 1 1 auto; }
.slm-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.slm-nav-item { position: relative; }
.slm-nav-link { display: inline-flex; align-items: center; gap: 0.3rem; padding: 1.4rem 0.75rem; font-family: var(--slm-font-head); font-weight: 800; font-size: 0.92rem; color: var(--slm-black); white-space: nowrap; border-bottom: 3px solid transparent; }
.slm-nav-link i { font-size: 0.7rem; transition: transform 0.15s; }
.slm-nav-item:hover > .slm-nav-link, .slm-nav-item.is-open > .slm-nav-link, .slm-nav-item.is-active > .slm-nav-link { color: var(--slm-black); border-bottom-color: var(--slm-orange); }
.slm-nav-item:hover > .slm-nav-link i { transform: rotate(180deg); }
.slm-dd { position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid var(--slm-line); border-top: 3px solid var(--slm-orange); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12); padding: 0.75rem 0; opacity: 0; visibility: hidden; transition: opacity 0.15s; z-index: 1050; }
.slm-nav-item:hover > .slm-dd, .slm-nav-item.is-open > .slm-dd { opacity: 1; visibility: visible; }
.slm-dd ul { list-style: none; margin: 0; padding: 0; }
.slm-dd.is-cols-2 { min-width: 560px; }
.slm-dd.is-cols-2 > ul { columns: 2; column-gap: 0; }
.slm-dd.is-cols-3 { min-width: 820px; }
.slm-dd.is-cols-3 > ul { columns: 3; column-gap: 0; }
.slm-dd li { break-inside: avoid; }
.slm-dd li a { display: block; padding: 0.4rem 1.25rem; font-size: 0.88rem; font-weight: 500; color: var(--slm-ink); }
.slm-dd li a:hover { background: var(--slm-tint); color: var(--slm-black); }
.slm-dd-all { display: block; padding: 0.45rem 1.25rem 0.6rem; font-family: var(--slm-font-head); font-style: italic; font-weight: 800; font-size: 0.85rem; color: var(--slm-orange-dark); }
.slm-dd > .slm-dd-all:first-child { border-bottom: 1px solid var(--slm-line); margin-bottom: 0.4rem; }
.slm-dd > .slm-dd-all:last-child { border-top: 1px solid var(--slm-line); margin-top: 0.4rem; }
.slm-nav-more .slm-dd { left: auto; right: 0; min-width: 260px; }
.slm-more-item { position: relative; }
.slm-more-item > a { display: flex; justify-content: space-between; align-items: center; }
.slm-flyout { position: absolute; top: 0; right: 100%; min-width: 260px; background: #fff; border: 1px solid var(--slm-line); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12); padding: 0.5rem 0; opacity: 0; visibility: hidden; }
.slm-flyout.is-cols-2 { min-width: 520px; }
.slm-flyout.is-cols-2 > ul { columns: 2; }
.slm-more-item:hover > .slm-flyout, .slm-more-item.is-open > .slm-flyout { opacity: 1; visibility: visible; }
.slm-search-panel { border-top: 1px solid var(--slm-line); background: var(--slm-bg-soft); }
.slm-search-panel .container { padding: 0.9rem 0.75rem; }
.slm-searchform .form-control { border-radius: 6px 0 0 6px; }
.slm-offcanvas .accordion-button { font-family: var(--slm-font-head); font-weight: 800; font-size: 0.95rem; }
.slm-offcanvas .accordion-button:not(.collapsed) { background: var(--slm-tint); color: var(--slm-black); box-shadow: none; }
.slm-offcanvas .accordion-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.6rem 1rem; }
.slm-offcanvas .accordion-body a { font-size: 0.9rem; }
.slm-acc-all { font-weight: 700; color: var(--slm-orange-dark) !important; }
.slm-offcanvas-links { margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; font-weight: 600; }
.slm-offcanvas .slm-searchform { margin-bottom: 1rem; }

/* ---- Sections & headings --------------------------------------------------- */
.slm-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--slm-black); }
.slm-section-head-stack { display: block; border: 0; padding: 0; text-align: center; margin-bottom: 1.75rem; }
.slm-section-title { font-size: 1.6rem; margin: 0; }
.slm-section-title a:hover { color: var(--slm-orange-dark); }
.slm-section-sub { color: var(--slm-muted); margin: 0.35rem 0 0; }
.slm-see-more, .slm-see-more-bottom a { font-weight: 700; font-size: 0.9rem; color: var(--slm-orange-dark); white-space: nowrap; }
.slm-see-more:hover, .slm-see-more-bottom a:hover { color: var(--slm-black); }
.slm-see-more-bottom { margin: 1rem 0 0; }

/* ---- Cards ----------------------------------------------------------------- */
.slm-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.slm-hero-img { aspect-ratio: 2 / 1; border-radius: 10px; }
.slm-hero-title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin: 0.4rem 0 0.75rem; }
.slm-hero-title a:hover { color: var(--slm-orange-dark); }
.slm-hero-excerpt { color: var(--slm-muted); font-size: 1.05rem; margin: 0; }
.slm-card-text { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--slm-line); border-left: 5px solid var(--slm-orange); border-radius: 8px; background: #fff; width: 100%; }
.slm-card-text-media { flex: 0 0 42%; max-width: 42%; display: block; }
.slm-card-text-media .slm-img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 6px; }
.slm-card-text-body { flex: 1 1 auto; min-width: 0; }
.slm-card-text-title { font-size: 1.2rem; margin: 0 0 0.5rem; }
.slm-card-text-excerpt { color: var(--slm-muted); font-size: 0.95rem; margin: 0 0 0.5rem; }
@media (max-width: 575.98px) { .slm-card-text { flex-direction: column; } .slm-card-text-media { flex-basis: auto; max-width: 100%; } }
.slm-row { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--slm-line); }
.slm-row-stack .slm-row:first-child { padding-top: 0; }
.slm-row-stack .slm-row:last-child { border-bottom: 0; }
.slm-row-media { flex: 0 0 150px; }
.slm-row-md .slm-row-media { flex-basis: 300px; }
.slm-row-xs { padding: 0.6rem 0; gap: 0.75rem; }
.slm-row-xs .slm-row-media { flex-basis: 84px; }
.slm-row-title { font-size: 1.15rem; margin: 0 0 0.35rem; }
.slm-row-md .slm-row-title { font-size: 1.45rem; }
.slm-row-xs .slm-row-title { font-size: 0.92rem; font-style: normal; font-weight: 700; line-height: 1.3; margin: 0; }
.slm-row-excerpt { color: var(--slm-muted); font-size: 0.95rem; margin: 0; }
.slm-card { display: flex; flex-direction: column; width: 100%; }
.slm-card-body { padding: 0.9rem 0 0; }
.slm-card-title { font-size: 1.15rem; margin: 0; }
.slm-card-title a:hover, .slm-row-title a:hover, .slm-card-text-title a:hover { color: var(--slm-orange-dark); }

/* ---- Homepage -------------------------------------------------------------- */
.slm-home { padding: 2rem 0.75rem 3rem; }
.slm-home-hero { margin-bottom: 3rem; }
.slm-home-section, .slm-topic-row { margin-bottom: 3rem; }
.slm-text-cards .slm-card-text { height: 100%; }
.slm-explore { margin: 1rem 0 2rem; }
.slm-tile { display: flex; align-items: center; justify-content: center; min-height: 190px; border-radius: 10px; background: var(--slm-black) center/cover no-repeat; position: relative; overflow: hidden; }
.slm-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75)); }
.slm-tile-label { position: relative; color: #fff; font-family: var(--slm-font-head); font-weight: 900; font-style: italic; font-size: 1.5rem; text-align: center; padding: 1rem; }
.slm-tile:hover .slm-tile-label { color: var(--slm-orange); }

/* ---- Category pages -------------------------------------------------------- */
.slm-cat-hero { background: #fff; border-bottom: 1px solid var(--slm-line); padding: 2.5rem 0 2rem; }
.slm-cat-crumb { font-size: 0.82rem; color: var(--slm-muted); margin: 0 0 0.5rem; }
.slm-cat-crumb span { margin: 0 0.4rem; }
.slm-cat-title { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 0.4rem; }
.slm-cat-tagline { color: var(--slm-muted); font-size: 1.1rem; max-width: 70ch; margin: 0; }
.slm-cat-search { max-width: 520px; margin-top: 1rem; }
.slm-cat { padding: 2rem 0.75rem 3rem; }
.slm-cat-featured { margin-bottom: 3rem; }
.slm-cat-featured .slm-hero { margin-bottom: 2.5rem; }
.slm-cat-latest, .slm-cat-section { margin-bottom: 3rem; }
.slm-pagination .page-link { color: var(--slm-ink); border-color: var(--slm-line); font-weight: 600; }
.slm-pagination .page-item.active .page-link { background: var(--slm-black); border-color: var(--slm-black); color: #fff; }
.slm-pagination .page-link:hover { background: var(--slm-tint); color: var(--slm-black); }

/* ---- Directory (All Categories) ------------------------------------------- */
.slm-directory { padding: 2rem 0.75rem 3rem; }
.slm-dir-block { margin-bottom: 2.5rem; }
.slm-dir-desc { color: var(--slm-muted); margin: -0.5rem 0 1rem; }
.slm-dir-list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 2rem; }
.slm-dir-list li { break-inside: avoid; padding: 0.3rem 0; font-size: 0.95rem; }
.slm-dir-list-parents { columns: 4; }
.slm-dir-count { color: var(--slm-muted); font-size: 0.8rem; margin-left: 0.3rem; }

/* ---- Single article -------------------------------------------------------- */
.slm .slm-article-wrap { max-width: 820px; margin-left: auto; margin-right: auto; padding: 2rem 1rem 3rem; }
.slm-breadcrumb { font-size: 0.82rem; color: var(--slm-muted); margin-bottom: 1rem; }
.slm-breadcrumb span { margin: 0 0.45rem; }
.slm-article-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0 0 1rem; }
.slm-byline { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--slm-muted); padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--slm-line); }
.slm-byline-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.slm-byline a { font-weight: 700; color: var(--slm-ink); }
.slm-interlink { margin: 1.25rem 0 1.5rem; padding: 0.85rem 1.1rem; background: var(--slm-tint); border-left: 4px solid var(--slm-orange); border-radius: 6px; font-size: 0.98rem; }
.slm-interlink a { font-weight: 600; }
.slm-summary { background: var(--slm-tint); border: 1px solid #F3DDAE; border-left: 5px solid var(--slm-orange); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 0 0 1.75rem; }
.slm-summary-title { font-family: var(--slm-font-head); font-weight: 900; font-style: italic; font-size: 1.1rem; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.slm-summary-title i { color: var(--slm-orange); }
.slm-summary-lead { margin: 0 0 0.75rem; font-size: 0.98rem; }
.slm-summary-list { margin: 0; padding-left: 1.3rem; columns: 2; column-gap: 2rem; }
.slm-summary-list li { break-inside: avoid; margin: 0.25rem 0; font-size: 0.92rem; }
.slm-summary-list a { font-weight: 700; color: var(--slm-ink); text-decoration: none; }
.slm-summary-list a:hover { color: var(--slm-orange-dark); }
.slm-summary-list span { color: var(--slm-muted); }
.slm-summary-meta { margin: 0.75rem 0 0; font-size: 0.8rem; color: var(--slm-muted); }
.slm-article-body { font-size: 1.08rem; line-height: 1.75; }
.slm-article-body > p, .slm-article-body li { max-width: none; }
.slm-article-body h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; scroll-margin-top: 90px; }
.slm-article-body h3 { font-size: 1.4rem; margin: 2rem 0 0.75rem; scroll-margin-top: 90px; }
.slm-article-body h4 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
.slm-article-body a:not(.btn) { color: var(--slm-orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.slm-article-body a:not(.btn):hover { color: var(--slm-black); }
.slm-featured { margin: 1.5rem 0; }
.slm-featured-img { width: 100%; height: auto; border-radius: 10px; aspect-ratio: 2 / 1; object-fit: cover; }
.slm-featured figcaption { font-size: 0.82rem; color: var(--slm-muted); margin-top: 0.4rem; }
.slm-toc { background: var(--slm-bg-soft); border-left: 4px solid var(--slm-orange); border-radius: 0 8px 8px 0; padding: 1rem 1.25rem; margin: 1.5rem 0 2rem; }
.slm-toc-title { font-family: var(--slm-font-head); font-weight: 800; font-style: italic; margin: 0 0 0.5rem; }
.slm-toc ul { margin: 0; padding-left: 1.2rem; }
.slm-toc li { margin: 0.2rem 0; font-size: 0.95rem; }
.slm-toc a { color: var(--slm-ink) !important; text-decoration: none !important; }
.slm-toc a:hover { color: var(--slm-orange-dark) !important; }
.slm-compare-wrap { margin: 1.5rem 0 2rem; border: 1px solid var(--slm-line); border-radius: 8px; }
.slm-compare { margin: 0; font-size: 0.9rem; }
.slm-compare th { background: var(--slm-black); color: #fff; font-family: var(--slm-font-head); font-weight: 800; font-style: italic; white-space: nowrap; }
.slm-compare td { vertical-align: top; }
.slm-compare td a { font-weight: 700; text-decoration: none !important; color: var(--slm-ink) !important; }
.slm-entries { margin-top: 1rem; }
.slm-entry { padding: 1.75rem 0; border-top: 1px solid var(--slm-line); }
.slm-entry-title { display: flex; align-items: baseline; gap: 0.6rem; font-size: 1.6rem !important; margin: 0 0 0.25rem !important; }
.slm-entry-rank { color: var(--slm-orange); font-size: 1.9rem; }
.slm-entry-tagline { color: var(--slm-muted); font-style: italic; margin: 0 0 1rem; }
.slm-entry-figure { margin: 1rem 0 1.25rem; }
.slm-entry-img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--slm-line); }
.slm-entry-bestfor { margin-bottom: 1rem; }
.slm-entry-list { padding-left: 1.2rem; }
.slm-entry-list li { margin: 0.3rem 0; }
.slm-entry-cta { margin: 1.25rem 0 0; }
.slm-entry-cta .btn { font-size: 0.95rem; }
.slm-faqs { margin: 2.5rem 0 0; scroll-margin-top: 90px; }
.slm-faqs-title { font-size: 1.75rem; margin-bottom: 1rem; }
.slm-faqs .accordion-button { font-weight: 700; font-family: var(--slm-font-body); }
.slm-faqs .accordion-button:not(.collapsed) { background: var(--slm-tint); color: var(--slm-black); box-shadow: none; }
.slm-faqs .accordion-body { font-size: 0.98rem; }
.slm-tags { margin: 2rem 0 0; font-size: 0.9rem; }
.slm-tags span { color: var(--slm-muted); margin-right: 0.3rem; }
.slm-tags a { display: inline-block; background: var(--slm-bg-soft); border: 1px solid var(--slm-line); border-radius: 20px; padding: 0.2rem 0.75rem; margin: 0.2rem 0.3rem 0.2rem 0; font-weight: 600; }
.slm-tags a:hover { background: var(--slm-tint); border-color: var(--slm-orange); }
.slm-related { margin: 2.5rem 0; }
.slm-related-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.slm-related-strip .slm-card-title { font-size: 1rem; }
.slm-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; padding: 1.25rem 0; border-top: 1px solid var(--slm-line); border-bottom: 1px solid var(--slm-line); margin: 2rem 0; }
.slm-share-label { font-family: var(--slm-font-head); font-weight: 800; font-style: italic; }
.slm-share-btns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.slm .slm-share-btn { display: inline-flex; align-items: center; gap: 0.35rem; width: 38px; height: 38px; justify-content: center; border-radius: 50%; background: var(--slm-black); color: #fff; border: 0; font-size: 1rem; }
.slm .slm-share-btn i { color: #fff; }
.slm .slm-share-btn:hover, .slm .slm-share-btn:focus { background: var(--slm-orange); color: var(--slm-black); }
.slm .slm-share-btn:hover i, .slm .slm-share-btn:focus i { color: var(--slm-black); }
.slm .slm-share-btn.is-copy { width: auto; border-radius: 20px; padding: 0 0.9rem; font-size: 0.85rem; font-weight: 600; }
.slm-author-box { display: flex; gap: 1.5rem; align-items: flex-start; background: var(--slm-bg-soft); border: 1px solid var(--slm-line); border-radius: 10px; padding: 1.5rem; }
.slm-author-avatar { flex: 0 0 96px; }
.slm-author-avatar img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; }
.slm-author-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slm-orange-dark); font-weight: 700; margin: 0 0 0.25rem; }
.slm-author-name { font-size: 1.4rem; margin: 0; }
.slm-author-role { color: var(--slm-muted); font-size: 0.9rem; margin: 0 0 0.6rem; }
.slm-author-bio { margin: 0 0 0.6rem; font-size: 0.97rem; }
.slm-author-more { font-weight: 700; color: var(--slm-orange-dark); }

/* ---- Author page ----------------------------------------------------------- */
.slm-author-hero { padding: 3rem 0 2rem; border-bottom: 1px solid var(--slm-line); background: var(--slm-bg-soft); }
.slm-author-hero-avatar { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); }
.slm-author-hero-name { font-size: 2.4rem; margin: 1rem 0 0.25rem; }
.slm-author-hero-role { color: var(--slm-orange-dark); font-weight: 700; margin: 0 0 0.75rem; }
.slm-author-hero-bio { max-width: 70ch; margin: 0 auto 0.75rem; color: var(--slm-ink); }
.slm-author-hero-count { color: var(--slm-muted); font-size: 0.9rem; margin: 0; }
.slm-author-list { padding: 2rem 0.75rem 3rem; max-width: 960px; }

/* ---- Pages & forms --------------------------------------------------------- */
.slm-page { padding: 2.5rem 0.75rem 3rem; }
.slm-page-inner { max-width: 820px; margin: 0 auto; }
.slm-page-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.25rem; }
.slm-page-body { font-size: 1.05rem; line-height: 1.75; }
.slm-page-body h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; }
.slm-page-body a { color: var(--slm-orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.slm-page-alt { color: var(--slm-muted); font-size: 0.92rem; }
.slm-request-form { background: var(--slm-bg-soft); border: 1px solid var(--slm-line); border-radius: 12px; padding: 1.5rem; margin-top: 1.5rem; }
.slm-request-form .form-label { font-weight: 600; font-size: 0.9rem; }
.slm-request-form .form-control:focus, .slm-request-form .form-select:focus { border-color: var(--slm-orange); box-shadow: 0 0 0 0.2rem rgba(255, 162, 0, 0.2); }
.slm-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.slm-alert { border-radius: 10px; }

/* ---- Footer ---------------------------------------------------------------- */
.slm-footer-cats { background: var(--slm-black); color: #fff; padding: 2.5rem 0 2rem; }
.slm-footer-cats-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.slm-footer-cats-title { color: #fff; font-size: 1.35rem; margin: 0; }
.slm-footer-cats-all { color: var(--slm-orange); font-weight: 700; font-size: 0.9rem; }
.slm-footer-cats-all:hover { color: #fff; }
.slm-footer-cat { font-family: var(--slm-font-body); font-style: normal; font-weight: 700; font-size: 0.95rem; margin: 0 0 0.6rem; }
.slm-footer-cat a { color: var(--slm-orange); }
.slm-footer-cat-links li { margin: 0.3rem 0; }
.slm-footer-cat-links a { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }
.slm-footer-cat-links a:hover { color: var(--slm-orange); }
.slm-footer-main { background: var(--slm-bg-soft); border-top: 1px solid var(--slm-line); padding: 3rem 0 2rem; font-size: 0.92rem; }
.slm-footer-h { font-size: 1.05rem; margin: 0 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--slm-black); }
.slm-footer-about { color: var(--slm-muted); margin: 1rem 0 0.75rem; }
.slm-footer-address { font-style: normal; color: var(--slm-muted); line-height: 1.6; }
.slm-footer-address a { color: var(--slm-orange-dark); font-weight: 600; }
.slm-tag-cloud ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.slm-tag-cloud a { display: inline-block; background: #fff; border: 1px solid var(--slm-line); border-radius: 20px; padding: 0.15rem 0.65rem; font-size: 0.78rem !important; font-weight: 600; }
.slm-tag-cloud a:hover { border-color: var(--slm-orange); background: var(--slm-tint); }
.slm-footer-latest .slm-row { border-bottom: 0; }
.slm-footer-links li { margin: 0.4rem 0; }
.slm-footer-links a { font-weight: 600; }
.slm-footer-bottom { background: var(--slm-black); color: rgba(255, 255, 255, 0.75); font-size: 0.82rem; padding: 0.9rem 0; }

/* ---- Responsive ------------------------------------------------------------ */
@media (max-width: 1199.98px) {
  .slm-nav-link { padding: 1.4rem 0.5rem; font-size: 0.85rem; }
  .slm-dd.is-cols-3 { min-width: 640px; }
  .slm-dd.is-cols-3 > ul { columns: 2; }
}
@media (max-width: 991.98px) {
  .slm-hero { grid-template-columns: 1fr; gap: 1rem; }
  .slm-related-strip { grid-template-columns: repeat(2, 1fr); }
  .slm-dir-list { columns: 2; }
  .slm-dir-list-parents { columns: 2; }
  .slm-masthead-inner { min-height: 64px; }
}
@media (max-width: 767.98px) {
  .slm-summary-list { columns: 1; }
  .slm-article-wrap { padding: 1.25rem 1rem 2.5rem; }
  .slm-article-body { font-size: 1.02rem; }
  .slm-entry-title { font-size: 1.35rem !important; }
  .slm-row-media, .slm-row-md .slm-row-media { flex-basis: 110px; }
  .slm-row-md .slm-row-title { font-size: 1.15rem; }
  .slm-row-excerpt { display: none; }
  .slm-related-strip { grid-template-columns: 1fr; }
  .slm-dir-list, .slm-dir-list-parents { columns: 1; }
  .slm-author-box { flex-direction: column; align-items: center; text-align: center; }
  .slm-share { justify-content: center; }
  .slm-compare { font-size: 0.82rem; }
  .slm-footer-cats .row-cols-2 > * { flex: 0 0 50%; }
}
