@font-face {
    font-family: 'Nimbus Sans L';
    src: url('../fonts/NimbusSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nimbus Sans L';
    src: url('../fonts/NimbusSans-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nimbus Sans L';
    src: url('../fonts/NimbusSans-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Nimbus Sans L';
    src: url('../fonts/NimbusSans-BoldItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    font-family: 'Nimbus Sans L', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #222;
}

/* ── Page wrapper ───────────────────────────────────────────────────────────── */

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Layout ─────────────────────────────────────────────────────────────────── */

.layout {
    display: flex;
    flex: 1;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────────── */

.sidebar {
    width: 25%;
    min-width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 36px;
}

.sidebar-content {
    width: 100%;
    /* border-top: 1px solid #aaa; */
    padding-top: 18px;
}

.sidebar-name {
    margin: 0 0 4px 0;
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sidebar-subtitle {
    margin: 0 0 20px 0;
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 0.08em;
    color: #555;
    text-transform: uppercase;
}

.sidebar-address {
    font-style: normal;
    font-size: 1rem;
    /* line-height: 1.7; */
    color: #555;
}

.sidebar-address a {
    color: #555;
    text-decoration: none;
}

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

/* ── Sidebar name link ──────────────────────────────────────────────────────── */

.sidebar-name a {
    color: inherit;
    text-decoration: none;
}

.sidebar-name a:hover {
    text-decoration: underline;
}

/* ── Content page ───────────────────────────────────────────────────────────── */

.content {
    flex: 1;
    padding: 60px 48px;
    max-width: 800px;
}

.prose h1 {
    font-size: 1.5rem;
    font-weight: normal;
    margin: 0 0 1.5rem 0;
    border-top: 1px solid #aaa;
    padding-top: 18px;
}

.prose h2 {
    font-size: 1rem;
    font-weight: bold;
    margin: 2rem 0 0.5rem 0;
}

.prose p {
    margin: 0 0 1rem 0;
    line-height: 1.65;
    color: #333;
}

.prose address {
    font-style: normal;
    line-height: 1.7;
    margin: 0 0 1rem 0;
    color: #333;
}

.prose address a {
    color: #333;
}

.prose ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.5rem;
    color: #333;
    line-height: 1.65;
}

.prose ul li {
    margin-bottom: 0.4rem;
}

.prose dl {
    margin: 0 0 1rem 0;
}

.prose dt {
    font-weight: bold;
    margin-top: 1.25rem;
    color: #222;
}

.prose dd {
    margin: 0.3rem 0 0 0;
    line-height: 1.65;
    color: #333;
}

.prose dd p {
    margin-bottom: 0.6rem;
}

.prose dd ul {
    margin: 0.4rem 0 0.6rem 1.5rem;
    padding: 0;
}

.prose a {
    color: #555;
}

.prose a:hover {
    color: #222;
}

.prose .generator-note {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #888;
}

/* ── Gallery grid ───────────────────────────────────────────────────────────── */

.gallery {
    flex: 1;
    padding: 60px 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-content: start;
}

.gallery a {
    display: block;
    overflow: hidden;
}

.gallery a img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.gallery a:hover img {
    opacity: 0.85;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.footer {
    padding: 24px 36px;
    font-size: 0.875rem;
    color: #777;
    /* border-top: 1px solid #ddd; */
}

.footer a {
    color: #777;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 640px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        position: static;
        height: auto;
        width: 100%;
        padding: 32px 20px 0;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .footer {
        padding: 20px;
    }
}

/* ── GLightbox overrides ─────────────────────────────────────────────────────── */

.goverlay {
    background: rgba(255, 255, 255, 0.8) !important;
}

.glightbox-clean .gslide-description {
    background: rgba(255, 255, 255, 0.92);
}

.glightbox-clean .gdesc-inner {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 640px) {
    .glightbox-clean .gdesc-inner {
        padding: 12px 16px;
    }
}

.glightbox-clean .gdesc-inner .gslide-desc {
    color: #333;
    font-family: 'Nimbus Sans L', Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
}

/* Navigation arrows + close button: transparent background, dark icons */
.glightbox-clean .gprev,
.glightbox-clean .gnext,
.glightbox-clean .gclose {
    background-color: transparent !important;
}

.glightbox-clean .gprev:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gclose:hover {
    background-color: rgba(0, 0, 0, 0.06) !important;
}

.glightbox-clean .gclose path,
.glightbox-clean .gnext path,
.glightbox-clean .gprev path {
    fill: #444 !important;
}

.gclose .garrow,
.gnext .garrow,
.gprev .garrow {
    stroke: #444 !important;
}

/* No shadow on image */
.glightbox-clean .gslide-media {
    box-shadow: none !important;
}

/* ── Mobile GLightbox overrides ──────────────────────────────────────────────── */

.glightbox-mobile .goverlay {
    background: rgba(255, 255, 255, 0.92) !important;
}

.glightbox-mobile .glightbox-container .gslide-description {
    background: rgba(255, 255, 255, 0.92) !important;
    -webkit-backdrop-filter: none !important;
}

.glightbox-mobile .glightbox-container .gslide-title,
.glightbox-mobile .glightbox-container .gslide-desc,
.glightbox-mobile .glightbox-container .gslide-desc * {
    color: #333 !important;
}

.glightbox-mobile .glightbox-container .gslide-desc a {
    color: #555 !important;
}
