/*
Theme Name: MEHRU Olive
Description: A responsive site for MEHRU extra virgin olive oil from Balochistan, Pakistan.
Version: 1.0.30
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mehru-olive
License: GNU General Public License v2 or later
*/
:root{--ink:#303e1a;--deep:#253116;--ivory:#f7f3e8;--paper:#fffdf7;--line:#d8d5bf;--muted:#535945;--serif:Georgia,'Times New Roman',serif}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--ivory);color:var(--ink);font:1rem/1.65 system-ui,sans-serif}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-underline-offset:.22em}
:focus-visible{outline:2px solid #87652b;outline-offset:5px}
.wrap{width:min(100% - 3rem,76rem);margin-inline:auto}
.skip{position:absolute;top:.6rem;left:.6rem;z-index:5;padding:.7rem;background:white;transform:translateY(-200%)}
.skip:focus{transform:none}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:2rem;min-height:106px;border-bottom:1px solid var(--line)}
.brand{display:inline-block;flex-shrink:0}
.brand img{width:clamp(128px,17vw,205px)}
.nav{display:flex;align-items:center;gap:clamp(.7rem,2vw,1.75rem);font-size:.92rem}
.nav a,.mobile-menu a{text-decoration:none}
.nav a:hover,.mobile-menu a:hover{text-decoration:underline}
.button{display:inline-block;padding:.65rem 1.13rem;border:1px solid currentColor;border-radius:.25rem;font-weight:600;text-decoration:none}
.button-solid{background:var(--deep);color:var(--paper);border-color:var(--deep)}
.button:hover{box-shadow:0 0 0 2px currentColor}
.mobile-menu{display:none}
h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.03;margin:0 0 .58em}
h1{font-size:clamp(3.2rem,6.1vw,6rem);letter-spacing:-.055em}
h2{font-size:clamp(2.3rem,4.2vw,4rem);letter-spacing:-.04em}
h3{font-size:1.55rem}
p{margin:0 0 1.15rem}
.hero{display:grid;grid-template-columns:1fr .9fr;gap:clamp(2rem,7vw,7rem);align-items:center;padding-block:clamp(2rem,5vw,4.5rem)}
.hero-picture{width:100%;aspect-ratio:4/4.7;object-fit:cover;border-radius:.35rem}
.origin,.eyebrow{letter-spacing:.16em;text-transform:uppercase;font-size:.76rem;font-weight:650}
.hero-copy>p:not(.origin){font-size:1.13rem;max-width:37ch;color:var(--muted)}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem}
.band{padding-block:clamp(3rem,7vw,6.2rem)}
.section-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,8vw,8rem);align-items:start}
.band-light{background:var(--paper)}
.band-dark{background:var(--deep);color:var(--ivory)}
.section-rule{border-top:1px solid var(--line)}
.trade-address{overflow-wrap:anywhere}
.footer-row{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-block:1.6rem;font-size:.9rem}
.entry{max-width:52rem;padding-block:3.5rem}
.entry img{height:auto}
.entry h1{font-size:clamp(2.6rem,6vw,4.8rem)}
.entry article+article{border-top:1px solid var(--line);padding-top:2rem;margin-top:2rem}
@media(max-width:760px){
 .header-row{min-height:78px}.nav{display:none}
 .mobile-menu{display:block;position:relative}
 .mobile-menu summary{cursor:pointer;padding:.5rem .7rem;border:1px solid;border-radius:.25rem}
 .mobile-menu nav{position:absolute;right:0;z-index:2;background:var(--paper);border:1px solid var(--line);width:13rem;padding:1rem;display:grid;gap:.7rem;box-shadow:0 8px 24px #25311622}
 .hero,.section-grid{grid-template-columns:1fr}.hero-picture{max-height:33rem}
}
@media(max-width:375px){.wrap{width:calc(100% - 2rem)}}

.hero{padding-block:clamp(1.4rem,3.2vw,2.8rem);gap:clamp(2rem,5vw,5rem)}
.hero h1{font-size:clamp(2.9rem,5.3vw,5.2rem);margin-bottom:.34em}
.hero-picture{height:clamp(24rem,42vw,33rem);aspect-ratio:auto;object-fit:contain;object-position:center}
.range-note{font-size:.9rem;color:var(--muted);margin:1rem 0}
.bottle-range{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem}
.bottle-card{margin:0;background:var(--ivory);border:1px solid var(--line);border-radius:.35rem;overflow:hidden}
.bottle-card img{width:100%}
.bottle-card figcaption{padding:.55rem;text-align:center;font-weight:650}
.site-footer{padding-right:4rem}
.floating-actions{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:9;display:grid;gap:.55rem}
.floating-button{display:grid;place-items:center;width:52px;height:58px;color:#fff;border-radius:50%;filter:drop-shadow(0 3px 5px #25311655)}
.back-top-olive{fill:var(--deep)}
.floating-button:hover .back-top-olive{fill:#394a24}
.floating-button:focus-visible{outline:2px solid var(--paper);outline-offset:2px;box-shadow:0 0 0 6px var(--deep)}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media(max-width:760px){
 .nav{display:none}
 .hero-picture{height:auto;aspect-ratio:4/5}
 .bottle-range{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
}

.mehru-sticky-header .site-header{position:sticky;top:0;z-index:20;background:var(--ivory)}
.mehru-sticky-header.admin-bar .site-header{top:var(--wp-admin--admin-bar--height,32px)}
.hero-picture{display:block;width:auto;max-width:100%;justify-self:center}
.mehru-sticky-header .band[id],.mehru-sticky-header #main{scroll-margin-top:112px}
.mehru-sticky-header.admin-bar .band[id],.mehru-sticky-header.admin-bar #main{scroll-margin-top:calc(112px + var(--wp-admin--admin-bar--height,32px))}
.skip{z-index:30}
@media(max-width:760px){
 .hero-picture{width:100%;max-height:33rem}
 .mehru-sticky-header .band[id],.mehru-sticky-header #main{scroll-margin-top:84px}
 .mehru-sticky-header.admin-bar .band[id],.mehru-sticky-header.admin-bar #main{scroll-margin-top:calc(84px + var(--wp-admin--admin-bar--height,46px))}
}
@media(max-width:600px){.mehru-sticky-header.admin-bar .site-header{top:0}}

.hero-copy>p:not(.origin){max-width:46ch}
@media (min-width:761px){
 .hero{padding-block:clamp(1.25rem,3vh,2rem)}
 .hero-picture{height:clamp(19rem,calc(100vh - 12rem),32rem)}
 .hero .origin{margin-bottom:.8rem}
}

.trade-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin:1.4rem 0}
.trade-form-wide{grid-column:1/-1}
.trade-form p{margin:0}
.trade-form label{font-size:.92rem}
.trade-form input:not([type="checkbox"]),.trade-form textarea,.trade-form select{display:block;width:100%;margin-top:.3rem;padding:.55rem .65rem;background:var(--paper);color:var(--deep);border:1px solid var(--line);border-radius:.25rem;font:inherit}
.trade-form textarea{resize:vertical}
.trade-form fieldset{min-width:0;margin:0;padding:.45rem .65rem .65rem;border:1px solid var(--line);border-radius:.25rem}
.trade-bottle-choices{display:flex;flex-wrap:wrap;gap:.3rem 1rem}
.trade-submit{background:var(--paper);color:var(--deep);font:inherit;font-weight:650;cursor:pointer}
.trade-notice{padding:.65rem .8rem;border:1px solid var(--line);border-radius:.25rem}
@media(max-width:600px){.trade-form{grid-template-columns:minmax(0,1fr)}}

.trade-layout{max-width:52rem}
.trade-layout>h2,.trade-intro{text-align:center}
.trade-intro{max-width:62ch;margin-inline:auto}
.trade-card{margin-top:1.7rem;padding:clamp(1rem,4vw,2.4rem);border:1px solid var(--line);border-radius:.55rem;background:var(--ivory);color:var(--deep);box-shadow:0 12px 30px #141b0940}
.trade-card> :first-child{margin-top:0}
.trade-card .trade-form{gap:1rem 1.25rem}
.trade-card .trade-form label,.trade-card legend{font-size:.95rem;font-weight:600}
.trade-card .trade-form input:not([type="checkbox"]),.trade-card .trade-form select{min-height:44px}
.trade-card .trade-submit{background:var(--deep);color:var(--paper);min-height:44px}
.trade-card .trade-address{margin-bottom:.7rem}

#our-olive-oil{padding-block:clamp(1.35rem,3vw,2.4rem)}
#our-olive-oil .section-grid{align-items:center}
#our-olive-oil .section-grid h2,#our-olive-oil .section-grid p:last-child{margin-bottom:0}
#our-olive-oil .range-note{margin:.8rem 0 .55rem}
@media(min-width:761px){
 #our-olive-oil .bottle-card img{max-height:clamp(14rem,calc(100vh - 19rem),25rem);object-fit:contain;background:#eac18b}
}
@media(max-width:760px){
 #our-olive-oil .section-grid{gap:.65rem}
}

#trade-enquiries{padding-block:clamp(2rem,4vw,3.5rem)}
.trade-layout>h2{margin-bottom:.3em}
.trade-card{margin-top:1rem}
.trade-private-label{margin-top:2rem}

.trade-notice-success{display:flex;align-items:center;gap:.85rem;padding:1rem 1.15rem;background:#e6f2e4;color:#173822;border:1px solid #6c946e;border-inline-start:5px solid #386b43}
.trade-notice-success strong{display:block;font-size:1.18rem}
.trade-notice-success p{margin:0}
.trade-success-icon{display:grid;place-items:center;flex:0 0 2rem;height:2rem;border-radius:50%;background:#255735;color:#fff;font-weight:700}

#our-story,#balochistan{padding-block:clamp(2rem,4.5vw,3.9rem)}
#our-story{background:var(--paper)}
#balochistan{background:#e9ecdf}
#our-story .section-grid,#balochistan .section-grid{
 max-width:58rem;
 grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);
 gap:clamp(1.4rem,5vw,4.2rem);
 align-items:center;
}
#our-story h2,#balochistan h2{margin:0}
#our-story .section-grid>div,#balochistan .section-grid>div{
 max-width:58ch;
 border-inline-start:2px solid #a5af8e;
 padding-inline-start:clamp(1rem,2.5vw,1.75rem);
 font-size:clamp(1rem,1.25vw,1.125rem);
}
#our-story .section-grid p:last-child,#balochistan .section-grid p:last-child{margin-bottom:0}
@media(max-width:760px){
 #our-story .section-grid,#balochistan .section-grid{grid-template-columns:minmax(0,1fr);gap:.85rem}
}

.insights-section{margin-top:2.5rem;padding:clamp(1rem,4vw,2rem);background:var(--paper);border:1px solid var(--line);border-radius:.55rem}
.insights-section h2{font-size:clamp(1.9rem,4vw,2.7rem)}
.insights-section article h3{line-height:1.2}
.insights-section article p:last-child{margin-bottom:0}
.insights-cta{margin-top:2rem}


.insights-back{display:inline-block;margin-bottom:1.25rem}
.insights-meta{color:var(--muted);font-size:.95rem;margin:0 0 1.6rem}

.single-post .entry article h1{
 font-size:clamp(2.35rem,4.7vw,3.75rem);
 line-height:1.08;
 margin-bottom:.4em;
 overflow-wrap:anywhere;
}
.single-post .entry article h2{
 font-size:clamp(1.65rem,3vw,2.25rem);
 line-height:1.18;
 margin:1.1em 0 .45em;
 overflow-wrap:anywhere;
}

.post-share{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin:0 0 1.65rem;font-size:.875rem}
.post-share-label{font-weight:650;margin-inline-end:.25rem}
.post-share .button{min-height:44px;padding:.4rem .7rem;font:inherit;font-weight:600;display:inline-flex;align-items:center}
.post-share-copy{color:inherit;background:var(--paper);cursor:pointer}
.post-share [hidden]{display:none}
.post-share-status:empty{display:none}
.post-share-url{flex-basis:100%;min-width:0;padding:.45rem;font:inherit}

.post-share .button{gap:.4rem}
.post-share-icon{display:inline-block;flex:0 0 1rem;height:1rem;background:currentColor;mask:var(--share-icon) center/contain no-repeat}
.post-share-icon-whatsapp{--share-icon:url("assets/share-whatsapp.svg")}
.post-share-icon-linkedin{--share-icon:url("assets/share-linkedin.svg")}
.post-share-icon-facebook{--share-icon:url("assets/share-facebook.svg")}
.post-share-icon-link{--share-icon:url("assets/share-link.svg")}
