.yg-media-page {
    --yg-green: #03482b;
    --yg-gold: #e2a515;
    --yg-cream: #f7f5ee;
    --yg-text: #607069;
    --yg-line: #dce6e0;
    overflow-x: clip;
    color: var(--yg-green);
    background: #fff;
}

.yg-media-page,
.yg-media-page * { box-sizing: border-box; }
.yg-media-page a { text-decoration: none; }
.yg-media-page img { display: block; max-width: 100%; }

.yg-media-breadcrumb .container,
.yg-media-content .container {
    width: min(100% - 40px, 1160px);
    max-width: 1160px;
}

.yg-media-content {
    min-height: 440px;
    padding: 82px 0 104px;
    background: var(--yg-cream);
}

.yg-media-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.yg-media-photo {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8ede9;
    border: 1px solid var(--yg-line);
    border-radius: 18px;
}

.yg-media-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.yg-media-photo:only-child {
    width: min(100%, 380px);
    grid-column: 1 / -1;
    justify-self: center;
}

.yg-media-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.yg-media-video {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--yg-line);
    border-radius: 18px;
}

.yg-media-video:only-child {
    width: min(100%, 760px);
    grid-column: 1 / -1;
    justify-self: center;
}

.yg-media-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--yg-green);
}

.yg-media-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.yg-media-empty {
    display: flex;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 48px 24px;
    background: #fff;
    border: 1px solid var(--yg-line);
    border-radius: 20px;
    text-align: center;
}

.yg-media-empty h2 {
    margin: 0;
    color: var(--yg-green);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.yg-media-empty p {
    margin: 13px 0 0;
    color: var(--yg-text);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .yg-media-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .yg-media-breadcrumb .container,
    .yg-media-content .container {
        width: 100%;
        max-width: none;
        padding-right: 16px;
        padding-left: 16px;
    }

    .yg-media-content { min-height: 360px; padding: 52px 0 72px; }
    .yg-media-photo-grid,
    .yg-media-video-grid { grid-template-columns: 1fr; gap: 16px; }
    .yg-media-photo,
    .yg-media-video { border-radius: 16px; }
    .yg-media-empty { min-height: 220px; padding: 38px 20px; border-radius: 17px; }
}
