.smm-article-block {
    box-sizing: border-box;
    margin-block: 1.4em;
}

.smm-article-heading {
    color: #180030;
}

.smm-scripture,
.smm-quote,
.smm-callout {
    padding: 1.15em 1.3em;
    border-radius: 12px;
}

.smm-scripture {
    border-left: 5px solid #e4c77d;
    background: #f8f5fb;
}

.smm-scripture blockquote,
.smm-quote blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
}

.smm-scripture figcaption,
.smm-quote figcaption {
    margin-top: .8em;
    font-size: .9em;
    font-weight: 700;
    color: #5c5066;
}

.smm-quote {
    border-left: 5px solid #180030;
    background: #fbfafc;
}

.smm-image img,
.smm-video iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.smm-image figcaption,
.smm-video figcaption,
.smm-gallery figcaption {
    margin-top: .55em;
    color: #706876;
    font-size: .88em;
    text-align: center;
}

.smm-video iframe {
    aspect-ratio: 16 / 9;
    height: auto;
}

.smm-gallery {
    display: grid;
    gap: 12px;
}

.smm-gallery-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.smm-gallery-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.smm-gallery-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.smm-gallery figure {
    margin: 0;
}

.smm-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.smm-button-wrap.align-center { text-align: center; }
.smm-button-wrap.align-right { text-align: right; }

.smm-article-button {
    display: inline-block;
    padding: .72em 1.2em;
    border-radius: 8px;
    background: #180030;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
}

.smm-article-button:hover,
.smm-article-button:focus {
    filter: brightness(1.14);
}

.smm-callout {
    border: 1px solid #dfd7e6;
    background: #faf8fc;
}

.smm-callout h3 {
    margin-top: 0;
    color: #180030;
}

.smm-callout-emphasis {
    border-color: #d9c176;
    background: #fffaf0;
}

.smm-callout-warning {
    border-color: #dda2a8;
    background: #fff5f6;
}

.smm-divider {
    border: 0;
    border-top: 1px solid #cfc5d5;
}
.smm-divider-dashed { border-top-style: dashed; }
.smm-divider-dots { border-top-style: dotted; }

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

.smm-article-extra {
    box-sizing: border-box;
    margin-top: 2.2rem;
}

.smm-author-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px;
    border: 1px solid #ded6e4;
    border-radius: 14px;
    background: #fbfafc;
}

.smm-author-avatar img {
    border-radius: 999px;
}

.smm-author-copy h3 {
    margin: .15rem 0 .55rem;
}

.smm-author-copy h3 a {
    color: #180030;
}

.smm-extra-kicker {
    margin: 0;
    color: #8b6b16;
    font-size: .78em;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.smm-share-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 0;
    border-top: 1px solid #e7e1ea;
    border-bottom: 1px solid #e7e1ea;
}

.smm-share-links span {
    font-weight: 700;
}

.smm-share-links a {
    display: inline-block;
    padding: .45em .75em;
    border: 1px solid #d9d0df;
    border-radius: 999px;
    color: #180030;
    text-decoration: none;
}

.smm-related > h2 {
    margin-top: .25rem;
    color: #180030;
}

.smm-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.smm-related-card {
    overflow: hidden;
    border: 1px solid #e0d8e5;
    border-radius: 12px;
    background: #fff;
}

.smm-related-card > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.smm-related-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.smm-related-card-copy {
    display: grid;
    gap: 5px;
    padding: 14px;
}

.smm-related-card-copy strong {
    color: #180030;
    line-height: 1.35;
}

.smm-related-date {
    color: #766d7d;
    font-size: .82em;
}

@media (max-width: 780px) {
    .smm-columns,
    .smm-related-grid {
        grid-template-columns: 1fr;
    }

    .smm-gallery-cols-3,
    .smm-gallery-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smm-author-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .smm-gallery,
    .smm-gallery-cols-2,
    .smm-gallery-cols-3,
    .smm-gallery-cols-4 {
        grid-template-columns: 1fr;
    }
}
