/* Video Container - 16:9 Aspect Ratio */
.webinar-video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.webinar-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* HubSpot Form Container */
.webinar-hubspot-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Date and Time Typography (Hero) */
.webinar-date-container {
    margin-bottom: 20px;
}

.webinar-date-hero {
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
    /* Gold accent color for date */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.webinar-time-hero {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* People Grid (Panelists/Moderators) */
.webinar-people-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .webinar-people-grid {
        grid-template-columns: 1fr;
    }
}

.webinar-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.person-image {
    flex-shrink: 0;
}

.person-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.person-info {
    font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
    /* Fallback */
}

.person-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1a2b5f;
    /* Dark Blue */
    line-height: 1.2;
}

.person-title {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

/* Related Webinars Grid */
.webinar-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Slightly smaller min-width */
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
}

.webinar-related-card {
    background: transparent;
    /* Ensure transparent background */
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none !important;
    /* Force removal of shadow if inherited */
}

/* Hover Effect */
.webinar-related-card:hover .related-image-container {
    opacity: 0.9;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.related-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image Container */
.related-image-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    /* Rounded corners */
    background: #f0f0f0;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.related-featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e2e8f0;
}

/* Content Section */
.related-content {
    background: transparent !important;
    /* Force transparency */
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-title {
    font-size: 18px !important;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1a2b5f;
    /* Dark Blue */
    line-height: 1.4;
}

@media (min-width: 1024px) {
    .related-title {
        font-size: 18px;
    }
}

.related-excerpt {
    font-size: 14px;
    color: #4a5568;
    /* Dark Grey */
    line-height: 1.6;
    margin-top: 0;
}

/* Date Date */
.webinar-date-display {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}