/* Recorefit final live-QA polish */
.single-post .entry-header .entry-meta,
.single-post footer.entry-meta,
footer.site-info{
  display:none !important;
}
.recorefit-front-pagination[data-single-page="true"]{
  display:none !important;
}
@media (max-width:760px){
  .site-footer .recore-footer-line{
    line-height:1.65;
  }
}

/* Homepage layout rules moved out of page content during live QA */
@media (min-width:981px){
  .home .recore-home-hero{width:calc(100% - 48px);min-height:560px}
  .home .recore-home-hero__media{min-height:560px}
  .home .recore-home-hero__content{padding:44px clamp(44px,5vw,72px)}
  .home .recore-actions{flex-wrap:nowrap}
  .home .recore-actions .recore-button{padding-inline:18px;font-size:.875rem}
}
.recore-button:focus-visible,
.recore-topic:focus-visible,
.recorefit-front-card a:focus-visible{
  outline:3px solid var(--rf-accent);
  outline-offset:4px;
}
@media (max-width:520px){
  .home .recore-actions{flex-direction:column}
  .home .recore-actions .recore-button{width:100%}
}


/* Compact brand + navigation header */
.recorefit-compact-header .site-header{
  border-bottom:1px solid var(--rf-line);
}
.recorefit-compact-header .site-header .inside-header{
  max-width:1240px;
  margin:0 auto;
  padding:14px 24px!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:32px;
}
.recorefit-compact-header .site-branding{
  flex:0 0 auto;
  margin:0!important;
}
.recorefit-compact-header .main-title{
  margin:0!important;
  font-size:1.55rem!important;
  line-height:1.05!important;
}
.recorefit-compact-header .site-description{
  margin:4px 0 0!important;
  line-height:1.2!important;
}
.recorefit-compact-header #site-navigation{
  flex:1 1 auto;
  width:auto!important;
  background:transparent!important;
}
.recorefit-compact-header #site-navigation .inside-navigation{
  padding:0!important;
  justify-content:flex-end;
}
.recorefit-compact-header .main-navigation .main-nav>ul{
  justify-content:flex-end;
  gap:4px;
}
.recorefit-compact-header .main-navigation .main-nav ul li a{
  padding:0 14px!important;
  line-height:44px!important;
}

/* Repair the homepage starting-point cards */
.home .recore-topics{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}
.home .recore-topic{
  display:flex!important;
  flex-direction:column!important;
  min-height:310px!important;
  padding:30px!important;
  margin:0!important;
}
.home .recore-topic>span{
  display:block!important;
  margin:0!important;
}
.home .recore-topic h3{
  margin:56px 0 14px!important;
}
.home .recore-topic p{
  margin:0!important;
}
.home .recore-topic b{
  position:static!important;
  display:block!important;
  margin-top:auto!important;
  padding-top:28px!important;
}
.home .recore-topic br,
.home .recore-topic>p:empty{
  display:none!important;
}
@media (max-width:980px){
  .recorefit-compact-header .site-header .inside-header{
    gap:18px;
    padding:14px 20px!important;
  }
  .recorefit-compact-header .site-description{display:none}
  .recorefit-compact-header .main-navigation .main-nav ul li a{
    padding:0 9px!important;
    font-size:.78rem!important;
  }
  .home .recore-topics{grid-template-columns:1fr!important}
  .home .recore-topic{min-height:230px!important}
  .home .recore-topic h3{margin-top:34px!important}
}
@media (max-width:768px){
  .recorefit-compact-header .site-header .inside-header{
    flex-wrap:wrap;
  }
  .recorefit-compact-header #site-navigation{
    flex-basis:auto;
  }
}

@media (min-width:769px){
  .recorefit-compact-header .site-branding{
    text-align:left!important;
  }
  .recorefit-compact-header #site-navigation{
    margin:0!important;
    align-self:center!important;
  }
}

/* Final Recorefit page and consent polish */
.recorefit-page-intro{
  max-width:860px;
  margin:0 auto 2rem;
  padding:1.5rem 1.25rem .25rem;
  text-align:center;
}
.recorefit-page-intro .recore-eyebrow{
  margin:0 0 .6rem;
  color:#315f4b;
  font-size:.78rem;
  font-weight:750;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.recorefit-page-intro h1{
  margin:0 0 .8rem;
  font-size:clamp(2rem,1.55rem + 1.8vw,3.25rem);
  line-height:1.05;
  letter-spacing:-.035em;
}
.recorefit-page-intro p:last-child{
  max-width:720px;
  margin:0 auto;
  color:#5f6d66;
  font-size:1.05rem;
  line-height:1.65;
}
.cmplz-cookiebanner.banner-1{
  width:min(430px,calc(100vw - 28px)) !important;
  max-height:min(640px,78vh) !important;
  border-radius:20px !important;
  box-shadow:0 18px 55px rgba(20,34,27,.22) !important;
}
.cmplz-cookiebanner.banner-1 .cmplz-body{
  overflow:auto !important;
  max-height:44vh !important;
}
.cmplz-cookiebanner.banner-1 .cmplz-message{
  line-height:1.5 !important;
}
.cmplz-cookiebanner.banner-1 .cmplz-buttons{
  gap:8px !important;
}
.cmplz-cookiebanner.banner-1 .cmplz-btn{
  min-height:42px !important;
  border-radius:10px !important;
}
@media (max-width:520px){
  .recorefit-page-intro{
    padding:1rem .85rem 0;
    margin-bottom:1.4rem;
  }
  .cmplz-cookiebanner.banner-1{
    width:calc(100vw - 20px) !important;
    left:10px !important;
    right:auto !important;
    bottom:10px !important;
    max-height:70vh !important;
    border-radius:16px !important;
  }
  .cmplz-cookiebanner.banner-1 .cmplz-body{
    max-height:36vh !important;
  }
  .cmplz-cookiebanner.banner-1 .cmplz-buttons{
    grid-template-columns:1fr 1fr !important;
  }
  .cmplz-cookiebanner.banner-1 .cmplz-view-preferences{
    grid-column:1 / -1 !important;
  }
}


/* Google Privacy & Messaging is the only visible consent UI. */
.recorefit-google-cmp-primary #cmplz-cookiebanner-container,
.recorefit-google-cmp-primary .cmplz-cookiebanner{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
