/**
 * Module: Featured Post (Big Picture) Styles
 */

/* ===================================
   FEATURED POST MODULE
   =================================== */

.mod-featured-post {
  margin: var(--tcp-space-12) 0;
}

/* Featured Post Item */
.featured-post-item {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.featured-post-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

/* Featured Post Image */
.featured-post-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.featured-post-link:hover .featured-post-image img {
  transform: scale(1.03);
}

/* Gradient Overlay */
.featured-post-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

/* Featured Post Content */
.featured-post-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--tcp-space-8);
  z-index: 2;
}

/* Featured Post Title */
.featured-post-title {
  font-family: var(--tcp-font-display);
  font-size: var(--tcp-text-2xl);
  font-weight: 600;
  line-height: 1.2;
  color: var(--tcp-white);
  margin: 0 0 var(--tcp-space-1) 0;
  max-width: 70%;
}

/* Featured Post Meta */
.featured-post-meta {
  display: flex;
  align-items: center;
  gap: var(--tcp-space-2);
  font-family: var(--tcp-font-primary);
  font-size: var(--tcp-text-base);
  color: var(--tcp-white);
  font-style: italic;
}

.featured-post-author {
  font-weight: 600;
}

.featured-post-separator {
  opacity: 0.7;
}

.featured-post-date {
  opacity: 0.9;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
  .featured-post-title {
    font-size: var(--tcp-text-2xl);
    max-width: 80%;
  }

  .featured-post-content {
    padding: var(--tcp-space-6);
  }
}

@media (max-width: 768px) {
  .mod-featured-post {
    margin: var(--tcp-space-8) 0;
  }

  .featured-post-image {
    aspect-ratio: 4 / 3;
  }

  .featured-post-title {
    font-size: var(--tcp-text-xl);
    max-width: 100%;
  }

  .featured-post-content {
    padding: var(--tcp-space-4);
  }

  .featured-post-meta {
    font-size: var(--tcp-text-sm);
  }

  .featured-post-overlay {
    height: 70%;
  }
}

@media (max-width: 480px) {
  .mod-featured-post {
    margin: var(--tcp-space-6) 0;
  }

  .featured-post-title {
    font-size: var(--tcp-text-lg);
  }

  .featured-post-content {
    padding: var(--tcp-space-3);
  }

  .featured-post-meta {
    font-size: var(--tcp-text-xs);
  }
}
