/* ══════════════════════════════════════
   UMCA STUDIO — BLOG PAGE CSS
   Matches: Playfair Display / Montserrat
   Theme: Dark Luxury + Gold Accents
══════════════════════════════════════ */

:root {
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-dark: #a07830;
  --navy: #0a1628;
  --navy-mid: #112244;
  --white: #fff;
  --off-white: #f8f5ef;
  --cream: #faf7f2;
  --text: #1a1a2e;
  --text-muted: #6b6b8a;
  --border: #e8e3d8;
  --radius: 2px;
}

/* ── RESET / BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  /* font-family: "Montserrat", sans-serif; */
  background: var(--white);
  color: var(--text);
}
a {
  text-decoration: none;
  color: inherit;
}
/* img {
  display: block;
  max-width: 100%;
} */

/* ── REUSABLE ── */
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.gold-rule {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── BLOG HERO ── */
.blog-hero {
  position: relative;
  min-height: 480px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 60% at 20% 50%,
      rgba(201, 168, 76, 0.12),
      transparent
    ),
    radial-gradient(
      ellipse 50% 70% at 80% 30%,
      rgba(17, 34, 68, 0.8),
      transparent
    ),
    linear-gradient(160deg, #0a1628 0%, #112244 100%);
}
/* Decorative grid lines */
.blog-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.blog-hero-content {
  position: relative;
  z-index: 2;
}
.blog-hero .hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.blog-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.blog-hero-title em {
  font-style: italic;
  color: var(--gold);
}
.blog-hero-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.blog-hero-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto;
}

/* Search */
.blog-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.blog-search {
  width: 100%;
  padding: 14px 48px 14px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: 0.3s;
  border-radius: var(--radius);
}
.blog-search::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.blog-search:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}
.blog-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.85rem;
  pointer-events: none;
}

/* Category Pills (hero) */
.hero-cats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.cat-pill {
  padding: 8px 20px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.25s;
}
.cat-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cat-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* ── FEATURED SECTION ── */
.featured-section {
  padding: 70px 0 0;
  background: var(--cream);
}
.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
}
@media (max-width: 768px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
}
.featured-img-wrap {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}
.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-card:hover .featured-img-wrap img {
  transform: scale(1.04);
}
.featured-cat-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
}
.featured-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-meta-row {
  display: flex;
  gap: 18px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.post-meta-row i {
  color: var(--gold);
  margin-right: 5px;
}
.featured-title {
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 4px;
}
.featured-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: 1px solid var(--navy);
  transition: all 0.3s;
  align-self: flex-start;
}
.btn-read-more:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-read-more i {
  transition: 0.2s;
}
.btn-read-more:hover i {
  transform: translateX(4px);
}

/* ── MAIN BLOG ── */
.blog-main {
  background: var(--cream);
  padding: 60px 0 80px;
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
}

/* Section header row */
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.sort-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.sort-select {
  padding: 7px 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  color: var(--text);
  outline: none;
  cursor: pointer;
  border-radius: var(--radius);
}
.sort-select:focus {
  border-color: var(--gold);
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

.post-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.post-img-link {
  display: block;
}
.post-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy);
}
.post-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-img-wrap img {
  transform: scale(1.06);
}
.post-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.5), transparent 60%);
}
.post-cat-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
}

.post-body {
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-title {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 10px;
}
.post-title a {
  transition: color 0.2s;
}
.post-title a:hover {
  color: var(--gold);
}
.post-excerpt {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.post-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}
.post-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.post-link:hover {
  gap: 9px;
}

/* No Results */
.no-results {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  gap: 14px;
}
.no-results i {
  font-size: 2.5rem;
  color: var(--border);
}

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: 40px;
}
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-load-more:hover {
  background: var(--navy);
  color: var(--gold);
}

/* ── SIDEBAR ── */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.widget-header {
  background: var(--navy);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 20px;
}
.sidebar-about {
  padding: 18px 20px;
}
.sidebar-logo {
  width: 262px;
  height: 106px;
  object-fit: scale-down;
  margin: 0 auto 14px;
}
.sidebar-about p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
}

/* Popular Posts */
.popular-list {
  padding: 10px 0;
}
.popular-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  cursor: pointer;
}
.popular-item:last-child {
  border-bottom: none;
}
.popular-item:hover {
  background: var(--off-white);
}
.popular-num {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.2);
  line-height: 1;
  min-width: 28px;
  transition: color 0.2s;
}
.popular-item:hover .popular-num {
  color: var(--gold);
}
.popular-title {
  font-size: 0.8rem;
  color: var(--navy);
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 4px;
}
.popular-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.popular-meta i {
  color: var(--gold);
  margin-right: 4px;
}

/* Categories List */
.cat-list {
  padding: 8px 0;
}
.cat-list-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.cat-list-item:last-child {
  border-bottom: none;
}
.cat-list-item i {
  color: var(--gold);
  font-size: 0.8rem;
  width: 16px;
}
.cat-list-item span:first-of-type {
  flex: 1;
}
.cat-list-item:hover {
  background: var(--off-white);
  color: var(--navy);
}
.cat-list-item.active {
  background: var(--off-white);
  color: var(--navy);
  font-weight: 700;
}
.cat-count {
  background: var(--navy);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Newsletter Widget */
.newsletter-widget {
  background: var(--navy) !important;
}
.newsletter-widget .widget-header {
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.newsletter-widget > *:not(.widget-header) {
  padding: 0 20px;
}
.newsletter-widget > p {
  padding-top: 18px;
}
.news-input {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 10px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  outline: none;
  border-radius: var(--radius);
  transition: 0.3s;
}
.news-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.news-input:focus {
  border-color: var(--gold);
}
.news-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 40px);
  margin: 0 20px 14px;
  padding: 12px;
  background: var(--gold);
  border: none;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: 0.3s;
}
.news-btn:hover {
  background: var(--gold-light);
}

/* Tags */
.tags-wrap {
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 5px 12px;
  border: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--text-muted);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── CTA STRIP (reuse from main) ── */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6a 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 168, 76, 0.1),
    transparent 70%
  );
}
.cta-strip h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 28px;
  position: relative;
}
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  position: relative;
  transition: 0.3s;
}
.btn-navy:hover {
  background: var(--gold-light);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .featured-body {
    padding: 28px 24px;
  }
  .featured-title {
    font-size: 1.3rem;
  }
  .blog-layout {
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .hero-cats {
    gap: 8px;
  }
  .cat-pill {
    font-size: 0.65rem;
    padding: 6px 14px;
  }
}
