
@media (min-width: 1100px) {
    .home-hero__inner,
    .home-news,
    .home-dashboard {
        width: min(1240px, calc(100% - 48px));
    }
}

.home-hero {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    background-position: center 52%;
}

.home-hero__inner {
    position: relative;
    display: flex;
    min-height: 310px;
    align-items: center;
    padding-top: 38px;
    padding-bottom: 38px;
}

.home-hero__content {
    max-width: 790px;
    padding-right: 235px;
}

.home-hero__event {
    display: flex;
    align-items: center;
    gap: 21px;
}

.home-hero__event-copy {
    min-width: 0;
}

.home-hero-date {
    display: flex;
    width: 92px;
    min-height: 101px;
    flex: 0 0 92px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 17px;
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 15px 35px rgba(0, 38, 26, .22);
    color: #087148;
    line-height: 1;
    backdrop-filter: blur(9px);
}

.home-hero-date__day {
    font-size: 37px;
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: .9;
}

.home-hero-date__month {
    margin-top: 7px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .11em;
}

.home-hero-date__year {
    margin-top: 8px;
    color: #60746a;
    font-size: 10px;
    font-weight: 750;
}

.home-hero__content small {
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .09em;
}

.home-hero__content p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .9);
}

.home-hero__city-logo {
    position: absolute;
    right: 0;
    bottom: 18px;
    display: grid;
    min-width: 195px;
    min-height: 66px;
    place-items: center;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 13px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 10px 28px rgba(0, 35, 24, .18);
    backdrop-filter: blur(9px);
}

.home-hero__city-logo img {
    display: block;
    width: 170px;
    height: auto;
}

.home-news .title-row {
    margin-bottom: 18px;
}

.home-news__heading {
    position: relative;
    align-items: flex-end;
    padding-bottom: 14px;
    border-bottom: 1px solid #dfe8e3;
}

.home-news__heading::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 74px;
    height: 3px;
    border-radius: 999px;
    background: #087148;
    content: "";
}

.home-news__heading h2 {
    margin: 3px 0 0;
}

.home-section-kicker {
    color: #087148;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
}

.home-news__heading > a {
    margin-bottom: 6px;
    font-weight: 760;
}

.home-news-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.home-news-card:hover {
    border-color: #afd0bf;
    box-shadow: 0 17px 36px rgba(18, 65, 44, .11);
    transform: translateY(-3px);
}

.home-news-card__image {
    display: block;
    overflow: hidden;
}

.home-news-card__image img {
    display: block;
    transition: transform .25s ease;
}

.home-news-card:hover .home-news-card__image img {
    transform: scale(1.035);
}

.home-news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.home-news-card__body small {
    color: #66756e;
}

.home-news-card__body h3 {
    line-height: 1.28;
}

.home-news-card__body h3 a {
    color: #13211b;
}

.home-news-card__body p {
    display: -webkit-box;
    min-height: 46px;
    margin: 4px 0 12px;
    overflow: hidden;
    color: #63716a;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-news-card__link {
    margin-top: auto;
    font-weight: 750;
}

.home-overview {
    padding-top: 30px;
    padding-bottom: 34px;
}

.home-dashboard {
    display: grid;
    gap: 18px;
}

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

.home-panel {
    min-width: 0;
    padding: 21px;
    border: 1px solid #dce6e1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 56, 41, .055);
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.home-panel:hover {
    border-color: #cbded4;
    box-shadow: 0 14px 31px rgba(21, 56, 41, .08);
}

.home-panel__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 13px;
    margin-bottom: 10px;
}

.home-panel__heading h3 {
    margin: 1px 0 0;
    color: #142e24;
    font-size: 20px;
    line-height: 1.22;
}

.home-panel__heading > a {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #087148;
    font-size: 10px;
    font-weight: 800;
}

.home-panel__eyebrow {
    color: #75837b;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.home-panel__rows {
    display: grid;
}

.home-icon-row {
    display: grid;
    min-width: 0;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    min-height: 84px;
    padding: 11px 0;
    border-bottom: 1px solid #e6ece9;
    color: #172a22;
}

.home-icon-row:last-child {
    border-bottom: 0;
}

.home-date-badge {
    display: flex;
    width: 74px;
    min-height: 74px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid #d5e4dc;
    background: #edf5f1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
    line-height: 1;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.home-date-badge__day {
    color: #087148;
    font-size: 27px;
    font-weight: 900;
    line-height: .95;
}

.home-date-badge__month {
    margin-top: 3px;
    color: #087148;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.home-date-badge__year {
    margin-top: 5px;
    color: #6d7e76;
    font-size: 8px;
    font-weight: 700;
}

.home-date-badge--minute {
    background: #f0f5f2;
    border-color: #d9e5df;
}

.home-date-badge--minute .home-date-badge__day,
.home-date-badge--minute .home-date-badge__month {
    color: #3b6753;
}

.home-date-badge--reservation {
    background: #f3f6ea;
    border-color: #e0e6cf;
}

.home-date-badge--reservation .home-date-badge__day,
.home-date-badge--reservation .home-date-badge__month {
    color: #62743c;
}

.home-icon-row__content {
    min-width: 0;
}

.home-icon-row__content strong,
.home-icon-row__content small {
    display: block;
}

.home-icon-row__content strong {
    overflow: hidden;
    color: #172a22;
    font-size: 13px;
    font-weight: 770;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-icon-row__content small {
    margin-top: 3px;
    overflow: hidden;
    color: #78857e;
    font-size: 10px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-icon-row__arrow {
    color: #087148;
    font-size: 12px;
    transition: transform .18s ease;
}

.home-icon-row__status {
    padding: 4px 6px;
    border-radius: 6px;
    background: #f7eed7;
    color: #775617;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-icon-row:hover .home-date-badge {
    transform: translateY(-1px);
    border-color: #c7dad0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .82),
        0 8px 18px rgba(12, 63, 43, .07);
}

.home-icon-row:hover .home-icon-row__arrow {
    transform: translateX(2px);
}

.home-panel__empty {
    margin: 12px 0 0;
    color: #6f7d76;
    font-size: 11px;
}

.home-panel__privacy {
    margin: 8px 0 0;
    padding-top: 9px;
    border-top: 1px solid #e8eeeb;
    color: #869088;
    font-size: 8px;
    line-height: 1.45;
}

.home-reservation-free {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 74px;
    color: #305545;
}

.home-reservation-free > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 999px;
    background: #e1f2e8;
    color: #087148;
    font-weight: 900;
}

.home-reservation-free strong,
.home-reservation-free small {
    display: block;
}

.home-reservation-free strong {
    font-size: 12px;
}

.home-reservation-free small {
    margin-top: 2px;
    color: #78857e;
    font-size: 9px;
}

.home-gallery-panel {
    padding-bottom: 20px;
}

.home-gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 5px;
}

.home-gallery-thumbs a {
    min-width: 0;
}

.home-gallery-thumbs__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 9px;
    background: #edf2ef;
}

.home-gallery-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease;
}

.home-gallery-thumbs a:hover img {
    transform: scale(1.035);
}

.home-gallery-thumbs__icon {
    position: absolute;
    right: 7px;
    bottom: 7px;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 7px;
    background: rgba(7, 64, 43, .78);
    color: #fff;
    backdrop-filter: blur(4px);
}

.home-gallery-thumbs__icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.home-gallery-thumbs > a > span:not(.home-gallery-thumbs__image),
.home-gallery-thumbs > a > small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-gallery-thumbs > a > span:not(.home-gallery-thumbs__image) {
    margin-top: 6px;
    color: #172a22;
    font-size: 11px;
    font-weight: 750;
}

.home-gallery-thumbs > a > small {
    margin-top: 2px;
    color: #7b8881;
    font-size: 8px;
}

@media (max-width: 980px) {
    .home-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-panel--reservations {
        grid-column: 1 / -1;
    }

    .home-panel--reservations .home-panel__rows {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 18px;
    }

    .home-panel--reservations .home-icon-row {
        border-bottom: 0;
    }
}


@media (max-width: 800px) {
    .home-hero__content {
        max-width: 100%;
        padding-right: 180px;
    }

    .home-hero-date {
        width: 78px;
        min-height: 88px;
        flex-basis: 78px;
    }

    .home-hero-date__day {
        font-size: 32px;
    }
}

@media (max-width: 800px) {
    .home-hero,
    .home-hero__inner {
        min-height: 285px;
    }

    .home-hero__city-logo {
        min-width: 155px;
        min-height: 54px;
        padding: 7px 11px;
    }

    .home-hero__city-logo img {
        width: 137px;
    }

    .home-gallery-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .home-info-grid {
        grid-template-columns: 1fr;
    }

    .home-panel--reservations {
        grid-column: auto;
    }

    .home-panel--reservations .home-panel__rows {
        grid-template-columns: 1fr;
    }

    .home-panel--reservations .home-icon-row {
        border-bottom: 1px solid #e6ece9;
    }

    .home-panel--reservations .home-icon-row:last-child {
        border-bottom: 0;
    }
}


@media (max-width: 560px) {
    .home-hero__content {
        padding-right: 0;
    }

    .home-hero__event {
        align-items: flex-start;
        gap: 14px;
    }

    .home-hero-date {
        width: 69px;
        min-height: 78px;
        flex-basis: 69px;
        border-radius: 14px;
    }

    .home-hero-date__day {
        font-size: 28px;
    }

    .home-hero-date__month {
        margin-top: 5px;
        font-size: 10px;
    }

    .home-hero-date__year {
        margin-top: 6px;
        font-size: 9px;
    }

    .home-news__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .home-news__heading > a {
        margin-bottom: 0;
    }
}

@media (max-width: 560px) {
    .home-hero__inner {
        align-items: flex-start;
        padding-top: 38px;
        padding-bottom: 92px;
    }

    .home-hero__city-logo {
        right: 0;
        bottom: 17px;
    }

    .home-news-card__body p {
        min-height: 0;
    }

    .home-panel {
        padding: 15px;
    }

    .home-icon-row {
        grid-template-columns: 62px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .home-date-badge {
        width: 56px;
        min-height: 56px;
        border-radius: 12px;
    }

    .home-date-badge__day {
        font-size: 22px;
    }

    .home-date-badge__month {
        font-size: 8px;
    }

    .home-icon-row__status {
        display: none;
    }
}


.home-gallery-panel {
    padding-top: 20px;
}

.home-panel--events .home-icon-row__content small:empty,
.home-panel--minutes .home-icon-row__content small:empty,
.home-panel--reservations .home-icon-row__content small:empty {
    display: none;
}
