/* ============================================================
   BLOG PAGE - COMPLETE STYLES
   ============================================================ */

/* ----- BLOG HERO SECTION (Matches Design) ----- */
.blog-hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--accent) 100%);
    min-height: 320px;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
  }
  
  .blog-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1556761175-4b46a572b786?w=1400&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
  }
  
  .blog-hero-container {
    position: relative;
    z-index: 2;
  }
  
  /* Breadcrumb */
  .blog-hero-section .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 16px;
  }
  
  .blog-hero-section .breadcrumb-item a {
    color: var(--sky);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
  }
  
  .blog-hero-section .breadcrumb-item a:hover {
    color: var(--white);
  }
  
  .blog-hero-section .breadcrumb-item.active {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
  }
  
  .blog-hero-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.35);
    content: "/";
  }
  
  /* Hero Title */
  .blog-hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-weight: 700;
  }
  
  .blog-hero-title span {
    color: var(--sky);
  }
  
  /* Hero Description */
  .blog-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
  }
  
  /* ----- Blog Card Horizontal ----- */
  .blog-card-horizontal {
    display: flex;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    transition: all .3s ease;
    height: 100%;
  }
  
  .blog-card-horizontal:hover {
    border-color: var(--sky-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(13,27,42,.12);
  }
  
  .blog-card-horizontal .blog-img-wrap {
    flex: 0 0 260px;
    position: relative;
    overflow: hidden;
    background: var(--off-white);
  }
  
  .blog-card-horizontal .blog-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
  }
  
  .blog-card-horizontal:hover .blog-img {
    transform: scale(1.05);
  }
  
  .blog-card-horizontal .blog-content {
    flex: 1;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
  }
  
  .blog-title-link {
    color: var(--navy);
    text-decoration: none;
    transition: color .2s;
  }
  
  .blog-title-link:hover {
    color: var(--accent);
  }
  
  /* ----- Blog Date Badge ----- */
  .blog-date {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--navy);
    color: var(--white);
    font-size: .7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.2);
    letter-spacing: .04em;
  }
  
  /* ----- Blog Meta ----- */
  .blog-cat {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 8px;
  }
  
  .blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
  }
  
  .blog-meta span {
    color: var(--text-muted);
    font-size: .75rem;
    font-weight: 500;
  }
  
  .blog-meta i {
    color: var(--accent);
    margin-right: 4px;
    font-size: .7rem;
  }
  
  /* ----- Blog Link ----- */
  .blog-link {
    color: var(--accent);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color .2s;
    margin-top: auto;
  }
  
  .blog-link:hover {
    color: var(--navy);
  }
  
  .blog-link i {
    font-size: .7rem;
    transition: transform .2s;
  }
  
  .blog-link:hover i {
    transform: translateX(4px);
  }
  
  /* ----- Search Bar ----- */
  .blog-search-wrap .input-group {
    box-shadow: 0 1px 3px rgba(13,27,42,.06);
    border-radius: 8px;
    overflow: hidden;
  }
  
  .blog-search-wrap .witty-input {
    border-right: none;
  }
  
  .blog-search-wrap .btn-primary-witty {
    border-radius: 0;
  }
  
  /* ----- Pagination ----- */
  .pagination .page-link {
    color: var(--navy);
    border-color: var(--border-light);
    padding: 8px 16px;
    font-weight: 500;
  }
  
  .pagination .page-link:hover {
    background: var(--sky);
    border-color: var(--sky-dark);
    color: var(--navy);
  }
  
  .pagination .page-item.active .page-link {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
  }
  
  .pagination .page-item.disabled .page-link {
    color: var(--text-muted);
  }
  
  /* ----- Sidebar ----- */
  .sidebar-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    margin-bottom: 24px;
    transition: all .3s;
  }
  
  .sidebar-card:hover {
    border-color: var(--sky-dark);
  }
  
  .sidebar-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sky);
    font-family: var(--font-body);
  }
  
  /* ----- Sidebar Categories ----- */
  .sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .sidebar-list li {
    margin-bottom: 4px;
  }
  
  .sidebar-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    transition: all .25s;
    font-size: .88rem;
  }
  
  .sidebar-list li a:hover,
  .sidebar-list li a.active {
    background: var(--sky);
    color: var(--navy);
  }
  
  .sidebar-list li a .badge {
    background: var(--navy);
    color: var(--white);
    font-size: .7rem;
    padding: 2px 8px;
    border-radius: 50px;
  }
  
  .sidebar-list li a:hover .badge,
  .sidebar-list li a.active .badge {
    background: var(--navy);
    color: var(--white);
  }
  
  /* ----- Recent Posts ----- */
  .recent-post {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
  }
  
  .recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .recent-post-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: center;
  }
  
  .recent-post-img {
    flex: 0 0 60px;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .recent-post-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
  }
  
  .recent-post-info h6 {
    font-size: .82rem;
    color: var(--navy);
    margin: 0 0 4px 0;
    line-height: 1.4;
    font-weight: 600;
    transition: color .2s;
  }
  
  .recent-post-link:hover .recent-post-info h6 {
    color: var(--accent);
  }
  
  .recent-post-info span {
    font-size: .7rem;
    color: var(--text-muted);
  }
  
  /* ----- Social Media Sidebar ----- */
  .sidebar-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: all .3s;
    border: none;
  }
  
  .social-btn:hover {
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }
  
  .social-btn.fb { background: #1877f2; }
  .social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
  .social-btn.yt { background: #ff0000; }
  .social-btn.li { background: #0a66c2; }
  .social-btn.tw { background: #1da1f2; }
  .social-btn.wa { background: #25d366; }
  
  /* ----- Newsletter ----- */
  .sidebar-newsletter {
    background: var(--sky);
    border-color: var(--sky-dark);
  }
  
  .sidebar-newsletter .sidebar-title {
    border-bottom-color: var(--sky-dark);
  }
  
  .sidebar-newsletter .witty-input {
    border-color: var(--sky-dark);
  }
  
  .sidebar-newsletter .btn-primary-witty {
    background: var(--navy);
    border-color: var(--navy);
  }
  
  .sidebar-newsletter .btn-primary-witty:hover {
    background: var(--navy-light);
  }
  
  /* ============================================================
     RESPONSIVE
     ============================================================ */
  @media (max-width: 991px) {
    .blog-hero-section {
      min-height: 280px;
      padding: 80px 0 50px;
    }
    
    .blog-card-horizontal {
      flex-direction: column;
    }
    
    .blog-card-horizontal .blog-img-wrap {
      flex: 0 0 auto;
    }
    
    .blog-card-horizontal .blog-img {
      min-height: 220px;
      height: 220px;
    }
  }
  
  @media (max-width: 767px) {
    .blog-hero-section {
      min-height: 240px;
      padding: 70px 0 40px;
    }
    
    .blog-hero-title {
      font-size: 1.8rem;
    }
    
    .blog-hero-desc {
      font-size: .95rem;
    }
    
    .blog-card-horizontal .blog-img {
      min-height: 180px;
      height: 180px;
    }
    
    .blog-card-horizontal .blog-content {
      padding: 18px 20px;
    }
    
    .blog-meta {
      flex-wrap: wrap;
      gap: 10px;
    }
    
    .sidebar-card {
      padding: 18px 16px;
    }
  }