/* 
 * ==========================================
 * Sermons Page Styles
 * ==========================================
 */

/* ---- Hero ---- */
.sermons-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    z-index: 0;
    background-color: #000;
}

.sermons-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.sermons-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.sermons-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sermons-hero__title {
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0px 4px 30px rgba(0, 0, 0, 0.3);
    font-size: 80px;
    font-family: var(--font-heading);
    margin: 0;
}

/* ---- Our Media section (light bg) ---- */
.sermons-media {
    position: relative;
    margin-top: 550px;
    z-index: 2;
    padding: 60px 0;
    background-color: var(--color-bg-light);
    color: #000;
    text-align: center;
}

.sermons-media .badge {
    background-color: #000;
    color: #fff;
    margin-bottom: 20px;
}

.sermons-media .section-title {
    font-size: 54px;
    margin-bottom: 20px;
    color: #000;
}

.sermons-media .section-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    font-weight: 500;
    margin: 0 auto;
    max-width: 700px;
}

/* ---- Section wrapper ---- */
.sermons-section {
    padding: 60px 0;
}

.sermons-section--dark {
    background-color: #000;
    color: #fff;
}

.sermons-section--light {
    background-color: var(--color-bg-light);
    color: #000;
}

/* ---- Section header (title block) ---- */
.sermons-header {
    text-align: center;
    margin-bottom: 40px;
}

.sermons-header .badge {
    margin-bottom: 20px;
}

/* dark-section pill badge */
.sermons-section--dark .badge {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    padding: 9px 18px;
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* light-section badge */
.sermons-section--light .badge {
    background-color: rgba(13, 13, 13, 0.8);
    color: #fff;
    border: 1px solid rgb(34, 34, 34);
}

.sermons-header .section-title {
    font-size: 46px;
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 10px;
    color: inherit;
}

.sermons-section--dark .section-title {
    color: #fff;
}

.sermons-header .section-desc {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-weight: 500;
    font-family: var(--font-p);
    margin: auto;
}

.sermons-section--light .section-desc {
    color: #555;
}

/* ============================================================
   SERMON CARD GRID
   3 columns, cards have a FIXED HEIGHT — image fills card,
   text + icon overlaid at the bottom via absolute positioning
   ============================================================ */
.sermons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.sermon-cards {
    background: rgba(13, 13, 13, 0.8);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgb(34, 34, 34);
    transition: all 0.6s ease;
}

.sermon-cards:hover {
    background-color: rgb(86, 132, 255);
}

.sermon-cards img {
    height: 320px;
    object-fit: cover;
    margin-bottom: 20px;
    width: 100%;
    border-radius: 8px;
}

.sermon-cards__title {
    font-size: 20px;
    font-family: 'Satoshi';
    color: #ffffff;
}

.sermon-cards__speaker {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
    color: #fff;
}

.sermon-cards__content {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.sermon-cards__play svg {
    user-select: none;
    width: 20px;
    height: 20px;
    display: inline-block;
    fill: var(--token-55fce8bf-ab86-42dc-8b77-6335cf9cf588, rgb(255, 255, 255));
    color: var(--token-55fce8bf-ab86-42dc-8b77-6335cf9cf588, rgb(255, 255, 255));
    flex-shrink: 0;
/*    position: absolute;
    top: 0;
    right: 0;*/
}

@media (max-width: 991px) {
    .sermons-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}