/* e-Recording.css — e-Recording page specific styles */

/* Hero: 550px band, image fills frame (no side gutters) */
.ps-hero{
  position:relative;
  width:100vw;
  max-width:100vw;
  height:550px;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  overflow:hidden;
  display:block;
}
.ps-hero img.ps-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  display:block;
  object-fit:cover;
  object-position:center;
}
.ps-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:rgba(0,0,0,0.2);
}
.ps-hero-overlay{position:absolute;inset:0;background:linear-gradient(to top, rgba(10,15,35,0.72) 0%, rgba(10,15,35,0.35) 55%, rgba(10,15,35,0.08) 100%);}
.ps-hero-overlay-light{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:rgba(0,0,0,0.65);
}
.ps-hero-content{
  position:absolute;
  inset:0;
  z-index:3;
  padding:56px 72px;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  text-align:left;
  gap:8px;
}
.ps-hero-title{
  font-size:clamp(32px,4vw,56px);
  font-weight:300;
  line-height:1.1;
  letter-spacing:-0.01em;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
}
.ps-hero-title-line{
  display:inline-block;
  max-width:100%;
}
.ps-hero-title-line:first-child{
  border-bottom:2px solid rgba(255,255,255,0.7);
  padding-bottom:12px;
  margin-bottom:12px;
}
.ps-hero-sub{
  font-size:16px;
  font-style:italic;
  opacity:0.85;
  max-width:36em;
  margin:0;
}

@media(max-width:960px){
  .ps-hero-content{padding:40px 28px;}
}

/* MOBILE — e-Recording */
@media(max-width:768px){
  .ps-hero{
    height:min(550px,85vh);
  }
  .ps-hero-content{
    padding:28px 20px 36px;
  }
  .ps-hero-title{
    font-size:clamp(26px,6vw,40px);
  }

  /* Two column info section */
  [style*="grid-template-columns:1fr 300px"]{grid-template-columns:1fr !important;gap:32px !important;padding:40px 20px !important;}

  /* 3-column services grid - become 1 column */
  [style*="repeat(3,1fr)"]{grid-template-columns:1fr !important;gap:20px !important;}
  .erec-services-section{padding:40px 20px !important;}
  .erec-services-section h2{font-size:22px !important;margin-bottom:20px !important;}
  .erec-services-section > div > div{padding:24px;border:1px solid var(--border);border-radius:4px;}
  .erec-services-section h3{font-size:16px !important;}
  .erec-services-section p{font-size:13px !important;}

  /* 3-column why choose section - become 1 column */
  .erec-why-section{padding:40px 20px !important;background:var(--bg-light) !important;}
  .erec-why-section h2{font-size:22px !important;margin-bottom:20px !important;}
  .erec-why-section > div{display:grid;grid-template-columns:1fr !important;gap:20px !important;}
  .erec-why-section > div > div{padding:20px;border:1px solid var(--border);border-radius:4px;}
  .erec-why-section h3{font-size:14px !important;margin-bottom:8px !important;}
  .erec-why-section p{font-size:12px !important;}

  /* 3-column counties - become 2 columns then 1 */
  .erec-counties-section{padding:40px 20px !important;}
  .erec-counties-section h2{font-size:22px !important;margin-bottom:16px !important;}
  .erec-counties-section > p{font-size:13px !important;margin-bottom:20px !important;}
  .erec-counties-grid{display:grid !important;grid-template-columns:1fr !important;gap:16px !important;padding:0 16px !important;}
  .erec-counties-grid > div{padding:16px;border:1px solid var(--border);border-radius:4px;}
  .erec-counties-grid p{font-size:12px !important;}

  /* Text sections */
  [style*="padding:56px 72px"]{padding:40px 20px !important;}
  h2{font-size:22px !important;}
  p{font-size:14px !important;}
  li{font-size:13px !important;}
}
