/**
 * Photo Panels — live (1440px): the full-width panel is ~700px tall with the
 * box (600px, rgba(10,10,10,.77), 20px padding) in the right half; the
 * third/two-thirds pair is ~660px tall with the box in the two-thirds photo.
 * Titles Helvetica-like 30px white (live's Calisto fell back to a sans here);
 * text 13px white. The orange button sits under the box, right-aligned.
 * The photos have a 10px white gap between them, as live.
 */
.photopanels { background: #ffffff; }

.photopanels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.photopanels-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 660px;
    overflow: hidden;
    isolation: isolate;
}

.photopanels-panel--full { grid-column: 1 / -1; min-height: 700px; }
.photopanels-panel--twothirds { grid-column: span 2; }

.photopanels-image {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photopanels-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 36px;
    width: min(600px, 90%);
    margin-right: max(5%, calc((100% - 1080px) / 2));
}

.photopanels-panel--full .photopanels-content { width: min(600px, 45%); }
.photopanels-panel--twothirds .photopanels-content { margin-right: 10%; width: min(600px, 75%); }

.photopanels-box {
    width: 100%;
    padding: 20px 20px 4px;
    background: rgba(10, 10, 10, 0.77);
    color: #ffffff;
}

.photopanels-title {
    margin: 0 0 18px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.3;
    color: #ffffff;
}

.photopanels-text {
    margin: 0 0 18px;
    font-family: var(--font-paragraph, "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif);
    font-size: 13px;
    line-height: 1.7;
}

.photopanels-content .mh-btn { margin-right: 20px; }

@media (max-width: 980px) {
    .photopanels-panel--full .photopanels-content { width: min(600px, 80%); }
}

@media (max-width: 767px) {
    .photopanels-grid { grid-template-columns: 1fr; }
    .photopanels-panel,
    .photopanels-panel--full,
    .photopanels-panel--twothirds { grid-column: auto; min-height: 420px; justify-content: center; }
    .photopanels-panel--third { min-height: 300px; }
    .photopanels-content,
    .photopanels-panel--full .photopanels-content,
    .photopanels-panel--twothirds .photopanels-content { width: 90%; margin: 0; align-items: center; }
    .photopanels-title { font-size: 24px; }
    .photopanels-content .mh-btn { margin-right: 0; }
}
