/* "Worship Services" landing block (times, places and the translation notice). The block's HTML
   is edited in the dashboard, so icons come from CSS classes here: an empty <i> icon would be
   dropped by the text editor the next time the block is saved. */
.worship-services-section {
    --worship-accent: #0cbaa4;
    --worship-accent-dark: #088a79;
    --worship-ink: #2e3e4e;
    --worship-muted: #6b7680;
}

.worship-card {
    height: 100%;
    padding: 1.5rem 1.25rem 1.25rem;
    background: #fff;
    border-top: 4px solid var(--worship-accent);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(46, 62, 78, .08);
    text-align: center;
}

.worship-card h3 {
    margin: 0 0 .35rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--worship-ink);
}

.worship-card h3::before {
    display: block;
    margin: 0 auto .75rem;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--worship-accent);
}

.worship-adults h3::before { content: "\f51d"; } /* church */
.worship-youth h3::before { content: "\f0c0"; } /* users */
.worship-kids h3::before { content: "\f1ae"; } /* children */
.worship-wednesday h3::before { content: "\f647"; } /* book-bible */
.worship-friday h3::before { content: "\f684"; } /* hands-praying */
.worship-morning h3::before { content: "\f185"; } /* sun */

.worship-card p {
    margin: 0;
}

.worship-who {
    margin-bottom: .6rem !important;
    color: var(--worship-accent);
    font-weight: 600;
}

.worship-when,
.worship-where {
    color: #555;
}

.worship-when::before,
.worship-where::before {
    margin-right: .4rem;
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    color: var(--worship-accent);
}

.worship-when::before { content: "\f017"; } /* clock */
.worship-where::before { content: "\f3c5"; font-weight: 900; } /* location-dot */

/* Translation notice, laid out like worship look 02: a white card with the icon and title, the text,
   and the button on the right; on smaller screens the text and button go underneath the title.
   The block HTML is heading, text paragraph, button paragraph, so the order below relies on that. */
.worship-translation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.25rem;
    margin-top: 1.5rem;
    padding: 1.1rem 1.4rem;
    border-left: 5px solid var(--worship-accent);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(46, 62, 78, .08);
    text-align: left;
}

.worship-translation h3 {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--worship-ink);
}

.worship-translation h3::before {
    content: "\f1ab"; /* language */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--worship-accent);
}

.worship-translation p {
    flex: 1 1 100%;
    order: 3;
    margin: 0;
    color: var(--worship-muted);
}

.worship-translation p:last-child {
    flex: 0 0 auto;
    order: 4;
}

.worship-translation .btn-theme {
    white-space: nowrap;
}

@media (min-width: 992px) {
    .worship-translation p {
        flex: 1 1 0;
        order: 0;
    }

    .worship-translation p:last-child {
        order: 0;
        margin-left: auto;
    }
}

.dark .worship-card,
.dark .worship-translation {
    background: rgba(255, 255, 255, .06);
}

.dark .worship-card h3 {
    color: inherit;
}

.dark .worship-translation h3 {
    color: #fff;
}

.dark .worship-translation p {
    color: rgba(255, 255, 255, .7);
}

.dark .worship-when,
.dark .worship-where {
    color: inherit;
    opacity: .85;
}
