.nayttely-single {
    padding: 50px 25px;
}

.nayttely-container {
    width: 100%;
    margin: 0 auto;
}

.nayttely-header {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 25px;
}

.nayttely-date {
    margin: 0 0 0.35rem;
    color: #831214;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.2;
    font-family: "Times New Roman", serif;
}

.nayttely-artists {
    display: inline-block;
    margin-top: 2.2rem;
    padding-bottom: 0.65rem;
    padding-top: 0.65rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    color: #020506;
    font-size: 1.1875rem;
    line-height: 1.15;
    letter-spacing: -0.47%;
    font-weight: 400;
}

.nayttely-gallery {
    max-width: 100%;
    margin: 0 auto;
}

.nayttely-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}

.nayttely-lightbox-link {
    display: block;
    overflow: hidden;
    background: #e8e8e8;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.nayttely-lightbox-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nayttely-lightbox-link:hover img {
    transform: scale(1.025);
    opacity: 0.92;
}

/* Lightbox */

.nayttely-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.88);
}

.nayttely-lightbox.is-open {
    display: flex;
}

.nayttely-lightbox-inner {
    max-width: min(1200px, 90vw);
    max-height: 86vh;
}

.nayttely-lightbox-inner img {
    display: block;
    max-width: 100%;
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.nayttely-lightbox-close,
.nayttely-lightbox-prev,
.nayttely-lightbox-next {
    position: fixed;
    z-index: 1000000;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.nayttely-lightbox-close {
    top: 24px;
    right: 28px;
    font-size: 44px;
}

.nayttely-lightbox-prev,
.nayttely-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    padding: 1rem;
    font-size: 72px;
}

.nayttely-lightbox-prev {
    left: 24px;
}

.nayttely-lightbox-next {
    right: 24px;
}

.nayttely-lightbox-close:hover,
.nayttely-lightbox-prev:hover,
.nayttely-lightbox-next:hover {
    opacity: 0.75;
}

body.nayttely-lightbox-open {
    overflow: hidden;
}

.nayttelyt-listing-page {
    padding: 50px 25px;
    margin: 0 auto;
}

.nayttelyt-listing-title {
    width: 100%;
    text-align: center;
}

.nayttelyt-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0 auto;
}

.nayttelyt-listing-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #333333;
    color: #fafafa;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.nayttelyt-listing-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(4px) brightness(58%);
    transform: scale(1.04);
    transition: filter 180ms ease, transform 180ms ease;
}

.nayttelyt-listing-card:hover img {
    filter: grayscale(80%) blur(2px) brightness(68%);
    transform: scale(1.08);
}

.nayttelyt-listing-card-title {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
    color: #fff;
    font-size: clamp(1rem, 1.1875rem, 1.4375rem);
    letter-spacing: clamp(0%, -0.47%, -0.91%);
    line-height: 1.15;
    font-weight: 600;
    font-family: "Times New Roman", serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.nayttelyt-listing-empty {
    text-align: center;
}

@media (max-width: 921px) {
    .nayttelyt-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
}

@media (max-width: 544px) {
    .nayttelyt-listing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 921px) {
    .nayttely-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 544px) {
    .nayttely-single {
        padding: 2.5rem 1rem 3rem;
    }

    .nayttely-header {
        margin-bottom: 2.5rem;
    }

    .nayttely-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .nayttely-lightbox {
        padding: 1rem;
    }

    .nayttely-lightbox-prev,
    .nayttely-lightbox-next {
        font-size: 48px;
    }

    .nayttely-lightbox-prev {
        left: 6px;
    }

    .nayttely-lightbox-next {
        right: 6px;
    }
}

.nayttelyt-latest-section {
    padding: 0;
    margin: 0;
}

.nayttelyt-latest-title {
    margin: 0 0 2.5rem;
    text-align: center;
    color: #fafafa;
    font-size: clamp(1rem, 1.1875rem, 1.4375rem);
    letter-spacing: clamp(0%, -0.47%, -0.91%);
    line-height: 1.15;
    font-weight: 600;
    font-family: "Times New Roman", serif;
}

.nayttelyt-latest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
    margin: 0;
}

@media (max-width: 921px) {
    .nayttelyt-latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 544px) {
    .nayttelyt-latest-grid {
        grid-template-columns: 1fr;
    }
}

.nayttelyt-featured-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.nayttelyt-featured-grid {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
}

.nayttelyt-featured-card {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 300px;
    max-height: 300px;
    color: #fafafa;
    text-decoration: none;
    background: #333333;
}

.nayttelyt-featured-card img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(55%);
    transform: scale(1.02);
    transition: transform 200ms ease, filter 200ms ease;
}

.nayttelyt-featured-card:hover img {
    transform: scale(1.06);
    filter: grayscale(100%) brightness(65%);
}

.nayttelyt-featured-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    height: 300px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.nayttelyt-featured-date {
    color: #fafafa;
    font-size: clamp(1rem, 1.125rem, 1.3125rem);
    line-height: 1.2;
    font-family: "Times New Roman", serif;
}

.nayttelyt-featured-name {
    color: #fafafa;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    font-weight: 700;
    font-family: "Times New Roman", serif;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.nayttelyt-featured-artists {
    color: #fafafa;
    font-size: clamp(1rem, 1.125rem, 1.3125rem);
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

@media (max-width: 640px) {
    .nayttelyt-featured-card,
    .nayttelyt-featured-overlay {
        height: 260px;
        max-height: 260px;
    }

    .nayttelyt-featured-overlay {
        padding: 1.5rem 1rem;
    }
}

.nayttelyt-listing-section {
    margin-top: 25px;
}

.nayttelyt-listing-section:first-of-type {
    margin-top: 0;
}

.nayttelyt-listing-section-title {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
}

.nayttelyt-current-section {
    margin-bottom: 50px;
}