/*
 * hub.css — Authority Hub Blog Styles
 * Extends the main site design system (style.css)
 * Import AFTER style.css. Do NOT modify style.css.
 */

/* =============================================
   DESIGN TOKENS (mirrored from style.css)
   ============================================= */
:root {
    --hub-primary: #00d4d4;
    --hub-navy: #1a2a5e;
    --hub-orange: #FF6B2B;
    --hub-orange-dark: #e55a1f;
    --hub-glass: rgba(255, 255, 255, 0.10);
    --hub-glass-border: rgba(255, 255, 255, 0.25);
    --hub-glass-blur: blur(18px);
    --hub-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --hub-radius: 20px;
    --hub-radius-sm: 12px;
    --hub-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --hub-transition: 300ms var(--hub-smooth);
}

/* =============================================
   RESET / BASE FOR HUB PAGES
   ============================================= */
html {
    /* Prevent white flash on load */
    background: #1a2a5e;
}

body {
    background: linear-gradient(135deg, #1a2a5e 0%, #2563a8 35%, #00a8cc 70%, #00d4d4 100%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* =============================================
   SHARED NAV (identical to main site)
   ============================================= */
.hub-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 0.8rem 2rem;
    /* Navy-tinted glass — matches main site nav on dark background */
    background: rgba(26, 42, 94, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    display: flex;
    justify-content: center;
}

.hub-nav .nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hub-nav .logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s var(--hub-smooth);
}

.hub-nav .logo img:hover {
    transform: scale(1.05);
}

.hub-nav .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.hub-nav .nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    transition: color 0.3s var(--hub-smooth);
}

.hub-nav .nav-links a:hover,
.hub-nav .nav-links a.active {
    color: var(--hub-primary);
}

.hub-nav .btn-primary {
    background: var(--hub-primary);
    color: var(--hub-navy);
    padding: 0.75rem 1.5rem;
    border-radius: var(--hub-radius-sm);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--hub-transition);
    border: none;
    font-family: 'Work Sans', sans-serif;
    cursor: pointer;
}

.hub-nav .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 212, 0.3);
    background: #fff;
    color: var(--hub-navy);
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
#hub-scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10001;
}

#hub-scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--hub-primary);
    box-shadow: 0 0 10px var(--hub-primary);
    transition: width 0.1s linear;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hub-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 2rem 80px;
    position: relative;
    overflow: hidden;
}

.hub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(0, 212, 212, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hub-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hub-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 212, 0.15);
    border: 1px solid rgba(0, 212, 212, 0.4);
    color: var(--hub-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.hub-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hub-hero h1 span {
    color: var(--hub-primary);
}

.hub-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hub-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hub-hero-stat {
    text-align: center;
}

.hub-hero-stat strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--hub-primary);
    line-height: 1;
}

.hub-hero-stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* =============================================
   SECTION LAYOUT
   ============================================= */
.hub-section {
    padding: 80px 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hub-section-header {
    margin-bottom: 3rem;
}

.hub-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.hub-section-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

.hub-teal-line {
    width: 60px;
    height: 4px;
    background: var(--hub-primary);
    border-radius: 2px;
    margin: 0.75rem 0 0;
}

/* =============================================
   FEATURED ARTICLES
   ============================================= */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

.featured-card {
    position: relative;
    border-radius: var(--hub-radius);
    overflow: hidden;
    height: 460px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s var(--hub-smooth), box-shadow 0.4s var(--hub-smooth);
    text-decoration: none;
    display: block;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--hub-primary);
}

.featured-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--hub-smooth);
    filter: brightness(0.55) saturate(1.1);
}

.featured-card:hover .featured-card-img {
    transform: scale(1.05);
    filter: brightness(0.65) saturate(1.2);
}

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 40, 0.95) 0%, rgba(10, 15, 40, 0.4) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hub-orange);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.featured-badge i {
    font-size: 0.65rem;
}

.hub-tag {
    display: inline-block;
    background: rgba(0, 212, 212, 0.2);
    border: 1px solid rgba(0, 212, 212, 0.5);
    color: var(--hub-primary);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.75rem;
}

.featured-card-overlay h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.featured-card-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.featured-card-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hub-primary);
    color: var(--hub-navy);
    padding: 0.6rem 1.25rem;
    border-radius: var(--hub-radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--hub-transition);
    font-family: 'Work Sans', sans-serif;
    white-space: nowrap;
}

.btn-read-more:hover {
    background: #fff;
    color: var(--hub-navy);
    transform: translateX(4px);
}

.btn-read-more i {
    transition: transform 0.3s var(--hub-smooth);
}

.btn-read-more:hover i {
    transform: translateX(4px);
}

/* =============================================
   ARTICLES GRID
   ============================================= */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--hub-radius);
    overflow: hidden;
    transition: transform 0.4s var(--hub-smooth), box-shadow 0.4s var(--hub-smooth), border-color 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border-color: var(--hub-primary);
}

.article-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 42, 94, 0.8), rgba(0, 168, 204, 0.6));
}

.article-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(1.1);
    transition: transform 0.5s var(--hub-smooth), filter 0.3s;
}

.article-card:hover .article-card-img-wrap img {
    transform: scale(1.08);
    filter: brightness(0.85) saturate(1.2);
}

/* Branded placeholder for cards without images */
.article-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(0, 212, 212, 0.5);
    background: linear-gradient(135deg, rgba(26, 42, 94, 0.9) 0%, rgba(37, 99, 168, 0.7) 50%, rgba(0, 168, 204, 0.5) 100%);
}

.article-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-body .hub-tag {
    margin-bottom: 0.75rem;
}

.article-card-body h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.article-card-body p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.article-card-date {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hub-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: gap 0.3s var(--hub-smooth);
    font-family: 'Work Sans', sans-serif;
}

.btn-read-link:hover {
    gap: 10px;
}

/* =============================================
   NEWSLETTER SECTION
   ============================================= */
.hub-newsletter-section {
    padding: 80px 0;
}

.hub-newsletter-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hub-newsletter-card {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 28px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hub-newsletter-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 212, 212, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hub-newsletter-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 43, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hub-newsletter-text h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hub-newsletter-text h2 span {
    color: var(--hub-primary);
}

.hub-newsletter-text p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.hub-newsletter-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hub-newsletter-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hub-newsletter-perks li i {
    color: var(--hub-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.hub-newsletter-form-wrap {
    position: relative;
    z-index: 1;
}

.hub-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hub-form-group {
    position: relative;
}

.hub-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.hub-form-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--hub-radius-sm);
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s var(--hub-smooth);
}

.hub-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.hub-form-group input:focus {
    outline: none;
    border-color: var(--hub-primary);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(0, 212, 212, 0.15);
}

.hub-form-group .form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    pointer-events: none;
}

.hub-form-group label+.form-icon {
    top: calc(50% + 0.9rem);
}

.hub-form-group:has(label) .form-icon {
    top: calc(1.4rem + 1rem + 0.4rem + 0.5rem);
    transform: none;
}

.hub-submit-btn {
    width: 100%;
    padding: 1.1rem;
    background: var(--hub-primary);
    color: var(--hub-navy);
    border: none;
    border-radius: var(--hub-radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--hub-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.hub-submit-btn:hover {
    background: #fff;
    color: var(--hub-navy);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 212, 212, 0.35);
}

.hub-privacy-note {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.hub-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 0 16px;
    height: 56px;
    border-radius: 50px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: all 0.3s var(--hub-smooth);
    white-space: nowrap;
}

.hub-whatsapp-btn i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hub-whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55);
    background: #1ebe5d;
}

.hub-whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: #25D366;
    opacity: 0.5;
    z-index: -1;
    animation: hub-wa-pulse 2.5s ease-out infinite;
}

@keyframes hub-wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* =============================================
   FOOTER (identical to main site)
   ============================================= */
.hub-footer {
    background: #050505;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-footer-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 60px;
}

.hub-footer-brand img {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.hub-footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

.hub-footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--hub-primary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.hub-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.hub-footer-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.hub-footer-col ul li a:hover {
    color: var(--hub-primary);
}

.hub-footer-col p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-footer-col p i {
    color: var(--hub-primary);
    width: 16px;
}

.hub-social-icons {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.hub-social-icons a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.3rem;
    transition: color 0.3s, transform 0.3s;
}

.hub-social-icons a:hover {
    color: var(--hub-primary);
    transform: translateY(-2px);
}

.hub-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.hub-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 100px 5% 0;
    max-width: 1200px;
    margin: 0 auto;
}

.hub-breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s;
}

.hub-breadcrumb a:hover {
    color: var(--hub-primary);
}

.hub-breadcrumb i {
    font-size: 0.7rem;
}

.hub-breadcrumb span {
    color: var(--hub-primary);
    font-weight: 600;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.hub-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--hub-smooth), transform 0.7s var(--hub-smooth);
}

.hub-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.hub-animate-delay-1 {
    transition-delay: 0.1s;
}

.hub-animate-delay-2 {
    transition-delay: 0.2s;
}

.hub-animate-delay-3 {
    transition-delay: 0.3s;
}

.hub-animate-delay-4 {
    transition-delay: 0.4s;
}

.hub-animate-delay-5 {
    transition-delay: 0.5s;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .featured-card {
        height: 380px;
    }

    .hub-newsletter-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }

    .hub-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hub-nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(26, 42, 94, 0.95);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        border-radius: 0 0 24px 24px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-top: none;
        margin-top: 12px;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s var(--hub-smooth);
        pointer-events: none;
    }

    .hub-nav .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .hub-mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 5px;
    }

    .hub-mobile-toggle span {
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s var(--hub-smooth);
    }

    .hub-mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hub-mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .hub-mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hub-nav .logo img {
        height: 44px;
    }

    .hub-nav .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .hub-hero {
        padding: 140px 1.5rem 60px;
    }

    .hub-hero-stats {
        gap: 1.5rem;
    }

    .hub-section {
        padding: 60px 0;
    }

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

    .hub-newsletter-card {
        padding: 2rem 1.5rem;
    }

    .hub-whatsapp-btn span {
        display: none;
    }

    .hub-whatsapp-btn {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .hub-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hub-footer-col p {
        justify-content: center;
    }

    .hub-social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hub-hero h1 {
        font-size: 2.5rem;
    }

    .featured-card {
        height: 320px;
    }

    .featured-card-overlay {
        padding: 1.5rem;
    }
}

/* =============================================
   AUTHORITY HUB — ARTICLE VIEW STANDARDIZATION
   These styles ensure a consistent look across
   all individual hub articles.
   ============================================= */

/* ── Article Hero ─────────────────── */
.article-hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    margin-top: 100px;
}

.article-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) saturate(1.1);
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 40, 0.98) 0%, rgba(10, 15, 40, 0.6) 50%, rgba(10, 15, 40, 0.2) 100%);
    display: flex;
    align-items: flex-end;
}

.article-hero-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

.article-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    max-width: 820px;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.article-meta-item i {
    color: var(--hub-primary);
}

/* ── Article Layout ───────────────── */
.article-layout {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 0 5rem;
    display: grid;
    grid-template-columns: 65fr 35fr;
    gap: 3.5rem;
    align-items: start;
}

.article-body {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
}

.article-body h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
    margin: 2.5rem 0 1.25rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

/* ── Sidebar ──────────────────────── */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 1.75rem;
}

.sidebar-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card-title i {
    color: var(--hub-primary);
}

/* ── Related Articles ─────────────── */
.related-section {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0 5rem;
}

.hub-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hub-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--hub-transition);
}

.hub-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hub-primary);
}

.hub-card-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.hub-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--hub-transition);
}

.hub-card:hover .hub-card-image img {
    transform: scale(1.05);
}

.hub-card-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--hub-primary);
    color: var(--hub-navy);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.hub-card-content {
    padding: 1.5rem;
}

.hub-card-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: #fff;
    line-height: 1.3;
}

.hub-card-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hub-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.hub-card-read {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.hub-card-link {
    color: var(--hub-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Footer CTA Banner ────────────── */
.article-cta-banner {
    background: linear-gradient(135deg, rgba(26, 42, 94, 0.95) 0%, rgba(0, 168, 204, 0.4) 100%);
    border-top: 1px solid rgba(0, 212, 212, 0.3);
    border-bottom: 1px solid rgba(0, 212, 212, 0.3);
    padding: 4rem 2rem;
    text-align: center;
}

.article-cta-banner-inner {
    max-width: 700px;
    margin: 0 auto;
}

.article-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-btn-call,
.cta-btn-whatsapp {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--hub-transition);
}

.cta-btn-call {
    background: var(--hub-primary);
    color: var(--hub-navy);
}

.cta-btn-whatsapp {
    border: 2px solid #25D366;
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

/* ── Article Nav ──────────────────── */
.article-nav {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.article-nav-link {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    transition: var(--hub-transition);
}

.article-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hub-primary);
}

.article-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--hub-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.article-nav-title {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }
}

/* ── Breadcrumb ─────────────── */
.article-breadcrumb {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-breadcrumb a,
.article-breadcrumb span {
    font-size: 0.82rem;
    font-family: 'Work Sans', sans-serif;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.article-breadcrumb a:hover {
    color: var(--hub-primary);
}

.article-breadcrumb .bc-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

.article-breadcrumb .bc-current {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Article Meta Extras ────── */
.article-meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

/* ── Article Content Specifics ── */
.article-content {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.article-content h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: #fff;
    letter-spacing: -0.02em;
    margin: 2.5rem 0 1rem;
    line-height: 1.2;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 212, 212, 0.25);
}

.article-content h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--hub-primary);
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
}

.article-content p {
    margin-bottom: 1.4rem;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-content li {
    padding-left: 0.25rem;
}

.article-content ul li::marker {
    color: var(--hub-primary);
}

.article-content ol li::marker {
    color: var(--hub-primary);
    font-weight: 700;
}

.article-content strong {
    color: #fff;
    font-weight: 700;
}

.article-content a {
    color: var(--hub-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.article-content a:hover {
    opacity: 0.8;
}

/* Callout / tip box */
.article-callout {
    background: rgba(0, 212, 212, 0.1);
    border-left: 4px solid var(--hub-primary);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}

.article-callout p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.article-callout strong {
    color: var(--hub-primary);
}

/* Warning box */
.article-warning {
    background: rgba(255, 107, 43, 0.1);
    border-left: 4px solid var(--hub-orange);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}

.article-warning p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ── Social Share ───────────── */
.article-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.article-share p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s var(--hub-smooth);
    border: 1px solid transparent;
}

.share-btn-wa {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    color: #25D366;
}

.share-btn-wa:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-2px);
}

.share-btn-fb {
    background: rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.4);
    color: #1877F2;
}

.share-btn-fb:hover {
    background: #1877F2;
    color: #fff;
    transform: translateY(-2px);
}

.share-btn-tw {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.share-btn-tw:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-2px);
}

/* ── Sidebar Component Extras ── */
.sidebar-help-card {
    background: linear-gradient(135deg, rgba(0, 212, 212, 0.15) 0%, rgba(26, 42, 94, 0.6) 100%);
    border-color: rgba(0, 212, 212, 0.35) !important;
}

.sidebar-help-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.sidebar-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.9rem;
    background: #25D366;
    color: #fff;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s var(--hub-smooth);
}

.sidebar-wa-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.88rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

.sidebar-input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.sidebar-input:focus {
    outline: none;
    border-color: var(--hub-primary);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 3px rgba(0, 212, 212, 0.12);
}

.sidebar-submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--hub-primary);
    color: var(--hub-navy);
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s var(--hub-smooth);
}

.sidebar-submit-btn:hover {
    background: #fff;
    color: var(--hub-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 212, 0.3);
}

.sidebar-articles-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-articles-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-articles-list li:last-child {
    border-bottom: none;
}

.sidebar-articles-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.85rem 0;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.4;
    font-family: 'Work Sans', sans-serif;
    transition: color 0.2s;
}

.sidebar-articles-list a:hover {
    color: var(--hub-primary);
}

.sidebar-articles-list a i {
    color: var(--hub-primary);
    font-size: 0.7rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.sidebar-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-cat-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    text-decoration: none;
    transition: all 0.25s;
}

.sidebar-cat-tag:hover {
    background: rgba(0, 212, 212, 0.15);
    border-color: rgba(0, 212, 212, 0.5);
    color: var(--hub-primary);
}