.vcw-events {
    --vcw-events-date-color: #15465a;
    --vcw-events-title-color: #57BF93;
    --vcw-events-button-color: #00c49a;
    --vcw-events-text-color: #333;
    --vcw-events-muted-color: #5f6f76;
    --vcw-events-border-color: #246E8F;
    width: 100%;
}

.vcw-events-main-heading,
.vcw-events-section-heading {
    margin: 0 0 32px;
    color: #303133 !important;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.vcw-events-section + .vcw-events-section {
    margin-top: 56px;
}

.vcw-events-empty {
    margin: 0;
    color: var(--vcw-events-text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.vcw-events-grid {
    display: grid;
    grid-template-columns: repeat(var(--vcw-events-columns, 3), minmax(0, 1fr));
    gap: 28px;
}

.vcw-event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--vcw-events-border-color);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(21, 70, 90, 0.06);
}

.vcw-event-card-image-wrap {
    overflow: hidden;
}

.vcw-event-card-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.vcw-event-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 34px;
}

.vcw-event-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.vcw-event-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(21, 70, 90, 0.08);
    color: var(--vcw-events-date-color);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vcw-event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 7px;
    margin-bottom: 14px;
    color: var(--vcw-events-date-color);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.vcw-event-meta a {
    color: inherit;
    text-decoration: none;
}

.vcw-event-meta a:hover,
.vcw-event-meta a:focus {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.vcw-event-meta-separator {
    color: inherit;
}

.vcw-event-title {
    margin: 0 0 16px;
    color: #57BF93 !important;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.vcw-events-grid .vcw-event-title {
    font-size: 28px;
}

.vcw-event-role {
    margin: -6px 0 14px;
    color: var(--vcw-events-date-color);
    font-size: 15px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
}

.vcw-event-excerpt {
    max-width: 900px;
    margin: 0 0 24px;
    color: var(--vcw-events-text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.vcw-events-grid .vcw-event-excerpt {
    color: var(--vcw-events-text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.vcw-event-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 150px;
    margin-top: auto;
    padding: 14px 24px;
    border: 2px solid var(--vcw-events-button-color);
    border-radius: 12px;
    background: var(--vcw-events-button-color);
    color: #fff !important;
    box-shadow: 0 16px 30px rgba(0, 196, 154, 0.2);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vcw-event-button:visited {
    color: #fff !important;
}

.vcw-event-button:hover,
.vcw-event-button:focus {
    background: transparent;
    color: var(--vcw-events-button-color) !important;
    border-color: currentColor;
    box-shadow: none;
    text-decoration: none !important;
}

.vcw-events-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.vcw-events-table {
    width: 100%;
    margin: 0;
    border: 1px solid #e0f1f8;
    border-collapse: collapse;
    table-layout: fixed;
}

.vcw-events-table th {
    padding: 14px 12px;
    background: #e5f5ee;
    color: var(--vcw-events-date-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.vcw-events-table td {
    padding: 16px 12px;
    border-top: 1px solid #ddd;
    color: var(--vcw-events-text-color);
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    vertical-align: middle;
}

.vcw-events-table tr {
    background: #fff;
    transition: background 0.2s ease;
}

.vcw-events-table tr:hover,
.vcw-events-table tr:focus-within {
    background: #f0f8fb;
}

.vcw-events-table .vcw-event-category {
    margin: 2px;
}

.vcw-events-table .vcw-event-button {
    min-width: 0;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: none;
}

.vcw-events-featured-list {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.vcw-event-featured {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 36px;
    align-items: center;
    padding: 38px;
    background: #fff;
    border: 1px solid var(--vcw-events-border-color);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(21, 70, 90, 0.06);
}

.vcw-event-featured-image-wrap {
    overflow: hidden;
    border-radius: 16px;
}

.vcw-event-featured-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.vcw-event-featured-content {
    min-width: 0;
}

.vcw-event-featured .vcw-event-meta {
    font-size: 20px;
}

.vcw-event-featured .vcw-event-title {
    font-size: 36px;
}

.vcw-event-featured .vcw-event-excerpt {
    color: var(--vcw-events-text-color);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.vcw-event-admin-status {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.vcw-event-admin-status-upcoming {
    background: #e5f5ee;
    color: #1d6b45;
}

.vcw-event-admin-status-past {
    background: #f1f1f1;
    color: #666;
}

.vcw-events .vcw-events-main-heading,
.vcw-events .vcw-events-section-heading,
.vcw-events h1.vcw-events-main-heading,
.vcw-events h2.vcw-events-main-heading,
.vcw-events h3.vcw-events-main-heading,
.vcw-events h1.vcw-events-section-heading,
.vcw-events h2.vcw-events-section-heading,
.vcw-events h3.vcw-events-section-heading,
.vcw-events .vcw-events-main-heading span,
.vcw-events .vcw-events-section-heading span {
    color: #303133 !important;
}

.vcw-events .vcw-event-title,
.vcw-events h1.vcw-event-title,
.vcw-events h2.vcw-event-title,
.vcw-events h3.vcw-event-title,
.vcw-events .vcw-event-title span {
    color: #57BF93 !important;
}

.events-page-heading,
.events-page-heading h1,
.events-page-heading h2,
.events-page-heading h3,
.events-page-heading h4,
.events-page-heading span {
    color: #303133 !important;
}

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

    .vcw-event-featured {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .vcw-event-title,
    .vcw-events-grid .vcw-event-title {
        font-size: 26px;
    }

    .vcw-event-featured .vcw-event-title {
        font-size: 32px;
    }
}

@media (max-width: 700px) {
    .vcw-events-main-heading,
    .vcw-events-section-heading {
        font-size: 26px;
    }

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

    .vcw-event-card-content {
        padding: 26px;
    }

    .vcw-event-meta {
        margin-bottom: 12px;
        font-size: 17px;
    }

    .vcw-event-title,
    .vcw-events-grid .vcw-event-title,
    .vcw-event-featured .vcw-event-title {
        margin-bottom: 14px;
        font-size: 25px;
    }

    .vcw-event-excerpt,
    .vcw-events-grid .vcw-event-excerpt,
    .vcw-event-featured .vcw-event-excerpt {
        margin-bottom: 22px;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.65;
    }

    .vcw-event-button {
        min-width: 140px;
        padding: 13px 22px;
        font-size: 15px;
    }

    .vcw-event-featured {
        padding: 26px;
    }

    .vcw-events-table {
        border: 0;
    }

    .vcw-events-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        border: 0;
    }

    .vcw-events-table tr {
        display: block;
        margin-bottom: 14px;
        border: 1px solid #ddd;
        border-radius: 12px;
        overflow: hidden;
    }

    .vcw-events-table td {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        width: 100%;
        border-top: 1px solid #ddd;
        text-align: right;
    }

    .vcw-events-table td:first-child {
        border-top: 0;
    }

    .vcw-events-table td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
    }
}