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

.blog-section {
  max-width: 1100px;
  margin: 60px auto 80px;
  padding: 0 24px;
  font-family: 'Poppins', sans-serif;
}

/* FEATURED LAYOUT */
.featured-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

/* MAIN FEATURE */
.featured-main img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.featured-main h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.35;
}

/* SIDE FEATURE LIST */
.featured-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.featured-item {
  display: flex;
  gap: 12px;
}

.featured-item img {
  width: 88px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

/* META */
.meta {
  font-size: 12px;
  color: #475467;
}

.meta span {
  color: #1d3e88;
  font-weight: 500;
}

/* RECOMMENDED */
.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #1d3e88;
  margin-bottom: 24px;
}

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

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  background: #f2f4f7;
  font-size: 13px;
  cursor: pointer;
}

.page-btn.active {
  background: #1d3e88;
  color: #ffffff;
}

.page-btn.arrow {
  background: #ffffff;
  border: 1px solid #e4e7ec;
}

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

  .recommended-grid {
    grid-template-columns: 1fr;
  }

  .featured-main img {
    height: 220px;
  }
}









/* Pixel Perfect Navbar */
.pixel-navbar {
    background: #FFFFFF;
    border-bottom: 1px solid #F0F0F0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 60px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
}

/* Logo - EE */
.logo {
    margin-right: auto;
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    color: #1A1A1A;
    text-decoration: none;
    letter-spacing: -0.5px;
    line-height: 1;
    display: block;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}

.nav-link {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    padding: 20px 0;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #000000;
}

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

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 12px;
    margin-top: -1px;
    transition: transform 0.2s ease;
}

/* Dropdown Wrapper */
.dropdown-wrapper {
    position: absolute;
    top: 100%;
    left: -10px;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.dropdown-container:hover .dropdown-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-container:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Content */
.dropdown-content {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #E0E0E0;
    margin-top: 8px;
    overflow: hidden;
}

/* Dropdown Grid */
.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 24px;
    gap: 24px;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dropdown-item {
    text-decoration: none;
    display: block;
}

.item-title {
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    letter-spacing: 0.2px;
    position: relative;
    display: inline-block;
    transition: color 0.2s ease;
}

.dropdown-item:hover .item-title {
    color: #000000;
}

.dropdown-item:hover .item-title::after {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Separator */
.dropdown-separator {
    height: 1px;
    background: #F0F0F0;
    margin: 0 24px;
}

/* Quote Section */
.quote-section {
    padding: 20px 24px;
    background: #F8F8F8;
}

.quote-text {
    font-size: 13px;
    color: #666666;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
    position: relative;
    padding-left: 16px;
}

.quote-text::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 20px;
    color: #AAAAAA;
    font-style: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-wrapper {
        padding: 0 20px;
    }
    
    .nav-links {
        gap: 25px;
    }
    
    .dropdown-wrapper {
        width: 280px;
    }
}

@media (max-width: 640px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .dropdown-wrapper {
        width: 260px;
        left: -20px;
    }
    
    .dropdown-grid {
        padding: 20px;
        gap: 20px;
    }
}

/* Active State for Mobile */
@media (max-width: 480px) {
    .nav-wrapper {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 0;
        border-top: 1px solid #F0F0F0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid #F0F0F0;
    }
    
    .dropdown-wrapper {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        width: 100%;
        display: none;
    }
    
    .dropdown-wrapper.active {
        display: block;
    }
    
    .dropdown-content {
        margin-top: 0;
    }
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    margin-left: 20px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-toggle span:nth-child(1) { top: 6px; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 16px; }

@media (max-width: 480px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        display: flex;
    }
}









/* blog.css - Light Mode Only */

.blog-section {
  max-width: 1100px;
  margin: 100px auto 80px; /* Offset for fixed navbar */
  padding: 0 24px;
  font-family: 'Poppins', sans-serif;
}

/* FEATURED LAYOUT */
.featured-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

.featured-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}

.featured-main h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.featured-main h2 a, .featured-item h3 a {
  text-decoration: none;
  color: #1A1A1A;
}

/* SIDE LIST */
.featured-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.featured-item img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.featured-item h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* RECOMMENDED GRID */
.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #1d3e88;
  margin-bottom: 30px;
}

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

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}