/* Drangsholt Dental v1: additions to the live Webflow stylesheet (no visual change to live pages). */

/* Hours (data-rdp-hours): footer = days line + times line, as the live <br> layout */
.dr-hours-line { display: block; }
.dr-hours-row { display: block; }
.dr-hours-row + .dr-hours-row { margin-top: .5rem; } /* footer rows: same .5rem gap as the other footer columns */

/* Process-card step numbers ("01", "02" ...): counted in CSS so cloned cards number themselves */
[data-rdp-process-cards] { counter-reset: dr-step; }
[data-rdp-process-cards] > [data-rdp-card] { counter-increment: dr-step; }
.dr-step-num::before { content: counter(dr-step, decimal-leading-zero); }

/* Services directory (NEW page: live has none). Text-only cards in the site's own tokens. */
.dr-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dr-directory-card { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; min-height: 100%;
  background-color: var(--_colour-utility---background-color--background-tertiary); color: var(--_colour-utility---text-color--text-primary);
  text-decoration: none; transition: background-color .3s, color .3s; }
.dr-directory-card:hover, .dr-directory-card:focus-visible { background-color: var(--_colour-utility---background-color--background-secondary); color: var(--_colour-utility---text-color--text-secondary); }
.dr-directory-card-title { margin: 0; font-family: var(--_fonts---font-heading); font-size: var(--_typography---heading--h6); font-weight: 300;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.dr-directory-card-text { margin: 0; font-size: var(--_typography---body-xsmall); opacity: .85; }
@media screen and (max-width: 991px) { .dr-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 767px) { .dr-directory-grid { grid-template-columns: 1fr; } .dr-directory-card { padding: 1.5rem; } }

/* Homepage mobile hero (767px and below only). The white logo and CTA buttons are hidden at 768px and up, so desktop is unchanged. */
.dr-hero-logo, .dr-hero-ctas { display: none; }
@media screen and (max-width: 767px) {
  .home_hero_section { justify-content: flex-end; min-height: 100vh; min-height: 100svh; padding-top: 7rem; padding-bottom: 160px;
    padding-bottom: clamp(160px, 20vh, 175px); padding-bottom: clamp(160px, 20svh, 175px); box-sizing: border-box; }
  .home_hero_overlay { display: block; background: linear-gradient(180deg, rgba(20,22,16,.34) 0%, rgba(20,22,16,.16) 26%, rgba(20,22,16,.42) 44%,
    rgba(20,22,16,.62) 64%, rgba(20,22,16,.76) 82%, rgba(20,22,16,.86) 100%); }
  .home_hero_section .padding-section-xsmall { padding-top: 0; padding-bottom: 0; }
  .home_hero_content_wrap { background: transparent; background-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; padding: 0 .25rem; }
  .home_hero_content .text-align-center { text-align: center; }
  .dr-hero-logo { display: block; width: 85%; max-width: 320px; height: auto; aspect-ratio: 532 / 84; margin: 0 auto;
    background: url(../images/drangsholt-logo.webp) center / contain no-repeat; filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,.35)); }
  .home_hero_heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .home_hero_divider { width: 3rem; height: 1px; margin: 0 auto; background-color: rgba(255,255,255,.85); }
  .home_hero_description { margin: 0 auto; max-width: 20rem; color: #ffffff; font-size: .8125rem; font-weight: 400; letter-spacing: .2em;
    line-height: 1.7; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
  .dr-hero-ctas { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: 1.75rem; }
  .dr-hero-btn { display: flex; align-items: center; justify-content: center; gap: .625rem; width: 100%; max-width: 310px; min-height: 3.25rem;
    box-sizing: border-box; padding: 0 1.25rem; font-family: var(--_fonts---font-heading); font-size: .8125rem; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color .2s; }
  .dr-hero-btn-primary { background-color: #faf8f5; color: #2f2e24; }
  .dr-hero-btn-primary:active { background-color: #ece4da; }
  .dr-hero-btn-arrow { font-family: "Segoe Ui Symbol", Arial, sans-serif; font-size: 1rem; line-height: 1; }
  .dr-hero-btn-secondary { background-color: rgba(0,0,0,.22); color: #ffffff; border: 1.5px solid rgba(255,255,255,.85); }
  .dr-hero-btn-secondary:active { background-color: rgba(0,0,0,.35); }
  .dr-hero-btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
}

/* Group photo band: show all 8 people at every width.
   The photo is 16:9 (1920x1080). A tall fixed min-height plus background-size: cover
   (and background-attachment: fixed, which sizes against the viewport) was cropping
   Lisa (far left) and Madison (far right). Match the photo's aspect ratio and scroll
   with the page. Override the base min-height (46.5rem) and the 479px min-height (20rem). */
.component_parallax_section {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  min-height: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}
@media screen and (max-width: 991px) {
  .component_parallax_section {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
}
@media screen and (max-width: 767px) {
  .component_parallax_section {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
}
@media screen and (max-width: 479px) {
  .component_parallax_section {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
}
