/* --- DESIGN SYSTEM TOKENS --- */
:root {
    --primary-blue: #1a446c;
    --accent-teal: #107c82;
    --dark-neutral: #1f2937;
    --light-neutral: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --nav-height: 70px;
}

/* --- GLOBAL STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Enables the smooth native section scrolling */
    font-family: var(--font-stack);
    color: var(--dark-neutral);
    line-height: 1.6;
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--white, #ffffff);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 2rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.footer-container p {
    margin: 0;
    text-align: center;
}

.insurance-logo {
    height: 24px;          /* Restricts the height so they stay inline */
    width: auto;           /* Maintains aspect ratio */
    max-width: 100px;      /* Prevents massive logos from taking over */
    object-fit: contain;   
    margin-right: 12px;    /* Pushes the text away slightly */
    filter: grayscale(20%); /* Optional: Slightly softens bright corporate colors to match your dark blue vibe */
    vertical-align: middle;
}

.insurance-logo2 {
    height: 34px;          /* Restricts the height so they stay inline */
    width: auto;           /* Maintains aspect ratio */
    max-width: 120px;      /* Prevents massive logos from taking over */
    object-fit: contain;   
    margin-right: 12px;    /* Pushes the text away slightly */
    filter: grayscale(20%); /* Optional: Slightly softens bright corporate colors to match your dark blue vibe */
    vertical-align: middle;
}

/* Update your insurance box to align elements as a row */
.insurance-box {
    display: flex;
    align-items: flex-start; /* Aligns the logo perfectly with the first line of text */
    padding: 0rem;           /* Keeps your uniform cell padding */
}

/* Update your logo class */
.insurance-logo3 {
    height: 24px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    margin-right: 12px;
    flex-shrink: 0;          /* Crucial: Prevents the logo from squeezing if text gets tight */
}

/* The text wrapper will now handle its own blocks cleanly */
.insurance-name {
    display: inline-block;
    line-height: 1.2;        /* Gives the two lines a comfortable breathing room */
    color: #333333;
    font-size: 0.95rem;
}
/* --- FIXED NAVBAR STYLING --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.25rem;
    gap: 0.75rem;
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-neutral);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-teal);
}

/* ==========================================
   THE DEFINITIVE HEADER ENGINE (All Pages)
   ========================================== */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    
    /* THE FIX: Force the background box to stay compact */
    height: auto !important; 
    padding: 0 !important; 
    margin: 0 !important;
}

/* The master alignment row */
/* Target BOTH class names to snap both pages into alignment instantly */
.header-container, 
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically centers everything on the logo line */
    position: relative;
    height: auto !important; /* Overrides any rogue inherited height rules */
}

/* Ensure the brand link container aligns its internal image and text perfectly */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* Ensure the wrapper nav element doesn't add accidental vertical padding offset */
nav {
    display: flex;
    align-items: center;
}

/* The structural links row */
ul.nav-links {
    display: flex;
    align-items: center; /* Strips any vertical layout bias */
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
    gap: 1.75rem;
}

ul.nav-links li {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

ul.nav-links a {
    text-decoration: none;
    color: var(--text-dark, #1e293b);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    line-height: 1; /* Eliminates text box height padding skew */
    transition: color 0.2s ease;
}
ul.nav-links a:hover {
    color: var(--primary-blue, #0284c7);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, #eef2f7 0%, #dfe7f0 100%);
    padding: 3rem 2rem 4rem 2rem; 
    text-align: center;
    margin: 0 !important; /* Strips any external push completely */
    
    /* THE FIX: Traps inner paragraph and header margins so they cannot bleed upward */
    overflow: hidden; 
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    /* Extra guard: ensures the contents block stays flush */
    padding: 0.1px 0; 
}
.cta-button {
    display: inline-block;
    background-color: var(--accent-teal);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #0b5e63;
}

/* --- STRUCTURAL LAYOUT SECTIONS --- */
.content-section {
    padding: 2rem 2rem;
}

.content-section-blog {
    padding: 2rem 2rem;
}


.light-bg {
    background-color: var(--light-neutral);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}


h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* --- GRID LAYOUTS & CARDS --- */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

.card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.location-card p {
    margin-bottom: 0.75rem;
}

.text-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
}

/* --- FOOTER --- */
footer {
    clear: both;
    border-top: 1px solid var(--border-color);
    background-color: var(--white);
}

/* Responsive adjustments 
@media (max-width: 600px) {
    .brand-text {
        display: none; /* Keeps things from looking squished on small mobile devices */
    }
}*/

/* --- INFINITE HORIZONTAL MARQUEE (APPROACH 1) --- */
.marquee-container {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
    display: flex;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    /* Adjust '65s' to make the scroll faster or slower (the higher number, the slower) */
    animation: continuousScroll 65s linear infinite; 
}

.marquee-track img {
    height: 200px; /* Forces uniform height across all photos-Original at 180px*/
    width: 300px;   /* Keeps original proportions intact-Original auto*/
    object-fit: cover;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

/* Elegant touch: Pauses the movement when someone hovers their mouse over a photo */
.marquee-track:hover {
    animation-play-state: paused;
}

/* Pure hardware-accelerated animation loop */
@keyframes continuousScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Moves perfectly to the start of the second identical set */
        transform: translateX(calc(-50% - 0.75rem)); 
    }
}

/* Optional: Only apply edge fade on larger screens */
@media (min-width: 768px) {
    .marquee-container {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    }
}
/* --- GALLERY STYLES (APPROACH 2) --- */
.photo-grid-backup {
    display: grid;
    /* Automatically creates columns that are at least 220px wide, balancing the remainder */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.fade-in-photo-backup img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Prevents stretching; crops perfectly to fit the box */
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: block;
}

/* Base state for the fade-slide effect */
.fade-in-photo-backup {
    opacity: 0;
    transform: translateY(40px); /* Slides up from 40px down */
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Trigger state added by JavaScript */
.fade-in-photo.visible-backup {
    opacity: 1;
    transform: translateY(0);
}

/* --- CONTACT & INSURANCE UTILITIES --- */
.address {
    font-style: normal;
    margin-bottom: 0.25rem;
}

.hours {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.card-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 1rem 0;
}

.phone-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
}

.phone-link:hover {
    text-decoration: underline;
}

/* Insurance Layout */
.insurance-container {
    margin-top: .5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.insurance-container h3 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.insurance-grid li {
    padding: 0.5rem 1rem;
    background-color: var(--light-neutral);
    border-radius: 4px;
    font-size: 0.95rem;
    border-left: 3px solid var(--primary-blue);
}

.insurance-grid li.highlight-text {
    border-left-color: var(--accent-teal);
    font-weight: 600;
    color: var(--accent-teal);
}

/* ==========================================
   PURE CSS HAMBURGER ENGINE
   ========================================== */

/* Hide the checkbox and burger button by default on desktop */
.menu-toggle-checkbox {
    display: none;
}

.menu-burger-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.burger-bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark, #1e293b);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==========================================
   MOBILE DROPDOWN DRAWER LOCKDOWN
   ========================================== */
@media (max-width: 900px) {
    /* Tighten up the main header container spacing on mobile */
    .header-container {
        padding: 1rem;
        position: relative; /* Essential anchor point for the absolute dropdown */
    }

    /* Reveal the hamburger button icon */
    .menu-burger-button {
        display: flex;
    }

    /* FORCE the nav drawer to act as an independent, vertical floating box */
    nav {
        position: absolute;
        top: 100%; /* Sits cleanly flush below the header bar */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color, #e2e8f0);
        z-index: 999;
        
        /* The Magic Trick: Start completely collapsed and hidden */
        max-height: 0;
        overflow: hidden;
	visibility: hidden;
        transition: max-height 0.3s ease-in-out; visibility 0.3s ease-in-out;
    }

    /* FORCE the link elements to stack vertically instead of side-by-side */
    ul.nav-links {
        flex-direction: column; 
        padding: 1.5rem;
        gap: 0.5rem; /* Clean vertical spacing for tapping fingers */
        width: 100%;
    }

    ul.nav-links li {
        width: 100%;
    }

    ul.nav-links a {
        display: block;
        padding: 0.75rem 0; /* Creates an easy-to-hit target zone */
        font-size: 1.1rem;
        text-align: left;
        border-bottom: 1px solid #f1f5f9; /* Subtle divider lines between options */
    }
    
    ul.nav-links li:last-child a {
        border-bottom: none; /* Cleans up the last border line */
    }

    /* When the hidden checkbox is clicked, expand the container height to reveal the list! */
    .menu-toggle-checkbox:checked ~ nav {
        max-height: 500px; /* Gives the vertical list plenty of room to expand */
	visibility: visible;
    }

    /* Burger Animation Mechanics into an X */
    .menu-toggle-checkbox:checked + .menu-burger-button .burger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle-checkbox:checked + .menu-burger-button .burger-bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle-checkbox:checked + .menu-burger-button .burger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ==========================================
   MEET THE PROVIDERS CUSTOM ENGINE
   ========================================== */
.page-header-block {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.page-header-block2 {
    text-align: center;
    margin-bottom: 4rem;
}


.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.provider-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.provider-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.provider-image-wrapper {
    width: 100%;
    height: 300px;
    background-color: #f1f5f9;
}

.provider-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.provider-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.provider-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-teal, #0d9488);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.provider-info h3 {
    font-size: 1.4rem;
    color: var(--primary-blue, #0284c7);
    margin: 0 0 1rem 0;
}

.provider-focus {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark, #1e293b);
    background-color: #f8fafc;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--primary-blue, #0284c7);
    border-radius: 0 4px 4px 0;
    margin: 0 0 1.25rem 0;
}

.provider-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Subtle accent highlight on the menu link for the active page */
.active-nav {
    color: var(--primary-blue, #0284c7) !important;
    border-bottom: 2px solid var(--primary-blue, #0284c7);
}

/* Responsive adjustment for extra clean margins on screens */
@media (max-width: 900px) {
    .providers-grid {
        grid-template-columns: 1fr; /* Stacks to a clean single column row on mobile devices */
        gap: 2rem;
    }
    .active-nav {
        border-bottom: none;
    }
}

/* ==========================================
   PATIENT PORTAL DASHBOARD ENGINE
   ========================================== */
.portal-layout-wrapper {
    display: block !important;
    padding: 2rem;
}

.security-banner {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.security-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: #166534;
    line-height: 1.5;
}

.shield-icon {
    font-size: 1.5rem;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.portal-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.portal-card-header {
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 1.25rem 1.5rem;
}

.portal-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-dark, #1e293b);
}

.portal-card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.portal-card-body p {
    margin: 0 0 2rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

.portal-btn {
    text-align: center;
    display: block;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.portal-btn-blog {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--accent-teal); /* Your existing clinical teal */
    color: white;
    border-style: solid;
    border-width: 4px;
    border-color: var(--accent-teal);
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.90rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.portal-btn-blog:hover {
    background-color: #005c69;
    border-color: #005c69;
    transition: background-color 0.2s ease;
}

.secondary-btn {
    background: #64748b !important;
}
.secondary-btn:hover {
    background: #475569 !important;
}

.secure-payment-btn {
    background: var(--accent-teal, #0d9488) !important;
}
.secure-payment-btn:hover {
    background: #0b5e63 !important;
}

@media (max-width: 900px) {
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================
   HOURS & LOCATION LAYOUT ENGINE
   ========================================== */
.contact-layout-wrapper {
    display: block !important;
    padding: 2rem;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.info-card h3 {
    margin: 0 0 1.25rem 0;
    color: var(--primary-blue, #0284c7);
    font-size: 1.3rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.address-block {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark, #1e293b);
    margin: 0 0 1.5rem 0;
}

.map-link-btn {
    display: inline-block;
    text-align: center;
}

.contact-table, .hours-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-table td, .hours-table td {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-dark, #1e293b);
    vertical-align: top;
}

.contact-table td:first-child {
    width: 80px;
}

.contact-table a {
    color: var(--primary-blue, #0284c7);
    text-decoration: none;
    font-weight: 600;
}

.hours-table tr {
    border-bottom: 1px dashed #f1f5f9;
}
.hours-table tr:last-child {
    border-bottom: none;
}

.closed-row td {
    color: #94a3b8 !important;
    font-style: italic;
}

/* MAP VIEWPORT WRAPPER */
.contact-map-panel {
    position: sticky;
    top: 100px; /* Anchors smoothly if the user scrolls the page body */
}

.map-placeholder-box {
    background-color: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-placeholder-box h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--text-dark, #1e293b);
}

.map-placeholder-box p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* RESPONSIVE LAYOUT CONSTRAINTS */
@media (max-width: 900px) {
    .contact-split-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .map-placeholder-box {
        height: 300px;
    }
}

/* Drone Video Container Styles */
.video-placeholder-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 2.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: #0f172a; /* Dark sleek background for loading/placeholder state */
    position: relative;
}

/* Enforces a responsive 16:9 Widescreen aspect ratio */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Stylish Placeholder Overlay (Displays until video is loaded) */
.video-placeholder-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(16, 124, 130, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    text-align: center;
    padding: 20px;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.vedo-placeholder-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.video-placeholder-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.video-placeholder-overlay p {
    font-size: 0.95rem;
    opacity: 0.85;
}

.video-credit {
    text-align: right;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: -1.8rem; /* Pulls it close to the bottom of the video card */
    margin-bottom: 2rem;
    padding-right: 1.25rem;
}

.video-credit a {
    color: #107c82;
    text-decoration: none;
    font-weight: 500;
}

.video-credit a:hover {
    text-decoration: underline;
}

.dir-link, 
a.dir-link {
  color: #0d9488;            
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

/* Optional hover state to give subtle visual feedback */
.dir-link:hover {
  color: #0f172a;
  text-decoration: none;
}
