/*
Theme Name: Modern Dental Theme
Theme URI: https://clixorbd.com/
Author: ClixorBD
Author URI: https://clixorbd.com/
Description: A clean, professional, fully responsive WordPress portfolio theme built for Dr. Zainal Abedin (Dental Surgeon). Built to work seamlessly with Elementor Page Builder and standard WordPress plugins (Contact Form 7, WPForms, Yoast SEO, etc). Just install the theme, activate, and start building pages with Elementor from your WordPress dashboard — no coding required.
Version: 1.5.2
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sohag-dental
Tags: medical, dental, portfolio, elementor-compatible, responsive, translation-ready, custom-menu, custom-logo, threaded-comments, footer-widgets
*/

/* =====================================================
   0. RESET / BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #253238;
    background: #ffffff;
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 .5em; font-weight: 600; line-height: 1.25; color: #0b3d3a; }
p { margin: 0 0 1em; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: #f4faf9; }
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .3px;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn--primary { background: #0f766e; color: #fff; }
.btn--primary:hover { background: #0b5c55; color: #fff; }
.btn--outline { background: transparent; border-color: #0f766e; color: #0f766e; }
.btn--outline:hover { background: #0f766e; color: #fff; }
.tag {
    display: inline-block;
    background: #e6f4f2;
    color: #0f766e;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; }
.section-head p { color: #5a6b6a; }

/* =====================================================
   1. TOPBAR
===================================================== */
.topbar {
    background: #0b3d3a;
    color: #cfe8e4;
    font-size: 13.5px;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 8px;
}
.topbar a { color: #cfe8e4; }
.topbar a:hover { color: #ffffff; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.topbar__right { display: flex; gap: 18px; flex-wrap: wrap; }

/* =====================================================
   2. HEADER / NAV
===================================================== */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img { max-height: 56px; width: auto; }
.site-title { font-size: 20px; font-weight: 700; color: #0b3d3a; margin: 0; }
.site-title span { display: block; font-size: 12.5px; font-weight: 500; color: #0f766e; }

.main-navigation ul {
    display: flex;
    gap: 30px;
    align-items: center;
}
.main-navigation a {
    font-weight: 500;
    font-size: 15px;
    color: #253238;
    padding: 8px 0;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: #0f766e; }
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    padding: 10px 0;
    border-radius: 8px;
    min-width: 200px;
}
.main-navigation li { position: relative; }
.main-navigation li:hover > .sub-menu { display: block; }
.main-navigation .sub-menu li { width: 100%; }
.main-navigation .sub-menu a { display: block; padding: 10px 20px; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: #0b3d3a;
    cursor: pointer;
}

/* =====================================================
   3. HERO
===================================================== */
.hero {
    background: linear-gradient(120deg, #f4faf9 55%, #e6f4f2 100%);
    padding: 70px 0;
    overflow: hidden;
}
.hero .container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: center;
}
.hero h1 { font-size: 44px; margin-bottom: 20px; }
.hero h1 em { color: #0f766e; font-style: normal; }
.hero p.lead { font-size: 17px; color: #4c5f5e; margin-bottom: 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media {
    background: #fff;
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 20px 50px rgba(15,118,110,.18);
    margin-top: -30px;
}
.hero-media img { border-radius: 15px; width: 100%; object-fit: cover; aspect-ratio: 4/3.4; }

/* Hero doctor image slider */
.hero-slider {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3.4;
    min-height: 360px; /* fallback for browsers without aspect-ratio support */
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .8s ease, transform 1.2s ease;
    pointer-events: none;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider__dots {
    position: absolute;
    left: 0; right: 0; bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.hero-slider__dots button {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    padding: 0;
}
.hero-slider__dots button.is-active { background: #ffffff; width: 22px; border-radius: 6px; }
.hero-badges { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-badge {
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0b3d3a;
}

/* =====================================================
   3b. STAT / ACHIEVEMENT CARDS (compact — sits inside the hero,
   right under the hero content / CTA buttons)
===================================================== */
.hero-stats {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(11,61,58,.10);
    border: 1px solid #eef3f2;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
    flex: 1 1 120px;
}
.stat-card.is-visible { opacity: 1; transform: translateY(0); }
.stat-card:nth-child(2) { transition-delay: .1s; }
.stat-card:nth-child(3) { transition-delay: .2s; }
.stat-card:nth-child(4) { transition-delay: .3s; }
.stat-card__icon { font-size: 20px; margin-bottom: 4px; }
.stat-card__number {
    font-size: 21px;
    font-weight: 800;
    color: #0f766e;
    line-height: 1.2;
}
.stat-card__label { font-size: 11px; color: #5a6b6a; font-weight: 500; margin-top: 2px; }

@media (max-width: 782px) {
    .hero-stats { gap: 10px; }
    .stat-card { flex: 1 1 44%; padding: 12px 8px; }
}

/* =====================================================
   4. CREDENTIALS / ABOUT
===================================================== */
.about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 60px;
    align-items: start;
}
.about-grid img { border-radius: 20px; }
.credential-list { display: grid; gap: 16px; margin-top: 24px; }
.credential-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e7f1ef;
    padding: 16px 18px;
    border-radius: 12px;
}
.credential-item .icon {
    flex: none;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #0f766e;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.credential-item h4 { margin: 0 0 4px; font-size: 15.5px; }
.credential-item p { margin: 0; font-size: 13.5px; color: #5a6b6a; }

/* =====================================================
   4a2. KEY FEATURES / WHY CHOOSE US
===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 10px;
}
.feature-card {
    background: #fff;
    border: 1px solid #e7f1ef;
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,61,58,.10); }
.feature-card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: #e6f4f2;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; margin: 0 0 8px; }
.feature-card p { font-size: 14px; color: #5a6b6a; margin: 0; line-height: 1.6; }

/* =====================================================
   4b. DOCTOR PROFILE STRIP (within About section)
===================================================== */
.doctor-profile-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e7f1ef;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 26px;
}
.doctor-profile-strip img {
    width: 68px; height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e6f4f2;
    flex: none;
}
.doctor-profile-strip h4 { margin: 0 0 2px; font-size: 16.5px; }
.doctor-profile-strip p { margin: 0; font-size: 13.5px; color: #5a6b6a; }

/* =====================================================
   5. SERVICES
===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: #fff;
    border: 1px solid #eef3f2;
    border-radius: 18px;
    overflow: hidden;
    text-align: left;
    display: block;
    transition: transform .2s ease, box-shadow .2s ease;
}
a.service-card { cursor: pointer; }
.service-card__readmore {
    display: inline-block;
    margin-top: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0f766e;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.service-card__img { position: relative; aspect-ratio: 4/2.7; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 22px 24px 26px; }
.service-card .icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: #e6f4f2;
    color: #0f766e;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-top: -48px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.service-card h3 { font-size: 18px; }
.service-card p { color: #5a6b6a; font-size: 14.5px; margin-bottom: 0; }

/* =====================================================
   5b. GALLERY
===================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    aspect-ratio: 1/1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: "🔍";
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(11,61,58,0);
    color: #fff; font-size: 22px; opacity: 0;
    transition: all .25s ease;
}
.gallery-item:hover::after { background: rgba(11,61,58,.35); opacity: 1; }

.gallery-lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 10000;
    align-items: center; justify-content: center;
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox__overlay { position: absolute; inset: 0; background: rgba(6,20,19,.9); }
.gallery-lightbox img { position: relative; max-width: 90vw; max-height: 85vh; border-radius: 10px; z-index: 2; }
.gallery-lightbox__close {
    position: absolute; top: 22px; right: 30px; z-index: 3;
    background: rgba(255,255,255,.12); color: #fff; border: none;
    width: 42px; height: 42px; border-radius: 50%; font-size: 24px; cursor: pointer;
}

/* =====================================================
   5c. HOMEPAGE BLOG PREVIEW
===================================================== */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-preview-card {
    background: #fff;
    border: 1px solid #eef3f2;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.blog-preview-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.blog-preview-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-preview-card__body { padding: 20px 22px 24px; }
.blog-preview-card__body .date { font-size: 12.5px; color: #8a9a98; }
.blog-preview-card__body h3 { font-size: 17px; margin: 6px 0 8px; }
.blog-preview-card__body p { font-size: 14px; color: #5a6b6a; margin-bottom: 14px; }

/* =====================================================
   9b. BOOKING POPUP MODAL
===================================================== */
.booking-modal {
    display: none;
    position: fixed; inset: 0; z-index: 10001;
    align-items: center; justify-content: center;
}
.booking-modal.is-open { display: flex; }
.booking-modal__overlay { position: absolute; inset: 0; background: rgba(6,20,19,.72); }
.booking-modal__box {
    position: relative;
    width: 92%;
    max-width: 920px;
    height: 88vh;
    max-height: 820px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    z-index: 2;
}
.booking-modal__box iframe { width: 100%; height: 100%; border: none; display: block; }
.booking-modal__close {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    background: #0b3d3a; color: #fff; border: none;
    width: 38px; height: 38px; border-radius: 50%; font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
body.modal-open { overflow: hidden; }

/* =====================================================
   9c. MOBILE APP-STYLE BOTTOM NAVIGATION
===================================================== */
.mobile-bottom-nav { display: none; }

/* =====================================================
   6. CHAMBER / VISITING HOURS
===================================================== */
.chamber-box {
    background: #0b3d3a;
    color: #e9f4f2;
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 28px;
}
.chamber-box:last-child { margin-bottom: 0; }
.chamber-box h2 { color: #fff; }
.chamber-box .tag { background: rgba(255,255,255,.1); color: #a9e6dd; }
.info-row { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.info-row .icon { flex: none; font-size: 18px; }
.info-row h4 { margin: 0 0 4px; color: #fff; font-size: 15px; }
.info-row p { margin: 0; color: #b9d9d4; font-size: 14px; }
.hours-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 26px;
}
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.15); font-size: 14.5px; }
.hours-row:last-child { border-bottom: none; }

/* =====================================================
   7. CONTACT / FOOTER
===================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.contact-card {
    background: #f4faf9;
    border-radius: 18px;
    padding: 30px;
}
.site-footer { background: #0b201f; color: #b7cfcb; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-widget h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; }
.footer-widget ul li { margin-bottom: 10px; font-size: 14px; }
.footer-widget a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}
.footer-bottom__credit a { color: #6fd7c8; font-weight: 600; }
.footer-bottom__credit a:hover { color: #fff; text-decoration: underline; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    display: flex; align-items: center; justify-content: center;
}
.social-icons a:hover { background: #0f766e; }

/* =====================================================
   8. BLOG / SINGLE / 404
===================================================== */
.entry-content { max-width: 780px; margin: 0 auto; }
.entry-content img { border-radius: 14px; margin: 20px 0; }
.error-404 { text-align: center; padding: 120px 0; }
.error-404 h1 { font-size: 100px; color: #e6f4f2; }

/* Blog listing (index.php): category filter pills */
.blog-cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: -10px 0 40px;
}
.blog-cat-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    background: #f4faf9;
    color: #0f766e;
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid #e0efec;
}
.blog-cat-pill:hover { background: #e6f4f2; }
.blog-cat-pill.is-active { background: #0f766e; color: #fff; border-color: #0f766e; }

.blog-index-grid { margin-bottom: 46px; }
.blog-preview-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.blog-preview-card__cat {
    display: inline-block;
    background: #e6f4f2;
    color: #0f766e;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 3px 12px;
    border-radius: 20px;
}
.blog-preview-card__meta .date { font-size: 12.5px; color: #8a9a98; }

.blog-pagination { display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: 14px; align-items: center; }
.blog-pagination a,
.blog-pagination span.current {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}
.blog-pagination a { border: 2px solid #0f766e; color: #0f766e; }
.blog-pagination a:hover { background: #0f766e; color: #fff; }
.blog-pagination span.current { background: #0f766e; color: #fff; }

/* Single post (single.php) */
.post-single { max-width: 900px; margin: 0 auto; padding-top: 50px; }
.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #8a9a98;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.post-breadcrumb a { color: #0f766e; }
.post-breadcrumb span:last-child { color: #2b3b3a; }

.entry-content h1 { font-size: 32px; line-height: 1.25; margin: 16px 0 18px; }
.post-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13.5px;
    color: #5a6b6a;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef3f2;
}
.entry-content > .wp-post-image,
.entry-content > img { border-radius: 16px; margin-bottom: 30px; width: 100%; }

.post-body { font-size: 16px; line-height: 1.85; color: #384a49; }
.post-body h2 { font-size: 24px; margin: 34px 0 14px; }
.post-body h3 { font-size: 19px; margin: 28px 0 12px; }
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px 20px; }
.post-body li { margin-bottom: 8px; }
.post-body img { border-radius: 14px; margin: 20px 0; }
.post-body blockquote {
    border-left: 4px solid #0f766e;
    background: #f4faf9;
    padding: 16px 22px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    font-style: italic;
    color: #2b3b3a;
}

.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.post-tags a {
    background: #f4faf9;
    color: #0f766e;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
}
.post-tags a:hover { background: #0f766e; color: #fff; }

.post-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    background: linear-gradient(120deg, #0f766e, #0b5b55);
    color: #fff;
    border-radius: 18px;
    padding: 30px 32px;
    margin: 44px 0;
}
.post-cta h3 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.post-cta p { color: rgba(255,255,255,.85); margin: 0; font-size: 14.5px; }
.post-cta .btn--primary { background: #fff; color: #0f766e; border-color: #fff; white-space: nowrap; }
.post-cta .btn--primary:hover { background: transparent; color: #fff; }

.post-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f4faf9;
    border-radius: 18px;
    padding: 24px 28px;
    margin: 40px 0;
}
.post-author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.post-author-box__label { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #8a9a98; font-weight: 600; }
.post-author-box h4 { margin: 4px 0 4px; font-size: 17px; }
.post-author-box p { margin: 0; font-size: 13.5px; color: #5a6b6a; }

.related-posts { margin-top: 50px; }
.related-posts h3 { font-size: 21px; margin-bottom: 22px; }

.post-comments { margin-top: 50px; padding-top: 40px; border-top: 1px solid #eef3f2; }

/* =====================================================
   5d. DEDICATED GALLERY PAGE (Customizer photos + optional blocks)
===================================================== */
.gallery-page__content { max-width: 1180px; margin: 0 auto; }
.gallery-page__content .wp-block-gallery { margin-bottom: 10px; }
.gallery-page__content .wp-block-image img,
.gallery-page__content .wp-block-gallery img {
    border-radius: 14px;
}
.gallery-page__content figure.wp-block-image,
.gallery-page__content .blocks-gallery-item {
    margin: 0 0 18px;
}
.gallery-page__empty {
    text-align: center;
    color: #8a9a98;
    background: #f4faf9;
    border-radius: 14px;
    padding: 40px 24px;
    font-size: 14.5px;
}
/* =====================================================
   5e. DEDICATED VIDEO PAGE
===================================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.video-item__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    background: #0b201f;
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
}
.video-item__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-item__title { font-size: 16px; margin: 14px 0 0; }
.video-page__content { max-width: 1180px; margin: 40px auto 0; }
.video-page__content iframe { max-width: 100%; border-radius: 14px; }
.video-page__empty {
    text-align: center;
    color: #8a9a98;
    background: #f4faf9;
    border-radius: 14px;
    padding: 40px 24px;
    font-size: 14.5px;
}

/* =====================================================
   9. WP CORE / ELEMENTOR HELPERS
===================================================== */
.alignwide { margin-left: -5%; margin-right: -5%; max-width: 110%; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.screen-reader-text { position: absolute; left: -9999px; }
.elementor-page .site-content { padding: 0; }

/* =====================================================
   10. RESPONSIVE
===================================================== */
@media (max-width: 991px) {
    .hero .container,
    .about-grid,
    .chamber-box,
    .contact-grid { grid-template-columns: 1fr; }
    .hero .container { display: flex; flex-direction: column; }
    .hero-media { order: -1; margin-bottom: 30px; margin-top: 0; }
    .hero-slider { aspect-ratio: 4/3.4; min-height: 320px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .hero h1 { font-size: 34px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) {
    .topbar { display: none; }
    .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.1); padding: 10px 20px 20px; }
    .main-navigation.is-open { display: block; }
    .main-navigation ul { flex-direction: column; gap: 4px; align-items: flex-start; }
    .main-navigation .sub-menu { position: static; box-shadow: none; padding-left: 12px; }
    .menu-toggle { display: block; }
    .header-cta .btn--primary span { display: none; }
    .header-cta .btn--primary {
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 16px;
    }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-preview-grid { grid-template-columns: 1fr; }
    .post-single { padding-top: 30px; }
    .post-cta { flex-direction: column; align-items: flex-start; }
    .post-author-box { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; }
    .section { padding: 56px 0; }
    .chamber-box { padding: 30px; }
    .doctor-profile-strip { flex-wrap: wrap; }
    .booking-modal__box { width: 96%; height: 92vh; border-radius: 14px; }

    /* Full-bleed horizontal hero image banner on mobile:
       no border/padding, spans the full device width, sits
       flush under the sticky header with no gap above it. */
    .hero { padding-top: 0; }
    .hero-media {
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        margin: 0 0 26px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
    }
    .hero-media img { border-radius: 0; }
    .hero-slider {
        border-radius: 0;
        aspect-ratio: 16/9;
        min-height: 220px;
        max-height: 60vw;
    }
    .hero-slider__dots { bottom: 10px; }

    /* App-style bottom navigation bar */
    body { padding-bottom: 78px; }
    .mobile-bottom-nav {
        display: flex;
        align-items: flex-end;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 9998;
        background: rgba(255,255,255,.96);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-top: 1px solid #eef3f2;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 30px rgba(11,61,58,.12);
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    }
    .mobile-bottom-nav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        color: #8a9a98;
        font-size: 10.5px;
        font-weight: 600;
        padding: 4px 2px;
        text-align: center;
        transition: color .2s ease;
    }
    .mobile-bottom-nav__item:active,
    .mobile-bottom-nav__item:hover { color: #0f766e; }
    .mobile-bottom-nav__item .mbn-icon { display: flex; }
    .mobile-bottom-nav__item .mbn-icon svg { width: 21px; height: 21px; }
    .mobile-bottom-nav__item--whatsapp .mbn-icon { color: #25D366; }
    .mobile-bottom-nav__item--whatsapp .mbn-label { color: #1c9950; }

    .mobile-bottom-nav__item--cta { flex: 0 0 74px; color: #0b3d3a; }
    .mbn-cta-circle {
        width: 54px; height: 54px;
        border-radius: 50%;
        background: linear-gradient(145deg, #14a89b, #0b3d3a);
        color: #fff;
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 12px 26px rgba(15,118,110,.5), 0 0 0 5px #fff;
        margin-top: -30px;
        margin-bottom: 4px;
    }
    .mbn-cta-circle svg { width: 24px; height: 24px; }
    .mbn-label--cta { font-size: 10.5px; font-weight: 700; color: #0b3d3a; white-space: nowrap; }
}
