/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

ol, ul {
  margin: 0;
  padding-left: 2rem;
}
/* Contact preference map and WhatsApp contact selector. */
.contact-map {
    display: block;
    width: 100%;
    height: 420px;
    min-height: 320px;
    border: 0;
    margin-bottom: 12px;
}
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
}
.whatsapp-float summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #146c43;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    list-style: none;
}
.whatsapp-float summary::-webkit-details-marker { display: none; }
.whatsapp-float__panel {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: min(280px, calc(100vw - 32px));
    padding: 20px;
    background: #fff;
    color: #212529;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 16px #0002;
}
.whatsapp-float__panel a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    color: #146c43;
    overflow-wrap: anywhere;
}
.whatsapp-float__panel a + a { border-top: 1px solid #ddd; }
.whatsapp-float summary:focus-visible,
.whatsapp-float a:focus-visible { outline: 3px solid #1769aa; outline-offset: 4px; }
@media (max-width: 575.98px) {
    .contact-map { height: 320px; }
    .whatsapp-float { right: 16px; }
}

/* The client directory gives differently shaped CMS logos equal readable space. */
.clients-page__header { padding: 40px 0; background: #f2f6fa; border-bottom: 1px solid #dce4ec; }
.clients-page__header nav { color: #475569; margin-bottom: 20px; }
.clients-page__header a { color: #165b91; }
.clients-page__header h1 { margin: 0; color: #183c5c; font-size: clamp(2rem, 4vw, 3rem); }
.clients-page__directory { padding-top: 48px; padding-bottom: 64px; }
.client-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.client-directory__item { min-width: 0; padding: 24px 16px; border: 1px solid #dce4ec; border-radius: 4px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.client-directory__item a { display: block; color: #165b91; }
.client-directory__logo { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.client-directory__logo img { max-width: 100%; width: auto; height: auto; max-height: 120px; object-fit: contain; }
.client-directory__name { display: block; color: #24394b; font-weight: 600; overflow-wrap: anywhere; }
.client-directory__item a:hover .client-directory__name { text-decoration: underline; }
.clients-page a:focus-visible { outline: 3px solid #165b91; outline-offset: 5px; }
#footer .visitor-statistics { padding: 40px 0 28px; background: #182d40; color: #fff; }
#footer .visitor-statistics h2 { color: #fff; font-size: 22px; margin-bottom: 28px; }
.visitor-statistics__values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.visitor-statistics__values dt { font-weight: 400; color: #e0e8ef; }
.visitor-statistics__values dd { font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; margin: 6px 0 0; overflow-wrap: anywhere; }
.visitor-statistics__status { margin: 0; font-size: 14px; color: #e0e8ef; }
@media (max-width: 991.98px) { .client-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .client-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .client-directory__item { padding: 20px 12px; }
    .client-directory__logo { height: 90px; }
    .client-directory__logo img { max-height: 90px; }
    .clients-page__directory { padding-top: 28px; padding-bottom: 40px; }
    .visitor-statistics__values { grid-template-columns: 1fr; gap: 16px; }
    .visitor-statistics__values > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid #405364; padding-bottom: 12px; }
    .visitor-statistics__values dd { font-size: 26px; margin: 0; }
}

/* Keep the named destination readable independently of Google's embedded UI. */
.contact-place-details h3 { margin-bottom: 10px; color: #183c5c; }
.contact-place-details address { margin-bottom: 24px; font-style: normal; color: #334155; overflow-wrap: anywhere; }
.contact-place-directions { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; color: #165b91; }
.contact-place-directions:focus-visible { outline: 3px solid #165b91; outline-offset: 4px; }
