/*
Theme Name: Female Dog Names — The Modern Pet Journal
Theme URI: https://femaledognames.net/
Author: Female Dog Names
Description: Modern pet editorial WordPress theme with dog name directory, breed collections, A-Z browsing, and browser-based favorites. Rank Math, Gutenberg and Elementor friendly.
Version: 9.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fdnp
License: GPL-2.0-or-later
*/
:root{--ink:#302d2d;--muted:#797475;--pink:#d77987;--pink-dark:#b95d6d;--cream:#fffaf5;--sand:#f8f0e9;--line:#eee5df;--white:#fff;--serif:Georgia,'Times New Roman',serif;--sans:ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:16px/1.7 var(--sans);-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{line-height:1.15}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.045em}h1{font-size:clamp(3.2rem,5.9vw,6.4rem)}h2{font-size:clamp(2.3rem,4.1vw,4rem)}h3{font-size:1.25rem}em{color:var(--pink-dark);font-weight:400}p{color:var(--muted)}.shell{width:min(1200px,calc(100% - 56px));margin:auto}.narrow{max-width:780px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.skip-link:focus{position:fixed;top:10px;left:10px;z-index:1000;background:#fff;padding:10px}.announcement{text-align:center;background:#eac4c4;color:#583e43;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;padding:9px 12px}.sparkle{margin:0 12px;color:#a95b69}.site-header{position:relative;z-index:20;background:#fff;border-bottom:1px solid #f2ece7}.header-inner{height:92px;display:flex;align-items:center;gap:30px;justify-content:space-between}.brand-link{display:flex;align-items:center;gap:10px}.brand-mark{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#f8e5e5;color:#c77482;font-size:30px}.brand-copy{display:flex;flex-direction:column;line-height:1.1}.brand-copy strong,.footer-logo{font-size:22px;letter-spacing:-.07em;font-weight:800}.brand-copy strong span,.footer-logo span{color:var(--pink)}.brand-copy .brand-dot,.footer-logo .brand-dot{color:var(--ink)}.brand-copy small{font-size:9px;letter-spacing:.24em;margin-top:6px;color:#aa8a8c;font-weight:700}.main-nav .nav-list{list-style:none;margin:0;padding:0;display:flex;gap:28px;align-items:center}.nav-list li{position:relative}.nav-list a{font-size:13px;font-weight:650;color:#514c4d;transition:color .2s}.nav-list a:hover,.nav-list .current-menu-item>a{color:var(--pink-dark)}.header-actions{display:flex;align-items:center;gap:14px}.header-favorite{display:flex;align-items:center;gap:6px;color:#b85c6c;font-size:29px}.favorite-count{background:#f9e6e8;color:#9e5663;border-radius:100px;min-width:20px;height:20px;display:grid;place-items:center;font-size:10px;font-weight:800}.mobile-toggle{display:none;border:0;background:none;padding:10px}.mobile-toggle span{display:block;width:23px;height:2px;background:#55484a;margin:5px}.hero{background:linear-gradient(112deg,#fffaf5 0%,#fffaf5 53%,#fbeee9 53%,#f9e9e5 100%);overflow:hidden}.hero-layout{display:grid;grid-template-columns:1fr .94fr;min-height:635px;align-items:center;gap:5%}.hero-copy{padding:65px 0 85px;position:relative;z-index:2}.eyebrow,.mini-label{font-size:11px;letter-spacing:.22em;font-weight:800;color:#bf7881;text-transform:uppercase;display:inline-block}.eyebrow-line{display:inline-block;width:25px;height:1px;background:#c9828a;vertical-align:middle;margin-right:12px}.hero h1{max-width:670px;margin:23px 0 25px}.hero-description{max-width:500px;font-size:17px;line-height:1.9}.hero-search{background:#fff;box-shadow:0 16px 45px #785d5a18;border:1px solid #f5e9e4;border-radius:12px;display:flex;align-items:center;gap:11px;padding:7px 7px 7px 18px;margin:32px 0 28px;max-width:590px}.hero-search>span{font-size:29px;color:#b9a2a2;line-height:1}.hero-search input{border:0;outline:0;min-width:0;flex:1;font-size:13px;background:transparent}.hero-search button,.btn-primary{background:var(--pink-dark);color:#fff;border:0;border-radius:8px;padding:14px 18px;font-size:12px;font-weight:800;white-space:nowrap}.hero-search button:hover,.btn-primary:hover{background:#9e4a5a}.hero-proof{display:flex;align-items:center;gap:15px}.mini-avatars{display:flex;padding-left:8px}.mini-avatars span{width:33px;height:33px;display:grid;place-items:center;background:#f1d9d6;color:#a95f6b;border:2px solid #fff;border-radius:50%;margin-left:-8px}.mini-avatars span:nth-child(2){background:#e7e4d7}.mini-avatars span:nth-child(3){background:#e4dcea}.hero-proof p{font-size:11px;line-height:1.55;margin:0}.hero-proof strong{color:#5d5151}.hero-visual{height:100%;min-height:560px;position:relative;display:flex;align-items:end;justify-content:center}.hero-image-frame{width:min(100%,565px);margin-bottom:-7px}.hero-image-frame img{display:block;width:100%;height:auto}.floating-note{position:absolute;bottom:80px;left:-20px;background:#fff;padding:17px 22px;display:flex;align-items:center;gap:12px;border-radius:12px;box-shadow:0 12px 35px #a677752b;transform:rotate(-4deg)}.floating-note>span{font-size:32px;color:#c97883}.floating-note strong,.floating-note small{display:block}.floating-note strong{font-family:var(--serif);font-size:16px}.floating-note small{font-size:10px;color:#97878a}.visual-scribble{position:absolute;top:105px;right:5px;color:#d9a3a4;font-size:85px;transform:rotate(17deg)}.quick-section{position:relative;z-index:3;margin-top:-22px}.quick-card{background:#fff;box-shadow:0 15px 55px #684b4110;border:1px solid #f3ebe5;border-radius:14px;padding:28px 36px;display:flex;align-items:center;gap:25px}.quick-icon{background:#f9e6e5;color:#c4777f;border-radius:50%;width:57px;height:57px;flex:none;display:grid;place-items:center;font-size:30px}.quick-card>div{flex:1}.quick-card h2{font-size:23px;letter-spacing:-.02em;margin:5px 0}.quick-card p{font-size:13px;margin:0;max-width:700px}.text-link{color:#b35e6c;font-size:12px;font-weight:800;white-space:nowrap}.text-link:hover{text-decoration:underline}.section-pad{padding:100px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:35px}.section-heading h2{margin:10px 0}.section-heading p{font-size:14px;margin:0}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.category-tile{border-radius:14px;padding:24px;min-height:155px;display:flex;align-items:center;gap:18px;position:relative;transition:transform .2s,box-shadow .2s}.category-tile:hover{transform:translateY(-4px);box-shadow:0 14px 28px #4d303010}.tile-peach{background:#fae8de}.tile-rose{background:#f8e5e9}.tile-lavender{background:#ece8f7}.tile-butter{background:#fcf0d9}.tile-sage{background:#e9eee5}.tile-blue{background:#e6edf2}.tile-mint{background:#e7f2ed}.tile-lilac{background:#f0e5ef}.tile-pink{background:#f8e9e6}.tile-symbol{font-size:40px;color:#b77b85;flex:none;width:55px;text-align:center}.tile-content strong,.tile-content small{display:block}.tile-content strong{font-family:var(--serif);font-size:23px;font-weight:400}.tile-content small{font-size:12px;color:#81777a;margin-top:7px}.tile-arrow{position:absolute;right:18px;top:15px;font-size:15px;color:#a98689}.soft-section{background:#fdf8f4}.featured-names,.name-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.name-card{background:#fff;border:1px solid #eee6e0;border-radius:14px;padding:23px;position:relative;min-height:174px;transition:box-shadow .2s,transform .2s}.name-card:hover{box-shadow:0 12px 28px #513c3410;transform:translateY(-2px)}.name-card .name-label{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#c08d91;font-weight:750}.name-card h3{font-family:var(--serif);font-size:30px;font-weight:400;margin:13px 0 5px}.name-card p{font-size:12px;line-height:1.6;margin:0;padding-right:15px}.heart-button{position:absolute;right:15px;top:15px;border:0;background:#fff2f3;color:#bd7180;border-radius:50%;width:34px;height:34px;font-size:23px;display:grid;place-items:center;line-height:1}.heart-button.is-saved{background:#b96070;color:#fff}.split-feature{display:grid;grid-template-columns:1fr 1fr;min-height:530px;border-radius:18px;overflow:hidden;background:#f9ede9}.split-art{background:#eeded6;display:grid;place-items:end center;overflow:hidden}.split-art img{display:block;width:100%;max-height:540px;object-fit:contain}.split-copy{padding:70px 12%;display:flex;flex-direction:column;justify-content:center}.split-copy h2{margin:18px 0}.split-copy p{font-size:15px;line-height:1.9}.editorial-links{margin-top:18px;border-top:1px solid #e9d9d4}.editorial-links a{padding:17px 0;border-bottom:1px solid #e9d9d4;display:flex;justify-content:space-between;font-size:13px;font-weight:700}.editorial-links span{color:var(--pink-dark)}.alphabet-section{background:#f8f1ea}.center-heading{text-align:center;margin-bottom:36px}.center-heading h2{margin:10px 0}.center-heading p{font-size:14px}.alphabet-list,.directory-letters{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}.alphabet-list a,.directory-letters a{display:grid;place-items:center;width:52px;height:55px;background:#fff;border:1px solid #eee4dc;border-radius:8px;font-family:var(--serif);font-size:23px;transition:.2s}.alphabet-list a:hover,.directory-letters a:hover,.directory-letters a.active{background:#bf7380;color:#fff;border-color:#bf7380}.breed-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.breed-item{padding:25px 21px;display:flex;align-items:center;gap:17px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transition:background .2s}.breed-item:hover{background:#fff7f5}.breed-number{font-size:11px;color:#bc8e91}.breed-item strong{font-size:14px;flex:1}.breed-item>span:last-child{color:#c27782}.breed-disclaimer{font-size:11px;margin-top:16px}.journal-section{background:#fdf8f5}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.article-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.article-image{display:block;aspect-ratio:1.5;background:#f4e8e4;overflow:hidden}.article-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.article-card:hover img{transform:scale(1.04)}.article-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(circle at 65% 35%,#f9cfd2,#f1e2d9 65%);color:#b66d79}.article-placeholder span{font-size:76px}.article-placeholder small{font-size:10px;letter-spacing:.18em}.article-body{padding:25px}.article-date{font-size:10px;color:#b27a82;letter-spacing:.12em;text-transform:uppercase}.article-body h3{font-family:var(--serif);font-size:24px;font-weight:400;margin:11px 0}.article-body p{font-size:13px}.read-more{font-size:12px;font-weight:800;color:var(--pink-dark)}.faq-section{background:#fff}.faq-list{border-top:1px solid var(--line)}.faq-list details{border-bottom:1px solid var(--line);padding:19px 0}.faq-list summary{font-weight:700;font-size:14px;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.faq-list summary::after{content:'+';font-size:22px;color:var(--pink-dark)}.faq-list details[open] summary::after{content:'−'}.faq-list p{font-size:13px;margin:14px 0 0}.site-footer{background:#302b2d;color:#fff;padding:70px 0 20px}.footer-top{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:55px;padding-bottom:60px}.footer-logo{font-size:28px}.footer-about p{max-width:310px;font-size:13px;color:#c8bec0;margin:20px 0}.footer-top h3{font-size:12px;letter-spacing:.15em;text-transform:uppercase;margin-bottom:23px}.footer-top>div>a:not(.footer-logo),.footer-extra a{display:block;font-size:12px;color:#c8bec0;margin-bottom:11px}.footer-top a:hover{color:#f0aeb6}.social-links a{font-size:12px;margin-right:16px;color:#f2c0c6}.footer-bottom{border-top:1px solid #554a4d;display:flex;justify-content:space-between;gap:20px;padding-top:21px;font-size:11px;color:#bdb0b3}.inner-hero{background:#fcf4ef;padding:65px 0 72px}.inner-hero h1{font-size:clamp(3rem,5vw,5.4rem);margin:18px 0}.inner-hero p{max-width:660px;font-size:15px}.pink-period{color:var(--pink)}.breadcrumbs{display:flex;gap:12px;align-items:center;font-size:11px;color:#a28d8d;margin-bottom:32px;flex-wrap:wrap}.breadcrumbs a:hover{color:var(--pink-dark)}.directory-section{padding:55px 0 110px}.directory-toolbar{display:flex;align-items:end;gap:13px}.directory-search{display:flex;align-items:center;gap:10px;border:1px solid #e9e1dd;border-radius:9px;padding:10px 15px;flex:1}.directory-search span{font-size:27px;color:#c9a4a7}.directory-search input{border:0;outline:0;width:100%;font-size:13px}.directory-select-wrap{display:flex;flex-direction:column;gap:5px}.directory-select-wrap label{font-size:10px;font-weight:800;letter-spacing:.08em;color:#9c8587}.directory-select-wrap select{padding:12px 28px 12px 13px;border:1px solid #e9e1dd;border-radius:8px;background:#fff;max-width:200px;font-size:12px}.directory-letters{justify-content:flex-start;margin:25px 0 38px;gap:6px}.directory-letters a{width:35px;height:38px;font-size:16px}.directory-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:38px}.sidebar-panel{border:1px solid var(--line);border-radius:12px;padding:24px 18px;margin-bottom:20px}.sidebar-panel .mini-label{margin:0 0 13px 9px}.sidebar-link{display:flex;align-items:center;gap:11px;padding:11px 9px;font-size:12px;border-radius:7px}.sidebar-link:hover,.sidebar-link.active{background:#fcf0f0;color:#a75e6b}.sidebar-link>span:first-child{font-size:17px;color:#bb7b83}.sidebar-arrow{margin-left:auto;color:#c18c94}.sidebar-promo{background:#f8e8e5;border-radius:13px;padding:27px}.sidebar-promo>span{font-size:40px;color:#bb7580}.sidebar-promo h3{font-family:var(--serif);font-size:25px;font-weight:400;margin:10px 0}.sidebar-promo p{font-size:12px}.sidebar-promo a{font-size:12px;font-weight:800;color:#aa5c6b}.results-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.results-heading h2{font-size:32px;margin:0 0 4px}.results-heading p{font-size:12px;margin:0}.results-heart{font-size:45px;color:#e4bdc1}.directory-results .name-grid{grid-template-columns:repeat(3,1fr)}.directory-results .name-card{min-height:169px}.empty-state{text-align:center;background:#fdf7f3;padding:65px 20px;border-radius:14px}.empty-state[hidden],#load-more[hidden]{display:none}.empty-state>span{font-size:55px;color:#d5a3a8}.empty-state h3{font-family:var(--serif);font-size:28px;font-weight:400}.empty-state p{font-size:13px}.btn-outline{border:1px solid #d3a3a9;border-radius:8px;color:#a75c69;background:#fff;padding:13px 25px;font-size:12px;font-weight:800;display:block;margin:30px auto 0}.directory-note{background:#fcf7f3;border-left:3px solid #d89ca5;padding:20px 24px;margin-top:35px}.directory-note p{font-size:12px;margin:7px 0 0}.single-head{background:#fcf4ef;padding:65px 0;text-align:center}.single-head .breadcrumbs{justify-content:center}.single-head h1{font-size:clamp(2.8rem,5vw,5.5rem);margin:15px auto;max-width:850px}.post-meta{display:flex;justify-content:center;gap:12px;color:#a18a8b;font-size:12px}.single-cover{margin-top:45px}.single-cover img{display:block;max-height:600px;width:100%;object-fit:cover;border-radius:15px}.single-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:75px;padding-top:70px;padding-bottom:95px}.prose{font-size:16px;line-height:1.95;overflow-wrap:anywhere}.prose p{color:#595354}.prose h2{font-size:35px;margin:40px 0 18px}.prose h3{font-size:24px;margin:30px 0 15px}.prose a{color:var(--pink-dark);text-decoration:underline}.prose img{border-radius:10px}.prose blockquote{border-left:3px solid var(--pink);padding:8px 25px;background:#fff8f5;margin:25px 0}.prose table{display:block;overflow-x:auto;border-collapse:collapse;max-width:100%}.prose th,.prose td{border:1px solid #e6dcda;padding:10px}.prose ul,.prose ol{padding-left:25px}.post-tags{margin-top:35px;font-size:12px}.author-box{display:flex;gap:20px;background:#fcf5f1;padding:25px;border-radius:12px;margin:40px 0}.author-icon{font-size:40px;color:#b86e7b}.author-box strong{font-size:13px}.author-box p{font-size:12px;margin:4px 0}.page-content{padding-top:70px;padding-bottom:100px}.pagination{margin-top:45px}.pagination .nav-links{display:flex;justify-content:center;gap:10px}.pagination .page-numbers{padding:8px 13px;border:1px solid var(--line);border-radius:6px}.pagination .current{background:#bb7180;color:#fff}.empty-note{padding:40px;background:#fff8f5;color:#817476;border-radius:12px;font-size:14px}.not-found{text-align:center;padding:140px 0}.not-found-mark{font-size:75px;color:#c98991}.not-found h1{font-size:55px;margin:15px}.not-found p{margin-bottom:30px}.journal-search{display:flex;gap:8px;max-width:500px}.journal-search input{padding:12px;border:1px solid #ddd;flex:1;min-width:0}.journal-search button{background:#ba7080;border:0;color:#fff;padding:12px 20px}.loading-names{padding:25px;color:#9a8588}.wp-block-image img{height:auto}
@media(max-width:1050px){.main-nav .nav-list{gap:15px}.hero-layout{gap:2%}.hero h1{font-size:clamp(3rem,5.3vw,5rem)}.featured-names{grid-template-columns:repeat(2,1fr)}.directory-results .name-grid{grid-template-columns:repeat(2,1fr)}.footer-top{gap:25px}}@media(max-width:780px){.shell{width:min(100% - 34px,1200px)}.announcement{font-size:9px}.header-inner{height:74px}.mobile-toggle{display:block}.main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;padding:20px 25px;box-shadow:0 15px 25px #0000000d}.main-nav.is-open{display:block}.main-nav .nav-list{flex-direction:column;align-items:stretch;gap:16px}.hero{background:#fffaf6}.hero-layout{grid-template-columns:1fr;gap:0}.hero-copy{padding:65px 0 15px}.hero h1{font-size:clamp(3.4rem,10vw,5.5rem)}.hero-visual{min-height:0;max-height:460px;background:#f8e9e4;border-radius:50% 50% 0 0;margin:20px 10% 0}.hero-image-frame{max-width:390px}.floating-note{bottom:20px;left:-28px;padding:10px}.visual-scribble{top:20px}.quick-section{margin-top:0}.quick-card{align-items:flex-start;flex-wrap:wrap;padding:24px}.quick-card .text-link{margin-left:70px}.section-pad{padding:70px 0}.category-grid{grid-template-columns:repeat(2,1fr)}.split-feature{grid-template-columns:1fr}.split-art{max-height:390px}.split-copy{padding:50px 9%}.breed-grid{grid-template-columns:repeat(2,1fr)}.article-grid{grid-template-columns:repeat(2,1fr)}.footer-top{grid-template-columns:repeat(2,1fr)}.footer-about{grid-column:span 2}.directory-layout{grid-template-columns:1fr}.directory-sidebar{display:none}.directory-toolbar{flex-wrap:wrap}.directory-search{flex-basis:100%}.directory-select-wrap{flex:1}.directory-select-wrap select{max-width:none;width:100%}.single-content-layout{grid-template-columns:1fr;gap:30px}.single-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.section-heading{align-items:start;flex-direction:column}}@media(max-width:520px){.brand-copy strong{font-size:19px}.brand-mark{width:36px;height:36px;font-size:24px}.hero h1{font-size:3.35rem}.hero-description{font-size:15px}.hero-search{flex-wrap:wrap;padding:10px}.hero-search input{width:calc(100% - 50px);flex:auto}.hero-search button{width:100%}.hero-visual{margin-left:3%;margin-right:3%}.quick-icon{width:42px;height:42px;font-size:24px}.quick-card{gap:15px}.quick-card>div{flex-basis:calc(100% - 60px)}.quick-card .text-link{margin-left:57px}.category-grid{gap:10px}.category-tile{padding:17px 13px;min-height:143px;gap:8px;align-items:flex-start;flex-direction:column}.tile-symbol{font-size:28px;text-align:left}.tile-content strong{font-size:20px}.tile-content small{font-size:11px}.featured-names,.directory-results .name-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.name-card{padding:16px;min-height:165px}.name-card h3{font-size:26px}.heart-button{right:9px;top:9px;width:30px;height:30px}.name-card .name-label{font-size:9px;max-width:calc(100% - 27px);display:block}.alphabet-list a{width:42px;height:45px;font-size:19px}.breed-grid{grid-template-columns:1fr}.article-grid{grid-template-columns:1fr}.footer-top{gap:24px}.footer-bottom{flex-direction:column}.directory-letters a{width:31px;height:34px;font-size:14px}.inner-hero{padding:45px 0}.inner-hero h1{font-size:3.1rem}.single-aside{grid-template-columns:1fr}.single-head h1{font-size:3rem}.single-content-layout{padding-top:45px}.section-heading h2{font-size:2.5rem}}

/* THE MODERN PET JOURNAL — v3.0 design system */
:root{--ink:#203b33;--muted:#65736e;--pink:#d36d59;--pink-dark:#b34f3c;--cream:#faf8f1;--sand:#f2f0e6;--line:#e2e7df;--white:#fff;--serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,'Segoe UI',sans-serif;--radius:16px}
body{background:#fffefb;color:var(--ink)}p{color:var(--muted)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d36d59;outline-offset:3px}::selection{background:#f5d9cf;color:#203b33}
.announcement{background:#24483e;color:#fff;letter-spacing:.12em}.announcement .sparkle{color:#f2c5a5}.site-header{background:#fffefb;border-bottom:1px solid #e6ebe3}.header-inner{height:86px}.brand-mark{background:#e9eee5;color:#254e42;border-radius:13px}.brand-copy strong span,.footer-logo span{color:#d36d59}.brand-copy small{color:#73887d}.nav-list a{font-weight:650}.header-favorite{color:#bb5945}.favorite-count{background:#f8e7df;color:#a34735}
.hero{background:linear-gradient(115deg,#f9f8f0 0%,#f9f8f0 52%,#e9eee5 52%,#e9eee5 100%)}.hero h1{font-weight:500;letter-spacing:-.055em}.hero-description{color:#556d61}.hero-visual{isolation:isolate}.hero-visual:before{content:'';position:absolute;width:85%;aspect-ratio:1;top:13%;left:9%;border-radius:49% 51% 45% 55%;background:#d5e0d0;z-index:-1}.hero-proof strong{color:#24483e}.eyebrow,.mini-label{color:#b45d47}.eyebrow-line{background:#d36d59}.hero-search{border:1px solid #dfe8dc;box-shadow:0 18px 45px #29483a12}.hero-search button,.btn-primary{background:#24483e}.hero-search button:hover,.btn-primary:hover{background:#14352b}.floating-note{box-shadow:0 16px 30px #24483e22}.floating-note>span{color:#c26950}.quick-card{border:1px solid #e1e8de;box-shadow:0 12px 35px #24483e0d}.quick-icon{background:#e9eee5;color:#24483e}.soft-section,.journal-section{background:#f8f8f2}.category-tile{border:1px solid #e2e7df;min-height:158px}.tile-peach{background:#f5e8df}.tile-rose{background:#f5ece6}.tile-lavender{background:#e9ebe8}.tile-butter{background:#f8efda}.tile-sage{background:#e6ede4}.tile-blue{background:#e6ece9}.tile-mint{background:#e4efe9}.tile-lilac{background:#ede8e5}.tile-pink{background:#f4e6df}.tile-symbol,.tile-arrow{color:#486e5c}.category-tile:hover{box-shadow:0 18px 35px #24483e14}.name-card{border:1px solid #e4e9df}.name-card:hover{box-shadow:0 12px 25px #24483e14}.name-card .name-label{color:#96715d}.heart-button{background:#f6eee8;color:#b85843}.heart-button.is-saved{background:#f3ded5;color:#b85843}.text-link,.read-more{color:#a94e3a}.alphabet-list a:hover,.directory-letters a:hover{background:#24483e;color:white}.split-feature{background:#e8efe7}.sidebar-promo{background:#e8eee6}.sidebar-promo>span,.sidebar-promo a{color:#a44f3d}.sidebar-link:hover,.sidebar-link.active{background:#edf2eb;color:#24483e}.inner-hero,.single-head{background:#f4f5ed}.pink-period{color:#cf715a}.site-footer{background:#193b32}.footer-bottom{border-color:#456158}.footer-top h3{color:#f4d7c5}.footer-top a:hover{color:#f4bba5}.footer-logo .brand-dot{color:#fff}.prose{color:#2d413a}.prose h2,.prose h3{scroll-margin-top:100px}.prose a{color:#a44f3d;text-decoration-thickness:1px;text-underline-offset:3px}.prose blockquote{border-color:#d36d59;background:#f8f5ed}.prose table{width:100%;border-collapse:collapse}.prose th{background:#f2f5ef}.author-box{background:#f0f4ed}.article-card,.name-card{overflow:hidden}.article-card img{transition:transform .25s}.article-card:hover img{transform:scale(1.025)}
/* Distinctive feature: interactive name-selection compass, progressive enhancement */
.name-compass{background:#203f35;color:#fff;border-radius:22px;padding:30px;display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:center;margin:45px 0}.name-compass h2{font-size:clamp(1.6rem,3vw,2.4rem);margin:6px 0 10px;color:#fff}.name-compass p{color:#d8e4d9;font-size:14px}.name-compass .eyebrow{color:#efb69e}.compass-options{display:flex;flex-wrap:wrap;gap:9px}.compass-options a{padding:11px 16px;border:1px solid #8da69b;border-radius:999px;font-size:13px;color:#fff}.compass-options a:hover{background:#fff;color:#24483e}.journal-micro{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.journal-micro span{font-size:12px;background:#edf1e9;border-radius:100px;padding:8px 13px;color:#355747}.single-cover img{aspect-ratio:16/9;object-fit:cover}.post-meta{flex-wrap:wrap}.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:30px}.post-nav a{display:block;padding:20px;border:1px solid var(--line);border-radius:12px;font-weight:650}.post-nav a:hover{background:#f2f5ee}.post-nav small{display:block;font-size:11px;color:var(--muted);margin-bottom:7px}.page-content{max-width:900px}.page-content h2{font-size:clamp(1.9rem,3vw,2.7rem)}.page-content p{max-width:78ch}.page-content .wp-block-columns p{max-width:none}.privacy-policy .page-content{max-width:850px}.category-intro{max-width:680px}.archive-topics{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 35px}.archive-topics a{border:1px solid #d9e3d7;border-radius:100px;padding:8px 14px;font-size:12px;color:#36594b}.archive-topics a:hover{background:#24483e;color:#fff}.directory-results .name-grid{min-height:80px}.site-footer .footer-extra{list-style:none;padding:0;margin:0}.site-footer .footer-extra li{margin:0 0 10px}.site-footer .footer-extra a{font-size:12px;color:#c8d9d0}.custom-logo{max-width:230px;height:auto}.wp-block-button__link{border-radius:8px}.alignwide{max-width:1200px;margin-inline:auto}.alignfull{width:100vw;max-width:none;margin-left:calc(50% - 50vw)}.wp-block-image{margin-bottom:1.4em}
@media(max-width:780px){.name-compass{grid-template-columns:1fr;padding:24px}.hero{background:#f9f8f0}.hero-visual{background:#e9eee5}.post-nav{grid-template-columns:1fr}.header-inner{height:72px}.footer-top{gap:28px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* ============================================================
   FDN V4 — HEADER & MOBILE NAVIGATION
   Edit these variables to resize your logo and navigation.
   All rules scoped to theme classes; no global Elementor overrides.
   ============================================================ */
:root{--fdn-logo-width:218px;--fdn-header-height:84px;--fdn-mobile-header-height:68px}
/* Accessibility: hide the skip link until keyboard focus. */
.skip-link{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.skip-link:focus,.skip-link:focus-visible{position:fixed!important;left:12px!important;top:12px!important;width:auto!important;height:auto!important;overflow:visible!important;clip-path:none;z-index:100000;background:#fff;color:#203b33;padding:12px 18px;border:2px solid #24483e;border-radius:8px}
/* Constrain oversized custom logo images without cropping. */
.site-header .brand{flex:0 1 auto;min-width:0;max-width:min(34vw,var(--fdn-logo-width))}
.site-header .custom-logo-link{display:flex;align-items:center;max-width:100%;min-width:0}
.site-header .custom-logo{display:block;width:auto;max-width:100%;max-height:64px;height:auto;object-fit:contain}
.site-header .header-inner{height:auto;min-height:var(--fdn-header-height);gap:clamp(12px,2vw,28px)}
.site-header .main-nav{min-width:0;flex:1 1 auto}
.site-header .main-nav .nav-list{display:flex;justify-content:flex-end;gap:clamp(9px,1.4vw,24px);align-items:center;flex-wrap:nowrap}
.site-header .nav-list li{list-style:none;margin:0;padding:0;min-width:0}
.site-header .nav-list>li>a{display:block;padding:12px 0;white-space:nowrap;font-size:clamp(12px,.94vw,14px);line-height:1.3}
/* Nested WordPress menus: dropdowns are hidden until activated. */
.site-header .nav-list .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:80;min-width:215px;max-width:min(320px,80vw);max-height:min(65vh,550px);overflow-y:auto;background:#fff;border:1px solid #e0e7de;border-radius:12px;padding:8px;box-shadow:0 14px 35px #203b3326;list-style:none}
.site-header .nav-list .sub-menu .sub-menu{top:0;left:100%}
.site-header .nav-list .sub-menu li{position:relative}
.site-header .nav-list .sub-menu a{display:block;white-space:normal;overflow-wrap:anywhere;padding:9px 11px;border-radius:6px;font-size:13px;line-height:1.5}
.site-header .nav-list .sub-menu a:hover,.site-header .nav-list .sub-menu a:focus-visible{background:#f1f5ef}
@media(hover:hover) and (min-width:1101px){.site-header .nav-list li:hover>.sub-menu{display:block}}
@media(min-width:1101px){.site-header .nav-list li:focus-within>.sub-menu{display:block}}
.site-header .header-actions{flex:0 0 auto}
/* Tablet and phone: slide-down menu with independent submenu expanders. */
@media(max-width:1100px){
 .site-header .header-inner{min-height:var(--fdn-mobile-header-height);gap:12px}
 .site-header .brand{max-width:min(62vw,205px)}
 .site-header .custom-logo{max-height:54px}
 .site-header .mobile-toggle{display:block;position:relative;z-index:4;flex:none;border:1px solid #dce6dc;border-radius:9px;padding:8px 10px;background:#fff}
 .site-header .main-nav{display:none;position:absolute;top:100%;left:0;right:0;width:100%;background:#fff;box-shadow:0 20px 30px #183a2e20;padding:12px max(18px,calc((100vw - 1200px)/2));max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
 .site-header .main-nav.is-open{display:block}
 .site-header .main-nav .nav-list{display:block;width:100%}
 .site-header .main-nav .nav-list>li{border-bottom:1px solid #edf0eb;position:relative;padding-right:42px}
 .site-header .main-nav .nav-list>li>a{font-size:15px;white-space:normal;padding:13px 0;line-height:1.45}
 .site-header .nav-list .sub-menu,.site-header .nav-list .sub-menu .sub-menu{display:none;position:static;min-width:0;max-width:none;max-height:none;overflow:visible;border:0;box-shadow:none;border-radius:0;padding:0 0 8px 13px;background:#f8faf6}
 .site-header .nav-list li.submenu-open>.sub-menu{display:block}
 .site-header .nav-list .sub-menu li{border-bottom:1px solid #eef2ec;padding-right:40px}
 .site-header .nav-list .sub-menu a{font-size:13px;padding:11px 8px;line-height:1.5}
 .site-header .submenu-trigger{position:absolute;right:0;top:5px;display:grid;place-items:center;width:38px;height:38px;border:1px solid #e2e8df;border-radius:8px;background:#fff;color:#24483e;font-size:18px}
 .site-header .submenu-trigger[aria-expanded=true]{background:#e9f0e8}
 .site-header .header-favorite{font-size:24px}
}
@media(max-width:480px){.site-header .brand{max-width:min(58vw,180px)}.site-header .custom-logo{max-height:48px}.site-header .header-inner{gap:8px}.site-header .header-actions{gap:7px}.announcement{padding:7px 10px;letter-spacing:.07em}.hero h1{font-size:clamp(2.65rem,11vw,3.35rem)}.quick-card .text-link{white-space:normal}.hero-search input{font-size:16px}.directory-toolbar input,.directory-toolbar select{font-size:16px}}
/* Theme components must never create viewport-wide horizontal scroll. */
.site-header,.hero,.section-pad,.inner-hero,.directory-section,.single-content-layout{max-width:100%}
.shell,.hero-copy,.hero-visual,.article-card,.name-card,.page-content{min-width:0}
.prose pre,.prose table,.wp-block-table{max-width:100%;overflow-x:auto}
.prose img,.entry-content img,.elementor img{max-width:100%;height:auto}
/* ============================================================
   HOMEPAGE NAME LIBRARY — editable from front-page.php
   ============================================================ */
.home-name-library{background:#fffefb}
.home-library-summary{max-width:720px;color:#52675d;font-size:15px}
.home-name-group{border:1px solid #e2e9df;border-radius:16px;background:white;margin:15px 0;overflow:hidden}
.home-name-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:20px 23px;font-size:19px;font-weight:750;color:#24483e;list-style:none}
.home-name-group>summary::-webkit-details-marker{display:none}
.home-name-group>summary::after{content:'+';font-size:27px;font-weight:400;line-height:1}
.home-name-group[open]>summary::after{content:'−'}
.home-name-group>summary small{display:block;font-size:12px;font-weight:400;color:#697c71;margin-top:3px}
.home-name-group .library-items{padding:0 20px 22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-name-group .library-name{position:relative;background:#f7f9f5;border-radius:9px;padding:13px 39px 12px 14px;min-width:0}
.home-name-group .library-name strong{display:block;color:#25473c;font-size:16px;overflow-wrap:anywhere}
.home-name-group .library-name p{font-size:12px;line-height:1.5;margin:3px 0 0}
.home-name-group .library-name .heart-button{right:7px;top:8px;width:28px;height:28px;font-size:19px}
.home-name-group .group-link{display:inline-block;margin:0 20px 22px;color:#aa4f3a;font-size:13px;font-weight:750}
@media(max-width:850px){.home-name-group .library-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.home-name-group>summary{font-size:16px;padding:16px}.home-name-group .library-items{padding:0 12px 15px;gap:8px}.home-name-group .library-name{padding:11px 34px 11px 10px}.home-name-group .library-name strong{font-size:15px}.home-name-group .library-name p{font-size:11px}.home-name-group .group-link{margin:0 12px 16px}}

/* ============================================================
   VERSION 5 — HEADER / NAVIGATION REPAIR
   Primary menu is deliberately ONE LEVEL to prevent a large
   existing WordPress menu from covering the entire website.
   Edit Appearance > Menus to select the main navigation items.
   ============================================================ */
.skip-link:not(:focus):not(:focus-visible){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.skip-link:focus,.skip-link:focus-visible{position:fixed!important;top:12px!important;left:12px!important;z-index:99999!important;background:#fff!important;color:#163b32!important;padding:12px 18px!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important}
.site-header{position:relative!important;z-index:50!important;background:#fff!important;isolation:isolate}
.site-header .header-inner{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;min-width:0!important;max-width:1200px!important;margin-inline:auto!important;gap:clamp(12px,2vw,30px)!important}
.site-header .brand{flex:0 0 auto!important;min-width:0!important;max-width:clamp(150px,19vw,235px)!important}
.site-header .brand .custom-logo-link{display:block!important;line-height:0!important}
.site-header .brand img.custom-logo{display:block!important;width:auto!important;max-width:100%!important;max-height:65px!important;height:auto!important;object-fit:contain!important}
.site-header .main-nav{position:static!important;display:block;flex:1 1 auto!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;visibility:visible}
.site-header .main-nav>ul.nav-list{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:clamp(10px,1.4vw,24px)!important;margin:0!important;padding:0!important;list-style:none!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin}
.site-header .main-nav>ul.nav-list>li{display:block!important;flex:0 0 auto!important;position:static!important;float:none!important;margin:0!important;padding:0!important;list-style:none!important}
.site-header .main-nav>ul.nav-list>li>a{display:block!important;padding:10px 0!important;line-height:1.4!important;font-size:13px!important;white-space:nowrap!important}
.site-header .main-nav .sub-menu,.site-header .main-nav ul ul,.site-header .main-nav .submenu-trigger{display:none!important;visibility:hidden!important}
.site-header .header-actions{flex:0 0 auto!important}
/* Single post: balanced readable editorial width */
.fdn-article-header{background:#f7f7f0;padding:clamp(35px,5vw,75px) 0 clamp(30px,4vw,60px);text-align:center}
.fdn-article-header-inner{max-width:900px!important}
.fdn-article-header .breadcrumbs{justify-content:center;margin-bottom:30px}
.fdn-article-category{color:#bd5948;font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;margin-bottom:16px}
.fdn-article-header h1{font-family:Georgia,serif;font-size:clamp(2.25rem,5vw,4.7rem);line-height:1.12;letter-spacing:-.045em;margin:0 auto 20px;overflow-wrap:anywhere;max-width:850px}
.fdn-article-deck{max-width:670px;margin:0 auto 20px;font-size:clamp(15px,1.6vw,19px);line-height:1.7}
.fdn-article-byline{display:flex;gap:8px 18px;flex-wrap:wrap;justify-content:center;font-size:12px;color:#756f69}
.fdn-article-image{max-width:1050px!important;margin-top:35px;margin-bottom:0}
.fdn-article-image img{display:block;width:100%;max-height:570px;object-fit:cover;border-radius:16px}
.fdn-article-layout{display:grid;grid-template-columns:minmax(0,740px) minmax(220px,290px);gap:clamp(28px,4vw,70px);align-items:start;padding-top:clamp(40px,6vw,80px);padding-bottom:75px}
.fdn-article-body,.fdn-article-sidebar{min-width:0}
.fdn-article-body .prose{font-size:17px;line-height:1.85;overflow-wrap:anywhere}
.fdn-article-body .prose img,.fdn-page-content img{max-width:100%;height:auto}
.fdn-article-body .prose table,.fdn-page-content table{display:block;max-width:100%;overflow-x:auto}
.fdn-article-sidebar .sidebar-promo h2{font-size:25px;letter-spacing:-.02em}
/* Archives, categories and standard pages */
body.archive .inner-hero,body.category .inner-hero,body.blog .inner-hero{padding:clamp(45px,6vw,85px) 0!important}
.inner-hero h1{font-size:clamp(2.4rem,5vw,4.6rem)!important;overflow-wrap:anywhere;max-width:100%}
.fdn-page-header{background:#f7f7f0;padding:clamp(40px,6vw,90px) 0}
.fdn-page-header h1{font-size:clamp(2.5rem,5vw,4.7rem);margin:16px 0 0;overflow-wrap:anywhere}
.fdn-page-header p{max-width:700px;margin-top:20px}
.fdn-page-content{max-width:850px!important;padding-top:clamp(35px,5vw,65px);padding-bottom:clamp(65px,8vw,110px);overflow-wrap:anywhere}
.fdn-page-content.prose{font-size:17px;line-height:1.85}
.fdn-page-cover{margin-top:30px;max-width:950px!important}
.fdn-page-cover img{width:100%;height:auto;border-radius:15px}
.fdn-legal-page .fdn-page-content h2{font-size:clamp(1.5rem,2.5vw,2.2rem)}
/* Mobile header: collapsible, no page-wide menu overflow */
@media(max-width:1100px){
 .site-header .header-inner{height:72px!important}
 .site-header .brand{max-width:min(52vw,220px)!important}
 .site-header .brand img.custom-logo{max-height:55px!important}
 .site-header .mobile-toggle{display:block!important}
 .site-header .main-nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;overflow-y:auto!important;overflow-x:hidden!important;max-height:min(72vh,600px)!important;background:#fff!important;border-top:1px solid #e8e8e0!important;box-shadow:0 18px 28px #182c2522!important;padding:12px 24px 22px!important}
 .site-header .main-nav.is-open{display:block!important}
 .site-header .main-nav>ul.nav-list{display:flex!important;flex-direction:column!important;align-items:stretch!important;overflow:visible!important;gap:0!important;max-width:100%!important}
 .site-header .main-nav>ul.nav-list>li{width:100%!important;border-bottom:1px solid #eff0e9!important}
 .site-header .main-nav>ul.nav-list>li>a{white-space:normal!important;padding:14px 6px!important;font-size:15px!important}
 .fdn-article-layout{grid-template-columns:minmax(0,1fr)}
 .fdn-article-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media(max-width:640px){
 .site-header .header-inner{height:65px!important;gap:10px!important}
 .site-header .brand{max-width:min(51vw,190px)!important}
 .site-header .brand img.custom-logo{max-height:45px!important}
 .site-header .header-favorite{font-size:23px!important}
 .fdn-article-header{padding:35px 0}
 .fdn-article-header h1{font-size:clamp(2rem,9vw,3rem)}
 .fdn-article-header .breadcrumbs{margin-bottom:20px}
 .fdn-article-image{margin-top:20px}
 .fdn-article-image img{border-radius:10px}
 .fdn-article-layout{padding-top:35px;padding-bottom:45px}
 .fdn-article-body .prose,.fdn-page-content.prose{font-size:16px;line-height:1.8}
 .fdn-article-sidebar{grid-template-columns:minmax(0,1fr)}
 .fdn-page-header{padding:40px 0}
 .fdn-page-content{padding-top:35px}
}

/* ===========================================================
   V6 — SINGLE ARTICLE REPAIR / DESKTOP & MOBILE
   Adjust --fdn-site-width to change the site width.
   Adjust --fdn-reading-width to change article line length.
   The layout uses minmax(0,1fr) to prevent content shrinking.
   =========================================================== */
:root{--fdn-site-width:1280px;--fdn-reading-width:760px}
html,body{width:100%;max-width:100%;overflow-x:clip}
body{min-width:320px}
.shell{width:min(var(--fdn-site-width),calc(100% - 48px))!important;max-width:var(--fdn-site-width)!important;margin-inline:auto!important}
.fdn-article-page,.fdn-article,.fdn-article-header,.journal-section{width:100%;max-width:none;min-width:0}
.fdn-article-header-inner{max-width:920px!important}
.fdn-article-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 270px!important;gap:clamp(28px,4vw,58px)!important;width:min(1160px,calc(100% - 48px))!important;max-width:1160px!important;margin-inline:auto!important}
.fdn-article-body{min-width:0!important;width:100%!important;max-width:none!important}
.fdn-article-body .prose{max-width:var(--fdn-reading-width)!important;width:100%!important;margin-inline:0!important;overflow-wrap:break-word!important;word-break:normal!important;font-size:17px!important;line-height:1.85!important}
.fdn-article-body .prose p,.fdn-article-body .prose li{max-width:none!important;word-break:normal!important;overflow-wrap:break-word!important}
.fdn-article-body .prose h2{font-size:clamp(1.65rem,2.7vw,2.25rem)!important;line-height:1.25!important;overflow-wrap:break-word!important}
.fdn-article-body .prose h3{font-size:clamp(1.3rem,2vw,1.65rem)!important;line-height:1.3!important}
.fdn-article-sidebar{width:100%!important;min-width:0!important;max-width:270px!important}
.fdn-article-sidebar .sidebar-promo,.fdn-article-sidebar .sidebar-panel{width:100%;min-width:0}
.fdn-article-page a:not(.btn-primary){text-decoration-color:currentColor}
.fdn-article-body a,.fdn-article-sidebar a,.article-card a{color:#a44938}
.fdn-article-body .prose a{color:#a44938!important}
.article-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
.article-grid .article-card{width:100%;min-width:0;max-width:none;overflow:hidden}
.article-grid .article-card h3{overflow-wrap:break-word;word-break:normal;font-size:clamp(1.2rem,1.7vw,1.5rem)}
.article-grid .article-card .article-body{padding:20px}
.article-grid .article-card img{width:100%;aspect-ratio:16/10;object-fit:cover}
@media(max-width:1050px){.fdn-article-layout{grid-template-columns:minmax(0,1fr)!important;max-width:800px!important}.fdn-article-sidebar{max-width:none!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.shell{width:calc(100% - 32px)!important}.fdn-article-layout{width:calc(100% - 32px)!important;display:block!important}.fdn-article-body .prose{font-size:16px!important;line-height:1.8!important}.fdn-article-sidebar{display:grid;grid-template-columns:minmax(0,1fr);margin-top:35px}.article-grid{grid-template-columns:minmax(0,1fr)!important}.fdn-article-header h1{font-size:clamp(2rem,9vw,3rem)!important}.fdn-article-image{width:calc(100% - 32px)!important}}

/* ==============================================================
   V7 IMAGE / SPACING / ADS — edit these CSS variables to customize.
   Ads render only when a Custom HTML widget is assigned to a slot.
   ============================================================== */
:root{--fdn-article-gap:48px;--fdn-card-gap:26px}
.fdn-article-image{width:min(1200px,calc(100% - 48px))!important;max-width:1200px!important;margin:28px auto 50px!important}
.fdn-article-image img{display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border-radius:16px!important}
.fdn-article-layout{gap:var(--fdn-article-gap)!important}
.fdn-article-sidebar{display:flex;flex-direction:column;gap:26px}
.fdn-article-sidebar .sidebar-promo,.fdn-article-sidebar .sidebar-panel{margin:0!important}
.category-grid{gap:var(--fdn-card-gap)!important}
.category-tile{min-height:170px!important;padding:clamp(22px,2.7vw,35px)!important}
.fdn-ad{width:100%;max-width:100%;min-width:0;overflow:hidden;clear:both;text-align:center;margin:24px auto 32px;padding:10px 0}
.fdn-ad-label{display:block;font:10px/1.5 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#838d87;margin-bottom:8px}
.fdn-ad-widget{max-width:100%;min-width:0}
.fdn-ad ins.adsbygoogle{max-width:100%}
.fdn-ad-header{max-width:1100px;margin:12px auto}
.fdn-ad-sidebar_top,.fdn-ad-sidebar_bottom{margin:0 0 22px}
.fdn-article-body .fdn-ad{margin:32px 0;max-width:100%}
.fdn-ad-home,.fdn-ad-archive{max-width:1100px}
.directory-description{margin:0 0 22px;line-height:1.75}
@media(max-width:1050px){.fdn-article-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:640px){.fdn-article-image{width:calc(100% - 32px)!important;margin:18px auto 28px!important}.fdn-article-image img{border-radius:10px!important}.fdn-article-sidebar{display:flex;flex-direction:column;gap:18px}.category-grid{gap:14px!important}.category-tile{min-height:140px!important}.fdn-ad{margin:18px auto 24px}}

/* V8: Country browsing - responsive links, accessible contrast, no layout shift */
.country-browse{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:22px 0 24px;line-height:1.5}.country-browse strong{flex-basis:100%;font-size:.92rem}.country-browse a{display:inline-block;border:1px solid #d7dfd7;border-radius:24px;padding:7px 12px;color:#25483d;background:#fff;text-decoration:none;font-size:.86rem}.country-browse a:hover,.country-browse a[aria-current=page]{background:#244c3e;color:#fff}.name-card h3{overflow-wrap:anywhere}.directory-results,.directory-layout{min-width:0}@media(max-width:700px){.country-browse{gap:7px}.country-browse a{font-size:.78rem;padding:6px 9px}}

/* V9: editorial homepage content, responsive image stability and safe ad spacing. */
.fdn-home-editorial{background:#fffefb}.fdn-home-editorial .entry-content{max-width:900px;margin-inline:auto}
.fdn-home-editorial .entry-content h1{font-size:clamp(1.8rem,3vw,2.8rem)}
.fdn-home-editorial img,.single-cover img,.article-card img{max-width:100%;height:auto}
.fdn-ad{max-width:100%;overflow:clip;min-width:0}.fdn-ad ins{max-width:100%}
@media(max-width:780px){.fdn-ad{margin-inline:auto}.fdn-home-editorial .entry-content{max-width:100%}}
