/* Articles listing */
.articles-hero {
    background: linear-gradient(135deg, #0a2463 0%, #1a4a8a 55%, #3e92cc 100%);
    padding: 88px 0 72px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.articles-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(45, 199, 255, 0.2) 0%, transparent 65%);
}

.articles-hero-inner {
    position: relative;
    z-index: 1;
}

.articles-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
}

.articles-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.15;
}

.articles-hero p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.articles-grid-section {
    padding: 64px 0 96px;
    background: #f5f7fa;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px 28px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(10, 36, 99, 0.08);
    box-shadow: 0 4px 20px rgba(10, 36, 99, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(10, 36, 99, 0.12);
    border-color: rgba(62, 146, 204, 0.35);
}

.article-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0a2463, #3e92cc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.article-card-category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3e92cc;
    margin-bottom: 8px;
}

.article-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0a2463;
    margin: 0 0 6px;
    line-height: 1.3;
}

.article-card-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    margin: 0 0 12px;
}

.article-card-desc {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 auto;
    flex: 1;
}

.article-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3e92cc;
}

.article-card-link i {
    transition: transform 0.2s ease;
}

.article-card:hover .article-card-link i {
    transform: translateX(4px);
}

/* Ultimate guide article */
.guide-hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #0a2463 100%);
    padding: 96px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.guide-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(62, 146, 204, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(45, 199, 255, 0.12) 0%, transparent 50%);
}

.guide-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.guide-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 28px;
    transition: color 0.2s ease;
}

.guide-back:hover {
    color: #2dc7ff;
}

.guide-eyebrow {
    display: inline-block;
    background: rgba(45, 199, 255, 0.15);
    color: #2dc7ff;
    border: 1px solid rgba(45, 199, 255, 0.35);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}

.guide-hero h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px;
}

.guide-hero-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.guide-body {
    background: #f5f7fa;
    padding: 0 0 80px;
}

.guide-intro {
    max-width: 720px;
    margin: -40px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.guide-intro-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 8px 32px rgba(10, 36, 99, 0.1);
    border: 1px solid rgba(10, 36, 99, 0.06);
}

.guide-intro-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 16px;
}

.guide-intro-card p:last-child {
    margin-bottom: 0;
}

.guide-prose {
    max-width: 720px;
    margin: -40px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.guide-prose-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 8px 32px rgba(10, 36, 99, 0.1);
    border: 1px solid rgba(10, 36, 99, 0.06);
}

.guide-prose-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 16px;
}

.guide-prose-card p:last-child {
    margin-bottom: 0;
}

.guide-prose-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a2463;
    margin: 2rem 0 14px;
    line-height: 1.35;
}

.guide-prose-card h2:first-of-type {
    margin-top: 0;
}

.guide-prose-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.guide-prose-card li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 1rem;
    line-height: 1.65;
    color: #444;
}

.guide-prose-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3e92cc;
}

.guide-prose-card li strong {
    color: #0a2463;
}

.guide-steps {
    max-width: 820px;
    margin: 56px auto 0;
    padding: 0 20px;
}

.guide-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 28px;
    margin-bottom: 48px;
    background: #fff;
    border-radius: 16px;
    padding: 36px 36px 36px 28px;
    box-shadow: 0 4px 20px rgba(10, 36, 99, 0.06);
    border: 1px solid rgba(10, 36, 99, 0.06);
}

.guide-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a2463, #3e92cc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    flex-shrink: 0;
}

.guide-step-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0a2463;
    margin: 0 0 14px;
    line-height: 1.35;
}

.guide-step-content > p {
    font-size: 1rem;
    line-height: 1.75;
    color: #555;
    margin: 0 0 18px;
}

.guide-step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-step-content li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 0.97rem;
    line-height: 1.65;
    color: #444;
    border-bottom: 1px solid rgba(10, 36, 99, 0.06);
}

.guide-step-content li:last-child {
    border-bottom: none;
}

.guide-step-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3e92cc;
}

.guide-step-content li strong {
    color: #0a2463;
}

.guide-callout {
    max-width: 820px;
    margin: 16px auto 0;
    padding: 0 20px;
}

.guide-callout-inner {
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.04), rgba(62, 146, 204, 0.08));
    border-left: 4px solid #3e92cc;
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
}

.guide-callout-inner p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    font-style: italic;
}

.guide-callout-inner strong {
    color: #0a2463;
    font-style: normal;
}

.guide-footer-cta {
    max-width: 820px;
    margin: 56px auto 0;
    padding: 0 20px;
    text-align: center;
}

.guide-footer-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0a2463, #3e92cc);
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-footer-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.25);
}

@media (max-width: 640px) {
    .guide-step {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 28px 24px;
    }

    .guide-intro-card,
    .guide-prose-card {
        padding: 28px 24px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}
