/* ===================================================== */
/* NEWS PAGE ONLY - No gray backgrounds, full-bleed images */
/* ===================================================== */

/* News hero (featured post) */
.news-hero {
  margin-bottom: 2rem;
  text-align: center;
}

.news-hero-link {
  display: inline-block;
  text-align: left;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-hero-figure {
  margin: 0;
  display: block;
  width: 100%;
  max-width: 100%;
}

.news-hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: 12px;
  transition: transform .4s ease;
  background: transparent !important;
}

.news-hero-link:hover .news-hero-image {
  transform: scale(1.02);
}

.news-hero-figure figcaption {
  padding: 1rem 0 0;
}

.news-hero-meta {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.news-hero-figure h2 {
  padding: .5rem 0;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.3;
}

.news-hero-figure p {
  padding: 0 0 1.2rem;
  margin: 0;
  color: #aaa;
  font-size: .9rem;
  line-height: 1.5;
}

/* News list items */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list-item {
  margin-bottom: 1rem;
}

.news-list-link {
  display: block;
  color: #fff;
  text-decoration: none;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  padding: 1.2rem;
}

.news-list-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255,255,255,.08);
}

.news-list-meta {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}

.news-list-link h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.news-list-link p {
  margin: 0;
  color: #aaa;
  font-size: .9rem;
  line-height: 1.5;
}

/* ===================================================== */
/* HORIZONTAL SCROLL NEWS CARDS */
/* ===================================================== */

.news-scroll-outer {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: visible;
}

.news-scroll-container-wrapper {
  position: relative;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 80px;
}

.news-scroll-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.news-scroll-container::-webkit-scrollbar {
  display: none;
}

.news-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 300px;
  max-width: 360px;
  scroll-snap-align: start;
}

.news-card-link {
  display: block;
  color: #fff;
  text-decoration: none;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(255,255,255,.08);
}

.news-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255,255,255,.08);
  border-color: rgba(155,123,184,.3);
}

.news-card-figure {
  margin: 0;
  display: block;
}

.news-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.news-card-figure figcaption {
  padding: 1rem;
}

.news-card-meta {
  display: flex;
  gap: .75rem;
  font-size: .75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}

.news-card-link h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.news-card-link p {
  margin: 0;
  color: #aaa;
  font-size: .85rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Scroll buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s, background .2s;
}

.scroll-btn:hover {
  opacity: 0.6;
  background: rgba(0,0,0,0.6);
}

.scroll-btn.scroll-left {
  left: 20px;
}

.scroll-btn.scroll-right {
  right: 20px;
}

.news-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  text-align: left;
}

@media (max-width: 768px) {
  .news-section-title {
    text-align: center;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .news-card {
    flex: 0 0 calc(85% - 1rem);
    min-width: 280px;
    max-width: 340px;
  }
  
  .scroll-btn {
    display: none;
  }
  
  .news-section-title {
    text-align: center;
    padding-left: 0;
  }
  
  .news-scroll-container-wrapper {
    padding: 0 20px;
  }
  
  /* Scroll hint gradient */
  .news-scroll-container-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to left, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
    z-index: 5;
  }
  
  .news-scroll-container {
    padding-right: 40px;
  }
}

@media (max-width: 480px) {
  .news-card {
    flex: 0 0 85%;
    min-width: 260px;
  }
}

/* Post page image */
.post-image {
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.post-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center center;
  display: block;
}
