/* ===============================
   AGENDA HEADER
================================= */

.agenda-header {
    max-width: 760px;
    margin-inline: auto;
}

.agenda-label {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(94, 25, 146, 0.08);
    color: #5e1992;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.agenda-title {
    margin-top: 18px;
    margin-bottom: 0;
    color: #3d105f;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.agenda-divider {
    width: 64px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #5e1992, #efa735);
}

.agenda-subtitle {
    max-width: 640px;
    margin: 22px auto 0;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .agenda-header {
        margin-bottom: 40px !important;
    }

    .agenda-label {
        padding: 5px 14px;
        font-size: 0.68rem;
    }

    .agenda-title {
        margin-top: 14px;
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .agenda-divider {
        width: 52px;
        margin-top: 14px;
    }

    .agenda-subtitle {
        margin-top: 18px;
        padding: 0 10px;
        font-size: 0.9rem;
        line-height: 1.8;
    }
}

/* ===============================
   FADE UP
================================= */

.no-js .fade-up {
    opacity: 1;
    transform: none;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    will-change: opacity, transform;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   FEATURE SECTION
================================= */

.agenda-feature-section {
    margin-bottom: 80px;
}

.agenda-section-header {
    margin-bottom: 24px;
}

.agenda-section-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #5e1992;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.agenda-section-title {
    margin-bottom: 10px;
    color: #3d105f;
    font-size: 2rem;
    font-weight: 800;
}

.agenda-section-subtitle {
    max-width: 640px;
    margin: 0;
    color: #6c757d;
    line-height: 1.8;
}

/* ===============================
   FEATURE CARD
================================= */

.agenda-feature-card {
    overflow: hidden;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(94, 25, 146, 0.08);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.05);
}

/* image */

.agenda-feature-image-wrap {
    position: relative;
    height: 100%;
}

.agenda-feature-image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.agenda-feature-empty {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

/* floating date */

.agenda-feature-date {
    position: absolute;
    top: 24px;
    left: 24px;
}

.agenda-feature-date span {
    display: inline-flex;
    align-items: center;
    padding: 11px 18px;
    border-radius: 999px;

    background: linear-gradient(
        135deg,
        rgba(94, 25, 146, 0.92),
        rgba(125, 43, 184, 0.92)
    );

    border: 1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(10px);

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.agenda-feature-date span::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: #efa735;
    box-shadow: 0 0 12px rgba(239, 167, 53, 0.7);
}

/* content */

.agenda-feature-content {
    padding: 42px;
}

.agenda-feature-title {
    margin-bottom: 18px;
    color: #3d105f;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
}

/* ===============================
   FEATURE LOCATION
================================= */

.agenda-feature-location {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 18px;

    background: rgba(94, 25, 146, 0.04);

    border: 1px solid rgba(94, 25, 146, 0.08);
}

/* icon */

.agenda-location-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #5e1992, #7d2bb8);

    color: #fff;
    font-size: 1rem;

    flex-shrink: 0;

    box-shadow: 0 10px 20px rgba(94, 25, 146, 0.18);
}

/* text */

.agenda-location-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.agenda-location-main {
    color: #3d105f;
    font-size: 0.95rem;
    font-weight: 700;
}

.agenda-location-sub {
    margin-top: 2px;
    color: #6c757d;
    font-size: 0.82rem;
    font-weight: 500;
}

.agenda-feature-desc {
    color: #666;
    line-height: 1.9;
}

/* buttons */

.agenda-feature-action {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.agenda-feature-btn,
.agenda-feature-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.agenda-feature-btn {
    background: #5e1992;
    color: #fff;
}

.agenda-feature-btn:hover {
    background: #491172;
    color: #fff;
    transform: translateY(-2px);
}

.agenda-feature-btn-outline {
    border: 1px solid rgba(94, 25, 146, 0.15);
    color: #5e1992;
    background: #fff;
}

.agenda-feature-btn-outline:hover {
    background: rgba(94, 25, 146, 0.05);
    color: #5e1992;
}

/* mini gallery */

.agenda-feature-gallery {
    display: flex;
    gap: 14px;
    margin-top: 34px;
}

.agenda-feature-gallery-item {
    overflow: hidden;
    width: 90px;
    height: 90px;
    border-radius: 18px;
    flex-shrink: 0;
}

.agenda-feature-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.agenda-feature-gallery-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .agenda-section-title {
        font-size: 1.45rem;
    }

    .agenda-section-subtitle {
        font-size: 0.9rem;
    }

    .agenda-feature-card {
        border-radius: 24px;
    }

    .agenda-feature-image,
    .agenda-feature-empty {
        min-height: 260px;
    }

    .agenda-feature-content {
        padding: 24px 20px;
    }

    .agenda-feature-title {
        font-size: 1.35rem;
    }

    .agenda-feature-desc {
        font-size: 0.92rem;
        line-height: 1.8;
    }

    .agenda-feature-action {
        flex-direction: column;
    }

    .agenda-feature-btn,
    .agenda-feature-btn-outline {
        width: 100%;
    }

    .agenda-feature-gallery {
        margin-top: 24px;
    }

    .agenda-feature-gallery-item {
        width: 70px;
        height: 70px;
        border-radius: 14px;
    }

    .agenda-feature-location {
        width: 100%;
        padding: 12px 14px;
        border-radius: 16px;
    }

    .agenda-location-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .agenda-location-main {
        font-size: 0.9rem;
    }

    .agenda-location-sub {
        font-size: 0.76rem;
    }
}

/* ===============================
   MONTH SECTION
================================= */

.agenda-month-section {
    margin-bottom: 80px;
}

.agenda-month-header {
    margin-bottom: 24px;
}

/* ===============================
   MONTH CARD
================================= */

.agenda-month-card {
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(94, 25, 146, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

/* item */

.agenda-month-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    transition: 0.25s ease;
}

.agenda-month-item:not(:last-child) {
    border-bottom: 1px solid rgba(94, 25, 146, 0.06);
}

.agenda-month-item:hover {
    background: rgba(94, 25, 146, 0.02);
}

/* date */

.agenda-month-date {
    width: 82px;
    height: 82px;
    border-radius: 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: linear-gradient(135deg, #5e1992, #7d2bb8);

    box-shadow: 0 14px 30px rgba(94, 25, 146, 0.2);
}

.agenda-month-day {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.agenda-month-month {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* content */

.agenda-month-content {
    flex: 1;
}

.agenda-month-title {
    margin-bottom: 10px;
    color: #3d105f;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.5;
}

.agenda-month-location {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* button */

.agenda-month-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 18px;
    border-radius: 14px;

    border: 1px solid rgba(94, 25, 146, 0.1);

    background: #fff;

    color: #5e1992;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;

    transition: 0.25s ease;
}

.agenda-month-btn:hover {
    background: #5e1992;
    color: #fff;
    transform: translateY(-2px);
}

/* empty */

.agenda-empty-state {
    padding: 60px 30px;
    text-align: center;
}

.agenda-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.agenda-empty-state h5 {
    margin-bottom: 10px;
    color: #3d105f;
    font-weight: 800;
}

.agenda-empty-state p {
    margin: 0;
    color: #6c757d;
}

@media (max-width: 768px) {
    .agenda-month-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .agenda-month-date {
        width: 70px;
        height: 70px;
        border-radius: 20px;
    }

    .agenda-month-day {
        font-size: 1.4rem;
    }

    .agenda-month-title {
        font-size: 1rem;
    }

    .agenda-month-location {
        font-size: 0.84rem;
    }

    .agenda-month-action {
        width: 100%;
    }

    .agenda-month-btn {
        width: 100%;
    }
}

/* ===============================
   SEARCH
================================= */

.agenda-search-wrap {
    margin-bottom: 40px;
}

.agenda-search-box {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 14px;
    border-radius: 28px;

    background: #fff;

    border: 1px solid rgba(94, 25, 146, 0.08);

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

/* input wrap */

.agenda-search-input-wrap {
    position: relative;
    flex: 1;
}

/* icon */

.agenda-search-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);

    font-size: 0.95rem;
    opacity: 0.65;
}

/* input */

.agenda-search-input {
    width: 100%;
    height: 58px;

    padding: 0 20px 0 52px;

    border: none;
    outline: none;

    border-radius: 18px;

    background: rgba(94, 25, 146, 0.04);

    color: #3d105f;
    font-size: 0.95rem;
    font-weight: 500;

    transition: 0.25s ease;
}

.agenda-search-input:focus {
    background: rgba(94, 25, 146, 0.06);
}

.agenda-search-input::placeholder {
    color: #888;
}

/* button */

.agenda-search-btn {
    height: 58px;
    padding: 0 26px;

    border: none;
    border-radius: 18px;

    background: linear-gradient(135deg, #5e1992, #7d2bb8);

    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;

    transition: 0.25s ease;
}

.agenda-search-btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 14px 30px rgba(94, 25, 146, 0.22);
}

@media (max-width: 768px) {
    .agenda-search-box {
        flex-direction: column;
        align-items: stretch;

        padding: 16px;
        border-radius: 22px;
    }

    .agenda-search-input {
        height: 54px;
        border-radius: 16px;
        font-size: 0.9rem;
    }

    .agenda-search-btn {
        width: 100%;
        height: 54px;
        border-radius: 16px;
    }
}

/* ===============================
   ALL AGENDA
================================= */

.agenda-all-section {
    margin-bottom: 80px;
}

.agenda-all-header {
    margin-bottom: 26px;
}

/* ===============================
   CARD
================================= */

.agenda-card {
    overflow: hidden;
    height: 100%;

    border-radius: 28px;

    background: #fff;

    border: 1px solid rgba(94, 25, 146, 0.08);

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);

    transition: 0.3s ease;
}

.agenda-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}

/* image */

.agenda-card-image-wrap {
    position: relative;
    overflow: hidden;
}

.agenda-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;

    transition: 0.45s ease;
}

.agenda-card:hover .agenda-card-image {
    transform: scale(1.06);
}

.agenda-card-empty {
    height: 240px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f8f9fa;

    color: #777;
}

/* date */

.agenda-card-date {
    position: absolute;
    top: 18px;
    left: 18px;
}

.agenda-card-date span {
    display: inline-flex;
    align-items: center;

    padding: 10px 16px;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        rgba(94, 25, 146, 0.95),
        rgba(125, 43, 184, 0.95)
    );

    color: #fff;

    font-size: 0.76rem;
    font-weight: 700;

    backdrop-filter: blur(10px);

    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

/* body */

.agenda-card-body {
    padding: 24px;
}

.agenda-card-title {
    margin-bottom: 12px;

    color: #3d105f;

    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.5;
}

/* location */

.agenda-card-location {
    margin-bottom: 14px;

    color: #6c757d;

    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.7;
}

/* desc */

.agenda-card-desc {
    margin-bottom: 24px;

    color: #666;

    line-height: 1.8;

    font-size: 0.92rem;
}

/* action */

.agenda-card-action {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.agenda-card-btn,
.agenda-card-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 18px;

    border-radius: 14px;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 700;

    transition: 0.25s ease;
}

.agenda-card-btn {
    background: #5e1992;
    color: #fff;
}

.agenda-card-btn:hover {
    background: #491172;
    color: #fff;
}

.agenda-card-btn-outline {
    background: #fff;

    border: 1px solid rgba(94, 25, 146, 0.1);

    color: #5e1992;
}

.agenda-card-btn-outline:hover {
    background: rgba(94, 25, 146, 0.04);
    color: #5e1992;
}

/* pagination */

.agenda-pagination-wrap {
    margin-top: 40px;

    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .agenda-card {
        border-radius: 22px;
    }

    .agenda-card-image,
    .agenda-card-empty {
        height: 220px;
    }

    .agenda-card-body {
        padding: 20px 18px;
    }

    .agenda-card-title {
        font-size: 1rem;
    }

    .agenda-card-desc {
        font-size: 0.88rem;
    }

    .agenda-card-action {
        flex-direction: column;
    }

    .agenda-card-btn,
    .agenda-card-btn-outline {
        width: 100%;
    }
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 992px) {
    .agenda-title {
        font-size: 2.2rem;
    }

    .agenda-section-title {
        font-size: 1.7rem;
    }

    .agenda-feature-content {
        padding: 32px 28px;
    }

    .agenda-feature-title {
        font-size: 1.6rem;
    }

    .agenda-feature-image,
    .agenda-feature-empty {
        min-height: 420px;
    }

    .agenda-month-item {
        gap: 18px;
        padding: 22px;
    }
}

@media (max-width: 768px) {
    /* header */

    .agenda-header {
        margin-bottom: 40px !important;
    }

    .agenda-label {
        padding: 5px 14px;
        font-size: 0.68rem;
    }

    .agenda-title {
        margin-top: 14px;
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .agenda-divider {
        width: 52px;
        margin-top: 14px;
    }

    .agenda-subtitle {
        margin-top: 18px;
        padding: 0 10px;
        font-size: 0.9rem;
        line-height: 1.8;
    }

    /* section */

    .agenda-section-title {
        font-size: 1.45rem;
    }

    .agenda-section-subtitle {
        font-size: 0.9rem;
    }

    /* feature */

    .agenda-feature-card {
        border-radius: 24px;
    }

    .agenda-feature-image,
    .agenda-feature-empty {
        min-height: 260px;
    }

    .agenda-feature-content {
        padding: 24px 20px;
    }

    .agenda-feature-title {
        font-size: 1.35rem;
    }

    .agenda-feature-desc {
        font-size: 0.92rem;
        line-height: 1.8;
    }

    .agenda-feature-action {
        flex-direction: column;
    }

    .agenda-feature-btn,
    .agenda-feature-btn-outline {
        width: 100%;
    }

    .agenda-feature-gallery {
        margin-top: 24px;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .agenda-feature-gallery::-webkit-scrollbar {
        display: none;
    }

    .agenda-feature-gallery-item {
        width: 70px;
        height: 70px;
        border-radius: 14px;
    }

    /* feature location */

    .agenda-feature-location {
        width: 100%;
        padding: 12px 14px;
        border-radius: 16px;
        gap: 12px;
    }

    .agenda-location-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .agenda-location-main {
        font-size: 0.9rem;
    }

    .agenda-location-sub {
        font-size: 0.76rem;
    }

    /* month */

    .agenda-month-card {
        border-radius: 22px;
    }

    .agenda-month-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .agenda-month-date {
        width: 70px;
        height: 70px;
        border-radius: 20px;
    }

    .agenda-month-day {
        font-size: 1.4rem;
    }

    .agenda-month-title {
        font-size: 1rem;
    }

    .agenda-month-location {
        font-size: 0.84rem;
    }

    .agenda-month-action {
        width: 100%;
    }

    .agenda-month-btn {
        width: 100%;
    }

    /* search */

    .agenda-search-box {
        flex-direction: column;
        align-items: stretch;

        padding: 16px;
        border-radius: 22px;
    }

    .agenda-search-input {
        height: 54px;
        border-radius: 16px;
        font-size: 0.9rem;
    }

    .agenda-search-btn {
        width: 100%;
        height: 54px;
        border-radius: 16px;
    }

    /* cards */

    .agenda-card {
        border-radius: 22px;
    }

    .agenda-card-image,
    .agenda-card-empty {
        height: 220px;
    }

    .agenda-card-body {
        padding: 20px 18px;
    }

    .agenda-card-title {
        font-size: 1rem;
    }

    .agenda-card-desc {
        font-size: 0.88rem;
    }

    .agenda-card-action {
        flex-direction: column;
    }

    .agenda-card-btn,
    .agenda-card-btn-outline {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .agenda-title {
        font-size: 1.45rem;
    }

    .agenda-section-title {
        font-size: 1.25rem;
    }

    .agenda-feature-content,
    .agenda-card-body {
        padding: 18px;
    }

    .agenda-feature-title {
        font-size: 1.15rem;
    }

    .agenda-feature-desc,
    .agenda-card-desc,
    .agenda-subtitle {
        font-size: 0.86rem;
        line-height: 1.75;
    }

    .agenda-search-box {
        padding: 12px;
    }

    .agenda-search-input,
    .agenda-search-btn {
        height: 50px;
    }

    .agenda-month-item {
        padding: 18px;
    }

    .agenda-feature-btn,
    .agenda-feature-btn-outline,
    .agenda-card-btn,
    .agenda-card-btn-outline,
    .agenda-month-btn {
        font-size: 0.82rem;
    }
}
