/* ─────────────────────────────
   BLOG.CSS — Lo Castro blog (Substack-powered)
   wp-content/themes/twentytwentyfive-child/styles/blog.css
   ───────────────────────────── */

:root {
  --lc-border-strong: rgba(74, 47, 27, 0.32);
  --lc-track-wide: 0.14em;
  --lc-track-default: 0.06em;
}

.lc-blog {
  font-family: var(--lc-font-serif);
  color: var(--lc-text);
}

.entry-content.is-layout-constrained {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* WordPress's global block-spacing style also injects max-width and
   margin-block-start on every direct child of .is-layout-constrained
   (all via low-specificity :where() selectors, easily overridden
   here) — neutralize both, or the first section gets squeezed width
   and an unwanted gap under the header. */
.entry-content.is-layout-constrained > * {
  max-width: none !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.lc-blog-empty {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
  padding: 0 20px;
}

.lc-blog-toprule {
  max-width: 1500px;
  margin: 0 auto;
  height: 1px;
  background: var(--lc-border-subtle);
}

.lc-blog-grid {
  max-width: 1500px;
  margin: 28px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.95fr;
  gap: 46px;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .lc-blog-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

.lc-blog-col {
  min-width: 0;
}

.lc-blog-col-right {
  min-width: 0;
  padding-left: 40px;
  border-left: 1px solid var(--lc-border-subtle);
}

@media (max-width: 1100px) {
  .lc-blog-col-right {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--lc-border-subtle);
    padding-top: 26px;
  }
}

.lc-blog-section-label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.lc-blog-label-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  background: var(--lc-text);
  color: var(--lc-bg);
  font-family: var(--lc-font-display);
  font-size: 11px;
  letter-spacing: var(--lc-track-default);
  text-transform: uppercase;
}

.lc-blog-label-rule {
  height: 1px;
  background: var(--lc-border-subtle);
}

.lc-blog-featured-card {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: 78px 36px;
  border-top: 1px solid var(--lc-border-subtle);
  border-bottom: 1px solid var(--lc-border-subtle);
  opacity: 0.98;
  transition: opacity 0.15s ease;
}

.lc-blog-featured-card:hover {
  opacity: 1;
}

.lc-blog-featured-kicker {
  font-family: var(--lc-font-display);
  font-size: 11px;
  letter-spacing: var(--lc-track-wide);
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 18px;
}

.lc-blog-featured-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lc-blog-featured-excerpt {
  margin: 18px auto 0;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.7;
}

.lc-blog-byline {
  margin-top: 26px;
  font-family: var(--lc-font-display);
  font-size: 11px;
  letter-spacing: var(--lc-track-default);
  text-transform: uppercase;
  opacity: 0.6;
}

.lc-blog-byline span {
  opacity: 0.85;
}

.lc-blog-picks-list {
  display: grid;
  gap: 40px;
}

.lc-blog-pick-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--lc-border-subtle);
  opacity: 0.96;
  transition: opacity 0.15s ease;
}

.lc-blog-pick-card:hover {
  opacity: 1;
}

@media (max-width: 520px) {
  .lc-blog-pick-card {
    grid-template-columns: 1fr;
  }
}

.lc-blog-pick-meta {
  min-width: 0;
}

.lc-blog-pick-kicker {
  font-family: var(--lc-font-display);
  font-size: 10px;
  letter-spacing: var(--lc-track-wide);
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 10px;
}

.lc-blog-pick-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 600;
}

.lc-blog-pick-excerpt {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.65;
  opacity: 0.7;
}

.lc-blog-pick-byline {
  margin-top: 16px;
  font-family: var(--lc-font-display);
  font-size: 10px;
  letter-spacing: var(--lc-track-default);
  text-transform: uppercase;
  opacity: 0.6;
}

.lc-blog-pick-byline span {
  opacity: 0.85;
}

.lc-blog-pick-media {
  position: relative;
  width: 100%;
  height: 110px;
  background: var(--lc-surface);
  overflow: hidden;
}

@media (max-width: 520px) {
  .lc-blog-pick-media {
    height: 180px;
  }
}

.lc-blog-pick-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lc-blog-trending-list {
  display: grid;
}

.lc-blog-trending-item {
  padding: 22px 0;
  border-top: 1px solid var(--lc-border-subtle);
}

.lc-blog-trending-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.lc-blog-trending-link {
  text-decoration: none;
  color: var(--lc-text);
  display: block;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
  opacity: 0.98;
  transition: opacity 0.15s ease;
}

.lc-blog-trending-link:hover {
  opacity: 1;
}

.lc-blog-trending-byline {
  margin-top: 10px;
  font-family: var(--lc-font-display);
  font-size: 10px;
  letter-spacing: var(--lc-track-default);
  text-transform: uppercase;
  opacity: 0.6;
}

.lc-blog-trending-byline span {
  opacity: 0.85;
}

.lc-blog-bottom-wrap {
  max-width: 1500px;
  margin: 70px auto 0;
  padding: 26px 20px 90px;
  border-top: 1px solid var(--lc-border-strong);
  box-sizing: border-box;
}

.lc-blog-bottom-label-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.lc-blog-bottom-label-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  background: var(--lc-text);
  color: var(--lc-bg);
  font-family: var(--lc-font-display);
  font-size: 11px;
  letter-spacing: var(--lc-track-default);
  text-transform: uppercase;
}

.lc-blog-bottom-rule {
  height: 1px;
  background: var(--lc-border-strong);
}

.lc-blog-bottom-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
}

@media (max-width: 1100px) {
  .lc-blog-bottom-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .lc-blog-bottom-row {
    grid-template-columns: 1fr;
  }
}

.lc-blog-mini-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--lc-border-subtle);
  opacity: 0.95;
  transition: opacity 0.15s ease;
}

.lc-blog-mini-card:hover {
  opacity: 1;
}

.lc-blog-mini-meta {
  min-width: 0;
}

.lc-blog-mini-kicker {
  font-family: var(--lc-font-display);
  font-size: 10px;
  letter-spacing: var(--lc-track-wide);
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 10px;
}

.lc-blog-mini-title {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
}

.lc-blog-mini-thumb {
  position: relative;
  width: 100%;
  height: 60px;
  background: var(--lc-surface);
  overflow: hidden;
}

.lc-blog-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lc-blog-post {
  max-width: 820px;
  margin: 0 auto;
  padding: 54px 20px 110px;
  box-sizing: border-box;
}

.lc-blog-back {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  font-family: var(--lc-font-display);
  font-size: 11px;
  letter-spacing: var(--lc-track-default);
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.lc-blog-back:hover {
  opacity: 1;
}

.lc-blog-post-kicker {
  margin-top: 34px;
  font-family: var(--lc-font-display);
  font-size: 11px;
  letter-spacing: var(--lc-track-wide);
  text-transform: uppercase;
  opacity: 0.6;
}

.lc-blog-post-title {
  margin: 16px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lc-blog-post .lc-blog-byline {
  margin-top: 18px;
}

.lc-blog-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 40px;
  overflow: hidden;
  background: var(--lc-surface);
}

.lc-blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lc-blog-article {
  margin-top: 44px;
  font-size: 16px;
  line-height: 1.85;
}

.lc-blog-article p {
  margin: 0 0 22px;
}

.lc-blog-article strong {
  font-weight: 600;
}

.lc-blog-article a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lc-blog-article h1,
.lc-blog-article h2,
.lc-blog-article h3 {
  font-weight: 600;
  line-height: 1.2;
  margin: 40px 0 18px;
}

.lc-blog-article .captioned-image-container {
  margin: 34px 0;
}

.lc-blog-article .captioned-image-container img {
  display: block;
  width: 100%;
  height: auto;
}

.lc-blog-article .captioned-image-container figure {
  margin: 0;
}

.lc-blog-article .image-caption {
  display: block;
  margin-top: 10px;
  font-family: var(--lc-font-display);
  font-size: 12px;
  letter-spacing: var(--lc-track-default);
  text-transform: uppercase;
  opacity: 0.6;
  text-align: center;
}

.lc-blog-article .image-link-expand {
  display: none;
}

.lc-blog-nav-row {
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid var(--lc-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lc-blog-nav-link {
  text-decoration: none;
  color: inherit;
  font-family: var(--lc-font-display);
  font-size: 11px;
  letter-spacing: var(--lc-track-default);
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.lc-blog-nav-link:hover {
  opacity: 1;
}