/* Learning Resources / Experiments article templates */

.lr-breadcrumb {
    background: #f7f8fa;
    border-bottom: 1px solid #eceef1;
    padding: 12px 0;
    font-size: 13px;
    color: #6b7280;
}

.lr-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.lr-breadcrumb a:hover {
    color: #1aa260;
    text-decoration: underline;
}

.lr-breadcrumb strong {
    color: #222;
    font-weight: 600;
}

.lr-main {
    padding-top: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* Article hero card */
.lr-hero {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 10px;
    padding: 28px 30px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.lr-hero h1 {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    color: #1a1a1a;
    margin: 14px 0 10px;
}

.lr-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 14px;
}

.lr-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
    color: #6b7280;
}

.lr-meta-item i {
    color: #1aa260;
    margin-right: 6px;
}

/* Category badge/pill — used both in hero and listing cards */
a.lr-cat-tag,
span.lr-cat-tag {
    display: inline-block;
    background: #1aa260;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
}

a.lr-cat-tag:hover {
    background: #148a51;
    color: #fff;
}

/* Article body typography */
.lr-article-wrap {
    font-size: 16px;
    line-height: 1.8;
    color: #2b2b2b;
}

.lr-article-wrap h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 34px 0 14px;
    color: #1a1a1a;
}

.lr-article-wrap h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 26px 0 12px;
    color: #1a1a1a;
}

.lr-article-wrap p {
    margin-bottom: 16px;
}

.lr-article-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.lr-article-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.lr-article-wrap table th,
.lr-article-wrap table td {
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
}

.lr-article-wrap ul,
.lr-article-wrap ol {
    margin-bottom: 16px;
    padding-left: 22px;
}

.lr-article-wrap li {
    margin-bottom: 6px;
}

/* Listing page */
.lr-listing-card {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 10px;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.lr-listing-card h2 {
    font-size: 20px;
    margin: 10px 0 8px;
}

.lr-listing-card h2 a {
    color: #1a1a1a;
    text-decoration: none;
}

.lr-listing-card h2 a:hover {
    color: #1aa260;
}

.lr-listing-card p {
    color: #555;
    margin-bottom: 10px;
}

.sidebar-area {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 10px;
    padding: 20px;
}

.sidebar-area h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sidebar-area ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f1f3;
}

.sidebar-area ul li:last-child {
    border-bottom: none;
}

.sidebar-area ul li a {
    color: #444;
    text-decoration: none;
}

.sidebar-area ul li a:hover {
    color: #1aa260;
}

@media (max-width: 767px) {
    .lr-hero {
        padding: 20px;
    }

    .lr-hero h1 {
        font-size: 24px;
    }
}
