/* ==========================================================================
   NEXTGEN BLOG SYSTEM STYLES
   ========================================================================== */

.ng-blog-section {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  width: min(100% - 2rem, 1170px);
  margin: 0 auto;
}

.ng-blog-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Blog Grid */
.ng-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Blog Card (1080x1080 Aspect Ratio Container) */
.ng-blog-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #080d20;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.ng-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(244, 125, 105, 0.2);
}

.ng-blog-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ng-blog-card:hover .ng-blog-card-img {
  transform: scale(1.05);
}

/* Bottom Background Gradient with Text Overlay */
.ng-blog-card-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(8, 13, 32, 0.95) 0%, rgba(8, 13, 32, 0.75) 60%, transparent 100%);
  padding: 2.5rem 2rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ng-blog-tag {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: #FEAC97;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.ng-blog-card-title {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.ng-blog-card-excerpt {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ng-title-section {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: black;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.ng-caption{
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 1.2rem;
  color: black;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover CTA ("Read More ->") */
.ng-blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  color: #43c0ca;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ng-blog-card:hover .ng-blog-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   INDIVIDUAL BLOG POST PAGE STYLES
   ========================================================================== */
.ng-post-wrapper {
  width: min(100% - 2rem, 850px);
  margin: 3rem auto 5rem;
  position: relative;
  z-index: 2;
}

.ng-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  color: #000000;
  background: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: background 0.2s, transform 0.2s;
}

.ng-back-btn:hover {
  background: #FEAC97;
  transform: translateX(-3px);
}

.ng-post-header {
  margin-bottom: 2.5rem;
}

.ng-post-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FEAC97;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.ng-post-title {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #000000;
  margin: 0 0 1.5rem 0;
}

/* Media Showcase inside Post */
.ng-post-media-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.ng-post-featured-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ng-post-video-container {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: #000;
}

.ng-post-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Post Content Body */
.ng-post-body {
  background: #ffffff;
  padding: 3rem;
  border-radius: 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 4rem;
}

.ng-post-body h3 {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #000000;
  margin: 2rem 0 1rem 0;
  letter-spacing: -0.02em;
}

.ng-post-body p {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.ng-post-body ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ng-post-body li {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: #222222;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.ng-post-body li::before {
  content: "•";
  color: #FEAC97;
  font-size: 1.5rem;
  line-height: 1;
}

/* Related / Footer Articles Section */
.ng-related-section {
  margin-top: 5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 4px;
}

.ng-related-title {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .ng-post-media-grid {
    grid-template-columns: 1fr;
  }
  .ng-post-body {
    padding: 1.75rem;
  }
}
/* ==========================================================================
   NEXTGEN BLOG SYSTEM (MINIMAL HOOK TEXT - 10% HEIGHT DEFAULT)
   ========================================================================== */

.ng-blog-section {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  width: min(100% - 2rem, 1170px);
  margin: 0 auto;
}

.ng-blog-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Blog Grid */
.ng-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Blog Card (1080x1080 Aspect Ratio Container) */
.ng-blog-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #080d20;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.ng-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(244, 125, 105, 0.2);
}

.ng-blog-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ng-blog-card:hover .ng-blog-card-img {
  transform: scale(1.05);
}

/* Bottom Overlay taking minimum ~10-15% height by default */
.ng-blog-card-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(8, 13, 32, 0.95) 20%, rgba(8, 13, 32, 0.8) 70%, transparent 100%);
  padding: 2rem 1.75rem 1.75rem;
  width: 100%;
  min-height: 22%; /* Ensures it covers the bottom portion cleanly */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
}

.ng-blog-tag {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  color: #FEAC97;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.ng-blog-card-title {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Hover CTA ("Read Whole Article ->") slides up smoothly */
.ng-blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 0.8rem;
  font-weight: 800;
  color: #43c0ca;
  margin-top: 0.3rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ng-blog-card:hover .ng-blog-cta {
  opacity: 1;
  transform: translateY(0);
}
/* ==========================================================================
   EDITORIAL IN-ARTICLE MEDIA UTILITIES
   ========================================================================== */

/* Hero Media Grid under title */
.ng-post-hero-media {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.ng-post-hero-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ng-post-hero-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  background: #000;
}

.ng-post-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* In-Content Single Image */
.ng-article-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 18px;
  margin: 2rem 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* In-Content Multi-Image Gallery Grid */
.ng-article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.ng-article-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
  .ng-post-hero-media {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   IN-ARTICLE 1080x1080 SQUARE VIDEO WITH INSTAGRAM OVERLAY CTA
   ========================================================================== */

.ng-inline-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Forces exact 1080x1080 square proportion */
  max-width: 650px;
  margin: 2.5rem auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  background: #000;
}

.ng-inline-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Audio Toggle Button (Top Right) */
.ng-video-audio-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  z-index: 5;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ng-video-audio-btn:hover {
  transform: scale(1.08);
  background: rgba(0, 0, 0, 0.8);
}

.ng-video-audio-btn svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* Instagram Floating CTA Overlay Card (Bottom Center) */
.ng-insta-cta-card {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.9rem 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 5;
}

.ng-insta-cta-card:hover {
  transform: translateX(-50%) translateY(-3px);
  background: #ffffff;
}

.ng-insta-cta-text {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 0.92rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.01em;
  margin: 0;
}

.ng-insta-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
/* ==========================================================================
   NEXTGEN BLOG RESPONSIVE SLIDER SYSTEM
   ========================================================================== */

.ng-blog-section {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  width: min(100% - 2rem, 1170px);
  margin: 0 auto;
}

.ng-blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.ng-blog-header-text .ng-caption {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
font-size: 0.8rem;
font-weight: 300;
color: var(--ng-coral, #FEAC97);
text-transform: uppercase;
letter-spacing: 0.05em;
white-space: nowrap;

}

.ng-blog-header-text .ng-title-section {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 400;
  letter-spacing: -0.03em;
  
  line-height: 1.2;
  color: #000000;
  margin: 0;
  
}



/* Slider Controls - Hidden by default, shown via JS if content overflows */
.ng-slider-controls {
  display: none;
  gap: 0.6rem;
  align-items: center;
}

.ng-slider-controls.has-overflow {
  display: flex;
}

.ng-slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.ng-slider-arrow:hover {
  background: #FEAC97;
  border-color: #FEAC97;
  transform: scale(1.05);
}

.ng-slider-arrow svg {
  width: 22px;
  height: 22px;
  fill: #000000;
}

/* Horizontal Scroll Container */
.ng-blog-slider-container {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

/* Hide Native Horizontal Scrollbars */
.ng-blog-slider-container::-webkit-scrollbar {
  display: none;
}
.ng-blog-slider-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.ng-blog-slider-track {
  display: flex;
  gap: 1.5rem;
}

/* Blog Card (1080x1080 Aspect Ratio Container in Slider) */
.ng-blog-card {
  position: relative;
  flex: 0 0 min(82vw, 360px); /* Responsive flex width for mobile swipe & desktop slider */
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #080d20;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.ng-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(244, 125, 105, 0.2);
}

.ng-blog-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ng-blog-card:hover .ng-blog-card-img {
  transform: scale(1.05);
}

/* Bottom Overlay taking ~10-15% height by default */
.ng-blog-card-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(8, 13, 32, 0.95) 20%, rgba(8, 13, 32, 0.8) 70%, transparent 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  width: 100%;
  min-height: 22%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}

.ng-blog-tag {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  color: #FEAC97;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.ng-blog-card-title {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

.ng-blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 0.8rem;
  font-weight: 800;
  color: #43c0ca;
  margin-top: 0.3rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ng-blog-card:hover .ng-blog-cta {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .ng-blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .ng-blog-card-title {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 0.9rem;
  font-weight: 300;}
}
/* ==========================================================================
   HIDE SLIDER ARROWS ON MOBILE (TOUCH SWIPE ONLY)
   ========================================================================== */
@media (max-width: 768px) {
  .ng-slider-controls {
    display: none !important;
  }
  .ng-blog-section {margin-top:-50px;}
}
.ng-blog-header .ng-blog-header-text {
    text-align: left !important;
}



/* Bottom Overlay Gradient */
.ng-blog-card-overlay {
  position: absolute; /* Changed from relative to overlay directly on top of the image */
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background: linear-gradient(to top, rgba(8, 13, 32, 0.95) 0%, rgba(8, 13, 32, 0.6) 60%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}
/* ==========================================================================
   VIEW ALL BLOGS CTA BUTTON STYLES
   ========================================================================== */
.ng-blog-cta-container {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.ng-btn-view-all-blogs {
  background: #ffffff;
  color: #080d20;
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ng-btn-view-all-blogs:hover {
  background: var(--ng-coral, #FEAC97);
  color: #000000;
  border-color: var(--ng-coral, #FEAC97);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 172, 151, 0.3);
}

.ng-btn-view-all-blogs svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.ng-btn-view-all-blogs:hover svg {
  transform: translateX(3px);
}