/* ===== BLOG PAGE (RSS MIRROR) ===== */

/* ===== HERO ===== */
.blog-hero {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 6rem;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(245, 193, 61, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(245, 193, 61, 0.06) 0%, transparent 45%);
  pointer-events: none;
}
.blog-hero-bg-text {
  position: absolute;
  right: -2vw;
  bottom: -4vw;
  font-family: var(--display);
  font-size: clamp(10rem, 30vw, 34rem);
  font-weight: 200;
  font-style: italic;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 227, 0.06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.blog-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-hero-meta {
  display: flex;
  gap: 2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(244, 239, 227, 0.5);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.blog-hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.blog-hero-meta span::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}

.blog-hero h1 {
  font-family: var(--display);
  font-size: clamp(3.2rem, 7.8vw, 8.5rem);
  font-weight: 250;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--cream);
  margin-bottom: 2rem;
}
.blog-hero h1 em { font-style: italic; color: var(--yellow); }
.blog-hero-sub {
  font-size: 1.1rem;
  color: rgba(244, 239, 227, 0.7);
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.blog-hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.blog-btn-ghost {
  background: transparent;
  border-color: rgba(244, 239, 227, 0.35) !important;
  color: var(--cream) !important;
}
.blog-btn-ghost::before { background: rgba(244, 239, 227, 0.12) !important; }
.blog-btn-ghost:hover { color: var(--cream) !important; border-color: rgba(244, 239, 227, 0.6) !important; }

/* ===== SEARCH ===== */
.blog-search {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 239, 227, 0.12);
  padding: 1.25rem 1.25rem 1.15rem;
  border-radius: 10px;
  max-width: 720px;
}
.blog-search-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.6);
  margin-bottom: 0.6rem;
}
.blog-search-input {
  width: 100%;
  background: rgba(244, 239, 227, 0.06);
  border: 1px solid rgba(244, 239, 227, 0.18);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  outline: none;
  cursor: text;
}
.blog-search-input::placeholder { color: rgba(244, 239, 227, 0.5); }
.blog-search-input:focus {
  border-color: rgba(245, 193, 61, 0.55);
  box-shadow: 0 0 0 4px rgba(245, 193, 61, 0.12);
}
.blog-search-meta {
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.45);
}

/* ===== PAGE ===== */
.blog-page {
  background: var(--cream);
  padding: 7.5rem 2rem;
  border-top: 1px solid var(--border);
}
.blog-page-header { margin-bottom: 4.5rem; max-width: 900px; }

.blog-empty {
  border: 1px dashed rgba(26, 37, 64, 0.25);
  padding: 2.25rem 2rem;
  max-width: 920px;
  background: var(--cream-light);
}
.blog-empty-title {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 320;
  font-style: italic;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.blog-empty p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.blog-empty a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--cream);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(26, 37, 64, 0.16);
}
.blog-card-link { display: block; }

.blog-card-media {
  position: relative;
  height: 200px;
  background: var(--navy-deep);
  overflow: hidden;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
  transform: scale(1.02);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover .blog-card-media img { transform: scale(1.08); }

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(244, 239, 227, 0.9);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245, 193, 61, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(245, 193, 61, 0.08) 0%, transparent 45%);
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
}

.blog-card-body {
  padding: 1.6rem 1.6rem 1.4rem;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.blog-card-date {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.blog-card-src {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(245, 193, 61, 0.35);
  padding: 0.25rem 0.55rem;
  border-radius: 100px;
}

.blog-card-title {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 320;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 0.9rem;
}
.blog-card-excerpt {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.blog-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.blog-card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s, border-color 0.35s;
}
.blog-card:hover .blog-card-arrow {
  transform: rotate(-45deg);
  background: var(--yellow);
  border-color: var(--yellow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .blog-hero { padding: 5rem 1.25rem 4.5rem; }
  .blog-page { padding: 5.5rem 1.25rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-media { height: 190px; }
}
