/*
Theme Name: Area Marketer
Theme URI: https://www.areamarketer.com/
Description: Child theme Bricks per Progetto Famiglia Cagliari, realizzato da Area Marketer.
Author: Area Marketer
Author URI: https://www.areamarketer.com/
Template: bricks
Version: 1.0.0
Text Domain: area-marketer
*/

/* Progetto Famiglia Cagliari - Design System */
:root{
  --ink:#163432;--ink-soft:#476461;--green:#167d74;--green-dark:#0f645e;--sage:#dfeee9;
  --sage-2:#eef7f4;--sand:#f6f1e9;--paper:#fffdf9;--white:#fff;--line:#d9e5e1;
  --shadow:0 24px 60px rgba(22,52,50,.10);--shadow-soft:0 12px 32px rgba(22,52,50,.07);
  --radius:28px;--max:1180px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.72}
img{display:block;max-width:100%}a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
.container{width:min(calc(100% - 40px),var(--max));margin:auto}
.narrow{width:min(calc(100% - 40px),820px);margin:auto}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--green);font-size:.76rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.eyebrow:before{content:"";width:30px;height:2px;border-radius:99px;background:currentColor}
h1,h2,h3,h4{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.03em;line-height:1.07;margin:0 0 .58em}
h1{font-size:clamp(3.2rem,7vw,6.4rem)}
h2{font-size:clamp(2.35rem,4.6vw,4.4rem)}
h3{font-size:clamp(1.45rem,2.2vw,2rem)}
p{margin:.35em 0 1.35em}
.lead{font-size:clamp(1.08rem,1.8vw,1.34rem);color:var(--ink-soft);max-width:760px}
.muted{color:#6d8380}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 22px;border-radius:999px;font-weight:850;border:1px solid transparent;transition:.22s ease;cursor:pointer}
.btn.primary{background:var(--green);color:#fff;box-shadow:0 12px 26px rgba(22,125,116,.24)}
.btn.primary:hover{transform:translateY(-2px);background:var(--green-dark)}
.btn.outline{background:transparent;border-color:rgba(22,52,50,.22)}
.btn.outline:hover{border-color:var(--green);color:var(--green)}
.topbar{background:#123a37;color:#dff1ed;font-size:.86rem}
.topbar .container{display:flex;justify-content:space-between;gap:18px;padding:8px 0}
.site-header{position:sticky;top:0;z-index:80;background:rgba(255,253,249,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(22,52,50,.08)}
.header-inner{height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo img{width:185px;max-height:58px;object-fit:contain}
.nav{display:flex;align-items:center;gap:26px;font-size:.92rem;font-weight:800}
.nav a:not(.btn){position:relative}
.nav a:not(.btn):after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--green);transition:.22s}
.nav a.active:after,.nav a:hover:after{right:0}
.menu-toggle{display:none;border:0;background:transparent;color:var(--ink);font-size:1.6rem}
.hero-v2{position:relative;overflow:hidden;padding:82px 0 94px;background:linear-gradient(135deg,#f3faf7 0%,#fffdf9 58%,#f7f1e8 100%)}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:70px;align-items:center}
.hero-copy h1{max-width:760px}.hero-copy p{font-size:1.17rem;max-width:650px;color:var(--ink-soft)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.hero-media{position:relative;min-height:610px}
.hero-media .main{position:absolute;inset:0 0 0 10%;width:90%;height:100%;object-fit:cover;border-radius:42px 42px 140px 42px;box-shadow:var(--shadow)}
.hero-media .float{position:absolute;left:0;bottom:42px;width:46%;height:38%;object-fit:cover;border:10px solid var(--paper);border-radius:28px;box-shadow:var(--shadow)}
.hero-badge{position:absolute;right:18px;top:24px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border:1px solid rgba(22,52,50,.08);padding:18px 20px;border-radius:18px;box-shadow:var(--shadow-soft);max-width:220px}
.hero-badge strong{display:block;font-size:1rem}.hero-badge span{display:block;color:#6a807d;font-size:.88rem;margin-top:3px}
.trust-row{position:relative;margin-top:-38px;z-index:4}
.trust-card{background:#fff;border:1px solid rgba(22,52,50,.08);border-radius:22px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(3,1fr);padding:22px}
.trust-item{padding:10px 24px;border-right:1px solid var(--line)}
.trust-item:last-child{border:0}.trust-item b{display:block;margin-bottom:3px}.trust-item span{font-size:.9rem;color:#6e8581}
.section{padding:108px 0}.section.soft{background:#f7f3ec}.section.sage{background:var(--sage-2)}
.section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:42px}
.section-head h2{max-width:760px;margin-bottom:0}.section-head p{max-width:420px;color:var(--ink-soft);margin:0}
.split{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.visual-panel{position:relative;min-height:560px}
.visual-panel .big{position:absolute;inset:0 14% 0 0;width:86%;height:100%;object-fit:cover;border-radius:34px}
.visual-panel .small{position:absolute;right:0;bottom:24px;width:42%;height:42%;object-fit:cover;border:9px solid var(--paper);border-radius:26px;box-shadow:var(--shadow)}
.note-card{position:absolute;left:24px;bottom:26px;background:#fff;border-radius:18px;padding:18px 20px;box-shadow:var(--shadow-soft);max-width:250px}
.note-card b{display:block}.note-card span{font-size:.89rem;color:#6b807d}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.service-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;transition:.22s;position:relative}
.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.service-card img{height:210px;width:100%;object-fit:cover}
.service-card .body{padding:24px}.service-card .num{font-size:.76rem;font-weight:900;letter-spacing:.12em;color:var(--green);text-transform:uppercase}
.service-card p{color:#627875;font-size:.94rem}.text-link{color:var(--green);font-weight:850}
.promise{background:#153d3a;color:#fff;padding:84px 0;position:relative;overflow:hidden}
.promise:after{content:"";position:absolute;width:440px;height:440px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-120px;top:-180px}
.promise blockquote{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.8rem);line-height:1.19;margin:10px 0 18px;max-width:980px}.promise p{color:#bdd8d2;max-width:760px}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.blog-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;transition:.22s}
.blog-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft)}
.blog-card img{width:100%;height:250px;object-fit:cover}.blog-card .body{padding:24px}.blog-card h3{font-size:1.65rem}
.meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#6b817e;font-size:.82rem;margin-bottom:12px}
.pill{display:inline-flex;padding:5px 10px;border-radius:999px;background:var(--sage-2);color:var(--green-dark);font-size:.75rem;font-weight:850}
.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.testimonial{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;position:relative}.testimonial:before{content:"“";font:700 4rem/1 Georgia;color:#b8d7d0;position:absolute;right:24px;top:16px}.testimonial p{color:#516d69}.testimonial strong{display:block;margin-top:18px}
.cta-panel{display:grid;grid-template-columns:1fr auto;align-items:center;gap:40px;background:linear-gradient(135deg,#167d74,#0f645e);color:#fff;padding:54px;border-radius:30px}
.cta-panel h2{font-size:clamp(2rem,3.4vw,3.5rem);margin:0}.cta-panel p{color:#d8efea;margin:8px 0 0}.cta-panel .btn{background:#fff;color:var(--ink)}
.page-hero{padding:108px 0 74px;background:linear-gradient(180deg,#edf7f3 0%,#fffdf9 100%)}
.page-hero h1{font-size:clamp(3.2rem,6vw,5.6rem);max-width:920px}.page-hero .lead{max-width:760px}
.breadcrumb{display:flex;gap:8px;flex-wrap:wrap;color:#718682;font-size:.86rem;margin-bottom:22px}.breadcrumb a{color:var(--green)}
.prose{font-size:1.07rem;color:#314c49}.prose p{margin:0 0 1.45em}.prose ul,.prose ol{padding-left:1.2em}.prose li{margin:.55em 0}.prose strong{color:#183e3a}.prose a{color:var(--green-dark);text-decoration:underline;text-underline-offset:3px}
.feature-list{display:grid;gap:22px}
.feature-block{display:grid;grid-template-columns:.82fr 1.18fr;gap:48px;align-items:center;padding:42px 0;border-bottom:1px solid var(--line)}
.feature-block:last-child{border-bottom:0}.feature-block img{width:100%;height:360px;object-fit:cover;border-radius:28px}.feature-block .eyebrow{margin-bottom:12px}
.contact-grid{display:grid;grid-template-columns:.84fr 1.16fr;gap:40px}
.contact-card,.form-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:34px;box-shadow:var(--shadow-soft)}
.contact-list{display:grid;gap:18px;margin-top:24px}.contact-list div{padding-bottom:17px;border-bottom:1px solid var(--line)}.contact-list small{display:block;color:#718783}.contact-list strong{font-size:1.03rem}
.form-card label{display:block;font-weight:800;font-size:.88rem;margin:0 0 7px}.form-card input,.form-card textarea{width:100%;padding:14px 15px;border:1px solid #cbddd8;border-radius:14px;background:#fbfdfc;margin:0 0 16px}.form-card textarea{min-height:160px;resize:vertical}
.article-hero{padding:92px 0 50px;background:linear-gradient(180deg,#eef7f4,#fffdf9)}.article-hero h1{font-size:clamp(2.8rem,5.8vw,5.3rem);max-width:1050px}.article-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:#687f7b;font-size:.9rem;margin-top:22px}
.article-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:54px;align-items:start}
.article-cover{width:100%;max-height:560px;object-fit:cover;border-radius:32px;margin-bottom:42px;box-shadow:var(--shadow-soft)}
.article-content{font-size:1.08rem;color:#2f4a47}.article-content p{margin:0 0 1.45em}.article-content ul,.article-content ol{padding-left:1.3em;margin:0 0 1.5em}.article-content li{margin:.55em 0}.article-content strong{color:#123f3a}.article-content a{color:var(--green-dark);text-decoration:underline;text-underline-offset:3px}
.article-aside{position:sticky;top:118px}.aside-box{background:#f0f7f4;border:1px solid var(--line);padding:24px;border-radius:22px}.aside-box h3{font-size:1.5rem}.aside-box p{font-size:.94rem;color:#5f7773}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.related-card{border:1px solid var(--line);background:#fff;border-radius:20px;overflow:hidden}.related-card img{height:180px;width:100%;object-fit:cover}.related-card .body{padding:18px}.related-card h3{font-size:1.35rem}
.footer{background:#103633;color:#d9ebe7;padding:72px 0 26px;margin-top:108px}.footer-grid{display:grid;grid-template-columns:1.4fr .8fr 1fr;gap:50px}.footer img{width:190px}.footer h3{font-size:1.3rem;color:#fff}.footer p,.footer li{color:#a9c3be}.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.footer a{color:#e8f3f0}.footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:20px;color:#91ada7;font-size:.84rem}
@media(max-width:980px){
  .nav{display:none;position:absolute;top:88px;left:20px;right:20px;background:#fff;padding:22px;border-radius:20px;box-shadow:var(--shadow);flex-direction:column;align-items:flex-start}.nav.open{display:flex}.menu-toggle{display:block}
  .hero-grid,.split,.contact-grid,.article-wrap{grid-template-columns:1fr}.hero-media{min-height:520px}.service-grid{grid-template-columns:repeat(2,1fr)}.blog-grid,.testimonials,.related-grid{grid-template-columns:repeat(2,1fr)}.article-aside{position:static}.feature-block{grid-template-columns:1fr}.cta-panel{grid-template-columns:1fr}.footer-grid{grid-template-columns:1.2fr 1fr}
}
@media(max-width:640px){
  .topbar{display:none}.header-inner{height:76px}.nav{top:76px}.container,.narrow{width:min(calc(100% - 28px),var(--max))}
  .hero-v2{padding:64px 0 76px}.hero-grid{gap:42px}.hero-media{min-height:420px}.hero-media .main{inset:0;width:100%;border-radius:30px 30px 86px 30px}.hero-media .float{width:48%;height:34%;left:-2px;bottom:24px}.hero-badge{right:10px;top:16px;max-width:190px}
  .trust-card{grid-template-columns:1fr;padding:14px}.trust-item{border-right:0;border-bottom:1px solid var(--line);padding:14px}.trust-item:last-child{border-bottom:0}
  .section{padding:76px 0}.section-head{display:block}.section-head p{margin-top:18px}.service-grid,.blog-grid,.testimonials,.related-grid,.footer-grid{grid-template-columns:1fr}
  .visual-panel{min-height:430px}.cta-panel{padding:34px 26px}.page-hero{padding:78px 0 54px}.article-hero{padding:72px 0 36px}.article-cover{border-radius:22px}.feature-block img{height:280px}.footer{margin-top:76px}
}
/* Final typography calibration */
.hero-grid > *, .split > *, .section-head > *, .feature-block > *, .cta-panel > *{min-width:0}
.hero-copy h1{
  font-size:clamp(3rem,4.3vw,4.65rem);
  line-height:1.02;
  max-width:620px;
  text-wrap:balance;
  overflow-wrap:break-word
}
.hero-copy p{
  font-size:1.06rem;
  line-height:1.68;
  max-width:570px
}
.split h2{
  font-size:clamp(2.25rem,3.55vw,3.7rem);
  line-height:1.06;
  max-width:570px;
  text-wrap:balance;
  overflow-wrap:break-word
}
.split .lead,.split p{max-width:590px}
.section-head h2{
  font-size:clamp(2.25rem,3.7vw,3.85rem);
  line-height:1.06;
  text-wrap:balance;
  overflow-wrap:break-word
}
.promise blockquote{
  font-size:clamp(2rem,3.2vw,3.15rem);
  max-width:900px;
  text-wrap:balance
}
@media(max-width:980px){
  .hero-copy h1{font-size:clamp(3rem,7.4vw,4.5rem);max-width:760px}
  .hero-copy p{max-width:700px}
  .split h2,.section-head h2{font-size:clamp(2.35rem,6vw,3.7rem);max-width:760px}
}
@media(max-width:640px){
  .hero-copy h1{font-size:clamp(2.65rem,12vw,3.65rem);line-height:1.02}
  .hero-copy p{font-size:1rem;line-height:1.62}
  .split h2,.section-head h2{font-size:clamp(2.15rem,10vw,3rem);line-height:1.06}
}

/* Fix definitivo: titoli card servizi */
.service-card .body{
  padding:22px 20px 24px;
  min-width:0;
}
.service-card h3{
  font-size:clamp(1.18rem,1.45vw,1.42rem);
  line-height:1.08;
  letter-spacing:-.025em;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
  text-wrap:pretty;
}
.service-card p{
  overflow-wrap:break-word;
}
@media(min-width:981px){
  .service-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:980px){
  .service-card h3{
    font-size:1.38rem;
  }
}

/* Bricks native header/mobile integration */
.site-header .brxe-nav-menu.nav{min-width:0}
.site-header .bricks-mobile-menu-toggle{
  color:var(--ink);
  border:0;
  background:transparent;
}
.site-header .bricks-mobile-menu-toggle span{
  background:var(--green-dark);
}
@media(max-width:980px){
  .site-header .brxe-nav-menu.nav{
    display:block;
    position:static;
    inset:auto;
    background:transparent;
    padding:0;
    border-radius:0;
    box-shadow:none;
    flex-direction:initial;
    align-items:initial;
    margin-left:auto;
  }
  .site-header .brxe-button.btn.primary{display:none}
  .site-header .bricks-mobile-menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    border:1px solid rgba(22,52,50,.12);
    border-radius:14px;
  }
  .site-header .bricks-mobile-menu-wrapper{
    background:var(--paper);
    color:var(--ink);
    padding:28px;
  }
  .site-header .bricks-mobile-menu a{
    font-weight:800;
    font-size:1.05rem;
    padding:12px 0;
  }
}
@media(max-width:640px){
  .logo img{width:156px}
  .site-header .bricks-mobile-menu-toggle{width:42px;height:42px}
}

/* Bricks native form polish */
.form-card .brxe-form{display:block}
.form-card .form-group{width:100%;margin:0 0 16px}
.form-card .form-group input:not([type="checkbox"]),
.form-card .form-group textarea,
.form-card .form-group select{
  width:100%;
  border:1px solid #cfe0dc;
  border-radius:14px;
  padding:14px 15px;
  background:#fbfdfc;
  color:var(--ink);
  outline:none;
  transition:border-color .2s ease,box-shadow .2s ease
}
.form-card .form-group input:not([type="checkbox"]):focus,
.form-card .form-group textarea:focus,
.form-card .form-group select:focus{
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(22,125,116,.08)
}
.form-card .form-group textarea{min-height:150px;resize:vertical}
.form-card .options-wrapper{list-style:none;padding:0;margin:2px 0 0}
.form-card .options-wrapper li{display:flex;align-items:flex-start;gap:10px}
.form-card .options-wrapper input[type="checkbox"]{
  width:18px;height:18px;min-width:18px;margin:3px 0 0;accent-color:var(--green)
}
.form-card .options-wrapper label{font-size:.88rem;line-height:1.5;color:#536d69}
.form-card .options-wrapper a{color:var(--green-dark);text-decoration:underline;text-underline-offset:2px}
.form-card .submit-button-wrapper{margin-top:8px}
.form-card button[type="submit"]{
  border:0;
  border-radius:999px;
  background:var(--green);
  color:#fff;
  padding:14px 23px;
  font-weight:850;
  box-shadow:0 12px 26px rgba(22,125,116,.22);
  transition:.2s ease
}
.form-card button[type="submit"]:hover{background:var(--green-dark);transform:translateY(-1px)}

/* Blog archive pagination */
.blog-pagination{display:flex;justify-content:center;margin-top:38px}
.blog-pagination .page-numbers{display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;padding:0;margin:0}
.blog-pagination .page-numbers a,
.blog-pagination .page-numbers .current{
  min-width:42px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;font-weight:800;background:#fff;color:var(--ink)
}
.blog-pagination .page-numbers .current{background:var(--green);border-color:var(--green);color:#fff}
.blog-pagination .page-numbers a:hover{border-color:var(--green);color:var(--green)}

/* Readability calibration - 2026-10-03 */
body{
  font-size:17px;
  line-height:1.68;
}
.btn,
button,
input,
textarea,
select{
  font-size:1rem;
}
.topbar{font-size:.9rem}
.nav{font-size:1rem}
.eyebrow{font-size:.84rem;letter-spacing:.12em}
.hero-copy p{font-size:1.1rem;line-height:1.68}
.hero-badge strong{font-size:1.03rem}
.hero-badge span{font-size:.96rem;line-height:1.45}
.trust-item b{font-size:1.03rem}
.trust-item span{font-size:.96rem;line-height:1.5}
.note-card b{font-size:1.02rem}
.note-card span{font-size:.96rem;line-height:1.5}
.service-card .num{font-size:.82rem}
.service-card p{font-size:1rem;line-height:1.62}
.service-card h3{font-size:clamp(1.28rem,1.5vw,1.5rem)}
.text-link{font-size:.98rem}
.meta{font-size:.9rem}
.pill{font-size:.82rem}
.blog-card .body p{font-size:1rem;line-height:1.62}
.testimonial p{font-size:1.02rem;line-height:1.68}
.testimonial strong{font-size:1rem}
.breadcrumb{font-size:.94rem}
.prose{font-size:1.1rem;line-height:1.72}
.contact-list small{font-size:.92rem}
.contact-list strong{font-size:1.06rem;line-height:1.5}
.form-card label{font-size:.96rem}
.form-card .options-wrapper label{font-size:.94rem;line-height:1.55}
.article-meta{font-size:.96rem}
.article-content{font-size:1.1rem;line-height:1.72}
.aside-box p{font-size:1rem;line-height:1.6}
.related-card .body{font-size:1rem}
.footer p,
.footer li{font-size:1rem;line-height:1.65}
.footer-bottom{font-size:.9rem}
.footer h3{font-size:1.38rem}
@media(max-width:640px){
  body{font-size:16.5px}
  .eyebrow{font-size:.8rem}
  .hero-copy p{font-size:1.04rem}
  .prose,.article-content{font-size:1.04rem}
  .service-card p,.blog-card .body p,.testimonial p{font-size:1rem}
  .footer p,.footer li{font-size:.98rem}
}

/* Readability pass 2: minimum comfortable sizes */
.topbar{font-size:.94rem}
.nav{font-size:1.02rem}
.eyebrow{font-size:.86rem}
.hero-copy p{font-size:1.16rem}
.hero-badge span,
.trust-item span,
.note-card span{font-size:1rem}
.service-card .num{font-size:.86rem}
.service-card p,
.blog-card .body p{font-size:1.03rem}
.meta{font-size:.94rem}
.pill{font-size:.86rem}
.testimonial p{font-size:1.06rem}
.breadcrumb{font-size:.98rem}
.prose,
.article-content{font-size:1.13rem}
.contact-list small{font-size:.96rem}
.form-card label,
.form-card .options-wrapper label{font-size:1rem}
.article-meta{font-size:1rem}
.aside-box p{font-size:1.02rem}
.footer p,
.footer li{font-size:1.02rem}
.footer-bottom{font-size:.94rem}
@media(max-width:640px){
  .hero-copy p{font-size:1.08rem}
  .trust-item span{font-size:1rem}
  .prose,.article-content{font-size:1.08rem}
  .service-card p,.blog-card .body p,.testimonial p{font-size:1.03rem}
}

/* Readability pass 3 - stronger desktop scale */
body{
  font-size:18px;
  line-height:1.7;
}
p, li{line-height:1.7}
.topbar{font-size:14px}
.nav{font-size:16px}
.btn,
.bricks-button,
button,
input,
textarea,
select{font-size:16px}
.eyebrow{font-size:13px;letter-spacing:.11em}
.hero-copy p{font-size:19px;line-height:1.7;max-width:650px}
.hero-badge strong{font-size:16px;line-height:1.35}
.hero-badge span{font-size:15px;line-height:1.5}
.trust-item b{font-size:17px;line-height:1.35}
.trust-item span{font-size:16px;line-height:1.55}
.note-card b{font-size:16px}
.note-card span{font-size:15px;line-height:1.5}
.split .lead{font-size:19px;line-height:1.7}
.split p{font-size:18px;line-height:1.72}
.section-head p{font-size:18px;line-height:1.65}
.service-card .num{font-size:13px}
.service-card h3{font-size:22px;line-height:1.12}
.service-card p{font-size:16.5px;line-height:1.65}
.text-link{font-size:16px}
.promise p{font-size:18px;line-height:1.7}
.blog-card .body{padding:26px}
.blog-card h3{font-size:24px;line-height:1.18}
.blog-card .body p{font-size:17px;line-height:1.68}
.meta{font-size:14px}
.pill{font-size:13px}
.testimonial p{font-size:17px;line-height:1.72}
.testimonial strong{font-size:16px}
.cta-panel p{font-size:18px;line-height:1.6}
.page-hero .lead{font-size:19px;line-height:1.7}
.breadcrumb{font-size:15px}
.prose{font-size:18px;line-height:1.75}
.prose p,.prose li{font-size:18px}
.contact-list small{font-size:15px}
.contact-list strong{font-size:17px;line-height:1.5}
.form-card p{font-size:17px}
.form-card label,
.form-card .options-wrapper label{font-size:16px}
.form-card input,
.form-card textarea,
.form-card select{font-size:17px}
.article-meta{font-size:15px}
.article-content{font-size:18px;line-height:1.76}
.article-content p,.article-content li{font-size:18px}
.aside-box p{font-size:16.5px;line-height:1.65}
.related-card .body{font-size:16px}
.footer p,
.footer li{font-size:16px;line-height:1.7}
.footer-bottom{font-size:14px}
.footer h3{font-size:22px}
@media(max-width:980px){
  .hero-copy p{font-size:18px}
  .split p,.section-head p,.prose,.prose p,.prose li,.article-content,.article-content p,.article-content li{font-size:17.5px}
  .service-card p,.blog-card .body p,.testimonial p{font-size:16.5px}
}
@media(max-width:640px){
  body{font-size:17px}
  .hero-copy p{font-size:17.5px}
  .eyebrow{font-size:12.5px}
  .trust-item span{font-size:15.5px}
  .split p,.section-head p,.prose,.prose p,.prose li,.article-content,.article-content p,.article-content li{font-size:17px}
  .service-card h3{font-size:21px}
  .service-card p,.blog-card .body p,.testimonial p{font-size:16.5px}
  .footer p,.footer li{font-size:16px}
}

/* Readability pass 4 - enforce comfortable minimum copy size */
.hero-copy p,
.split .lead,
.page-hero .lead{font-size:20px}
.split p,
.section-head p,
.promise p,
.cta-panel p,
.prose,
.prose p,
.prose li,
.article-content,
.article-content p,
.article-content li{font-size:18px}
.trust-item span{font-size:17px}
.hero-badge span,
.note-card span{font-size:16px}
.service-card p{font-size:17.5px}
.service-card .num{font-size:14px}
.text-link{font-size:16.5px}
.blog-card .body p{font-size:17.5px}
.meta{font-size:15px}
.pill{font-size:14px}
.testimonial p{font-size:17.5px}
.testimonial strong{font-size:16.5px}
.contact-list small{font-size:16px}
.contact-list strong{font-size:17.5px}
.form-card p,
.form-card label,
.form-card .options-wrapper label{font-size:16.5px}
.aside-box p{font-size:17px}
.footer p,
.footer li{font-size:16.5px}
.footer-bottom{font-size:14.5px}
@media(max-width:640px){
  .hero-copy p,
  .split .lead,
  .page-hero .lead{font-size:18px}
  .split p,
  .section-head p,
  .promise p,
  .cta-panel p,
  .prose,
  .prose p,
  .prose li,
  .article-content,
  .article-content p,
  .article-content li{font-size:17px}
  .service-card p,
  .blog-card .body p,
  .testimonial p{font-size:16.5px}
}

/* Fix specific typography inheritance conflicts */
.promise blockquote{
  margin:10px 0 20px;
}
.promise blockquote p{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(32px,3.2vw,50px);
  line-height:1.2;
  letter-spacing:-.02em;
  color:#fff;
  margin:0;
  max-width:980px;
}
@media(max-width:640px){
  .promise blockquote p{font-size:30px;line-height:1.22}
}

/* Home final CTA spacing */
.home main > .section:last-child{
  padding-top:82px;
  padding-bottom:72px;
}
.home main > .section:last-child .cta-panel{
  align-items:center;
}
.home .footer{
  margin-top:0;
}
@media(max-width:640px){
  .home main > .section:last-child{
    padding-top:64px;
    padding-bottom:56px;
  }
}

/* Credits / Area Marketer case study */
.page-id-87 .footer{margin-top:0}
.page-id-87 main{background:var(--paper)}
.page-id-87 .amc-hero{background:#123f3a;color:#fff;padding:0}
.page-id-87 .amc-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);
  gap:56px;
  align-items:center;
  min-height:560px;
  padding-top:72px;
  padding-bottom:72px
}
.page-id-87 .amc-hero-copy{min-width:0}
.page-id-87 .amc-hero .eyebrow{color:#9ed8cc}
.page-id-87 .amc-hero h1{
  color:#fff;
  font-size:clamp(3rem,4.7vw,5.1rem);
  line-height:1.02;
  letter-spacing:-.035em;
  max-width:12.5ch;
  margin:12px 0 24px
}
.page-id-87 .amc-lead{
  color:#d8ebe7;
  font-size:1.17rem;
  line-height:1.72;
  max-width:760px;
  margin:0
}
.page-id-87 .amc-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px
}
.page-id-87 .amc-btn-primary{
  background:#fff;
  color:#123f3a;
  border-color:#fff;
  box-shadow:none
}
.page-id-87 .amc-btn-primary:hover{
  background:#eef7f4;
  color:#0f645e
}
.page-id-87 .amc-btn-secondary{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.38);
  box-shadow:none
}
.page-id-87 .amc-btn-secondary:hover{
  background:rgba(255,255,255,.08);
  border-color:#fff
}
.page-id-87 .amc-signature{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:28px;
  padding:34px;
  box-shadow:0 18px 48px rgba(0,0,0,.12)
}
.page-id-87 .amc-signature .amc-mark{
  font-weight:900;
  letter-spacing:.08em;
  font-size:1.25rem;
  color:#fff;
  margin-bottom:18px
}
.page-id-87 .amc-signature .amc-mark sup{font-size:.55em;vertical-align:super}
.page-id-87 .amc-signature p{
  color:#d8ebe7;
  font-size:1.02rem;
  line-height:1.62;
  margin:0 0 18px
}
.page-id-87 .amc-signature strong{
  display:block;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.4rem;
  line-height:1.28
}
.page-id-87 .amc-story{background:#fffdf9}
.page-id-87 .amc-intro{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:58px;
  align-items:end;
  margin-bottom:40px
}
.page-id-87 .amc-intro h2,
.page-id-87 .amc-principle h2,
.page-id-87 .amc-project-card h2{
  font-size:clamp(2.45rem,3.7vw,4rem);
  line-height:1.04;
  margin:8px 0 0;
  text-wrap:balance
}
.page-id-87 .section-lead{
  font-size:1.12rem;
  line-height:1.72;
  color:var(--ink-soft);
  margin:0
}
.page-id-87 .amc-process-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px
}
.page-id-87 .amc-process-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:26px;
  min-height:255px;
  box-shadow:var(--shadow-soft)
}
.page-id-87 .amc-step{
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.12em;
  color:var(--green);
  text-transform:uppercase
}
.page-id-87 .amc-process-card h3{
  font-size:1.7rem;
  margin:38px 0 12px;
  line-height:1.08
}
.page-id-87 .amc-process-card p{
  font-size:1rem;
  line-height:1.65;
  color:var(--ink-soft);
  margin:0
}
.page-id-87 .amc-principle{
  background:#eaf4f1
}
.page-id-87 .amc-principle-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:70px;
  align-items:start
}
.page-id-87 .amc-principle-copy p{
  font-size:1.1rem;
  line-height:1.75;
  color:#355653
}
.page-id-87 .amc-principle-copy p:first-child{margin-top:4px}
.page-id-87 .amc-discovery{background:#fff}
.page-id-87 .amc-proof-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px
}
.page-id-87 .amc-proof-card{
  background:#f8fbfa;
  border:1px solid var(--line);
  border-radius:22px;
  padding:26px
}
.page-id-87 .amc-proof-card h3{
  font-size:1.42rem;
  line-height:1.12;
  margin:0 0 12px
}
.page-id-87 .amc-proof-card p{
  font-size:1rem;
  line-height:1.66;
  color:var(--ink-soft);
  margin:0
}
.page-id-87 .amc-result{
  background:#f7f2e9
}
.page-id-87 .amc-result .amc-intro{margin-bottom:0}
.page-id-87 .amc-project-note{
  background:#fffdf9;
  padding-top:72px;
  padding-bottom:72px
}
.page-id-87 .amc-project-card{
  background:linear-gradient(135deg,#167d74,#0f645e);
  color:#fff;
  border-radius:30px;
  padding:54px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:44px;
  align-items:center
}
.page-id-87 .amc-project-card .eyebrow{color:#c5eee6}
.page-id-87 .amc-project-card h2{color:#fff;max-width:780px}
.page-id-87 .amc-project-card p{
  color:#d8efea;
  font-size:1.08rem;
  line-height:1.7;
  max-width:760px
}
.page-id-87 .amc-project-cta{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:stretch;
  min-width:250px
}
.page-id-87 .amc-project-cta .btn{
  justify-content:center;
  text-align:center
}
@media(max-width:980px){
  .page-id-87 .amc-hero-grid,
  .page-id-87 .amc-intro,
  .page-id-87 .amc-principle-grid,
  .page-id-87 .amc-project-card{
    grid-template-columns:1fr
  }
  .page-id-87 .amc-hero-grid{gap:30px;min-height:0;padding-top:58px;padding-bottom:58px}
  .page-id-87 .amc-hero h1{max-width:15ch}
  .page-id-87 .amc-process-grid,
  .page-id-87 .amc-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-id-87 .amc-project-cta{min-width:0;flex-direction:row;flex-wrap:wrap}
}
@media(max-width:640px){
  .page-id-87 .amc-hero-grid{padding-top:42px;padding-bottom:42px}
  .page-id-87 .amc-hero h1{font-size:clamp(2.6rem,11vw,3.4rem);max-width:none}
  .page-id-87 .amc-lead{font-size:1.04rem}
  .page-id-87 .amc-signature{padding:24px}
  .page-id-87 .amc-intro{gap:20px;margin-bottom:28px}
  .page-id-87 .amc-intro h2,
  .page-id-87 .amc-principle h2,
  .page-id-87 .amc-project-card h2{font-size:clamp(2.15rem,9vw,2.8rem)}
  .page-id-87 .amc-process-grid,
  .page-id-87 .amc-proof-grid{grid-template-columns:1fr}
  .page-id-87 .amc-process-card{min-height:0}
  .page-id-87 .amc-project-card{padding:34px 26px}
  .page-id-87 .amc-project-cta{flex-direction:column}
  .page-id-87 .amc-actions .btn{width:100%}
}

/* Credits typography/readability alignment */
.page-id-87 .am-reg{
  font-size:.58em;
  line-height:0;
  vertical-align:super;
  position:relative;
  top:-.02em;
  margin-left:.04em
}
.page-id-87 .amc-hero .eyebrow,
.page-id-87 .amc-intro .eyebrow,
.page-id-87 .amc-principle .eyebrow,
.page-id-87 .amc-discovery .eyebrow,
.page-id-87 .amc-result .eyebrow,
.page-id-87 .amc-project-card .eyebrow{
  font-size:14px;
  line-height:1.35;
  letter-spacing:.12em
}
.page-id-87 .amc-lead{
  font-size:20px;
  line-height:1.7
}
.page-id-87 .amc-signature p{
  font-size:17px;
  line-height:1.65
}
.page-id-87 .amc-signature strong{
  font-size:24px;
  line-height:1.3
}
.page-id-87 .section-lead{
  font-size:19px;
  line-height:1.72
}
.page-id-87 .amc-process-card .amc-step{
  font-size:14px
}
.page-id-87 .amc-process-card h3{
  font-size:27px;
  line-height:1.12
}
.page-id-87 .amc-process-card p{
  font-size:17.5px;
  line-height:1.7
}
.page-id-87 .amc-principle-copy p{
  font-size:18px;
  line-height:1.75
}
.page-id-87 .amc-proof-card h3{
  font-size:23px;
  line-height:1.18
}
.page-id-87 .amc-proof-card p{
  font-size:17.5px;
  line-height:1.7
}
.page-id-87 .amc-result .section-lead{
  font-size:18px
}
.page-id-87 .amc-project-card p{
  font-size:18px;
  line-height:1.7
}
.page-id-87 .amc-project-card .btn,
.page-id-87 .amc-actions .btn{
  font-size:16.5px
}
@media(max-width:980px){
  .page-id-87 .amc-lead{font-size:18px}
  .page-id-87 .section-lead{font-size:18px}
  .page-id-87 .amc-process-card p,
  .page-id-87 .amc-principle-copy p,
  .page-id-87 .amc-proof-card p,
  .page-id-87 .amc-project-card p{font-size:17px}
}
@media(max-width:640px){
  .page-id-87 .amc-hero .eyebrow,
  .page-id-87 .amc-intro .eyebrow,
  .page-id-87 .amc-principle .eyebrow,
  .page-id-87 .amc-discovery .eyebrow,
  .page-id-87 .amc-result .eyebrow,
  .page-id-87 .amc-project-card .eyebrow{font-size:12.5px}
  .page-id-87 .amc-lead,
  .page-id-87 .section-lead{font-size:17.5px}
  .page-id-87 .amc-process-card h3{font-size:24px}
  .page-id-87 .amc-process-card p,
  .page-id-87 .amc-principle-copy p,
  .page-id-87 .amc-proof-card p,
  .page-id-87 .amc-project-card p{font-size:16.5px}
}

/* Final registered mark alignment */
.page-id-87 .am-reg,
.page-id-87 sup.am-reg,
.page-id-87 .amc-mark sup{
  display:inline-block;
  font-size:.72em;
  line-height:1;
  vertical-align:baseline;
  position:relative;
  top:-.38em;
  margin-left:.08em;
  transform:none;
}
.page-id-87 .eyebrow .am-reg{
  font-size:.78em;
  top:-.34em;
  margin-left:.10em;
}
.page-id-87 h2 .am-reg,
.page-id-87 strong .am-reg{
  font-size:.68em;
  top:-.40em;
}

/* Registered mark final optical alignment */
.page-id-87 .am-reg{
  display:inline-block;
  font-size:.82em;
  line-height:1;
  vertical-align:baseline;
  position:relative;
  top:-.30em;
  margin-left:.07em;
}
.page-id-87 .eyebrow .am-reg{
  font-size:.94em;
  top:-.24em;
  margin-left:.09em;
}
.page-id-87 h2 .am-reg{
  font-size:.72em;
  top:-.38em;
}
.page-id-87 strong .am-reg{
  font-size:.78em;
  top:-.32em;
}
.page-id-87 .amc-mark sup{
  display:inline-block;
  font-size:.80em;
  line-height:1;
  vertical-align:baseline;
  position:relative;
  top:-.28em;
  margin-left:.07em;
}

/* Registered mark optical fix for small uppercase labels */
.page-id-87 .eyebrow .am-reg{
  font-size:1em;
  top:-.20em;
  margin-left:.10em;
}
.page-id-87 .amc-mark sup{
  font-size:.88em;
  top:-.22em;
}

/* Footer balance and social link */
.footer .footer-social{
  margin-top:18px;
  margin-bottom:0;
}
.footer .footer-social a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.35);
  padding-bottom:2px;
}
.footer .footer-social a:hover{
  color:#cce9e3;
  border-color:#cce9e3;
}

/* Legal pages - Bricks managed */
.legal-section{background:var(--paper)}
.legal-policy{max-width:900px}
.legal-policy h2{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2rem,3vw,2.8rem);
  line-height:1.15;
  color:var(--ink);
  margin:72px 0 24px;
  padding-left:18px;
  border-left:5px solid var(--green);
}
.legal-policy h2:first-child{margin-top:0}
.legal-policy h3{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.5rem,2vw,1.9rem);
  line-height:1.25;
  color:var(--ink);
  margin:38px 0 14px;
}
.legal-policy p,
.legal-policy li{
  font-size:18px;
  line-height:1.78;
  color:#334f4c;
}
.legal-policy p{margin:0 0 22px}
.legal-policy a{
  color:var(--green-dark);
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:1px;
}
.legal-policy strong,.legal-policy b{color:var(--ink)}
@media(max-width:640px){
  .legal-policy h2{font-size:2rem;margin-top:56px;padding-left:14px}
  .legal-policy h3{font-size:1.55rem;margin-top:32px}
  .legal-policy p,.legal-policy li{font-size:17px;line-height:1.72}
}

/* Legal pages final vertical rhythm */
.page-id-74 .page-hero,
.page-id-91 .page-hero{
  padding-top:76px;
  padding-bottom:42px;
}
.page-id-74 .legal-section,
.page-id-91 .legal-section{
  padding-top:56px;
  padding-bottom:68px;
}
.page-id-74 .footer,
.page-id-91 .footer{
  margin-top:0;
}
@media(max-width:640px){
  .page-id-74 .page-hero,
  .page-id-91 .page-hero{
    padding-top:52px;
    padding-bottom:30px;
  }
  .page-id-74 .legal-section,
  .page-id-91 .legal-section{
    padding-top:40px;
    padding-bottom:52px;
  }
}

/* Legal pages final spacing refinement */
.page-id-74 .page-hero,
.page-id-91 .page-hero{
  padding-top:64px;
  padding-bottom:28px;
}
.page-id-74 .legal-section,
.page-id-91 .legal-section{
  padding-top:34px;
  padding-bottom:56px;
}
@media(max-width:640px){
  .page-id-74 .page-hero,
  .page-id-91 .page-hero{
    padding-top:42px;
    padding-bottom:22px;
  }
  .page-id-74 .legal-section,
  .page-id-91 .legal-section{
    padding-top:28px;
    padding-bottom:44px;
  }
}

/* About page final CTA */
.page-id-69 .about-final-cta{
  background:var(--paper);
  padding-top:72px;
  padding-bottom:64px;
}
.page-id-69 .about-final-cta .cta-panel{
  align-items:center;
}
.page-id-69 .footer{
  margin-top:0;
}
@media(max-width:640px){
  .page-id-69 .about-final-cta{
    padding-top:56px;
    padding-bottom:48px;
  }
}

/* Site-wide footer rhythm: remove inherited white gap */
.footer{
  margin-top:0;
}

/* Services final CTA and spacing */
.page-id-70 main > .section:nth-child(2){
  padding-bottom:0;
}
.page-id-70 .services-final-cta{
  background:var(--paper);
  padding-top:64px;
  padding-bottom:64px;
}
.page-id-70 .services-final-cta .cta-panel{
  align-items:center;
}
@media(max-width:640px){
  .page-id-70 main > .section:nth-child(2){
    padding-bottom:0;
  }
  .page-id-70 .services-final-cta{
    padding-top:48px;
    padding-bottom:48px;
  }
}

/* Final responsive header and layout hardening */
#brx-header{
  position:sticky;
  top:0;
  z-index:9999;
  width:100%;
  isolation:isolate;
}
#brx-header .site-header{
  position:relative;
  top:auto;
  z-index:auto;
  width:100%;
  box-shadow:0 8px 24px rgba(22,52,50,.04);
}
html{
  scroll-padding-top:140px;
}
.contact-grid > *,
.footer-grid > *,
.header-inner > *{
  min-width:0;
}
.contact-card,
.form-card{
  width:100%;
  max-width:100%;
}
.contact-list strong,
.contact-list a,
.footer p,
.footer a{
  overflow-wrap:anywhere;
  word-break:normal;
}
@media(max-width:980px){
  html{scroll-padding-top:92px}
  #brx-header .site-header .brxe-nav-menu.nav{
    margin-left:auto;
    flex:0 0 auto;
  }
  #brx-header .bricks-mobile-menu-toggle{
    width:46px;
    height:46px;
    min-width:46px;
    min-height:46px;
    padding:0;
    margin:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    line-height:1;
    border-radius:14px;
  }
  #brx-header .bricks-mobile-menu-toggle span{
    position:static;
    display:block;
    width:22px;
    height:2px;
    margin:0;
    transform:none;
    transform-origin:center;
    border-radius:99px;
  }
  #brx-header .header-inner{
    justify-content:space-between;
  }
  .contact-grid > *{
    min-width:0;
    width:100%;
  }
}
@media(max-width:640px){
  #brx-header .bricks-mobile-menu-toggle{
    width:42px;
    height:42px;
    min-width:42px;
    min-height:42px;
    border-radius:13px;
  }
  #brx-header .bricks-mobile-menu-toggle span{
    width:20px;
  }
  .contact-card,
  .form-card{
    padding:28px 22px;
  }
}
@media(max-width:360px){
  .container,
  .narrow{
    width:min(calc(100% - 24px),var(--max));
  }
  .contact-card,
  .form-card{
    padding:24px 18px;
  }
  .logo img{
    width:146px;
  }
}

/* Sticky header + mobile/tablet menu final polish */
.article-aside{
  top:150px;
}
@media(max-width:980px){
  .topbar{
    display:none;
  }
  .header-inner{
    height:76px;
  }
  #brx-header .bricks-mobile-menu-wrapper{
    top:76px !important;
    height:calc(100dvh - 76px) !important;
    max-height:calc(100dvh - 76px) !important;
    width:min(86vw,340px) !important;
    padding:28px 24px !important;
    background:var(--paper) !important;
    color:var(--ink) !important;
    box-shadow:18px 0 48px rgba(22,52,50,.16);
    overflow-y:auto;
  }
  #brx-header .bricks-mobile-menu-overlay{
    top:76px !important;
    height:calc(100dvh - 76px) !important;
  }
  #brx-header .bricks-mobile-menu{
    margin:0;
    padding:0;
  }
  #brx-header .bricks-mobile-menu a{
    color:var(--ink) !important;
    font-size:1.05rem;
    font-weight:800;
    line-height:1.25;
    padding:15px 4px;
    border-bottom:1px solid var(--line);
  }
  #brx-header .bricks-mobile-menu li:last-child > a{
    border-bottom:0;
  }
  #brx-header .bricks-mobile-menu-toggle span{
    transition:transform .2s ease,opacity .2s ease;
  }
  #brx-header .bricks-mobile-menu-toggle[aria-expanded="true"] .bar-top{
    transform:translateY(7px) rotate(45deg);
  }
  #brx-header .bricks-mobile-menu-toggle[aria-expanded="true"] .bar-center{
    opacity:0;
  }
  #brx-header .bricks-mobile-menu-toggle[aria-expanded="true"] .bar-bottom{
    transform:translateY(-7px) rotate(-45deg);
  }
}

@media(max-width:980px){
  #brx-header .bricks-mobile-menu-wrapper::before{
    background:var(--paper) !important;
  }
}

/* Final small-screen overflow hardening */
.article-wrap > *,
.article-content,
.article-aside{
  min-width:0;
  max-width:100%;
}
.article-content,
.article-content p,
.article-content li,
.article-content a,
.article-content strong{
  overflow-wrap:anywhere;
  word-break:normal;
}
.legal-policy,
.legal-policy p,
.legal-policy li,
.legal-policy a,
.legal-policy strong,
.legal-policy b{
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Header/logo and mobile menu final sizing */
.logo img{
  width:220px;
  max-height:66px;
}
@media(max-width:980px){
  .header-inner{
    height:82px;
  }
  .logo img{
    width:clamp(170px,27vw,195px);
    max-height:54px;
  }
  #brx-header .bricks-mobile-menu-wrapper{
    top:82px !important;
    height:calc(100dvh - 82px) !important;
    max-height:calc(100dvh - 82px) !important;
  }
  #brx-header .bricks-mobile-menu-overlay{
    top:82px !important;
    height:calc(100dvh - 82px) !important;
  }
  #brx-header .bricks-mobile-menu a{
    font-size:1.18rem;
    line-height:1.3;
    padding:17px 4px;
  }
}
@media(max-width:640px){
  .header-inner{
    height:80px;
  }
  .logo img{
    width:clamp(168px,46vw,182px);
    max-height:52px;
  }
  #brx-header .bricks-mobile-menu-wrapper{
    top:80px !important;
    height:calc(100dvh - 80px) !important;
    max-height:calc(100dvh - 80px) !important;
  }
  #brx-header .bricks-mobile-menu-overlay{
    top:80px !important;
    height:calc(100dvh - 80px) !important;
  }
  #brx-header .bricks-mobile-menu a{
    font-size:1.16rem;
    padding:16px 4px;
  }
}
@media(max-width:360px){
  .logo img{
    width:164px;
    max-height:50px;
  }
}

/* Mobile menu readable text size */
@media(max-width:980px){
  #brx-header .bricks-mobile-menu a{
    font-size:18px !important;
    line-height:1.35;
    padding:18px 4px;
  }
}
