/* ===== DESIGN SYSTEM & VARIABLES ===== */
:root {
    --equity-teal: #0D7377;
    --equity-teal-light: #14B8A6;
    --equity-teal-dark: #065F46;
    --equity-gold: #D4A843;
    --equity-gold-light: #F0C75E;
    --equity-gold-dark: #B8860B;
    --equity-blue: #2563EB;
    --equity-blue-light: #60A5FA;
    --equity-emerald: #10B981;
    --equity-purple: #8B5CF6;
    --dark-950: #0A0F1A;
    --dark-900: #0F172A;
    --dark-800: #1E293B;
    --dark-700: #334155;
    --dark-600: #475569;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --white: #FFFFFF;
    --font: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1240px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--dark-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
}

input,
select {
    font-family: var(--font);
}

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    background: rgba(10, 15, 26, 0.98);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

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

.logo-svg {
    height: 38px;
    width: auto;
}

/* Navigation */
.main-nav {
    margin-left: auto;
    margin-right: 16px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--slate-300);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--equity-gold-light);
    background: rgba(212, 168, 67, 0.1);
}

.nav-link svg {
    transition: transform var(--transition);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: var(--dark-800);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--dark-800);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 769px) {

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-dropdown:hover .nav-link svg {
        transform: rotate(180deg);
    }
}

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--slate-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(212, 168, 67, 0.12);
    color: var(--equity-gold-light);
    padding-left: 18px;
}

/* Search */
.search-btn {
    padding: 10px;
    color: var(--slate-300);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.search-btn:hover {
    background: rgba(212, 168, 67, 0.12);
    color: var(--equity-gold-light);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--slate-300);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: var(--dark-900);
    z-index: 1100;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    transition: transform 0.35s ease;
}

.search-overlay.active {
    transform: translateY(0);
}

.search-overlay-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    padding: 12px 0;
    color: var(--white);
    background: transparent;
}

.search-input::placeholder {
    color: var(--slate-400);
}

.search-close {
    padding: 8px;
    color: var(--slate-300);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ===== HERO BANNER ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0A0F1A 0%, #0D1B2A 15%, #1A2332 30%, #0D3B3E 50%, #0D7377 70%, #0A0F1A 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 70% 20%, rgba(212, 168, 67, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 30% 70%, rgba(13, 115, 119, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 90% 60% at 50% 50%, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
    z-index: 1;
    animation: auroraPulse 8s ease-in-out infinite alternate;
}

@keyframes auroraPulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 168, 67, 0.25) 2px, transparent 2px);
    background-size: 30px 30px;
    z-index: 1;
    animation: meshDrift 20s linear infinite;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

@keyframes meshDrift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

/* Hero Background Elements */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

/* Animated House */
.hero-house-svg {
    position: absolute;
    bottom: 8%;
    right: 5%;
    width: 42%;
    max-width: 520px;
    opacity: 0.6;
    filter: drop-shadow(0 0 30px rgba(13, 115, 119, 0.2));
}

/* Floating Coins */
.hero-particles i {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--equity-gold);
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
    box-shadow: 0 0 8px 3px rgba(212, 168, 67, 0.4);
}

.hero-particles i:nth-child(1) {
    left: 10%;
    top: 70%;
    animation-delay: 0s;
    animation-duration: 5s;
}

.hero-particles i:nth-child(2) {
    left: 25%;
    top: 80%;
    animation-delay: 0.8s;
    animation-duration: 7s;
}

.hero-particles i:nth-child(3) {
    left: 40%;
    top: 75%;
    animation-delay: 1.2s;
    animation-duration: 6s;
}

.hero-particles i:nth-child(4) {
    left: 55%;
    top: 85%;
    animation-delay: 2s;
    animation-duration: 5.5s;
}

.hero-particles i:nth-child(5) {
    left: 70%;
    top: 72%;
    animation-delay: 0.5s;
    animation-duration: 6.5s;
}

.hero-particles i:nth-child(6) {
    left: 80%;
    top: 78%;
    animation-delay: 1.8s;
    animation-duration: 7.5s;
}

.hero-particles i:nth-child(7) {
    left: 15%;
    top: 60%;
    animation-delay: 3s;
    animation-duration: 5.2s;
    background: var(--equity-teal-light);
    box-shadow: 0 0 8px 3px rgba(20, 184, 166, 0.4);
}

.hero-particles i:nth-child(8) {
    left: 35%;
    top: 65%;
    animation-delay: 2.5s;
    animation-duration: 6.8s;
    background: var(--equity-teal-light);
    box-shadow: 0 0 8px 3px rgba(20, 184, 166, 0.4);
}

.hero-particles i:nth-child(9) {
    left: 60%;
    top: 55%;
    animation-delay: 1s;
    animation-duration: 7.2s;
    background: var(--equity-teal-light);
    box-shadow: 0 0 8px 3px rgba(20, 184, 166, 0.4);
}

.hero-particles i:nth-child(10) {
    left: 85%;
    top: 60%;
    animation-delay: 3.5s;
    animation-duration: 5.8s;
}

.hero-particles i:nth-child(11) {
    left: 20%;
    top: 50%;
    animation-delay: 0.3s;
    width: 4px;
    height: 4px;
}

.hero-particles i:nth-child(12) {
    left: 45%;
    top: 40%;
    animation-delay: 2.2s;
    width: 4px;
    height: 4px;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    15% {
        opacity: 0.9;
        transform: translateY(-20px) scale(1.2);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-80px) scale(1);
    }

    85% {
        opacity: 0.3;
        transform: translateY(-140px) scale(0.7);
    }

    100% {
        opacity: 0;
        transform: translateY(-200px) scale(0);
    }
}

/* Equity Growth Bar Animation */
.hero-equity-bar {
    position: absolute;
    bottom: 12%;
    right: 10%;
    width: 35%;
    max-width: 400px;
    opacity: 0.5;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 168, 67, 0.15);
    color: var(--equity-gold-light);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(212, 168, 67, 0.25);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    max-width: 700px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--equity-gold), var(--equity-gold-light), var(--equity-teal-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--slate-300);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--equity-gold), var(--equity-gold-dark));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.45);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 800;
}

.hero-stat span {
    font-size: 0.78rem;
    color: var(--slate-400);
    font-weight: 500;
}

/* ===== FEATURED SLIDER ===== */
.featured-section {
    padding: 60px 0 40px;
    background: var(--white);
}

.featured-slider {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 20px;
    min-height: 380px;
}

.featured-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition);
}

.featured-card:hover {
    transform: scale(1.02);
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card:hover img {
    transform: scale(1.08);
}

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.featured-card-overlay .featured-cat {
    display: inline-block;
    background: var(--equity-gold);
    color: var(--white);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    width: fit-content;
}

.featured-card-overlay h3 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

.featured-card:first-child .featured-card-overlay h3 {
    font-size: 1.5rem;
}

.featured-card-overlay .featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== MAIN CONTENT LAYOUT ===== */
.main-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px 20px;
}

/* ===== CATEGORY SECTIONS ===== */
.category-section {
    margin-bottom: 50px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--equity-gold);
}

.category-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark-900);
    position: relative;
}

.category-header .view-all {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--equity-teal);
    transition: color var(--transition);
}

.category-header .view-all:hover {
    color: var(--equity-gold);
}

/* Category Blog Grid — 1 large + sidebar list */
.category-blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Large Featured Card */
.blog-card-large {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card-large:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card-large .blog-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

.blog-card-large:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-large .blog-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--equity-gold);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.blog-card-large .blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-svg-container {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: 24px;
    padding-top: 10px;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.card-svg {
    width: 100%;
    height: 100%;
    max-height: 140px;
}

.card-svg .path-line {
    fill: none;
    stroke: var(--slate-300);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-svg .path-accent {
    fill: none;
    stroke: var(--equity-teal);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-svg .fill-accent {
    fill: var(--equity-gold);
}

.category-section.visible .anim-draw {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.category-section.visible .anim-grow {
    transform-origin: bottom center;
    transform: scaleY(0);
    animation: growUp 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.category-section.visible .anim-pop {
    transform: scale(0);
    transform-origin: center;
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.category-section.visible .anim-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes growUp {
    to { transform: scaleY(1); }
}

@keyframes popIn {
    to { transform: scale(1); }
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.blog-card-large .blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    color: var(--dark-600);
}

.blog-card-large .blog-meta .author {
    font-weight: 600;
    color: var(--equity-teal);
}

.blog-card-large .blog-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-900);
    line-height: 1.45;
    margin-bottom: 0;
}

.blog-card-large .blog-card-body h3 a {
    transition: color var(--transition);
}

.blog-card-large .blog-card-body h3 a:hover {
    color: var(--equity-teal);
}

/* Side Blog List (small cards stacked) */
.blog-list-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-card-small {
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--slate-200);
    background: var(--white);
    transition: all var(--transition);
    align-items: flex-start;
}

.blog-card-small:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-color: var(--equity-teal);
}

.blog-card-small .blog-thumb {
    width: 90px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card-small .blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-small .blog-card-info {
    flex: 1;
    min-width: 0;
}

.blog-card-small .blog-card-info .blog-cat-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--equity-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.blog-card-small .blog-card-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-900);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-small .blog-card-info h4 a {
    transition: color var(--transition);
}

.blog-card-small .blog-card-info h4 a:hover {
    color: var(--equity-teal);
}

.blog-card-small .blog-card-meta {
    font-size: 0.72rem;
    color: var(--dark-600);
    margin-top: 4px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
}

.sidebar-widget {
    margin-bottom: 32px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.sidebar-widget-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark-900);
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--dark-900), var(--dark-800));
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.82rem;
}

/* Stay Connected Widget */
.social-grid {
    display: flex;
    gap: 8px;
    padding: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white);
    transition: all var(--transition);
    flex: 1;
    min-width: calc(50% - 4px);
    justify-content: center;
}

.social-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.twitter {
    background: #1DA1F2;
}

.social-btn.youtube {
    background: #FF0000;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #833AB4, #C13584, #E1306C, #FD1D1D);
}

/* Sidebar Article List */
.sidebar-articles {
    padding: 16px 20px;
}

.sidebar-article {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-100);
    align-items: flex-start;
}

.sidebar-article:last-child {
    border-bottom: none;
}

.sidebar-article .sidebar-thumb {
    width: 70px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-article .sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-article .sidebar-article-info h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark-900);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-article .sidebar-article-info h4 a:hover {
    color: var(--equity-teal);
}

.sidebar-article .sidebar-article-info .sidebar-cat {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--equity-gold-dark);
    text-transform: uppercase;
    margin-bottom: 3px;
}

/* ===== RECENT POSTS (FULL WIDTH) ===== */
.recent-posts-section {
    padding: 20px 0 80px;
    background: var(--slate-100);
}

.recent-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.recent-posts-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark-900);
}

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

.recent-post-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
}

.recent-post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.recent-post-card .rp-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.recent-post-card .rp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recent-post-card:hover .rp-img img {
    transform: scale(1.06);
}

.recent-post-card .rp-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--equity-gold);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.recent-post-card .rp-body {
    padding: 20px;
}

.recent-post-card .rp-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--dark-600);
    margin-bottom: 10px;
}

.recent-post-card .rp-meta .rp-author {
    font-weight: 600;
    color: var(--equity-teal);
}

.recent-post-card .rp-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-900);
    line-height: 1.45;
    margin-bottom: 10px;
}

.recent-post-card .rp-body h3 a:hover {
    color: var(--equity-teal);
}

.recent-post-card .rp-body p {
    font-size: 0.85rem;
    color: var(--dark-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== FOOTER ===== */
.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0A0F1A 0%, #0D1B2A 15%, #1A2332 30%, #0D3B3E 50%, #0D7377 70%, #0A0F1A 100%);
    color: var(--slate-300);
    padding-top: 60px;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 70% 20%, rgba(212, 168, 67, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 30% 70%, rgba(13, 115, 119, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 90% 60% at 50% 50%, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
    z-index: 1;
    animation: auroraPulse 8s ease-in-out infinite alternate;
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 168, 67, 0.25) 2px, transparent 2px);
    background-size: 30px 30px;
    z-index: 1;
    animation: meshDrift 20s linear infinite;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
    pointer-events: none;
}

.site-footer > .container {
    position: relative;
    z-index: 3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.88rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-top: 16px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo-svg {
    height: 36px;
    width: auto;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--slate-400);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--equity-gold);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition);
}

.footer-col ul li a:hover {
    color: var(--equity-gold-light);
    padding-left: 4px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
}

/* Footer Newsletter */
.footer-newsletter p {
    font-size: 0.85rem;
    color: var(--slate-400);
    line-height: 1.6;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    outline: none;
    color: var(--white);
    font-size: 0.85rem;
}

.newsletter-form input::placeholder {
    color: var(--slate-400);
}

.newsletter-form button {
    padding: 12px 18px;
    background: var(--equity-gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.newsletter-form button:hover {
    background: var(--equity-gold-dark);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--slate-400);
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
    background: var(--equity-gold);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--equity-gold);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--slate-400);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: var(--slate-400);
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--equity-gold-light);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HOME PAGE DARK MODE ===== */
body.home-page-dark {
    background: var(--dark-950);
    color: var(--slate-300);
}

body.home-page-dark .featured-section {
    background: transparent;
}

body.home-page-dark .category-header h2 {
    color: var(--white);
}

body.home-page-dark .category-header {
    border-bottom-color: rgba(212, 168, 67, 0.5);
}

body.home-page-dark .blog-card-large,
body.home-page-dark .blog-card-small,
body.home-page-dark .sidebar-widget,
body.home-page-dark .recent-post-card {
    background: var(--dark-900);
    border-color: rgba(255, 255, 255, 0.05);
}

body.home-page-dark .card-svg .path-line {
    stroke: var(--dark-600);
}

body.home-page-dark .blog-card-large .blog-card-body h3,
body.home-page-dark .blog-card-small .blog-card-info h4,
body.home-page-dark .sidebar-article .sidebar-article-info h4,
body.home-page-dark .recent-posts-header h2,
body.home-page-dark .recent-post-card .rp-body h3 {
    color: var(--white);
}

body.home-page-dark .blog-card-small:hover {
    border-color: var(--equity-teal);
    background: rgba(255, 255, 255, 0.02);
}

body.home-page-dark .sidebar-article {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.home-page-dark .recent-posts-section {
    background: transparent;
}

body.home-page-dark .recent-post-card .rp-body p {
    color: var(--slate-400);
}

body.home-page-dark .blog-meta,
body.home-page-dark .blog-card-meta,
body.home-page-dark .rp-meta {
    color: var(--slate-400);
}

body.home-page-dark .category-header .view-all {
    color: var(--equity-teal-light);
}

body.home-page-dark .blog-card-small .blog-card-info .blog-cat-tag {
    color: var(--equity-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .featured-slider {
        grid-template-columns: 1fr 1fr;
    }

    .featured-slider .featured-card:first-child {
        grid-column: 1 / -1;
    }

    .main-content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .recent-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark-900);
        padding: 80px 24px 40px;
        transition: right var(--transition);
        z-index: 1000;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
        margin: 0;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 0.95rem;
        color: var(--slate-300);
        border-radius: var(--radius-sm);
    }

    .nav-link:hover {
        background: rgba(212, 168, 67, 0.1);
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        transform: none;
        min-width: 100%;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 8px 0 8px 16px;
    }

    .dropdown-menu li a {
        color: var(--slate-400);
        padding: 10px 14px;
    }

    .dropdown-menu li a:hover {
        color: var(--equity-gold-light);
        background: rgba(212, 168, 67, 0.08);
    }

    .logo-svg {
        height: 32px;
    }

    .hero {
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-house-svg {
        display: none;
    }

    .featured-slider {
        grid-template-columns: 1fr;
    }

    .featured-card {
        min-height: 200px;
    }

    .featured-card:first-child {
        min-height: 280px;
    }

    .category-blog-grid {
        grid-template-columns: 1fr;
    }

    .recent-posts-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .search-btn {
        display: none;
    }
}

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

    .hero-content {
        padding: 100px 16px 60px;
    }

    .featured-card-overlay h3 {
        font-size: 1rem !important;
    }

    .container {
        padding: 0 16px;
    }

    .header-container {
        padding: 0 16px;
    }

    .logo-svg {
        height: 26px;
    }
}