/* ============================================
   Press Page Styles
   ============================================ */

/* Press Hero Section */
.press-hero {
  padding: var(--common-padding);
  margin: var(--equal-margin);
}

.press-title {
  text-align: center;
  font-size: var(--heading-size);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 1.8rem;
}

/* Featured Articles Wrapper */
.featured-articles-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

/* Featured Article */
.featured-article {
  margin-top: 0;
  margin: 0 20px !important;
}

/* Desktop - no fade-in animation */
@media (min-width: 720px) {
  .featured-article {
    opacity: 1;
    transform: none;
  }
}

.featured-article-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.featured-article-card {
  background: #ffffff;
  /* border: 1px solid #939393; */
  border: 1px solid #93939387;
  border-radius: 20px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.featured-article-image {
  width: 100%;
  position: relative;
  flex-shrink: 0;
}

.featured-article-image .desktop-img {
  display: none;
}

.featured-article-image .mobile-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  object-fit: cover;
}

.featured-article-image img {
  width: 100%;
  height: auto;
  border-radius: 9px;
  object-fit: cover;
  border: none !important;
}

.featured-article-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.featured-badge {
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 100px;
  padding: 8px 24px;
  display: inline-block;
  width: fit-content;
  font-size: var(--text-size);
  font-weight: 500;
  color: #000000;
}

.featured-article-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.featured-article-title {
  font-size: var(--heading-size);
  font-weight: 500;
  color: #000000;
  line-height: 1.2;
  margin: 0;
}
.featured-article-text-content{
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.featured-article-description {
  font-size: var(--text-size);
  font-weight: 500;
  color: #5F5F5F;
  line-height: 1.5;
  margin: 0;
}

.featured-article-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-size: var(--text-size);
  font-weight: var(--font-weight-semibold);
  color: #000000;
  line-height: 1.2;
}

.author-role {
  font-size: calc(var(--text-size) * 0.9);
  font-weight: 500;
  color: #5f5f5f;
  line-height: 1.2;
}



/* Hide default CTA section on press page */
#cta-section-placeholder {
  display: none !important;
}

/* Press CTA Section - Uses same classes as old CTA section */
.cta-section {
  position: relative !important;
  background-image: url('/newAssets/new-design-asset/gradientCtaSection.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  padding: 0 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
  height: auto !important;
  min-height: 569px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.cta-press-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  pointer-events: none;
}

/* Remove margin between press-hero and cta-section */
.press-hero {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.featured-articles-wrapper {
  margin-bottom: 0 !important;
}

.cta-press-circles-group-1,
.cta-press-circles-group-2 {
  display: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}


/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .press-hero,
  .featured-articles-wrapper {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
}



/* Mobile Styles (below 720px) */
@media (max-width: 719px) {
  .press-hero {
    padding: 0 !important;
    margin: 0 !important;
  }

  .press-title {
    margin-top: 3.5rem;
    margin-bottom: 3rem;
  }

  .cta-section {
    min-height: 450px !important;
    background-image: url('/newAssets/new-design-asset/gradientCtaSection.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .cta-title {
    font-size: var(--mobile-font-size-mid) !important;
    margin: 0 10% !important;
  }

  .cta-desc {
    font-size: var(--mobile-font-size-mid) !important;
    margin-top: 25px !important;
    color: #171717 !important;
  }
  .c-text {
    font-size: var(--mobile-font-size-small) !important;
    color: #171717 !important;
  }

  .cta-inner {
    margin-left: 20px;
    margin-right: 20px;
    padding: 0 !important;
  }

  /* Mobile - no animation */
  .featured-articles-wrapper {
    perspective: none;
  }

  .featured-article {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .featured-article:nth-child(1),
  .featured-article:nth-child(2) {
    animation: none;
    z-index: auto;
  }
}

/* Keyframes for stacking article animation */
@keyframes stackArticleIn {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.9) rotateX(5deg);
    filter: blur(3px);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-8px) scale(0.98) rotateX(-1deg);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
  }
}

/* Tablet Styles (720px+) */
@media (min-width: 720px) {
  .press-hero {
    padding: var(--tablet-common-padding);
  }

  .press-title {
    font-size: var(--tablet-heading-size);
  }

  .featured-article-card {
    /* padding: 2rem; */
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .featured-article-image {
    width: 380px;
    flex-shrink: 0;
  }

  .featured-article-content {
    flex: 1;
    padding-left: 0;
  }

  .featured-articles-wrapper {
    gap: 2.5rem;
  }
}

/* Desktop Styles (1024px+) */
@media (min-width: 1024px) {
  .press-hero {
    padding: 4rem var(--desktop-equal-margin);
    max-width: 1440px;
    margin: 0 auto;
  }

  .press-title {
    font-size: var(--desktop-font-size-large);
    margin-bottom: 3rem;
  }

  .featured-article {
    max-width: 1445px;
    margin: 0 auto;
  }

  .featured-article-card {
    /* padding: 2.5rem; */
    gap: 2rem;
  }

  .featured-article-image {
    width: 380px;
    height: 315px;
  }

  .featured-article-image .desktop-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .featured-article-image .mobile-img {
    display: none;
  }

  .featured-article-content {
    flex: 1;
    padding-left: 0;
  }

  .featured-article-title {
    font-size: var(--desktop-font-size-large);
  }

  .featured-article-description {
    font-size: var(--desktop-font-size-small);
  }

  .featured-articles-wrapper {
    gap: 3rem;
    max-width: 1445px;
    margin: 0 auto;
  }
}