:root {
	--hl-primary-color: #00878a;     /* Official Healthline Teal */
    --hl-primary-dark: #006b6d;
    --hl-accent-teal: #2e7d80;      /* Accessibile Action Teal */
	--hl-text-dark: #111111;         /* Deeper gray for modern contrast */
	--hl-text-light: #666666;        /* Sub-text color */
	--hl-bg-light: #ffffff;          /* Clean white background */
    --hl-section-bg: #fdfaf6;        /* Subtle off-white for specific sections */
	--hl-border-radius: 40px;        /* Soft, capsule-like corners */
    --hl-font-family: 'Outfit', 'Inter', 'Segoe UI', sans-serif;
    --hl-transition: 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Base Body Style for Consistency */
body {
    background-color: var(--hl-bg-light);
    color: var(--hl-text-dark);
    overflow-x: hidden;
}

.hl-header-wrapper {
    font-family: var(--hl-font-family);
    display: flex;
    flex-direction: column;
}
.hl-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 2%;
    background-color: #000;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* True Full-Width Breakout */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.hl-header-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    color: currentColor;
    text-decoration: none;
}
.hl-header-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}
.hl-nav-link {
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    color: currentColor;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}
.hl-nav-link:hover { opacity: 0.8; }

/* Megamenu */
.hl-has-megamenu { position: static; }
.hl-megamenu {
    position: absolute;
    top: 100%;
    /* Viewport Full-Width Breakout Trick */
    left: 50%;
    width: 100vw;
    background: #fbfaf5; /* Off-white background */
    color: #000;
    border-top: 2px solid var(--hl-primary-color);
    visibility: hidden;
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.2s ease-in-out;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.hl-megamenu.active,
.hl-has-megamenu:hover .hl-megamenu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mega Menu Inner Structure */
.hl-megamenu-inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    gap: 0;
}
.hl-close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

/* Mega Header Styles (Condition Spotlight, etc) */
.hl-mega-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e0dfd1;
    padding-bottom: 12px;
    margin-bottom: 25px;
}
.hl-mega-header h4 {
    font-size: 19px;
    font-weight: 900;
    color: var(--hl-text-dark);
    margin: 0;
}
.hl-mega-all {
    font-size: 13px;
    font-weight: 800;
    color: var(--hl-text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Left Section: Menu Columns CSS */
.hl-mega-left {
    flex: 1;
    padding-right: 50px;
}
.hl-wp-menu-cols {
    columns: 3;
    column-gap: 50px;
    list-style: none;
    margin: 0; padding: 0;
}
.hl-wp-menu-cols > li {
    break-inside: avoid-column;
    margin-bottom: 20px;
}
.hl-wp-menu-cols a {
    color: var(--hl-text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.15s ease-in-out;
    display: block;
}
.hl-wp-menu-cols a:hover {
    color: var(--hl-primary-color);
}

/* Right Section: Featured Images */
.hl-mega-right {
    width: 350px;
    border-left: 2px solid #e0dfd1;
    padding-left: 50px;
}
.hl-featured-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hl-featured-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    border-radius: 8px;
}
.hl-featured-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.hl-featured-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--hl-text-dark);
}
.hl-menu-col h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.hl-menu-col ul { list-style: none; padding: 0; margin: 0; }
.hl-menu-col ul li { margin-bottom: 15px; }
.hl-menu-col ul li a { text-decoration: none; color: #333; font-weight: 500; font-size: 15px; }
.hl-menu-col ul li a:hover { color: var(--hl-primary-color); }
.hl-mini-prog { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; cursor:pointer;}
.hl-mini-prog img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.hl-mini-prog span { font-weight: 700; font-size: 14px; max-width: 150px; }

/* Right Section & Search */
.hl-header-right {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
}
.hl-header-right a { text-decoration: none; font-weight: 700; font-size: 14px; color: currentColor; }
.hl-header-btn-sub {
    padding: 8px 15px;
    border: 2px solid currentColor;
    border-radius: 20px;
}
.hl-search-trigger { cursor: pointer; color: currentColor; }
.hl-search-expanded {
    position: absolute;
    right: 0;
    display: none;
    align-items: center;
    background: #fff;
    padding: 2px;
    border-radius: 4px;
    width: 350px;
}
.hl-search-expanded.active { display: flex; }
.hl-search-expanded input {
    border: none;
    padding: 10px 15px;
    width: 100%;
    outline: none;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
}
.hl-search-submit {
    background: none;
    border: none;
    color: var(--hl-primary-color);
    padding: 0 10px;
    cursor: pointer;
}


/* Modals */

/* Modals */
.hl-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.hl-modal-content {
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.hl-modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    font-size: 20px; cursor: pointer; color: #777;
}
.hl-modal-content h2 { font-weight: 900; margin-bottom: 15px; font-size: 22px; }
.hl-modal-content p { color: #555; margin-bottom: 25px; line-height: 1.5; }
.hl-modal-input {
    width: 100%; padding: 12px; border: 1px solid #ccc;
    border-radius: 5px; margin-bottom: 15px; font-size: 15px;
}
.hl-modal-btn {
    width: 100%; padding: 12px; background: var(--hl-primary-color);
    color: #fff; border: none; border-radius: 5px; font-weight: 700; cursor: pointer;
}
.hl-modal-social-btn {
    width: 100%; padding: 12px; border: 2px solid #ccc; background: #fff;
    border-radius: 5px; margin-bottom: 10px; font-weight: 700; cursor: pointer;
}

/* Mobile & Tablet Responsiveness */
.hl-mobile-controls {
    display: none;
    position: absolute;
    top: 15px; left: 15px;
    z-index: 1000;
}
.hl-hamburger {
    background: none; border: none;
    color: #fff; cursor: pointer;
    width: 30px; height: 30px;
}
.hl-offcanvas-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 10000;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.hl-offcanvas-overlay.active { opacity: 1; visibility: visible; }
.hl-offcanvas-menu {
    position: absolute; top: 0; left: -300px;
    width: 300px; height: 100%; background: #fff; color: #000;
    transition: 0.3s; padding: 20px; overflow-y: auto;
}
.hl-offcanvas-overlay.active .hl-offcanvas-menu { left: 0; }
.hl-offcanvas-close {
    position: absolute; top: 20px; right: 20px;
    background: none; border: none; font-size: 24px; cursor: pointer;
}
.hl-offcanvas-content { margin-top: 50px; display: flex; flex-direction: column; gap: 15px; }
.hl-offcanvas-link {
    text-decoration: none; font-weight: 800; font-size: 18px; color: #000;
    padding-bottom: 15px; border-bottom: 1px solid #eee; display: block;
}
.hl-offcanvas-sub { display: none; padding-left: 20px; margin-top: 10px; margin-bottom: 15px; }
.hl-offcanvas-sub a { display: block; padding: 5px 0; color: #555; text-decoration: none; font-weight: 600; }
.hl-offcanvas-auth { margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; }

@media (max-width: 900px) {
    .hl-header-nav, .hl-header-right.desktop-only { display: none !important; }
    .hl-mobile-controls { display: block; }
    .hl-header-logo { margin-left: 40px; }
}



/* =========================================
   1. Hero Widget
   ========================================= */
.hl-hero-container {
    display: flex;
    gap: 30px;
    font-family: var(--hl-font-family);
    margin-bottom: 40px;
}

.hl-hero-wrapper {
    max-width: 1280px;
    margin: 40px auto 80px;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.hl-hero-main {
    flex: 2.2;
    background: #eaf6f6;
    border-radius: var(--hl-border-radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: var(--hl-transition);
    overflow: hidden;
}

.hl-hero-image-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.hl-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.hl-hero-main:hover .hl-hero-image {
    transform: scale(1.05);
}

.hl-hero-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hl-series-label {
    color: var(--hl-accent-teal);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hl-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--hl-text-dark);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1px;
}

.hl-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--hl-text-light);
    margin: 0;
    max-width: 90%;
}

/* Hero Trending Section */
.hl-hero-trending {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hl-trending-header {
    font-size: 20px;
    font-weight: 800;
    color: var(--hl-text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.hl-trending-list {
    display: flex;
    flex-direction: column;
}

.hl-trending-item {
    display: flex;
    gap: 16px;
    text-decoration: none;
    padding: 15px 0;
    transition: var(--hl-transition);
}

.hl-trending-item:hover {
    transform: translateX(5px);
}

.hl-trending-item img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.hl-trending-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.hl-trending-cat {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--hl-accent-teal);
    letter-spacing: 0.5px;
}

.hl-trending-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--hl-text-dark);
    margin: 0;
    transition: color 0.2s;
}

.hl-trending-item:hover .hl-trending-title {
    color: var(--hl-primary-color);
}

.hl-trending-divider {
    height: 1px;
    background: #eeeeee;
    width: 100%;
}

.hl-trending-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--hl-text-dark);
    margin: 0;
    line-height: 1.3;
}

/* =========================================
   2. Topics Widget
   ========================================= */
.hl-topics-wrapper {
    margin-top: 50px;
    margin-bottom: 50px;
    font-family: var(--hl-font-family);
}

.hl-topics-wrapper .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.hl-topics-wrapper h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--hl-text-dark);
    margin: 0;
}

.hl-topics-wrapper .view-all {
    color: var(--hl-primary-color);
    font-weight: 800;
    text-decoration: none;
    font-size: 15px;
}

.hl-topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.hl-topic-item {
    text-decoration: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hl-topic-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hl-topic-item:hover img {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.hl-topic-item h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--hl-text-dark);
}

.hl-slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}
.hl-dots { display: flex; gap: 8px; justify-content: center; flex: 1; }
.hl-dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; cursor: pointer; }
.hl-dot.active { background: var(--hl-primary-color); }

.hl-arrows { display: flex; gap: 15px; }
.hl-arrow-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ccc; background: transparent; 
    color: #555; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.hl-arrow-btn:hover { border-color: var(--hl-text-dark); color: var(--hl-text-dark); }

/* =========================================
   3. Reads Widget
   ========================================= */
.hl-reads-wrapper {
    max-width: 1280px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: var(--hl-font-family);
}

.hl-reads-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--hl-text-dark);
    margin-bottom: 30px;
}

.hl-reads-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hl-read-tab {
    padding: 10px 24px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    color: var(--hl-text-dark);
    cursor: pointer;
    background: #f5f5f5;
    transition: var(--hl-transition);
}

.hl-read-tab:hover {
    background: #eeeeee;
}

.hl-read-tab.active {
    background: var(--hl-primary-color);
    color: #fff;
}

.hl-reads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 20px;
}

.hl-read-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 15px 0;
    text-decoration: none;
    transition: var(--hl-transition);
}

.hl-read-item:hover {
    transform: translateX(5px);
}

.hl-read-thumb {
    flex: 0 0 160px;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
}

.hl-read-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hl-read-item:hover .hl-read-thumb img {
    transform: scale(1.1);
}

.hl-read-content {
    flex: 1;
}

.hl-read-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--hl-text-dark);
    margin: 0;
    transition: color 0.2s;
}

.hl-read-item:hover .hl-read-title {
    color: var(--hl-accent-teal);
}

/* Ensure elements are visible within the Elementor editor */
.elementor-editor-active .hl-reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Micro-reveal Utility */
.hl-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hl-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hl-hero-container {
        flex-direction: column;
    }
    .hl-reads-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   7. Trust Widget
   ========================================= */
.hl-trust-wrapper {
    font-family: var(--hl-font-family);
    margin: 60px 0;
}
.hl-trust-wrapper h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 35px;
    color: var(--hl-text-dark);
}
.hl-trust-container {
    display: flex;
    gap: 50px;
    align-items: center;
}
.hl-trust-image {
    flex: 1;
    border-radius: 40px;
    overflow: hidden;
}
.hl-trust-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.hl-trust-accordion {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hl-trust-item {
    padding: 25px 0;
    border-bottom: 1px solid #eaeaea;
    cursor: pointer;
    transition: 0.3s;
}
.hl-trust-item h3 {
    font-size: 22px;
    font-weight: 800;
    color: #999; 
    margin: 0;
    display: flex;
    align-items: center;
    transition: 0.3s;
}
.hl-trust-item.active h3 {
    color: var(--hl-text-dark);
}
.hl-trust-item.active h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: var(--hl-primary-color);
    margin-right: 15px;
    border-radius: 2px;
}
.hl-trust-item-body {
    display: none;
    padding-top: 15px;
    padding-left: 20px;
    color: var(--hl-text-light);
    font-size: 16px;
    line-height: 1.5;
}
.hl-trust-item.active .hl-trust-item-body {
    display: block;
}
@media (max-width: 768px) {
    .hl-trust-container {
        flex-direction: column;
    }
}

/* =========================================
   6. Banner Widget
   ========================================= */
.hl-banner-wrap {
    background: #f0f8f9;
    border-radius: var(--hl-border-radius);
    display: flex;
    align-items: center;
    font-family: var(--hl-font-family);
    margin: 80px auto;
    overflow: hidden;
    position: relative;
    max-width: 1280px;
    padding: 0 40px;
}
.hl-banner-content {
    flex: 1.2;
    z-index: 2;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hl-banner-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--hl-text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.hl-banner-desc {
    font-size: 17px;
    color: var(--hl-text-light);
    margin-bottom: 35px;
    line-height: 1.6;
}
.hl-banner-form {
    display: flex;
    align-items: center;
    max-width: 500px;
    background: #fff;
    border: 1px solid #d8e5e8;
    border-radius: 40px;
    margin-bottom: 20px;
    padding: 5px;
    transition: var(--hl-transition);
}
.hl-banner-form:focus-within {
    border-color: var(--hl-primary-color);
    box-shadow: 0 0 0 4px rgba(0, 135, 138, 0.1);
}
.hl-banner-form input {
    flex: 1;
    padding: 12px 25px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: var(--hl-text-dark);
}
.hl-banner-form button {
    background: var(--hl-primary-color);
    color: #fff;
    padding: 14px 35px;
    border: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--hl-transition);
    border-radius: 35px;
}
.hl-banner-form button:hover {
    background: var(--hl-primary-dark);
    transform: translateY(-1px);
}
.hl-banner-privacy {
    font-size: 13px;
    color: var(--hl-text-light);
}
.hl-banner-privacy a {
    color: var(--hl-primary-color);
    text-decoration: underline;
    font-weight: 600;
}
.hl-banner-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hl-banner-image img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}
.hl-banner-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .hl-banner-wrap {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
    .hl-banner-content { padding: 0 0 30px 0; }
    .hl-banner-form { margin: 0 auto; flex-direction: column; }
    .hl-banner-image img { height: 250px; margin-bottom: 0; }
}


/* =========================================
   5. Programs Widget
   ========================================= */
.hl-programs-wrapper {
    max-width: 1280px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: var(--hl-font-family);
}
.hl-programs-wrapper .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.hl-programs-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--hl-text-dark);
    margin: 0;
}
.hl-programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.hl-program-card {
    border-radius: var(--hl-border-radius);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    height: 420px;
    display: block;
    transition: var(--hl-transition);
}
.hl-program-card:hover {
    transform: translateY(-10px);
}
.hl-program-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}
.hl-program-card:hover img {
    transform: scale(1.1);
}
.hl-program-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    z-index: 2;
    transition: background 0.3s ease;
}
.hl-program-card:hover .hl-program-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,135,138,0.7) 100%);
}
.hl-program-overlay h4 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.9);
}
.hl-program-overlay h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media (max-width: 1024px) {
    .hl-programs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hl-programs-grid { grid-template-columns: 1fr; }
}

/* =========================================
   4. Tools Widget
   ========================================= */
.hl-tools-wrapper {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: var(--hl-font-family);
}

.hl-tools-header h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--hl-text-dark);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hl-tool-icon {
    color: var(--hl-primary-color);
    display: flex;
    align-items: center;
}

.hl-tools-grid-box {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* Large Card (Left) */
.hl-tool-large-card {
    background: #eaf6f6;
    border-radius: 30px;
    padding: 60px 40px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: var(--hl-transition);
}

.hl-large-card-inner {
    z-index: 2;
    margin-bottom: 40px;
}

.hl-large-card-title {
    font-size: 38px;
    font-weight: 800;
    color: #11293c;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hl-large-card-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.hl-btn-pill-teal {
    display: inline-block;
    padding: 14px 45px;
    background: #008184;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    border-radius: 40px;
    transition: background 0.2s, transform 0.2s;
}

.hl-btn-pill-teal:hover {
    background: #016a6d;
    transform: scale(1.02);
}

.hl-large-card-thumb {
    width: 100%;
    max-width: 450px;
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.hl-large-card-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50% 50% 0 0;
    object-fit: cover;
}

/* Small Cards Column (Right) */
.hl-tool-small-cards-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hl-tool-list-card {
    background: #eaf6f6;
    border-radius: 25px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: var(--hl-transition);
}

.hl-tool-list-card:hover {
    background: #dff0f0;
    transform: translateX(8px);
}

.hl-list-card-content {
    flex: 1;
}

.hl-list-card-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #008184;
    margin-bottom: 8px;
}

.hl-list-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #11293c;
    margin: 0;
    line-height: 1.4;
    max-width: 250px;
}

.hl-list-card-btn {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008184;
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .hl-tools-grid-box {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   8. Ticker / Marquee Widget
   ========================================= */
.hl-ticker-wrap {
    background-color: #f0f7f7;
    overflow: hidden;
    position: relative;
    padding: 12px 0;
    font-family: var(--hl-font-family);
    margin: 0 0 40px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-top: 1px solid rgba(0, 135, 138, 0.1);
    border-bottom: 1px solid rgba(0, 135, 138, 0.1);
}
.hl-ticker-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    width: 100%;
}
.hl-ticker-scroll::-webkit-scrollbar {
    display: none;
}
.hl-ticker-scroll:active {
    cursor: grabbing;
}
.hl-ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
    padding-left: 140px; /* Offset for TRENDING label */
}
.hl-ticker-label {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    padding: 0 30px;
    display: flex;
    align-items: center;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 12px;
    color: var(--hl-text-dark);
    z-index: 10;
    box-shadow: 15px 0 30px rgba(0,0,0,0.05);
    text-transform: uppercase;
}
.hl-pulse {
    width: 8px;
    height: 8px;
    background: #00ce7c; /* Live Green */
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 0 0 rgba(0, 206, 124, 0.4);
    animation: hl-pulse-anim 2s infinite;
}
@keyframes hl-pulse-anim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 206, 124, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 206, 124, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 206, 124, 0); }
}
.hl-ticker-track:hover {
    animation-play-state: paused;
}
.hl-ticker-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 100px; 
    font-size: 15px;
    white-space: nowrap;
    color: var(--hl-text-dark);
}
.hl-ticker-item img {
    height: 20px;
    width: auto;
    object-fit: contain;
}
.hl-ticker-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--hl-primary-color);
    border-radius: 50%;
    opacity: 0.5;
}
.hl-ticker-bold {
    font-weight: 800;
    color: var(--hl-text-dark);
}
.hl-ticker-normal {
    font-weight: 400;
    color: var(--hl-text-light);
}

@keyframes hl-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); } /* Since we cloned items 4x, 25% is one full original set */
}

/* Section Dividers for Premium Look */
.elementor-widget-healthline_hero,
.elementor-widget-healthline_topics,
.elementor-widget-healthline_reads,
.elementor-widget-healthline_banner,
.elementor-widget-healthline_tools,
.elementor-widget-healthline_programs,
.elementor-widget-healthline_videos {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 80px;
    margin-bottom: 80px;
}

.elementor-widget-healthline_ticker {
    margin-top: 0;
    margin-bottom: 80px;
}

/* Remove border from last widget before footer if needed or from specific ones */
.elementor-widget-healthline_footer {
    border-bottom: none;
}

/* =========================================
   9. Videos Widget
   ========================================= */
.hl-videos-wrapper {
    font-family: var(--hl-font-family);
    margin: 80px 0;
}
.hl-videos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}
.hl-videos-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--hl-text-dark);
    margin: 0;
}
.hl-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hl-primary-color);
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    transition: 0.2s;
}
.hl-view-all:hover {
    gap: 12px;
}
.hl-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.hl-video-card {
    display: flex;
    flex-direction: column;
}
.hl-video-thumb {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    aspect-ratio: 16 / 9;
    background: #eee;
}
.hl-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}
.hl-video-card:hover .hl-video-thumb img {
    transform: scale(1.05);
}
.hl-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 2;
    transition: 0.3s;
}
.hl-video-play svg {
    width: 20px;
    height: 20px;
    color: var(--hl-primary-color);
    margin-left: 2px;
}
.hl-video-card:hover .hl-video-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--hl-primary-color);
}
.hl-video-card:hover .hl-video-play svg {
    color: #fff;
}
.hl-video-card h3 {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}
.hl-video-card h3 a {
    color: var(--hl-text-dark);
    text-decoration: none;
    transition: 0.2s;
}
.hl-video-card h3 a:hover {
    color: var(--hl-primary-color);
}

/* =========================================
   XX. Quizzes Widget
   ========================================= */
.hl-quiz-widget {
    font-family: var(--hl-font-family);
    margin: 80px 0;
}
.hl-quiz-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--hl-text-dark);
    margin: 0 0 5px 0;
    text-transform: uppercase;
}
.hl-quiz-header p {
    font-size: 16px;
    color: var(--hl-text-light);
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
}
.hl-quiz-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.hl-quiz-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px; /* space for scrollbar or shadow */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.hl-quiz-carousel::-webkit-scrollbar {
    display: none;
}
.hl-quiz-card {
    position: relative;
    min-width: 300px;
    width: 300px;
    height: 380px;
    border-radius: 6px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    scroll-snap-align: start;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.hl-quiz-card:hover {
    transform: translateY(-5px);
}
.hl-quiz-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
    z-index: 1;
}
.hl-quiz-card-content {
    background: #fff;
    margin: 15px;
    padding: 20px;
    border-radius: 4px;
    z-index: 2;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.hl-quiz-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--hl-text-dark);
    margin: 0 0 15px 0;
    min-height: 44px;
}
.hl-quiz-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hl-quiz-author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.hl-quiz-author-info {
    display: flex;
    flex-direction: column;
}
.hl-quiz-author-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--hl-primary-color);
}
.hl-quiz-author-title {
    font-size: 11px;
    color: var(--hl-text-light);
}

.hl-quiz-play-more {
    min-width: 300px;
    width: 300px;
    height: 380px;
    border-radius: 6px;
    background-color: #cc1e05; /* default */
    color: #fff;
    scroll-snap-align: start;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease;
    position: relative;
}
.hl-quiz-play-more:hover {
    transform: translateY(-5px);
}
.hl-quiz-play-more svg {
    margin-bottom: 20px;
}
.hl-quiz-play-more span {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}
.hl-quiz-play-nav {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hl-quiz-play-nav svg {
    margin: 0;
    width: 24px;
    height: 24px;
}

.hl-quiz-nav {
    position: absolute;
    bottom: 80px; /* Positioned slightly below the picture, aligning with the text box */
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.95);
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: var(--hl-text-dark);
}
.hl-quiz-nav:hover {
    background: #fff;
    border-color: #ccc;
    color: var(--hl-primary-color);
}
.hl-quiz-prev {
    left: -20px;
}
.hl-quiz-next {
    right: -20px;
}
.hl-quiz-nav svg {
    width: 20px;
    height: 20px;
}

/* =========================================
   10. Footer Widget
   ========================================= */
/* =========================================
   10. Footer Widget (Premium)
   ========================================= */
.hl-footer-wrapper {
    background-color: #fdfaf6; /* Healthline Cream */
    padding-top: 80px;
    font-family: var(--hl-font-family);
    color: var(--hl-text-dark);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hl-footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    gap: 80px;
}

.hl-footer-left {
    flex: 1.4;
}

.hl-footer-right {
    flex: 1;
}

.hl-footer-header-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.hl-footer-logo {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #000;
}

.hl-footer-social {
    display: flex;
    gap: 15px;
}

.hl-footer-social a {
    color: #333;
    font-size: 20px;
    transition: var(--hl-transition);
}

.hl-footer-social a:hover {
    color: var(--hl-primary-color);
    transform: translateY(-3px);
}

.hl-footer-newsletter h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000;
}

.hl-footer-newsletter p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 480px;
}

.hl-footer-form {
    display: flex;
    max-width: 420px;
    margin-bottom: 12px;
}

.hl-footer-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.hl-footer-form button {
    background-color: #008184;
    color: #fff;
    border: none;
    padding: 0 35px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.hl-footer-form button:hover {
    background-color: #006b6d;
}

.hl-newsletter-privacy {
    font-size: 13px !important;
    color: #666 !important;
}

.hl-newsletter-privacy a {
    color: #000;
    text-decoration: underline;
}

.hl-footer-copyright {
    margin-top: 50px;
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    max-width: 600px;
    padding-bottom: 60px;
}

.hl-footer-copyright a {
    color: #000;
    text-decoration: underline;
}

/* Links Grid */
.hl-footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.hl-footer-col h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.hl-footer-col a {
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    margin-bottom: 15px;
    transition: 0.2s;
}

.hl-footer-col a:hover {
    text-decoration: underline;
}

/* Bottom Black Bar */
.hl-footer-black-bar {
    background-color: #000;
    color: #fff;
    padding: 45px 0;
}

.hl-black-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hl-media-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
}

.hl-media-icon {
    background-color: #fff;
    color: #000;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
    font-size: 16px;
}

.hl-media-links-wrap {
    text-align: center;
}

.hl-media-top-links {
    margin-bottom: 12px;
    font-size: 13px;
}

.hl-media-top-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 8px;
}

.hl-media-top-links span {
    color: #444;
}

.hl-media-brands {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
}

.hl-brands-label {
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
}

.hl-media-brands a {
    color: #fff;
    text-decoration: none;
}

.hl-media-brands a:hover {
    text-decoration: underline;
}

.hl-trust-seal {
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #000;
    padding: 10px 15px;
    border-radius: 30px;
}

.hl-trust-icon {
    color: #008184;
}

@media (max-width: 991px) {
    .hl-footer-main {
        flex-direction: column;
        gap: 50px;
    }
    .hl-black-bar-inner {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }
    .hl-media-brands {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .hl-footer-inner {
        flex-direction: column;
        gap: 50px;
    }
}
@media (max-width: 1024px) {
    .hl-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .hl-videos-grid {
        grid-template-columns: 1fr;
    }
    .hl-footer-links-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   11. Drug Directory Widget (Opposite)
   ========================================= */
.hl-drug-directory-wrapper {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: var(--hl-font-family);
}

.hl-drug-grid-box {
    display: grid;
    grid-template-columns: 1fr 1.6fr; /* Small cards on left, Large on right */
    gap: 30px;
    align-items: stretch;
}

/* Large Card (Right) */
.hl-drug-large-card {
    background: #008184; /* Reusing the primary teal color from the image */
    background: linear-gradient(135deg, #008184 0%, #33747a 100%);
    border-radius: 30px;
    padding: 60px 40px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: var(--hl-transition);
}

.hl-drug-large-card .hl-large-card-title {
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hl-drug-large-card .hl-large-card-desc {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.hl-btn-pill-white {
    display: inline-block;
    padding: 14px 45px;
    background: #fff;
    color: #008184;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    border-radius: 40px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hl-btn-pill-white:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hl-drug-large-card .hl-large-card-thumb {
    width: 100%;
    max-width: 450px;
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.hl-drug-large-card .hl-large-card-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50% 50% 0 0;
    object-fit: cover;
}

/* Small Cards Column (Left) */
.hl-drug-small-cards-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hl-drug-list-card {
    background: #eaf6f6;
    border-radius: 25px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: var(--hl-transition);
}

.hl-drug-list-card:hover {
    background: #dff0f0;
    transform: translateX(-8px); /* Moves left on hover */
}

.hl-drug-list-card .hl-list-card-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #008184;
    margin-bottom: 8px;
}

.hl-drug-list-card .hl-list-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #11293c;
    margin: 0;
    line-height: 1.4;
    max-width: 250px;
}

.hl-drug-list-card .hl-list-card-btn {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008184;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

/* Responsive for Drug Directory */
@media (max-width: 1024px) {
    .hl-drug-grid-box {
        grid-template-columns: 1fr;
    }
}

/* Back to Top Button */
.hl-back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.hl-back-top:hover {
    background: var(--hl-primary-color);
    transform: translateY(-5px);
}

/* =========================================
   15. Blog & Booking Widget
   ========================================= */
.hl-blog-booking-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    padding: 60px 40px;
    font-family: var(--hl-font-family);
    margin: 40px 0;
}

.hl-bb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.hl-bb-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
}

.hl-bb-header-left h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--hl-text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hl-bb-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.hl-bb-posts-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hl-bb-blog-card {
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.hl-bb-blog-card:hover {
    transform: translateY(-5px);
}

.hl-bb-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.hl-bb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hl-bb-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.hl-bb-content h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--hl-text-dark);
    margin: 0 0 20px 0;
}

.hl-bb-arrow {
    width: 28px;
    height: 28px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s ease;
}

.hl-bb-blog-card:hover .hl-bb-arrow {
    background: var(--hl-primary-color);
}

/* Sidebar */
.hl-bb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hl-bb-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.hl-bb-search-box input {
    width: 100%;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--hl-text-dark);
    font-size: 14px;
}

.hl-bb-search-box button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.hl-bb-hub-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    aspect-ratio: 1 / 1.2;
    text-decoration: none;
}

.hl-bb-hub-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hl-bb-hub-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.hl-bb-hub-overlay h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.hl-bb-hub-overlay p {
    font-size: 13px;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
}

/* Footer Label */
.hl-bb-footer {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.hl-popular-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff4d4d;
    font-weight: 700;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hl-bb-grid {
        grid-template-columns: 1fr;
    }
    .hl-bb-posts-column {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hl-bb-posts-column {
        grid-template-columns: 1fr;
    }
    .hl-blog-booking-wrapper {
        padding: 40px 20px;
    }
}

/* =========================================
   16. Testimonial Carousel Widget (Compact)
   ========================================= */
.hl-testimonial-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 60px 0;
    font-family: var(--hl-font-family);
    margin: 40px 0;
    transition: all 0.3s ease;
}

.hl-testimonial-sidebar {
    padding: 30px 0;
    border-radius: 12px;
}

.hl-testimonial-sidebar .hl-testimonial-header {
    margin-bottom: 20px;
    padding: 0 20px;
}

.hl-testimonial-sidebar .hl-testimonial-header h2 {
    font-size: 14px;
}

.hl-testimonial-sidebar .hl-testimonial-header svg {
    width: 16px;
    height: 16px;
}

.hl-testimonial-sidebar .hl-testimonial-container {
    padding: 0 20px;
}

.hl-testimonial-sidebar .hl-testimonial-card {
    padding-bottom: 10px;
}

.hl-testimonial-sidebar .hl-testimonial-quote {
    font-size: 13px;
    margin-bottom: 15px;
}

.hl-testimonial-sidebar .hl-author-img {
    width: 35px;
    height: 35px;
}

.hl-testimonial-sidebar .hl-testimonial-author {
    font-size: 13px;
}

.hl-testimonial-sidebar .hl-author-role {
    font-size: 9px;
}

.hl-testimonial-sidebar .hl-bb-arrow {
    width: 22px;
    height: 22px;
}

.hl-testimonial-sidebar .hl-testimonial-arrows {
    padding-right: 20px;
}

.hl-testimonial-sidebar .swiper-button-prev,
.hl-testimonial-sidebar .swiper-button-next {
    width: 28px;
    height: 28px;
}

.hl-testimonial-sidebar .swiper-button-prev::after,
.hl-testimonial-sidebar .swiper-button-next::after {
    font-size: 10px;
}

.hl-testimonial-header {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hl-testimonial-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--hl-text-dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hl-testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
    overflow: hidden;
    min-height: 100px; /* Prevents zero-height collapse */
    display: block !important;
}

/* =========================================
   16. Testimonial Carousel Widget (Split Layout)
   ========================================= */
.hl-split-layout-mode {
    max-width: 1200px;
    margin: 40px auto;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

.hl-split-layout-mode .hl-testimonial-header {
    margin-bottom: 25px;
    padding-left: 20px;
}

.hl-testimonial-split-card {
    display: flex !important;
    background: #1a1a1a !important;
    border-radius: 24px;
    overflow: hidden;
    height: 400px; /* Fixed height for consistency */
    opacity: 1 !important;
    visibility: visible !important;
}

.hl-testimonial-split-card * {
    visibility: visible !important;
}

/* Ensure the container has height and visibility */
.hl-testimonial-container {
    min-height: 400px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Fallback for non-initialized state to prevent stacking */
.hl-testimonial-container:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
}

.hl-testimonial-container:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 100%;
}

.hl-card-image {
    flex: 1;
    height: 100%;
}

.hl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hl-card-body {
    flex: 1.2;
    padding: 40px; /* Reduced padding for more compact look */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hl-quote-icon {
    margin-bottom: 20px;
}

.hl-testimonial-quote {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 25px;
}

.hl-testimonial-meta {
    display: flex;
    flex-direction: column;
}

.hl-testimonial-author {
    font-size: 16px;
    font-weight: 800;
    color: #ffab40;
    text-transform: uppercase;
}

.hl-author-role {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
}

.hl-split-layout-mode .hl-testimonial-arrows {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.hl-split-layout-mode .swiper-button-prev,
.hl-split-layout-mode .swiper-button-next {
    position: static;
    width: 45px;
    height: 45px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #333;
    transition: 0.3s;
}

.hl-split-layout-mode .swiper-button-prev:hover,
.hl-split-layout-mode .swiper-button-next:hover {
    background: var(--hl-primary-color);
    border-color: var(--hl-primary-color);
    color: #fff;
}

.hl-split-layout-mode .hl-bb-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    text-align: left;
    padding-left: 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hl-testimonial-split-card {
        flex-direction: column;
        height: auto;
    }
    
    .hl-card-image {
        height: 250px;
    }
    
    .hl-card-body {
        padding: 30px;
    }
    
    .hl-testimonial-quote {
        font-size: 18px;
    }
}

/* =========================================
   NEW: Testimonial Card (As per Screenshot)
   ========================================= */
.hl-testimonial-wrapper {
    padding: 40px 0;
    max-width: 1280px;
    margin: 0 auto;
}

.hl-testimonial-card {
    background: #fff;
    border-radius: 30px; /* More rounded premium look */
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.hl-testimonial-card:hover {
    transform: translateY(-5px);
}

.hl-tc-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hl-tc-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}

.hl-tc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hl-tc-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hl-tc-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--hl-text-dark);
}

.hl-tc-stars {
    display: flex;
    gap: 3px;
}

.hl-tc-stars i {
    color: #001e3c; /* Dark Navy/Black like screenshot */
    font-size: 14px;
}

.hl-tc-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hl-tc-date {
    font-size: 15px;
    color: #888;
    font-weight: 500;
}

.hl-tc-review-title {
    font-size: 19px;
    font-weight: 900;
    margin: 0;
    color: var(--hl-text-dark);
}

.hl-tc-review-content {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Spacing for Swiper */
.hl-testimonial-container {
    padding: 20px 5px 20px;
}

.hl-testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 10px;
}

.hl-tf-left {
    flex: 0 0 300px;
}

/* Swiper Progressbar Styling */
.hl-testimonial-container .swiper-pagination-progressbar {
    position: relative;
    height: 4px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.hl-testimonial-container .swiper-pagination-progressbar-fill {
    background: #666 !important;
}

.hl-tf-right {
    display: flex;
    align-items: center;
}

.hl-tc-controls {
    display: flex;
    gap: 15px;
}

.hl-tc-control {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.hl-tc-control i {
    font-size: 16px;
}

.hl-tc-control:hover {
    background: var(--hl-primary-color);
    color: #fff;
    border-color: var(--hl-primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.hl-tc-control:active {
    transform: translateY(0);
}

/* Ensure 3 columns in the editor */
.elementor-editor-active .hl-testimonial-container .swiper-wrapper {
    display: flex !important;
    gap: 30px;
}

.elementor-editor-active .hl-testimonial-container.swiper-initialized .swiper-slide {
    width: calc(33.333% - 20px) !important;
}

@media (max-width: 900px) {
    .elementor-editor-active .hl-testimonial-container.swiper-initialized .swiper-slide {
        width: calc(50% - 15px) !important;
    }
}

@media (max-width: 768px) {
    .hl-testimonial-footer {
        flex-direction: column;
        gap: 20px;
    }
    .hl-tf-left {
        width: 100%;
        max-width: 100%;
    }
}


