/**
 * HNO Praxis Essen - Custom Color Overrides
 * Replaces medol-html default colors with client palette:
 *   Primary Blue: #1B5C83
 *   Green Accent: #66C000
 *   Green Hover:  #52A300
 *   Cyan Accent:  #00C6FA / #32E5FA
 *
 * Font: Open Sans instead of Poppins
 */

/* ============================================
   FONT OVERRIDES - replace ALL Poppins refs
   ============================================ */
body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
p, a, li, span, div, td, th,
.navbar-nav .nav-link,
.dropdown-menu .dropdown-item,
.btn,
.footer,
.header,
.header-topline,
.header-content,
.slide-txt1,
.slide-txt2,
.icn-text-title,
.icn-text-alt-title,
.title-wrap,
.banner-call,
.banner-call-phone,
.services-nav .nav-link,
.breadcrumbs,
.page-content-text,
input, textarea, select {
    font-family: 'Open Sans', 'Roboto', sans-serif !important;
}

/* ============================================
   PRIMARY COLOR: #1B5C83 (replaces #f49c00 orange)
   ============================================ */

/* Theme color utility */
.theme-color,
a.theme-color {
    color: #1B5C83 !important;
}

/* Header top line — blue bg with white text */
.header-topline {
    background: #1B5C83 !important;
    border-bottom: none;
}

/* Header content / navigation background — WHITE */
.header-content {
    background-color: #fff;
    border-bottom: 2px solid #66C000;
}

/* Sticky header */
body.stickNav .header-content.stuck {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Nav links — dark blue on white header */
.header-content .navbar-nav .nav-link {
    color: #1B5C83 !important;
}
.header-content .navbar-nav .nav-link:hover,
.header-content .navbar-nav .nav-item.active > .nav-link,
.header-content .navbar-nav .nav-item.current-menu-item > .nav-link,
.header-content .navbar-nav .nav-item.current-menu-ancestor > .nav-link {
    color: #66C000 !important;
}

/* Hamburger icon — dark blue on white bg */
.navbar-toggler,
.navbar-toggler .icon-menu {
    color: #1B5C83 !important;
}

/* Mobile nav — white bg, dark text */
@media (max-width: 1023px) {
    .header-nav,
    .header-nav-wrap,
    .js-header-nav,
    .navbar-collapse,
    .navbar-collapse.collapse.show,
    .navbar-collapse.collapsing {
        background: #fff !important;
    }
    .header-content .navbar-nav .nav-link,
    .header-content .navbar-nav .nav-item > .nav-link {
        color: #1B5C83 !important;
        border-bottom: 1px solid #eee;
        padding: 12px 15px !important;
        line-height: 1.4 !important;
    }
    .header-content .navbar-nav .nav-link:hover,
    .header-content .navbar-nav .nav-item > .nav-link:hover {
        color: #66C000 !important;
    }
    /* Dropdown submenu on mobile */
    .header .navbar-nav > .nav-item > .dropdown-menu,
    .header .dropdown-menu {
        background: #f5f5f5 !important;
        border-top: 2px solid #66C000 !important;
        box-shadow: none !important;
    }
    .header .navbar-nav .dropdown-menu a,
    .header .dropdown-item {
        color: #1B5C83 !important;
        padding: 10px 20px !important;
    }
    .header .navbar-nav .dropdown-menu a:hover,
    .header .dropdown-item:hover {
        color: #66C000 !important;
        background: #eee !important;
    }
}


/* Smooth transition for sticky header shrink */
.header-content {
    transition: padding 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

/* Header logo — no special bg needed, header is white */
.header-content .header-logo {
    display: flex;
    align-items: center;
}

/* Footer logo — white badge */
.footer .footer-logo img {
    background: #fff;
    padding: 4px 8px;
    border-radius: 6px;
}

.header-logo,
.header-logo img {
    transition: max-height 0.35s ease, max-width 0.35s ease;
}

.navbar-toggler {
    transition: margin 0.35s ease, font-size 0.35s ease;
}

/* Main slider dots */
.main-slider .slick-dots li.slick-active button {
    background: #1B5C83;
}

/* Headings color */
h1, h2, h3,
.h1, .h2, .h3 {
    color: #1B5C83;
}

/* Decorative line */
.h-decor {
    background-color: #1B5C83 !important;
}

/* CSS Variable override */
:root {
    --primary: #1B5C83 !important;
}

/* Icon text circle - override orange gradient */
.icn-text .icn-text-circle {
    background-image: linear-gradient(to right, #1B5C83 0%, #2980b9 100%) !important;
    background-color: #1B5C83 !important;
    color: #fff !important;
}

.icn-text:hover .icn-text-circle {
    box-shadow: 0 0 0 7px rgba(27, 92, 131, 0.2) !important;
}

.icn-text-sm .icn-text-circle {
    background-color: #1B5C83 !important;
    background-image: none !important;
}

/* Icon text alt - service boxes icon color */
.icn-text-alt .icn-text-alt-icn {
    color: #1B5C83 !important;
}

.icn-text-alt:hover .icn-text-alt-icn {
    color: #66C000 !important;
}

.icn-text-alt:hover .icn-text-circle {
    box-shadow: 0 0 0 10px rgba(27, 92, 131, 0.2) !important;
}

/* Scroll-to-top button */
.backToTop {
    background: #1B5C83 !important;
}

.backToTop:hover {
    box-shadow: 0 0 0 10px rgba(27, 92, 131, 0.2) !important;
    background: #66C000 !important;
}

/* Info box */
.info-box-color {
    background-color: #1B5C83 !important;
}

/* ============================================
   MEDOL ORANGE (#f49c00) OVERRIDES → green/blue
   ============================================ */

/* Primary bootstrap btn */
.btn-primary {
    background-color: #66C000 !important;
    border-color: #66C000 !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #1B5C83 !important;
    border-color: #1B5C83 !important;
}

/* Banner call phone icon + hover */
.banner-call-phone [class*='icon'] {
    color: #66C000 !important;
}
.banner-call-phone:hover {
    color: #66C000 !important;
}

/* Dropdown menu border-top — green instead of orange */
.header .navbar-nav > .nav-item > .dropdown-menu,
.dropdown-item + .dropdown-menu {
    border-top: 2px solid #66C000 !important;
}

/* Override ALL medol btn inset box-shadow orange */
.btn-sm,
.btn-sm:focus,
body:not(.touch) .btn-sm:focus {
    box-shadow: inset 0 0 0 1px #66C000 !important;
}

/* Override medol hover on btn-hover-fill */
body:not(.touch) .btn-hover-fill:hover {
    background: #1B5C83 !important;
    border-color: #1B5C83 !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* btn-hover-fill: outline green → filled blue on hover */
.btn-hover-fill {
    border-color: #66C000 !important;
    color: #1B5C83 !important;
    background-color: transparent !important;
}
.btn-hover-fill span {
    color: #1B5C83 !important;
}
.btn-hover-fill i {
    color: #66C000 !important;
}
.btn-hover-fill:hover,
.btn-hover-fill:focus {
    background-color: #1B5C83 !important;
    border-color: #1B5C83 !important;
    color: #fff !important;
}
.btn-hover-fill:hover span,
.btn-hover-fill:hover i,
.btn-hover-fill:focus span,
.btn-hover-fill:focus i {
    color: #fff !important;
}

/* All other buttons — green border, blue hover */
.btn[class*="btn-"]:not(.btn-white):not(.btn-hover-fill) {
    border-color: #66C000 !important;
}
.btn[class*="btn-"]:not(.btn-white):not(.btn-hover-fill):hover {
    border-color: #1B5C83 !important;
}

/* Link color overrides from medol orange */
a:hover {
    color: #66C000;
}

/* icn-text-alt title hover */
.icn-text-alt:hover .icn-text-alt-title,
.icn-text-alt:hover .icn-text-alt-title a {
    color: #66C000 !important;
}

/* icn-list bold text and icons (footer, sidebar) */
ul.icn-list li b,
ul.icn-list li > [class*='icon'] {
    color: #66C000 !important;
}

/* hovicon (social icons) — only in footer, not in header topline */
.footer .hovicon:hover {
    background: #66C000 !important;
    border-color: #66C000 !important;
}

/* Header topline hovicon — no bg, just color change */
.header-topline .hovicon:hover {
    background: transparent !important;
    border-color: transparent !important;
}

/* Marker list bullets */
.marker-list li::before,
.marker-list-md li::before,
.marker-list-md-line li::before {
    color: #66C000 !important;
}

/* Dropdown menu active/hover */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item.active {
    color: #66C000 !important;
}

/* Call Now Button plugin override */
#callnowbutton {
    background-color: #66C000 !important;
}

/* Quick Links progression */
.quickLinks .col:nth-child(1) > .link { background-color: #143f5a !important; }
.quickLinks .col:nth-child(2) > .link { background-color: #1B5C83 !important; }
.quickLinks .col:nth-child(3) > .link { background-color: #2980b9 !important; }
.quickLinks .col:nth-child(4) > .link { background-color: #3498db !important; }
.quickLinks .col:nth-child(5) > .link { background-color: #5dade2 !important; }
.quickLinks .col:nth-child(6) > .link { background-color: #85c1e9 !important; }

/* Text gradient */
.txt-gradient {
    background: -webkit-linear-gradient(left, #1B5C83, #66C000) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Service box */
.service-box-icon {
    color: #1B5C83;
}

/* Post prev cards - blog posts */
.post-prev {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
}

.post-prev-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.post-prev-info {
    padding: 20px;
}

.post-prev-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
}

.post-prev-title {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-prev-title a {
    color: #1B5C83;
    text-decoration: none;
}

.post-prev-title a:hover {
    color: #66C000;
}

/* ============================================
   WHITE LINE FIX - eliminate gap header/hero
   ============================================ */

/* Header background — fills any gaps between topline/content children */
.header {
    background-color: #1B5C83;
    box-shadow: none !important;
}

/* ============================================
   HERO — Clean split (text left, photo right)
   ============================================ */

.hero-split {
    display: flex;
    min-height: 500px;
}

/* Left: blue bg + text */
.hero-split-text {
    width: 50%;
    background: linear-gradient(135deg, #164d6e 0%, #1B5C83 50%, #1f6a94 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.hero-split-inner {
    max-width: 480px;
    text-align: left;
}

.hero-split-h1 {
    color: #fff !important;
    font-size: 58px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 22px;
}

.hero-split-h1 b,
.hero-split-h1 strong {
    font-weight: 700;
}

.hero-split-green {
    color: #66C000 !important;
    font-weight: 700;
}

.hero-split-sub {
    color: #fff !important;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 35px;
    opacity: 0.9;
}

/* Elegant entrance animations */
.hero-split-h1 {
    animation: heroFadeRight 0.8s ease-out both;
}
.hero-split-sub {
    animation: heroFadeRight 0.8s 0.3s ease-out both;
}
.hero-split-text .btn {
    animation: heroFadeRight 0.8s 0.6s ease-out both;
}

@keyframes heroFadeRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Left: doctor photo with diagonal cut */
.hero-split-photo {
    width: 50%;
    overflow: hidden;
    position: relative;
}

.hero-split-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    animation: heroZoom 8s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

/* Diagonal cut — skewed overlay on right edge of photo */
.hero-split-photo::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -60px;
    bottom: -1px;
    width: 150px;
    background: #1B5C83;
    transform: skewX(-5deg);
    z-index: 2;
}

/* Green accent line on the diagonal */
.hero-split-photo::before {
    content: '';
    position: absolute;
    top: -1px;
    right: 86px;
    bottom: -1px;
    width: 3px;
    background: #66C000;
    transform: skewX(-5deg);
    z-index: 3;
}

/* ---- Responsive ---- */

@media (max-width: 1229px) {
    .hero-split {
        min-height: 420px;
    }
    .hero-split-h1 {
        font-size: 46px;
    }
    .hero-split-text {
        padding: 50px 35px;
    }
}

@media (max-width: 1023px) {
    .hero-split {
        min-height: 360px;
    }
    .hero-split-h1 {
        font-size: 38px;
        letter-spacing: 2px;
    }
    .hero-split-sub {
        font-size: 17px;
    }
    .hero-split-text {
        padding: 40px 25px;
    }
}

@media (max-width: 767px) {
    .hero-split {
        flex-direction: column;
        min-height: auto;
    }
    .hero-split-text {
        width: 100%;
        padding: 35px 25px;
    }
    .hero-split-inner {
        text-align: center;
    }
    .hero-split-photo {
        width: 100%;
        height: 300px;
    }
    .hero-split-photo::after {
        display: none;
    }
    .hero-split-photo::before {
        display: none;
    }
    .hero-split-h1 {
        font-size: 28px;
        letter-spacing: 1.5px;
    }
    .hero-split-sub {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-split-photo {
        height: 250px;
    }
    .hero-split-h1 {
        font-size: 24px;
    }
    .hero-split-text {
        padding: 25px 20px;
    }
}

/* Force hero text to be visible white */
.slide-txt1 {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.slide-txt2 {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Hero section must not clip the QuickLinks sidebar */
.page-content > .section.mt-0:first-child {
    overflow: visible !important;
}

#mainSliderWrapper {
    overflow: hidden;
}

/* QuickLinks sidebar must be above the slider */
.quickLinks-wrap {
    z-index: 200 !important;
}

/* Slider dots override */
.main-slider .slick-dots li button {
    background: rgba(255,255,255,0.5);
}

.main-slider .slick-dots li.slick-active button {
    background: #fff !important;
}

/* Tab nav pills */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #1B5C83;
    color: #fff;
}

/* FAQ accordion */
.faq-accordion .faq-item a[aria-expanded="true"] {
    color: #1B5C83;
}

/* Sidebar services nav */
.services-nav .nav-link.active,
.services-nav .nav-link:hover {
    color: #1B5C83;
    border-left-color: #1B5C83;
}

.services-nav > li > .nav-link {
    border-left: 3px solid transparent;
}

.services-nav > li > .nav-link:hover,
.services-nav > li > .nav-link.active {
    border-left-color: #1B5C83;
}

/* Contact boxes */
.contact-box-1 {
    border-top-color: #1B5C83;
}

.contact-box-2 {
    border-top-color: #66C000;
}

/* Footer — dark blue bg, white text, gold accents */
.footer {
    background: #1B5C83 !important;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0 !important;
}

.footer h3,
.footer .footer-heading {
    color: #66C000 !important;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer .h-decor {
    display: none !important;
}

.footer,
.footer p,
.footer li,
.footer .footer-text,
.footer .footer-text p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
}

.footer a:hover {
    color: #66C000;
}

/* Footer icon list */
.footer ul.icn-list {
    color: rgba(255, 255, 255, 0.85);
}

.footer ul.icn-list li > [class*='icon'] {
    color: #66C000 !important;
}

.footer ul.icn-list .phone,
.footer ul.icn-list .phone a,
.footer ul.icn-list b {
    color: #fff !important;
    font-weight: 600;
}

.footer ul.icn-list a {
    color: rgba(255, 255, 255, 0.9);
}

.footer ul.icn-list a:hover {
    color: #66C000;
}

/* Footer social icons */
.footer .footer-social {
    margin-top: 15px;
}

.footer .footer-social .hovicon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50%;
    color: #fff !important;
    background: transparent !important;
    transition: all 0.3s;
    box-shadow: none !important;
}

.footer .footer-social .hovicon i,
.footer .footer-social .hovicon [class*='icon-'],
.footer .footer-social a [class*='icon-'],
.footer .hovicon i {
    color: #fff !important;
    opacity: 1 !important;
    font-size: 16px;
}

.footer .footer-social .hovicon:hover {
    background-color: #66C000 !important;
    border-color: #66C000 !important;
}

/* Footer nav list — forced visible */
.footer .footer-nav-list {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer .footer-nav-list li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 10px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 15px !important;
}

.footer .footer-nav-list a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 15px !important;
}

.footer .footer-nav-list a:hover {
    color: #66C000 !important;
}

.footer .footer-nav-list a::before {
    content: "\203A" !important;
    margin-right: 8px !important;
    color: #66C000 !important;
}

/* Footer bottom */
.footer-bottom {
    background-color: #143f5a !important;
}

.footer-bottom,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-bottom a:hover {
    color: #66C000 !important;
}

.footer-bottom [class*='icon'] {
    color: #66C000 !important;
}

/* Quick Links */
.quickLinks {
    background-color: #1B5C83;
}

/* Breadcrumbs */
.breadcrumbs-wrap {
    background-color: #f5f5f5;
    padding: 15px 0;
}

.breadcrumbs a {
    color: #1B5C83;
}

.breadcrumbs a::after {
    content: " / ";
    color: #999;
    margin: 0 5px;
}

.breadcrumbs span {
    color: #666;
}

/* ============================================
   ACCENT COLOR: #66C000 (warm gold / amber)
   ============================================ */

/* Buttons - primary style */
.btn {
    background-color: #66C000;
    border-color: #66C000;
    color: #fff;
}

.btn:hover,
.btn:focus {
    background-color: #52A300;
    border-color: #52A300;
    color: #fff;
}

.btn-hover-fill {
    background-color: #66C000;
    border-color: #66C000;
    color: #fff;
}

.btn-hover-fill:hover {
    background-color: #52A300;
    border-color: #52A300;
    color: #fff;
}

/* White button (hero slider) — BIGGER */
.btn-white,
.btn-white span,
.btn-white i {
    background-color: transparent;
    border-color: #fff !important;
    color: #fff !important;
    padding: 16px 40px;
    font-size: 16px !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-width: 2px;
    border-radius: 30px;
}

.btn-white span,
.btn-white i {
    padding: 0;
    border: none !important;
}

.btn-white:hover,
.btn-white:hover span,
.btn-white:hover i {
    background-color: #66C000 !important;
    border-color: #66C000 !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .btn-white {
        padding: 17px 36px !important;
        font-size: 18px !important;
    }
}

/* Button link */
.btn-link,
a.btn-link {
    color: #66C000;
}

.btn-link:hover {
    color: #52A300;
}

/* CTA call phone */
.banner-call-phone {
    color: #1B5C83;
}

.banner-call-phone:hover {
    color: #66C000;
}

/* Gradient button */
.btn-gradient {
    background: linear-gradient(to right, #1B5C83, #66C000);
    color: #fff;
}

/* Badge/counter */
.badge {
    background-color: #66C000;
}

/* Links in content */
.page-content-text a {
    color: #1B5C83;
}

.page-content-text a:hover {
    color: #66C000;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.header-logo img {
    max-height: 60px;
}

/* Topline — white text/links/icons on blue bg */
.header-topline,
.header-topline a,
.header-topline .header-phone,
.header-topline .header-phone a,
.header-topline .header-info,
.header-topline .header-info a {
    color: #fff !important;
}

/* Icons in topline — white, slightly transparent */
.header-topline [class*='icon-'] {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1 !important;
}

/* Hover — green accent */
.header-topline .header-phone a:hover,
.header-topline .header-info a:hover,
.header-topline .header-info:hover,
.header-topline .header-info:hover a,
.header-topline .header-info:hover [class*='icon-'],
.header-topline .header-phone:hover [class*='icon-'] {
    color: #66C000 !important;
}

/* Separator lines between items */
.header-topline .header-info + *:before,
.header-topline .header-phone + *:before {
    background-color: rgba(255, 255, 255, 0.25) !important;
}

/* Social icons — white, hover green */
.header-topline .header-social a,
.header-topline .header-social a [class*='icon-'],
.header-topline .hovicon,
.header-topline .hovicon [class*='icon-'] {
    color: #fff !important;
    opacity: 1 !important;
}

.header-topline .header-social a:hover,
.header-topline .header-social a:hover [class*='icon-'],
.header-topline .hovicon:hover,
.header-topline .hovicon:hover [class*='icon-'] {
    color: #66C000 !important;
    opacity: 1 !important;
}

/* Navbar links */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active > .nav-link,
.navbar-nav .nav-item.current-menu-item > .nav-link,
.navbar-nav .nav-item.current-menu-ancestor > .nav-link {
    color: #fff !important;
}

/* Dropdown menu */
.dropdown-menu {
    border-top: 2px solid #1B5C83;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #1B5C83;
    color: #fff;
}

/* ============================================
   SIDEBAR REFINEMENTS
   ============================================ */

.services-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-nav .nav-item {
    border-bottom: 1px solid #eee;
}

.services-nav .nav-link {
    display: block;
    padding: 10px 15px;
    color: #333;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.services-nav .nav-link:hover {
    color: #1B5C83;
    background-color: #f9f9f9;
    text-decoration: none;
    border-left-color: #1B5C83;
}

.services-nav .nav-link.active {
    color: #1B5C83;
    font-weight: 600;
    background-color: #f0f7fb;
    border-left-color: #1B5C83;
}

/* Keep 50px padding-left for arrow icon space (medol arrow at left:24px) */
.services-nav .collapse .nav-link,
.services-nav ul .nav-link {
    padding-left: 50px;
    font-size: 0.9em;
}

/* Arrow icon color — gold */
.services-nav ul .nav-link:before {
    color: #66C000 !important;
}

/* Active/hover state — gold instead of orange */
.services-nav ul .nav-link:hover,
.services-nav ul .nav-link.active {
    background: #66C000 !important;
    color: #fff !important;
}

.services-nav ul .nav-link:hover:before,
.services-nav ul .nav-link.active:before {
    color: #fff !important;
}

.services-nav .nav-item-parent > .nav-link {
    background-color: #1B5C83;
    color: #fff !important;
    border-left-color: #1B5C83;
    font-weight: 600;
}

.services-nav .nav-item-parent > .nav-link:hover {
    background-color: #143f5a;
    color: #fff !important;
}

/* Contact box styling */
.contact-box {
    background-color: #f5f5f5;
    padding: 20px;
    border-top: 3px solid #1B5C83;
    margin-bottom: 15px;
    color: #333 !important;
}

.contact-box-title {
    color: #1B5C83;
    margin-bottom: 10px;
}

.contact-box ul.icn-list,
.contact-box ul.icn-list li {
    color: #333 !important;
}

.contact-box ul.icn-list li > [class*='icon'] {
    color: #66C000 !important;
}

.contact-box ul.icn-list a {
    color: #1B5C83 !important;
}

.contact-box ul.icn-list a:hover {
    color: #66C000 !important;
}

/* ============================================
   FOOTER NAV LIST
   ============================================ */

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 8px;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.footer-nav-list a:hover {
    color: #66C000;
    text-decoration: none;
}

.footer-nav-list a::before {
    content: "\203A";
    margin-right: 8px;
}

/* ============================================
   SECTION OVERRIDES
   ============================================ */

/* Grey background sections */
.bg-grey {
    background-color: #f5f5f5;
}

/* Section spacing - tighter for medical site */
/* NOTE: .section.mt-0 is the hero section — must have NO padding to avoid white gap */
.section {
    padding-top: 35px;
    padding-bottom: 35px;
}

/* Only the FIRST section (hero) gets zero padding — not all mt-0 sections */
.page-content > .section.mt-0:first-child {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (min-width: 768px) {
    .section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* Remove excessive top margin on sections after hero */
.section.mt-0 + .section {
    padding-top: 30px;
}

/* Subpages: tighter spacing between breadcrumbs and content */
.section.page-content-first {
    padding-top: 20px !important;
    padding-bottom: 30px;
}

.section.page-content-first > .container {
    margin-top: 0 !important;
}

/* Shadow bottom section (service boxes) should flow into next section */
.shadow-bot {
    margin-bottom: 0 !important;
}

/* Contact map iframe */
.contact-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .header-logo img {
        max-height: 45px;
    }

    /* Mobile menu styling */
    .navbar-collapse {
        background-color: #1B5C83;
        padding: 15px;
    }

    .navbar-nav .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.1);
        border: none;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
    }

    .navbar-nav .dropdown-menu .dropdown-item:hover {
        background-color: rgba(0, 0, 0, 0.15);
        color: #fff;
    }
}

@media (max-width: 767px) {
    .services-nav .nav-item-parent {
        display: block;
    }

    .section.page-content-first {
        padding-top: 20px;
    }

    h1 {
        font-size: 1.6rem;
    }
}

/* ============================================
   WORDPRESS CONTENT STYLING
   ============================================ */

/* Style WP content images */
.page-content-text img {
    max-width: 100%;
    height: auto;
}

.page-content-text .alignleft {
    float: left;
    margin: 0 20px 10px 0;
}

.page-content-text .alignright {
    float: right;
    margin: 0 0 10px 20px;
}

.page-content-text .aligncenter {
    display: block;
    margin: 20px auto;
}

/* WP tables */
.page-content-text table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.page-content-text table td,
.page-content-text table th {
    padding: 8px 12px;
    border: 1px solid #ddd;
}

.page-content-text table th {
    background-color: #1B5C83;
    color: #fff;
}

/* CF7 form styling */
.wpcf7 .form-control,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
}

.wpcf7 input[type="submit"] {
    background-color: #66C000;
    border: none;
    color: #fff;
    padding: 12px 30px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #52A300;
}

/* Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.nav-links a,
.nav-links span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    color: #1B5C83;
    text-decoration: none;
}

.nav-links .current {
    background-color: #1B5C83;
    color: #fff;
    border-color: #1B5C83;
}

.nav-links a:hover {
    background-color: #f5f5f5;
}

/* Blog pagination (archive) */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #1B5C83;
    transition: all 0.2s;
}

.blog-pagination span.current {
    background-color: #1B5C83;
    border-color: #1B5C83;
    color: #fff;
}

.blog-pagination a:hover {
    background-color: #1B5C83;
    border-color: #1B5C83;
    color: #fff;
    text-decoration: none;
}

.blog-pagination .dots {
    border: none;
    color: #999;
}

/* Blog category filters */
.blog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.blog-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
    background: #fff;
}

.blog-filter-btn:hover {
    border-color: #1B5C83;
    color: #1B5C83;
    text-decoration: none;
}

.blog-filter-btn.active {
    background: #1B5C83;
    border-color: #1B5C83;
    color: #fff;
}

.blog-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 6px;
    background: rgba(0, 0, 0, 0.08);
    color: #888;
}

.blog-filter-btn.active .blog-filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

/* Blog card category tag */
.blog-card-cat {
    color: #1B5C83;
    font-weight: 600;
}

/* Old Bootstrap shortcodes compatibility */
.row-fluid {
    display: flex;
    flex-wrap: wrap;
}

[class*="span"] {
    float: none;
}

/* wp_list_pages compatibility in sidebar */
.services-nav .children {
    list-style: none;
    padding: 0;
}

.services-nav .children .page_item a {
    display: block;
    padding: 8px 15px 8px 30px;
    color: #333;
    font-size: 0.9em;
    border-bottom: 1px solid #eee;
}

.services-nav .children .page_item a:hover {
    color: #1B5C83;
    background-color: #f9f9f9;
}

.services-nav .current_page_item > a {
    color: #1B5C83 !important;
    font-weight: 600;
}

/* ============================================
   NAVIGATION FIX
   ============================================ */

/* Ensure navbar items have proper spacing */
.navbar-nav .nav-item {
    margin: 0 2px;
}

.navbar-nav .nav-link {
    padding: 10px 12px !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Dropdown alignment */
.navbar-nav .dropdown-menu {
    min-width: 220px;
}

.navbar-nav .dropdown-menu .dropdown-item {
    font-size: 13px;
    padding: 8px 20px;
    text-transform: none;
    white-space: normal;
}

/* ============================================
   FRONT PAGE CONTENT SECTION
   ============================================ */

/* Full content section styling for SEO text — uniform font size */
.page-content-text p,
.page-content-text span,
.page-content-text li,
.page-content-text div {
    font-size: 15px !important;
    line-height: 1.75 !important;
}

.page-content-text p {
    margin-bottom: 15px;
}

/* Override inline font-size from WP editor */
.page-content-text span[style*="font-size"] {
    font-size: inherit !important;
}

.page-content-text .wp-caption {
    max-width: 100%;
    margin: 20px 0;
}

.page-content-text .wp-caption img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.page-content-text .wp-caption-text {
    font-size: 0.85em;
    color: #666;
    padding: 8px 0;
}

/* Jameda widget */
.page-content-text [id*="jameda"] {
    margin: 15px auto;
}

/* Marker list (about section) */
.marker-list-md {
    list-style: none;
    padding: 0;
}

.marker-list-md li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.marker-list-md li:before {
    content: "\2714";
    position: absolute;
    left: 0;
    color: #66C000;
    font-weight: bold;
}

/* ============================================
   §6 SERVICE BOX OVERRIDES
   ============================================ */

/* Service box icon color override */
.service-box-icon {
    color: #1B5C83 !important;
}

.service-box-icon-bg {
    color: rgba(27, 92, 131, 0.08) !important;
}

.service-box-greybg .service-box-caption:hover .service-box-icon {
    color: #66C000 !important;
}

.service-box-title {
    color: #333;
}

.service-box:hover .service-box-title {
    color: #1B5C83;
}

/* Service box with image: dark overlay for text readability */
.service-box .service-box-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
}

.service-box .service-box-caption {
    z-index: 1;
}

.service-box .service-box-image + .service-box-caption .service-box-title {
    color: #fff !important;
}

.service-box .service-box-image + .service-box-caption p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   §10 FAQ ACCORDION OVERRIDES
   ============================================ */

.faq-accordion .faq-item a {
    color: #333;
}

.faq-accordion .faq-item a[aria-expanded="true"] {
    color: #1B5C83 !important;
}

.faq-accordion .faq-item a span:first-child {
    color: #1B5C83;
}

/* ============================================
   §12 BANNER CENTER OVERRIDES
   ============================================ */

.banner-center {
    position: relative;
}

.banner-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 92, 131, 0.75);
}

.banner-center-caption {
    position: relative;
    z-index: 1;
}

.banner-center-text1 {
    color: #fff;
}

.banner-center-text4 {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   §13 NUMBERED BENEFITS OVERRIDES
   ============================================ */

.icn-text-num-number {
    color: #1B5C83 !important;
}

.icn-text-num-title {
    color: #333;
}

/* ============================================
   §11 FRONT PAGE BLOG CARDS + REVIEW CARD
   ============================================ */

/* -- Blog cards on front page -- */
.fp-blog-row {
    display: flex;
    flex-wrap: wrap;
}

.fp-blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 100%;
    transition: box-shadow 0.3s, transform 0.3s;
}

.fp-blog-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.13);
    transform: translateY(-3px);
}

.fp-blog-card-img {
    display: block;
    height: 200px;
    overflow: hidden;
}

.fp-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.fp-blog-card:hover .fp-blog-card-img img {
    transform: scale(1.05);
}

.fp-blog-card-noimg {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8eef2 0%, #d0dce5 100%);
    font-size: 48px;
    color: #9bb5c7;
}

.fp-blog-card-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex: 1;
}

.fp-blog-card-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.fp-blog-card-meta i {
    color: #1B5C83;
    margin-right: 4px;
}

.fp-blog-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}

.fp-blog-card-title a {
    color: #333;
    text-decoration: none;
}

.fp-blog-card-title a:hover {
    color: #1B5C83;
}

.fp-blog-card-excerpt {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 12px;
}

/* -- Review / Patientenbewertungen card -- */
.fp-review-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fp-review-header {
    background: #1B5C83;
    color: #fff;
    padding: 22px 25px;
    text-align: center;
}

.fp-review-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.fp-review-title {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 700;
    margin: 0;
}

.fp-review-body {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    gap: 18px;
}

.fp-review-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #1B5C83;
}

.fp-review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.fp-review-stars {
    color: #f5c518;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 2px;
}

.fp-review-note {
    font-size: 22px;
    font-weight: 800;
    color: #1B5C83;
    line-height: 1.2;
}

.fp-review-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-top: 4px;
}

.fp-review-role {
    font-size: 11px;
    color: #999;
}

.fp-review-details {
    padding: 0 25px 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.fp-review-detail-item {
    display: flex;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
    color: #555;
}

.fp-review-detail-item i {
    color: #1B5C83;
    width: 18px;
    flex-shrink: 0;
    font-size: 14px;
    margin-right: 8px;
}

.fp-review-detail-item a {
    color: #1B5C83;
    text-decoration: none;
}

.fp-review-detail-item a:hover {
    color: #66C000;
}

.fp-review-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: #f8f9fa;
    border-top: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: auto;
}

.fp-review-badge:hover {
    background: #eef3f6;
    text-decoration: none;
}

.fp-review-badge-seal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #01a3d4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.fp-review-badge-text {
    font-size: 13px;
    color: #555;
}

.fp-review-badge-text strong {
    color: #01a3d4;
}

@media (max-width: 575px) {
    .fp-blog-card-img {
        height: 160px;
    }
    .fp-review-body {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   §8 SERVICES TAB OVERRIDES
   ============================================ */

.services-tab-wrap .nav-pills .nav-link {
    color: #333;
    border: 1px solid #ddd;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
}

.services-tab-wrap .nav-pills .nav-link.active {
    background-color: #1B5C83 !important;
    border-color: #1B5C83 !important;
    color: #fff !important;
}

.services-tab-wrap .nav-pills .nav-link:hover {
    color: #1B5C83;
}

/* Marker list line for tabs/benefits — fix alignment */
.marker-list-md-line li::before {
    color: #66C000 !important;
    font-size: 22px !important;
    top: 0px !important;
    line-height: 22px !important;
}

/* ============================================
   §9 SINGLE SERVICE CAROUSEL
   ============================================ */

.single-service h3 {
    color: #1B5C83;
}

.single-service .col-img img {
    border-radius: 4px;
}

/* ============================================
   QUICKLINKS SIDEBAR (vertical on right side)
   ============================================ */

.quickLinks-wrap {
    z-index: 200 !important;
}

/* Override default orange hover to our blue */
body:not(.touch) .quickLinks .col > .link:hover,
.quickLinks .col > .link.active {
    color: #1B5C83 !important;
}

/* Link drop title icon color */
.quickLinks .link-drop-title > [class*='icon-'] {
    color: #1B5C83 !important;
}

/* Close button text */
.quickLinks .col-close {
    color: #1B5C83 !important;
}

/* QuickLinks sidebar — keep blue/white, no green */
.quickLinks .link [class*='icon'],
.quickLinks .link span {
    color: #fff !important;
}

/* QuickLinks open "+" button hover */
body:not(.touch) .quickLinks.closed .quickLinks-open:hover {
    border-left: 45px solid rgba(27, 92, 131, 0.5) !important;
}

/* iframe in quickLinks dropdown */
.quickLinks .link-drop iframe {
    display: block;
    width: 390px;
    max-width: 100vw;
    height: 250px;
}



/* ============================================
   BACK-TO-TOP vs Call Now Button — stack above phone
   ============================================ */
@media (max-width: 650px) {
    .backToTop.visible {
        bottom: 85px !important;
    }
}

/* ============================================
   FOOTER — center on mobile
   ============================================ */
@media (max-width: 767px) {
    /* All columns centered */
    .footer .col-sm-6,
    .footer .footer-col1 {
        text-align: center;
    }

    /* Logo centered */
    .footer .footer-logo {
        max-width: none !important;
        display: flex;
        justify-content: center;
    }
    .footer .footer-logo img {
        max-width: 200px;
    }

    /* Headings + decor centered */
    .footer h3 {
        text-align: center;
    }
    .footer .h-decor {
        margin-left: auto;
        margin-right: auto;
    }

    /* Nav list centered */
    .footer .footer-nav-list {
        padding-left: 0;
        list-style: none;
    }

    /* Social icons centered */
    .footer .footer-social {
        justify-content: center;
        display: flex;
    }

    /* icn-list: flex layout, centered as block */
    .footer ul.icn-list li {
        padding-left: 0;
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 10px;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer ul.icn-list li > [class*='icon'] {
        position: static;
        flex-shrink: 0;
        margin-top: 3px;
    }
}

/* ============================================
   RESPONSIVE FOR NEW SECTIONS
   ============================================ */

@media (max-width: 767px) {
    .banner-center-text1 {
        font-size: 1.5rem;
    }

    .fp-review-card {
        margin-top: 20px;
    }

    .faq-wrap {
        padding: 30px 15px;
    }

    .services-tab-wrap {
        padding: 30px 15px;
    }

    .icn-text-num {
        margin-bottom: 30px;
    }
}

/* ============================================
   §5 DOCTOR CARD
   ============================================ */

.doctor-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border-top: 3px solid #1B5C83;
}

.doctor-card-photo {
    position: relative;
    overflow: hidden;
}

.doctor-card-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.doctor-card-body {
    padding: 18px 20px 20px;
}

.doctor-card-name {
    color: #1B5C83;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 2px;
}

.doctor-card-role {
    color: #888;
    font-size: 12px;
    line-height: 1.4;
    margin: 0 0 14px;
}

.doctor-card-info {
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-bottom: 14px;
}

.doctor-card-info-item {
    display: flex;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
    color: #555;
}

.doctor-card-info-item [class*='icon-'] {
    color: #1B5C83;
    width: 18px;
    flex-shrink: 0;
    font-size: 14px;
    margin-right: 8px;
}

.doctor-card-info-item a {
    color: #1B5C83;
    text-decoration: none;
}

.doctor-card-info-item a:hover {
    color: #66C000;
}

.doctor-card-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.doctor-card-jameda {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.doctor-card-jameda a {
    text-decoration: none;
    display: inline-block;
}

.doctor-card-jameda-stars {
    display: block;
    color: #f5c518;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 3px;
}

.doctor-card-jameda-text {
    display: block;
    font-size: 11px;
    color: #999;
}

.doctor-card-jameda a:hover .doctor-card-jameda-text {
    color: #01a3d4;
}

@media (max-width: 991px) {
    .doctor-card:not(.doctor-card-inline) {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Doctor card inline variant (subpages, replaces Jameda widget) */
.doctor-card-inline {
    max-width: 600px;
    margin: 25px 0;
}

.doctor-card-inline .doctor-card-photo img {
    height: 100%;
    min-height: 220px;
    object-position: center 20%;
}

.doctor-card-inline .doctor-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.doctor-card-inline .doctor-card-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.doctor-card-btn-sm {
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.doctor-card-inline .doctor-card-jameda {
    border-top: none;
    padding-top: 0;
    text-align: left;
}

@media (max-width: 575px) {
    .doctor-card-inline .doctor-card-photo img {
        height: 200px;
        min-height: auto;
    }

    .doctor-card-inline .doctor-card-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   TABS SHORTCODES PLUGIN STYLING
   ============================================ */

ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 -1px 0;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #1B5C83;
}

ul.tabs li {
    margin: 0;
}

ul.tabs li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: 2px;
    border-radius: 4px 4px 0 0;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

ul.tabs li a:hover {
    background-color: #e9e9e9;
    color: #1B5C83;
    text-decoration: none;
}

ul.tabs li a.active {
    background-color: #fff;
    color: #1B5C83;
    border-color: #1B5C83;
    border-bottom: 2px solid #fff;
    margin-bottom: -2px;
}

section.tab {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
    background: #fff;
}

section.tab.active {
    display: block;
}

@media (max-width: 767px) {
    ul.tabs {
        flex-direction: column;
        border-bottom: none;
    }

    ul.tabs li a {
        border-radius: 0;
        margin-right: 0;
        border-bottom: 1px solid #ddd;
    }

    ul.tabs li a.active {
        border-bottom: 1px solid #ddd;
        margin-bottom: 0;
        background-color: #1B5C83;
        color: #fff;
    }

    section.tab {
        border-top: none;
    }
}

/* ============================================
   GALLERY - responsive grid with lightbox
   ============================================ */

.hno-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.hno-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hno-gallery-item a {
    display: block;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.hno-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hno-gallery-item:hover img {
    transform: scale(1.08);
}

.hno-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 92, 131, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hno-gallery-item:hover .hno-gallery-overlay {
    opacity: 1;
}

.hno-gallery-overlay span {
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lightbox */
.hno-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.hno-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.hno-lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.hno-lightbox-close:hover {
    opacity: 1;
}

.hno-lightbox-prev,
.hno-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.2s;
    user-select: none;
    padding: 10px;
    line-height: 1;
}

.hno-lightbox-prev:hover,
.hno-lightbox-next:hover {
    opacity: 1;
}

.hno-lightbox-prev {
    left: 10px;
}

.hno-lightbox-next {
    right: 10px;
}

.hno-lightbox-content {
    text-align: center;
    max-width: 90%;
    max-height: 85vh;
}

.hno-lightbox-content img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hno-lightbox-caption-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-top: 12px;
}

.hno-lightbox-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

@media (max-width: 767px) {
    .hno-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .hno-gallery-item img {
        height: 150px;
    }

    .hno-lightbox-prev,
    .hno-lightbox-next {
        font-size: 32px;
    }

    .hno-lightbox-prev {
        left: 5px;
    }

    .hno-lightbox-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .hno-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .hno-gallery-item img {
        height: 130px;
    }
}

/* ============================================
   BLOG CARDS (archive page)
   ============================================ */

.blog-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s;
}

.blog-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.blog-card-img {
    display: block;
    overflow: hidden;
    position: relative;
    height: 200px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-noimg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1B5C83, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 60px;
}

.blog-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.blog-card-date [class*='icon-'] {
    color: #66C000;
    margin-right: 4px;
}

.blog-card-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 10px;
    font-weight: 600;
}

.blog-card-title a {
    color: #1B5C83;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #66C000;
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    flex: 1;
    margin-bottom: 12px;
}

.blog-card-excerpt p {
    margin: 0;
}

.blog-card .btn-link {
    font-size: 13px;
    font-weight: 600;
    margin-top: auto;
}

/* ============================================
   SINGLE POST
   ============================================ */

.single-post-header {
    margin-bottom: 25px;
}

.single-post-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.single-post-date [class*='icon-'] {
    color: #66C000;
    margin-right: 4px;
}

.single-post-cat {
    color: #1B5C83;
    font-weight: 600;
}

.single-post-header h1 {
    margin-bottom: 15px;
}

.single-post-img {
    border-radius: 6px;
    overflow: hidden;
}

.single-post-img img {
    width: 100%;
    height: auto;
}

/* Post navigation between posts */
.post-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-nav-prev,
.post-nav-next {
    display: block;
    text-decoration: none;
    padding: 15px 20px;
    background: #f8f8f8;
    border-radius: 6px;
    flex: 1;
    max-width: 48%;
    transition: background 0.2s;
}

.post-nav-next {
    text-align: right;
    margin-left: auto;
}

.post-nav-prev:hover,
.post-nav-next:hover {
    background: #f0f0f0;
    text-decoration: none;
}

.post-nav-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-nav-label [class*='icon-'] {
    color: #66C000;
    font-size: 10px;
}

.post-nav-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1B5C83;
    line-height: 1.4;
}

.post-nav-prev:hover .post-nav-title,
.post-nav-next:hover .post-nav-title {
    color: #66C000;
}

@media (max-width: 575px) {
    .post-nav-links {
        flex-direction: column;
    }

    .post-nav-prev,
    .post-nav-next {
        max-width: 100%;
    }

    .post-nav-next {
        text-align: left;
    }
}

/* ============================================
   FRONT PAGE — PREMIUM POLISH
   ============================================ */

/* More breathing room between sections */
.home .section {
    padding-top: 55px;
    padding-bottom: 55px;
}

/* Softer body text — lighter, more readable, UNIFORM */
.home .section p,
.home .section span,
.home .section li {
    color: #555;
    line-height: 1.85;
    font-size: 15px !important;
}

/* Override any inline font-size from WP editor */
.home .section span[style*="font-size"] {
    font-size: inherit !important;
}

/* Lead paragraph — first p after title slightly larger */
.home .title-wrap + p,
.home .title-wrap + .row > div > p:first-child {
    font-size: 16px;
    color: #444;
}

/* h-sub — subtle uppercase above headings */
.home .h-sub {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #66C000;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Headings — tighter, cleaner */
.home .h1,
.home h1,
.home h2.h1 {
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    color: #222;
}

/* h-decor — styled line under headings */
.home .h-decor {
    width: 50px;
    height: 3px;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Title wrap spacing */
.home .title-wrap {
    margin-bottom: 25px;
}

/* Images — premium rounded shadow look */
.home .section .img-fluid:not(.header-logo img) {
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Image captions — cleaner */
.home .section small {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    font-style: italic;
}

/* Marker lists — more space, subtle gold bullets */
.home .marker-list-md li,
.home .marker-list-md-line li {
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

/* Service boxes — clean hover transition */
.home .service-box {
    transition: transform 0.3s;
}

.home .service-box:hover {
    transform: scale(1.01);
}

/* Service box grey — cleaner */
.home .service-box-greybg .service-box-caption {
    padding: 30px 20px;
}

/* FAQ section — more polish */
.home .faq-wrap {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Banner CTA — better text readability */
.home .banner-center-text4 {
    font-size: 16px;
    line-height: 1.8;
    max-width: 600px;
    margin: 15px auto 0;
    opacity: 0.9;
}

/* Banner call section — cleaner */
.home .banner-call {
    border-radius: 10px;
    overflow: hidden;
}

.banner-call img.shift-left-1 {
    width: 100%;
    height: 350px;
    margin-left: 0;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .banner-call img.shift-left-1 {
        height: 280px;
        margin: 0 auto;
        display: block;
    }
}

/* icn-text-alt service boxes — add subtle card feel */
.home .icn-text-alt {
    padding: 20px 15px;
    border-radius: 8px;
    transition: background 0.3s, box-shadow 0.3s;
}

.home .icn-text-alt:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* Vorteile checklist — bigger check styling */
.home .marker-list-md li::before {
    color: #66C000 !important;
    font-weight: 700;
}

/* Section bg-grey — slightly lighter for contrast */
.home .section.bg-grey {
    background-color: #f7f9fb !important;
}

/* Centered text sections — max-width for readability */
.home .justify-content-center .col-lg-10 p {
    max-width: 750px;
}

/* icn-text-num — numbered sections styling */
.home .icn-text-num .num {
    font-size: 48px;
    font-weight: 800;
    color: #66C000;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}

.home .icn-text-num h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.home .icn-text-num p {
    font-size: 14px;
}

/* Scroll-triggered fade-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home .section .title-wrap,
.home .section .row,
.home .section .banner-center-caption {
    animation: fadeInUp 0.6s ease-out both;
}

/* Theme-color span in headings — gold accent */
.home .theme-color {
    color: #66C000 !important;
}

/* Buttons — slightly bigger padding, smoother */
.home .btn-hover-fill {
    padding: 12px 28px;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s;
}

/* Section divider line between white sections */
.home .section + .section:not(.bg-grey):not(.py-0) {
    border-top: 1px solid #eef1f4;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .home .section {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .home .h1,
    .home h1,
    .home h2.h1 {
        font-size: 22px;
    }

    .home .section p {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    .home .h1,
    .home h1,
    .home h2.h1 {
        font-size: 32px;
    }
}

/* ============================================
   FOCUS SEALS ROW
   ============================================ */
.focus-seals {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.focus-seals img {
    height: 240px;
    width: auto;
    transition: transform 0.3s;
}

.focus-seals img:hover {
    transform: scale(1.05);
}

@media (max-width: 575px) {
    .focus-seals img {
        height: 130px;
    }
    .focus-seals {
        gap: 12px;
    }
}

/* ============================================
   PUBLIKATIONEN BOX
   ============================================ */
.publikationen-box {
    background: #f7f9fb;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #66C000;
}

.publikationen-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 8px 0 0;
}

/* Practice sign image */
.practice-sign-img {
    max-width: 250px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
    .practice-sign-img {
        max-width: 200px;
    }
}
