/*
Theme Name: FixItFriendly
Theme URI: https://fixitfriendly.com
Author: FixItFriendly
Author URI: https://fixitfriendly.com
Description: Plain-language home repair magazine theme matching the fixitfriendly.com UI — Nunito type, cobalt brand, mobile-first layout at 700px and 1000px.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fixitfriendly
Tags: blog, news, two-columns, custom-menu, featured-images, theme-options, translation-ready
*/

/* FixItFriendly — mobile-first with two breakpoints (700px, 1000px).
   Colors are authored in oklch; hex fallbacks are given in comments. */

:root{
  /* Brand */
  --cobalt:        oklch(0.50 0.15 262);   /* #2f5ed6 approx */
  --cobalt-deep:   oklch(0.42 0.15 262);   /* #2549b3 approx */
  --sky:           oklch(0.66 0.12 250);   /* #6a9bea approx */
  --ink-navy:      oklch(0.32 0.05 265);   /* #2b3350 approx */
  --pale-cobalt:   oklch(0.95 0.03 262);   /* #e9eefc approx */

  /* Neutrals (warm grey) */
  --ink:           oklch(0.30 0.014 70);
  --body:          oklch(0.42 0.012 70);
  --muted:         oklch(0.53 0.012 70);
  --muted-soft:    oklch(0.63 0.012 70);
  --hairline:      oklch(0.88 0.008 70);
  --hairline-soft: oklch(0.93 0.006 70);
  --canvas:        oklch(0.99 0.004 80);
  --surface:       oklch(0.96 0.008 75);

  /* Type */
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', sans-serif;

  /* Shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px oklch(0.3 0.014 70 / 0.06), 0 8px 24px oklch(0.3 0.014 70 / 0.08);

  /* Layout */
  --wrap: 1280px;
  --gutter: 20px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:var(--font);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img,svg{ display:block; max-width:100%; }

a{ color:var(--ink); text-decoration:none; }
a:hover{ color:var(--cobalt); }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid var(--sky); outline-offset:2px; border-radius:4px;
}

h1,h2,h3{ margin:0; letter-spacing:-0.02em; text-wrap:pretty; }
p{ margin:0; text-wrap:pretty; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 var(--gutter); }
@media (min-width:700px){ :root{ --gutter:40px; } }
@media (min-width:1000px){ :root{ --gutter:80px; } }

.visually-hidden, .screen-reader-text{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap;
}

.icon{ flex:none; }

/* ---------- Logo ---------- */
.logo{ display:flex; align-items:center; gap:12px; flex:none; }
.logo__mark{
  position:relative; display:block; width:40px; height:40px; flex:none;
  border-radius:12px; background:oklch(0.90 0.05 262); overflow:hidden;
}
.logo img,
.logo__img{
  width:auto; height:auto; max-width:none; max-height:none; border-radius:0; object-fit:unset;
}
.logo__roof{
  position:absolute; left:6px; top:9px; width:28px; height:13px;
  background:var(--cobalt);
  -webkit-clip-path:polygon(50% 0%,100% 100%,0% 100%);
  clip-path:polygon(50% 0%,100% 100%,0% 100%);
}
.logo__body{
  position:absolute; left:11.5px; top:21px; width:17px; height:11px;
  border-radius:2px; background:var(--sky);
}
.logo__word{ font-size:22px; font-weight:900; letter-spacing:-0.02em; white-space:nowrap; }
.logo__word--dark{ color:var(--ink-navy); }
.logo__word--accent{ color:var(--cobalt); }
.logo:hover .logo__word--dark{ color:var(--ink-navy); }
@media (min-width:700px){ .logo__word{ font-size:24px; } }

/* ---------- Header ---------- */
.site-header{ box-shadow:inset 0 -1px 0 var(--hairline); background:var(--canvas); }
.site-header__inner{
  display:flex; align-items:center; gap:16px; flex-wrap:wrap;
  padding-top:16px; padding-bottom:16px;
}
@media (min-width:1000px){
  .site-header__inner{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    align-items:center;
    gap:24px;
    flex-wrap:nowrap;
    padding-top:20px; padding-bottom:20px;
  }
  .logo{ justify-self:start; }
  .site-nav{ justify-self:center; margin-left:0; }
  .searchbar{ justify-self:end; }
}

.searchbar{
  flex:1 1 100%; min-width:0;
  display:flex; align-items:center; gap:10px;
  height:48px; padding:0 20px;
  border-radius:var(--radius-pill);
  background:var(--canvas);
  box-shadow:var(--shadow-card);
  color:var(--ink);
}
.searchbar input{
  flex:1; min-width:0; border:0; background:none; outline:none;
  font-family:var(--font); font-size:16px; color:var(--ink);
}
.searchbar input::placeholder{ color:var(--muted); }
.searchbar button{ display:none; }
@media (min-width:1000px){
  .searchbar{ flex:none; width:100%; max-width:320px; margin:0; }
}

.site-nav{ display:flex; align-items:center; gap:16px; margin-left:auto; flex-wrap:wrap; }
.site-nav a{ font-size:16px; font-weight:700; white-space:nowrap; }
.site-nav a[aria-current="page"]{ color:var(--cobalt); }
@media (min-width:700px){ .site-nav{ gap:24px; } .site-nav a{ font-size:17px; } }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font); font-size:17px; font-weight:700; line-height:1;
  padding:15px 24px; border:0; border-radius:var(--radius);
  cursor:pointer; text-align:center; transition:background-color .15s ease, color .15s ease;
}
.btn--sm{ font-size:16px; padding:11px 18px; }
.btn--pill{ border-radius:var(--radius-pill); }
.btn--block{ width:100%; }
.btn--primary{ background:var(--cobalt); color:#fff; }
.btn--primary:hover{ background:var(--cobalt-deep); color:#fff; }
.btn--secondary{ background:transparent; color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--hairline); }
.btn--secondary:hover{ background:var(--surface); color:var(--ink); }

/* ---------- Pills (filters / choices) ---------- */
.pills{ display:flex; gap:8px; flex-wrap:wrap; }
.pill{
  font-family:var(--font); font-size:16px; font-weight:700;
  padding:9px 16px; border:0; border-radius:var(--radius-pill); cursor:pointer;
  background:var(--canvas); color:var(--ink);
  box-shadow:inset 0 0 0 1px var(--hairline);
}
.pill:hover{ box-shadow:inset 0 0 0 1px var(--muted-soft); }
.pill[aria-pressed="true"]{ background:var(--ink); color:#fff; box-shadow:inset 0 0 0 1px var(--ink); }

/* ---------- Image placeholders (replace with real <img>) ---------- */
.ph{
  display:flex; align-items:center; justify-content:center;
  background:var(--surface); border-radius:var(--radius);
  box-shadow:inset 0 0 0 1px var(--hairline);
  color:var(--muted-soft); font-size:13px; font-weight:700;
  text-align:center; padding:8px;
}

/* ---------- Homepage ---------- */
.hero{ padding:40px 0 8px; }
.hero h1{ font-size:30px; font-weight:900; line-height:1.15; }
.hero p{ margin-top:12px; max-width:640px; color:var(--muted); }
@media (min-width:700px){ .hero{ padding:56px 0 8px; } .hero h1{ font-size:34px; } }

.hubs{ display:grid; grid-template-columns:1fr; gap:16px; padding:24px 0 40px; }
@media (min-width:560px){ .hubs{ grid-template-columns:1fr 1fr; } }
@media (min-width:1000px){ .hubs{ grid-template-columns:repeat(4,1fr); padding:28px 0 56px; } }
.hub{
  display:flex; flex-direction:column; gap:16px; padding:24px;
  border-radius:var(--radius); background:var(--canvas);
  box-shadow:inset 0 0 0 1px var(--hairline);
}
.hub:hover{ box-shadow:var(--shadow-card); color:var(--ink); }
.hub__icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:var(--radius-pill);
  background:var(--pale-cobalt); color:var(--cobalt);
}
.hub__name{ font-size:21px; font-weight:800; }
.hub__count{ font-size:16px; color:var(--muted); }

.columns{ display:flex; flex-direction:column; gap:48px; padding-bottom:56px; }
@media (min-width:1000px){
  .columns{ flex-direction:row; gap:64px; align-items:flex-start; padding-bottom:64px; }
  .columns__main{ flex:1; min-width:0; }
  .columns__side{ width:340px; flex:none; }
}
.columns__side{ display:flex; flex-direction:column; gap:40px; }

.feature{
  display:flex; flex-direction:column; gap:20px;
  padding-bottom:32px; box-shadow:inset 0 -1px 0 var(--hairline);
}
.feature__media .ph{ height:220px; }
.feature__media img{ width:100%; height:220px; object-fit:cover; border-radius:var(--radius); }
.feature__title{ font-size:26px; font-weight:900; line-height:1.2; }
.feature__dek{ color:var(--body); }
.feature__meta{ display:flex; align-items:center; gap:8px; font-size:16px; color:var(--muted); }
.kicker{
  display:inline-flex; align-items:center; gap:8px;
  font-size:15px; font-weight:700; color:var(--cobalt);
}
@media (min-width:800px){
  .feature{ flex-direction:row; gap:32px; align-items:center; padding-bottom:40px; }
  .feature__media{ flex:1.05; min-width:0; }
  .feature__media .ph{ height:280px; }
  .feature__media img{ height:280px; }
  .feature__text{ flex:1; display:flex; flex-direction:column; gap:14px; }
  .feature__title{ font-size:34px; }
}
.feature__text{ display:flex; flex-direction:column; gap:14px; }

.section-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap; padding:32px 0 20px;
}
.section-head h2{ font-size:24px; font-weight:800; }

.post-list{ display:flex; flex-direction:column; }
.post-list .post{
  display:flex; gap:16px; align-items:flex-start;
  padding:20px 0; box-shadow:inset 0 -1px 0 var(--hairline-soft);
}
.post-list .post[hidden]{ display:none; }
.post__media{ flex:none; width:120px; }
.post__media .ph{ height:80px; border-radius:12px; }
.post__media img{ width:100%; height:80px; object-fit:cover; border-radius:12px; }
.post__body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; }
.post__kicker{ font-size:15px; font-weight:700; color:var(--muted); }
.post__title{ font-size:19px; font-weight:800; line-height:1.28; }
.post__dek{ font-size:16px; line-height:1.55; color:var(--muted); }
@media (min-width:700px){
  .post-list .post{ gap:24px; align-items:center; padding:24px 0; }
  .post__media{ width:180px; }
  .post__media .ph{ height:120px; border-radius:14px; }
  .post__media img{ height:120px; border-radius:14px; }
  .post__body{ gap:8px; }
  .post__title{ font-size:21px; }
}

.load-more{ padding-top:28px; }

/* ---------- Sidebar modules ---------- */
.panel{
  display:flex; flex-direction:column; gap:12px;
  padding:28px; border-radius:var(--radius); background:var(--pale-cobalt);
}
.panel--grey{ background:var(--surface); }
.panel__eyebrow{ font-size:15px; font-weight:700; color:var(--cobalt); }
.panel h3{ font-size:21px; font-weight:800; line-height:1.25; }
.panel p{ font-size:16px; line-height:1.55; color:var(--muted); }
.panel__fine{ font-size:14px; color:var(--muted-soft); }

.field{
  width:100%; height:46px; padding:0 16px;
  font-family:var(--font); font-size:16px; color:var(--ink);
  background:#fff; border:0; border-radius:var(--radius);
  box-shadow:inset 0 0 0 1px var(--hairline);
}
.field::placeholder{ color:var(--muted-soft); }
textarea.field{ height:auto; padding:14px 16px; line-height:1.6; resize:vertical; }

.module h3{ font-size:24px; font-weight:800; }
.module__sub{ font-size:14px; color:var(--muted); margin-top:4px; }
.rank-list{ display:flex; flex-direction:column; margin-top:8px; }
.rank{
  display:flex; gap:16px; align-items:flex-start;
  padding:16px 0; box-shadow:inset 0 -1px 0 var(--hairline-soft);
}
.rank__n{ flex:none; width:26px; font-size:23px; font-weight:800; color:var(--hairline); line-height:1.1; }
.rank__body{ display:flex; flex-direction:column; gap:4px; }
.rank__title{ font-size:17px; font-weight:700; line-height:1.3; }
.rank__meta{ font-size:14px; color:var(--muted); }

.picks{ display:flex; flex-direction:column; gap:16px; margin-top:16px; }
.pick{ display:flex; gap:14px; align-items:center; }
.pick__media{ flex:none; width:72px; }
.pick__media .ph{ height:56px; border-radius:10px; }
.pick__media img{ width:72px; height:56px; object-fit:cover; border-radius:10px; }
.pick__title{ font-size:17px; font-weight:700; line-height:1.3; }
.pick__meta{ font-size:14px; color:var(--muted); }

/* ---------- Article ---------- */
.breadcrumb{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  font-size:14px; color:var(--muted); padding-bottom:20px;
}
.breadcrumb a{ color:var(--muted); }

.article{ max-width:720px; }
.article__title{ font-size:30px; font-weight:900; line-height:1.15; margin-top:12px; }
.article__standfirst{ font-size:18px; line-height:1.55; color:var(--body); margin-top:16px; }
@media (min-width:700px){ .article__title{ font-size:38px; } .article__standfirst{ font-size:19px; } }

.byline{
  display:flex; align-items:center; gap:14px;
  padding:24px 0; margin-top:8px; box-shadow:inset 0 -1px 0 var(--hairline);
}
.byline .ph{ width:48px; height:48px; border-radius:50%; flex:none; font-size:10px; }
.byline img{ width:48px; height:48px; object-fit:cover; border-radius:50%; flex:none; }
.byline__name{ font-size:17px; font-weight:700; }
.byline__meta{ font-size:14px; color:var(--muted); }

.article__hero{ margin-top:28px; }
.article__hero .ph{ height:220px; border-radius:14px; }
.article__hero img{ width:100%; height:220px; object-fit:cover; border-radius:14px; }
@media (min-width:700px){
  .article__hero .ph{ height:400px; }
  .article__hero img{ height:400px; }
}
.caption{ font-size:14px; color:var(--muted-soft); margin-top:10px; }

.prose{ display:flex; flex-direction:column; gap:20px; padding-top:32px; }
.prose p{ font-size:18px; line-height:1.7; color:var(--body); }
.prose h2{ font-size:23px; font-weight:800; margin-top:16px; }
.prose h3{ font-size:20px; font-weight:800; }
.prose ul, .prose ol{ margin:0; padding-left:1.25em; color:var(--body); font-size:18px; line-height:1.7; }
.prose li + li{ margin-top:6px; }
.prose a{ color:var(--cobalt); text-decoration:underline; text-underline-offset:3px; }
.prose img{ width:100%; height:auto; border-radius:var(--radius); }
.prose figure{ margin:0; }
.prose figcaption, .prose .wp-element-caption, .prose .wp-caption-text{
  font-size:14px; color:var(--muted-soft); margin-top:10px;
}
.prose blockquote{
  margin:0; padding:20px 24px;
  border-radius:var(--radius); box-shadow:inset 0 0 0 1px var(--hairline);
  font-size:18px; line-height:1.6; color:var(--body);
}
@media (min-width:700px){ .prose h2{ font-size:26px; } .prose p, .prose ul, .prose ol{ font-size:19px; } }

.specs{ display:grid; grid-template-columns:1fr; gap:16px 32px; }
@media (min-width:560px){ .specs{ grid-template-columns:1fr 1fr; } }
.spec__label{ display:block; font-size:14px; color:var(--muted); }
.spec__value{ display:block; font-size:17px; font-weight:700; }

.callout{
  display:flex; gap:16px; padding:20px 24px;
  border-radius:var(--radius); box-shadow:inset 0 0 0 1px var(--hairline);
  color:var(--cobalt);
}
.callout__body{ display:flex; flex-direction:column; gap:6px; color:var(--ink); }
.callout__title{ font-size:17px; font-weight:700; }
.callout__text{ font-size:16px; line-height:1.55; color:var(--muted); }

.costs{ width:100%; border-collapse:collapse; border-radius:var(--radius); overflow:hidden; box-shadow:inset 0 0 0 1px var(--hairline); }
.prose table{ width:100%; border-collapse:collapse; border-radius:var(--radius); overflow:hidden; box-shadow:inset 0 0 0 1px var(--hairline); }
.costs th,.costs td, .prose table th, .prose table td{ text-align:left; padding:14px 20px; font-size:16px; }
.costs thead th, .prose table thead th{ background:var(--surface); font-size:15px; font-weight:700; color:var(--ink); }
.costs tbody th, .prose table tbody th{ font-weight:700; color:var(--ink); }
.costs tbody td, .prose table tbody td{ color:var(--body); }
.costs tbody tr, .prose table tbody tr{ box-shadow:inset 0 -1px 0 var(--hairline-soft); }

.helpful{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap; padding:32px 0; margin-top:24px;
  box-shadow:inset 0 1px 0 var(--hairline);
}
.helpful__q{ font-size:15px; font-weight:700; color:var(--muted); }
.helpful__btns{ display:flex; gap:12px; }

.related{ display:grid; grid-template-columns:1fr; gap:24px; margin-top:20px; }
@media (min-width:560px){ .related{ grid-template-columns:1fr 1fr; } }
.related__card{ display:flex; flex-direction:column; gap:10px; }
.related__card .ph{ height:150px; border-radius:12px; }
.related__card img{ width:100%; height:150px; object-fit:cover; border-radius:12px; }
.related__meta{ font-size:14px; color:var(--muted); }
.related__title{ font-size:21px; font-weight:800; line-height:1.28; }
.related-heading{ font-size:24px; font-weight:800; }

.toc{ display:flex; flex-direction:column; }
.toc__h{ font-size:15px; font-weight:700; color:var(--muted); margin-bottom:12px; }
.toc a{ font-size:16px; line-height:1.4; padding:10px 0; box-shadow:inset 0 -1px 0 var(--hairline-soft); }
.toc a.is-active{ color:var(--cobalt); font-weight:700; }
@media (min-width:1000px){
  .fif-sticky{ position:sticky; top:24px; }
  .admin-bar .fif-sticky{ top:56px; }
}

/* ---------- About ---------- */
.page-head{ padding:48px 0 32px; max-width:760px; }
.page-head h1{ font-size:32px; font-weight:900; line-height:1.12; margin-top:12px; }
.page-head__lede{ font-size:18px; line-height:1.65; color:var(--body); margin-top:20px; }
.page-head__date{ font-size:16px; color:var(--muted); margin-top:16px; }
@media (min-width:700px){ .page-head{ padding:64px 0 32px; } .page-head h1{ font-size:42px; } .page-head__lede{ font-size:19px; } }
.page-head--narrow{ max-width:680px; }
.page-head--legal{ max-width:720px; }

.about-hero .ph{ height:240px; border-radius:16px; }
.about-hero img{ width:100%; height:240px; object-fit:cover; border-radius:16px; }
@media (min-width:700px){
  .about-hero .ph{ height:380px; }
  .about-hero img{ height:380px; }
}

.stats{ display:grid; grid-template-columns:1fr 1fr; gap:24px; padding:40px 0; }
@media (min-width:1000px){ .stats{ grid-template-columns:repeat(4,1fr); padding:56px 0; } }
.stat__n{ display:block; font-size:34px; font-weight:900; letter-spacing:-1px; color:var(--cobalt); }
@media (min-width:700px){ .stat__n{ font-size:40px; } }
.stat__label{ display:block; font-size:16px; line-height:1.55; color:var(--muted); margin-top:6px; }

.split{ display:flex; flex-direction:column; gap:24px; padding:48px 0; box-shadow:inset 0 1px 0 var(--hairline); }
.split__h{ font-size:26px; font-weight:800; }
@media (min-width:1000px){
  .split{ flex-direction:row; gap:64px; align-items:flex-start; padding:56px 0; }
  .split__aside{ flex:none; width:280px; }
  .split__body{ flex:1; }
  .split__h{ font-size:28px; }
}
.principles{ display:flex; flex-direction:column; gap:32px; }
.principle{ display:flex; gap:20px; align-items:flex-start; }
.principle__icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; flex:none; border-radius:var(--radius-pill);
  background:var(--pale-cobalt); color:var(--cobalt);
}
.principle__text{ display:flex; flex-direction:column; gap:6px; max-width:620px; }
.principle__title{ font-size:21px; font-weight:800; }
.principle__body{ color:var(--muted); }

.team-section{ padding:48px 0; box-shadow:inset 0 1px 0 var(--hairline); }
.team-section h2{ font-size:26px; font-weight:800; }
.team-section__sub{ color:var(--muted); max-width:620px; margin-top:8px; }
.team{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:32px; }
@media (min-width:1000px){ .team{ grid-template-columns:repeat(4,1fr); } }
.member .ph{ height:200px; border-radius:14px; }
.member img{ width:100%; height:200px; object-fit:cover; border-radius:14px; }
.member__name{ display:block; font-size:17px; font-weight:700; margin-top:12px; }
.member__role{ display:block; font-size:14px; color:var(--muted); margin-top:4px; }

.cta{
  display:flex; flex-direction:column; gap:16px;
  padding:32px; margin:24px 0 64px;
  border-radius:var(--radius); background:var(--pale-cobalt);
}
.cta h2{ font-size:23px; font-weight:800; }
.cta p{ color:var(--muted); }
@media (min-width:800px){
  .cta{ flex-direction:row; align-items:center; justify-content:space-between; gap:32px; padding:40px 48px; }
  .cta__text{ max-width:560px; display:flex; flex-direction:column; gap:8px; }
  .cta h2{ font-size:26px; }
}
.cta__text{ display:flex; flex-direction:column; gap:8px; }

/* ---------- Contact ---------- */
.contact-grid{ display:flex; flex-direction:column; gap:40px; padding-bottom:64px; }
@media (min-width:1000px){
  .contact-grid{ flex-direction:row; gap:64px; align-items:flex-start; padding-bottom:80px; }
  .contact-form{ flex:1; min-width:0; max-width:640px; }
  .contact-aside{ width:340px; flex:none; }
}
.contact-form{
  display:flex; flex-direction:column; gap:20px;
  padding:24px; border-radius:var(--radius);
  box-shadow:inset 0 0 0 1px var(--hairline);
}
@media (min-width:700px){ .contact-form{ padding:36px; } }
.form-row{ display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:560px){ .form-row{ grid-template-columns:1fr 1fr; } }
.label{ display:flex; flex-direction:column; gap:8px; }
.label > span:first-child{ font-size:15px; font-weight:700; }
.check{ display:flex; gap:12px; align-items:flex-start; font-size:16px; line-height:1.55; color:var(--muted); }
.check input{ width:20px; height:20px; flex:none; margin-top:2px; accent-color:var(--cobalt); }
.form-actions{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; padding-top:4px; }
.form-actions__fine{ font-size:14px; color:var(--muted-soft); }
.form-fieldset{ border:0; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.form-fieldset legend{ font-size:15px; font-weight:700; padding:0; }

.contact-aside{ display:flex; flex-direction:column; gap:24px; }
.channel{
  display:flex; gap:16px; align-items:flex-start;
  padding:24px; border-radius:var(--radius); background:var(--surface);
}
.channel__icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; flex:none; border-radius:var(--radius-pill);
  background:var(--pale-cobalt); color:var(--cobalt);
}
.channel__title{ display:block; font-size:17px; font-weight:700; }
.channel__body{ display:block; font-size:16px; line-height:1.55; color:var(--muted); margin-top:4px; }
.notice{
  display:flex; flex-direction:column; gap:10px; padding:24px;
  border-radius:var(--radius); box-shadow:inset 0 0 0 1px var(--hairline);
}
.notice__title{ font-size:17px; font-weight:700; }
.notice__body{ font-size:16px; line-height:1.55; color:var(--muted); }

.form-notice{
  padding:14px 18px; border-radius:var(--radius); font-size:16px; font-weight:700;
}
.form-notice--ok{ background:var(--pale-cobalt); color:var(--cobalt-deep); }
.form-notice--err{ background:oklch(0.95 0.04 25); color:oklch(0.45 0.12 25); }

.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ---------- Legal pages ---------- */
.legal{ display:flex; flex-direction:column; gap:40px; padding:16px 0 64px; }
@media (min-width:1000px){
  .legal{ flex-direction:row; gap:64px; align-items:flex-start; padding:24px 0 80px; }
  .legal__toc{ width:260px; flex:none; }
  .legal__body{ flex:1; min-width:0; max-width:720px; }
}
.legal__body{ display:flex; flex-direction:column; gap:40px; }
.legal__body section{ display:flex; flex-direction:column; gap:14px; }
.legal__body h2{ font-size:23px; font-weight:800; }
.legal__body p{ font-size:18px; line-height:1.7; color:var(--body); }
.legal__body ul, .legal__body ol{ margin:0; padding-left:1.25em; color:var(--body); font-size:18px; line-height:1.7; }
@media (min-width:700px){ .legal__body h2{ font-size:26px; } }
.safety{
  display:flex; flex-direction:column; gap:14px; padding:28px;
  margin:8px 0 24px; border-radius:var(--radius); background:var(--pale-cobalt);
}
.safety__title{ font-size:21px; font-weight:800; }
.safety p{ font-size:18px; line-height:1.65; color:var(--body); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--surface); }
.site-footer__cols{
  display:grid; grid-template-columns:1fr 1fr; gap:32px;
  padding-top:40px; padding-bottom:24px;
}
@media (min-width:1000px){
  .site-footer__cols{ grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); padding-top:56px; padding-bottom:32px; }
}
.fcol{ display:flex; flex-direction:column; gap:12px; }
.fcol .widget{ display:flex; flex-direction:column; gap:12px; }
.fcol__h{ font-size:15px; font-weight:700; }
.fcol a{ font-size:16px; color:var(--muted); }
.fcol ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.fcol li{ margin:0; }
.fcol p{ font-size:16px; color:var(--muted); }
.fif-category-links{ display:flex; flex-direction:column; gap:12px; }
.fif-category-links__list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.fif-category-links__list a{ font-size:16px; color:var(--muted); }
.site-footer__legal{
  display:flex; justify-content:space-between; align-items:center;
  gap:16px; flex-wrap:wrap;
  padding-top:20px; padding-bottom:32px;
  box-shadow:inset 0 1px 0 var(--hairline);
  font-size:14px; color:var(--muted);
}
.site-footer__legal--only{ box-shadow:none; padding-top:40px; padding-bottom:40px; }
.site-footer__links{ display:flex; gap:20px; flex-wrap:wrap; }
.site-footer__links a{ color:var(--muted); }

/* ---------- WP extras: skip link, pagination, 404, comments ---------- */
.skip-link{
  position:absolute; left:var(--gutter); top:-100px; z-index:100000;
  padding:10px 16px; background:var(--cobalt); color:#fff; border-radius:var(--radius-sm);
  font-weight:700;
}
.skip-link:focus{ top:12px; color:#fff; }

.nav-links, .pagination{
  display:flex; gap:12px; flex-wrap:wrap; align-items:center; padding-top:28px;
}
.page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:10px 16px;
  font-weight:700; border-radius:var(--radius);
  box-shadow:inset 0 0 0 1.5px var(--hairline);
}
.page-numbers.current, .page-numbers:hover{ background:var(--ink); color:#fff; box-shadow:none; }

.entry-page{ padding-bottom:64px; }
.entry-page .prose{ max-width:720px; padding-top:0; padding-bottom:48px; }

.comments{ max-width:720px; padding:8px 0 64px; }
.comments-title, .comment-reply-title{ font-size:24px; font-weight:800; }
.comment-list{ list-style:none; margin:24px 0 0; padding:0; }
.comment-list .children{ list-style:none; margin:0 0 0 24px; padding:0; }
.comment{ padding:20px 0; box-shadow:inset 0 -1px 0 var(--hairline-soft); }
.comment-meta{ font-size:14px; color:var(--muted); margin-bottom:8px; }
.comment-form{ display:flex; flex-direction:column; gap:16px; margin-top:24px; }
.comment-form label{ font-size:15px; font-weight:700; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
  width:100%; padding:12px 16px; margin-top:8px;
  font-family:var(--font); font-size:16px; color:var(--ink);
  background:#fff; border:0; border-radius:var(--radius);
  box-shadow:inset 0 0 0 1px var(--hairline);
}
.comment-form .form-submit{ margin:0; }

.wp-block-buttons{ display:flex; gap:12px; flex-wrap:wrap; padding-top:4px; }

.alignleft{ float:left; margin:0 24px 16px 0; }
.alignright{ float:right; margin:0 0 16px 24px; }
.aligncenter{ display:block; margin-left:auto; margin-right:auto; }
.alignwide, .alignfull{ width:100%; }

/* ---------- Print ---------- */
@media print{
  .site-header,.site-footer,.searchbar,.pills,.load-more,.helpful,.skip-link{ display:none; }
  body{ font-size:12pt; }
}
