/*
Theme Name: FirmsDirectory
Author: FirmsDirectory
Description: A clean, responsive company directory theme for the FirmsDirectory Core plugin.
Version: 1.2.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: firmsdirectory-theme
*/
:root{--fd-ink:#14221e;--fd-muted:#63716b;--fd-green:#13795b;--fd-green-dark:#0b543d;--fd-lime:#d5f05b;--fd-paper:#f5f7f3;--fd-white:#fff;--fd-line:#e0e7e1;--fd-shadow:0 18px 50px rgba(14,43,30,.09);--fd-radius:18px;--fd-width:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--fd-ink);background:var(--fd-paper);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:var(--fd-green);text-decoration:none}a:hover{color:var(--fd-green-dark)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.fd-container{width:min(var(--fd-width),calc(100% - 40px));margin-inline:auto}.fd-site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(224,231,225,.8)}.fd-header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.fd-brand{display:inline-flex;align-items:center;gap:11px;color:var(--fd-ink);font-size:1.25rem;font-weight:800;letter-spacing:-.04em}.fd-brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#fff;background:var(--fd-green);font-size:1.05rem}.fd-brand img{max-height:44px;width:auto}.fd-nav{display:flex;align-items:center;gap:28px}.fd-nav ul{display:flex;align-items:center;gap:26px;margin:0;padding:0;list-style:none}.fd-nav a{color:#33433b;font-size:.93rem;font-weight:650}.fd-nav .current-menu-item>a{color:var(--fd-green)}.fd-header-cta,.fd-button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 19px;border:0;border-radius:999px;background:var(--fd-green);color:#fff;font-weight:750;transition:transform .18s,background .18s}.fd-header-cta:hover,.fd-button:hover,.wp-block-button__link:hover{background:var(--fd-green-dark);color:#fff;transform:translateY(-1px)}.fd-menu-toggle{display:none;border:1px solid var(--fd-line);border-radius:12px;background:#fff;padding:9px 12px;color:var(--fd-ink)}.fd-hero{position:relative;overflow:hidden;padding:92px 0 82px;background:radial-gradient(ellipse at 88% 9%,rgba(213,240,91,.23),transparent 30%),linear-gradient(135deg,#eff5ee,#fbfcf9 58%,#e8f2ec)}.fd-hero:after{position:absolute;right:-130px;bottom:-300px;width:620px;height:620px;border:1px solid rgba(19,121,91,.11);border-radius:50%;content:"";box-shadow:0 0 0 48px rgba(19,121,91,.025),0 0 0 96px rgba(19,121,91,.02)}.fd-hero-inner{position:relative;z-index:1;max-width:850px}.fd-eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--fd-green);font-size:.78rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.fd-eyebrow:before{width:22px;height:2px;background:var(--fd-green);content:""}.fd-hero h1{max-width:800px;margin:20px 0 18px;font-size:clamp(2.6rem,6vw,5.3rem);font-weight:820;line-height:1.02;letter-spacing:-.065em}.fd-hero h1 span{color:var(--fd-green)}.fd-hero-copy{max-width:620px;color:#53635a;font-size:1.16rem}.fd-searchbar{display:flex;max-width:740px;gap:10px;margin-top:32px;padding:8px;border:1px solid rgba(211,222,213,.9);border-radius:16px;background:#fff;box-shadow:var(--fd-shadow)}.fd-searchbar input{flex:1;min-width:0;height:48px;padding:0 14px;border:0;outline:0;background:transparent}.fd-searchbar button{min-width:132px;border:0;border-radius:11px;background:var(--fd-green);color:#fff;font-weight:750}.fd-hero-foot{display:flex;flex-wrap:wrap;gap:18px;margin-top:20px;color:#728078;font-size:.88rem}.fd-hero-foot span:before{content:"✓";padding-right:7px;color:var(--fd-green);font-weight:900}.fd-section{padding:70px 0}.fd-section-white{background:#fff}.fd-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:27px}.fd-section-head h2{margin:5px 0 0;font-size:clamp(1.8rem,3vw,2.65rem);line-height:1.1;letter-spacing:-.05em}.fd-section-head p{margin:8px 0 0;color:var(--fd-muted)}.fd-link-arrow{font-weight:750;white-space:nowrap}.fd-company-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.fd-company-card{overflow:hidden;border:1px solid var(--fd-line);border-radius:var(--fd-radius);background:#fff;box-shadow:0 5px 18px rgba(14,43,30,.035);transition:transform .2s,box-shadow .2s}.fd-company-card:hover{transform:translateY(-4px);box-shadow:var(--fd-shadow)}.fd-card-main{display:block;padding:23px;color:inherit}.fd-card-brand{display:flex;align-items:center;gap:14px;margin-bottom:17px}.fd-card-logo{display:grid;place-items:center;flex:none;width:56px;height:56px;overflow:hidden;border:1px solid var(--fd-line);border-radius:15px;background:#f6f8f5;color:var(--fd-green);font-size:1.2rem;font-weight:850}.fd-card-logo img{width:100%;height:100%;object-fit:contain}.fd-card-brand h3{margin:0;color:var(--fd-ink);font-size:1.1rem;line-height:1.25;letter-spacing:-.025em}.fd-company-card p{margin:0;color:var(--fd-muted);font-size:.92rem}.fd-card-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.fd-chip{display:inline-flex;align-items:center;min-height:28px;padding:3px 10px;border-radius:999px;background:#f0f5f0;color:#52625a;font-size:.75rem;font-weight:700}.fd-verified{color:var(--fd-green);font-weight:750}.fd-spotlight-wrap{padding:54px 0;background:var(--fd-green-dark);color:#fff}.fd-spotlight-wrap .fd-section-head h2,.fd-spotlight-wrap .fd-section-head p{color:#fff}.fd-spotlight-wrap .fd-eyebrow{color:var(--fd-lime)}.fd-spotlight-wrap .fd-eyebrow:before{background:var(--fd-lime)}.fd-spotlight-wrap .fd-spotlight{max-width:none;margin:0;border:1px solid rgba(255,255,255,.17);background:rgba(255,255,255,.08);color:#fff}.fd-spotlight-wrap .fd-spotlight a{color:var(--fd-lime)}.fd-spotlight-wrap .fd-spotlight p{color:rgba(255,255,255,.78)}.fd-trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fd-trust-item{padding:24px;border:1px solid var(--fd-line);border-radius:16px;background:#fff}.fd-trust-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:16px;border-radius:13px;background:#eaf4ed;color:var(--fd-green);font-weight:900}.fd-trust-item h3{margin:0 0 6px;font-size:1.05rem}.fd-trust-item p{margin:0;color:var(--fd-muted);font-size:.92rem}.fd-cta-band{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px 38px;border-radius:22px;background:#eaf2e9}.fd-cta-band h2{max-width:570px;margin:0;font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.15;letter-spacing:-.05em}.fd-cta-band p{margin:8px 0 0;color:var(--fd-muted)}.fd-page-head{padding:52px 0 35px;background:linear-gradient(135deg,#edf4ec,#fff)}.fd-page-head h1{margin:7px 0;font-size:clamp(2rem,4vw,3.5rem);line-height:1.08;letter-spacing:-.055em}.fd-page-head p{margin:8px 0 0;color:var(--fd-muted)}.fd-directory-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 24px}.fd-directory-tools input,.fd-directory-tools select{min-height:44px;padding:8px 12px;border:1px solid var(--fd-line);border-radius:10px;background:#fff}.fd-directory-tools input[type=search]{flex:1 1 230px}.fd-single{padding:48px 0 80px}.fd-single-head{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:24px;margin-bottom:35px}.fd-single-logo{display:grid;place-items:center;width:110px;height:110px;overflow:hidden;border:1px solid var(--fd-line);border-radius:25px;background:#fff;color:var(--fd-green);font-size:2.5rem;font-weight:850}.fd-single-logo img{width:100%;height:100%;object-fit:contain}.fd-single-head h1{margin:0;font-size:clamp(2rem,4vw,3.5rem);line-height:1.05;letter-spacing:-.055em}.fd-single-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px;color:var(--fd-muted)}.fd-single-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:42px}.fd-content{min-width:0;padding:32px;border:1px solid var(--fd-line);border-radius:var(--fd-radius);background:#fff}.fd-content>:first-child{margin-top:0}.fd-content h2{margin-top:2em;font-size:1.6rem;letter-spacing:-.035em}.fd-content p,.fd-content li{color:#435249}.fd-company-sidebar{position:sticky;top:100px;align-self:start;padding:24px;border:1px solid var(--fd-line);border-radius:var(--fd-radius);background:#fff}.fd-company-sidebar h2{margin:0 0 14px;font-size:1rem}.fd-company-sidebar .fd-button{width:100%;margin:5px 0}.fd-sidebar-list{display:grid;gap:8px;margin:16px 0 0}.fd-sidebar-list div{padding-top:10px;border-top:1px solid var(--fd-line);color:var(--fd-muted);font-size:.88rem}.fd-sidebar-list strong{display:block;color:var(--fd-ink)}.fd-content .fd-company-details,.fd-content .fd-reviews,.fd-content .fd-newsroom,.fd-content .fd-company-news{padding-top:27px;border-top:1px solid var(--fd-line)}.fd-review-form,.fd-dashboard-company,.fd-press-release-form{padding:22px;border-radius:16px;background:#f7f9f6}.fd-pagination{display:flex;justify-content:center;gap:8px;margin:32px 0}.fd-pagination .page-numbers{display:grid;place-items:center;min-width:42px;height:42px;padding:0 10px;border:1px solid var(--fd-line);border-radius:11px;background:#fff}.fd-pagination .current{border-color:var(--fd-green);background:var(--fd-green);color:#fff}.fd-site-footer{padding:54px 0 24px;background:#12251d;color:#e7f0e9}.fd-footer-main{display:flex;justify-content:space-between;gap:40px;padding-bottom:36px}.fd-footer-brand{max-width:350px}.fd-footer-brand .fd-brand{color:#fff}.fd-footer-brand p{color:#a8b9ad}.fd-footer-nav ul{display:flex;flex-wrap:wrap;gap:18px;margin:0;padding:0;list-style:none}.fd-footer-nav a{color:#d7e4da}.fd-footer-bottom{display:flex;justify-content:space-between;gap:18px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);color:#a8b9ad;font-size:.85rem}.fd-site-footer a:hover{color:var(--fd-lime)}.fd-empty{padding:36px;border:1px dashed #cbd7ce;border-radius:16px;background:#fff;text-align:center}.fd-skip-link{position:absolute;top:-100px;left:12px;z-index:99;padding:10px;background:#fff;color:#111}.fd-skip-link:focus{top:12px}.fd-menu-open .fd-nav{display:block}.alignwide{max-width:var(--fd-width);margin-inline:auto}.alignfull{width:100%}.wp-block-image img,.wp-block-cover{border-radius:14px}.wp-block-button__link{border-radius:999px!important}@media(max-width:920px){.fd-company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fd-single-layout{grid-template-columns:minmax(0,1fr) 260px;gap:24px}.fd-nav ul{gap:16px}.fd-header-inner{gap:14px}}@media(max-width:700px){.fd-container{width:min(var(--fd-width),calc(100% - 30px))}.fd-header-inner{height:68px}.fd-menu-toggle{display:inline-flex}.fd-nav{display:none;position:absolute;top:68px;left:0;right:0;padding:14px 20px 20px;border-bottom:1px solid var(--fd-line);background:#fff}.fd-nav ul{align-items:stretch;flex-direction:column;gap:0}.fd-nav li{padding:11px 0;border-bottom:1px solid #eef1ee}.fd-header-cta{display:none}.fd-hero{padding:68px 0 60px}.fd-hero h1{font-size:clamp(2.6rem,12vw,4rem)}.fd-searchbar{flex-direction:column}.fd-searchbar input{min-height:46px}.fd-searchbar button{min-height:48px}.fd-section{padding:54px 0}.fd-company-grid,.fd-trust-row{grid-template-columns:1fr}.fd-section-head{align-items:start;flex-direction:column}.fd-cta-band{align-items:start;flex-direction:column;padding:28px 24px}.fd-single{padding-top:32px}.fd-single-head{grid-template-columns:74px 1fr;gap:16px}.fd-single-logo{width:74px;height:74px;border-radius:18px}.fd-single-layout{grid-template-columns:1fr}.fd-company-sidebar{position:static;grid-row:1}.fd-content{padding:22px}.fd-footer-main,.fd-footer-bottom{flex-direction:column}.fd-footer-main{gap:22px}.fd-footer-nav ul{gap:12px}.fd-directory-tools>*{width:100%}}
.fd-nav.fd-menu-open{display:block}.fd-brand-custom .custom-logo-link{display:flex;align-items:center}.fd-card-rating{background:#fff8df;color:#855d00}.fd-card-rating .fd-rating-summary{font-size:.76rem}.fd-sidebar-rating{padding:10px;border-radius:10px;background:#fff8df;color:#855d00}.fd-post-image img{width:100%;height:190px;object-fit:cover;border-radius:13px}.archive-description{color:var(--fd-muted)}.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}
.fd-comments{margin-top:38px;padding-top:26px;border-top:1px solid var(--fd-line)}.fd-comments .comment-list{padding-left:22px}.fd-comments .comment-body{margin:18px 0;padding:16px;border-radius:12px;background:#f6f8f5}.fd-comments .comment-form input,.fd-comments .comment-form textarea{max-width:100%;padding:10px;border:1px solid var(--fd-line);border-radius:9px}

.fd-header-account{font-weight:700;white-space:nowrap}.fd-single-logo img{width:100%;height:100%;object-fit:contain;border-radius:inherit}.fd-card-logo img{width:100%;height:100%;object-fit:contain}
