/* Weekly Devotion public presentation. Intentionally inherits the active theme's typography and colors. */
.weekly-devotion,
.weekly-devotion-archive,
.weekly-devotion-subscribe {
    box-sizing: border-box;
}

.weekly-devotion *,
.weekly-devotion-archive *,
.weekly-devotion-subscribe * {
    box-sizing: border-box;
}

.wd-card {
    max-width: 820px;
    margin: 2rem auto;
    padding: clamp(1.35rem, 3vw, 3rem);
    border: 1px solid rgba(127,127,127,.28);
    border-radius: 14px;
    background: rgba(127,127,127,.025);
    box-shadow: 0 12px 34px rgba(0,0,0,.07);
}

.wd-kicker {
    margin: 0 0 .65rem;
    font-size: .72rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .62;
}

.wd-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wd-header .wd-kicker {
    text-align: center;
}

.wd-designation {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.35;
}

.wd-date {
    margin-top: .2rem;
    font-size: .95rem;
    opacity: .72;
}

.wd-title {
    margin: 1.15rem 0 .9rem;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    line-height: 1.12;
}

.wd-title-rule,
.wd-signature-rule {
    width: 70px;
    height: 2px;
    margin: 1rem auto 0;
    background: currentColor;
    opacity: .28;
}

.wd-section {
    margin: 2rem 0 0;
}

.wd-section-title {
    margin: 0 0 1.1rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid rgba(127,127,127,.28);
    font-size: 1.18rem;
    letter-spacing: .02em;
}

.wd-reading {
    margin: 0 0 1.55rem;
    padding: 1rem 1.15rem;
    border-left: 3px solid currentColor;
    background: rgba(127,127,127,.045);
}

.wd-reading-reference {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .65rem;
    align-items: baseline;
    margin-bottom: .7rem;
}

.wd-reading-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .65;
}

.wd-reading-passage {
    font-weight: 700;
}

.wd-scripture-text {
    font-size: 1rem;
    line-height: 1.75;
}

.wd-scripture-text p:last-child,
.wd-body p:last-child {
    margin-bottom: 0;
}

.wd-copyright {
    margin: .85rem 0 0;
    font-size: 8pt;
    line-height: 1.35;
    opacity: .62;
}

.wd-devotion-section {
    margin-top: 2.25rem;
}

.wd-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.wd-body p {
    margin-top: 0;
    margin-bottom: 1.15em;
}

.wd-signature {
    margin-top: 2.6rem;
    text-align: right;
}

.wd-signature-rule {
    margin: 0 0 .8rem auto;
    width: 58px;
}

.wd-signature-text {
    display: inline-block;
    text-align: left;
    font-size: .95rem;
    line-height: 1.45;
    font-weight: 600;
}

.wd-notice,
.wd-subscribe-message {
    max-width: 820px;
    margin: 1rem auto;
    padding: .9rem 1rem;
    border: 1px solid rgba(127,127,127,.28);
    border-radius: 8px;
    background: rgba(127,127,127,.045);
}

.wd-message-error {
    border-left: 4px solid currentColor;
}

.weekly-devotion-archive {
    max-width: 1000px;
    margin: 2rem auto;
}

.wd-archive-heading {
    margin-bottom: 1.5rem;
    text-align: center;
}

.wd-archive-heading h2 {
    margin-top: .25rem;
}

.wd-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.wd-archive-card {
    padding: 1.35rem;
    border: 1px solid rgba(127,127,127,.28);
    border-radius: 12px;
    background: rgba(127,127,127,.025);
    box-shadow: 0 8px 22px rgba(0,0,0,.045);
}

.wd-archive-card h3 {
    margin: .35rem 0 .45rem;
    font-size: 1.25rem;
}

.wd-archive-card h3 a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

.wd-archive-date,
.wd-archive-designation {
    font-size: .88rem;
    opacity: .72;
}

.wd-archive-scripture {
    margin-bottom: .8rem;
    font-size: .92rem;
}

.wd-archive-signature {
    font-size: .9rem;
    line-height: 1.4;
}

.wd-button {
    display: inline-block;
    min-height: 42px;
    padding: .7rem 1rem;
    border: 1px solid currentColor;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.wd-button:hover,
.wd-button:focus-visible {
    background: rgba(127,127,127,.09);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

.wd-button-link {
    margin-top: .35rem;
}

.wd-subscribe-card {
    max-width: 820px;
    margin: 2rem auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(127,127,127,.28);
    border-radius: 12px;
    background: rgba(127,127,127,.04);
}

.wd-subscribe-card h3 {
    margin: .2rem 0 .5rem;
}

.wd-subscribe-form {
    margin-top: 1rem;
}

.wd-email-label {
    display: block;
    margin-bottom: .35rem;
    font-size: .88rem;
    font-weight: 700;
}

.wd-subscribe-controls {
    display: flex;
    gap: .6rem;
    align-items: stretch;
}

.wd-subscribe-controls input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 42px;
    padding: .65rem .75rem;
    border: 1px solid rgba(127,127,127,.48);
    border-radius: 7px;
    background: transparent;
    color: inherit;
    font: inherit;
}

@media (max-width: 700px) {
    .wd-card {
        margin: 1rem auto;
        border-radius: 10px;
    }

    .wd-archive-grid {
        grid-template-columns: 1fr;
    }

    .wd-subscribe-controls {
        display: block;
    }

    .wd-subscribe-controls input[type="email"],
    .wd-subscribe-controls .wd-button {
        width: 100%;
    }

    .wd-subscribe-controls .wd-button {
        margin-top: .6rem;
    }

    .wd-signature {
        text-align: left;
    }

    .wd-signature-rule {
        margin-left: 0;
        margin-right: auto;
    }
}
