.asok-events {
    --asok-green: #1f6b3a;
    --asok-green-dark: #134d29;
    --asok-lime: #8bbd3f;
    --asok-border: #e5eadf;
    --asok-text: #27312b;
    --asok-muted: #657069;
    width: 100%;
}

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

.asok-events-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.asok-event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--asok-border);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(25, 58, 37, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}


.asok-event-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f2f5f1;
}

.asok-event-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.asok-event-card:hover .asok-event-image img {
    transform: scale(1.03);
}

.asok-event-card-content {
    display: flex;
    gap: 18px;
    padding: 24px;
}

.asok-event-card:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 107, 58, .25);
    box-shadow: 0 14px 34px rgba(25, 58, 37, .12);
}

.asok-event-date-badge {
    flex: 0 0 66px;
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f2f8ec;
    border-radius: 12px;
    border-top: 4px solid var(--asok-lime);
    color: var(--asok-green-dark);
}

.asok-event-day {
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
}

.asok-event-month {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
}

.asok-event-card-body {
    min-width: 0;
    flex: 1;
}

.asok-event-title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.asok-event-title a {
    color: var(--asok-green-dark);
    text-decoration: none;
}

.asok-event-title a:hover {
    color: var(--asok-green);
}

.asok-event-meta {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--asok-muted);
    font-size: 14px;
}

.asok-event-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.asok-event-icon {
    width: 18px;
    flex: 0 0 18px;
}

.asok-event-description {
    color: var(--asok-text);
    line-height: 1.65;
}

.asok-event-description p:last-child {
    margin-bottom: 0;
}

.asok-event-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    color: var(--asok-green);
    font-weight: 700;
    text-decoration: none;
}

.asok-event-link:hover {
    color: var(--asok-green-dark);
}

.asok-events-empty {
    padding: 20px 22px;
    background: #f7faf5;
    border: 1px solid var(--asok-border);
    border-radius: 12px;
    color: var(--asok-muted);
}

.asok-events-single .asok-event-card {
    max-width: 900px;
}

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

@media (max-width: 767px) {
    .asok-events-grid {
        grid-template-columns: 1fr;
    }

    .asok-event-card-content {
        padding: 18px;
        gap: 14px;
    }

    .asok-event-date-badge {
        flex-basis: 58px;
        height: 64px;
    }

    .asok-event-day {
        font-size: 22px;
    }

    .asok-event-title {
        font-size: 19px;
    }
}

/* Standalone single-event page ------------------------------------------ */
body.asok-standalone-event-page {
    margin: 0;
    background: #f6f8f3;
    color: #26332a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.asok-standalone-event-page #wpadminbar ~ .asok-single-shell {
    padding-top: 0;
}

.asok-single-shell {
    min-height: 100vh;
    background: #f6f8f3;
}

.asok-single-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.asok-single-topbar {
    position: relative;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #e3e9df;
}

.asok-single-topbar-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.asok-single-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.asok-single-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #1f6b3a;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
}

.asok-single-brand-text {
    color: #183c27;
    font-size: 17px;
    font-weight: 750;
}

.asok-single-back {
    color: #1f6b3a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.asok-single-back:hover {
    color: #134d29;
}

.asok-single-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, #123d25 0%, #1f6b3a 58%, #4f8d39 100%);
}

.asok-single-hero-image,
.asok-single-hero-overlay {
    position: absolute;
    inset: 0;
}

.asok-single-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.asok-single-hero-overlay {
    background: linear-gradient(90deg, rgba(12, 42, 24, .91) 0%, rgba(12, 42, 24, .72) 47%, rgba(12, 42, 24, .26) 100%);
}

.asok-single-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 32px;
}

.asok-single-kicker,
.asok-single-section-label {
    margin-bottom: 14px;
    color: #9bc34a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.asok-single-title {
    max-width: 880px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 38px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.025em;
}

.asok-single-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.asok-single-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    backdrop-filter: blur(5px);
}

.asok-single-content-section {
    padding: 70px 0 80px;
}

.asok-single-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 54px;
    align-items: start;
}

.asok-single-description {
    min-width: 0;
    padding: 8px 0;
}

.asok-single-richtext {
    color: #39453d;
    font-size: 17px;
    line-height: 1.8;
}

.asok-single-richtext > :first-child {
    margin-top: 0;
}

.asok-single-richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.asok-single-richtext a {
    color: #1f6b3a;
}

.asok-single-richtext h2,
.asok-single-richtext h3,
.asok-single-richtext h4 {
    color: #163c26;
    line-height: 1.25;
}

.asok-single-info-card {
    position: sticky;
    top: 28px;
    padding: 30px;
    border: 1px solid #dfe7da;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(28, 67, 40, .08);
}

.asok-single-info-card h2 {
    margin: 0 0 22px;
    color: #173d27;
    font-size: 22px;
    line-height: 1.2;
}

.asok-single-info-row {
    padding: 16px 0;
    border-top: 1px solid #edf0ea;
}

.asok-single-info-label {
    display: block;
    margin-bottom: 5px;
    color: #758078;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.asok-single-info-row strong {
    display: block;
    color: #26332a;
    font-size: 15px;
    line-height: 1.45;
}

.asok-single-home-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 22px;
    padding: 0 18px;
    border-radius: 10px;
    background: #1f6b3a;
    color: #fff !important;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.asok-single-home-button:hover {
    background: #134d29;
    transform: translateY(-1px);
}

.asok-single-footer {
    padding: 28px 0;
    border-top: 1px solid #dfe6db;
    background: #eef3ea;
    color: #69746c;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 900px) {
    .asok-single-content-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .asok-single-info-card {
        position: static;
    }
}

@media (max-width: 767px) {
    .asok-single-container {
        width: min(100% - 30px, 1180px);
    }

    .asok-single-topbar-inner {
        min-height: 68px;
    }

    .asok-single-brand-mark {
        width: 44px;
        height: 44px;
        font-size: 11px;
    }

    .asok-single-brand-text {
        display: none;
    }

    .asok-single-hero {
        min-height: 390px;
    }

    .asok-single-hero-content {
        padding-top: 72px;
        padding-bottom: 48px;
    }

    .asok-single-title {
        font-size: clamp(34px, 11vw, 50px);
    }

    .asok-single-content-section {
        padding: 46px 0 56px;
    }

    .asok-single-info-card {
        padding: 24px;
    }
}


/* v1.3 - Theme-integrated single event layout */
.asok-theme-integrated-event { width: 100%; overflow: hidden; }
.asok-single-hero-clean { min-height: auto !important; background: #f3f8f2; padding: 72px 0 58px; color: #173b22; }
.asok-single-hero-clean .asok-single-title { color: #173b22; text-shadow: none; }
.asok-single-hero-clean .asok-single-kicker { color: #527a39; }
.asok-single-hero-clean .asok-single-meta-pill { background: #fff; color: #244b2d; border: 1px solid rgba(36,75,45,.12); box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.asok-single-description-title { margin: 0 0 22px; font-size: clamp(25px, 3vw, 34px); line-height: 1.2; color: #173b22; }
.asok-single-description-image { margin: 0 0 30px; padding: 0; }
.asok-single-description-image img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 32px rgba(0,0,0,.10); }
@media (max-width: 767px) {
  .asok-single-hero-clean { padding: 48px 0 38px; }
  .asok-single-description-image img { border-radius: 12px; max-height: none; }
}
