
/* Thornhill counter on desktop homepages. */
@media (min-width: 1024px) {
  html:root body [data-falamak-page="home"][data-fm-home-release] #contact {
    --counter-text: clamp(1.125rem, 1.45vw, 1.375rem);
    --counter-title: clamp(1.8rem, 2.7vw, 2.5rem);
    scroll-margin-top: 5rem;

    
    
    & [data-falamak-source-class~="wrap"] > [data-falamak-source-class~="home-contact-actions"],
    & article[aria-labelledby="location-north"],
    & [data-falamak-source-class~="location-map-frame"] { display: none !important; }

    & [data-falamak-source-class~="contact-heading"] h2 { margin: .8rem 0; }
    & [data-falamak-source-class~="branch-intro"] {
      font-size: var(--counter-text) !important; line-height: 1.5; max-width: none; margin: 0 0 1.75rem;
    }
    & [data-falamak-source-class~="location-grid"] { display: block; }
    & article[aria-labelledby="location-thorn"] {
      display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr);
      grid-template-areas: "heading hours" "address hours" "phone hours" "actions hours" "services services" "details whatsapp";
      gap: 1rem clamp(1.5rem, 3vw, 3rem); padding: clamp(1.5rem, 3vw, 2.75rem);
      align-items: start;
    }
    & [data-falamak-source-class~="location-heading"] { grid-area: heading; margin: 0; }
    & #location-thorn, & [data-falamak-source-class~="branch-hours-title"] {
      margin: 0; font: 500 var(--counter-title)/1.15 var(--p-serif, Georgia, serif) !important;
      letter-spacing: -.025em; text-transform: none;
    }
    & [data-falamak-source-class~="location-address-row"] { grid-area: address; margin: 0; padding: 0; }
    & address, & address strong, & address span, & [data-falamak-source-class~="location-contact-row"] a {
      font-size: var(--counter-text) !important; line-height: 1.5 !important;
    }
    & address .branch-unit { display: inline; background: none; color: inherit; margin: 0; padding: 0; }
    & address .branch-unit::before { content: ", "; }
    & [data-falamak-source-class~="location-contact-row"] { grid-area: phone; margin: 0; }
    & article [data-falamak-source-class~="home-contact-actions"] {
      grid-area: actions; display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 0;
    }
    & article [data-falamak-source-class~="home-contact-actions"] a { font-size: 1.0625rem !important; }
    & [data-falamak-source-class~="branch-hours"] {
      grid-area: hours; align-self: stretch; border: 0; border-inline-start: 1px solid var(--b-line);
      padding: 0 0 0 clamp(1.5rem, 3vw, 3rem); margin: 0; min-width: 0;
    }
    & dl { margin: 1rem 0 .65rem; }
    & dl > div { display: flex; justify-content: space-between; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid var(--b-line); }
    & dt, & dd { margin: 0; font-size: var(--counter-text) !important; line-height: 1.45; }
    & dd { white-space: nowrap; font-weight: 650; }
    & small { font-size: 1rem !important; line-height: 1.5; }
    & .branch-services { grid-area: services; min-height: 0; margin: .5rem 0 0; border-top: 1px solid var(--b-line); padding-top: 1rem; font-size: 1.125rem !important; }
    & [data-falamak-source-class~="home-branch-details"] { grid-area: details; }
    & article > a[href*="wa.me"] { grid-area: whatsapp; }
    & article > a { justify-self: start; font-size: 1.0625rem !important; }
    & [data-falamak-source-class~="location-address-row"] { flex-wrap: wrap; gap: .8rem; }
    & [data-falamak-source-class~="location-directions"] { font-size: 1.0625rem !important; }
  }
  html:root body [data-falamak-page="home"][dir="rtl"] #contact [data-falamak-source-class~="branch-hours-title"],
  html:root body [data-falamak-page="home"][dir="rtl"] #contact #location-thorn {font-family: inherit !important;}
}
