:root {
    --hexis-blue: #0089be;
    --hexis-dark-blue: #006f9f;
    --hexis-green: #a7ba28;
    --hexis-text: #646464;
}

.agenda-hero {
    min-height: 245px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(4, 11, 35, 0.97), rgba(4, 11, 35, 0.35)),
        url("../imgs/hexis_Webinars_Banner_1920x420.jpg") center/cover no-repeat;
}

.agenda-hero h1 {
    margin-bottom: 8px;
    font-family: "Ubuntu", sans-serif;
    font-size: 34px;
    font-weight: 700;
}

.agenda-hero p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
}

.agenda-section {
    padding: 38px 0 90px;
    background: #fff;
}

.agenda-title {
    margin: 0 0 36px;
    color: var(--hexis-text);
    font-family: "Ubuntu", sans-serif;
    font-size: 27px;
    font-weight: 300;
    text-align: center;
}

.agenda-title strong {
    font-weight: 700;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 32px;
}

.agenda-card {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e3e3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.agenda-card-image {
    height: 145px;
    overflow: hidden;
    background: #edf1f3;
}

.agenda-card-image > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.agenda-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agenda-card-placeholder img {
    width: 145px;
    max-height: 80px;
    object-fit: contain;
}

.agenda-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px 20px 10px;
}

.agenda-badge {
    width: max-content;
    margin-top: -2px;
    margin-bottom: 11px;
    padding: 4px 14px;
    color: #fff;
    background: var(--hexis-blue);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
}

.agenda-card h3 {
    margin: 0 0 12px;
    color: var(--hexis-blue);
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.agenda-description {
    margin-bottom: 14px;
    color: #737373;
    font-size: 13px;
    line-height: 1.4;
}

.agenda-information {
    margin-top: auto;
}

.agenda-information-item {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
    color: #858585;
    font-size: 13px;
}

.agenda-icon {
    width: 15px;
    color: #999;
    font-size: 15px;
    text-align: center;
}

.agenda-register-button {
    display: block;
    margin: 0 11px 11px;
    padding: 7px 12px;
    color: #fff;
    background: var(--hexis-green);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.agenda-register-button:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(0.92);
}

.agenda-register-disabled {
    cursor: default;
    background: #a8a8a8;
}

.agenda-empty {
    padding: 50px 20px;
    color: #6d6d6d;
    background: #f7f7f7;
    text-align: center;
}

.agenda-empty img {
    width: 150px;
    margin-bottom: 20px;
}

.agenda-newsletter {
    position: relative;
    min-height: 205px;
    margin-top: 210px;
    display: flex;
    align-items: center;
    overflow: visible;
    background: #078abb;
}

.agenda-newsletter-content {
    position: relative;
    min-height: 205px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.agenda-newsletter-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 410px;
    height: 415px;
    pointer-events: none;
}

.agenda-newsletter-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: left bottom;
}

.agenda-newsletter-text {
    width: 57%;
    margin-left: auto;
    color: #fff;
    text-align: center;
}

.agenda-newsletter-text p {
    max-width: 630px;
    margin: 0 auto 24px;
    font-family: "Ubuntu", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
}

.agenda-newsletter-button {
    width: 100%;
    max-width: 460px;
    display: block;
    margin: 0 auto;
    padding: 11px 20px;
    color: #fff;
    background: #ff9d28;
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.agenda-newsletter-button:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(0.95);
}

@media (max-width: 991px) {
    .agenda-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agenda-newsletter-text {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .agenda-hero {
        min-height: 220px;
    }

    .agenda-hero h1 {
        font-size: 29px;
    }

    .agenda-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .agenda-card {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .agenda-title {
        font-size: 23px;
    }

    .agenda-newsletter {
        padding: 35px 0;
    }
}

@media (max-width: 767px) {
    .agenda-newsletter {
        min-height: auto;
        margin-top: 150px;
        padding: 30px 0;
    }

    .agenda-newsletter-content {
        min-height: auto;
        display: block;
    }

    .agenda-newsletter-image {
        bottom: 100%;
        left: 50%;
        width: 280px;
        height: 280px;
        transform: translateX(-50%);
    }

    .agenda-newsletter-text {
        width: 100%;
    }

    .agenda-newsletter-text p {
        font-size: 15px;
    }

    .agenda-newsletter-button {
        max-width: 100%;
        font-size: 14px;
    }
}