<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/**
 * Video Grid Styles
 * Responsive grid layout: 3x3 desktop (&gt;1260px), 2x2 tablet (820px-1260px), 1x1 mobile (&lt;820px)
 */

.sheehan-video-grid {
    display: grid;
    gap: 20px;
    margin: 40px 0;
    padding: 0;
}

/* Desktop: 3x3 grid (wider than 1260px) */
@media (min-width: 1261px) {
    .sheehan-video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Tablet: 2x2 grid (820px to 1260px) */
@media (min-width: 821px) and (max-width: 1260px) {
    .sheehan-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobile: 1x1 grid (820px and below) */
@media (max-width: 820px) {
    .sheehan-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Video Card Styling */
.video-card {
    position: relative;
    aspect-ratio: 2025/1580; /* Match the actual image dimensions */
    background-image: url('../images/video-card-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 360px; /* Maximum width constraint across all screen sizes */
    width: 100%; /* Allow cards to scale down but not exceed max-width */
    justify-self: center; /* Center cards within grid cells */
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Video Card Content Container */
.video-card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Video Title - Consistent across all breakpoints */
.video-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18.4px; /* Reduced 15% from 21.6px */
    font-weight: 600;
    color: #112241;
    text-transform: uppercase;
    line-height: 1.2; /* Tighter line height for better spacing */
    margin: 10px 0 10px 0;
    max-width: 95%;
    
    /* Limit to 3 lines maximum */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* Dynamic font sizing for longer titles */
    min-height: 66px; /* Space for 3 lines at 18.4px font */
    max-height: 66px; /* Cap the height */
}

/* Smaller font for very long titles that would need more than 3 lines */
.video-title.long-title {
    font-size: 16px; /* Smaller font for long titles */
    line-height: 1.1;
}

/* Even smaller for extremely long titles */
.video-title.extra-long-title {
    font-size: 14px; /* Even smaller font for extra long titles */
    line-height: 1.0;
}

/* Play Button - Consistent across all breakpoints */
.play-button {
    position: absolute;
    top: calc(50% + 5px); /* Moved 5px down from 50% */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 77px; /* Reduced from 96px - 20% smaller */
    height: 77px; /* Reduced from 96px - 20% smaller */
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Video Author - Consistent across all breakpoints */
.video-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px; /* Updated to 15px */
    font-weight: 500;
    color: white;
    margin: 0 0 4px 0;
    position: absolute;
    bottom: 65px; /* Updated position */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; /* Prevent line breaks */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ... if text is too long */
    max-width: 90%; /* Ensure it doesn't exceed card width */
    text-align: center; /* Center align the text */
}

/* Video Date (formerly Speaker Position) - Consistent across all breakpoints */
.video-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; /* Consistent size across all breakpoints */
    font-weight: 400;
    color: white;
    margin: 0;
    position: absolute;
    bottom: 55px; /* Updated position */
    left: 50%;
    transform: translateX(-50%);
}

/* Load More Link */
.video-grid-load-more {
    text-align: center;
    margin: 40px 0 20px 0;
}

.video-grid-load-more-btn {
    background: none !important; /* Force no background */
    border: none;
    color: #1e4e65;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    box-shadow: none !important; /* Remove any box shadow */
    outline: none; /* Remove default outline */
}

.video-grid-load-more-btn:hover {
    background: none !important; /* Force no background on hover */
    color: #112241;
}

.video-grid-load-more-btn:focus {
    background: none !important; /* Force no background on focus */
    outline: 2px solid #1e4e65;
    outline-offset: 2px;
}

.video-grid-load-more-btn:active {
    background: none !important; /* Force no background on active */
    color: #112241;
}

.video-grid-load-more-btn:disabled {
    background: none !important; /* Force no background when disabled */
    color: #ccc;
    cursor: not-allowed;
    text-decoration: none;
}

/* Hidden videos (initially hidden after first 6) */
.video-card.hidden {
    display: none;
}

/* Mobile adjustments - Only for grid spacing, content remains consistent */
@media (max-width: 820px) {
    .video-grid-load-more-btn {
        font-size: 14px; /* Slightly smaller text on mobile */
    }
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.video-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 16/9;
    z-index: 10000;
    background: white;
    border: 2px solid #ccc;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 20px;
    box-sizing: border-box;
    animation: modalAppear 0.3s ease-out forwards;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.video-modal-close {
    position: absolute;
    top: -25px;
    right: -25px;
    background: #1a365d !important; /* Force dark blue background - never #c36 */
    border: 2px solid #2d5aa0 !important;
    color: white !important; /* Force white text for contrast */
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 99999; /* Very high z-index to stay on top */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-modal-close:hover {
    background: #2d5aa0 !important; /* Force lighter blue on hover - never #c36 */
    border-color: #4299e1 !important;
    color: white !important;
    transform: scale(1.05);
}

.video-modal-close:focus {
    outline: 2px solid #4299e1;
    outline-offset: 2px;
    background: #1a365d !important; /* Force correct background on focus */
    color: white !important;
}

.video-modal-close:active {
    background: #1a365d !important; /* Force correct background on active */
    color: white !important;
}

.video-modal-player {
    width: calc(100% - 0px);
    height: calc(100% - 0px);
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden; /* Keep overflow hidden for the video container */
    margin-top: 0;
}

.video-modal-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: 8px;
}

/* Responsive modal sizing */
@media (max-width: 1280px) {
    .video-modal-content {
        width: 70%;
    }
    
    .video-modal-close {
        top: -22px;
        right: -22px;
    }
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 90%;
        padding: 15px;
    }
    
    .video-modal-close {
        top: -20px;
        right: -20px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 95%;
        padding: 12px;
        border-radius: 8px;
    }
    
    .video-modal-close {
        top: -18px;
        right: -18px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .video-modal-player {
        border-radius: 6px;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    padding-right: 17px; /* Prevent layout shift from scrollbar */
}

/* IMPORTANT: Ensure video modal close button NEVER uses #c36 - always use #1a365d */
.video-modal .video-modal-close,
.video-modal-close,
button.video-modal-close,
[class*="video-modal-close"] {
    background: #1a365d !important;
    background-color: #1a365d !important;
    border-color: #2d5aa0 !important;
    color: white !important;
}

.video-modal .video-modal-close:hover,
.video-modal-close:hover,
button.video-modal-close:hover,
[class*="video-modal-close"]:hover {
    background: #2d5aa0 !important;
    background-color: #2d5aa0 !important;
    border-color: #4299e1 !important;
    color: white !important;
}

.video-modal .video-modal-close:focus,
.video-modal-close:focus,
button.video-modal-close:focus,
[class*="video-modal-close"]:focus {
    background: #1a365d !important;
    background-color: #1a365d !important;
    color: white !important;
}

.video-modal .video-modal-close:active,
.video-modal-close:active,
button.video-modal-close:active,
[class*="video-modal-close"]:active {
    background: #1a365d !important;
    background-color: #1a365d !important;
    color: white !important;
} </pre></body></html>