.resource-article {
    color: #333;
    line-height: 1.65;
}

.article-reading-time {
    color: #626262;
    font-size: 0.95rem;
    margin: -1rem 0 1.25rem;
}

.resource-preview-meta {
    color: #5b6470;
    font-size: 0.875rem;
    margin: 0.25rem 0 0.75rem;
}

.resource-preview > :last-child {
    margin-bottom: 0;
}

.resource-read-more {
    display: inline-block;
    font-weight: 600;
    margin-top: 0.75rem;
}

.article-callout,
.article-directory-search,
.article-toc {
    border: 1px solid #d5ded7;
    border-left: 5px solid #39724d;
    border-radius: 6px;
    margin: 1.5rem 0;
    padding: 1rem 1.15rem;
}

.article-callout--warning {
    border-left-color: #a34b2a;
    background: #fff8f4;
}

.article-callout--checklist {
    border-left-color: #386b85;
    background: #f5fbfe;
}

.article-callout--remember {
    border-left-color: #806526;
    background: #fffbed;
}

.article-callout--tip {
    background: #f4faf5;
}

.article-callout__title,
.article-directory-search__title,
.article-toc__title {
    color: #244b33;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.article-callout__content > :first-child,
.article-directory-search > :first-child {
    margin-top: 0;
}

.article-callout__content > :last-child,
.article-directory-search > :last-child {
    margin-bottom: 0;
}

.article-directory-search {
    background: #f5f8f5;
}

.article-directory-search__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.article-directory-search__actions a {
    background: #39724d;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    padding: 0.65rem 0.9rem;
    text-decoration: none;
}

.article-directory-search__actions a:focus,
.article-directory-search__actions a:hover {
    background: #28583a;
    color: #fff;
    text-decoration: underline;
}

.article-table-wrapper {
    margin: 1.5rem 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.resource-article table {
    border-collapse: collapse;
    min-width: 36rem;
    width: 100%;
}

.resource-article th,
.resource-article td {
    border: 1px solid #ccd4ce;
    padding: 0.65rem;
    text-align: left;
    vertical-align: top;
}

.resource-article th {
    background: #f1f5f2;
}

.article-toc {
    background: #f8faf8;
    border-left-width: 1px;
}

.article-toc ol {
    margin: 0;
    padding-left: 1.35rem;
}

.article-toc li + li {
    margin-top: 0.3rem;
}

.article-heading-anchor {
    scroll-margin-top: 6rem;
}

.article-faq {
    margin: 1rem 0 1.5rem;
}

.article-faq__item {
    border-bottom: 1px solid #d5ded7;
    padding: 0.2rem 0;
}

.article-faq__item summary {
    color: #244b33;
    cursor: pointer;
    font-weight: 700;
    padding: 0.85rem 0;
}

.article-faq__item summary:focus-visible {
    outline: 3px solid #e2a93b;
    outline-offset: 3px;
}

.article-faq__answer {
    padding: 0 0 0.9rem;
}

@media (max-width: 640px) {
    .article-directory-search__actions {
        display: grid;
    }

    .article-directory-search__actions a {
        text-align: center;
    }

    .article-callout,
    .article-directory-search,
    .article-toc {
        padding: 0.9rem;
    }
}

.resource-featured-label {
    background: #eef4ef;
    border-radius: 0.2rem;
    color: #31533c;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
    padding: 0.2rem 0.45rem;
    text-transform: uppercase;
    width: max-content;
    max-width: 100%;
}

.resource-preview-meta {
    color: #5b655e;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
