/* Estate News — public theme */
:root {
  --ink: #13202f;
  --ink-2: #3b4757;
  --muted: #6b7684;
  --line: #e6e3dc;
  --bg: #faf9f6;
  --surface: #ffffff;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --accent-soft: #fff1e8;
  --navy: #0f2238;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
.ic { width: 18px; height: 18px; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.hp { position: absolute; left: -9999px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff;
  border: 1px solid var(--accent); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background .15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }

/* top bar */
.topbar { background: var(--navy); color: #c9d3df; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar a { display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; }
.socials { display: flex; gap: 6px; }
.socials a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; }
.topbar .socials a:hover { background: rgba(255,255,255,.1); }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { max-height: 50px; width: auto; }
.brand-text { font: 700 28px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.brand-text::after { content: "."; color: var(--accent); }
.brand-text.small { font-size: 22px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav > ul > li > a, .sub-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  font-weight: 600; font-size: 15px; color: var(--ink); background: none; border: 0; }
.main-nav > ul > li > a:hover, .sub-toggle:hover, .main-nav a[aria-current] { color: var(--accent); }
.caret { width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; display: none !important; flex-direction: column; align-items: stretch !important; }
.has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub { display: flex !important; }
.sub a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; }
.sub a:hover { background: var(--accent-soft); }
.menu-toggle { display: none; }
.search-panel { border-top: 1px solid var(--line); background: var(--surface); padding: 14px 0; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--bg); }
.search-form input:focus { outline: none; border-color: var(--ink); background: #fff; }
.search-form.inline { max-width: 520px; margin-top: 18px; }
.cat-strip { border-top: 1px solid var(--line); }
.cat-strip-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.cat-strip-in::-webkit-scrollbar { display: none; }
.cat-strip a { flex: none; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; color: var(--ink-2); border: 1px solid transparent; }
.cat-strip a:hover, .cat-strip a.on { border-color: var(--line); background: var(--bg); color: var(--accent); }

/* off-canvas */
.offcanvas { position: fixed; inset: 0; background: rgba(15, 34, 56, .45); z-index: 60; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.offcanvas.open { visibility: visible; opacity: 1; }
.offcanvas-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: var(--surface); padding: 18px;
  overflow-y: auto; transform: translateX(-100%); transition: transform .25s; }
.offcanvas.open .offcanvas-panel { transform: none; }
.offcanvas-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.search-form.stacked .btn { padding: 0 14px; }
.mobile-nav { list-style: none; padding: 0; margin: 18px 0 0; }
.mobile-nav a { display: block; padding: 11px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-nav a.indent { padding-left: 16px; font-weight: 500; color: var(--ink-2); }
.mobile-nav .label { padding: 14px 4px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
body.no-scroll { overflow: hidden; }

/* notices */
.notice { margin: 16px 0; padding: 12px 16px; border-radius: var(--radius); border: 1px solid; font-size: 15px; }
.notice-success { background: #ecfdf3; border-color: #a6e4c0; color: #135e35; }
.notice-error { background: #fef2f2; border-color: #f5b5b5; color: #8f1d1d; }
.notice-warning { background: #fffbeb; border-color: #f2d78a; color: #7a5300; }

/* shared post bits */
.cat-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 3px 9px; border-radius: 4px; }
.cat-badge:hover { background: var(--accent); color: #fff; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.meta .author { font-weight: 600; color: var(--ink-2); }
.meta .sep { opacity: .6; }
.meta .rt { display: inline-flex; align-items: center; gap: 4px; }
.meta .ic { width: 14px; height: 14px; }
.ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #e9e4da, #d9d2c4); }
.thumb { display: block; overflow: hidden; border-radius: var(--radius); background: #ebe7df; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-list:hover .thumb img, .card-grid:hover .thumb img { transform: scale(1.04); }
h1, h2, h3, h4 { font-family: var(--serif); letter-spacing: -.01em; line-height: 1.2; }
.t a:hover { color: var(--accent); }
.more { font-weight: 600; font-size: 14px; color: var(--accent); }
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--navy); color: #fff;
  font-weight: 700; font-size: 14px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 72px; height: 72px; font-size: 22px; }

/* section titles */
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.sec-head .sec-title { margin: 0; }
.sec-title { font: 700 22px/1.2 var(--serif); margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.sec-title span { display: inline-block; padding-left: 12px; border-left: 4px solid var(--accent); }
.sec-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.see-all { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.w-title { font: 700 18px/1.2 var(--serif); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-top: 24px; }
.hero-lead, .hero-sub { position: relative; border-radius: 14px; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hero-lead { min-height: 460px; }
.hero-img { position: absolute; inset: 0; z-index: -1; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hero-lead:hover .hero-img img, .hero-sub:hover .hero-img img { transform: scale(1.03); }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,34,0) 30%, rgba(10,20,34,.88) 100%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.hero-text h2 { margin: 10px 0 8px; font-size: clamp(22px, 2.6vw, 34px); color: #fff; }
.hero-sub .hero-text { padding: 18px; }
.hero-sub .hero-text h2 { font-size: 19px; }
.hero-text h2 a:hover { color: #ffd9c4; }
.hero .meta, .hero .meta .author { color: #dbe2ea; }
.hero .cat-badge { background: var(--accent); color: #fff; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.hero-sub { min-height: 220px; }

/* trending slider */
.trending { margin-top: 40px; }
.slider-btns { display: flex; gap: 6px; }
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }

/* cards */
.card-grid { display: flex; flex-direction: column; gap: 12px; }
.card-grid .thumb { aspect-ratio: 3 / 2; }
.card-grid .body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.card-grid .t { margin: 0; font-size: 19px; }
.card-grid.small .t { font-size: 16.5px; line-height: 1.3; }
.card-list { display: grid; grid-template-columns: 260px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.card-list:first-child { padding-top: 0; }
.card-list .thumb { aspect-ratio: 4 / 3; }
.card-list .body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.card-list .t { margin: 0; font-size: 22px; }
.card-list .ex { margin: 0; color: var(--ink-2); font-size: 15px; }
.grid { display: grid; gap: 28px 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.content .grid-4 { grid-template-columns: repeat(2, 1fr); }
.load-more-wrap { text-align: center; margin-top: 26px; }
.load-more[aria-busy="true"] { opacity: .6; pointer-events: none; }
.city-block { margin-top: 48px; }

/* layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; margin-top: 40px; margin-bottom: 56px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 32px; position: sticky; top: 150px; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.card-mini { display: grid; grid-template-columns: auto 80px 1fr; gap: 12px; align-items: start; }
.card-mini:not(:has(.num)) { grid-template-columns: 80px 1fr; }
.card-mini .num { font: 700 22px/1 var(--serif); color: var(--accent); width: 22px; padding-top: 4px; }
.card-mini .thumb { width: 80px; aspect-ratio: 4 / 3; border-radius: 8px; }
.card-mini .t { display: block; font-weight: 600; font-size: 14px; line-height: 1.35; }
.card-mini time { font-size: 12px; color: var(--muted); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-weight: 500; }
.cat-list li:last-child a { border-bottom: 0; }
.cat-list .count { font-size: 12px; font-weight: 700; min-width: 28px; text-align: center; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--ink-2); }
.widget-cta { background: var(--navy); color: #d7dee7; border-color: var(--navy); }
.widget-cta h2 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.widget-cta p { margin: 0 0 16px; font-size: 14px; }

/* archive */
.archive-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.archive-head h1 { margin: 4px 0 6px; font-size: clamp(30px, 4vw, 44px); }
.archive-title { display: flex; gap: 18px; align-items: center; }
.archive-desc { color: var(--ink-2); max-width: 720px; }
.kicker { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.count { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink-2); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .dots { border: 0; background: none; }
.empty { padding: 40px 0; color: var(--ink-2); }

/* single */
.single-head { max-width: 900px; padding-top: 28px; text-align: left; }
.single-head h1 { font-size: clamp(30px, 4.4vw, 48px); margin: 12px 0 18px; line-height: 1.12; }
.byline { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); }
.byline .author { font-weight: 700; color: var(--ink); }
.single-hero { margin-top: 26px; }
.single-hero img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 14px; }
.single .layout { margin-top: 32px; }
.share { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.share > span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.share a, .share button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.share a:hover, .share button:hover { color: #fff; border-color: transparent; }
.sh-wa:hover { background: #25d366; } .sh-fb:hover { background: #1877f2; } .sh-x:hover { background: #111; }
.sh-li:hover { background: #0a66c2; } .sh-copy:hover { background: var(--accent); }
.sh-copy.copied { background: #16a34a; color: #fff; }

.prose { font-size: 18px; line-height: 1.75; color: #1d2a39; overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 28px; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 22px; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 19px; margin: 1.4em 0 .5em; }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.2em auto; height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 6px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--accent); font-family: var(--serif); font-size: 21px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th, .prose thead td { background: var(--bg); font-weight: 700; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .wp-block-image, .prose .wp-block-table { margin: 1.6em 0; }
.prose .has-text-align-center { text-align: center; }
.prose .has-text-align-right { text-align: right; }
.prose .wp-block-table table { display: table; }
.prose .wp-block-table { overflow-x: auto; }
.prose figure.wp-block-table figcaption { text-align: left; }
.prose ul ul, .prose ol ol { margin: .4em 0 .4em; }
.prose strong { color: var(--ink); }

.author-box { display: flex; gap: 18px; margin-top: 40px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.author-box h2 { margin: 2px 0 6px; font-size: 22px; }
.author-box p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.pn { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pn span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.pn strong { font-family: var(--serif); font-size: 17px; line-height: 1.3; }
.pn.next { text-align: right; grid-column: 2; }
.related { margin-top: 48px; }

/* FAQ */
.faq { margin-top: 40px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 18px 18px; color: var(--ink-2); line-height: 1.7; }

/* comments */
.comments { margin-top: 48px; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list.children { margin: 16px 0 0 26px; padding-left: 18px; border-left: 2px solid var(--line); }
.comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list.children .comment:last-child { border-bottom: 0; }
.c-head { display: flex; gap: 12px; align-items: center; }
.c-name { display: block; font-weight: 700; }
.c-head time { font-size: 12px; color: var(--muted); }
.c-body { margin: 10px 0 6px 52px; color: var(--ink-2); }
.reply-link { margin-left: 52px; background: none; border: 0; padding: 0; font-weight: 600; font-size: 13px; color: var(--accent); }
.respond { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.respond h3 { margin: 0 0 4px; font-size: 22px; }
.respond .hint { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.cancel-reply { background: none; border: 0; color: var(--accent); font-size: 14px; padding: 0; }
.replying { font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--muted); }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea { font: inherit; font-weight: 400; color: var(--ink); padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg); width: 100%; display: block; margin-top: 6px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.req { color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; margin-top: 10px; }
.contact-card { background: var(--navy); color: #d7dee7; border-radius: 14px; padding: 24px; align-self: start; }
.contact-card h2 { color: #fff; margin: 0 0 8px; font-size: 22px; }
.contact-card p { font-size: 15px; }
.contact-card a:hover { color: #fff; }

/* 404 */
.notfound { padding: 60px 16px 70px; }
.notfound .big { font: 700 96px/1 var(--serif); color: var(--accent); margin: 0; }
.notfound h1 { font-size: 36px; margin: 10px 0; }
.notfound > p { color: var(--ink-2); max-width: 560px; }
.notfound .search-form { margin-bottom: 50px; }

/* footer */
.site-footer { background: var(--navy); color: #b8c3d0; margin-top: 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.footer-brand { margin-bottom: 14px; }
.footer-brand img { max-height: 48px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; }
.site-footer .brand-text { color: #fff; }
.f-about p { margin: 0 0 16px; }
.site-footer .socials a { border: 1px solid rgba(255,255,255,.2); width: 36px; height: 36px; }
.site-footer .socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.f-title { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 6px 0 18px; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-links.f-cols { grid-template-columns: 1fr 1fr; }
.site-footer a:hover { color: #fff; }
.f-contact { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .ic { margin-top: 3px; color: var(--accent); }
.contact-card .f-contact .ic { color: #ffb38a; }
.site-footer .btn-outline { color: #fff; border-color: rgba(255,255,255,.35); }
.site-footer .btn-outline:hover { background: #fff; color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.fb-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 999px; background: var(--accent); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 30; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { color: #fff; background: var(--accent-dark); }

/* responsive */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .slider { grid-auto-columns: calc((100% - 40px) / 3); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .brand { margin: 0 auto; }
  .header-in { min-height: 62px; gap: 12px; }
  .brand img { max-height: 40px; }
  .hero { grid-template-columns: 1fr; }
  .hero-lead { min-height: 380px; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .topbar .today { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-lead { min-height: 340px; }
  .hero-text { padding: 18px; }
  .slider { grid-auto-columns: 78%; }
  .card-list { grid-template-columns: 120px 1fr; gap: 14px; padding: 16px 0; }
  .card-list .t { font-size: 17px; }
  .card-list .ex, .card-list .more { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .content .grid-4, .grid-4 { grid-template-columns: 1fr 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
  .post-nav { grid-template-columns: 1fr; }
  .pn.next { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .author-box { flex-direction: column; }
  .c-body, .reply-link { margin-left: 0; }
  .comment-list.children { margin-left: 8px; }
  .share { flex-wrap: wrap; }
  .archive-title { align-items: flex-start; }
}
