/* Curved A/C Doctor Cool signature, with a separate, accessible call link. */
:root {
  --acdc-frame-radius:22px;
  --acdc-frame-rim:6px;
  --acdc-frame-finish:linear-gradient(135deg,#fff 0%,#d9e8fb 8%,#c90016 9%,#c90016 25%,#fff 26%,#fff 29%,#0a4f9f 30%,#062b68 76%,#fff 77%,#fff 79%,#c90016 80%,#870415 100%);
}
.acdc-photo-unit {
  width:100%;min-width:0;overflow:hidden;border-radius:var(--acdc-frame-radius);
  background:#062b68;box-shadow:0 3px 0 #062b68b3,0 12px 24px #062b6826;container-type:inline-size;
}
picture.acdc-photo-frame {
  position:relative;display:block;width:100%;min-width:0;padding:var(--acdc-frame-rim);
  overflow:hidden;isolation:isolate;border:1px solid #ffffffc9;border-bottom:0;
  border-radius:var(--acdc-frame-radius) var(--acdc-frame-radius) 0 0;
  background:var(--acdc-frame-finish);box-shadow:inset 0 1px 1px #fff;
}
picture.acdc-photo-frame>img {display:block;width:100%;max-width:100%;border-radius:calc(var(--acdc-frame-radius) - var(--acdc-frame-rim));box-shadow:none;}
picture.acdc-photo-frame::before {content:"";position:absolute;z-index:2;inset:var(--acdc-frame-rim);border:1px solid #ffffffa6;border-radius:calc(var(--acdc-frame-radius) - var(--acdc-frame-rim));box-shadow:inset 0 2px 5px #062b6833;pointer-events:none;}
body a.acdc-photo-contact {
  position:relative;z-index:4;display:grid;grid-template-columns:clamp(48px,24%,100px) minmax(0,1fr) 26px;
  align-items:center;gap:8px;width:100%;min-height:64px;padding:8px 10px;margin:0;overflow:hidden;
  border:0;border-top:1px solid #ffffff80;border-bottom:3px solid #c90016;
  border-radius:0 0 var(--acdc-frame-radius) var(--acdc-frame-radius);
  background:linear-gradient(110deg,#fff 0%,#fff 24%,#0a4f9f 24.5%,#062b68 46%);
  box-shadow:none;color:#fff;font-family:var(--font-body,Arial,sans-serif);line-height:1.2;text-align:left;text-decoration:none;
}
.acdc-photo-contact .acdc-photo-logo {display:block;width:100%;height:40px;background:#fff url('/assets/acdr-logo-square.jpeg') center / 137% auto no-repeat;border-radius:4px;}
.acdc-photo-contact .acdc-photo-call-text {display:block;min-width:0;font-style:normal;}
.acdc-photo-contact small {display:block;margin:0 0 4px;color:#cfdef0;font-size:9px;letter-spacing:.12em;}
.acdc-photo-contact strong {display:block;color:#fff;font-size:16px;font-size:clamp(12px,6.3cqi,21px);font-weight:800;letter-spacing:-.025em;white-space:nowrap;}
.acdc-photo-contact .acdc-photo-phone {width:26px;height:26px;padding:5px;border-radius:50%;background:#c90016;color:#fff;}
body a.acdc-photo-contact:hover {color:#fff;text-decoration:none;}
body a.acdc-photo-contact:hover strong {text-decoration:underline;text-underline-offset:3px;}
body a.acdc-photo-contact:focus-visible {outline:3px solid #fff;outline-offset:-5px;}
/* Keep photo navigation and calls as sibling controls. */
.gallery-grid .acdc-photo-frame {aspect-ratio:1;}
.gallery-grid .acdc-photo-frame>img {height:100%;aspect-ratio:auto;object-fit:cover;}
.service-grid .acdc-photo-frame {height:235px;}
.service-grid .acdc-photo-frame>img {height:100%;object-fit:cover;}
.video-card a.acdc-photo-action {display:block;min-height:320px;overflow:hidden;border-radius:var(--acdc-frame-radius) var(--acdc-frame-radius) 0 0;box-shadow:none;}
.video-card .acdc-photo-frame>img {min-height:306px;}
.acdc-photo-unit--entry {display:flex;flex-direction:column;align-self:stretch;}
.acdc-photo-unit--entry .store-entry-photo {display:block;flex:1;min-height:0;}
.store-entry-photo>.acdc-photo-frame {height:100%;max-height:460px;}
.store-entry-photo .acdc-photo-frame>img {height:100%;}
.store-entry-photo>span {z-index:3;bottom:18px;}
.store-hero-photo>.acdc-photo-unit {position:absolute;inset:0;height:100%;display:flex;flex-direction:column;}
.store-hero-photo .acdc-photo-frame {flex:1;min-height:0;}
.store-hero-photo .acdc-photo-frame>img {height:100%;object-fit:cover;object-position:50% 46%;}
.store-hero-photo .acdc-photo-contact {flex-shrink:0;}
.store-hero-photo figcaption {z-index:3;bottom:84px;}
.store-card-image>.acdc-photo-frame {height:100%;}
.store-card-image .acdc-photo-frame>img {height:100%;object-fit:contain;}
.store-photo-label {z-index:3;}
.store-detail-photo .acdc-photo-unit {flex-shrink:0;}
/* The map signature sits above the source credit, with its own reserved space. */
.hero.hero--satellite {border-radius:0 0 26px 26px;padding-bottom:90px;}
.hero.hero--satellite::before {content:"";position:absolute;z-index:3;inset:0;border:5px solid #062b68;border-top:4px solid #c90016;border-bottom:5px solid #c90016;border-radius:inherit;box-shadow:inset 0 0 0 2px #ffffffc2,inset 0 7px 15px #04143033;pointer-events:none;}
.acdc-map-contact {position:absolute;z-index:4;left:18px;bottom:32px;width:280px;max-width:calc(100% - 36px);border-radius:12px;overflow:hidden;container-type:inline-size;}
.hero.hero--satellite .hero-imagery-credit {z-index:4;bottom:8px;}
@container (max-width:210px) {
  body a.acdc-photo-contact {grid-template-columns:1fr 26px;gap:4px;padding:6px 9px;min-height:78px;background:#062b68;}
  .acdc-photo-contact .acdc-photo-logo {width:70px;height:28px;}
  .acdc-photo-contact .acdc-photo-phone {grid-column:2;grid-row:1;}
  .acdc-photo-contact .acdc-photo-call-text {grid-column:1 / -1;grid-row:2;text-align:center;}
  .acdc-photo-contact small {display:none;}
  .acdc-photo-contact strong {font-size:14px;}
}
@media(max-width:760px) {
  :root {--acdc-frame-radius:17px;--acdc-frame-rim:4px;}
  .acdc-photo-unit--entry {order:2;}
  .store-entry-photo>.acdc-photo-frame {height:310px;}
  .store-hero-photo figcaption {bottom:82px;}
  .hero.hero--satellite {padding-bottom:110px;}
  .acdc-map-contact {bottom:48px;}
}
