/* DogFoodCheckup — loaded on every DogFoodCheckup page: header tools (theme switch, mobile menu),
   Vet reviewed badge, author boxes, footer team line and the About page */

/* ---------- Header tools: light/dark switch + mobile menu ---------- */
html[data-theme="dark"]{color-scheme:dark}
.dfc .dfc-top .dfc-tools{display:flex;align-items:center;gap:10px;flex:none}
.dfc .dfc-top .dfc-ibtn{display:inline-grid;place-items:center;width:40px;height:40px;min-height:0;padding:0;margin:0;flex:none}
.dfc .dfc-top .dfc-ibtn,.dfc .dfc-top .dfc-ibtn:hover,.dfc .dfc-top .dfc-ibtn:focus{border:1.5px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);box-shadow:none;cursor:pointer;line-height:1;text-decoration:none}
.dfc .dfc-top .dfc-ibtn:hover{border-color:var(--ink)}
.dfc .dfc-top .dfc-ibtn svg{display:block;pointer-events:none}
.dfc .dfc-top .dfc-theme-btn .i-sun,html[data-theme="dark"] .dfc .dfc-top .dfc-theme-btn .i-moon{display:none}
html[data-theme="dark"] .dfc .dfc-top .dfc-theme-btn .i-sun{display:block}
.dfc .dfc-top .dfc-menu-btn,.dfc .dfc-top .dfc-menu-btn .i-close,.dfc .dfc-top.is-open .dfc-menu-btn .i-menu{display:none}
.dfc .dfc-top.is-open .dfc-menu-btn .i-close{display:block}
.dfc .dfc-top .dfc-nav-sos{display:none}
@media (max-width:1180px){
  .dfc .dfc-top .dfc-tools{margin-left:auto}
  .dfc .dfc-top .dfc-menu-btn{display:inline-grid}
  .dfc .dfc-top .dfc-nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;gap:2px;margin:0;padding:10px 20px 20px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 24px 32px -24px rgba(0,0,0,.35);max-height:calc(100vh - 64px);overflow-y:auto}
  .dfc .dfc-top.is-open .dfc-nav{display:flex}
  .dfc .dfc-top .dfc-nav a{font-size:17px;padding:13px 14px;border-radius:12px}
  .dfc .dfc-top .dfc-nav .dfc-nav-sos{display:flex;align-items:center;gap:10px;margin-top:8px;color:var(--no);background:var(--no-bg)}
  .dfc .dfc-top .dfc-nav .dfc-nav-sos:hover{color:var(--no);background:var(--no-bg)}
  .dfc .dfc-top .dfc-nav-sos i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--no);color:var(--on-no);font:800 12px/1 var(--f-body);font-style:normal;flex:none}
}
.dfc .dfc-top .dfc-sos-s{display:none}
@media (max-width:600px){
  .dfc .dfc-top .dfc-top-in{gap:12px}
  .dfc .dfc-top .dfc-tools{gap:8px}
  .dfc .dfc-top .dfc-sos{padding:8px 12px}
  .dfc .dfc-top .dfc-sos .dfc-sos-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .dfc .dfc-top .dfc-sos .dfc-sos-s{display:inline}
}
@media (max-width:480px){
  .dfc .dfc-top .dfc-brand{font-size:17px;gap:8px}
  .dfc .dfc-top .dfc-brand .dfc-mark{width:26px;height:26px}
  .dfc .dfc-top .dfc-sos{padding:0;width:40px;height:40px;justify-content:center;gap:0}
  .dfc .dfc-top .dfc-sos .dfc-sos-s{display:none}
  .dfc .dfc-top .dfc-sos i{width:22px;height:22px;font-size:14px}
}
@media (max-width:380px){
  .dfc .dfc-top .dfc-top-in{gap:8px}
  .dfc .dfc-top .dfc-tools{gap:6px}
  .dfc .dfc-top .dfc-ibtn,.dfc .dfc-top .dfc-sos{width:36px;height:36px}
}
@media (max-width:340px){
  .dfc .dfc-top .dfc-wrap{width:calc(100% - 24px)}
  .dfc .dfc-top .dfc-brand{font-size:16px;gap:6px}
  .dfc .dfc-top .dfc-brand .dfc-mark{width:24px;height:24px}
}

/* ---------- Form controls: keep the theme's (Astra's) fixed colours and heights off DogFoodCheckup pages ---------- */
.dfc label{color:var(--ink)}
.dfc select{height:auto;line-height:normal}
.dfc select:focus{background-color:var(--paper);color:var(--ink)}
.dfc select option{background-color:var(--card);color:var(--ink)}

/* ---------- Vet reviewed badge (no reviewer name) ---------- */
.dfc .dfc-vet-row{margin:0 0 16px}
.dfc .dfc-vet{display:inline-flex;align-items:center;gap:7px;font:700 14px/1 var(--f-body);color:var(--yes);background:var(--yes-bg);border:1.5px solid color-mix(in srgb,var(--yes) 35%,transparent);padding:7px 12px 7px 9px;border-radius:999px;white-space:nowrap}
.dfc .dfc-vet svg{flex:none;display:block}
.dfc .dfc-vet.bl-review{font-size:12px;padding:5px 9px 5px 7px;gap:5px;border:0;pointer-events:none}
.dfc .dfc-vet.bl-review svg{width:14px;height:14px}

/* ---------- Author box (blog posts and food guides) ---------- */
.dfc-author{--a-ink:#12302F;--a-ink2:#3A5451;--a-muted:#5D706C;--a-card:#FFFFFF;--a-soft:#F2F5F0;--a-line:#D3DDD6;--a-brand:#0E6E5C;--a-yes:#0F6E4D;--a-yes-bg:#E1F3EA;--a-shadow:#0E6E5C;
  margin:40px 0 8px;background:var(--a-card);border:2px solid var(--a-ink);border-radius:18px;padding:22px;color:var(--a-ink);font-size:16px;line-height:1.55;box-shadow:5px 5px 0 var(--a-shadow)}
.dfc .dfc-author{--a-ink:var(--ink);--a-ink2:var(--ink-2);--a-muted:var(--muted);--a-card:var(--card);--a-soft:var(--paper);--a-line:var(--line);--a-brand:var(--brand);--a-yes:var(--yes);--a-yes-bg:var(--yes-bg);--a-shadow:var(--offset)}
.dfc-author p{margin:0!important}
.dfc-author-main{display:flex;gap:18px;align-items:flex-start}
.dfc-author-photo{width:72px!important;height:72px!important;max-width:none!important;border-radius:50%;object-fit:cover;flex:none;border:2px solid var(--a-line);background:var(--a-soft)}
.dfc-author-body{min-width:0;flex:1}
.dfc-author .dfc-author-label{font:600 11px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--a-muted);margin-bottom:4px!important}
.dfc-author-name{font-size:20px;font-weight:800;line-height:1.25}
.dfc-author-name a{color:var(--a-ink)!important;text-decoration:none!important}
.dfc-author-name a:hover{text-decoration:underline!important}
.dfc-author .dfc-author-meta{font-size:14px;color:var(--a-muted);margin-top:2px!important}
.dfc-author .dfc-author-bio{margin-top:10px!important;color:var(--a-ink2);font-size:15px}
.dfc-author .dfc-author-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px!important;font-size:14px}
.dfc-author-links a{color:var(--a-brand)!important;font-weight:700;text-decoration:none!important}
.dfc-author-links a:hover{text-decoration:underline!important}
.dfc-author-review{display:flex;align-items:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1.5px dashed var(--a-line);font-size:14px;color:var(--a-ink2)}
.dfc-author-review img{width:40px!important;height:40px!important;max-width:none!important;border-radius:50%;object-fit:cover;flex:none}
.dfc-author-review a{color:var(--a-ink)!important;font-weight:700}
.dfc-author-check{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--a-yes-bg,#E1F3EA);color:var(--a-yes,#0F6E4D);font-size:12px;font-weight:800;margin-right:6px;vertical-align:-4px}
@media (max-width:560px){.dfc-author-main{flex-direction:column}}

/* Review line at the top of blog posts */
.dfc-reviewline{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0 0 24px!important;padding:10px 14px;border-radius:12px;background:#E1F3EA;color:#0F6E4D;font-size:14px;font-weight:700;line-height:1.4}
.dfc-reviewline a{color:inherit!important;text-decoration:underline}
.dfc-reviewline .dfc-author-check{background:#fff}

/* ---------- Footer team line ---------- */
.dfc .foot-team{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding:20px 0;border-bottom:1px solid #24504C}
.dfc .foot-person{display:inline-flex;align-items:center;gap:10px;color:#DCE8E4;text-decoration:none;font-size:14px}
.dfc .foot-person img{width:32px;height:32px;border-radius:50%;object-fit:cover;border:1.5px solid #24504C}
.dfc .foot-person strong{color:#fff}
.dfc .foot-person:hover{color:#DCE8E4}
.dfc .foot-person:hover strong{color:#FFE066}
.dfc .foot-team-link{margin-left:auto;color:#FFE066;font-weight:700;font-size:14px;text-decoration:none}
.dfc .foot-team-link:hover{color:#FFE066;text-decoration:underline}
@media (max-width:700px){.dfc .foot-team-link{margin-left:0}}

/* ---------- About page ---------- */
.dfc-about .ab-hero{padding:48px 0 72px;background-image:linear-gradient(var(--line-2) 1px,transparent 1px),linear-gradient(90deg,var(--line-2) 1px,transparent 1px);background-size:28px 28px}
.dfc-about .ab-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.dfc-about h1{font-size:clamp(40px,5.8vw,72px);margin-bottom:20px}
.dfc-about h1 span{display:block;color:var(--ink-2)}
.dfc-about mark{background:linear-gradient(transparent 55%,var(--hi) 55%,var(--hi) 92%,transparent 92%);color:inherit;padding:0 .06em}
html[data-theme="dark"] .dfc-about mark{background:linear-gradient(transparent 62%,rgba(255,224,102,.3) 62%,rgba(255,224,102,.3) 92%,transparent 92%)}
.dfc-about .ab-lede{font-size:20px;line-height:1.55;color:var(--ink-2);max-width:34em;margin-bottom:28px}
.dfc-about .ab-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.dfc-about .ab-link{font-weight:700;text-decoration:none}

.dfc-about .ab-id-wrap{position:relative;padding-top:18px}
.dfc-about .ab-id-wrap::before{content:"";position:absolute;top:1px;left:50%;transform:translateX(-50%);width:124px;height:36px;border-radius:10px;background:var(--ink);z-index:2;box-shadow:inset 0 -7px 0 rgba(255,255,255,.14)}
.dfc-about .ab-id{background:var(--card);border:2px solid var(--ink);border-radius:20px;padding:34px 24px 22px;box-shadow:var(--shadow)}
.dfc-about .ab-id-main{display:flex;gap:18px;align-items:center}
.dfc-about .ab-id-photo{width:96px;height:96px;border-radius:50%;object-fit:cover;border:3px solid var(--line);flex:none}
.dfc-about .ab-id-name{font:800 28px/1.1 var(--f-head);letter-spacing:-.02em}
.dfc-about .ab-id-title{font-weight:700;color:var(--brand);margin-top:4px}
.dfc-about .ab-id-loc{font-size:14px;color:var(--muted);margin-top:2px}
.dfc-about .ab-chips{list-style:none;padding:0;margin:16px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.dfc-about .ab-chips li{font-size:13px;font-weight:700;padding:6px 10px;border-radius:999px;background:var(--line-2);color:var(--ink-2)}
.dfc-about .ab-id-rev{display:flex;align-items:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1.5px dashed var(--line);text-decoration:none;color:var(--ink)}
.dfc-about .ab-id-rev:hover{color:var(--ink)}
.dfc-about .ab-id-rev img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.dfc-about .ab-id-rev small{display:block;font:600 11px/1.2 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.dfc-about .ab-id-rev strong{font-size:16px}

.dfc-about .ab-facts{background:#0B2524;color:#DCE8E4}
.dfc-about .ab-facts-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 28px;padding:18px 0;font:600 13px/1.3 var(--f-mono);letter-spacing:.06em;text-transform:uppercase}
.dfc-about .ab-facts b{font:800 22px/1 var(--f-head);color:#FFE066;margin-right:6px;letter-spacing:0;vertical-align:-2px}

.dfc-about .ab-sec{padding:88px 0;scroll-margin-top:64px}
.dfc-about .ab-sec--alt{background:var(--card);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.dfc-about .ab-head{max-width:680px;margin-bottom:36px}
.dfc-about h2{font-size:clamp(30px,4vw,44px);margin-bottom:12px}
.dfc-about .ab-head > p:not(.dfc-eyebrow){color:var(--ink-2);font-size:18px}

.dfc-about .ab-story{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start}
.dfc-about .ab-story-side{position:sticky;top:96px}
.dfc-about .ab-story-by{display:flex;gap:10px;align-items:center;font-size:15px;color:var(--muted)}
.dfc-about .ab-story-by img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.dfc-about .dfc-prose blockquote{margin:28px 0;padding:4px 0 4px 22px;border-left:4px solid var(--hi);font:700 22px/1.45 var(--f-head);letter-spacing:-.01em;color:var(--ink)}
.dfc-about .dfc-prose blockquote p{margin:0}

.dfc-about .ab-team{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px}
.dfc-about .ab-person{display:flex;gap:20px;align-items:flex-start;background:var(--paper);border:1.5px solid var(--line);border-radius:var(--r);padding:26px;scroll-margin-top:90px}
.dfc-about .ab-person:target{border-color:var(--brand);box-shadow:0 0 0 3px var(--hi-soft)}
.dfc-about .ab-person-photo{width:104px;height:104px;border-radius:50%;object-fit:cover;flex:none;border:3px solid var(--line)}
.dfc-about .ab-person-role{font:600 11px/1.2 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin-bottom:6px}
.dfc-about .ab-person h3{font-size:24px;margin-bottom:4px}
.dfc-about .ab-person-meta{font-size:14px;color:var(--muted);margin-bottom:12px}
.dfc-about .ab-person-bio{color:var(--ink-2);font-size:16px}
.dfc-about .ab-person-bio p{margin:0 0 10px}
.dfc-about .ab-person-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:14px;font-size:14px}
.dfc-about .ab-person-links a{font-weight:700;text-decoration:none}

.dfc-about .ab-steps{list-style:none;counter-reset:s;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.dfc-about .ab-steps li{counter-increment:s;background:var(--card);border:1.5px solid var(--line);border-radius:var(--r);padding:22px 20px}
.dfc-about .ab-steps li::before{content:"0" counter(s);display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--ink);color:var(--paper);font:800 16px/1 var(--f-head);margin-bottom:14px}
.dfc-about .ab-steps h3{font-size:19px;margin-bottom:6px}
.dfc-about .ab-steps p{font-size:15px;color:var(--ink-2)}
.dfc-about .ab-scale{list-style:none;padding:0;margin:28px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.dfc-about .ab-scale li{display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:14px;color:var(--ink-2)}

.dfc-about .ab-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.dfc-about .ab-box{background:var(--paper);border:1.5px solid var(--line);border-radius:var(--r);padding:26px}
.dfc-about .ab-box h3{font-size:22px;margin-bottom:16px}
.dfc-about .ab-list{list-style:none;padding:0;display:grid;gap:12px}
.dfc-about .ab-list li{position:relative;padding-left:30px;color:var(--ink-2);font-size:16px;line-height:1.5}
.dfc-about .ab-list li::before{content:"✓";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--yes-bg);color:var(--yes);font-size:12px;font-weight:800}
.dfc-about .ab-list strong{color:var(--ink)}
.dfc-about .ab-list a{font-weight:700}

.dfc-about .ab-guides-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:20px}

@media (max-width:960px){
  .dfc-about .ab-hero-grid{grid-template-columns:1fr;gap:36px}
  .dfc-about .ab-story{grid-template-columns:1fr;gap:16px}
  .dfc-about .ab-story-side{position:static}
  .dfc-about .ab-steps,.dfc-about .ab-scale{grid-template-columns:1fr 1fr}
  .dfc-about .ab-two{grid-template-columns:1fr}
}
@media (max-width:600px){
  .dfc-about .ab-sec{padding:64px 0}
  .dfc-about .ab-lede{font-size:18px}
  .dfc-about .ab-person{flex-direction:column}
  .dfc-about .ab-steps,.dfc-about .ab-scale{grid-template-columns:1fr}
  .dfc-about .ab-id-main{flex-direction:column;align-items:flex-start}
}