/* ===== Marjan Medical Center – brand & theme overrides ===== */

/* ===== Welcome Highlight ===== */
.nmc-welcome-highlight {
    display: inline-block;
    background: linear-gradient(135deg, #e8a020 0%, #f5c55a 100%);
    color: #0B1F43 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 10px 22px;
    border-radius: 8px;
    border-left: 4px solid #0B1F43;
    margin-bottom: 18px !important;
    box-shadow: 0 4px 18px rgba(232,160,32,0.25);
}

/* ===== News Card ===== */
.nmc-news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 40px rgba(19,49,109,0.09);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.nmc-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 50px rgba(19,49,109,0.15);
}
.nmc-news-card-img {
    overflow: hidden;
    height: 220px;
}
.nmc-news-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.nmc-news-card:hover .nmc-news-card-img img { transform: scale(1.06); }
.nmc-news-card-body {
    padding: 28px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nmc-news-meta {
    display: flex; align-items: center; gap: 14px;
    font-size: 13px; color: #888; margin-bottom: 14px;
}
.nmc-news-meta .nmc-news-cat {
    background: #e8a020; color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
    padding: 4px 12px; border-radius: 30px; text-transform: uppercase;
}
.nmc-news-card-body h3 {
    font-size: 20px; font-weight: 800; color: #0B1F43;
    line-height: 1.35; margin-bottom: 12px;
}
.nmc-news-card-body p {
    font-size: 15px; color: #666; line-height: 1.75;
    flex: 1; margin-bottom: 20px;
}
.nmc-news-read-more {
    display: inline-flex; align-items: center; gap: 8px;
    color: #0B1F43; font-weight: 700; font-size: 14px;
    text-decoration: none; transition: gap 0.3s;
}
.nmc-news-read-more:hover { gap: 14px; color: #e8a020; }

/* ===== News Inner Page ===== */
.nmc-news-inner-img { border-radius: 16px; overflow: hidden; margin-bottom: 36px; }
.nmc-news-inner-img img { width: 100%; display: block; }
.nmc-news-inner-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
    margin-bottom: 24px;
}
.nmc-news-inner-meta .cat-badge {
    background: #e8a020; color: #fff;
    font-size: 12px; font-weight: 700; padding: 5px 16px;
    border-radius: 30px; text-transform: uppercase; letter-spacing: 0.8px;
}
.nmc-news-inner-meta span { font-size: 14px; color: #888; }
.nmc-news-inner-title {
    font-size: 34px; font-weight: 800; color: #0B1F43;
    line-height: 1.25; margin-bottom: 28px;
}
.nmc-news-inner-body p {
    font-size: 16px; color: #444; line-height: 1.85; margin-bottom: 22px;
}
.nmc-news-inner-body h4 {
    font-size: 20px; font-weight: 700; color: #0B1F43; margin: 32px 0 14px;
}
.nmc-news-sidebar-card {
    background: #f5f7fc; border-radius: 14px;
    padding: 28px 24px; margin-bottom: 24px;
}
.nmc-news-sidebar-card h5 {
    font-size: 16px; font-weight: 800; color: #0B1F43;
    border-bottom: 2px solid #e8a020; padding-bottom: 10px; margin-bottom: 18px;
}
.nmc-sidebar-recent-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 12px 0; border-bottom: 1px solid #e4e8f0;
}
.nmc-sidebar-recent-item:last-child { border-bottom: none; }
.nmc-sidebar-recent-item img {
    width: 70px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0;
}
.nmc-sidebar-recent-item a {
    font-size: 14px; font-weight: 600; color: #0B1F43; text-decoration: none; line-height: 1.4;
}
.nmc-sidebar-recent-item a:hover { color: #e8a020; }
.nmc-sidebar-recent-item small { font-size: 12px; color: #999; display: block; margin-top: 4px; }

/* ===== Team Inner Page – Profile Design ===== */
.member-photo-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 40px rgba(19,49,109,0.10);
}
.member-photo-card figure { margin: 0; }
.member-photo-card figure img { width: 100%; display: block; }
.member-card-info {
    padding: 20px 18px;
    text-align: center;
    background: #13316D;
}
.member-card-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.member-card-info span {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

.member-content-card {
    background: #fff;
    border-radius: 16px;
    padding: 42px 44px;
    box-shadow: 0 6px 40px rgba(19,49,109,0.08);
    height: 100%;
}

.member-profile-head { margin-bottom: 28px; }

.member-name-line {
    font-size: 28px;
    font-weight: 800;
    color: #13316D;
    line-height: 1.25;
    margin-bottom: 6px;
}
.member-credentials-line {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    margin-bottom: 14px;
}
.member-position-badge {
    display: inline-block;
    background: #13316D;
    color: #fff;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}
.member-org-name {
    font-size: 14px;
    color: #888;
    margin: 0;
    font-weight: 500;
}
.member-divider {
    border: 0;
    border-top: 2px solid #eef1f7;
    margin: 24px 0;
}

.member-bio p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 18px;
}
.member-bio p:last-child { margin-bottom: 0; }

/* Spacing for headings/lists inside rich-text (Quill) content blocks:
   department pages, chairman/board-member/doctor bios. Keeps "Our
   Services" style bullet lists and section headings well spaced without
   needing per-page inline styles. */
.member-bio h1, .member-bio h2, .member-bio h3, .member-bio h4,
.service-single-content h1, .service-single-content h2, .service-single-content h3, .service-single-content h4 {
    color: #13316D;
    font-weight: 700;
    margin: 28px 0 14px;
}
.member-bio h1:first-child, .member-bio h2:first-child, .member-bio h3:first-child, .member-bio h4:first-child,
.service-single-content h1:first-child, .service-single-content h2:first-child, .service-single-content h3:first-child, .service-single-content h4:first-child {
    margin-top: 0;
}
.member-bio ul, .member-bio ol,
.service-single-content ul, .service-single-content ol {
    padding-left: 22px;
    margin: 0 0 20px;
}
.member-bio ul li, .member-bio ol li,
.service-single-content ul li, .service-single-content ol li {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 8px;
}
.member-bio ul ul, .member-bio ol ol, .member-bio ul ol, .member-bio ol ul,
.service-single-content ul ul, .service-single-content ol ol, .service-single-content ul ol, .service-single-content ol ul {
    margin-top: 8px;
    margin-bottom: 0;
}
.service-single-content p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 18px;
}

.member-services-heading {
    font-size: 16px;
    font-weight: 700;
    color: #13316D;
    margin: 22px 0 12px;
}
.member-services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
}
.member-services-list li {
    font-size: 14px;
    color: #444;
    padding: 7px 0 7px 22px;
    position: relative;
    border-bottom: 1px solid #f0f2f5;
}
.member-services-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #13316D;
}

.member-quote-box {
    background: linear-gradient(135deg, #eef3fb 0%, #e6edf8 100%);
    border-left: 4px solid #13316D;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 24px 0 0;
    font-style: italic;
    font-size: 15px;
    color: #3a4a6b;
    line-height: 1.75;
}

.member-placeholder {
    padding: 48px 20px;
    text-align: center;
    color: #b0bcd0;
}
.member-placeholder i {
    font-size: 48px;
    margin-bottom: 14px;
    display: block;
    color: #d8e1ef;
}
.member-placeholder p {
    font-size: 15px;
    margin: 0;
    color: #b0bcd0;
}

@media (max-width: 767px) {
    .member-content-card { padding: 28px 20px; }
    .member-name-line { font-size: 22px; }
    .member-services-list { grid-template-columns: 1fr; }
}

/* Text brand (replaces logo image) */
.navbar-brand.brand-text,
.footer-logo .brand-text{
	display: inline-block;
	font-family: var(--default-font);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.3px;
	text-decoration: none;
}

.navbar-brand.brand-text{
	font-size: 22px;
	color: var(--white-color);
}

.navbar-brand.brand-text span{
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--accent-color);
	opacity: 0.95;
}

.footer-logo .brand-text{
	font-size: 26px;
	color: var(--white-color);
}

.footer-logo .brand-text span{
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--accent-color);
}

/* Make sure FontAwesome dropdown arrows / social icons render even if the
   local webfont is missing (CDN fallback is loaded in <head>). */
.navbar-nav .submenu > a::after,
.slicknav_nav .slicknav_arrow{
	font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands";
}

/* ===== Image logo (header + footer) ===== */
.navbar-brand img{
	height: 46px;
	width: auto;
	max-width: 300px;
	object-fit: contain;
}

.footer-logo .footer-logo-link{
	display: inline-block;
}

.footer-logo img{
	height: 50px;
	width: auto;
	max-width: 320px;
	object-fit: contain;
}

@media (max-width: 575px){
	.navbar-brand img{ height: 40px; max-width: 240px; }
}

/* Footer "Let's Talk" logo (replaces the welcome subtitle) */
.footer-lets-talk-logo{
	display: block;
	height: 64px;
	width: auto;
	max-width: 300px;
	object-fit: contain;
	margin-bottom: 4px;
}

/* ===== 5-column grid for doctors section ===== */
@media (min-width: 1200px) {
    .col-xl-5col {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* ===== Dropdown Navigation ===== */
.navbar-nav .dropdown-menu {
    background: #13316D;
    border: none;
    border-top: 3px solid #e8a020;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 40px rgba(19, 49, 109, 0.30);
    padding: 6px 0;
    min-width: 200px;
    margin-top: 0;
    display: none;
}
.navbar-nav .dropdown-item {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-left-color: #e8a020;
}

/* ===== Hover-open dropdowns (desktop only) ===== */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
    .navbar-nav .dropdown > .dropdown-toggle {
        cursor: default;
    }
}

/* ===== Mobile – stop Bootstrap dropdown-menu from floating inside SlickNav ===== */
@media (max-width: 991px) {
    /* Reset Bootstrap positioning — do NOT set display (SlickNav JS controls that) */
    .slicknav_nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .slicknav_nav .dropdown-menu li a,
    .slicknav_nav .dropdown-menu .dropdown-item {
        border-radius: 0 !important;
        border-left: none !important;
    }
}

/* ===== Mobile SlickNav – colour overrides ===== */
.slicknav_menu {
    background: #13316D !important;
}

/* Top-level nav links */
.slicknav_nav .slicknav_row,
.slicknav_nav li > a {
    color: rgba(255, 255, 255, 0.90) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 11px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Hover / focus on top-level items */
.slicknav_nav a:hover,
.slicknav_nav a:focus,
.slicknav_nav .slicknav_row:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #e8a020 !important;
}

/* Dropdown submenu panel */
.slicknav_menu ul ul {
    background: rgba(0, 0, 0, 0.25) !important;
    border-left: 3px solid #e8a020 !important;
    margin: 0 !important;
}

/* Submenu links */
.slicknav_menu ul ul li a {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 14px !important;
    padding: 10px 20px 10px 22px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Submenu link hover */
.slicknav_menu ul ul li a:hover {
    background: rgba(255, 255, 255, 0.10) !important;
    color: #e8a020 !important;
}

/* Arrow icon colour */
.slicknav_arrow:after {
    color: #e8a020 !important;
}

.slicknav_open > a .slicknav_arrow:after {
    color: #e8a020 !important;
}

/* ===== Inner Team Pages – Justified Content Text ===== */
.member-bio p,
.member-about-item p,
.team-single-content p,
.team-member-about p,
.team-member-education p,
.service-single-content p,
.about-content p,
.page-team-single .section-title p {
    text-align: justify;
}
