/* ---------- HERO (Press) ---------- */

.general-hero.press-hero {
  position: relative;
  width: 100%;
  height: 380px;
  background: var(--hero-bg) center / cover no-repeat #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  margin-bottom: 0;
  overflow: hidden;
}

.general-hero.press-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
}

.general-hero.press-hero .general-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  color: #fff;
}

.general-hero.press-hero .general-hero-title {
  margin: 0 0 0.5rem;
}

/* ---------- YEAR MENU ---------- */

.press-year-menu {
  background: #fff;
  color: var(--global-color-blue);
  position: sticky;
  top: 60px;
}
.press-year-menu.sticky {
  background: #f5f5f5;
}

.press-year-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.press-year-link,
.press-year-link:hover {
  position: relative;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  padding-bottom: 4px;
  font-weight: 400;
}

.press-year-link:hover {
  color: var(--global-color-blue);
}

.press-year-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--global-color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease;
}

.press-year-link.is-active {
  color: var(--global-color-blue);
  font-weight: 700;
}

.press-year-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--global-color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease;
}

/* Hover animation */
.press-year-link:hover::after {
  transform: scaleX(1);
}

/* Active – always fully visible */
.press-year-link.is-active::after {
  transform: scaleX(1);
}

/* ---------- ARCHIVE GRID ---------- */

.press-archive {
  padding: 40px 16px 60px;
}

.press-archive-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px 35px;
}

@media (max-width: 1024px) {
  .press-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .press-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .press-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- ITEM ---------- */

.press-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.press-thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.press-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.press-content {
  padding: 10px 20px 14px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.press-title {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 1px;
}

.press-title a {
  color: #000;
  text-decoration: none;
}

.press-title a:hover {
  color: var(--global-color-blue);
}

.press-date {
  font-size: 1.1rem;
  color: #707070;
  margin-top: 4px;
  margin-bottom: 8px;
}

.press-explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0px 18px;
  border: 1px solid var(--global-color-blue, #0038b8);
  background: var(--global-color-blue, #0038b8);
  color: #ffffff;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  margin-top: auto;
  width: max-content;
  font-weight: 500;
}

.press-explore-btn::after {
  content: "";
  width: 24px;
  height: 15px;
  display: inline-block;
  background: url(../images/chevron-right.svg) center center / contain no-repeat;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
  margin-left: 8px;
}

.press-explore-btn:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.press-explore-btn:hover::after {
  transform: translateX(4px);
}

/* ---------- Pagination ---------- */

.press-pagination {
  margin-top: 40px;
  text-align: center;
}

/* Message when no results */
.press-no-results {
  text-align: center;
  margin-top: 40px;
}

.press-load-more-wrap {
  margin-top: 3rem;
  text-align: center;
}

.press-load-more,
.press-load-more:focus {
  display: inline-block;
  padding: 7px 26px 3px;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fff;
  color: var(--global-color-blue);
  border: 1px solid var(--global-color-blue);
  font-weight: 600;
}

.press-load-more::after {
  content: "";
  width: 24px;
  height: 15px;
  display: inline-block;
  background: url(../images/chevron-down-blue.svg) center center / contain
    no-repeat;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.press-load-more:hover:enabled {
  color: var(--global-color-blue);
}

.press-load-more:disabled {
  cursor: default;
}
.press-spinner {
  display: none;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(0, 56, 184, 0.2); /* light blue ring */
  border-top-color: rgba(0, 56, 184, 1); /* solid top segment */
  animation: press-spin 0.7s linear infinite;
}

/* Keyframes for rotation */
@keyframes press-spin {
  to {
    transform: rotate(360deg);
  }
}

/* -----------------------------
              HERO
          ------------------------------ */
.press-single-hero {
  position: relative;
  height: 340px;
  background: var(--hero-bg) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 60px 20px;
}
.press-single-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
}
.press-single-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
}
.press-single-title {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 12px;
}
.press-single-date {
  font-size: 15px;
  opacity: 0.85;
}

/* -----------------------------
              LAYOUT
          ------------------------------ */
.press-single-layout {
  padding: 40px 20px 80px;
}
.press-single-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}

/* -----------------------------
              SIDEBAR
          ------------------------------ */
.press-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.press-breadcrumbs {
  font-size: 14px;
  color: #999;
}
.press-breadcrumbs a {
  color: var(--global-color-blue, #0038b8);
  text-decoration: none;
}
.press-years {
  background: #0038b8;
  padding: 20px 16px;
}
.press-year-link {
  display: block;
  padding: 8px 4px;
  font-size: 1.4rem;
  text-decoration: none;
}
.press-year-link.active {
  color: #fff;
  font-weight: 700;
}

/* -----------------------------
              MAIN CONTENT CARD
          ------------------------------ */
.press-single-card {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}
.press-card-body p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.press-card-body img {
  width: 100%;
  margin: 20px 0;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .press-single-container {
    grid-template-columns: 1fr;
  }
  .press-single-sidebar {
    order: 2;
  }
  .press-single-card {
    order: 1;
  }
}

@media (max-width: 767.98px) {
  .press-year-menu-inner {
    flex-wrap: wrap;
  }

  .press-year-menu-inner {
    row-gap: 5px;
    column-gap: 8px;
  }

  .press-archive {
    padding: 1rem 16px 3rem 16px;
  }
}
