/*
Theme Name: Shelter Friends
Theme URI: https://shelterfriends.org
Author: RioWare
Author URI: https://shelterfriends.org
Description: A modern, accessible theme for Friends of the Shelter Foundation, a volunteer-run, foster-based dog and cat rescue in the Oklahoma City area. Includes page templates for Petfinder / Adopt-a-Pet listings, ShelterLuv adoption, foster and volunteer applications, ShelterPay donations, FAQs, and a working contact form.
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shelter-friends
Tags: custom-logo, custom-menu, featured-images, responsive-layout, accessibility-ready
*/

:root{
  --blue:#0b6bcb; --blue-dark:#084e96; --blue-deep:#0a2e4f;
  --red:#d92b2b; --red-dark:#b31f1f;
  --ink:#17293c; --ink-soft:#43586c; --bg:#ffffff; --bg-soft:#eef5fb; --bg-softer:#f7fafd;
  --card:#ffffff; --line:#d7e4f0; --line-strong:#b9cfe2;
  --gold:#e9a13b;
  --shadow:0 10px 30px rgba(10,46,79,.10);
  --shadow-sm:0 3px 12px rgba(10,46,79,.08);
  --radius:18px;
}
@media (prefers-color-scheme: dark){
  :root{
    --blue:#4aa3ec; --blue-dark:#7abcf5; --blue-deep:#dceefc;
    --red:#f0564f; --red-dark:#f0564f;
    --ink:#e9f2fa; --ink-soft:#a9bfd2; --bg:#0c1a29; --bg-soft:#10253a; --bg-softer:#0f2236;
    --card:#122a42; --line:#23405e; --line-strong:#31577e;
    --shadow:0 10px 30px rgba(0,0,0,.35); --shadow-sm:0 3px 12px rgba(0,0,0,.3);
  }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);line-height:1.6;font-size:17px}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.15;margin:0 0 .5em;font-weight:900;letter-spacing:-.01em;color:var(--ink)}
h1{font-size:clamp(2.1rem,5.2vw,3.4rem)}
h2{font-size:clamp(1.6rem,3.4vw,2.3rem)}
h3{font-size:1.25rem}
p{margin:0 0 1em}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.hand{font-family:"Caveat",cursive;font-weight:700;color:var(--red);font-size:1.5rem;line-height:1.1}
.kicker{font-weight:900;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin-bottom:.6em}
.lede{font-size:1.13rem;color:var(--ink-soft)}
.btn{display:inline-flex;align-items:center;gap:.5rem;border:2px solid transparent;border-radius:999px;padding:.72rem 1.5rem;font-weight:800;font-size:1rem;cursor:pointer;transition:transform .15s ease,background .15s ease,border-color .15s ease;text-align:center;justify-content:center}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-blue{background:var(--blue);color:#fff}
.btn-blue:hover{background:var(--blue-dark);color:#fff}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:var(--red-dark);color:#fff}
.btn-outline{border-color:var(--blue);color:var(--blue);background:transparent}
.btn-outline:hover{background:var(--bg-soft)}
.btn-white{background:#fff;color:#0a2e4f}
.btn-ghostlight{border-color:rgba(255,255,255,.7);color:#fff;background:transparent}
.btn-ghostlight:hover{background:rgba(255,255,255,.12)}
.btn-sm{padding:.5rem 1.05rem;font-size:.92rem}

/* ---------- header ---------- */
.topbar{background:var(--blue-deep);color:#dceefc;font-size:.86rem;font-weight:700}
@media (prefers-color-scheme: dark){.topbar{background:#081422;color:#a9bfd2}}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;align-items:center;justify-content:space-between;padding-top:.42rem;padding-bottom:.42rem}
.topbar a{color:#fff}
header.site{position:sticky;top:0;z-index:60;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 2px 14px rgba(10,46,79,.05)}
.header-in{display:flex;align-items:center;gap:1rem;padding:.55rem 0}
.logo-link{display:flex;align-items:center;flex-shrink:0}
.logo-chip{background:#fff;border-radius:12px;padding:4px 8px;border:1px solid var(--line);line-height:0}
.logo-chip img{height:52px;width:auto}
nav.main{margin-left:auto}
nav.main ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:.15rem;flex-wrap:wrap}
nav.main a.navlink{display:block;padding:.55rem .7rem;font-weight:800;font-size:.95rem;color:var(--ink);border-radius:10px}
nav.main a.navlink:hover,nav.main a.navlink.active{background:var(--bg-soft);text-decoration:none;color:var(--blue)}
.has-drop{position:relative}
.drop{position:absolute;top:calc(100% + 4px);left:0;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);min-width:250px;padding:.45rem;display:none;z-index:70}
.has-drop:hover .drop,.has-drop:focus-within .drop{display:block}
.drop a{display:block;padding:.5rem .7rem;border-radius:9px;font-weight:700;font-size:.94rem;color:var(--ink)}
.drop a:hover{background:var(--bg-soft);text-decoration:none;color:var(--blue)}
.header-cta{display:flex;gap:.5rem;align-items:center;margin-left:.4rem}
.burger{display:none;margin-left:auto;background:var(--bg-soft);border:1px solid var(--line);border-radius:10px;width:46px;height:46px;cursor:pointer;font-size:1.3rem;color:var(--ink);line-height:1}
@media (max-width:1020px){
  nav.main{display:none;position:absolute;top:100%;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:var(--shadow);padding:.6rem 20px 1rem}
  nav.main.open{display:block}
  nav.main ul{flex-direction:column;align-items:stretch}
  nav.main a.navlink{padding:.7rem .6rem}
  .drop{position:static;display:block;box-shadow:none;border:none;padding:0 0 .3rem 1rem;min-width:0}
  .burger{display:block}
  .header-cta .btn{display:none}
  .header-cta .btn-donate-m{display:inline-flex}
}
@media (min-width:1021px){.btn-donate-m{display:none!important}}

/* ---------- views ---------- */
@media (prefers-reduced-motion: reduce){.btn:hover{transform:none}html{scroll-behavior:auto}}

/* ---------- hero ---------- */
.hero{background:var(--bg-soft);overflow:hidden}
.hero-in{display:grid;grid-template-columns:1.05fr .95fr;gap:2.4rem;align-items:center;padding:3rem 0 3.4rem}
.hero h1 span{color:var(--blue)}
.hero-photo{position:relative}
.hero-photo img{border-radius:26px;box-shadow:var(--shadow);aspect-ratio:4/3.1;object-fit:cover;width:100%}
.hero-badge{position:absolute;left:-10px;bottom:22px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;padding:.65rem 1rem;font-weight:800;font-size:.92rem;max-width:250px;line-height:1.35}
.hero-badge .hand{font-size:1.25rem;display:block}
.hero-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.3rem}
.trust-row{display:flex;flex-wrap:wrap;gap:.5rem 1.6rem;margin-top:1.6rem;font-weight:800;font-size:.92rem;color:var(--ink-soft)}
.trust-row span::before{content:"✓";color:var(--blue);font-weight:900;margin-right:.4rem}
@media (max-width:860px){.hero-in{grid-template-columns:1fr;padding-top:2rem}.hero-badge{left:10px}}

/* ---------- sections & cards ---------- */
section.band{padding:3.4rem 0}
section.band.soft{background:var(--bg-softer)}
section.band.blue{background:#0a2e4f;color:#e6f1fb}
section.band.blue h2,section.band.blue h3{color:#fff}
section.band.blue .lede{color:#bcd8f2}
.sec-head{max-width:720px;margin-bottom:2rem}
.sec-head.center{margin-left:auto;margin-right:auto;text-align:center}
.grid{display:grid;gap:1.2rem}
.grid.c3{grid-template-columns:repeat(3,1fr)}
.grid.c2{grid-template-columns:repeat(2,1fr)}
.grid.c4{grid-template-columns:repeat(4,1fr)}
@media (max-width:920px){.grid.c3,.grid.c4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.grid.c3,.grid.c4,.grid.c2{grid-template-columns:1fr}}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow-sm)}
.card h3{margin-bottom:.35em}
.card p:last-child{margin-bottom:0}
.card .icon{width:52px;height:52px;border-radius:14px;background:var(--bg-soft);display:flex;align-items:center;justify-content:center;margin-bottom:.9rem}
.card .icon svg{width:28px;height:28px;stroke:var(--blue)}
.action-card{display:flex;flex-direction:column;overflow:hidden;padding:0}
.action-card img{aspect-ratio:16/10;object-fit:cover;width:100%}
.action-card .body{padding:1.3rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.action-card .body .btn{margin-top:auto;align-self:flex-start}
.steps{counter-reset:step}
.step{display:flex;gap:1rem}
.step-num{flex-shrink:0;width:44px;height:44px;border-radius:50%;background:var(--blue);color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center;font-size:1.1rem}
.step h3{margin-bottom:.2em}
.split{display:grid;grid-template-columns:1fr 1fr;gap:2.4rem;align-items:center}
.split img.round{border-radius:24px;box-shadow:var(--shadow);width:100%;aspect-ratio:4/3;object-fit:cover}
@media (max-width:860px){.split{grid-template-columns:1fr}}
.checklist{list-style:none;margin:0 0 1.2em;padding:0}
.checklist li{padding:.32rem 0 .32rem 1.9rem;position:relative}
.checklist li::before{content:"";position:absolute;left:0;top:.5rem;width:1.15rem;height:1.15rem;border-radius:50%;background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/0.7rem no-repeat}
.pill-note{display:inline-block;background:var(--bg-soft);border:1px solid var(--line);border-radius:999px;padding:.3rem .9rem;font-weight:800;font-size:.86rem;color:var(--ink-soft)}
.stat{text-align:center;padding:1.2rem .6rem}
.stat .num{font-size:2rem;font-weight:900;color:var(--blue);line-height:1}
.stat .lbl{font-weight:800;color:var(--ink-soft);font-size:.9rem;margin-top:.3rem}

/* ---------- embeds ---------- */
.embed-shell{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}
.embed-shell iframe{width:100%;border:0;display:block;background:#fff}
.embed-note{padding:.8rem 1.1rem;font-size:.9rem;color:var(--ink-soft);border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:center;justify-content:space-between}
.page-head{padding:2.6rem 0 1.6rem}
.page-head .lede{max-width:760px}

/* ---------- faq ---------- */
.faq-search{width:100%;max-width:560px;padding:.8rem 1.1rem;border:2px solid var(--line-strong);border-radius:999px;font:inherit;font-size:1rem;background:var(--card);color:var(--ink);margin-bottom:1.4rem}
.faq-item{border:1px solid var(--line);border-radius:14px;background:var(--card);margin-bottom:.7rem;overflow:hidden}
.faq-item button.q{width:100%;text-align:left;background:none;border:0;padding:1.05rem 2.8rem 1.05rem 1.2rem;font:inherit;font-weight:800;font-size:1.02rem;color:var(--ink);cursor:pointer;position:relative;line-height:1.4}
.faq-item button.q::after{content:"+";position:absolute;right:1.1rem;top:50%;transform:translateY(-50%);font-size:1.5rem;color:var(--blue);font-weight:900}
.faq-item.open button.q::after{content:"–"}
.faq-item .a{display:none;padding:0 1.2rem 1.15rem;color:var(--ink-soft)}
.faq-item.open .a{display:block}
.faq-item .a p:last-child{margin-bottom:0}
.faq-item .a ul{margin:.2em 0 .8em;padding-left:1.2em}
.faq-noresults{display:none;padding:1.2rem;border:1px dashed var(--line-strong);border-radius:14px;color:var(--ink-soft);font-weight:700}

/* ---------- forms ---------- */
form.contact{display:grid;gap:1rem;max-width:640px}
.field label{display:block;font-weight:800;margin-bottom:.35rem;font-size:.95rem}
.field label .req{color:var(--red)}
.field input,.field select,.field textarea{width:100%;padding:.75rem .95rem;border:2px solid var(--line-strong);border-radius:12px;font:inherit;font-size:1rem;background:var(--card);color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus,.faq-search:focus{outline:3px solid rgba(11,107,203,.35);border-color:var(--blue)}
.form-success{display:none;background:#e8f7ee;border:1px solid #9fd8b4;color:#14532d;border-radius:14px;padding:1.2rem 1.3rem;font-weight:700}
@media (prefers-color-scheme: dark){.form-success{background:#123324;border-color:#2c6b47;color:#b9ecd0}}

/* ---------- footer ---------- */
footer{background:var(--blue-deep);color:#c9ddef;margin-top:0}
@media (prefers-color-scheme: dark){footer{background:#081422}}
footer a{color:#fff}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:2rem;padding:3rem 0 2rem}
@media (max-width:920px){.foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.foot-grid{grid-template-columns:1fr}}
footer h4{color:#fff;font-size:1rem;margin-bottom:.8rem}
footer ul{list-style:none;margin:0;padding:0}
footer li{margin-bottom:.45rem}
footer .logo-chip{display:inline-block;margin-bottom:1rem}
.foot-bottom{border-top:1px solid rgba(255,255,255,.18);padding:1.2rem 0 1.6rem;font-size:.88rem;display:flex;flex-wrap:wrap;gap:.5rem 1.6rem;justify-content:space-between}
.socials{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.8rem}
.socials a{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center}
.socials a:hover{background:rgba(255,255,255,.25);text-decoration:none}
.socials svg{width:20px;height:20px;fill:#fff}
.memorial{text-align:center;padding:0 0 1.4rem;font-family:"Caveat",cursive;font-size:1.45rem;color:#ffd9d9}
.notice-bar{background:#fff4e0;border-bottom:1px solid #f0d9a8;color:#6b4e12;font-size:.9rem;font-weight:700}
@media (prefers-color-scheme: dark){.notice-bar{background:#3a2c10;color:#f3d9a0;border-color:#6b5518}}
.notice-bar .wrap{padding-top:.5rem;padding-bottom:.5rem}

/* ---------- dark-mode contrast fixes ----------
   The bright dark-mode blues/reds are too light to carry white text at WCAG AA,
   so filled controls switch to dark text (blue) or a deeper fill (red).
   The dark navy band keeps its dark background in both modes (see .band.blue),
   so its white text and ghost/white buttons stay readable. */
@media (prefers-color-scheme: dark){
  .btn-blue{color:#07263f}
  .btn-blue:hover{color:#07263f}
  .btn-red{background:#ce352e}
  .btn-red:hover{background:#b02a24}
  .step-num{color:#07263f}
  .checklist li::before{background-color:#2273b8}
}

/* ---------- WordPress additions ---------- */
body.admin-bar header.site{top:32px}@media(max-width:782px){body.admin-bar header.site{top:46px}}
nav.main ul.sub-menu{list-style:none}
@media(min-width:1021px){nav.main li.menu-item-has-children{position:relative}nav.main ul.sub-menu{position:absolute;top:calc(100% + 4px);left:0;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);min-width:250px;padding:.45rem;display:none;z-index:70}nav.main li.menu-item-has-children:hover ul.sub-menu,nav.main li.menu-item-has-children:focus-within ul.sub-menu{display:block}nav.main ul.sub-menu a{display:block;padding:.5rem .7rem;border-radius:9px;font-weight:700;font-size:.94rem;color:var(--ink)}nav.main ul.sub-menu a:hover{background:var(--bg-soft);text-decoration:none}}
@media(max-width:1020px){nav.main ul.sub-menu{display:block;padding:0 0 .3rem 1rem}}
.custom-logo{height:52px;width:auto}
.sf-embed iframe{height:900px}.sf-embed iframe.tall{height:1300px}.sf-embed iframe.medium{height:1100px}
.form-success{display:block}
.form-error{background:#fdecec;border:1px solid #f0a3a3;color:#7a1414;border-radius:14px;padding:1.2rem 1.3rem;font-weight:700}
@media (prefers-color-scheme: dark){.form-error{background:#3a1414;border-color:#7a2a2a;color:#f3b9b9}}
.hp-field{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.entry-content{max-width:820px}.entry-content img{height:auto}
.alignleft{float:left;margin:.3em 1em 1em 0}.alignright{float:right;margin:.3em 0 1em 1em}.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%}.wp-caption-text{font-size:.88rem;color:var(--ink-soft)}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.post-nav,.pagination{margin:2rem 0;display:flex;gap:1rem;flex-wrap:wrap}
article.post-card{margin-bottom:1.4rem}
.footer-widgets{padding-top:1rem}
.toggle-row{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:1.2rem}
.toggle-btn[aria-pressed="true"]{background:var(--blue);color:#fff}
@media (prefers-color-scheme: dark){.toggle-btn[aria-pressed="true"]{color:#07263f}}

/* ---------- Available Pets widget + shortcode (v1.1.0) ----------
   Client-side Adopt-a-Pet iframe only — no API calls are made by the
   theme. Used by the "Shelter Friends – Available Pets" widget and
   the [shelter_friends_pets] shortcode. */
.sf-pets-widget{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}
.sf-pets-widget .sf-pets-frame{line-height:0}
.sf-pets-widget iframe{width:100%;max-width:100%;border:0;border-radius:0;display:block;background:#fff}
.sf-pets-widget .sf-pets-actions{padding:.85rem 1rem;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}
.sf-pets-widget.sf-pets-shortcode{margin:0 0 1.4rem}
section.footer-widget .sf-pets-widget{box-shadow:none}
section.footer-widget .sf-pets-widget iframe{border-radius:0}

/* ---------- Petfinder pet-scroller embed (v1.2.0) ----------
   Petfinder's official pet-scroller is an inline, script-injected
   light UI. Its filter dropdown options render in pale gray on white
   when they inherit this theme's colours, especially in dark mode.
   Force a light, high-contrast shell in BOTH colour schemes and push
   dark readable text into every filter/control descendant we can
   reach with element/role selectors (the widget's internal class
   names are not stable/public). Overrides are scoped to
   pet-scroller / .sf-petfinder-embed descendants only. */
.sf-petfinder-embed{background:#ffffff;color:#17293c;color-scheme:light;border:1px solid var(--line);border-radius:var(--radius);padding:1rem;overflow:visible;overflow-x:clip;box-shadow:var(--shadow-sm)}
.sf-petfinder-embed pet-scroller,pet-scroller{display:block;width:100%;max-width:100%;min-width:0;color:#17293c;color-scheme:light}
pet-scroller [role="option"],pet-scroller [role="listbox"],pet-scroller [role="combobox"],pet-scroller select,pet-scroller option,pet-scroller li,pet-scroller button,pet-scroller label,pet-scroller input,pet-scroller a,
.sf-petfinder-embed [role="option"],.sf-petfinder-embed [role="listbox"],.sf-petfinder-embed [role="combobox"],.sf-petfinder-embed select,.sf-petfinder-embed option,.sf-petfinder-embed li,.sf-petfinder-embed button,.sf-petfinder-embed label{color:#17293c}
pet-scroller [role="option"],.sf-petfinder-embed [role="option"]{color:#17293c!important}
pet-scroller [role="listbox"],.sf-petfinder-embed [role="listbox"]{background:#ffffff;color:#17293c!important}
pet-scroller select,.sf-petfinder-embed select{background:#ffffff;color:#17293c}
pet-scroller option,.sf-petfinder-embed option{background:#ffffff;color:#17293c}
@media (prefers-color-scheme: dark){
  .sf-petfinder-embed{background:#ffffff;color:#17293c;color-scheme:light}
  .sf-petfinder-embed pet-scroller,pet-scroller{color:#17293c;color-scheme:light}
  pet-scroller [role="option"],pet-scroller [role="listbox"]{color:#17293c!important}
  pet-scroller [role="listbox"]{background:#ffffff}
}

/* ---------- Available Pets page: full light island (v1.2.1) ----------
   WHY: the Petfinder pet-scroller is a light-UI third-party component
   whose text inherits page colours. Dark-mode palettes and tinted
   section backgrounds (--bg / --bg-soft flip dark in dark mode) wash
   out its filter dropdown text — the failure Sam reported. Chasing
   the widget's internal styles fixes one control at a time; instead
   the WHOLE main content area of the Available Pets page (body class
   sf-pets-page, added in functions.php for the pets template only)
   is light-locked to a plain white background in BOTH colour
   schemes. That removes the whole class of failures: nothing on
   this page can flip dark or tinted underneath the widget.
   Header, topbar and footer are outside <main> and keep normal
   theme styling in both modes. The .sf-petfinder-embed card rules
   above stay in force inside this island. */
body.sf-pets-page main{background:#ffffff;color:#17293c;color-scheme:light}
body.sf-pets-page main h1,body.sf-pets-page main h2,body.sf-pets-page main h3,body.sf-pets-page main h4{color:#17293c}
body.sf-pets-page main p{color:#17293c}
body.sf-pets-page main .lede{color:#43586c}
body.sf-pets-page main .kicker{color:#0b6bcb}
body.sf-pets-page main a:not(.btn){color:#0b6bcb}
body.sf-pets-page main .card{background:#ffffff;border-color:#d7e4f0;color:#17293c}
body.sf-pets-page main .card h3{color:#17293c}
body.sf-pets-page main .card p{color:#17293c}
body.sf-pets-page main .btn-blue{background:#0b6bcb;color:#ffffff}
body.sf-pets-page main .btn-blue:hover{background:#084e96;color:#ffffff}
body.sf-pets-page main .btn-red{background:#d92b2b;color:#ffffff}
body.sf-pets-page main .btn-red:hover{background:#b31f1f;color:#ffffff}
body.sf-pets-page main .btn-outline{border-color:#0b6bcb;color:#0b6bcb;background:transparent}
body.sf-pets-page main .step-num{background:#0b6bcb;color:#ffffff}
/* Light island re-asserted in dark mode with the same body-class
   specificity, so the dark-mode variable flips at the top of this
   file (and the dark-mode button fixes) cannot leak into this page.
   Values are literal light values, never var()s that flip dark. */
@media (prefers-color-scheme: dark){
  body.sf-pets-page main{background:#ffffff;color:#17293c;color-scheme:light}
  body.sf-pets-page main h1,body.sf-pets-page main h2,body.sf-pets-page main h3,body.sf-pets-page main h4{color:#17293c}
  body.sf-pets-page main p{color:#17293c}
  body.sf-pets-page main .lede{color:#43586c}
  body.sf-pets-page main .kicker{color:#0b6bcb}
  body.sf-pets-page main a:not(.btn){color:#0b6bcb}
  body.sf-pets-page main .card{background:#ffffff;border-color:#d7e4f0;color:#17293c}
  body.sf-pets-page main .card h3{color:#17293c}
  body.sf-pets-page main .card p{color:#17293c}
  body.sf-pets-page main .btn-blue{background:#0b6bcb;color:#ffffff}
  body.sf-pets-page main .btn-blue:hover{background:#084e96;color:#ffffff}
  body.sf-pets-page main .btn-red{background:#d92b2b;color:#ffffff}
  body.sf-pets-page main .btn-red:hover{background:#b31f1f;color:#ffffff}
  body.sf-pets-page main .btn-outline{border-color:#0b6bcb;color:#0b6bcb;background:transparent}
  body.sf-pets-page main .step-num{background:#0b6bcb;color:#ffffff}
  body.sf-pets-page main .sf-petfinder-embed{background:#ffffff;color:#17293c;color-scheme:light}
}
