/* ============================================
   PRESS RELEASES — Papyrus Software
   Final Production Version
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap");

:root {
  --pr-primary: #6bb8be;
  --pr-primary-dk: #5aa8ae;
  --pr-navy: #0a0f1a;
  --pr-navy-2: #141c2e;
  --pr-navy-3: #0f172a;
  --pr-text: #1e293b;
  --pr-text-2: #475569;
  --pr-text-3: #64748b;
  --pr-white: #ffffff;
  --pr-off: #f7f8fa;
  --pr-off-2: #f1f3f5;
  --pr-line: #e2e5e9;
  --pr-r: 12px;
  --pr-r-lg: 16px;
  --pr-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

.contactus, .oh24btn, #go_up, .icon-chevron-up { display: none !important; }


/* =============================================
   HERO — Photo bg + gradient veil
   ============================================= */
.pr-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pr-hero__bg {
  position: absolute;
  inset: 0;
}
.pr-hero__bg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.pr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(30, 41, 59, 0.88) 0%,
    rgba(45, 55, 72, 0.75) 35%,
    rgba(55, 65, 81, 0.45) 60%,
    rgba(100, 116, 139, 0.2) 100%
  );
}

.pr-hero__inner {
  position: relative;
  z-index: 1;
  padding: 76px 0 72px;
  width: 100%;
}
.pr-hero__content {
  max-width: 680px;
}
.pr-hero__content h1 {
  font-family: "Montserrat", sans-serif !important;
  color: var(--pr-white) !important;
  font-weight: 800 !important;
  font-size: 2.8rem !important;
  margin: 0 0 20px !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em;
}
.pr-hero__content > p {
  font-size: 2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 600px;
}


/* =============================================
   BUTTONS
   ============================================= */
.pr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--pr-r);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s var(--pr-ease);
  border: 2px solid transparent;
}
.pr-btn--white {
  background: var(--pr-white);
  color: var(--pr-text);
  border-color: var(--pr-white);
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}
.pr-btn--white:hover {
  background: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.88);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.25);
  color: var(--pr-text);
  text-decoration: none;
}
.pr-btn--glass {
  background: rgba(255,255,255,0.06);
  color: var(--pr-white);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.pr-btn--glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: var(--pr-white);
  transform: translateY(-2px);
  text-decoration: none;
}
.pr-btn--primary {
  background: var(--pr-primary);
  color: var(--pr-white);
  border-color: var(--pr-primary);
  box-shadow: 0 4px 16px rgba(107,184,190,0.3);
}
.pr-btn--primary:hover {
  background: var(--pr-primary-dk);
  border-color: var(--pr-primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(107,184,190,0.4);
  color: var(--pr-white);
  text-decoration: none;
}
.pr-btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.22);
}
.pr-btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: var(--pr-white);
  transform: translateY(-2px);
  text-decoration: none;
}



/* =============================================
   SECTION
   ============================================= */
.pr-section {
  padding: 56px 0 100px;
  background: var(--pr-white);
}


/* =============================================
   TIMELINE
   ============================================= */
.pr-timeline {
  position: relative;
}

.pr-year {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 44px;
  padding-bottom: 48px;
  position: relative;
}
.pr-year:last-child { padding-bottom: 0; }
.pr-year.is-hidden { display: none; }

/* Vertical line */
.pr-year::before {
  content: '';
  position: absolute;
  top: 0;
  left: 99px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--pr-line), rgba(226,229,233,0.4));
}
.pr-year:last-child::before { bottom: 48px; }

/* Year label */
.pr-year__label {
  position: sticky;
  top: 200px;
  align-self: start;
  text-align: right;
  padding-right: 28px;
  z-index: 1;
}
.pr-year__label span {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: var(--pr-text);
  letter-spacing: -0.02em;
}

.pr-year__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 32px;
  position: relative;
}

/* Empty state when all items in a year are filtered out */
.pr-year__list:empty + .pr-year__label { display: none; }


/* =============================================
   PRESS ITEM — Row card
   ============================================= */
.pr-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--pr-white);
  border: 1.5px solid var(--pr-line);
  border-radius: var(--pr-r);
  text-decoration: none;
  transition: all 0.35s var(--pr-ease);
  position: relative;
}
.pr-item.is-hidden {
  display: none;
}
.pr-item:hover {
  border-color: var(--pr-primary);
  box-shadow: 0 6px 28px rgba(107,184,190,0.1);
  transform: translateX(4px);
  text-decoration: none;
}

/* Timeline dot */
.pr-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pr-off-2);
  border: 2px solid var(--pr-white);
  box-shadow: 0 0 0 2px var(--pr-line);
  transition: all 0.3s var(--pr-ease);
  z-index: 1;
}
.pr-item:hover::before {
  background: var(--pr-primary);
  box-shadow: 0 0 0 2px var(--pr-primary), 0 0 0 5px rgba(107,184,190,0.15);
}

.pr-item__body {
  flex: 1;
  min-width: 0;
}
.pr-item__body h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--pr-text);
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s;
}
.pr-item:hover .pr-item__body h3 { color: var(--pr-primary-dk); }

.pr-item__body > p {
  color: var(--pr-text-2);
  line-height: 1.55;
  margin: 6px 0 0;
}

.pr-item__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pr-text-3);
  font-weight: 500;
  margin-top: 6px;
}

.pr-item__arrow {
  color: var(--pr-line);
  transition: all 0.35s var(--pr-ease);
  flex-shrink: 0;
}
.pr-item:hover .pr-item__arrow {
  color: var(--pr-primary);
  transform: translateX(4px);
}


/* =============================================
   CATEGORY TAGS
   ============================================= */
.pr-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.pr-tag--award { background: rgba(245,158,11,0.1); color: #b45309; }
.pr-tag--analyst { background: rgba(107,184,190,0.12); color: #3d8a8f; }
.pr-tag--product { background: rgba(99,102,241,0.1); color: #4338ca; }
.pr-tag--industry { background: rgba(34,197,94,0.1); color: #15803d; }
.pr-tag--notice { background: rgba(239,68,68,0.08); color: #b91c1c; }
.pr-tag--article { background: rgba(168,85,247,0.1); color: #7c3aed; }


/* =============================================
   CTA
   ============================================= */
.pr-cta {
  background: linear-gradient(135deg, var(--pr-navy) 0%, var(--pr-navy-2) 50%, var(--pr-navy-3) 100%);
  padding: 76px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pr-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(107,184,190,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.pr-cta h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--pr-white);
  margin: 0 0 14px;
  position: relative;
}
.pr-cta > .container > p {
  color: rgba(255,255,255,0.55);
  max-width: 580px;
  margin: 0 auto 30px;
  line-height: 1.7;
  position: relative;
}
.pr-cta__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}


/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.pr-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pr-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .pr-hero { min-height: auto; }
  .pr-hero__inner { padding: 56px 0 52px; }
  .pr-hero__content h1 { font-size: 2.1rem !important; }
  .pr-hero__content > p { font-size: 1.5rem; }

  .pr-section { padding: 40px 0 72px; }

  /* Collapse timeline */
  .pr-year {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 24px;
  }
  .pr-year::before { left: 0; }
  .pr-year__label {
    position: static;
    text-align: left;
    padding: 0 0 14px 22px;
  }
  .pr-year__list { padding-left: 22px; }
  .pr-item::before { left: -29px; }

  .pr-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 18px;
  }
  .pr-item__arrow { display: none; }

  .pr-cta__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .pr-hero__content h1 { font-size: 1.75rem !important; }
  .pr-hero__content > p { font-size: 1.25rem; }
}


/* =============================================
   ACCESSIBILITY
   ============================================= */
.pr-btn:focus-visible,
.pr-item:focus-visible {
  outline: 2px solid var(--pr-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .pr-anim { opacity: 1; transform: none; transition: none; }
  .pr-item { transition: none; }
  .pr-item__arrow { transition: none; }
}