:root {
    --hospital-ink: #173532;
    --hospital-muted: #647b78;
    --hospital-green: #0b6b63;
    --hospital-green-dark: #07514c;
    --hospital-mint: #dff2ed;
    --hospital-mint-light: #f2f9f7;
    --hospital-blue: #dbeef7;
    --hospital-cream: #f7f5ef;
    --hospital-red: #d74c4c;
    --hospital-line: #dfe9e6;
    --hospital-white: #fff;
    --hospital-radius: 22px;
    --hospital-shadow: 0 18px 50px rgba(21, 61, 56, .1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body.site {
    background: var(--hospital-white);
    color: var(--hospital-ink);
    font-family: "PT Sans", Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.65;
    overflow-x: hidden;
}

body.site *,
body.site *:before,
body.site *:after {
    box-sizing: border-box;
}

html,
body.site,
.body-wrapper,
.body-innerwrapper {
    max-width: 100%;
    overflow-x: hidden;
}

body.site h1,
body.site h2,
body.site h3,
body.site h4,
body.site h5,
body.site h6 {
    color: var(--hospital-ink);
    font-family: "PT Sans", Arial, sans-serif !important;
    font-style: normal;
    line-height: 1.15;
    margin-top: 0;
}

body.site a {
    color: var(--hospital-green);
}

body.site img {
    max-width: 100%;
}

.hospital-shell {
    margin: 0 auto;
    max-width: 1240px;
    padding-left: 28px;
    padding-right: 28px;
    width: 100%;
}

.section-pad {
    padding-bottom: 104px;
    padding-top: 104px;
}

.section-pad--small {
    padding-bottom: 72px;
    padding-top: 72px;
}

.hospital-icon-sprite {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.hospital-header svg,
.hospital-homepage svg,
.hospital-footer svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 20px;
}

/* The modern shell replaces the duplicated legacy header/footer while Joomla keeps rendering content. */
#sp-top-bar,
#sp-header,
#sp-section-1,
#sp-section-2,
#sp-main-menu,
#sp-footer,
body.hospital-home #sp-section-4,
body.hospital-home #sp-main-body,
body.hospital-inner #sp-section-6,
.offcanvas-menu,
.offcanvas-overlay {
    display: none !important;
}

.hospital-header {
    background: var(--hospital-white);
    box-shadow: 0 1px 0 rgba(16, 64, 59, .08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hospital-utility {
    background: #123e3a;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1.2;
}

.hospital-utility__inner,
.hospital-utility__contacts,
.hospital-utility__tools,
.hospital-utility a,
.hospital-vision {
    align-items: center;
    display: flex;
}

.hospital-utility__inner {
    justify-content: space-between;
    min-height: 42px;
}

.hospital-utility__contacts,
.hospital-utility__tools {
    gap: 24px;
}

.hospital-utility a,
.hospital-vision {
    color: inherit;
    gap: 7px;
    text-decoration: none;
}

.hospital-utility a:hover,
.hospital-utility a:focus,
.hospital-vision:hover,
.hospital-vision:focus {
    color: #fff;
}

.hospital-utility svg {
    height: 15px;
    width: 15px;
}

.hospital-utility strong {
    color: #fff;
    font-weight: 700;
}

.hospital-emergency {
    background: var(--hospital-red);
    align-self: stretch;
    color: #fff !important;
    margin-left: -14px;
    padding: 0 14px;
}

.hospital-emergency span {
    font-size: 16px;
    font-weight: 800;
}

.hospital-vision {
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.hospital-languages {
    align-items: center;
    display: flex;
    gap: 6px;
}

.hospital-languages a {
    font-weight: 700;
    letter-spacing: .04em;
}

.hospital-languages a.is-active {
    color: #fff;
}

.hospital-navigation__inner {
    align-items: center;
    display: flex;
    gap: 30px;
    min-height: 88px;
}

.hospital-brand {
    align-items: center;
    color: var(--hospital-ink) !important;
    display: flex;
    flex: 0 0 330px;
    gap: 13px;
    max-width: 330px;
    text-decoration: none !important;
}

.hospital-brand__mark {
    align-items: center;
    background: var(--hospital-mint-light);
    border: 1px solid var(--hospital-line);
    border-radius: 17px;
    display: flex;
    flex: 0 0 58px;
    height: 58px;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
    width: 58px;
}

.hospital-brand__mark img {
    height: 50px;
    object-fit: contain;
    width: 50px;
}

.hospital-brand__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.hospital-brand__copy strong {
    color: var(--hospital-ink);
    font-size: 16px;
    font-weight: 800;
}

.hospital-brand__copy small {
    color: var(--hospital-muted);
    font-size: 12px;
    margin-top: 6px;
}

.hospital-nav {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

.hospital-nav > ul {
    align-items: center;
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hospital-nav > ul > li {
    margin: 0;
    position: relative;
}

.hospital-nav > ul > li > a,
.hospital-nav__dropdown > button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--hospital-ink) !important;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    gap: 4px;
    line-height: 1.2;
    padding: 11px 10px;
    text-decoration: none !important;
    white-space: nowrap;
}

.hospital-nav > ul > li > a:hover,
.hospital-nav > ul > li > a:focus,
.hospital-nav__dropdown > button:hover,
.hospital-nav__dropdown > button:focus,
.hospital-nav > ul > li > a[aria-current="page"] {
    background: var(--hospital-mint-light);
    color: var(--hospital-green) !important;
}

.hospital-nav__dropdown > button svg {
    height: 15px;
    transition: transform .2s ease;
    width: 15px;
}

.hospital-nav__dropdown:hover > button svg,
.hospital-nav__dropdown:focus-within > button svg,
.hospital-nav__dropdown.is-open > button svg {
    transform: rotate(180deg);
}

.hospital-nav__panel {
    background: #fff;
    border: 1px solid var(--hospital-line);
    border-radius: 16px;
    box-shadow: var(--hospital-shadow);
    display: grid;
    left: 0;
    min-width: 235px;
    opacity: 0;
    padding: 8px;
    pointer-events: none;
    position: absolute;
    top: calc(100% - 1px);
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.hospital-nav__dropdown:hover .hospital-nav__panel,
.hospital-nav__dropdown:focus-within .hospital-nav__panel,
.hospital-nav__dropdown.is-open .hospital-nav__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hospital-nav__panel a {
    border-radius: 9px;
    color: var(--hospital-ink) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 12px;
    text-decoration: none !important;
}

.hospital-nav__panel a:hover,
.hospital-nav__panel a:focus {
    background: var(--hospital-mint-light);
    color: var(--hospital-green) !important;
}

.hospital-nav__cta {
    align-items: center;
    background: var(--hospital-green);
    border-radius: 12px;
    color: #fff !important;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    margin-left: 14px;
    padding: 12px 16px;
    text-decoration: none !important;
    white-space: nowrap;
}

.hospital-nav__cta:hover,
.hospital-nav__cta:focus {
    background: var(--hospital-green-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.hospital-menu-toggle {
    align-items: center;
    background: var(--hospital-mint-light);
    border: 1px solid var(--hospital-line);
    border-radius: 12px;
    color: var(--hospital-green);
    display: flex;
    height: 46px;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    width: 46px;
}

@media (min-width: 1100px) {
    .hospital-menu-toggle {
        display: none !important;
    }
}

.hospital-menu-toggle .menu-close {
    display: none;
}

.hospital-menu-toggle[aria-expanded="true"] .menu-open {
    display: none;
}

.hospital-menu-toggle[aria-expanded="true"] .menu-close {
    display: block;
}

.hospital-hero {
    background: var(--hospital-green);
    color: #fff;
    min-height: 600px;
    overflow: hidden;
    padding: 76px 0 92px;
    position: relative;
}

.hospital-hero__grid {
    align-items: center;
    display: grid;
    gap: 56px;
    grid-template-columns: minmax(0, 1fr) minmax(500px, 1.05fr);
    position: relative;
    z-index: 2;
}

.hospital-hero__grid > * {
    min-width: 0;
}

.hospital-hero__copy {
    max-width: 580px;
}

.hospital-kicker {
    align-items: center;
    color: var(--hospital-green);
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 10px;
    letter-spacing: .09em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hospital-kicker > span {
    background: currentColor;
    border-radius: 99px;
    height: 2px;
    width: 28px;
}

.hospital-kicker--light {
    color: #aee6d9;
}

.hospital-hero h1 {
    color: #fff !important;
    font-size: clamp(44px, 4.2vw, 56px) !important;
    font-weight: 800 !important;
    letter-spacing: -.045em;
    margin: 0 0 24px;
}

.hospital-hero__copy > p {
    color: rgba(255, 255, 255, .78);
    font-size: 19px;
    line-height: 1.65;
    margin: 0 0 34px;
    max-width: 540px;
}

.hospital-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hospital-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 13px;
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 13px 20px;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.hospital-button:hover,
.hospital-button:focus {
    transform: translateY(-2px);
}

.hospital-button--light {
    background: #fff;
    color: var(--hospital-green) !important;
}

.hospital-button--light:hover,
.hospital-button--light:focus {
    background: var(--hospital-mint);
    color: var(--hospital-green-dark) !important;
}

.hospital-button--ghost {
    border-color: rgba(255, 255, 255, .36);
    color: #fff !important;
}

.hospital-button--ghost:hover,
.hospital-button--ghost:focus {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .7);
    color: #fff !important;
}

.hospital-hero__visual {
    position: relative;
}

.hospital-hero__visual:before {
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 34px;
    content: "";
    inset: -16px 22px 22px -16px;
    position: absolute;
}

.hospital-hero__visual > img {
    aspect-ratio: 1.2 / 1;
    border-radius: 30px;
    box-shadow: 0 32px 70px rgba(0, 36, 33, .32);
    display: block;
    object-fit: cover;
    object-position: 58% center;
    position: relative;
    width: 100%;
}

.hospital-hero__badge {
    align-items: center;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, .93);
    border-radius: 16px;
    bottom: 24px;
    box-shadow: 0 16px 38px rgba(14, 51, 47, .18);
    color: var(--hospital-ink);
    display: flex;
    gap: 12px;
    left: -28px;
    max-width: 350px;
    padding: 15px 17px;
    position: absolute;
}

.hospital-hero__badge > span {
    align-items: center;
    background: var(--hospital-mint);
    border-radius: 12px;
    color: var(--hospital-green);
    display: flex;
    flex: 0 0 46px;
    height: 46px;
    justify-content: center;
}

.hospital-hero__badge > div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.hospital-hero__badge strong {
    font-size: 15px;
}

.hospital-hero__badge small {
    color: var(--hospital-muted);
    font-size: 12px;
    margin-top: 4px;
}

.hospital-hero__shape {
    border: 90px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
    height: 520px;
    position: absolute;
    right: -230px;
    top: -220px;
    width: 520px;
}

.hospital-section-heading h2,
.hospital-about h2,
.hospital-contact h2 {
    font-size: clamp(34px, 4vw, 52px) !important;
    font-weight: 800 !important;
    letter-spacing: -.035em;
    margin-bottom: 0;
}

.hospital-section-heading--inline {
    align-items: end;
    display: grid;
    gap: 50px;
    grid-template-columns: .8fr 1.2fr;
    margin-bottom: 30px;
}

.hospital-section-heading--inline h2 {
    font-size: 34px !important;
}

.hospital-section-heading--inline p {
    color: var(--hospital-muted);
    margin: 0;
    max-width: 570px;
}

.hospital-quick {
    background: var(--hospital-white);
}

.hospital-quick__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}

.hospital-quick-card {
    align-items: center;
    background: var(--hospital-mint-light);
    border: 1px solid transparent;
    border-radius: 18px;
    color: var(--hospital-ink) !important;
    display: flex;
    gap: 13px;
    min-height: 116px;
    padding: 20px;
    text-decoration: none !important;
    transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.hospital-quick-card:hover,
.hospital-quick-card:focus {
    background: #fff;
    border-color: var(--hospital-line);
    box-shadow: var(--hospital-shadow);
    transform: translateY(-4px);
}

.hospital-quick-card__icon {
    align-items: center;
    background: var(--hospital-green);
    border-radius: 13px;
    color: #fff;
    display: flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
}

.hospital-quick-card__copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    line-height: 1.28;
}

.hospital-quick-card__copy strong {
    font-size: 16px;
}

.hospital-quick-card__copy small {
    color: var(--hospital-muted);
    font-size: 12px;
    margin-top: 5px;
}

.hospital-quick-card__arrow {
    color: var(--hospital-green);
    height: 18px !important;
    width: 18px !important;
}

.hospital-about {
    background: var(--hospital-cream);
}

.hospital-about__grid {
    align-items: start;
    display: grid;
    gap: 90px;
    grid-template-columns: .9fr 1.1fr;
}

.hospital-about__intro > p {
    color: var(--hospital-muted);
    font-size: 17px;
    line-height: 1.8;
    margin: 28px 0 24px;
}

.hospital-text-link {
    align-items: center;
    color: var(--hospital-green) !important;
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    gap: 9px;
    text-decoration: none !important;
}

.hospital-text-link svg,
.hospital-news-card__link svg {
    transition: transform .2s ease;
}

.hospital-text-link:hover svg,
.hospital-text-link:focus svg,
.hospital-news-card__link:hover svg,
.hospital-news-card__link:focus svg {
    transform: translateX(4px);
}

.hospital-services {
    display: grid;
    gap: 14px;
}

.hospital-service {
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(20, 82, 74, .07);
    border-radius: 18px;
    display: flex;
    gap: 18px;
    padding: 24px;
}

.hospital-service > span {
    align-items: center;
    background: var(--hospital-mint);
    border-radius: 14px;
    color: var(--hospital-green);
    display: flex;
    flex: 0 0 50px;
    height: 50px;
    justify-content: center;
}

.hospital-service h3 {
    font-size: 19px !important;
    font-weight: 800 !important;
    margin: 2px 0 7px;
}

.hospital-service p {
    color: var(--hospital-muted);
    line-height: 1.55;
    margin: 0;
}

.hospital-stats {
    background: var(--hospital-green);
    color: #fff;
    padding: 44px 0;
}

.hospital-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.hospital-stat {
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    gap: 18px;
    min-height: 78px;
    padding: 0 42px;
}

.hospital-stat:first-child {
    padding-left: 0;
}

.hospital-stat:last-child {
    border-right: 0;
    padding-right: 0;
}

.hospital-stat strong {
    color: #fff;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}

.hospital-stat span {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.4;
}

.hospital-news {
    background: #fff;
}

.hospital-section-heading--spread {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 38px;
}

.hospital-section-heading--spread .hospital-kicker {
    margin-bottom: 14px;
}

.hospital-news__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1.35fr .825fr .825fr;
}

.hospital-news-card {
    background: var(--hospital-mint-light);
    border: 1px solid var(--hospital-line);
    border-radius: var(--hospital-radius);
    display: flex;
    flex-direction: column;
    min-height: 360px;
    overflow: hidden;
    position: relative;
}

.hospital-news-card__image {
    height: 220px;
    overflow: hidden;
}

.hospital-news-card__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hospital-news-card__number {
    color: rgba(11, 107, 99, .1);
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    padding: 24px 26px 0;
}

.hospital-news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.hospital-news-card time {
    color: var(--hospital-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.hospital-news-card h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.35;
    margin: 13px 0 25px;
}

.hospital-news-card h3 a {
    color: var(--hospital-ink) !important;
    text-decoration: none !important;
}

.hospital-news-card h3 a:hover,
.hospital-news-card h3 a:focus {
    color: var(--hospital-green) !important;
}

.hospital-news-card__link {
    align-items: center;
    color: var(--hospital-green) !important;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    margin-top: auto;
    text-decoration: none !important;
}

.hospital-path {
    background: var(--hospital-mint-light);
}

.hospital-section-heading--center {
    margin: 0 auto 48px;
    max-width: 740px;
    text-align: center;
}

.hospital-section-heading--center .hospital-kicker {
    justify-content: center;
}

.hospital-path__list {
    counter-reset: patient-path;
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

.hospital-path__list li {
    counter-increment: patient-path;
    position: relative;
}

.hospital-path__list li:not(:last-child):after {
    background: var(--hospital-line);
    content: "";
    height: 1px;
    left: 54px;
    position: absolute;
    top: 23px;
    width: calc(100% - 24px);
}

.hospital-path__list li > span {
    align-items: center;
    background: var(--hospital-green);
    border: 7px solid var(--hospital-mint-light);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 14px;
    font-weight: 800;
    height: 58px;
    justify-content: center;
    margin: -7px 0 18px -7px;
    position: relative;
    width: 58px;
    z-index: 2;
}

.hospital-path__list h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    margin: 0 0 9px;
}

.hospital-path__list p {
    color: var(--hospital-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.hospital-contact {
    background: #fff;
}

.hospital-contact__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1.5fr .75fr;
}

.hospital-contact__card {
    background: var(--hospital-green);
    border-radius: 28px;
    color: #fff;
    overflow: hidden;
    padding: 52px;
    position: relative;
}

.hospital-contact__card:after {
    border: 65px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    content: "";
    height: 380px;
    position: absolute;
    right: -190px;
    top: -170px;
    width: 380px;
}

.hospital-contact h2 {
    color: #fff !important;
    margin-bottom: 34px;
    position: relative;
    z-index: 1;
}

.hospital-contact__item {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    margin-bottom: 26px;
    max-width: 630px;
    position: relative;
    z-index: 1;
}

.hospital-contact__item > svg {
    flex: 0 0 22px;
    margin-top: 5px;
}

.hospital-contact__item div,
.hospital-contact__phones a {
    display: flex;
    flex-direction: column;
}

.hospital-contact__item small,
.hospital-contact__phones small {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.hospital-contact__item strong {
    color: #fff;
    font-size: 16px;
    line-height: 1.55;
}

.hospital-contact__phones {
    display: flex;
    gap: 44px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.hospital-contact__phones a {
    color: #fff !important;
    text-decoration: none !important;
}

.hospital-contact__phones strong {
    font-size: 20px;
}

.hospital-contact__card .hospital-actions {
    position: relative;
    z-index: 1;
}

.hospital-contact__aside {
    display: grid;
    gap: 18px;
    grid-template-rows: 1fr 1fr;
}

.hospital-emergency-card,
.hospital-fms-card {
    border-radius: var(--hospital-radius);
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.hospital-emergency-card {
    background: #fff1ef;
    border: 1px solid #f7dad5;
}

.hospital-emergency-card > span {
    color: var(--hospital-red);
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}

.hospital-emergency-card p,
.hospital-fms-card p {
    color: var(--hospital-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 13px 0;
}

.hospital-emergency-card a {
    align-items: center;
    color: var(--hospital-red) !important;
    display: flex;
    font-size: 18px;
    font-weight: 800;
    gap: 8px;
    margin-top: auto;
    text-decoration: none !important;
}

.hospital-fms-card {
    background: var(--hospital-blue);
    border: 1px solid #c8e2ee;
}

.hospital-fms-card > span {
    color: #307a98;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hospital-fms-card h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    margin: 8px 0 0;
}

.hospital-fms-card a {
    color: #1f6a88 !important;
    font-size: 30px;
    font-weight: 800;
    margin-top: auto;
    text-decoration: none !important;
}

/* Existing useful-resource module, retained and restyled. */
body.hospital-home #sp-section-6 {
    background: var(--hospital-cream);
    padding: 76px 0 84px;
}

body.hospital-home #sp-section-6 .container {
    max-width: 1240px;
    padding-left: 28px;
    padding-right: 28px;
    width: 100%;
}

body.hospital-home #sp-section-6 .sp-module-title {
    color: var(--hospital-ink);
    font-size: 32px !important;
    font-weight: 800 !important;
    letter-spacing: -.025em;
    margin-bottom: 30px;
    text-align: left;
}

body.hospital-home #sp-section-6 .uk-panel {
    align-items: center;
    background: #fff;
    border: 1px solid var(--hospital-line);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    min-height: 150px;
    padding: 20px;
}

body.hospital-home #sp-section-6 .uk-margin {
    color: var(--hospital-muted);
}

body.hospital-home #sp-section-6 img {
    height: 86px;
    object-fit: contain;
    width: auto;
}

.hospital-footer {
    background: #102d2a;
    color: rgba(255, 255, 255, .65);
    padding: 68px 0 24px;
}

.hospital-footer__grid {
    display: grid;
    gap: 58px;
    grid-template-columns: 1.7fr .7fr .8fr 1.2fr;
}

.hospital-brand--footer {
    color: #fff !important;
    max-width: 360px;
}

.hospital-brand--footer .hospital-brand__mark {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .12);
}

.hospital-brand--footer .hospital-brand__copy strong {
    color: #fff;
}

.hospital-brand--footer .hospital-brand__copy small {
    color: rgba(255, 255, 255, .55);
}

.hospital-footer__brand > p {
    line-height: 1.65;
    margin: 22px 0 18px;
    max-width: 390px;
}

.hospital-footer__socials {
    display: flex;
    gap: 18px;
}

.hospital-footer__socials a,
.hospital-footer__column a {
    color: rgba(255, 255, 255, .72) !important;
    text-decoration: none !important;
}

.hospital-footer__socials a {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hospital-footer__socials a:hover,
.hospital-footer__socials a:focus,
.hospital-footer__column a:hover,
.hospital-footer__column a:focus {
    color: #fff !important;
}

.hospital-footer__column {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hospital-footer__column h2 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    margin-bottom: 9px;
}

.hospital-footer__column a,
.hospital-footer__column p {
    font-size: 14px;
}

.hospital-footer__column p {
    line-height: 1.65;
    margin: 0 0 4px;
}

.hospital-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 22px;
}

/* Inner Joomla pages */
body.hospital-inner #sp-section-4 {
    background: var(--hospital-mint-light);
}

body.hospital-inner #sp-main-body {
    background: #fff;
    padding: 54px 0 88px;
}

body.hospital-inner #sp-main-body > .container,
body.hospital-inner #sp-main-body > .row {
    margin: 0 auto;
    max-width: 1240px !important;
    padding-left: 28px;
    padding-right: 28px;
    width: 100% !important;
}

body.hospital-inner #sp-main-body > .container > .container-inner {
    width: 100%;
}

body.hospital-inner #sp-component {
    padding-left: 0;
    padding-right: 0;
}

body.hospital-inner .article-details,
body.hospital-inner .blog,
body.hospital-inner .com-content-category-blog,
body.hospital-inner .sppb-container-inner,
body.hospital-inner .page-content > .sppb-section > .sppb-row-container {
    max-width: 1184px;
    width: 100% !important;
}

body.hospital-inner .article-details,
body.hospital-inner .blog,
body.hospital-inner .com-content-category-blog {
    margin: 0 auto;
}

body.hospital-inner h1,
body.hospital-inner .article-header h1,
body.hospital-inner .page-header h1,
body.hospital-inner .page-header h2 {
    font-size: clamp(34px, 4vw, 52px) !important;
    font-weight: 800 !important;
    letter-spacing: -.035em;
    margin-bottom: 32px;
}

body.hospital-inner h2 {
    font-size: 28px !important;
    font-weight: 800 !important;
}

body.hospital-inner h3 {
    font-size: 21px !important;
    font-weight: 800 !important;
}

body.hospital-inner .article-details p,
body.hospital-inner .item-page p {
    color: #465f5c;
    font-size: 16px;
    line-height: 1.8;
}

body.hospital-inner table {
    background: #fff;
    border: 1px solid var(--hospital-line);
    border-collapse: separate;
    border-radius: 14px;
    border-spacing: 0;
    display: block;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
}

body.hospital-inner table td,
body.hospital-inner table th {
    border-bottom: 1px solid var(--hospital-line);
    padding: 13px 15px;
}

body.hospital-inner table tr:last-child td {
    border-bottom: 0;
}

body.hospital-inner .article-info,
body.hospital-inner .article-ratings-social-share {
    color: var(--hospital-muted);
}

body.hospital-inner .pagination {
    gap: 6px;
}

body.hospital-inner .pagination .page-link {
    border-color: var(--hospital-line);
    border-radius: 9px;
    color: var(--hospital-green);
}

body.hospital-inner input[type="text"],
body.hospital-inner input[type="email"],
body.hospital-inner input[type="tel"],
body.hospital-inner select,
body.hospital-inner textarea {
    border: 1px solid #cfdedb;
    border-radius: 10px;
    min-height: 46px;
    padding: 10px 12px;
}

body.hospital-inner .btn-primary,
body.hospital-inner button.btn-primary {
    background: var(--hospital-green);
    border-color: var(--hospital-green);
    border-radius: 10px;
    font-weight: 700;
    padding: 11px 18px;
}

.sp-scroll-up {
    align-items: center;
    background: var(--hospital-green) !important;
    border-radius: 12px !important;
    bottom: 24px !important;
    color: #fff !important;
    display: flex;
    height: 46px;
    justify-content: center;
    right: 24px !important;
    width: 46px;
}

.hospital-scroll-top {
    align-items: center;
    background: var(--hospital-green);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    bottom: 24px;
    box-shadow: 0 12px 30px rgba(7, 81, 76, .3);
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 52px;
    justify-content: center;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    position: fixed;
    right: 24px;
    transform: translateY(14px);
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
    visibility: hidden;
    width: 52px;
    z-index: 900;
}

.hospital-scroll-top svg {
    height: 22px;
    transform: rotate(-90deg);
    width: 22px;
}

.hospital-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.hospital-scroll-top:hover,
.hospital-scroll-top:focus-visible {
    background: var(--hospital-green-dark);
    color: #fff;
    transform: translateY(-2px);
}

.has-modern-js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.has-modern-js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

*:focus-visible {
    outline: 3px solid #f0b94d !important;
    outline-offset: 3px;
}

@media (max-width: 1199px) {
    .hospital-brand {
        flex-basis: 270px;
        max-width: 270px;
    }

    .hospital-brand__copy strong {
        font-size: 14px;
    }

    .hospital-nav > ul > li > a,
    .hospital-nav__dropdown > button {
        font-size: 13px;
        padding-left: 7px;
        padding-right: 7px;
    }

    .hospital-nav__cta {
        font-size: 0;
        padding: 12px;
    }

    .hospital-nav__cta svg {
        height: 20px;
        width: 20px;
    }

    .hospital-hero__grid {
        gap: 48px;
        grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
    }

    .hospital-quick__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1099px) {
    html {
        scroll-padding-top: 88px;
    }

    .hospital-utility__reception,
    .hospital-vision span {
        display: none;
    }

    .hospital-navigation__inner {
        gap: 16px;
        min-height: 78px;
        position: relative;
    }

    .hospital-brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 360px;
    }

    .hospital-brand__mark {
        border-radius: 14px;
        flex-basis: 50px;
        height: 50px;
        width: 50px;
    }

    .hospital-brand__mark img {
        height: 42px;
        width: 42px;
    }

    .hospital-menu-toggle {
        display: flex !important;
        flex: 0 0 46px;
        position: absolute;
        right: 28px;
        top: 16px;
        z-index: 3;
    }

    .hospital-nav {
        align-items: stretch;
        background: #fff;
        border: 1px solid var(--hospital-line);
        border-radius: 0 0 18px 18px;
        box-shadow: var(--hospital-shadow);
        display: none;
        flex-direction: column;
        left: 20px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding: 14px;
        position: absolute;
        right: 20px;
        top: 100%;
    }

    .hospital-nav.is-open {
        display: flex;
    }

    .hospital-nav > ul {
        align-items: stretch;
        flex-direction: column;
        gap: 2px;
    }

    .hospital-nav > ul > li > a,
    .hospital-nav__dropdown > button {
        font-size: 15px;
        justify-content: space-between;
        padding: 13px 12px;
        width: 100%;
    }

    .hospital-nav__panel {
        border: 0;
        border-left: 2px solid var(--hospital-mint);
        border-radius: 0;
        box-shadow: none;
        display: none;
        margin: 2px 0 8px 15px;
        min-width: 0;
        opacity: 1;
        padding: 2px 0 2px 10px;
        pointer-events: auto;
        position: static;
        transform: none;
    }

    .hospital-nav__dropdown:hover .hospital-nav__panel,
    .hospital-nav__dropdown:focus-within .hospital-nav__panel {
        display: none;
    }

    .hospital-nav__dropdown.is-open .hospital-nav__panel {
        display: grid;
    }

    .hospital-nav__cta {
        font-size: 14px;
        justify-content: center;
        margin: 10px 0 0;
    }

    .hospital-hero {
        padding: 64px 0 80px;
    }

    .hospital-hero__grid,
    .hospital-about__grid,
    .hospital-contact__grid {
        gap: 54px;
        grid-template-columns: 1fr;
    }

    .hospital-hero__copy {
        max-width: 680px;
        width: 100%;
    }

    .hospital-hero__visual {
        margin-left: 32px;
        max-width: 760px;
    }

    .hospital-hero__visual > img {
        aspect-ratio: 1.75 / 1;
    }

    .hospital-about__intro {
        max-width: 720px;
    }

    .hospital-stats__grid {
        gap: 0;
    }

    .hospital-stat {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 0 24px;
    }

    .hospital-news__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hospital-news-card--featured {
        grid-column: span 2;
    }

    .hospital-news-card--featured .hospital-news-card__image {
        height: 320px;
    }

    .hospital-path__list {
        gap: 34px 24px;
        grid-template-columns: repeat(2, 1fr);
    }

    .hospital-path__list li:nth-child(2):after {
        display: none;
    }

    .hospital-contact__aside {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .hospital-footer__grid {
        gap: 42px 28px;
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .hospital-footer__contacts {
        grid-column: span 3;
    }
}

@media (max-width: 767px) {
    .hospital-shell,
    body.hospital-home #sp-section-6 .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-pad {
        padding-bottom: 74px;
        padding-top: 74px;
    }

    .section-pad--small {
        padding-bottom: 54px;
        padding-top: 54px;
    }

    .hospital-utility__inner {
        min-height: 38px;
    }

    .hospital-utility__contacts,
    .hospital-utility__tools {
        gap: 10px;
    }

    .hospital-utility__contacts > a:not(.hospital-emergency) span,
    .hospital-utility__contacts > a:not(.hospital-emergency) strong {
        display: none;
    }

    .hospital-utility__contacts > a:not(.hospital-emergency) svg {
        height: 18px;
        width: 18px;
    }

    .hospital-emergency {
        margin-left: -8px;
        padding: 0 9px;
    }

    .hospital-emergency span {
        font-size: 15px;
    }

    .hospital-brand {
        gap: 10px;
        max-width: calc(100% - 58px);
        padding-right: 4px;
    }

    .hospital-brand__copy strong {
        display: -webkit-box;
        font-size: 13px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .hospital-brand__copy small {
        display: none;
    }

    .hospital-navigation__inner {
        min-height: 72px;
        padding-right: 80px;
    }

    .hospital-nav {
        left: 10px;
        right: 10px;
    }

    .hospital-hero {
        min-height: 0;
        padding: 52px 0 66px;
    }

    .hospital-hero__grid {
        gap: 44px;
    }

    .hospital-hero h1 {
        font-size: clamp(38px, 12vw, 52px) !important;
        max-width: calc(100vw - 40px);
    }

    .hospital-hero__copy > p {
        max-width: calc(100vw - 40px);
    }

    .hospital-hero__copy > p {
        font-size: 17px;
    }

    .hospital-hero__visual {
        margin-left: 14px;
    }

    .hospital-hero__visual > img {
        aspect-ratio: 1.22 / 1;
        border-radius: 22px;
    }

    .hospital-hero__visual:before {
        border-radius: 25px;
        inset: -10px 12px 12px -10px;
    }

    .hospital-hero__badge {
        bottom: 14px;
        left: -14px;
        max-width: calc(100% - 8px);
    }

    .hospital-section-heading--inline {
        align-items: start;
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .hospital-section-heading h2,
    .hospital-about h2,
    .hospital-contact h2 {
        font-size: 36px !important;
    }

    .hospital-quick__grid {
        grid-template-columns: 1fr;
    }

    .hospital-about__grid {
        gap: 42px;
    }

    .hospital-stat {
        padding: 0 16px;
    }

    .hospital-stat strong {
        font-size: 34px;
    }

    .hospital-stat span {
        font-size: 12px;
    }

    .hospital-section-heading--spread {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .hospital-news__grid {
        grid-template-columns: 1fr;
    }

    .hospital-news-card--featured {
        grid-column: auto;
    }

    .hospital-news-card--featured .hospital-news-card__image {
        height: 230px;
    }

    .hospital-path__list {
        grid-template-columns: 1fr;
    }

    .hospital-path__list li {
        min-height: 100px;
        padding-left: 78px;
    }

    .hospital-path__list li > span {
        left: 0;
        margin: 0;
        position: absolute;
        top: 0;
    }

    .hospital-path__list li:not(:last-child):after {
        height: calc(100% + 34px);
        left: 25px;
        top: 48px;
        width: 1px;
    }

    .hospital-contact__card {
        padding: 38px 28px;
    }

    .hospital-contact__phones {
        flex-direction: column;
        gap: 16px;
    }

    .hospital-contact__aside {
        grid-template-columns: 1fr;
    }

    body.hospital-home #sp-section-6 {
        padding: 58px 0 64px;
    }

    .hospital-footer {
        padding-top: 54px;
    }

    .hospital-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hospital-footer__brand,
    .hospital-footer__contacts {
        grid-column: span 2;
    }

    .hospital-footer__bottom {
        flex-direction: column;
        gap: 4px;
    }

    .hospital-scroll-top {
        bottom: 16px;
        height: 48px;
        right: 16px;
        width: 48px;
    }

    body.hospital-inner #sp-main-body {
        padding: 42px 0 70px;
    }

    body.hospital-inner #sp-main-body > .container,
    body.hospital-inner #sp-main-body > .row {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 479px) {
    .hospital-utility__inner {
        position: relative;
    }

    .hospital-utility__contacts > a:not(.hospital-emergency) {
        display: none !important;
    }

    .hospital-utility__tools {
        display: flex !important;
        margin-left: auto;
    }

    .hospital-hero .hospital-actions,
    .hospital-contact__card .hospital-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hospital-button {
        width: 100%;
    }

    .hospital-hero__badge > span {
        display: none;
    }

    .hospital-hero__badge {
        padding: 12px 14px;
    }

    .hospital-stats {
        padding: 24px 0;
    }

    .hospital-stats__grid {
        grid-template-columns: 1fr;
    }

    .hospital-stat,
    .hospital-stat:first-child,
    .hospital-stat:last-child {
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
        border-right: 0;
        flex-direction: row;
        padding: 20px 0;
    }

    .hospital-stat:last-child {
        border-bottom: 0;
    }

    .hospital-stat strong {
        flex: 0 0 90px;
    }

    .hospital-contact__phones strong {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .has-modern-js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
