/* League Estates — BLOG diary single posts
 * postids: 2641 China, 4819 Acting, 5820 Handyman, 6366 YL market
 */

body.postid-2641,
body.postid-4819,
body.postid-5820,
body.postid-6366 {
  background: #041210 !important;
}

/* Full-width content — hide cramped right sidebar layout */
body.postid-2641.blog-layout_side-right .widget-area,
body.postid-4819.blog-layout_side-right .widget-area,
body.postid-5820.blog-layout_side-right .widget-area,
body.postid-6366.blog-layout_side-right .widget-area,
body.postid-2641 #secondary,
body.postid-4819 #secondary,
body.postid-5820 #secondary,
body.postid-6366 #secondary {
  display: none !important;
}
body.postid-2641 .content-area,
body.postid-4819 .content-area,
body.postid-5820 .content-area,
body.postid-6366 .content-area,
body.postid-2641 #primary,
body.postid-4819 #primary,
body.postid-5820 #primary,
body.postid-6366 #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 auto !important;
}

body.postid-2641 #page,
body.postid-2641 .site,
body.postid-2641 #content,
body.postid-2641 .site-content,
body.postid-2641 main,
body.postid-4819 #page,
body.postid-4819 .site,
body.postid-4819 #content,
body.postid-4819 .site-content,
body.postid-4819 main,
body.postid-5820 #page,
body.postid-5820 .site,
body.postid-5820 #content,
body.postid-5820 .site-content,
body.postid-5820 main,
body.postid-6366 #page,
body.postid-6366 .site,
body.postid-6366 #content,
body.postid-6366 .site-content,
body.postid-6366 main {
  background: transparent !important;
}

/* Cover / featured */
body.postid-2641 .entry-cover,
body.postid-4819 .entry-cover,
body.postid-5820 .entry-cover,
body.postid-6366 .entry-cover {
  min-height: 38vh !important;
  max-height: 460px;
}
body.postid-2641 .entry-cover-image,
body.postid-4819 .entry-cover-image,
body.postid-5820 .entry-cover-image,
body.postid-6366 .entry-cover-image {
  min-height: 38vh !important;
  background-size: cover !important;
  background-position: center 30% !important;
  filter: brightness(0.62) saturate(1.1);
}
body.postid-2641 .entry-cover::after,
body.postid-4819 .entry-cover::after,
body.postid-5820 .entry-cover::after,
body.postid-6366 .entry-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 16, 0.15) 0%, rgba(4, 18, 16, 0.78) 100%);
  pointer-events: none;
  z-index: 1;
}
body.postid-2641 .background-video-buttons-wrapper,
body.postid-4819 .background-video-buttons-wrapper,
body.postid-5820 .background-video-buttons-wrapper,
body.postid-6366 .background-video-buttons-wrapper {
  display: none !important;
}

/* Title */
body.postid-2641 .entry-header,
body.postid-4819 .entry-header,
body.postid-5820 .entry-header,
body.postid-6366 .entry-header {
  max-width: 820px;
  margin: 0.75rem auto 0;
  padding: 0 1.25rem;
  text-align: left;
}
body.postid-2641 .entry-title,
body.postid-4819 .entry-title,
body.postid-5820 .entry-title,
body.postid-6366 .entry-title {
  color: #eef8f4 !important;
  font-size: clamp(1.75rem, 4vw, 2.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem !important;
}
body.postid-2641 .entry-meta,
body.postid-4819 .entry-meta,
body.postid-5820 .entry-meta,
body.postid-6366 .entry-meta,
body.postid-2641 .entry-header time,
body.postid-4819 .entry-header time,
body.postid-5820 .entry-header time,
body.postid-6366 .entry-header time {
  color: #8aa8a0 !important;
  font-size: 0.9rem !important;
  font-weight: 600;
}

/* Story paper on dark stage */
body.postid-2641 .entry-content,
body.postid-4819 .entry-content,
body.postid-5820 .entry-content,
body.postid-6366 .entry-content {
  max-width: 820px !important;
  margin: 1rem auto 2.5rem !important;
  padding: 1.75rem 1.6rem 2rem !important;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(110, 231, 183, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(10, 32, 28, 0.97), rgba(6, 20, 18, 0.99));
  border: 1px solid rgba(110, 231, 183, 0.22);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  color: #e8f5f0 !important;
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
}

body.postid-2641 .entry-content p,
body.postid-4819 .entry-content p,
body.postid-5820 .entry-content p,
body.postid-6366 .entry-content p {
  color: rgba(232, 245, 240, 0.92) !important;
  margin: 0 0 1.15rem !important;
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
}

body.postid-2641 .entry-content a,
body.postid-4819 .entry-content a,
body.postid-5820 .entry-content a,
body.postid-6366 .entry-content a {
  color: #a7f3d0 !important;
  font-weight: 700;
}

/* Images — full width of story column, no tiny fixed sizes */
body.postid-2641 .entry-content .wp-block-image,
body.postid-4819 .entry-content .wp-block-image,
body.postid-5820 .entry-content .wp-block-image,
body.postid-6366 .entry-content .wp-block-image {
  margin: 1.5rem 0 !important;
  max-width: 100% !important;
}
body.postid-2641 .entry-content .wp-block-image figure,
body.postid-4819 .entry-content .wp-block-image figure,
body.postid-2641 .entry-content figure,
body.postid-4819 .entry-content figure {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.postid-2641 .entry-content img,
body.postid-4819 .entry-content img,
body.postid-5820 .entry-content img,
body.postid-6366 .entry-content img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
  display: block !important;
  margin: 0 auto !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
/* Kill old fixed width/height attrs from resized images */
body.postid-2641 .entry-content .is-resized,
body.postid-4819 .entry-content .is-resized {
  width: 100% !important;
  height: auto !important;
}
body.postid-2641 .entry-content figcaption,
body.postid-4819 .entry-content figcaption,
body.postid-5820 .entry-content figcaption,
body.postid-6366 .entry-content figcaption {
  color: #8aa8a0 !important;
  font-size: 0.88rem !important;
  text-align: center;
  margin-top: 0.55rem !important;
}

/* Day headings feel (when paragraphs are just "Day 1:") */
body.postid-2641 .entry-content p:has(+ p) strong,
body.postid-2641 .entry-content > p:first-child {
  /* light touch */
}

/* CTA + nav chips injected via mu-plugin */
.le-diary-top {
  max-width: 820px;
  margin: 0.35rem auto 0;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.le-diary-top a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
  color: #eef8f4 !important;
  background: rgba(10, 32, 28, 0.9);
  border: 1px solid rgba(110, 231, 183, 0.28);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.le-diary-top a:hover {
  border-color: #6ee7b7;
  background: rgba(110, 231, 183, 0.14);
  color: #fff !important;
}
.le-diary-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a7f3d0;
  margin-right: 0.35rem;
}

.le-diary-cta {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  padding: 1.4rem 1.3rem 1.5rem;
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(110, 231, 183, 0.3);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(110, 231, 183, 0.12), transparent 60%),
    linear-gradient(145deg, rgba(8, 32, 28, 0.96), rgba(4, 18, 16, 0.98));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.le-diary-cta h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}
.le-diary-cta p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
}
.le-diary-cta .le-cta-row {
  justify-content: center;
  margin-top: 0;
}
.le-diary-cta .le-cta-btn-primary {
  background: linear-gradient(180deg, #a7f3d0 0%, #6ee7b7 100%);
  color: #041410 !important;
  box-shadow: 0 8px 24px rgba(110, 231, 183, 0.32);
}
.le-diary-cta .le-cta-btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff !important;
}

/* Share / footer on dark */
body.postid-2641 .sharedaddy,
body.postid-2641 .sd-title,
body.postid-2641 .sd-content a,
body.postid-4819 .sharedaddy,
body.postid-4819 .sd-title,
body.postid-4819 .sd-content a,
body.postid-5820 .sharedaddy,
body.postid-6366 .sharedaddy {
  color: #b8c8c2 !important;
}
body.postid-2641 .site-footer,
body.postid-4819 .site-footer,
body.postid-5820 .site-footer,
body.postid-6366 .site-footer {
  border-top: 1px solid rgba(110, 231, 183, 0.12);
  background: #030c0a !important;
  color: #8aa8a0;
}
body.postid-2641 .site-footer a,
body.postid-4819 .site-footer a,
body.postid-5820 .site-footer a,
body.postid-6366 .site-footer a {
  color: #6ee7b7 !important;
}

@media (max-width: 640px) {
  body.postid-2641 .entry-content,
  body.postid-4819 .entry-content,
  body.postid-5820 .entry-content,
  body.postid-6366 .entry-content {
    padding: 1.25rem 1.05rem 1.5rem !important;
    border-radius: 16px;
    font-size: 1.02rem !important;
  }
  body.postid-2641 .entry-content p,
  body.postid-4819 .entry-content p {
    font-size: 1.02rem !important;
  }
}
