/* D.L. Steiner theme: home
   The homepage sections, measured against dlsteiner.com (WordPress, Neve + Gutenberg) at
   1440px and 390px. Every class here is prefixed dlh- and sets its own type, colour and
   spacing, so nothing depends on theme.css. Breakpoints follow the WordPress page:
   575px (Neve mobile type sizes), 600px (photo + text stacks), 781px (columns stack).

   Type: WordPress sets headings in Trajan Pro 3 (Adobe Fonts). The self-hosted stand-in,
   Cinzel, runs about 9% narrower and lower at the same size, so each heading is set ~9%
   larger than the WordPress size (36 -> 40, 32 -> 35, 28 -> 30.5, 13 -> 14.5) with the
   WordPress line-height in px, which keeps both the line widths and the block heights. */

/* ── Shared ─────────────────────────────────────────────────────────────────────── */
.dlh-hero, .dlh-section, .dlh-service, .dlh-featured, .dlh-featured-rule, .dlh-cta {
  --dlh-red: #980101;
  --dlh-amber: #dc8c1a;
  --dlh-ink: #272626;
  --dlh-button: #32373c;
  --dlh-gradient: linear-gradient(135deg, #dc8c1a 0%, #980101 100%);
  --dlh-display: 'Cinzel', 'Trajan Pro 3', 'Trajan Pro', Georgia, 'Times New Roman', serif;
  --dlh-body: Tahoma, Geneva, sans-serif;
  font-family: var(--dlh-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dlh-ink);
  box-sizing: border-box;
}
.dlh-container {
  width: 100%;
  max-width: 995px;
  margin: 0 auto;
  padding: 0 15px;
}
.dlh-section p, .dlh-service p, .dlh-cta p { margin: 0 0 30px; }
.dlh-prose a { color: var(--dlh-red); text-decoration: underline; }
.dlh-prose a:hover, .dlh-prose a:focus-visible { color: #6d0101; }

.dlh-h2 {
  margin: 0 0 30px;
  font-family: var(--dlh-display);
  font-size: 35px;
  font-weight: 400;
  line-height: 38.4px;
  letter-spacing: 0;
  text-align: center;
  color: var(--dlh-ink);
}
.dlh-h2--underlined {
  font-size: 30.5px;
  font-weight: 700;
  line-height: 39.2px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.dlh-rule {
  height: 0;
  margin: 40px 0 29px; /* 40 under the title band, 31 from the rule to the photo */
  border: 0;
  border-top: 2px solid var(--dlh-ink);
}

/* Buttons: square corners, as the WordPress button block. */
.dlh-buttons { display: flex; justify-content: center; }
.dlh-buttons--left { justify-content: flex-start; }
.dlh-btn {
  display: inline-block;
  padding: 13px 15px;
  border: 0;
  border-radius: 3px;
  background: var(--dlh-button);
  color: #fff;
  font-family: var(--dlh-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
}
.dlh-btn:hover, .dlh-btn:focus-visible { background: #1e2327; color: #fff; }
.dlh-btn--red { background: var(--dlh-red); }
.dlh-btn--red:hover, .dlh-btn--red:focus-visible { background: #6d0101; }
.dlh-btn--ink { background: #333; }
.dlh-btn--ink:hover, .dlh-btn--ink:focus-visible { background: #1a1a1a; }
.dlh-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--dlh-ink); }

/* ── 1. Hero (WordPress cover .ticss-14757e8a) ──────────────────────────────────── */
.dls-hero.dlh-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 430px;
  min-height: 430px;
  margin: 0;
  padding: 0 7.5px;
  overflow: hidden;
  background: #0d0d0d;
  color: #fff;
  text-align: center;
  clip-path: polygon(100% 68%, 64% 100%, 31% 90%, 0% 100%, 0% 0%, 100% 0%);
}
.dlh-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 85% 20%;
}
.dlh-hero__dim {
  position: absolute;
  inset: 0;
  background: #0d0d0d;
  opacity: .5;
}
.dlh-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 30px; /* the empty paragraph WordPress leaves under the button */
}
.dls-hero .dlh-hero__title {
  margin: 0 0 30px;
  font-family: var(--dlh-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 39.6px;
  letter-spacing: 0;
  color: #fff;
  text-shadow: none;
}
.dlh-hero__title strong { font-weight: 700; }
.dls-hero .dlh-hero__tagline {
  margin: 0 0 30px;
  font-family: var(--dlh-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 15.6px;
  letter-spacing: 0;
  color: #fff;
}

/* ── 2–4. Text blocks ───────────────────────────────────────────────────────────── */
.dlh-text { display: flow-root; } /* keeps the last paragraph's 30px inside the block */
.dlh-text:first-child, .dlh-hero + .dlh-text { margin-top: 10px; }
.dlh-lead { text-align: center; }
.dlh-lead strong { font-weight: 700; }
.dlh-text + .dlh-service { margin-top: 10px; }

/* ── 5. Service blocks ──────────────────────────────────────────────────────────── */
.dlh-service { margin: 0 0 10px; }
.dlh-band {
  margin: 0 0 30px;
  padding: 35px 66.5px;
  background: var(--dlh-gradient);
  font-family: var(--dlh-display);
  font-size: 30.5px;
  font-weight: 700;
  line-height: 39.2px;
  letter-spacing: 0;
  text-align: center;
  color: #fff;
}
.dlh-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "media content";
}
.dlh-media-text--right { grid-template-areas: "content media"; }
.dlh-media-text--no-photo { grid-template-columns: 1fr; grid-template-areas: "content"; }
.dlh-media-text__media {
  grid-area: media;
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
}
.dlh-media-text__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.dlh-media-text__content {
  grid-area: content;
  align-self: center;
  padding: 0 8%;
}
.dlh-media-text__content .dlh-buttons { margin-bottom: 30px; }
.dlh-prose strong { font-weight: 700; }

/* ── 6. Featured services (gray band) ───────────────────────────────────────────── */
.dlh-featured-rule .dlh-rule { margin: 50px 0 28px; }
.dlh-featured {
  padding: 30px 7.5px 30px;
  background: #c0c0c0;
}
.dlh-featured__inner { max-width: 1008px; margin: 0 auto; }
.dlh-featured__title {
  margin: 0 0 30px;
  font-family: var(--dlh-display);
  font-size: 39px;
  font-weight: 700;
  line-height: 43.2px;
  letter-spacing: 0;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  color: #333;
}
.dlh-featured__grid {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.dlh-feature { flex: 1 1 0; min-width: 0; }
.dlh-feature__media { margin: 0; }
.dlh-feature__media a { display: block; }
.dlh-feature__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.dlh-feature__title {
  margin: 0 0 30px;
  font-family: var(--dlh-display);
  font-size: 30.5px;
  font-weight: 400;
  line-height: 39.2px;
  letter-spacing: 0;
  text-align: center;
  color: var(--dlh-red);
}
.dlh-feature__title a { color: var(--dlh-red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dlh-feature__title a:hover, .dlh-feature__title a:focus-visible { color: #6d0101; }

/* ── 7. Industries and clients ──────────────────────────────────────────────────── */
.dlh-industries { margin-top: 30px; padding-bottom: 28px; }
.dlh-industries__grid {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.dlh-industry {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 20px;
  overflow: hidden;
  border: 5px solid var(--dlh-red);
  border-radius: 25px;
  background: #fff;
}
.dlh-industry__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: grayscale(1);
  opacity: .1; /* WordPress: the photo under a 90% white dim */
}
.dlh-industry__inner { position: relative; z-index: 1; width: 100%; align-self: flex-start; }
.dlh-industry__title {
  margin: 0;
  padding-top: 10.72px;
  font-family: var(--dlh-display);
  font-size: 20px; /* not enlarged: "Manufacturing" must fit the card on one line */
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0;
  text-align: center;
  color: var(--dlh-red);
}
.dlh-industry__rule {
  height: 0;
  margin: 8px 0 0;
  border: 0;
  border-top: 2px solid var(--dlh-ink);
}
.dlh-industry__list {
  margin: 37px 0 30px;
  padding: 0 0 0 20px;
  list-style: disc;
}
.dlh-industry__list li {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 27.2px;
  color: var(--dlh-ink);
}
.dlh-industry__list li + li { margin-top: 10px; }

/* ── 8. Call to action ──────────────────────────────────────────────────────────── */
.dlh-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 16px 7.5px;
  background: var(--dlh-gradient);
  color: #fff;
  text-align: center;
}
.dlh-cta__inner { width: 100%; }
.dlh-cta__title {
  margin: 0 0 30px;
  font-family: var(--dlh-display);
  font-size: 35px;
  font-weight: 700;
  line-height: 38.4px;
  letter-spacing: 0;
  color: #fff;
}
.dlh-cta .dlh-cta__text { font-size: 20px; line-height: 27.2px; color: #fff; }
.dlh-cta__text strong { font-weight: 700; }

/* ── Columns stack (WordPress: 781px) ───────────────────────────────────────────── */
@media (max-width: 781px) {
  .dlh-featured__grid, .dlh-industries__grid { flex-direction: column; align-items: stretch; gap: 30px; }
  .dlh-featured__inner { max-width: 98%; }
  .dlh-feature, .dlh-industry { flex: 0 0 auto; }
}

/* ── Photo above text (WordPress: 600px) ────────────────────────────────────────── */
@media (max-width: 600px) {
  .dlh-media-text, .dlh-media-text--right {
    grid-template-columns: 100%;
    grid-template-areas: "media" "content";
  }
  .dlh-media-text--no-photo { grid-template-areas: "content"; }
}

/* ── Phone type sizes (Neve mobile) ─────────────────────────────────────────────── */
@media (max-width: 575px) {
  .dlh-hero, .dlh-section, .dlh-service, .dlh-featured, .dlh-featured-rule, .dlh-cta { font-size: 15px; line-height: 1.6; }
  .dlh-btn { font-size: 15px; }
  .dls-hero .dlh-hero__title { line-height: 43.2px; }
  .dls-hero .dlh-hero__tagline { line-height: 16.9px; }
  .dlh-h2 { font-size: 30.5px; line-height: 36.4px; }
  .dlh-h2--underlined { font-size: 26px; line-height: 33.6px; }
  .dlh-band { padding: 30px 57px; font-size: 26px; line-height: 33.6px; }
  .dlh-featured__title { line-height: 46.8px; }
  .dlh-feature__title { font-size: 26px; line-height: 33.6px; }
  .dlh-industry__title { line-height: 32px; }
  .dlh-industry__list li { line-height: 24px; }
  .dlh-cta__title { font-size: 30.5px; line-height: 36.4px; }
  .dlh-cta .dlh-cta__text { line-height: 24px; }
}
