/* THAT Rental / Locations premium metallic cards — only loaded on locations.php */
.premium-locations-hero {
  background: linear-gradient(115deg,#f0f5f9 0%,#fbfcfe 70%,#f7f3ed 100%);
  border-bottom:1px solid #e0e7ee;
}
.premium-locations-section {padding-top:48px}
.premium-location-grid {align-items:stretch}
.premium-location-grid > .premium-location-card {
  --loc-base:#102e50; --loc-top:#21466a; --loc-bottom:#0b223b;
  --loc-stroke:rgba(179,207,230,.28); --loc-accent:#f58a35;
  position:relative; isolation:isolate; overflow:hidden;
  color:#edf4fa !important;
  border:1px solid var(--loc-stroke) !important;
  border-radius:9px !important;
  background:linear-gradient(155deg,var(--loc-top) 0%,var(--loc-base) 49%,var(--loc-bottom) 100%) !important;
  box-shadow:0 14px 30px rgba(11,34,57,.12), inset 0 1px 0 rgba(255,255,255,.13) !important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
/* Six distinct, coordinated metallic finishes: one for each location card. */
.premium-location-grid > .premium-location-card:nth-child(6n + 1) {
  --loc-base:#143b64; --loc-top:#285b87; --loc-bottom:#09243e;
  --loc-stroke:rgba(169,206,236,.34); --loc-accent:#ffab5c;
}
.premium-location-grid > .premium-location-card:nth-child(6n + 2) {
  --loc-base:#17545b; --loc-top:#287983; --loc-bottom:#0c303c;
  --loc-stroke:rgba(160,223,224,.32); --loc-accent:#a8eeea;
}
.premium-location-grid > .premium-location-card:nth-child(6n + 3) {
  --loc-base:#634056; --loc-top:#865775; --loc-bottom:#362538;
  --loc-stroke:rgba(226,178,208,.32); --loc-accent:#f8c1d9;
}
.premium-location-grid > .premium-location-card:nth-child(6n + 4) {
  --loc-base:#305947; --loc-top:#477a5c; --loc-bottom:#1b342c;
  --loc-stroke:rgba(181,221,190,.33); --loc-accent:#cdebbb;
}
.premium-location-grid > .premium-location-card:nth-child(6n + 5) {
  --loc-base:#765031; --loc-top:#9b7048; --loc-bottom:#402d24;
  --loc-stroke:rgba(235,190,139,.34); --loc-accent:#ffcb93;
}
.premium-location-grid > .premium-location-card:nth-child(6n + 6) {
  --loc-base:#384553; --loc-top:#546779; --loc-bottom:#202c38;
  --loc-stroke:rgba(192,208,226,.31); --loc-accent:#d1e4f2;
}
/* Radial light fades to transparent over the card itself: no image-stage rectangle. */
.premium-location-grid > .premium-location-card::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse 88% 54% at 50% 0%,rgba(255,255,255,.13),transparent 95%);
}
.premium-location-grid > .premium-location-card::after {
  content:""; position:absolute; top:0; left:24px; right:24px; height:1px; pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);
}
.premium-location-grid > .premium-location-card:hover {
  transform:translateY(-3px);border-color:rgba(255,255,255,.38)!important;
  box-shadow:0 19px 40px rgba(11,34,57,.19),inset 0 1px 0 rgba(255,255,255,.15)!important;
}
.premium-location-card .premium-location-top {border-bottom:1px solid rgba(255,255,255,.2);}
.premium-location-card .premium-location-kicker {color:var(--loc-accent);}
.premium-location-card h3,.premium-location-card h3 a {color:#fff!important;}
.premium-location-card h3 a:hover {color:#f6d4b3!important;}
.premium-location-card .premium-location-address {color:#d2dfe9!important;}
.premium-location-card .premium-location-contact span {color:#b6cadd!important;}
.premium-location-card .premium-location-contact a {color:#fff!important;}
.premium-location-card .premium-location-contact a:hover {color:#f1bb8a!important;}
.premium-location-card .premium-location-hours {border-top:1px solid rgba(255,255,255,.18);}
.premium-location-card .premium-location-hours summary,
.premium-location-card .premium-location-closures summary {color:#fff!important;}
.premium-location-card .premium-location-hours summary:hover,
.premium-location-card .premium-location-closures summary:hover {color:#ffe0b9!important;}
.premium-location-card .premium-location-hours .muted,
.premium-location-card .premium-location-closures .muted {color:#d6e1eb!important;}
.premium-location-card .summary-row {border-bottom:1px solid rgba(255,255,255,.10);color:#d6e1eb!important;}
.premium-location-card .summary-row span {color:#d6e1eb!important;}
.premium-location-card .summary-row span:last-child {color:#fff!important;}
.premium-location-card .premium-location-links .button {border-radius:5px;transition:background .16s,transform .16s,box-shadow .16s;}
.premium-location-card .premium-location-links .button.secondary {
  color:#f5f9fd!important; background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.36)!important;
}
.premium-location-card .premium-location-links .button.secondary:hover {background:rgba(255,255,255,.16)!important;}
.premium-location-card .premium-location-links .button:not(.secondary) {
  color:#fff!important; background:linear-gradient(115deg,#ef7a19,#fa962d)!important;
  border:1px solid rgba(255,199,141,.45)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16)!important;
}
.premium-location-card .premium-location-links .button:not(.secondary):hover {background:linear-gradient(115deg,#f38b2a,#ff9f3f)!important;}
.premium-location-card .premium-location-links .text-link {color:#e5edf5!important;}
.premium-location-card .premium-location-links .text-link:hover {color:#ffe1bf!important;}
.premium-location-card a:focus-visible,.premium-location-card summary:focus-visible {outline:2px solid #ffd39f;outline-offset:3px;}
@media(prefers-reduced-motion:reduce){.premium-location-grid > .premium-location-card {transition:none;}.premium-location-grid > .premium-location-card:hover{transform:none;}}


/* Branch detail page: match the metallic colour theme used on the locations list */
.premium-location-theme{
  --loc-base:#102e50; --loc-top:#21466a; --loc-bottom:#0b223b;
  --loc-stroke:rgba(179,207,230,.28); --loc-accent:#f58a35;
}
.premium-location-theme-1{--loc-base:#143b64; --loc-top:#285b87; --loc-bottom:#09243e; --loc-stroke:rgba(169,206,236,.34); --loc-accent:#ffab5c;}
.premium-location-theme-2{--loc-base:#17545b; --loc-top:#287983; --loc-bottom:#0c303c; --loc-stroke:rgba(160,223,224,.32); --loc-accent:#a8eeea;}
.premium-location-theme-3{--loc-base:#634056; --loc-top:#865775; --loc-bottom:#362538; --loc-stroke:rgba(226,178,208,.32); --loc-accent:#f8c1d9;}
.premium-location-theme-4{--loc-base:#305947; --loc-top:#477a5c; --loc-bottom:#1b342c; --loc-stroke:rgba(181,221,190,.33); --loc-accent:#cdebbb;}
.premium-location-theme-5{--loc-base:#765031; --loc-top:#9b7048; --loc-bottom:#402d24; --loc-stroke:rgba(235,190,139,.34); --loc-accent:#ffcb93;}
.premium-location-theme-6{--loc-base:#384553; --loc-top:#546779; --loc-bottom:#202c38; --loc-stroke:rgba(192,208,226,.31); --loc-accent:#d1e4f2;}

.branch-premium-details.premium-location-theme{
  position:relative; overflow:hidden; isolation:isolate;
  border:1px solid var(--loc-stroke)!important;
  border-top:0!important;
  border-radius:9px!important;
  color:#edf4fa!important;
  background:linear-gradient(155deg,var(--loc-top) 0%,var(--loc-base) 49%,var(--loc-bottom) 100%)!important;
  box-shadow:0 14px 30px rgba(11,34,57,.12), inset 0 1px 0 rgba(255,255,255,.13)!important;
}
.branch-premium-details.premium-location-theme::before{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse 88% 54% at 50% 0%,rgba(255,255,255,.13),transparent 95%);
}
.branch-premium-details.premium-location-theme::after{
  content:""; position:absolute; top:0; left:24px; right:24px; height:1px; pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);
}
.branch-premium-details.premium-location-theme h2,
.branch-premium-details.premium-location-theme .branch-premium-hours-title{color:#fff!important;}
.branch-premium-details.premium-location-theme > p{
  color:#d6e1eb!important;
  border-bottom:1px solid rgba(255,255,255,.16)!important;
}
.branch-premium-details.premium-location-theme > p strong{color:var(--loc-accent)!important;}
.branch-premium-details.premium-location-theme > p a{color:#fff!important;text-decoration-color:rgba(255,255,255,.34)!important;}
.branch-premium-details.premium-location-theme > p a:hover{color:#ffe1bf!important;text-decoration-color:#ffe1bf!important;}
.branch-premium-details.premium-location-theme .branch-premium-hours{color:#d6e1eb!important;}
.branch-premium-details.premium-location-theme .summary-row{border-bottom:1px solid rgba(255,255,255,.10);color:#d6e1eb!important;}
.branch-premium-details.premium-location-theme .summary-row span{color:#d6e1eb!important;}
.branch-premium-details.premium-location-theme .summary-row span:last-child{color:#fff!important;}
