@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

@font-face {
    font-family: "Amatic SC";
    src: url('../fonts/AmaticSC-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --secondary: #004e89;
  --accent: #ffd23f;
  --dark: #1a1a2e;
  --gray: #4a5568;
  --light-gray: #e2e8f0;
  --white: #ffffff;
  --text: #2d3748;
  --bg-light: #f7fafc;
  --transition: all 0.3s ease;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* H2 styling with underline */
h2 {
    font-family: "Inter", cursive;
    font-optical-sizing: auto;
    position: relative;
    padding-bottom: 1rem;
}

p { font-family: "Inter", sans-serif; }

/* Loader container */
.payment-method-loader {
  display: none;
  position: relative;
  padding: 40px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  margin: 20px 0;
}

.payment-method-loader.is-loading {
  display: block;
}

/* Spinner animation */
.payment-method-loader__spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Loader text */
.payment-method-loader__text {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* Hide order review table while loading */
.woocommerce-checkout-review-order-table.is-updating {
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Trekking Packages Index grid */
 .packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

/* Card block */
 .package-card{
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

 .package-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

 .package-card__link {
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

 .package-card__media img,
 .package-card__placeholder {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #e9eef3;
}

 .package-card__content {
  padding: 16px;
}

 .package-card__title {
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  color: #1d2736;
}

 .package-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  color: #516071;
  font-weight: 600;
}

 .package-card__price {
  color: #8ea33b;
}

 .package-card__excerpt {
  color: #5a6777;
  font-size: .95rem;
}

 .pagination {
  margin: 24px 0 8px;
  text-align: center;
}

@media (max-width: 600px) {
   .package-card__media img,
   .package-card__placeholder {
    height: 160px;
  }
}

/* Current output structure: style trek-detail_package cards */
.trek-detail_package {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  padding: 16px;
}

.trek-detail_package:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.trek-detail_package h2 {
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  color: #1d2736;
}

.trek-detail_package .post-meta {
  color: #516071;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.trek-detail_package .post-content {
  color: #5a6777;
  font-size: .95rem;
}

/* Header redesign - Clean White Header */

  .wp-theme-oztoeverest-theme {
    margin: 0 !important;
  }

  /* Sticky Header */
  .site-header {
    background: #1a1a2e;
    color: #000;
    width: 100%;
    position: sticky;
    top: 0;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .site-header.container {
    width: 1200px;
    margin: 0 auto;
    /* padding: 0 24px; */
  }

  /* Header Inner Layout */
  .header-inner {
    display: flex;
    width: 1160px;
    margin: 0 auto;
    align-items: center;
    gap: 40px;
    /* padding: 16px 0; */
    height: 54px;
  }

  /* Branding - Logo on Left */
  .site-branding {
    flex-shrink: 0;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #000;
  }

  .brand__title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    color: #000;
  }

  .brand img,
  .brand__logo {
    max-height: 36px;
    width: auto;
    display: block;
  }

  /* Custom logo (WordPress generated) */
  .custom-logo-link {
    display: inline-flex;
    align-items: center;
  }

  .custom-logo {
    max-height: 36px;
    width: auto;
    display: block;
  }

  /* Navigation - Left Aligned Next to Logo */
  .site-nav {
    flex: 1;
    color: white;
  }

  .primary-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    padding: 1rem 0;
  }

  .primary-menu > li {
    margin: 0;
  }

  .primary-menu > li > a {
    color: var(--white);
    font-weight: 400;
    transition: var(--transition);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
    display: block;
    padding: 4px 0;
  }

  .primary-menu > li > a:hover {
    color: #ffffff;
    text-decoration: underline;
  }

  /* Cart Button - Right Side */
  .header-cart {
    flex-shrink: 0;
    margin-left: auto;
  }

  .cart-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 36px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
    position: relative;
  }

  .cart-button:hover {
    background: #333;
  }

  .cart-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .cart-text {
    white-space: nowrap;
  }

  .cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #d32f2f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
  }

  /* Mobile Menu Toggle - Hidden on Desktop */
  .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
  }

  .hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
  }

  /* Hamburger Animation when Active */
  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

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

  /* Responsive */
  @media (max-width: 980px) {
    .header-inner {
      gap: 20px;
      padding: 12px 0;
    }

    .primary-menu {
      gap: 20px;
      flex-wrap: wrap;
    }

    .primary-menu > li > a {
      font-size: 14px;
    }

    .cart-button {
      padding: 8px 16px;
      font-size: 13px;
    }
  }

  @media (max-width: 768px) {
    .header-inner {
      width: 100%;
      padding: 12px 20px;
      justify-content: space-between;
    }

    /* Show hamburger on mobile */
    .mobile-menu-toggle {
      display: block;
      order: 3;
    }

    /* Hide cart text on mobile */
    .cart-text {
      display: none;
    }

    .cart-button {
      padding: 8px;
      background: transparent;
    }

    .header-cart {
      order: 2;
    }

    /* Mobile Navigation */
    .site-nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 320px;
      height: 100vh;
      background: var(--dark);
      padding: 80px 30px 30px;
      transition: right 0.3s ease;
      box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      overflow-y: auto;
    }

    .site-nav.active {
      right: 0;
    }

    .primary-menu {
      flex-direction: column;
      gap: 0;
      padding: 0;
    }

    .primary-menu > li {
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .primary-menu > li > a {
      font-size: 16px;
      padding: 16px 0;
      display: block;
    }

    .primary-menu > li > a:hover {
      color: var(--primary);
      text-decoration: none;
    }

    /* Mobile Menu Overlay */
    .menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
      z-index: 999;
    }

    .menu-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Prevent body scroll when menu open */
    body.menu-open {
      overflow: hidden;
    }
  }
  
  .main-content {
    max-width: 100%;
    margin: 0 auto;
    /* padding: 0 20px; */
  }
  /* single trek detail page */
  .package-page {
    /* grid 2 columns */
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* .package-page section h2 {
    font-size: 1.875rem;
    color: var(--dark);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
  } */
  
  /* .package-page__left {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .package-page__right {
    background: #fff; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  } */
  .trekking-package-single {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
  }
/*   
  .package-hero {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  }
  
  .package-hero .hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  
  .package-hero .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .package-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 1.2rem;
  }
  
  .package-overview,
  .package-details,
  .package-itinerary,
  .package-includes,
  .package-gallery,
  .package-booking {
    padding: 40px 0;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .package-overview h2,
  .package-details h2,
  .package-itinerary h2,
  .package-includes h2,
  .package-gallery h2,
  .package-booking h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1d2736;
  }
   */
  .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: var(--transition);
  }

  .detail-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
  }

  .detail-item i {
    font-size: 1.25rem;
    color: var(--primary);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
  }

  .detail-item strong {
    color: var(--dark);
    margin-right: 4px;
  }
 
  .book-now-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #8ea33b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .book-now-btn:hover {
    background: #7a8f32;
  }
  
  @media (max-width: 768px) {
    .package-hero {
      height: 300px;
    }
    .package-hero h1 {
      font-size: 2rem;
    }
    .package-meta {
      flex-direction: column;
      gap: 10px;
    }
    .details-grid {
      grid-template-columns: 1fr;
    }
  }

  /* WooCommerce Single Product Page */
  .single-product-wrapper {
    padding: 40px 0;
    background: #fff;
  }

  .product-single {
    background: #fff;
  }

  /* Product Layout - Two Column */
  .product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
  }

  /* Product Images */
  .product-images {
    position: relative;
  }

  .product-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .woocommerce-product-gallery {
    margin: 0;
  }

  .woocommerce-product-gallery__wrapper {
    margin: 0;
  }

  .woocommerce-product-gallery__image {
    margin-bottom: 16px;
  }

  /* Product Summary */
  .product-summary {
    padding: 20px 0;
  }

  .product_title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #000;
    line-height: 1.2;
  }

  .woocommerce-product-rating {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* .price {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
    display: block;
  }

  .price del {
    opacity: 0.5;
    font-size: 20px;
    margin-right: 8px;
  }

  .price ins {
    text-decoration: none;
  } */

  .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 24px;
  }

  /* Product Variations - Pill Style */
  .variations-pills {
    margin-bottom: 32px;
  }

  .variation-attribute {
    margin-bottom: 24px;
  }

  .variation-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .variation-pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .variation-pill {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
  }

  .variation-pill:hover {
    border-color: #999;
    background: #f5f5f5;
  }

  .variation-pill.selected {
    border-color: #000;
    background: #000;
    color: #fff;
  }

  .variation-pill:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #e5e5e5;
    color: #999;
  }

  .variation-pill:disabled:hover {
    background: #fff;
    border-color: #e5e5e5;
  }

  .reset_variations {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    text-decoration: underline;
  }

  .reset_variations:hover {
    color: #000;
  }

  /* Add to Cart Form */
  .cart {
    margin-bottom: 24px;
  }

  .quantity {
    display: inline-block;
    margin-right: 12px;
  }

  .quantity input[type="number"] {
    width: 80px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
  }

  .single_add_to_cart_button {
    background: #000;
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .single_add_to_cart_button:hover {
    background: #333;
  }

  .single_add_to_cart_button:disabled {
    background: #ccc;
    cursor: not-allowed;
  }

  /* Product Meta */
  .product_meta {
    font-size: 14px;
    color: #666;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
  }

  .product_meta > span {
    display: block;
    margin-bottom: 8px;
  }

  /* Product Tabs */
  .product-details-tabs {
    margin-top: 60px;
  }

  .woocommerce-tabs {
    margin-bottom: 60px;
  }

  .woocommerce-tabs .tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #e5e5e5;
  }

  .woocommerce-tabs .tabs li {
    margin: 0;
  }

  .woocommerce-tabs .tabs li a {
    display: block;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
  }

  .woocommerce-tabs .tabs li.active a,
  .woocommerce-tabs .tabs li a:hover {
    color: #000;
    border-bottom-color: #000;
  }

  .woocommerce-Tabs-panel {
    padding: 24px 0;
  }

  /* Related Products */
  .related.products {
    margin-top: 60px;
  }

  .related.products h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
  }

  .related.products ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* Responsive */
  @media (max-width: 980px) {
    .product-layout {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .product_title {
      font-size: 28px;
    }

    .price {
      font-size: 24px;
    }
  }

  @media (max-width: 768px) {
    .single-product-wrapper {
      padding: 24px 0;
    }

    .product-layout {
      gap: 24px;
    }

    .product_title {
      font-size: 24px;
    }

    .woocommerce-tabs .tabs {
      flex-direction: column;
      gap: 0;
    }

    .related.products ul.products {
      grid-template-columns: 1fr;
    }
  }

  /* ============================================
     WooCommerce Breadcrumbs
     ============================================ */

  .wp-block-breadcrumbs.wc-block-breadcrumbs {
    margin-top: 20px;
  }

  /* .wp-block-group.alignfull {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  } */

  /* ============================================
     Prevent Layout Shift - Reserve Space
     ============================================ */

  table.variations {
    min-height: 80px; /* Reserve space to prevent layout shift */
  }

  /* ============================================
     WooCommerce Catalog Sorting Dropdown
     ============================================ */

  .wp-block-woocommerce-catalog-sorting {
    margin-bottom: 24px;
  }

  .woocommerce-ordering {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .woocommerce-ordering select.orderby {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
  }

  .woocommerce-ordering select.orderby:hover {
    border-color: #999;
    background-color: #f9f9f9;
  }

  .woocommerce-ordering select.orderby:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
  }

  .woocommerce-ordering select.orderby option {
    padding: 8px;
    background-color: #fff;
    color: #333;
  }

  .woocommerce-ordering select.orderby option:checked {
    background: linear-gradient(#333, #333);
    background-color: #333;
    color: #fff;
  }

  /* ============================================
     Default Button Colors
     ============================================ */

  button,
  input[type="button"],
  input[type="submit"],
  .wp-block-button__link,
  .button {
    background-color: #d90c0c;
    border-radius: 4px;
    color: #fff;
    border-color: #d90c0c;
    transition: all 0.3s ease;
  }

  button:hover,
  input[type="button"]:hover,
  input[type="submit"]:hover,
  .wp-block-button__link:hover,
  .button:hover {
    background-color: #e81b1b;
    border-color: #d90c0c;
    transition: all 0.3s ease;
  }

  button:focus,
  input[type="button"]:focus,
  input[type="submit"]:focus,
  .wp-block-button__link:focus,
  .button:focus {
    outline: 2px solid #d90c0c;
    outline-offset: 2px;
  }

  /* ============================================
     WooCommerce Product Tabs - Convert to Stacked Sections
     ============================================ */

  /* Hide the tab navigation */
  .woocommerce-tabs .tabs.wc-tabs {
    display: none;
  }

  /* Show all tab panels as stacked sections */
  .woocommerce-Tabs-panel {
    display: block !important;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
  }

  .woocommerce-Tabs-panel:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* Style the section headings */
  .woocommerce-Tabs-panel h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 0;
    color: #333;
  }

  /* Style the content inside panels */
  .woocommerce-Tabs-panel p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #666;
  }

  /* Style product attributes table */
  .woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
  }

  .woocommerce-product-attributes tr {
    border-bottom: 1px solid #e5e5e5;
  }

  .woocommerce-product-attributes tr:last-child {
    border-bottom: none;
  }

  .woocommerce-product-attributes th {
    text-align: left;
    padding: 12px 0;
    font-weight: 600;
    color: #333;
  }

  .woocommerce-product-attributes td {
    padding: 12px 0;
    color: #666;
  }

/* ============================================
   Blog Post Single Page Styles
   ============================================ */

.single-post-wrapper {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 20px;
}

.single-post article {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.single-post .post-featured-image {
  margin: -40px -40px 2rem -40px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

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

.single-post article h1 {
  font-family: "EB Garamond", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.single-post .post-meta {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.single-post .post-meta a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.single-post .post-meta a:hover {
  color: var(--primary-dark);
}

.single-post .post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.single-post .post-content p {
  margin-bottom: 1.5rem;
}

.single-post .post-content h2 {
  font-family: "EB Garamond", serif;
  font-size: 1.75rem;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.single-post .post-content h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
}

.single-post .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post .post-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray);
}

.single-post .post-content ul,
.single-post .post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.single-post .post-content li {
  margin-bottom: 0.5rem;
}

.single-post .post-content a {
  color: var(--primary);
  text-decoration: underline;
  transition: var(--transition);
}

.single-post .post-content a:hover {
  color: var(--primary-dark);
}

/* Post Navigation */
.single-post .post-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--gray);
}

.single-post .post-navigation a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.single-post .post-navigation a:hover {
  color: var(--primary-dark);
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
  .single-post .container {
    padding: 30px 15px;
  }

  .single-post article {
    padding: 25px;
  }

  .single-post article h1 {
    font-size: 1.8rem;
  }

  .single-post .post-content {
    font-size: 1rem;
  }

  .single-post .post-content h2 {
    font-size: 1.5rem;
  }

  .single-post .post-navigation {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}