@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base styles */
:root {
    --primary-color: #3eb0ef;
    --text-color: #15171a;
    --background-color: #fff;
    --secondary-background: #f8f9fa;
    --border-color: #e9ecef;
    --ghost-accent-color: #15171A;
    --hero-bg-color: #f3f8ec;
    --hero-title-color: #7a9c5c;
    --hero-subtitle-color: #6b7c5e;
    --hero-button-color: #274654;
    --primary-green: #5D7B4D;
    --primary-blue: #274654;
    --cream: #F9F8F6;    
    --sage: #BED499;
    --gold: #FCB721;
    --white: #fff;
    --pale-blue: #F1F7FB;

    /* Updated font variables */
    --gh-font-heading: 'Literata', Georgia, serif;
    --gh-font-body: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

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

body {
    font-family: var(--gh-font-body);
    color: var(--text-color);
    line-height: 1.6;
    background: var(--background-color);
    margin: 0;
    padding: 0;
    width: 100%;
}

.site-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.outer {
    position: relative;
    padding: 0;
}

.inner {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

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

@media (max-width: 980px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

header.article-header {
    width: 100%;
}

.site-header {
    background: linear-gradient(180deg, rgba(247, 249, 242, 0.05) 0%, rgba(252, 253, 251, 0.42) 100%);
    padding: 20px 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Left - Logo */
.header-left {
    display: flex;
    justify-content: flex-start;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo img {
    height: 40px;
    width: auto;
    max-width: max-content;
}

.brand-text {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    font-family: var(--gh-font-heading);
}

/* Header Center - Search Bar */
.header-center {
    display: flex;
    justify-content: flex-end;
    width: auto;
    margin-right: 8px;
    align-self: flex-end;
    position: relative;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 195px;
    background: #BED499;
    border-radius: 49px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.search-container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 45%;
    transform: translateY(-50%);
    color: var(--primary-green);
    pointer-events: none;
    z-index: 2;
    width: 20px;
    height: 20px;
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 6px 24px 6px 44px;
    font-size: 1rem;
    outline: none;
    border-radius: 50px;
    transition: all 0.2s ease;
    font-family: var(--gh-font-body);
    color: var(--primary-green);
    font-weight: 400;
}

.search-input:focus {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(122, 156, 92, 0.2);
}

.search-input::placeholder {
    color: var(--primary-green);
    font-weight: 400;
}

/* Header Right - Navigation and Actions */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav li {
    margin: 0;
    padding: 0;
}

.header-nav a,
.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
    font-family: var(--gh-font-body) !important;
    display: block;
    padding: 8px 0;
}

.header-nav a:hover,
.nav-link:hover {
    color: #7a9c5c;
}

.header-nav a.nav-current {
    color: #7a9c5c;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.subscribe-btn {
    background: #274654;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-family: var(--gh-font-body);
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #1f3a44;
    transform: translateY(-1px);
}
.login-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    background: #5D7B4D;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-family: var(--gh-font-body);
    white-space: nowrap;
}

.login-btn:hover {
    background: #6b8a52;
    transform: translateY(-1px);
}

/* Mobile Search Toggle */
.mobile-search-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.mobile-search-toggle:hover {
    background: rgba(93, 123, 77, 0.1);
}

.mobile-search-toggle svg {
    display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: #333;
    margin: 2px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Responsive Header */
@media (max-width: 1200px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
        padding: 0 20px;
    }
    
    .header-nav ul {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-center {
        display: none;
    }
    
    .header-nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-search-toggle {
        display: flex;
        margin-right: -20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 16px 0;
    }
    
    .header-container {
        padding: 0 16px;
    }
    
    .brand-text {
        font-size: 1.5rem;
    }
    
    .subscribe-btn,
    .login-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* ===== HERO SECTION (Figma Design Match) ===== */

.hero-section {
    background: linear-gradient(180deg, rgba(247, 249, 242, 0.05) 0%, rgba(190, 212, 153, 0.42) 100%);
    padding: 120px 0 130px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about .hero-section {
    padding: 0;
    background: transparent;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}


.hero-title {
    font-size: 4.688rem;
    font-family: var(--gh-font-heading);
    color: var(--primary-green);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--primary-green);
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
    font-family: var(--gh-font-body);
    font-weight: 400;
}

.hero-subscribe-form {
    display: flex;
    width: 100%;
    max-width: 740px;
    background: var(--cream);
    border: 2px solid var(--primary-green);
    border-radius: 10.48px;
    overflow: hidden;
    box-shadow: none;
    position: relative;
    padding: 4px;
    margin-top: 51px;
}

.hero-email-input {
    flex: 1;
    border: none;
    padding: 29px 16px 26px 40px;
    font-size: 1.94rem;
    outline: none;
    color: var(--sage);
    background: transparent;
    font-family: var(--gh-font-body);
}

.hero-email-input::placeholder {
    color: var(--sage);
    opacity: 1;
}

.hero-subscribe-btn {
    background: var(--primary-blue);
    color: var(--cream);
    border: none;
    padding: 18px 31px;
    font-size: 1.3rem;
    border-radius: 10.46px;
    margin: 8px 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hero-subscribe-btn:hover {
    background: #1f3a44;
    transform: translateY(-1px);
}

/* Mobile Responsive Hero */
@media (max-width: 900px) {
    .hero-section {
        padding: 60px 0 80px 0;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 40px 0 60px 0;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-email-input {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
}

/* ===== FEATURED POST SECTION (Figma Design Match) ===== */

.featured-post-section {
    background: var(--cream);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.featured-post-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 0 40px; */
    width: 100%;
    display: flex;
    align-items: stretch;
    min-height: 380px;
}

@media (max-width: 1200px) {
    .featured-post-container {
        padding: 0;
    }
}

.featured-post-card {
    background: var(--primary-blue);
    color: #fff;
    flex: 1 1 0;
    border-radius: 0 65px 65px 0;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 750px;
    align-items: center;
    z-index: 3;
}

.featured-post-card--inner {
    max-width: 450px;
}

.featured-post-image {
    flex: 1 1 0;
    border-radius: 0;
    overflow: hidden;
    min-width: 0;
    display: flex;
    align-items: stretch;
    width: calc(100% + 60px);
    margin-left: -60px;
    z-index: 2;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-label {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
    font-family: var(--gh-font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-title {
    font-family: var(--gh-font-heading);
    font-size: 4rem;
    line-height: 64px;
    font-weight: 700;
    margin: 0 0 18px 0;
    color: var(--cream);
    letter-spacing: -0.02em;
}

.featured-subtitle {
    color: var(--sage);
    font-size: 1.5rem;
    margin-bottom: 28px;
    margin-top: 0;
    font-family: var(--gh-font-body);
    font-weight: 400;
    line-height: 1.6;
}

.featured-btn {
    background: var(--gold);
    color: var(--primary-blue);
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    font-family: var(--gh-font-body);
    transition: all 0.2s ease;
}

.featured-btn:hover {
    background: #e6c659;
    transform: translateY(-1px);
}

/* ===== TESTIMONIALS SECTION (Figma Design Match) ===== */

.testimonials-section {
    padding: 80px 0 40px;
    background: var(--cream);
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-title {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 16px;
    font-family: var(--gh-font-heading);
    letter-spacing: -0.02em;
}

.testimonials-subtitle {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto;
    font-family: var(--gh-font-body);
}

.testimonials-grid {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 140px auto 60px;
}

.testimonial-card {
    background: #7FB3D3;
    padding: 60px 28px;
    border-radius: 20px;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: auto 10px;
    overflow: hidden;
    min-height: 456px;
    justify-content: initial;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 105%;
    border-radius: 50%;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    z-index: 1;
}

.testimonial-card.odd {
    margin-top: -58px;
}

.testimonial-card.odd::before {
    top: auto;
    bottom: -60px;
    transform: translateX(-50%) rotate(180deg);
}

.testimonial-quote-icon {
    margin-bottom: 32px;
    opacity: 0.6;
    position: relative;
    z-index: 2;
}

.testimonial-quote-icon svg {
    width: 53px;
    height: 39px;
}

.testimonial-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.testimonial-text {
    font-size: 1.5rem;
    line-height: 36px;
    color: var(--cream);
    margin: 0;
    font-weight: 400;
}

.testimonial-text em {
    font-style: italic;
    font-weight: 600;
}

.testimonial-blue {
    background: #87B3D2;
}

.testimonial-blue::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(235, 242, 247, 0.17) 35%, rgba(121, 163, 192, 1) 100%);
}

.testimonial-orange {
    background: var(--gold);
}

.testimonial-orange::before {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,247,229,0.12) 12%, rgba(254,232,185,0.32) 32%, rgba(253,215,132,0.55) 55%, #FCB721 100%);
}

.testimonial-green {
    background: var(--primary-green);
}

.testimonial-green::before {
    background: linear-gradient(90deg, 
        rgba(190, 212, 153, 1) 0%,      /* #BED499, 100% */
        rgba(205, 222, 176, 0.77) 42%,  /* #CDDEB0, 77% */
        rgba(216, 229, 194, 0.59) 63%,  /* #D8E5C2, 59% */
        rgba(234, 241, 222, 0.33) 92%,  /* #EAF1DE, 33% */
        rgba(255, 255, 255, 0) 100%     /* #FFFFFF, 0% */
    );
    opacity: 1;
}

.testimonial-navy {
    background: var(--primary-blue);
}

.testimonial-navy::before {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(135,179,210,1) 100%);
}

/* ===== CATEGORIES SECTION (Figma Design Match) ===== */

.categories-section {
    padding: 80px 0;
    text-align: center;
    background: #F1F7FB;
}

.categories-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 64px;
    margin-bottom: 60px;
    color: var(--primary-blue);
    font-family: var(--gh-font-heading);
}

.categories-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1172px;
    margin: 0 auto;
    padding: 0 40px;
    margin-bottom: 60px;
}

.category-card {
    background: #FDFCFA;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    /* min-height: 280px; */
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.category-card-full-image {
    padding: 0;
    cursor: pointer;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
}

.category-card-full-image .category-card-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card-full-image:hover .category-card-link img {
    transform: scale(1.05);
}

.category-card-full-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 138, 82, 0.6);
}

.category-card-full-image .category-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 138, 82, 0.6);
}

.category-label {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 20px;
    font-family: var(--gh-font-body);
    width: fit-content;
}

.category-label-blue {
    background: #87B3D2;
    color: var(--primary-blue);
}

.category-label-yellow {
    background: var(--gold);
    color: #8E651D;
}

.category-label-green {
    background: var(--sage);
    color: var(--primary-blue);
}

.category-card-title {
    font-size: 1.249rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-green);
    line-height: 1.4;
    font-family: var(--gh-font-heading);
    flex-grow: 1;
}

.category-card-desc {
    color: #606060;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: var(--gh-font-body);
}

.category-readmore {
    color: #262626;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    font-family: var(--gh-font-body);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    font-family: 'Poppins', sans-serif;
}

.category-readmore:hover {
    color: #1d4ed8;
}

.categories-seemore-wrapper {
    text-align: center;
}

.categories-seemore-btn {
    background: #374151;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    font-family: var(--gh-font-body);
}

.categories-seemore-btn:hover {
    background: #1f2937;
    transform: translateY(-1px);
}

/* ===== RECENT POSTS SECTION (Figma Design Match) ===== */

.recent-posts-section {
    padding: 80px 0;
    text-align: center;
    background: lightblue;
}

.recent-posts-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 64px;
    margin-bottom: 60px;
    color: var(--primary-blue);
    font-family: var(--gh-font-heading);
}

.recent-posts-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1172px;
    margin: 0 auto;
    padding: 0 40px;
    margin-bottom: 60px;
    margin-top: 60px;
}

.recent-post-card {
    background: #FDFCFA;
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.recent-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.recent-post-placeholder {
    width: 100%;
    height: 200px;
    background: #f3f4f6;
    border-radius: 12px;
    margin-bottom: 20px;
}

.recent-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recent-post-card-full-image {
    padding: 0;
    cursor: pointer;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
}

.recent-post-card-full-image .recent-post-card-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.recent-post-card-full-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 138, 82, 0.6);
}

.recent-post-card-full-image .recent-post-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.recent-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 138, 82, 0.6);
}

.recent-post-label {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 20px;
    font-family: var(--gh-font-body);
    width: fit-content;
}

.recent-post-label-blue {
    background: #87B3D2;
    color: var(--primary-blue);
}

.recent-post-label-yellow {
    background: var(--gold);
    color: #8E651D;
}

.recent-post-label-green {
    background: var(--sage);
    color: var(--primary-blue);
}

.recent-post-date {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
    font-family: var(--gh-font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-post-title {
    font-family: var(--gh-font-heading);
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 18px 0;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

.recent-post-excerpt {
    color: var(--primary-green);
    font-size: 1rem;
    margin-bottom: 28px;
    margin-top: 0;
    font-family: var(--gh-font-body);
    font-weight: 400;
    line-height: 1.6;
}

.recent-post-btn {
    background: var(--gold);
    color: var(--primary-blue);
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    font-family: var(--gh-font-body);
    transition: all 0.2s ease;
}

.recent-post-btn:hover {
    background: #e6c659;
    transform: translateY(-1px);
}



.recent-posts-seemore-wrapper {
    text-align: center;
}

.recent-posts-seemore-btn {
    background: #374151;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    font-family: var(--gh-font-body);
}

.recent-posts-seemore-btn:hover {
    background: #1f2937;
    transform: translateY(-1px);
}

/* Responsive Recent Posts */
@media (max-width: 900px) {
    .recent-posts-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
    
    .recent-posts-section {
        padding: 60px 0;
    }
    
    .recent-posts-title {
        font-size: 2rem;
    }
    
    .recent-post-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .recent-posts-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    .recent-post-card {
        aspect-ratio: auto;
    }
    
    .recent-posts-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .recent-posts-section {
        padding: 30px 0;
    }
    
    .recent-post-title {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .recent-post-excerpt {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
    
    .recent-post-date {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }
    
    .recent-post-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ===== CATEGORIES SELECTION SECTION ===== */

.categories-intro {
    padding: 60px 0;
    background: var(--cream);
}

.categories-selection {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.categories-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
    color: var(--primary-blue);
    font-family: var(--gh-font-heading);
}

#stocks-dropdown {
    width: 100%;
    max-width: 400px;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-blue);
    background: var(--white);
    border: 2px solid var(--sage);
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--gh-font-body);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(190, 212, 153, 0.2);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23274654' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

#stocks-dropdown:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(190, 212, 153, 0.3);
    transform: translateY(-1px);
}

#stocks-dropdown:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(190, 212, 153, 0.3);
}

#stocks-dropdown option {
    padding: 12px;
    font-size: 1rem;
    color: var(--primary-blue);
    background: var(--white);
    font-family: var(--gh-font-body);
}

#stocks-dropdown option:hover {
    background: var(--sage);
    color: var(--primary-blue);
}

/* ===== POST FEED SECTION ===== */

.post-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.post-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card-content {
    padding: 24px;
}

.post-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f2937;
    line-height: 1.4;
    font-family: var(--gh-font-heading);
}

.post-card-title:hover {
    color: #3b82f6;
}

.post-card-excerpt {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: var(--gh-font-body);
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

.author-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.author-list-item {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.author-profile-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 6px;
}

.author-list-name {
    font-weight: 500;
    font-family: var(--gh-font-body);
}

.reading-time {
    font-family: var(--gh-font-body);
}

/* ===== PAGINATION ===== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    gap: 12px;
}

.pagination a,
.pagination span {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: var(--gh-font-body);
}

.pagination a {
    background: #f3f4f6;
    color: #374151;
}

.pagination a:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.pagination .current {
    background: #3b82f6;
    color: #fff;
}

/* ===== FOOTER STYLES (Figma Design Match) ===== */

.site-footer {
    background: #274654;
    color: #fff;
    padding: 60px 0 0 0;
    margin-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 100px;
}

/* Footer Brand Section */
.footer-brand {
    max-width: 100%;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--gh-font-heading);
}

.footer-description {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
    font-family: var(--gh-font-body);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

/* Footer Links Section */
.footer-links {
    display: contents;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sage);
    margin-bottom: 10px;
    font-family: var(--gh-font-heading);
}

.footer-content .nav,
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.footer-content .nav a,
.footer-menu a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    font-family: var(--gh-font-body);
    line-height: 1.5;
}

.footer-content .nav a:hover,
.footer-menu a:hover {
    color: #fff;
}

/* Footer Subscribe Section */
.footer-subscribe-text {
    color: var(--cream);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    font-family: var(--gh-font-body);
}

.footer-subscribe-form {
    display: flex;
    background: #F1F7FB;
    border-radius: 10.46px;
    padding: 4px;
    overflow: hidden;
}

.footer-email-input {
    background: transparent;
    border: none;
    border-radius: 21px;
    padding: 10px 16px;
    color: var(--primary-green);
    font-size: 1rem;
    outline: none;
    font-family: var(--gh-font-body);
    flex: 1;
}

.footer-email-input::placeholder {
    color: var(--primary-green);
}

.footer-subscribe-btn {
    background: var(--primary-green);
    color: var(--cream);
    border: none;
    border-radius: 10.46px;
    padding: 10px 16px;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--gh-font-body);
    white-space: nowrap;
    margin: 2px;
}

.footer-subscribe-btn:hover {
    background: #6b8a52;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
    font-family: var(--gh-font-body);
}

.footer-legal {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    font-family: var(--gh-font-body);
}

.footer-legal a:hover {
    color: #fff;
}

/* Footer Responsive Design */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-content .footer-column:first-child {
        display: none;
    }
    
    .site-footer {
        padding: 40px 0 0 0;
    }
    
    .footer-container {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 32px 0 0 0;
    }
    
    .footer-container {
        padding: 0 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-brand-text {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .footer-social {
        gap: 10px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link svg {
        width: 14px;
        height: 14px;
    }
    
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-legal {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-legal a {
        font-size: 0.8rem;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
}

/* ===== RESPONSIVE DESIGN (Updated for Figma Match) ===== */

/* Mobile Responsive Header */
@media (max-width: 1200px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
        padding: 0 20px;
    }
        
    .header-nav ul {
        gap: 16px;
    }
}

/* Responsive Hero Section */
@media (max-width: 900px) {
    .hero-section {
        padding: 60px 0 80px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        gap: 24px;
        padding: 0 20px;
    }
    
    .hero-subscribe-form {
        max-width: 100%;
        margin-top: 30px;
        padding: 0 0 0 10px;
    }

    .hero-subscribe-btn {
        margin-left: -30px;
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 40px 0 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        gap: 0;
        padding: 0 16px;
    }

    .market-data-image {
        border-radius: 0 0 37px 37px!important;
    }
}

/* Responsive Featured Post */
@media (max-width: 900px) {
    .featured-post-section {
        padding: 60px 0;
    }
    
    .featured-post-container {
        padding: 0 20px;
        flex-direction: column;
        min-height: auto;
    }
    
    .featured-post-card {
        max-width: 100%;
        margin: 0;
        padding: 40px 32px;
        border-radius: 24px 24px 0 0;
    }
    
    .featured-post-image {
        border-radius: 0 0 24px 24px;
        min-height: 250px;
    }
    
    .featured-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .featured-post-section {
        padding: 0;
    }
    
    .featured-post-container {
        padding: 0;
    }
    
    .featured-post-card {
        padding: 32px 24px;
        border-radius: 0;
    }
    
    .featured-post-image {
       display: none;
    }
    
    .featured-title {
        font-size: 1.8rem;
        line-height: 1.6;
    }
    
    .featured-subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
    
    .featured-label {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }
    
    .featured-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Responsive Testimonials */
@media (max-width: 980px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 500px;
        display: grid;
    }
    
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-container {
        padding: 0 20px;
    }
    
    .testimonials-header {
        margin-bottom: 40px;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 24px 20px;
        margin-top: 0!important;
    }
    
    .testimonial-quote-mark {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
        margin-bottom: 0;
    }

    .testimonial-card { 
        padding: 36px 10px;
    }

    .header-nav.active .mobile-actions { 
        width: 100%;
    }
}

/* Responsive Categories */
@media (max-width: 900px) {
    .categories-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
    
    .categories-section {
        padding: 60px 0;
    }
    
    .categories-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .categories-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    .category-card {
        aspect-ratio: 1;
    }
    
    .categories-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .categories-section {
        padding: 30px 0;
    }

    /* Responsive Categories Selection */
    .categories-intro {
        padding: 40px 0;
    }

    .categories-selection {
        padding: 0 16px;
    }

    .categories-title {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    #stocks-dropdown {
        max-width: 100%;
        font-size: 1rem;
        padding: 14px 16px;
    }
}

/* General heading and text styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--gh-font-heading);
    font-weight: 700;
}

/* Specific font sizes for all headings across pages and posts */
h1 {
    font-size: 50px;
    margin: 2rem 0;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 35px;
}

h4 {
    font-size: 30px;
}

h5 {
    font-size: 25px;
}

h6 {
    font-size: 20px ;
}

/* General heading and text styles */
.gh-content h1, .gh-article h1, .article-content h1, .gh-article-content h1 {
    font-family: var(--gh-font-heading);
    font-weight: 700;
    font-size: 40pt;
    color: #274654;
}

.gh-content h2, .article-content h2, .gh-article-content h2, .gh-content h3, .article-content h3, .gh-article-content h3, .gh-content h4, .article-content h4, .gh-article-content h4, .gh-content h5, .article-content h5, .gh-article-content h5, .gh-content h6, .article-content h6, .gh-article-content h6 {
    font-family: var(--gh-font-body);
    font-weight: 700;
}

.gh-content h2, .article-content h2, .gh-article-content h2 {
    font-size: 32pt;
    color: #5d7b4d;
}

.gh-content h3, .article-content h3, .gh-article-content h3 {
    font-size: 26pt;
    color: #5d7b4d;
}

.gh-content h4, .article-content h4, .gh-article-content h4 {
    font-size: 22pt;
}

.gh-content h5, .article-content h5, .gh-article-content h5 {
    font-size: 18pt;
}

.gh-content h6, .article-content h6, .gh-article-content h6 {
    font-size: 16pt;
}

.gh-article-share a {
    display: inline-block;
    margin-right: 10px;
}

/* Mobile responsive headings */
@media (max-width: 768px) {
    h1 {
        font-size: 32px !important;
        margin: 1.5rem 0 !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 28px !important;
        margin: 1.4rem 0 !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 24px !important;
        margin: 1.3rem 0 !important;
        line-height: 1.3 !important;
    }

    h4 {
        font-size: 22px !important;
        margin: 1.2rem 0 !important;
        line-height: 1.4 !important;
    }

    h5 {
        font-size: 20px !important;
        margin: 1.1rem 0 !important;
        line-height: 1.4 !important;
    }

    h6 {
        font-size: 18px !important;
        margin: 1rem 0 !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px !important;
        margin: 1.2rem 0 !important;
    }

    h2 {
        font-size: 24px !important;
        margin: 1.1rem 0 !important;
    }

    h3 {
        font-size: 22px !important;
        margin: 1rem 0 !important;
    }

    h4 {
        font-size: 20px !important;
        margin: 0.9rem 0 !important;
    }

    h5 {
        font-size: 18px !important;
        margin: 0.8rem 0 !important;
    }

    h6 {
        font-size: 16px !important;
        margin: 0.7rem 0 !important;
    }
}

/* Featured image styles for posts and pages */
.article-image,
.article-image img,
.gh-article-image,
.gh-article-image img {
    width: 100% !important;
    max-height: 400px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Page and article padding */
.page-article, 
article.article,
.gh-main,
.gh-article {
    /* Removed top and bottom padding of 60px */
}

/* Content area padding for inner pages */
.gh-content,
.article-content,
.gh-article-content {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* Content spacing for better readability */
.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.gh-content h5,
.gh-content h6,
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6,
.gh-article-content h1,
.gh-article-content h2,
.gh-article-content h3,
.gh-article-content h4,
.gh-article-content h5,
.gh-article-content h6 {
    margin-top: 40px !important;
    margin-bottom: 20px !important;
}

.gh-content p,
.article-content p,
.gh-article-content p {
    margin-bottom: 20px !important;
    line-height: 1.7 !important;
}

.gh-content ul,
.gh-content ol,
.article-content ul,
.article-content ol,
.gh-article-content ul,
.gh-article-content ol {
    margin-bottom: 20px !important;
    margin-top: 10px !important;
    padding-left: 2rem;
}

@media (max-width: 768px) {
    .gh-content ul,
    .gh-content ol,
    .article-content ul,
    .article-content ol,
    .gh-article-content ul,
    .gh-article-content ol {
        padding-left: 1rem;
    }
}

.gh-content li,
.article-content li,
.gh-article-content li {
    margin-bottom: 8px !important;
}

/* First heading in content should not have top margin */
.gh-content h1:first-child,
.gh-content h2:first-child,
.gh-content h3:first-child,
.gh-content h4:first-child,
.gh-content h5:first-child,
.gh-content h6:first-child,
.article-content h1:first-child,
.article-content h2:first-child,
.article-content h3:first-child,
.article-content h4:first-child,
.article-content h5:first-child,
.article-content h6:first-child,
.gh-article-content h1:first-child,
.gh-article-content h2:first-child,
.gh-article-content h3:first-child,
.gh-article-content h4:first-child,
.gh-article-content h5:first-child,
.gh-article-content h6:first-child {
    margin-top: 0 !important;
}

/* Specific font assignments for all elements */
.brand-text,
.hero-title,
.featured-title,
.testimonials-title,
.categories-title,
.category-card-title,
.post-card-title,
.footer-title,
.footer-brand-text,
.search-title ,
.testimonial-text {
    font-family: var(--gh-font-heading) !important;
}

.nav-link,
.subscribe-btn,
.login-btn,
.hero-subtitle,
.hero-email-input,
.hero-subscribe-btn,
.featured-subtitle,
.featured-btn,
.testimonials-subtitle,
.category-label,
.category-card-desc,
.category-readmore,
.categories-seemore-btn,
.post-card-excerpt,
.author-list-name,
.reading-time,
.footer-nav a,
.footer-menu a,
.footer-subscribe-text,
.footer-email-input,
.footer-subscribe-btn,
.footer-copyright,
.footer-legal a,
.search-input,
.search-submit-btn {
    font-family: var(--gh-font-body) !important;
}

/* Additional utility classes */
.kg-width-wide {
    position: relative;
    width: 85vw;
    min-width: 100%;
    margin: auto calc(50% - 50vw);
    transform: translateX(calc(50vw - 50%));
}

.kg-width-full {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .header-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .header-nav.active ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-bottom: 20px;
    }
    
    .header-nav.active li {
        width: 100%;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .header-nav.active li:last-child {
        border-bottom: 1px solid #f3f4f6;
    }
    
    .header-nav.active a,
    .header-nav.active .nav-link {
        padding: 12px 0;
        width: 100%;
    }
    
    .header-nav.active .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-top: 12px;
        border-top: 1px solid #f3f4f6;
    }
    
    .header-nav.active .mobile-actions .subscribe-btn,
    .header-nav.active .mobile-actions .login-btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.2s ease;
        font-family: var(--gh-font-body) !important;
    }
    
    .header-nav.active .mobile-actions .subscribe-btn {
        background: #274654;
        color: #fff;
    }
    
    .header-nav.active .mobile-actions .subscribe-btn:hover {
        background: #1f3a44;
    }
    
    .header-nav.active .mobile-actions .login-btn {
        background: #5D7B4D;
        color: #fff;
    }
    
    .header-nav.active .mobile-actions .login-btn:hover {
        background: #6b8a52;
    }
}

p, div, span, a, li, td, th, label, input, button, textarea {
    font-family: var(--gh-font-body);
}

.page-article, article.article {
    background-color: var(--cream);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    flex-direction: column;
    padding: 0 0 4% 0;
} 

.page-faq .kg-toggle-card {
    border-radius: 16px;
    box-shadow: none;
    border: 1px solid var(--sage);
    background-color: #fff;
}

.page-faq .kg-toggle-card h4 {
    margin-bottom: 0 !important;
    padding-bottom: 0;
    line-height: 1.4rem;
    color: var(--primary-green);
    font-size: 1.5rem;
}

.columns-two {
    display: flex;
    gap: 3rem;
}

@media (max-width: 768px) {
    .columns-two {
        flex-direction: column;
    }
}

.columns-two .right-container {
    border-radius: 16px;
    box-shadow: none;
    border: 1px solid var(--sage);
    background-color: #fff;
    padding: 4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: fit-content;
}

.page-faq {
    width: 100vw;
    margin-left: calc(50% - 50.5vw);
    background: linear-gradient(180deg, rgba(252, 253, 251, 0.42)  4%, #BED4996B 42%);
}

.page-faq .gh-content h5 {
    margin-top: 5px!important;
    margin-bottom: 0 !important;
}

.page-faq .gh-content .right-container .content {
    margin-bottom: 4rem;
}

.page-faq .right-container svg {
    align-self: center;
}

.page-faq .right-container .button a {
    background-color: var(--primary-green);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.page-faq .article {
    background: transparent;
}

@media (min-width: 900px) {
    .page-faq h1 {
        max-width: 50%;
        font-size: 68px;
    }
}


/* Hero Main Section - Combined Hero and Content */
.hero-main {
    position: relative;
    padding: 40px 0;
}

/* Sage Green Background Section */
.page-about .hero-background {
    background-color: var(--sage);
    width: 100%;
    height: 75%;
    position: absolute;
    top: 25%;
    z-index: 0;
}

/* Container for hero content */
.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.page-about .hero-container {
    padding: 0 40px 60px  40px;
}

/* Hero Card - Main Container using Flexbox */
.page-about .hero-card {
    display: flex;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue) 55%, #1e293b 55%, #1e293b 100%);
    border-radius: 37px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    min-height: 400px;
    align-items: stretch;
}

/* Text Content Area - Left Side */
.hero-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    max-width: 55%;
}

.hero-intro h1 {
    color: var(--sage);
    font-family: var(--gh-font-heading);
    font-weight: 700;
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    color: var(--sage);
    font-family: var(--gh-font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Image Content Area - Right Side */
.hero-image-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 45%;
}

.market-data-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 37px 37px 0;
}

/* Content Description Section */
.page-about .content-section {
    background-color: var(--sage);
    padding: 80px 0;
    z-index: 3;
    position: relative;
}

.content-description {
    max-width: 1256px;
    margin: 0 auto;
}

.content-description p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Subscribers Section */
.subscribers-section {
    background: transparent;
    position: relative;
    min-height: 1022px;
}

.subscribers-container {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    position: relative;
    height: 1022px;
}

/* Left Side - Dark Blue */
.subscribers-left {
    background-color: var(--primary-blue);
    width: 50%;
    padding: 0;
    position: relative;
}

.subscribers-left h2 {
    position: absolute;
    left: 89px;
    top: 160px;
    color: var(--sage);
    font-family: var(--gh-font-heading);
    font-weight: 800;
    font-size: 60px;
    line-height: 64px;
    margin: 0;
    width: 498px;
}

.subscribers-intro {
    position: absolute;
    left: 89px;
    top: 466px;
    color: var(--sage);
    font-family: var(--gh-font-body);
    font-weight: 500;
    font-size: 24px;
    line-height: normal;
    margin: 0;
    width: 479px;
}

/* Right Side - Light Blue */
.subscribers-right {
    background-color: var(--pale-blue);
    width: 50%;
    position: relative;
}

/* Vertical Line Between Numbers */
.vertical-divider {
    position: relative;
    height: 100%;
    width: 4px;
    background-color: var(--gold);
    z-index: 1;
}

/* Expectation Items - Positioned exactly as in Figma */
.expectation-item {
    position: absolute;
    width: 516px;
    left: 85px;
}

/* Individual positioning for each item - based on exact Figma positions */
.expectation-item:nth-child(1) {
    top: 68px;
}

.expectation-item:nth-child(2) {
    top: 268px;
}

.expectation-item:nth-child(3) {
    top: 463px;
}

.expectation-item:nth-child(4) {
    top: 659px;
}

.expectation-item:nth-child(5) {
    top: 853px;
}

/* Numbers positioned exactly in center between sections */
.expectation-number {
    position: absolute;
    left: -22%;
    top: 0;
    width: 55px;
    height: 55px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--gh-font-heading);
    font-weight: 700;
    font-size: 33.31px;
    z-index: 3;
    margin: 0;
}

/* Content */
.expectation-content h3 {
    font-family: var(--gh-font-body);
    font-weight: 600;
    font-size: 24px;
    line-height: normal;
    color: var(--primary-blue);
    margin: 0 0 15px 0;
    width: 516px;
}

/* Bullet Points for first item */
.bullet-points {
    display: flex;
    gap: 50px;
    margin-top: 15px;
}

.bullet-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 268px;
}

.bullet-point {
    position: relative;
    padding-left: 12px;
    font-family: var(--gh-font-body);
    font-weight: 400;
    font-size: 16px;
    color: var(--primary-blue);
    line-height: normal;
}

.bullet-point::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-blue);
    border-radius: 50%;
}

/* Why Subscribe Section - Exact Figma Positioning */
.why-subscribe {
    background-color: var(--cream);
    padding: 80px 0;
    position: relative;
    overflow: hidden; /* Contains the wave */
}

.why-subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="1440" height="820" viewBox="0 0 1440 820" fill="none" xmlns="http://www.w3.org/2000/svg"><path opacity="0.59" d="M279.575 330.707C0.235229 243.91 -135.867 449.13 -169 562.589V820H2280.32V37.1307C2280.32 15.3908 2283.01 -4.82126 2277.68 1.01976C2272.94 -1.03053 2262.49 2.12832 2240.41 10.0213C2200.39 24.3284 1926.05 192.428 1694.12 232.848C1462.18 273.268 1319.45 -16.0534 1011.06 75.4233C850.489 143.499 628.75 439.202 279.575 330.707Z" fill="url(%23paint0_linear_218_150)" fill-opacity="0.7"/><defs><linearGradient id="paint0_linear_218_150" x1="1055.67" y1="1.53985" x2="1055.67" y2="820" gradientUnits="userSpaceOnUse"><stop stop-color="%23BED499" stop-opacity="0.8"/><stop offset="0.230769" stop-color="%23BED499" stop-opacity="0.743307"/><stop offset="0.610577" stop-color="%23BED499" stop-opacity="0"/></linearGradient></defs></svg>');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
    padding-top: 17%;
}

.why-subscribe .container {
    position: relative;
    z-index: 2;
}

.why-subscribe h2 {
    font-family: var(--gh-font-heading);
    font-weight: 700;
    font-size: 46px;
    line-height: normal;
    color: var(--primary-green);
    text-align: center;
    margin: 0 auto 30px auto;
    max-width: 1442px;
}

.why-subscribe-intro {
    font-family: var(--gh-font-body);
    font-weight: 500;
    font-size: 24px;
    line-height: normal;
    color: var(--primary-blue);
    text-align: center;
    max-width: 1065px;
    margin: 0 auto 100px auto;
}

.performance-charts {
    position: relative;
    max-width: 1256px;
    height: 520px; /* Set height to contain absolute children */
    margin: 0 auto 0 auto;
}

.portfolio-chart-container {
    background: #ffffff;
    border-radius: 24.0681px;
    width: 660.268px;
    height: 236.67px;
    margin-left: 10%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(190, 212, 153, 0.3);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-chart-image {
    align-self: center;
    justify-self: center;
}

.chart-card.rate-of-return {
    width: 776.77px;
    height: 237.91px;
    background-color: var(--white);
    border-radius: 21.06px;
    position: absolute;
    padding: 40px;
    box-sizing: border-box;
    top: 200px;
    left: 24%;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(190, 212, 153, 0.3);
    z-index: 3;
}

.rate-of-return h3 {
    font-family: var(--gh-font-heading);
    font-weight: 700;
    font-size: 32.29px;
    line-height: 1.1;
    color: var(--primary-green);
    margin: 15px 0 15px 0;
    text-align: left;
}

.rate-of-return p {
    font-family: var(--gh-font-body);
    font-weight: 500;
    font-size: 14.2px;
    line-height: 1.2;
    color: var(--primary-green);
    margin: 0;
    text-align: left;
    max-width: 249.454px;
}

.return-chart {
    width: 432.59px;
    height: 174.78px;
    position: absolute;
    right: 30px;
    top: 30px;
    border-radius: 10.53px;
}

.why-subscribe-description {
    max-width: 1099px;
    margin: 0 auto;
    text-align: center;
}

.why-subscribe-description p {
    font-family: var(--gh-font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 104.11%;
    color: var(--primary-blue);
    text-align: center;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--sage);
    padding: 100px 0;
}

.philosophy-card {
    background-color: var(--cream);
    padding: 80px;
    border-radius: 79px;
    box-shadow: 9px 13px 20.9px 0px rgba(93,123,77,0.25);
    max-width: 1167px;
    margin: 0 auto;
}

.philosophy h2 {
    text-align: center;
    margin-bottom: 60px;
}

.philosophy-content p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* About Brad Section - Flexbox Layout with Absolute Image */
.about-brad {
    position: relative;
    background: var(--cream);
    overflow: hidden;
}

.mask-group {
    position: relative;
    width: 100%;
    max-width: 1442px;
    min-height: 729px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Cream Background - Hidden since we have background on parent */
.about-background {
    display: none;
}

/* Text Content - LEFT side, first in flex order */
.about-text-content {
    flex: 0 0 50%;
    margin-left: 64px;
    z-index: 3;
    order: 1;
    padding-right: 64px;
}

.about-text-content h2 {
    font-family: var(--gh-font-heading);
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    color: var(--primary-green);
    margin-bottom: 32px;
}

.about-text-content p {
    font-family: var(--gh-font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary-blue);
    margin-bottom: 24px;
}

/* Gold Circle Background - RIGHT side, second in flex order */
.about-circle-bg {
    flex: 0 0 50%;
    width: 100%;
    height: 728px;
    background: var(--gold);
    border-radius: 50%;
    z-index: 1;
    order: 2;
    position: relative;
    top: 177px;
}

/* Brad's Photo - ONLY absolute positioned element */
.about-brad-photo {
    position: absolute;
    width: 720px;
    bottom: 0;
    right: -110px;
    display: flex;
    overflow: hidden;
    z-index: 2;
}

.about-brad-photo svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-brad-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-height: 680px;
}

.margin-top-50 {
    margin-top: 50px;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .hero-container {
        padding: 0 30px;
    }

    .hero-text-content {
        padding: 50px 60px;
    }

    .hero-intro h1 {
        font-size: 52px;
    }

    .hero-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {

    .page-about .hero-container {
        padding: 0 15px 50px 15px;
    }

    .hero-container {
        padding: 0 20px;
    }

    .page-about .hero-card {
        flex-direction: column;
        background: var(--primary-blue);
        min-height: auto;
        border-radius: 20px;
    }

    .hero-text-content {
        max-width: 100%;
        padding: 40px 30px;
    }

    .hero-image-content {
        max-width: 100%;
        min-height: 300px;
    }

    .market-data-image {
        border-radius: 0 0 20px 20px;
    }

    .hero-intro h1 {
        font-size: 48px;
        line-height: 52px;
    }
    
    .page-about .content-section {
        padding: 50px 20px;
    }

    /* About Brad Mobile */
    .about-brad {
        height: auto;
        padding-top:0!important;
    }
    
    .mask-group {
        max-width: 100%;
        flex-direction: column;
    }
    
    .about-background {
        width: 100%;
        left: 0;
        height: 100%;
    }
    
    .about-circle-bg {
        display: none;
    }
    
    .about-brad-photo {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        position: relative;
    }
    
    .about-text-content {
        position: relative;
        left: auto;
        top: auto;
        max-width: 100%;
        z-index: 3;
        flex: 100%;
        margin: 15px 32px 32px 32px;
        padding-right: 0;
    }
    
    .about-text-content h2 {
        font-size: 36px;
        text-align: center;
        margin-top: 0!important;
    }
    
    .about-text-content p {
        font-size: 15px;
        text-align: left;
    }

    .performance-charts {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .chart-card:first-child,
    .chart-card.rate-of-return {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 0 auto;
    }
    
    .chart-card:first-child .chart-placeholder {
        position: relative;
        width: 100%;
        height: 200px;
        left: 0;
        top: 0;
        background-size: cover;
        background-position: center;
    }
    
    .return-chart {
        position: relative;
        width: 100%;
        height: auto;
        right: auto;
        top: auto;
        background-size: cover;
        background-position: center;
    }
    
    /* Hero Main Section Mobile - Already handled above */
    
    .wave-decoration {
        display: none;
    }
    
    .content-section {
        padding: 40px 0;
    }
    /* Subscribers Section Mobile */
    .subscribers-section {
        height: auto;
    }
    
    .subscribers-container {
        flex-direction: column;
        height: auto;
    }
    
    .subscribers-left {
        width: 100%;
        padding: 40px 20px;
        position: relative;
    }
    
    .subscribers-left h2 {
        position: static;
        font-size: 36px;
        line-height: 40px;
        margin-bottom: 20px;
        width: 100%;
        left: auto;
        top: auto;
    }
    
    .subscribers-intro {
        position: static;
        font-size: 18px;
        width: 100%;
        left: auto;
        top: auto;
    }
    
    .vertical-divider {
        display: none;
    }
    
    .subscribers-right {
        width: 100%;
        margin-left: 0;
        position: relative;
        padding-top: 2rem;
    }
    
    .expectation-item {
        position: static;
        width: 100%;
        left: auto;
        top: auto;
        margin-bottom: 40px;
        text-align: center;
        padding: 0 20px;
    }

    .why-subscribe-intro {
        margin-bottom: 10%;
    }
    
    .expectation-number {
        position: static;
        left: auto;
        margin: 0 auto 20px auto;
    }
    
    .expectation-content h3 {
        width: 100%;
        font-size: 20px;
        text-align: center;
    }
    
    .bullet-points {
        flex-direction: column;
        gap: 10px;
    }

    .bullet-points .bullet-point::before {
        display: none;
    }
    
    .bullet-column {
        width: 100%;
    }
    
    .philosophy-card {
        padding: 20px 30px;
        border-radius: 40px;
    }

    .portfolio-chart-container {
        width: auto;
        margin-left: 0;
    }

    .chart-card.rate-of-return {
        position: relative;
        top: 10px;
        left: 0;
    }

    .why-subscribe-description {
        margin-top: 25%;
        margin-bottom: 10%;
    }

    .philosophy-content p {
        font-size: 16px;
    }

    .hero-main {
        padding: 20px 0;
    }

    .hero-container {
        padding: 0 15px;
    }

    .margin-top-50 {
        margin-top: 25px;
    }

    .gh-article-content img {
        object-fit: contain;
    display: block;
    width: 100%;
    height: 100%;
    }
}

.gh-article-content img {
    padding: 30px 0;
}


@media (max-width: 480px) {
    .hero-main {
        padding: 15px 0;
    }
    
    .hero-container {
        padding: 0 10px;
    }
    
    .hero-text-content {
        padding: 30px 20px;
    }
    
    .hero-intro h1 {
        font-size: 36px;
        line-height: 40px;
    }
    
    .hero-image-content {
        min-height: 250px;
    }
    
    .content-section {
        padding: 30px 0;
    }
    
    .content-description p {
        font-size: 16px;
    }
    
    .why-subscribe,
    .about-brad {
        padding: 10px 0;
    }

    .philosophy {
        padding: 50px 0;
    }
    
    .subscribers-left {
        padding: 20px 20px 40px;
    }
    
    .subscribers-left h2 {
        font-size: 28px;
        line-height: 32px;
    }

    .why-subscribe::before {
        padding-top: 5%;
    }
    
    .subscribers-intro {
        font-size: 16px;
    }
    
    .subscribers-right {
        padding: 30px 15px;
    }
    
    .expectation-content h3 {
        font-size: 18px;
    }
    
    .expectation-item {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-about .hero-background {
        top: 27%;
    }
} 