/* News Details – Blog post layout (Figma) */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800&family=Inter:wght@400;600;800&display=swap');

/* Blog post header – full width, blurred bg, centered title + date */
.news-detail-header {
  position: relative;
  width: 100%;
  height: 684px;
  min-height: 384px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-detail-header-bg {
  position: absolute;
  left: 0;
  top: -138px;
  width: 100%;
  min-width: 1440px;
  height: 960px;
  min-height: 120%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(11.2px);
  z-index: 0;
}

.news-detail-header-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 120px;
  gap: 16px;
  max-width: 960px;
  text-align: center;
}

.news-detail-title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -0.02em;
  color: #000000;
}

@media (max-width: 768px) {
  .news-detail-title {
    font-size: 32px;
    line-height: 40px;
  }
}

.news-detail-date {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: #000000;
}

/* Blog post content – two columns */
.news-detail-content-wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 120px;
  gap: 120px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #FFFFFF;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .news-detail-content-wrap {
    padding: 40px 24px;
    gap: 48px;
    flex-direction: column;
  }
}

.news-detail-content {
  flex: 1;
  max-width: 980px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 64px;
}

/* Article body typography */
.news-detail-body h2,
.news-detail-body .news-detail-body h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0 0 16px 0;
}

.news-detail-body h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 24px 0 16px 0;
}

.news-detail-body h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 24px 0 16px 0;
}

.news-detail-body p,
.news-detail-body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #000000;
  margin: 0 0 16px 0;
}

.news-detail-body > *:last-child {
  margin-bottom: 0;
}

/* Sidebar – Share */
.news-detail-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 40px;
  width: 100px;
  flex: none;
}

.news-detail-share-title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #000000;
}

.news-detail-social-line {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.news-detail-social-line a,
.news-detail-social-line button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #000000;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.news-detail-social-line i,
.news-detail-social-line svg {
  color: #000000 !important;
}
.news-detail-social-line a:hover,
.news-detail-social-line button:hover {
  opacity: 0.7;
}

.news-detail-social-line i,
.news-detail-social-line svg {
  width: 24px;
  height: 24px;
  font-size: 20px;
}

/* Bottom text block */
.news-detail-bottom-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 120px 120px;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #FFFFFF;
}

.news-detail-bottom-text p {
  max-width: 1200px;
  width: 100%;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #000000;
  text-align: left;
}

/* You may also like */
.news-detail-also {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 120px;
  gap: 60px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #FFFFFF;
}

@media (max-width: 1200px) {
  .news-detail-also {
    padding: 40px 24px;
  }
}

.news-detail-also-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 10px;
  width: 100%;
  max-width: 1200px;
}

.news-detail-also-title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 56px;
  text-align: center;
  letter-spacing: -0.02em;
  color: #000000;
}

.news-detail-also-tagline {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  color: #000000;
}

.news-detail-also-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
}

/* Owl Carousel wrapper for "You may also like" */
.news-detail-also-carousel-wrap {
  width: 100%;
  max-width: 1200px;
  position: relative;
}

.news-detail-also-carousel-wrap .owl-carousel {
  padding: 0 0 50px;
}

.news-detail-also-carousel-wrap .owl-stage-outer {
  padding: 0 5px;
}

.news-detail-also-carousel-wrap .news-detail-card-item {
  padding: 0 5px;
}

.news-detail-also-carousel-wrap .news-detail-card {
  width: 100%;
  max-width: 378px;
  margin: 0 auto;
}

.news-detail-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 8px;
  width: 378px;
  max-width: 100%;
  flex: none;
}

.news-detail-card-image {
  width: 100%;
  height: 272px;
  background: #F1F1F1;
  border: 1px solid #B5B5B6;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.news-detail-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-card-title {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
  color: #000000;
  min-height: 64px;
}

.news-detail-card-title a {
  color: #000000;
  text-decoration: none;
}

.news-detail-card-title a:hover {
  color: #1A6E83;
}

.news-detail-card-date {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #000000;
}

/* Pagination */
.news-detail-pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 20px;
  height: 32px;
}

.news-detail-pagination button,
.news-detail-pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.news-detail-pagination .news-detail-page-num {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  color: #000000;
  min-width: 39px;
}
