/* ==========================================================================
   FWG Offenbach – Moderne Bildergalerie & Lightbox (100 % lokal, DSGVO-konform)
   ========================================================================== */

:root {
    --fwg-accent: #ea5e0e;
    --fwg-accent-dark: #c94d08;
    --fwg-accent-soft: rgba(234, 94, 14, 0.10);
    --fwg-ink: #222222;
    --fwg-muted: #666666;
    --fwg-border: rgba(0, 0, 0, 0.09);
    --fwg-surface: #ffffff;
    --fwg-bg-soft: #f5f6f8;
    --fwg-radius: 10px;
    --fwg-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    --fwg-shadow-hover: 0 12px 26px rgba(0, 0, 0, 0.13);
}

/* ---------- Album Header & Breadcrumb ---------- */
.fwg-album-header {
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6e6e6;
}

.fwg-album-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fwg-muted);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fwg-album-back:hover,
.fwg-album-back:focus {
    color: var(--fwg-accent);
    text-decoration: none;
}

.fwg-album-back svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.fwg-album-back:hover svg {
    transform: translateX(-3px);
}

.fwg-album-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.fwg-album-title {
    margin: 0 !important;
    font-size: 28px;
    line-height: 1.2;
    color: var(--fwg-ink);
}

.fwg-album-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--fwg-accent-soft);
    color: var(--fwg-accent-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.fwg-album-intro {
    margin: 10px 0 0 0;
    color: var(--fwg-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ---------- Album Overview Sections & Cards ---------- */
.fwg-album-section {
    margin: 0 0 34px 0;
}

.fwg-album-section:last-child {
    margin-bottom: 12px;
}

.fwg-album-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px 0;
    padding-left: 12px;
    border-left: 4px solid var(--fwg-accent);
}

.fwg-album-section-title {
    margin: 0 !important;
    font-size: 21px;
    line-height: 1.25;
    color: var(--fwg-ink);
}

.fwg-album-section-count {
    font-size: 13px;
    color: var(--fwg-muted);
    white-space: nowrap;
}

.fwg-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.fwg-album-card {
    display: flex;
    flex-direction: column;
    background: var(--fwg-surface);
    border: 1px solid var(--fwg-border);
    border-radius: var(--fwg-radius);
    overflow: hidden;
    text-decoration: none !important;
    color: var(--fwg-ink);
    box-shadow: var(--fwg-shadow);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.fwg-album-card:hover,
.fwg-album-card:focus {
    transform: translateY(-4px);
    box-shadow: var(--fwg-shadow-hover);
    border-color: rgba(234, 94, 14, 0.45);
    color: var(--fwg-ink);
}

.fwg-album-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--fwg-bg-soft);
}

.tm-content .fwg-album-cover img,
.fwg-album-cover img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center 28%;
    display: block;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fwg-album-card:hover .fwg-album-cover img {
    transform: scale(1.06);
}

.fwg-album-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b7c3;
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e8ee 100%);
}

.fwg-album-count-pill {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(18, 22, 29, 0.78);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    backdrop-filter: blur(4px);
}

.fwg-album-count-pill svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.fwg-album-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 13px 15px;
}

.fwg-album-card-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--fwg-ink);
    transition: color 0.2s ease;
}

.fwg-album-card:hover .fwg-album-card-title {
    color: var(--fwg-accent);
}

.fwg-album-card-arrow {
    width: 18px;
    height: 18px;
    color: #9aa0a6;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fwg-album-card:hover .fwg-album-card-arrow {
    color: var(--fwg-accent);
    transform: translateX(3px);
}

/* ---------- Photo Grid (.fwg-gallery) ---------- */
.fwg-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
    margin: 0 0 24px 0 !important;
    padding: 0;
    list-style: none;
}

/* Override any legacy UIkit uk-grid spacing if present */
.fwg-gallery > * {
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
}

.fwg-gallery-item {
    position: relative;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--fwg-bg-soft);
    border: 1px solid var(--fwg-border);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.fwg-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--fwg-shadow-hover);
    border-color: rgba(234, 94, 14, 0.45);
}

.fwg-gallery-link {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    text-decoration: none !important;
    background: #eef0f3;
}

.fwg-gallery-link img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.fwg-gallery-item:hover .fwg-gallery-link img {
    transform: scale(1.06);
}

.fwg-gallery-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 18, 24, 0);
    transition: background 0.25s ease;
    pointer-events: none;
}

.fwg-gallery-item:hover .fwg-gallery-link::after {
    background: rgba(15, 18, 24, 0.22);
}

.fwg-gallery-zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 18, 24, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease;
    pointer-events: none;
}

.fwg-gallery-zoom svg {
    width: 16px;
    height: 16px;
}

.fwg-gallery-item:hover .fwg-gallery-zoom,
.fwg-gallery-link:focus .fwg-gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.fwg-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 10px 8px 10px;
    background: linear-gradient(to top, rgba(12, 15, 20, 0.80) 0%, rgba(12, 15, 20, 0.35) 65%, transparent 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

/* ---------- Native WordPress Gutenberg Gallery Block Support ---------- */
.tm-content .wp-block-gallery {
    gap: 14px !important;
    margin: 0 0 24px 0 !important;
}

.tm-content .wp-block-gallery .wp-block-image {
    margin: 0 !important;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--fwg-border);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tm-content .wp-block-gallery .wp-block-image:hover {
    transform: translateY(-3px);
    box-shadow: var(--fwg-shadow-hover);
}

.tm-content .wp-block-gallery .wp-block-image img {
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 25%;
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.35s ease;
}

.tm-content .wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.05);
}

/* Subtle cursor cue on archive popup images */
.tm-content a.jcepopup img,
.tm-content a[data-uk-lightbox] img {
    cursor: zoom-in;
}

/* ---------- Modern Lightbox Modal ---------- */
.fwg-lb-open {
    overflow: hidden !important;
}

.fwg-lb {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    background: rgba(13, 16, 22, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    user-select: none;
    -webkit-user-select: none;
}

.fwg-lb.is-open {
    opacity: 1;
    visibility: visible;
}

.fwg-lb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    flex-shrink: 0;
    z-index: 3;
}

.fwg-lb-counter {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 12px;
    border-radius: 999px;
}

.fwg-lb-counter:empty {
    visibility: hidden;
}

.fwg-lb-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fwg-lb-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.fwg-lb-btn:hover,
.fwg-lb-btn:focus {
    background: var(--fwg-accent);
    border-color: var(--fwg-accent);
    outline: none;
}

.fwg-lb-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(234, 94, 14, 0.55);
}

.fwg-lb-btn svg {
    width: 20px;
    height: 20px;
}

.fwg-lb-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 68px;
    overflow: hidden;
    touch-action: pan-y;
}

.fwg-lb-stage.is-zoomed {
    overflow: auto;
    align-items: safe center;
    justify-content: safe center;
    padding: 20px;
}

.fwg-lb-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.fwg-lb-img {
    display: block;
    max-width: min(92vw, 1400px);
    max-height: calc(100vh - 195px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.22s ease, transform 0.22s ease;
    cursor: zoom-in;
}

.fwg-lb.is-single .fwg-lb-img {
    max-height: calc(100vh - 135px);
}

.fwg-lb-img.is-loaded {
    opacity: 1;
    transform: scale(1);
}

.fwg-lb-stage.is-zoomed .fwg-lb-img {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    transform: scale(1);
    cursor: zoom-out;
}

.fwg-lb-spinner {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--fwg-accent);
    border-radius: 50%;
    animation: fwg-lb-spin 0.75s linear infinite;
    display: none;
}

.fwg-lb-stage.is-loading .fwg-lb-spinner {
    display: block;
}

@keyframes fwg-lb-spin {
    to { transform: rotate(360deg); }
}

.fwg-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
}

.fwg-lb-prev { left: 16px; }
.fwg-lb-next { right: 16px; }

.fwg-lb.is-single .fwg-lb-nav,
.fwg-lb.is-single .fwg-lb-thumbs {
    display: none !important;
}

.fwg-lb-footer {
    flex-shrink: 0;
    padding: 6px 18px 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.fwg-lb-caption {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    max-width: 780px;
    min-height: 20px;
}

.fwg-lb-caption:empty {
    display: none;
}

.fwg-lb-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding: 4px 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.fwg-lb-thumb {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid transparent;
    padding: 0;
    margin: 0;
    width: 58px;
    height: 42px;
    border-radius: 5px;
    overflow: hidden;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    opacity: 0.52;
    transition: opacity 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.fwg-lb-thumb:hover {
    opacity: 0.85;
}

.fwg-lb-thumb.is-active {
    opacity: 1;
    border-color: var(--fwg-accent);
    transform: scale(1.06);
}

.fwg-lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .fwg-album-title {
        font-size: 23px;
    }

    .fwg-album-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    .fwg-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .fwg-lb-stage {
        padding: 6px 10px;
    }

    .fwg-lb-nav {
        width: 40px;
        height: 40px;
        background: rgba(15, 18, 24, 0.55);
    }

    .fwg-lb-prev { left: 8px; }
    .fwg-lb-next { right: 8px; }

    .fwg-lb-img {
        max-width: 96vw;
        max-height: calc(100vh - 180px);
    }

    .fwg-lb-thumb {
        width: 48px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fwg-album-card,
    .fwg-album-cover img,
    .fwg-gallery-item,
    .fwg-gallery-link img,
    .fwg-lb,
    .fwg-lb-img,
    .fwg-album-nav-link,
    .fwg-contact-cta {
        transition: none !important;
    }
}

/* ---------- Album Story / Intro Box ---------- */
.fwg-album-story {
    margin: 0 0 22px 0;
    padding: 16px 20px;
    background: var(--fwg-bg-soft);
    border-left: 4px solid var(--fwg-accent);
    border-radius: 0 var(--fwg-radius) var(--fwg-radius) 0;
    color: #333333;
    font-size: 14.5px;
    line-height: 1.6;
}

.fwg-album-story p {
    margin: 0 0 10px 0;
}

.fwg-album-story p:last-child {
    margin-bottom: 0;
}

/* ---------- Album Footer Navigation (Prev / Overview / Next) ---------- */
.fwg-album-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 12px;
    margin: 28px 0 8px 0;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}

.fwg-album-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid var(--fwg-border);
    background: var(--fwg-surface);
    color: var(--fwg-ink);
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.fwg-album-nav-link:hover,
.fwg-album-nav-link:focus {
    border-color: rgba(234, 94, 14, 0.5);
    color: var(--fwg-accent);
    transform: translateY(-2px);
    box-shadow: var(--fwg-shadow);
}

.fwg-album-nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--fwg-accent);
}

.fwg-album-nav-next {
    justify-content: flex-end;
    text-align: right;
}

.fwg-album-nav-all {
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--fwg-muted);
    white-space: nowrap;
}

.fwg-album-nav-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fwg-album-nav-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fwg-muted);
    line-height: 1.2;
}

.fwg-album-nav-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fwg-album-nav-spacer {
    display: block;
}

/* ---------- Modern Kontakt Card (/kontakt/) ---------- */
.fwg-contact-wrap {
    max-width: 820px;
    margin: 0 auto 24px auto;
}

.fwg-contact-card {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 28px;
    align-items: center;
    padding: 28px;
    background: var(--fwg-surface);
    border: 1px solid var(--fwg-border);
    border-radius: 12px;
    box-shadow: var(--fwg-shadow);
}

.fwg-contact-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fwg-contact-photo {
    width: 190px;
    height: 225px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    background: var(--fwg-bg-soft);
}

.tm-content .fwg-contact-photo img,
.fwg-contact-photo img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.fwg-contact-role {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--fwg-accent-soft);
    color: var(--fwg-accent-dark);
    font-size: 12.5px;
    font-weight: 700;
}

.fwg-contact-name {
    margin: 0 0 4px 0 !important;
    font-size: 26px;
    line-height: 1.2;
    color: var(--fwg-ink);
}

.fwg-contact-org {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: var(--fwg-muted);
}

.fwg-contact-list {
    list-style: none;
    margin: 0 0 22px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fwg-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.fwg-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--fwg-accent-soft);
    color: var(--fwg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fwg-contact-icon svg {
    width: 19px;
    height: 19px;
}

.fwg-contact-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fwg-muted);
    margin-bottom: 2px;
}

.fwg-contact-value {
    font-size: 15px;
    line-height: 1.45;
    color: var(--fwg-ink);
}

.fwg-contact-value a {
    color: var(--fwg-ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(234, 94, 14, 0.35);
    transition: color 0.18s ease, border-color 0.18s ease;
}

.fwg-contact-value a:hover,
.fwg-contact-value a:focus {
    color: var(--fwg-accent);
    border-color: var(--fwg-accent);
}

.fwg-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.fwg-contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--fwg-accent);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(234, 94, 14, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fwg-contact-cta:hover,
.fwg-contact-cta:focus {
    background: var(--fwg-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 94, 14, 0.36);
}

.fwg-contact-cta svg {
    width: 16px;
    height: 16px;
}

.fwg-contact-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--fwg-bg-soft);
    border: 1px solid var(--fwg-border);
    color: var(--fwg-ink) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.fwg-contact-cta-secondary:hover,
.fwg-contact-cta-secondary:focus {
    border-color: rgba(234, 94, 14, 0.45);
    color: var(--fwg-accent) !important;
    background: #ffffff;
}

@media (max-width: 767px) {
    .fwg-album-nav {
        grid-template-columns: 1fr;
    }

    .fwg-album-nav-spacer {
        display: none;
    }

    .fwg-contact-card {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .fwg-contact-photo {
        width: 160px;
        height: 190px;
    }

    .fwg-contact-info-col {
        text-align: left;
    }
}
