/* ============================================
   I Want Post Cards - Direct Mail Strategy
   Color scheme: Teal + Amber (no dark blue)
   ============================================ */

:root {
    --color-primary: #0f766e;
    --color-primary-dark: #0d9488;
    --color-accent: #f59e0b;
    --color-heading: #1c1917;
    --color-text: #57534e;
    --color-text-muted: #78716c;
    --color-bg-subtle: #f0fdfa;
    --color-bg-pattern: rgba(15, 118, 110, 0.04);
    --section-y: clamp(3rem, 5vw, 4rem);
    --content-max: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: #f8fffe;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(15, 118, 110, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
}

p {
    color: var(--color-text);
}

/* Site masthead only — not <header> inside sections (blog, RSS, article) */
body > header {
    background-color: #1a365d;
    color: #fff;
    padding: 20px 0;
}

body > header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

body > header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

body > header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

body > header nav a:hover {
    color: #f59e0b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo img,
.footer-brand img {
    height: auto;
    width: auto;
    max-height: 56px;
    max-width: min(220px, 52vw);
    display: block;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #f59e0b;
}

/* Leaderboard ad row – equal vertical space below header and above next section */
.ad-leaderboard-wrap {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Revive ad containers – reserved sizes */
#ad-300x300 {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    min-width: 300px;
    min-height: 300px;
}
#ad-728x90 {
    width: 728px;
    max-width: 100%;
    height: 90px;
    margin: 0 auto;
    min-height: 90px;
}
#ad-160x600 {
    width: 160px;
    height: 600px;
    margin: 0 auto;
    min-width: 160px;
    min-height: 600px;
}
#ad-300x250 {
    width: 300px;
    height: 250px;
    margin: 0 auto;
    min-width: 300px;
    min-height: 250px;
}
#ad-300x300, #ad-728x90, #ad-160x600, #ad-300x250 {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Section – modern UI with bg icons */
.hero {
    --hero-bg-start: #0c4a6e;
    --hero-bg-mid: #0e7490;
    --hero-bg-end: #06b6d4;
    --hero-accent: #fde047;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        linear-gradient(160deg, var(--hero-bg-start) 0%, var(--hero-bg-mid) 40%, var(--hero-bg-end) 100%);
    color: #ffffff;
    padding: clamp(2.5rem, 5vw, 3.25rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle mesh / glow for depth */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(6, 182, 212, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(14, 116, 144, 0.3) 0%, transparent 45%);
    pointer-events: none;
}

/* Background icons – decorative only */
.hero-bg-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    font-size: clamp(28px, 4vw, 56px);
}

.hero-bg-icon--1 { top: 12%; left: 8%;  font-size: 2.5rem; }
.hero-bg-icon--2 { top: 18%; right: 12%; font-size: 1.75rem; }
.hero-bg-icon--3 { top: 55%; left: 5%;  font-size: 2rem; }
.hero-bg-icon--4 { top: 70%; right: 10%; font-size: 2.25rem; }
.hero-bg-icon--5 { bottom: 20%; left: 15%; font-size: 1.5rem; }
.hero-bg-icon--6 { bottom: 25%; right: 18%; font-size: 2rem; }
.hero-bg-icon--7 { top: 35%; right: 6%;  font-size: 1.6rem; }
.hero-bg-icon--8 { top: 75%; left: 20%;  font-size: 1.4rem; }

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

.hero-kicker {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hero-accent);
    margin-bottom: 14px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin: 0 auto 18px;
    color: #ffffff;
}

.hero-title em {
    font-style: normal;
    font-weight: 600;
    color: var(--hero-accent);
}

.hero-lead {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.55;
    max-width: 620px;
    margin: 0 auto 28px;
    color: #ffffff;
    opacity: 1;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.hero-cta--primary {
    background: var(--hero-accent);
    color: #0c4a6e;
}

.hero-cta--primary:hover {
    background: #fef08a;
    color: #0c4a6e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(253, 224, 71, 0.4);
}

.hero-cta--secondary {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-cta--secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Live Feed – small ticker slider */
.live-feed {
    background: #f0fdfa;
    background-image: linear-gradient(90deg, var(--color-bg-pattern) 1px, transparent 1px),
        linear-gradient(var(--color-bg-pattern) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 14px 0;
    border-bottom: 1px solid #99f6e4;
    overflow: hidden;
}

.live-feed-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.live-feed-header h2 {
    font-size: 14px;
    color: var(--color-heading);
    margin: 0;
    font-weight: 600;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.live-feed-slider-wrap {
    overflow: hidden;
    width: 100%;
}

.live-feed-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: live-feed-scroll 35s linear infinite;
}

.live-feed-track:hover {
    animation-play-state: paused;
}

@keyframes live-feed-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.live-feed-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    min-width: 220px;
    max-width: 280px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.live-feed-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.live-feed-time {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.live-feed-content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-feed-content strong {
    color: var(--color-heading);
    font-size: 12px;
}

.live-feed-content p {
    margin: 0;
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.3;
    display: inline;
}

.live-feed-item a {
    color: var(--color-heading);
    text-decoration: none;
}

.live-feed-item a:hover {
    color: #f59e0b;
}

/* Breadcrumb – blog & article only, left aligned */
.breadcrumb {
    padding: 14px 0 0;
    margin-bottom: 8px;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.breadcrumb-list li + li::before {
    content: '/';
    margin: 0 10px;
    color: #cbd5e1;
    font-weight: 400;
    pointer-events: none;
}

.breadcrumb-list a {
    color: var(--color-heading);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.breadcrumb-list li[aria-current='page'] {
    color: var(--color-text-muted);
    font-weight: 500;
    max-width: 100%;
}

.breadcrumb-list li[aria-current='page'] span {
    display: inline-block;
    max-width: min(100%, 42ch);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

/* Main Content */
.main-content {
    padding: var(--section-y) 0;
}

.intro-section {
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 50%, #fff7ed 100%);
    padding: var(--section-y) 0;
    border-bottom: 1px solid #99f6e4;
    box-shadow: 0 4px 24px rgba(15, 118, 110, 0.08);
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0f766e 0%, #f59e0b 100%);
}

.intro-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 118, 110, 0.08) 1.5px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}

.intro-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.intro-section .intro-heading-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.intro-section .intro-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.intro-section .intro-icon i {
    font-size: 1.35rem;
    color: #f59e0b;
}

.intro-section h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin: 0;
    color: var(--color-heading);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.intro-section .intro-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    margin-top: 24px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(224, 231, 255, 0.8);
}

.intro-section .intro-block:first-of-type {
    margin-top: 0;
}

.intro-section .intro-block-icon {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.intro-section .intro-block-icon i {
    font-size: 1.1rem;
    color: #b45309;
}

.intro-section p {
    font-size: 17px;
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 640px) {
    .intro-section {
        padding: 36px 0 40px;
    }
    .intro-section .container {
        padding: 0 20px;
    }
    .intro-section .intro-heading-wrap {
        gap: 10px;
    }
    .intro-section .intro-block {
        flex-direction: column;
        gap: 12px;
        padding: 16px 18px;
    }
}

/* Blog Listing – under intro */
.blog-listing {
    position: relative;
    padding: var(--section-y) 0;
    overflow: hidden;
    background: linear-gradient(145deg, #ecfdf5 0%, #f0fdfa 38%, #fffbeb 100%);
    border-top: 1px solid #a7f3d0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.blog-listing::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 118, 110, 0.055) 1.5px, transparent 0);
    background-size: 22px 22px;
    pointer-events: none;
}

.blog-listing > .container {
    position: relative;
    z-index: 1;
}

.blog-listing-header {
    margin-bottom: 32px;
    padding: 22px 28px 22px 24px;
    border-left: 4px solid #f59e0b;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 118, 110, 0.08);
    border: 1px solid rgba(203, 213, 225, 0.65);
    color: inherit;
}

.blog-listing-kicker {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f59e0b;
    margin-bottom: 8px;
}

.blog-listing-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0 0 8px;
    line-height: 1.25;
}

.blog-listing-lead {
    font-size: 0.9375rem;
    color: var(--color-text);
    margin: 0;
}

.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-listing-grid--single {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
    max-width: 100%;
    padding: 22px 24px 26px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 2px 14px rgba(15, 118, 110, 0.05);
}

.blog-listing-card {
    margin: 0;
}

.blog-listing-card--more[data-hidden] {
    display: none;
}

.blog-listing-card-link {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-listing-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.blog-listing-card-img-wrap {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

.blog-listing-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-listing-card-link:hover .blog-listing-card-img-wrap img {
    transform: scale(1.05);
}

.blog-listing-card-body {
    padding: 22px 24px 24px;
}

.blog-listing-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 10px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.blog-listing-card-link:hover .blog-listing-card-title {
    color: #0f766e;
}

.blog-listing-card-meta {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.blog-listing-card-desc {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.55;
    margin: 0 0 14px;
}

.blog-listing-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f59e0b;
    transition: gap 0.25s ease;
}

.blog-listing-card-cta i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.blog-listing-card-link:hover .blog-listing-card-cta {
    gap: 10px;
}

.blog-listing-card-link:hover .blog-listing-card-cta i {
    transform: translateX(2px);
}

.blog-listing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.blog-listing-load-more {
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: #1a365d;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.blog-listing-load-more:hover {
    background: #2d4a7c;
    transform: translateY(-2px);
}

.blog-listing-load-more:active {
    transform: translateY(0);
}

.blog-listing-load-more.is-hidden {
    display: none;
}

@media (max-width: 900px) {
    .blog-listing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .blog-listing {
        padding: 40px 0 36px;
    }
    .blog-listing-header {
        padding: 18px 18px 18px 20px;
    }
    .blog-listing-grid--single {
        padding: 16px 14px 20px;
    }
    .blog-listing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .blog-listing-card-body {
        padding: 18px 20px 20px;
    }
}

/* RSS Feed Sections – clean minimal */
.rss-section {
    padding: var(--section-y) 0;
    background: #fff;
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 118, 110, 0.06) 1px, transparent 0);
    background-size: 32px 32px;
}

.rss-section--alt {
    background: #f0fdfa;
    background-image:
        linear-gradient(90deg, rgba(15, 118, 110, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(15, 118, 110, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* RSS section header – new design */
.rss-section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 20px 0 20px 20px;
    border-left: 4px solid #f59e0b;
    background: transparent;
    color: inherit;
}

.rss-section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f59e0b;
    margin-bottom: 8px;
}

.rss-section-heading {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0 0 8px;
    line-height: 1.25;
}

.rss-section-lead {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
    max-width: 36em;
}

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

.rss-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rss-card:hover,
.rss-card:focus {
    border-color: #0f766e;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.12);
    outline: none;
}

.rss-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 10px;
    line-height: 1.4;
}

.rss-card:hover .rss-card-title,
.rss-card:focus .rss-card-title {
    color: #0f766e;
}

.rss-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.55;
    margin: 0 0 14px;
}

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

.rss-card:hover .rss-card-meta,
.rss-card:focus .rss-card-meta {
    color: #f59e0b;
}

/* Footer */
footer {
    background: linear-gradient(165deg, #134e4a 0%, #0f766e 45%, #115e59 100%);
    color: #fff;
    padding: var(--section-y) 0 28px;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

footer .container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: clamp(28px, 4vw, 40px);
    align-items: start;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
    text-align: left;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand a {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    max-width: 280px;
}

.footer-col h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 14px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #fde68a;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a {
    color: #fde68a;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand {
        align-items: center;
    }
    .footer-brand p {
        max-width: none;
    }
    .footer-col ul {
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .rss-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .hero {
        padding: 40px 0 48px;
    }
}

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

    .rss-section {
        padding: 36px 0 40px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        padding: 36px 0 44px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-cta {
        width: 100%;
        max-width: 280px;
        font-size: 1rem;
    }

    nav ul {
        gap: 15px;
    }
}

/* ========== Article (single) page ========== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin: 24px 0 40px;
}

.article-content {
    max-width: 100%;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    animation: article-pulse 8s ease-in-out infinite;
}

@keyframes article-pulse {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

.article-title {
    font-size: 46px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.article-title em {
    color: #f59e0b;
    font-style: normal;
}

.article-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    position: relative;
}

.article-body {
    font-size: 18px;
    color: var(--color-text);
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2 {
    font-size: 32px;
    color: var(--color-heading);
    margin: 40px 0 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.article-body ul {
    margin: 20px 0 25px 30px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-sidebar .sidebar-widget {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.article-sidebar .sidebar-widget h3 {
    font-size: 18px;
    color: var(--color-heading);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f59e0b;
}

.article-sidebar .sidebar-widget a:hover {
    color: #f59e0b;
}

.related-articles {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
}

.related-articles h2 {
    font-size: 28px;
    color: var(--color-heading);
    margin-bottom: 25px;
}

.related-articles .related-articles-lead {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.related-articles .article-next-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-article-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-article-card h4 {
    font-size: 16px;
    color: var(--color-heading);
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-article-card h4 a {
    color: var(--color-heading);
    text-decoration: none;
}

.related-article-card h4 a:hover {
    color: #f59e0b;
}

.related-article-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

.related-article-card .read-more {
    color: #f59e0b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.related-article-card .read-more:hover {
    text-decoration: underline;
}

.related-article-card .related-article-card-image {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: #e2e8f0;
    margin-bottom: 12px;
}

.article-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 28px;
    background: #e2e8f0;
}

.sidebar-ad .newsletter-form input,
.article-sidebar .newsletter-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

.newsletter-form button {
    width: 100%;
    padding: 10px;
    background: #f59e0b;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #d97706;
}

.count {
    background: #f59e0b;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 5px;
}

@media (max-width: 1100px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 32px;
    }
    .article-body {
        font-size: 16px;
    }
    .article-body h2 {
        font-size: 26px;
    }
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Articles listing page ========== */
.articles-banner {
    --banner-bg-start: #0c4a6e;
    --banner-bg-mid: #0e7490;
    --banner-bg-end: #06b6d4;
    --banner-accent: #fde047;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(160deg, var(--banner-bg-start) 0%, var(--banner-bg-mid) 40%, var(--banner-bg-end) 100%);
    color: #ffffff;
    padding: 44px 24px 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.articles-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 40% at 50% -10%, rgba(251, 224, 71, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 100% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 45%);
    pointer-events: none;
}

.articles-banner-bg-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.articles-banner-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.07);
    font-size: clamp(24px, 3vw, 44px);
}

.articles-banner-icon--1 { top: 15%; left: 10%; }
.articles-banner-icon--2 { top: 50%; right: 8%; font-size: 1.75rem; }
.articles-banner-icon--3 { bottom: 20%; left: 15%; font-size: 1.5rem; }
.articles-banner-icon--4 { top: 25%; right: 18%; font-size: 1.4rem; }

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

.articles-banner-kicker {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--banner-accent);
    margin-bottom: 10px;
}

.articles-banner-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    color: #ffffff;
    line-height: 1.15;
}

.articles-banner-lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 400;
    line-height: 1.55;
    max-width: 580px;
    margin: 0 auto;
    color: #ffffff;
    opacity: 1;
}

.articles-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 48px 0 56px;
    align-items: start;
}

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

.article-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.12);
}

.article-card-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e2e8f0;
}

.article-card-body {
    padding: 22px 24px 24px;
}

.article-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.35;
}

.article-card-title a {
    color: var(--color-heading);
    text-decoration: none;
    transition: color 0.2s;
}

.article-card-title a:hover {
    color: #f59e0b;
}

.article-card-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.article-card-desc {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

.articles-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 24px;
}

.articles-sidebar .sidebar-widget {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px;
}

.articles-sidebar .sidebar-widget h3 {
    font-size: 16px;
    color: var(--color-heading);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f59e0b;
}

.articles-sidebar .sidebar-widget h3 i {
    margin-right: 8px;
    opacity: 0.9;
}

.search-form {
    display: flex;
    gap: 0;
}

.search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
}

.search-form button {
    padding: 10px 16px;
    background: #134e4a;
    color: #fff;
    border: 1px solid #134e4a;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.2s;
}

.search-form button:hover {
    background: #0d9488;
}

.articles-sidebar .sidebar-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.articles-sidebar .sidebar-widget li {
    margin-bottom: 10px;
}

.articles-sidebar .sidebar-widget a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.articles-sidebar .sidebar-widget a:hover {
    color: #f59e0b;
}

/* Categories widget – improved design */
.sidebar-widget-categories h3 i {
    margin-right: 8px;
    opacity: 0.9;
    color: #f59e0b;
}

.sidebar-widget-categories .categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-widget-categories .categories-list li {
    margin: 0;
}

.sidebar-widget-categories .categories-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: var(--color-heading);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.sidebar-widget-categories .categories-list a:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: var(--color-heading);
    transform: translateX(4px);
}

.sidebar-widget-categories .categories-list a .count {
    background: #134e4a;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.sidebar-widget-categories .categories-list a:hover .count {
    background: #f59e0b;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-heading);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pagination a:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--color-heading);
}

.pagination .current {
    background: #134e4a;
    color: #fff;
    border-color: var(--color-heading);
}

.pagination .pagination-arrow {
    font-weight: 600;
}

.pagination .pagination-arrow i {
    margin: 0 4px;
}

.pagination .pagination-arrow.disabled {
    color: #94a3b8;
    background: #f1f5f9;
    border-color: #e2e8f0;
    cursor: not-allowed;
    pointer-events: none;
}

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

@media (max-width: 900px) {
    .articles-layout {
        grid-template-columns: 1fr;
    }
    .articles-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .articles-banner {
        padding: 36px 20px 44px;
    }
    .articles-banner-title {
        font-size: clamp(1.875rem, 6vw, 2.5rem);
    }
    .articles-grid {
        gap: 20px;
    }
    .article-card-body {
        padding: 18px 20px;
    }
}
