/*
 * E House Movers - generic section renderer styles
 *
 * Used by page-eh-sections.php, which renders a page's own _elementor_data
 * with house classes instead of Elementor markup. Mirrors the design language
 * of shared-sections.css so a rendered page sits beside the hand-built
 * templates without looking like a different site:
 *
 *   display  LemonmilkReg, #1a1a1a
 *   accent   #90191c   rule  50px x 3px #c9a656
 *   body     16px/1.75 #555
 *   card     #fff, 12px radius, 1px solid #eee
 *   tint     #F9F5F5
 */

.eh-sections {
  overflow-x: hidden;
  font-family: 'SF Pro Regular', sans-serif;
}

/* ---------------------------------------------------------------- sections */
.ehr-block {
  padding: 72px 20px;
}

.ehr-block--tint {
  background: #F9F5F5;
}

.ehr-inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* the band that opens the page */
.ehr-block--hero {
  background: linear-gradient(180deg, #fff 0%, #F9F5F5 100%);
  padding: 56px 20px 64px;
}

.ehr-block--hero .ehr-h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 20px;
}

.ehr-block--hero .ehr-text {
  font-size: 17px;
}

.ehr-block--hero .ehr-figure {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- section header */
.ehr-section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.ehr-section-head .ehr-heading {
  margin-bottom: 20px;
}

.ehr-section-head .ehr-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #c9a656;
  border-radius: 2px;
  margin: 20px auto 0;
}

.ehr-section-head .ehr-text {
  margin-bottom: 0;
}

.ehr-section-head .ehr-row + .ehr-row {
  margin-top: 14px;
}

/* a heading that opens a column keeps the rule, left aligned */
.ehr-col > .ehr-h2:first-child::after,
.ehr-col > .ehr-h3:first-child::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #c9a656;
  border-radius: 2px;
  margin: 20px 0 0;
}

/* ---------------------------------------------------------------- rows */
.ehr-row + .ehr-row {
  margin-top: 40px;
}

.ehr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: start;
}

.ehr-col {
  min-width: 0;
}

/* ---------------------------------------------------------------- text */
.ehr-heading {
  font-family: 'LemonmilkReg', sans-serif;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0 0 18px;
}

.ehr-h1 { font-size: 40px; }
.ehr-h2 { font-size: 34px; }
.ehr-h3 { font-size: 20px; }
.ehr-h4 { font-size: 18px; }
.ehr-h5,
.ehr-h6 { font-size: 16px; }

.ehr-heading span { color: #90191c; }

.ehr-text {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  margin: 0 0 18px;
}

.ehr-text p { margin: 0 0 14px; }
.ehr-text p:last-child { margin-bottom: 0; }

.ehr-text a {
  color: #90191c;
  text-decoration: none;
}

.ehr-text a:hover { text-decoration: underline; }

.ehr-text ul,
.ehr-text ol {
  margin: 0 0 14px;
  padding-left: 0;
  list-style: none;
}

.ehr-text ol { list-style: decimal; padding-left: 20px; }

.ehr-text ul li {
  position: relative;
  padding-left: 20px;
  margin: 0 0 9px;
}

.ehr-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9a656;
}

/* ---------------------------------------------------------------- media */
.ehr-figure {
  margin: 0 0 18px;
  border-radius: 12px;
  overflow: hidden;
}

.ehr-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------------------------------------------------- cards */
.ehr-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 32px 28px;
  transition: all .35s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.ehr-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: #90191c;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s ease;
}

.ehr-card:hover::before { transform: scaleY(1); }

.ehr-card:hover {
  border-color: rgba(144, 25, 28, .18);
  box-shadow: 0 14px 34px rgba(144, 25, 28, .08);
  transform: translateY(-4px);
}

.ehr-card--image { padding: 0 0 28px; }

.ehr-card--image::before { display: none; }

.ehr-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F9F5F5;
  margin: 0 0 20px;
}

.ehr-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ehr-card--image .ehr-card-title,
.ehr-card--image .ehr-card-text,
.ehr-card--image .ehr-card-cta { margin-left: 28px; margin-right: 28px; }

.ehr-card-title {
  font-family: 'LemonmilkReg', sans-serif;
  font-size: 18px;
  line-height: 1.35;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.ehr-card-title a { color: inherit; text-decoration: none; }
.ehr-card-title a:hover { color: #90191c; }

.ehr-card-text {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.ehr-card-text p { margin: 0 0 10px; }
.ehr-card-text p:last-child { margin-bottom: 0; }

.ehr-card-cta {
  display: inline-block;
  margin-top: 16px;
  font-family: 'LemonmilkReg', sans-serif;
  font-size: 13px;
  letter-spacing: .5px;
  color: #90191c;
}

.ehr-card--statement {
  padding: 24px 26px;
}

.ehr-card--statement .ehr-card-text {
  font-size: 16px;
  line-height: 1.65;
  color: #3d3d3d;
}

/* ---------------------------------------------------------------- buttons */
.ehr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  margin: 0 10px 10px 0;
  background: #90191c;
  border: 2px solid #90191c;
  border-radius: 6px;
  color: #fff !important;
  font-family: 'LemonmilkReg', sans-serif;
  font-size: 13px;
  letter-spacing: .5px;
  text-decoration: none !important;
  transition: all .3s ease;
}

.ehr-btn:hover {
  background: #fff;
  color: #90191c !important;
}

.ehr-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 18px;
}

.ehr-btn-row .ehr-btn { margin: 0; }

.ehr-btn-row .ehr-btn:nth-child(2) {
  background: #fff;
  color: #90191c !important;
}

.ehr-btn-row .ehr-btn:nth-child(2):hover {
  background: #90191c;
  color: #fff !important;
}

/* ---------------------------------------------------------------- lists */
.ehr-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ehr-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.ehr-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #90191c;
  box-shadow: 0 0 0 3px rgba(144, 25, 28, .14);
}

.ehr-list li a { color: #90191c; text-decoration: none; }
.ehr-list li a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- forms */
.ehr-form {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 14px 40px rgba(26, 26, 26, .05);
}

/* ---------------------------------------------------------------- accordion */
.ehr-accordion { margin-top: 8px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .ehr-block { padding: 56px 18px; }
  .ehr-block--hero .ehr-h1 { font-size: 34px; }
  .ehr-h1 { font-size: 32px; }
  .ehr-h2 { font-size: 27px; }
  .ehr-section-head { margin-bottom: 36px; }
  .ehr-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 600px) {
  .ehr-block { padding: 44px 16px; }
  .ehr-block--hero .ehr-h1 { font-size: 28px; }
  .ehr-h1 { font-size: 27px; }
  .ehr-h2 { font-size: 23px; }
  .ehr-h3 { font-size: 18px; }
  .ehr-grid { grid-template-columns: 1fr; gap: 20px; }
  .ehr-text { font-size: 15px; }
  .ehr-card { padding: 26px 22px; }
}
