/*
Theme Name: The Internet Chicks Editorial
Theme URI: https://theinternetchicks.co.uk/
Description: Editorial child theme matching the supplied The Internet Chicks demo.
Author: The Internet Chicks
Version: 1.0.18
Requires at least: 6.0
Requires PHP: 7.4
Template: generatepress
Text Domain: the-internet-chicks
*/

:root {
  --charcoal: #1C1123;
  --ivory: #FBF6F1;
  --white: #FFFFFF;
  --accent: #C81F6E;
  --accent-deep: #9E1656;
  --gold: #B8863B;
  --muted: #5F515F;
  --line: rgba(28,17,35,0.14);
  --focus: #C81F6E;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: optional;
  src: url('assets/fonts/fraunces-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body, button, input, textarea, select { font-family: 'Manrope', sans-serif; }
h1, h2, h3, h4, .serif {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}
a:hover, a:focus-visible { text-decoration-thickness: 2px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--charcoal);
  color: var(--ivory);
  font-weight: 700;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

.ph { position: relative; overflow: hidden; background: var(--charcoal); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ph-a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(28,17,35,0.15) 0%, rgba(200,31,110,0.22) 100%); z-index: 1; }
.ph-b::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(28,17,35,0.15) 0%, rgba(184,134,59,0.22) 100%); z-index: 1; }
.ph-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.18); z-index: 1; }
.cat-icon { position: absolute; top: 16px; right: 16px; z-index: 2; width: 30px; height: 30px; color: #fff; opacity: 0.95; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5)); }
.cat-icon svg { width: 100%; height: 100%; }
.side-card .cat-icon, .article-card .cat-icon { width: 22px; height: 22px; top: 10px; right: 10px; }
.ph-tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: var(--white); color: var(--charcoal); font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 2px; letter-spacing: 0.01em; }

.topbar { background: var(--charcoal); color: #D9D9DC; font-size: 13px; padding: 9px 0; }
.topbar .wrap { display: flex; justify-content: flex-start; align-items: center; }
.topbar-date { display: flex; align-items: center; }
.topbar .dot { color: var(--gold); margin: 0 8px; }

header.masthead { background: var(--ivory); border-bottom: 1px solid var(--line); padding: 0; }
.logo-row { padding: 26px 0 23px; }
.logo-row-inner { display: flex; align-items: center; justify-content: center; }
.logo { display: flex; align-items: baseline; gap: 2px; flex-shrink: 0; }
.logo .main { font-family: 'Fraunces', serif; font-weight: 600; font-size: 31px; line-height: 1; }
.logo .main span { color: var(--accent); }
.tic-logo { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 0 10px; isolation: isolate; white-space: nowrap; }
.tic-logo::before { content: ''; position: absolute; z-index: 0; top: 48%; right: -14px; left: -14px; height: 5px; background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--accent) 46%, var(--gold) 82%, transparent); opacity: 0; pointer-events: none; transform: skewX(-22deg) translateX(-112%) scaleX(.28); transform-origin: left center; animation: tic-logo-strike 720ms cubic-bezier(.16,1,.3,1) 120ms forwards, tic-logo-strike-pulse 5.2s ease-in-out 1.35s infinite; }
.tic-logo::after { content: ''; position: absolute; z-index: 3; right: -8px; bottom: 0; width: 9px; height: 9px; background: var(--accent); opacity: 0; pointer-events: none; transform: rotate(45deg) scale(0); animation: tic-logo-chip 420ms cubic-bezier(.16,1,.3,1) 760ms forwards; }
.tic-logo-mark, .tic-logo .main { position: relative; z-index: 2; }
.tic-logo-mark { display: block; width: 36px; height: 36px; flex: 0 0 36px; overflow: visible; animation: tic-logo-mark-in 560ms cubic-bezier(.16,1,.3,1) both; }
.tic-mark-ring { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 114; stroke-dashoffset: 114; animation: tic-mark-ring 900ms cubic-bezier(.16,1,.3,1) 120ms forwards; }
.tic-mark-c { fill: none; stroke: var(--charcoal); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 58; stroke-dashoffset: 58; animation: tic-mark-c 720ms cubic-bezier(.16,1,.3,1) 330ms forwards; }
.tic-mark-i { fill: none; stroke: var(--accent); stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: tic-mark-i 500ms cubic-bezier(.16,1,.3,1) 560ms forwards; }
.tic-mark-spark { fill: var(--accent); opacity: 0; transform-origin: 36px 14px; animation: tic-mark-spark 560ms cubic-bezier(.16,1,.3,1) 720ms both, tic-mark-spark-pulse 4.8s ease-in-out 2.2s infinite; }
.tic-mark-dot { fill: var(--gold); opacity: 0; animation: tic-mark-dot 420ms ease-out 820ms forwards; }
.tic-logo .main { font-size: 38px; animation: tic-logo-impact 5.2s ease-in-out 1.05s infinite; }
.tic-logo .chicks { display: inline-block; color: transparent; background: linear-gradient(110deg, var(--gold) 8%, var(--accent) 42%, var(--gold) 66%, var(--accent) 92%) 100% 50% / 260% 100%; background-clip: text; -webkit-background-clip: text; animation: tic-chicks-charge 2.4s cubic-bezier(.22,.61,.36,1) 520ms both, tic-chicks-shimmer 4.2s ease-in-out 2.9s infinite; }
.tic-logo-underline { position: absolute; z-index: 2; right: -3px; bottom: 1px; left: -3px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--accent) 48%, var(--gold)); box-shadow: 0 2px 0 rgba(28,17,35,0.16); transform: scaleX(0); transform-origin: left center; animation: tic-logo-underline 780ms cubic-bezier(.16,1,.3,1) 410ms forwards; }
@keyframes tic-logo-mark-in { from { opacity: 0; transform: translateX(-16px) rotate(-10deg) scale(.75); } to { opacity: 1; transform: none; } }
@keyframes tic-mark-ring { to { stroke-dashoffset: 0; } }
@keyframes tic-mark-c { to { stroke-dashoffset: 0; } }
@keyframes tic-mark-i { to { stroke-dashoffset: 0; } }
@keyframes tic-mark-spark { from { opacity: 0; transform: rotate(-24deg) scale(.55); } to { opacity: 1; transform: none; } }
@keyframes tic-mark-spark-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .72; transform: scale(.88); } }
@keyframes tic-mark-dot { to { opacity: 1; } }
@keyframes tic-logo-strike { 0% { opacity: 0; transform: skewX(-22deg) translateX(-112%) scaleX(.28); } 34% { opacity: 1; } 100% { opacity: .88; transform: skewX(-22deg) translateX(0) scaleX(1); } }
@keyframes tic-logo-chip { from { opacity: 0; transform: rotate(45deg) scale(0); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
@keyframes tic-logo-impact { 0%, 100% { transform: none; } 4% { transform: translateX(-3px) skewX(-2deg); } 7% { transform: translateX(3px) skewX(2deg); } 10% { transform: translateY(-1px) scale(1.015); } 14% { transform: none; } }
@keyframes tic-chicks-charge { from { opacity: 0; transform: translateX(18px) skewX(8deg); background-position: 0% 50%; } to { opacity: 1; transform: none; background-position: 100% 50%; } }
@keyframes tic-chicks-shimmer { 0%, 100% { background-position: 100% 50%; } 50% { background-position: 0% 50%; } }
@keyframes tic-logo-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tic-logo-strike-pulse { 0%, 100% { opacity: .88; } 6%, 10% { opacity: .48; } 8% { opacity: 1; } }
.nav-row { border-top: 1px solid var(--line); }
.nav-row-inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 58px; gap: 18px; }
nav.primary { display: flex; align-items: center; min-width: 0; }
nav.primary .menu { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.35vw, 20px); margin: 0; padding: 0; list-style: none; }
nav.primary a { position: relative; padding: 7px 2px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
nav.primary a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .15s ease; }
nav.primary a:hover::after, nav.primary a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.contact-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border-radius: 4px; background: var(--charcoal); color: var(--white); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; text-decoration: none; }
.contact-btn:hover, .contact-btn:focus-visible { background: var(--accent); color: var(--white); text-decoration: none; }
.icon-btn { width: 34px; min-width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: none; color: var(--charcoal); cursor: pointer; }
.icon-btn svg { display: block; flex: 0 0 16px; width: 16px; height: 16px; }
.icon-btn:hover, .icon-btn:focus-visible { background: rgba(28,17,35,0.08); }
.menu-toggle { display: none; padding: 8px 10px; background: none; border: 1.5px solid var(--charcoal); border-radius: 4px; color: var(--charcoal); cursor: pointer; }
.mobile-menu { display: none !important; }
.mobile-menu.is-open { display: block !important; }
.search-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 80px 28px 40px; background: rgba(28,17,35,0.94); color: var(--white); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.search-overlay[hidden] { display: none; }
.search-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.search-overlay-close { position: fixed; top: 28px; right: 28px; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.45); border-radius: 50%; background: transparent; color: var(--white); font-family: Arial, sans-serif; font-size: 31px; font-weight: 300; line-height: 1; cursor: pointer; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.search-overlay-close:hover, .search-overlay-close:focus-visible { border-color: var(--gold); background: var(--gold); color: var(--charcoal); transform: rotate(90deg); }
.search-dialog { width: min(760px, 100%); transform: translateY(10px) scale(.97); transition: transform .22s ease; }
.search-overlay.is-open .search-dialog { transform: none; }
.search-eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.search-input-row { display: flex; align-items: center; gap: 12px; }
.search-input-row input { width: 100%; min-width: 0; height: 64px; padding: 0 22px; border: 1px solid rgba(255,255,255,0.55); border-radius: 3px; background: var(--white); color: var(--charcoal); font-size: 19px; }
.search-input-row input::placeholder { color: #7B7180; opacity: 1; }
.search-submit { display: inline-flex; flex: 0 0 58px; align-items: center; justify-content: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: var(--gold); color: var(--white); cursor: pointer; transition: background .16s ease, transform .16s ease; }
.search-submit svg { width: 23px; height: 23px; }
.search-submit:hover, .search-submit:focus-visible { background: var(--accent); color: var(--white); transform: translateX(2px); }
.search-divider { height: 1px; margin: 38px 0 24px; background: rgba(255,255,255,0.24); }
.search-topics-label { margin: 0 0 14px; color: rgba(255,255,255,0.62); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.search-topics { display: flex; flex-wrap: wrap; gap: 10px; }
.search-topic { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.38); border-radius: 999px; color: var(--white); font-size: 12.5px; font-weight: 700; line-height: 1.2; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.search-topic:hover, .search-topic:focus-visible { border-color: var(--gold); background: var(--gold); color: var(--charcoal); text-decoration: none; }
body.search-is-open { overflow: hidden; }

.hero { padding: 52px 0 60px; border-bottom: 1px solid var(--line); }
.hero-more { padding-top: 12px; padding-bottom: 36px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: stretch; }
.hero-lead .eyebrow { display: block; margin-bottom: 14px; color: var(--accent); font-size: 13.5px; font-weight: 700; }
.hero-lead h1 { margin-bottom: 20px; font-size: 50px; line-height: 1.08; }
.hero-lead p.dek { max-width: 46ch; margin: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.hero-meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13.5px; }
.avatar { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--charcoal)); }
.hero-meta .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hero-feature-img { height: 100%; min-height: 340px; border-radius: 2px; }
.hero-feature-img .cat-icon { width: 46px; height: 46px; top: 24px; right: 24px; }
.hero-side { display: flex; gap: 32px; }
.side-card { display: flex; flex: 1 1 0; gap: 16px; align-items: flex-start; min-width: 0; }
.side-card .ph { width: 108px; height: 80px; flex-shrink: 0; border-radius: 2px; }
.side-card .cat, .article-card .cat { display: block; margin-bottom: 5px; color: var(--accent); font-size: 12px; font-weight: 700; }
.side-card h3 { font-size: 16.5px; line-height: 1.32; font-weight: 500; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; border-bottom: 2px solid var(--charcoal); padding-bottom: 14px; }
.section-head h2 { font-size: 28px; }
.section-head h1 { font-size: 28px; }
.section-head .see-all { color: var(--accent); font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.categories { padding: 64px 0; background: var(--white); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 16px; }
.cat-tile { position: relative; display: flex; align-items: flex-end; padding: 20px; overflow: hidden; color: #fff; border-radius: 3px; }
.cat-tile .cat-name { position: relative; z-index: 2; font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.cat-tile .cat-count { position: relative; z-index: 2; display: block; margin-top: 2px; opacity: 0.92; font-size: 12.5px; text-shadow: 0 1px 6px rgba(0,0,0,0.45); }
.big-1, .big-2 { grid-column: span 2; grid-row: span 2; }

.trending { padding: 64px 0; background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trend-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; padding: 0; list-style: none; }
.trend-list li { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.trend-num { width: 38px; flex-shrink: 0; color: var(--accent); font-family: 'Fraunces', serif; font-size: 30px; font-weight: 500; }
.trend-list h3 { font-size: 16.5px; line-height: 1.35; font-weight: 600; }
.trend-list .cat { color: var(--muted); font-size: 12px; font-weight: 700; }

.newsletter { padding: 60px 0; background: var(--charcoal); color: var(--ivory); }
.newsletter .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter h2 { max-width: 14ch; color: #fff; font-size: 30px; }
.newsletter p { max-width: 40ch; margin: 10px 0 0; color: #C6C6CB; font-size: 15px; }
.nl-form { display: flex; gap: 10px; flex-shrink: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nl-form input { width: 260px; padding: 14px 16px; border: 1.5px solid transparent; border-radius: 2px; font-size: 14px; }
.nl-form button { padding: 14px 22px; border: none; border-radius: 2px; background: var(--gold); color: var(--charcoal); font-size: 14px; font-weight: 700; cursor: pointer; }
.nl-form button:hover, .nl-form button:focus-visible { background: #fff; }
.newsletter-status { width: 100%; margin-top: 12px; color: #fff; font-size: 13px; }

.latest, .archive-section { padding: 64px 0; }
.latest-grid, .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.article-card .ph { height: 190px; margin-bottom: 16px; border-radius: 2px; }
.article-card .cat { margin-bottom: 8px; }
.article-card h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.35; font-weight: 500; }
.article-card h3 a:hover, .article-card h3 a:focus-visible { text-decoration: underline; }
.article-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 12px; }
.pagination a, .pagination span { padding: 8px 12px; border: 1px solid var(--line); color: var(--accent); font-size: 13px; font-weight: 700; }

.single-article { padding: 52px 0 64px; }
.single-header { max-width: 820px; margin-bottom: 30px; }
.single-header .eyebrow { display: block; margin-bottom: 14px; color: var(--accent); font-size: 13.5px; font-weight: 700; }
.single-header h1 { font-size: 50px; line-height: 1.08; }
.single-dek { max-width: 62ch; margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.single-image { max-width: 900px; min-height: 340px; margin: 30px auto 42px; }
.single-content { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; }
.single-content h2, .single-content h3 { margin: 32px 0 12px; }
.single-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.single-content img { height: auto; margin: 24px 0; }
.contact-form { display: grid; gap: 18px; margin-top: 30px; }
.contact-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-field { display: grid; gap: 7px; }
.contact-field label { color: var(--charcoal); font-size: 13px; font-weight: 800; }
.contact-field input, .contact-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--charcoal); font-size: 15px; }
.contact-field input { min-height: 48px; padding: 12px 14px; }
.contact-field textarea { min-height: 150px; padding: 12px 14px; resize: vertical; }
.contact-submit { justify-self: start; padding: 12px 20px; border: 0; border-radius: 3px; background: var(--gold); color: var(--charcoal); font-size: 13px; font-weight: 800; cursor: pointer; }
.contact-submit:hover, .contact-submit:focus-visible { background: var(--accent); color: var(--white); }
.contact-form-status { margin: 24px 0 0; padding: 13px 15px; border-left: 3px solid var(--gold); background: rgba(184,134,59,0.1); color: var(--charcoal); font-size: 14px; }
.contact-form-status.is-error { border-left-color: var(--accent); background: rgba(200,31,110,0.08); }
.contact-form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer { margin-top: 20px; padding: 56px 0 26px; background: var(--charcoal); color: #C6C6CB; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.14); }
footer .footer-logo .main { color: #fff; }
footer .footer-logo .chicks { color: var(--gold); background: none; }
footer .footer-logo .tic-mark-c { stroke: var(--ivory); }
footer .footer-logo .tic-mark-i { stroke: var(--accent); }
footer .footer-logo .tic-mark-ring { stroke: var(--gold); }
footer .footer-logo .tic-mark-dot { fill: var(--gold); }
footer p.tag { max-width: 32ch; margin-top: 14px; font-size: 14px; line-height: 1.6; }
footer h4 { margin-bottom: 16px; color: #fff; font-size: 13.5px; font-weight: 700; }
footer ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
footer ul a:hover, footer ul a:focus-visible { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; }
.socials a:hover, .socials a:focus-visible { color: #fff; border-color: #fff; text-decoration: none; }
.footer-widget { margin-top: 28px; }

@media (max-width: 1080px) {
  .nav-row-inner { gap: 10px; }
  nav.primary .menu { gap: 7px; }
  nav.primary a { font-size: 11.5px; }
}

@media (max-width: 880px) {
  nav.primary { display: none; }
  .nav-row-inner { justify-content: flex-end; min-height: 56px; }
  .menu-toggle { display: block; }
  .mobile-menu { display: none; padding-top: 18px; }
  .mobile-menu.is-open { display: block; }
  .mobile-menu ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
  .mobile-menu a { display: block; padding: 8px 0; font-weight: 700; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lead h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; }
  .hero-side { flex-direction: column; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .big-1, .big-2 { grid-column: span 2; grid-row: span 1; height: 190px; }
  .trend-list { grid-template-columns: 1fr; }
  .newsletter .wrap { flex-direction: column; align-items: flex-start; }
  .nl-form { width: 100%; }
  .nl-form input { width: 100%; }
  .latest-grid, .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .single-header h1 { font-size: 34px; }
}

@media (max-width: 560px) {
  .logo-row { padding: 24px 0 21px; }
  .tic-logo .main { font-size: 29px; }
  .tic-logo-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .tic-logo { gap: 6px; }
  .nav-row-inner { padding-left: 28px; padding-right: 28px; }
  .hero { padding-top: 38px; }
  .hero-feature-img { min-height: 260px; }
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile { padding: 14px; }
  .cat-tile .cat-name { font-size: 18px; }
  .newsletter { padding: 48px 0; }
  .nl-form { flex-direction: column; }
  .nl-form button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-fields { grid-template-columns: 1fr; gap: 18px; }
  .search-overlay { padding: 74px 20px 28px; }
  .search-overlay-close { top: 18px; right: 18px; width: 42px; height: 42px; font-size: 28px; }
  .search-eyebrow { margin-bottom: 14px; font-size: 11px; letter-spacing: .14em; }
  .search-input-row { gap: 9px; }
  .search-input-row input { height: 56px; padding: 0 16px; font-size: 16px; }
  .search-submit { flex-basis: 52px; width: 52px; height: 52px; }
  .search-divider { margin: 30px 0 20px; }
  .search-topic { min-height: 36px; padding: 7px 11px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .tic-logo::before { opacity: .88; transform: skewX(-22deg) translateX(0) scaleX(1); }
  .tic-logo::after { opacity: 1; transform: rotate(45deg) scale(1); }
  .tic-logo-mark, .tic-logo .main, .tic-logo .chicks { opacity: 1; transform: none; }
  .tic-logo-mark .tic-mark-ring, .tic-logo-mark .tic-mark-c, .tic-logo-mark .tic-mark-i { stroke-dashoffset: 0; }
  .tic-logo-mark .tic-mark-spark, .tic-logo-mark .tic-mark-dot { opacity: 1; transform: none; }
  .tic-logo-underline { transform: scaleX(1); }
}

@media (max-width: 360px) {
  .tic-logo-mark { display: none; }
}
