.page-content {
  background: #ffffff;
}

.news-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 42px 28px 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.news-main {
  min-width: 0;
}

.news-sidebar {
  position: sticky;
  top: 112px;
}

/* breadcrumbs */

.news-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
  color: #8a94a6;
  font-size: 0.84rem;
}

.news-breadcrumbs a {
  color: #667085;
  text-decoration: none;
  font-weight: 500;
}

.news-breadcrumbs a:hover,
.news-breadcrumbs a:focus {
  color: #12203b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* hero */

.news-hero {
  max-width: 820px;
  margin-bottom: 30px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: #475467;
  font-size: 0.92rem;
  font-weight: 600;
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2f6;
  color: #344054;
}

.news-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.05rem, 2.8vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #0b1730;
}

.news-intro {
  margin: 20px 0 0;
  max-width: 760px;
  font-size: 1.04rem;
  line-height: 1.75;
  color: #344054;
}

/* image */

.news-image-wrap {
  max-width: 360px;
  margin: 0 0 26px;
}

.news-image {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e6ebf2;
}

/* content */

.news-content {
  max-width: 900px;
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 20px;
  padding: 34px 38px 38px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
}

.news-content > *:first-child {
  margin-top: 0 !important;
}

.news-content > *:last-child {
  margin-bottom: 0 !important;
}

.news-content p {
  margin: 0 0 16px;
  color: #344054;
  font-size: 1rem;
  line-height: 1.78;
}

.news-content h2 {
  margin: 42px 0 16px;
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 700;
  color: #12203b;
}

.news-content h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: #e5007d;
}

.news-content h3 {
  margin: 28px 0 12px;
  font-size: 1.18rem;
  line-height: 1.3;
  font-weight: 700;
  color: #12203b;
}

.news-content ul,
.news-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.news-content li {
  margin-bottom: 9px;
  color: #344054;
  line-height: 1.72;
}

.news-content a {
  color: #1f2a44;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 42, 68, 0.22);
}

.news-content a:hover,
.news-content a:focus {
  color: #e5007d;
  border-bottom-color: #e5007d;
}

.news-content blockquote {
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: #f8fafc;
  border-left: 4px solid #7fc7d0;
  color: #344054;
}

.news-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #e6ebf2;
}

/* sidebar */

.news-side-card {
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.news-side-card h2 {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f6;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #12203b;
}

.news-side-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.news-side-list div {
  display: grid;
  gap: 4px;
}

.news-side-list dt {
  color: #667085;
  font-size: 0.84rem;
  font-weight: 500;
}

.news-side-list dd {
  margin: 0;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 700;
}

.news-help-card p {
  margin: 0 0 18px;
  color: #475467;
  font-size: 0.94rem;
  line-height: 1.6;
}

.news-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #164449;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.news-help-button::after {
  content: "→";
}

.news-help-button:hover,
.news-help-button:focus {
  background: #0f3034;
  color: #ffffff;
}

.news-back-link {
  display: block;
  color: #344054;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.news-back-link:hover,
.news-back-link:focus {
  color: #e5007d;
}

/* accessibility */

.news-breadcrumbs a:focus,
.news-content a:focus,
.news-help-button:focus,
.news-back-link:focus {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

/* responsive */

@media (max-width: 1100px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .news-sidebar {
    position: static;
  }

  .news-content {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .news-layout {
    padding: 30px 20px 60px;
  }

  .news-content {
    padding: 24px 22px;
    border-radius: 18px;
  }

  .news-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 520px) {
  .news-layout {
    padding: 24px 16px 52px;
  }

  .news-meta span {
    width: 100%;
  }
}

/* ===== SHARED PAGE SIDEBAR ===== */

.page-sidebar {
  position: sticky;
  top: 112px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-side-card {
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.page-side-card h2 {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f6;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  color: #12203b;
}

.page-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-side-list li {
  border-top: 1px solid #eef2f6;
}

.page-side-list li:first-child {
  border-top: 0;
}

.page-side-list a {
  position: relative;
  display: block;
  padding: 13px 24px 13px 0;
  color: #344054;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 500;
}

.page-side-list a::after {
  content: "›";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #98a2b3;
  font-size: 1.25rem;
  line-height: 1;
}

.page-side-list a:hover,
.page-side-list a:focus {
  color: #e5007d;
}

/* meta */

.page-side-meta {
  display: grid;
  gap: 13px;
  margin: 0;
}

.page-side-meta div {
  display: grid;
  gap: 4px;
}

.page-side-meta dt {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 500;
}

.page-side-meta dd {
  margin: 0;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 600;
}

/* help */

.page-side-help p {
  margin: 0 0 16px;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-side-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f2a44 0%, #e5007d 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(229, 0, 125, 0.16);
}

.page-side-button::after {
  content: "→";
}

.page-side-button:hover,
.page-side-button:focus {
  background: linear-gradient(135deg, #14203a 0%, #c9006d 100%);
  color: #ffffff;
  transform: translateY(-1px);
}

/* focus */

.page-side-list a:focus,
.page-side-button:focus {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

/* mobile */

@media (max-width: 1100px) {
  .page-sidebar {
    position: static;
  }
}