/* Iletisim Hatti · editorial interface v2.0 */
:root {
  color-scheme: light;
  --accent: #a90033;
  --accent-rgb: 169, 0, 51;
  --accent-strong: #850028;
  --on-accent: #fff;
  --ink: #243345;
  --heading: #192536;
  --muted: #637282;
  --faint: #8793a1;
  --page: #fff;
  --surface: #fff;
  --soft: #fcf4f3;
  --soft-strong: #f5e9e7;
  --border: #e8e9eb;
  --header: rgba(255,255,255,.97);
  --photo-wash: linear-gradient(180deg, transparent 25%, rgba(16,23,32,.28) 54%, rgba(9,16,26,.92) 100%);
  --shadow: 0 18px 55px rgba(48,42,49,.075);
  --radius: 19px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}
html[data-theme="blue"] {
  --accent: #174d91; --accent-rgb: 23,77,145; --accent-strong: #113d77;
  --soft: #f0f5fc; --soft-strong: #e6eef9;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --accent: #fa668d; --accent-rgb: 250,102,141; --accent-strong: #ff8ca8;
  --on-accent: #131b27;
  --ink: #d8e0eb; --heading: #f8f9fc; --muted: #a7b3c2; --faint: #91a0b2;
  --page: #111923; --surface: #1b2531; --soft: #1d2734; --soft-strong: #273241;
  --border: #35404e; --header: rgba(17,25,35,.97);
  --shadow: 0 16px 52px rgba(0,0,0,.16);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; transition: background-color .3s ease,color .3s ease; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 48px, 1260px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 200; top: -100px; left: 16px; padding: 10px 16px; background: var(--heading); color: var(--page); }
.skip-link:focus { top: 14px; }
.icon { display: inline-flex; justify-content: center; align-items: center; flex: none; font-size: 18px; line-height: 1; font-variant: normal; text-transform: none; vertical-align: middle; }
.icon::before { display: block; width: 1em; min-width: 1em; line-height: 1; text-align: center; }
.eyebrow { display: inline-block; color: var(--accent); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 750; font-size: .9rem; }
.text-link:hover { gap: 13px; }
.text-link, .quick-card, .theme-option, .header-icon, .hero-quick, .popular-item, .city-link { transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .32s ease, gap .25s ease; }

/* Slim legacy-style utility bar with small monochrome icons. */
.topbar { background: var(--soft); color: var(--muted); font-size: .76rem; font-weight: 600; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 18px; }
.topbar-group, .topbar-group a, .topbar-group span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-group { gap: 22px; }
.topbar .icon { font-size: 13px; color: var(--accent); }
.topbar a:hover { color: var(--accent); }
.site-header { z-index: 50; position: relative; background: var(--header); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; white-space: nowrap; color: var(--heading); font-size: 23px; font-weight: 830; letter-spacing: -.055em; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border: 2px solid var(--accent); border-radius: 10px 12px 12px 12px; color: var(--accent); margin-right: 9px; transform: rotate(-5deg); }
.brand-mark .icon { font-size: 19px; transform: rotate(5deg); }
.brand strong { color: var(--accent); font-weight: inherit; }
.brand small { font-size: 12px; letter-spacing: -.02em; align-self: flex-end; padding-bottom: 2px; }
.brand img { width: auto; height: 38px; max-width: 180px; object-fit: contain; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; gap: clamp(12px, 1.8vw, 27px); }
.nav-list > li { position: relative; }
.nav-list > li > a { display: flex; align-items: center; gap: 5px; min-height: 54px; color: var(--heading); font-size: .90rem; font-weight: 500; white-space: nowrap; }
.nav-list a:hover { color: var(--accent); }
.nav-list > li > a .icon { font-size: 12px; }
.nav-list .sub-menu { display: none; position: absolute; z-index: 30; top: 100%; left: -20px; width: 210px; padding: 10px; margin: 0; list-style: none; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); }
.nav-list .sub-menu a { display: block; padding: 8px 10px; border-radius: 8px; font-size: .85rem; font-weight:500; }
.nav-list .sub-menu a:hover { background: var(--soft); }
.nav-list > li:hover > .sub-menu, .nav-list > li:focus-within > .sub-menu { display: block; }
.header-controls { display: flex; align-items: center; gap: 12px; }
.header-icon { display: grid; place-items: center; flex: none; border: 1px solid var(--border); background: var(--surface); color: var(--heading); border-radius: 11px; width: 39px; height: 39px; }
.header-icon:hover, .header-icon[aria-expanded="true"] { color: var(--accent); border-color: rgba(var(--accent-rgb),.4); }
.header-icon .icon { font-size: 18px; }
.theme-switcher { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: 12px; background: var(--soft); }
.theme-option { width: 31px; height: 31px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.theme-option .icon { font-size: 15px; }
.theme-option:hover { color: var(--accent); }
.theme-option[aria-pressed="true"] { color: var(--accent); background: var(--surface); box-shadow: 0 1px 7px rgba(12,24,41,.09); }
.header-cta { border: 0; background: var(--accent); color: var(--on-accent); border-radius: 10px; padding: 10px 16px; font-size: .82rem; font-weight: 730; white-space: nowrap; }
.header-cta:hover { background: var(--accent-strong); }
.menu-toggle { display: none; }

.header-search .wrap { padding-block: 15px; }
.header-search form { display: flex; align-items: center; gap: 12px; background: var(--surface); padding:8px 15px; border-radius:100px; border:1px solid var(--border); }
.header-search .icon { color: var(--accent); }
.header-search input { flex: 1; min-width: 0; padding: 11px; border: 0; background: transparent; color: var(--heading); outline: none; }
.header-search button[type="submit"] { padding: 9px 20px; border: 0; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-weight: 750; }
.header-search .close-search { background: none; border: 0; color: var(--muted); padding: 8px; }

/* Reference archive: blush wash, large transparent portrait, floating directory shortcuts. */
.hero { background: radial-gradient(circle at 81% 4%, rgba(var(--accent-rgb),.07), transparent 36%), var(--soft); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(400px,.9fr); align-items: center; gap: 30px; min-height: 490px; }
.hero-copy { position: relative; z-index: 2; padding: 58px 0 63px; }
.hero h1 { max-width: 700px; margin: 17px 0 14px; color: var(--heading); font-size: clamp(2.55rem,4.4vw,4.35rem); line-height: 1.12; letter-spacing: -.055em; font-weight: 780; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 530px; color: var(--muted); margin: 0 0 29px; font-size: 1rem; line-height: 1.7; }
.hero-search { display: flex; align-items: stretch; max-width: 680px; min-height: 64px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; box-shadow: 0 13px 42px rgba(55,42,53,.1); }
.hero-search label { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-width: 0; flex: 1; }
.hero-search label.location { flex: 0 0 32%; border-left: 1px solid var(--border); }
.hero-search label .icon { color: var(--accent); font-size: 18px; }
.hero-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--heading); font-size: .88rem; }
.hero-search input::placeholder, .header-search input::placeholder { color: var(--faint); opacity: 1; }
.hero-search button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 9px; padding: 0 22px; background: var(--accent); color: var(--on-accent); font-size: .9rem; font-weight: 760; }
.hero-search button:hover { background: var(--accent-strong); }
.popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 13px; margin-top: 19px; font-size: .77rem; color: var(--muted); }
.popular-searches strong { color: var(--heading); }
.search-results { max-width: 640px; margin-top: 15px; padding: 14px 17px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); color: var(--heading); font-size: .86rem; }
.search-results ul { list-style: none; margin: 7px 0 0; padding: 0; }
.search-results li + li { border-top: 1px solid var(--border); }
.search-results li a { display: block; padding: 6px 0; }
.search-results li a:hover { color: var(--accent); }
.hero-art { align-self: stretch; position: relative; min-height: 470px; }
.hero-art > img { position: absolute; z-index: 1; width: auto; height: min(100%,500px); object-fit: contain; object-position: bottom; bottom: 0; left: 50%; transform: translateX(-50%); }
.hero-quick { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: 0 14px 36px rgba(39,40,54,.12); white-space: nowrap; }
.hero-quick:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb),.34); }
.hero-quick .icon { width: 34px; height: 34px; border-radius: 9px; background: var(--soft); color: var(--accent); }
.hero-quick span:last-child { display: flex; flex-direction: column; }
.hero-quick small { font-size: .65rem; color: var(--muted); }
.hero-quick strong { font-size: .78rem; color: var(--heading); line-height: 1.25; }
.hero-quick.one { top: 80px; left: -10px; }
.hero-quick.two { top: 180px; right: -8px; }
.hero-quick.three { bottom: 64px; left: 0; }

/* Infinite headlines; JS measures distance to avoid the old mid-track cut. */
.trending { padding: 21px 0; border-bottom: 1px solid var(--border); background: var(--page); }
.trending-inner { display: flex; align-items: center; gap: 15px; }
.trending-label { flex: none; display: flex; align-items: center; gap: 8px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 840; }
.trending-label .icon { font-size: 17px; }
.ticker-control { flex: none; width: 25px; height: 25px; border: 0; background: none; color: var(--muted); }
.ticker-control:hover { color: var(--accent); }
.marquee { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg,transparent,#000 20px,#000 calc(100% - 20px),transparent); }
.marquee-track { display: flex; align-items: center; gap: 38px; width: max-content; will-change: transform; }
.marquee-set { display: flex; flex: none; align-items: center; gap: 38px; white-space: nowrap; }
.marquee-set a { display: inline-flex; align-items: center; gap: 16px; font-size: .84rem; color: var(--heading); font-weight: 640; }
.marquee-set a:hover { color: var(--accent); }
.marquee-set a::before { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }

.section { padding: 75px 0; }
.section-compact { padding: 58px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head h2 { margin: 6px 0 3px; color: var(--heading); font-size: clamp(1.6rem,2.3vw,2.2rem); letter-spacing: -.04em; line-height: 1.2; }
.section-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.quick-access { background: var(--page); }
.quick-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 12px; }
.quick-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 120px; padding: 20px 16px 16px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); }
.quick-card .icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 9px; background: var(--soft); color: var(--accent); font-size: 20px; }
.quick-card strong { margin-top: auto; color: var(--heading); font-size: .82rem; font-weight: 730; }
.quick-card:hover { border-color: rgba(var(--accent-rgb),.5); box-shadow: var(--shadow); transform: translateY(-4px); }
.quick-card:hover strong { color: var(--accent); }

.featured { padding-top: 25px; }
.featured-grid { display: grid; grid-template-columns: 1.54fr .96fr .96fr; grid-template-rows: repeat(2,minmax(216px,1fr)); gap: 14px; }
.featured-card { display: block; min-width: 0; min-height: 216px; }
.featured-card:first-child { grid-row: 1 / 3; min-height: 446px; }
.photo-card { position: relative; overflow: hidden; border-radius: 16px; isolation: isolate; background: var(--soft-strong); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 2000ms cubic-bezier(.19,1,.22,1); }
.photo-card::after { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: var(--photo-wash); }
.featured-card .photo-body { position: absolute; z-index: 1; inset: auto 20px 20px; display: block; color: #fff; }
.featured-card:first-child .photo-body { inset: auto 27px 26px; }
.glass-tag { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; background: rgba(255,255,255,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: .65rem; letter-spacing: .035em; line-height: 1.1; font-weight: 500; text-transform: uppercase; box-shadow: 0 3px 18px rgba(0,0,0,.12); }
.featured-card h3 { margin: 10px 0 5px; font-size: clamp(1rem,1.16vw,1.18rem); line-height: 1.28; letter-spacing: -.025em; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.28); }
.featured-card:first-child h3 { max-width: 550px; font-size: clamp(1.55rem,2vw,2.1rem); line-height: 1.18; }
.photo-meta { display: block; opacity: .88; font-size: .75rem; }
.featured-card:hover .glass-tag { background: rgba(var(--accent-rgb),.7); }

.stories-area { background: var(--soft); }
.stories-layout { display: grid; grid-template-columns: minmax(0,1.72fr) minmax(275px,.82fr); gap: 35px; }
.story-list { display: grid; gap: 12px; }
.story-card { display: grid; grid-template-columns: 184px minmax(0,1fr) 21px; gap: 20px; align-items: center; padding: 10px 17px 10px 10px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); }
.story-thumb { height: 119px; overflow: hidden; border-radius: 9px; }
.story-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 2000ms cubic-bezier(.19,1,.22,1); }
.story-card:hover { border-color: rgba(var(--accent-rgb),.28); box-shadow: var(--shadow); }
.story-main > span { color: var(--accent); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .045em; }
.story-main h3 { margin: 6px 0 7px; color: var(--heading); font-size: 1.04rem; line-height: 1.35; letter-spacing: -.02em; }
.story-main a:hover { color: var(--accent); }
.story-main p { margin: 0; color: var(--muted); font-size: .75rem; }
.story-arrow { color: var(--faint); }
.story-card:hover .story-arrow { color: var(--accent); }
.sidebar-panel { padding: 23px; border-radius: 15px; border: 1px solid var(--border); background: var(--surface); }
.sidebar-panel + .sidebar-panel { margin-top: 17px; }
.sidebar-title { margin: 0 0 16px; color: var(--heading); font-size: 1.12rem; letter-spacing: -.035em; }
.popular-tabs { display: flex; gap: 6px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.popular-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 8px 10px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.popular-tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.popular-item { display: grid; grid-template-columns: 27px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.popular-item:last-child { border-bottom: 0; padding-bottom: 0; }
.popular-item > span { font-size: 1.32rem; font-weight: 700; line-height: 1; color: rgba(var(--accent-rgb),.43); }
.popular-item strong { display: block; color: var(--heading); font-size: .81rem; font-weight: 600; line-height: 1.38; }
.popular-item small { color: var(--muted); font-size: .69rem; }
.popular-item:hover strong { color: var(--accent); }
.city-links { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 14px; }
.city-link { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; color: var(--ink); font-size: .81rem; }
.city-link .icon { font-size: 12px; color: var(--accent); }
.city-link:hover { color: var(--accent); transform: translateX(3px); }

.tools { background: var(--page); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tool-tile { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; min-height: 196px; padding: 27px; border-radius: 16px; background: var(--soft); border: 1px solid var(--border); }
.tool-tile::before { content: ""; position: absolute; width: 240px; aspect-ratio: 1; border-radius: 50%; background: rgba(var(--accent-rgb),.055); right: -65px; top: -135px; }
.tool-tile h3 { margin: 12px 0 6px; color: var(--heading); font-size: 1.3rem; letter-spacing: -.035em; }
.tool-tile p { max-width: 310px; margin: 0 0 15px; color: var(--muted); font-size: .83rem; }
.tool-tile > .icon { align-self: center; color: rgba(var(--accent-rgb),.28); font-size: 78px; }
.tool-tile:hover { border-color: rgba(var(--accent-rgb),.35); box-shadow: var(--shadow); }
.tool-trigger { border: 0; padding: 0; background: transparent; }
.tool-panel { display: grid; grid-template-columns: .77fr 1.23fr; gap: 30px; align-items: start; margin-top: 17px; padding: 27px; border-radius: 15px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.tool-panel h3 { color: var(--heading); margin: 5px 0 7px; font-size: 1.35rem; letter-spacing: -.035em; }
.tool-panel p { margin: 0; color: var(--muted); font-size: .82rem; }
.tool-panel form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.tool-panel label { flex: 1 1 100px; color: var(--ink); font-size: .74rem; font-weight: 700; }
.tool-panel input { display: block; width: 100%; min-height: 39px; margin-top: 6px; padding: 7px 9px; border-radius: 8px; border: 1px solid var(--border); background: var(--page); color: var(--heading); }
.tool-panel form > button { min-height: 39px; border: 0; border-radius: 8px; background: var(--accent); color: var(--on-accent); padding: 0 15px; font-weight: 720; font-size: .8rem; }
.tool-panel output { flex-basis: 100%; min-height: 23px; color: var(--accent); font-weight: 800; font-size: .88rem; }

.site-footer { background: var(--heading); color: #c4ced9; padding: 55px 0 20px; }
html[data-theme="dark"] .site-footer { background: #0b121c; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 36px; }
.site-footer .brand { color: #fff; }
.site-footer .brand strong, .site-footer .brand-mark { color: #ff789d; }
.site-footer .brand-mark { border-color: #ff789d; }
.footer-brand p { max-width: 275px; margin: 17px 0; font-size: .86rem; }
.footer-column h2 { color: white; font-size: .9rem; margin: 2px 0 16px; }
.footer-column a { display: block; width: fit-content; font-size: .83rem; margin: 0 0 10px; }
.footer-column a:hover { color: #ff91ad; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.15); font-size: .74rem; }
.back-to-top { position: fixed; right: 23px; bottom: 24px; z-index: 25; width: 42px; height: 42px; border: 0; border-radius: 11px; color: var(--on-accent); background: var(--accent); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: transform .25s ease, opacity .25s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.search-feedback { margin: 0 0 13px; color: var(--muted); font-size: .84rem; }

@media (max-width: 1120px) {
  .header-inner { gap: 16px; }
  .nav-list { gap: 12px; }
  .nav-list > li > a { font-size: .78rem; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(310px,.82fr); }
  .hero-quick.two { right: 0; }
  .quick-grid { grid-template-columns: repeat(4,1fr); }
  .featured-grid { grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(3,210px); }
  .featured-card:first-child { grid-row: 1 / 3; min-height: 0; }
  .featured-card:last-child { grid-column: 1 / 3; }
}
@media (max-width: 850px) {
  .wrap { width: min(100% - 36px, 1260px); }
  .header-inner { min-height: 67px; }
  .menu-toggle { display: grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 40; padding: 10px 18px 20px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.is-open { display: block; }
  .nav-list { display: block; }
  .nav-list > li > a { min-height: 42px; font-size: .9rem; }
  .nav-list .sub-menu { display: block; position: static; width: auto; margin: 0 0 6px 12px; box-shadow: none; padding: 0 0 0 12px; border: 0; border-left: 1px solid var(--border); border-radius: 0; }
  .nav-list .sub-menu a { padding: 6px 10px; }
  .header-controls { margin-left: auto; }
  .hero-grid { min-height: 420px; }
  .hero-art { min-height: 400px; }
  .hero-art > img { height: 400px; }
  .hero-quick { display: none; }
  .stories-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .sidebar-panel + .sidebar-panel { margin-top: 0; }
}
@media (max-width: 620px) {
  .topbar { font-size: .69rem; }
  .topbar-group { gap: 10px; }
  .topbar-group:nth-child(2) { display: none; }
  .brand { font-size: 20px; }
  .brand-mark { width: 30px; height: 30px; }
  .header-controls { gap: 7px; }
  .header-icon { width: 34px; height: 34px; }
  .theme-option { width: 27px; height: 27px; }
  .theme-switcher { padding: 2px; }
  .hero-grid { display: block; min-height: 0; }
  .hero-copy { padding: 48px 0 16px; }
  .hero h1 { font-size: clamp(2.45rem,10vw,3.7rem); }
  .hero-art { min-height: 300px; margin-top: 5px; }
  .hero-art > img { height: 300px; }
  .hero-search { flex-wrap: wrap; }
  .hero-search label { min-height: 43px; flex: 1 1 100%; }
  .hero-search label.location { border-left: 0; border-top: 1px solid var(--border); flex: 1 1 60%; }
  .hero-search button { min-height: 40px; }
  .trending { padding: 16px 0; }
  .trending-inner { gap: 8px; }
  .trending-label { font-size: .68rem; }
  .ticker-control { display: none; }
  .section { padding: 54px 0; }
  .section-compact { padding: 45px 0; }
  .section-head { align-items: start; }
  .section-head .text-link { align-self: center; white-space: nowrap; font-size: .72rem; }
  .quick-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .quick-card { min-height: 108px; }
  .featured { padding-top: 0; }
  .featured-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 325px repeat(2,190px); gap: 9px; }
  .featured-card:first-child { grid-row: auto; grid-column: 1 / 3; min-height: 0; }
  .featured-card:last-child { grid-column: auto; }
  .featured-card .photo-body { inset: auto 11px 13px; }
  .featured-card:first-child .photo-body { inset: auto 18px 18px; }
  .featured-card h3 { font-size: .89rem; }
  .featured-card:first-child h3 { font-size: 1.45rem; }
  .photo-meta { font-size: .67rem; }
  .glass-tag { padding: 5px 7px; font-size: .58rem; }
  .story-card { grid-template-columns: 102px minmax(0,1fr); gap: 12px; padding: 7px; }
  .story-thumb { height: 94px; }
  .story-main h3 { font-size: .86rem; margin: 4px 0; }
  .story-main > span, .story-main p { font-size: .65rem; }
  .story-arrow { display: none; }
  .sidebar { display: block; }
  .sidebar-panel + .sidebar-panel { margin-top: 12px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-tile { min-height: 160px; }
  .tool-panel { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 27px 20px; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin: 4px 0; }
}
@media (max-width: 390px) {
  .wrap { width: min(100% - 28px,1260px); }
  .brand { font-size: 17px; }
  .brand-mark { margin-right: 5px; }
  .header-controls { gap: 4px; }
  .theme-option { width: 25px; }
  .header-icon { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Approved home composition: a single restrained palette throughout all three modes. */
:root {
  --accent: #c10037;
  --accent-rgb: 193,0,55;
  --accent-strong: #99002d;
  --heading: #102e43;
  --ink: #1e3446;
  --muted: #52687d;
  --faint: #647588;
  --soft: #fff2f3;
  --soft-strong: #fce7eb;
  --border: #e6e8ed;
  --header: #fff2f3;
  --radius: 12px;
  font-family: Arial, Helvetica, sans-serif;
}
html[data-theme="blue"] {
  --accent: #174d91; --accent-rgb: 23,77,145; --accent-strong: #113d77;
  --soft: #f0f5fc; --soft-strong: #e7eef9; --header: #f0f5fc;
}
html[data-theme="dark"] {
  --heading: #f5f8fc; --ink: #e1e8f1; --muted: #b8c7d6;
  --soft: #1d2734; --soft-strong: #283545; --header: #1d2734;
  --border: #3e4a59;
}
html[data-theme="dark"] .hero { background: radial-gradient(circle at 75% 50%,rgba(var(--accent-rgb),.12),transparent 37%),var(--soft); }
.topbar { background: var(--soft); border-bottom-color: rgba(77,71,85,.09); color: var(--heading); }
.topbar-inner { min-height: 35px; }
.topbar .icon { color: var(--heading); font-size: 13px; }
.topbar-divider { width: 1px; height: 12px; background: var(--muted); opacity: .6; }
.site-header { background: var(--header); border-bottom: 0; }
.header-inner { min-height: 82px; gap: clamp(18px,2vw,35px); }
.brand { font-size: clamp(20px,2vw,26px); letter-spacing: -.065em; }
.brand-mark { width: 35px; height: 35px; border: none; transform: none; color: #fff; background: var(--accent); border-radius: 50% 50% 50% 7px; }
.brand-mark .icon { font-size: 17px; transform: none; }
.brand small { color: var(--accent); font-size: .55em; padding-bottom: 0; }
.site-footer .brand-mark { border: 0; background: var(--accent); color: var(--on-accent); }
html[data-theme="blue"] .site-footer .brand strong { color: #b8d3ff; }
.nav-list { gap: clamp(13px,1.9vw,32px); }
.nav-list > li > a { gap: 9px; font-size: .90rem !important; font-weight: 500 !important; }
.nav-list > li > a .icon { font-size: 22px; color: var(--accent); }
.header-icon { background: transparent; border: 0; border-radius: 50%; width: 38px; height: 38px; }
.header-icon:hover { background: rgba(var(--accent-rgb),.08); }
.theme-switcher { border-color: rgba(var(--accent-rgb),.28); background: transparent; border-radius: 18px; padding: 3px; gap: 1px; }
.theme-option { border-radius: 50%; width: 32px; height: 32px; }
.theme-option[aria-pressed="true"] { background: var(--surface); }
.header-cta { padding: 13px 17px; border-radius: 8px; }
.hero { background: radial-gradient(circle at 75% 42%,rgba(var(--accent-rgb),.035),transparent 38%),var(--soft); }
.hero-grid { grid-template-columns: minmax(0,1.06fr) minmax(460px,.94fr); min-height: 540px; gap: 30px; }
.hero-copy { padding: 45px 0 55px; }
.hero h1 { margin: 0 0 15px; font-size: clamp(3rem,4.65vw,4.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -.058em; }
.hero-copy > p { max-width: 580px; margin: 0 0 28px; font-size: 1.13rem; line-height: 1.4; }
.hero-search { max-width: 720px; min-height: 60px; border-radius: 11px; box-shadow: 0 14px 35px rgba(72,36,45,.09); }
.hero-search label .icon { color: var(--heading); }
.hero-search label.location { flex: 0 0 37%; }
.hero-search button { border-radius: 8px; min-width: 94px; justify-content: center; }
.popular-searches { margin-top: 19px; gap: 6px 16px; font-size: .81rem; }
.popular-searches a {
  text-decoration: none;
  text-underline-offset: 0;
  color: var(--heading);
  padding: 3px 10px;
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 50px;
}
.popular-searches a:hover { color: var(--accent); }
.hero-art { min-height: 540px; }
.hero-art > img { height: 525px; max-height: 100%; }
.hero-quick { gap: 12px; border: 0; border-radius: 16px; padding: 12px 18px; box-shadow: 0 13px 30px rgba(59,28,41,.10); }
.hero-quick .icon { background: transparent; width: auto; height: auto; font-size: 28px; }
.hero-quick strong { font-size: .82rem; line-height: 1.22; }
.hero-quick.one { top: 43px; left: 8px; }
.hero-quick.two { top: 90px; right: 0; }
.hero-quick.three { bottom: 180px; left: 3px; }
.hero-quick.four { top: 240px; right: -4px; }
.trending { padding: 0; }
.trending-inner { height: 62px; gap: 25px; }
.trending-label { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.trending-label .icon { font-size: 21px; }
.ticker-controls { display: flex; gap: 7px; flex: none; }
.ticker-control { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--soft); color: var(--heading); }
.ticker-control:hover, .ticker-control[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.marquee { mask-image: linear-gradient(90deg,transparent,#000 12px,#000 calc(100% - 12px),transparent); }
.marquee-track { gap: 35px; }
.marquee-set { gap: 35px; }
.marquee-set a { font-size: .84rem; font-weight: 500; color: var(--ink); }
.marquee-set a::before { width: 1px; height: 13px; background: var(--faint); border-radius: 0; }
.section { padding: 62px 0; }
.section-compact { padding: 49px 0; }
.center-head { justify-content: center; text-align: center; margin-bottom: 27px; }
.center-head h2 { margin: 0 0 6px; font-size: clamp(1.75rem,2.5vw,2.38rem); }
.center-head p { font-size: .96rem; }
.quick-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.quick-card { min-width: 0; min-height: 101px; flex-direction: row; align-items: center; gap: 15px; padding: 14px 18px; border-radius: 9px; box-shadow: 0 7px 19px rgba(19,35,53,.05); }
.quick-card .icon { width: 56px; height: 56px; border-radius: 13px; flex: none; font-size: 29px; }
.quick-card span { display: flex; flex-direction: column; min-width: 0; }
.quick-card strong { margin: 0 0 3px; font-size: .92rem; line-height: 1.3; }
.quick-card small { color: var(--muted); font-size: .76rem; line-height: 1.36; }
.featured { padding-top: 4px; }
.featured-grid { grid-template-columns: 1.64fr 1fr 1fr; grid-template-rows: repeat(2,230px); gap: 13px; }
.featured-card { min-height: 230px; }
.featured-card:first-child { min-height: 473px; }
.photo-card { border-radius: 12px; }
.featured-card .photo-body { inset: auto 18px 15px; }
.featured-card:first-child .photo-body { inset: auto 23px 22px; }
.featured-card h3 { font-size: 1.13rem; }
.featured-card:first-child h3 { font-size: clamp(1.45rem,1.9vw,2rem); }
.glass-tag { background: transparent; border-color: rgba(255,255,255,.52); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html[data-theme="dark"] .glass-tag { background: transparent; }
.featured-card:hover .glass-tag { background: transparent; }
html[data-theme="dark"] .featured-card:hover .glass-tag { background: transparent; }
.stories-area { background: var(--page); padding-top: 8px; }
.stories-layout { grid-template-columns: minmax(0,1.55fr) minmax(295px,.87fr); gap: 36px; }
.stories-area .section-head { margin-bottom: 19px; }
.stories-area .section-head h2 { font-size: clamp(1.7rem,2.25vw,2.13rem); }
.story-list { gap: 0; }
.story-card { grid-template-columns: 168px minmax(0,1fr); padding: 14px 0; gap: 20px; background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.story-card:first-child { padding-top: 0; }
.story-card:hover { box-shadow: none; border-color: var(--border); }
.story-thumb { height: 112px; border-radius: 9px; }
.story-main > span { font-size: .68rem; }
.story-main h3 { margin: 4px 0; font-size: 1rem; }
.story-main p { font-size: .75rem; }
.story-arrow { display: none; }
.sidebar-panel { padding: 20px; border-radius: 12px; }
.sidebar-title { margin-bottom: 9px; }
.popular-tabs { justify-content: space-between; gap: 0; }
.popular-tabs button { padding: 7px 8px; font-size: .74rem; }
.popular-item { align-items: center; grid-template-columns: 31px 1fr; gap: 10px; padding: 10px 0; }
.popular-item > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft-strong); color: var(--accent); font-size: .93rem; }
.popular-item strong { font-size: .85rem; }
.city-links { grid-template-columns: repeat(4,1fr); gap: 8px; }
.city-link { display: grid; place-items: center; text-align: center; border: 1px solid var(--border); border-radius: 30px; padding: 5px 15px; font-size: .73rem; }
.city-link:hover { transform: translateY(-2px); background: var(--soft); }
.tools { background: var(--soft); }
.tool-tile { background: var(--surface); }
.category-latest { background: var(--page); }
.category-heading { position: relative; display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 15px; border-bottom: 2px solid var(--heading); margin-bottom: 24px; padding-bottom: 13px; }
.category-heading::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 78px; height: 3px; background: var(--accent); }
.category-heading h2 { margin: 0; color: var(--heading); font-size: clamp(1.6rem,2.5vw,2.3rem); letter-spacing: -.04em; line-height: 1.15; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.category-tabs button { padding: 9px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--heading); font-weight: 700; font-size: .8rem; }
.category-tabs button:hover { background: var(--soft); }
.category-tabs button[aria-selected="true"] { color: var(--on-accent); background: var(--accent); }
.category-layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 23px; align-items: start; }
.category-main { min-width: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.category-main-image, .category-side-image { display: block; overflow: hidden; background: var(--soft-strong); }
.category-main-image { aspect-ratio: 16 / 9; }
.category-main-image img, .category-side-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 2000ms cubic-bezier(.19,1,.22,1); }
.category-main-content { padding: 22px 24px 26px; }
.category-label { display: block; color: var(--accent); font-size: .68rem; line-height: 1.3; letter-spacing: .015em; font-weight: 600; text-transform: uppercase; }
.category-main h3 { margin: 9px 0 7px; font-size: clamp(1.35rem,2vw,1.9rem); line-height: 1.2; letter-spacing: -.027em; color: var(--heading); }
.category-main h3 a:hover, .category-side h3 a:hover { color: var(--accent); }
.category-main small, .category-side small { color: var(--muted); font-size: .78rem; }
.category-main p { margin: 13px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.category-side-item { display: grid; grid-template-columns: minmax(110px,32%) minmax(0,1fr); gap: 17px; padding: 14px 0; border-bottom: 1px solid var(--border); min-height: 135px; }
.category-side-item:first-child { padding-top: 0; }
.category-side-item:last-child { border-bottom: 0; }
.category-side-image { aspect-ratio: 4 / 3; border-radius: 9px; align-self: center; }
.category-side-content { align-self: center; }
.category-side h3 { margin: 7px 0; color: var(--heading); font-size: clamp(.95rem,1.3vw,1.13rem); line-height: 1.25; }
@media (max-width:1120px) {
  .nav-list { gap: 13px; }
  .nav-list > li > a { font-size: .77rem; gap: 5px; }
  .nav-list > li > a .icon { font-size: 18px; }
  .quick-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
  .quick-card { padding: 12px 10px; gap: 8px; }
  .quick-card .icon { width: 44px; height: 44px; font-size: 24px; }
  .quick-card strong { font-size: .83rem; }
  .quick-card small { font-size: .68rem; }
}
@media (max-width:850px) {
  .nav { background: var(--surface); }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(290px,.8fr); min-height: 450px; }
  .hero h1 { font-size: clamp(2.7rem,5vw,3.9rem); }
  .hero-art { min-height: 450px; }
  .hero-art > img { height: 440px; }
  .hero-quick { display: none; }
  .quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .category-layout { grid-template-columns: 1fr; }
  .category-side-item { grid-template-columns: 155px 1fr; }
}
@media (max-width:991px) {
  .menu-toggle { display: grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 40; padding: 10px 18px 20px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.is-open { display: block; }
  .nav-list { display: block; }
  .nav-list > li > a { min-height: 42px; font-size: .9rem; }
  .header-controls { margin-left: auto; }
}
@media (max-width:620px) {
  .site-header { background: var(--soft); }
  .brand { font-size: 19px; }
  .brand small { font-size: .51em; }
  .hero-grid { display: block; min-height: 0; }
  .hero-copy { padding: 43px 0 15px; }
  .hero h1 { font-size: clamp(2.38rem,10vw,3.4rem); }
  .hero-copy > p { font-size: .96rem; }
  .hero-art { min-height: 320px; }
  .hero-art > img { height: 310px; }
  .trending-inner { height: 58px; gap: 8px; }
  .trending-label { font-size: .7rem; }
  .trending-label .icon { font-size: 15px; }
  .ticker-controls { gap: 3px; }
  .ticker-control { display: grid; width: 25px; height: 25px; }
  .marquee-set a { font-size: .71rem; }
  .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .quick-card { min-height: 79px; padding: 8px; }
  .quick-card .icon { width: 36px; height: 36px; font-size: 20px; }
  .quick-card strong { font-size: .77rem; }
  .quick-card small { font-size: .65rem; }
  .featured-grid { grid-template-rows: 290px repeat(2,170px); }
  .featured-card:first-child { min-height: 0; }
  .stories-area { padding-top: 12px; }
  .story-card { grid-template-columns: 100px minmax(0,1fr); gap: 11px; }
  .story-thumb { height: 90px; }
  .city-links { grid-template-columns: repeat(4,1fr); }
  .category-heading { align-items: start; }
  .category-tabs { gap: 3px; }
  .category-tabs button { padding: 7px 8px; font-size: .72rem; }
  .category-main-content { padding: 17px; }
  .category-main h3 { font-size: 1.32rem; }
  .category-side-item { grid-template-columns: 105px 1fr; min-height: 106px; gap: 12px; }
  .category-side h3 { font-size: .91rem; }
  .category-label { font-size: .66rem; }
  .category-side small { font-size: .68rem; }
}
@media (max-width:390px) {
  .brand { font-size: 17px; }
  .header-controls { gap: 2px; }
  .quick-card { gap: 6px; }
  .city-links { grid-template-columns: repeat(2,1fr); }
}
@media (prefers-reduced-motion:reduce) {
  .marquee-track { will-change: auto; }
}

/* Interactions taken from the supplied Listee index-8 menu and Recent News & Articles. */
.site-header {
  position: sticky;
  top: 0;
  transition: background-color .5s ease, box-shadow .5s ease;
}
.site-header.is-scrolled {
  background: var(--surface);
  box-shadow: 0 3px 42px rgba(18, 35, 51, .13);
}
html[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 3px 42px rgba(0, 0, 0, .35); }
.nav-head { display: none; }
.nav-list > li.has-submenu { position: relative; display: flex; align-items: center; min-height: 82px; }
.nav-list > li.has-submenu > a { min-height: 82px; padding-right: 15px; }
.nav-list > li.has-submenu > a .icon { font-size: 15px; margin-right: 3px; }
.submenu-toggle {
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 20px;
  height: 30px;
  padding: 0;
  border: 0;
  color: var(--heading);
  background: transparent;
}
.submenu-toggle .icon { font-size: 12px; transition: transform .25s ease; }
.has-submenu:hover > .submenu-toggle, .has-submenu:focus-within > .submenu-toggle,
.has-submenu.is-open > .submenu-toggle { color: var(--accent); }
.has-submenu.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.nav-list .sub-menu {
  display: block;
  top: 100%;
  left: -17px;
  min-width: 205px;
  width: max-content;
  max-width: 280px;
  padding: 8px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(18, 35, 51, .13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
  transition: transform .2s ease, opacity .2s ease, visibility .2s;
}
.nav-list > .has-submenu:hover > .sub-menu,
.nav-list > .has-submenu:focus-within > .sub-menu,
.nav-list > .has-submenu.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-list .sub-menu a {
  position: relative;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: .90rem;
  font-weight: 500;
  line-height: 20px;
  color: var(--heading);
  transition: color .35s ease, padding-left .35s ease, background-color .35s ease;
}
.nav-list .sub-menu a::before {
  position: absolute;
  content: "";
  top: 9px;
  bottom: 9px;
  left: 2px;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleY(.4);
  transition: opacity .35s ease, transform .35s ease;
}
.nav-list .sub-menu a:hover, .nav-list .sub-menu a:focus-visible {
  color: var(--accent);
  background: var(--soft) !important;
  padding-left: 20px;
}
.nav-list .sub-menu a:hover::before, .nav-list .sub-menu a:focus-visible::before { opacity: 1; transform: scaleY(1); }
.nav-overlay { position: fixed; inset: 0; z-index: 49; background: rgba(8, 20, 32, .48); }

/* All editorial photographs use the original 16:9 asset ratio and one animation rule. */
.source-image-hover { display: block; position: relative; overflow: hidden; isolation: isolate; }
.source-image-hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 2000ms cubic-bezier(.19, 1, .22, 1) 0ms;
  transition: all 2000ms cubic-bezier(.19, 1, .22, 1) 0ms;
}
.source-image-hover:hover > img, .source-image-hover:focus-visible > img,
.story-card:hover .story-thumb > img, .story-card:focus-within .story-thumb > img,
.category-main:hover .category-main-image > img, .category-main:focus-within .category-main-image > img,
.category-side-item:hover .category-side-image > img, .category-side-item:focus-within .category-side-image > img {
  -webkit-transform: scale(1.35) rotate(15deg);
  transform: scale(1.35) rotate(15deg);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  aspect-ratio: auto;
  column-gap: 13px;
  /* 13px × 9/16 makes the spanning image 16:9 too. */
  row-gap: 7.3125px;
}
.featured-card, .featured-card:first-child, .featured-card:last-child {
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  grid-column: auto;
  grid-row: auto;
}
.featured-card:first-child { grid-column: span 2; grid-row: span 2; }
.photo-card img { position: absolute; inset: 0; }
.photo-card::after { z-index: 0; }
.story-thumb { width: 168px; max-width: 100%; aspect-ratio: 16 / 9; height: auto; }
.story-thumb img { position: absolute; inset: 0; }
.category-main-image, .category-side-image { aspect-ratio: 16 / 9; }
.category-main-image img, .category-side-image img { position: absolute; inset: 0; }
.category-side-item { min-height: 0; }

@media (max-width: 991px) {
  .nav {
    display: block;
    position: fixed;
    z-index: 60;
    inset: 0 auto 0 0;
    width: min(300px, 84vw);
    height: 100dvh;
    padding: 0;
    margin: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    background: var(--surface);
    box-shadow: 12px 0 35px rgba(11, 22, 35, .14);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-100%);
    transition: transform .4s ease, visibility .4s;
  }
  .nav.is-open {
    display: block;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
  .nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 0 19px;
    border-bottom: 1px solid var(--border);
    color: var(--heading);
    font-size: 1.05rem;
    font-weight: 800;
  }
  .nav-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: var(--soft); color: var(--accent); border-radius: 50%; }
  .nav-list { display: block; padding: 8px 12px 24px; }
  .nav-list > li.has-submenu { display: block; min-height: 0; border-bottom: 1px solid var(--border); }
  .nav-list > li.has-submenu > a { display: flex; gap: 11px; min-height: 52px; padding: 10px 45px 10px 12px; font-size: .9rem; }
  .nav-list > li.has-submenu > a .icon { font-size: 16px; }
  .submenu-toggle { right: 9px; width: 36px; height: 36px; }
  .submenu-toggle .icon { font-size: 15px; }
  .nav-list .sub-menu {
    display: block;
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: none;
    min-width: 0;
    max-height: 0;
    margin: 0 0 0 30px;
    padding: 0 0 0 10px;
    overflow: hidden;
    border: 0;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height .4s ease, opacity .25s ease, transform .35s ease, visibility .35s;
  }
  .nav-list > .has-submenu:hover > .sub-menu,
  .nav-list > .has-submenu:focus-within > .sub-menu { max-height: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); }
  .nav-list > .has-submenu.is-open > .sub-menu,
  .nav-list > .has-submenu.is-open:hover > .sub-menu,
  .nav-list > .has-submenu.is-open:focus-within > .sub-menu {
    max-height: 370px;
    margin-bottom: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-list .sub-menu a { padding: 9px 14px; font-size: .84rem; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 900px) {
  .featured-grid { aspect-ratio: auto; grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: auto; }
  .featured-card, .featured-card:first-child, .featured-card:last-child { height: auto; min-height: 0; aspect-ratio: 16 / 9; grid-column: auto; grid-row: auto; }
  .featured-card:first-child { grid-column: span 2; }
}
@media (max-width: 620px) {
  .story-thumb { width: 100px; height: auto; }
  .category-side-image { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card:first-child { grid-column: auto; }
}
/* First supplied index-8.html: banner-eight hero, floating cards, search and buttons. */
.site-header:not(.is-scrolled), .topbar { background: rgba(var(--accent-rgb), .07); }
html[data-theme="dark"] .site-header:not(.is-scrolled), html[data-theme="dark"] .topbar { background: var(--soft); }
.hero { position: relative; overflow: hidden; background: rgba(var(--accent-rgb), .07); }
html[data-theme="dark"] .hero { background: radial-gradient(circle at 75% 38%, rgba(var(--accent-rgb), .09), transparent 39%), var(--soft); }
.hero-grid { position: relative; display: block; min-height: 700px; }
.hero-copy { position: relative; z-index: 4; width: 58.333%; padding: 170px 0; }
.hero h1 { max-width: 680px; margin: 0 0 26px; color: var(--heading); font-size: 50px; line-height: 1.13; letter-spacing: -.035em; font-weight: 800; }
.hero h1 em { color: var(--accent); }
.hero-copy > p { max-width: 490px; margin: 0 0 30px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.hero-search { display: flex; align-items: stretch; gap: 15px; max-width: 710px; min-height: 52px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hero-search label, .hero-search label.location { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 52px; padding: 0 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.hero-search label:first-child { flex: 1 1 300px; }
.hero-search label.location { flex: 0 0 195px; }
.hero-search input { min-height: 48px; padding: 0; font-size: .88rem; }
.hero-search label .icon { color: var(--muted); font-size: 17px; }
.hero-search button { flex: 0 0 auto; min-width: 143px; min-height: 52px; padding: 0 22px; border: 1px solid var(--accent); border-radius: 10px; }
.popular-searches { margin-top: 20px; }
.hero-art { position: absolute; z-index: 1; inset: 0; width: 100%; min-height: 0; margin: 0; pointer-events: none; }
.hero-art > img { position: absolute; z-index: 0; width: auto; height: auto; max-width: none; object-fit: contain; bottom: auto; left: auto; transform: none; pointer-events: none; }
.hero-art > .hero-rings { top: 84px; right: 30px; width: 638px; height: auto; opacity: 1; }
.hero-art > .hero-woman { z-index: 2; right: 62px; bottom: 0; height: min(100%, 746px); width: auto; max-height: none; }
.hero-art > .hero-bag { z-index: 3; right: 535px; bottom: 0; width: 253px; }
.hero-art > .hero-bag-shadow { z-index: 1; right: 483px; bottom: -21px; width: 327px; opacity: .5; }
.hero-art > .hero-plant { z-index: 3; right: 0; bottom: -38px; width: 266px; }
.hero-art > .hero-plant-shadow { z-index: 1; right: 4px; bottom: -81px; width: 167px; opacity: .45; }
.hero-art > .decor-top { top: 110px; left: 13px; width: 134px; }
.hero-art > .decor-center { bottom: 32px; left: 75px; width: 79px; }
.hero-art > .decor-middle { top: 93px; right: 54%; width: 69px; }
html[data-theme="blue"] .hero-rings, html[data-theme="blue"] .hero-bag, html[data-theme="blue"] .decor-top { filter: hue-rotate(230deg) saturate(1.2); }
.hero-quick { position: absolute; z-index: 4; display: flex; align-items: center; width: 210px; min-height: 66px; gap: 0; padding: 10px; border: 0; border-radius: 30px 30px 0 30px; background: var(--surface); box-shadow: none; white-space: normal; pointer-events: auto; }
.hero-quick.three, .hero-quick.four { border-radius: 30px 30px 30px 0; }
.hero-quick:hover { border-color: transparent; transform: none; }
.hero-quick .topic-img, .hero-quick span.topic-img:last-child { display: grid; place-items: center; width: 45px; height: 45px; margin-right: 10px; border-radius: 50%; background: var(--accent); color: var(--on-accent); flex: none; }
.hero-quick.three .topic-img, .hero-quick.four .topic-img { margin-right: 0; margin-left: 10px; }
.hero-quick .topic-img .icon { width: auto; height: auto; color: inherit; background: none; font-size: 22px; }
.hero-quick .topic-details { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.hero-quick strong { margin-bottom: 4px; color: var(--heading); font-size: 14px; font-weight: 600; }
.hero-quick small { color: var(--muted); font-size: 12px; font-weight: 400; }
.hero-quick.one { top: 149px; left: auto; right: 505px; }
.hero-quick.two { top: 48%; left: auto; right: 498px; bottom: auto; }
.hero-quick.three { top: 190px; left: auto; right: 60px; bottom: auto; }
.hero-quick.four { top: auto; left: auto; right: 0; bottom: 300px; }
.hero-quick.shape-1 { animation: hero-thumb-animation 2.5s linear infinite alternate; }
.hero-quick.shape-2 { animation: hero-thumb1-animation 2.5s linear infinite alternate; }
@keyframes hero-thumb-animation { from { transform: translateY(-20px); } to { transform: translateY(0); } }
@keyframes hero-thumb1-animation { from { transform: translateY(-20px) translateX(50px); } to { transform: translateY(-20px) translateX(0); } }

/* The supplied category-inner only becomes red on hover, with its 0.5 s transition. */
.quick-card { border: 1px solid #f1f1f1; border-radius: 10px; box-shadow: 0 4.4px 20px -1px rgba(19, 16, 34, .05), 0 4px 9px -1px rgba(19, 16, 34, .03); transition: background-color .5s ease, border-color .5s ease, box-shadow .5s ease; transform: none; }
html[data-theme="dark"] .quick-card { border-color: var(--border); box-shadow: 0 4px 20px rgba(0, 0, 0, .09); }
.quick-card .icon { border-radius: 50%; }
.quick-card strong { font-size: 18px; font-weight: 700; }
.quick-card:hover, .quick-card:focus-visible { background: var(--accent); border-color: var(--border); box-shadow: 0 8px 18px -8px rgba(var(--accent-rgb), .25); transform: none; }
.quick-card:hover .icon, .quick-card:focus-visible .icon { background: var(--surface); color: var(--accent); }
.quick-card:hover strong, .quick-card:hover small, .quick-card:focus-visible strong, .quick-card:focus-visible small { color: var(--on-accent); }

/* Supplied btn-primary and header-eight filled button invert on hover in 0.7 s. */
.header-cta, .hero-search button, .header-search button[type="submit"], .tool-panel form > button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 0 0 0 var(--surface);
  transition: all .5s ease;
}
.header-cta:hover, .header-cta:focus-visible,
.hero-search button:hover, .hero-search button:focus-visible,
.header-search button[type="submit"]:hover, .header-search button[type="submit"]:focus-visible,
.tool-panel form > button:hover, .tool-panel form > button:focus-visible {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--accent);
  box-shadow: inset 0 70px 0 0 var(--surface);
}

/* Supplied dropdown: opacity/visibility and translateY(20px) over 0.2 s. */
.nav-list .sub-menu { min-width: 200px; padding: 0; border: 0; border-radius: 5px; box-shadow: 0 0 3px rgba(0, 0, 0, .1); }
.nav-list > li > a { font-size: .86rem; }
.nav-list .sub-menu a { padding: 10px 15px; background: transparent; transition: color .35s ease, padding-left .35s ease; }
.nav-list .sub-menu a::before { display: none; }
.nav-list .sub-menu a:hover, .nav-list .sub-menu a:focus-visible { color: var(--accent); background: transparent; padding-left: 20px; }
@media (max-width: 1199px) {
  .hero-copy { padding-top: 150px; padding-bottom: 150px; }
  .hero h1 { font-size: 42px; }
  .quick-card strong { font-size: 17px; }
  .hero-art > .hero-woman { right: 70px; height: 565px; }
  .hero-art > .hero-rings { right: 0; width: 550px; }
  .hero-art > .hero-plant { right: -25px; width: 220px; }
  .hero-art > .hero-bag { right: 420px; width: 205px; }
  .hero-quick.one { right: 410px; }
  .hero-quick.two { right: 405px; }
}
@media (min-width: 992px) and (max-width: 1120px) {
  .header-cta { display: none; }
}
@media (max-width: 991px) {
  .hero-grid { min-height: 0; }
  .hero-copy { width: 100%; max-width: 710px; padding: 60px 0 25px; }
  .hero h1 { font-size: 36px; }
  .hero-art { position: relative; inset: auto; height: 380px; min-height: 0; }
  .hero-art > .hero-woman { height: 375px; max-height: 100%; left: 50%; right: auto; transform: translateX(-50%); }
  .hero-art > .hero-rings, .hero-art > .hero-prop, .hero-art > .hero-decor, .hero-quick { display: none; }
  .hero-search { flex-direction: column; max-width: 560px; }
  .hero-search label:first-child, .hero-search label.location { flex: 0 0 auto; width: 100%; min-height: 45px; }
  .hero-search input { min-height: 43px; }
  .hero-search button { width: 100%; min-height: 45px; }
  .nav { width: min(260px, 84vw); }
  .nav-head { min-height: 60px; }
  .quick-card strong { font-size: 16px; }
  .nav-list .sub-menu { display: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; transform: none; transition: none; }
  .nav-list .sub-menu a { padding: 10px 15px 10px 35px; border-radius: 0; }
  .nav-list .sub-menu a:hover, .nav-list .sub-menu a:focus-visible { padding-left: 40px; }
  .nav-list > .has-submenu:hover > .sub-menu,
  .nav-list > .has-submenu:focus-within > .sub-menu,
  .nav-list > .has-submenu.is-open > .sub-menu { display: none; }
  .nav-list > .has-submenu.is-open > .sub-menu,
  .nav-list > .has-submenu.is-open:hover > .sub-menu,
  .nav-list > .has-submenu.is-open:focus-within > .sub-menu { display: block; max-height: none; }
}
@media (max-width: 620px) {
  .hero-copy { padding: 40px 0 25px; }
  .hero h1 { font-size: 32px; }
  .hero-copy > p { font-size: 14px; }
  .hero-art { height: 300px; margin: 0; }
  .hero-art > .hero-woman { height: 300px; }
  .hero-search { flex-wrap: nowrap; }
  .hero-search label, .hero-search label.location { min-height: 45px; border: 1px solid var(--border); }
  .quick-card strong { font-size: 14px; }
}

/* Single article page — namespaced to avoid changing the approved homepage. */
.single-main { padding: 34px 0 82px; background: var(--page); }
.single-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; color: var(--muted); font-size: .78rem; }
.single-breadcrumb a { transition: color .25s ease; }
.single-breadcrumb a:hover { color: var(--accent); }
.single-breadcrumb .icon { font-size: 12px; color: var(--faint); }
.single-breadcrumb span { color: var(--heading); }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 42px; align-items: start; }
.single-article { min-width: 0; }
.single-article-header { max-width: 900px; margin-bottom: 25px; }
.single-article-header h1 { max-width: 900px; margin: 10px 0 15px; color: var(--heading); font-size: clamp(2.15rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -.05em; font-weight: 790; }
.single-lead { max-width: 820px; margin: 0 0 19px; color: var(--muted); font-size: 1.04rem; line-height: 1.72; }
.single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 19px; color: var(--faint); font-size: .76rem; }
.single-meta span { display: inline-flex; align-items: center; gap: 6px; }
.single-meta .icon { color: var(--accent); font-size: 14px; }
.single-featured-image { overflow: hidden; margin: 0 0 30px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--border); }
.single-featured-image img { width: 100%; aspect-ratio: 16 / 8.7; object-fit: cover; }
.single-content { max-width: 860px; color: var(--ink); font-size: 1rem; line-height: 1.82; }
.single-content > :first-child { margin-top: 0; }
.single-content p { margin: 0 0 21px; }
.single-content h2 { margin: 42px 0 14px; color: var(--heading); font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.22; letter-spacing: -.035em; }
.single-content h3 { margin: 29px 0 10px; color: var(--heading); font-size: 1.15rem; line-height: 1.35; letter-spacing: -.02em; }
.single-content ul, .single-content ol { margin: 0 0 23px; padding-left: 22px; }
.single-content li { padding-left: 4px; margin-bottom: 7px; }
.single-content li::marker { color: var(--accent); font-weight: 750; }
.single-content blockquote { margin: 28px 0; padding: 18px 22px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--soft); color: var(--heading); font-size: 1.02rem; font-weight: 600; }
.single-summary-box { margin: 29px 0 34px; padding: 22px 24px; border: 1px solid rgba(var(--accent-rgb), .19); border-radius: 14px; background: rgba(var(--accent-rgb), .055); }
.single-summary-box > strong { display: block; margin-bottom: 10px; color: var(--heading); font-size: .95rem; }
.single-summary-box ul { margin-bottom: 0; }
.single-note { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 13px; align-items: start; margin: 30px 0; padding: 17px 19px; border: 1px solid var(--border); border-radius: 13px; background: var(--soft); color: var(--muted); font-size: .9rem; line-height: 1.65; }
.single-note > .icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); color: var(--accent); font-size: 18px; }
.single-note strong { color: var(--heading); }
.single-article-footer { margin-top: 39px; padding-top: 21px; border-top: 1px solid var(--border); }
.single-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; }
.single-tags > span { margin-right: 2px; color: var(--heading); font-weight: 750; }
.single-tags a { padding: 6px 10px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface); transition: color .25s ease, border-color .25s ease, background-color .25s ease; }
.single-tags a:hover { color: var(--accent); border-color: rgba(var(--accent-rgb), .35); background: var(--soft); }
.single-sidebar { position: sticky; top: 106px; }
.single-search-panel { background: var(--soft); }
.single-sidebar-search { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 7px; }
.single-sidebar-search input { min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px; outline: 0; background: var(--surface); color: var(--heading); font-size: .82rem; }
.single-sidebar-search input:focus { border-color: rgba(var(--accent-rgb), .5); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .08); }
.single-sidebar-search button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--accent); border-radius: 9px; background: var(--accent); color: var(--on-accent); transition: background-color .25s ease, color .25s ease; }
.single-sidebar-search button:hover { background: var(--surface); color: var(--accent); }
.single-sidebar-posts { display: grid; gap: 14px; }
.single-sidebar-post { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; align-items: center; }
.single-sidebar-post + .single-sidebar-post { padding-top: 14px; border-top: 1px solid var(--border); }
.single-sidebar-thumb { overflow: hidden; height: 68px; border-radius: 8px; background: var(--soft); }
.single-sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.19,1,.22,1); }
.single-sidebar-post:hover .single-sidebar-thumb img { transform: scale(1.045); }
.single-sidebar-post span { display: block; margin-bottom: 2px; color: var(--accent); font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.single-sidebar-post h3 { margin: 0 0 3px; color: var(--heading); font-size: .79rem; line-height: 1.35; font-weight: 650; }
.single-sidebar-post h3 a:hover { color: var(--accent); }
.single-sidebar-post small { color: var(--faint); font-size: .65rem; }
.single-sidebar .popular-item { text-decoration: none; }
.single-related { margin-top: 58px; padding-top: 38px; border-top: 1px solid var(--border); }
.single-related-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.single-related-head h2 { margin: 5px 0 0; color: var(--heading); font-size: clamp(1.55rem, 2.2vw, 2rem); letter-spacing: -.04em; }
.single-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.single-related-card { overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.single-related-card:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), .27); box-shadow: var(--shadow); }
.single-related-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.single-related-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms cubic-bezier(.19,1,.22,1); }
.single-related-card:hover .single-related-image img { transform: scale(1.04); }
.single-related-body { padding: 15px 15px 17px; }
.single-related-body > span { color: var(--accent); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.single-related-body h3 { margin: 6px 0 8px; color: var(--heading); font-size: .91rem; line-height: 1.42; letter-spacing: -.015em; }
.single-related-body h3 a:hover { color: var(--accent); }
.single-related-body small { color: var(--faint); font-size: .68rem; }

@media (max-width: 991px) {
  .single-main { padding-top: 26px; }
  .single-layout { grid-template-columns: 1fr; gap: 46px; }
  .single-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .single-sidebar .sidebar-panel + .sidebar-panel { margin-top: 0; }
  .single-sidebar .sidebar-panel:last-child { grid-column: 1 / -1; }
  .single-content { max-width: none; }
}
@media (max-width: 720px) {
  .single-main { padding: 20px 0 58px; }
  .single-breadcrumb { margin-bottom: 18px; }
  .single-article-header h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .single-lead { font-size: .95rem; }
  .single-featured-image { margin-bottom: 24px; border-radius: 14px; }
  .single-content { font-size: .95rem; line-height: 1.75; }
  .single-content h2 { margin-top: 35px; }
  .single-related { margin-top: 45px; }
  .single-related-grid { grid-template-columns: 1fr; }
  .single-related-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
  .single-related-image { height: 100%; aspect-ratio: auto; }
  .single-related-head { align-items: center; }
}
@media (max-width: 620px) {
  .single-sidebar { grid-template-columns: 1fr; }
  .single-sidebar .sidebar-panel:last-child { grid-column: auto; }
  .single-meta { gap: 7px 14px; }
  .single-summary-box { padding: 18px; }
}
@media (max-width: 460px) {
  .single-related-card { grid-template-columns: 108px minmax(0, 1fr); }
  .single-related-body { padding: 12px; }
  .single-related-body h3 { font-size: .82rem; }
  .single-related-head .text-link { display: none; }
  .single-note { grid-template-columns: 1fr; }
}

/* Rank Math TOC + FAQ — scoped to article content so homepage remains unchanged. */
.single-content .wp-block-rank-math-toc-block {
  overflow: hidden;
  margin: 30px 0 38px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(20, 25, 38, .045);
}
.single-content .wp-block-rank-math-toc-block > h2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 18px 54px 18px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--soft);
  color: var(--heading);
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: -.015em;
  cursor: pointer;
  user-select: none;
}
.single-content .wp-block-rank-math-toc-block > h2::before {
  content: "";
  width: 4px;
  height: 22px;
  margin-right: 7px;
  border-radius: 10px;
  background: var(--accent);
  flex: none;
}
.single-content .wp-block-rank-math-toc-block > h2::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(var(--accent-rgb), .2);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%) rotate(45deg);
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.single-content .wp-block-rank-math-toc-block.is-collapsed > h2::after { transform: translateY(-50%) rotate(0); }
.single-content .wp-block-rank-math-toc-block > h2:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), .18);
  outline-offset: -3px;
}
.single-content .wp-block-rank-math-toc-block > nav {
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  padding: 17px 20px 18px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  will-change: grid-template-rows, opacity, transform;
  transition:
    grid-template-rows .48s cubic-bezier(.22, 1, .36, 1),
    opacity .3s ease,
    transform .42s cubic-bezier(.22, 1, .36, 1),
    padding .42s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear 0s;
}
.single-content .wp-block-rank-math-toc-block > nav > * {
  min-height: 0;
  overflow: hidden;
}
.single-content .wp-block-rank-math-toc-block.is-collapsed > nav {
  grid-template-rows: 0fr;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition:
    grid-template-rows .44s cubic-bezier(.4, 0, .2, 1),
    opacity .28s ease,
    transform .36s cubic-bezier(.4, 0, .2, 1),
    padding .4s cubic-bezier(.4, 0, .2, 1),
    visibility 0s linear .44s;
}
.single-content .wp-block-rank-math-toc-block nav > ul { margin: 0; padding: 0; list-style: none; counter-reset: rankmath-toc; }
.single-content .wp-block-rank-math-toc-block nav > ul > li { position: relative; margin: 0; padding: 9px 0 9px 34px; counter-increment: rankmath-toc; }
.single-content .wp-block-rank-math-toc-block nav > ul > li + li { border-top: 1px solid var(--border); }
.single-content .wp-block-rank-math-toc-block nav > ul > li::before {
  content: counter(rankmath-toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.single-content .wp-block-rank-math-toc-block nav a { color: var(--heading); font-size: .88rem; font-weight: 650; line-height: 1.5; transition: color .22s ease; }
.single-content .wp-block-rank-math-toc-block nav a:hover { color: var(--accent); }
.single-content .wp-block-rank-math-toc-block nav ul ul { margin: 6px 0 0; padding: 0 0 0 17px; border-left: 1px solid rgba(var(--accent-rgb), .22); list-style: none; }
.single-content .wp-block-rank-math-toc-block nav ul ul li { margin: 0; padding: 4px 0 4px 12px; }
.single-content .wp-block-rank-math-toc-block nav ul ul a { color: var(--muted); font-size: .8rem; font-weight: 500; }
.single-content [id] { scroll-margin-top: 112px; }

.single-faq-section { margin-top: 42px; }
.single-content .single-faq-section > h2 { margin-bottom: 17px; }
.single-content .wp-block-rank-math-faq-block { display: grid; gap: 10px; margin: 0 0 28px; }
.single-content .rank-math-faq-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.single-content .rank-math-faq-item:hover { border-color: rgba(var(--accent-rgb), .26); }
.single-content .rank-math-faq-item.is-open { border-color: rgba(var(--accent-rgb), .32); box-shadow: 0 8px 22px rgba(var(--accent-rgb), .07); }
.single-content .rank-math-question {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  margin: 0;
  padding: 16px 54px 16px 18px;
  color: var(--heading);
  font-size: .92rem;
  line-height: 1.45;
  letter-spacing: -.012em;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.single-content .rank-math-question::after {
  content: "+";
  position: absolute;
  right: 17px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .08);
  color: var(--accent);
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.single-content .rank-math-faq-item.is-open .rank-math-question::after {
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(-50%) rotate(45deg);
}
.single-content .rank-math-question:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .18); outline-offset: -3px; }
.single-content .rank-math-answer { color: var(--muted); font-size: .9rem; line-height: 1.72; }
.single-content .faq-accordion-ready .rank-math-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  padding: 0 18px;
  border-top: 1px solid transparent;
  transform: translateY(-7px);
  visibility: hidden;
  will-change: grid-template-rows, opacity, transform;
  transition:
    grid-template-rows .46s cubic-bezier(.4, 0, .2, 1),
    opacity .3s ease,
    transform .4s cubic-bezier(.4, 0, .2, 1),
    padding .42s cubic-bezier(.4, 0, .2, 1),
    border-color .3s ease,
    visibility 0s linear .46s;
}
.single-content .faq-accordion-ready .rank-math-answer-inner {
  min-height: 0;
  overflow: hidden;
}
.single-content .faq-accordion-ready .rank-math-faq-item.is-open .rank-math-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-top: 14px;
  padding-bottom: 16px;
  border-top-color: var(--border);
  transform: translateY(0);
  visibility: visible;
  transition:
    grid-template-rows .48s cubic-bezier(.22, 1, .36, 1),
    opacity .3s ease .03s,
    transform .42s cubic-bezier(.22, 1, .36, 1),
    padding .42s cubic-bezier(.22, 1, .36, 1),
    border-color .3s ease,
    visibility 0s linear 0s;
}
.single-content .rank-math-answer-inner > :first-child { margin-top: 0; }
.single-content .rank-math-answer-inner > :last-child { margin-bottom: 0; }

@media (max-width: 620px) {
  .single-content .wp-block-rank-math-toc-block { margin: 24px 0 30px; }
  .single-content .wp-block-rank-math-toc-block > h2 { padding: 16px 48px 16px 16px; font-size: .95rem; }
  .single-content .wp-block-rank-math-toc-block > nav { padding-left: 16px; padding-right: 16px; }
  .single-content .rank-math-question { min-height: 55px; padding: 14px 50px 14px 15px; font-size: .87rem; }
  .single-content .faq-accordion-ready .rank-math-answer { padding-left: 15px; padding-right: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .single-content .wp-block-rank-math-toc-block > nav,
  .single-content .wp-block-rank-math-toc-block > h2::after,
  .single-content .rank-math-faq-item,
  .single-content .rank-math-question::after,
  .single-content .faq-accordion-ready .rank-math-answer { transition: none; }
}


/* Single / Rank Math accordion animation v3
   JS animates explicit pixel heights. These final rules intentionally neutralize
   the older grid/visibility transitions so open AND close frames cannot be skipped. */
.single-content .wp-block-rank-math-toc-block > nav,
.single-content .wp-block-rank-math-toc-block.is-collapsed > nav {
  display: block;
  grid-template-rows: none;
  height: auto;
  overflow: hidden;
  padding: 17px 20px 18px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: none !important;
  will-change: height, opacity, transform;
}

.single-content .faq-accordion-ready .rank-math-answer,
.single-content .faq-accordion-ready .rank-math-faq-item.is-open .rank-math-answer {
  display: block;
  grid-template-rows: none;
  height: 0;
  overflow: hidden;
  padding: 0 18px;
  opacity: 0;
  transform: translateY(-7px);
  visibility: visible;
  pointer-events: none;
  transition: none !important;
  will-change: height, opacity, transform;
}
.single-content .faq-accordion-ready .rank-math-answer-inner {
  min-height: 0;
  padding: 14px 0 16px;
  overflow: visible;
}
.single-content .faq-accordion-ready .rank-math-faq-item.is-open .rank-math-answer {
  border-top-color: var(--border);
}

@media (max-width: 620px) {
  .single-content .wp-block-rank-math-toc-block > nav,
  .single-content .wp-block-rank-math-toc-block.is-collapsed > nav {
    padding-left: 16px;
    padding-right: 16px;
  }
  .single-content .faq-accordion-ready .rank-math-answer,
  .single-content .faq-accordion-ready .rank-math-faq-item.is-open .rank-math-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Category archive page — scoped so approved homepage/single layouts stay unchanged. */
.category-page-main { padding: 34px 0 82px; background: var(--page); }
.category-page-breadcrumb { margin-bottom: 18px; }
.category-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 16px;
  padding: 27px 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(20,25,38,.035);
}
.category-page-heading { display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 18px; align-items: center; min-width: 0; }
.category-page-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 16px; background: rgba(var(--accent-rgb),.09); color: var(--accent); font-size: 26px; }
.category-page-heading h1 { margin: 4px 0 8px; color: var(--heading); font-size: clamp(2rem,3.5vw,3rem); line-height: 1.05; letter-spacing: -.05em; }
.category-page-heading p { max-width: 760px; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.67; }
.category-page-count { flex: none; min-width: 105px; padding-left: 24px; border-left: 1px solid var(--border); text-align: right; }
.category-page-count strong { display: block; color: var(--heading); font-size: 1.65rem; line-height: 1; letter-spacing: -.04em; }
.category-page-count span { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; }
.category-page-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.category-page-subcats a { padding: 8px 13px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface); color: var(--muted); font-size: .76rem; font-weight: 650; transition: color .25s ease, border-color .25s ease, background-color .25s ease, transform .25s ease; }
.category-page-subcats a:hover { transform: translateY(-1px); color: var(--accent); border-color: rgba(var(--accent-rgb),.28); }
.category-page-subcats a.is-active { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.category-page-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 42px; align-items: start; }
.category-page-content { min-width: 0; }
.category-page-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 18px; }
.category-page-section-head h2 { margin: 5px 0 0; color: var(--heading); font-size: clamp(1.55rem,2.2vw,2rem); line-height: 1.15; letter-spacing: -.04em; }
.category-page-result { flex: none; color: var(--faint); font-size: .73rem; }
.category-page-posts { display: grid; gap: 15px; }
.category-page-card { display: grid; grid-template-columns: 240px minmax(0,1fr); min-height: 170px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease; }
.category-page-card:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb),.25); box-shadow: var(--shadow); }
.category-page-card-image { display: block; min-height: 100%; overflow: hidden; background: var(--soft); }
.category-page-card-image img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; transition: transform 1400ms cubic-bezier(.19,1,.22,1), filter 650ms ease; }
.category-page-card:hover .category-page-card-image img { transform: scale(1.045); }
.category-page-card-body { min-width: 0; padding: 20px 22px 18px; }
.category-page-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 11px; margin-bottom: 8px; color: var(--faint); font-size: .66rem; }
.category-page-card-meta > span:first-child { color: var(--accent); font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.category-page-card-meta span:last-child { display: inline-flex; align-items: center; gap: 4px; }
.category-page-card-meta .icon { font-size: 11px; }
.category-page-card h2 { margin: 0 0 8px; color: var(--heading); font-size: clamp(1.03rem,1.55vw,1.26rem); line-height: 1.28; letter-spacing: -.025em; }
.category-page-card h2 a { transition: color .25s ease; }
.category-page-card h2 a:hover { color: var(--accent); }
.category-page-card p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0 0 12px; color: var(--muted); font-size: .8rem; line-height: 1.58; }
.category-page-read { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: .73rem; font-weight: 750; }
.category-page-read .icon { font-size: 12px; transition: transform .25s ease; }
.category-page-read:hover .icon { transform: translateX(3px); }
.category-page-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 29px; }
.category-page-pagination a, .category-page-pagination .page-dots { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 38px; height: 38px; padding: 0 11px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--muted); font-size: .72rem; font-weight: 700; transition: color .25s ease, border-color .25s ease, background-color .25s ease, transform .25s ease; }
.category-page-pagination a:not(.is-disabled):hover { transform: translateY(-1px); color: var(--accent); border-color: rgba(var(--accent-rgb),.32); }
.category-page-pagination .page-number { width: 38px; padding: 0; }
.category-page-pagination .is-current { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.category-page-pagination .is-disabled { opacity: .45; pointer-events: none; }
.category-page-pagination .page-dots { min-width: 26px; padding: 0; border-color: transparent; background: transparent; }
.category-page-sidebar .popular-item { text-decoration: none; }
.category-page-categories nav { display: grid; }
.category-page-categories nav a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .8rem; transition: color .25s ease; }
.category-page-categories nav a:last-child { border-bottom: 0; padding-bottom: 0; }
.category-page-categories nav a:first-child { padding-top: 0; }
.category-page-categories nav span { display: inline-flex; align-items: center; gap: 9px; }
.category-page-categories nav .icon { width: 16px; color: var(--accent); font-size: 14px; }
.category-page-categories nav strong { display: grid; place-items: center; min-width: 27px; height: 25px; padding: 0 7px; border-radius: 20px; background: var(--soft); color: var(--faint); font-size: .64rem; font-weight: 750; }
.category-page-categories nav a:hover, .category-page-categories nav a.is-active { color: var(--accent); }
.category-page-categories nav a.is-active strong { background: rgba(var(--accent-rgb),.1); color: var(--accent); }

@media (max-width: 1080px) {
  .category-page-layout { grid-template-columns: 1fr; gap: 34px; }
  .category-page-sidebar { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .category-page-sidebar .sidebar-panel + .sidebar-panel { margin-top: 0; }
  .category-page-sidebar .sidebar-panel:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .category-page-main { padding-top: 24px; }
  .category-page-header { align-items: flex-start; padding: 22px; }
  .category-page-heading { grid-template-columns: 50px minmax(0,1fr); gap: 14px; }
  .category-page-icon { width: 50px; height: 50px; border-radius: 13px; font-size: 21px; }
  .category-page-count { display: none; }
  .category-page-card { grid-template-columns: 190px minmax(0,1fr); }
  .category-page-card-body { padding: 16px 17px; }
  .category-page-card p { -webkit-line-clamp: 2; }
}
@media (max-width: 620px) {
  .category-page-header { padding: 19px; border-radius: 14px; }
  .category-page-heading { grid-template-columns: 1fr; }
  .category-page-icon { width: 44px; height: 44px; }
  .category-page-heading h1 { margin-top: 5px; }
  .category-page-subcats { flex-wrap: nowrap; overflow-x: auto; margin-left: -18px; margin-right: -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .category-page-subcats::-webkit-scrollbar { display: none; }
  .category-page-subcats a { flex: 0 0 auto; }
  .category-page-section-head { align-items: center; }
  .category-page-card { grid-template-columns: 1fr; }
  .category-page-card-image { aspect-ratio: 16 / 8.7; }
  .category-page-card-image img { min-height: 0; }
  .category-page-card-body { padding: 17px 18px 18px; }
  .category-page-card h2 { font-size: 1.08rem; }
  .category-page-card p { font-size: .79rem; }
  .category-page-sidebar { grid-template-columns: 1fr; }
  .category-page-sidebar .sidebar-panel:last-child { grid-column: auto; }
  .category-page-pagination a span { display: none; }
}

/* Static WordPress page — scoped so homepage, single and category layouts remain unchanged. */
.page-page-main { padding: 34px 0 82px; background: var(--page); }
.page-page-breadcrumb { margin-bottom: 18px; }
.page-page-header { margin-bottom: 30px; padding: 28px 30px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 12px 34px rgba(20,25,38,.035); }
.page-page-heading { display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 18px; align-items: center; }
.page-page-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 16px; background: rgba(var(--accent-rgb),.09); color: var(--accent); font-size: 26px; }
.page-page-heading h1 { margin: 4px 0 9px; color: var(--heading); font-size: clamp(2rem,3.5vw,3rem); line-height: 1.06; letter-spacing: -.05em; }
.page-page-heading p { max-width: 790px; margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.7; }
.page-page-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 42px; align-items: start; }
.page-page-article { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 12px 34px rgba(20,25,38,.028); }
.page-page-content { padding: clamp(24px,4vw,42px); color: var(--ink); font-size: .96rem; line-height: 1.8; }
.page-page-content > :first-child { margin-top: 0; }
.page-page-content p { margin: 0 0 21px; }
.page-page-content h2 { margin: 42px 0 14px; color: var(--heading); font-size: clamp(1.4rem,2.1vw,1.9rem); line-height: 1.22; letter-spacing: -.035em; scroll-margin-top: 112px; }
.page-page-intro { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 16px; align-items: start; margin-bottom: 34px; padding: 20px 22px; border: 1px solid rgba(var(--accent-rgb),.18); border-radius: 14px; background: rgba(var(--accent-rgb),.055); }
.page-page-intro-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--surface); color: var(--accent); font-size: 20px; box-shadow: 0 7px 18px rgba(var(--accent-rgb),.08); }
.page-page-intro strong { display: block; margin: 1px 0 6px; color: var(--heading); font-size: 1rem; line-height: 1.5; }
.page-page-intro p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.68; }
.page-page-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 28px 0 38px; }
.page-page-feature { padding: 19px 18px; border: 1px solid var(--border); border-radius: 13px; background: var(--soft); }
.page-page-feature > span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 13px; border-radius: 10px; background: var(--surface); color: var(--accent); font-size: 16px; }
.page-page-feature h3 { margin: 0 0 7px; color: var(--heading); font-size: .92rem; line-height: 1.35; }
.page-page-feature p { margin: 0; color: var(--muted); font-size: .77rem; line-height: 1.6; }
.page-page-check-list { display: grid; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.page-page-check-list li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: start; padding: 13px 15px; border: 1px solid var(--border); border-radius: 11px; background: var(--soft); }
.page-page-check-list li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(var(--accent-rgb),.1); color: var(--accent); }
.page-page-check-list strong { display: block; margin: 1px 0 2px; color: var(--heading); font-size: .84rem; }
.page-page-check-list small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.page-page-note { margin: 31px 0 35px; }
.page-page-category-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 24px 0 34px; }
.page-page-category-links > a { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 62px; padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--soft); transition: transform .28s ease, border-color .28s ease, background-color .28s ease, color .28s ease; }
.page-page-category-links > a > span { display: flex; align-items: center; gap: 11px; }
.page-page-category-links > a > span .icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface); color: var(--accent); font-size: 15px; }
.page-page-category-links strong { color: var(--heading); font-size: .83rem; }
.page-page-category-links > a > .icon { color: var(--faint); font-size: 14px; transition: transform .25s ease, color .25s ease; }
.page-page-category-links > a:hover { transform: translateY(-2px); border-color: rgba(var(--accent-rgb),.28); background: var(--surface); }
.page-page-category-links > a:hover > .icon { transform: translateX(3px); color: var(--accent); }
.page-page-contact-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; padding: 18px 20px; border: 1px solid rgba(var(--accent-rgb),.2); border-radius: 13px; background: rgba(var(--accent-rgb),.055); }
.page-page-contact-box > div { display: flex; align-items: center; gap: 12px; }
.page-page-contact-box > div > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--surface); color: var(--accent); }
.page-page-contact-box small { display: block; margin-bottom: 2px; color: var(--muted); font-size: .68rem; }
.page-page-contact-box strong { display: block; color: var(--heading); font-size: .86rem; }
.page-page-contact-box > a { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 39px; padding: 0 14px; border: 1px solid var(--accent); border-radius: 9px; background: var(--accent); color: var(--on-accent); font-size: .73rem; font-weight: 750; transition: background-color .25s ease, color .25s ease, transform .25s ease; }
.page-page-contact-box > a:hover { transform: translateY(-1px); background: var(--surface); color: var(--accent); }
.page-page-sidebar .popular-item { text-decoration: none; }
.page-page-nav-panel nav { display: grid; }
.page-page-nav-panel nav a { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 41px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .79rem; transition: color .25s ease; }
.page-page-nav-panel nav a:first-child { padding-top: 0; }
.page-page-nav-panel nav a:last-child { padding-bottom: 0; border-bottom: 0; }
.page-page-nav-panel nav .icon { color: var(--faint); font-size: 12px; transition: transform .25s ease, color .25s ease; }
.page-page-nav-panel nav a:hover { color: var(--accent); }
.page-page-nav-panel nav a:hover .icon { transform: translateX(2px); color: var(--accent); }

@media (max-width: 1080px) {
  .page-page-layout { grid-template-columns: 1fr; gap: 34px; }
  .page-page-sidebar { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .page-page-sidebar .sidebar-panel + .sidebar-panel { margin-top: 0; }
  .page-page-sidebar .sidebar-panel:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .page-page-main { padding-top: 24px; }
  .page-page-header { padding: 22px; }
  .page-page-heading { grid-template-columns: 50px minmax(0,1fr); gap: 14px; }
  .page-page-icon { width: 50px; height: 50px; border-radius: 13px; font-size: 21px; }
  .page-page-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .page-page-main { padding-bottom: 58px; }
  .page-page-header { padding: 19px; border-radius: 14px; }
  .page-page-heading { grid-template-columns: 1fr; }
  .page-page-icon { width: 44px; height: 44px; }
  .page-page-article { border-radius: 14px; }
  .page-page-content { padding: 21px 18px 25px; font-size: .93rem; }
  .page-page-intro { grid-template-columns: 1fr; padding: 18px; }
  .page-page-category-links { grid-template-columns: 1fr; }
  .page-page-contact-box { align-items: flex-start; flex-direction: column; }
  .page-page-contact-box > a { width: 100%; justify-content: center; }
  .page-page-sidebar { grid-template-columns: 1fr; }
  .page-page-sidebar .sidebar-panel:last-child { grid-column: auto; }
}

/* === Feather fallback icons: SVG mask, font subset-independent === */
/* The bundled Feather font is intentionally small; these icons are rendered as SVG masks so they never disappear. */
.feather-calendar::before,.feather-clock::before,.feather-eye::before,.feather-info::before,.feather-check::before,.feather-compass::before,.feather-file-text::before,.feather-refresh-cw::before,.feather-shield::before {
  content: "" !important;
  display: block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.feather-calendar::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%223%22%20y=%224%22%20width=%2218%22%20height=%2218%22%20rx=%222%22%20ry=%222%22/%3E%3Cline%20x1=%2216%22%20y1=%222%22%20x2=%2216%22%20y2=%226%22/%3E%3Cline%20x1=%228%22%20y1=%222%22%20x2=%228%22%20y2=%226%22/%3E%3Cline%20x1=%223%22%20y1=%2210%22%20x2=%2221%22%20y2=%2210%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%223%22%20y=%224%22%20width=%2218%22%20height=%2218%22%20rx=%222%22%20ry=%222%22/%3E%3Cline%20x1=%2216%22%20y1=%222%22%20x2=%2216%22%20y2=%226%22/%3E%3Cline%20x1=%228%22%20y1=%222%22%20x2=%228%22%20y2=%226%22/%3E%3Cline%20x1=%223%22%20y1=%2210%22%20x2=%2221%22%20y2=%2210%22/%3E%3C/svg%3E");
}
.feather-clock::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Cpolyline%20points=%2212%207%2012%2012%2015%2014%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Cpolyline%20points=%2212%207%2012%2012%2015%2014%22/%3E%3C/svg%3E");
}
.feather-eye::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M1.5%2012s4-7%2010.5-7%2010.5%207%2010.5%207-4%207-10.5%207S1.5%2012%201.5%2012z%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%223%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M1.5%2012s4-7%2010.5-7%2010.5%207%2010.5%207-4%207-10.5%207S1.5%2012%201.5%2012z%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%223%22/%3E%3C/svg%3E");
}
.feather-info::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Cline%20x1=%2212%22%20y1=%2211%22%20x2=%2212%22%20y2=%2216%22/%3E%3Cline%20x1=%2212%22%20y1=%228%22%20x2=%2212.01%22%20y2=%228%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Cline%20x1=%2212%22%20y1=%2211%22%20x2=%2212%22%20y2=%2216%22/%3E%3Cline%20x1=%2212%22%20y1=%228%22%20x2=%2212.01%22%20y2=%228%22/%3E%3C/svg%3E");
}
.feather-check::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpolyline%20points=%2220%206%209%2017%204%2012%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpolyline%20points=%2220%206%209%2017%204%2012%22/%3E%3C/svg%3E");
}
.feather-compass::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Cpolygon%20points=%2216%208%2014%2014%208%2016%2010%2010%2016%208%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Cpolygon%20points=%2216%208%2014%2014%208%2016%2010%2010%2016%208%22/%3E%3C/svg%3E");
}
.feather-file-text::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22/%3E%3Cpolyline%20points=%2214%202%2014%208%2020%208%22/%3E%3Cline%20x1=%228%22%20y1=%2213%22%20x2=%2216%22%20y2=%2213%22/%3E%3Cline%20x1=%228%22%20y1=%2217%22%20x2=%2216%22%20y2=%2217%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22/%3E%3Cpolyline%20points=%2214%202%2014%208%2020%208%22/%3E%3Cline%20x1=%228%22%20y1=%2213%22%20x2=%2216%22%20y2=%2213%22/%3E%3Cline%20x1=%228%22%20y1=%2217%22%20x2=%2216%22%20y2=%2217%22/%3E%3C/svg%3E");
}
.feather-refresh-cw::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpolyline%20points=%2223%204%2023%2010%2017%2010%22/%3E%3Cpolyline%20points=%221%2020%201%2014%207%2014%22/%3E%3Cpath%20d=%22M3.5%209a9%209%200%200%201%2014.8-3.4L23%2010M1%2014l4.7%204.4A9%209%200%200%200%2020.5%2015%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpolyline%20points=%2223%204%2023%2010%2017%2010%22/%3E%3Cpolyline%20points=%221%2020%201%2014%207%2014%22/%3E%3Cpath%20d=%22M3.5%209a9%209%200%200%201%2014.8-3.4L23%2010M1%2014l4.7%204.4A9%209%200%200%200%2020.5%2015%22/%3E%3C/svg%3E");
}
.feather-shield::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%2022s8-4%208-10V5l-8-3-8%203v7c0%206%208%2010%208%2010z%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%2022s8-4%208-10V5l-8-3-8%203v7c0%206%208%2010%208%2010z%22/%3E%3C/svg%3E");
}

/* === 404 page === */
.error-page-main {
  min-height: 62vh;
  padding: 58px 0 72px;
  background:
    radial-gradient(circle at 14% 12%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 32%),
    radial-gradient(circle at 86% 28%, color-mix(in srgb, var(--brand-blue) 8%, transparent), transparent 30%),
    var(--bg);
}
.error-page-card {
  display: grid;
  grid-template-columns: minmax(300px,.82fr) minmax(0,1.18fr);
  gap: clamp(34px,5vw,72px);
  align-items: center;
  padding: clamp(30px,5vw,64px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 22px 70px rgba(6,27,85,.08);
  overflow: hidden;
  position: relative;
}
.error-page-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  right: -120px;
  top: -120px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  pointer-events: none;
}
.error-page-visual {
  position: relative;
  min-height: 310px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.error-page-code {
  position: relative;
  z-index: 3;
  font-size: clamp(6rem,12vw,10.5rem);
  line-height: .8;
  letter-spacing: -.085em;
  font-weight: 800;
  color: var(--heading);
  text-shadow: 0 15px 35px rgba(6,27,85,.10);
}
.error-page-code::after {
  content: "";
  display: block;
  width: 64%;
  height: 10px;
  margin: 24px auto 0;
  border-radius: 50%;
  background: rgba(6,27,85,.10);
  filter: blur(6px);
}
.error-page-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  pointer-events: none;
}
.error-page-orbit-one { width: 280px; height: 280px; }
.error-page-orbit-two { width: 210px; height: 210px; border-style: dashed; opacity: .72; }
.error-page-search-icon {
  position: absolute;
  z-index: 4;
  right: 15%;
  top: 18%;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 25px;
  box-shadow: 0 15px 30px color-mix(in srgb, var(--accent) 30%, transparent);
  transform: rotate(-8deg);
}
.error-page-content { position: relative; z-index: 2; }
.error-page-content h1 {
  margin: 9px 0 14px;
  max-width: 720px;
  color: var(--heading);
  font-size: clamp(2rem,4vw,3.4rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.error-page-content > p {
  margin: 0;
  max-width: 690px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.78;
}
.error-page-search {
  margin-top: 28px;
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.error-page-search:focus-within {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent);
  transform: translateY(-1px);
}
.error-page-search > i { color: var(--muted); font-size: 20px; }
.error-page-search input {
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
}
.error-page-search input::placeholder { color: var(--muted); opacity: .78; }
.error-page-search button {
  min-width: 86px;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.error-page-search button:hover { transform: translateY(-1px); filter: brightness(.96); }
.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.error-page-primary,.error-page-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 750;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.error-page-primary {
  color: #fff;
  background: var(--heading);
  box-shadow: 0 10px 24px rgba(6,27,85,.14);
}
.error-page-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(6,27,85,.18); }
.error-page-secondary { color: var(--heading); border: 1px solid var(--border); background: var(--card); }
.error-page-secondary:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.error-page-shortcuts { margin-top: 34px; }
.error-page-section-head h2 {
  margin: 7px 0 0;
  color: var(--heading);
  font-size: clamp(1.35rem,2.5vw,1.85rem);
  letter-spacing: -.025em;
}
.error-page-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}
.error-page-shortcut {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(6,27,85,.045);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.error-page-shortcut:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--border));
  box-shadow: 0 16px 34px rgba(6,27,85,.08);
}
.error-page-shortcut-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, var(--card));
  color: var(--accent);
  font-size: 20px;
}
.error-page-shortcut strong { display: block; color: var(--heading); font-size: .98rem; }
.error-page-shortcut small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.45; font-size: .79rem; }
.error-page-shortcut > i:last-child { color: var(--muted); transition: transform .25s ease, color .25s ease; }
.error-page-shortcut:hover > i:last-child { color: var(--accent); transform: translateX(3px); }
@media (max-width: 980px) {
  .error-page-card { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .error-page-visual { min-height: 230px; }
  .error-page-content > p { margin-inline: auto; }
  .error-page-actions { justify-content: center; }
  .error-page-shortcut-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .error-page-main { padding: 28px 0 54px; }
  .error-page-card { padding: 26px 18px 28px; border-radius: 16px; }
  .error-page-visual { min-height: 180px; }
  .error-page-code { font-size: clamp(5.4rem,29vw,7.6rem); }
  .error-page-orbit-one { width: 190px; height: 190px; }
  .error-page-orbit-two { width: 145px; height: 145px; }
  .error-page-search-icon { width: 48px; height: 48px; right: 11%; top: 12%; font-size: 20px; border-radius: 14px; }
  .error-page-content h1 { font-size: clamp(1.75rem,8.5vw,2.35rem); }
  .error-page-search { grid-template-columns: auto minmax(0,1fr); padding: 9px 12px; }
  .error-page-search button { grid-column: 1 / -1; width: 100%; }
  .error-page-actions { display: grid; grid-template-columns: 1fr; }
  .error-page-primary,.error-page-secondary { width: 100%; }
  .error-page-shortcut { grid-template-columns: 44px minmax(0,1fr) auto; padding: 15px; }
  .error-page-shortcut-icon { width: 44px; height: 44px; }
}

/* ===== Tools archive + single tool pages ===== */
.tools-archive-main,.tool-detail-main{padding:26px 0 72px;background:var(--bg)}
.tools-archive-hero{display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:center;gap:28px;margin:14px 0 26px;padding:34px;border:1px solid var(--border);border-radius:22px;background:var(--card);box-shadow:0 16px 45px rgba(6,27,85,.055);overflow:hidden;position:relative}.tools-archive-hero::after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-120px;top:-130px;background:color-mix(in srgb,var(--accent) 9%,transparent);pointer-events:none}.tools-archive-hero h1,.tool-detail-header h1{margin:8px 0 12px;color:var(--heading);font-size:clamp(2.15rem,4vw,3.6rem);line-height:1.04;letter-spacing:-.045em}.tools-archive-hero p,.tool-detail-header>p{max-width:780px;margin:0;color:var(--muted);font-size:1.03rem;line-height:1.78}.tools-archive-stat{position:relative;z-index:1;min-height:122px;display:grid;place-content:center;text-align:center;border-radius:18px;background:color-mix(in srgb,var(--accent) 9%,var(--card));border:1px solid color-mix(in srgb,var(--accent) 18%,var(--border))}.tools-archive-stat strong{display:block;color:var(--accent);font-size:2.5rem;line-height:1}.tools-archive-stat span{margin-top:8px;color:var(--muted);font-size:.85rem;font-weight:700}
.tools-finder{margin:0 0 32px;padding:26px;border:1px solid var(--border);border-radius:18px;background:var(--card)}.tools-finder-head h2,.tools-section-heading h2{margin:6px 0 0;color:var(--heading);font-size:clamp(1.45rem,2.6vw,2rem);letter-spacing:-.03em}.tools-search-box{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:18px;padding:7px 8px 7px 16px;border:1px solid var(--border);border-radius:14px;background:var(--bg);transition:border-color .2s ease,box-shadow .2s ease}.tools-search-box:focus-within{border-color:color-mix(in srgb,var(--accent) 55%,var(--border));box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 9%,transparent)}.tools-search-box>i{color:var(--muted)}.tools-search-box input{height:44px;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font:inherit}.tools-search-box span{padding:8px 11px;border-radius:10px;background:var(--card);color:var(--muted);font-size:.78rem;font-weight:750;white-space:nowrap}.tools-category-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.tools-category-chips button{min-height:38px;padding:0 14px;border:1px solid var(--border);border-radius:999px;background:var(--card);color:var(--text);font:inherit;font-size:.86rem;font-weight:700;cursor:pointer;transition:.2s ease}.tools-category-chips button:hover,.tools-category-chips button.is-active{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--card));color:var(--accent)}
.tools-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.tools-section-heading>p{margin:0;color:var(--muted);font-size:.9rem}.tools-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tools-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:132px;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--card);color:var(--text);box-shadow:0 10px 30px rgba(6,27,85,.04);transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}.tools-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--accent) 36%,var(--border));box-shadow:0 17px 35px rgba(6,27,85,.08)}.tools-card[hidden]{display:none!important}.tools-card-icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 9%,var(--card));color:var(--accent);font-size:21px}.tools-card-body small{display:block;color:var(--accent);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.tools-card-body strong{display:block;margin-top:4px;color:var(--heading);font-size:1rem;line-height:1.3}.tools-card-body em{display:block;margin-top:6px;color:var(--muted);font-size:.8rem;line-height:1.5;font-style:normal}.tools-card>i:last-child{color:var(--muted);transition:transform .2s ease,color .2s ease}.tools-card:hover>i:last-child{transform:translateX(3px);color:var(--accent)}.tools-empty{padding:40px 20px;text-align:center;border:1px dashed var(--border);border-radius:16px;background:var(--card)}.tools-empty i{display:block;margin-bottom:10px;color:var(--accent);font-size:25px}.tools-empty strong{display:block;color:var(--heading)}.tools-empty span{display:block;margin-top:5px;color:var(--muted);font-size:.88rem}.tools-info-strip{margin-top:22px}.tools-info-strip>div{display:flex;gap:12px;padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--accent) 4%,var(--card));color:var(--muted);line-height:1.6}.tools-info-strip i{margin-top:3px;color:var(--accent)}.tools-info-strip p{margin:0}
.tool-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.tool-detail-header{padding:30px 30px 0}.tool-detail-article{min-width:0;border:1px solid var(--border);border-radius:20px;background:var(--card);box-shadow:0 14px 42px rgba(6,27,85,.05);overflow:hidden}.tool-detail-header .single-meta{margin-top:18px}.tool-calculator{margin:28px 30px 10px;padding:24px;border:1px solid color-mix(in srgb,var(--accent) 24%,var(--border));border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 6%,var(--card)),var(--card));box-shadow:0 16px 40px rgba(6,27,85,.055)}.tool-calculator-head{display:flex;align-items:start;justify-content:space-between;gap:16px}.tool-calculator-head h2{margin:5px 0 0;color:var(--heading);font-size:1.55rem}.tool-calculator-badge{padding:7px 10px;border-radius:999px;background:color-mix(in srgb,var(--accent) 10%,var(--card));color:var(--accent);font-size:.72rem;font-weight:800}.tool-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:20px}.tool-field label{display:block;margin-bottom:7px;color:var(--heading);font-size:.84rem;font-weight:750}.tool-field label span{color:var(--muted);font-weight:600}.tool-field input{width:100%;height:48px;padding:0 13px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font:inherit;outline:0;transition:border-color .2s ease,box-shadow .2s ease}.tool-field input:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 9%,transparent)}.tool-form-actions{grid-column:1/-1;display:flex;gap:10px;margin-top:3px}.tool-primary-button,.tool-secondary-button{min-height:46px;padding:0 18px;border-radius:12px;font:inherit;font-weight:800;cursor:pointer}.tool-primary-button{display:inline-flex;align-items:center;gap:8px;border:0;background:var(--heading);color:#fff}.tool-secondary-button{border:1px solid var(--border);background:var(--card);color:var(--heading)}.tool-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 20px;align-items:center;margin-top:18px;padding:18px;border-radius:14px;background:var(--heading);color:#fff}.tool-result>span{font-size:.8rem;opacity:.8}.tool-result strong{grid-row:1/3;grid-column:2;font-size:1.45rem}.tool-result strong b{font-size:2rem}.tool-result p{margin:0;font-size:.82rem;opacity:.78}.tool-disclaimer{display:flex;gap:9px;margin:16px 0 0;color:var(--muted);font-size:.78rem;line-height:1.55}.tool-disclaimer i{flex:0 0 auto;margin-top:2px;color:var(--accent)}.tool-article-content{padding-top:22px}.tool-related-content{margin-top:32px}.tool-related-list{display:grid;gap:10px;margin-top:14px}.tool-related-list a{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 15px;border:1px solid var(--border);border-radius:12px;color:var(--text);transition:.2s ease}.tool-related-list a:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--border));transform:translateX(2px)}.tool-related-list span{color:var(--accent);font-size:.75rem;font-weight:800}.tool-related-list strong{color:var(--heading);font-size:.9rem}.tool-related-list i{color:var(--muted)}.tool-more-tools{padding:0 30px 30px}.tool-sidebar{position:sticky;top:112px}.tool-sidebar-facts div{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--border)}.tool-sidebar-facts div:last-child{border-bottom:0}.tool-sidebar-facts span{color:var(--muted);font-size:.82rem}.tool-sidebar-facts strong{color:var(--heading);font-size:.85rem}
@media(max-width:1080px){.tools-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-detail-layout{grid-template-columns:1fr}.tool-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tool-sidebar .sidebar-panel{margin:0}}
@media(max-width:760px){.tools-archive-hero{grid-template-columns:1fr;padding:26px}.tools-archive-stat{min-height:90px}.tools-section-heading{align-items:start;flex-direction:column;gap:7px}.tools-card-grid{grid-template-columns:1fr}.tool-form{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-sidebar{grid-template-columns:1fr}.tool-detail-header{padding:24px 20px 0}.tool-calculator{margin:22px 20px 8px;padding:20px}.tool-more-tools{padding:0 20px 22px}}
@media(max-width:520px){.tools-search-box{grid-template-columns:auto minmax(0,1fr)}.tools-search-box span{grid-column:1/-1;text-align:center}.tools-finder{padding:20px}.tools-card{grid-template-columns:46px minmax(0,1fr) auto;padding:15px;min-height:118px}.tools-card-icon{width:46px;height:46px}.tool-form{grid-template-columns:1fr}.tool-form-actions{display:grid;grid-template-columns:1fr}.tool-result{grid-template-columns:1fr}.tool-result strong{grid-row:auto;grid-column:auto}.tool-related-list a{grid-template-columns:1fr auto}.tool-related-list span{grid-column:1/-1}}

/* Tool detail page spacing alignment — scoped to arac.html only. */
.tool-detail-main {
  padding: 34px 0 82px;
  background: var(--page);
}
.tool-detail-main .single-breadcrumb {
  margin-bottom: 18px;
}
.tool-detail-main .tool-detail-layout {
  gap: 42px;
}
@media (max-width: 760px) {
  .tool-detail-main {
    padding-top: 24px;
  }
}
@media (max-width: 620px) {
  .tool-detail-main {
    padding-bottom: 58px;
  }
}

/* Tool article inner gutters — match the approved page/single rhythm. */
.tool-detail-main .tool-article-content {
  max-width: none;
  padding: 22px 30px 0;
}
@media (max-width: 760px) {
  .tool-detail-main .tool-article-content {
    padding: 20px 20px 0;
  }
}


/* =========================================================
   Listing templates: search / archive / tag / author
   Scoped so approved existing pages remain unchanged.
   ========================================================= */
.listing-page-main{padding:34px 0 82px;background:var(--page)}
.listing-page-breadcrumb{margin-bottom:18px}
.listing-page-header{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:30px;padding:28px 30px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 12px 34px rgba(6,27,85,.035)}
.listing-page-header>div:first-child{min-width:0}.listing-page-header h1{margin:5px 0 9px;color:var(--heading);font-size:clamp(2rem,3.5vw,3rem);line-height:1.06;letter-spacing:-.045em}.listing-page-header p{max-width:760px;margin:0;color:var(--muted);font-size:.94rem;line-height:1.68}
.listing-page-stat{flex:none;min-width:112px;padding-left:24px;border-left:1px solid var(--border);text-align:right}.listing-page-stat strong{display:block;color:var(--heading);font-size:1.7rem;line-height:1}.listing-page-stat span{display:block;margin-top:6px;color:var(--muted);font-size:.74rem}
.listing-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:42px;align-items:start}.listing-page-sidebar{position:sticky;top:112px}.listing-page-links a{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--border);color:var(--muted);font-size:.8rem;font-weight:700;transition:color .2s ease}.listing-page-links a:last-child{border-bottom:0}.listing-page-links a:hover{color:var(--accent)}.listing-page-links .icon{width:18px;color:var(--accent)}
.search-page-header{display:block}.search-page-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;max-width:760px;margin-top:20px;padding:7px 7px 7px 15px;border:1px solid var(--border);border-radius:13px;background:var(--page);transition:border-color .2s ease,box-shadow .2s ease}.search-page-form:focus-within{border-color:rgba(var(--accent-rgb),.46);box-shadow:0 0 0 4px rgba(var(--accent-rgb),.07)}.search-page-form>.icon{color:var(--accent)}.search-page-form input{min-width:0;height:43px;border:0;outline:0;background:transparent;color:var(--text);font:inherit}.search-page-form button{height:41px;padding:0 18px;border:0;border-radius:10px;background:var(--heading);color:#fff;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}.search-empty-state{padding:52px 24px;text-align:center;border:1px dashed var(--border);border-radius:16px;background:var(--surface)}.search-empty-state>.icon{font-size:28px;color:var(--accent)}.search-empty-state h2{margin:12px 0 7px;color:var(--heading)}.search-empty-state p{margin:0 0 17px;color:var(--muted)}.search-empty-state a{display:inline-flex;padding:10px 15px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-size:.78rem;font-weight:800}
.archive-months,.tag-cloud-nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:-12px 0 30px}.archive-months a,.tag-cloud-nav a{padding:8px 13px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);font-size:.76rem;font-weight:700;transition:.2s ease}.archive-months a:hover,.tag-cloud-nav a:hover{color:var(--accent);border-color:rgba(var(--accent-rgb),.3)}.archive-months a.is-active{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.tag-cloud-nav>span{margin-right:2px;color:var(--faint);font-size:.74rem;font-weight:700}
.author-profile-card{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:22px;margin-bottom:16px;padding:28px 30px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 12px 34px rgba(6,27,85,.035)}.author-profile-avatar{width:78px;height:78px;display:grid;place-items:center;border-radius:22px;background:rgba(var(--accent-rgb),.09);color:var(--accent);font-size:28px}.author-profile-copy h1{margin:5px 0 8px;color:var(--heading);font-size:clamp(1.8rem,3vw,2.55rem);letter-spacing:-.04em}.author-profile-copy p{max-width:800px;margin:0;color:var(--muted);font-size:.9rem;line-height:1.7}.author-profile-meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:13px;color:var(--faint);font-size:.72rem}.author-profile-meta span{display:inline-flex;align-items:center;gap:6px}.author-profile-meta .icon{color:var(--accent)}.author-policy-link{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:var(--accent);font-size:.76rem;font-weight:800}.author-policy-link .icon{font-size:12px;transition:transform .2s ease}.author-policy-link:hover .icon{transform:translateX(3px)}
.author-trust-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:30px}.author-trust-strip>div{display:flex;gap:10px;padding:14px 15px;border:1px solid var(--border);border-radius:13px;background:var(--surface);color:var(--muted);font-size:.76rem;line-height:1.5}.author-trust-strip .icon{flex:none;margin-top:2px;color:var(--accent)}.author-trust-strip strong{color:var(--heading)}
@media(max-width:1080px){.listing-page-layout{grid-template-columns:1fr}.listing-page-sidebar{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.listing-page-sidebar .sidebar-panel{margin:0}.author-profile-card{grid-template-columns:70px minmax(0,1fr)}.author-policy-link{grid-column:2}.author-trust-strip{grid-template-columns:1fr}}
@media(max-width:760px){.listing-page-main{padding-top:24px}.listing-page-header{align-items:flex-start;padding:24px 22px}.listing-page-stat{min-width:auto;padding-left:18px}.listing-page-sidebar{grid-template-columns:1fr}.author-profile-card{grid-template-columns:58px minmax(0,1fr);padding:22px}.author-profile-avatar{width:58px;height:58px;border-radius:17px;font-size:22px}.author-policy-link{grid-column:1/-1}.archive-months,.tag-cloud-nav{margin-top:-8px}}
@media(max-width:560px){.listing-page-header{display:block}.listing-page-stat{margin-top:18px;padding:16px 0 0;border-left:0;border-top:1px solid var(--border);text-align:left}.search-page-form{grid-template-columns:auto minmax(0,1fr)}.search-page-form button{grid-column:1/-1}.author-profile-card{grid-template-columns:1fr}.author-policy-link{grid-column:auto}.archive-months,.tag-cloud-nav{gap:7px}}

/* Search page live/AJAX states. Scoped to search.html only. */
.search-page-form.is-loading{border-color:rgba(var(--accent-rgb),.34)}
.search-page-form button:disabled{cursor:wait;opacity:.72}
.search-page-main [data-search-results][aria-busy="true"]{opacity:.58;transition:opacity .18s ease}
.search-page-main .search-result-card{animation:searchResultIn .32s cubic-bezier(.22,1,.36,1) both}
.search-page-main .search-result-card:nth-child(2){animation-delay:.025s}
.search-page-main .search-result-card:nth-child(3){animation-delay:.05s}
.search-page-main .search-result-card:nth-child(4){animation-delay:.075s}
.search-page-main .search-result-card:nth-child(5){animation-delay:.1s}
.search-page-main .search-result-card:nth-child(6){animation-delay:.125s}
.search-page-main .search-result-card:nth-child(7){animation-delay:.15s}
.search-page-main .search-result-card:nth-child(8){animation-delay:.175s}
@keyframes searchResultIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.search-page-main .search-result-card{animation:none}}

/* Dark action buttons: mirror the existing topbar Hızlı Arama visual/hover behavior.
   IMPORTANT: .header-cta itself is intentionally untouched. */
.tool-primary-button,
.search-page-form button,
.error-page-primary {
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 0 0 0 var(--surface);
  transition: all .5s ease;
}

.tool-primary-button:hover,
.tool-primary-button:focus-visible,
.search-page-form button:hover,
.search-page-form button:focus-visible,
.error-page-primary:hover,
.error-page-primary:focus-visible {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--accent);
  box-shadow: inset 0 70px 0 0 var(--surface);
  transform: none;
  filter: none;
}
