/* Blog 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 – blurred bg, WHITE title + metadata */
.blog-detail-header {
  position: relative;
  width: 100%;
  height: 684px;
  min-height: 384px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-detail-header-bg {
  position: absolute;
  left: 0;
  top: calc(50% - 960px / 2);
  width: 100%;
  min-width: 1440px;
  height: 960px;
  min-height: 120%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(5.15px);
  z-index: 0;
}

.blog-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: 1200px;
  text-align: center;
}

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

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

/* Frame 339 – metadata row: Author, Date, Category (white) */
.blog-detail-meta-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  gap: 16px;
  max-width: 1029px;
}

.blog-detail-meta-item {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  color: #FFFFFF;
  margin: 0;
}

.blog-detail-meta-item a {
  color: #FFFFFF;
  text-decoration: none;
}

.blog-detail-meta-item a:hover {
  text-decoration: underline;
}

/* Content – two columns (same as news) */
.blog-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) {
  .blog-detail-content-wrap {
    padding: 40px 24px;
    gap: 48px;
    flex-direction: column;
  }
}

.blog-detail-content {
  flex: 1;
  max-width: 980px;
  min-width: 0;
}

.blog-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;
}

.blog-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;
}

.blog-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;
}

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

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

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

.blog-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;
}

.blog-detail-social-line {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.blog-detail-social-line i,
.blog-detail-social-line svg {
  color: #000000 !important;
}
.blog-detail-social-line a,
.blog-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;
}

.blog-detail-social-line a:hover,
.blog-detail-social-line button:hover {
  opacity: 0.7;
}

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

/* Bottom text */
.blog-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;
}

.blog-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 */
.blog-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) {
  .blog-detail-also {
    padding: 40px 24px;
  }
}

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

.blog-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;
}

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

.blog-detail-also-carousel-wrap {
  width: 100%;
  max-width: 1200px;
  position: relative;
}

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

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

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

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

.blog-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;
}

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

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

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

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

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

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

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

.blog-detail-pagination button,
.blog-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;
}

.blog-detail-pagination .blog-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;
}
