/* Advent Search hero — scoped port of 20.0/assets/css/styles.css (index.html) */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

.chs-hero-carousel {
    --chs-navy: #1a2744;
    --chs-gold: #b8860b;
    --chs-gold-lt: #d4a017;
    --chs-panel-lite: #f2ede5;
    --chs-font-nav: 'Cinzel', serif;
    --chs-font-body: 'EB Garamond', serif;
    --chs-radius: 4px;
    --chs-transition: .25s ease;
    --chs-hero-height: 625px;
    --chs-calendar-focus-y: 19%;

    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--chs-font-body);
}

.chs-hero-carousel *,
.chs-hero-carousel *::before,
.chs-hero-carousel *::after {
    box-sizing: border-box;
}

.chs-hero-carousel .container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.chs-hero-carousel .hero {
    position: relative;
    overflow: hidden;
    display: block;
    background: #1a2332;
}

.chs-hero-carousel .hero-slides {
    position: relative;
    width: 100%;
    height: var(--chs-hero-height);
}

.chs-hero-carousel .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    height: 100% !important;
    min-height: 0 !important;
}

.chs-hero-carousel .hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.chs-hero-carousel .hero-slide-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Crop frame when PHP has not yet added hero-slide-media wrapper (legacy markup). */
.chs-hero-carousel .hero-slide-calendar,
.chs-hero-carousel .hero-slide-church {
    overflow: hidden;
}

.chs-hero-carousel .hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.chs-hero-carousel .hero-slide.active img {
    opacity: 1;
}

/* Standard slides only: Ken Burns zoom */
.chs-hero-carousel .hero-slide-standard .hero-slide-media {
    transform: scale(1.08);
    transition: transform 1.8s ease;
}

.chs-hero-carousel .hero-slide-standard.active .hero-slide-media {
    transform: scale(1);
}

/*
 * Church slide: anchor top — no change.
 */
.chs-hero-carousel .hero-slide-church .hero-slide-media img,
.chs-hero-carousel .hero-slide-church > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
    opacity: 1 !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: none !important;
}

/*
 * Calendar slide: nudge down — trim a little sky, reveal more building base.
 */
.chs-hero-carousel .hero-slide-calendar .hero-slide-media img,
.chs-hero-carousel .hero-slide-calendar > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% var(--chs-calendar-focus-y);
    opacity: 1 !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: none !important;
}

/* Crossfade: freeze both frames — no zoom drift */
.chs-hero-carousel.chs-blending .hero-slide-standard .hero-slide-media {
    transform: scale(1) !important;
    transition: none !important;
}

.chs-hero-carousel.chs-blending .hero-slide img {
    opacity: 1 !important;
    transition: none !important;
}

.chs-hero-carousel.chs-blending .hero-slide-calendar .hero-slide-media img,
.chs-hero-carousel.chs-blending .hero-slide-calendar > img {
    inset: 0;
    height: 100%;
    object-position: 50% var(--chs-calendar-focus-y);
    transform: translateZ(0);
}

.chs-hero-carousel.chs-blending .hero-slide-church .hero-slide-media img,
.chs-hero-carousel.chs-blending .hero-slide-church > img {
    inset: 0;
    height: 100%;
    object-position: 50% 0%;
    transform: translateZ(0);
}

.chs-hero-carousel .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(32, 26, 22, .78) 0%,
        rgba(38, 30, 24, .66) 42%,
        rgba(45, 35, 28, .34) 67%,
        rgba(45, 35, 28, .08) 100%
    );

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: opacity 1s ease;
    transition-delay: 0s;
}

.chs-hero-carousel .hero-slide.active .hero-overlay {
    opacity: 1;
}

.chs-hero-carousel .hero-content {
    max-width: 780px;
    padding: 48px 56px;
    text-align: center;

    opacity: 0;
    transform: translateY(50px);
}
.chs-hero-carousel .hero-slide.active .hero-content {
    animation: heroTextReveal 1.2s ease forwards;
    animation-delay: 1s;
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chs-hero-carousel .hero-content h1 {
    margin: 0 0 14px;
    font-family: var(--chs-font-nav);
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
    color: #fff;
    font-size: clamp(2.2rem, 4.1vw, 3.35rem);
    text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}

.chs-hero-carousel .hero-content p,
.chs-hero-carousel .hero-subtitle {
    color: rgba(255, 255, 255, .92);
    font-size: 1.22rem;
    margin: 0 0 22px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
}

.chs-hero-carousel .hero-subtitle {
    font-family: 'Bodoni 72 Oldstyle', 'Bodoni MT', 'Didot', 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: .02em;
    font-size: 1.34rem;
}

.chs-hero-carousel .hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.chs-hero-carousel .hero-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    min-width: 185px;
}

.chs-hero-carousel .btn {
    display: inline-block;
    padding: 11px 28px;
    border-radius: var(--chs-radius);
    font-family: var(--chs-font-nav);
    font-size: .88rem;
    letter-spacing: .08em;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--chs-transition);
    text-align: center;
    text-decoration: none;
}

.chs-hero-carousel .hero-btns .btn {
    min-width: 205px;
}

.chs-hero-carousel .btn-primary {
    background: var(--chs-gold);
    color: #fff;
    border-color: var(--chs-gold);
}

.chs-hero-carousel .btn-primary:hover {
    background: var(--chs-gold-lt);
    border-color: var(--chs-gold-lt);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, .35);
}

.chs-hero-carousel .btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.chs-hero-carousel .btn-outline:hover,
.chs-hero-carousel .hero-btn-secondary:hover {
    background: #fff;
    color: var(--chs-navy);
    transform: translateY(-2px);
}

.chs-hero-carousel .hero-btn-secondary {
    color: #fff;
    border-color: #fff;
}

.chs-hero-carousel .hero-btn-note {
   font-family: "Georgia", Sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #f8f2e8;
}

.chs-hero-carousel .carousel-caption-wrap {
    background: #e2d7c7;
    padding: 14px 0 12px;
    border-top: 1px solid rgba(82, 61, 30, .08);
}

.chs-hero-carousel .carousel-caption-stack {
    display: grid;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.chs-hero-carousel .carousel-caption {
    grid-area: 1 / 1;
    background: transparent;
    color: #4f463c;
    font-size: 1rem;
    font-style: normal;
    font-family: "Georgia", Sans-serif;
    text-align: center;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s linear 1s;
}

.chs-hero-carousel .carousel-caption.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease;
}

.chs-hero-carousel .carousel-caption a {
    color: var(--chs-gold);
    text-decoration: none;
}

.chs-hero-carousel .carousel-caption a:hover {
    text-decoration: underline;
}

.chs-hero-carousel .carousel-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    background: #e2d7c7;
}

.chs-hero-carousel .carousel-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: rgba(47, 42, 35, .25);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    line-height: 0;
    font-size: 0;
    transition: background var(--chs-transition);
}

.chs-hero-carousel .carousel-dot.active {
    background: var(--chs-gold);
}

.chs-hero-carousel .carousel-dot:hover {
    opacity: 0.85;
}

.chs-hero-carousel.servant-preview .hero-overlay,
body.servant-preview .chs-hero-carousel .hero-overlay {
    background: transparent;
}

.chs-hero-carousel.servant-preview .hero-content,
body.servant-preview .chs-hero-carousel .hero-content {
    display: none;
}

.elementor-widget-shortcode .chs-hero-carousel,
.elementor-element .chs-hero-carousel {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
}

.elementor-section:has(.chs-hero-carousel) {
    overflow: visible !important;
}

@media (max-width: 768px) {
    .chs-hero-carousel {
        --chs-hero-height: 540px;
    }

    .chs-hero-carousel .hero-content {
        padding: 34px 26px;
    }

    .chs-hero-carousel .hero-btns .btn {
        min-width: 180px;
    }
}

@media (max-width: 600px) {
    .chs-hero-carousel .hero-content {
        padding: 28px 20px;
    }

    .chs-hero-carousel .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .chs-hero-carousel .hero-btn-stack {
        min-width: 0;
        width: 100%;
        align-items: center;
    }

    .chs-hero-carousel .hero-btns .btn {
        display: block;
        width: min(100%, 260px);
        min-width: 0;
        margin: 0 auto;
    }

    .chs-hero-carousel .hero-btn-note {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chs-hero-carousel .hero-slide,
    .chs-hero-carousel .hero-overlay,
    .chs-hero-carousel .hero-content,
    .chs-hero-carousel .carousel-caption {
        transition: none !important;
        animation: none !important;
    }
}

/* Auth forms */
/* .chs-auth-page {
    background: #d8d2c9;
    padding: 48px 16px;
    min-height: 100vh;
} */

.chs-auth-page .container {
    max-width: 100%;
    margin: 0 auto;
}

.chs-auth-page .form-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
    padding: 40px 44px;
    margin: 0 auto;
}

.chs-auth-page .ux-003 {
    text-align: center;
}

.chs-auth-page .ux-039 {
   height: 48px;
    margin: 0 auto 12px;
    width: auto;
    display: block;
}

.chs-auth-page h2 {
    margin: 0 0 6px;
    color: #1a2744;
   font-size: clamp(1.55rem, 2.8vw, 2.25rem);
   font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
}

.chs-auth-page .sub {
   color: #6f675d;
    font-size: .93rem;
    margin-bottom: 26px;
}

.chs-auth-page .alert {
    padding: 11px 16px;
    border-radius:4px;
    font-size: .95rem;
    margin-bottom: 18px;
}

.chs-auth-page .alert-info {
   background: #e8f0fe;
    border: 1px solid #b3c8f8;
    color: #1a4091;
    
}

.chs-auth-page .alert-warn {
    background: #fff1f1;
    border: 1px solid #de8f8f;
    color: #8b1f1f;
}

.chs-auth-page .form-group {
    margin-bottom: 18px;
}

.chs-auth-page label {
  display: block;
    font-family: Georgia, 'Times New Roman', serif;;
    font-size: .84rem;
    letter-spacing: .06em;
    color: #1a2744;
    margin-bottom: 5px;
    font-weight: 600;
}

.chs-auth-page .input-icon {
    position: relative;
}


.chs-auth-page input[type="email"],
.chs-auth-page input[type="password"],
.chs-auth-page input[type="text"] {
    width: 100%;
   width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #d2c5b2;
    border-radius: 4px;
    font-family: Georgia, 'Times New Roman', serif;;
    font-size: 1.05rem;
    color: #332d26;
    background: #f7f1e8;
    line-height: 1!important;
}
.input-icon input{
    padding-left: 36px!important;
}
.chs-auth-page .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.9;
    font-size: .95rem;
    color: #6f675d;
}
.chs-auth-page .ux-040 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 10px 0 18px;
}

.chs-auth-page .checkbox-label {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 1rem;
        line-height: 1.75;
    font-weight: 400;
    color: #6f675d;
}

.chs-auth-page .checkbox-label input {
    width: 18px;
    height: 18px;
}

.chs-auth-page .ux-041 {
    color: #b8860b;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
}

.chs-auth-page .btn {
    display: inline-block;
    padding: 11px 28px;
    border-radius:4px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .88rem;
    letter-spacing: .08em;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .25s ease;
    text-align: center;
    width: 100%;
    line-height: 1.2;
}

.chs-auth-page .btn-primary {
    background: #b8860b;
    color: #fff;
}

.chs-auth-page .btn-primary:hover{
    background-color: #d4a017;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, .35);

}
.chs-auth-page .btn-navy {
    background: #1a2744;
    color: #fff;
}
.chs-auth-page .btn-navy:hover{
    background-color: #253660;
     transform: translateY(-2px);
}
.chs-auth-page .btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.chs-auth-page .form-divider {
    display: flex;
    align-items: center;
    color: #6d675f;
    margin: 24px 0;
    gap: 30px;
    font-size: 1rem;
    color: #6f675d;
}

.chs-auth-page .form-divider::before,
.chs-auth-page .form-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid #c9c1b5;
}

.chs-auth-page .form-note {
   font-size: .95rem;
    color: #6f675d;
    margin: 14px 0px;
    text-align: center;
    font-family:  Georgia, 'Times New Roman', serif;;
}

.chs-auth-page .form-note a {
    color: #b8860b;
    text-decoration: none;
    font-weight: 600;
}

.chs-auth-page .role-guide-box {
  background: #e8f0fe;
    border: 1px solid #b3c8f8;
    color: #1a4091;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.chs-auth-page .role-guide-box strong {
    color: #14397e;
}

.chs-auth-page .ux-117 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.chs-auth-page .role-option {
   border: 2px solid #d2c5b2;
    border-radius: 6px;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    transition: all .22s ease;
    background: #ffffff;
}

.chs-auth-page .role-option.active {
   border-color:#b8860b;
    background: #fff8e1;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, .15);
}

.chs-auth-page .role-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.chs-auth-page .role-title {
   font-weight: 600;
    color: #1a2744;
    margin-bottom: 4px;
    letter-spacing: .02em;
    font-size: 19px;
    line-height: 1.75;
    font-family: 'Bodoni 72 Oldstyle', 'Bodoni MT', 'Didot', 'Times New Roman', serif;
}

.chs-auth-page .role-desc {
    font-size: .82rem;
    color: #6f675d;
    line-height: 1.75;
    margin-top: 4px;
}

.chs-auth-page .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.chs-auth-page .ux-091 {
    display: block;
   font-size: 1rem;
    font-weight: 500;
    color: #6f675d;
    margin-bottom: 20px;
   line-height: 1.75;
   letter-spacing: normal;
}

.chs-auth-page .ux-091 input {
    margin-right: 6px;
    width: 17px;
    height: 17px;
    vertical-align: middle;
}

.chs-auth-page .ux-092 {
    color: #b8860b;
    font-weight: 600;
    text-decoration: none;
}

.chs-auth-page .chs-payment-step {
    margin-top: 8px;
}

.chs-auth-page .chs-payment-step h3 {
    margin: 0 0 8px;
    color: #1a2744;
    font-family: 'Cinzel', serif;
    font-size: 32px;
}

.chs-auth-page #chs-stripe-card-element {
    background: #fff;
    border: 1px solid #a7b6cd;
    border-radius: 4px;
    padding: 14px;
    margin: 14px 0;
}

.chs-auth-page .chs-registration-success {
    margin-bottom: 16px;
}

.chs-auth-page #chsBackToRegisterBtn {
    margin-top: 10px;
}

.chs-success-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.chs-success-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 39, 68, 0.55);
}

.chs-success-modal__dialog {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.chs-success-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #2e7d32;
    color: #fff;
    font-size: 36px;
    line-height: 64px;
    font-weight: 700;
}

.chs-success-modal__dialog h3 {
    margin: 0 0 12px;
    color: #1a2744;
    font-family: 'Cinzel', serif;
    font-size: 28px;
}

.chs-success-modal__dialog p {
    color: #57534c;
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 20px;
}

body.chs-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    /* .chs-auth-page .sub,
    .chs-auth-page label,
    .chs-auth-page .checkbox-label,
    .chs-auth-page .role-guide-box,
    .chs-auth-page .role-desc,
    .chs-auth-page .ux-091,
    .chs-auth-page .ux-041,
    .chs-auth-page .btn,
    .chs-auth-page .form-divider,
    .chs-auth-page .form-note,
    .chs-auth-page input[type="email"],
    .chs-auth-page input[type="password"],
    .chs-auth-page input[type="text"] { font-size: 26px; } */
}

@media (max-width: 640px) {
    .chs-auth-page .form-card { padding: 24px 18px; }
    /* .chs-auth-page .ux-117 { grid-template-columns: 1fr; } */
    .chs-auth-page .form-row { grid-template-columns: 1fr; }
    .chs-auth-page .sub,
    .chs-auth-page label,
    .chs-auth-page .checkbox-label,
    .chs-auth-page .role-guide-box,
    
}
.hero-overlay .container{
    min-height: var(--chs-hero-height);
}
@media(max-width:768px){
    .hero-overlay .container{
    min-height: 540px;
}
.chs-hero-carousel .hero-overlay{
    align-items: flex-start;
}
}

input:-internal-autofill-selected {
    appearance: menulist-button;
    background-image: none !important;
    background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important;
    color: fieldtext !important;
}
.ux-044{
    margin-bottom: 8px;
}