/* Budist editorial redesign. Every rule is scoped to .bd (header, footer, homepage)
   so the rest of the Beaver Builder site keeps its existing styles. */

/* Base and theme resets */
.bd{--ink:#203428;--sub:#68776b;--paper:#f8f7f3;--rule:#dfe3da;--accent:#b5694c;--green:#233c2b;color:var(--ink);font:15px/1.65 Arial,Helvetica,sans-serif;text-align:left}
.bd *,.bd *::before,.bd *::after{box-sizing:border-box}
.bd a,.bd a:visited{color:inherit;text-decoration:none}
.bd a:hover,.bd a:focus{color:inherit;text-decoration:none;opacity:.82}
.bd a:focus-visible,.bd button:focus-visible{outline:3px solid #b5694c;outline-offset:4px}
.bd img{width:100%;height:100%;max-width:none;object-fit:cover;display:block}
.bd h1,.bd h2,.bd h3,.bd h4{color:inherit;text-transform:none;padding:0}
.bd h1,.bd h2,.bd h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em;line-height:1.04;margin:0}
.bd h1{font-size:clamp(48px,6.6vw,94px)}
.bd h2{font-size:clamp(35px,4vw,57px)}
.bd h3{font-size:clamp(23px,2vw,31px)}
.bd p{margin:0;color:var(--sub);font-size:inherit;line-height:1.65}
.bd .wrap{width:min(1380px,calc(100% - 84px));margin:auto}
.bd .tiny{font:700 10px/1.4 Arial,Helvetica,sans-serif;letter-spacing:2px;text-transform:uppercase;color:var(--accent)}
.bd .by{font-size:11px;margin-top:15px;color:var(--sub)}
.bd .button{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:#fff;padding:12px 21px;border:1px solid var(--green);font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase}
.bd .button:hover{color:#fff}

/* Header */
.bd-nav{background:rgba(248,247,243,.97);border-bottom:1px solid var(--rule);position:sticky;top:0;z-index:300;backdrop-filter:blur(10px)}
.admin-bar .bd-nav{top:32px}
.bd-nav .wrap{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.bd-nav .bd-logo-link{flex-shrink:0}
.bd-nav .logo{width:156px;height:auto;object-fit:contain}
.bd-nav .links{display:flex;gap:25px;align-items:center}
.bd-nav .links a{font-size:12px;font-weight:700}
.bd-nav .links a.active{color:var(--accent)}
.bd-nav .links .app-mobile{display:none}
.bd .subscribe-cta{display:inline-flex;align-items:center;min-height:44px;background:#b5694c;color:#fff;border:1px solid #b5694c;padding:11px 17px;font-size:11px;letter-spacing:.7px;font-weight:800;text-transform:uppercase;white-space:nowrap}
.bd .subscribe-cta:hover{background:#96553b;color:#fff;opacity:1}
.bd .app-nav-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:#1e3527;color:#fff;border:1px solid #203b29;padding:11px 16px;font-size:11px;letter-spacing:.5px;font-weight:700;text-transform:uppercase;white-space:nowrap;transition:background .2s}
.bd .app-nav-cta:hover{background:#365b3e;color:#fff;opacity:1}
.bd-nav .menu{display:none;min-height:44px;margin:0;border:1px solid var(--rule);border-radius:0;padding:8px 12px;background:none;box-shadow:none;color:var(--ink);font:13px/1 Arial,Helvetica,sans-serif;text-transform:none;letter-spacing:0;cursor:pointer}
.bd-nav .menu:hover{background:none;color:var(--ink)}

/* Footer */
.bd-footer{background:#1b3022;color:#eef1e9;margin-top:65px;padding:50px 0 30px}
.bd-footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:60px}
.bd-footer .blurb{color:#bdcbbd;font-size:12px;max-width:440px;margin:15px 0 10px}
.bd-footer a{display:block;margin:8px 0;font-size:12px}
.bd-footer h4{font:700 10px/1.4 Arial,Helvetica,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#d3b592;margin:0 0 12px}
.bd-footer .subscribe-foot,.bd-footer .download-link{color:#e7c38e;font-weight:700}
.bd-footer .legal{border-top:1px solid #526353;padding-top:20px;margin-top:30px;font-size:10px;color:#becbbd}

/* Homepage */
body.bd-home-page,.bd-home-page .fl-page,.bd-home-page .fl-page-content{background:#f8f7f3}
.bd-home .intro{padding:56px 0 32px;display:flex;justify-content:space-between;align-items:end;gap:30px}
.bd-home .intro p{max-width:470px;font-size:15px}
.bd-home .intro h1{margin:11px 0 0}
.bd-home .hero{display:grid;grid-template-columns:1.62fr 1fr;gap:32px;margin-bottom:54px}
.bd-home .hero-photo{height:480px;overflow:hidden}
.bd-home .hero-tag{margin-top:18px}
.bd-home .hero h2{font-size:clamp(37px,4vw,60px);margin:14px 0}
.bd-home .hero .summary{max-width:670px}
.bd-home .side{border-left:1px solid var(--rule);padding-left:30px;display:flex;flex-direction:column;gap:25px}
.bd-home .side article+article{border-top:1px solid var(--rule);padding-top:24px}
.bd-home .side .pic{height:175px;margin-bottom:14px}
.bd-home .side h3{margin:8px 0}
.bd-home .side .by{margin-top:8px}
.bd-home .section{padding:55px 0;border-top:1px solid var(--rule)}
.bd-home .section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:27px}
.bd-home .section-head h2{margin-top:8px}
.bd-home .textlink{font-size:11px;font-weight:700;border-bottom:1px solid var(--ink);padding-bottom:4px;white-space:nowrap}
.bd-home .grid{display:grid;gap:27px}
.bd-home .four{grid-template-columns:repeat(4,minmax(0,1fr))}
.bd-home .three{grid-template-columns:repeat(3,minmax(0,1fr))}
.bd-home .card .pic{aspect-ratio:1.35;overflow:hidden;background:#e0e7d9}
.bd-home .card h3{margin:9px 0}
.bd-home .card p{font-size:12px}
.bd-home .card .tiny{margin-top:15px}
.bd-home .card .by{margin-top:13px}
.bd-home .card .disclosure{margin-top:10px}
.bd-home .score{display:inline-flex;align-items:center;gap:8px;margin-top:13px;background:var(--green);color:#fff;padding:6px 11px;font-size:9px;font-weight:700;letter-spacing:1px}
.bd-home .score strong{font:27px Georgia,serif}
.bd-home .producer{font-size:12px;font-weight:700;margin-bottom:8px;color:#69786b}
.bd-home .feature{display:grid;grid-template-columns:1.1fr 1fr;background:#203728;color:#fff;min-height:430px}
.bd-home .feature .pic{min-height:420px}
.bd-home .feature .copy{padding:58px;display:flex;flex-direction:column;justify-content:center}
.bd-home .feature h2{margin:17px 0}
.bd-home .feature p,.bd-home .feature .by{color:#d5ded2}
.bd-home .feature .tiny{color:#ddbb88}
.bd-home .feature .button{background:#f5f4ed;color:var(--green);border-color:#f5f4ed;margin-top:25px;width:max-content}
.bd-home .adgrid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:10px 0 58px}
.bd-home .ad{position:relative;overflow:hidden;min-height:215px;background:#19291e;color:#fff}
.bd-home .ad:hover{color:#fff}
.bd-home .ad .pic{position:absolute;inset:0}
.bd-home .ad img{opacity:.43;filter:saturate(.75)}
.bd-home .ad.hall{background:#dadfcf;color:#1c3827}
.bd-home .ad.hall:hover{color:#1c3827}
.bd-home .ad.hall img{opacity:.32}
.bd-home .ad .overlay{position:relative;z-index:2;padding:25px 28px}
.bd-home .ad .label{font-size:9px;letter-spacing:2px;text-transform:uppercase;opacity:.85}
.bd-home .ad h3{font-size:42px;margin:16px 0 8px}
.bd-home .ad .action{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;font-weight:700;margin-top:12px}
.bd-home .spot{display:grid;grid-template-columns:250px 1fr 300px;gap:34px;align-items:center}
.bd-home .spot .portrait{aspect-ratio:1;overflow:hidden}
.bd-home .spot h2{margin:10px 0}
.bd-home .spot .button{margin-top:20px}
.bd-home .spot .works{border-left:1px solid var(--rule);padding-left:30px}
.bd-home .spot .works a{display:block;padding:13px 0;border-bottom:1px solid var(--rule);font-family:Georgia,serif;font-size:21px}
.bd-home .eventgrid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.bd-home .event{display:block;border-top:1px solid var(--rule);padding-top:22px}
.bd-home .event h3{margin:8px 0}
.bd-home .app-promo{margin:0 0 48px;padding:48px 52px;background:#e3eadf;display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:35px;border-top:3px solid #8a9f84}
.bd-home .app-promo h2{margin:9px 0 13px;font-size:clamp(32px,3.5vw,50px)}
.bd-home .app-promo p{max-width:650px;font-size:15px}
.bd-home .app-actions{display:flex;flex-wrap:wrap;gap:11px;align-items:center;justify-content:flex-end}
.bd-home .store{background:#203b29;color:#fff;border:1px solid #203b29;padding:12px 16px;font-size:12px;font-weight:700;white-space:nowrap;min-width:148px;text-align:center}
.bd-home .store:hover{color:#fff;opacity:.85}
.bd-home .store.alt,.bd-home .store.alt:hover{background:transparent;color:#203b29}
.bd-home .app-footnote{font-size:11px;color:#627664;margin-top:9px;text-align:right;width:100%}
.bd-home .newsletter-subscribe{background:#f1e9de;padding:38px 45px;margin:0 0 35px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:3px solid #b5694c}
.bd-home .newsletter-subscribe h2{margin:8px 0}
.bd-home .newsletter-subscribe p{max-width:650px}
.bd-home .newsletter-subscribe .subscribe-cta{font-size:12px;padding:14px 22px}

/* Tablet: collapse the navigation into the menu button */
@media(max-width:1100px){
	.bd-nav .wrap{min-height:72px;gap:12px}
	.bd-nav .logo{width:132px}
	.bd-nav .menu{display:block}
	.bd-nav .links{display:none;position:absolute;top:72px;left:0;right:0;background:var(--paper);padding:22px;flex-direction:column;align-items:start;border-bottom:1px solid var(--rule);max-height:calc(100dvh - 72px);overflow:auto}
	.bd-nav.is-open .links{display:flex}
	.bd-nav .links .app-mobile{display:block;color:#a85f43}
	.bd-nav .subscribe-cta{margin-left:auto;padding:10px 12px}
	.bd-home .spot{grid-template-columns:200px 1fr}
	.bd-home .spot .works{grid-column:1/-1;border:0;padding:0}
	.bd-home .four{grid-template-columns:repeat(2,1fr)}
	.bd-footer .cols{grid-template-columns:1fr 1fr;gap:30px 60px}
}
@media(max-width:782px){.admin-bar .bd-nav{top:46px}}
@media(max-width:600px){.admin-bar .bd-nav{top:0}}

/* Mobile */
@media(max-width:760px){
	.bd .wrap{width:calc(100% - 36px)}
	.bd .subscribe-cta,.bd .app-nav-cta{padding:9px 10px;font-size:10px}
	.bd-home .hero,.bd-home .adgrid,.bd-home .feature,.bd-home .spot,.bd-home .eventgrid,.bd-home .app-promo{grid-template-columns:1fr}
	.bd-home .three,.bd-home .four{grid-template-columns:1fr 1fr}
	.bd-home .intro{display:block;padding:35px 0 25px}
	.bd-home .intro p{margin-top:18px}
	.bd-home .hero-photo{height:310px}
	.bd-home .side{border:0;padding:0}
	.bd-home .feature .pic{min-height:260px}
	.bd-home .feature .copy{padding:30px}
	.bd-home .section{padding:40px 0}
	.bd-home .spot .works{grid-column:auto}
	.bd-home .app-promo{padding:29px 25px;gap:22px}
	.bd-home .app-actions{justify-content:flex-start}
	.bd-home .app-footnote{text-align:left}
	.bd-home .newsletter-subscribe{display:block;padding:26px 23px}
	.bd-home .newsletter-subscribe .subscribe-cta{margin-top:18px}
	.bd-footer .cols{grid-template-columns:1fr}
}
@media(max-width:480px){
	.bd-home .three,.bd-home .four{grid-template-columns:1fr}
	.bd-home .ad h3{font-size:35px}
	.bd-home .hero h2{font-size:38px}
	.bd-home .store{width:100%}
}
@media(max-width:430px){
	.bd-nav .wrap{gap:6px}
	.bd-nav .logo{width:96px}
	.bd .subscribe-cta,.bd .app-nav-cta{font-size:9px;padding:8px 7px}
	.bd-nav .menu{font-size:11px;padding:8px}
}
@media(prefers-reduced-motion:reduce){.bd *{transition:none!important}}
