/* ============================================
   IN THE NEWS — Papyrus Software
   Final Production Version
   ============================================ */

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

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

/* Kill legacy cruft */
.contactus, .oh24btn, #go_up, .icon-chevron-up { display: none !important; }


/* =============================================
   HERO — Photo background with overlay
   ============================================= */
.nw-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nw-hero__bg {
  position: absolute;
  inset: 0;
}
.nw-hero__bg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.nw-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%
    );
}

.nw-hero__inner {
  position: relative;
  z-index: 1;
  padding: 76px 0 72px;
  width: 100%;
}

.nw-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  max-width: 680px;
}

.nw-hero__text h1 {
  font-family: "Montserrat", sans-serif !important;
  color: var(--nw-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;
}
.nw-hero__text > p {
    font-size: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0px;
}
.nw-hero__actions {
      display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* Floating publication logo cards in hero */
.nw-hero__logos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.nw-hero__logo-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--nw-r);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--nw-ease);
  min-height: 72px;
}
.nw-hero__logo-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(107,184,190,0.25);
  transform: translateY(-3px);
}
.nw-hero__logo-card img {
  max-height: 30px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.4s;
}
.nw-hero__logo-card:hover img { opacity: 0.9; }


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

.nw-btn--white {
     background: white;
    color: #5aa8ae;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.nw-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(--nw-text);
  text-decoration: none;
}
.nw-btn--glass {
      background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.nw-btn--glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: var(--nw-white);
  transform: translateY(-2px);
  text-decoration: none;
}
.nw-btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.22);
}
.nw-btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: var(--nw-white);
  transform: translateY(-2px);
  text-decoration: none;
}


/* =============================================
   SECTIONS
   ============================================= */
.nw-section {
  padding: 84px 0;
  background: var(--nw-white);
  position: relative;
}
.nw-section--alt { background: var(--nw-off); }

.nw-section-header {
  text-align: center;
  margin-bottom: 52px;
}
.nw-section-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--nw-text);
  margin: 0 0 12px;
}
.nw-section-header p {
  color: var(--nw-text-2);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}


/* =============================================
   SHARED: Glassmorphism date badge ON images
   ============================================= */
.nw-date-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10,15,26,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--nw-white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  padding: 6px 14px;
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
}

/* Language badge — top-right corner of image, subtle */
.nw-lang-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10,15,26,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
}


/* =============================================
   SHARED: Publication logo (large, visible)
   ============================================= */
.nw-pub-lg {
  margin-bottom: 8px;
}
.nw-pub-lg img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.nw-pub-name {
  display: block;
  color: var(--nw-text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}


/* =============================================
   SHARED: Action links (larger font)
   ============================================= */
.nw-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: auto;
  padding-top: 16px;
}
.nw-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nw-primary-dk);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--nw-ease);
}
.nw-links a:hover {
  color: var(--nw-primary);
  text-decoration: none;
}


/* =============================================
   EDITORIAL — Magazine-style "Latest Coverage"
   ============================================= */
.nw-editorial {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

/* ---- Lead article (left, tall) ---- */
.nw-ed__lead {
  background: var(--nw-white);
  border: 1.5px solid var(--nw-line);
  border-radius: var(--nw-r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--nw-ease);
}
.nw-ed__lead:hover {
  border-color: var(--nw-primary);
  box-shadow: 0 12px 44px rgba(107,184,190,0.12);
}

.nw-ed__lead-img {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.nw-ed__lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--nw-ease);
}
.nw-ed__lead:hover .nw-ed__lead-img img { transform: scale(1.04); }

.nw-ed__lead-body {
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nw-ed__lead-body h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--nw-text);
  margin: 0 0 12px;
  line-height: 1.35;
}
.nw-ed__lead-body > p {
  color: var(--nw-text-2);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* ---- Side stack (right, 2 cards) ---- */
.nw-ed__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nw-ed__side-card {
  background: var(--nw-white);
  border: 1.5px solid var(--nw-line);
  border-radius: var(--nw-r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  flex: 1;
  transition: all 0.4s var(--nw-ease);
}
.nw-ed__side-card:hover {
  border-color: var(--nw-primary);
  box-shadow: 0 10px 36px rgba(107,184,190,0.1);
}

.nw-ed__side-img {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  min-height: 180px;
}
.nw-ed__side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--nw-ease);
}
.nw-ed__side-card:hover .nw-ed__side-img img { transform: scale(1.04); }

.nw-ed__side-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
}
.nw-ed__side-body h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--nw-text);
  margin: 0 0 4px;
  line-height: 1.35;
}
.nw-ed__side-body .nw-links {
  padding-top: 10px;
}


/* =============================================
   CARD GRID — All Coverage
   ============================================= */
.nw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.nw-card {
  background: var(--nw-white);
  border: 1.5px solid var(--nw-line);
  border-radius: var(--nw-r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--nw-ease);
}
.nw-card:hover {
  border-color: var(--nw-primary);
  box-shadow: 0 10px 36px rgba(107,184,190,0.1);
  transform: translateY(-4px);
}

.nw-card__img {
  position: relative;
  display: block;
  height: 185px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.nw-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--nw-ease);
}
.nw-card:hover .nw-card__img img { transform: scale(1.05); }

.nw-card__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nw-card__body h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--nw-text);
  margin: 0 0 10px;
  line-height: 1.35;
}
.nw-card__body > p {
  color: var(--nw-text-2);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.nw-card__body .nw-links {
  border-top: 1px solid var(--nw-line-2);
}


/* =============================================
   PUBLICATION LOGO STRIP — Bigger logos
   ============================================= */
.nw-logos {
  text-align: center;
  padding: 8px 0;
}
.nw-logos__label {
  color: var(--nw-text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  margin: 0 0 36px;
}
.nw-logos__strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
}
.nw-logos__strip img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.35;
  transition: all 0.4s var(--nw-ease);
}
.nw-logos__strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
}


/* =============================================
   CTA
   ============================================= */
.nw-cta {
  background: linear-gradient(135deg, var(--nw-navy) 0%, var(--nw-navy-2) 50%, var(--nw-navy-3) 100%);
  padding: 76px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nw-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;
}
.nw-cta h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--nw-white);
  margin: 0 0 14px;
  position: relative;
}
.nw-cta > .container > p {
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto 30px;
  line-height: 1.7;
  position: relative;
}
.nw-cta__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}


/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.nw-anim {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.nw-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nw-anim--d1 { transition-delay: 0.12s; }
.nw-anim--d2 { transition-delay: 0.24s; }


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

/* Tablet landscape */
@media (max-width: 1100px) {
  .nw-editorial { grid-template-columns: 1fr; }
  .nw-ed__side { flex-direction: row; }
  .nw-ed__side-card { min-height: 200px; }
  .nw-ed__lead-img { height: 280px; }
}

@media (max-width: 1024px) {
  .nw-hero__logos { grid-template-columns: repeat(3, 1fr); }
  .nw-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .nw-hero { min-height: auto; }
  .nw-hero__inner { padding: 56px 0 52px; }
  .nw-hero__text h1 { font-size: 2.1rem !important; }
  .nw-hero__logos { gap: 10px; }
  .nw-hero__logo-card { padding: 16px 14px; min-height: 58px; }
  .nw-hero__logo-card img { max-height: 24px; }
  .nw-hero__actions { flex-direction: column; }
  .nw-hero__actions .nw-btn { justify-content: center; }

  .nw-section { padding: 60px 0; }
  .nw-section-header { margin-bottom: 36px; }

  /* Latest Coverage — side cards stack vertically, keep image-left layout */
  .nw-ed__side { flex-direction: column; }
  .nw-ed__side-card { grid-template-columns: 0.42fr 0.58fr; min-height: auto; }
  .nw-ed__side-img { min-height: 160px; }

  .nw-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

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

  .nw-logos__strip { gap: 28px; }
  .nw-logos__strip img { height: 40px; max-width: 120px; }

  .nw-pub-lg img { height: 38px; }
}

/* Phone */
@media (max-width: 480px) {
  .nw-hero__text h1 { font-size: 1.75rem !important; }
  .nw-hero__logos { grid-template-columns: repeat(2, 1fr); }

  /* Latest Coverage — everything stacks vertically */
  .nw-ed__lead-img { height: 220px; }
  .nw-ed__lead-body { padding: 22px 20px 24px; }

  .nw-ed__side-card { grid-template-columns: 1fr; }
  .nw-ed__side-img { min-height: 170px; }
  .nw-ed__side-body { padding: 20px 20px 22px; }

  .nw-card__body { padding: 20px 20px 22px; }

  .nw-logos__strip { gap: 20px; }
  .nw-logos__strip img { height: 32px; max-width: 100px; }

  .nw-pub-lg img { height: 34px; }
}


/* =============================================
   ACCESSIBILITY
   ============================================= */
.nw-btn:focus-visible,
.nw-links a:focus-visible,
.nw-ed__lead-img:focus-visible,
.nw-ed__side-img:focus-visible,
.nw-card__img:focus-visible {
  outline: 2px solid var(--nw-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .nw-anim { opacity: 1; transform: none; transition: none; }
  .nw-hero__logo-card,
  .nw-ed__lead,
  .nw-ed__side-card,
  .nw-card { transition: none; }
  .nw-ed__lead-img img,
  .nw-ed__side-img img,
  .nw-card__img img { transition: none; }
}