#myCarousel.carousel {
    margin-bottom: 0;
}

.amen-section {
    padding: 5rem 0;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    border-top: 1px solid var(--amen-line);
}

.amen-section h2 {
    font-size: 2.15rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.35;
    margin: 0 0 0.85rem;
    color: var(--amen-title);
    overflow-wrap: break-word;
    word-break: keep-all;
}

.amen-lead {
    max-width: 36rem;
    color: var(--amen-ink);
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.amen-split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
    gap: 4rem;
    align-items: start;
}

.amen-split > * {
    min-width: 0;
}

.amen-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 0.5rem;
}

.amen-section-head > div {
    min-width: 0;
    flex: 1 1 12rem;
}

.amen-section-head h2 {
    margin-bottom: 0;
}

.amen-times {
    background: #1b3764;
    color: #fff;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    border-bottom: 0;
}

.amen-times-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: stretch;
}

.amen-times-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 0;
    padding: 1.85rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.amen-times-grid .amen-text-link {
    justify-self: center;
    align-self: center;
    margin: 0 0.5rem 0 1.75rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
}

.amen-times-grid .amen-text-link:hover,
.amen-times-grid .amen-text-link:focus {
    background: #fff;
    color: #1b3764;
    border-color: #fff;
}

.amen-times-item span {
    display: block;
    font-size: clamp(0.7rem, 0.5rem + 0.9vw, 0.9rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 0.4rem;
}

.amen-times-item strong {
    display: block;
    font-size: clamp(0.92rem, 0.5rem + 2.2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.amen-times-marquee {
    display: none;
    overflow: hidden;
}

.amen-times-track {
    display: flex;
    width: max-content;
    animation: amenTimesMarquee 28s linear infinite;
}

.amen-times-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.5rem;
    min-width: 100vw;
    box-sizing: border-box;
}

.amen-times-tag {
    display: inline-flex;
    align-items: baseline;
    flex: 0 0 auto;
    gap: 0.4rem;
    padding: 0.42rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.86rem;
    line-height: 1.3;
    white-space: nowrap;
    text-decoration: none;
}

.amen-times-tag span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
}

.amen-times-tag strong {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.amen-times-tag-link {
    background: #fff;
    border-color: #fff;
    color: #1b3764;
    font-weight: 600;
}

.amen-times-tag-link:hover,
.amen-times-tag-link:focus {
    color: #1b3764;
    background: #fff;
    border-color: #fff;
}

@keyframes amenTimesMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.amen-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #111;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    border-bottom: 0;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.amen-text-link:hover,
.amen-text-link:focus {
    opacity: 1;
    text-decoration: none;
    background: #1b3764;
    color: #fff;
    box-shadow: none;
}

.amen-text-link::after {
    content: "→";
    font-weight: 500;
}

.amen-facts {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    border-top: 1px solid #111;
}

.amen-facts li {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--amen-line);
}

.amen-facts-num {
    font-size: 0.92rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    padding-top: 0.15rem;
}

.amen-facts h3 {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    color: var(--amen-title);
}

.amen-facts p {
    margin: 0;
    color: var(--amen-muted);
    line-height: 1.7;
}

.amen-info {
    border-top: 1px solid #111;
}

.amen-info dl {
    margin: 0;
}

.amen-info-row {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--amen-line);
}

.amen-info dt {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
}

.amen-info dd {
    margin: 0;
    color: var(--amen-ink);
    line-height: 1.7;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.amen-info a {
    color: inherit;
    text-decoration: none;
}

.amen-info a:hover {
    text-decoration: underline;
}

.amen-info .amen-text-link {
    margin-top: 1.4rem;
}

.amen-info .amen-text-link:hover {
    text-decoration: none;
    color: #fff;
}

.amen-parallax {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-top: 0;
    color: #fff;
    padding: 6.5rem 0;
}

.amen-parallax-band {
    padding: 0;
}

.amen-parallax-band > .amen-section {
    position: relative;
    z-index: 1;
    background: transparent;
    border-top-color: rgba(255, 255, 255, 0.18);
}

.amen-parallax-band > .amen-section:first-of-type {
    border-top: 0;
    padding-top: 6.5rem;
}

.amen-parallax-band > .amen-section:last-of-type {
    padding-bottom: 6.5rem;
}

.amen-parallax-bg {
    position: absolute;
    left: 0;
    width: 100%;
    top: -40%;
    height: 180%;
    z-index: 0;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

.amen-parallax-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(12, 18, 32, 0.72) 0%,
        rgba(12, 18, 32, 0.58) 48%,
        rgba(12, 18, 32, 0.5) 100%
    );
}

.amen-parallax-bg-intro {
    background-image: url("/img/11.jpeg");
}

.amen-parallax-bg-youtube {
    background-image: url("/img/22.jpeg");
}

.amen-parallax-bg-visit {
    background-image: url("/img/1122.jpeg");
}

.amen-parallax-bg-worship {
    background-image: url("/img/2233.jpeg");
}

.amen-parallax-bg-schedule-visit {
    background-image: url("/img/2244.jpeg");
}

.amen-parallax-content {
    position: relative;
    z-index: 1;
}

.amen-parallax h2,
.amen-parallax .amen-lead,
.amen-parallax .amen-facts-num,
.amen-parallax .amen-facts h3,
.amen-parallax .amen-info dt {
    color: #fff;
}

.amen-parallax .amen-facts p,
.amen-parallax .amen-info dd,
.amen-parallax .amen-info a {
    color: rgba(255, 255, 255, 0.88);
}

.amen-parallax .amen-facts {
    border-top-color: rgba(255, 255, 255, 0.42);
}

.amen-parallax .amen-facts li,
.amen-parallax .amen-info-row {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.amen-parallax .amen-info {
    border-top-color: rgba(255, 255, 255, 0.42);
}

.amen-parallax .amen-text-link {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
}

.amen-parallax .amen-text-link:hover,
.amen-parallax .amen-text-link:focus {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.amen-notice-list {
    margin-top: 0.5rem;
    border-top: 1px solid #111;
}

.amen-notice-item {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: baseline;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--amen-line);
    color: var(--amen-ink);
    text-decoration: none;
}

.amen-notice-item:hover {
    color: var(--amen-ink);
}

.amen-notice-item:hover .amen-notice-title {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.amen-notice-item time {
    color: var(--amen-muted);
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

.amen-notice-title {
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.5;
    color: var(--amen-title);
    min-width: 0;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.amen-empty {
    padding: 1.4rem 0;
    color: var(--amen-muted);
    margin: 0;
    border-bottom: 1px solid var(--amen-line);
}

.amen-notices {
    background: #1b3764;
    color: #fff;
    border-top: 0;
}

.amen-notices h2 {
    color: #fff;
}

.amen-notices .amen-notice-list {
    border-top-color: rgba(255, 255, 255, 0.42);
}

.amen-notices .amen-notice-item,
.amen-notices .amen-notice-item:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.amen-notices .amen-notice-item time,
.amen-notices .amen-empty {
    color: rgba(255, 255, 255, 0.78);
}

.amen-notices .amen-notice-title {
    color: #fff;
}

.amen-notices .amen-empty {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.amen-notices .amen-text-link {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
}

.amen-notices .amen-text-link:hover,
.amen-notices .amen-text-link:focus {
    background: #fff;
    color: #1b3764;
    border-color: #fff;
}

.amen-media p {
    margin-bottom: 1.35rem;
}

@media (max-width: 991.98px) {
    .amen-split,
    .amen-notice-item {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .amen-times-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .amen-times-item {
        padding: 1.1rem 0.4rem;
    }

    .amen-times-item:nth-child(3) {
        border-right: 0;
    }

    .amen-times-item strong {
        white-space: normal;
        font-size: clamp(0.92rem, 2.8vw, 1.2rem);
    }

    .amen-times-grid .amen-text-link {
        grid-column: 1 / -1;
        justify-self: start;
        margin: 1.1rem 0 1.25rem;
    }

    .amen-section {
        padding: 3.5rem 0;
    }

    .amen-parallax {
        padding: 4.5rem 0;
    }

    .amen-parallax-band {
        padding: 0;
    }

    .amen-parallax-band > .amen-section:first-of-type {
        padding-top: 4.5rem;
    }

    .amen-parallax-band > .amen-section:last-of-type {
        padding-bottom: 4.5rem;
    }

    .amen-split {
        gap: 0.65rem;
    }
}

@media (max-width: 575.98px) {
    .amen-section {
        padding: 2.5rem 0;
    }

    .amen-parallax {
        padding: 3.25rem 0;
    }

    .amen-parallax-band {
        padding: 0;
    }

    .amen-parallax-band > .amen-section:first-of-type {
        padding-top: 3.25rem;
    }

    .amen-parallax-band > .amen-section:last-of-type {
        padding-bottom: 3.25rem;
    }

    .amen-section h2 {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 0.35rem;
    }

    .amen-lead,
    .amen-facts p,
    .amen-info dd {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .amen-facts h3,
    .amen-notice-title,
    .amen-person p {
        font-size: 1.02rem;
    }

    .amen-facts li,
    .amen-info-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
}

.amen-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.amen-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .amen-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .amen-parallax-bg {
        top: 0;
        height: 100%;
        transform: none !important;
        will-change: auto;
    }

    .amen-times-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
        justify-content: center;
    }

    .amen-times-group:last-child {
        display: none;
    }

    .amen-times-group {
        min-width: 0;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.65rem 0.75rem;
    }
}

.amen-motto {
    font-size: clamp(1.45rem, 1rem + 1.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.4;
    margin: 0;
    color: var(--amen-title);
}

.amen-photo {
    display: block;
    width: 100%;
    max-height: 28rem;
    object-fit: cover;
    margin-top: 1.75rem;
}

.amen-photo-first {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.amen-people {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    margin: 0.5rem 0 0;
    padding: 1.75rem 0 0;
    border-top: 1px solid #111;
}

.amen-person {
    min-width: 0;
}

.amen-person img {
    display: block;
    width: 100%;
    max-width: 11rem;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 1rem;
}

.amen-person h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--amen-muted);
    margin: 0 0 0.35rem;
}

.amen-person p {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

@media (max-width: 767.98px) {
    .amen-times-desk {
        display: none;
    }

    .amen-times-marquee {
        display: block;
    }

    .amen-section-head {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: 0.65rem 1rem;
        margin: 0 0 0.35rem;
    }

    .amen-section-head > div {
        flex: 1 1 auto;
        min-width: 0;
    }

    .amen-section .amen-section-head h2 {
        margin: 0;
        line-height: 1.3;
    }

    .amen-section-head .amen-text-link {
        flex: 0 0 auto;
        align-self: flex-end;
        padding: 0.35rem 0.7rem;
        font-size: 0.88rem;
    }

    .amen-section-head + .amen-notice-list,
    .amen-section-head + .amen-info,
    .amen-section-head + .amen-schedule,
    .amen-section-head + .amen-people,
    .amen-section-head + .amen-search {
        margin-top: 0.35rem;
    }

    .amen-notice-list .amen-notice-item:first-child {
        padding-top: 0.8rem;
    }

    .amen-info-row:first-child {
        padding-top: 0.8rem;
    }

    .amen-notice-list,
    .amen-info,
    .amen-schedule {
        margin-top: 0.35rem;
    }

    .amen-facts {
        margin-top: 0.85rem;
    }

    .amen-media p {
        margin-bottom: 0.7rem;
    }

    .amen-info .amen-text-link {
        margin-top: 0.85rem;
    }

    .amen-people {
        grid-template-columns: 1fr;
        gap: 1.3rem;
        margin-top: 0.35rem;
        padding-top: 1.15rem;
    }

    .amen-person img {
        max-width: 8.5rem;
        margin-bottom: 0.7rem;
    }
}

.amen-map {
    width: 100%;
    height: 28rem;
    background: #f3f3f3;
}

@media (max-width: 575.98px) {
    .amen-motto {
        font-size: 1.3rem;
    }

    .amen-photo {
        max-height: 16rem;
        margin-top: 0.7rem;
    }

    .amen-map {
        height: 16rem;
    }

    .amen-notice-list,
    .amen-info {
        margin-top: 0.35rem;
    }

    .amen-facts {
        margin-top: 0.75rem;
    }

    .amen-media p {
        margin-bottom: 0.7rem;
    }

    .amen-info .amen-text-link {
        margin-top: 0.85rem;
    }
}
