﻿        .gallery-redesign {
            background: #fbfcf8;
            color: #526257;
        }

        .gallery-hero {
            position: relative;
            min-height: 560px;
            display: flex;
            align-items: flex-end;
            overflow: hidden;
            isolation: isolate;
            background: #102016;
        }

        .gallery-hero:before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(100deg, rgba(12, 29, 20, 0.94), rgba(12, 29, 20, 0.68) 52%, rgba(12, 29, 20, 0.34)),
                url('../website/assets/images/photos/h_14.jpg') center / cover no-repeat;
            z-index: -2;
        }

        .gallery-hero:after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 155px;
            background: linear-gradient(0deg, #fbfcf8, rgba(251, 252, 248, 0));
            z-index: -1;
        }

        .gallery-hero__inner {
            width: 100%;
            padding: 132px 0 74px;
        }

        .gallery-hero__content {
            max-width: 760px;
        }

        .gallery-kicker {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            color: #006088;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            margin-bottom: 14px;
        }

        .gallery-kicker:before {
            content: "";
            width: 28px;
            height: 2px;
            background: #d9a441;
        }

        .gallery-hero .gallery-kicker {
            color: #d9a441;
            margin-bottom: 18px;
        }

        .gallery-hero .gallery-kicker:before {
            background: #ffffff;
        }

        .gallery-hero__title {
            color: #ffffff;
            font-size: 64px;
            line-height: 1.04;
            font-weight: 900;
            margin: 0;
        }

        .gallery-hero__text {
            max-width: 650px;
            color: rgba(255, 255, 255, 0.82);
            font-size: 19px;
            line-height: 32px;
            margin: 24px 0 0;
        }

        .gallery-hero__meta {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-top: 34px;
        }

        .gallery-hero__pill {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-height: 50px;
            padding: 10px 18px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: #ffffff;
            font-weight: 800;
            backdrop-filter: blur(10px);
        }

        .gallery-hero__pill i {
            color: #d9a441;
        }

        .gallery-albums {
            position: relative;
            padding: 0 0 116px;
            margin-top: -46px;
            z-index: 2;
        }

        .gallery-albums__intro {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: end;
            gap: 30px;
            padding: 42px;
            margin-bottom: 34px;
            border-radius: 8px;
            background: #ffffff;
            box-shadow: 0 24px 70px rgba(22, 52, 34, 0.11);
        }

        .gallery-albums__intro h2 {
            color: #15271d;
            font-size: 42px;
            line-height: 1.12;
            font-weight: 900;
            margin: 0;
        }

        .gallery-albums__intro p {
            max-width: 720px;
            color: #647267;
            font-size: 17px;
            line-height: 29px;
            margin: 18px 0 0;
        }

        .gallery-albums__count {
            min-width: 170px;
            padding: 20px 24px;
            border-radius: 8px;
            background: #102016;
            color: #ffffff;
            text-align: center;
        }

        .gallery-albums__count strong {
            display: block;
            color: #d9a441;
            font-size: 34px;
            line-height: 1;
            font-weight: 900;
        }

        .gallery-albums__count span {
            display: block;
            margin-top: 8px;
            font-size: 13px;
            line-height: 18px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

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

        .gallery-album-card {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            background: #ffffff;
            border: 1px solid rgba(16, 32, 22, 0.08);
            box-shadow: 0 18px 48px rgba(22, 52, 34, 0.08);
            transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
        }

        .gallery-album-card:hover {
            transform: translateY(-6px);
            border-color: rgba(0, 96, 136, 0.28);
            box-shadow: 0 24px 62px rgba(22, 52, 34, 0.14);
        }

        .gallery-album-card__image {
            position: relative;
            display: block;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: #e8efe6;
        }

        .gallery-album-card__image:after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 58%;
            background: linear-gradient(0deg, rgba(16, 32, 22, 0.78), rgba(16, 32, 22, 0));
        }

        .gallery-album-card__image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 520ms ease;
        }

        .gallery-album-card:hover .gallery-album-card__image img {
            transform: scale(1.05);
        }

        .gallery-album-card__badge {
            position: absolute;
            left: 18px;
            bottom: 18px;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 9px 13px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.92);
            color: #102016;
            font-size: 13px;
            line-height: 18px;
            font-weight: 900;
        }

        .gallery-album-card__content {
            padding: 26px 26px 24px;
        }

        .gallery-album-card__date {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #006088;
            font-size: 12px;
            line-height: 18px;
            font-weight: 900;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .gallery-album-card__title {
            color: #15271d;
            font-size: 25px;
            line-height: 1.2;
            font-weight: 900;
            margin: 0;
        }

        .gallery-album-card__title a {
            color: inherit;
        }

        .gallery-album-card__title a:hover {
            color: #006088;
        }

        .gallery-album-card__link {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-top: 22px;
            color: #102016;
            font-size: 14px;
            line-height: 20px;
            font-weight: 900;
        }

        .gallery-album-card__link i {
            width: 34px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #d9a441;
            color: #102016;
            font-size: 12px;
            transition: background 220ms ease, color 220ms ease;
        }

        .gallery-album-card__link:hover {
            color: #006088;
        }

        .gallery-album-card__link:hover i {
            background: #006088;
            color: #ffffff;
        }

        .gallery-pagination {
            margin-top: 42px;
        }

        .gallery-pagination nav {
            display: flex;
            justify-content: center;
        }

        .gallery-empty {
            padding: 76px 30px;
            border-radius: 8px;
            background: #ffffff;
            text-align: center;
            box-shadow: 0 18px 48px rgba(22, 52, 34, 0.08);
        }

        .gallery-empty i {
            width: 68px;
            height: 68px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #eef6f9;
            color: #006088;
            font-size: 24px;
            margin-bottom: 22px;
        }

        .gallery-empty h3 {
            color: #15271d;
            font-size: 30px;
            line-height: 1.2;
            font-weight: 900;
            margin-bottom: 12px;
        }

        .gallery-empty p {
            max-width: 520px;
            margin: 0 auto;
            color: #647267;
            font-size: 16px;
            line-height: 28px;
        }

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

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

            .gallery-albums__count {
                width: fit-content;
            }
        }

        @media (max-width: 767px) {
            .gallery-hero {
                min-height: 500px;
            }

            .gallery-hero__inner {
                padding: 116px 0 68px;
            }

            .gallery-hero__title {
                font-size: 42px;
            }

            .gallery-hero__text {
                font-size: 16px;
                line-height: 28px;
            }

            .gallery-albums {
                padding-bottom: 86px;
            }

            .gallery-albums__intro {
                padding: 34px 24px;
            }

            .gallery-albums__intro h2 {
                font-size: 32px;
            }

            .gallery-album-grid {
                grid-template-columns: 1fr;
            }
        }
