/**
 * Haber Detail B — MicDrop Blog Single Clone
 * White bg, large Syne title, Montserrat body, centered content
 */

/* =============================================
   THEME INTEGRATION
   ============================================= */
body.single-post {
  background: #fff !important;
}
body.single-post .ce-header,
body.single-post .ce-footer,
body.single-post > .wp-site-blocks > header,
body.single-post > .wp-site-blocks > footer {
  display: none !important;
}
body.single-post .wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}
body.single-post .wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}

/* =============================================
   WPAUTOP FIX
   ============================================= */
.ce-haber-detail-b > p,
.ce-haber-detail-b > br,
.ce-haber-detail-b__article > p:empty,
.ce-haber-detail-b__meta > br,
.ce-haber-detail-b__meta br,
.ce-haber-detail-b__meta > p {
  display: none !important;
  margin: 0 !important;
}

/* =============================================
   PAGE WRAPPER
   ============================================= */
.ce-haber-detail-b {
  position: relative;
  width: 100%;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  color: #000;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =============================================
   HEADER — Theme B on white
   ============================================= */
.ce-haber-detail-b .ce-hb-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}
.ce-haber-detail-b .ce-hb-header .ce-hb-logo img {
  filter: invert(1);
}
.ce-haber-detail-b .ce-hb-hamburger span {
  background-color: #000;
}
.ce-haber-detail-b .ce-hb-socials a svg {
  fill: #000;
}

/* =============================================
   FEATURED IMAGE — Full-width hero
   ============================================= */
.ce-haber-detail-b__hero {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  line-height: 0;
}
.ce-haber-detail-b__hero img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
}

/* =============================================
   ARTICLE — Centered content column
   ============================================= */
.ce-haber-detail-b__article {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

/* Category label — [HABERLER] */
.ce-haber-detail-b__cat {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  color: #d48063;
  display: block;
  margin-bottom: 8px;
}

/* Title — Large Syne uppercase */
.ce-haber-detail-b__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 800;
  text-transform: uppercase;
  color: #000;
  line-height: 1.03;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}

/* Meta — date */
.ce-haber-detail-b__meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}
.ce-haber-detail-b__meta time {
  color: rgba(0, 0, 0, 0.5);
  line-height: 1;
}

/* =============================================
   CONTENT — Body text, headings, images
   ============================================= */
.ce-haber-detail-b__content {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #000;
}

.ce-haber-detail-b__content p {
  margin: 0 0 24px;
}

.ce-haber-detail-b__content h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  color: #000;
  line-height: 1.1;
  margin: 48px 0 20px;
}

.ce-haber-detail-b__content h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  line-height: 1.15;
  margin: 36px 0 16px;
}

.ce-haber-detail-b__content img {
  width: 100%;
  height: auto;
  display: block;
  margin: 32px 0;
}

.ce-haber-detail-b__content a {
  color: #d48063;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}
.ce-haber-detail-b__content a:hover {
  color: #c8876e;
}

.ce-haber-detail-b__content blockquote {
  border-left: 3px solid #d48063;
  margin: 32px 0;
  padding: 16px 24px;
  font-style: italic;
  color: rgba(0, 0, 0, 0.6);
}

.ce-haber-detail-b__content ul,
.ce-haber-detail-b__content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.ce-haber-detail-b__content li {
  margin-bottom: 8px;
}

/* =============================================
   PREV / NEXT NAVIGATION
   ============================================= */
.ce-haber-detail-b__nav {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.ce-haber-detail-b__nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.ce-haber-detail-b__nav-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 40%;
  transition: opacity 0.3s ease;
}
.ce-haber-detail-b__nav-link:hover {
  opacity: 0.6;
}
.ce-haber-detail-b__nav-prev {
  align-items: flex-start;
}
.ce-haber-detail-b__nav-next {
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
}
.ce-haber-detail-b__nav-dir {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}
.ce-haber-detail-b__nav-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  line-height: 1.2;
}
.ce-haber-detail-b__nav-all {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d48063;
  text-decoration: none;
  align-self: center;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.ce-haber-detail-b__nav-all:hover {
  color: #c8876e;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .ce-haber-detail-b__article {
    padding: 50px 40px 60px;
  }
}

@media (max-width: 768px) {
  .ce-haber-detail-b__hero img {
    height: 50vh;
  }
  .ce-haber-detail-b__article {
    padding: 40px 24px 60px;
  }
  .ce-haber-detail-b__title {
    font-size: clamp(28px, 8vw, 48px);
  }
  .ce-haber-detail-b__nav {
    padding: 40px 24px;
  }
  .ce-haber-detail-b__nav-inner {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .ce-haber-detail-b__nav-link {
    max-width: 100%;
    align-items: center !important;
    text-align: center !important;
  }
}
