.manifestacije-archive {
    padding: 80px 0;
}

.manifestacije-archive .auto-container {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.manifestacija-single .auto-container {
    max-width: 1180px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.manifestacije-layout {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.manifestacije-filter {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #f8f7f4;
}

.manifestacije-filter label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: var(--thm-black);
}

.manifestacije-filter select {
    width: 100%;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 0 12px;
    background: #fff;
}

.manifestacije-filter__actions {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.manifestacije-filter button {
    border: none;
    background: var(--thm-base);
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 600;
    width: 100%;
}

.manifestacije-filter__reset {
    color: var(--thm-black);
    text-decoration: underline;
    font-weight: 600;
    text-align: center;
}

.manifestacije-year {
    margin-top: 40px;
}

.manifestacije-year:first-of-type {
    margin-top: 0;
}

.manifestacije-year__title {
    font-size: 32px;
    margin-bottom: 20px;
}

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

#manifestacije-results.is-loading {
    opacity: 0.6;
}

.manifestacije-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.manifestacije-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.manifestacije-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.manifestacije-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.manifestacije-card__date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
}

.manifestacije-card__title {
    font-size: 20px;
    margin: 0;
    line-height: 1.35;
}

.manifestacije-card__title a {
    color: inherit;
    text-decoration: none;
}

.manifestacije-card__title a:hover,
.manifestacije-card__title a:focus {
    color: var(--thm-base);
    text-decoration: underline;
}

.manifestacije-card__excerpt {
    color: #555;
}

.manifestacije-card__more {
    margin-top: auto;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}

.manifestacije-card__more:hover,
.manifestacije-card__more:focus {
    color: var(--thm-base);
    text-decoration: underline;
}

.manifestacije-pagination {
    margin-top: 40px;
}

.manifestacija-hero img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.manifestacija-single {
    padding: 60px 0 90px;
}

.manifestacija-single__title {
    font-size: 34px;
    margin-bottom: 24px;
}

.manifestacija-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    grid-template-areas: "content meta";
    gap: 40px;
    align-items: start;
}

.manifestacija-single__content {
    grid-area: content;
}

.manifestacija-meta {
    grid-area: meta;
    background: #f8f7f4;
    border-left: 4px solid var(--thm-base);
    padding: 24px;
    border-radius: 8px;
}

.manifestacija-meta__item + .manifestacija-meta__item {
    margin-top: 18px;
}

.manifestacija-meta__label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
    margin-bottom: 6px;
}

.manifestacija-meta__value {
    color: #222;
    font-weight: 600;
    line-height: 1.4;
}

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

@media (max-width: 991px) {
    .manifestacije-layout {
        grid-template-columns: 1fr;
    }

    .manifestacija-single__layout {
        grid-template-columns: 1fr;
        grid-template-areas: "meta" "content";
    }

    .manifestacija-hero img {
        max-height: 420px;
    }
}

@media (max-width: 767px) {
    .manifestacije-archive {
        padding: 60px 0;
    }

    .manifestacije-grid {
        grid-template-columns: 1fr;
    }

    .manifestacija-single {
        padding: 40px 0 70px;
    }
}
