/*
Theme Name: Iconic One
Custom CSS Template for Iconic One.
*/

/* Palette (from the logo): navy #00175b, blue #083aa7, gold #f5ba32,
   text #1f2d3d, muted #6b7a90, border #e3e9f3, soft #f6f8fc */

/* ============================================================
   HEADER / MAIN NAV  (desktop; mobile keeps the theme select)
   ============================================================ */
.site-header { margin-bottom: 0; }
#main.wrapper { padding-top: 18px; }

@media screen and (min-width: 768px) {
    .themonic-nav ul.nav-menu,
    .themonic-nav div.nav-menu > ul {
        background: #00175b;
        text-align: center;
        border-bottom: 3px solid #f5ba32;
        box-shadow: 0 6px 16px rgba(0, 23, 91, 0.18);
        padding: 0 12px;
    }
    .themonic-nav ul.nav-menu > li { position: relative; vertical-align: middle; }
    .themonic-nav ul.nav-menu > li + li:before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 1px;
        height: 16px;
        margin-top: -8px;
        background: rgba(255, 255, 255, 0.16);
    }
    .themonic-nav li:hover,
    .themonic-nav li.current-menu-item { background: transparent; }
    .themonic-nav ul.nav-menu > li > a {
        color: #ffffff;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        line-height: 54px;
        padding: 0 22px;
        transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }
    .themonic-nav ul.nav-menu > li > a:hover,
    .themonic-nav ul.nav-menu > li:hover > a {
        color: #f5ba32;
        background: rgba(255, 255, 255, 0.06);
    }
    .themonic-nav ul.nav-menu > li.current-menu-item > a,
    .themonic-nav ul.nav-menu > li.current_page_item > a {
        color: #f5ba32;
        background: transparent;
        box-shadow: inset 0 -3px 0 #f5ba32;
        font-weight: 700;
    }
    .themonic-nav ul.nav-menu > li.menu-item-has-children > a:after {
        content: "\25BE";
        margin-left: 7px;
        font-size: 11px;
        opacity: 0.8;
    }

    /* "Free Consultation" as a gold call-to-action pill */
    .themonic-nav ul.nav-menu > li#menu-item-20:before { display: none; }
    .themonic-nav ul.nav-menu > li#menu-item-20 { margin-left: 10px; }
    .themonic-nav ul.nav-menu > li#menu-item-20 > a {
        background: #f5ba32;
        color: #00175b;
        line-height: 36px;
        padding: 0 20px;
        border-radius: 6px;
        box-shadow: 0 3px 10px rgba(245, 186, 50, 0.35);
    }
    .themonic-nav ul.nav-menu > li#menu-item-20 > a:hover {
        background: #ffc94d;
        color: #00175b;
        box-shadow: 0 5px 14px rgba(245, 186, 50, 0.5);
    }

    /* dropdown: opens on hover, keyboard focus or click/tap */
    .themonic-nav ul li.open > ul,
    .themonic-nav ul li:focus-within > ul { display: block; }
    .themonic-nav li ul {
        background: #ffffff;
        border-top: 3px solid #f5ba32;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 14px 30px rgba(0, 23, 91, 0.22);
        overflow: hidden;
        text-align: left;
        z-index: 50;
    }
    .themonic-nav li ul li a {
        background: #ffffff;
        color: #1f2d3d;
        border-bottom: 1px solid #eef2f8;
        border-left: 3px solid transparent;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 1.4;
        padding: 11px 16px;
        width: 260px;
        text-transform: none;
        transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    }
    .themonic-nav li ul li a:hover {
        background: #f6f8fc;
        color: #083aa7;
        border-left-color: #f5ba32;
    }
}

/* ============================================================
   SIDEBAR (#secondary)
   ============================================================ */
.widget-area,
.widget-area .widget { text-align: left; }
.widget-area .widget p { padding: 0; }

/* ---- shared card ---- */
.widget-area .widget_categories,
.widget-area .widget_recent_entries,
.widget-area .form {
    background: #ffffff;
    border: 1px solid #e3e9f3;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 23, 91, 0.06);
}
.widget-area .widget_categories,
.widget-area .widget_recent_entries {
    padding: 18px 18px 8px;
    margin-bottom: 22px;
}

/* ---- section titles: navy text + short gold bar ---- */
.widget-area .widget_categories .widget-title,
.widget-area .widget_recent_entries .widget-title {
    background: none;
    color: #00175b;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 0 0 10px;
    padding: 0 0 10px;
    position: relative;
    border-bottom: 1px solid #eef2f8;
}
.widget-area .widget_categories .widget-title:after,
.widget-area .widget_recent_entries .widget-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 38px;
    height: 3px;
    border-radius: 3px;
    background: #f5ba32;
}

/* ---- lists ---- */
.widget-area .widget_categories ul,
.widget-area .widget_recent_entries ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget-area .widget_categories li,
.widget-area .widget_recent_entries li {
    list-style: none;
    margin: 0;
    padding: 9px 0 9px 16px;
    position: relative;
    border-bottom: 1px solid #f0f3f9;
    line-height: 1.45;
    text-align: left;
}
.widget-area .widget_categories li:last-child,
.widget-area .widget_recent_entries li:last-child { border-bottom: 0; }
.widget-area .widget_categories li:before,
.widget-area .widget_recent_entries li:before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 7px;
    color: #f5ba32;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
    transition: transform 0.18s ease;
}
.widget-area .widget_categories li a,
.widget-area .widget_recent_entries li a {
    color: #1f2d3d;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.18s ease;
}
.widget-area .widget_categories li:hover:before,
.widget-area .widget_recent_entries li:hover:before { transform: translateX(3px); }
.widget-area .widget_categories li:hover a,
.widget-area .widget_recent_entries li:hover a { color: #083aa7; }
.widget-area .widget_recent_entries li a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ---- search: one compact bar with icon button ---- */
.widget-area .widget_search { margin-bottom: 22px; }
.widget-area .widget_search .searchform div {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #d7deea;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 23, 91, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.widget-area .widget_search .searchform div:focus-within {
    border-color: #083aa7;
    box-shadow: 0 0 0 3px rgba(8, 58, 167, 0.12);
}
.widget-area .widget_search #s {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 12px 14px;
    font-size: 14px;
    color: #1f2d3d;
    outline: 0;
}
.widget-area .widget_search #searchsubmit {
    flex: 0 0 50px;
    width: 50px;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    color: transparent;
    font-size: 0;
    background: #00175b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f5ba32' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / 18px no-repeat;
    transition: background-color 0.2s ease;
}
.widget-area .widget_search #searchsubmit:hover { background-color: #083aa7; }

/* ============================================================
   Sidebar "Free Consultations" form — compact
   ============================================================ */
.widget-area .form,
#secondary .form {
    padding: 0 0 16px;
    overflow: hidden;
    margin-bottom: 22px;
}
.widget-area .form h2 {
    background: #00175b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 14px;
    padding: 14px 12px 12px;
    border-bottom: 3px solid #f5ba32;
    line-height: 1.3;
}
.widget-area .form h2:after {
    content: "Get a free opinion from top surgeons";
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-transform: none;
    color: #c4cfe8;
}
.widget-area .form .field {
    height: auto;
    padding: 0 16px;
    margin-bottom: 8px;
}
.widget-area .form .field p,
.widget-area .form .submitbtn p { margin: 0; padding: 0; }
.widget-area .form .wpcf7-form-control-wrap { display: block; }
.widget-area .form input[type="text"],
.widget-area .form input[type="email"],
.widget-area .form input[type="tel"],
.widget-area .form select.wpcf7-select,
.widget-area .form textarea {
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    padding: 8px 12px;
    border: 1px solid #d7deea;
    border-radius: 8px;
    background: #ffffff;
    font-size: 13.5px;
    color: #1f2d3d;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.widget-area .form textarea { height: 64px; resize: vertical; overflow: auto; }
.widget-area .form input::placeholder,
.widget-area .form textarea::placeholder { color: #8a97ab; }
.widget-area .form input:focus,
.widget-area .form select.wpcf7-select:focus,
.widget-area .form textarea:focus {
    outline: 0;
    border-color: #083aa7;
    box-shadow: 0 0 0 3px rgba(8, 58, 167, 0.12);
}
.widget-area .form .submitbtn {
    margin-top: 4px;
    padding: 0 16px;
}
.widget-area .form .submitbtn input[type="submit"] {
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 8px;
    padding: 0 16px;
    background: #f5ba32;
    color: #00175b;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 186, 50, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.widget-area .form .submitbtn input[type="submit"]:hover {
    background: #ffc94d;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 186, 50, 0.5);
}
.widget-area .form .wpcf7-not-valid { border-color: #d33 !important; }
.widget-area .form .wpcf7-not-valid-tip { font-size: 12px; color: #d33; display: block; margin-top: 3px; }
.widget-area .form .submitbtn p { position: relative; }
.widget-area .form .wpcf7-spinner { position: absolute; right: 10px; top: 9px; margin: 0; }

/* Recent Posts: long list scrolls like Categories */

/* ============================================================
   HEADER LOGO  (local file: no dependency on the live site / http)
   ============================================================ */
.innerheader { background-image: url('/blog/wp-content/uploads/2015/08/spine-and-neuro-hospital-in-india.png') !important; }

/* ============================================================
   BUTTONS  (Consult Now is gold, WhatsApp stays green)
   ============================================================ */
a.btn.btn-primary:not([href*="whatsapp"]),
a.btn.btn-primary:not([href*="whatsapp"]):visited {
    background-color: #f5ba32 !important;
    border: 1px solid #e0a41c !important;
    color: #00175b !important;
    font-weight: 700;
    border-radius: 6px !important;
    box-shadow: 0 3px 10px rgba(245, 186, 50, 0.3);
}
a.btn.btn-primary:not([href*="whatsapp"]):hover,
a.btn.btn-primary:not([href*="whatsapp"]):focus {
    background-color: #ffc94d !important;
    border-color: #f5ba32 !important;
    color: #00175b !important;
    box-shadow: 0 5px 14px rgba(245, 186, 50, 0.45);
}

/* ============================================================
   TOP-10 INDIA doctor photos: same framed look as the city pages
   ============================================================ */
img.MobRespo[src*="/assets/images/national/"] {
    border: 3px solid #083aa7;
    border-radius: 4px;
    box-sizing: border-box;
    background: #ecf4f6;
}

/* ============================================================
   POST TYPOGRAPHY  (every post matches the city pages)
   ============================================================ */
.entry-content,
.entry-content p,
.entry-content li { font-size: 14px; line-height: 24px; }
.entry-content h1,
.entry-content h2 { font-size: 18px; line-height: 1.6; font-weight: 700; color: rgba(118, 51, 40, 0.88); margin: 24px 0 12px; }
.entry-content h3 { font-size: 16px; line-height: 1.6; font-weight: 600; color: #316ba6; margin: 22px 0 10px; }
.entry-content h4 { font-size: 14px; line-height: 1.6; font-weight: 600; color: #316ba6; margin: 18px 0 8px; }
.entry-content h1 mark, .entry-content h2 mark,
.entry-content h3 mark, .entry-content h4 mark { background: transparent !important; color: inherit !important; }
.entry-content h1 *, .entry-content h2 *, .entry-content h3 *, .entry-content h4 * { font-size: inherit; }
.entry-content ul, .entry-content ol { margin-bottom: 16px; }
.entry-content table { border-collapse: collapse; }
.entry-content table td, .entry-content table th { font-size: 14px; padding: 8px 10px; border: 1px solid #d7deea; }

/* ============================================================
   ENQUIRY FORMS  (sidebar card, popup, /enquiry/ page)
   ============================================================ */
.enq-form { font-family: inherit; color: #1f2d3d; text-align: left; }
.enq-form * { box-sizing: border-box; }
.enq-title { background: #00175b; border-bottom: 3px solid #f5ba32; padding: 14px 18px 12px; text-align: center; border-radius: 12px 12px 0 0; }
.enq-title h2 { margin: 0; padding: 0; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; line-height: 1.3; background: none; border: 0; }
.enq-title p { margin: 4px 0 0; padding: 0; color: rgba(255, 255, 255, 0.78); font-size: 11.5px; letter-spacing: 0.4px; text-align: center; line-height: 1.4; }
.enq-sidebar, .enq-page { background: #fff; border: 1px solid #e3e9f3; border-radius: 12px; box-shadow: 0 4px 18px rgba(0, 23, 91, 0.08); margin-bottom: 22px; }
.enq-body { padding: 14px 16px 16px; }
.enq-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.enq-field { margin: 0 0 11px; position: relative; }
.enq-field label { display: block; margin: 0 0 4px; font-size: 12px; font-weight: 700; color: #00175b; letter-spacing: 0.2px; }
.enq-field label b { color: #c0392b; font-weight: 700; }
.enq-field label i { color: #6b7a90; font-weight: 400; font-style: normal; font-size: 11px; }
.enq-field input[type="text"], .enq-field input[type="email"], .enq-field input[type="tel"], .enq-field select, .enq-field textarea {
    display: block; width: 100%; max-width: 100%; margin: 0; padding: 10px 12px; font: inherit; font-size: 14px; line-height: 1.4; color: #1f2d3d;
    background: #fff; border: 1px solid #d7deea; border-radius: 8px; outline: 0; box-shadow: none; height: auto; min-height: 42px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.enq-field textarea { resize: vertical; min-height: 78px; }
.enq-field select { appearance: auto; padding-right: 8px; }
.enq-field input::placeholder, .enq-field textarea::placeholder { color: #94a0b3; opacity: 1; }
.enq-field input:focus, .enq-field select:focus, .enq-field textarea:focus { border-color: #083aa7; box-shadow: 0 0 0 3px rgba(8, 58, 167, 0.14); }
.enq-field.enq-invalid input, .enq-field.enq-invalid select, .enq-field.enq-invalid textarea { border-color: #c0392b; background: #fff8f7; }
.enq-field.enq-invalid input:focus, .enq-field.enq-invalid select:focus, .enq-field.enq-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15); }
.enq-err { display: block; min-height: 0; margin: 3px 0 0; font-size: 12px; line-height: 1.35; color: #c0392b; font-weight: 600; }
.enq-err:empty { display: none; }
.enq-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.enq-submit {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; margin: 4px 0 0; padding: 12px 16px;
    font: inherit; font-size: 14px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #00175b; background: #f5ba32;
    border: 0; border-radius: 8px; cursor: pointer; box-shadow: 0 4px 12px rgba(245, 186, 50, 0.4); transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.enq-submit:hover { background: #ffc94d; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(245, 186, 50, 0.5); }
.enq-submit:focus-visible { outline: 3px solid rgba(8, 58, 167, 0.4); outline-offset: 2px; }
.enq-submit:disabled { cursor: progress; opacity: 0.85; transform: none; }
.enq-spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(0, 23, 91, 0.3); border-top-color: #00175b; border-radius: 50%; animation: enq-spin 0.7s linear infinite; }
.enq-busy .enq-spinner { display: inline-block; }
@keyframes enq-spin { to { transform: rotate(360deg); } }
.enq-note { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; padding: 0; font-size: 11.5px; line-height: 1.4; color: #6b7a90; text-align: left; }
.enq-note svg { flex: 0 0 auto; margin-top: 1px; color: #2e8b57; }
.enq-status { margin: 10px 0 0; font-size: 13px; line-height: 1.4; font-weight: 600; }
.enq-status:empty { display: none; }
.enq-status.enq-error { color: #c0392b; background: #fff3f1; border: 1px solid #f3c6c0; border-radius: 8px; padding: 9px 12px; }
.enq-status.enq-info { color: #083aa7; }
.enq-status.enq-ok { color: #1c7a43; background: #effaf3; border: 1px solid #bfe6cd; border-radius: 8px; padding: 9px 12px; }
.enq-noscript { font-size: 13px; padding: 12px; }

/* page variant: a centred card with a two-column grid */
.enq-page { max-width: 760px; margin: 10px auto 30px; }
.enq-page .enq-body { padding: 22px 24px 24px; }
.enq-page .enq-title { padding: 20px 24px 16px; }
.enq-page .enq-title h2 { font-size: 20px; }
.enq-page .enq-grid { grid-template-columns: 1fr 1fr; column-gap: 16px; }

/* popup */
.enq-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 12, 48, 0.62); backdrop-filter: blur(3px); overflow-y: auto; }
.enq-overlay[hidden] { display: none; }
.enq-lock, .enq-lock body { overflow: hidden; }
.enq-dialog { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(0, 12, 48, 0.5); animation: enq-pop 0.22s ease-out; }
@keyframes enq-pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.enq-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 24px; line-height: 32px; cursor: pointer; transition: background 0.18s ease; }
.enq-close:hover, .enq-close:focus-visible { background: rgba(255, 255, 255, 0.3); outline: 0; }
.enq-title-modal { border-radius: 16px 16px 0 0; padding: 22px 56px 18px 24px; text-align: left; background: linear-gradient(135deg, #00175b 0%, #083aa7 100%); }
.enq-eyebrow { display: block; margin: 0 0 6px; color: #f5ba32; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.enq-title-modal h2 { font-size: 21px; letter-spacing: 0.4px; text-transform: none; text-align: left; }
.enq-title-modal .enq-sub { margin: 6px 0 0; font-size: 13px; letter-spacing: 0; text-align: left; color: rgba(255, 255, 255, 0.85); }
.enq-context { display: inline-block; margin: 10px 0 0; padding: 4px 10px; border-radius: 99px; background: rgba(245, 186, 50, 0.18); color: #ffe39a; font-size: 12px; font-weight: 700; line-height: 1.4; }
.enq-context[hidden] { display: none; }
.enq-modal .enq-body { padding: 20px 24px 22px; }
.enq-modal .enq-grid { grid-template-columns: 1fr 1fr; column-gap: 14px; }

/* thank-you page */
.enq-thanks { max-width: 620px; margin: 10px auto 30px; padding: 34px 28px; text-align: center; background: #fff; border: 1px solid #e3e9f3; border-radius: 14px; box-shadow: 0 8px 28px rgba(0, 23, 91, 0.08); }
.enq-thanks-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #effaf3; color: #1c7a43; border: 2px solid #bfe6cd; }
.enq-thanks h2 { margin: 16px 0 10px; font-size: 22px; color: #00175b; text-align: center; }
.enq-thanks p { margin: 0 0 14px; text-align: center; line-height: 1.7; }
.enq-thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px !important; }
.enq-btn { display: inline-block; padding: 11px 22px; border-radius: 8px; font-weight: 700; text-decoration: none !important; font-size: 14px; }
.enq-btn-gold { background: #f5ba32; color: #00175b !important; }
.enq-btn-green { background: #25d366; color: #fff !important; }

/* ============================================================
   RESPONSIVE  (<= 768px phones/tablets, <= 560px and <= 420px small phones)
   ============================================================ */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe, embed, object { max-width: 100%; }
.entry-content img { height: auto; }
.entry-content table { max-width: 100%; }
.topmarquee { overflow: hidden; }

@media screen and (max-width: 768px) {
    body.custom-background { width: auto !important; }
    #page { width: 100% !important; max-width: 100%; border-left: 0; border-right: 0; box-shadow: none; }
    .site { overflow: visible; }
    div#content { margin-right: 0; padding: 0 14px; }
    .wrapper#main { padding-top: 8px; }
    .site-content { width: 100% !important; float: none; }

    /* header: show the whole logo, slim top bar, full-width menu */
    .topmarquee { padding: 5px 8px; }
    .topmarquee p { font-size: 12px; line-height: 1.4; margin: 0; }
    .topmarquee marquee { display: block; }
    .innerheader { height: 0 !important; padding-top: 22%; background-size: contain !important; background-position: center !important; background-color: #00175b; }
    .themonic-nav { padding: 10px 14px; background: #fff; border-bottom: 3px solid #f5ba32; }
    .themonic-nav select.selectnav, select.selectnav { display: block; width: 100%; padding: 11px 14px; font-size: 14px; font-weight: 700; color: #fff; background: #00175b; border: 0; border-radius: 8px; }

    /* post content */
    .entry-header .entry-title { font-size: 20px; line-height: 1.35; margin-top: 12px; }
    .entry-content, .entry-content p, .entry-content li { text-align: left; }
    .entry-content h1, .entry-content h2 { font-size: 17px; text-align: left; }
    .entry-content h3, .entry-content h4 { text-align: left; }
    .entry-content p { margin: 14px 0 0; }
    .entry-content img.alignleft, .entry-content img.alignright, .entry-content img.aligncenter { float: none; display: block; margin: 12px auto; max-width: 100%; height: auto; }
    .entry-content figure { max-width: 100%; margin: 12px 0; }
    .entry-content iframe { width: 100%; }
    .entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .wp-block-embed iframe, .entry-content iframe[src*="youtube"] { height: auto; aspect-ratio: 16 / 9; }

    /* language switcher wraps instead of overflowing */
    article > div[style*="float: right"], article > div[style*="float:right"] { float: none !important; display: inline-block !important; padding: 4px 6px !important; text-align: center; vertical-align: top; }

    /* doctor card buttons */
    .entry-content p[style*="display: flex"] { flex-wrap: wrap !important; gap: 10px !important; }
    .entry-content p[style*="display: flex"] .btn { flex: 1 1 130px; text-align: center; margin: 0 !important; }
    .entry-content img[class*="MobRespo"] { margin: 0 auto 10px !important; }

    /* sidebar stacks under the content */
    .widget-area { float: none !important; width: 100% !important; margin: 24px 0 0 !important; padding: 0 14px !important; }
    .widget-area .widget { padding-right: 0; text-align: left; }

    /* footer */
    .footercopy, #colophon, .site-info { float: none; width: 100%; text-align: center; }

    .enq-thanks { padding: 26px 18px; }
}
@media screen and (max-width: 560px) {
    .enq-page .enq-grid, .enq-modal .enq-grid { grid-template-columns: 1fr; }
    .enq-overlay { padding: 0; align-items: flex-end; }
    .enq-dialog { max-width: 100%; max-height: 94vh; border-radius: 18px 18px 0 0; }
    .enq-title-modal { border-radius: 18px 18px 0 0; padding: 20px 52px 16px 18px; }
    .enq-modal .enq-body { padding: 16px 16px 20px; }
    .enq-page .enq-body { padding: 16px; }
    .enq-field input[type="text"], .enq-field input[type="email"], .enq-field input[type="tel"], .enq-field select, .enq-field textarea { font-size: 16px; }
}
@media screen and (max-width: 420px) {
    div#content { padding: 0 10px; }
    .entry-header .entry-title { font-size: 18px; }
    .widget-area { padding: 0 10px !important; }
}

/* ============================================================
   MOBILE: burger menu (right) + centred language flags
   ============================================================ */
.burger { display: none; }
.lang-switch { display: contents; }

@media screen and (max-width: 768px) {
    .site-header { position: relative; }
    .burger {
        display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
        position: absolute; top: 50px; right: 12px; z-index: 60; width: 46px; height: 46px; padding: 0;
        background: rgba(0, 23, 91, 0.88); border: 2px solid #f5ba32; border-radius: 10px; cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    .burger span { display: block; width: 22px; height: 3px; border-radius: 2px; background: #f5ba32; transition: transform 0.22s ease, opacity 0.18s ease; }
    .burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger.is-open span:nth-child(2) { opacity: 0; }
    .burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .burger:focus-visible { outline: 3px solid rgba(245, 186, 50, 0.6); outline-offset: 2px; }

    /* the old "Menu" select is replaced by the burger */
    select.selectnav, .themonic-nav select.selectnav, .js .selectnav { display: none !important; }
    .themonic-nav { padding: 0; border: 0; background: transparent; }

    /* slide-down panel */
    #site-navigation.nav-open { background: #00175b; border-bottom: 3px solid #f5ba32; }
    #site-navigation.nav-open .menu-new01-container { display: block; }
    #site-navigation.nav-open ul.nav-menu {
        display: block !important; margin: 0; padding: 8px 14px 14px; background: #00175b; list-style: none; text-align: left;
    }
    #site-navigation.nav-open ul.nav-menu li { display: block !important; float: none; margin: 0; width: 100%; background: transparent; }
    #site-navigation.nav-open ul.nav-menu li a {
        display: block !important; padding: 13px 4px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
        text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.12); line-height: 1.3; background: transparent; width: auto;
    }
    #site-navigation.nav-open ul.nav-menu li.current-menu-item > a { color: #f5ba32; }
    #site-navigation.nav-open li.menu-item-has-children > a:after { content: "\25BE"; float: right; color: #f5ba32; transition: transform 0.2s ease; }
    #site-navigation.nav-open li.menu-item-has-children.sub-open > a:after { transform: rotate(180deg); }
    #site-navigation.nav-open ul.sub-menu { display: none !important; position: static; width: 100%; margin: 0; padding: 0 0 4px 12px; background: transparent; box-shadow: none; border: 0; }
    #site-navigation.nav-open li.sub-open > ul.sub-menu { display: block !important; }
    #site-navigation.nav-open ul.sub-menu li a { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #dbe5ff; padding: 10px 4px; }
    #site-navigation.nav-open li#menu-item-20 { margin-top: 12px; }
    #site-navigation.nav-open li#menu-item-20 > a {
        text-align: center; background: #f5ba32; color: #00175b; border: 0; border-radius: 8px; padding: 12px 14px;
    }

    /* language flags: one centred row */
    .lang-switch { display: flex; flex-direction: row-reverse; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 2px 8px; margin: 6px 0 10px; width: 100%; }
    .lang-switch > div { float: none !important; padding: 4px 6px !important; text-align: center; }
    .lang-switch + br, .lang-switch + br + br, .lang-switch + br + br + br, .lang-switch + br + br + br + br { display: none; }
    #primary.site-content, .site-content { margin: 0 !important; width: 100% !important; }
}

/* at exactly 768px the desktop menu is shown, so no burger */
@media screen and (min-width: 768px) { .burger { display: none !important; } }

/* ============================================================
   TOP CONTACT BAR  (replaces the scrolling number/email marquee)
   ============================================================ */
.sn-topbar { background: #fff; border-bottom: 1px solid #e3e9f3; }
.sn-topbar-in { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 7px 18px; }
.sn-tb-ic { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; text-decoration: none !important; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.sn-tb-ic:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18); }
.sn-wa { background: #25d366; }
.sn-ph { background: #083aa7; }
html body .sn-tb-num { margin-left: 2px; color: #00175b; font-size: 14px; font-weight: 800; letter-spacing: 0.3px; text-decoration: none; }
html body .sn-tb-num:hover { color: #083aa7; }

/* ============================================================
   MOBILE MENU BAR  (under the logo, burger on the right; joint layout)
   ============================================================ */
.nav-bar { display: none; }
@media screen and (max-width: 767px) {
    .sn-topbar-in { padding: 6px 12px; }
    html body .sn-tb-num { font-size: 13px; }
    .innerheader { background-size: contain !important; background-position: center !important; padding-top: 22%; }

    .themonic-nav, #site-navigation { display: block; padding: 0 !important; margin: 0; border: 0; background: transparent; box-shadow: none; }
    .nav-bar { display: flex; align-items: center; justify-content: flex-end; height: 46px; padding: 0 10px; background: #fdf1d2; border-top: 1px solid #f5ba32; border-bottom: 4px solid #00175b; }
    .nav-bar .burger {
        position: static; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
        width: 44px; height: 40px; padding: 0; transform: none; background: transparent; border: 0; border-radius: 6px; box-shadow: none; cursor: pointer;
    }
    .nav-bar .burger span { width: 24px; height: 3px; background: #00175b; }
    .nav-bar .burger:hover, .nav-bar .burger:focus-visible { background: rgba(0, 23, 91, 0.08); outline: 0; }
    #site-navigation.nav-open { background: #00175b; border-bottom: 3px solid #f5ba32; }
}
@media screen and (min-width: 768px) {
    .nav-bar, .burger { display: none !important; }
}

/* ============================================================
   PATIENT STORY POPUP  (testimonial video + quote)
   ============================================================ */
.story-overlay { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 12, 48, 0.68); backdrop-filter: blur(3px); overflow-y: auto; }
.story-overlay[hidden] { display: none; }
.story-dialog { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(0, 12, 48, 0.5); animation: enq-pop 0.22s ease-out; text-align: left; }
.story-overlay[dir="rtl"] .story-dialog { text-align: right; }
.story-head { position: relative; padding: 22px 64px 18px 26px; color: #fff; background: linear-gradient(135deg, #00175b 0%, #083aa7 100%); border-bottom: 3px solid #f5ba32; border-radius: 16px 16px 0 0; }
.story-overlay[dir="rtl"] .story-head { padding: 22px 26px 18px 64px; }
.story-eyebrow { display: block; margin: 0 0 6px; color: #f5ba32; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.story-head h2 { margin: 0; padding: 0; color: #fff; font-size: 21px; line-height: 1.3; font-weight: 800; background: none; border: 0; text-align: inherit; }
.story-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.story-chips span { display: inline-block; padding: 4px 12px; border-radius: 99px; background: rgba(245, 186, 50, 0.18); color: #ffe39a; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.story-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 26px; line-height: 34px; cursor: pointer; transition: background 0.18s ease; }
.story-overlay[dir="rtl"] .story-close { right: auto; left: 14px; }
.story-close:hover, .story-close:focus-visible { background: rgba(255, 255, 255, 0.3); outline: 0; }
.story-body { padding: 22px 26px 24px; }
.story-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 18px; overflow: hidden; border-radius: 12px; background: #00175b; box-shadow: 0 8px 22px rgba(0, 23, 91, 0.2); }
.story-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story-quote { position: relative; margin: 0 0 20px; padding: 16px 18px 16px 22px; background: #f6f8fc; border-left: 4px solid #f5ba32; border-radius: 0 10px 10px 0; }
.story-overlay[dir="rtl"] .story-quote { border-left: 0; border-right: 4px solid #f5ba32; border-radius: 10px 0 0 10px; padding: 16px 22px 16px 18px; }
.story-quote p { margin: 0; padding: 0; color: #1f2d3d; font-size: 14px; line-height: 1.75; font-style: italic; text-align: inherit; }
.story-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.story-btn { flex: 1 1 200px; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 8px; font-size: 14px; font-weight: 800; letter-spacing: 0.5px; text-decoration: none !important; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.story-btn:hover { transform: translateY(-1px); }
.story-btn-gold { background: #f5ba32; color: #00175b !important; box-shadow: 0 4px 12px rgba(245, 186, 50, 0.4); }
.story-btn-green { background: #25d366; color: #fff !important; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3); }
@media screen and (max-width: 560px) {
    .story-overlay { padding: 0; align-items: flex-end; }
    .story-dialog { max-width: 100%; max-height: 94vh; border-radius: 18px 18px 0 0; }
    .story-head { border-radius: 18px 18px 0 0; padding: 20px 56px 16px 18px; }
    .story-overlay[dir="rtl"] .story-head { padding: 20px 18px 16px 56px; }
    .story-head h2 { font-size: 18px; }
    .story-body { padding: 16px 16px 20px; }
    .story-quote p { font-size: 13.5px; }
}

/* ============================================================
   DOCTOR CARDS  (city + India pages, all languages; joint layout)
   photo left / details right on desktop, stacked and centred on phones
   ============================================================ */
.entry-content .well.well-lg {
    float: none; width: 100%; margin: 0 0 24px; padding: 22px 24px;
    background: #f4f5f7; border: 1px solid #e3e6ec; border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 23, 91, 0.12);
}
.entry-content .well.well-lg > .row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; margin: 0; }
/* bio paragraph that sits directly in the row: full-width line under photo + details, not a third column */
.entry-content .well.well-lg > .row > p.AfterTxtX, .entry-content .well.well-lg > .row > p { flex: 0 0 100%; width: 100%; max-width: 100%; margin: 0; padding: 12px 0 0; }
.entry-content .well.well-lg > .row::before, .entry-content .well.well-lg > .row::after { display: none; }
.entry-content .well.well-lg > .row > div:empty { display: none; }
.entry-content .well.well-lg > .row > figure,
.entry-content .well.well-lg > .row > div:first-child { flex: 0 0 40%; max-width: 40%; width: auto; float: none; margin: 0; padding: 0; text-align: center; }
.entry-content .well.well-lg > .row > .headTagmargin { flex: 1 1 0; min-width: 0; max-width: none; width: auto; float: none; margin: 0 !important; padding: 0 !important; }
.entry-content .well.well-lg img.MobRespo {
    float: none; display: block; width: 100% !important; max-width: 300px; height: auto !important; aspect-ratio: 1 / 1;
    object-fit: cover; object-position: center top; margin: 0 auto !important;
    border: 3px solid #083aa7 !important; border-radius: 6px !important; background: #ecf4f6;
    box-shadow: 0 8px 18px rgba(0, 23, 91, 0.22);
}

/* name + title */
.entry-content .well.well-lg h3 { margin: 0 0 14px; font-size: 19px; line-height: 1.5; font-weight: 700; color: #1f4f7a; text-align: left; }
.entry-content .well.well-lg h3 a { color: #b3122a; text-decoration: none; }
/* detail rows: label highlighted, value plain */
.entry-content .well.well-lg h4 { margin: 0 0 9px; font-size: 15px; line-height: 1.6; font-weight: 400; color: #2c5d8f; text-align: left; }
.entry-content .well.well-lg h4 > strong:first-child { color: #00175b; font-weight: 700; letter-spacing: 0; }
.entry-content .well.well-lg h4 > strong + strong,
.entry-content .well.well-lg h4 > a { font-weight: 700; color: #b36b00; text-decoration: none; }
.entry-content .well.well-lg h4 > a:hover { color: #00175b; text-decoration: underline; }
.entry-content .well.well-lg p[style*="display: flex"] { margin: 16px 0 0 !important; gap: 14px !important; justify-content: flex-start !important; flex-wrap: wrap !important; }
.entry-content .well.well-lg .btn { min-width: 130px; padding: 9px 18px; font-size: 14px; font-weight: 700; border-radius: 6px; text-align: center; }

/* Arabic cards: keep right-aligned text */
.entry-content .well.well-lg h3[style*="right"], .entry-content .well.well-lg h4[style*="right"] { text-align: right !important; }

@media screen and (max-width: 767px) {
    .entry-content .well.well-lg { padding: 18px 16px; }
    .entry-content .well.well-lg > .row { flex-direction: column; align-items: center; gap: 16px; }
    .entry-content .well.well-lg > .row > figure,
    .entry-content .well.well-lg > .row > div:first-child,
    .entry-content .well.well-lg > .row > .headTagmargin { flex: none; width: 100%; max-width: 100%; }
    .entry-content .well.well-lg > .row > p { flex: none; }
    .entry-content .well.well-lg img.MobRespo { max-width: 240px; }
    .entry-content .well.well-lg h3,
    .entry-content .well.well-lg h4,
    .entry-content .well.well-lg h3[style*="right"],
    .entry-content .well.well-lg h4[style*="right"] { text-align: center !important; }
    .entry-content .well.well-lg h3 { font-size: 17px; }
    .entry-content .well.well-lg h4 { font-size: 14px; margin-bottom: 7px; }
    .entry-content .well.well-lg p[style*="display: flex"] { justify-content: center !important; }
    .entry-content .well.well-lg .btn { flex: 0 1 140px !important; }
}

/* mobile menu bar in the brand gold */
@media screen and (max-width: 767px) {
    .nav-bar { background: #f5ba32; border-top: 0; }
    .nav-bar .burger:hover, .nav-bar .burger:focus-visible { background: rgba(0, 23, 91, 0.12); }
}

/* Arabic cards: buttons follow the right-aligned text on desktop */
@media screen and (min-width: 768px) {
    .entry-content .well.well-lg .headTagmargin:has(h4[style*="right"]) p[style*="display: flex"] { justify-content: flex-end !important; }
}

/* Previous / next post links: side by side with a gap, stacked with a gap on narrow screens */
.nav-single { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 18px 22px; }
.nav-single .nav-previous, .nav-single .nav-next { float: none; width: auto; flex: 1 1 0; min-width: 0; padding: 0; }
.nav-single .nav-next { text-align: right; margin-left: auto; }
@media screen and (max-width: 767px) {
    .nav-single { flex-direction: column; gap: 14px; }
    .nav-single .nav-previous, .nav-single .nav-next { flex: none; width: 100%; text-align: left; }
}

/* Home / archive thumbnails: one fixed size, whole image always visible (letterboxed, never cropped) */
.excerpt-thumb img.wp-post-image { width: 200px !important; height: 113px !important; object-fit: contain !important; background: none; border: 0; box-shadow: none; }

/* Category archive heading */
.archive-header { margin: 0 0 20px; padding: 0 0 12px; border-bottom: 3px solid #f5ba32; }
.archive-header .archive-title { margin: 0; font-size: 26px; line-height: 1.3; font-weight: 700; color: #00175b; text-transform: none; letter-spacing: 0; }
.archive-header .archive-title span { color: #b36b00; }

/* Post excerpts: photo on the left, text in its own column so it never wraps under the photo */
.entry-summary:has(> .excerpt-thumb) { display: flex; align-items: flex-start; gap: 22px; }
.entry-summary:has(> .excerpt-thumb) > .excerpt-thumb { flex: 0 0 200px; }
.entry-summary:has(> .excerpt-thumb) > .excerpt-thumb img.wp-post-image { float: none; display: block; margin: 0; }
.entry-summary:has(> .excerpt-thumb) > p { flex: 1 1 0; min-width: 0; margin: 0; }
@media screen and (max-width: 600px) {
    .entry-summary:has(> .excerpt-thumb) { flex-direction: column; gap: 12px; }
    .entry-summary:has(> .excerpt-thumb) > .excerpt-thumb { flex: none; }
}

/* Enquiry forms: placeholders only (labels stay for screen readers) */
.enq-field label.enq-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.enq-field { margin: 0 0 10px; }

/* Consult Now popup: slim, one column, centred heading */
.enq-dialog { max-width: 400px; }
.enq-modal .enq-grid { grid-template-columns: 1fr; }
.enq-title-modal { padding: 24px 20px 18px; text-align: center; }
.enq-title-modal .enq-eyebrow { letter-spacing: 1.2px; text-align: center; }
.enq-title-modal h2, .enq-title-modal .enq-sub { text-align: center; }
.enq-modal .enq-body { padding: 18px 22px 20px; }

/* Section headings in the older blog posts (the post title itself is not touched) */
.entry-content h1.wp-block-heading, .entry-content h1.wp-block-heading :is(mark, strong, span, a),
.entry-content h2.wp-block-heading, .entry-content h2.wp-block-heading :is(mark, strong, span, a),
/* posts that only use h3 for their headings */
.entry-content:not(:has(h1.wp-block-heading, h2.wp-block-heading)) h3.wp-block-heading,
.entry-content:not(:has(h1.wp-block-heading, h2.wp-block-heading)) h3.wp-block-heading :is(mark, strong, span, a),
/* oldest posts: plain h3/h4 headings (not the doctor cards) */
.entry-content:not(:has(.well-lg, h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading)) :is(h3, h4),
.entry-content:not(:has(.well-lg, h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading)) :is(h3, h4) :is(a, strong, span) { color: #b36b00 !important; }

/* Old posts that use a fully bold paragraph as a section heading */
.entry-content p.sec-head, .entry-content p.sec-head :is(strong, b, span, mark, a, em) { color: #b36b00 !important; }

/* Phones: listing photos run the full width of the card, whole image shown */
@media screen and (max-width: 600px) {
    .entry-summary:has(> .excerpt-thumb) > .excerpt-thumb { flex: none; width: 100%; }
    .excerpt-thumb a { display: block; }
    .excerpt-thumb img.wp-post-image { width: 100% !important; height: auto !important; max-width: 100%; aspect-ratio: auto; object-fit: contain !important; }
}

/* Phones and tablets: WhatsApp icon, call icon and number centred in the top bar */
@media screen and (max-width: 767px) {
    .sn-topbar-in { justify-content: center; }
}

/* Language switcher on desktop: even flags, space between them (the script wraps them in .lang-switch) */
@media screen and (min-width: 768px) {
    .lang-switch { display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: flex-start; gap: 26px; }
    .lang-switch > div { float: none !important; padding: 0 0 12px !important; text-align: center; }
    .lang-switch a.link { display: inline-block; padding: 4px 6px !important; margin: 0 !important; font-size: 13px; line-height: 1.3; text-decoration: none; white-space: nowrap; }
    .lang-switch img { display: block; width: 36px; height: 24px; object-fit: cover; margin: 0 auto 5px; border: 1px solid #d9e1ee; border-radius: 2px; }
    .lang-switch br { display: none; }
    .lang-switch + br, .lang-switch + br + br, .lang-switch + br + br + br, .lang-switch + br + br + br + br { display: none; }
    .lang-switch { margin-bottom: 10px; }
}



/* Arabic listing cards: right-aligned title and text, photo on the left */
article[dir="rtl"] .entry-summary:has(> .excerpt-thumb) { flex-direction: row-reverse; }
article[dir="rtl"] .entry-meta { direction: ltr; text-align: left; }
@media screen and (max-width: 600px) { article[dir="rtl"] .entry-summary:has(> .excerpt-thumb) { flex-direction: column; } }
