/* ============================================================
   Single post — modern article view + newsroom-style related cards
   Loaded after style.css on single-post.php, overrides the legacy layout.
   On-brand: gold (#c19114) / red (#c62307) / dark.
   ============================================================ */

/* ── Breadcrumb: lighter, gold-accented trail ── */
.single-post .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 5% 6px !important;
  font-size: 0.74em;
  letter-spacing: 1.5px;
  color: #8d8d8d;
}
.single-post .breadcrumb a {
  color: #c19114;
  transition: color .2s ease;
}
.single-post .breadcrumb a:hover {
  color: #fff;
}
.single-post .breadcrumb span:not(:last-child) {
  color: #555;
}
.single-post .breadcrumb span:last-child {
  color: #cfcfcf;
  text-transform: none;
  letter-spacing: 0.2px;
}

/* ── Article header: tighter, accent-bar title + meta line ── */
.single-post .sec1 .article > h2.title {
  position: relative;
  padding-left: 20px;
  font-size: 2.7em;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.5px;
  margin: 6px 0 14px;
  color: #fff;
}
.single-post .sec1 .article > h2.title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #d9a521, #a87d0f);
}
.single-post .sec1 .article > p:first-of-type,
.single-post .sec1 .article > p {
  display: flex;
  justify-content: flex-start;
  padding-left: 20px;
  align-items: center;
  gap: 9px;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #9a9a9a;
}
.single-post .sec1 .article > p::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c62307;
}

/* ── Featured media: rounded, framed, soft shadow ── */
.single-post .sec1 .article .left {
  margin-top: 22px;
}
.single-post .sec1 .article .left img,
.single-post .sec1 .article .gallery img,
.single-post .sec1 .article .gallery video {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.single-post .sec1 .article .yt-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Reading column typography ── */
.single-post .sec1 .article .right .description {
  font-size: 1.04em;
  line-height: 1.75;
  color: #d2d2d2;
  max-width: 760px;
}
.single-post .sec1 .article .right .description p {
  color: #d2d2d2;
}

/* Topics → gold tag pill row */
.single-post .sec1 .article .right .info {
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.single-post .sec1 .article .right .info > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82em;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #cfcfcf;
}
.single-post .sec1 .article .right .info b {
  color: #c19114;
  letter-spacing: 1px;
}

/* ============================================================
   Related Articles — newsroom cards (mirrors news-modern.css)
   ============================================================ */
.single-post .related {
  padding: 36px 5% 60px;
}
.single-post .related h3 {
  position: relative;
  display: inline-block;
  font-size: 1.7em;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
  margin: 0 0 22px;
  padding-bottom: 10px;
}
.single-post .related h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #d9a521, #a87d0f);
}

.single-post .related .grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* Card shell — vertical, dark, rounded, lift on hover */
.single-post .related .grid5 .product {
  position: relative;
  top: auto;
  display: flex;
  flex-direction: column;
  row-gap: 0;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.single-post .related .grid5 .product:hover {
  top: auto;
  transform: translateY(-6px);
  border-color: rgba(193, 145, 20, 0.5);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.9);
}

/* Featured image on top (16:9) */
.single-post .related .grid5 .product .img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Body */
.single-post .related .grid5 .product .title {
  margin: 14px 16px 0;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s ease;
}
.single-post .related .grid5 .product:hover .title {
  color: #c19114;
}
.single-post .related .grid5 .product .date {
  margin: 12px 16px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8em;
  color: #888;
}
.single-post .related .grid5 .product .date::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c62307;
}

/* ── Tablet / mobile ── */
@media screen and (max-width: 1100px) {
  .single-post .related .grid5 { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 768px) {
  .single-post .sec1 .article > h2.title { font-size: 1.9em; }
  .single-post .related { padding: 30px 5% 45px; }
  .single-post .related .grid5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .single-post .related .grid5 .product .img { height: auto; aspect-ratio: 16 / 9; }
}
@media screen and (max-width: 480px) {
  .single-post .related .grid5 { grid-template-columns: 1fr; }
}
