/* =========================================================
   BETOPICK BLOG — details.css  (article / post page)
   Inherits all CSS vars from header.css
   ========================================================= */
@import url('/blog/css/header.css');

/* ── Page layout ────────────────────────────────────────── */
.overall-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.con-inner {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1200px) {
  .con-inner { grid-template-columns: 200px 1fr; }
  .rightsided { display: none; }
}
@media (max-width: 820px) {
  .con-inner { grid-template-columns: 1fr; }
  .leftside { display: none; }
}
@media (max-width: 540px) {
  .overall-container { padding: 16px 14px 56px; }
}

/* ── LEFT SIDEBAR (reuse from style.css) ────────────────── */
.leftside {
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + var(--nav-h) + 16px);
}
.leftside-fixed { display: flex; flex-direction: column; gap: 8px; }
.leftside-ul { display: flex; flex-direction: column; gap: 2px; }
.leftside-li a {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--clr-muted);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.leftside-li a:hover {
  color: var(--clr-text);
  background: var(--clr-surface);
  border-color: var(--clr-accent);
}
.icon-svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── ARTICLE WRAPPER ────────────────────────────────────── */
.centerside { min-width: 0; }

/* ── HERO IMAGE ─────────────────────────────────────────── */
.dtls-div-con {
  /*background: var(--clr-surface);*/
  /*border-radius: var(--radius-lg);*/
  /*overflow: hidden;*/
  /*border: 1px solid var(--clr-border);*/
  margin-bottom: 28px;
}

.dtls_img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Gradient overlay on hero */
.dtl-sos-ovaley {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.75) 100%);
}

/* ── SHARE BAR (inside hero) ────────────────────────────── */
.dtls-sos-con {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.dtls-sos-sec {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dtls-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-right: 4px;
}
.dtls-svg {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.dtls-svg:hover {
  background: var(--clr-accent);
  transform: translateY(-2px);
}
.dtls-svg:hover .svg_img, .dtls-svg:hover .svg_imgw { fill: #000; }
.svg_img, .svg_imgw {
  width: 16px; height: 16px;
  fill: rgba(255,255,255,.85);
  transition: fill var(--transition);
}

/* ── ARTICLE META BAR ───────────────────────────────────── */
.dtls-cat-head {
  padding: 20px 0 0;
}
.categ-holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.categ-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-img {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--clr-border);
  flex-shrink: 0;
}
.author-img img { width: 100%; height: 100%; object-fit: cover; }
.auth-name-con { display: flex; flex-direction: column; gap: 1px; }
.auth-nm {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-muted);
  letter-spacing: .04em;
  font-style: normal;
}
.cat-h3 {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--clr-accent3);
  color: #000;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
}
.cat-h3-span { display: none; } /* timeago fallback hidden */

/* ── ARTICLE TITLE ──────────────────────────────────────── */
.headline-dtls-h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--clr-text);
  letter-spacing: -.01em;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--clr-border);
}

/* ── ARTICLE BODY CONTENT ───────────────────────────────── */
.paragraph {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  /*color: #c8ccd8;*/
  padding: 0 0;
}
/*.paragraph p  { margin-bottom: 1.2em; }*/
.paragraph h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--clr-text);
  margin: 0.6em 0 .6em;
}
.paragraph h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--clr-text);
  margin: 1.4em 0 .5em;
}
.paragraph a { color: var(--clr-accent3); text-decoration: underline !important; }
.paragraph a:hover { color: var(--clr-text); }
.paragraph ul, .paragraph ol {
  padding-left: 24px !important;
  margin-bottom: 1em;
}
.paragraph ul li, .paragraph ol li { margin-bottom: .4em; }
.paragraph strong { color: var(--clr-text); font-weight: 700; }
.paragraph blockquote {
  border-left: 3px solid var(--clr-accent);
  margin: 1.4em 0;
  padding: 12px 20px;
  background: var(--clr-surface2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--clr-muted);
}

/* In-article images */
.paragraph-con {
  padding: 0 24px 8px;
}
.dtls__paragraph {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}
.dtls__paragraph img {
  width: 100%;
  display: block;
  height: auto;
  transition: transform .4s ease;
}
.dtls__paragraph:hover img { transform: scale(1.015); }

/* ── ENGAGEMENT BAR ─────────────────────────────────────── */
.engagemnt-con {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--clr-border);
}
.engagemnt-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
#like {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: 40px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clr-muted);
  transition: all var(--transition);
  user-select: none;
}
#like:hover { border-color: #f95235; color: #f95235; background: rgba(249,82,53,.08); }
.icon-engagement {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke var(--transition), fill var(--transition);
}
.lkcounts label { cursor: pointer; }

/* ── AD SLOT ────────────────────────────────────────────── */
#ad-slot-1, #ad-slot-2 {
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0;
}

/* ── RIGHT SIDEBAR ──────────────────────────────────────── */
.rightsided {
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + var(--nav-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.right_inner { display: flex; flex-direction: column; gap: 20px; }

/* Trending widget */
.hed-h {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--clr-border);
}
.hed-h h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--clr-text);
  display: flex; align-items: center; gap: 8px;
}
.hed-h h3::before {
  content:'';
  display: inline-block;
  width: 4px; height: 16px;
  background: var(--clr-accent2);
  border-radius: 2px;
}

/* Trending item */
.rightsided-con {
  border-bottom: 1px solid var(--clr-border);
}
.rightsided-con:last-child { border-bottom: none; }
.rightsided-inner {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  transition: padding-left var(--transition);
}
.rightsided-con:hover .rightsided-inner { padding-left: 6px; }
.imghash {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--clr-surface2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.imghash .icon-svg { width: 13px; height: 13px; stroke: var(--clr-accent); }
.rightsided-headline {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  line-height: 1.35;
  color: var(--clr-muted);
  transition: color var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rightsided-con:hover .rightsided-headline { color: var(--clr-text); }

/* Hot predictions in right sidebar */
.rightsided-artimg {
  width: 52px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--clr-surface2);
}
.rightsided-artimg img { width: 100%; height: 100%; object-fit: cover; }
.rightsided-sng-con { flex: 1; min-width: 0; }
.rightsided-sng-name {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; line-height: 1.3;
  color: var(--clr-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rightsided-artist { font-size: 11px; color: var(--clr-muted2); margin-top: 2px; }
.hot-badge {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--clr-accent2); border-radius: 50%; flex-shrink: 0;
}
.icon-sm-svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* Social follow */
.rightsided-social-con {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
}
.rightsided-header {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 14px;
}
.rightsided-s { display: flex; gap: 8px; flex-wrap: wrap; }
.rightsided-s .dtls-svg {
  /* override hero-overlay style for sidebar context */
  background: var(--clr-surface2);
  backdrop-filter: none;
  border: 1px solid var(--clr-border);
  width: 40px; height: 40px;
}
.rightsided-s .dtls-svg:hover { background: var(--clr-accent); border-color: var(--clr-accent); }
.rightsided-s .svg_img { fill: var(--clr-muted); }
.rightsided-s .dtls-svg:hover .svg_img { fill: #000; }

/* ── MORE FROM BETOPICK (bottom related) ────────────────── */
.related-section {
  margin-top: 36px;
  border-top: 2px solid var(--clr-border);
  padding-top: 28px;
}
.related-section h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.related-section h2::before {
  content:'';
  display: inline-block;
  width: 4px; height: 20px;
  background: var(--clr-accent);
  border-radius: 2px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

.related-card {
  display: flex; gap: 12px; align-items: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.related-card__img {
  width: 72px; height: 54px; flex-shrink: 0;
  object-fit: cover; border-radius: var(--radius-sm);
  background: var(--clr-surface2);
}
.related-card__title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; line-height: 1.3;
  color: var(--clr-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--clr-muted2);
  padding: 0 0 18px;
}
.breadcrumb a { color: var(--clr-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--clr-accent3); }
.breadcrumb span { color: var(--clr-muted2); }
.breadcrumb svg { width: 12px; height: 12px; stroke: var(--clr-muted2); fill: none; stroke-width: 2; }

/* ── PROGRESS BAR (reading) ─────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--clr-accent);
  z-index: 9999;
  width: 0%;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer__ {
  background: #090c11;
  border-top: 2px solid var(--clr-border);
  padding: 48px 0 28px;
}