/* ===== Home page (index.html): editorial dark layout, same order as the app's home ===== */
.home {
    background: #0a0a0a;
    color: #fff;
    padding: 28px 0 48px;
}
.home-block {
    max-width: 760px;
    margin: 0 auto;
    padding: 22px 20px;
}
.home-eyebrow, .home-cat {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c9a84c;
}
.home-title {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.15;
    color: #fff;
    margin: 4px 0 14px;
}
.home-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c9a84c;
    text-decoration: none;
}
.home h3 { font-family: var(--font-display); color: #fff; }
.home p { color: rgba(255, 255, 255, 0.72); }

/* Countdown */
.home-countdown {
    text-align: center;
    padding: 22px 18px;
    border-radius: 18px;
    background: radial-gradient(120% 140% at 50% 0%, rgba(201, 168, 76, 0.16), rgba(255, 255, 255, 0.03) 60%);
    border: 1px solid rgba(201, 168, 76, 0.45);
}
.home-countdown-label { font-size: 0.95rem; margin: 6px 0 14px; color: #fff !important; font-weight: 600; }
.home-countdown-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.home-countdown-units div {
    padding: 10px 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}
.home-countdown-units span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    color: #fff;
}
.home-countdown-units small {
    display: block;
    margin-top: 4px;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* Numbered editorial list */
.home-list { list-style: none; margin: 0; padding: 0; }
.home-list li {
    display: grid;
    grid-template-columns: 2.6rem 1fr auto;
    align-items: start;
    gap: 0 10px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.home-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.home-num { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); padding-top: 1.35rem; }
.home-list h3 { font-size: 1.5rem; line-height: 1.15; margin: 2px 0 4px; }
.home-list p { font-size: 0.86rem; line-height: 1.55; margin: 0; }
.home-meta {
    padding-top: 1.35rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    text-align: right;
}
.home-list-links li { display: block; padding: 0; }
.home-list-links a {
    display: grid;
    grid-template-columns: 2.6rem 1fr auto;
    gap: 0 10px;
    padding: 16px 0;
    color: inherit;
    text-decoration: none;
}
.home-list-links .home-num { padding-top: 0.45rem; }
.home-arrow { color: #c9a84c; font-size: 1.2rem; padding-top: 0.2rem; }

/* Video + podcast */
.home-video {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.home-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
}
.home-video-play .material-symbols-rounded { font-size: 2rem; }
.home-video-caption {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding: 12px 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.home-video-caption h3 { font-size: 1.25rem; margin: 0 0 2px; }
.home-video-caption p { font-size: 0.85rem; margin: 0; }
.home-video-caption .home-link { margin: 0; white-space: nowrap; }
.home-podcast { display: flex; gap: 14px; padding-top: 18px; }
.home-podcast-icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.15);
    color: #c9a84c;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-podcast h3 { font-size: 1.25rem; margin: 0 0 2px; }
.home-podcast p { font-size: 0.85rem; margin: 0 0 10px; }
.home-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.home-chips a {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.78rem;
    color: #fff;
    text-decoration: none;
}

/* Devotional */
.home-devo { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.home-devo-cover {
    position: relative;
    display: block;
    aspect-ratio: 851 / 1213;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
/* Covers carry baked-in white margins; crop to the artwork (see books page). */
.home-devo-cover img {
    position: absolute;
    max-width: none;
    width: 134.1%;
    height: 131.9%;
    left: -15.7%;
    top: -7.6%;
}
.home-devo h3 { font-size: 1.5rem; line-height: 1.15; margin: 4px 0 2px; }
.home-devo p { font-size: 0.82rem; margin: 0 0 12px; }
.home-devo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.home-btn {
    flex: 1;
    min-width: 110px;
    text-align: center;
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.6);
    color: #c9a84c;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}
.home-btn-gold { background: #c9a84c; color: #0a0a0a; border-color: #c9a84c; }

/* Missions */
.home-missions {
    position: relative;
    display: block;
    min-height: 240px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
}
.home-missions img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-missions::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.85));
}
.home-missions-text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.home-missions h2 { font-family: var(--font-display); font-size: 2rem; color: #fff; margin: 2px 0 4px; }
.home-missions p { font-size: 0.88rem; margin: 0; color: rgba(255, 255, 255, 0.85); }
.home-missions .home-link { margin-top: 8px; }

/* Support */
.home-support {
    padding: 24px 20px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(201, 168, 76, 0.18), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(201, 168, 76, 0.35);
}
.home-support h2 { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; color: #fff; margin: 6px 0 8px; }
.home-support p { font-size: 0.9rem; line-height: 1.6; margin: 0 0 16px; }

/* Phone: shorter hero so the countdown peeks in */
@media (max-width: 560px) {
    .hero-section { height: auto !important; min-height: 0 !important; padding: 70px 0 0; }
    .hero-section .hero-announcements:not([style*="none"]) { margin: 12px 0 8px; }
    .hero-section .hero-focus { position: relative; top: auto; left: auto; width: 100%; max-height: none; gap: 20px; padding: 0 20px !important; margin: 0 !important; transform: none !important; }
    .hero-section .slider-controls { display: none; }
    .home { padding-top: 4px; }
    .home-block { padding: 18px 20px; }
    .home-title { font-size: 1.75rem; }
    .home-list h3 { font-size: 1.35rem; }
    .home-meta { font-size: 0.72rem; }
}

.home-devo-cover.no-crop img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-missions::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 10%, rgba(0, 0, 0, 0.9)); }

/* Welcome text removed: the hero is now the photo slider plus any posted flyers. */
@media (min-width: 561px) {
    .hero-section { height: 62vh; min-height: 420px; }
}
.home-video-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 16px;
}
.home-video-caption h3 { font-size: 1.15rem; line-height: 1.3; }
.home-podcast h3 { font-size: 1.1rem; line-height: 1.3; }
#homePodAudio { width: 100%; height: 36px; margin: 0 0 10px; }
.home-list li:first-child { border-top: 0; }
.home-list li:last-child { border-bottom: 0; }
.home-video-caption { border-bottom: 0; padding-bottom: 6px; }
