/**
 * Camping v3 detail page styles
 * Component-scoped CSS with design tokens
 * No global CSS modifications
 */

/* Object wrapper */
.object-v2.object-v3 {
    margin: 0 auto;
}

/* Hero block */
.object-hero-v2.object-hero-v3 {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    padding: 32px;
    margin-bottom: 20px;
}

.object-hero-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.breadcrumb-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted, #687381);
}

.breadcrumb-line a {
    color: var(--blue, #0066cc);
    text-decoration: none;
}

.breadcrumb-line a:hover {
    text-decoration: underline;
}

.breadcrumb-line span::before {
    content: '›';
    margin-right: 8px;
    color: var(--muted, #687381);
}

.object-title-row h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 700;
    color: var(--ink, #101921);
}

.object-title-row p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted, #687381);
}

.object-labels {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.object-labels span {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.type-badge {
    background: #e3f2fd;
    color: #1976d2;
}

.status-open {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-closed {
    background: #ffebee;
    color: #c62828;
}

.status-temp-closed {
    background: #fff3e0;
    color: #ef6c00;
}

.price-badge {
    background: #f3e5f5;
    color: #7b1fa2;
}

.object-address-line {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--muted, #687381);
}

.object-address-line a {
    color: var(--blue, #0066cc);
    text-decoration: none;
}

.object-address-line a:hover {
    text-decoration: underline;
}

.object-address-coordinates {
    display: inline-flex;
    align-items: center;
}

.object-copy-coordinates {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted, #687381);
    font: inherit;
    cursor: pointer;
}

.object-copy-coordinates:hover,
.object-copy-coordinates:focus-visible,
.object-copy-coordinates.is-copied {
    color: var(--blue, #0066cc);
}

.object-copy-coordinates:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 4px;
}

.object-copy-coordinates__icon {
    flex: 0 0 auto;
}

.object-hero-aside-v3 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 200px;
}

.registry-mini-v3 {
    padding: 16px;
    background: #f5f7fa;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.registry-mini-v3 > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.registry-mini-v3 span {
    font-size: 12px;
    color: var(--muted, #687381);
}

.registry-mini-v3 strong {
    font-size: 16px;
    color: var(--ink, #101921);
}

.registry-mini-v3 a.registry-verify-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--blue, #0066cc);
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.registry-mini-v3 a.registry-verify-link:hover {
    background: rgba(0, 102, 204, 0.1);
}

.object-score-card {
    padding: 16px;
    background: #f5f7fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.object-score-card .score-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.object-score-card .score-main strong {
    font-size: 32px;
    font-weight: 700;
    color: var(--ink, #101921);
}

.object-score-card.hero-score-v4 .score-main strong {
    color: #fff;
}

.object-score-card .rating-stars-inline {
    display: flex;
    align-items: center;
    gap: 2px;
}

.object-score-card .star-svg {
    display: block;
}

.object-score-card .score-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.object-score-card .score-meta span {
    font-size: 13px;
    color: var(--muted, #687381);
}

/* Gallery */
.photo-gallery-v2.photo-gallery-v3 {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    grid-auto-rows: 178px;
    gap: 10px;
    padding: 10px;
    border-radius: 34px;
    overflow: hidden;
    align-items: stretch;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(23, 32, 42, 0.08);
    box-shadow: var(--shadow);
}

.gallery-lead {
    grid-row: span 2;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 360px;
    padding: 20px;
    background-size: cover;
    background-position: center;
    border-radius: 26px;
    color: #fff;
    overflow: hidden;
}

.photo-gallery-v2.photo-gallery-v3 .photo-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.52));
    pointer-events: none;
}

.photo-gallery-v2.photo-gallery-v3 .photo-bg > * {
    position: relative;
    z-index: 1;
}

.gallery-lead .photo-count {
    padding: 9px 13px;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    border-radius: 999px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.gallery-lead .gallery-open {
    width: auto !important;
}

.gallery-tile {
    display: flex;
    align-items: flex-end;
    min-height: 168px;
    padding: 16px;
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 23px;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    overflow: hidden;
    position: relative;
    text-align: left;
}

.gallery-tile.active {
    outline: 3px solid var(--blue, #0066cc);
}

.gallery-tile span {
    color: #fff;
}

.gallery-tile.all-photos {
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gallery-tile.all-photos b {
    font-size: 24px;
    color: var(--ink, #101921);
}

.gallery-tile.all-photos span {
    color: var(--muted, #687381);
    padding: 0;
}

/* Detail grid */
.detail-grid-v2.detail-grid-v3 {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px;
    align-items: start;
}

.detail-main-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Quick specs */
.quick-specs-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.spec-card {
    padding: 16px;
    background: #f5f7fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-card span {
    font-size: 13px;
    color: var(--muted, #687381);
}

.spec-card strong {
    font-size: 16px;
    color: var(--ink, #101921);
}

/* Content sections */
.content-card-v2 {
    padding: 32px;
    margin-bottom: 20px;
}

.section-head-v2 {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.section-head-v2 > span {
    font-size: 48px;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
}

.section-head-v2 h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--ink, #101921);
}

.section-head-v2 p {
    margin: 0;
    font-size: 14px;
    color: var(--muted, #687381);
}

/* Overview */
.overview-split {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.overview-split p {
    margin: 0 0 16px 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink, #101921);
}

.readmore-extra {
    margin-top: 16px;
}

.readmore-btn {
    margin-top: 16px;
}

/* Location */
.location-layout-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.map-card-v2 {
    padding: 24px;
    background: #f5f7fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-card-v2 .map-pin {
    font-size: 32px;
    color: var(--blue, #0066cc);
}

.map-card-v2 strong {
    font-size: 18px;
    color: var(--ink, #101921);
}

.map-card-v2 span {
    font-size: 14px;
    color: var(--muted, #687381);
}

.info-grid-v2 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-grid-v2 > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-grid-v2 small {
    font-size: 13px;
    color: var(--muted, #687381);
}

.info-grid-v2 strong {
    font-size: 16px;
    color: var(--ink, #101921);
}

/* Contacts */
.contact-action-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.contact-action-grid-v2 a {
    padding: 16px;
    background: #f5f7fa;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.2s ease;
}

.contact-action-grid-v2 a:hover {
    background: #e8edf3;
}

.contact-action-grid-v2 b {
    font-size: 13px;
    color: var(--muted, #687381);
}

.contact-action-grid-v2 span {
    font-size: 16px;
    color: var(--ink, #101921);
}

.icon-links-wrap-v4 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.icon-links-group-v4 strong {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--ink, #101921);
}

.icon-links-row-v4 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.icon-chip-v4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f5f7fa;
    color: var(--ink, #101921);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.icon-chip-v4:hover {
    background: #e8edf3;
    transform: translateY(-2px);
}

.icon-chip-v4.wa { background: #25d366; color: #fff; }
.icon-chip-v4.tg { background: #0088cc; color: #fff; }
.icon-chip-v4.vk { background: #0077ff; color: #fff; }
.icon-chip-v4.ok { background: #ee8208; color: #fff; }
.icon-chip-v4.ig { background: #e4405f; color: #fff; }

/* Conditions */
.condition-row-v2 {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line, #e0e7ef);
}

.condition-row-v2:last-of-type {
    border-bottom: none;
}

.condition-row-v2 span {
    font-size: 14px;
    color: var(--muted, #687381);
}

.condition-row-v2 strong {
    font-size: 16px;
    color: var(--ink, #101921);
}

.status-strip-v2 {
    padding: 16px;
    background: #e8f5e9;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: #2e7d32;
}

/* Amenities */
.amenity-groups-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.amenity-groups-v2 > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amenity-groups-v2 h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink, #101921);
}

.amenity-groups-v2 span {
    padding: 8px 12px;
    background: #f5f7fa;
    border-radius: 8px;
    font-size: 14px;
    color: var(--ink, #101921);
}

/* Reviews */
.proof-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.proof-grid-v2 > div {
    padding: 16px;
    background: #f5f7fa;
    border-radius: 12px;
    text-align: center;
}

.proof-grid-v2 strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--ink, #101921);
}

.proof-grid-v2 span {
    font-size: 13px;
    color: var(--muted, #687381);
}

.review-cta-v3 {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background: #f5f7fa;
    border-radius: 12px;
}

.review-cta-v3 strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--ink, #101921);
}

.review-cta-v3 span {
    font-size: 14px;
    color: var(--muted, #687381);
}

/* Sidebar */
.detail-side-v2 {
    position: sticky;
    top: 20px;
}

.side-card-v2 {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted, #687381);
}

.side-card-v2 h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--ink, #101921);
}

.side-price-v2 {
    padding: 16px;
    background: #f5f7fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.side-price-v2 span {
    font-size: 13px;
    color: var(--muted, #687381);
}

.side-price-v2 strong {
    font-size: 20px;
    color: var(--ink, #101921);
}

.booking-form-v3 {
    padding: 20px;
    background: #f5f7fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-form-v3 strong {
    font-size: 16px;
    color: var(--ink, #101921);
}

.booking-form-v3 small {
    font-size: 12px;
    color: var(--muted, #687381);
}

.booking-form-v3 label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-form-v3 label span {
    font-size: 13px;
    color: var(--muted, #687381);
}

.booking-form-v3 input,
.booking-form-v3 select {
    padding: 10px 12px;
    border: 1px solid var(--line, #e0e7ef);
    border-radius: 8px;
    font-size: 14px;
}

.booking-form-v3 input:disabled,
.booking-form-v3 select:disabled {
    background: #e8edf3;
    cursor: not-allowed;
}

/* Back link */
.detail-backbar {
    margin-top: 32px;
    padding: 20px 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f5f7fa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink, #101921);
    font-size: 14px;
    transition: background 0.2s ease;
}

.back-link:hover {
    background: #e8edf3;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn.blue {
    background: var(--blue, #0066cc);
    color: #fff;
}

.btn.blue:hover {
    background: #0052a3;
}

.btn.green {
    background: #2e7d32;
    color: #fff;
}

.btn.green:hover {
    background: #1b5e20;
}

.btn.light {
    background: #f5f7fa;
    color: var(--ink, #101921);
}

.btn.light:hover {
    background: #e8edf3;
}

.btn.ghost {
    background: transparent;
    color: var(--ink, #101921);
    border: 1px solid var(--line, #e0e7ef);
}

.btn.ghost:hover {
    background: #f5f7fa;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1024px) {
    .detail-grid-v2.detail-grid-v3 {
        grid-template-columns: 1fr;
    }
    
    .detail-side-v2 {
        position: static;
    }
}

@media (max-width: 768px) {
    .object-hero-v2.object-hero-v3 {
        grid-template-columns: 1fr;
    }
    
    .photo-gallery-v2.photo-gallery-v3 {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 100px;
        gap: 8px;
        padding: 8px;
        border-radius: 20px;
    }
    
    .gallery-lead {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    
    .location-layout-v2 {
        grid-template-columns: 1fr;
    }
    
    .contact-action-grid-v2 {
        grid-template-columns: 1fr;
    }
    
    .review-cta-v3 {
        grid-template-columns: 1fr;
    }
}

/* Modal gallery */
.object-v2.object-v3 .modal-gallery[hidden] {
    display: none;
}

.object-v2.object-v3 .modal-gallery:not([hidden]) {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1200;
    display: grid;
    grid-template-columns: minmax(56px, 96px) minmax(0, 1fr) minmax(56px, 96px);
    grid-template-rows: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(6, 10, 16, 0.92);
    color: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.object-v2.object-v3 .modal-gallery__figure {
    grid-column: 2;
    grid-row: 2 / 4;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: center;
    gap: 14px;
    width: 100%;
    height: calc(100vh - 144px);
    height: calc(100dvh - 144px);
    margin: 0;
    min-width: 0;
}

.object-v2.object-v3 .modal-gallery__image {
    display: block;
    max-width: calc(100vw - 240px);
    max-height: calc(100vh - 210px);
    max-height: calc(100dvh - 210px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.35);
}

.object-v2.object-v3 .modal-gallery__caption {
    max-width: min(760px, 100%);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.46);
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    backdrop-filter: blur(8px);
}

.object-v2.object-v3 .modal-gallery__caption[hidden] {
    display: none;
}

.object-v2.object-v3 .modal-gallery__close,
.object-v2.object-v3 .modal-gallery__nav,
.object-v2.object-v3 .modal-gallery__play {
    min-width: 48px;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.object-v2.object-v3 .modal-gallery__close:hover,
.object-v2.object-v3 .modal-gallery__nav:hover,
.object-v2.object-v3 .modal-gallery__play:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.36);
    transform: translateY(-1px);
}

.object-v2.object-v3 .modal-gallery__close:focus-visible,
.object-v2.object-v3 .modal-gallery__nav:focus-visible,
.object-v2.object-v3 .modal-gallery__play:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
}

.object-v2.object-v3 .modal-gallery__close {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    padding: 0 20px;
}

.object-v2.object-v3 .modal-gallery__nav {
    grid-row: 2;
    width: 58px;
    height: 58px;
    padding: 0;
    font-size: 0;
}

.object-v2.object-v3 .modal-gallery__nav::before {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.object-v2.object-v3 .modal-gallery__nav--prev {
    grid-column: 1;
    justify-self: start;
}

.object-v2.object-v3 .modal-gallery__nav--prev::before {
    content: '‹';
}

.object-v2.object-v3 .modal-gallery__nav--next {
    grid-column: 3;
    justify-self: end;
}

.object-v2.object-v3 .modal-gallery__nav--next::before {
    content: '›';
}

.object-v2.object-v3 .modal-gallery__nav:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
}

.object-v2.object-v3 .modal-gallery__counter {
    grid-column: 1 / 3;
    grid-row: 1;
    justify-self: start;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.object-v2.object-v3 .modal-gallery__play {
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
    padding: 0 18px;
}

.object-v2.object-v3 .modal-gallery__play:disabled {
    display: none;
}

@media (max-width: 768px) {
    .object-v2.object-v3 .modal-gallery:not([hidden]) {
        grid-template-columns: 56px minmax(0, 1fr) 56px;
        grid-template-rows: 60px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 14px;
    }

    .object-v2.object-v3 .modal-gallery__figure {
        grid-column: 1 / 4;
        grid-row: 2;
        height: calc(100vh - 132px);
        height: calc(100dvh - 132px);
        gap: 10px;
    }

    .object-v2.object-v3 .modal-gallery__image {
        max-width: calc(100vw - 28px);
        max-height: calc(100vh - 192px);
        max-height: calc(100dvh - 192px);
        border-radius: 10px;
    }

    .object-v2.object-v3 .modal-gallery__caption {
        max-height: 58px;
        overflow: auto;
        padding: 8px 12px;
        border-radius: 14px;
        font-size: 13px;
    }

    .object-v2.object-v3 .modal-gallery__close,
    .object-v2.object-v3 .modal-gallery__nav {
        min-width: 46px;
        min-height: 46px;
    }

    .object-v2.object-v3 .modal-gallery__close {
        padding: 0 14px;
        font-size: 13px;
    }

    .object-v2.object-v3 .modal-gallery__nav {
        width: 50px;
        height: 50px;
        align-self: center;
    }

    .object-v2.object-v3 .modal-gallery__counter {
        align-self: center;
        padding: 8px 11px;
        font-size: 13px;
    }
}

/* Full viewport modal gallery and explicit zoom affordance */
.photo-gallery-v2.photo-gallery-v3 .gallery-lead::after,
.photo-gallery-v2.photo-gallery-v3 .gallery-tile:not(.all-photos)::after {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background-color: rgba(16, 25, 33, .46);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    pointer-events: none;
}

.photo-gallery-v2.photo-gallery-v3 .gallery-lead:hover::after,
.photo-gallery-v2.photo-gallery-v3 .gallery-lead:focus-visible::after,
.photo-gallery-v2.photo-gallery-v3 .gallery-tile:not(.all-photos):hover::after,
.photo-gallery-v2.photo-gallery-v3 .gallery-tile:not(.all-photos):focus-visible::after {
    display: block;
}

.object-v2.object-v3 .modal-gallery:not([hidden]) {
    display: block;
    padding: 0;
}

.object-v2.object-v3 .modal-gallery__figure {
    position: absolute;
    inset: 12px 74px;
    display: flex;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.object-v2.object-v3 .modal-gallery__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 0;
    object-fit: contain;
}

.object-v2.object-v3 .modal-gallery__caption {
    position: absolute;
    right: 16px;
    bottom: 10px;
    left: 16px;
    max-width: min(900px, calc(100% - 32px));
    margin: auto;
}

.object-v2.object-v3 .modal-gallery__close,
.object-v2.object-v3 .modal-gallery__nav,
.object-v2.object-v3 .modal-gallery__counter,
.object-v2.object-v3 .modal-gallery__play {
    position: absolute;
    z-index: 5;
}

.object-v2.object-v3 .modal-gallery__close {
    top: 14px;
    right: 14px;
}

.object-v2.object-v3 .modal-gallery__counter {
    top: 14px;
    left: 14px;
}

.object-v2.object-v3 .modal-gallery__nav {
    top: 50%;
    transform: translateY(-50%);
}

.object-v2.object-v3 .modal-gallery__nav:hover {
    transform: translateY(-50%);
}

.object-v2.object-v3 .modal-gallery__nav--prev {
    left: 14px;
}

.object-v2.object-v3 .modal-gallery__nav--next {
    right: 14px;
}

.object-v2.object-v3 .modal-gallery__play {
    right: 14px;
    bottom: 14px;
}

@media (max-width: 768px) {
    .object-v2.object-v3 .modal-gallery__figure {
        inset: 58px 8px 10px;
        width: auto;
        height: auto;
    }

    .object-v2.object-v3 .modal-gallery__image {
        max-width: 100%;
        max-height: 100%;
    }

    .object-v2.object-v3 .modal-gallery__nav {
        top: auto;
        bottom: 14px;
        transform: none;
    }

    .object-v2.object-v3 .modal-gallery__nav:hover {
        transform: none;
    }

    .object-v2.object-v3 .modal-gallery__caption {
        right: 64px;
        bottom: 14px;
        left: 64px;
        max-width: none;
    }

    .object-v2.object-v3 .modal-gallery__play {
        right: 14px;
        bottom: 70px;
    }
}

/* Final full-scale images and custom magnifier cursor */
.photo-gallery-v2.photo-gallery-v3 .gallery-lead,
.photo-gallery-v2.photo-gallery-v3 .gallery-tile:not(.all-photos) {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23000' stroke-opacity='.55' stroke-width='4'/%3E%3Cpath d='m17.5 17.5 8 8' fill='none' stroke='%23000' stroke-opacity='.55' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='m17.5 17.5 8 8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 12 12, zoom-in;
}

.photo-gallery-v2.photo-gallery-v3 .gallery-lead::after,
.photo-gallery-v2.photo-gallery-v3 .gallery-tile:not(.all-photos)::after {
    display: none !important;
    content: none !important;
}

.object-v2.object-v3 .modal-gallery__figure {
    inset: 6px 68px;
}

.object-v2.object-v3 .modal-gallery__image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
    .object-v2.object-v3 .modal-gallery__figure {
        inset: 54px 4px 6px;
    }
}
