:root {
    --bg: #F8F9FA;
    --card: #FFFFFF;
    --text: #1E293B;
    --muted: #64748B;
    --line: #E2E8F0;
    --accent: #0F172A;
    --radius: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

/* ========================================= */
/* --- DARK MODE (Systemweit) --- */
/* ========================================= */
html[data-theme="dark"] {
    --bg: #0F172A;       
    --card: #1E293B;     
    --text: #F8FAFC;     
    --muted: #94A3B8;    
    --line: #334155;     
    --accent: #38BDF8;   
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }

button { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* --- LOGIN SCREEN --- */
.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--line) 100%);
}
.login-card {
    width: min(400px, 100%);
    background: var(--card);
    padding: 48px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--accent);
    color: #FFFFFF;
    display: grid;
    place-items: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 24px;
}
html[data-theme="dark"] .brand-mark {
    color: #0F172A;
}

.login-card h1 { font-size: 24px; margin: 0 0 8px; font-weight: 700; }
.login-card .muted { margin-bottom: 32px; font-size: 15px; }
.login-card form { text-align: left; }
label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0; color: var(--text); }
input { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; outline: none; transition: border 0.2s; background: var(--bg); color: var(--text); }
input:focus { border-color: var(--accent); background: var(--card); }
.button { width: 100%; border: 0; border-radius: 12px; padding: 16px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 24px; transition: transform 0.2s; }
html[data-theme="dark"] .button { color: #0F172A; }
.button:hover { transform: translateY(-2px); }
.alert { padding: 12px 16px; background: rgba(239, 68, 68, 0.15); color: #F87171; border-radius: 12px; font-size: 14px; margin-bottom: 24px; font-weight: 500; }

/* ========================================= */
/* --- ADMIN BEREICH & TABELLEN --- */
/* ========================================= */
.admin-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-top: 50px; 
    margin-bottom: 20px; 
    flex-wrap: wrap; 
    gap: 16px; 
}
.admin-header:first-of-type { margin-top: 10px; }
.table-container { 
    width: 100%; 
    overflow-x: auto; 
    background: var(--card); 
    border-radius: var(--radius); 
    box-shadow: var(--shadow-sm); 
    border: 1px solid var(--line); 
    margin-bottom: 20px; 
}
.log-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.log-table th, .log-table td { 
    padding: 18px 24px; 
    text-align: left; 
    border-bottom: 1px solid var(--line); 
    font-size: 14px; 
}
.log-table th { background: var(--bg); font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; }
.log-table tr:hover { background: var(--bg); }

.log-row-failed { background: rgba(239, 68, 68, 0.12) !important; }

.device-text { max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: middle; }
.role-badge { padding: 6px 12px; border-radius: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.role-admin { background: rgba(56, 189, 248, 0.2); color: var(--accent); }
.role-user { background: var(--line); color: var(--text); }
.role-none { background: rgba(220, 38, 38, 0.2); color: #FCA5A5; }
.status-success { color: #16A34A; font-weight: 700; }
html[data-theme="dark"] .status-success { color: #4ADE80; }
.status-failed { color: #DC2626; font-weight: 700; }
html[data-theme="dark"] .status-failed { color: #F87171; }

.controls-bar { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); font-weight: 500; }
.controls-bar select { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; outline: none; cursor: pointer; }

/* --- PAGINATION (Seitenanzeige) --- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }
.page-btn { padding: 10px 16px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); color: var(--text); font-weight: 600; text-decoration: none; transition: all 0.2s; }
.page-btn:hover { border-color: var(--muted); }
.page-btn.active { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
html[data-theme="dark"] .page-btn.active { color: #0F172A; }
.page-btn.disabled { opacity: 0.5; pointer-events: none; }

/* --- BUTTONS & INPUTS --- */
.user-input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; width: 100%; box-sizing: border-box; background: var(--bg); color: var(--text); outline: none; }
.user-input:focus { border-color: var(--accent); }

.btn-small { padding: 10px 16px; background: var(--accent); color: #FFFFFF; border: none; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; transition: transform 0.2s; }
html[data-theme="dark"] .btn-small { color: #0F172A; }
.btn-small:hover { transform: translateY(-2px); }

.sys-message { padding: 16px; border-radius: 12px; background: rgba(202, 138, 4, 0.12); color: #B45309; font-weight: 600; margin-bottom: 24px; border: 1px solid rgba(202, 138, 4, 0.25); }
html[data-theme="dark"] .sys-message { color: #FDE047; }

/* --- ADMIN TABS & MINI GALLERY --- */
.admin-nav-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--line);
    margin-top: 30px;
    margin-bottom: 30px;
    overflow-x: auto;
}
.tab-btn {
    background: none;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.mini-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.mini-photo-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mini-photo-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    background: var(--line);
}
.mini-photo-info {
    padding: 10px;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mini-photo-name {
    font-weight: 700;
    color: var(--text);
    word-break: break-all;
    line-height: 1.3;
}
.mini-photo-meta {
    color: var(--muted);
    font-size: 10px;
}

/* ========================================= */
/* --- PROFIL BEREICH --- */
/* ========================================= */
.profile-card { width: min(500px, 100%); background: var(--card); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-md); margin: 0 auto; }
.profile-card h2 { margin-top: 0; margin-bottom: 24px; font-size: 24px; }
.help-text { font-size: 13px; color: var(--muted); margin-bottom: 24px; line-height: 1.5; }

/* --- HEADER (Glassmorphism) --- */
.topbar-wrapper {
    position: sticky; top: 0; z-index: 40;
    background: rgba(248, 249, 250, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
html[data-theme="dark"] .topbar-wrapper {
    background: rgba(15, 23, 42, 0.85);
}
.topbar {
    max-width: 1240px; margin: auto; padding: 14px 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.topbar-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { 
    width: 38px; height: 38px; background: var(--accent); color: #FFFFFF; 
    border-radius: 12px; display: grid; place-items: center; 
    font-weight: 800; font-size: 18px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
html[data-theme="dark"] .logo-icon {
    color: #0F172A;
}
.topbar-logo h1 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.topbar-logo h1 a { text-decoration: none; color: inherit; }
.topbar-logo span { color: var(--muted); font-weight: 500; font-size: 14px; margin-left: 6px; }

.topbar-actions { display: flex; align-items: center; gap: 20px; }
.userwelcome { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.user-avatar { 
    width: 32px; height: 32px; background: var(--line); color: var(--text); 
    border-radius: 50%; display: grid; place-items: center; 
    font-weight: 700; font-size: 13px; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 10px; }
.nav-btn { 
    display: grid; place-items: center; width: 36px; height: 36px; 
    border-radius: 50%; background: var(--line); color: var(--text); 
    text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; font-size: 16px;
}
.nav-btn:hover { background: #CBD5E1; transform: translateY(-2px); }
html[data-theme="dark"] .nav-btn:hover { background: #475569; }

/* --- ABMELDE BUTTON (Einheitlich & Sauber) --- */
.logout-btn { 
    padding: 8px 16px; 
    background: #FEF2F2; 
    color: #DC2626; 
    border-radius: 20px; 
    font-weight: 600; 
    font-size: 13px; 
    text-decoration: none; 
    transition: all 0.2s;
}
.logout-btn:hover { background: #FEE2E2; transform: translateY(-2px); }

html[data-theme="dark"] .logout-btn { 
    background: rgba(220, 38, 38, 0.15); 
    color: #FCA5A5; 
}
html[data-theme="dark"] .logout-btn:hover { 
    background: rgba(220, 38, 38, 0.25); 
}

.back-btn {
    background: var(--line);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}
.back-btn:hover { background: #CBD5E1; transform: translateY(-2px); }
html[data-theme="dark"] .back-btn:hover { background: #475569; }

/* --- MAIN CONTAINER --- */
.container { max-width: 1240px; margin: auto; padding: 40px 24px 80px; }

/* --- HERO BEREICH --- */
.hero-section {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px 0 30px 0;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}
.hero-badge {
    display: inline-block; padding: 6px 16px; background: rgba(56, 189, 248, 0.15); color: var(--accent); 
    border-radius: 20px; font-size: 12px; font-weight: 700; 
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px;
}
html[data-theme="light"] .hero-badge {
    background: #E0F2FE;
    color: #0369A1;
}
.hero-title { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 16px; color: var(--text); }
.hero-stats { display: flex; justify-content: center; gap: 12px; }
.stat-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; 
    background: var(--card); border: 1px solid var(--line); border-radius: 24px; 
    font-size: 14px; font-weight: 600; color: var(--text); 
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* --- PEOPLE SECTION --- */
.people-section { margin-bottom: 60px; }
.section-title { 
    font-size: 15px; 
    font-weight: 800; 
    color: var(--text); 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    margin-bottom: 24px; 
}
.people-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 24px; 
}
.person-card { 
    background: var(--card); 
    border-radius: 24px; 
    padding: 32px 20px; 
    text-align: center; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); 
    border: 1px solid var(--line); 
    transition: transform 0.3s;
}
.person-card:hover { transform: translateY(-4px); }
.person-img { 
    width: 110px; 
    height: 110px; 
    margin: 0 auto 20px; 
    border-radius: 50%; 
    overflow: hidden; 
    background: var(--line);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.person-img img { width: 100%; height: 100%; object-fit: cover; }
.person-card h4 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--text); }
.person-card .role { margin: 0; font-size: 14px; color: var(--muted); font-weight: 500; }

/* --- ACCORDIONS --- */
.accordion-container { display: flex; flex-direction: column; gap: 24px; }
.month-accordion { background: transparent; }
.month-accordion summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; user-select: none; border-bottom: 2px solid var(--line); transition: border-color 0.2s; }
.month-accordion summary::-webkit-details-marker { display: none; }
.month-accordion[open] summary { border-color: var(--accent); margin-bottom: 24px; }
.summary-content { display: flex; align-items: baseline; gap: 16px; }
.summary-content h3 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.summary-content span { font-size: 14px; color: var(--muted); font-weight: 500; }
.chevron { color: var(--text); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.month-accordion[open] summary .chevron { transform: rotate(180deg); }
.month-content { animation: fadeIn 0.4s ease-out; }

/* --- MASONRY GRID --- */
.grid { columns: 4 240px; column-gap: 24px; padding-top: 10px; }
.photo { 
    position: relative; display: inline-block; width: 100%; padding: 0; border: 0; background: var(--line); 
    margin: 0 0 24px; break-inside: avoid; cursor: pointer; border-radius: 20px; overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease; z-index: 1;
}
.photo:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0,0,0,0.12); z-index: 2; }
.photo img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.photo:hover img { transform: scale(1.04); }
.photo::after {
    content: ''; position: absolute; inset: 0; 
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0) 40%); 
    opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.photo:hover::after { opacity: 1; }
.photo-meta { 
    position: absolute; left: 20px; bottom: 20px; color: white; font-size: 13px; font-weight: 600; 
    z-index: 10; opacity: 0; transform: translateY(15px); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    background: transparent; padding: 0; backdrop-filter: none; letter-spacing: 0.02em;
}
.photo:hover .photo-meta { opacity: 1; transform: translateY(0); }

/* --- LIGHTBOX --- */
.lightbox { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); display: none; place-items: center; z-index: 100; }
.lightbox.open { display: grid; }
.lightbox figure { margin: 0; max-width: min(92vw, 1200px); max-height: 90vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 85vh; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.lightbox figcaption { color: #fff; margin-top: 16px; font-size: 14px; font-weight: 500; opacity: 0.8; }
.close, .nav { position: fixed; border: 0; background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; font-size: 24px; transition: background 0.2s; }
.close:hover, .nav:hover { background: rgba(255,255,255,0.2); }
.close { top: 24px; right: 24px; }
.nav { top: 50%; transform: translateY(-50%); }
.prev { left: 24px; }
.next { right: 24px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- BILDER VISIBILITÄT --- */
.photo img, .person-img img, .dashboard-memory-photo img { 
    opacity: 1 !important; 
    transition: transform 0.3s ease; 
}
.photo, .person-img, .dashboard-memory-photo { 
    background-color: var(--card); 
}

/* --- STATISTIKEN --- */
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 40px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); display: flex; align-items: center; gap: 20px; }
.stat-icon { width: 54px; height: 54px; border-radius: 18px; background: var(--line); display: grid; place-items: center; font-size: 24px; }
.stat-info h4 { margin: 0 0 4px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.stat-value { margin: 0; font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }

/* --- TOP DASHBOARD --- */
.top-dashboard-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 24px;
    margin-top: 16px;
    margin-bottom: 40px;
    align-items: stretch;
}
.dashboard-hero-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.dashboard-hero-box .hero-badge { margin-bottom: 14px; }
.dashboard-hero-box .hero-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 20px;
    letter-spacing: -0.03em;
    color: var(--text);
}
.dashboard-hero-box .hero-stats { display: flex; justify-content: center; }

.dashboard-memory-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.dashboard-memory-info { flex: 1; }
.dashboard-memory-info .hero-badge { background: #FEFCE8; color: #CA8A04; margin-bottom: 10px; }
html[data-theme="dark"] .dashboard-memory-info .hero-badge { background: rgba(253, 224, 71, 0.15); color: #FDE047; }

.dashboard-memory-info h3 {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--text);
    letter-spacing: -0.02em;
}
.dashboard-memory-info p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}
.dashboard-memory-photo {
    flex: 0 0 130px;
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 0;
    background: var(--line);
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.dashboard-memory-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.dashboard-memory-photo:hover img { transform: scale(1.05); }
.dashboard-memory-date {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

/* --- MOBILE OPTIMIERUNG --- */
@media (max-width: 768px) {
    .topbar { padding: 10px 14px; gap: 8px; }
    .topbar-logo h1 { font-size: 15px; }
    .topbar-logo span { display: none; }
    .logo-icon { width: 32px; height: 32px; font-size: 15px; border-radius: 10px; }
    .userwelcome span { display: none; }
    .back-btn, .logout-btn { padding: 6px 12px; font-size: 12px; border-radius: 12px; }

    .container { padding: 12px 12px 40px; }

    .top-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 4px;
        margin-bottom: 24px;
    }

    .dashboard-hero-box { padding: 18px 14px; border-radius: 18px; }
    .dashboard-hero-box .hero-badge { margin-bottom: 8px; font-size: 10px; padding: 4px 10px; }
    .dashboard-hero-box .hero-title { font-size: 20px; margin: 0 0 12px; line-height: 1.25; }
    .stat-pill { padding: 6px 12px; font-size: 12px; border-radius: 14px; }

    .dashboard-memory-box {
        padding: 14px;
        border-radius: 18px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        text-align: left;
    }
    .dashboard-memory-info { flex: 1; }
    .dashboard-memory-info .hero-badge { margin-bottom: 6px; font-size: 10px; padding: 3px 8px; }
    .dashboard-memory-info h3 { font-size: 15px; margin: 0 0 4px; }
    .dashboard-memory-info p {
        font-size: 12px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .dashboard-memory-photo { flex: 0 0 85px; width: 85px; height: 85px; border-radius: 12px; }
    .dashboard-memory-date { font-size: 9px; padding: 2px 6px; left: 4px; bottom: 4px; border-radius: 6px; }

    .people-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .person-card { padding: 24px 12px; border-radius: 20px; }
    .person-img { width: 90px; height: 90px; }
    .person-card h4 { font-size: 15px; }
    .grid { columns: 2 150px; column-gap: 16px; }
    .photo { margin: 0 0 16px; border-radius: 16px; }
}