/*
Theme Name: Approved Properties
Theme URI: https://approvedpropertieske.com/
Author: Approved Properties
Description: Responsive jungle-green and gold starter theme for Approved Properties, built to work with Elementor Free and the Approved Properties Toolkit plugin.
Version: 1.5.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: approved-properties
*/
:root{--ap-brand-green:#123c29;--ap-brand-dark:#09291d;--ap-brand-gold:#d9b65e;--ap-brand-cream:#f6f1e5;--ap-header-height:88px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#18251d;background:#fffdf8;font:18px/1.6 Arial,Helvetica,sans-serif}a{color:var(--ap-brand-green)}img{max-width:100%;height:auto}.ap-header{position:relative;z-index:20;background:#fffdf8;border-bottom:1px solid rgba(18,60,41,.12)}.ap-header-inner{max-width:1280px;margin:auto;min-height:var(--ap-header-height);padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:25px}.ap-brand{display:flex;align-items:center;flex:0 0 auto;background:#fff;border-radius:13px;padding:4px 10px}.ap-brand img{width:auto;height:66px;object-fit:contain}.ap-nav{display:flex;align-items:center;gap:24px}.ap-nav ul{display:flex;align-items:center;gap:23px;list-style:none;padding:0;margin:0}.ap-nav li{margin:0}.ap-nav a{color:var(--ap-brand-dark);font-size:15px;font-weight:700;text-decoration:none}.ap-nav a:hover,.ap-nav .current-menu-item>a{color:#907125}.ap-header-phone{display:flex;flex-direction:column;text-decoration:none;line-height:1.2;text-align:right}.ap-header-phone small{font-size:11px;letter-spacing:.1em;color:#8a7131;font-weight:800}.ap-header-phone strong{font-size:17px;color:var(--ap-brand-green)}.ap-main{min-height:58vh}.ap-footer{margin-top:50px;background:var(--ap-brand-dark);color:#e7eee7;border-top:4px solid var(--ap-brand-gold)}.ap-footer-inner{max-width:1280px;margin:auto;padding:44px 24px 30px;display:grid;grid-template-columns:1.1fr .9fr 1fr;gap:35px}.ap-footer img{max-width:210px;border-radius:12px;background:white;padding:6px}.ap-footer h2,.ap-footer h3{font:700 23px/1.2 Georgia,serif;color:#f1d994;margin:0 0 12px}.ap-footer p{color:#d1ddd3;margin:0 0 12px}.ap-footer a{color:#f1d994;text-decoration:none}.ap-footer-links{display:grid;gap:8px}.ap-footer-bottom{max-width:1280px;padding:15px 24px 23px;margin:auto;border-top:1px solid rgba(255,255,255,.16);font-size:13px;color:#b8c9ba}.ap-footer-bottom a{color:#e4d09b}@media(max-width:980px){.ap-header-inner{flex-wrap:wrap}.ap-nav{order:3;width:100%;overflow:auto}.ap-nav ul{gap:18px;white-space:nowrap}.ap-header-phone{margin-left:auto}.ap-footer-inner{grid-template-columns:1fr 1fr}.ap-footer-inner>div:first-child{grid-column:1/-1}}@media(max-width:600px){:root{--ap-header-height:76px}.ap-header-inner{padding:8px 15px;gap:12px}.ap-brand img{height:52px}.ap-nav{padding:5px 0}.ap-nav ul{gap:16px}.ap-nav a{font-size:14px}.ap-header-phone strong{font-size:15px}.ap-header-phone small{font-size:9px}.ap-footer-inner{grid-template-columns:1fr;padding:30px 20px;gap:24px}.ap-footer-inner>div:first-child{grid-column:auto}.ap-footer-bottom{padding:15px 20px 20px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.ap-footer-inner{grid-template-columns:1.1fr .85fr 1fr 1.15fr}.ap-footer-social h3{margin-bottom:14px}.ap-social-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ap-social-links a{min-height:38px;display:flex;align-items:center;gap:8px;padding:6px 8px;color:#f3f0e5;background:rgba(255,255,255,.04);border:1px solid rgba(217,182,94,.35);font-size:12px;font-weight:700;line-height:1.25}.ap-social-links a:hover{color:#f1d994;background:rgba(255,255,255,.09)}.ap-social-links a>span{width:21px;height:21px;flex:0 0 21px;display:grid;place-items:center;border-radius:50%;background:var(--ap-brand-gold);color:var(--ap-brand-dark);font-size:10px;font-weight:800}.ap-footer a:focus-visible{outline:3px solid var(--ap-brand-gold);outline-offset:3px}@media(max-width:980px){.ap-footer-inner{grid-template-columns:1fr 1fr}.ap-footer-inner>div:first-child{grid-column:1/-1}}@media(max-width:600px){.ap-footer-inner{grid-template-columns:1fr}.ap-footer-inner>div:first-child{grid-column:auto}.ap-social-links{max-width:460px}}

.ap-back-to-top{position:fixed;right:22px;bottom:22px;z-index:999;display:grid;place-items:center;width:48px;height:48px;border:1px solid #d9b65e;border-radius:50%;background:#123c29;color:#fff;font-size:25px;line-height:1;box-shadow:0 6px 18px rgba(0,0,0,.22);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,visibility .2s,transform .2s}.ap-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.ap-back-to-top:focus-visible{outline:3px solid #d9b65e;outline-offset:3px}@media(prefers-reduced-motion:reduce){.ap-back-to-top{transition:none}}

/* Compact navigation and an accessible touch-friendly dropdown */
.ap-header-inner{gap:clamp(10px,1.3vw,18px)}
.ap-nav{flex:1 1 auto;min-width:0;justify-content:center;gap:clamp(8px,1vw,14px)}
.ap-nav ul{gap:clamp(8px,1vw,14px)}
.ap-nav a{font-size:clamp(12px,.92vw,14px);white-space:nowrap}
.ap-menu-toggle{display:none;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 14px;border:1px solid var(--ap-brand-gold);border-radius:10px;background:var(--ap-brand-green);color:#fffdf8;font:700 15px/1 Arial,Helvetica,sans-serif;cursor:pointer}
.ap-menu-toggle:hover{background:var(--ap-brand-dark)}
.ap-menu-toggle:focus-visible,.ap-nav a:focus-visible{outline:3px solid var(--ap-brand-gold);outline-offset:3px}
.ap-menu-toggle-icon{display:grid;gap:4px;width:20px}
.ap-menu-toggle-icon i{display:block;width:20px;height:2px;border-radius:2px;background:currentColor}
@media(max-width:1200px){
 .ap-header-inner{position:relative;flex-wrap:wrap;gap:10px 14px}
 .ap-brand{order:0}
 .ap-header-phone{order:1;margin-left:auto}
 .ap-menu-toggle{display:inline-flex;order:2}
 .ap-nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:50;order:3;width:100%;max-height:calc(100vh - 78px);overflow:auto;padding:12px 16px;background:#fffdf8;border-top:1px solid rgba(18,60,41,.12);border-bottom:3px solid var(--ap-brand-gold);box-shadow:0 16px 28px rgba(9,41,29,.2)}
 .ap-nav.is-open{display:block}
 .ap-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;white-space:normal}
 .ap-nav li{min-width:0}
 .ap-nav a{display:flex;align-items:center;min-height:46px;padding:10px 13px;border:1px solid rgba(18,60,41,.1);border-radius:9px;background:#f6f1e5;font-size:15px;line-height:1.3;white-space:normal}
}
@media(max-width:600px){
 .ap-header-inner{min-height:68px;padding:7px 12px;gap:8px}
 .ap-brand{padding:3px 7px}
 .ap-brand img{height:46px}
 .ap-header-phone strong{font-size:14px}
 .ap-header-phone small{font-size:9px}
 .ap-menu-toggle{min-height:44px;padding:8px 11px;font-size:14px}
 .ap-nav{padding:11px 12px;max-height:calc(100vh - 68px)}
 .ap-nav ul{grid-template-columns:1fr;gap:6px}
 .ap-nav a{min-height:46px;font-size:16px}
}

/* Approved Properties signature green-and-gold header and homepage */
.ap-header{background:var(--ap-brand-green);border-bottom:1px solid rgba(217,182,94,.65)}
.ap-brand{background:#fffdf8}
.ap-nav a{color:#fffdf8}
.ap-nav a:hover,.ap-nav .current-menu-item>a{color:var(--ap-brand-gold)}
.ap-header-phone strong{color:#fffdf8}
.ap-home{background:var(--ap-brand-dark);color:#fffdf8}
.ap-home-hero{background:radial-gradient(ellipse at 78% 18%,rgba(29,86,56,.86),transparent 48%),linear-gradient(120deg,#09291d 0%,#123c29 58%,#0d3525 100%)}
.ap-home-hero-copy h1{color:#fffdf8}
.ap-home-hero-copy h1 em{color:var(--ap-brand-gold)}
.ap-home-hero-copy>p{color:#e3ece4}
.ap-home-proof{color:#e3ece4}
.ap-home>.ap-section{background:#09291d;color:#f6f1e5}
.ap-home>.ap-section-soft{background:#103b2a}
.ap-home .ap-section-head h2{color:#fffdf8}
.ap-home .ap-section-head p{color:#d3dfd5}
.ap-home .ap-diani-offer{color:#18251d}
.ap-home .ap-property-card{color:#18251d}
.ap-home .ap-service-grid article{background:#f6f1e5}
@media(max-width:1200px){
 .ap-nav{background:#09291d;border-top:1px solid rgba(217,182,94,.45);border-bottom:3px solid var(--ap-brand-gold)}
 .ap-nav a{color:#fffdf8;background:#15452f;border-color:rgba(217,182,94,.35)}
 .ap-nav a:hover,.ap-nav .current-menu-item>a{color:#f1d994;background:#1d5638}
}
