     /* ============================================
       BLOG LISTING — FIXED IMAGE STYLES
       ============================================ */

    .blog-hero {
      background: linear-gradient(135deg, #800000 0%, #a52a2a 100%);
      color: #fff;
      padding: 60px 0;
      text-align: center;
    }

    .blog-hero h1 {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 12px;
    }

    .blog-hero p {
      font-size: 1.1rem;
      opacity: 0.9;
      max-width: 600px;
      margin: 0 auto;
    }

    .blog-section {
      padding: 50px 0;
      background: #f8f9fa;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 28px;
    }

    .blog-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      transition: transform 0.2s, box-shadow 0.2s;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .blog-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .blog-card-image {
      width: 100%;
      aspect-ratio: 16 / 9;        /* Perfect widescreen ratio */
      overflow: hidden;
      position: relative;
      background: #f0f0f0;         /* Light gray fallback */
    }

    .blog-card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;           /* Fill the box, crop edges */
      object-position: center;     /* Center the crop */
      display: block;
      transition: transform 0.3s;
    }

    .blog-card:hover .blog-card-image img {
      transform: scale(1.05);
    }

    .blog-card-image .category-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(128, 0, 0, 0.9);
      color: #fff;
      padding: 5px 14px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      z-index: 2;
    }

    .blog-card-body {
      padding: 22px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .blog-card-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 10px;
      font-size: 0.8rem;
      color: #888;
    }

    .blog-card-meta i {
      margin-right: 4px;
    }

    .blog-card-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: #2c3e50;
      margin-bottom: 10px;
      line-height: 1.4;
    }

    .blog-card-title a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s;
    }

    .blog-card-title a:hover {
      color: maroon;
    }

    .blog-card-excerpt {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.6;
      margin-bottom: 16px;
      flex: 1;
    }

    .blog-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 14px;
      border-top: 1px solid #eee;
    }

    .blog-card-author {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.85rem;
      color: #555;
    }

    .blog-card-author i {
      color: maroon;
    }

    .read-more {
      color: maroon;
      font-weight: 600;
      font-size: 0.9rem;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: gap 0.2s;
    }

    .read-more:hover {
      gap: 8px;
    }

    @media (max-width: 576px) {
      .blog-hero h1 {
        font-size: 1.8rem;
      }
      .blog-grid {
        grid-template-columns: 1fr;
      }
    }




    /* ============================================
       BLOG POST — FULL SCREEN LAYOUT
       ============================================ */

    .blog-post-hero {
      background: linear-gradient(135deg, #800000 0%, #5c0000 100%);
      color: #fff;
      padding: 50px 0 40px;
      position: relative;
      overflow: hidden;
    }

    .blog-post-hero::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 600px;
      height: 600px;
      background: rgba(255,255,255,0.03);
      border-radius: 50%;
    }

    .blog-post-hero .breadcrumb-nav {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.9rem;
      margin-bottom: 20px;
      opacity: 0.8;
    }

    .blog-post-hero .breadcrumb-nav a {
      color: #fff;
      text-decoration: none;
    }

    .blog-post-hero .breadcrumb-nav a:hover {
      text-decoration: underline;
    }

    .blog-post-hero h1 {
      font-size: 2.4rem;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 16px;
      max-width: 800px;
    }

    .blog-post-hero .post-meta {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 0.9rem;
      opacity: 0.9;
    }

    .blog-post-hero .post-meta span {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .blog-post-hero .category-badge-hero {
      display: inline-block;
      background: rgba(255,255,255,0.2);
      color: #fff;
      padding: 5px 16px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 16px;
    }

    /* Main Layout */
    .blog-post-main {
      padding: 0;
      min-height: calc(100vh - 200px);
    }

    .blog-post-wrapper {
      display: flex;
      min-height: calc(100vh - 200px);
    }

    /* Left Content */
    .blog-content-left {
      flex: 1;
      padding: 50px 60px;
      background: #fff;
      max-width: calc(100% - 380px);
    }

    .blog-content-left .featured-image {
      width: 100%;
      height: 400px;
      object-fit: cover;
      border-radius: 12px;
      margin-bottom: 35px;
    }

    .blog-content-left h2 {
      font-size: 1.8rem;
      font-weight: 700;
      color: #2c3e50;
      margin: 40px 0 20px;
      padding-bottom: 12px;
      border-bottom: 3px solid maroon;
      display: inline-block;
    }

    .blog-content-left h3 {
      font-size: 1.3rem;
      font-weight: 700;
      color: #34495e;
      margin: 30px 0 15px;
    }

    .blog-content-left p {
      font-size: 1.05rem;
      line-height: 1.85;
      color: #444;
      margin-bottom: 20px;
    }

    .blog-content-left ul, .blog-content-left ol {
      margin-bottom: 20px;
      padding-left: 25px;
    }

    .blog-content-left li {
      font-size: 1.05rem;
      line-height: 1.85;
      color: #444;
      margin-bottom: 10px;
    }

    .blog-content-left li::marker {
      color: maroon;
    }

    .blog-content-left strong {
      color: #2c3e50;
    }

    .blog-content-left blockquote {
      border-left: 4px solid maroon;
      padding: 20px 25px;
      margin: 30px 0;
      background: #f8f9fa;
      border-radius: 0 8px 8px 0;
      font-style: italic;
      color: #555;
    }

    .blog-content-left blockquote p {
      margin: 0;
      font-size: 1.1rem;
    }

    .highlight-box {
      background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
      border-left: 4px solid maroon;
      padding: 25px;
      border-radius: 0 8px 8px 0;
      margin: 30px 0;
    }

    .highlight-box h4 {
      color: maroon;
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .highlight-box p {
      margin: 0;
      color: #555;
    }

    /* Right Sidebar CTA */
    .blog-sidebar-right {
      width: 380px;
      background: #f8f9fa;
      padding: 40px 30px;
      border-left: 1px solid #e0e0e0;
      position: sticky;
      top: 0;
      height: 100vh;
      overflow-y: auto;
    }

    .cta-card {
      background: #fff;
      border-radius: 12px;
      padding: 28px;
      margin-bottom: 24px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      border-top: 3px solid maroon;
    }

    .cta-card h3 {
      font-size: 1.15rem;
      font-weight: 700;
      color: #2c3e50;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .cta-card h3 i {
      color: maroon;
    }

    .cta-card p {
      font-size: 0.95rem;
      color: #666;
      line-height: 1.6;
      margin-bottom: 18px;
    }

    .cta-btn {
      display: block;
      width: 100%;
      padding: 14px;
      background: maroon;
      color: #fff;
      text-align: center;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      transition: background 0.2s;
      border: none;
      cursor: pointer;
    }

    .cta-btn:hover {
      background: #5c0000;
      color: #fff;
    }

    .cta-btn-outline {
      display: block;
      width: 100%;
      padding: 14px;
      background: transparent;
      color: maroon;
      text-align: center;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      border: 2px solid maroon;
      transition: all 0.2s;
    }

    .cta-btn-outline:hover {
      background: maroon;
      color: #fff;
    }

    .course-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .course-list li {
      padding: 12px 0;
      border-bottom: 1px solid #eee;
    }

    .course-list li:last-child {
      border-bottom: none;
    }

    .course-list a {
      color: #444;
      text-decoration: none;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: color 0.2s;
    }

    .course-list a:hover {
      color: maroon;
    }

    .course-list a i {
      color: maroon;
      font-size: 0.85rem;
    }

    .related-posts {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .related-posts li {
      padding: 14px 0;
      border-bottom: 1px solid #eee;
    }

    .related-posts li:last-child {
      border-bottom: none;
    }

    .related-posts a {
      color: #444;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      line-height: 1.5;
      display: block;
      transition: color 0.2s;
    }

    .related-posts a:hover {
      color: maroon;
    }

    .related-posts .post-date {
      font-size: 0.8rem;
      color: #888;
      margin-top: 4px;
    }

    .share-buttons {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .share-btn {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      text-decoration: none;
      font-size: 1rem;
      transition: transform 0.2s;
    }

    .share-btn:hover {
      transform: scale(1.1);
    }

    .share-btn.facebook { background: #1877f2; }
    .share-btn.twitter { background: #1da1f2; }
    .share-btn.linkedin { background: #0a66c2; }
    .share-btn.whatsapp { background: #25d366; }

    /* Responsive */
    @media (max-width: 991px) {
      .blog-post-wrapper {
        flex-direction: column;
      }
      .blog-content-left {
        max-width: 100%;
        padding: 30px 20px;
      }
      .blog-sidebar-right {
        width: 100%;
        height: auto;
        position: static;
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding: 30px 20px;
      }
      .blog-post-hero h1 {
        font-size: 1.7rem;
      }
    }

