* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

body {
  overflow-x: hidden;
}

.newsDetail {
  position: relative;
  width: 100%;
}

.headerBackground {
  position: absolute;
  top: 0;
  left: 0;
  height: 320px;
  width: 100%;
  background: #f5f5f5;
  z-index: 0;
}

.wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 60px 20px 100px;
}

.content {
  width: 100%;
  max-width: 1000px;
}

.title {
  font-size: 32px;
  margin-bottom: 30px;
  color: #111;
}

.imageWrapper {
  margin-bottom: 40px;
}

.imageWrapper img {
  width: 100%;
  max-width: 800px;
  display: block;
}

.text p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333;
}

/* RELATED */

.relatedTitle {
  text-align: center;
  margin-bottom: 20px;
}

.relatedWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 80px;
}

.card {
  width: 300px;
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.cardImage {
  height: 180px;
  overflow: hidden;
}

.cardImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cardImage:hover img {
  transform: rotateY(-12deg) scale(1.05);
}

.cardContent {
  padding: 16px;
}

.newsMeta {
  font-size: 11px;
  color: #666;
}

.cardTitle {
  font-size: 15px;
  margin: 8px 0;
  position: relative;
  display: inline-block;
}

.cardTitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #002a5c;
  transition: width 0.3s ease;
}

.cardTitle:hover::after {
  width: 100%;
}

.cardText {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}