/* News Page Styles (inherits About styling via body.about class) */

/* Hide site-wide background on news page */
body.news::before {
  display: none !important;
}

/* Hero section styling */
.news .hero--about {
  background: url("../img/abt.jpg") center / cover no-repeat;
}

/* Hero overlay fade */
.news .hero--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
}

/* Seam guard - smooth transition from hero to gradient */
.news .hero--about::after {
  content: "";
  position: absolute;
  bottom: -48px;
  left: 0;
  right: 0;
  height: 48px;
  background: #000;
  pointer-events: none;
}

/* After-hero gradient background */
.news.after-hero {
  background: linear-gradient(180deg, #000 0%, #1a1a8c 45%, #000 100%);
  position: relative;
}

/* News card styling */
.news .news-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.news .news-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 165, 0, 0.3);
  transform: translateY(-4px);
}

.news .news-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0.75rem 0 0.5rem 0;
  line-height: 1.4;
}

.news .news-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  flex-grow: 1;
  margin: 0.5rem 0 1rem 0;
}

.news .news-card .date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: auto;
}

/* Tag styling */
.news .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.news .tag-signing {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
  border: 1px solid rgba(255, 165, 0, 0.4);
}

.news .tag-release {
  background: rgba(100, 200, 255, 0.2);
  color: #64c8ff;
  border: 1px solid rgba(100, 200, 255, 0.4);
}

.news .tag-residency {
  background: rgba(150, 100, 255, 0.2);
  color: #9664ff;
  border: 1px solid rgba(150, 100, 255, 0.4);
}

/* Featured card styling */
.news .card-featured {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 0.75rem;
  padding: 2rem;
}

.news .card-featured h3 {
  margin-top: 0;
}

.news .card-featured p {
  color: rgba(255, 255, 255, 0.85);
}

.news .card-featured .btn {
  display: inline-block;
  margin-top: 1rem;
}

/* CTA section */
.news .section-cta {
  margin-top: 3rem;
}

.news .section-cta .card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.news .section-cta h2 {
  margin-bottom: 1rem;
}

.news .section-cta p {
  opacity: 0.85;
  margin-bottom: 1rem;
}

/* Grid layout adjustments */
.news .grid {
  gap: 1.5rem;
}

.news .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.news .grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Image box styling */
.news .image-box {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news .image-inner {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 1;
}

.news .image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .news .grid-3 {
    grid-template-columns: 1fr;
  }

  .news .grid-2 {
    grid-template-columns: 1fr;
  }

  .news .card-featured {
    padding: 1.5rem;
  }
}
/* Make both columns the same height */
.grid.grid-2 {
  align-items: stretch;
}

/* Image column takes full height of the row */
.image-box {
  height: 100%;
}

/* Inner wrapper fills and clips the image nicely */
.image-inner {
  height: 100%;
  width: 100%;
  border-radius: 22px;       /* same radius as card */
  overflow: hidden;
}

/* Image fills the box */
.image-inner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;         /* fills the space */
  object-position: center;   /* centers the crop */
}


.tag,
.tag-signing,
.tag-release,
.tag-residency {
  background: linear-gradient(135deg, #ff6600 0%, #ff4400 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.3);
}

.date {
  color: #ff6600 !important;
  opacity: 1 !important;
}
