/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* Consistent image sizes keep articles readable while browsing the carousel. */
.latest-blog { padding: 64px 0; background: #fff; color: #24394b; }
.latest-blog__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.latest-blog__heading h2 { margin: 0; color: #183c5c; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.latest-blog__all { display: inline-flex; align-items: center; min-height: 44px; color: #165b91; text-decoration: underline !important; text-underline-offset: 4px; }
.latest-blog__carousel:not(.owl-loaded) { display: flex; gap: 24px; overflow-x: auto; }
.latest-blog__carousel:not(.owl-loaded) > article { flex: 0 0 min(320px, 100%); }
.latest-blog__article { min-width: 0; padding: 4px 4px 16px; }
.latest-blog__image { aspect-ratio: 16 / 10; margin-bottom: 20px; background: #f2f6fa; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 4px; }
.latest-blog__image img { width: 100%; height: 100%; object-fit: cover; }
.latest-blog__image span { padding: 12px; color: #475569; text-align: center; font-size: 13px; }
.latest-blog__body { min-width: 0; overflow-wrap: anywhere; }
.latest-blog__body time { display: block; color: #475569; font-size: 14px; margin-bottom: 6px; }
.latest-blog__body h3 { margin: 0; font-size: 18px; line-height: 1.45; }
.latest-blog__body h3 a { display: inline-block; min-height: 44px; color: #183c5c; }
.latest-blog__body h3 a:hover { color: #165b91; text-decoration: underline !important; }
.latest-blog__body p { margin: 12px 0 0; color: #475569; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.latest-blog a:focus-visible, .latest-blog button:focus-visible { outline: 3px solid #165b91; outline-offset: 3px; }
.latest-blog__carousel .owl-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; padding: 4px; }
.latest-blog__carousel.owl-carousel .owl-nav button { position: static; opacity: 1; width: auto; height: auto; min-height: 44px; margin: 0; padding: 10px 16px; border: 1px solid #165b91; border-radius: 4px; color: #165b91; background: #fff; font-size: 14px; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) {
    .latest-blog__carousel .owl-stage { transition-duration: 0s !important; }
}
.latest-blog__status { padding: 24px; background: #f2f6fa; margin: 0; }
@media (max-width: 767.98px) {
    .latest-blog { padding: 40px 0; }
    .latest-blog__heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 24px; }
    .latest-blog__carousel .owl-nav { justify-content: center; flex-wrap: wrap; }
}

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; }
