/* Base Mobile Styles (Mobile-First) */
.article-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #000;
  color: #fff;
  width: 100%;
  overflow: hidden;
}

.article-hero__image-wrapper {
  position: relative;
  width: 100%;
  height: 320px; /* Adjust banner height for mobile */
}

.article-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Gradient fade at bottom of mobile image */
.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 85%, #000 100%);
}

.article-hero__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
  margin-top: -30px; /* Slight overlap into gradient */

  position: static;
  width: 100%;
}

.angle-label {
  display: inline-block;
  align-self: flex-start;
  background-color: #A4C639; /* Green badge color */
  color: #000;
  font-weight: bold;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}

.article-hero__title {
  font-size: 2.2rem;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0;
}

.article-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 10px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-hero__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #222;
}

.author-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #A4C639;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.author-info small {
  font-size: 0.65rem;
  color: #888;
  letter-spacing: 1px;
}

.author-info span {
  font-weight: 600;
  font-size: 0.9rem;
}

.articleTitleTitle{
  font-size: 19px;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
  text-overflow: ellipsis;
  width: 100%;
}

.contentLocked {
    position: relative;
    /*height: 600px;*/
    overflow: hidden;
}

.contentLocked::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,1)
    );
    pointer-events: none;
}

/* Desktop View (Side-by-Side Layout) */
@media (min-width: 768px) {
  .article-hero {
    flex-direction: row-reverse;
    min-height: 400px;
  }

  .article-hero__image-wrapper {
    width: 55%;
    height: auto;
  }

  .article-hero__overlay {
    background: linear-gradient(to right, #000 0%, transparent 15%);
  }

  .article-hero__content {
    margin-top: 0;
    padding: 20px;

    position: absolute;
    z-index: 3;
    width: 55%;
    left: 0;
    top: 0;
  }
  
  .article-hero__title {
    font-size: 3rem;
  }
  
}