/* ===== HOME: full-width slider (images 1920x800) with gentle zoom-out + quick cards ===== */
.ark {
    position: relative;
    width: 100%;
    aspect-ratio: 10/5;
    overflow: hidden;
    background: #dfe6ee
}

/* pure CSS slider: 5 images, 3 seconds each, gentle zoom-out (no JavaScript) */
.dove {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: ark 25s infinite both
}

.dove:nth-child(2) {
    animation-delay: 5s
}

.dove:nth-child(3) {
    animation-delay: 10s
}

.dove:nth-child(4) {
    animation-delay: 15s
}

.dove:nth-child(5) {
    animation-delay: 20s
}

.dove img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomout 25s infinite both;
    animation-delay: inherit
}
.mass-schedule {

    border: 1px solid #c9a24b;
    border-radius: 12px;
    overflow: hidden;
}

.schedule-tabs {
    display: flex;
    border-bottom: 1px solid #c9a24b;
}

.schedule-tab {
    flex: 1;
    padding: 16px 10px;
    border: none;
    background: #0b2a3a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.schedule-tab.active {
    background:#f3fafd;
    color:#0b2a3a;
}

.schedule-content {
    display: none;
    padding: 20px;
}

.schedule-content.active {
    display: block;
}

.schedule-content h2 {
    text-align: center;
    color: #0b2a3a;
}

.schedule-content table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-content th,
.schedule-content td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.schedule-content th {
    background: #f3fafd;
    color: #0b2a3a;
}

@media (max-width: 600px) {
    .mass-schedule {
        margin: 25px 12px;
    }

    .schedule-tab {
        font-size: 13px;
        padding: 13px 5px;
    }
}

@keyframes ark {
    0% {
        opacity: 0
    }

    6% {
        opacity: 1
    }

    20% {
        opacity: 1
    }

    26% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

@keyframes zoomout {
    0% {
        transform: scale(1.1)
    }

    22% {
        transform: scale(1)
    }

    100% {
        transform: scale(1)
    }
}

@media(prefers-reduced-motion:reduce) {
    .dove {
        animation: none
    }

    .dove:first-child {
        opacity: 1
    }

    .dove img {
        animation: none
    }
}

@media(max-width:700px) {
    .ark {
        aspect-ratio: 16/10
    }
}

.loaves {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 18px;
    margin-top: 28px
}

.loaf {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s
}

.loaf:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18)
}

.loaf h3 {
    margin-bottom: 6px;
    font-weight: 700
}

.loaf p {
    opacity: .8
}

/* ===== HOME: one YouTube video + heading + 2 lines ===== */
.video-card {
    width: min(760px, 100%);
    margin: clamp(26px, 5vw, 48px) auto 0;
    text-align: center
}

.video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #122650, #1f3f78);
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease;
    -webkit-tap-highlight-color: transparent
}

.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(54px, 11vw, 78px);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .45));
    transition: transform .25s ease
}

.video-play svg {
    display: block;
    width: 100%;
    height: auto
}

@media(hover:hover) {
    .video-thumb:hover {
        transform: scale(1.02);
        box-shadow: 0 14px 34px rgba(18, 35, 59, .25)
    }

    .video-thumb:hover .video-play {
        transform: translate(-50%, -50%) scale(1.1)
    }
}

.video-thumb:active {
    transform: scale(1.015)
}

.video-title {
    margin-top: 16px;
    font-size: clamp(1.1em, 3.6vw, 1.5em);
    font-weight: 800;
    line-height: 1.3
}

.video-text {
    margin: 6px auto 0;
    max-width: 60ch;
    font-weight: 500;
    line-height: 1.6
}
