/* =========================================================================
   Ajankohtaista — listing page + article pages
   ========================================================================= */

.aj-page { background: #fff; }

/* ---------- Page hero (listing) ---------- */
.aj-hero {
  position: relative;
  background: var(--gradient-aurora);
  background-size: 200% 200%;
  color: #fff;
  padding: 140px 56px 90px;
  overflow: hidden;
}
.aj-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 80% 20%, rgba(117,250,199,0.18), transparent 60%);
}
.aj-hero__inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.aj-hero__eye {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--softera-mint);
  margin-bottom: 22px;
}
.aj-hero__eye::before { content: ""; width: 24px; height: 1px; background: var(--softera-cyan); }
.aj-hero__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 72px; letter-spacing: -0.025em; line-height: 1.02;
  color: #fff; margin: 0 0 22px; max-width: 14ch;
}
.aj-hero__sub {
  font-size: 19px; line-height: 1.55;
  color: rgba(255,255,255,0.84);
  max-width: 60ch; margin: 0;
}

/* ---------- Filter bar ---------- */
.aj-filterbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 56px;
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
}
.aj-filterbar__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: 28px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.aj-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.aj-filter {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: all 220ms var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
}
.aj-filter:hover { border-color: var(--softera-blue); color: var(--softera-blue); }
.aj-filter.is-active {
  background: var(--softera-deep);
  color: #fff;
  border-color: var(--softera-deep);
}
.aj-filter__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  background: var(--bg-soft);
  padding: 1px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.aj-filter.is-active .aj-filter__count {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}
.aj-filterbar__hint {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Listing ---------- */
.aj-listing { padding: 64px 56px 120px; background: #fff; }
.aj-listing__inner { max-width: 1280px; margin: 0 auto; }

/* Featured (newest) — wide horizontal card */
.aj-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 56px;
  transition: box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.aj-featured:hover {
  box-shadow: var(--shadow-3);
  border-color: var(--softera-cyan);
}
.aj-featured__art {
  position: relative;
  min-height: 360px;
  background: linear-gradient(135deg, #003B66 0%, #0061A1 35%, #0096C6 70%, #00CAD0 100%);
  overflow: hidden;
}
.aj-featured__art--mint  { background: linear-gradient(135deg, #003B66 0%, #0061A1 30%, #0096C6 60%, #75FAC7 110%); }
.aj-featured__art--cyan  { background: linear-gradient(135deg, #003B66 0%, #0061A1 35%, #0096C6 70%, #00CAD0 100%); }
.aj-featured__art--sky   { background: linear-gradient(135deg, #003B66 0%, #0061A1 50%, #0096C6 100%); }
.aj-featured__art--deep  { background: linear-gradient(135deg, #001F36 0%, #003B66 60%, #0061A1 110%); }
.aj-featured__art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 70% 30%, rgba(255,255,255,0.10), transparent 60%);
}
.aj-featured__art-ico {
  position: absolute; left: 36px; top: 36px;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  color: #fff;
  z-index: 1;
}
.aj-featured__art-ico i { width: 28px; height: 28px; }
.aj-featured__art-badge {
  position: absolute; right: 28px; top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  background: rgba(0,0,0,0.18);
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
}
.aj-featured__art-badge::before {
  content: ""; width: 6px; height: 6px;
  background: var(--softera-mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(117,250,199,0.20);
}
.aj-featured__body {
  padding: 56px;
  display: flex; flex-direction: column; gap: 18px;
  background: #fff;
}
.aj-featured__meta {
  display: flex; gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  align-items: center;
}
.aj-featured__meta span:first-child {
  color: var(--softera-blue);
}
.aj-featured__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px; letter-spacing: -0.02em; line-height: 1.12;
  color: var(--ink); margin: 0;
  text-wrap: balance;
}
.aj-featured__lede {
  font-size: 17px; line-height: 1.6;
  color: var(--ink-2); margin: 0;
  max-width: 50ch;
}
.aj-featured__cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--softera-blue); font-weight: 500; font-size: 15px;
  margin-top: 8px;
}
.aj-featured__cta i { width: 16px; height: 16px; transition: transform 220ms var(--ease-out); }
.aj-featured:hover .aj-featured__cta i { transform: translateX(4px); }

/* Grid of remaining articles */
.aj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.aj-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.aj-card:hover {
  box-shadow: var(--shadow-3);
  border-color: var(--softera-cyan);
}
.aj-card__art {
  height: 170px;
  position: relative;
  background: linear-gradient(135deg, #003B66 0%, #0061A1 60%, #0096C6 110%);
  overflow: hidden;
}
.aj-card__art--mint { background: linear-gradient(135deg, #003B66 0%, #0096C6 60%, #75FAC7 130%); }
.aj-card__art--cyan { background: linear-gradient(135deg, #003B66 0%, #0061A1 50%, #00CAD0 110%); }
.aj-card__art--sky  { background: linear-gradient(135deg, #003B66 0%, #0061A1 70%, #0096C6 120%); }
.aj-card__art--deep { background: linear-gradient(135deg, #001F36 0%, #003B66 65%, #0061A1 120%); }
.aj-card__art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 80% 30%, rgba(255,255,255,0.08), transparent 60%);
}
.aj-card__ico {
  position: absolute; left: 24px; top: 24px;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  color: #fff;
  z-index: 1;
}
.aj-card__ico i { width: 22px; height: 22px; }
.aj-card__kind {
  position: absolute; right: 18px; top: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  background: rgba(0,0,0,0.20);
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  z-index: 1;
}
.aj-card__body {
  padding: 26px 28px 28px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.aj-card__date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--softera-blue);
}
.aj-card__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px; letter-spacing: -0.012em; line-height: 1.25;
  color: var(--ink); margin: 0;
  text-wrap: balance;
}
.aj-card__lede {
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-2); margin: 0;
  flex: 1;
}
.aj-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--softera-blue); font-weight: 500; font-size: 14px;
  margin-top: 4px;
}
.aj-card__cta i { width: 15px; height: 15px; transition: transform 220ms var(--ease-out); }
.aj-card:hover .aj-card__cta i { transform: translateX(4px); }

/* Empty state */
.aj-empty {
  padding: 80px 24px;
  text-align: center;
  color: var(--ink-3);
  border: 1px dashed var(--line);
  border-radius: 16px;
  font-size: 15px;
}

/* ---------- Newsletter / follow CTA ---------- */
.aj-follow {
  background: var(--softera-deep);
  color: #fff;
  padding: 100px 56px;
  position: relative;
  overflow: hidden;
}
.aj-follow::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 80% 20%, rgba(0,202,208,0.14), transparent 60%),
    radial-gradient(45% 60% at 15% 90%, rgba(117,250,199,0.10), transparent 60%);
  pointer-events: none;
}
.aj-follow__inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center;
}
.aj-follow__eye {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--softera-mint);
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.aj-follow__eye::before { content: ""; width: 24px; height: 1px; background: var(--softera-cyan); }
.aj-follow__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 38px; letter-spacing: -0.02em; line-height: 1.12;
  color: #fff; margin: 0 0 16px;
  text-wrap: balance;
  max-width: 22ch;
}
.aj-follow__p {
  font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 48ch;
}
.aj-follow__side {
  display: flex; flex-direction: column; gap: 14px;
}
.aj-follow__row {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex; gap: 16px; align-items: center;
  color: #fff;
  text-decoration: none;
  transition: background 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.aj-follow__row:hover { background: rgba(255,255,255,0.10); border-color: rgba(117,250,199,0.40); }
.aj-follow__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--softera-mint);
  color: var(--softera-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.aj-follow__icon i { width: 22px; height: 22px; }
.aj-follow__row-h {
  font-family: var(--font-display); font-weight: 500;
  font-size: 16px; color: #fff; letter-spacing: -0.005em;
}
.aj-follow__row-d {
  font-size: 13.5px; color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* =========================================================================
   ARTICLE PAGE
   ========================================================================= */

/* Article hero */
.aja-hero {
  position: relative;
  background: var(--gradient-aurora);
  background-size: 200% 200%;
  color: #fff;
  padding: 130px 56px 80px;
  overflow: hidden;
}
.aja-hero--mint  { background: linear-gradient(135deg, #003B66 0%, #0061A1 30%, #0096C6 60%, #75FAC7 110%); }
.aja-hero--cyan  { background: linear-gradient(135deg, #003B66 0%, #0061A1 35%, #0096C6 70%, #00CAD0 100%); }
.aja-hero--sky   { background: linear-gradient(135deg, #003B66 0%, #0061A1 50%, #0096C6 100%); }
.aja-hero--deep  { background: linear-gradient(135deg, #001F36 0%, #003B66 60%, #0061A1 110%); }
.aja-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 85% 20%, rgba(117,250,199,0.16), transparent 60%);
}
.aja-hero__inner { max-width: 920px; margin: 0 auto; position: relative; z-index: 1; }
.aja-hero__crumbs {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.62);
  margin-bottom: 22px;
}
.aja-hero__crumbs a { color: rgba(255,255,255,0.62); text-decoration: none; border: 0; }
.aja-hero__crumbs a:hover { color: #fff; }
.aja-hero__crumbs i { width: 14px; height: 14px; }
.aja-hero__meta {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase;
}
.aja-hero__kind {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: var(--softera-mint);
  font-weight: 500;
}
.aja-hero__kind::before {
  content: ""; width: 6px; height: 6px;
  background: var(--softera-mint);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(117,250,199,0.30);
}
.aja-hero__date { color: rgba(255,255,255,0.7); }
.aja-hero__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 52px; letter-spacing: -0.02em; line-height: 1.06;
  color: #fff; margin: 0 0 28px;
  text-wrap: balance;
}
.aja-hero__by {
  display: flex; align-items: center; gap: 14px;
  margin-top: 12px;
}
.aja-hero__by-av {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--softera-mint);
  color: var(--softera-deep);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 17px;
}
.aja-hero__by-name {
  font-family: var(--font-display);
  font-weight: 500; font-size: 16px; color: #fff;
}
.aja-hero__by-role {
  font-size: 13.5px; color: rgba(255,255,255,0.72);
  margin-top: 2px;
}

/* Article body */
.aja-body { padding: 70px 56px 100px; background: #fff; }
.aja-body__inner {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 22px;
}
.aja-body p {
  font-family: var(--font-body);
  font-size: 18px; line-height: 1.7;
  color: var(--ink); margin: 0;
}
.aja-body p strong { color: var(--softera-deep); font-weight: 600; }
.aja-body__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 23px; line-height: 1.5;
  color: var(--ink); letter-spacing: -0.005em;
  margin: 0 0 10px;
}
.aja-body__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px; letter-spacing: -0.015em; line-height: 1.25;
  color: var(--ink); margin: 24px 0 -4px;
}
.aja-body__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.aja-body__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px; align-items: start;
  font-size: 17px; line-height: 1.55;
  color: var(--ink);
}
.aja-body__list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--softera-cyan);
  border-radius: 50%;
  margin-top: 11px;
}
.aja-body__pull {
  margin: 16px 0;
  padding: 28px 0 28px 32px;
  border-left: 3px solid var(--softera-cyan);
  position: relative;
}
.aja-body__pull p {
  font-family: var(--font-display); font-weight: 400;
  font-size: 24px; line-height: 1.35; letter-spacing: -0.01em;
  color: var(--softera-deep);
  margin: 0;
}
.aja-body__pull-attr {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.aja-body__pull-attr::before { content: "— "; }

/* Contacts box */
.aja-contacts {
  margin-top: 16px;
  padding: 28px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.aja-contacts__h {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.aja-contacts__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
.aja-contacts__item { display: flex; flex-direction: column; gap: 4px; }
.aja-contacts__name {
  font-family: var(--font-display);
  font-weight: 500; font-size: 16px;
  color: var(--ink);
}
.aja-contacts__role {
  font-size: 13.5px; color: var(--ink-3);
}
.aja-contacts__line {
  font-size: 14px;
  color: var(--ink-2);
  font-family: var(--font-mono);
}
.aja-contacts__line a {
  color: var(--softera-blue);
  text-decoration: none;
}
.aja-contacts__line a:hover { text-decoration: underline; }

/* Language toggle (for bilingual press releases) */
.aja-langswitch {
  margin: 36px 0 12px;
  display: flex; gap: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.aja-langswitch__btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: all 220ms var(--ease-out);
}
.aja-langswitch__btn:hover { border-color: var(--softera-blue); color: var(--softera-blue); }
.aja-langswitch__btn.is-active {
  background: var(--softera-deep); color: #fff; border-color: var(--softera-deep);
}
.aja-langswitch__lbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  align-self: center;
  margin-right: 6px;
}

/* English subhead inside body */
.aja-body__en-head {
  margin-top: 16px;
  padding-top: 24px;
}
.aja-body__en-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 6px;
  text-wrap: balance;
}
.aja-body__en-head .by {
  font-size: 14px; color: var(--ink-3);
  font-family: var(--font-mono); letter-spacing: 0.02em;
}

/* ---------- Related articles ---------- */
.aja-related { background: var(--bg-soft); padding: 80px 56px 110px; }
.aja-related__inner { max-width: 1200px; margin: 0 auto; }
.aja-related__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px; gap: 24px;
}
.aja-related__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.015em;
  color: var(--ink); margin: 0;
}
.aja-related__back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--softera-blue); font-weight: 500; font-size: 15px;
  text-decoration: none; border: 0;
}
.aja-related__back i { width: 16px; height: 16px; }
.aja-related__back:hover i { transform: translateX(-4px); transition: transform 220ms var(--ease-out); }
.aja-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .aj-hero { padding: 130px 24px 70px; }
  .aj-hero__h { font-size: 44px; }
  .aj-filterbar { padding: 16px 24px; }
  .aj-listing { padding: 40px 24px 80px; }
  .aj-featured { grid-template-columns: 1fr; }
  .aj-featured__art { min-height: 220px; }
  .aj-featured__body { padding: 32px; }
  .aj-featured__h { font-size: 26px; }
  .aj-grid { grid-template-columns: 1fr; }
  .aj-follow { padding: 70px 24px; }
  .aj-follow__inner { grid-template-columns: 1fr; gap: 36px; }
  .aj-follow__h { font-size: 28px; }

  .aja-hero { padding: 120px 24px 60px; }
  .aja-hero__h { font-size: 32px; }
  .aja-body { padding: 50px 24px 70px; }
  .aja-body__lead { font-size: 19px; }
  .aja-body__h { font-size: 22px; }
  .aja-body__pull p { font-size: 20px; }
  .aja-contacts__list { grid-template-columns: 1fr; }
  .aja-related { padding: 60px 24px 80px; }
  .aja-related__grid { grid-template-columns: 1fr; }
}
