:root {
  color-scheme: light;
  --purple: #6001d2;
  --blue: #188fff;
  --ink: #26282a;
  --muted: #6e7780;
  --line: #e0e4e9;
  --surface: #fff;
  --page: #f8f9fa;
}

@font-face {
  font-family: "SoranBayan Display";
  src: url("/grandstander-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 14px/1.45 "Helvetica Neue", Helvetica, Arial, sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid #9b66ed; outline-offset: 2px; }
.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; }

.site-header { height: 82px; background: #fff; border-bottom: 1px solid #e8ebef; }
.header-inner { max-width: 1280px; height: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; position: relative; }
.wordmark { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; height: 56px; white-space: nowrap; color: var(--purple); font: 700 22px/1 "SoranBayan Display", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.065em; }
.wordmark:hover { text-decoration: none; }
.wordmark-text { display: block; }
.wordmark img { display: block; flex: 0 0 36px; width: 36px; height: 36px; }
.search-form { display: flex; align-items: center; height: 48px; background: #fff; border: 1px solid #abb1b7; border-radius: 28px; min-width: 0; }
.search-form:focus-within { border-color: var(--purple); box-shadow: 0 0 0 2px rgb(96 1 210 / 12%); }
.search-form input { display: block; min-width: 0; flex: 1; padding: 0 20px; background: transparent; border: 0; outline: 0; color: var(--ink); font-size: 17px; }
.search-form input::placeholder { color: #707070; opacity: 1; }
.search-form button { flex: 0 0 66px; align-self: stretch; display: grid; place-items: center; border: 2px solid #fff; border-radius: 30px; color: #fff; background: #1664f4; }
.search-form button:hover { background: #094cc8; }
.search-form button svg { width: 23px; height: 23px; stroke-width: 2.4; }
.desktop-search { flex: 1; }
.account-links { display: flex; align-items: center; white-space: nowrap; }
.account-links .sign-in, .account-menu > summary { min-width: 82px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 2px solid var(--purple); border-radius: 2px; color: var(--purple); font-size: 13px; font-weight: 700; }
.account-links .sign-in:hover { text-decoration: none; background: #f7f0ff; }
.account-menu { position: relative; }
.account-menu > summary { gap: 5px; }
.account-menu > summary svg { width: 12px; height: 12px; }
.account-menu > div { position: absolute; z-index: 12; top: 38px; right: 0; min-width: 140px; display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); background: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / 12%); }
.account-menu a, .account-menu button { color: var(--purple); font-size: 13px; font-weight: 700; }
.account-menu form { margin: 0; }
.account-menu button { padding: 0; border: 0; background: transparent; }
.header-notification { flex: 0 0 auto; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--purple); }
.header-notification svg { width: 22px; height: 22px; }
.mobile-menu, .mobile-search-toggle { display: none; }

/* The original three-column reading rhythm. */
.page-layout { max-width: 1308px; margin: 0 auto; padding: 22px 24px 56px; display: grid; grid-template-columns: 192px minmax(0, 728px) 300px; gap: 20px; align-items: start; }
.main-column { min-width: 0; }
.category-sidebar { padding-top: 23px; }
.category-sidebar h2, .right-sidebar h2 { margin: 0 0 8px; color: var(--ink); font-size: 16px; font-weight: 700; }
.category-sidebar nav { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.category-nav-group { display: grid; gap: 5px; }
.category-nav-children { display: grid; gap: 5px; margin: 2px 0 4px 2px; padding-left: 11px; border-left: 2px solid #dce2e8; }
.category-sidebar a { color: var(--ink); font-size: 12px; line-height: 1.5; }
.category-sidebar a.active { color: var(--blue); font-weight: 700; }
.category-sidebar .category-nav-children a { color: #59636e; }
.category-sidebar .category-nav-children a.active { color: var(--blue); }
.aside-empty { color: var(--muted); font-size: 12px; }
.right-sidebar { padding-top: 23px; }
.sidebar-section { margin-bottom: 27px; }
.trending-list { display: grid; gap: 12px; }
.trending-list a { display: grid; gap: 2px; color: var(--ink); line-height: 1.35; }
.trending-list a:hover span { color: var(--blue); }
.trending-list small { color: var(--muted); font-size: 12px; }
.gam-ad { width: 100%; height: 0; margin: 0 auto; overflow: hidden; text-align: center; }
.gam-ad.is-filled { height: auto; margin: 22px auto; overflow: visible; }
.gam-ad > div { display: inline-block; max-width: 100%; vertical-align: top; }
.sidebar-prompt p { margin: 0 0 7px; }
.unavailable-note { color: var(--muted); font-size: 12px; }
.site-footer { max-width: 1280px; margin: 0 auto; padding: 12px 24px 28px; display: flex; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.site-footer a { color: var(--muted); }
.notifications-page { padding: 24px 32px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.notifications-page h1 { margin: 0 0 18px; font-size: 24px; }
.notification-row { display: block; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink); }
.notification-row strong { color: var(--purple); }
.notification-row time { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

/* Shared small surfaces and controls. */
.avatar { width: 34px; height: 34px; flex: 0 0 34px; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; background: #c9cdd2; color: #fff; font-size: 17px; font-weight: 600; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback { background: #b8c0cb; }
.eyebrow { color: var(--purple); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.empty-state { padding: 40px 24px; text-align: center; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.empty-state p { margin: 0; }
.empty-icon { display: inline-block; margin-bottom: 10px; }
.empty-icon svg { width: 29px; height: 29px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 16px; color: var(--muted); font-size: 13px; }
.pagination a { font-weight: 700; }
.more-link { display: inline-block; padding: 16px; font-weight: 700; }

/* Discover feed: compact topic rows with a narrow view-count rail. */
.feed-section { min-width: 0; }
.feed-tabs { height: 52px; display: flex; align-items: flex-start; gap: 40px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.feed-tabs a, .feed-tabs button { position: relative; height: 40px; display: inline-flex; align-items: center; border: 0; padding: 0; background: transparent; color: var(--ink); font-size: 17px; font-weight: 700; }
.feed-tabs a.active { color: var(--purple); }
.feed-tabs a.active::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #1997ff, var(--purple)); }
.feed-tabs button:disabled { opacity: 1; color: var(--ink); }
.feed-card { min-height: 89px; display: grid; grid-template-columns: 60px minmax(0, 1fr); padding: 22px 32px; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; }
.feed-card:first-of-type { border-radius: 8px 8px 0 0; }
.feed-card:last-of-type { border-bottom: 1px solid var(--line); border-radius: 0 0 8px 8px; }
.feed-card:first-of-type:last-of-type { border-radius: 8px; }
.feed-ad.is-filled { display: flex; align-items: center; justify-content: center; min-height: 89px; margin: 0; padding: 14px 0; background: var(--surface); border-top: 1px solid var(--line); box-shadow: inset 1px 0 var(--line), inset -1px 0 var(--line); }
.feed-views { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); line-height: 1; }
.feed-views strong { font-size: 16px; font-weight: 700; }
.feed-views svg { width: 16px; height: 16px; margin-top: 3px; stroke-width: 2.2; }
.feed-content { min-width: 0; align-self: center; }
.feed-content h2 { margin: 0 0 3px; color: #101214; font-size: 16px; font-weight: 700; line-height: 1.25; }
.feed-content h2 a { color: inherit; }
.feed-content h2 a:hover { color: var(--blue); }
.feed-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.feed-meta .meta-dot { color: #9ca5ae; }
.feed-meta time { white-space: nowrap; }

/* Question detail and answer stream. */
.question-card { padding: 24px 32px 27px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; scroll-margin-top: 95px; }
.question-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.question-breadcrumb a::after { content: "›"; color: #a7b0b9; margin-left: 8px; }
.question-author { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.question-author > div { display: flex; gap: 4px; flex-wrap: wrap; align-items: baseline; }
.question-author a { color: var(--ink); font-weight: 700; }
.question-card h1 { margin: 0; font-size: 26px; line-height: 1.22; letter-spacing: -.015em; font-weight: 700; }
.question-body { margin-top: 19px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.question-body:empty { display: none; }
.question-body p, .answer-body p { margin: 0 0 14px; }
.question-body p:last-child, .answer-body p:last-child { margin-bottom: 0; }
.post-upload { display: block; max-width: 100%; height: auto; margin: 10px 0; border-radius: 4px; }
.question-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.answer-button { height: 45px; padding: 0 20px; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 24px; background: #f0f1f4; color: var(--purple); font-size: 16px; font-weight: 700; }
.answer-button:hover { background: #e9ddfa; text-decoration: none; }
.answer-button svg { width: 23px; height: 23px; }
.question-stats { margin-top: 15px; color: var(--muted); font-size: 12px; }
.question-stats span { margin: 0 4px; }
.answers-section { padding-top: 30px; }
.answers-heading { min-height: 46px; padding: 0 32px; display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.answers-heading h2 { position: relative; margin: 0; color: #101214; font-size: 16px; line-height: 25px; font-weight: 700; }
.answers-heading h2::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 36px; height: 4px; background: linear-gradient(90deg, #1997ff, var(--purple)); }
.answers-heading > span { color: var(--ink); font-size: 13px; line-height: 25px; }
.answer-list { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.answer-card { padding: 24px 32px 21px; border-bottom: 1px solid var(--line); scroll-margin-top: 95px; }
.answer-card:last-child { border-bottom: 0; }
.answer-author { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.answer-author > div { display: grid; gap: 1px; line-height: 1.2; }
.answer-author a { color: var(--ink); font-size: 12px; font-weight: 700; }
.answer-author time { color: var(--muted); font-size: 12px; }
.answer-body { margin: 17px 0 12px; color: #0e1012; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.answer-actions { display: flex; align-items: center; gap: 20px; min-height: 24px; }
.answer-actions form { display: inline-flex; margin: 0; }
.answer-actions button, .answer-actions a:not(.answer-permalink) { display: inline-flex; align-items: center; gap: 6px; padding: 0; background: transparent; border: 0; color: #b9c3cf; font-size: 14px; font-weight: 700; }
.answer-actions button:not(:disabled):hover, .answer-actions a:not(.answer-permalink):hover, .answer-actions .is-active { color: var(--purple); text-decoration: none; }
.answer-actions svg { width: 23px; height: 23px; stroke-width: 1.8; }
.answer-permalink { margin-left: auto; color: #aeb9c5; font-size: 12px; }
.answer-permalink:hover { color: var(--blue); }
.reply-panel { padding: 24px 32px; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; scroll-margin-top: 100px; }
.reply-panel h2 { margin: 0 0 15px; font-size: 19px; }
.reply-panel p { margin: 0 0 13px; }
.reply-panel a { font-weight: 700; }
.reply-panel form { display: grid; gap: 9px; }
.reply-panel label { font-weight: 700; }
.reply-panel textarea, .form-card textarea { resize: vertical; min-height: 135px; }
.reply-panel textarea, .form-card input, .form-card textarea, .form-card select { width: 100%; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid #b8bec6; border-radius: 4px; font: inherit; font-size: 15px; }
.reply-panel textarea:focus, .form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: var(--purple); outline: 2px solid rgb(96 1 210 / 15%); }
.reply-panel button, .form-card button[type="submit"] { justify-self: start; min-height: 39px; padding: 0 20px; margin-top: 6px; border: 0; border-radius: 3px; color: #fff; background: var(--purple); font-weight: 700; }
.reply-panel button:hover, .form-card button[type="submit"]:hover { background: #4b00a9; }

/* Search, category, profile and 404 pages reuse the reading grid. */
.listing-intro, .profile-card, .not-found { padding: 24px 32px; background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 22px; }
.listing-intro h1, .profile-card h1, .not-found h1 { margin: 4px 0 6px; font-size: 27px; line-height: 1.25; }
.listing-intro p, .profile-card p, .not-found p { margin: 0; color: var(--muted); }
.category-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.category-breadcrumb a { color: var(--blue); }
.subcategory-section { margin: -4px 0 22px; padding: 18px 24px 20px; border: 1px solid var(--line); border-radius: 8px; background: #f0f2f4; }
.subcategory-section h2 { margin: 0 0 13px; font-size: 15px; }
.subcategory-desktop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
.subcategory-desktop a { min-width: 0; line-height: 1.35; }
.subcategory-mobile { display: none; }
.inline-search { margin-top: 20px; max-width: 520px; }
.profile-card { display: flex; align-items: center; gap: 17px; }
.profile-card .profile-avatar { width: 68px; height: 68px; flex-basis: 68px; font-size: 30px; }
.profile-card p span { padding: 0 4px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 15px; }
.section-heading h2 { margin: 0; font-size: 17px; }
.section-heading > span { color: var(--muted); font-size: 12px; }
.not-found { text-align: center; padding: 72px 24px; }
.not-found .error-code { display: block; color: var(--purple); font-size: 54px; font-weight: 800; }
.not-found a { display: inline-block; margin-top: 24px; font-weight: 700; }
.form-card { max-width: 620px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.form-card h1 { margin: 5px 0 7px; font-size: 27px; line-height: 1.2; }
.form-card > p { margin: 0 0 22px; color: var(--muted); }
.form-card form { display: grid; gap: 9px; }
.form-card label { margin-top: 7px; font-size: 13px; font-weight: 700; }
.form-card input { min-height: 40px; }
.form-card .form-secondary { margin: 20px 0 0; }
.form-error { padding: 11px 13px; color: #8f1438 !important; background: #fff0f3; border-left: 4px solid #e83468; border-radius: 2px; }
.form-link-button { display: inline-block; padding: 10px 18px; color: #fff; background: var(--purple); border-radius: 3px; font-weight: 700; }
.form-link-button:hover { color: #fff; background: #4b00a9; text-decoration: none; }
.admin-card { padding: 26px 32px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.admin-card h1 { margin: 4px 0 6px; font-size: 25px; }
.admin-card > p { margin: 0 0 20px; color: var(--muted); }
.admin-table-wrap { width: 100%; overflow-x: auto; }
.admin-card table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.admin-card th, .admin-card td { padding: 11px 9px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.admin-card th:first-child, .admin-card td:first-child { padding-left: 0; }
.admin-card th { color: var(--muted); font-weight: 700; }
.admin-card td:nth-child(3) { white-space: normal; }
.admin-card td form { margin: 0; }
.admin-card td button { padding: 7px 10px; color: #fff; background: var(--purple); border: 0; border-radius: 3px; font-size: 12px; font-weight: 700; }
.admin-card td button:hover { background: #4b00a9; }

@media (max-width: 1100px) {
  .page-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 20px; }
  .right-sidebar { grid-column: 2; padding-top: 4px; }
  .right-sidebar .trending-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body { background: #fff; }
  .site-header { height: 58px; border-bottom: 0; }
  .header-inner { padding: 0 20px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 0; }
  .wordmark { justify-self: center; width: 36px; height: 48px; }
  .wordmark-text { display: none; }
  .wordmark img { flex-basis: 36px; width: 36px; height: 36px; }
  .desktop-search, .account-links, .header-notification { display: none; }
  .mobile-menu, .mobile-search-toggle { display: grid; place-items: center; height: 44px; }
  .mobile-menu { justify-self: start; }
  .mobile-search-toggle { justify-self: end; }
  .mobile-menu summary, .mobile-search-toggle summary { display: grid; place-items: center; width: 24px; height: 44px; color: #111; }
  .mobile-menu summary svg, .mobile-search-toggle summary svg { width: 23px; height: 23px; }
  .mobile-menu nav { position: absolute; z-index: 10; top: 58px; left: 0; width: min(300px, 90vw); max-height: calc(100vh - 58px); overflow: auto; display: flex; flex-direction: column; gap: 0; padding: 8px 16px 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 18px rgb(0 0 0 / 14%); }
  .mobile-menu nav h2 { margin: 16px 2px 4px; font-size: 14px; }
  .mobile-menu nav a { padding: 9px 2px; color: var(--ink); border-bottom: 1px solid #f0f1f2; }
  .mobile-menu .category-nav-group { gap: 0; }
  .mobile-menu .category-nav-children { gap: 0; margin: 0 0 3px 4px; padding-left: 12px; }
  .mobile-menu .category-nav-children a { padding-left: 3px; font-size: 13px; }
  .mobile-menu nav form { margin: 0; border-bottom: 1px solid #f0f1f2; }
  .mobile-menu nav button { width: 100%; padding: 9px 2px; border: 0; background: transparent; color: var(--ink); text-align: left; }
  .mobile-menu nav a.active { color: var(--purple); font-weight: 700; }
  .mobile-search-toggle .search-form { position: absolute; z-index: 9; top: 58px; left: 0; right: 0; height: 62px; padding: 7px 16px; border: 0; border-radius: 0; box-shadow: 0 5px 12px rgb(0 0 0 / 12%); }
  .mobile-search-toggle .search-form input { height: 45px; padding: 0 13px; border: 1px solid var(--line); border-radius: 24px 0 0 24px; font-size: 16px; }
  .mobile-search-toggle .search-form button { height: 45px; flex-basis: 50px; border: 0; border-radius: 0 24px 24px 0; }
  .page-layout { display: block; padding: 0 0 35px; }
  .category-sidebar { display: none; }
  .right-sidebar { padding: 22px 16px; border-top: 1px solid var(--line); }
  .right-sidebar .trending-list { display: grid; grid-template-columns: 1fr; }
  .site-footer { margin: 0 16px; padding: 15px 0 25px; }
  .notifications-page { padding: 20px 16px; border: 0; border-radius: 0; }
  .feed-tabs { height: 45px; padding: 0 20px; gap: 25px; margin: 0; }
  .feed-tabs a, .feed-tabs button { height: 44px; font-size: 14px; }
  .feed-card { min-height: 90px; grid-template-columns: 38px minmax(0, 1fr); padding: 19px 16px 14px; border: 0; border-radius: 0 !important; }
  .feed-card:last-of-type { border-bottom: 0; }
  .feed-ad.is-filled { min-height: 0; padding: 12px 0; border: 0; box-shadow: none; }
  .feed-views strong { font-size: 14px; }
  .feed-views svg { width: 15px; height: 15px; }
  .feed-content h2 { font-size: 16px; line-height: 1.25; margin-bottom: 4px; }
  .feed-meta { font-size: 12px; }
  .feed-section .empty-state { border: 0; border-radius: 0; }
  .question-card { padding: 18px 16px 24px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; scroll-margin-top: 58px; }
  .question-breadcrumb { margin-bottom: 7px; font-size: 12px; }
  .question-author { display: none; }
  .question-card h1 { font-size: 24px; line-height: 1.33; letter-spacing: -.01em; }
  .question-body { margin-top: 15px; }
  .question-actions { margin-top: 23px; gap: 10px; }
  .answer-button { height: 43px; padding: 0 18px; }
  .question-stats { margin-top: 15px; }
  .answers-section { padding-top: 30px; }
  .answers-heading { min-height: 51px; padding: 0 16px; }
  .answers-heading h2 { font-size: 16px; }
  .answers-heading > span { font-size: 13px; }
  .answer-list { border: 0; border-radius: 0; }
  .answer-card { padding: 21px 16px 19px; margin: 0 16px; padding-left: 0; padding-right: 0; scroll-margin-top: 58px; }
  .answer-author .avatar { width: 32px; height: 32px; flex-basis: 32px; }
  .answer-body { margin-top: 17px; font-size: 16px; line-height: 1.5; }
  .answer-actions { gap: 20px; }
  .reply-panel { margin-top: 0; padding: 24px 16px; border: 0; border-top: 1px solid var(--line); border-radius: 0; scroll-margin-top: 65px; }
  .form-card { max-width: none; padding: 24px 16px; border: 0; border-radius: 0; }
  .admin-card { padding: 24px 16px; border: 0; border-radius: 0; }
  .listing-intro, .profile-card, .not-found { margin: 0; padding: 20px 16px; border: 0; border-radius: 0; }
  .listing-intro h1, .profile-card h1, .not-found h1 { font-size: 24px; }
  .category-breadcrumb { margin-bottom: 12px; }
  .subcategory-section { margin: 0; padding: 0 16px 12px; border: 0; border-radius: 0; background: #fff; }
  .subcategory-section h2, .subcategory-desktop { display: none; }
  .subcategory-mobile { display: block; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .subcategory-mobile summary { min-height: 43px; display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-weight: 700; }
  .subcategory-mobile summary svg { width: 17px; height: 17px; transition: transform .2s ease; }
  .subcategory-mobile[open] summary svg { transform: rotate(180deg); }
  .subcategory-mobile nav { display: grid; }
  .subcategory-mobile a { padding: 10px 4px; border-top: 1px solid #eef0f3; }
  .listing-intro + .feed-section { margin-top: 8px; }
  .inline-search { margin-top: 17px; }
  .section-heading { padding: 0 16px; }
  .not-found { padding-top: 55px; padding-bottom: 65px; }
}

@media (max-width: 359px) {
  .header-inner { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
