/* Master Chef Training Institute - Blog Page CSS */
/* Golden Gradient Theme: #ebc779 + #c88c0c + Black */
/* Body Font: Inter | Heading Font: Poppins */
/* All sizes reduced to 85% of original */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #ebc779;
    --primary-gold-dark: #c88c0c;
    --text-dark: #000000;
    --text-medium: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #fef9f4;
    --shadow-sm: 0 1.7px 6.8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6.8px 21.25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12.75px 29.75px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 21.25px 42.5px rgba(0, 0, 0, 0.2);
    --gradient-gold: linear-gradient(135deg, #ebc779 0%, #c88c0c 100%);
    --tg-body-font-family: 'Inter', sans-serif;
    --tg-heading-font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 13.6px; /* 16px * 0.85 */
}

body {
    font-family: var(--tg-body-font-family);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--tg-heading-font-family);
    font-weight: 700;
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.7rem; /* 2rem * 0.85 */
}

/* Navigation - Same as About Page */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.95rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.navbar.scrolled {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(17px);
    box-shadow: var(--shadow-md);
    padding: 0.7125rem 0;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.9rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.7125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-image {
    width: 82.5px;
    height: 82.5px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.7px solid var(--primary-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.375rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.475rem 0;
}

.navbar.scrolled .nav-link {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.85px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
    border-radius: 1.9px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-btn {
    background: var(--gradient-gold);
    color: white;
    padding: 0.7125rem 1.425rem;
    border-radius: 23.75px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-btn:hover {
    transform: translateY(-1.9px);
    box-shadow: var(--shadow-xl);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3.8px;
    padding: 7.6px;
}

.hamburger {
    width: 23.75px;
    height: 2.85px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 1.9px;
}

.navbar.scrolled .hamburger {
    background: var(--text-dark);
}

/* Blog Hero Section - Same style as About Page */
.blog-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blog-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.blog-hero-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.7rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.4rem;
    align-items: center;
    position: relative;
    z-index: 3;
    min-height: 80vh;
    padding-top: 68px;
}

.blog-hero-content {
    color: white;
}

.blog-hero-badge {
    background: var(--gradient-gold);
    color: white;
    padding: 0.425rem 0.85rem;
    border-radius: 17px;
    font-size: 0.765rem;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    margin-bottom: 1.275rem;
    display: inline-block;
}

.blog-hero-title {
    font-size: 2.975rem;
    font-weight: 900;
    font-family: var(--tg-heading-font-family);
    line-height: 1.1;
    margin-bottom: 1.275rem;
    color: white;
}

.blog-hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-description {
    font-size: 0.935rem;
    font-family: var(--tg-body-font-family);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.7rem;
    line-height: 1.7;
}

.blog-hero-buttons {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.blog-enroll-btn-hero {
    background: var(--gradient-gold);
    color: white;
    padding: 0.85rem 1.7rem;
    border: none;
    border-radius: 21.25px;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.425rem;
    font-size: 0.85rem;
}

.blog-courses-btn-hero {
    background: transparent;
    color: white;
    padding: 0.85rem 1.7rem;
    border: 1.7px solid var(--primary-gold);
    border-radius: 21.25px;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.425rem;
    font-size: 0.85rem;
}

.blog-enroll-btn-hero:hover,
.blog-courses-btn-hero:hover {
    transform: translateY(-1.7px);
    box-shadow: var(--shadow-lg);
}

.blog-courses-btn-hero:hover {
    background: var(--primary-gold);
    color: white;
}

.blog-enroll-btn-hero i,
.blog-courses-btn-hero i {
    transition: transform 0.3s ease;
}

.blog-enroll-btn-hero:hover i,
.blog-courses-btn-hero:hover i {
    transform: translateX(4.25px);
}

/* Blog Hero Visual */
.blog-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-visual-section {
    position: relative;
    text-align: center;
}

.blog-visual-container {
    position: relative;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-gold);
    padding: 8.5px;
    margin-bottom: 1.7rem;
}

.blog-visual-thumbnail {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.blog-visual-badge {
    position: absolute;
    bottom: 17px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.85rem 1.275rem;
    border-radius: 21.25px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.blog-visual-badge h4 {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--primary-gold-dark);
    margin-bottom: 0.2125rem;
    font-family: var(--tg-heading-font-family);
}

.blog-visual-badge p {
    font-size: 0.68rem;
    color: var(--text-medium);
    font-family: var(--tg-body-font-family);
    margin: 0;
}

.blog-stats-avatars {
    display: flex;
    justify-content: center;
    gap: 1.275rem;
    flex-wrap: wrap;
}

.blog-stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.85rem 1.275rem;
    border-radius: 12.75px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.blog-stat-item:hover {
    transform: translateY(-4.25px);
    background: rgba(255, 255, 255, 0.15);
}

.blog-stat-item h3 {
    font-size: 1.275rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 0.2125rem;
    font-family: var(--tg-heading-font-family);
}

.blog-stat-item p {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--tg-body-font-family);
    margin: 0;
}

/* Blog Categories Section */
.blog-categories-section {
    padding: 42.5px 0;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.blog-categories-nav {
    display: flex;
    justify-content: center;
    gap: 1.275rem;
    flex-wrap: wrap;
}

.category-tab {
    background: var(--bg-light);
    border: none;
    padding: 0.85rem 1.275rem;
    border-radius: 21.25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.425rem;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    color: var(--text-medium);
    box-shadow: var(--shadow-sm);
}

.category-tab:hover {
    transform: translateY(-2.55px);
    box-shadow: var(--shadow-md);
    background: white;
}

.category-tab.active {
    background: var(--gradient-gold);
    color: white;
    transform: translateY(-2.55px);
    box-shadow: var(--shadow-lg);
}

.category-tab i {
    font-size: 0.85rem;
}

/* Featured Post Section */
.featured-post-section {
    padding: 68px 0;
    background: var(--bg-cream);
}

.featured-post {
    background: white;
    border-radius: 12.75px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-6.8px);
    box-shadow: var(--shadow-xl);
}

.featured-post-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.55rem;
}

.featured-post-image {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 17px;
    left: 17px;
    background: var(--gradient-gold);
    color: white;
    padding: 0.425rem 0.85rem;
    border-radius: 17px;
    font-size: 0.68rem;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
}

.featured-post-info {
    padding: 2.55rem;
}

.featured-post-meta {
    display: flex;
    align-items: center;
    gap: 1.275rem;
    margin-bottom: 1.275rem;
    flex-wrap: wrap;
}

.category-badge {
    padding: 0.2125rem 0.6375rem;
    border-radius: 10.2px;
    font-size: 0.6375rem;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    text-transform: uppercase;
}

.category-badge.business {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.category-badge.recipes {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: white;
}

.category-badge.success {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: white;
}

.category-badge.trends {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.post-date,
.read-time {
    font-size: 0.68rem;
    color: var(--text-light);
    font-family: var(--tg-body-font-family);
    display: flex;
    align-items: center;
    gap: 0.2125rem;
}

.featured-post-title {
    font-size: 1.7rem;
    font-weight: 800;
    font-family: var(--tg-heading-font-family);
    color: var(--text-dark);
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.featured-post-excerpt {
    font-size: 0.935rem;
    font-family: var(--tg-body-font-family);
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.7rem;
}

.featured-post-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.7rem;
}

.author-avatar {
    width: 42.5px;
    height: 42.5px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.7px solid var(--primary-gold);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.765rem;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    color: var(--text-dark);
}

.author-title {
    font-size: 0.68rem;
    font-family: var(--tg-body-font-family);
    color: var(--text-light);
}

.read-more-btn {
    background: var(--gradient-gold);
    color: white;
    padding: 0.85rem 1.7rem;
    border-radius: 6.8px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    display: inline-flex;
    align-items: center;
    gap: 0.425rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--primary-gold-dark);
    transform: translateY(-1.7px);
    box-shadow: var(--shadow-md);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(2.55px);
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 68px 0;
    background: white;
}

.blog-section-header {
    text-align: center;
    margin-bottom: 3.4rem;
}

.blog-section-label {
    font-size: 0.765rem;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    color: var(--primary-gold-dark);
    text-transform: uppercase;
    letter-spacing: 1.7px;
    margin-bottom: 0.85rem;
}

.blog-section-title {
    font-size: 2.125rem;
    font-weight: 800;
    font-family: var(--tg-heading-font-family);
    margin-bottom: 0.85rem;
    color: var(--text-dark);
}

.blog-section-subtitle {
    font-size: 0.935rem;
    font-family: var(--tg-body-font-family);
    color: var(--text-medium);
    max-width: 510px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(297.5px, 1fr));
    gap: 2.55rem;
}

/* Blog Post Card */
.blog-post-card {
    background: white;
    border-radius: 12.75px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 0.85px solid #f0f0f0;
}

.blog-post-card:hover {
    transform: translateY(-6.8px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    position: relative;
    height: 191.25px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-category-badge {
    position: absolute;
    top: 12.75px;
    left: 12.75px;
    padding: 0.2125rem 0.6375rem;
    border-radius: 10.2px;
    font-size: 0.6375rem;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    text-transform: uppercase;
}

.post-read-time {
    position: absolute;
    top: 12.75px;
    right: 12.75px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.2125rem 0.6375rem;
    border-radius: 10.2px;
    font-size: 0.6375rem;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
}

.post-content {
    padding: 1.275rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.post-date,
.post-author {
    font-size: 0.6375rem;
    color: var(--text-light);
    font-family: var(--tg-body-font-family);
    display: flex;
    align-items: center;
    gap: 0.2125rem;
}

.post-title {
    font-size: 1.02rem;
    font-weight: 700;
    font-family: var(--tg-heading-font-family);
    color: var(--text-dark);
    margin-bottom: 0.6375rem;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 0.765rem;
    font-family: var(--tg-body-font-family);
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 0.85rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.425rem;
    margin-bottom: 1.275rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-medium);
    padding: 0.17rem 0.425rem;
    border-radius: 8.5px;
    font-size: 0.595rem;
    font-weight: 500;
    font-family: var(--tg-body-font-family);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: var(--primary-gold);
    color: white;
    transform: scale(1.05);
}

.post-read-more {
    color: var(--primary-gold-dark);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    font-size: 0.68rem;
    display: flex;
    align-items: center;
    gap: 0.2125rem;
    transition: all 0.3s ease;
}

.post-read-more:hover {
    color: var(--primary-gold);
    transform: translateX(2.55px);
}

.post-read-more i {
    transition: transform 0.3s ease;
}

.post-read-more:hover i {
    transform: translateX(2.55px);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 3.4rem;
}

.load-more-btn {
    background: transparent;
    color: var(--primary-gold-dark);
    padding: 0.85rem 2.125rem;
    border: 1.7px solid var(--primary-gold-dark);
    border-radius: 21.25px;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.425rem;
}

.load-more-btn:hover {
    background: var(--primary-gold-dark);
    color: white;
    transform: translateY(-2.55px);
    box-shadow: var(--shadow-md);
}

/* Blog CTA Section */
.blog-cta-section {
    padding: 68px 0;
    background: var(--bg-light);
}

.blog-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.4rem;
    align-items: center;
}

.newsletter-cta,
.contribute-cta {
    background: white;
    padding: 2.55rem;
    border-radius: 12.75px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.newsletter-cta:hover,
.contribute-cta:hover {
    transform: translateY(-4.25px);
    box-shadow: var(--shadow-lg);
}

.newsletter-icon,
.contribute-icon {
    width: 68px;
    height: 68px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.275rem;
}

.newsletter-icon i,
.contribute-icon i {
    font-size: 1.7rem;
    color: white;
}

.newsletter-cta h3,
.contribute-cta h3 {
    font-size: 1.275rem;
    font-weight: 700;
    font-family: var(--tg-heading-font-family);
    color: var(--text-dark);
    margin-bottom: 0.85rem;
}

.newsletter-cta p,
.contribute-cta p {
    font-size: 0.765rem;
    font-family: var(--tg-body-font-family);
    color: var(--text-medium);
    margin-bottom: 1.7rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0.85rem;
    max-width: 340px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.85rem;
    border: 1.7px solid #e0e0e0;
    border-radius: 6.8px;
    font-family: var(--tg-body-font-family);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2.55px rgba(235, 199, 121, 0.2);
}

.newsletter-btn {
    background: var(--gradient-gold);
    color: white;
    padding: 0.85rem 1.275rem;
    border: none;
    border-radius: 6.8px;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.425rem;
}

.newsletter-btn:hover {
    background: var(--primary-gold-dark);
    transform: translateY(-1.7px);
}

.contribute-btn {
    background: var(--gradient-gold);
    color: white;
    padding: 0.85rem 1.7rem;
    border-radius: 6.8px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--tg-body-font-family);
    display: inline-flex;
    align-items: center;
    gap: 0.425rem;
    transition: all 0.3s ease;
}

.contribute-btn:hover {
    background: var(--primary-gold-dark);
    transform: translateY(-1.7px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 51px 0 17px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(212.5px, 1fr));
    gap: 2.55rem;
    margin-bottom: 2.55rem;
}

.footer-section h4 {
    font-family: var(--tg-heading-font-family);
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 1.275rem;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6375rem;
    margin-bottom: 0.85rem;
}

.footer-logo-image {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.7px solid var(--primary-gold);
}

.footer-logo-text {
    font-size: 0.935rem;
    font-weight: 700;
    font-family: var(--tg-heading-font-family);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    font-family: var(--tg-body-font-family);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.275rem;
}

.footer-social {
    display: flex;
    gap: 0.85rem;
}

.footer-social a {
    width: 34px;
    height: 34px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-2.55px);
    box-shadow: var(--shadow-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6375rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--tg-body-font-family);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
    transform: translateX(4.25px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6375rem;
    font-family: var(--tg-body-font-family);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-gold);
    transform: translateX(4.25px);
}

.contact-item i {
    color: var(--primary-gold);
    width: 17px;
}

.footer-bottom {
    border-top: 0.85px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.footer-copyright p {
    font-family: var(--tg-body-font-family);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.7rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-family: var(--tg-body-font-family);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

/* Blog Post Filtering Animation */
.blog-post-card.hide {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.blog-post-card.show {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .load-more-btn,
.loading .newsletter-btn {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.55rem;
    }

    .blog-hero-title {
        font-size: 2.38rem;
    }

    .featured-post-content {
        grid-template-columns: 1fr;
        gap: 1.7rem;
    }

    .featured-post-image {
        height: 255px;
    }

    .blog-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
        gap: 2.125rem;
    }

    .blog-cta-content {
        grid-template-columns: 1fr;
        gap: 2.55rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .blog-hero-title {
        font-size: 1.87rem;
    }

    .blog-hero-buttons {
        justify-content: center;
    }

    .blog-visual-container {
        width: 255px;
        height: 255px;
    }

    .blog-stats-avatars {
        gap: 0.85rem;
    }

    .blog-section-title {
        font-size: 1.7rem;
    }

    .featured-post-title {
        font-size: 1.36rem;
    }

    .category-tab {
        font-size: 0.68rem;
        padding: 0.6375rem 1.02rem;
    }

    .blog-categories-nav {
        gap: 0.85rem;
    }

    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.7rem;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }

    .featured-post-meta {
        gap: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.85rem;
    }

    .blog-hero-title {
        font-size: 1.53rem;
    }

    .blog-hero-description {
        font-size: 0.85rem;
    }

    .blog-hero-buttons {
        flex-direction: column;
    }

    .blog-enroll-btn-hero,
    .blog-courses-btn-hero {
        padding: 0.74375rem 1.275rem;
        font-size: 0.765rem;
        justify-content: center;
    }

    .blog-visual-container {
        width: 212.5px;
        height: 212.5px;
    }

    .blog-stats-avatars {
        flex-direction: column;
        align-items: center;
    }

    .blog-section-title {
        font-size: 1.36rem;
    }

    .featured-post-title {
        font-size: 1.19rem;
    }

    .category-tab {
        padding: 0.6375rem 0.85rem;
        font-size: 0.595rem;
        flex-direction: column;
        text-align: center;
        gap: 0.2125rem;
        min-width: auto;
    }

    .category-tab i {
        font-size: 0.765rem;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.275rem;
    }

    .blog-post-card {
        margin: 0 auto;
        max-width: 272px;
    }

    .post-image {
        height: 170px;
    }

    .featured-post-image {
        height: 212.5px;
    }

    .featured-post-info {
        padding: 1.7rem;
    }

    .post-content {
        padding: 1.02rem;
    }

    .post-title {
        font-size: 0.935rem;
    }

    .post-excerpt {
        font-size: 0.68rem;
    }

    .newsletter-cta,
    .contribute-cta {
        padding: 1.7rem;
    }

    .newsletter-icon,
    .contribute-icon {
        width: 51px;
        height: 51px;
    }

    .newsletter-icon i,
    .contribute-icon i {
        font-size: 1.275rem;
    }

    .load-more-btn {
        padding: 0.74375rem 1.7rem;
        font-size: 0.765rem;
        width: 100%;
        max-width: 255px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.7rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6.8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 3.4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-dark);
}

/* Selection Styles */
::selection {
    background: var(--primary-gold);
    color: white;
}

::-moz-selection {
    background: var(--primary-gold);
    color: white;
}

/* Focus Styles */
*:focus {
    outline: 1.7px solid var(--primary-gold);
    outline-offset: 1.7px;
    border-radius: 3.4px;
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(17px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-17px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.slide-down {
    animation: slideDown 0.3s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu,
    .blog-hero-background,
    .blog-hero-overlay,
    .blog-categories-section,
    .blog-cta-section,
    .load-more-section {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .blog-hero {
        background: white !important;
        color: black !important;
        margin-top: 0 !important;
        min-height: auto !important;
        padding: 1.7rem 0 !important;
    }
    
    .blog-post-card,
    .featured-post {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
        margin-bottom: 1.7rem !important;
    }
    
    .read-more-btn,
    .post-read-more,
    .load-more-btn,
    .newsletter-btn,
    .contribute-btn {
        display: none !important;
    }

    .post-image,
    .featured-post-image {
        height: auto !important;
        max-height: 170px !important;
    }
}

/* Additional Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.mb-1 {
    margin-bottom: 0.85rem !important;
}

.mb-2 {
    margin-bottom: 1.7rem !important;
}

.mb-3 {
    margin-bottom: 2.55rem !important;
}

.mt-1 {
    margin-top: 0.85rem !important;
}

.mt-2 {
    margin-top: 1.7rem !important;
}

.mt-3 {
    margin-top: 2.55rem !important;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Future dark mode implementation */
    /* Currently maintaining light theme for brand consistency */
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .blog-post-card,
    .featured-post,
    .newsletter-cta,
    .contribute-cta {
        border: 2px solid var(--text-dark) !important;
    }
    
    .category-tab,
    .load-more-btn {
        border: 2px solid var(--primary-gold-dark) !important;
    }
}