/* =====================================================================
   DEVOTIONAL MEMORY  -  isolated presentation layer
   ---------------------------------------------------------------------
   Structure reuses existing glass classes from styles.css
   (.special-days-overlay, .settings-screen, .settings-row,
   .about-app-desc, .about-app-section-title, .day-report-issue-button).
   Only the feature-specific classes below are new.
   ===================================================================== */

.devotional-memory-event-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.devotional-memory-event-row-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.devotional-memory-event-row-text {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 2px;

    text-align: left;
}

.devotional-memory-event-row-en {
    font-size: 14px;
    font-weight: 600;
    color: #f5f7fa;
}

.devotional-memory-event-row-my {
    font-size: 12.5px;
    color: #9aa3af;
}

.devotional-memory-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.devotional-memory-gallery-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.devotional-memory-gallery-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.devotional-memory-gallery-caption {
    font-size: 11.5px;
    color: #9aa3af;
    text-align: center;
}

.devotional-memory-info-block {
    margin-top: 14px;
}

:root[data-theme="light"] .devotional-memory-event-row-en {
    color: #1b2129;
}

:root[data-theme="light"] .devotional-memory-event-row-my,
:root[data-theme="light"] .devotional-memory-gallery-caption {
    color: #5b6673;
}

:root[data-theme="light"] .devotional-memory-gallery-image {
    background: rgba(0, 0, 0, 0.04);
}
