/* Bolly4u template extras — do NOT rely on engine.css (servers often keep DLE default) */

/* ── Header category buttons ── */
#header-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 8px 6px;
  padding: 8px 12px;
  margin: 0 auto 8px;
  max-width: 72rem;
  box-sizing: border-box;
  text-align: center;
}
#header-social a {
  text-decoration: none !important;
  color: inherit;
  flex: 1 1 calc(50% - 8px);
  min-width: calc(50% - 8px);
  max-width: calc(50% - 8px);
  box-sizing: border-box;
}
#header-social .button {
  font-family: "Changa", changa, sans-serif;
  color: #fff !important;
  width: 100%;
  min-width: 0 !important;
  max-width: 100%;
  padding: 10px 6px;
  margin: 0;
  text-align: center;
  text-decoration: none !important;
  display: block;
  font-size: 11px;
  line-height: 1.25;
  white-space: normal;
  transition: 0.4s;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
}
#header-social .button:hover {
  border: 1px solid #fff;
  color: #000 !important;
  opacity: 0.95;
}
#header-social .bollywood {
  background-color: #44b81a;
  text-transform: uppercase;
  border-radius: 15%;
  font-weight: 500;
}
#header-social .desijunx {
  background-color: #e53935;
  text-transform: uppercase;
  border-radius: 15%;
  font-weight: 500;
}
#header-social .buttontg {
  background-color: #009de1;
  text-transform: uppercase;
  border-radius: 15%;
}
#header-social .howtodl {
  background-color: #df9a17;
  text-transform: uppercase;
  border-radius: 15%;
}
@media (min-width: 640px) {
  #header-social {
    flex-wrap: nowrap;
    gap: 4px;
    padding: 8px;
  }
  #header-social a {
    flex: 0 0 auto;
    min-width: auto;
    max-width: none;
  }
  #header-social .button {
    display: inline-block;
    width: auto;
    min-width: 170px !important;
    font-size: 13px;
    padding: 8px 4px;
    white-space: nowrap;
  }
}
@media (min-width: 1024px) {
  #header-social .button {
    min-width: 210px !important;
    font-size: 14px;
    padding: 8px 6px;
  }
}

/* ── Single post layout ── */
.b4u-single-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 72rem;
  margin: 0 auto;
}
.b4u-single-main {
  width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}
.b4u-single-aside {
  width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .b4u-single-main {
    width: 66.666667%;
  }
  .b4u-single-aside {
    width: 33.333333%;
  }
}

/* ── Post body / download links (match style.css .buttn) ── */
.b4u-single-main .post-body {
  padding: 0 12px;
  word-wrap: break-word;
  text-align: left;
}
.b4u-single-main .post-body p {
  text-align: inherit !important;
  letter-spacing: 0.025em;
  line-height: 1.5rem;
}
.b4u-single-main .post-body div {
  text-align: inherit;
}
.b4u-single-main .post-body div[style*="text-align:left"],
.b4u-single-main .post-body div[style*="text-align: left"],
.b4u-single-main .post-body p[style*="text-align:left"],
.b4u-single-main .post-body p[style*="text-align: left"] {
  text-align: left !important;
}
.b4u-single-main .post-body div[style*="text-align:left"] p,
.b4u-single-main .post-body div[style*="text-align:left"] p,
.b4u-single-main .post-body div[style*="text-align: left"] p {
  text-align: left !important;
}
.b4u-single-main .post-body div[style*="text-align:center"],
.b4u-single-main .post-body div[style*="text-align: center"],
.b4u-single-main .post-body p[style*="text-align:center"],
.b4u-single-main .post-body p[style*="text-align: center"] {
  text-align: center !important;
}
.b4u-single-main .post-body h2,
.b4u-single-main .post-body h3,
.b4u-single-main .post-body h4 {
  text-align: center;
}
.b4u-single-main .post-body img {
  max-width: 100%;
  height: auto;
}
.b4u-single-main .post-body div[style*="text-align:left"] img,
.b4u-single-main .post-body div[style*="text-align: left"] img {
  margin-left: 0;
  margin-right: auto;
}
.post-body hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 1rem 0;
}
.post-body .download-message-box {
  background-color: #3c763d;
  color: #fff;
  text-align: center;
  padding: 10px 15px;
  border-radius: 6px;
  margin: 12px auto;
  max-width: 100%;
}
.post-body .download-message-box h5 {
  margin: 0;
  color: #fff;
  font-weight: 600;
}
.post-body .dl-btn-wrapper {
  text-align: center;
  margin: 15px 0;
}
.post-body a.buttn,
.post-body a.buttn.no,
.post-body a.movie-btn,
.post-body .movie-btn,
.post-body a[class*="movie-btn"] {
  display: inline-block !important;
  width: 83.333333% !important;
  max-width: 24rem !important;
  margin: 0.5rem auto !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: normal !important;
  color: #6366f1 !important;
  background: #fff !important;
  border: 1px solid #6366f1 !important;
  border-radius: 0.25rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
  text-decoration: none !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transition: transform 0.15s ease;
}
.post-body a.buttn:hover,
.post-body a.movie-btn:hover,
.post-body a[class*="movie-btn"]:hover {
  transform: scale(0.95);
  color: #6366f1 !important;
}
@media (min-width: 640px) {
  .post-body a.buttn,
  .post-body a.buttn.no,
  .post-body a.movie-btn,
  .post-body .movie-btn,
  .post-body a[class*="movie-btn"] {
    width: 33.333333% !important;
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }
}
.cats a {
  color: #6366f1;
  padding: 4px 0;
  display: inline;
  text-decoration: none;
}
.cats a:hover {
  color: #6b7280;
}

/* ── Sidebar (recent movies only) ── */
.b4u-sidebar-block {
  margin-bottom: 1.5rem;
}
.b4u-sidebar-title {
  color: #6b7280;
  border-left: 8px solid #818cf8;
  padding: 0.75rem 1rem;
  margin: 0 0.5rem 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.025em;
}
.b4u-sidebar-posters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4px 16px;
}
.b4u-sidebar-card {
  color: #fff !important;
  text-decoration: none !important;
  width: 50%;
  min-height: 15rem;
  padding: 12px 8px;
  margin: 4px 0;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}
.b4u-sidebar-card.b4u-sidebar-noimg {
  background-color: #374151;
  background-image: linear-gradient(160deg, #4b5563 0%, #1f2937 100%) !important;
}
.b4u-sidebar-card .b4u-sidebar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.55);
  transition: opacity 0.2s;
}
.b4u-sidebar-card:hover .b4u-sidebar-overlay {
  opacity: 0.9;
}
.b4u-sidebar-card .b4u-sidebar-label {
  position: relative;
  z-index: 2;
  font-size: 0.875rem;
  line-height: 1.35;
  padding: 0 4px;
}

/* ── Comments ── */
.b4u-comments-wrap {
  margin-top: 2rem;
  padding: 0 12px 2rem;
  max-width: 100%;
}
.b4u-comments-wrap .comments-area {
  margin-bottom: 2rem;
}
.b4u-comments-wrap .comments-title {
  color: #6b7280;
  font-size: 1rem;
  font-weight: 400;
  border-left: 8px solid #818cf8;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem 0.5rem;
  text-align: left;
}
.b4u-comments-wrap .comment-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.b4u-comments-wrap .comment {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  position: relative;
  border-left: 4px solid #e5e7eb;
}
.b4u-comments-wrap .comment-author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.b4u-comments-wrap .comment-author img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.b4u-comments-wrap .comment-author cite,
.b4u-comments-wrap .comment-author .fn {
  font-style: normal;
  font-weight: 600;
  color: #6366f1;
}
.b4u-comments-wrap .comment-meta {
  color: #60a5fa;
  font-size: 0.875rem;
}
.b4u-comments-wrap .comment-meta time {
  color: #60a5fa;
  font-size: 0.875rem;
}
.b4u-comments-wrap .comment-content {
  color: #6b7280;
  padding: 0.75rem 0 0.25rem;
  line-height: 1.5;
  text-align: left;
}
.b4u-comments-wrap .comment-actions {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.b4u-comments-wrap .comment-actions a {
  color: #6366f1;
  text-decoration: none;
  margin-right: 0.75rem;
}
.b4u-comments-wrap .comment-respond {
  margin-top: 2rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
}
.b4u-comments-wrap .comment-reply-title {
  display: block !important;
  color: #6b7280;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  text-align: left;
}
.b4u-comments-wrap .comment-form .comment-form-comment,
.b4u-comments-wrap .comment-form .comment-form-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.b4u-comments-wrap .comment-form label {
  display: block;
  width: 8rem;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: left;
}
.b4u-comments-wrap .comment-form textarea,
.b4u-comments-wrap .comment-form input[type="text"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  box-sizing: border-box;
  background: #fff;
  color: #374151;
}
.b4u-comments-wrap .comment-form textarea {
  min-height: 5rem;
  resize: vertical;
}
.b4u-comments-wrap .comment-form .form-submit {
  text-align: center;
  margin-top: 1.5rem;
}
.b4u-comments-wrap .comment-form .submit,
.b4u-comments-wrap .comment-form button[type="submit"] {
  display: block;
  margin: 0 auto;
  max-width: 24rem;
  width: 100%;
  padding: 0.5rem 1.5rem;
  border: 1px solid #6366f1;
  color: #6366f1;
  background: #fff;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease;
}
.b4u-comments-wrap .comment-form .submit:hover,
.b4u-comments-wrap .comment-form button[type="submit"]:hover {
  transform: scale(0.95);
}
.b4u-comments-wrap .c-captcha {
  margin: 1rem 0;
  text-align: center;
}
@media (max-width: 640px) {
  .b4u-comments-wrap .comment-form .comment-form-comment,
  .b4u-comments-wrap .comment-form .comment-form-author {
    flex-direction: column;
    align-items: stretch;
  }
  .b4u-comments-wrap .comment-form label {
    width: 100%;
  }
}

/* ── You May Also Like (4 posts in one row) ── */
.b4u-related-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  padding: 0 6px;
  box-sizing: border-box;
  width: 100%;
}
.b4u-related-grid .b4u-related-item {
  flex: 0 0 calc(50% - 4px);
  max-width: calc(50% - 4px);
  width: calc(50% - 4px) !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  display: block;
  vertical-align: top;
}
.b4u-related-grid .b4u-related-item:nth-child(n+5) {
  display: none !important;
}
.b4u-related-grid .b4u-related-card {
  display: block;
  height: 100%;
}
.b4u-related-grid .b4u-related-title {
  margin-top: 0.5rem;
  padding: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #6b7280;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: color 0.15s ease;
}
.b4u-related-grid .b4u-related-card:hover .b4u-related-title {
  color: #6366f1;
}
@media (min-width: 640px) {
  .b4u-related-grid {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 8px;
  }
  .b4u-related-grid .b4u-related-item {
    flex: 0 0 calc(25% - 8px);
    max-width: calc(25% - 8px);
    width: calc(25% - 8px) !important;
  }
  .b4u-related-grid .b4u-related-title {
    font-size: 0.8125rem;
  }
}
.b4u-related-grid .b4u-related-poster {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #f3f4f6;
}
.b4u-related-grid .b4u-related-img,
.b4u-related-grid .b4u-related-xf img,
.b4u-related-grid .b4u-xfield-poster img {
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  object-fit: cover !important;
  display: block !important;
}
@media (min-width: 640px) {
  .b4u-related-grid .b4u-related-poster {
    height: 230px;
  }
  .b4u-related-grid .b4u-related-img,
  .b4u-related-grid .b4u-related-xf img,
  .b4u-related-grid .b4u-xfield-poster img {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }
}
.b4u-related-grid .b4u-related-xf {
  display: block;
  line-height: 0;
  height: 100%;
}

/* ── SEO blocks (homepage) ── */
.b4u-seo-header,
.b4u-seo-footer,
.amh-seo-header,
.amh-seo-footer {
  max-width: 72rem;
  margin: 1.5rem auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.b4u-seo-header,
.amh-seo-header {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-top: 0.25rem;
}
.b4u-seo-header h1,
.amh-seo-header h1 {
  font-size: 0.78rem;
  line-height: 1.55;
  font-weight: 400;
  color: #6b7280;
  text-align: center;
  margin: 0 0 12px;
}
.b4u-seo-sub,
.amh-seo-sub {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #9ca3af;
  text-align: center;
  margin: 0 0 10px;
}
.b4u-seo-keyline,
.amh-seo-keyline {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #6366f1;
  text-align: center;
  margin: 0;
  padding: 10px 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
.b4u-seo-footer,
.amh-seo-footer {
  margin-bottom: 0;
  padding-bottom: 1.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
}
.b4u-seo-wrap h2,
.amh-seo-wrap h2 {
  font-size: 0.8rem;
  line-height: 1.55;
  font-weight: 500;
  color: #6b7280;
  text-align: center;
  margin: 0 0 12px;
}
.b4u-seo-wrap p,
.amh-seo-wrap p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #9ca3af;
  text-align: center;
  margin: 0 0 10px;
}
.b4u-seo-hr,
.amh-seo-hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 14px 0;
}
@media (min-width: 768px) {
  .b4u-seo-header h1,
  .amh-seo-header h1,
  .b4u-seo-wrap h2,
  .amh-seo-wrap h2 {
    font-size: 0.85rem;
  }
  .b4u-seo-sub,
  .amh-seo-sub,
  .b4u-seo-wrap p,
  .amh-seo-wrap p {
    font-size: 0.82rem;
  }
}
