/*
Theme Name: Cooper Davis
Author: CooperDavis
Description: Lightweight, builder-free CooperDavis theme. Pair with Cooper Davis Core for portable articles and secure Zapier forms.
Version: 0.4.33
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: cooper-davis
*/
:root{--navy:#07203f;--gold:#bc945c;--paper:#faf8f4;--ink:#273747;--muted:#526273;--line:#deded7;--radius:4px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:18px/1.75 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:4px}a:hover{color:#846035}img{max-width:100%;height:auto}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;color:var(--navy);font-weight:400;line-height:1.15}h1{font-size:clamp(2.8rem,5.8vw,5.6rem);letter-spacing:-.04em;margin:.1em 0 .35em}h2{font-size:clamp(2rem,3.4vw,3.6rem);letter-spacing:-.03em}h3{font-size:1.6rem}p{margin:0 0 1.3rem}button,input,textarea{font:inherit}button,a,input,textarea,summary{outline-offset:5px}:focus-visible{outline:3px solid #bb7b26}.skip-link{position:absolute;left:1rem;top:-100px;background:white;z-index:100;padding:1rem}.skip-link:focus{top:1rem}.site-header{background:white;border-bottom:1px solid var(--line);position:relative;z-index:5}.header-inner{max-width:1400px;margin:auto;padding:22px 4%;display:flex;gap:2rem;align-items:center;justify-content:space-between}.brand img{width:240px;display:block}.brand{text-decoration:none;color:var(--navy);font-family:Georgia,serif;font-size:2rem;white-space:nowrap}.site-nav ul{display:flex;gap:1.5rem;list-style:none;margin:0;padding:0;align-items:center}.site-nav a{font-size:.84rem;text-decoration:none;font-weight:650}.site-nav .current-menu-item a{border-bottom:2px solid var(--gold)}.cd-button{display:inline-block;padding:15px 25px;border:1px solid var(--gold);border-radius:2px;background:var(--gold);color:#142237!important;text-decoration:none;font-size:.9rem;font-weight:650;cursor:pointer;margin:1rem 0;line-height:1.4}.cd-button:hover{background:#d4b17c}.menu-toggle{display:none;background:white;color:var(--navy);border:1px solid var(--line);padding:8px 12px}.cd-section{position:relative;padding:clamp(3rem,6vw,6rem) 5%;overflow:hidden}.cd-section:nth-child(even){background:white}.cd-section-inner{position:relative;max-width:1280px;margin:auto}.cd-hero{background:var(--navy)!important;color:white;padding-top:7rem;padding-bottom:7rem;min-height:520px}.cd-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:brightness(.48)}.cd-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,32,63,.78),rgba(7,32,63,.03));pointer-events:none}.cd-hero .cd-section-inner{z-index:1}.cd-hero h1,.cd-hero h2,.cd-hero h3{color:white}.cd-hero h1{max-width:850px}.cd-hero p{font-size:1.18rem;max-width:650px}.cd-row{display:flex;flex-wrap:wrap;gap:clamp(1.5rem,4vw,4rem);margin-bottom:2rem;align-items:center}.cd-row:last-child{margin-bottom:0}.cd-column{flex:1 1 0;min-width:220px}.cd-copy{max-width:78ch}.cd-image{display:block;object-fit:cover;border-radius:var(--radius);margin:1rem auto;max-height:620px}.cd-card{padding:1.2rem 0}.cd-card h3{margin:.3rem 0 1rem}.cd-benefits{list-style:none;padding:0;margin:0}.cd-benefits li{border-bottom:1px solid var(--line);padding:.9rem 0}.cd-benefits li:before{content:'✓';color:var(--gold);margin-right:.8rem}hr{border:0;border-top:1px solid var(--line);margin:2rem 0}.content-wrap{max-width:1120px;margin:0 auto;padding:4rem 5%}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}.article-card{border:1px solid var(--line);background:white;display:flex;flex-direction:column}.article-card img{width:100%;height:220px;object-fit:cover}.article-card-body{padding:1.7rem}.article-card h2{font-size:1.7rem;margin:.6rem 0 1rem}.article-card h2 a{text-decoration:none}.eyebrow{font-size:.76rem;text-transform:uppercase;letter-spacing:.14em;color:var(--muted)}.article-body{max-width:780px;margin:0 auto;font-size:1.1rem}.article-body h2{font-size:2.3rem}.article-body h3{font-size:1.7rem}.article-header{max-width:1000px;margin:auto;padding:4rem 5% 2rem}.article-header h1{font-size:clamp(2.5rem,4.5vw,4.5rem)}.article-meta{color:var(--muted);font-size:.9rem}.article-featured{max-width:100%;max-height:480px;object-fit:cover}.pagination{margin:2rem 0}.pagination .page-numbers{padding:.5rem 1rem}.cd-contact-form{background:white;color:var(--ink);padding:clamp(1.3rem,3vw,2.5rem);border:1px solid var(--line);border-radius:var(--radius)}.cd-contact-form label{display:block;font-size:.9rem;font-weight:600;margin-top:1rem}.cd-contact-form input:not([type=checkbox]),.cd-contact-form textarea{display:block;width:100%;border:1px solid #9ba7b2;border-radius:2px;background:#fff;color:var(--ink);padding:11px}.cd-contact-form p{font-size:.85rem}.cd-consent{font-weight:400!important}.cd-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.cd-notice{border-left:3px solid var(--gold);padding:1rem;background:#faf8f4}.cd-cta{padding:4rem 5%;background:#eee9e0;text-align:center}.cd-cta h2{margin:0}.site-footer{background:var(--navy);color:#e9edf1;padding:4rem 5% 2rem}.footer-top{display:flex;flex-wrap:wrap;gap:3rem;max-width:1280px;margin:auto}.footer-top>div{flex:1;min-width:220px}.site-footer h2,.site-footer h3{color:white}.footer-legal{max-width:1280px;margin:3rem auto 0;border-top:1px solid #344b63;padding-top:2rem;font-size:.73rem;line-height:1.8}.footer-legal a{color:white}.cd-fallback{padding:1rem;background:#fff0cb}.search-form{display:flex;gap:.5rem}.search-form input{min-width:0;padding:.5rem}.alignwide{max-width:1280px}.wp-caption{max-width:100%}.screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:950px){.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-toggle{display:block}.site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:white;padding:1.5rem 5%;border-bottom:1px solid var(--line)}.site-nav.is-open{display:block}.site-nav ul{display:block}.site-nav li{padding:.5rem 0}.brand img{width:190px}.cd-row{gap:2rem}}@media(max-width:640px){body{font-size:16px}.article-grid{grid-template-columns:1fr}.cd-column{flex-basis:100%}.cd-hero{padding-top:4rem;padding-bottom:4rem;min-height:420px}.header-inner{padding:18px 5%}.cd-section{padding-left:6%;padding-right:6%}.cd-image{max-height:420px}.cd-row{margin-bottom:1rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.cd-consent-banner{position:fixed;z-index:99;bottom:0;left:0;right:0;padding:1.2rem 5%;background:#fff;border-top:2px solid var(--gold);box-shadow:0 -8px 25px #0002;display:flex;align-items:center;gap:2rem;font-size:.85rem}.cd-consent-banner[hidden]{display:none}.cd-consent-banner p{flex:1;margin:0}.cd-consent-banner button{border:1px solid var(--navy);background:white;color:var(--navy);padding:.6rem 1rem;margin:.2rem;cursor:pointer}@media(max-width:640px){.cd-consent-banner{display:block;max-height:45vh;overflow:auto}}

.cd-portrait{width:100%;max-height:540px;object-fit:cover;object-position:top}.cd-rotator{font-size:clamp(1.4rem,3vw,2.3rem);color:var(--gold);line-height:1.4}
/* Original-site presentation: module-specific desktop/tablet/phone rules follow in legacy-layout.css. */
:root{--gold:#ce9865}body{font-family:'Open Sans',Arial,sans-serif;line-height:1.7em;background:#fff;font-size:18px;color:#666}h1,h2,h3,h4,h5,h6{font-family:'Open Sans',Arial,sans-serif;font-weight:500;line-height:1em;letter-spacing:normal;color:#333;margin:0;padding-bottom:10px}h1{font-size:30px}h2{font-size:26px}h3{font-size:22px}h4{font-size:18px}h5{font-size:16px}h6{font-size:14px}p{margin:0;padding-bottom:1em}p:last-child{padding-bottom:0}.cd-button{color:#fff!important;background:#ce9865;border:2px solid #ce9865;font-size:20px;font-weight:700;padding:.3em 1em;border-radius:3px;margin:0;line-height:1.7}.cd-button:hover{background:#fff;color:#ce9865!important}.site-header{background:#07203f;border:0;position:sticky;top:0}.admin-bar .site-header{top:32px}.header-inner{width:90%;max-width:1280px;padding:10px 0;gap:20px;min-height:80px}.brand img{width:auto;height:60px;object-fit:contain}.site-nav{flex:1}.site-nav ul{justify-content:flex-end;flex-wrap:wrap;gap:0 22px}.site-nav a{font-size:16px;color:#aaccEE;font-weight:400}.site-nav a:hover{color:#fff}.site-nav .current-menu-item a{border:0;color:#aaccEE}.header-cta{font-size:18px;white-space:nowrap}.cd-legacy{background:white}.cd-legacy .cd-section{padding:4% 0;overflow:visible;background:#fff;position:relative}.cd-legacy .cd-row{width:80%;max-width:1080px;margin:0 auto;padding:2% 0;display:flex;flex-wrap:nowrap;gap:5.5%;align-items:stretch}.cd-legacy .cd-column{min-width:0;flex:none;position:relative}.cd-legacy .cd-col-4_4{width:100%}.cd-legacy .cd-col-1_2{width:47.25%}.cd-legacy .cd-col-1_3{width:29.6667%}.cd-legacy .cd-col-2_3{width:64.8333%}.cd-legacy .cd-col-1_4{width:20.875%}.cd-legacy .cd-col-3_4{width:73.625%}.cd-legacy .cd-col-1_5{width:15.6%}.cd-legacy .cd-col-2_5{width:36.7%}.cd-legacy .cd-col-3_5{width:57.8%}.cd-legacy .cd-copy{max-width:none;margin-bottom:var(--cd-module-gap,2.75%);overflow-wrap:break-word}.cd-legacy .cd-image{margin:0;max-height:none;height:auto;object-fit:initial;border-radius:0}.cd-legacy .cd-card{padding:0;margin-bottom:var(--cd-module-gap,2.75%);text-align:center}.cd-legacy .cd-card h3{margin:0}.cd-legacy .cd-benefits{padding:0;margin:0}.cd-legacy .cd-benefits li{padding:5px 0;border:0}.cd-legacy .cd-benefits li:before{color:#07203f;font-size:10px}.cd-legacy .cd-rotator{text-align:center;font-size:55px;line-height:1.2;color:#ce9865;min-height:1.2em}.cd-rotator-word{transition:opacity .2s ease}.cd-legacy hr{margin:0 0 30px}.cd-photo-column{background-repeat:no-repeat;min-height:250px}.cd-contact-form{padding:0;border:0;background:transparent}.cd-contact-form p{margin-top:16px}.cd-contact-form .cd-notice{background:#f7f7f7}.cd-articles-page{max-width:1400px;width:80%;padding:4% 0}.cd-articles-page>h1{font-family:'Playfair Display',Georgia,serif;font-size:80px;color:#07203f;letter-spacing:.06em;text-transform:uppercase}.cd-articles-page>p{font-family:Lato,Arial,sans-serif;font-size:1.1em;line-height:2;color:#475467}.article-grid{width:85%;margin:auto;gap:30px}.article-card{background:#e0e0e0;border:2px solid #333;border-radius:1px;text-align:center}.article-card-body{padding:28px;width:100%}.article-card h2{font-family:Lato,Arial,sans-serif;font-size:21px;font-weight:700;color:#07203f;line-height:1.4;margin:0 0 20px}.article-card p{max-height:150px;overflow:hidden}.article-card-body>a{display:inline-block;margin-top:20px;font-family:Inter,Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;font-size:.9em;color:#07203f;text-decoration:none}.cd-cta{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:4% 5%;background:#fff}.cd-cta h2{font-size:22px;color:#333}.site-footer{font-size:16px}.footer-legal{font-size:14px;text-align:center}.footer-top h2{font-size:26px}.footer-top h3{font-size:22px}
@media(min-width:981px){.mobilemenuonly{display:none!important}}
@media(max-width:980px){.header-cta{display:none}.site-nav{display:none;position:absolute;top:100%;left:5%;width:90%;background:#31679a;padding:20px;max-height:75vh;overflow:auto}.site-nav.is-open{display:block}.site-nav ul{display:block}.site-nav li{padding:8px 0}.menu-toggle{display:block;margin-left:auto;color:#aaccEE;background:#07203f;border-color:#959d93}.cd-legacy .cd-section{padding:50px 0}.cd-legacy .cd-row{width:80%;padding:30px 0;flex-direction:column;gap:0}.cd-legacy .cd-row.cd-reverse{flex-direction:column-reverse}.cd-legacy .cd-column{width:100%;margin-bottom:30px}.cd-legacy .cd-column:last-child{margin-bottom:0}.cd-legacy .cd-copy{margin-bottom:30px}.cd-legacy .cd-photo-column{min-height:300px}.cd-articles-page{width:85%}.cd-articles-page>h1{font-size:50px}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-card-body{padding:20px}.cd-cta{flex-wrap:wrap}.cd-legacy .cd-rotator{font-size:42px}}
@media(max-width:767px){.brand img{height:44px}.header-inner{min-height:64px}.admin-bar .site-header{top:46px}.cd-articles-page{width:90%}.cd-articles-page>p{font-size:.8em;line-height:1.6}.article-grid{grid-template-columns:1fr}.article-card-body{padding:15px}.article-header h1{font-size:32px}.cd-legacy .cd-row{max-width:100%}.cd-legacy .cd-column{max-width:100%}.cd-contact-form input,.cd-contact-form textarea{min-width:0}.site-footer{padding-left:5%;padding-right:5%}}
@media(prefers-reduced-motion:reduce){.cd-rotator-word{transition:none}}
.cd-single-header{padding:4% 0 0;background:radial-gradient(ellipse at top,#fff 2%,#d1d1d1 78%,#bababa 100%)}.cd-single-heading-row{width:80%;max-width:1080px;margin:auto;display:flex;gap:5.5%;padding:2% 0 0}.cd-single-title{width:57.8%;min-width:0}.cd-single-title h1{font-family:'Playfair Display',Georgia,serif;font-size:62px;color:#4c4c4c;overflow-wrap:break-word}.cd-single-title .article-meta{font-size:18px;margin-bottom:40px}.cd-single-cover{width:36.7%;align-self:center}.cd-single-cover img{max-height:250px;width:auto;margin:auto}.cd-single-body-bg{background:linear-gradient(138deg,#666 1%,#666 55%,#fff 99%);padding:0 0 4%}.cd-single-body-bg .article-body{position:relative;top:-26px;width:91%;max-width:1080px;background:#fff;padding:16px;border:2px solid #b7b7b7;border-radius:2px;box-shadow:0 12px 18px -6px #ce986566;color:#474747;font-size:18px}.article-body h2{font-size:26px}.article-body h3{font-size:22px}.article-body img{height:auto;max-width:100%}.cd-footer-menu{padding:0;list-style:none;margin:0}.cd-footer-menu a{text-decoration:none}.cd-page-footer a:hover{color:#ce9865}.cd-page-footer .cd-copy{overflow-wrap:anywhere}
@media(max-width:980px){.cd-single-heading-row{flex-direction:column}.cd-single-title,.cd-single-cover{width:100%}.cd-single-cover:empty{display:none}.cd-single-header{padding-top:50px}}
@media(max-width:767px){.cd-legacy .cd-copy{width:auto;max-width:100%}.cd-single-title h1{font-size:clamp(36px,8vw,62px)}.cd-single-body-bg .article-body{overflow-wrap:break-word}}
@font-face{font-family:CDIcons;src:url('assets/fonts/fa-solid-900.woff2') format('woff2');font-weight:900;font-display:block}.cd-fa{font-family:CDIcons!important;font-weight:900;font-style:normal}.cd-module-icon{font-size:32px;line-height:1;display:block;margin-bottom:20px}.cd-legacy .cd-icon-left{display:flex;gap:15px;text-align:left}.cd-icon-left .cd-module-icon{flex:none;margin-top:4px}.cd-card-copy{min-width:0;flex:1}

/* Match Divi gutter-three module spacing before per-page layout overrides. */
.cd-legacy .cd-column { --cd-module-gap: 2.75%; }
.cd-legacy .cd-col-1_2 { --cd-module-gap: 5.82%; }
.cd-legacy .cd-col-1_3 { --cd-module-gap: 9.27%; }
.cd-legacy .cd-col-2_3 { --cd-module-gap: 4.242%; }
.cd-legacy .cd-col-1_4 { --cd-module-gap: 13.174%; }
.cd-legacy .cd-col-3_4 { --cd-module-gap: 3.735%; }
.cd-legacy .cd-col-1_5 { --cd-module-gap: 17.628%; }
.cd-legacy .cd-col-2_5 { --cd-module-gap: 7.493%; }
.cd-legacy .cd-col-3_5 { --cd-module-gap: 4.758%; }
.cd-legacy .cd-column > :is(.cd-image,.cd-button,.cd-benefits) { margin-bottom: var(--cd-module-gap); }
.cd-legacy .cd-column > :is(.cd-copy,.cd-card,.cd-image,.cd-button,.cd-benefits):last-child { margin-bottom: 0; }
@media(max-width:980px) {
  .cd-legacy .cd-column { --cd-module-gap: 30px; }
  .cd-legacy .cd-copy,.cd-legacy .cd-card { margin-bottom: 30px; }
}
