/*
 * MiramareADV 2026 – focused second-pass refinements.
 * Sans-serif editorial typography, precise body rhythm, genuine photography.
 * Restricted to custom MiramareADV pages (#madv-app).
 */
#madv-app {
  --madv-display:"Avenir Next","Segoe UI","Helvetica Neue",sans-serif;
}
body.madv-site #madv-app h1,
body.madv-site #madv-app h2,
body.madv-site #madv-app h3,
body.madv-site #madv-app h4 {
  font-family:var(--madv-display)!important;
  font-weight:680!important;
  font-style:normal!important;
  letter-spacing:-.042em!important;
  text-wrap:balance;
}
body.madv-site #madv-app h1 em,
body.madv-site #madv-app h2 em,
body.madv-site #madv-app h3 em {
  font-family:inherit!important;
  font-style:normal!important;
  font-weight:480!important;
  letter-spacing:inherit;
}
#madv-app .madv-section-heading h2,
#madv-app .madv-manifesto-copy h2 {
  line-height:1.14!important;
}
#madv-app .madv-hero h1 {
  font-size:clamp(45px,5.25vw,76px);
  line-height:1.09!important;
}
#madv-app .madv-service-card h3 {
  font-family:var(--madv-display)!important;
  font-size:clamp(23px,2.25vw,31px);
  font-weight:700!important;
  letter-spacing:-.03em!important;
}
#madv-app .madv-history-chapter h3,
#madv-app .madv-history-image-row h3,
#madv-app .madv-feature-case h2,
#madv-app .madv-contemporary-text h3,
#madv-app .madv-value-grid h3,
#madv-app .madv-contact-form h3,
#madv-app .madv-project-detail strong {
  font-family:var(--madv-display)!important;
  font-weight:650!important;
  letter-spacing:-.035em!important;
}
#madv-app .madv-project-detail strong {font-size:clamp(20px,2.1vw,26px);line-height:1.23!important}
#madv-app .madv-foot-intro {
  max-width:392px;
  color:#ced0cb;
  font-size:13.2px;
  line-height:1.8;
  margin:12px 0 0!important;
  font-weight:400;
  text-align:justify!important;
  text-justify:inter-word;
  hyphens:auto;
}
#madv-app p:not(.madv-kicker):not(.madv-tagline):not(.madv-foot-logo) {
  text-align:justify!important;
  text-align-last:left;
  text-justify:inter-word;
  -webkit-hyphens:auto;
  hyphens:auto;
  overflow-wrap:break-word;
}
#madv-app .madv-hero-stamp,
#madv-app .madv-foot-brand,
#madv-app .madv-foot-links {text-align:left!important}
#madv-app .madv-foot-main {grid-template-columns:1.55fr .75fr 1fr;gap:6%}
#madv-app .madv-foot-brand {margin-bottom:2px}
#madv-app .madv-foot-bottom {align-items:flex-start}
/* Modern profile links: flat professional lines, not large old-fashioned tiles */
#madv-app .madv-profile-links {
  display:flex!important;flex-direction:column!important;
  gap:0!important;background:transparent!important;
  border-top:1px solid rgba(41,44,39,.28);
  margin-top:23px!important;
  counter-reset:madv-people;
}
#madv-app .madv-profile-links a {
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:10px 14px!important;
  border:0!important;
  border-bottom:1px solid rgba(41,44,39,.22)!important;
  background:transparent!important;
  padding:17px 3px!important;
  min-height:68px;
  counter-increment:madv-people;
}
#madv-app .madv-profile-links a::before {
  content:"0" counter(madv-people);
  font-size:10px;
  font-weight:780;
  letter-spacing:.09em;
  color:#947453;
}
#madv-app .madv-profile-links a:hover {background:rgba(255,255,255,.25)!important}
#madv-app .madv-profile-links strong {
  font-family:var(--madv-display)!important;
  font-size:clamp(16px,1.5vw,19px)!important;
  font-weight:700!important;
  line-height:1.3;
  letter-spacing:-.02em;
}
#madv-app .madv-profile-links span {font-size:11px!important;font-weight:700;white-space:nowrap;line-height:1.4}
/* Two focused service paths on the Services hub */
#madv-app .madv-service-paths{padding:90px 0;background:#f0eee9}
#madv-app .madv-service-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#madv-app .madv-path-card{display:grid;grid-template-columns:43% 1fr;min-width:0;background:#fffefa;overflow:hidden;border:1px solid rgba(32,36,32,.08)}
#madv-app .madv-path-img{min-height:265px;display:block;overflow:hidden;background:#ddd6cc}
#madv-app .madv-path-img img{width:100%!important;height:100%!important;object-fit:cover;transition:transform .4s ease}
#madv-app .madv-path-card:hover .madv-path-img img{transform:scale(1.035)}
#madv-app .madv-path-content{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:24px 28px;gap:17px}
#madv-app .madv-path-content small{font-size:10px;letter-spacing:.15em;color:#93734c;font-weight:780;line-height:1.6}
#madv-app .madv-path-content strong{font-family:var(--madv-display);font-size:clamp(22px,2.15vw,32px);font-weight:650;letter-spacing:-.035em;line-height:1.18}
#madv-app .madv-path-content>span{font-size:11px;font-weight:720;color:#6d543a;text-transform:uppercase;letter-spacing:.06em;line-height:1.5}
#madv-app .madv-path-card:hover .madv-path-content strong{color:#80613d}
/* 25-year experience and frequently asked questions on the homepage */
#madv-app .madv-home-faq{padding:77px 0;background:#e8e6df;border-top:1px solid rgba(32,36,32,.1)}
#madv-app .madv-home-faq>.madv-wrap{display:grid;grid-template-columns:1fr .87fr;gap:11%;align-items:center}
#madv-app .madv-home-faq h2{font-size:clamp(29px,3.5vw,47px);line-height:1.15;margin-top:16px!important}
#madv-app .madv-home-faq h2 em{color:#86663e}
#madv-app .madv-home-faq p:not(.madv-kicker){font-size:15px;color:#5c615b;line-height:1.85;margin-bottom:17px!important}
/* New specialised article layouts */
#madv-app .madv-topic-hero .madv-wrap{max-width:1240px}
#madv-app .madv-topic-hero h1{max-width:1050px}
#madv-app .madv-topic-hero-action{margin-top:30px}
#madv-app .madv-topic-intro{display:grid;grid-template-columns:.95fr 1.05fr;gap:9%;align-items:start}
#madv-app .madv-topic-intro h2{font-size:clamp(34px,3.9vw,56px);line-height:1.16;margin-top:20px!important}
#madv-app .madv-topic-intro h2 em{color:#86663e}
#madv-app .madv-topic-intro p:not(.madv-kicker){font-size:15px;line-height:1.9;color:#555b55;margin-bottom:19px!important}
#madv-app .madv-topic-media{padding:82px 0;background:#e9e6de}
#madv-app .madv-topic-media-alt{background:#edebe6}
#madv-app .madv-topic-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}
#madv-app .madv-topic-media figure{margin:0;min-width:0}
#madv-app .madv-topic-media figure img{width:100%!important;height:455px!important;object-fit:cover;object-position:center}
#madv-app .madv-topic-media figcaption{font-size:11px;line-height:1.5;color:#72766f;margin-top:11px}
#madv-app .madv-topic-media h2{font-size:clamp(34px,3.6vw,52px);line-height:1.15;margin:18px 0 22px!important}
#madv-app .madv-topic-media h2 em{color:#86663e}
#madv-app .madv-topic-media p:not(.madv-kicker){font-size:15px;line-height:1.85;color:#596059;margin:14px 0!important}
#madv-app .madv-topic-media .madv-text-link{margin-top:18px}
#madv-app .madv-topic-services{padding:85px 0 95px;background:#fffefa}
#madv-app .madv-topic-services h2{font-size:clamp(35px,3.7vw,53px);line-height:1.17;max-width:860px;margin:18px 0 36px!important}
#madv-app .madv-topic-services h2 em{color:#86663e}
#madv-app .madv-topic-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
#madv-app .madv-topic-list article{display:grid;grid-template-columns:37px 1fr;column-gap:16px;align-content:start;border-top:1px solid rgba(36,41,34,.23);padding:25px 14px 30px 0}
#madv-app .madv-topic-list article>span{font-size:11px;color:#86663e;font-weight:750;margin-top:7px;grid-row:span 2}
#madv-app .madv-topic-list h3{font-size:22px;line-height:1.24;margin:0 0 10px!important}
#madv-app .madv-topic-list p{font-size:14px;line-height:1.8;color:#686c66}
#madv-app .madv-topic-related{padding:39px 0;background:#f0eee8;border-top:1px solid rgba(30,36,31,.08)}
#madv-app .madv-topic-related>.madv-wrap{display:flex;justify-content:space-between;align-items:center;gap:24px}
#madv-app .madv-topic-related p{color:#4f554e;font-size:14px;line-height:1.7;max-width:730px}
#madv-app .madv-topic-second-gallery{padding:75px 0}
/* Frequently asked questions: semantic details/summary, no JS dependency */
#madv-app .madv-faq-section{background:#fffefa;padding:92px 0 103px}
#madv-app .madv-faq-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:9%;align-items:start}
#madv-app .madv-faq-intro{position:sticky;top:30px}
#madv-app .madv-faq-intro h2{font-size:clamp(32px,3.6vw,49px);line-height:1.2;margin:18px 0!important}
#madv-app .madv-faq-intro h2 em{color:#86663e}
#madv-app .madv-faq-intro p:not(.madv-kicker){font-size:14px;line-height:1.86;color:#5b615a;margin-bottom:21px!important}
#madv-app .madv-faq-list{border-top:1px solid rgba(35,40,35,.24)}
#madv-app .madv-faq-item{margin:0;border-bottom:1px solid rgba(35,40,35,.2);background:transparent}
#madv-app .madv-faq-item summary{list-style:none;display:grid;grid-template-columns:34px minmax(0,1fr) 22px;align-items:center;gap:18px;cursor:pointer;min-height:78px;padding:20px 8px 20px 0;color:#232824;font-size:clamp(16px,1.45vw,19px);font-weight:700;line-height:1.36;letter-spacing:-.02em}
#madv-app .madv-faq-item summary::-webkit-details-marker{display:none}
#madv-app .madv-faq-num{font-size:11px;color:#977248;font-weight:780;letter-spacing:.06em}
#madv-app .madv-faq-sign{width:16px;height:16px;position:relative;display:block}
#madv-app .madv-faq-sign::before,#madv-app .madv-faq-sign::after{content:"";position:absolute;background:#96724d;top:7px;left:0;width:16px;height:2px;transition:transform .16s}
#madv-app .madv-faq-sign::after{transform:rotate(90deg)}
#madv-app .madv-faq-item[open] .madv-faq-sign::after{transform:rotate(0)}
#madv-app .madv-faq-answer{padding:0 36px 27px 52px}
#madv-app .madv-faq-answer p{color:#545a54;font-size:14px;line-height:1.89;margin-bottom:0!important}
#madv-app .madv-faq-item[open] summary{color:#775638}
@media(max-width:1120px){
 #madv-app .madv-path-card{grid-template-columns:42% 1fr}
 #madv-app .madv-path-content{padding:20px}
 #madv-app .madv-path-content strong{font-size:23px}
 #madv-app .madv-foot-main{grid-template-columns:1.45fr .75fr 1fr}
}
@media(max-width:900px){
 #madv-app .madv-path-card{grid-template-columns:1fr}
 #madv-app .madv-path-img{height:200px;min-height:0}
 #madv-app .madv-path-content{min-height:180px}
 #madv-app .madv-topic-media-grid{gap:5%}
 #madv-app .madv-topic-media figure img{height:390px!important}
 #madv-app .madv-faq-layout{gap:6%}
 #madv-app .madv-faq-item summary{font-size:16px}
 #madv-app .madv-foot-main{grid-template-columns:1.4fr .75fr 1fr}
}
@media(max-width:640px){
 #madv-app .madv-hero h1{font-size:clamp(39px,10.1vw,55px)}
 #madv-app .madv-foot-intro{max-width:100%;font-size:13px;line-height:1.8}
 #madv-app .madv-foot-main{grid-template-columns:1fr}
 #madv-app .madv-project-detail strong{font-size:22px}
 #madv-app .madv-service-paths{padding:63px 0}
 #madv-app .madv-service-path-grid{grid-template-columns:1fr;gap:15px}
 #madv-app .madv-path-card{grid-template-columns:39% 1fr}
 #madv-app .madv-path-img{height:205px}
 #madv-app .madv-path-content{min-height:0;padding:14px}
 #madv-app .madv-path-content strong{font-size:20px}
 #madv-app .madv-path-content small{font-size:9px}
 #madv-app .madv-path-content>span{font-size:10px}
 #madv-app .madv-home-faq{padding:59px 0}
 #madv-app .madv-home-faq>.madv-wrap{grid-template-columns:1fr;gap:23px}
 #madv-app .madv-home-faq h2{font-size:35px}
 #madv-app .madv-topic-intro,#madv-app .madv-topic-media-grid{grid-template-columns:1fr;gap:32px}
 #madv-app .madv-topic-intro h2,#madv-app .madv-topic-media h2{font-size:35px}
 #madv-app .madv-topic-intro p:not(.madv-kicker){font-size:14px}
 #madv-app .madv-topic-media{padding:61px 0}
 #madv-app .madv-topic-media figure img{height:295px!important}
 #madv-app .madv-topic-services{padding:62px 0 68px}
 #madv-app .madv-topic-services h2{font-size:35px}
 #madv-app .madv-topic-list{grid-template-columns:1fr;gap:0}
 #madv-app .madv-topic-list h3{font-size:20px}
 #madv-app .madv-topic-related>.madv-wrap{flex-direction:column;align-items:flex-start;gap:14px}
 #madv-app .madv-faq-section{padding:59px 0 69px}
 #madv-app .madv-faq-layout{grid-template-columns:1fr;gap:34px}
 #madv-app .madv-faq-intro{position:static}
 #madv-app .madv-faq-intro h2{font-size:34px}
 #madv-app .madv-faq-item summary{grid-template-columns:23px minmax(0,1fr) 16px;gap:10px;padding:17px 0;min-height:68px;font-size:15px}
 #madv-app .madv-faq-answer{padding:0 8px 24px 33px}
 #madv-app .madv-faq-answer p{font-size:14px}
 #madv-app .madv-profile-links a{grid-template-columns:26px 1fr;gap:5px 8px}
 #madv-app .madv-profile-links a>span{grid-column:2;white-space:normal}
 #madv-app .madv-profile-links strong{font-size:18px!important}
 #madv-app .madv-foot-brand-panel{height:76px}
}

/* MF ecosystem accent, 22 October 2026 — the agency yellow #F2DB57.
   Accessible dark text on light sections, warm yellow on charcoal sections. */
body.madv-site #madv-app{--brass:#F2DB57;--mf-yellow:#F2DB57;--mf-dark:#212121}
#madv-app .madv-btn-brass{background:#F2DB57!important;color:#212121!important}
#madv-app .madv-btn-brass:hover{background:#ffe984!important;color:#212121!important}
#madv-app .madv-hero h1 em,
#madv-app .madv-inner-hero h1 em{color:#F2DB57!important}
#madv-app .madv-kicker {color:#212121;letter-spacing:.18em!important}
#madv-app .madv-kicker-light,
#madv-app .madv-history-network .madv-kicker,
#madv-app .madv-bottom-cta .madv-kicker{color:#F2DB57!important}
#madv-app .madv-history-network .madv-text-link,
#madv-app .madv-history-network .madv-network-main-link{color:#F2DB57!important}
#madv-app .madv-hero-stamp i{color:#F2DB57}
#madv-app .madv-section-heading h2 em,
#madv-app .madv-manifesto-copy h2 em,
#madv-app .madv-story-grid h2 em,
#madv-app .madv-history-intro h2 em,
#madv-app .madv-topic-services h2 em,
#madv-app .madv-topic-media h2 em,
#madv-app .madv-topic-intro h2 em,
#madv-app .madv-home-faq h2 em{
  color:inherit!important;
  box-shadow:inset 0 -.17em 0 rgba(242,219,87,.55);
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
#madv-app .madv-history-network .madv-history-intro h2 em{box-shadow:inset 0 -.15em 0 rgba(242,219,87,.30)}
#madv-app .madv-service-num,
#madv-app .madv-faq-num,
#madv-app .madv-value-grid b,
#madv-app .madv-history-year,
#madv-app .madv-contemporary-text .madv-kicker,
#madv-app .madv-history-projects .madv-kicker{color:#212121}
#madv-app .madv-service-card:hover{background:rgba(242,219,87,.06)}
#madv-app .madv-service-card h3,
#madv-app .madv-service-card:hover h3{color:#212121}
#madv-app .madv-service-card:hover h3{box-shadow:inset 0 -.13em 0 rgba(242,219,87,.4)}
#madv-app .madv-service-arrow{color:#212121}
#madv-app .madv-section-heading .madv-kicker,
#madv-app .madv-topic-services .madv-kicker,
#madv-app .madv-contemporary-text .madv-kicker,
#madv-app .madv-story-values .madv-kicker,
#madv-app .madv-history-full .madv-kicker{border-left:3px solid #F2DB57;padding-left:11px}
#madv-app .madv-profile-links a{border-bottom-color:rgba(33,33,33,.22)!important}
#madv-app .madv-profile-links a::before{color:#212121;background:#F2DB57;padding:3px 2px;text-align:center}
#madv-app .madv-profile-links span{color:#212121}
#madv-app .madv-path-card{border-top:3px solid #F2DB57}
#madv-app .madv-path-content small,
#madv-app .madv-path-content>span{color:#333630}
#madv-app .madv-home-faq{border-top:3px solid #F2DB57}
#madv-app .madv-faq-sign::before,
#madv-app .madv-faq-sign::after{background:#212121}
#madv-app .madv-faq-item[open] summary{color:#212121}
#madv-app .madv-faq-item[open]{border-bottom-color:#F2DB57}
#madv-app .madv-topic-list article>span{color:#212121}
#madv-app .madv-topic-list article{border-top-color:rgba(33,33,33,.3)}

/* Archive decade — strong 20 instead of tiny "ANNI VENTI". */
#madv-app .madv-history-year-20{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:6px;
  padding-top:0;
  max-width:100%;
}
#madv-app .madv-decade-label{
  font:750 14px/1.1 var(--madv-display);
  letter-spacing:.23em;
  padding-left:2px;
  text-transform:uppercase;
  color:#212121
}
#madv-app .madv-decade-number{
  display:block;
  font:740 clamp(82px,9.6vw,145px)/.85 var(--madv-display);
  color:#212121;
  letter-spacing:-.095em;
  margin-left:-5px;
  border-bottom:7px solid #F2DB57;
  padding-bottom:7px;
  font-variant-numeric:tabular-nums;
}

/* Founders: two genuine portraits from the existing WordPress media archive. */
#madv-app .madv-contemporary-visual.madv-team-portraits{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  height:auto;
  min-height:0;
  background:transparent;
  align-items:stretch;
}
#madv-app .madv-team-portraits .madv-team-person{
  min-width:0;
  margin:0;
  display:flex;
  flex-direction:column;
  background:#fffefa;
  overflow:hidden;
}
#madv-app .madv-contemporary-visual.madv-team-portraits .madv-team-person img{
  width:100%!important;
  height:380px!important;
  min-height:0!important;
  max-width:none;
  object-fit:cover;
  object-position:center 28%;
  display:block;
}
#madv-app .madv-team-portraits .madv-team-person figcaption{
  border-top:4px solid #F2DB57;
  padding:16px 12px 18px;
  color:#212121;
  font:700 15px/1.35 var(--madv-display);
  letter-spacing:-.02em;
}

/* Ecosystem: contemporary, typography consistent with the site's headings. */
#madv-app .madv-history-network{background:#1a1d1b}
#madv-app .madv-network-links{gap:16px}
#madv-app .madv-network-links a{
  background:#222723!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-top:3px solid #F2DB57!important;
  padding:23px 24px 20px!important;
  min-height:130px;
  gap:15px!important;
}
#madv-app .madv-network-links a:hover{
  background:#2b302b!important;
  border-color:rgba(242,219,87,.5)!important;
  border-top-color:#F2DB57!important
}
#madv-app .madv-network-links strong{
  font-family:var(--madv-display)!important;
  font-size:clamp(16px,1.37vw,20px)!important;
  font-weight:700!important;
  letter-spacing:-.025em;
  line-height:1.25!important;
  color:#f6f6f2!important;
}
#madv-app .madv-network-links span{
  color:#F2DB57!important;
  font-size:11px!important;
  line-height:1.55!important;
  letter-spacing:.025em;
}
#madv-app .madv-network-disclaimer{display:none!important}

@media(max-width:1100px){
  #madv-app .madv-decade-number{font-size:clamp(75px,9vw,115px)}
  #madv-app .madv-contemporary-visual.madv-team-portraits .madv-team-person img{height:305px!important}
  #madv-app .madv-team-portraits .madv-team-person figcaption{font-size:13px;padding:13px 9px}
  #madv-app .madv-network-links strong{font-size:17px!important}
  #madv-app .madv-network-links a{padding:20px 18px!important;min-height:118px}
}
@media(max-width:900px){
  #madv-app .madv-contemporary-visual.madv-team-portraits{min-height:0!important;height:auto!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #madv-app .madv-contemporary-visual.madv-team-portraits .madv-team-person img{height:240px!important}
  #madv-app .madv-network-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #madv-app .madv-network-links strong{font-size:18px!important}
}
@media(max-width:640px){
  #madv-app .madv-history-year-20{display:flex;flex-direction:row;align-items:end;gap:16px;padding-bottom:3px}
  #madv-app .madv-decade-label{font-size:12px;padding-bottom:16px}
  #madv-app .madv-decade-number{font-size:91px;line-height:.9;border-bottom-width:6px}
  #madv-app .madv-contemporary-visual.madv-team-portraits{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  #madv-app .madv-contemporary-visual.madv-team-portraits .madv-team-person img{height:245px!important}
  #madv-app .madv-team-portraits .madv-team-person figcaption{font-size:13px;padding:11px 9px 13px}
  #madv-app .madv-network-links{grid-template-columns:1fr;gap:11px}
  #madv-app .madv-network-links a{min-height:97px;padding:18px 20px!important;gap:10px!important}
  #madv-app .madv-network-links strong{font-size:19px!important}
}
@media(max-width:390px){
  #madv-app .madv-contemporary-visual.madv-team-portraits .madv-team-person img{height:205px!important}
  #madv-app .madv-team-portraits .madv-team-person figcaption{font-size:12px;padding:10px 7px}
}


/* Final consistency: same yellow accent in navigation, content and footer. */
body.madv-site #madv-app ::selection{background:#F2DB57;color:#212121}
#madv-app .madv-desktop-nav a::after{background:#F2DB57}
#madv-app .madv-head-cta:hover{background:#F2DB57;color:#212121!important}
#madv-app .madv-foot-links p{color:#F2DB57}
#madv-app .madv-foot-links a:hover{color:#F2DB57!important}
#madv-app .madv-service-row .madv-tagline{
  color:#343732;
  border-left:3px solid #F2DB57;
  padding-left:12px;
}
#madv-app .madv-contact-info h2 em,
#madv-app .madv-faq-intro h2 em,
#madv-app .madv-story-values h2 em{
  color:inherit!important;
  box-shadow:inset 0 -.17em 0 rgba(242,219,87,.55);
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}

/* Footer alignment: bring the visual logo and accompanying copy level with the Esplora heading on multi-column layouts. */
@media (min-width:641px) {
  #madv-app .madv-foot-main > div:first-child {
    position:relative;
    transform:translateY(-28px);
  }
}
@media (max-width:640px) {
  #madv-app .madv-foot-main > div:first-child {
    transform:none;
  }
}

/* Ensure the seven navigation entries fit laptop widths without clipping the
   Publicità item. The original large desktop composition remains unchanged. */
@media (min-width:1151px){
  #madv-app .madv-head-inner{gap:22px}
  #madv-app .madv-desktop-nav{gap:clamp(11px,1.2vw,19px);flex-shrink:1;min-width:0}
  #madv-app .madv-desktop-nav a{font-size:clamp(10.5px,.86vw,12px);letter-spacing:.025em}
  #madv-app .madv-head-cta{padding:14px 13px;font-size:10.5px}
}
@media (min-width:1025px) and (max-width:1150px){
  #madv-app .madv-head-cta{display:none}
  #madv-app .madv-desktop-nav{gap:clamp(10px,1.3vw,15px)}
}

@media (prefers-reduced-motion:reduce) {
 #madv-app .madv-path-img img,#madv-app .madv-faq-sign::before,#madv-app .madv-faq-sign::after{transition:none!important}
}
