/* ===== Blog Post UI (yr-post) ===== */
.yr-post{ max-width: 900px; margin: 0 auto; padding: 18px 0; }
.yr-post__hero{ margin: 0 0 16px; }
.yr-post__hero img{ width:100%; height:auto; border-radius: 18px; display:block; }
.yr-post__caption{ margin-top: 8px; color: rgba(15,23,42,.7); font-size: .95rem; line-height:1.5; }

.yr-post__head{ background:#fff; border:1px solid rgba(15,23,42,.10); border-radius: 18px; padding: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.06); }
.yr-post__kicker{ display:inline-flex; align-items:center; gap:8px; padding: 8px 12px; border-radius: 999px; border:1px solid rgba(255,122,24,.25); background: linear-gradient(135deg, rgba(255,185,64,.16), rgba(255,255,255,1)); font-weight:800; }
.yr-post__title{ margin: 10px 0 8px; font-size: clamp(26px, 3.6vw, 40px); line-height:1.08; letter-spacing:-.4px; }
.yr-post__lead{ margin:0; color: rgba(15,23,42,.78); line-height:1.75; }

.yr-post__ctaRow{ margin-top: 14px; display:flex; flex-wrap:wrap; gap:10px; }
.yr-postBtn{ display:inline-flex; align-items:center; gap:10px; padding: 12px 14px; border-radius: 14px; border:1px solid rgba(15,23,42,.12); text-decoration:none; font-weight:900; background:#fff; color:#0f172a; box-shadow: 0 10px 26px rgba(0,0,0,.06); }
.yr-postBtn--primary{ border-color: rgba(255,122,24,.45); background: linear-gradient(135deg, #ffb940, #ff7a18); color:#1a1206; }
.yr-postBtn:hover{ transform: translateY(-1px); box-shadow: 0 14px 36px rgba(0,0,0,.10); }

.yr-post__toc{ margin: 16px 0; background:#fff; border:1px solid rgba(15,23,42,.10); border-radius: 18px; padding: 14px 16px; box-shadow: 0 14px 40px rgba(0,0,0,.05); }
.yr-post__tocTitle{ font-weight:900; display:flex; align-items:center; gap:10px; margin-bottom: 10px; }
.yr-post__tocList{ margin:0; padding-left: 18px; color: rgba(15,23,42,.82); line-height: 1.7; }
.yr-post__tocList a{ color: inherit; text-decoration: none; border-bottom:1px dashed rgba(15,23,42,.35); }
.yr-post__tocList a:hover{ border-bottom-style: solid; }

.yr-post__section{ margin: 14px 0; background:#fff; border:1px solid rgba(15,23,42,.10); border-radius: 18px; padding: 14px 16px; box-shadow: 0 14px 40px rgba(0,0,0,.05); }
.yr-post__h2{ margin: 0 0 8px; display:flex; align-items:center; gap:10px; font-size: 1.2rem; }
.yr-post__list{ list-style:none; margin: 10px 0 0; padding:0; display:grid; gap:8px; }
.yr-post__list li{ display:flex; gap:10px; align-items:flex-start; color: rgba(15,23,42,.82); line-height:1.6; }
.yr-post__callout{ margin-top: 10px; padding: 12px 14px; border-radius: 16px; border:1px solid rgba(255,122,24,.20); background: linear-gradient(135deg, rgba(255,185,64,.16), rgba(255,255,255,1)); }

.yr-post__media img{ width:100%; height:auto; border-radius: 18px; display:block; }
.yr-post__faq{ margin: 16px 0; }
.yr-post__qa{ border:1px solid rgba(15,23,42,.10); border-radius: 16px; background:#fff; padding: 10px 12px; box-shadow: 0 14px 40px rgba(0,0,0,.04); }
.yr-post__qa + .yr-post__qa{ margin-top: 10px; }
.yr-post__qa summary{ font-weight: 900; cursor:pointer; }
.yr-post__qa p{ margin: 10px 0 0; color: rgba(15,23,42,.78); line-height:1.7; }

.yr-post__finalCta{ margin: 18px 0 0; }
.yr-post__finalInner{ background:#0b1220; color:#fff; border-radius: 18px; padding: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.yr-post__finalInner p{ color: rgba(255,255,255,.82); line-height:1.65; margin: 8px 0 0; }
.yr-post__finalInner .yr-postBtn{ box-shadow:none; }

/* ======================================
   Blog List / Cards
====================================== */

.yr-blog{ padding: 22px 0 40px; }

.yr-blogHead{
  max-width: 980px;
  margin: 0 auto 18px;
}

.yr-blogHead__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,122,24,.25);
  background: linear-gradient(135deg, rgba(255,185,64,.16), rgba(255,255,255,1));
  font-weight: 900;
  color:#0f172a;
}

.yr-blogHead__title{
  margin: 12px 0 6px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -.4px;
}

.yr-blogHead__lead{
  margin: 0;
  color: rgba(15,23,42,.75);
  line-height: 1.75;
  max-width: 70ch;
}

/* Grid */
.yr-blogGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 980px){
  .yr-blogGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .yr-blogGrid{ grid-template-columns: 1fr; }
}

/* Card */
.yr-bcard{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.yr-bcard:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 52px rgba(0,0,0,.10);
  border-color: rgba(255,122,24,.28);
}

.yr-bcard__media{
  display:block;
  aspect-ratio: 16 / 10;
  background: #0b1220;
}

.yr-bcard__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.yr-bcard__body{ padding: 14px 14px 16px; }

.yr-bcard__meta{
  font-size: .92rem;
  color: rgba(15,23,42,.70);
  display:flex;
  align-items:center;
  gap:10px;
}

.yr-bcard__meta i{ margin-right: 6px; }

.yr-bcard__title{
  margin: 10px 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -.2px;
}

.yr-bcard__title a{
  color:#0f172a !important;
  text-decoration:none !important;
}

.yr-bcard__excerpt{
  margin: 0;
  color: rgba(15,23,42,.76);
  line-height: 1.7;
}

.yr-bcard__actions{ margin-top: 12px; }

.yr-bcard__btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(15,23,42,.12);
  text-decoration:none !important;
  font-weight: 900;
  background: #fff;
  color:#0f172a !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.yr-bcard__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
  border-color: rgba(255,122,24,.28);
}

/* Pagination */
.yr-blogPag{
  margin-top: 18px;
  display:flex;
  justify-content:center;
}

.yr-blogPag .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  margin: 0 4px;
  border:1px solid rgba(15,23,42,.12);
  text-decoration:none !important;
  font-weight: 900;
  color:#0f172a !important;
  background:#fff;
}
.yr-blogPag .page-numbers.current{
  border-color: rgba(255,122,24,.35);
  background: linear-gradient(135deg, rgba(255,185,64,.18), rgba(255,255,255,1));
}


@media (max-width: 560px){
  .yr-post{ padding: 12px 0; }
  .yr-post__head, .yr-post__toc, .yr-post__section{ padding: 12px 12px; }
}
