/* Shared layout, components and responsive breakpoints. Photography lives in photo-update.css. */
:root {
    --navy: #282c5a;
    --deep: #111a3d;
    --teal: #08b3a5;
    --teal2: #1aa8bb;
    --red: #c52646;
    --ink: #17213b;
    --muted: #667085;
    --soft: #eff9f9;
    --line: #dfe7ec;
    --white: #fff;
    --shadow: 0 18px 55px rgba(23,33,59,.11);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    position: relative;
    margin: 0;
    font-family: Manrope,Arial,sans-serif;
    color: var(--ink);
    line-height: 1.7;
    background: #fff;
    overflow-wrap: anywhere;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
.container {
    width: min(1160px,calc(100% - 40px));
    margin: auto;
}
.site-header {
    height: 86px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 3px 20px rgba(20,30,60,.06);
}
.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}
.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.brand b {
    font-size: 17px;
    color: var(--navy);
}
.brand small {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal);
    font-size: 9px;
    margin-top: 5px;
}
.site-header nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-header nav>a {
    font-size: 13px;
    font-weight: 700;
    position: relative;
}
.site-header nav>a:not(.btn):after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--teal);
    transition: .25s;
}
.site-header nav>a:hover:after,.site-header nav>a.active:after {
    right: 0;
}
.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
    flex-shrink: 0;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,var(--teal),var(--teal2));
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 13px 22px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(8,179,165,.22);
    transition: transform .25s ease;
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    font-family: inherit;
    font-size: inherit;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(8,179,165,.3);
}
.btn-small {
    padding: 10px 16px!important;
    color: #fff!important;
}
.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
    box-shadow: none;
}
.btn-white {
    background: #fff;
    color: var(--navy);
}
.hero {
    background: radial-gradient(circle at 85% 20%,rgba(8,179,165,.18),transparent 30%),linear-gradient(120deg,#eafdff 0%,#f6fbff 55%,#edfafa 100%);
    position: relative;
}
.hero-grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 60px;
}
.eyebrow {
    display: inline-block;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 12px;
}
.eyebrow.light {
    color: #91f1e8;
}
.hero h1,.page-hero h1,.article-hero h1 {
    font-size: clamp(44px,6vw,76px);
    line-height: 1.04;
    letter-spacing: -3px;
    margin: 0 0 22px;
    color: var(--navy);
}
.hero h1 em {
    font-style: normal;
    color: var(--teal);
}
.lead {
    font-size: 18px;
    max-width: 620px;
    color: #4b5870;
}
.hero-points,.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 25px 0;
    font-size: 13px;
    font-weight: 700;
}
.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.trust {
    font-size: 11px;
    color: var(--muted);
    margin-top: 32px;
}
.hero-visual {
    position: relative;
}
.doctor-art {
    height: auto;
    border-radius: 36px 36px 64px 36px;
    background: linear-gradient(145deg,var(--navy),#3e477e);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
}
.doctor-art:before,.doctor-art:after {
    content: "";
    position: absolute;
    border: 70px solid rgba(255,255,255,.08);
    border-radius: 50%;
    width: 280px;
    height: 280px;
}
.doctor-art:before {
    right: -100px;
    top: -120px;
}
.doctor-art:after {
    left: -120px;
    bottom: -130px;
}
.cross {
    font-size: 220px;
    line-height: 1;
    color: rgba(8,179,165,.72);
    font-weight: 200;
    position: absolute;
    right: 60px;
    top: 70px;
    transform: rotate(7deg);
}
.care-card {
    position: relative;
    background: rgba(255,255,255,.94);
    padding: 20px 22px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    z-index: 3;
}
.care-card b {
    color: var(--navy);
    font-size: 18px;
}
.care-card span {
    font-size: 13px;
    color: var(--muted);
}
.section {
    padding: 90px 0;
}
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 42px;
}
.section-head h2,.split h2,.form-layout h2,.cta h2 {
    font-size: clamp(30px,4vw,46px);
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--navy);
    letter-spacing: -1.5px;
}
.section-head p {
    color: var(--muted);
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.service-card,.blog-card,.doctor-card,.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 27px;
    transition: transform .3s ease;
}
.service-card .icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(145deg,#d9f9f6,#dceeff);
    color: var(--navy);
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 18px;
}
.service-card h3,.blog-card h3,.doctor-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
}
.service-card p,.blog-card p,.doctor-card p,.info-card p {
    font-size: 14px;
    color: var(--muted);
}
.service-card a,.blog-card a {
    font-size: 13px;
    color: var(--teal);
    font-weight: 800;
}
.why {
    padding: 90px 0;
    background: linear-gradient(120deg,var(--deep),var(--navy));
    color: #fff;
}
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px;
    align-items: center;
}
.why h2 {
    color: #fff;
}
.why p {
    color: #d5d9e7;
}
.stats {
    display: flex;
    gap: 35px;
    margin-top: 35px;
    flex-wrap: wrap;
}
.stats div {
    display: flex;
    flex-direction: column;
}
.stats b {
    font-size: 28px;
    color: #70e1d8;
}
.stats span {
    font-size: 12px;
}
.promise {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    padding: 35px;
    border-radius: 22px;
}
.promise h3 {
    font-size: 24px;
}
.promise li {
    margin: 12px 0;
}
.blog-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.blog-cover {
    height: auto;
    background: linear-gradient(145deg,#d6f7f4,#dbe4ff);
    display: grid;
    place-items: center;
    position: relative;
    aspect-ratio: 1.85;
    overflow: hidden;
}
.blog-cover:before {
    content: "+";
    font-size: 130px;
    color: rgba(8,179,165,.24);
    font-weight: 300;
    position: absolute;
}
.blog-cover span {
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    z-index: 1;
}
.blog-body {
    padding: 25px;
    background: #fff;
}
.blog-body small {
    color: var(--muted);
}
.cta {
    padding: 65px 0;
    background: linear-gradient(120deg,var(--teal),#087e98);
    color: #fff;
}
.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.cta h2 {
    color: #fff;
    margin: 0;
}
.emergency {
    background: var(--red);
    color: #fff;
}
.emergency-row {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.emergency-row div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.emergency-row span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.emergency-row a {
    font-weight: 800;
    background: #fff;
    color: var(--red);
    padding: 10px 18px;
    border-radius: 30px;
}
footer {
    background: #0b1434;
    color: #cdd4e7;
    padding: 65px 0 0;
    padding-bottom: 150px;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .7fr) repeat(2, minmax(0, 1fr));
    gap: 45px;
}
.footer-brand {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.footer-grid h4 {
    color: #fff;
    margin-top: 0;
}
.footer-grid a {
    display: block;
    font-size: 13px;
    margin: 7px 0;
}
.footer-grid p {
    font-size: 13px;
}
.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px;
    margin-top: 45px;
    font-size: 11px;
}
.whatsapp {
    width: 52px; height: 52px; border-radius: 50%; background: #22c55e; color: #fff;
    display: grid; place-items: center; box-shadow: 0 5px 16px rgb(0 0 0 / 14%);
}
.page-hero,.article-hero {
    padding: 105px 0;
    background: radial-gradient(circle at 90% 30%,rgba(8,179,165,.25),transparent 25%),linear-gradient(120deg,var(--deep),var(--navy));
    color: #fff;
}
.page-hero h1,.article-hero h1 {
    color: #fff;
    font-size: clamp(38px,5vw,58px);
    margin-bottom: 12px;
}
.page-hero p,.article-hero p {
    max-width: 700px;
    color: #d9deed;
}
.value-panel,.form-card,.panel {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 34px;
}
.value {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.value:last-child {
    border: 0;
}
.value span {
    color: var(--muted);
    font-size: 14px;
}
.soft {
    background: var(--soft);
}
.doctor-card {
    text-align: center; padding: 0; display: flex; flex-direction: column;
    border-color: #dce8ed; box-shadow: 0 5px 18px rgb(23 33 59 / 5%);
}
.avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg,var(--navy),var(--teal));
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}
.doctor-card .btn {
    margin-top: auto; width: 100%;
}
.pharmacy-art {
    aspect-ratio: 1.3; border-radius: 30px; background: linear-gradient(145deg,#d5f8f5,#dce5ff);
    display: grid; place-items: center;
}
.pharmacy-art span {
    font-size: 130px;
    font-weight: 800;
    color: var(--navy);
}
.check-list {
    padding: 0;
    list-style: none;
    margin: 25px 0;
}
.check-list li {
    margin: 10px 0;
}
.check-list li:before {
    content: "✓";
    color: var(--teal);
    font-weight: 800;
    margin-right: 10px;
}
.article-hero span {
    display: block;
    margin-top: 30px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.article {
    max-width: 780px;
    padding: 70px 20px;
    font-size: 17px;
    white-space: normal;
}
.form-layout {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: 70px;
    align-items: start;
}
.contact-list>div {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
}
.contact-list span {
    color: var(--muted);
    font-size: 14px;
}
label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 17px;
}
input,textarea,select {
    width: 100%;
    font: inherit;
    border: 1px solid #ced8df;
    border-radius: 9px;
    padding: 12px;
    background: #fbfdfe;
    color: var(--ink);
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
}
input:focus,textarea:focus,select:focus {
    outline: 2px solid rgba(8,179,165,.2);
    border-color: var(--teal);
}
.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.errors {
    background: #fff0f2;
    color: #9b1830;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 13px;
}
.notice {
    background: #fff6e5;
    border-left: 4px solid #f59e0b;
    padding: 15px;
    margin-top: 25px;
}
.flash {
    max-width: 1160px;
    margin: 15px auto;
    background: #e3fbf4;
    color: #087457;
    padding: 13px 18px;
    border-radius: 10px;
    width: min(1160px, calc(100% - 28px));
}
.pagination {
    margin-top: 35px;
    width: min(1160px, calc(100% - 28px));
    margin: 35px auto 0;
}
.reveal {
    /* Content stays visible until a short, one-shot Web Animation starts. */
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 10% 10%,rgba(8,179,165,.25),transparent 25%),var(--deep);
    padding: 25px;
}
.login-card {
    width: min(430px,100%);
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.login-card img {
    height: 92px;
    display: block;
    margin: auto;
}
.login-card h1 {
    text-align: center;
    color: var(--navy);
    margin-bottom: 0;
}
.login-card>p {
    text-align: center;
    color: var(--muted);
}
.login-card .btn {
    width: 100%;
}
.login-card .back {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}
.admin-body {
    background: #f4f7fa;
}
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 255px;
    background: var(--deep);
    padding: 25px 18px;
    display: flex;
    flex-direction: column;
    z-index: 60;
    overflow-y: auto;
}
.admin-logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 800;
    gap: 10px;
}
.admin-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
}
.sidebar nav {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sidebar nav a,.sidebar form button {
    border: 0;
    background: none;
    color: #dfe5f5;
    padding: 12px;
    border-radius: 8px;
    text-align: left;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}
.sidebar nav a:hover {
    background: rgba(255,255,255,.1);
}
.sidebar form {
    margin-top: auto;
}
.sidebar form button {
    cursor: pointer;
    width: 100%;
}
.admin-main {
    margin-left: 255px;
}
.admin-main>header {
    height: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 35px;
    min-height: 74px;
    gap: 16px;
}
.admin-main>header div {
    display: flex;
    flex-direction: column;
}
.admin-main>header small {
    color: var(--muted);
}
.admin-menu {
    display: none;
}
.admin-content {
    padding: 35px;
    max-width: 1400px;
    margin: auto;
}
.admin-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 18px;
    flex-wrap: wrap;
}
.admin-title h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.2;
}
.admin-title p {
    margin: 0;
    color: var(--muted);
}
.metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}
.metrics div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
}
.metrics b {
    font-size: 34px;
    color: var(--navy);
}
.metrics span {
    font-size: 12px;
    color: var(--muted);
}
.panel {
    padding: 0;
    overflow: hidden;
}
.panel-head {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    flex-wrap: wrap;
}
.panel-head h2 {
    margin: 0;
    color: var(--navy);
}
table {
    width: 100%;
    border-collapse: collapse;
}
th,td {
    text-align: left;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    vertical-align: top;
}
th {
    background: #fafbfc;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
}
td small {
    display: block;
    color: var(--muted);
}
.status {
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
}
.status.live {
    background: #e0f8ef;
    color: #07815b;
}
.status.draft {
    background: #fff3dc;
    color: #a55f00;
}
.actions-cell {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.actions-cell a,.actions-cell button {
    font: inherit;
    color: var(--teal);
    border: 0;
    background: none;
    cursor: pointer;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.actions-cell button {
    color: var(--red);
}
.editor {
    padding: 30px;
    max-width: 850px;
}
.checkbox {
    flex-direction: row;
    align-items: center;
}
.checkbox input {
    width: auto;
}
.table-wrap {
    overflow-x: auto;
    max-width: 100%;
    overscroll-behavior-x: contain;
}
.single-post-section {
    padding: 65px 0;
    background-color: #f8fafc;
}
.single-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 45px;
    align-items: start;
}
.single-post-main {
    min-width: 0;
    padding: 30px;
    border: 1px solid #e3eaf0;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 15px 45px rgba(23, 33, 59, 0.08);
}
.single-post-main .article-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.65;
    margin-bottom: 32px;
    overflow: hidden;
    border-radius: 16px;
    background-color: #f1f6f8;
}
.single-post-main .article-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
.article-content {
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.post-sidebar {
    position: sticky;
    top: 110px;
    padding: 27px;
    border: 1px solid #e3eaf0;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 15px 45px rgba(23, 33, 59, 0.08);
}
.sidebar-heading {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 2px solid #08b3a5;
}
.sidebar-heading span {
    color: #08b3a5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.sidebar-heading h2 {
    margin: 5px 0 0;
    color: #282c5a;
    font-size: 25px;
}
.sidebar-post {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid #e3eaf0;
}
.sidebar-post:first-child {
    padding-top: 0;
}
.sidebar-post:last-child {
    border-bottom: 0;
}
.sidebar-post-image {
    width: 95px;
    aspect-ratio: 95 / 82;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(145deg, #d6f7f4, #dbe4ff);
}
.sidebar-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sidebar-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(8, 179, 165, 0.5);
    font-size: 45px;
}
.sidebar-post-content {
    min-width: 0;
}
.sidebar-post-content small {
    display: block;
    margin-bottom: 4px;
    color: #667085;
    font-size: 11px;
}
.sidebar-post-content h3 {
    display: -webkit-box;
    margin: 0 0 5px;
    overflow: hidden;
    color: #282c5a;
    font-size: 14px;
    line-height: 1.4;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sidebar-post-content span {
    color: #08b3a5;
    font-size: 11px;
    font-weight: 800;
}
.sidebar-post:hover h3 {
    color: #08b3a5;
}
.sidebar-view-all {
    display: block;
    margin-top: 20px;
    padding: 12px;
    border-radius: 9px;
    background: linear-gradient(135deg, #08b3a5, #1aa8bb);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}
.sidebar-empty {
    color: #667085;
    font-size: 13px;
}
.blog-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}
.blog-cover:has(img)::before {
    display: none;
}
textarea {
    resize: vertical;
}

.table-wrap table {
    min-width: 640px;
    table-layout: fixed;
}
.pagination nav, .pagination-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.pagination-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination a, .pagination [aria-current], .pagination [aria-disabled] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.pagination [aria-current] {
    background: var(--navy);
    color: #fff;
}
.whatsapp svg {
    width: 30px;
    height: 30px;
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
}
.hero-grid > *, .split > *, .form-layout > *, .card-grid > *, .footer-grid > *, .two > *, .metrics > *, .single-post-layout > *, .nav > *, .admin-title > *, label {
    min-width: 0;
}
.menu-btn, .admin-menu, .sidebar-close {
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    color: var(--navy);
}
.sidebar-close {
    display: none;
}
.admin-overlay {
    display: none;
}
.current-featured-image {
    margin-bottom: 20px;
}
.current-featured-image img {
    display: block;
    max-height: 300px;
    object-fit: contain;
    margin-top: 10px;
}
.promise ul, .errors ul {
    padding-left: 20px;
}


/* A single floating dock keeps controls spaced and reserves room at the footer. */
.floating-tools { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 40; }
.floating-tools.at-footer { position: absolute; }
.scroll-top { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 14px; color: #fff; background: var(--navy); box-shadow: 0 5px 16px rgb(17 26 61 / 15%); cursor: pointer; opacity: 0; transform: translateY(6px); visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.scroll-top[hidden] { display: none; }
.scroll-top.is-visible { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.scroll-top svg { width: 23px; height: 23px; }
.doctor-copy { padding: 24px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.doctor-copy p { margin: 6px 0 22px; }
.team-badge { display: inline-block; margin-bottom: 12px; color: #087e83; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.value-card { --value-accent: var(--teal); position: relative; border-top: 3px solid var(--value-accent); box-shadow: 0 5px 18px rgb(23 33 59 / 5%); }
.value-vision { --value-accent: var(--navy); }
.value-commitment { --value-accent: var(--teal2); }
.value-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--value-accent); background: linear-gradient(135deg,#e5f8f4,#edf1fb); margin-bottom: 22px; }
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { color: var(--navy); margin: 0 0 10px; }
.value-card p { margin: 0; }

@media (hover: hover) and (pointer: fine) {
    .service-card:hover, .blog-card:hover, .doctor-card:hover, .value-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgb(23 33 59 / 10%); }
    .doctor-card:hover { border-color: var(--teal); }
    .doctor-card:hover .team-photo { transform: scale(1.015); }
    .scroll-top:hover { background: var(--teal); }
}
/* The full navigation needs more room than the content's tablet breakpoint. */
@media (max-width: 1100px) {
    .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 18px; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100dvh - 86px); overflow-y: auto; box-shadow: var(--shadow); }
    .site-header nav.open { display: flex; }
    .site-header nav > a { padding: 10px 14px; min-height: 44px; }
    .site-header nav > a::after { display: none; }
    .menu-btn { display: block; }
}
@media (max-width: 900px) {
    .hero-grid, .split, .form-layout, .single-post-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .hero-grid { padding: 65px 0 40px; min-height: auto; }
    .hero-visual { display: block; }
    .doctor-art { width: 100%; max-width: 600px; justify-self: center; }
    .card-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-sidebar { position: static; }
    .sidebar { width: min(280px, calc(100% - 40px)); transform: translateX(-100%); visibility: hidden; transition: transform .25s ease; }
    .sidebar.open { transform: none; visibility: visible; }
    .sidebar-close { display: block; align-self: flex-end; border: 0; background: transparent; color: #fff; font-size: 26px; }
    .admin-overlay:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 55; background: rgb(17 26 61 / 55%); border: 0; }
    body.admin-nav-open { overflow-y: hidden; }
    .admin-main { margin-left: 0; }
    .admin-menu { display: block; margin-right: auto; border: 0; background: transparent; font-size: 25px; }
    .admin-content { padding: 22px; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 28px); }
    .brand { gap: 8px; }
    .brand img { width: 44px; height: 44px; }
    .brand b { font-size: 14px; }
    .brand small { font-size: 8px; letter-spacing: 1px; }
    .hero-grid { padding: 44px 0 35px; }
    .hero h1 { font-size: clamp(36px, 10vw, 48px); letter-spacing: -1.5px; }
    .hero .lead { font-size: 16px; }
    .hero-points, .trust { flex-direction: column; gap: 10px; }
    .actions, .cta-row, .emergency-row { flex-direction: column; align-items: stretch; }
    .actions .btn { width: 100%; }
    .section, .why { padding: 60px 0; }
    .page-hero, .article-hero { padding: 60px 0; }
    .page-hero h1, .article-hero h1 { font-size: clamp(32px, 9vw, 44px); letter-spacing: -1.5px; }
    .card-grid, .footer-grid, .two, .metrics { grid-template-columns: minmax(0, 1fr); }
    .stats { gap: 20px; }
    .promise, .value-panel, .form-card { padding: 22px; }
    .form-card > .btn, .editor > .btn { width: 100%; }
    .emergency-row { padding: 20px 0; }
    .emergency-row a { text-align: center; }
    .single-post-section { padding: 35px 0; }
    .single-post-main, .post-sidebar { padding: 18px; border-radius: 15px; }

    .sidebar-post { grid-template-columns: 75px minmax(0, 1fr); gap: 12px; }
    .sidebar-post-image { width: 75px; }
    .admin-title { align-items: flex-start; flex-direction: column; }
    .admin-content { padding: 18px 14px; }
    .admin-main > header { padding: 12px 14px; }
    .editor { padding: 20px; }
    .login-page { padding: 16px; }
    .login-card { padding: 24px; min-width: 0; }
    .floating-tools { right: 14px; bottom: 14px; gap: 10px; }
    .floating-tools > a, .floating-tools > button { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero-doctor-item { opacity: 1; transform: none; }
}
