:root {
    --doctor-primary: #1274c0;
    --doctor-secondary: #e73a18;
    --doctor-dark: #0c2540;
    --doctor-soft: #edf6fd;
    --doctor-border: #d8e5ef
}

.doctors-site {
    margin: 0;
    color: var(--doctor-dark);
    font-family: Poppins, sans-serif;
    background: #fff
}

.doctors-shell {
    width: min(1320px, calc(100% - 40px));
    margin-inline: auto
}

.doctors-header {
    position: relative;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--doctor-border)
}

.doctors-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px
}

.doctors-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--doctor-dark);
    text-decoration: none
}

.doctors-brand span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--doctor-primary);
    color: #fff;
    font-size: 20px
}

.doctors-brand strong {
    font: 700 20px Montserrat, sans-serif
}

.doctors-brand img {
    display: block;
    max-width: 170px;
    max-height: 48px
}

.doctors-header nav {
    display: flex;
    align-items: center;
    gap: 26px
}

.doctors-header nav>a,
.doctors-header summary {
    color: var(--doctor-dark);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer
}

.doctors-header nav>a.active,
.doctors-header nav>a:hover {
    color: var(--doctor-primary)
}

.doctors-header details {
    position: relative
}

.doctors-header summary {
    list-style: none
}

.doctors-header details div {
    position: absolute;
    right: 0;
    top: 32px;
    min-width: 180px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--doctor-border);
    border-radius: 12px;
    box-shadow: 0 12px 28px #17332e1a
}

.doctors-header details div a {
    display: block;
    padding: 8px;
    color: var(--doctor-dark);
    text-decoration: none
}

.doctors-foundation-hero {
    padding: 110px 0;
    background: linear-gradient(120deg, var(--doctor-soft), #fff)
}

.doctors-foundation-hero span {
    color: var(--doctor-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em
}

.doctors-foundation-hero h1 {
    max-width: 750px;
    margin: 14px 0;
    font: 700 clamp(38px, 6vw, 68px)/1.08 Montserrat, sans-serif
}

.doctors-foundation-hero p {
    max-width: 640px;
    font-size: 18px;
    line-height: 1.7;
    color: #57706a
}

.doctors-foundation-hero a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 22px;
    border-radius: 10px;
    background: var(--doctor-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700
}

.doctors-empty {
    padding: 100px 0;
    min-height: 50vh;
    background: var(--doctor-soft)
}

.doctors-empty h1 {
    font: 700 44px Montserrat, sans-serif
}

.doctors-footer {
    padding-top: 64px;
    background: #122c27;
    color: #d5e5e1
}

.doctors-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 45px
}

.doctors-footer .doctors-brand {
    color: #fff
}

.doctors-footer nav,
.doctors-footer section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
}

.doctors-footer a {
    color: #d5e5e1;
    text-decoration: none
}

.doctors-footer i {
    margin-right: 8px
}

.doctors-footer-bottom {
    padding: 22px 0;
    border-top: 1px solid #ffffff1f
}

@media(max-width:800px) {
    .doctors-header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 18px
    }

    .doctors-header nav {
        width: 100%;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 4px
    }

    .doctors-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .doctors-foundation-hero {
        padding: 75px 0
    }
}

.doctors-site .findit-rich-text-shell {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}
/* Doctors directory visual foundation */
.doctors-header {
    position: relative;
    border-bottom: 1px solid #dce8f1;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 8px 30px rgba(12, 37, 64, .04)
}

.doctors-header-inner {
    min-height: 84px
}

.doctors-brand span {
    background: linear-gradient(145deg, var(--doctor-primary), #095895);
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(18, 116, 192, .22)
}

.doctors-brand strong {
    color: #0c2540;
    letter-spacing: -.035em
}

.doctors-header nav {
    scrollbar-width: none
}

.doctors-header nav::-webkit-scrollbar {
    display: none
}

.doctors-header nav>a,
.doctors-header summary {
    font-size: 14px
}

.doctors-header nav>a.active,
.doctors-header nav>a:hover,
.doctors-header details div a:hover {
    color: var(--doctor-primary)
}

.doctors-header-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 8px;
    background: var(--doctor-secondary);
    box-shadow: 0 8px 18px rgba(231, 58, 24, .2);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease
}

.doctors-header-cta:hover {
    box-shadow: 0 11px 24px rgba(231, 58, 24, .27);
    transform: translateY(-1px)
}

.doctors-header-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.doctors-language-switcher {
    position: relative
}

.doctors-language-switcher>summary {
    display: flex;
    min-width: 68px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid var(--doctor-border);
    border-radius: 8px;
    background: #fff;
    color: var(--doctor-dark);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    list-style: none
}

.doctors-language-switcher>summary::-webkit-details-marker {
    display: none
}

.doctors-language-switcher>summary img,
.doctors-language-switcher>div img {
    width: 22px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(12, 37, 64, .12)
}

.doctors-language-switcher>summary>i {
    font-size: 9px;
    transition: transform .18s ease
}

.doctors-language-switcher[open]>summary>i {
    transform: rotate(180deg)
}

.doctors-language-switcher>div {
    position: absolute;
    z-index: 30;
    top: calc(100% + 10px);
    right: 0;
    width: 168px;
    padding: 7px;
    border: 1px solid var(--doctor-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(12, 37, 64, .16)
}

.doctors-language-switcher form {
    margin: 0
}

.doctors-language-switcher button {
    display: grid;
    width: 100%;
    grid-template-columns: 24px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--doctor-dark);
    font: 600 13px Poppins, sans-serif;
    text-align: left;
    cursor: pointer
}

.doctors-language-switcher button:hover,
.doctors-language-switcher button.is-active {
    background: var(--doctor-soft);
    color: var(--doctor-primary)
}

.doctors-footer {
    position: relative;
    padding-top: 72px;
    background: #071c2e;
    color: #bed0df;
    overflow: hidden
}

.doctors-footer:before {
    position: absolute;
    width: 360px;
    height: 360px;
    right: -140px;
    top: -230px;
    border: 70px solid rgba(18, 116, 192, .14);
    border-radius: 50%;
    content: ""
}

.doctors-footer-grid {
    position: relative;
    grid-template-columns: 1.5fr .7fr 1fr;
    gap: 80px
}

.doctors-footer .doctors-brand strong {
    color: #fff
}

.doctors-footer .doctors-brand span {
    box-shadow: none
}

.doctors-footer-about>p {
    max-width: 420px;
    margin: 6px 0 0;
    color: #e5eef5;
    font-size: 15px;
    line-height: 1.7
}

.doctors-footer-about>small {
    max-width: 420px;
    color: #829caf;
    line-height: 1.6
}

.doctors-footer nav>strong,
.doctors-footer-contact>strong {
    margin-bottom: 5px;
    color: #fff;
    font: 700 14px Montserrat, sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em
}

.doctors-footer a {
    transition: color .2s ease
}

.doctors-footer nav>a:hover,
.doctors-footer-contact>a:hover {
    color: #fff
}

.doctors-footer-contact i {
    color: #6eb9f2
}

.doctors-footer-bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: #829caf;
    font-size: 12px
}

@media(max-width:980px) {
    .doctors-header-inner {
        flex-wrap: wrap;
        gap: 14px;
        padding-block: 14px
    }

    .doctors-header nav {
        order: 3;
        width: 100%;
        margin-left: 0
    }

    .doctors-header-cta {
        margin-left: auto
    }

    .doctors-header-actions {
        margin-left: auto
    }

    .doctors-footer-grid {
        gap: 40px
    }
    .doctors-navigation-panel {
        z-index: 9999;
        overflow: visible;
    }

    .doctors-navigation-panel.is-open {
        z-index: 9999;
    }

    .doctors-language-switcher {
        position: relative;
        z-index: 10000;
    }

    .doctors-language-switcher > div {
        position: absolute;
        z-index: 10001;
        left: 0;
        right: auto;
        top: calc(100% + 10px);
        width: 168px;
    }
}

@media(max-width:800px) {
    .doctors-header-inner {
        align-items: center;
        flex-direction: row
    }

    .doctors-header nav {
        display: flex
    }

    .doctors-footer-bottom {
        flex-direction: column;
        gap: 6px
    }
}

@media(max-width:520px) {
    .doctors-shell {
        width: min(100% - 28px, 1320px)
    }

    .doctors-brand strong {
        font-size: 17px
    }

    .doctors-header-cta {
        min-height: 40px;
        padding: 0 12px
    }

    .doctors-header-cta span {
        display: none
    }

    .doctors-language-switcher>summary {
        min-width: 54px;
        min-height: 40px;
        padding-inline: 8px
    }

    .doctors-language-switcher>summary span {
        display: none
    }

    .doctors-header nav {
        gap: 18px
    }

    .doctors-footer-grid {
        grid-template-columns: 1fr
    }
}

/* Keep Doctors CMS pages on the same vertical rhythm as the homepage. */
.doctors-site .findit-blog-widget,
.doctors-site .findit-rich-text-section,
.doctors-site .findit-contact-details-section,
.doctors-site .findit-contact-form-section {
    padding-block: 80px
}

.doctors-site .findit-blog-widget-heading,
.doctors-site .findit-blog-widget-search {
    margin-bottom: 32px
}

.doctors-site .findit-blog-pagination {
    margin-top: 36px
}

.doctors-site .findit-contact-details-grid {
    margin-top: 40px
}

.doctors-site .findit-contact-form-shell {
    gap: clamp(44px, 5vw, 64px)
}


/* Doctors responsive header navigation. */
.doctors-navigation-panel {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 32px
}

.doctors-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--doctor-border);
    border-radius: 8px;
    background: #fff;
    color: var(--doctor-dark);
    font-size: 24px;
    cursor: pointer
}

.doctors-menu-toggle:focus-visible {
    outline: 3px solid rgba(18, 116, 192, .2);
    outline-offset: 2px
}

@media(max-width:980px) {
    body.doctors-menu-open {
        overflow: hidden
    }

    .doctors-header {
        z-index: 50
    }

    .doctors-header-inner {
        position: relative;
        min-height: 72px;
        flex-wrap: nowrap;
        padding-block: 10px
    }

    .doctors-menu-toggle {
        display: inline-flex;
        flex: none;
        margin-left: auto
    }

    .doctors-navigation-panel {
        position: absolute;
        z-index: 50;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 88px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--doctor-border);
        border-radius: 0 0 12px 12px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(12, 37, 64, .16)
    }

    .doctors-navigation-panel.is-open {
        display: flex
    }

    .doctors-header .doctors-navigation-panel nav {
        order: initial;
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        overflow: visible
    }

    .doctors-navigation-panel nav>a,
    .doctors-navigation-panel nav>details>summary {
        display: flex;
        min-height: 46px;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
        border-radius: 7px
    }

    .doctors-navigation-panel nav>a:hover,
    .doctors-navigation-panel nav>a.active,
    .doctors-navigation-panel nav>details[open]>summary {
        background: var(--doctor-soft)
    }

    .doctors-navigation-panel nav>details {
        width: 100%
    }

    .doctors-header .doctors-navigation-panel nav>details>div {
        position: static;
        width: auto;
        min-width: 0;
        margin: 0 8px 8px;
        padding: 5px;
        border-radius: 8px;
        box-shadow: none
    }

    .doctors-header-actions {
        width: 100%;
        justify-content: space-between;
        margin: 10px 0 0;
        padding: 12px 4px 2px;
        border-top: 1px solid var(--doctor-border)
    }

    .doctors-header-cta {
        margin-left: 0
    }
}

@media(max-width:520px) {
    .doctors-navigation-panel .doctors-header-cta span,
    .doctors-navigation-panel .doctors-language-switcher>summary span {
        display: inline
    }

    .doctors-navigation-panel .doctors-language-switcher>summary {
        min-width: 68px
    }
}
@media(max-width:780px) {
    .doctors-site .findit-blog-widget,
    .doctors-site .findit-rich-text-section,
    .doctors-site .findit-contact-details-section,
    .doctors-site .findit-contact-form-section {
        padding-block: 60px
    }

    .doctors-site .findit-contact-details-grid {
        margin-top: 32px
    }

    .doctors-site .findit-contact-form-shell {
        gap: 32px
    }
}

@media(max-width:640px) {
    .doctors-site .findit-blog-widget-heading,
    .doctors-site .findit-blog-widget-search {
        margin-bottom: 28px
    }
}
/* Keep the Doctors navigation centered and available while scrolling. */
.doctors-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

@media(min-width:981px) {
    .doctors-header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .doctors-navigation-panel {
        display: contents;
    }

    .doctors-navigation-panel>nav {
        grid-column: 2;
        justify-self: center;
    }

    .doctors-navigation-panel>.doctors-header-actions {
        grid-column: 3;
        justify-self: end;
    }
}

@media(max-width:980px) {
    .doctors-header-inner {
        display: flex;
    }
}