/* kriX Magazine – single post only (article, sidebar, reading bar, comments, related posts). */
.post-cats .pill-accent { background: var(--k-accent); color: #fff; padding: 3px 9px; border-radius: 20px; }
.post-cats .pill-accent:hover { background: var(--k-dark); color: #fff; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 50px; align-items: start; }
.post-hero-img { aspect-ratio: 850 / 545; }
.post-head { margin-top: 40px; }
.post-head .post-title-lg { font-size: 50px; line-height: 50px; letter-spacing: -1px; margin: 14px 0 12px; }
.post-subtitle { font-size: 16px; line-height: 1.6; margin: 0; }
.post-meta-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 26px 0 40px; padding-bottom: 22px; border-bottom: 1px solid var(--k-border);
}
.share-circles { display: flex; gap: 8px; }
.entry { color: var(--k-text); }
.entry::after { content: ""; display: table; clear: both; }
.drop-cap::first-letter { float: left; font: 500 50px/1 var(--k-head); color: var(--k-dark); margin: 8px 16px 0 0; }
.entry h4 { font-size: 26px; line-height: 28px; letter-spacing: -.52px; margin: 40px 0 17px; }
.inline-widget { width: 300px; margin: 8px 0 30px; }
.inline-widget.float-start { margin-right: 50px; }
.inline-widget.float-end { margin-left: 50px; }
.inline-widget h5 { font-size: 21px; line-height: 24px; margin-bottom: 22px; }
.ec-item { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.ec-item h6 { font-size: 15px; line-height: 19px; margin-bottom: 4px; }
.recent-list { list-style: none; margin: 0; padding: 0; }
.video-block { position: relative; clear: both; aspect-ratio: 850 / 585; overflow: hidden; background: #fdf3e3; margin-top: 16px; }
.video-progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--k-accent); z-index: 2; }
.media-caption { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; line-height: 1.6; padding: 14px 0 33px; }
.quote-k { position: relative; margin: 40px 0; padding-left: 56px; }
.quote-k::before { content: "\201C"; position: absolute; left: 0; top: -14px; font: 700 64px/1 Georgia, serif; color: var(--k-green); }
.quote-k cite { font: normal 700 15px/20px var(--k-head); color: var(--k-dark); }
.newsletter-box { background: var(--k-light); text-align: center; padding: 60px 70px; margin: 16px 0 50px; }
.newsletter-box h3 { font-size: 26px; line-height: 30px; margin-bottom: 6px; }
.newsletter-box .nl-sub { font-size: 14px; margin: 0 0 30px; }
.nl-check.light label { color: var(--k-text); }
.post-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 45px; }
.post-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--k-ease); }
.post-gallery button:hover img { transform: scale(1.06); }
.lightbox-modal .modal-content { background: transparent; border: 0; }
.lightbox-modal img { width: 100%; height: auto; }
.lightbox-modal .btn-close { position: absolute; top: -40px; right: 0; filter: invert(1); opacity: .9; }
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 34px; }
.post-actions { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-top: 1px solid var(--k-border); border-bottom: 1px solid var(--k-border); }
.like-wrap { display: flex; align-items: center; gap: 14px; font: 500 14px var(--k-head); color: var(--k-dark); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--k-border); }
.nav-label { display: block; font: 600 11px/14px var(--k-head); letter-spacing: .72px; text-transform: uppercase; color: var(--k-meta); margin-bottom: 10px; }
.post-nav .nav-title { display: block; font: 500 16px/20px var(--k-head); color: var(--k-dark); transition: color .3s; }
.post-nav a:hover .nav-title { color: var(--k-accent); }
.author-box { display: flex; gap: 28px; background: var(--k-light); padding: 40px; margin-top: 40px; }
.author-box img { width: 70px; height: 70px; border-radius: 50%; flex: 0 0 70px; }
.author-box .nav-label { margin-bottom: 0; }
.author-box h4 { font-size: 18px; margin: 4px 0 10px; }
.btn-comments {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 57px; margin-top: 50px; border: 0; border-radius: 30px;
  background: var(--k-dark); color: #fff; cursor: pointer;
  font: 500 13px var(--k-body); letter-spacing: 1.56px; text-transform: uppercase;
  transition: background .3s;
}
.btn-comments:hover { background: var(--k-accent); }
.comments-area { padding-top: 40px; }
.comments-area h3 { font-size: 26px; margin-bottom: 24px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-empty { font-size: 15px; }
.comment-form .form-control { border-radius: 25px; padding: 12px 22px; font-size: 15px; border-color: var(--k-border); }
.comment-form textarea.form-control { border-radius: 20px; min-height: 150px; }
.comment-form .form-control:focus { border-color: var(--k-accent); box-shadow: 0 0 0 .2rem rgba(244, 42, 121, .12); }
.sidebar-k { position: sticky; top: 100px; }
.widget-k + .widget-k { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--k-border); }
.widget-banner { border: 1px solid var(--k-border); padding: 44px; }
.banner-ad { position: relative; display: block; overflow: hidden; }
.banner-ad img { width: 100%; transition: transform .8s var(--k-ease); }
.banner-ad:hover img { transform: scale(1.05); }
.banner-ad .banner-label {
  position: absolute; left: 50%; top: 14%; transform: translateX(-50%);
  font: 400 40px/1 var(--k-logo); color: rgba(255, 255, 255, .92); white-space: nowrap;
}
.widget-title { text-align: center; font: 500 15px var(--k-head); letter-spacing: .8px; text-transform: uppercase; color: var(--k-dark); margin-bottom: 30px; }
.widget-title::after { content: "\2022 \2022 \2022"; display: block; color: var(--k-accent); font-size: 10px; letter-spacing: 1px; margin-top: 4px; }
.side-post { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.side-post:last-child { margin-bottom: 0; }
.side-post h6 { font-size: 16px; line-height: 20px; margin-bottom: 6px; }
.logo-mini { font: 400 34px/1 var(--k-logo); color: var(--k-dark); position: relative; padding-right: 10px; }
.logo-mini::after { content: ""; position: absolute; right: 0; bottom: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--k-dark); }
.logo-mini:hover { color: var(--k-dark); }
.reading-title { font: 500 15px var(--k-head); color: var(--k-dark); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reading-actions { display: flex; align-items: center; gap: 30px; }
.reading-share { position: relative; }
.reading-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--k-dark); }
.side-tab:hover { color: var(--k-accent); }
.related-section { background: var(--k-light); padding: 75px 0 80px; }
@media (max-width: 1199px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .widget-banner { padding: 30px; }
  .side-tab { display: none; }
}
@media (max-width: 1023px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar-k { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .widget-k + .widget-k { margin-top: 0; padding-top: 0; border-top: 0; }
  .post-head .post-title-lg { font-size: 40px; line-height: 44px; }
}
@media (max-width: 767px) {
  .post-head .post-title-lg { font-size: 30px; line-height: 34px; }
  .inline-widget, .inline-widget.float-start, .inline-widget.float-end { float: none !important; width: 100%; margin: 10px 0 30px; }
  .newsletter-box { padding: 40px 22px; }
  .post-gallery { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; padding: 30px 24px; gap: 16px; }
  .sidebar-k { grid-template-columns: 1fr; }
  .reading-actions .label-hide { display: none; }
  .media-caption { flex-direction: column; gap: 4px; }
  .page-post .page-inner { padding-top: 0; }
  .post-hero-img { aspect-ratio: 4 / 3; margin: 0 -16px; border-radius: 0; }
  .post-head { margin-top: 22px; }
  .post-head .post-title-lg { font-size: 26px; line-height: 31px; letter-spacing: -.6px; margin: 10px 0 8px; }
  .post-subtitle { font-size: 15px; line-height: 1.55; }
  .post-meta-row { margin: 18px 0 24px; padding-bottom: 16px; gap: 12px; }
  .post-meta-row .post-meta { font-size: 11px; }
  .entry { font-size: 16px; line-height: 1.75; }
  .entry p { margin-bottom: 22px; }
  .drop-cap::first-letter { font-size: 44px; margin: 6px 12px 0 0; }
  .entry h4 { font-size: 20px; line-height: 25px; margin: 30px 0 12px; }
  .inline-widget { background: var(--k-light); border-radius: 16px; padding: 18px; margin: 4px 0 24px; }
  .inline-widget h5 { font-size: 17px; margin-bottom: 14px; }
  .ec-item { margin-bottom: 12px; }
  .ec-item .mini-thumb { flex-basis: 54px; width: 54px; height: 54px; }
  .ec-item h6 { font-size: 14px; line-height: 18px; }
  .video-block { border-radius: 14px; aspect-ratio: 4 / 3; }
  .video-play { width: 62px; height: 62px; font-size: 26px; }
  .quote-k { padding-left: 40px; margin: 28px 0; }
  .quote-k::before { font-size: 50px; top: -10px; }
  .quote-k p { font-size: 17px; line-height: 27px; }
  .newsletter-box { border-radius: 16px; padding: 30px 18px; margin: 10px 0 30px; }
  .newsletter-box h3 { font-size: 20px; }
  .post-gallery { grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 28px; }
  .post-gallery button { border-radius: 12px; }
  .post-tags { margin: 20px 0 22px; }
  .post-actions { padding: 14px 0; }
  .post-nav .nav-title { font-size: 15px; }
  .author-box { border-radius: 16px; padding: 22px 18px; flex-direction: row; gap: 14px; }
  .author-box img { width: 54px; height: 54px; flex-basis: 54px; }
  .author-box p { font-size: 14px; }
  .btn-comments { height: 50px; margin-top: 30px; font-size: 12px; }
  .comments-area h3 { font-size: 20px; }
  .widget-banner { padding: 18px; border-radius: 16px; }
  .widget-title { font-size: 13px; margin-bottom: 18px; }
  .side-post { gap: 14px; margin-bottom: 14px; }
  .side-post .post-thumb { flex-basis: 64px; width: 64px; border-radius: 10px; }
  .side-post h6 { font-size: 14px; line-height: 18px; }
  .page-post .sidebar-k { margin-top: 10px; }
  .reading-bar { height: 52px; }
  .logo-mini { font-size: 26px; }
  .reading-title { font-size: 13px; }
  .reading-actions { gap: 14px; }
  .related-section { padding: 34px 0 36px; }
  .related-section .swipe-row > [class*="col"] { flex: 0 0 64%; max-width: 64%; }
  .related-card .post-thumb { border-radius: 12px; }
  .related-card .post-cats { margin: 10px 0 4px; }
}
