/* ADM Location Pages – single location layout.
   Brand colours are variables: override them in the theme if needed, e.g.
   .adm-lp { --adm-lp-brand: #232D62; }
   Defaults follow the theme: navy #232D62, green #89C01E, Montserrat/Raleway. */
.adm-lp {
    --adm-lp-brand: #232D62;
    --adm-lp-brand-dark: #002169;
    --adm-lp-accent: #89C01E;
    --adm-lp-heading-font: 'Montserrat', sans-serif;
    --adm-lp-body-font: 'Raleway', sans-serif;
    font-family: var(--adm-lp-body-font);
    --adm-lp-ink: #1d2327;
    --adm-lp-muted: #5b6168;
    --adm-lp-line: #e3e6e8;
    --adm-lp-soft: #f4f6f5;
    --adm-lp-radius: 10px;
    color: var(--adm-lp-ink);
    background: var(--adm-lp-soft);
    padding-bottom: 56px;
}
.adm-lp *, .adm-lp *::before, .adm-lp *::after { box-sizing: border-box; }
.adm-lp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.adm-lp-hero { background: var(--adm-lp-brand); color: #fff; padding: 28px 0 34px; }
.adm-lp-back { color: #fff; opacity: .85; text-decoration: none; font-size: 14px; }
.adm-lp-back:hover { opacity: 1; text-decoration: underline; }
.adm-lp-title { color: #fff; margin: 10px 0 4px; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; }
.adm-lp-subtitle { margin: 0; font-size: 18px; opacity: .92; }
.adm-lp-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.adm-lp-badge { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 600; }
.adm-lp-badge--accepting { background: var(--adm-lp-accent); color: #fff; border-color: var(--adm-lp-accent); }
.adm-lp-badge--not_accepting { background: #fff4e5; color: #8a4b00; border-color: #fff4e5; }

/* Notice */
.adm-lp-notice { margin: 24px 0 0; padding: 14px 18px; border-radius: var(--adm-lp-radius); background: #fff; border-left: 5px solid var(--adm-lp-brand); }
.adm-lp-notice--not_accepting { border-left-color: var(--adm-lp-accent); }

/* Rows & cards */
.adm-lp-row { display: grid; gap: 24px; margin-top: 28px; }
.adm-lp-row--contact { grid-template-columns: minmax(280px, 1fr) 2fr; }
.adm-lp-row--hours { grid-template-columns: 2fr 1fr; align-items: start; }
.adm-lp-row--hours:has(> :only-child) { grid-template-columns: 1fr; }
.adm-lp-row--media { grid-template-columns: 1fr 1fr; align-items: start; }
.adm-lp-row--media.is-single { grid-template-columns: 1fr; }
.adm-lp-card { background: #fff; border: 1px solid var(--adm-lp-line); border-radius: var(--adm-lp-radius); padding: 22px; }
.adm-lp-section { margin-top: 36px; }
.adm-lp-title, .adm-lp-h2, .adm-lp-h3 { font-family: var(--adm-lp-heading-font); }
.adm-lp-h2 { font-size: 24px; margin: 0 0 14px; line-height: 1.25; }
.adm-lp-h3 { font-size: 18px; margin: 0 0 10px; }

/* Contact card */
.adm-lp-card--contact { border-top: 5px solid var(--adm-lp-accent); }
.adm-lp-card--contact .adm-lp-h2 { font-size: 20px; }
.adm-lp-address { font-style: normal; line-height: 1.6; margin: 0 0 14px; }
.adm-lp-contact-list { list-style: none; margin: 0 0 18px; padding: 0; }
.adm-lp-contact-list li { margin: 0 0 8px; }
.adm-lp-label { display: block; font-size: 13px; color: var(--adm-lp-muted); }
.adm-lp-contact-list a { color: var(--adm-lp-brand-dark); font-weight: 600; font-size: 17px; text-decoration: none; }
.adm-lp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-lp-btn { display: inline-block; border-radius: 6px; padding: 11px 18px; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none; border: 2px solid var(--adm-lp-brand); transition: background .15s, color .15s; }
.adm-lp-btn--primary { background: var(--adm-lp-brand); color: #fff; }
.adm-lp-btn--primary:hover, .adm-lp-btn--primary:focus { background: var(--adm-lp-brand-dark); border-color: var(--adm-lp-brand-dark); color: #fff; }
.adm-lp-btn--ghost { background: #fff; color: var(--adm-lp-brand-dark); }
.adm-lp-btn--ghost:hover, .adm-lp-btn--ghost:focus { background: var(--adm-lp-soft); }
.adm-lp-share-status { min-height: 1.2em; margin: 8px 0 0; font-size: 14px; color: var(--adm-lp-brand-dark); }
.adm-lp-social { margin: 10px 0 0; display: flex; gap: 14px; font-size: 14px; }

/* Today */
.adm-lp .adm-lp-today { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; margin: 0 0 10px; padding: 8px 10px; border-radius: 6px; font-size: 15px; line-height: 1.35; }
.adm-lp-today.is-open { background: #f1f7e6; color: #3d5a0b; }
.adm-lp-today.is-closed { background: #fdeceb; color: #9b1c1c; }
.adm-lp-today.is-tbd { background: var(--adm-lp-soft); color: var(--adm-lp-muted); }
.adm-lp .adm-lp-today strong, .adm-lp .adm-lp-today span { font-size: inherit; line-height: inherit; }
.adm-lp-special--today { margin: -4px 0 10px; }

/* Map */
.adm-lp-map > a, .adm-lp-map img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.adm-lp-map { border-radius: var(--adm-lp-radius); overflow: hidden; min-height: 340px; background: #dfe5e2; border: 1px solid var(--adm-lp-line); }
.adm-lp-map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* Hours */
.adm-lp-hours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.adm-lp-hours-card { min-width: 0; padding: 20px; }
.adm-lp-hours-table { width: 100%; border-collapse: collapse; margin: 0; table-layout: auto; }
/* Fixed sizes so the theme's larger base font can't push times out of the card. */
.adm-lp .adm-lp-hours-table th, .adm-lp .adm-lp-hours-table td { font-size: 15px; line-height: 1.35; }
.adm-lp-hours-table th, .adm-lp-hours-table td { padding: 6px 0; border: 0; border-bottom: 1px solid var(--adm-lp-line); text-align: left; vertical-align: top; background: none; }
.adm-lp-hours-table th { font-weight: 500; padding-right: 10px; white-space: nowrap; }
.adm-lp-hours-table td { text-align: right; }
.adm-lp-special { white-space: normal; }
.adm-lp-hours-table tr:last-child th, .adm-lp-hours-table tr:last-child td { border-bottom: 0; }
.adm-lp-hours-table tr.is-today th, .adm-lp-hours-table tr.is-today td { font-weight: 700; color: var(--adm-lp-brand-dark); }
.adm-lp-special { display: block; font-size: 13px; color: #8a4b00; font-weight: 500; }
.adm-lp-wait { margin: 0 0 8px; font-size: 14px; background: var(--adm-lp-soft); padding: 6px 10px; border-radius: 6px; }
.adm-lp .adm-lp-hours-msg { margin: 0 0 8px; font-size: 14px; line-height: 1.45; color: var(--adm-lp-muted); overflow-wrap: anywhere; }
.adm-lp .adm-lp-wait, .adm-lp .adm-lp-special { font-size: 13px; line-height: 1.4; }
.adm-lp-hours-card .adm-lp-h3 { font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }

/* Announcements */
.adm-lp-announcement { background: var(--adm-lp-brand); border-color: var(--adm-lp-brand); color: #fff; margin-bottom: 14px; }
.adm-lp-announcement .adm-lp-h3, .adm-lp-announcement a { color: #fff; }
.adm-lp-announcement-body > :last-child { margin-bottom: 0; }

/* Parking */
.adm-lp-parking { background: #f1f7e6; border-radius: var(--adm-lp-radius); padding: 24px; }

/* Description – white section */
.adm-lp-description { background: #fff; margin-top: 40px; padding: 44px 0; border-top: 1px solid var(--adm-lp-line); border-bottom: 1px solid var(--adm-lp-line); }
.adm-lp-richtext { font-size: 17px; line-height: 1.7; }
.adm-lp-description .adm-lp-richtext { max-width: 900px; }
.adm-lp-richtext > :first-child { margin-top: 0; }
.adm-lp-richtext > :last-child { margin-bottom: 0; }

/* Media */
.adm-lp-video iframe, .adm-lp-video video, .adm-lp-video .wp-video { width: 100% !important; max-width: 100%; aspect-ratio: 16 / 9; height: auto !important; border: 0; border-radius: var(--adm-lp-radius); display: block; }
.adm-lp-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.adm-lp-gallery.count-1 { grid-template-columns: 1fr; }
.adm-lp-photo { display: block; overflow: hidden; border-radius: var(--adm-lp-radius); aspect-ratio: 4 / 3; background: #dfe5e2; }
.adm-lp-photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.adm-lp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.adm-lp-photo:hover img { transform: scale(1.03); }

/* Documents / links / apps */
.adm-lp-row--resources { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.adm-lp-resource-list { list-style: none; margin: 0; padding: 0; }
.adm-lp-resource-list li { padding: 8px 0; border-bottom: 1px solid var(--adm-lp-line); }
.adm-lp-resource-list li:last-child { border-bottom: 0; }
.adm-lp-resource-list a { color: var(--adm-lp-brand); font-weight: 600; text-decoration: none; }
.adm-lp-doc::before { content: "PDF"; display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: #c0392b; border-radius: 3px; padding: 1px 5px; margin-right: 8px; vertical-align: 1px; }
.adm-lp-apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.adm-lp-app { display: flex; gap: 18px; align-items: flex-start; }
.adm-lp-app-icon { width: 96px; max-width: 30%; height: auto; flex: 0 0 auto; }
.adm-lp-app p { margin: 0 0 12px; }

/* Google reviews */
.adm-lp-reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.adm-lp .adm-lp-reviews-summary { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 16px; }
.adm-lp-reviews-avg { font-size: 28px; line-height: 1; color: var(--adm-lp-brand); }
.adm-lp-stars { display: inline-flex; gap: 1px; font-size: 18px; line-height: 1; }
.adm-lp-star { color: #d5d8dc; background: linear-gradient(90deg, #f5b301 var(--fill), #d5d8dc var(--fill)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.adm-lp-review-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.adm-lp-review { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.adm-lp-review-head { display: flex; gap: 12px; align-items: center; }
.adm-lp-review-photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 40px; }
.adm-lp-review-head > div { display: flex; flex-direction: column; gap: 2px; }
.adm-lp .adm-lp-review-name { font-size: 15px; }
.adm-lp .adm-lp-review-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--adm-lp-muted); }
.adm-lp .adm-lp-review-meta .adm-lp-stars { font-size: 14px; }
.adm-lp .adm-lp-review-text { margin: 0; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.adm-lp-review-reply { background: var(--adm-lp-soft); border-radius: 6px; padding: 10px 12px; font-size: 14px; }
.adm-lp .adm-lp-review-reply p { margin: 4px 0 0; font-size: 14px; }
.adm-lp-reviews-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.adm-lp .adm-lp-reviews-source { margin: 10px 0 0; font-size: 12px; color: var(--adm-lp-muted); }

/* Staff */
.adm-lp-staff-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.adm-lp-person { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.adm-lp-person > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.adm-lp-person-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 64px; background: var(--adm-lp-soft); }
.adm-lp-person-name { font-size: 16px; }
.adm-lp-person-title { font-size: 14px; color: var(--adm-lp-muted); }
.adm-lp-person strong + a, .adm-lp-person a strong { color: var(--adm-lp-ink); }
.adm-lp-person a { color: var(--adm-lp-brand-dark); font-size: 14px; text-decoration: none; overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .adm-lp-row--contact, .adm-lp-row--hours, .adm-lp-row--media { grid-template-columns: 1fr; }
    .adm-lp-map, .adm-lp-map iframe { min-height: 280px; }
}

/* Share-plugin output (e.g. AddToAny) never belongs inside the location description. */
.adm-lp-description .addtoany_share_save_container,
.adm-lp-description .addtoany_content,
.adm-lp-description .a2a_kit { display: none !important; }
