.ulus-photo-gallery-page,
.ulus-photo-gallery-detail {
    background: #f6f1e8;
    color: #38332f
}

.ulus-photo-gallery-page {
    padding: 34px 0 42px
}

.ulus-photo-gallery-detail {
    padding: 26px 0 38px
}

.ulus-photo-gallery-page-head {
    max-width: 1040px;
    margin: 0 auto 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d8cfc2
}

.ulus-photo-gallery-page-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    color: #98171d
}

.ulus-photo-gallery-page-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-top: 7px
}

.ulus-photo-gallery-page-title-row h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1.05
}

.ulus-photo-gallery-page-title-row p {
    max-width: 680px;
    margin: 9px 0 0;
    font-size: 14px;
    line-height: 1.65;
    color: #6f665e
}

.ulus-photo-gallery-page-stat {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    padding-left: 18px;
    border-left: 2px solid rgba(152, 23, 29, .22)
}

.ulus-photo-gallery-page-stat strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1;
    color: #98171d
}

.ulus-photo-gallery-page-stat span {
    max-width: 95px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .08em;
    color: #766d64
}

.ulus-photo-gallery-featured-index {
    max-width: 1040px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .9fr);
    background: #fff;
    border: 1px solid #e3dbcf;
    border-radius: 7px;
    overflow: hidden
}

.ulus-photo-gallery-featured-index-media {
    position: relative;
    display: block;
    min-height: 360px;
    background: #e9e1d6;
    overflow: hidden
}

.ulus-photo-gallery-featured-index-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease
}

.ulus-photo-gallery-featured-index:hover .ulus-photo-gallery-featured-index-media img {
    transform: scale(1.015)
}

.ulus-photo-gallery-featured-index-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .2))
}

.ulus-photo-gallery-featured-index-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 8px;
    border-radius: 7px;
    background: rgba(56, 51, 47, .9);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em
}

.ulus-photo-gallery-featured-index-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px
}

.ulus-photo-gallery-source,
.ulus-photo-gallery-card-copy small {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    color: #98171d
}

.ulus-photo-gallery-featured-index-copy h2 {
    margin: 8px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.18
}

.ulus-photo-gallery-featured-index-copy h2 a,
.ulus-photo-gallery-card-copy a {
    color: inherit;
    text-decoration: none
}

.ulus-photo-gallery-featured-index-copy p {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.7;
    color: #6f665e
}

.ulus-photo-gallery-featured-index-meta,
.ulus-photo-gallery-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: auto
}

.ulus-photo-gallery-featured-index-meta time,
.ulus-photo-gallery-card-meta time {
    font-size: 10px;
    color: #81776e
}

.ulus-photo-gallery-featured-index-meta a {
    font-size: 11px;
    font-weight: 800;
    color: #98171d;
    text-decoration: none
}

.ulus-photo-gallery-list-section {
    max-width: 1040px;
    margin: 0 auto
}

.ulus-photo-gallery-section-head,
.ulus-photo-gallery-related-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 14px
}

.ulus-photo-gallery-section-head {
    padding-bottom: 10px;
    border-bottom: 1px solid #d8cfc2
}

.ulus-photo-gallery-section-head h2,
.ulus-photo-gallery-related-head h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.1
}

.ulus-photo-gallery-section-head span {
    font-size: 10px;
    color: #81776e
}

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

.ulus-photo-gallery-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3dbcf;
    border-radius: 7px;
    transition: transform .18s ease, border-color .18s ease
}

.ulus-photo-gallery-card:hover {
    transform: translateY(-2px);
    border-color: #cfc2b3
}

.ulus-photo-gallery-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    background: #e9e1d6;
    overflow: hidden
}

.ulus-photo-gallery-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease
}

.ulus-photo-gallery-card:hover .ulus-photo-gallery-card-media img {
    transform: scale(1.018)
}

.ulus-photo-gallery-card-media>span {
    position: absolute;
    right: 9px;
    bottom: 9px;
    padding: 5px 7px;
    background: rgba(56, 51, 47, .9);
    color: #fff;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em
}

.ulus-photo-gallery-card-copy {
    padding: 14px 14px 13px
}

.ulus-photo-gallery-card-copy h2,
.ulus-photo-gallery-card-copy h3 {
    margin: 6px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.28
}

.ulus-photo-gallery-card-meta a {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid #e0d6ca;
    border-radius: 50%;
    color: #98171d;
    text-decoration: none;
    font-weight: 800
}

.ulus-photo-gallery-pagination {
    max-width: 1040px;
    margin: 24px auto 0
}

.ulus-photo-gallery-empty {
    max-width: 1040px;
    margin: 0 auto;
    padding: 34px;
    background: #fff;
    border: 1px solid #e3dbcf;
    border-radius: 7px;
    text-align: center
}

.ulus-photo-gallery-empty strong,
.ulus-photo-gallery-empty span {
    display: block
}

.ulus-photo-gallery-empty span {
    margin-top: 5px;
    font-size: 12px;
    color: #81776e
}

.ulus-photo-gallery-page-end,
.ulus-photo-gallery-detail-end {
    max-width: 1040px;
    margin: 30px auto 0;
    padding-top: 13px;
    border-top: 1px solid #d8cfc2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #81776e
}

.ulus-photo-gallery-page-end span,
.ulus-photo-gallery-detail-end>span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #98171d
}

.ulus-photo-gallery-page-end small {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase
}

.ulus-photo-gallery-breadcrumb {
    display: flex;
    gap: 7px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto 15px;
    font-size: 10px;
    color: #81776e;
    white-space: nowrap;
    overflow: hidden
}

.ulus-photo-gallery-breadcrumb a {
    color: #38332f;
    text-decoration: none;
    font-weight: 700
}

.ulus-photo-gallery-breadcrumb a:hover {
    color: #98171d
}

.ulus-photo-gallery-detail-head {
    max-width: 1040px;
    margin: 0 auto 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d8cfc2
}

.ulus-photo-gallery-detail-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    color: #98171d
}

.ulus-photo-gallery-detail-meta time {
    color: #81776e;
    font-weight: 600;
    letter-spacing: 0
}

.ulus-photo-gallery-detail-dot {
    color: #c8bdb1
}

.ulus-photo-gallery-detail-head h1 {
    max-width: 900px;
    margin: 7px 0 9px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    line-height: 1.1
}

.ulus-photo-gallery-detail-head p {
    max-width: 820px;
    margin: 0;
    font-size: 14px;
    line-height: 1.72;
    color: #6f665e
}

.ulus-photo-gallery-layout {
    max-width: 1040px;
    margin: 0 auto
}

.ulus-photo-gallery-hero,
.ulus-photo-gallery-mosaic-item {
    margin: 0;
    background: #fff;
    border: 1px solid #e3dbcf;
    border-radius: 7px;
    overflow: hidden
}

.ulus-photo-gallery-open {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #e9e1d6;
    cursor: zoom-in;
    overflow: hidden
}

.ulus-photo-gallery-hero .ulus-photo-gallery-open {
    aspect-ratio: 16/9
}

.ulus-photo-gallery-mosaic-item .ulus-photo-gallery-open {
    aspect-ratio: 16/10
}

.ulus-photo-gallery-open img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease
}

.ulus-photo-gallery-open:hover img {
    transform: scale(1.012)
}

.ulus-photo-gallery-index {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 7px;
    border-radius: 7px;
    background: rgba(24, 22, 20, .86);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em
}

.ulus-photo-gallery-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #98171d;
    color: #fff;
    font-size: 17px;
    line-height: 1
}

.ulus-photo-gallery-hero figcaption,
.ulus-photo-gallery-mosaic-item figcaption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.5
}

.ulus-photo-gallery-hero figcaption small,
.ulus-photo-gallery-mosaic-item figcaption small {
    white-space: nowrap;
    color: #81776e
}

.ulus-photo-gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px
}

.ulus-photo-gallery-related {
    max-width: 1040px;
    margin: 34px auto 0;
    padding-top: 20px;
    border-top: 1px solid #d8cfc2
}

.ulus-photo-gallery-related-head>div>span {
    display: block;
    margin-bottom: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    color: #98171d
}

.ulus-photo-gallery-related-head>a {
    font-size: 10px;
    font-weight: 800;
    color: #98171d;
    text-decoration: none
}

.ulus-photo-gallery-detail-end a {
    font-size: 10px;
    font-weight: 800;
    color: #38332f;
    text-decoration: none
}

.ulus-photo-gallery-detail-end a:hover {
    color: #98171d
}

.ulus-photo-gallery-lightbox[hidden] {
    display: none
}

.ulus-photo-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(13, 12, 11, .96)
}

.ulus-photo-gallery-lightbox-stage {
    width: min(1180px, 86vw);
    height: min(82vh, 820px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.ulus-photo-gallery-lightbox-stage img {
    max-width: 100%;
    max-height: calc(100% - 54px);
    object-fit: contain
}

.ulus-photo-gallery-lightbox-caption {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 18px;
    padding-top: 10px;
    color: #fff;
    font-size: 11px
}

.ulus-photo-gallery-lightbox-caption small {
    color: #c9c2bb
}

.ulus-photo-gallery-lightbox-caption strong {
    grid-row: 1/3;
    grid-column: 2;
    align-self: center;
    font-size: 10px;
    letter-spacing: .08em
}

.ulus-photo-gallery-lightbox-close,
.ulus-photo-gallery-lightbox-nav {
    position: absolute;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    cursor: pointer
}

.ulus-photo-gallery-lightbox-close {
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 24px
}

.ulus-photo-gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 64px;
    border-radius: 7px;
    font-size: 30px
}

.ulus-photo-gallery-lightbox-prev {
    left: 18px
}

.ulus-photo-gallery-lightbox-next {
    right: 18px
}

.ulus-editorial-gallery-featured-media img,
.ulus-editorial-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ulus-editorial-gallery-count {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 7px;
    border-radius: 7px;
    background: rgba(56, 51, 47, .88);
    color: #fff;
    font-size: 10px;
    font-weight: 800
}

@media(max-width:900px) {
    .ulus-photo-gallery-featured-index {
        grid-template-columns: 1fr
    }

    .ulus-photo-gallery-featured-index-media {
        min-height: 300px
    }

    .ulus-photo-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ulus-photo-gallery-page-stat {
        display: none
    }
}

@media(max-width:620px) {
    .ulus-photo-gallery-page {
        padding: 26px 0 32px
    }

    .ulus-photo-gallery-detail {
        padding: 20px 0 30px
    }

    .ulus-photo-gallery-page-title-row h1,
    .ulus-photo-gallery-detail-head h1 {
        font-size: 29px
    }

    .ulus-photo-gallery-featured-index-media {
        min-height: 230px
    }

    .ulus-photo-gallery-featured-index-copy {
        padding: 20px
    }

    .ulus-photo-gallery-featured-index-copy h2 {
        font-size: 23px
    }

    .ulus-photo-gallery-grid,
    .ulus-photo-gallery-mosaic {
        grid-template-columns: 1fr
    }

    .ulus-photo-gallery-hero .ulus-photo-gallery-open,
    .ulus-photo-gallery-mosaic-item .ulus-photo-gallery-open {
        aspect-ratio: 4/3
    }

    .ulus-photo-gallery-hero figcaption,
    .ulus-photo-gallery-mosaic-item figcaption {
        display: block
    }

    .ulus-photo-gallery-hero figcaption small,
    .ulus-photo-gallery-mosaic-item figcaption small {
        display: block;
        margin-top: 4px
    }

    .ulus-photo-gallery-related-head {
        align-items: center
    }

    .ulus-photo-gallery-page-end,
    .ulus-photo-gallery-detail-end {
        margin-top: 22px
    }

    .ulus-photo-gallery-lightbox {
        padding: 14px
    }

    .ulus-photo-gallery-lightbox-stage {
        width: 100%;
        height: 86vh
    }

    .ulus-photo-gallery-lightbox-nav {
        top: auto;
        bottom: 18px;
        width: 40px;
        height: 40px;
        border-radius: 50%
    }

    .ulus-photo-gallery-lightbox-prev {
        left: 18px
    }

    .ulus-photo-gallery-lightbox-next {
        right: 18px
    }

    .ulus-photo-gallery-lightbox-caption {
        padding-bottom: 56px
    }
}