:root {
    --heading-font: "Playfair Display", Georgia, serif;
    --body-font: "Open Sans", Arial, sans-serif;
    --hero-image-heading-size: 1.25rem; /* size for text that appears on/near images */
    --base-heading-size: 2rem;
}
/* Global fonts */
body {
    font-family: var(--body-font);
    color: #000;
    background-color: #fbfbfb; /** same rgb(240, 244, 241) **/
}
@font-face {
    font-family: "Open Sans Light";
    font-style: normal;
    font-weight: 300;
    src: local("Open Sans Light"),
        url("https://fonts.gstatic.com/s/opensans/v34/mem5YaGs126MiZpBA-UN_r8OXOhs.ttf")
            format("truetype");
}

@font-face {
    font-family: "Playfair Display Light";
    font-style: normal;
    font-weight: 400;
    src: local("Playfair Display Regular"),
        url("https://fonts.gstatic.com/s/playfairdisplay/v30/nuFiD-vYSZviVYUb_rj3ij__anPXDTzYhP8.ttf")
            format("truetype");
}

main {
    margin-top: 50px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
}
h2,
h3,
h4,
h5,
h6 {
    color: #212529;
}

/*** resource page start ***/
.resource {
    color: #000;
    font-weight: 400;
}
.resource h2 {
    font-size: 26px;
    font-family: var(--heading-font);
}
.resource span {
    color: #857e71;
    font-size: 15px;
}

.resource .nav-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
    border: none;
    font-size: 15px;
}

.resource .nav-tabs .nav-link.active {
    color: #000;
    background: none;
}

.resource .card {
    background-color: #f2f7f3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.resource .card h5 {
    font-size: 1.1rem;
    line-height: 1.4;
}
.resource .card .para1 {
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.resource .card .para2 {
    font-size: 14px;
    margin-top: 10px;
    color: #b4b5b0;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.overlay-box {
    backdrop-filter: blur(10px);
    border-radius: 0px !important;
    padding: 20px 16px !important;
}
.card-img-top {
    height: 193px; /* same as your sample */
    object-fit: cover;
}

/*** resource page end ***/
/*** resource details page start ***/

.article-container {
    /* max-width: 1036px; */
    margin: 0 auto 3rem auto;
}
.back-section {
    /* max-width: 1036px; */
}
.back-section .back {
    color: #000 !important;
    text-decoration: none;
    font-size: 14px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.article-meta {
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.article-meta strong {
    color: #000;
}

.article-image {
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 2rem 0;
    width: 100%;
}
.article-image img {
    width: 100%;
}

.article-content h2,
.article-content h3 {
    font-family: "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 24px;
}
.article-content p {
    margin-bottom: 1.25rem;
    color: #000;
    font-size: 13px;
}

.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 1px solid #000;
    background-color: #f8f9fa;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 20px;
    color: #73737b;
}

.article-content img {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.article-content a {
    color: #007bff;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.article-content table th,
.article-content table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
}

.article-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.article-share {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
    color: #000;
}

.article-share a {
    color: #073600;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #073600;
}

.article-share a:hover {
    background-color: #073600;
    color: #fff;
}

@media (max-width: 768px) {
    .article-content h1 {
        font-size: 1.6rem;
    }
    .article-content h2 {
        font-size: 1.4rem;
    }
}

/* Related Articles Section */
.related-articles h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: #212529;
    margin-bottom: 1.5rem;
}

.related-articles .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-articles .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.related-articles .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.featured-articles-sidebar {
    position: sticky;
    top: 80px;
    border-radius: 8px;
    padding: 0.75rem;
}

.featured-item a {
    transition: all 0.2s ease;
}

.featured-item a:hover h6 {
    color: gray !important;
}

.featured-item a.current-article {
    pointer-events: none;
}

.featured-item a.current-article h6 {
    color: gray !important;
}

/*** resource details page end ***/
