@import url('home.css');

.articles-page {
    padding-bottom: 72px;
}

.articles-hero {
    background: linear-gradient(135deg, #0c2d4a 0%, #1a4d73 55%, #2a7a8c 100%);
    color: #fff;
    padding: 36px 20px 40px;
    margin-bottom: 36px;
}

.articles-hero--single {
    padding-bottom: 32px;
}

.articles-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.articles-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.articles-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.articles-breadcrumb a:hover {
    color: #fff;
}

.articles-breadcrumb span:last-child {
    color: #fff;
    font-weight: 600;
}

.articles-breadcrumb span[aria-hidden] {
    color: rgba(255, 255, 255, 0.45);
}

.articles-hero h1 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 10px;
}

.articles-hero > .articles-hero-inner > p {
    font-size: 0.92rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
}

.articles-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.article-card {
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    padding: 0;
    box-shadow: var(--site-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.article-card-cover-link {
    display: block;
    line-height: 0;
}

.article-card-cover {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid var(--site-border);
}

.article-card-inner {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card:hover {
    border-color: #b8d4e4;
    box-shadow: 0 10px 32px rgba(12, 45, 74, 0.08);
}

.article-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.74rem;
    color: var(--site-muted);
    margin-bottom: 10px;
}

.article-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
}

.article-card h2 a {
    color: var(--site-navy);
    text-decoration: none;
}

.article-card h2 a:hover {
    color: var(--site-accent);
}

.article-card-excerpt {
    font-size: 0.86rem;
    color: var(--site-muted);
    line-height: 1.8;
    flex: 1;
    margin-bottom: 14px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.article-tags li {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--site-accent-soft);
    color: var(--site-teal);
}

.article-tags--hero {
    margin-top: 12px;
    margin-bottom: 0;
}

.article-tags--hero li {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.article-card-link {
    align-self: flex-start;
    display: inline-flex;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 7px;
    background: var(--site-navy);
    color: #fff !important;
    text-decoration: none;
}

.article-card-link:hover {
    background: var(--site-blue);
    text-decoration: none;
}

.article-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.article-single-body {
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: var(--site-shadow);
}

.article-cover {
    margin: -32px -28px 28px;
    line-height: 0;
}

.article-cover img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}

.article-lead {
    font-size: 1rem;
    font-weight: 600;
    color: var(--site-navy);
    line-height: 1.85;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--site-border);
}

.article-content p {
    font-size: 0.92rem;
    line-height: 2;
    color: var(--site-text);
    margin-bottom: 16px;
}

.article-h2 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--site-navy);
    margin: 28px 0 12px;
    line-height: 1.5;
}

.article-h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--site-navy);
    margin: 22px 0 10px;
}

.article-figure {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--site-border);
    background: var(--site-bg);
}

.article-figure img {
    width: 100%;
    display: block;
    max-height: 420px;
    object-fit: cover;
}

.article-figure figcaption {
    padding: 10px 14px;
    font-size: 0.78rem;
    color: var(--site-muted);
    line-height: 1.6;
    border-top: 1px solid var(--site-border);
}

.article-quote {
    margin: 22px 0;
    padding: 16px 20px;
    border-right: 4px solid var(--site-teal);
    background: var(--site-accent-soft);
    border-radius: 0 10px 10px 0;
}

.article-quote p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--site-navy);
    line-height: 1.85;
    margin: 0;
}

.article-note {
    margin: 20px 0;
    padding: 14px 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
}

.article-note p {
    font-size: 0.86rem;
    color: #92400e;
    line-height: 1.8;
    margin: 0;
}

.article-list {
    margin: 12px 0 20px;
    padding-right: 22px;
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--site-text);
}

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

.article-content > *:last-child {
    margin-bottom: 0;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.article-single-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--site-border);
}

.articles-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 8px;
    background: var(--site-navy);
    color: #fff !important;
    text-decoration: none;
}

.articles-btn:hover {
    background: var(--site-blue);
    text-decoration: none;
}

.articles-btn-outline {
    background: transparent;
    border: 1px solid var(--site-border);
    color: var(--site-navy) !important;
}

.articles-btn-outline:hover {
    background: var(--site-bg);
}

.articles-empty {
    text-align: center;
    padding: 48px 20px;
}

.articles-empty h1 {
    font-size: 1.2rem;
    color: var(--site-navy);
    margin-bottom: 10px;
}

.articles-empty p {
    color: var(--site-muted);
    margin-bottom: 20px;
}

@media (min-width: 720px) {
    .articles-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .article-card {
        height: 100%;
    }
}
