/* Shared contact cards retain each panel's original red, yellow and green. */
html body #contact:has(.ig-office-hours) .contact-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin: 0;
    align-items: stretch;
}
html body #contact:has(.ig-office-hours) .contact-panel-grid::before,
html body #contact:has(.ig-office-hours) .contact-panel-grid::after { display: none; }
html body #contact:has(.ig-office-hours) .contact-panel-grid > div {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 0;
    float: none;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 40, 45, .1);
}
html body #contact:has(.ig-office-hours) .contact-panel-grid > .yellow > div {
    display: flex;
    flex-direction: column;
    flex: 1;
}
html body #contact:has(.ig-office-hours) .contact-panel-grid .thumbnail {
    padding: 17px 20px;
    margin: 0;
    border: 0 !important;
    border-bottom: 1px solid rgba(25, 40, 50, .15) !important;
}
html body #contact:has(.ig-office-hours) .contact-panel-grid .footerSecHeader {
    margin: 0;
    padding: 0;
    color: #20313b;
    font: 700 21px/1.3 Arial, sans-serif;
    text-align: left;
}
html body #contact:has(.ig-office-hours) .contact-panel-grid .caption {
    flex: 1;
    min-height: 0;
    padding: 18px;
    border: 0;
}
html body #contact:has(.ig-office-hours) .contact-panel-grid .red .caption {
    display: flex;
    flex-direction: column;
}
html body #contact .ig-contact-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin: 0 0 20px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 10px;
}
html body #contact .ig-contact-logo img { width: 160px; max-width: 100%; height: auto; }
html body #contact:has(.ig-office-hours) .contact-panel-grid address {
    margin: 0;
    color: #20313b;
    font: 400 15px/1.65 Arial, sans-serif;
}
html body #contact:has(.ig-office-hours) .contact-panel-grid address p { margin: 0 0 16px; }
html body #contact:has(.ig-office-hours) .contact-panel-grid address p + br { display: none; }
html body #contact:has(.ig-office-hours) .contact-panel-grid address a { color: #20313b; }
html body #contact:has(.ig-office-hours) .contact-panel-grid .map-route {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1fr) 100px;
    grid-template-rows: auto minmax(210px, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 12px;
}
html body #contact:has(.ig-office-hours) .contact-panel-grid .map-route > div { display: contents; }
html body #contact:has(.ig-office-hours) .contact-panel-grid .map-route p { margin: 0; font: 600 14px/1.5 Arial, sans-serif; color: #20313b; }
html body #contact:has(.ig-office-hours) .contact-panel-grid .map-route img { display: block; width: 100px; height: auto; margin: 0; }
html body #contact:has(.ig-office-hours) .contact-panel-grid .map-route iframe { grid-column: 1 / -1; width: 100%; height: 100%; min-height: 210px; max-height: none; border: 0; border-radius: 10px; }
html body #contact:has(.ig-office-hours) .contact-panel-grid .map-route:not(:has(iframe)) { flex: 0 1 auto; grid-template-rows: auto; }
html body #contact .ig-office-hours {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    color: #20313b;
    font: 400 14px/1.6 Arial, sans-serif;
}
html body #contact .ig-office-hours p { margin: 0; color: inherit; font: inherit; }
html body #contact .ig-office-hours .ig-hours-location { font-weight: 600; font-size: 14px; }
html body #contact .ig-office-hours .ig-open-days {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0;
    padding: 0 18px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 10px;
}
html body #contact .ig-office-hours .ig-open-days > div { display: flex; flex-direction: column; justify-content: center; flex: 1; padding: 24px 0; }
html body #contact .ig-office-hours .ig-open-days > div + div { border-top: 1px solid rgba(32, 49, 59, .14); }
html body #contact .ig-office-hours dt { margin: 0 0 4px; font: 700 16px/1.4 Arial, sans-serif; }
html body #contact .ig-office-hours dd { margin: 0; font: 600 21px/1.45 Arial, sans-serif; letter-spacing: -.4px; }
html body #contact .ig-office-hours dd span { font-weight: 400; }
html body #contact .ig-office-hours .ig-closed-days p:first-child { font-weight: 700; margin-bottom: 3px; }
html body #contact .ig-office-hours .office-hours-note { padding: 18px 16px; border-radius: 10px; background: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.65; text-align: left; }
html body #contact .ig-office-hours .ig-hours-note-logo { display: block; width: 132px; max-width: 100%; height: auto; margin: 0 auto 14px; }
html body #contact .ig-office-hours .office-hours-note a { color: #20313b; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
html body #contact .ig-office-hours .office-hours-note .ig-hours-highlight { display: inline-block; padding: 2px 7px; border-radius: 4px; background: #ffd05a; color: #20313b; font-weight: 700; white-space: nowrap; }
html body #contact .ig-office-hours .ig-office-access { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(32, 49, 59, .18); }
html body #contact .ig-office-hours .ig-office-access img { flex: 0 0 48px; width: 48px; height: 49px; margin: 0; }
html body #contact .ig-office-hours .ig-office-access p { font-size: 14px; font-weight: 600; line-height: 1.5; }
@media (max-width: 991px) {
    html body #contact:has(.ig-office-hours) .contact-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    html body #contact:has(.ig-office-hours) .contact-panel-grid > .green { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
    html body #contact:has(.ig-office-hours) .contact-panel-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    html body #contact .ig-office-hours { height: auto; gap: 18px; }
    html body #contact .ig-office-hours dd { font-size: 20px; }
}
