/*----------------------------------------------
*
* [Default Stylesheet]
*
* Theme    : NEXGEN
* Version  : 1.0
* Author   : Codings
* Support  : codings.dev
* 
----------------------------------------------*/

/*----------------------------------------------

[ALL CONTENTS]

1. Root
2. Button
3. Effect

----------------------------------------------*/

/*----------------------------------------------
1. Root
----------------------------------------------*/

/* #region Root */

:root {
    --h1-font: 'Poppins', sans-serif;
    --h1-size: 4.5rem;
    --h1-weight: 900;
    
    --h2-font: 'Poppins', sans-serif;
    --h2-size: 3rem;
    --h2-weight: 700;
    
    --p-font: 'Montserrat', sans-serif;
    --p-size: 1rem;
    --p-weight: 400;

    --header-bg-color: #121316;
    --nav-top-bg-color: #24262A;
    --nav-sub-bg-color: #121316;
    --nav-holder-bg-color: #121316;
    --nav-brand-height: 35px;
    --nav-item-color: #f9f9f9;
    --hero-bg-color: #24262A;
    --footer-brand-height: 80px;

    --primary-color: #4A4D54;
    --secondary-color: #287BF3;
    --accent-light-color: #5A9DF4;
    
    --white-color: #ffffff;
    --black-color: #121316;
    --dark-grey-color: #3A3D43;

    --primary-t-color: #303238;
    --secondary-t-color: #f7f7f8; 
    --primary-p-color: #62656c;
    --secondary-p-color: #d5d7db;
    --primary-b-color: #f7f7f8;
    --primary-l-color: rgba(48, 50, 56, .20);
    --secondary-l-color: rgba(255, 255, 255, 0.28);

    --valid-color: #007a4d;
    --invalid-color: #e34f4f;

    --primary-bg-color: #fafafa;
    --primary-bg-color-2: #f1f2f4;
    --primary-bg-color-3: rgba(74, 77, 84, 0.10);

    --secondary-bg-color: #3A3D43;
    --secondary-bg-color-2: #24262A;
    --secondary-bg-color-3: #50535A;

    --card-bg-color: #ffffff;

    --footer-bg-color: #121316;
}

/* Shared redesigned footer */
#copyright.footer-rework {
    padding: 46px 0 24px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #121316;
}

#copyright .footer-primary {
    align-items: center;
}

#copyright .footer-welcome {
    padding-left: 24px;
    border-left: 3px solid var(--secondary-color);
}

#copyright .footer-kicker,
#copyright .footer-english-label {
    display: block;
    color: #8ca3c7;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.5;
    text-transform: uppercase;
}

#copyright .footer-tagline {
    max-width: 560px;
    margin: 9px 0 0;
    color: #f5f7fa;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    font-weight: 500;
    line-height: 1.55;
}

#copyright .footer-english {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#copyright .footer-english-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 9px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(40, 123, 243, 0.65);
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
    text-transform: uppercase;
    transition: color 0.25s ease, border-color 0.25s ease;
}

#copyright .footer-english-link:hover,
#copyright .footer-english-link:focus {
    border-color: #ffffff;
    color: #ffffff;
}

#copyright .footer-english-link i {
    font-size: 0.8rem;
    transform: rotate(45deg);
}

#copyright .footer-bottom {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#copyright .footer-bottom p {
    margin: 0;
    color: #89909b;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    #copyright.footer-rework {
        padding: 34px 0 22px !important;
    }

    #copyright .footer-welcome {
        padding: 18px 0 0;
        border-top: 3px solid var(--secondary-color);
        border-left: 0;
        text-align: center;
    }

    #copyright .footer-tagline {
        margin-right: auto;
        margin-left: auto;
    }

    #copyright .footer-english {
        align-items: center;
        margin-top: 28px;
        padding-top: 26px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
    }

    #copyright .footer-english-link {
        justify-content: center;
        font-size: 0.9rem;
    }

    #copyright .footer-bottom {
        margin-top: 28px;
    }
}

/* #endregion Root */

/*----------------------------------------------
2. Button
----------------------------------------------*/

/* #region Button */

.primary-button, .primary-button:visited, .primary-button:active {
    position: relative;
    z-index: 2;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    border: 1px solid;
    border-color: var(--secondary-color);
    color: var(--black-color);
    font-weight: 500;
    -webkit-transition: all .4s ease-out 0s;
    -o-transition: all .4s ease-out 0s;
    -moz-transition: all .4s ease-out 0s;
    transition: all .4s ease-out 0s;
}

.primary-button:hover, .primary-button:focus {
    background-color: var(--accent-light-color);
    border-color: var(--accent-light-color);
    color: var(--black-color);
}

.outline-button, .outline-button:visited, .outline-button:active {
    position: relative;
    z-index: 2;
    padding: 10px 25px;
    background-color: transparent;
    border-radius: 4px;
    border: 1px solid;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 500;
    -webkit-transition: all .4s ease-out 0s;
    -o-transition: all .4s ease-out 0s;
    -moz-transition: all .4s ease-out 0s;
    transition: all .4s ease-out 0s;
}

.odd .outline-button, .odd .outline-button:visited, .odd .outline-button:active {
    position: relative;
    z-index: 2;
    padding: 10px 25px;
    background-color: transparent;
    border-radius: 4px;
    border: 1px solid;
    border-color: var(--secondary-color);
    color: var(--primary-b-color);
    font-weight: 500;
    -webkit-transition: all .4s ease-out 0s;
    -o-transition: all .4s ease-out 0s;
    -moz-transition: all .4s ease-out 0s;
    transition: all .4s ease-out 0s;
}

.outline-button:hover, .outline-button:focus {
    border-color: var(--accent-light-color);
    background-color: var(--accent-light-color);
    color: var(--black-color);
}

/* #endregion Button */

/* #region Effect */

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 var(--secondary-color);
        background-color: var(--secondary-color);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(40, 123, 243, 0);
        background-color: rgba(40, 123, 243, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(40, 123, 243, 0);
        background-color: rgba(40, 123, 243, 0);
    }
}
  
@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 var(--secondary-color);
        box-shadow: 0 0 0 0 var(--secondary-color);
        background-color: var(--secondary-color);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(40, 123, 243, 0);
        box-shadow: 0 0 0 10px rgba(40, 123, 243, 0);
        background-color: rgba(40, 123, 243, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(40, 123, 243, 0);
        box-shadow: 0 0 0 0 rgba(40, 123, 243, 0);
        background-color: rgba(40, 123, 243, 0);
    }
}

/* #endregion Effect */

.odd .contacts a:not(.btn) {
    color: var(--secondary-p-color);
}

.contacts a:not(.btn):hover,
.odd .contacts a:not(.btn):hover,
footer .copyright a:not(.btn) {
    color: var(--secondary-color);
}

.odd .contacts i,
.odd .share-list .nav-link i {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.08);
}

/* About section */
#about.about-faith {
    overflow: hidden;
}

#about .about-copy {
    max-width: 590px;
    margin-bottom: 0;
}

#about .about-lead {
    margin: 1.75rem 0 1rem;
    color: var(--primary-t-color);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
}

#about .about-body {
    max-width: 560px;
    line-height: 1.8;
}

#about .about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
}

#about .about-verse-link {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: var(--secondary-color);
    font: inherit;
    font-weight: 700;
    line-height: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color .3s ease;
}

#about .about-verse-link:hover,
#about .about-verse-link:focus {
    color: var(--accent-light-color);
    outline: none;
}

#about .about-verse-link:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
}

#about .about-media {
    position: relative;
    padding: 24px 18px 36px 30px;
}

#about .about-media:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 64px;
    left: 0;
    border: 1px solid rgba(18, 19, 22, 0.08);
    border-radius: 10px;
    background-color: var(--primary-bg-color-2);
}

#about .about-image-card {
    position: relative;
    z-index: 1;
    margin: 0;
}

#about .about-image-frame {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    background-color: var(--secondary-bg-color);
    box-shadow: 0 22px 55px rgba(18, 19, 22, 0.18);
}

#about .about-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    filter: saturate(0.78) contrast(1.03);
    transition: transform .6s ease, filter .6s ease;
}

#about .about-image-card:hover .about-image {
    transform: scale(1.025);
    filter: saturate(0.95) contrast(1.04);
}

#about .about-image-caption {
    position: absolute;
    bottom: -26px;
    left: -22px;
    min-width: 245px;
    padding: 16px 20px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 6px;
    background-color: var(--header-bg-color);
    box-shadow: 0 14px 35px rgba(18, 19, 22, 0.22);
    color: var(--white-color);
}

#about .about-image-caption strong,
#about .about-image-caption small {
    display: block;
}

#about .about-image-caption strong {
    color: var(--white-color);
    font-size: 0.95rem;
    line-height: 1.3;
}

#about .about-image-caption small {
    margin-top: 3px;
    color: var(--secondary-p-color);
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}

/* Tap-friendly Scripture dialog */
.verse-modal .modal-dialog {
    width: calc(100% - 32px);
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
}

.verse-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    background-color: var(--primary-bg-color);
    box-shadow: 0 28px 70px rgba(18, 19, 22, 0.3);
}

.verse-modal .modal-header {
    align-items: flex-start;
    padding: 28px 30px 18px;
}

.verse-modal .modal-header .pre-title {
    display: block;
    color: var(--secondary-color);
}

.verse-modal .modal-header .modal-title {
    margin-top: 7px;
    color: var(--primary-t-color);
    font-size: 1.8rem;
    line-height: 1.25;
}

.verse-modal .verse-modal-close {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    margin: -5px -7px 0 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--primary-bg-color-2);
    color: var(--primary-t-color);
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease;
}

.verse-modal .verse-modal-close:hover,
.verse-modal .verse-modal-close:focus {
    background-color: var(--secondary-color);
    color: var(--white-color);
    outline: none;
}

.verse-modal .verse-modal-close:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
}

.verse-modal .verse-modal-close .icon-close {
    font-size: 18px;
}

.verse-modal .modal-body {
    display: block;
    padding: 0 30px 30px;
}

.verse-modal blockquote {
    margin: 0;
    padding: 22px 0 22px 22px;
    border-left: 3px solid var(--secondary-color);
    color: var(--primary-t-color);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
}

.verse-modal .verse-modal-reference {
    margin: 18px 0 0;
    color: var(--primary-p-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.verse-modal .verse-modal-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.verse-modal .verse-modal-link:hover,
.verse-modal .verse-modal-link:focus {
    color: var(--accent-light-color);
}

@media (max-width: 767px) {
    #about .about-actions {
        justify-content: center;
    }

    #about .about-media {
        padding: 16px 0 24px 12px;
    }

    #about .about-media:before {
        right: -12px;
        bottom: 44px;
    }

    #about .about-image-caption {
        position: relative;
        bottom: auto;
        left: auto;
        width: calc(100% - 28px);
        min-width: 0;
        margin: -22px 14px 0;
    }

    .verse-modal .modal-header {
        padding: 24px 22px 16px;
    }

    .verse-modal .modal-header .modal-title {
        font-size: 1.55rem;
    }

    .verse-modal .modal-body {
        padding: 0 22px 24px;
    }

    .verse-modal blockquote {
        padding: 17px 0 17px 17px;
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 575px) {
    #about .about-lead {
        font-size: 1.08rem;
    }

    #about .about-body {
        line-height: 1.7;
    }

    #about .about-media {
        margin-right: 6px;
        padding-left: 8px;
    }

    #about .about-media:before {
        right: -6px;
    }

    #about .about-image-caption {
        width: calc(100% - 20px);
        margin-right: 10px;
        margin-left: 10px;
        padding: 14px 16px;
    }

    .verse-modal .modal-dialog {
        width: auto;
        margin: 16px;
    }

    .verse-modal .verse-modal-close {
        margin-right: -3px;
        margin-left: 12px;
    }
}
/* All homepage carousel text */
#slider .slide-content .title {
    font-size: 3.4rem;
    line-height: 1.08;
}

#slider .slide-content .title .pre-title {
    font-size: 0.9rem;
}

#slider .slide-content .description {
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.5;
}

/* Tablet */
@media (max-width: 991px) {
    #slider .slide-content .title {
        font-size: 2.7rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    #slider .slide-content .title {
        font-size: 2.1rem;
    }

    #slider .slide-content .title .pre-title {
        font-size: 0.75rem;
    }

    #slider .slide-content .description {
        font-size: 0.95rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    #slider .slide-content .title {
        font-size: 1.8rem;
    }
}

/* Contact section */
#contact .contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

#contact .form-alert {
    min-height: 24px;
    margin: 0;
    font-weight: 600;
    line-height: 1.55;
}

#contact .contact-map-card {
    position: relative;
    height: 290px;
    margin: 26px 8px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(15, 16, 19, 0.34);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.14);
}

#contact .contact-map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.35) saturate(0.8) contrast(1.04);
}

#contact .contact-map-overlay {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 68px;
    padding: 13px 16px;
    border-left: 3px solid var(--secondary-color);
    border-radius: 5px;
    background-color: rgba(18, 19, 22, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    color: var(--secondary-t-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#contact .contact-map-overlay:hover,
#contact .contact-map-overlay:focus {
    transform: translateY(-2px);
    background-color: rgba(25, 27, 31, 0.98);
    color: var(--secondary-t-color);
}

#contact .contact-map-overlay > i {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(40, 123, 243, 0.16);
    color: var(--secondary-color);
}

#contact .contact-map-overlay > span:not(.contact-map-action) {
    min-width: 0;
}

#contact .contact-map-overlay small {
    display: block;
    margin-bottom: 2px;
    color: var(--secondary-color);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
}

#contact .contact-map-overlay strong {
    display: block;
    overflow: hidden;
    color: var(--secondary-t-color);
    font-size: 0.86rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#contact .contact-map-action {
    margin-left: auto;
    color: var(--secondary-t-color);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

#contact .contact-map-action i {
    margin-left: 5px;
    color: var(--secondary-color);
}

#contact .contact-details {
    padding: 38px 34px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 3px solid var(--secondary-color);
    border-radius: 8px;
    background-color: rgba(15, 16, 19, 0.34);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.14);
}

#contact .contact-details h4 {
    margin: 10px 0 14px;
    color: var(--secondary-t-color);
    font-size: 1.55rem;
    line-height: 1.3;
}

#contact .contact-intro {
    margin-bottom: 22px;
    line-height: 1.7;
}

#contact .contact-list .nav-item + .nav-item {
    margin-top: 10px;
}

#contact .contact-list .nav-link {
    display: flex;
    align-items: flex-start;
    padding: 7px 0;
    line-height: 1.5;
}

#contact .contact-list .nav-link i {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#contact .contact-list .nav-link span {
    padding-top: 1px;
}

#contact .contact-list .nav-link small {
    display: block;
    margin-bottom: 2px;
    color: var(--secondary-color);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#contact .contact-schedule {
    margin-top: 25px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#contact .contact-schedule h5,
#contact .bible-study-card h5 {
    margin: 0 0 14px;
    color: var(--secondary-t-color);
    font-size: 1rem;
}

#contact .contact-schedule ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#contact .contact-schedule li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    color: var(--secondary-p-color);
    font-size: 0.9rem;
}

#contact .contact-schedule strong {
    color: var(--secondary-t-color);
    white-space: nowrap;
}

#contact .bible-study-card {
    margin-top: 25px;
    padding: 23px 22px;
    border-radius: 6px;
    background-color: rgba(40, 123, 243, 0.11);
}

#contact .bible-study-card p {
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.65;
}

#contact .contact-study-link {
    width: 100%;
    min-height: 46px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 0.72rem;
}

@media (max-width: 991px) {
    #contact .contact-details {
        padding: 30px 25px;
    }
}

@media (max-width: 767px) {
    #contact .contact-details {
        margin-top: 48px;
    }
}

@media (max-width: 575px) {
    #contact .contact-map-card {
        height: 300px;
        margin-right: 0;
        margin-left: 0;
    }

    #contact .contact-map-overlay {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    #contact .contact-map-action {
        display: none;
    }

    #contact .contact-details {
        padding: 28px 22px;
    }

    #contact .contact-schedule li {
        font-size: 0.84rem;
    }
}

/*----------------------------------------------
4. Responsive layout alignment
----------------------------------------------*/

/* Consistent desktop spacing */
body section:not(.hero) {
    padding-top: 112px;
    padding-bottom: 112px;
}

body section:not(.hero) > .container,
body section:not(.hero) .overflow-holder > .container,
body footer .container {
    padding-right: 24px;
    padding-left: 24px;
}

body .intro {
    margin-bottom: 44px;
}

body .intro > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

body .btn {
    min-height: 46px;
}

/* Header and logo */
body header .navbar-expand.sub {
    min-height: 104px;
    padding: 10px 24px;
    background-color: var(--nav-sub-bg-color);
}

body header .navbar-expand .container.header {
    align-items: center;
}

body header .navbar-expand .navbar-brand {
    min-width: 0;
    max-width: 310px;
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    line-height: 0;
}

body header .navbar-expand .navbar-brand img {
    display: block;
    width: auto;
    height: 76px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

body header .navbar-expand .navbar-nav.icons,
body header .navbar-expand .navbar-nav.toggle {
    flex: 0 0 auto;
    margin: 0;
}

body header .navbar-expand .navbar-nav.icons .nav-link:not(.btn),
body header .navbar-expand .navbar-nav.toggle .nav-link:not(.btn) {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Keep the hero container and every slide the same height. */
#slider .slider-h-100.slider-h-auto,
#slider .slider-h-auto .swiper-wrapper,
#slider .slider-h-auto .swiper-slide {
    min-height: calc(100vh - 50px);
}

@supports (height: 100svh) {
    #slider .slider-h-100.slider-h-auto,
    #slider .slider-h-auto .swiper-wrapper,
    #slider .slider-h-auto .swiper-slide {
        min-height: calc(100svh - 50px);
    }
}

#slider .swiper-slide {
    box-sizing: border-box;
    padding-top: 70px;
    padding-bottom: 42px;
}

#slider .full-slider .inner {
    padding-right: 24px;
    padding-left: 24px;
}

#slider .slide-content .left,
#slider .slide-content .right,
#slider .slide-content .center {
    margin-right: auto;
    margin-left: auto;
}

#slider .slide-content .left {
    margin-left: 0;
}

#slider .slide-content .right {
    margin-right: 0;
}

#slider .slide-content .buttons .btn {
    min-height: 48px;
}

/* Section-specific alignment */
#about .about-copy,
#about .about-media {
    margin-right: auto;
    margin-left: auto;
}

/* Pastor welcome video */
#video.video-welcome {
    position: relative;
    overflow: hidden;
}

#video.video-welcome:before {
    content: '';
    position: absolute;
    top: -180px;
    left: 50%;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40, 123, 243, 0.13) 0%, rgba(40, 123, 243, 0) 68%);
    transform: translateX(-50%);
    pointer-events: none;
}

#video .video-intro {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin-right: auto;
    margin-bottom: 38px;
    margin-left: auto;
}

#video .video-intro h2 {
    max-width: 840px;
    margin-right: auto;
    margin-left: auto;
}

#video .video-lead {
    margin-top: 1.5rem;
    color: var(--secondary-p-color);
    line-height: 1.8;
}

#video .video-shell {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 22px 22px 38px 34px;
}

#video .video-shell:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 66px;
    left: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.045);
}

#video .video-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background-color: var(--header-bg-color);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

#video .video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#video .video-caption {
    position: relative;
    z-index: 2;
    width: calc(100% - 68px);
    margin: -28px auto 0;
    padding: 16px 20px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 6px;
    background-color: var(--header-bg-color);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
    text-align: left;
}

#video .video-caption strong,
#video .video-caption small {
    display: block;
}

#video .video-caption strong {
    color: var(--white-color);
    font-size: 0.95rem;
    line-height: 1.3;
}

#video .video-caption small {
    margin-top: 3px;
    color: var(--secondary-p-color);
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}

@media (max-width: 767px) {
    #video .video-intro {
        margin-bottom: 28px;
    }

    #video .video-lead {
        margin-top: 1.25rem;
        line-height: 1.7;
    }

    #video .video-shell {
        padding: 14px 0 28px 12px;
    }

    #video .video-shell:before {
        right: -12px;
        bottom: 48px;
    }

    #video .video-caption {
        width: calc(100% - 28px);
        margin-top: -22px;
        padding: 14px 16px;
    }
}

@media (max-width: 575px) {
    #video .video-shell {
        margin-right: 6px;
        padding-left: 8px;
    }

    #video .video-shell:before {
        right: -6px;
    }

    #video .video-caption {
        width: calc(100% - 20px);
    }
}

/* Current sermons */
#sermons.sermons-current {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-bg-color);
}

#sermons .sermons-live-panel {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-bottom: 78px;
    padding: 42px 44px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 4px solid var(--secondary-color);
    border-radius: 10px;
    background-color: var(--header-bg-color);
    box-shadow: 0 24px 60px rgba(18, 19, 22, 0.2);
}

#sermons .sermons-live-panel:after {
    content: '';
    position: absolute;
    top: -170px;
    right: -100px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40, 123, 243, 0.18) 0%, rgba(40, 123, 243, 0) 70%);
    pointer-events: none;
}

#sermons .sermons-live-panel > .row {
    position: relative;
    z-index: 1;
}

#sermons .sermons-live-copy {
    padding-right: 54px;
}

#sermons .sermons-live-label {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
}

#sermons .sermons-live-dot {
    position: relative;
    width: 9px;
    height: 9px;
    margin-right: 9px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

#sermons .sermons-live-dot:after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(40, 123, 243, 0.55);
    border-radius: 50%;
    animation: sermons-live-pulse 1.8s ease-out infinite;
}

@keyframes sermons-live-pulse {
    0% {
        opacity: 0.9;
        transform: scale(0.55);
    }
    75%,
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

#sermons .sermons-live-copy h2 {
    margin: 12px 0 16px;
    color: var(--white-color);
    font-size: 2.35rem;
    line-height: 1.2;
}

#sermons .sermons-live-copy > p {
    margin: 0;
    color: var(--secondary-p-color);
    line-height: 1.75;
}

#sermons .sermons-live-schedule {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

#sermons .sermons-live-schedule > div {
    min-width: 132px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.045);
}

#sermons .sermons-live-schedule small,
#sermons .sermons-live-schedule strong {
    display: block;
}

#sermons .sermons-live-schedule small {
    color: var(--secondary-color);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.8px;
}

#sermons .sermons-live-schedule strong {
    margin-top: 3px;
    color: var(--white-color);
    font-size: 1rem;
}

#sermons .sermons-live-player {
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    background-color: rgba(255, 255, 255, 0.055);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

#sermons .sermons-live-player-heading {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}

#sermons .sermons-live-player-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    margin-right: 14px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white-color);
}

#sermons .sermons-live-player-heading strong,
#sermons .sermons-live-player-heading small {
    display: block;
}

#sermons .sermons-live-player-heading strong {
    color: var(--white-color);
    font-size: 0.96rem;
}

#sermons .sermons-live-player-heading small {
    margin-top: 3px;
    color: var(--secondary-p-color);
    font-size: 0.72rem;
}

#sermons .sermons-live-audio {
    display: block;
    width: 100%;
    height: 54px;
    border-radius: 5px;
    color-scheme: dark;
    accent-color: var(--secondary-color);
}

#sermons .sermons-live-player-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#sermons .sermons-live-player-footer p {
    margin: 0;
    color: var(--secondary-p-color);
    font-size: 0.75rem;
    line-height: 1.5;
}

#sermons .sermons-live-player-footer p i {
    margin-right: 5px;
    color: var(--secondary-color);
}

#sermons .sermons-live-player-footer a {
    color: var(--white-color);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.55px;
    white-space: nowrap;
}

#sermons .sermons-live-player-footer a:hover,
#sermons .sermons-live-player-footer a:focus {
    color: var(--secondary-color);
}

#sermons .sermons-live-player-footer a i {
    margin-left: 5px;
}

#sermons .sermons-layout {
    position: relative;
    z-index: 1;
}

#sermons .sermons-photo-card {
    position: relative;
    max-width: 470px;
    margin: 0 auto;
    padding: 22px 34px 38px 20px;
}

#sermons .sermons-photo-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 70px;
    left: 0;
    border: 1px solid rgba(18, 19, 22, 0.08);
    border-radius: 10px;
    background-color: var(--primary-bg-color-2);
}

#sermons .sermons-photo-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    background-color: var(--secondary-bg-color);
    box-shadow: 0 22px 55px rgba(18, 19, 22, 0.18);
}

#sermons .sermons-photo-placeholder-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background-color: var(--secondary-bg-color-2);
}

#sermons .sermons-photo-caption {
    position: relative;
    z-index: 2;
    width: calc(100% - 58px);
    margin: -28px auto 0;
    padding: 16px 20px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 6px;
    background-color: var(--header-bg-color);
    box-shadow: 0 14px 35px rgba(18, 19, 22, 0.22);
}

#sermons .sermons-photo-caption strong,
#sermons .sermons-photo-caption small {
    display: block;
}

#sermons .sermons-photo-caption strong {
    color: var(--white-color);
    font-size: 0.95rem;
    line-height: 1.3;
}

#sermons .sermons-photo-caption small {
    margin-top: 3px;
    color: var(--secondary-p-color);
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}

#sermons .sermons-copy {
    max-width: 690px;
    margin-right: auto;
    margin-left: auto;
}

#sermons .sermons-lead {
    margin: 1.5rem 0 1.25rem;
    color: var(--primary-p-color);
    line-height: 1.8;
}

#sermons .sermons-scripture {
    margin: 0 0 1.75rem;
    padding: 17px 20px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 6px 6px 0;
    background-color: var(--primary-bg-color-2);
    text-align: left;
}

#sermons .sermons-scripture p {
    margin: 0;
    color: var(--primary-t-color);
    font-size: 1rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.7;
}

#sermons .sermons-scripture cite {
    display: block;
    margin-top: 8px;
    color: var(--secondary-color);
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.65px;
    text-transform: uppercase;
}

#sermons .sermons-player-card {
    overflow: hidden;
    border: 1px solid rgba(18, 19, 22, 0.1);
    border-radius: 10px;
    background-color: var(--white-color);
    box-shadow: 0 16px 42px rgba(18, 19, 22, 0.11);
}

#sermons .sermons-player-heading {
    display: flex;
    padding: 18px 20px;
    align-items: center;
    border-bottom: 1px solid rgba(18, 19, 22, 0.08);
    background-color: var(--header-bg-color);
    text-align: left;
}

#sermons .sermons-player-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    margin-right: 14px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white-color);
}

#sermons .sermons-player-heading strong,
#sermons .sermons-player-heading small {
    display: block;
}

#sermons .sermons-player-heading strong {
    color: var(--white-color);
    font-size: 0.92rem;
    line-height: 1.35;
}

#sermons .sermons-player-heading small {
    margin-top: 2px;
    color: var(--secondary-p-color);
    font-size: 0.72rem;
    letter-spacing: 0.25px;
}

#sermons .soundcloud-player {
    display: block;
    width: 100%;
    border: 0;
    background-color: var(--white-color);
}

#sermons .sermons-archive-bar {
    display: flex;
    margin-top: 64px;
    padding: 28px 32px;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    background-color: var(--header-bg-color);
    box-shadow: 0 18px 44px rgba(18, 19, 22, 0.18);
}

#sermons .sermons-archive-copy {
    max-width: 620px;
    padding-right: 28px;
}

#sermons .sermons-archive-copy h3 {
    margin: 8px 0 5px;
    color: var(--white-color);
    font-size: 1.45rem;
}

#sermons .sermons-archive-copy p {
    margin: 0;
    color: var(--secondary-p-color);
    line-height: 1.6;
}

#sermons .sermons-archive-button {
    min-width: 290px;
    margin: 0;
    color: var(--white-color);
    text-align: center;
}

@media (max-width: 991px) {
    #sermons .sermons-live-panel {
        padding: 38px;
    }

    #sermons .sermons-live-copy {
        padding-right: 15px;
    }

    #sermons .sermons-photo-card {
        max-width: 620px;
    }

    #sermons .sermons-copy {
        max-width: 720px;
    }

    #sermons .sermons-archive-bar {
        flex-direction: column;
        text-align: center;
    }

    #sermons .sermons-archive-copy {
        padding-right: 0;
    }

    #sermons .sermons-archive-button {
        margin-top: 22px;
    }
}

@media (max-width: 767px) {
    #sermons .sermons-live-panel {
        margin-bottom: 58px;
        padding: 32px 26px;
    }

    #sermons .sermons-live-copy h2 {
        font-size: 2rem;
    }

    #sermons .sermons-live-player-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    #sermons .sermons-photo-card {
        padding: 14px 0 28px 12px;
    }

    #sermons .sermons-photo-card:before {
        right: -12px;
        bottom: 48px;
    }

    #sermons .sermons-photo-caption {
        width: calc(100% - 28px);
        margin-top: -22px;
        padding: 14px 16px;
    }

    #sermons .sermons-lead {
        line-height: 1.7;
    }

    #sermons .sermons-scripture {
        padding: 16px 18px;
    }

    #sermons .soundcloud-player {
        height: 340px;
    }

    #sermons .sermons-archive-bar {
        margin-top: 48px;
        padding: 26px 22px;
    }
}

@media (max-width: 575px) {
    #sermons .sermons-live-panel {
        padding: 28px 20px;
    }

    #sermons .sermons-live-copy h2 {
        font-size: 1.72rem;
    }

    #sermons .sermons-live-schedule {
        gap: 9px;
    }

    #sermons .sermons-live-schedule > div {
        min-width: 0;
        flex: 1 1 0;
        padding: 11px 12px;
    }

    #sermons .sermons-live-player {
        padding: 20px 16px;
    }

    #sermons .sermons-live-player-heading small {
        line-height: 1.45;
    }

    #sermons .sermons-photo-card {
        margin-right: 6px;
        padding-left: 8px;
    }

    #sermons .sermons-photo-card:before {
        right: -6px;
    }

    #sermons .sermons-photo-caption {
        width: calc(100% - 20px);
    }

    #sermons .sermons-player-heading {
        padding: 15px 16px;
    }

    #sermons .sermons-scripture p {
        font-size: 0.95rem;
    }

    #sermons .soundcloud-player {
        height: 320px;
    }

    #sermons .sermons-archive-copy h3 {
        font-size: 1.28rem;
    }

    #sermons .sermons-archive-button {
        width: 100%;
        min-width: 0;
        max-width: 320px;
        white-space: normal;
        line-height: 1.45;
    }
}

/* Master sermons section */
#sermons.sermons-master {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-bg-color);
}

#sermons .sermon-master-intro {
    max-width: 900px;
    margin-right: auto;
    margin-bottom: 64px;
    margin-left: auto;
}

#sermons .sermon-master-intro h2 {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
}

#sermons .sermon-master-intro > div > p {
    max-width: 760px;
    margin: 1.4rem auto 0;
    color: var(--primary-p-color);
    line-height: 1.8;
}

#sermons .sermon-master-scripture {
    max-width: 760px;
    margin: 28px auto 0;
    padding: 18px 22px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 7px 7px 0;
    background-color: var(--primary-bg-color-2);
    text-align: left;
}

#sermons .sermon-master-scripture p {
    margin: 0;
    color: var(--primary-t-color);
    font-size: 1rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.65;
}

#sermons .sermon-master-scripture cite {
    display: block;
    margin-top: 7px;
    color: var(--secondary-color);
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

#sermons .sermon-master-live {
    position: relative;
    overflow: hidden;
    margin-bottom: 72px;
    padding: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--secondary-color);
    border-radius: 10px;
    background-color: var(--header-bg-color);
    box-shadow: 0 22px 55px rgba(18, 19, 22, 0.18);
}

#sermons .sermon-master-live:after {
    content: '';
    position: absolute;
    top: -185px;
    right: -110px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40, 123, 243, 0.16) 0%, rgba(40, 123, 243, 0) 70%);
    pointer-events: none;
}

#sermons .sermon-master-live > .row {
    position: relative;
    z-index: 1;
}

#sermons .sermon-master-live-copy {
    padding-right: 48px;
}

#sermons .sermon-master-step {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.1px;
}

#sermons .sermon-master-live-dot {
    position: relative;
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

#sermons .sermon-master-live-dot:after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(40, 123, 243, 0.55);
    border-radius: 50%;
    animation: sermon-master-pulse 1.8s ease-out infinite;
}

@keyframes sermon-master-pulse {
    0% {
        opacity: 0.9;
        transform: scale(0.55);
    }
    75%,
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

#sermons .sermon-master-live-copy h3 {
    margin: 12px 0 15px;
    color: var(--white-color);
    font-size: 2rem;
    line-height: 1.25;
}

#sermons .sermon-master-live-copy > p {
    margin: 0;
    color: var(--secondary-p-color);
    line-height: 1.75;
}

#sermons .sermon-master-schedule {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

#sermons .sermon-master-schedule > div {
    min-width: 132px;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.045);
}

#sermons .sermon-master-schedule small,
#sermons .sermon-master-schedule strong {
    display: block;
}

#sermons .sermon-master-schedule small {
    color: var(--secondary-color);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.8px;
}

#sermons .sermon-master-schedule strong {
    margin-top: 3px;
    color: var(--white-color);
    font-size: 0.96rem;
}

#sermons .sermon-master-live-player {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    background-color: rgba(255, 255, 255, 0.055);
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.2);
}

#sermons .sermon-master-player-heading,
#sermons .sermon-master-soundcloud-heading {
    display: flex;
    align-items: center;
    text-align: left;
}

#sermons .sermon-master-player-heading {
    margin-bottom: 20px;
}

#sermons .sermon-master-player-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    margin-right: 14px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white-color);
}

#sermons .sermon-master-player-heading strong,
#sermons .sermon-master-player-heading small,
#sermons .sermon-master-soundcloud-heading strong,
#sermons .sermon-master-soundcloud-heading small {
    display: block;
}

#sermons .sermon-master-player-heading strong,
#sermons .sermon-master-soundcloud-heading strong {
    color: var(--white-color);
    font-size: 0.94rem;
    line-height: 1.35;
}

#sermons .sermon-master-player-heading small,
#sermons .sermon-master-soundcloud-heading small {
    margin-top: 2px;
    color: var(--secondary-p-color);
    font-size: 0.72rem;
    line-height: 1.4;
}

#sermons .sermon-master-audio {
    display: block;
    width: 100%;
    height: 54px;
    border-radius: 5px;
    color-scheme: dark;
    accent-color: var(--secondary-color);
}

#sermons .sermon-master-live-note {
    margin: 17px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--secondary-p-color);
    font-size: 0.74rem;
    line-height: 1.55;
}

#sermons .sermon-master-live-note i {
    margin-right: 5px;
    color: var(--secondary-color);
}

#sermons .sermon-master-recorded-heading {
    max-width: 780px;
    margin-bottom: 32px;
}

#sermons .sermon-master-recorded-heading h3 {
    margin: 9px 0 7px;
    color: var(--primary-t-color);
    font-size: 1.75rem;
    line-height: 1.35;
}

#sermons .sermon-master-recorded-heading p {
    margin: 0;
    color: var(--primary-p-color);
    line-height: 1.7;
}

#sermons .sermon-master-recorded {
    margin-bottom: 72px;
}

#sermons .sermon-master-recorded > [class*="col-"] {
    display: flex;
}

#sermons .sermon-master-photo {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 540px;
    height: 100%;
    margin: 0;
    border: 1px solid rgba(18, 19, 22, 0.1);
    border-radius: 10px;
    background-color: var(--secondary-bg-color);
    box-shadow: 0 18px 46px rgba(18, 19, 22, 0.15);
}

#sermons .sermon-master-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

#sermons .sermon-master-photo:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 42%;
    background: linear-gradient(to top, rgba(18, 19, 22, 0.88), rgba(18, 19, 22, 0));
    pointer-events: none;
}

#sermons .sermon-master-photo figcaption {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 15px 18px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 5px;
    background-color: rgba(18, 19, 22, 0.88);
}

#sermons .sermon-master-photo figcaption strong,
#sermons .sermon-master-photo figcaption small {
    display: block;
}

#sermons .sermon-master-photo figcaption strong {
    color: var(--white-color);
    font-size: 0.94rem;
}

#sermons .sermon-master-photo figcaption small {
    margin-top: 3px;
    color: var(--secondary-p-color);
    font-size: 0.72rem;
}

#sermons .sermon-master-soundcloud {
    display: flex;
    overflow: hidden;
    width: 100%;
    min-height: 540px;
    flex-direction: column;
    border: 1px solid rgba(18, 19, 22, 0.1);
    border-radius: 10px;
    background-color: var(--white-color);
    box-shadow: 0 18px 46px rgba(18, 19, 22, 0.11);
}

#sermons .sermon-master-soundcloud-heading {
    min-height: 80px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: var(--header-bg-color);
}

#sermons .sermon-master-soundcloud-player {
    display: block;
    width: 100%;
    min-height: 460px;
    flex: 1 1 auto;
    border: 0;
    background-color: var(--white-color);
}

#sermons .sermon-master-archive {
    display: flex;
    padding: 30px 32px;
    align-items: center;
    border: 1px solid rgba(18, 19, 22, 0.09);
    border-left: 4px solid var(--secondary-color);
    border-radius: 9px;
    background-color: var(--primary-bg-color-2);
    box-shadow: 0 14px 36px rgba(18, 19, 22, 0.1);
}

#sermons .sermon-master-archive-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    margin-right: 20px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white-color);
}

#sermons .sermon-master-archive-copy {
    max-width: 650px;
    padding-right: 28px;
}

#sermons .sermon-master-archive-copy h3 {
    margin: 7px 0 4px;
    color: var(--primary-t-color);
    font-size: 1.42rem;
    line-height: 1.35;
}

#sermons .sermon-master-archive-copy p {
    margin: 0;
    color: var(--primary-p-color);
    line-height: 1.6;
}

#sermons .sermon-master-archive-button {
    min-width: 285px;
    margin: 0 0 0 auto;
    color: var(--white-color);
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    #sermons .sermon-master-live-dot:after {
        animation: none;
    }
}

@media (max-width: 991px) {
    #sermons .sermon-master-live {
        padding: 38px;
    }

    #sermons .sermon-master-live-copy {
        padding-right: 15px;
    }

    #sermons .sermon-master-recorded > [class*="col-"] {
        display: block;
    }

    #sermons .sermon-master-photo {
        max-width: 560px;
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 5;
        margin-right: auto;
        margin-left: auto;
    }

    #sermons .sermon-master-soundcloud {
        max-width: 760px;
        min-height: 0;
        margin-right: auto;
        margin-left: auto;
    }

    #sermons .sermon-master-archive {
        flex-wrap: wrap;
    }

    #sermons .sermon-master-archive-button {
        width: calc(100% - 72px);
        max-width: 320px;
        margin-top: 22px;
        margin-left: 72px;
    }
}

@media (max-width: 767px) {
    #sermons .sermon-master-intro {
        margin-bottom: 48px;
    }

    #sermons .sermon-master-live {
        margin-bottom: 56px;
        padding: 30px 26px;
    }

    #sermons .sermon-master-live-copy h3 {
        font-size: 1.7rem;
    }

    #sermons .sermon-master-recorded-heading {
        margin-bottom: 26px;
        text-align: center;
    }

    #sermons .sermon-master-recorded-heading h3 {
        font-size: 1.55rem;
    }

    #sermons .sermon-master-recorded {
        margin-bottom: 52px;
    }

    #sermons .sermon-master-soundcloud-player {
        min-height: 350px;
        height: 350px;
    }

    #sermons .sermon-master-archive {
        padding: 26px 24px;
    }
}

@media (max-width: 575px) {
    #sermons .sermon-master-intro > div > p {
        line-height: 1.7;
    }

    #sermons .sermon-master-scripture {
        padding: 16px 18px;
    }

    #sermons .sermon-master-scripture p {
        font-size: 0.94rem;
    }

    #sermons .sermon-master-live {
        padding: 26px 20px;
    }

    #sermons .sermon-master-schedule {
        gap: 8px;
    }

    #sermons .sermon-master-schedule > div {
        min-width: 0;
        flex: 1 1 0;
        padding: 10px 12px;
    }

    #sermons .sermon-master-live-player {
        padding: 20px 16px;
    }

    #sermons .sermon-master-player-icon {
        width: 40px;
        height: 40px;
        margin-right: 11px;
        flex-basis: 40px;
    }

    #sermons .sermon-master-player-heading small,
    #sermons .sermon-master-soundcloud-heading small {
        font-size: 0.68rem;
    }

    #sermons .sermon-master-photo figcaption {
        right: 14px;
        bottom: 14px;
        left: 14px;
        padding: 13px 15px;
    }

    #sermons .sermon-master-soundcloud-heading {
        min-height: 72px;
        padding: 15px 16px;
    }

    #sermons .sermon-master-soundcloud-player {
        min-height: 320px;
        height: 320px;
    }

    #sermons .sermon-master-archive {
        display: block;
        padding: 26px 20px;
        text-align: center;
    }

    #sermons .sermon-master-archive-icon {
        margin: 0 auto 16px;
    }

    #sermons .sermon-master-archive-copy {
        padding-right: 0;
    }

    #sermons .sermon-master-archive-copy h3 {
        font-size: 1.28rem;
    }

    #sermons .sermon-master-archive-button {
        width: 100%;
        min-width: 0;
        max-width: 320px;
        margin: 21px auto 0;
        white-space: normal;
        line-height: 1.45;
    }
}

#gallery .gallery.items {
    margin-right: -15px;
    margin-left: -15px;
}

#team .items .item:last-child {
    margin-bottom: 0;
}

#copyright p {
    margin-bottom: 0;
}

/* Compact navigation and full-height hero when the top bar is hidden. */
@media (max-width: 1199px) {
    body header .navbar-expand.sub,
    body header .navbar-sticky.sub {
        min-height: 88px;
        padding: 8px 20px;
    }

    body header .navbar-expand .container.header {
        padding: 0;
    }

    body header .navbar-expand .navbar-brand {
        max-width: min(260px, calc(100vw - 150px));
    }

    body header .navbar-expand .navbar-brand img {
        height: 66px;
    }

    #slider .slider-h-100.slider-h-auto,
    #slider .slider-h-auto .swiper-wrapper,
    #slider .slider-h-auto .swiper-slide {
        min-height: 100vh;
    }

    @supports (height: 100svh) {
        #slider .slider-h-100.slider-h-auto,
        #slider .slider-h-auto .swiper-wrapper,
        #slider .slider-h-auto .swiper-slide {
            min-height: 100svh;
        }
    }

    #slider .swiper-slide {
        padding-top: 96px;
        padding-bottom: 38px;
    }

    #slider .full-slider .inner {
        padding-right: 24px;
        padding-left: 24px;
    }
}

/* Tablet stacking and gutters */
@media (max-width: 991px) {
    body section:not(.hero) {
        padding-top: 82px;
        padding-bottom: 82px;
    }

    body section:not(.hero) > .container,
    body section:not(.hero) .overflow-holder > .container,
    body footer .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    #slider .slide-content .left,
    #slider .slide-content .right,
    #slider .slide-content .center {
        width: min(100%, 720px);
    }

    #about .about-copy,
    #about .about-media {
        max-width: 720px;
    }

    #about .about-copy {
        margin-bottom: 6px;
    }
}

/* Phone layout */
@media (max-width: 767px) {
    body section:not(.hero) {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    body section:not(.hero) > .container,
    body section:not(.hero) .overflow-holder > .container,
    body footer .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    body .intro {
        margin-bottom: 36px;
    }

    body header .navbar-expand.sub,
    body header .navbar-sticky.sub {
        min-height: 80px;
        padding: 8px 16px;
    }

    body header .navbar-expand .navbar-brand {
        max-width: calc(100vw - 126px);
    }

    body header .navbar-expand .navbar-brand img {
        height: 60px;
    }

    body header .navbar-expand .navbar-nav.icons .nav-link:not(.btn),
    body header .navbar-expand .navbar-nav.toggle .nav-link:not(.btn) {
        width: 40px;
        height: 40px;
    }

    #slider .swiper-slide {
        padding-top: 84px;
        padding-bottom: 32px;
    }

    #slider .full-slider .inner {
        padding-right: 22px;
        padding-left: 22px;
    }

    #slider .slide-content .left,
    #slider .slide-content .right,
    #slider .slide-content .center {
        width: 100%;
        max-width: 520px;
    }

    #slider .slide-content .title {
        margin-top: 0;
        margin-bottom: 20px;
        line-height: 1.06;
    }

    #slider .slide-content .title .pre-title {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    #slider .slide-content .description {
        max-width: 440px;
        margin-bottom: 0;
        line-height: 1.65;
    }

    #slider .full-slider.swiper-container-horizontal > .swiper-pagination-bullets {
        right: 12px;
    }

    #slider .swiper-pagination-bullet {
        width: 7px;
        height: 27px;
        margin: 5px 0 !important;
    }

    #about .about-copy,
    #about .about-body {
        max-width: 620px;
    }

    #about .about-media {
        max-width: 620px;
    }

    #team .items > .col-12 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    #team .items .item {
        margin-bottom: 38px;
        align-items: flex-start;
    }

    #team .items .item:last-child {
        margin-bottom: 38px;
    }

    #team .items > .col-12:last-child .item:last-child {
        margin-bottom: 0;
    }

    #units .text:not(:first-child) {
        margin-top: 38px;
    }
}

/* Small phones */
@media (max-width: 575px) {
    body header .navbar-expand.sub,
    body header .navbar-sticky.sub {
        min-height: 76px;
        padding-right: 14px;
        padding-left: 14px;
    }

    body header .navbar-expand .navbar-brand {
        max-width: calc(100vw - 116px);
    }

    body header .navbar-expand .navbar-brand img {
        height: 56px;
    }

    #slider .swiper-slide {
        padding-top: 80px;
        padding-bottom: 28px;
    }

    #slider .full-slider .inner {
        padding-right: 20px;
        padding-left: 20px;
    }

    #slider .slide-content .buttons {
        margin-top: 24px;
    }

    #slider .slide-content .buttons > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    #slider .slide-content .buttons .btn {
        width: 100%;
        max-width: 260px;
        margin: 0 !important;
    }

    #about .about-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    #team .items .item > .col-4 {
        flex: 0 0 112px;
        max-width: 112px;
        padding-right: 16px !important;
    }

    #team .items .item > .col-8 {
        max-width: calc(100% - 112px);
        flex: 0 0 calc(100% - 112px);
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 374px) {
    body header .navbar-expand .navbar-brand {
        max-width: calc(100vw - 108px);
    }

    body header .navbar-expand .navbar-brand img {
        height: 52px;
    }

    #slider .full-slider .inner {
        padding-right: 16px;
        padding-left: 16px;
    }
}
