/* Webinar Hero Component */
.dh-webinar-hero {
    background: linear-gradient(135deg, #FFF3F3 0%, #FFE8E8 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .dh-webinar-hero {
        padding: 60px 0;
    }
}

.dh-webinar-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: var(--primary-red-100, #DF002F);
    text-decoration: none;
    margin-bottom: 40px;
    transition: color 0.2s ease;
}

.dh-webinar-back-link:hover {
    color: #EC6682;
    /* Light Red from single-post reference */
}

.dh-webinar-back-link svg {
    transition: stroke 0.2s ease;
}

.dh-webinar-back-link:hover svg path {
    stroke: #EC6682;
}

.dh-webinar-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;

}

@media (min-width: 992px) {
    .dh-webinar-hero__grid {
        grid-template-columns: 6fr 5fr;
        gap: 80px;
        align-items: center;
        /* Center form vertically relative to text */
    }
}

/* Left Column: Info */
.dh-webinar-hero__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dh-webinar-label {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--primary-red-100, #DF002F);
    font-family: Lato;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.44px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.dh-webinar-title {
    color: var(--primary-black-100, #111B29);
    font-family: Lato;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    /* 33px */
    margin: 0 0 14px 0;
}

@media (min-width: 992px) {
    .dh-webinar-title {
        font-size: 42px;
        line-height: 116%;
        /* 48.72px */
    }
}

.dh-webinar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    /* Mobile gap */
    margin-bottom: 30px;
    color: var(--primary-black-100, #111B29);
    font-family: Lato;
    font-size: 16px;
    font-weight: 700;
    line-height: 135%;
    /* 21.6px */
}

@media (min-width: 992px) {
    .dh-webinar-meta {
        gap: 24px;
        /* Desktop gap */
    }
}

.dh-webinar-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dh-webinar-key-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    /* Spacing between key points */
}

.dh-webinar-key-points li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    /* Spacing between icon and text */
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 132%;
    color: var(--Black, #1A1B1B);
}

.dh-webinar-key-points strong {
    font-weight: 700;
}

.dh-webinar-key-point-text {
    flex: 1;
}

/* Right Column: Media/Form */
.dh-webinar-card-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dh-webinar-form-header {
    padding: 32px 32px 0;
    margin-bottom: -16px;
    /* Pull form up slightly closer to title */
}

.dh-webinar-form-header h3 {
    color: var(--primary-red-100, #DF002F);
    font-family: Lato;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}



.dh-webinar-form-body {
    padding: 32px;
}

/* Form Styles Fix for Webinar */
.dh-webinar-form-body .dh-hero__cf7-form p {
    margin-bottom: 0;
}

.dh-webinar-video-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.1);
}

.dh-webinar-hero-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Success Message Styles */
.dh-webinar-success-message {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    text-align: left;
    padding: 30px 20px;
    /* Removed fixed height/min-height to let content dictate size */
}

.dh-success-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.dh-webinar-success-message h3 {
    color: var(--primary-red-100, #DF002F);
    font-family: Lato;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    /* 25.2px */
    margin: 0 0 4px 0;
}

.dh-webinar-success-message p {
    color: var(--Dark-Gery, #3C3936);
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 132.5%;
    /* 21.2px */
    font-feature-settings: 'liga' off, 'clig' off;
    margin: 0;
}
/* ============================================================
   Webinar Register Card (external URL)
   Aparece cuando el meta _webinar_register_url está rellenado.
   Reemplaza al CF7 form en el hero y enlaza a Zoom/Eventbrite/etc.
   ============================================================ */
.dh-webinar-register-card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(17, 27, 41, 0.08), 0 2px 8px rgba(17, 27, 41, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dh-webinar-register-card__image {
    width: 100%;
    height: auto;
    display: block;
}

.dh-webinar-register-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dh-webinar-register-card__title {
    font-family: Lato, system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 120%;
    color: #111B29;
    margin: 0;
    letter-spacing: -0.3px;
}

.dh-webinar-register-card__text {
    font-family: Lato, system-ui, sans-serif;
    font-size: 15px;
    line-height: 145%;
    color: #667489;
    margin: 0;
}

.dh-webinar-register-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: #DF002F;
    color: #FFFFFF;
    font-family: Lato, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 200px;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 16px rgba(223, 0, 47, 0.25);
}

.dh-webinar-register-card__cta:hover {
    background: #B80027;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(223, 0, 47, 0.32);
    color: #FFFFFF;
}

.dh-webinar-register-card__cta svg {
    flex-shrink: 0;
}
