/* ============================================================
   FINTECH GLOBAL SOFTWARE LTD -- Canonical Chrome Stylesheet
   Dark navy palette, gradient CTAs, fixed translucent nav.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --primary: #0066ff;
    --secondary: #00d4ff;
    --dark: #0a0e27;
    --darker: #050714;
    --light: #ffffff;
    --gray: #8892b0;
    --accent: #64ffda;

    --bg: #050714;
    --bg-elevated: rgba(255, 255, 255, 0.04);
    --bg-card: rgba(255, 255, 255, 0.02);
    --text: #ffffff;
    --text-muted: #8892b0;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.2);

    --radius: 15px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --container: 1200px;
    --nav-height: 80px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

/* ---------- Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--secondary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

/* ============================================================
   HEADER / NAVIGATION  (scoped to `header nav` only)
   ============================================================ */

header nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header nav.scrolled {
    background: rgba(5, 7, 20, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

header .nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

header .logo {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

header .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

header .nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

header .nav-links a:hover { color: var(--light); }

header .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

header .nav-links a:hover::after { width: 100%; }

header .header-cta { display: inline-flex; }

header .cta-button,
.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 0.7rem 1.75rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.cta-button:hover::before { left: 100%; }

.cta-button:hover {
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

header .hamburger {
    display: none;
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

header .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--dark);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 5rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
}

.mobile-nav-links a:hover { color: var(--light); }

.mobile-nav-links .cta-button {
    margin-top: 1rem;
    text-align: center;
    display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: 4rem 2rem 2rem;
    background: var(--dark);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

footer .footer-content {
    max-width: var(--container);
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    text-align: left;
}

footer .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--light);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

footer .footer-section p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

footer .footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .footer-section li { margin-bottom: 0.5rem; }

footer .footer-section a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s ease;
    display: inline-block;
}

footer .footer-section a:hover { color: var(--secondary); }

footer .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

footer .social-icon {
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
}

footer .footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    text-align: center;
    font-size: 0.85rem;
}

/* ============================================================
   FIXED-NAV COMPENSATION for non-home pages
   ============================================================ */
body.pbn-blog-page > main {
    padding-top: calc(var(--nav-height) + 24px);
}

/* ============================================================
   BLOG — article page
   ============================================================ */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    position: relative;
    z-index: 1;
}

.article-container h1 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light), var(--gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.article-container .meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.article-container .featured-image {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--border);
    overflow: hidden;
}

.article-container .featured-image img {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
}

.article-container .content { font-size: 1.05rem; line-height: 1.75; color: var(--light); }

.article-container .content h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    margin: 2.5rem 0 1rem;
    line-height: 1.25;
    color: var(--light);
    letter-spacing: -0.01em;
}

.article-container .content h3 {
    font-size: 1.35rem;
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
    color: var(--light);
}

.article-container .content h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--light);
}

.article-container .content p { margin-bottom: 1.25rem; color: #c9d1e0; }

.article-container .content ul,
.article-container .content ol {
    margin: 0 0 1.25rem 1.5rem;
    color: #c9d1e0;
}

.article-container .content ul li,
.article-container .content ol li { margin-bottom: 0.5rem; line-height: 1.7; }

.article-container .content a { color: var(--secondary); border-bottom: 1px solid rgba(0, 212, 255, 0.4); }
.article-container .content a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.article-container .content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    border: 1px solid var(--border);
}

.article-container .content blockquote {
    border-left: 3px solid var(--primary);
    background: rgba(0, 102, 255, 0.08);
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: #c9d1e0;
    font-style: italic;
}

.article-container .content pre {
    background: rgba(5, 7, 20, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.9rem;
    margin: 1.5rem 0;
    color: var(--accent);
    font-family: 'SF Mono', Menlo, Consolas, monospace;
}

.article-container .content code {
    background: rgba(100, 255, 218, 0.08);
    color: var(--accent);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.92em;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
}

.article-container .content pre code { background: transparent; padding: 0; color: inherit; }

.article-container .content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.article-container .content table th,
.article-container .content table td {
    border: 1px solid var(--border);
    padding: 0.6rem 0.85rem;
    text-align: left;
}

.article-container .content table th {
    background: rgba(0, 102, 255, 0.1);
    color: var(--light);
    font-weight: 600;
}

/* ---------- TOC  (CRITICAL reset) ---------- */
nav.toc,
.toc {
    position: static;
    z-index: auto;
    width: auto;
    top: auto;
    left: auto;
    right: auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0 2rem;
    backdrop-filter: none;
    box-shadow: none;
    display: block;
    transform: none;
}

nav.toc h2,
nav.toc .toc-title,
.toc h2,
.toc .toc-title {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

nav.toc ul,
.toc ul { list-style: none; margin: 0; padding: 0; }

nav.toc li,
.toc li { margin: 0.3rem 0; }

nav.toc a,
.toc a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
}

nav.toc a:hover,
.toc a:hover { color: var(--secondary); }

/* ---------- Breadcrumbs (CRITICAL reset) ---------- */
nav.breadcrumbs,
.breadcrumbs {
    position: static;
    z-index: auto;
    width: auto;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    backdrop-filter: none;
}

nav.breadcrumbs ol,
.breadcrumbs ol,
nav.breadcrumbs ul,
.breadcrumbs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

nav.breadcrumbs li,
.breadcrumbs li { display: inline-flex; align-items: center; }

nav.breadcrumbs li + li::before,
.breadcrumbs li + li::before {
    content: '/';
    margin: 0 0.5rem;
    color: var(--text-muted);
    opacity: 0.6;
}

nav.breadcrumbs a,
.breadcrumbs a { color: var(--gray); text-decoration: none; }

nav.breadcrumbs a:hover,
.breadcrumbs a:hover { color: var(--secondary); }

/* ---------- Tags ---------- */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-pill);
    color: var(--secondary);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.tag:hover {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

/* ---------- Share (inline row + BBC-style popover) ---------- */
.share-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin: 2rem 0;
}

.share-buttons .share-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-right: 0.4rem;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.share-btn svg { width: 16px; height: 16px; fill: currentColor; }

.share-btn-x  { background: #000000; }
.share-btn-fb { background: #1877F2; }
.share-btn-li { background: #0A66C2; }
.share-btn-wa { background: #25D366; }
.share-btn-tg { background: #229ED9; }

/* Share popover (top-of-article, BBC-style dropdown) */
.share-popover-wrap { position: relative; display: inline-block; }

.share-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--light);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-toggle:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: var(--primary);
    color: var(--light);
}

.share-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.share-popover[hidden] { display: none; }

.share-pop-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--light);
    font-size: 0.9rem;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background .2s ease;
}

.share-pop-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--light); }

.share-pop-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.share-pop-x  { color: #ffffff; }
.share-pop-fb { color: #1877F2; }
.share-pop-li { color: #0A66C2; }
.share-pop-wa { color: #25D366; }
.share-pop-tg { color: #229ED9; }

/* ---------- Related posts ---------- */
.related-posts { margin: 4rem 0 2rem; }

.related-posts h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s ease;
    display: block;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.2);
    color: var(--light);
}

.related-card h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.related-card .related-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   BLOG LIST (/blog/)
   ============================================================ */
.blog-header {
    max-width: var(--container);
    margin: 0 auto 1.5rem;
    padding: 0 1.5rem;
    text-align: left;
}

.blog-header h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    background: linear-gradient(135deg, var(--light), var(--gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header .blog-intro {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Category pill nav */
.categories {
    max-width: var(--container);
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.categories::-webkit-scrollbar { display: none; }

.cat-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cat-chip:hover {
    color: var(--light);
    border-color: var(--secondary);
}

.cat-chip.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: var(--light);
}

/* Posts grid (3 / 2 / 1) */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: var(--container);
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

@media (max-width: 1024px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
    .posts-grid { grid-template-columns: 1fr; gap: 20px; }
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(0, 102, 255, 0.18);
}

.post-card-image {
    aspect-ratio: 2 / 1;
    width: 100%;
    overflow: hidden;
    background: var(--bg-elevated);
    position: relative;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

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

.post-card-image-fallback {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(0, 102, 255, 0.25), rgba(0, 212, 255, 0.18)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 2px, transparent 2px, transparent 14px);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.post-card-image-fallback .ph-cat {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.post-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.post-card .cat-link {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.post-card .cat-link:hover { color: var(--secondary); }

.post-card-title {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--light);
    transition: color 0.2s ease;
}

.post-card:hover .post-card-title { color: var(--secondary); }

.post-card-meta {
    margin-top: auto;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.post-card-excerpt {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 2rem auto 3rem;
    flex-wrap: wrap;
    padding: 0 1.5rem;
}

.pagination ul,
.pagination ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: contents;
}

.pagination li {
    list-style: none;
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pagination a:hover {
    color: var(--light);
    border-color: var(--secondary);
    background: rgba(0, 212, 255, 0.08);
}

.pagination .current,
.pagination [aria-current="page"] {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: var(--light);
}

.pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    header .nav-links { gap: 1.25rem; }
    header .nav-links a { font-size: 0.9rem; }
}

@media (max-width: 768px) {
    header .nav-container { padding: 1rem 1.25rem; }
    header .nav-links,
    header .header-cta { display: none; }
    header .hamburger { display: flex; }
    header .logo { font-size: 1.1rem; }

    body.pbn-blog-page > main { padding-top: calc(var(--nav-height) + 16px); }

    .article-container { padding: 1.25rem 1rem 3rem; }

    footer { padding: 3rem 1.25rem 1.5rem; }
    footer .footer-content { gap: 2rem; }
}

@media (max-width: 480px) {
    header .logo { font-size: 1rem; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
    .share-buttons { gap: 0.4rem; }
}
