/**
 * Hub Pages Styles - Wisdom English
 * Shared styles for Topics, Learn, Start Here, Newsletter pages
 * @version 1.0
 */

/* ==========================================================================
   Hub Common
   ========================================================================== */

.we-hub {
    padding-bottom: 48px;
}

/* ==========================================================================
   Hub Hero
   ========================================================================== */

.we-hub-hero {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: white;
    padding: 64px 16px;
    text-align: center;
}

.we-hub-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.we-hub-hero__subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.we-hub-hero--start {
    background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
}

@media (max-width: 640px) {
    .we-hub-hero {
        padding: 48px 16px;
    }

    .we-hub-hero__title {
        font-size: 1.85rem;
    }

    .we-hub-hero__subtitle {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Cluster Grid (Categories)
   ========================================================================== */

.we-hub-clusters {
    padding: 48px 16px;
}

.we-cluster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.we-cluster-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .we-cluster-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .we-cluster-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {

    .we-cluster-grid,
    .we-cluster-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* Cluster Card */
.we-cluster-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    border: 2px solid #E5E7EB;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.we-cluster-card:hover {
    transform: translateY(-4px);
    border-color: var(--cluster-color, #3B82F6);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.we-cluster-card__icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.we-cluster-card__name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
}

.we-cluster-card__desc {
    font-size: 0.9rem;
    color: #6B7280;
    margin: 0 0 12px;
    line-height: 1.5;
}

.we-cluster-card__count {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cluster-color, #6B7280);
    padding: 4px 10px;
    background: color-mix(in srgb, var(--cluster-color, #6B7280) 10%, white);
    border-radius: 999px;
}

.we-cluster-card__badge {
    margin-top: 12px;
    padding: 4px 12px;
    background: #F3F4F6;
    border-radius: 999px;
    font-size: 0.75rem;
    color: #6B7280;
}

.we-cluster-card--learn {
    cursor: default;
    opacity: 0.8;
}

.we-cluster-card--learn:hover {
    transform: none;
    border-color: #E5E7EB;
    box-shadow: none;
}

/* ==========================================================================
   Featured Grid
   ========================================================================== */

.we-hub-featured {
    padding: 48px 16px;
    background: #F9FAFB;
}

.we-hub-featured__header {
    text-align: center;
    margin-bottom: 32px;
}

.we-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.we-section-subtitle {
    font-size: 1rem;
    color: #6B7280;
    margin: 0;
}

.we-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .we-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .we-featured-grid {
        grid-template-columns: 1fr;
    }
}

.we-featured-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.we-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.we-featured-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.we-featured-card__image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.we-featured-card__content {
    padding: 16px;
}

.we-featured-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.we-featured-card__excerpt {
    font-size: 0.85rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   How-To Steps
   ========================================================================== */

.we-hub-howto,
.we-start-howto {
    padding: 48px 16px;
    text-align: center;
}

.we-howto-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .we-howto-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.we-howto-step {
    padding: 24px;
}

.we-howto-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667EEA, #764BA2);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
}

.we-howto-step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #111827;
}

.we-howto-step p {
    font-size: 0.95rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Level Guide (Start Here)
   ========================================================================== */

.we-start-levels {
    padding: 48px 16px;
    background: #F9FAFB;
    text-align: center;
}

.we-level-guide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

@media (max-width: 900px) {
    .we-level-guide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .we-level-guide {
        grid-template-columns: 1fr;
    }
}

.we-level-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    border-left: 4px solid var(--level-color, #3B82F6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.we-level-item__code {
    display: inline-block;
    background: var(--level-color, #3B82F6);
    color: white;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.we-level-item__content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #111827;
}

.we-level-item__content p {
    font-size: 0.85rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Quick Paths (Start Here)
   ========================================================================== */

.we-start-paths {
    padding: 48px 16px;
    text-align: center;
}

.we-quick-paths {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.we-quick-path {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 32px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.we-quick-path:hover {
    border-color: #3B82F6;
    transform: translateY(-2px);
}

.we-quick-path__label {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.we-quick-path__desc {
    font-size: 0.85rem;
    color: #6B7280;
    margin-top: 4px;
}

/* ==========================================================================
   Newsletter Box
   ========================================================================== */

.we-start-newsletter {
    padding: 48px 16px;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
}

.we-newsletter-box {
    text-align: center;
    color: white;
}

.we-newsletter-box h3 {
    font-size: 1.5rem;
    margin: 0 0 8px 0;
}

.we-newsletter-box p {
    font-size: 1rem;
    margin: 0 0 20px 0;
    opacity: 0.95;
}

/* ==========================================================================
   CTA Box
   ========================================================================== */

.we-hub-cta {
    padding: 48px 16px;
}

.we-cta-box {
    text-align: center;
    padding: 40px;
    background: #F3F4F6;
    border-radius: 16px;
}

.we-cta-box h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #111827;
}

.we-cta-box p {
    font-size: 1rem;
    color: #6B7280;
    margin: 0 0 20px 0;
}

.we-cta-box--alt {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
}

.we-cta-box--alt h3 {
    color: white;
}

.we-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: white;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.we-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.we-cta-button--primary {
    background: white;
    color: #667EEA;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.we-no-content {
    text-align: center;
    color: #6B7280;
    padding: 40px;
}

/* ==========================================================================
   Cluster Page Styles
   ========================================================================== */

.we-cluster-page {
    background: #ffffff;
}

/* Cluster Hero */
.we-cluster-hero {
    background: linear-gradient(135deg, var(--cluster-color, #667EEA), color-mix(in srgb, var(--cluster-color) 70%, #000));
    color: white;
    padding: 64px 16px;
    text-align: center;
}

.we-cluster-hero__icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.we-cluster-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.we-cluster-hero__desc {
    font-size: 1.15rem;
    opacity: 0.95;
    margin: 0 0 24px;
}

.we-cluster-hero__back {
    display: inline-block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.we-cluster-hero__back:hover {
    color: white;
}

/* Cluster Content */
.we-cluster-content {
    padding: 48px 16px;
}

.we-cluster-count {
    text-align: center;
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 32px;
}

.we-cluster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .we-cluster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .we-cluster-grid {
        grid-template-columns: 1fr;
    }
}

/* Topic Card */
.we-topic-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    transition: transform 0.2s, box-shadow 0.2s;
}

.we-topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.we-topic-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.we-topic-card__image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.we-topic-card__content {
    padding: 16px;
}

.we-topic-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.4;
}

.we-topic-card__excerpt {
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0 0 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.we-topic-card__levels {
    display: flex;
    gap: 6px;
}

.we-level-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.we-level-a1 {
    background: #D1FAE5;
    color: #047857;
}

.we-level-a2 {
    background: #FEF3C7;
    color: #B45309;
}

.we-level-b1 {
    background: #DBEAFE;
    color: #1D4ED8;
}

.we-level-b2 {
    background: #EDE9FE;
    color: #6D28D9;
}

/* Cluster Empty State */
.we-cluster-empty {
    text-align: center;
    padding: 64px 16px;
    color: #6B7280;
}

.we-cluster-empty a {
    color: #3B82F6;
}

/* Related Clusters */
.we-cluster-related {
    padding: 48px 16px;
    background: #F9FAFB;
    text-align: center;
}

.we-cluster-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.we-cluster-nav__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.we-cluster-nav__item:hover {
    border-color: #3B82F6;
    transform: translateY(-2px);
}

.we-cluster-nav__icon {
    font-size: 1.25rem;
}

.we-cluster-nav__name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
}

@media (max-width: 640px) {
    .we-cluster-hero {
        padding: 48px 16px;
    }

    .we-cluster-hero__title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Newsletter Page Styles
   ========================================================================== */

.we-newsletter-page {
    background: #faf9f7;
}

/* Newsletter Hero */
.we-nl-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 80px 24px 64px;
    text-align: center;
}

.we-nl-hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.we-nl-hero__title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.we-nl-hero__subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Newsletter Form Section */
.we-nl-form-section {
    padding: 48px 24px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.we-nl-form-card {
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 560px;
    margin: 0 auto;
}

.we-nl-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.we-nl-form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.we-nl-form-header p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.we-nl-form__fields {
    display: flex;
    gap: 12px;
}

.we-nl-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    transition: border-color 0.2s, background 0.2s;
}

.we-nl-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
}

.we-nl-btn {
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.we-nl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.we-nl-form__note {
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
    margin: 16px 0 0;
}

/* Newsletter Benefits */
.we-nl-benefits {
    padding: 64px 24px;
}

.we-nl-section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 40px;
}

.we-nl-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.we-nl-benefit {
    text-align: center;
    padding: 24px 16px;
}

.we-nl-benefit__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.we-nl-benefit h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
}

.we-nl-benefit p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Newsletter Preview */
.we-nl-preview {
    padding: 48px 24px 64px;
}

.we-nl-preview-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
}

.we-nl-preview__header {
    text-align: center;
    margin-bottom: 24px;
}

.we-nl-preview__label {
    display: inline-block;
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}

.we-nl-preview__header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.we-nl-email-mock {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.we-nl-email-mock__subject {
    padding: 16px 20px;
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9375rem;
    color: #374151;
}

.we-nl-email-mock__body {
    padding: 24px 20px;
}

.we-nl-email-mock__body p {
    margin: 0;
    line-height: 1.7;
    color: #475569;
}

/* Newsletter Final CTA */
.we-nl-final-cta {
    padding: 64px 24px 80px;
}

.we-nl-cta-box {
    text-align: center;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 48px 32px;
    border-radius: 20px;
}

.we-nl-cta-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.we-nl-cta-box p {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0 0 24px;
}

.we-nl-btn--large {
    padding: 18px 36px;
    font-size: 1.0625rem;
    display: inline-block;
    text-decoration: none;
}

/* Newsletter Responsive */
@media (max-width: 900px) {
    .we-nl-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .we-nl-hero {
        padding: 64px 16px 48px;
    }

    .we-nl-hero__title {
        font-size: 2rem;
    }

    .we-nl-form-card {
        padding: 32px 24px;
    }

    .we-nl-form__fields {
        flex-direction: column;
    }

    .we-nl-btn {
        width: 100%;
    }

    .we-nl-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .we-nl-cta-box {
        padding: 40px 24px;
    }
}

/* ==========================================================================
   Learn Hub Styles
   ========================================================================== */

/* Section Cards Grid */
.we-learn-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .we-learn-sections {
        grid-template-columns: 1fr;
    }
}

/* Individual Section Card */
.we-learn-section {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.we-learn-section:hover {
    transform: translateY(-4px);
    border-color: var(--section-color, #3b82f6);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.we-learn-section__header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--section-color, #e2e8f0);
}

.we-learn-section__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.we-learn-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}

.we-learn-section__desc {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.we-learn-section__list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.we-learn-section__list li {
    border-bottom: 1px solid #e2e8f0;
}

.we-learn-section__list li:last-child {
    border-bottom: none;
}

.we-learn-section__list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.we-learn-section__list a:hover {
    color: var(--section-color, #3b82f6);
}

.we-learn-section__post-title {
    font-size: 0.9375rem;
    line-height: 1.4;
}

.we-learn-section__post-date {
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
}

.we-learn-section__empty {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.875rem;
    padding: 24px 0;
    text-align: center;
}

.we-learn-section__more {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--section-color, #3b82f6);
    text-decoration: none;
    transition: opacity 0.2s;
}

.we-learn-section__more:hover {
    opacity: 0.8;
}

/* Featured Card Category */
.we-featured-card__category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

/* ==========================================================================
   Learn Section Page Styles
   ========================================================================== */

.we-hub--learn-section .we-hub-hero {
    text-align: left;
    padding: 48px 16px;
}

.we-hub-hero__back {
    display: inline-block;
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.we-hub-hero__back:hover {
    color: #1e293b;
}

.we-hub-hero__icon-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.we-hub-hero__icon-title .we-hub-hero__icon {
    font-size: 2.5rem;
}

.we-hub-content {
    padding: 48px 16px;
    background: #ffffff;
}

/* Posts List */
.we-learn-posts {
    display: grid;
    gap: 24px;
}

.we-learn-post {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.we-learn-post:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.we-learn-post__link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.we-learn-post__image {
    flex-shrink: 0;
    width: 200px;
}

.we-learn-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.we-learn-post__content {
    padding: 24px;
    flex: 1;
}

.we-learn-post__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
    line-height: 1.4;
}

.we-learn-post__excerpt {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.6;
}

.we-learn-post__date {
    font-size: 0.8125rem;
    color: #94a3b8;
}

@media (max-width: 640px) {
    .we-learn-post__link {
        flex-direction: column;
    }

    .we-learn-post__image {
        width: 100%;
        height: 160px;
    }
}

/* Empty State */
.we-learn-empty {
    text-align: center;
    padding: 80px 24px;
}

.we-learn-empty__icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 24px;
}

.we-learn-empty h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0 0 12px;
}

.we-learn-empty p {
    color: #64748b;
    margin: 0 0 24px;
}

/* Pagination */
.we-pagination {
    margin-top: 48px;
    text-align: center;
}

.we-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.we-pagination .page-numbers:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.we-pagination .page-numbers.current {
    background: #3b82f6;
    color: white;
}

/* Related Sections */
.we-hub-related {
    padding: 48px 16px;
    background: #f9fafb;
    text-align: center;
}

.we-related-sections {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.we-related-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.we-related-section:hover {
    border-color: var(--section-color, #3b82f6);
    transform: translateY(-2px);
}

.we-related-section__icon {
    font-size: 1.25rem;
}

.we-related-section__name {
    font-weight: 600;
    color: #1e293b;
}

/* ==========================================================================
   Single Learn Article Styles
   ========================================================================== */

.we-learn-article {
    background: #ffffff;
}

.we-learn-article__header {
    padding: 64px 16px 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    text-align: center;
}

.we-learn-article__category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--section-color, #3b82f6);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    text-decoration: none;
    margin-bottom: 20px;
}

.we-learn-article__category:hover {
    opacity: 0.9;
}

.we-learn-article__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    line-height: 1.3;
}

.we-learn-article__meta {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.we-learn-article__reading-time::before {
    content: '•';
    margin-right: 16px;
}

.we-learn-article__image {
    padding: 32px 16px;
}

.we-learn-article__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.we-learn-article__content {
    padding: 48px 16px 64px;
}

.we-learn-article__content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5em;
}

.we-learn-article__content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2em 0 0.75em;
}

.we-learn-article__content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.75em 0 0.5em;
}

.we-learn-article__content ul,
.we-learn-article__content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.we-learn-article__content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.we-learn-article__nav {
    padding: 48px 16px;
    border-top: 1px solid #e2e8f0;
    background: #f9fafb;
}

.we-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.we-article-nav__link {
    flex: 1;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.we-article-nav__link:hover {
    border-color: var(--section-color, #3b82f6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.we-article-nav__link--next {
    text-align: right;
}

.we-article-nav__label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 4px;
}

.we-article-nav__title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.we-learn-article__back {
    padding: 48px 16px;
    text-align: center;
}

@media (max-width: 640px) {
    .we-learn-article__title {
        font-size: 1.75rem;
    }

    .we-article-nav {
        flex-direction: column;
    }

    .we-article-nav__link--next {
        text-align: left;
    }
}