/*--------------------------------------------------------------
# Laredo Vision Publications Page — Custom Styles
# publications-vision.css
# Depends on: main.css + txc.css
# Font sizes: rem only, min 0.75rem, multiples of 0.05
--------------------------------------------------------------*/

/* ══════════════════════════════════════════════════════════════
   HERO — logo + description (replaces featured-post)
══════════════════════════════════════════════════════════════ */
.lv-hero {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color) 10%, transparent);
  border-radius: 14px;
  padding: 36px 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.lv-hero-logo {
  max-height: 150px;
  width: auto;
  display: block;
}

.lv-hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════
   SIDEBAR — matches original news-tabs structure exactly
══════════════════════════════════════════════════════════════ */
.lv-sidebar {
  position: sticky;
  top: 90px;
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
}

/* ── Header: white bg, maroon font (inverted from before) ── */
.lv-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0;
  background: var(--surface-color);
  gap: 8px;
}

.lv-sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  white-space: nowrap;
}

/* ── Pagination nav ── */
.lv-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lv-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 20px;
  border: none;
  background: transparent;
  color: var(--default-color);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--default-font);
  line-height: 1;
}

.lv-page-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 10%, transparent);
  color: var(--accent-color);
}

.lv-page-btn.active {
  background: var(--accent-color);
  color: #fff;
}

.lv-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lv-page-btn i { font-size: 0.95rem; }

/* ── Tab content wrapper — matches .news-hero .tab-content ── */
.lv-tab-content {
  padding: 1.5rem;
}

/* ── Individual item — matches .news-hero .tab-post exactly ── */
.lv-tab-post {
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.lv-tab-post:first-child {
  padding-top: 0;
}

.lv-tab-post:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

/* Image — matches .news-hero .tab-post img */
.lv-tab-post-img img {
  border-radius: 8px;
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

/* Text content — matches .news-hero .tab-post .post-content */
.lv-tab-post-body {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

/* PDF pill — accent-gold light style (like ll-badge) */
.lv-pdf-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: color-mix(in srgb, var(--accent-gold) 15%, transparent);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--accent-gold) 40%, transparent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.2s ease;
}

.lv-pdf-pill:hover {
  background: var(--accent-gold);
  color: #fff;
  border-color: var(--accent-gold);
}

/* Title — matches .news-hero .tab-post .post-title */
.lv-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.4;
  margin: 0.35rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Date + city */
.lv-post-meta {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color) 60%, transparent);
  line-height: 1.4;
  margin: 2px 0 0;
}

.lv-post-city {
  font-size: 0.8rem;
  color: #737577; /* Darkened from color-mix(--default-color 50%) for WCAG AA contrast (3.85:1 -> 4.62:1 vs white) */
  margin: 0;
}

/* Empty / error state */
.lv-sidebar-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color) 50%, transparent);
}


.post-meta .date{
	color:var(--default-color);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .lv-sidebar {
    position: static;
    margin-top: 32px;
  }
}

@media (max-width: 576px) {
  .lv-hero {
    padding: 24px 20px;
  }

  .lv-hero-logo {
    max-height: 110px;
  }
}
