:root {
  --oulu-article-ink: #162833;
  --oulu-article-copy: #465863;
  --oulu-article-muted: #7d8d95;
  --oulu-article-line: #dce5e8;
  --oulu-article-surface: #f4f8f9;
  --oulu-article-accent: #159bb0;
}

.oulu-article {
  --oulu-article-shell-width: min(1480px, calc(100% - 96px));
  padding-bottom: clamp(72px, 8vw, 120px);
  background: #fff;
  color: var(--oulu-article-copy);
}

.oulu-article__shell {
  width: var(--oulu-article-shell-width);
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 1500px) {
  .oulu-article { --oulu-article-shell-width: calc(100% - 120px); }
}

@media (min-width: 1281px) and (max-width: 1600px) and (max-height: 950px) {
  .oulu-article { --oulu-article-shell-width: calc(100% - 48px); }
}

@media (min-width: 1181px) and (max-width: 1440px) {
  .oulu-article { --oulu-article-shell-width: min(calc(100% - 48px), 1320px); }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .oulu-article { --oulu-article-shell-width: calc(100% - 28px); }
}

.oulu-article__masthead {
  position: relative;
  overflow: hidden;
  min-height: clamp(250px, 26vw, 330px);
  background: #112a4a var(--oulu-article-hero) center / cover no-repeat;
  isolation: isolate;
}

.oulu-article__masthead::before,
.oulu-article__masthead::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
}

.oulu-article__masthead::before {
  background: linear-gradient(90deg, rgba(9, 29, 58, .94), rgba(10, 42, 68, .72));
}

.oulu-article__masthead::after {
  background-image: linear-gradient(rgba(255, 255, 255, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .11) 1px, transparent 1px);
  background-position: right 8% center;
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent 44%, #000 100%);
  opacity: .32;
}

.oulu-article__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.oulu-article__masthead-inner {
  display: flex;
  min-height: clamp(250px, 26vw, 330px);
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
}

.oulu-article__masthead-title {
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.oulu-article__breadcrumbs a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.oulu-article__breadcrumbs > span {
  min-width: 0;
}

.oulu-article__breadcrumbs > span[aria-hidden="true"] {
  margin: 0 10px;
  opacity: .62;
}

.oulu-article__breadcrumbs > span[aria-current="page"] {
  overflow: hidden;
  max-width: min(56vw, 560px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oulu-article__header {
  position: relative;
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  margin-top: clamp(26px, 3vw, 46px);
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(34px, 4vw, 50px);
  padding-right: clamp(28px, 4vw, 64px);
  padding-left: clamp(28px, 4vw, 64px);
  border: 1px solid #dce9ec;
  border-top: 4px solid var(--oulu-article-accent);
  border-radius: 18px;
  background: linear-gradient(120deg, #f0f8f9 0%, #fff 56%, #f7fbfc 100%);
  box-shadow: 0 18px 38px rgba(24, 69, 78, .08);
}

.oulu-article__header::after {
  position: absolute;
  z-index: -1;
  top: -38px;
  right: -20px;
  width: 280px;
  height: 230px;
  border: 1px solid rgba(21, 155, 176, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(21, 155, 176, .035), 0 0 0 56px rgba(21, 155, 176, .025);
  content: "";
}

.oulu-article__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.oulu-article__categories a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 11px;
  border: 1px solid rgba(21, 155, 176, .32);
  border-radius: 999px;
  background: rgba(21, 155, 176, .07);
  color: #137f91;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.oulu-article__categories a:hover,
.oulu-article__categories a:focus-visible {
  border-color: var(--oulu-article-accent);
  background: var(--oulu-article-accent);
  color: #fff;
}

.oulu-article__header h1 {
  margin: 0;
  color: var(--oulu-article-ink);
  font-family: inherit;
  font-size: clamp(28px, 2.2vw, 38px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.16;
}

.oulu-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  width: fit-content;
  max-width: 100%;
  margin-top: 26px;
  padding: 9px 14px;
  border: 1px solid #d7e5e8;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 5px 14px rgba(20, 63, 72, .05);
  color: var(--oulu-article-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.oulu-article__author,
.oulu-article__date {
  display: inline-flex;
  align-items: center;
}

.oulu-article__author::before {
  width: 17px;
  height: 17px;
  display: inline-block;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, currentColor 0 3px, transparent 3.5px), linear-gradient(currentColor, currentColor) 50% 125% / 10px 7px no-repeat;
  content: "";
}

.oulu-article__date::before {
  width: 16px;
  height: 14px;
  display: inline-block;
  margin: 0 8px -1px 0;
  border: 2px solid currentColor;
  border-radius: 2px;
  background: linear-gradient(currentColor, currentColor) 0 3px / 100% 2px no-repeat;
  content: "";
}

.oulu-article__content {
  padding-top: clamp(42px, 5vw, 66px);
}

.oulu-article__body {
  max-width: none;
}

.ar_article h2,
.ar_article h3,
.ar_article h4,
.ar_article h5 {
  margin-top: 1.5em;
  margin-bottom: .6em;
  color: var(--oulu-article-ink);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.45;
}

.ar_article h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--oulu-article-line);
  font-size: 32px;
}

.ar_article h3 {
  font-size: 27px;
}

.ar_article h4 {
  font-size: 22px;
}

.ar_article h5 {
  color: #354852;
  font-size: 18px;
}

.ar_article h2:first-child,
.ar_article h3:first-child,
.ar_article h4:first-child,
.ar_article h5:first-child {
  margin-top: 0;
}

.ar_article p,
.ar_article li {
  color: var(--oulu-article-copy);
  font-size: 16px;
  line-height: 1.7;
}

.ar_article p {
  margin: 0 0 1.1em;
}

.ar_article p:last-child {
  margin-bottom: 0;
}

.ar_article strong {
  color: var(--oulu-article-ink);
  font-weight: 700;
}

.ar_article a {
  color: #087f92;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ar_article ul,
.ar_article ol {
  margin: 0 0 1.45em;
  padding-left: 1.5em;
}

.ar_article li {
  margin-bottom: .4em;
  padding-left: .22em;
}

.ar_article li::marker {
  color: var(--oulu-article-accent);
  font-weight: 700;
}

.ar_article li > ul,
.ar_article li > ol {
  margin-top: .45em;
  margin-bottom: 0;
}

.ar_article .scroll {
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ar_article table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid var(--oulu-article-line);
  background: #fff;
  color: var(--oulu-article-copy);
  font-size: 15px;
}

.ar_article th,
.ar_article td {
  padding: 14px 20px;
  border: 1px solid var(--oulu-article-line);
  text-align: left;
  vertical-align: middle;
  line-height: 1.55;
}

.ar_article th {
  background: #f1f6f7;
  color: var(--oulu-article-ink);
  font-weight: 700;
  white-space: nowrap;
}

.ar_article th p,
.ar_article td p {
  margin-bottom: 0;
  font-size: inherit;
}

.ar_article tbody tr:nth-child(even) {
  background: #fafcfc;
}

.ar_article tbody tr:hover {
  background: #eef8f9;
}

.ar_article blockquote {
  position: relative;
  z-index: 0;
  margin: 34px 0;
  padding: 26px 32px 26px 38px;
  overflow: hidden;
  border-left: 4px solid var(--oulu-article-accent);
  border-radius: 0 10px 10px 0;
  background: var(--oulu-article-surface);
  box-shadow: 0 6px 18px rgba(20, 50, 60, .05);
  color: var(--oulu-article-copy);
  font-size: 18px;
  font-style: italic;
  line-height: 1.75;
}

.ar_article blockquote::before {
  position: absolute;
  z-index: -1;
  top: -12px;
  left: 10px;
  color: rgba(21, 155, 176, .11);
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 104px;
  font-style: normal;
  line-height: 1;
}

.ar_article blockquote p {
  position: relative;
  margin-bottom: 0;
  font-size: inherit;
}

.ar_article blockquote p:not(:last-child) {
  margin-bottom: 15px;
}

.ar_article img {
  max-width: 100%;
  height: auto;
  margin: 12px 0 24px;
}

.oulu-article__footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(42px, 6vw, 66px);
  padding-top: 30px;
  border-top: 1px solid var(--oulu-article-line);
}

.oulu-article__back-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid #138fa3;
  border-radius: 999px;
  background: linear-gradient(135deg, #159bb0, #138fa3);
  box-shadow: 0 9px 20px rgba(19, 143, 163, .24);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}

.oulu-article__back-link:hover,
.oulu-article__back-link:focus-visible {
  background: #117f92;
  box-shadow: 0 13px 26px rgba(19, 143, 163, .34);
  color: #fff !important;
  transform: translateY(-2px);
}

.oulu-article__related {
  margin-top: clamp(54px, 6vw, 82px);
  padding: clamp(44px, 5vw, 64px) 0;
  background: linear-gradient(135deg, #eef7f8, #f9fcfc 58%, #edf5f6);
}

.oulu-article__related-header {
  max-width: 660px;
  margin-bottom: clamp(24px, 3vw, 32px);
}

.oulu-article__related-header p {
  margin: 0 0 10px;
  color: #14899d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.oulu-article__related-header h2 {
  margin: 0;
  color: var(--oulu-article-ink);
  font-family: inherit;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.12;
}

.oulu-article__related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.oulu-article__related-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e7e9;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 64, 72, .06);
  transition: box-shadow 220ms ease-out, transform 220ms ease-out;
}

.oulu-article__related-card:hover {
  box-shadow: 0 16px 34px rgba(20, 64, 72, .13);
  transform: translateY(-4px);
}

.oulu-article__related-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e6eff1;
}

.oulu-article__related-image {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
  transition: transform 280ms ease-out;
}

.oulu-article__related-card:hover .oulu-article__related-image,
.oulu-article__related-media:focus-visible .oulu-article__related-image {
  transform: scale(1.045);
}

.oulu-article__related-content {
  padding: 17px 18px 19px;
}

.oulu-article__related-category {
  display: block;
  margin-bottom: 9px;
  color: #14899d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.oulu-article__related-content h3 {
  margin: 0;
  color: var(--oulu-article-ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.32;
}

.oulu-article__related-content h3 a {
  color: inherit;
  text-decoration: none;
}

.oulu-article__related-content h3 a:hover,
.oulu-article__related-content h3 a:focus-visible {
  color: #0d8498;
}

.oulu-article__related-content time {
  display: block;
  margin-top: 12px;
  color: var(--oulu-article-muted);
  font-size: 13px;
  font-weight: 600;
}

.oulu-article:has(.oulu-article__support) {
  padding-bottom: 0;
}

.oulu-article__support {
  margin-top: 0;
  padding: clamp(46px, 5vw, 72px) 0 clamp(64px, 7vw, 104px);
  background: #f4f8fb;
}

.oulu-article__support-intro {
  margin-bottom: clamp(22px, 2.4vw, 32px);
}

.oulu-article__support-intro p {
  margin: 0 0 10px;
  color: #13889d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.3;
}

.oulu-article__support-intro h2 {
  margin: 0;
  color: #2e317c;
  font-family: inherit;
  font-size: clamp(32px, 3.1vw, 48px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.14;
  white-space: nowrap;
}

.oulu-article__support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.oulu-article__support-card {
  position: relative;
  display: grid;
  min-height: 148px;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(20, 38, 74, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 38, 74, .08);
  color: inherit;
  text-decoration: none;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}

.oulu-article__support-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  border-radius: 18px 18px 0 0;
  background: #1496a9;
  content: "";
  opacity: 0;
  transform: scaleX(.84);
  transform-origin: center;
  transition: opacity .24s ease, transform .24s ease;
}

.oulu-article__support-card:first-child {
  border-color: rgba(20, 150, 169, .32);
  background: #f6fdff;
  box-shadow: 0 18px 42px rgba(20, 38, 74, .14), 0 0 0 8px rgba(20, 150, 169, .10);
  transform: translateY(-4px);
}

.oulu-article__support-card:first-child::before {
  opacity: 1;
  transform: scaleX(1);
}

.oulu-article__support-card:hover,
.oulu-article__support-card:focus-visible {
  border-color: rgba(20, 150, 169, .24);
  background: #eefbfd;
  box-shadow: 0 18px 42px rgba(20, 38, 74, .15), 0 0 0 7px rgba(20, 150, 169, .10);
  transform: translateY(-4px);
}

.oulu-article__support-card:hover::before,
.oulu-article__support-card:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.oulu-article__support-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 16px;
  background: rgba(20, 150, 169, .10);
  box-shadow: inset 0 0 0 1px rgba(20, 150, 169, .08);
  color: #13889d;
  transition: transform .24s ease, background-color .24s ease, box-shadow .24s ease, color .24s ease;
}

.oulu-article__support-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.oulu-article__support-card:first-child .oulu-article__support-icon,
.oulu-article__support-card:hover .oulu-article__support-icon,
.oulu-article__support-card:focus-visible .oulu-article__support-icon {
  background: #1496a9;
  box-shadow: 0 14px 30px rgba(20, 150, 169, .24);
  color: #fff;
}

.oulu-article__support-card:hover .oulu-article__support-icon,
.oulu-article__support-card:focus-visible .oulu-article__support-icon {
  transform: scale(1.06);
}

.oulu-article__support-copy {
  display: grid;
  gap: 10px;
}

.oulu-article__support-copy strong {
  color: #13889d;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.oulu-article__support-copy > span {
  color: #43536d;
  font-size: 15px;
  line-height: 1.65;
}

.oulu-article a:focus-visible {
  outline: 3px solid rgba(21, 155, 176, .42);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .oulu-article__shell {
    width: min(100% - 32px, 1440px);
  }

  .oulu-article__masthead,
  .oulu-article__masthead-inner {
    min-height: 122px;
  }

  .oulu-article__masthead-inner {
    padding-top: 64px;
  }

  .oulu-article__breadcrumbs {
    font-size: 12px;
  }

  .oulu-article__breadcrumbs > span[aria-current="page"] {
    max-width: 34vw;
  }

  .oulu-article__masthead-title {
    margin-top: 16px;
    font-size: clamp(34px, 10vw, 44px);
  }

  .oulu-article__header h1 {
    font-size: clamp(27px, 7.5vw, 35px);
    letter-spacing: -.02em;
  }

  .oulu-article__header {
    margin-top: 18px;
    padding: 32px 24px 30px;
    border-radius: 12px;
  }

  .oulu-article__header::after {
    width: 170px;
    height: 150px;
  }

  .oulu-article__meta {
    gap: 12px;
    margin-top: 20px;
    padding: 8px 11px;
    font-size: 14px;
  }

  .ar_article h2 {
    font-size: 26px;
  }

  .ar_article h3 {
    font-size: 23px;
  }

  .ar_article h4 {
    font-size: 20px;
  }

  .ar_article h5 {
    font-size: 17px;
  }

  .ar_article p,
  .ar_article li {
    font-size: 16px;
    line-height: 1.7;
  }

  .ar_article th,
  .ar_article td {
    padding: 10px 13px;
    font-size: 14px;
  }

  .ar_article blockquote {
    margin: 26px 0;
    padding: 22px 22px 22px 26px;
    font-size: 16px;
  }

  .oulu-article__related {
    margin-top: 48px;
    padding: 44px 0;
  }

  .oulu-article__related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .oulu-article__related-content {
    padding: 16px;
  }

  .oulu-article__support {
    margin-top: 0;
    padding: 42px 0 64px;
  }

  .oulu-article__support-intro h2 {
    white-space: normal;
  }

  .oulu-article__support-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .oulu-article__support-card {
    min-height: 0;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    border-radius: 14px;
  }

  .oulu-article__support-card:first-child {
    box-shadow: 0 14px 30px rgba(20, 38, 74, .12), 0 0 0 5px rgba(20, 150, 169, .10);
    transform: none;
  }

  .oulu-article__support-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .oulu-article__related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .oulu-article__back-link,
  .oulu-article__related-card,
  .oulu-article__related-image {
    transition: none;
  }
}
