@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Montserrat:wght@400;500;600;700&display=swap');

/* CedarFriends design system — sitewide chrome and WPBakery landing sections. */
:root {
  --cf-forest: #103e30;
  --cf-forest-deep: #0b3126;
  --cf-ink: #122820;
  --cf-muted: #4f5a50;
  --cf-gold: #b9771b;
  --cf-gold-light: #cf8b29;
  --cf-paper: #fbfaf7;
  --cf-white: #fff;
  --cf-line: #e7e5dc;
  --cf-serif: Georgia, 'Times New Roman', serif;
  --cf-sans: 'Helvetica Neue', Arial, sans-serif;
}
.cedarfriends-theme .cf-container { width: min(100% - 9vw, 1270px); margin-inline: auto; }
.cedarfriends-theme .cf-site-header *,
.cedarfriends-theme .cf-site-footer *,
.cedarfriends-theme .cf-landing-main * { box-sizing: border-box; }
.cedarfriends-theme .cf-site-header a,
.cedarfriends-theme .cf-site-footer a,
.cedarfriends-theme .cf-landing-main a { text-decoration: none; }
.cedarfriends-theme .cf-site-header a:focus-visible,
.cedarfriends-theme .cf-site-footer a:focus-visible,
.cedarfriends-theme .cf-landing-main a:focus-visible,
.cedarfriends-theme .cf-menu-toggle:focus-visible { outline: 3px solid #dda035; outline-offset: 4px; }

/* Consistent, sitewide branding; not a WPBakery row. */
.cf-site-header {
  position: relative;
  z-index: 70;
  width: 100%;
  min-height: 83px;
  background: #fcfaf4;
  background-image: radial-gradient(circle at 25% 15%, rgba(236,226,207,.21), transparent 50%);
  box-shadow: 0 1px 0 rgba(20,40,32,.07);
  color: var(--cf-ink);
  font-family: var(--cf-sans);
}
.cf-header-inner { display: flex; min-height: 83px; align-items: center; justify-content: space-between; gap: 20px; }
.cf-brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; min-width: 0; color: var(--cf-ink) !important; }
.cf-brand__mark { display: block; height: 60px; width: 90px; overflow: hidden; flex: 0 0 90px; }
.cf-brand__mark img { display: block; height: 60px; width: auto; max-width: unset; max-height: unset; margin: 0; }
.cf-brand__name { font: 600 14px/1.05 var(--cf-serif); letter-spacing: -.2px; white-space: nowrap; }
.cf-main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2.1vw, 33px); flex: 1 1 auto; }
.cf-nav-links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(13px, 1.75vw, 30px); padding: 0; margin: 0; list-style: none; }
.cf-nav-links li { list-style: none; margin: 0; padding: 0; }
.cf-nav-links a { display: block; padding: 9px 0; color: #172e26; font: 500 clamp(11px,.93vw,13px)/1.3 var(--cf-sans); white-space: nowrap; position: relative; }
.cf-nav-links li.current-menu-item > a:after,
.cf-nav-links a:hover:after { content: ''; width: 100%; height: 2px; background: var(--cf-forest); position: absolute; left: 0; bottom: 4px; }
.cf-language-switch { display: inline-flex; align-items: center; gap: 15px; font: 700 11px/1 var(--cf-sans); color: #303c34; white-space: nowrap; }
.cf-language-switch > a, .cf-language-switch > span { color: var(--cf-ink); line-height: 23px; }
.cf-language-switch .is-current { border-bottom: 2px solid var(--cf-forest); }
.cf-language-switch .is-disabled { color: #7e8983; cursor: not-allowed; }
.cf-site-header .cf-button, .cf-landing-main .cf-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 4px; font-family: var(--cf-sans); font-weight: 650; text-align: center; transition: background-color .2s ease, transform .2s ease; }
.cf-site-header .cf-button--header { min-height: 42px; padding: 0 22px; background: var(--cf-gold); color: #fff; white-space: nowrap; font-size: 12px; box-shadow: 0 2px 4px rgba(25,34,24,.06); }
.cf-site-header .cf-button--header:hover, .cf-landing-main .cf-button--gold:hover { background: #945e12; color: #fff; transform: translateY(-1px); }
.cf-menu-toggle { display: none; padding: 8px; background: transparent; border: 0; color: var(--cf-forest); cursor: pointer; }
.cf-menu-toggle svg { width: 27px; height: 27px; }
.cf-menu-toggle .cf-menu-close { display: none; }
.cf-menu-toggle[aria-expanded="true"] .cf-menu-close { display: inline-flex; }
.cf-menu-toggle[aria-expanded="true"] .cf-menu-open { display: none; }

/* Landing template resets: WPBakery is structural; CedarFriends blocks own visual spacing. */
.cedarfriends-theme.cedarfriends-landing-template #primary.cf-landing-main,
.cedarfriends-theme #primary.cf-landing-main { display: block; float: none; clear: both; width: 100%; max-width: none; padding: 0; margin: 0; }
.cf-landing-main, .cf-landing-main .cf-landing-article { padding: 0; margin: 0; border: 0; width: 100%; }
.cf-landing-main .cf-vc-row,
.cf-landing-main .vc_row.cf-vc-row { padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: 100% !important; left: auto !important; right: auto !important; }
.cf-landing-main .cf-vc-row > .wpb_column,
.cf-landing-main .cf-vc-row .vc_column_container { width: 100%; float: none; padding: 0 !important; margin: 0 !important; }
.cf-landing-main .cf-vc-row .vc_column-inner { padding: 0 !important; margin: 0 !important; }
.cf-landing-main .cf-vc-row .wpb_wrapper { margin: 0; padding: 0; }
.cf-landing-main .cf-vc-row .wpb_wrapper > :first-child { margin-top: 0; }
.cf-landing-main .cf-vc-row .wpb_wrapper > :last-child { margin-bottom: 0; }
.cf-landing-main .cf-block { width: 100%; margin: 0; max-width: 100%; }
.cf-landing-main h1, .cf-landing-main h2, .cf-landing-main h3 { font-family: var(--cf-serif); letter-spacing: -.045em; font-weight: 500; text-transform: none; }
.cf-landing-main p { font-family: var(--cf-serif); margin: 0; }
.cf-landing-main svg { width: 100%; height: 100%; }

/* Hero */
.cf-hero { position: relative; min-height: clamp(460px, 42vw, 610px); isolation: isolate; display: flex; align-items: center; overflow: hidden; background: #7b8b8e; }
.cf-hero__backdrop, .cf-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.cf-hero__backdrop { display: block; object-fit: cover; object-position: center 53%; z-index: -2; }
.cf-hero__shade { z-index: -1; background: linear-gradient(90deg, rgba(9,21,32,.78) 0%,rgba(10,24,32,.64) 22%,rgba(10,30,38,.16) 50%, rgba(9,22,29,.04) 85%); }
.cf-hero__inner { display: flex; align-items: center; min-height: inherit; padding-top: 60px; padding-bottom: 65px; }
.cf-hero__copy { max-width: 510px; color: #fff; }
.cf-hero__copy h1 { color: #fff; font-size: clamp(42px, 4.0vw, 65px); line-height: 1.02; margin: 0 0 24px; text-shadow: 0 2px 14px rgba(10,18,26,.16); }
.cf-hero__copy h1 span, .cf-legacy__copy h2 span { display: block; }
.cf-hero__copy p { max-width: 455px; color: rgba(255,255,255,.98); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.35; margin-bottom: 24px; }
.cf-landing-main .cf-button--gold { background: var(--cf-gold-light); color: #fff; min-height: 51px; font-size: 14px; padding: 0 22px; border-radius: 5px; box-shadow: 0 7px 17px rgba(15,24,25,.19); }
.cf-button--gold span { display: flex; width: 18px; height: 18px; }

/* Impact strip */
.cf-stats { background-color: var(--cf-paper); background-image: radial-gradient(ellipse at 3% 100%, rgba(222,209,184,.18), transparent 46%), radial-gradient(ellipse at 75% 0%, rgba(231,219,192,.16), transparent 40%); }
.cf-stats__grid { min-height: 120px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; }
.cf-stat { min-height: 71px; display: flex; align-items: center; justify-content: center; gap: 25px; padding: 2px 20px; }
.cf-stat + .cf-stat { border-left: 1px solid #d7d8d1; }
.cf-stat__icon { display: flex; color: var(--cf-forest); height: 41px; width: 41px; flex: 0 0 41px; }
.cf-stat > div { display: flex; flex-direction: column; align-items: flex-start; }
.cf-stat strong { font: 600 clamp(29px,2.85vw,43px)/1 var(--cf-serif); letter-spacing: -.035em; color: var(--cf-forest); }
.cf-stat span:not(.cf-stat__icon) { font: 16px/1.4 var(--cf-serif); color: var(--cf-ink); }

/* Living legacy */
.cf-legacy { background: #fff; padding: clamp(45px,6vw,88px) 0 clamp(35px,4vw,66px); }
.cf-legacy__grid { display: grid; grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr); gap: 35px; align-items: center; }
.cf-eyebrow { display: block; font: 700 10px/1.3 var(--cf-sans); text-transform: uppercase; letter-spacing: .38em; color: #355d49; margin: 0 0 12px; }
.cf-legacy__copy { align-self: center; max-width: 615px; }
.cf-legacy__copy h2 { color: var(--cf-forest-deep); font-size: clamp(36px, 3.3vw, 56px); line-height: 1.08; margin: 0 0 22px; }
.cf-legacy__copy p { font-size: clamp(16px, 1.28vw, 20px); line-height: 1.43; color: #27362f; max-width: 595px; }
.cf-legacy__visual { display: grid; grid-template-columns: minmax(0,1fr) 90px; align-items: center; gap: 7px; min-height: 315px; }
.cf-legacy__image { width: 100%; height: min(30vw,350px); min-height: 260px; overflow: hidden; clip-path: polygon(6% 8%,13% 6%,19% 2%,32% 6%,44% 0%,57% 5%,67% 0%,83% 7%,92% 3%,100% 12%,97% 27%,100% 37%,95% 50%,100% 61%,96% 74%,99% 88%,86% 96%,75% 94%,63% 100%,48% 95%,34% 100%,21% 94%,9% 97%,3% 85%,7% 70%,0% 57%,5% 43%,0% 29%); opacity: .96; }
.cf-legacy__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.cf-legacy__quote { color: #58705b; font-family: var(--cf-serif); align-self: center; padding-left: 4px; }
.cf-legacy__quote p { font: italic 18px/1.25 var(--cf-serif); margin-bottom: 19px; }
.cf-legacy__quote > span { display: block; width: 27px; height: 1px; background: #8b9c8a; margin: 17px 0 14px; }
.cf-legacy__quote small { display: block; max-width: 75px; font: 700 9px/1.75 var(--cf-sans); text-transform: uppercase; letter-spacing: .2em; }

/* Adoption cards */
.cf-adoption { background: #fff; padding: 0 0 clamp(45px,5vw,74px); }
.cf-adoption h2 { font-size: clamp(34px, 3vw, 51px); color: var(--cf-forest-deep); line-height: 1.12; margin: 0 0 22px; }
.cf-adoption__cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.cf-adoption-card { display: flex; flex-direction: column; overflow: hidden; color: var(--cf-ink) !important; border: 1px solid #ebe9e4; border-radius: 4px; box-shadow: 0 2px 8px rgba(9,26,22,.025); transition: transform .22s ease, box-shadow .22s ease; }
.cf-adoption-card:hover { transform: translateY(-3px); box-shadow: 0 7px 22px rgba(8,32,19,.14); }
.cf-adoption-card > img { background: #e9e9e2; display: block; width: 100%; height: clamp(185px,17.8vw,258px); object-fit: cover; }
.cf-adoption-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex: 1; padding: 14px 18px 18px; }
.cf-adoption-card h3 { color: #182d23; font-size: 24px; line-height: 1.2; margin: 0 0 7px; }
.cf-adoption-card p { font: 14px/1.25 var(--cf-sans); color: #39453e; max-width: 280px; }
.cf-adoption-card__arrow { flex: 0 0 22px; width: 22px; height: 22px; display: inline-flex; align-self: flex-end; color: #182c23; }

/* Edge-to-edge closing landscape */
.cf-banner { position: relative; min-height: 195px; display: flex; align-items: center; isolation: isolate; overflow: hidden; background: #24473c; }
.cf-banner__image, .cf-banner__overlay { position: absolute; width: 100%; height: 100%; inset: 0; }
.cf-banner__image { display: block; z-index: -2; object-fit: cover; object-position: center 59%; filter: saturate(.65) brightness(.75); }
.cf-banner__overlay { z-index: -1; background: linear-gradient(90deg,rgba(4,34,24,.82),rgba(6,35,24,.56) 45%,rgba(4,34,24,.67)); }
.cf-banner__inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; padding-top: 28px; padding-bottom: 28px; }
.cf-banner blockquote { margin: 0; max-width: 395px; padding: 6px 0 6px 28px; border-left: 2px solid rgba(254,255,249,.84); color: #fff; font: italic clamp(20px,2vw,28px)/1.17 var(--cf-serif); }
.cf-banner a { color: #fff; display: inline-flex; align-items: center; gap: 15px; font: 700 10px/1.25 var(--cf-sans); letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; }
.cf-banner a > span { display: block; width: 43px; height: 1px; background: rgba(255,255,255,.8); }
.cf-banner a svg { width: 18px; height: 18px; }

.cf-site-footer .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Sitewide footer */
.cf-site-footer { background: #0e3a2d; background-image: radial-gradient(ellipse at 65% 25%,rgba(35,93,64,.32), transparent 68%), linear-gradient(135deg,#114532,#0b2d23); color: #f5f7f1; padding: 42px 0 0; font: 12px/1.52 var(--cf-sans); }
.cf-footer-top { display: grid; grid-template-columns: minmax(220px,1.65fr) minmax(100px,.7fr) minmax(115px,.72fr) minmax(145px,.89fr) minmax(220px,1.25fr); gap: clamp(16px,2.4vw,37px); padding-bottom: 33px; }
.cf-footer-about .cf-brand { align-items: center; color: #fff !important; gap: 3px; }
.cf-brand--footer .cf-brand__mark { height: 57px; flex-basis: 81px; width: 81px; }
.cf-brand--footer .cf-brand__mark img { height: 57px; }
.cf-brand--footer .cf-brand__name { color: #fff; font-size: 12px; line-height: 1.03; letter-spacing: -.1px; }
.cf-footer-about p { font: 12px/1.6 var(--cf-serif); color: #e6eee7; margin: 15px 0 0; }
.cf-footer-about .cf-footer-rule { display: block; height: 1px; width: 30px; background: #dae7dc; margin-top: 17px; }
.cf-footer-about p.cf-footer-tagline { font: italic 13px/1.5 var(--cf-serif); max-width: 215px; margin: 15px 0 0; }
.cf-site-footer h2 { font: 700 10px/1.4 var(--cf-sans); letter-spacing: .2em; text-transform: uppercase; color: #f3f8f2; margin: 2px 0 17px; }
.cf-site-footer h2.cf-footer-normal { font: 13px/1.3 var(--cf-serif); letter-spacing: 0; text-transform: none; margin: 2px 0 13px; }
.cf-footer-links { padding: 0; margin: 0; list-style: none; }
.cf-footer-links li { list-style: none; margin: 0 0 6px; }
.cf-footer-links a, .cf-footer-contact a { color: #e8eee8; font: 12px/1.45 var(--cf-sans); }
.cf-footer-links a:hover, .cf-footer-contact a:hover, .cf-legal-menu a:hover { color: #eabd79; }
.cf-footer-contact p { display: flex; gap: 9px; align-items: center; color: #e8eee8; font: 12px/1.35 var(--cf-sans); margin-bottom: 14px; }
.cf-footer-contact p svg { width: 16px; height: 16px; flex: 0 0 16px; color: #fff; }
.cf-footer-connect { border-left: 1px solid rgba(255,255,255,.43); padding-left: clamp(20px,2vw,33px); }
.cf-store-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.cf-store-badge { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #9ca99f; border-radius: 4px; background: #030a08; min-width: 100px; min-height: 39px; padding: 5px 7px; color: #fff !important; font: 25px/1 var(--cf-sans); }
.cf-store-badge > span:not(.cf-play-triangle) { display: grid; align-items: center; justify-items: start; }
.cf-store-badge small { display: block; font: 7px/1.15 var(--cf-sans); }
.cf-store-badge strong { display: block; font: 600 13px/1.1 var(--cf-sans); letter-spacing: -.04em; white-space: nowrap; }
.cf-store-badge.is-inactive { opacity: .69; cursor: not-allowed; }
.cf-play-triangle { font: 19px/1 var(--cf-sans); color: #6acc79; }
.cf-site-footer h2.cf-newsletter-heading { margin-top: 19px; margin-bottom: 8px; }
.cf-newsletter-placeholder { display: flex; width: 100%; height: 36px; border-radius: 4px; overflow: hidden; }
.cf-newsletter-placeholder input { min-width: 0; width: 100%; flex: 1; border: 0; background: #fff; padding: 0 9px; font: 12px var(--cf-sans); border-radius: 4px 0 0 4px; }
.cf-newsletter-placeholder > span { flex: 0 0 39px; color: #fff; background: #b9771b; font: 25px/32px var(--cf-sans); text-align: center; }
.cf-newsletter-note { display: block; color: #cbd8d0; font: 10px/1.4 var(--cf-sans); margin-top: 6px; }
.cf-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 62px; padding: 12px 0; border-top: 1px solid rgba(236,243,236,.28); }
.cf-footer-bottom p { margin: 0; font: 10px/1.4 var(--cf-sans); color: #cbd9ce; }
.cf-legal-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
.cf-legal-menu a { display: inline-block; font: 10px/1.2 var(--cf-sans); color: #e1eae1; padding: 0 13px; border-right: 1px solid rgba(255,255,255,.45); white-space: nowrap; }
.cf-legal-menu a:last-child { padding-right: 0; border: 0; }

@media (max-width: 1120px) {
  .cedarfriends-theme .cf-container { width: min(100% - 9vw, 1270px); }
  .cf-header-inner { gap: 10px; }
  .cf-brand__mark { width: 77px; flex-basis: 77px; height: 53px; }
  .cf-brand__mark img { height: 53px; }
  .cf-brand__name { font-size: 12px; }
  .cf-main-nav, .cf-nav-links { gap: 11px; }
  .cf-site-header .cf-button--header { padding: 0 13px; }
  .cf-footer-top { grid-template-columns: minmax(155px,1.5fr) minmax(78px,.7fr) minmax(85px,.72fr) minmax(125px,.85fr) minmax(155px,1.23fr); gap: clamp(10px,1.4vw,19px); }
  .cf-footer-connect { padding-left: 16px; }
  .cf-store-badge { min-width: 92px; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .cf-brand__name { font-size: 11px; }
  .cf-site-header, .cf-header-inner { min-height: 78px; }
  .cf-hero { min-height: 425px; }
  .cf-hero__inner { padding-top: 39px; padding-bottom: 42px; }
  .cf-stats__grid { min-height: 101px; }
  .cf-hero__copy { max-width: 420px; }
  .cf-hero__copy p { max-width: 350px; }
  .cf-legacy { padding: 28px 0 15px; }
  .cf-legacy__visual { min-height: 235px; }
  .cf-legacy__image { min-height: 235px; height: 249px; }
  .cf-adoption { padding-bottom: 24px; }
  .cf-adoption-card > img { height: 180px; }
  .cf-banner { min-height: 169px; }
  .cf-site-footer { padding-top: 25px; }
  .cf-footer-top { padding-bottom: 19px; }
  .cf-footer-bottom { min-height: 53px; }
  .cf-main-nav { gap: 9px; }
  .cf-nav-links { gap: 9px; }
  .cf-nav-links a { font-size: 10px; }
  .cf-language-switch { font-size: 10px; gap: 9px; }
  .cf-site-header .cf-button--header { font-size: 10px; padding: 0 12px; min-height: 36px; }
  .cf-footer-contact p, .cf-footer-links a { font-size: 10px; }
  .cf-site-footer h2 { font-size: 9px; }
  .cf-site-footer h2.cf-footer-normal { font-size: 12px; }
  .cf-store-badge { min-width: 86px; min-height: 34px; }
  .cf-store-badge strong { font-size: 10px; }
}
@media (max-width: 760px) {
  .cf-site-header { min-height: 76px; }
  .cf-header-inner { min-height: 76px; }
  .cf-menu-toggle { display: inline-flex; margin-left: auto; }
  .cf-main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fcfaf4; padding: 14px 25px 25px; border-top: 1px solid #e8e7df; box-shadow: 0 11px 16px rgba(20,40,32,.12); }
  .cf-main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .cf-nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .cf-nav-links li { border-bottom: 1px solid #e6e6e0; }
  .cf-nav-links a { font-size: 14px; padding: 12px 0; }
  .cf-nav-links li.current-menu-item a:after, .cf-nav-links a:hover:after { bottom: 7px; width: 44px; }
  .cf-language-switch { justify-content: flex-start; }
  .cf-site-header .cf-button--header { align-self: flex-start; padding: 0 20px; }
  .cf-legacy__grid { grid-template-columns: 1fr; gap: 15px; }
  .cf-legacy__copy { max-width: 760px; }
  .cf-legacy__visual { max-width: 660px; margin-inline: auto; min-height: 260px; }
  .cf-legacy__image { height: 350px; }
  .cf-footer-top { grid-template-columns: 1.7fr 1fr 1fr; gap: 20px; }
  .cf-footer-contact { grid-column: 2 / 4; }
  .cf-footer-connect { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding: 17px 0 0; display: block; }
}
@media (max-width: 640px) {
  .cedarfriends-theme .cf-container { width: min(100% - 36px, 1270px); }
  .cf-brand__mark { height: 50px; width: 74px; flex-basis: 74px; }
  .cf-brand__mark img { height: 50px; }
  .cf-brand__name { font-size: 11px; }
  .cf-hero { min-height: 525px; }
  .cf-hero__inner { padding-top: 65px; padding-bottom: 65px; }
  .cf-hero__copy h1 { font-size: clamp(35px,8.1vw,49px); line-height: 1.05; }
  .cf-hero__copy p { font-size: 16px; max-width: 340px; }
  .cf-hero__shade { background: linear-gradient(90deg, rgba(9,21,32,.82) 0%,rgba(10,24,32,.55) 67%,rgba(10,30,38,.25)); }
  .cf-stats__grid { min-height: 0; grid-template-columns: 1fr; padding: 12px 0; }
  .cf-stat { justify-content: flex-start; padding: 14px 15px; gap: 25px; min-height: 82px; }
  .cf-stat + .cf-stat { border-left: none; border-top: 1px solid #d7d8d1; }
  .cf-stat strong { font-size: 33px; }
  .cf-legacy { padding: 48px 0 39px; }
  .cf-legacy__copy h2 { font-size: clamp(32px,8vw,45px); }
  .cf-legacy__copy p { font-size: 16px; }
  .cf-legacy__visual { grid-template-columns: minmax(0,1fr) 76px; gap: 3px; }
  .cf-legacy__image { min-height: 230px; height: 255px; }
  .cf-legacy__quote p { font-size: 15px; }
  .cf-adoption { padding-bottom: 48px; }
  .cf-adoption h2 { font-size: 32px; }
  .cf-adoption__cards { grid-template-columns: 1fr; gap: 16px; }
  .cf-adoption-card > img { height: 245px; }
  .cf-banner__inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 34px 0; }
  .cf-banner blockquote { font-size: 22px; }
  .cf-banner a { font-size: 9px; white-space: normal; }
  .cf-footer-top { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 25px; }
  .cf-footer-about { grid-column: 1 / -1; }
  .cf-footer-contact { grid-column: 1 / -1; }
  .cf-footer-connect { grid-column: 1 / -1; display: block; }
  .cf-footer-connect .cf-store-badges { margin-bottom: 24px; }
  .cf-footer-bottom { flex-direction: column; align-items: flex-start; gap: 15px; padding-bottom: 22px; }
  .cf-legal-menu { justify-content: flex-start; }
  .cf-legal-menu a:first-child { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-adoption-card, .cf-site-header .cf-button, .cf-landing-main .cf-button { transition: none; }
}


/* CFC full-width and language dropdown update */
@media (min-width: 761px) {
  .cedarfriends-theme .cf-container {
    width: calc(100% - clamp(48px, 8vw, 160px));
    max-width: none;
    margin-inline: auto;
  }
}

.cedarfriends-theme .cf-landing-main,
.cedarfriends-theme .cf-landing-article,
.cedarfriends-theme .cf-landing-main .cf-block {
  width: 100%;
  max-width: none;
}

.cedarfriends-theme .cf-language-switch {
  display: block;
  position: relative;
  font: 600 12px/1.4 var(--cf-sans);
  min-width: 112px;
  color: var(--cf-ink);
}

.cf-language-switch summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  cursor: pointer;
  list-style: none;
  padding: 9px 11px;
  border: 1px solid rgba(16,62,48,.22);
  border-radius: 4px;
}

.cf-language-switch summary::-webkit-details-marker {
  display: none;
}

.cf-language-switch summary:focus-visible {
  outline: 2px solid var(--cf-gold);
  outline-offset: 3px;
}

.cf-language-switch .cf-language-options {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  z-index: 200;
  min-width: 150px;
  padding: 5px;
  border: 1px solid #e2e6df;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(0,0,0,.12);
}

.cf-language-switch .cf-language-options a,
.cf-language-switch .cf-language-options span {
  display: block;
  padding: 9px 12px;
  border: 0;
  line-height: 1.4;
  color: var(--cf-ink);
  text-decoration: none;
}

.cf-language-switch .cf-language-options a:hover,
.cf-language-switch .cf-language-options a:focus-visible {
  background: #edf3ed;
}

.cf-language-switch .cf-language-options .is-disabled {
  opacity: .5;
  cursor: not-allowed;
}

.cf-language-switch .cf-language-options .is-current {
  font-weight: 700;
  background: #f1f5ef;
}

@media (max-width: 760px) {
  .cedarfriends-theme .cf-container {
    width: calc(100% - 36px);
    max-width: none;
  }
  .cf-language-switch .cf-language-options {
    right: auto;
    left: 0;
  }
}




/* CFC ALIGNED CONTENT V3 START */

/* Shared horizontal alignment for header, page and footer */
body.cedarfriends-theme {
    --cf-content-gutter: clamp(24px, 4.5vw, 90px);
}

body.cedarfriends-theme .cf-container {
    width: calc(100% - (2 * var(--cf-content-gutter))) !important;
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Full-bleed page backgrounds */
body.cedarfriends-theme .site-content,
body.cedarfriends-theme .site-content > .ast-container,
body.cedarfriends-theme #primary.cf-landing-main,
body.cedarfriends-theme .cf-landing-article,
body.cedarfriends-theme .cf-landing-main .cf-block {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Keep WPBakery rows full-width */
body.cedarfriends-theme .cf-landing-main .vc_row,
body.cedarfriends-theme .cf-landing-main .cf-vc-row {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
}

/* Prevent wide elements from overflowing the content guides */
body.cedarfriends-theme .cf-landing-main .cf-legacy__grid,
body.cedarfriends-theme .cf-landing-main .cf-adoption__grid,
body.cedarfriends-theme .cf-landing-main .cf-stats__grid {
    min-width: 0;
}

body.cedarfriends-theme .cf-landing-main img {
    max-width: 100%;
}

/* Tablet */
@media (max-width: 1000px) {
    body.cedarfriends-theme {
        --cf-content-gutter: 32px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    body.cedarfriends-theme {
        --cf-content-gutter: 18px;
    }
}

/* CFC ALIGNED CONTENT V3 END */

/* CFC APPROVED LAYOUT V4 START */

/* 1. Header: approved proportions */
@media (min-width: 1101px) {
  .cf-site-header,
  .cf-header-inner {
    min-height: 110px;
  }

  .cf-header-inner {
    gap: 30px;
  }

  .cf-main-nav {
    gap: clamp(17px, 2vw, 34px);
  }

  .cf-nav-links {
    gap: clamp(17px, 2vw, 32px);
  }

  .cf-nav-links a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
  }

  .cf-site-header .cf-button--header {
    min-height: 52px;
    padding: 0 28px;
    font-size: 14px;
  }
}

/* 2. Hero: match approved typography and proportions */
@media (min-width: 1101px) {
  .cf-hero {
    min-height: 625px;
  }

  .cf-hero__copy {
    max-width: 720px;
  }

  .cf-hero__copy h1 {
    font-size: clamp(48px, 3.55vw, 65px);
    line-height: 1.06;
    letter-spacing: -0.045em;
    max-width: 720px;
    margin-bottom: 25px;
  }

  .cf-hero__copy p {
    font-size: 20px;
    line-height: 1.4;
    max-width: 470px;
    margin-bottom: 27px;
  }

  .cf-hero .cf-button {
    min-height: 58px;
    padding: 0 32px;
    font-size: 15px;
  }
}

/* 3. Hero background crop */
.cf-hero {
  background-position: center 48%;
  background-size: cover;
}

/* 4. Statistics: approved proportions */
@media (min-width: 1101px) {
  .cf-stats {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .cf-stat strong {
    font-size: clamp(39px, 3.1vw, 53px);
    line-height: 1.05;
  }

  .cf-stat span:not(.cf-stat__icon) {
    font-size: 18px;
    line-height: 1.4;
  }

  .cf-stat__icon {
    transform: scale(1.15);
    transform-origin: center;
  }
}

/* 5. Responsive heading and spacing */
@media (min-width: 761px) and (max-width: 1100px) {
  .cf-hero__copy {
    max-width: 620px;
  }

  .cf-hero__copy h1 {
    font-size: clamp(42px, 4.5vw, 57px);
    line-height: 1.08;
  }
}

@media (max-width: 760px) {
  .cf-hero__copy h1 {
    font-size: clamp(36px, 8vw, 49px);
    line-height: 1.1;
  }

  .cf-hero__copy p {
    font-size: 17px;
    line-height: 1.45;
  }
}

/* 6. Preserve shared full-width content alignment */
body.cedarfriends-theme .cf-landing-main .cf-container {
  max-width: 1600px !important;
}

/* CFC APPROVED LAYOUT V4 END */






/* CFC LIVING LEGACY APPROVED DESIGN FIX START */
/* V6 — larger photograph and closer quote and closer quotation */

@media (min-width: 1001px) {

    body.cedarfriends-theme .cf-landing-main .cf-legacy {
        padding: 8px 0 0 !important;
        margin: 0 !important;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__grid {
        display: grid;
        grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
        column-gap: 0;
        align-items: center;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__copy {
        align-self: center;
        max-width: 570px;
        padding-top: 0;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__copy p {
        max-width: 525px;
        line-height: 1.35;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__visual {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 105px;
        column-gap: 0;
        align-items: center;
        width: 100%;
        min-height: 0;
        position: relative;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__image {
        width: 150%;
        height: clamp(400px, 35vw, 520px);
        min-height: 0;
        margin-left: -18%;
        clip-path: none !important;
        overflow: visible;
        opacity: 1;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__quote {
        position: relative;
        margin-left: -85px;
        padding-left: 0;
        z-index: 2;
        align-self: center;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__quote p {
        font-size: clamp(19px, 1.5vw, 22px);
        line-height: 1.2;
        margin-bottom: 12px;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__quote small {
        max-width: 100px;
        font-size: 9px;
        line-height: 1.5;
    }

    body.cedarfriends-theme .cf-landing-main .cf-adoption {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* Tablet */
@media (min-width: 761px) and (max-width: 1000px) {

    body.cedarfriends-theme .cf-landing-main .cf-legacy {
        padding: 12px 0 8px !important;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
        align-items: center;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__copy {
        align-self: center;
        padding-top: 0;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__visual {
        grid-template-columns: minmax(0, 1fr) 85px;
        min-height: 0;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__image {
        width: 115%;
        height: 340px;
        min-height: 0;
        margin-left: -7%;
        clip-path: none !important;
        overflow: visible;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__quote {
        margin-left: -25px;
        padding-left: 0;
    }
}

/* Mobile — preserve readable stacked composition */
@media (max-width: 760px) {

    body.cedarfriends-theme .cf-landing-main .cf-legacy {
        padding: 24px 0 12px !important;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__copy {
        align-self: start;
        padding-top: 0;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__visual {
        grid-template-columns: minmax(0, 1fr) 90px;
        gap: 0;
        min-height: 0;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__image {
        width: 110%;
        height: 290px;
        min-height: 0;
        margin-left: -5%;
        clip-path: none !important;
        overflow: visible;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    body.cedarfriends-theme .cf-landing-main .cf-legacy__quote {
        margin-left: -12px;
        padding-left: 0;
    }
}

/* CFC LIVING LEGACY APPROVED DESIGN FIX END */




/* CFC GLOBAL TYPOGRAPHY SYSTEM START */

/* Global typography variables */
body.cedarfriends-theme {
    --cf-serif: 'Cormorant Garamond', Georgia, serif;
    --cf-sans: 'Montserrat', Arial, sans-serif;
    font-family: var(--cf-serif);
}

/* Editorial headings */
body.cedarfriends-theme h1,
body.cedarfriends-theme h2,
body.cedarfriends-theme h3,
body.cedarfriends-theme h4,
body.cedarfriends-theme h5,
body.cedarfriends-theme h6 {
    font-family: var(--cf-serif);
    font-weight: 600;
}

/* Paragraphs and storytelling */
body.cedarfriends-theme .cf-landing-main p,
body.cedarfriends-theme .cf-footer-about p {
    font-family: var(--cf-serif);
    font-weight: 500;
}

/* Editorial quotations */
body.cedarfriends-theme .cf-legacy__quote p,
body.cedarfriends-theme .cf-banner blockquote {
    font-family: var(--cf-serif);
    font-style: italic;
    font-weight: 500;
}

/* Navigation and buttons */
body.cedarfriends-theme .cf-main-nav,
body.cedarfriends-theme .cf-nav-links,
body.cedarfriends-theme .cf-language-switch,
body.cedarfriends-theme .cf-button,
body.cedarfriends-theme button,
body.cedarfriends-theme input,
body.cedarfriends-theme select,
body.cedarfriends-theme textarea {
    font-family: var(--cf-sans);
}

/* Small uppercase headings */
body.cedarfriends-theme .cf-eyebrow,
body.cedarfriends-theme .cf-legacy__quote small,
body.cedarfriends-theme .cf-site-footer h2 {
    font-family: var(--cf-sans);
    font-weight: 700;
}

/* Statistics */
body.cedarfriends-theme .cf-stat strong,
body.cedarfriends-theme .cf-stat span:not(.cf-stat__icon) {
    font-family: var(--cf-serif);
}

/* Adoption cards */
body.cedarfriends-theme .cf-adoption-card h3 {
    font-family: var(--cf-serif);
    font-weight: 600;
}

body.cedarfriends-theme .cf-adoption-card p {
    font-family: var(--cf-sans);
    font-weight: 400;
}

/* Footer interface */
body.cedarfriends-theme .cf-footer-links,
body.cedarfriends-theme .cf-footer-bottom,
body.cedarfriends-theme .cf-newsletter-placeholder {
    font-family: var(--cf-sans);
}

/* CFC GLOBAL TYPOGRAPHY SYSTEM END */
