/*
Theme Name: Railclick Theme
Theme URI: https://railclick.blog
Description: Child theme for Hello Elementor — Railclick Blog
Author: IDO
Author URI: https://railclick.blog
Template: hello-elementor
Version: 1.0.0
Text Domain: railclick-theme
*/

/* ============================================
   DESIGN TOKENS — Figma: Blog Railclick
   ============================================ */
:root {
  /* Colors */
  --rc-teal-dark:     #006970;
  --rc-teal-light:    #0da3ae;
  --rc-teal-mid:      #0f766e;
  --rc-navy:          #141c28;
  --rc-body:          #3d494a;
  --rc-muted:         #5b6371;
  --rc-slate:         #475569;
  --rc-red:           #b42434;
  --rc-bg:            #f8f9ff;
  --rc-bg-blue:       #e6eeff;
  --rc-bg-card:       #eff3ff;
  --rc-dark:          #29313d;
  --rc-border:        rgba(188, 201, 202, 0.2);
  --rc-white:         #ffffff;

  /* Gradient */
  --rc-gradient:      linear-gradient(160deg, #006970 0%, #0da3ae 100%);

  /* Typography */
  --rc-font-heading:  'Plus Jakarta Sans', sans-serif;
  --rc-font-body:     'Inter', sans-serif;

  /* Radius */
  --rc-radius-sm:     6px;
  --rc-radius-md:     9px;
  --rc-radius-lg:     24px;
  --rc-radius-xl:     32px;
  --rc-radius-full:   9999px;

  /* Shadows */
  --rc-shadow-sm:     0 1px 2px 0 rgba(0,0,0,0.05);
  --rc-shadow-md:     0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --rc-shadow-lg:     0 25px 50px -12px rgba(0,0,0,0.25);
  --rc-shadow-teal:   0 10px 15px -3px rgba(0,105,112,0.2), 0 4px 6px -4px rgba(0,105,112,0.2);
  --rc-shadow-red:    0 10px 15px -3px rgba(180,36,52,0.3), 0 4px 6px -4px rgba(180,36,52,0.3);

  /* Spacing */
  --rc-max-width:     1280px;
  --rc-section-gap:   128px;
  --rc-section-px:    32px;
}

/* ============================================
   BASE
   ============================================ */
body {
  background-color: var(--rc-bg);
  font-family: var(--rc-font-body);
  color: var(--rc-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: var(--rc-font-heading);
  color: var(--rc-navy);
  letter-spacing: -0.03em;
}

a {
  color: var(--rc-teal-dark);
  text-decoration: none;
}

a:hover {
  color: var(--rc-teal-light);
}

/* ============================================
   NAVBAR
   ============================================ */
.site-header,
#site-header,
.elementor-location-header {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--rc-shadow-sm);
}

/* Logo */
.site-branding .site-title a,
.elementor-site-title a {
  font-family: var(--rc-font-heading);
  font-weight: 700;
  font-size: 24px;
  color: #134e4a !important;
  letter-spacing: -0.05em;
}

/* Nav links */
.main-navigation a,
.elementor-nav-menu a {
  font-family: var(--rc-font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--rc-slate) !important;
  letter-spacing: -0.025em;
  transition: color 0.2s;
}

.main-navigation a:hover,
.elementor-nav-menu a:hover {
  color: var(--rc-teal-mid) !important;
}

.main-navigation .current-menu-item > a,
.elementor-nav-menu .current-menu-item > a {
  color: var(--rc-teal-mid) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--rc-teal-mid);
  padding-bottom: 4px;
}

/* ============================================
   BOTONES GLOBALES
   ============================================ */
.rc-btn-primary,
.elementor-button.rc-btn-primary {
  background: var(--rc-gradient);
  color: var(--rc-white) !important;
  font-family: var(--rc-font-body);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--rc-radius-full);
  padding: 17px 32px;
  border: none;
  box-shadow: var(--rc-shadow-teal);
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rc-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.rc-btn-secondary,
.elementor-button.rc-btn-secondary {
  background: transparent;
  color: var(--rc-teal-dark) !important;
  font-family: var(--rc-font-body);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--rc-radius-full);
  padding: 17px 33px;
  border: 1px solid var(--rc-border);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.rc-btn-secondary:hover {
  border-color: var(--rc-teal-dark);
  background: rgba(0,105,112,0.05);
}

.rc-btn-red,
.elementor-button.rc-btn-red {
  background: var(--rc-red);
  color: var(--rc-white) !important;
  font-family: var(--rc-font-body);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--rc-radius-full);
  padding: 17px 40px;
  border: none;
  box-shadow: var(--rc-shadow-red);
  transition: opacity 0.2s, transform 0.2s;
}

.rc-btn-red:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ============================================
   BADGE / ETIQUETA
   ============================================ */
.rc-badge {
  background: #d8e0f0;
  color: var(--rc-muted);
  font-family: var(--rc-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--rc-radius-sm);
  display: inline-block;
}

/* ============================================
   HERO SECTION
   ============================================ */
.rc-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--rc-max-width);
  margin: 0 auto;
  padding: 96px var(--rc-section-px) 0;
  min-height: 730px;
  align-items: center;
}

.rc-hero__title {
  font-family: var(--rc-font-heading);
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--rc-navy);
  margin: 0;
}

.rc-hero__title .gradient {
  background: var(--rc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rc-hero__subtitle {
  font-size: 18px;
  line-height: 1.625;
  color: var(--rc-body);
  max-width: 448px;
}

.rc-hero__image {
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  box-shadow: var(--rc-shadow-lg);
  height: 730px;
  position: relative;
}

.rc-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.rc-section-title {
  font-family: var(--rc-font-heading);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.025em;
  color: var(--rc-navy);
  line-height: 1.1;
}

.rc-section-subtitle {
  font-size: 16px;
  color: var(--rc-body);
  line-height: 1.5;
}

/* ============================================
   DESTINATION CARDS
   ============================================ */
.rc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rc-card {
  background: var(--rc-white);
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  box-shadow: var(--rc-shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.rc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rc-shadow-md);
}

.rc-card__image {
  height: 384px;
  overflow: hidden;
}

.rc-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.rc-card:hover .rc-card__image img {
  transform: scale(1.03);
}

.rc-card__body {
  padding: 32px;
}

.rc-card__title {
  font-family: var(--rc-font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--rc-navy);
}

.rc-card__price {
  font-family: var(--rc-font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--rc-red);
}

.rc-card__desc {
  font-size: 14px;
  color: var(--rc-body);
  line-height: 1.625;
}

.rc-card__divider {
  border: none;
  border-top: 1px solid rgba(188,201,202,0.1);
  margin: 12px 0;
}

.rc-card__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-navy);
}

/* ============================================
   SHARED JOURNEYS (PHOTO GRID)
   ============================================ */
.rc-journeys-section {
  background: var(--rc-bg-blue);
  padding: 96px 0;
}

.rc-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  height: 596px;
}

.rc-photo-grid__item {
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--rc-shadow-sm);
}

.rc-photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.rc-photo-grid__item:hover img {
  transform: scale(1.05);
}

.rc-photo-grid__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: white;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}

.rc-photo-grid__item:hover .rc-photo-grid__caption {
  opacity: 1;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.rc-newsletter {
  background: var(--rc-dark);
  border-radius: var(--rc-radius-xl);
  padding: 80px;
  position: relative;
  overflow: hidden;
  max-width: var(--rc-max-width);
  margin: 0 auto;
}

.rc-newsletter::before {
  content: 'DISPATCH';
  position: absolute;
  right: 80px;
  top: 40px;
  font-family: var(--rc-font-heading);
  font-weight: 800;
  font-size: 128px;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
  white-space: nowrap;
}

.rc-newsletter::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: var(--rc-teal-dark);
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.2;
}

.rc-newsletter__title {
  font-family: var(--rc-font-heading);
  font-weight: 800;
  font-size: 48px;
  color: var(--rc-white);
  line-height: 1;
  margin-bottom: 16px;
}

.rc-newsletter__text {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.625;
  margin-bottom: 32px;
  max-width: 672px;
}

.rc-newsletter__form {
  display: flex;
  gap: 16px;
  align-items: center;
}

.rc-newsletter__input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--rc-border);
  border-radius: var(--rc-radius-full);
  padding: 19px 33px;
  font-size: 16px;
  color: #64748b;
  font-family: var(--rc-font-body);
  outline: none;
  transition: border-color 0.2s;
}

.rc-newsletter__input:focus {
  border-color: var(--rc-teal-light);
  color: white;
}

.rc-newsletter__input::placeholder {
  color: #64748b;
}

/* ============================================
   MAP SECTION
   ============================================ */
.rc-map-section {
  background: var(--rc-bg-card);
  border-radius: var(--rc-radius-lg);
  padding: 48px;
  text-align: center;
  max-width: var(--rc-max-width);
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer,
#site-footer,
.elementor-location-footer {
  background: var(--rc-dark) !important;
  color: #94a3b8;
}

.site-footer a,
.elementor-location-footer a {
  color: #94a3b8 !important;
  font-size: 14px;
  transition: color 0.2s;
}

.site-footer a:hover,
.elementor-location-footer a:hover {
  color: var(--rc-white) !important;
}

.site-footer .site-info,
.site-footer p {
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* ============================================
   BLOG — LISTA DE POSTS
   ============================================ */
.rc-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--rc-max-width);
  margin: 0 auto;
  padding: 0 var(--rc-section-px);
}

.rc-post-card {
  background: var(--rc-white);
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  box-shadow: var(--rc-shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.rc-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.rc-post-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.rc-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.rc-post-card:hover .rc-post-card__thumb img {
  transform: scale(1.05);
}

.rc-post-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rc-post-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-teal-dark);
}

.rc-post-card__title {
  font-family: var(--rc-font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--rc-navy);
  line-height: 1.3;
  flex: 1;
}

.rc-post-card__title a {
  color: inherit !important;
  transition: color 0.2s;
}

.rc-post-card__title a:hover {
  color: var(--rc-teal-dark) !important;
}

.rc-post-card__meta {
  font-size: 12px;
  color: var(--rc-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.rc-post-card__meta::before {
  content: '';
  display: block;
  height: 1px;
  background: rgba(188,201,202,0.2);
  width: 100%;
}

/* ============================================
   SINGLE POST
   ============================================ */
.rc-single {
  max-width: 768px;
  margin: 0 auto;
  padding: 64px var(--rc-section-px);
}

.rc-single__header {
  margin-bottom: 48px;
}

.rc-single__cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-teal-dark);
  margin-bottom: 16px;
  display: block;
}

.rc-single__title {
  font-family: var(--rc-font-heading);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -0.03em;
  color: var(--rc-navy);
  line-height: 1.1;
  margin-bottom: 24px;
}

.rc-single__meta {
  font-size: 14px;
  color: var(--rc-muted);
  display: flex;
  gap: 16px;
  align-items: center;
}

.rc-single__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

.rc-single__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Post content typography */
.entry-content,
.rc-single__content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--rc-body);
}

.entry-content h2,
.rc-single__content h2 {
  font-family: var(--rc-font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--rc-navy);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.entry-content h3,
.rc-single__content h3 {
  font-family: var(--rc-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--rc-navy);
  margin-top: 36px;
  margin-bottom: 12px;
}

.entry-content p,
.rc-single__content p {
  margin-bottom: 24px;
}

.entry-content a,
.rc-single__content a {
  color: var(--rc-teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol,
.rc-single__content ul,
.rc-single__content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.entry-content li,
.rc-single__content li {
  margin-bottom: 8px;
}

.entry-content blockquote,
.rc-single__content blockquote {
  border-left: 4px solid var(--rc-teal-dark);
  padding: 16px 24px;
  background: rgba(0,105,112,0.05);
  border-radius: 0 var(--rc-radius-sm) var(--rc-radius-sm) 0;
  margin: 32px 0;
  font-style: italic;
  color: var(--rc-body);
}

/* ============================================
   TAGS / CATEGORIES
   ============================================ */
.rc-tag {
  display: inline-block;
  background: rgba(0,105,112,0.08);
  color: var(--rc-teal-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--rc-radius-full);
  letter-spacing: 0.05em;
}

.rc-tag:hover {
  background: rgba(0,105,112,0.15);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.rc-container {
  max-width: var(--rc-max-width);
  margin: 0 auto;
  padding: 0 var(--rc-section-px);
}

.rc-section {
  padding: var(--rc-section-gap) 0;
}

.rc-text-gradient {
  background: var(--rc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   ELEMENTOR OVERRIDES
   ============================================ */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--rc-font-heading) !important;
}

.elementor-widget-text-editor {
  font-family: var(--rc-font-body) !important;
  color: var(--rc-body) !important;
}

.elementor-button {
  font-family: var(--rc-font-body) !important;
  font-weight: 600 !important;
  border-radius: var(--rc-radius-full) !important;
}

/* Page background */
.elementor-page,
.elementor-template-full-width .elementor-inner {
  background-color: var(--rc-bg) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .rc-hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .rc-hero__title {
    font-size: 52px;
  }

  .rc-hero__image {
    height: 400px;
  }

  .rc-cards-grid,
  .rc-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --rc-section-gap: 64px;
  }

  .rc-hero__title {
    font-size: 40px;
  }

  .rc-cards-grid,
  .rc-posts-grid,
  .rc-photo-grid {
    grid-template-columns: 1fr;
  }

  .rc-newsletter {
    padding: 48px 32px;
  }

  .rc-newsletter::before {
    display: none;
  }

  .rc-newsletter__form {
    flex-direction: column;
  }

  .rc-newsletter__input {
    width: 100%;
  }

  .rc-single__title {
    font-size: 32px;
  }
}

/* ============================================
   BLOG HOME — rch-* (Cinematic Landing)
   ============================================ */

/* ── Hero ──────────────────────────────────── */
.rch-hero {
  position: relative;
  min-height: min(90vh, 920px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--rc-navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.rch-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20,28,40,0.78) 0%,
    rgba(20,28,40,0.45) 48%,
    rgba(20,28,40,0.08) 100%
  );
  z-index: 1;
}

.rch-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 80px;
  width: 100%;
}

.rch-hero__inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rch-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 9999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--rc-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: fit-content;
}

.rch-hero__title {
  font-family: var(--rc-font-heading);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;
  margin: 0;
}

.rch-hero__excerpt {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.5;
  color: #e2e8f0;
  max-width: 560px;
  margin: 0;
}

.rch-hero__btn {
  align-self: flex-start;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
}

/* ── Trending Topics ───────────────────────── */
.rch-trending {
  background: var(--rc-bg-card);
  padding: 20px 0;
  border-bottom: 1px solid rgba(188,201,202,0.15);
}

.rch-trending__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.rch-trending__label {
  font-family: var(--rc-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-body);
  white-space: nowrap;
  flex-shrink: 0;
}

.rch-trending__pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rch-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 22px;
  background: #d8e0f0;
  border-radius: 9999px;
  font-family: var(--rc-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--rc-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.rch-pill:hover    { background: var(--rc-teal-dark); color: #fff; }
.rch-pill--active  { background: var(--rc-teal-dark); color: #fff; }

/* ── Featured Story ────────────────────────── */
.rch-featured {
  background: var(--rc-bg);
  padding: 96px 0;
}

.rch-featured__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
}

.rch-featured__media {
  position: relative;
}

.rch-featured__media-blur {
  position: absolute;
  top: -48px;
  left: -48px;
  width: 192px;
  height: 192px;
  border-radius: 50%;
  background: rgba(13,163,174,0.18);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}

.rch-featured__media-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.rch-featured__media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rch-featured__media-placeholder {
  width: 100%;
  height: 100%;
  background: var(--rc-bg-card);
  min-height: 360px;
}

.rch-featured__media-badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 4px 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border-radius: var(--rc-radius-sm);
  font-family: var(--rc-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rc-teal-dark);
}

.rch-featured__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rch-featured__label {
  font-family: var(--rc-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-red);
}

.rch-featured__title {
  font-family: var(--rc-font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--rc-navy);
  margin: 0;
}

.rch-featured__excerpt {
  font-size: 18px;
  line-height: 1.65;
  color: var(--rc-body);
  margin: 8px 0 0;
}

.rch-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rc-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--rc-teal-dark);
  text-decoration: none;
  margin-top: 8px;
  transition: gap 0.2s, color 0.2s;
}
.rch-featured__link:hover { gap: 14px; color: var(--rc-teal-light); }
.rch-featured__link svg { flex-shrink: 0; }

/* ── Posts Grid ─────────────────────────────── */
.rch-posts {
  background: var(--rc-bg-card);
  padding: 96px 0;
}

.rch-posts__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 16px;
  flex-wrap: wrap;
}

.rch-posts__title {
  font-family: var(--rc-font-heading);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.025em;
  color: var(--rc-navy);
  margin: 0 0 8px;
  line-height: 1.1;
}

.rch-posts__subtitle {
  font-family: var(--rc-font-body);
  font-size: 16px;
  color: var(--rc-body);
  margin: 0;
}

.rch-posts__archive-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rc-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--rc-navy);
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s, color 0.2s;
  flex-shrink: 0;
}
.rch-posts__archive-link:hover { gap: 12px; color: var(--rc-teal-dark); }

.rch-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rch-posts__empty {
  color: var(--rc-muted);
  text-align: center;
  padding: 64px;
  grid-column: 1 / -1;
}

.rch-posts__load-more {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.rch-load-more-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}

/* ── Post Card ──────────────────────────────── */
.rch-card {
  background: #fff;
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(188,201,202,0.10);
  box-shadow: var(--rc-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.rch-card:hover { transform: translateY(-4px); box-shadow: var(--rc-shadow-md); }

.rch-card__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rc-bg-card);
}
.rch-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.rch-card:hover .rch-card__image img { transform: scale(1.04); }

.rch-card__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: #e6eeff;
}

.rch-card__cat {
  position: absolute;
  top: 13px;
  left: 16px;
  padding: 3px 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border-radius: var(--rc-radius-sm);
  font-family: var(--rc-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rc-navy);
}

.rch-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.rch-card__meta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.rch-card__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--rc-body);
  font-family: var(--rc-font-body);
}

.rch-card__title {
  font-family: var(--rc-font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--rc-navy);
  margin: 4px 0 0;
}
.rch-card__title a { color: inherit; text-decoration: none; }
.rch-card__title a:hover { color: var(--rc-teal-dark); }

.rch-card__excerpt {
  font-family: var(--rc-font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--rc-body);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rch-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rc-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--rc-teal-dark);
  text-decoration: none;
  transition: gap 0.2s;
  margin-top: 4px;
}
.rch-card__link:hover { gap: 12px; }

/* ── Shared Journeys (blog home) ─────────────── */
.rch-journeys {
  padding: 96px 0;
  background: var(--rc-bg);
}

/* ── Responsive Blog Home ─────────────────────── */
@media (max-width: 1024px) {
  .rch-featured__grid { grid-template-columns: 1fr; gap: 48px; }
  .rch-posts__grid    { grid-template-columns: repeat(2, 1fr); }
  .rch-hero__title    { font-size: clamp(40px, 6vw, 72px); }
}

@media (max-width: 768px) {
  .rch-hero           { min-height: 80vh; }
  .rch-hero__excerpt  { display: none; }
  .rch-trending__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rch-posts__grid    { grid-template-columns: 1fr; }
  .rch-posts__header  { flex-direction: column; align-items: flex-start; }
  .rch-card__body     { padding: 20px; }
  .rch-featured__excerpt { font-size: 16px; }
}

@media (max-width: 480px) {
  .rch-trending__pills { gap: 8px; }
  .rch-pill            { font-size: 13px; padding: 6px 16px; }
}
