.single-news-page {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 5% 12%,
      rgba(20, 184, 176, 0.1) 0 100px,
      transparent 101px
    ),
    radial-gradient(
      circle at 95% 78%,
      rgba(142, 228, 220, 0.14) 0 140px,
      transparent 141px
    ),
    var(--cream);
}

.single-news-page::before,
.single-news-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.single-news-page::before {
  width: 70px;
  height: 70px;
  top: 330px;
  left: 3%;
  background: rgba(20, 184, 176, 0.06);
}

.single-news-page::after {
  width: 48px;
  height: 48px;
  top: 520px;
  right: 6%;
  background: rgba(142, 228, 220, 0.13);
}

.news-breadcrumb {
  position: relative;
  z-index: 2;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.news-breadcrumb .container {
  color: var(--text-light);
  font-size: 14px;
}

.news-breadcrumb a {
  color: var(--turquoise-dark);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.news-breadcrumb a:hover {
  color: var(--primary-dark);
}

.news-breadcrumb span {
  margin: 0 7px;
  color: var(--muted);
}

.single-news-container {
  position: relative;
  z-index: 1;
  padding: 55px 0 80px;
}

.single-news-header {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: center;
}

.single-news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  padding: 8px 16px;
  color: var(--turquoise-dark);
  background: var(--turquoise-light);
  border: 1px solid rgba(20, 184, 176, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 5px 15px rgba(20, 184, 176, 0.08);
}

.single-news-header h1 {
  margin: 0 0 16px;
  color: var(--primary-dark);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.8px;
}

.single-news-date {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
}

.single-news-image {
  position: relative;
  width: 100%;
  max-width: 1050px;
  aspect-ratio: 3 / 2;
  margin: 0 auto 45px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 25%,
      rgba(255, 255, 255, 0.6) 0 35px,
      transparent 36px
    ),
    linear-gradient(135deg, var(--turquoise-light), var(--mint-soft));
  border: 5px solid var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hover);
}

.single-news-image::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: 5%;
  top: -55px;
  border-radius: 50%;
  background: rgba(142, 228, 220, 0.2);
  pointer-events: none;
  z-index: 1;
}

.single-news-image img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.single-news-content {
  max-width: 850px;
  margin: 0 auto;
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
  white-space: normal;
}

.single-news-content p {
  margin-bottom: 20px;
}

.single-news-content h2,
.single-news-content h3,
.single-news-content h4 {
  margin-top: 32px;
  margin-bottom: 13px;
  color: var(--primary-dark);
  font-weight: 800;
}

.single-news-content a {
  color: var(--turquoise-dark);
  font-weight: 700;
}

.single-news-content a:hover {
  color: var(--primary);
}

.single-news-document {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 850px;
  margin: 45px auto 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.single-news-document:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 176, 0.3);
  box-shadow: var(--shadow-hover);
}

.document-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  color: var(--turquoise-dark);
  background: var(--turquoise-light);
  border-radius: 16px;
  font-size: 25px;
}

.document-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.document-info strong {
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 800;
}

.document-info span {
  margin-top: 4px;
  color: var(--text-light);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 7px 17px rgba(20, 184, 176, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.document-button:hover {
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--turquoise-dark)
  );
  transform: translateY(-2px);
  box-shadow: 0 10px 23px rgba(20, 184, 176, 0.25);
}

.single-news-external {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 850px;
  margin: 30px auto 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--turquoise);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.single-news-external:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 176, 0.3);
  box-shadow: var(--shadow-hover);
}

.external-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  color: var(--turquoise-dark);
  background: var(--turquoise-light);
  border-radius: 16px;
  font-size: 22px;
  font-weight: 700;
}

.external-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.external-info strong {
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.external-info span {
  display: block;
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.external-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 42px;
  padding: 9px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 7px 17px rgba(20, 184, 176, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.external-button:hover {
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--turquoise-dark)
  );
  transform: translateY(-2px);
  box-shadow: 0 10px 23px rgba(20, 184, 176, 0.25);
}

.external-button span {
  font-size: 16px;
  line-height: 1;
}

.single-news-actions {
  max-width: 850px;
  margin: 45px auto 0;
}

.news-not-found {
  padding: 85px 0;
}

.news-not-found-box {
  position: relative;
  max-width: 600px;
  margin: auto;
  padding: 55px 30px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(20, 184, 176, 0.08) 0 50px,
      transparent 51px
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(142, 228, 220, 0.14) 0 70px,
      transparent 71px
    ),
    var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.news-not-found-icon {
  margin-bottom: 20px;
  color: var(--turquoise);
  font-size: 50px;
}

.news-not-found-box h1 {
  margin-bottom: 15px;
  color: var(--primary-dark);
  font-size: 30px;
  font-weight: 850;
}

.news-not-found-box p {
  margin-bottom: 25px;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .single-news-container {
    padding: 40px 15px 60px;
  }

  .news-breadcrumb {
    padding: 15px 0;
  }

  .single-news-header {
    margin-bottom: 30px;
  }

  .single-news-header h1 {
    font-size: 32px;
  }

  .single-news-content {
    font-size: 16px;
  }

  .single-news-image {
    margin-bottom: 35px;
    border-width: 3px;
    border-radius: 24px;
  }

  .single-news-document {
    flex-wrap: wrap;
    padding: 18px;
  }

  .document-info {
    flex-basis: calc(100% - 68px);
  }

  .document-button {
    width: 100%;
    text-align: center;
  }

  .single-news-actions {
    margin-top: 35px;
  }

  .single-news-external {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 18px;
  }

  .external-info {
    flex: 1;
    min-width: calc(100% - 70px);
  }

  .external-info span {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .external-button {
    width: 100%;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .single-news-container {
    padding: 35px 15px 50px;
  }

  .single-news-header h1 {
    font-size: 28px;
  }

  .single-news-category {
    font-size: 11px;
  }

  .single-news-image {
    border-width: 2px;
    border-radius: 20px;
  }

  .single-news-document {
    gap: 13px;
  }

  .document-icon,
  .external-icon {
    width: 42px;
    height: 42px;
    font-size: 21px;
    border-radius: 14px;
  }

  .document-info strong,
  .external-info strong {
    font-size: 14px;
  }

  .document-info span,
  .external-info span {
    font-size: 12px;
  }

  .document-button,
  .external-button {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 13px;
  }

  .news-not-found-box {
    padding: 45px 22px;
    border-radius: 28px;
  }
}
