/* ============================================================
   SenderoX SEO & Blog Styles
   Add in WPCode as: CSS Snippet → Site Wide → Frontend Only
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

/* ---------- Variables ---------- */
:root {
    --sx-gold: #D4A84B;
    --sx-gold-light: #E2BC6A;
    --sx-gold-dark: #C19A3E;
    --sx-navy: #2D3A4A;
    --sx-navy-light: #3D4D5F;
    --sx-navy-dark: #232D3A;
    --sx-cream: #F5F2ED;
    --sx-gray-light: #E5E5E5;
    --sx-gray: #9CA3AF;
    --sx-font-display: 'Playfair Display', Georgia, serif;
    --sx-font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Page Reset (Canvas) ---------- */
.sx-canvas { margin: 0; padding: 0; font-family: var(--sx-font-body); background: #fff; color: var(--sx-navy); line-height: 1.6; overflow-x: hidden; }
.sx-canvas * { box-sizing: border-box; }

/* ---------- Header ---------- */
.sx-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 1.5rem; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 2px 20px rgba(45,58,74,0.08); }
.sx-header-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.sx-logo { display: flex; align-items: center; gap: 0.6rem; font-size: 1.5rem; font-weight: 700; color: var(--sx-navy); text-decoration: none; letter-spacing: -0.02em; }
.sx-logo-icon { width: 36px; height: 36px; display: inline-block; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='6' stroke='%232D3A4A' stroke-width='2.5' fill='none'/%3E%3Cline x1='20' y1='4' x2='20' y2='10' stroke='%232D3A4A' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='20' y1='30' x2='20' y2='36' stroke='%232D3A4A' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='4' y1='20' x2='10' y2='20' stroke='%232D3A4A' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='30' y1='20' x2='36' y2='20' stroke='%232D3A4A' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='8.69' y1='8.69' x2='12.93' y2='12.93' stroke='%232D3A4A' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='27.07' y1='27.07' x2='31.31' y2='31.31' stroke='%232D3A4A' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='8.69' y1='31.31' x2='12.93' y2='27.07' stroke='%232D3A4A' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='27.07' y1='12.93' x2='31.31' y2='8.69' stroke='%232D3A4A' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/contain; }
.sx-header-nav { display: flex; align-items: center; gap: 1.5rem; }
.sx-header-nav a { font-size: 0.95rem; color: var(--sx-navy); text-decoration: none; font-weight: 600; }
.sx-nav-cta { background: var(--sx-gold) !important; color: var(--sx-navy) !important; padding: 0.7rem 1.5rem; border-radius: 6px; font-weight: 700 !important; transition: all 0.3s ease; }
.sx-nav-cta:hover { background: var(--sx-gold-light) !important; transform: translateY(-2px); }

.sx-lang-switcher { position: relative; }
.sx-lang-btn { display: flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; color: var(--sx-navy); background: rgba(45,58,74,0.06); border: none; cursor: pointer; font-family: inherit; }
.sx-lang-btn:hover { background: rgba(45,58,74,0.12); }
.sx-lang-globe { width: 16px; height: 16px; display: inline-block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D3A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E") no-repeat center/contain; }
.sx-lang-arrow { font-size: 0.6rem; opacity: 0.5; }
.sx-lang-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.12); overflow: hidden; min-width: 140px; z-index: 200; }
.sx-lang-dropdown.open { display: block; }
.sx-lang-dropdown a { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; font-size: 0.85rem; font-weight: 600; color: var(--sx-navy); text-decoration: none; }
.sx-lang-dropdown a:hover { background: var(--sx-cream); }
.sx-lang-dropdown a.active { background: var(--sx-cream); color: var(--sx-gold-dark); }
.sx-lang-code { font-size: 0.7rem; color: var(--sx-gray); margin-left: auto; }

/* ---------- Hero ---------- */
.sx-hero { padding: calc(80px + 3rem) 1.5rem 3rem; background: var(--sx-cream); text-align: center; }
.sx-hero-inner { max-width: 700px; margin: 0 auto; }
.sx-hero-title { font-family: var(--sx-font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; line-height: 1.2; color: var(--sx-navy); margin-bottom: 1.5rem; }
.sx-hero-title em { color: var(--sx-gold-dark); font-style: italic; }
.sx-hero-subtitle { font-size: 1.15rem; color: var(--sx-navy-light); line-height: 1.7; }
.sx-breadcrumb { font-size: 0.85rem; color: var(--sx-gray); margin-bottom: 1.5rem; }
.sx-breadcrumb a { color: var(--sx-gold-dark); text-decoration: none; }
.sx-breadcrumb a:hover { text-decoration: underline; }

/* ---------- Content ---------- */
.sx-content { padding: 6rem 1.5rem; max-width: 800px; margin: 0 auto; }
.sx-content h2 { font-family: var(--sx-font-display); font-size: 1.75rem; font-weight: 600; color: var(--sx-navy); margin-top: 2.5rem; margin-bottom: 1rem; }
.sx-content p { font-size: 1.05rem; color: var(--sx-navy-light); line-height: 1.7; margin-bottom: 1.1rem; }
.sx-content img { width: 100%; height: auto; border-radius: 16px; margin: 1.5rem 0; }
.sx-img-credit { font-size: 0.75rem; color: var(--sx-gray); margin-top: -0.75rem; margin-bottom: 1.5rem; }
.sx-img-credit a { color: var(--sx-gray); }

/* ---------- Stats Grid ---------- */
.sx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin: 1.5rem 0 3rem; }
.sx-stat { background: var(--sx-cream); border-radius: 16px; padding: 1.5rem; text-align: center; }
.sx-stat-value { font-size: 1.5rem; font-weight: 700; color: var(--sx-navy); display: block; }
.sx-stat-label { font-size: 0.85rem; color: var(--sx-gray); }

/* ---------- Stages Table ---------- */
.sx-stages-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.sx-stages-table th { background: var(--sx-navy); color: #fff; padding: 0.75rem; font-size: 0.85rem; text-align: left; }
.sx-stages-table th:first-child { border-radius: 10px 0 0 0; }
.sx-stages-table th:last-child { border-radius: 0 10px 0 0; }
.sx-stages-table td { padding: 0.75rem; border-bottom: 1px solid var(--sx-gray-light); font-size: 0.95rem; }
.sx-stages-table tr:hover { background: var(--sx-cream); }
.sx-stages-table a { color: var(--sx-gold-dark); text-decoration: none; font-weight: 600; }
.sx-stages-table a:hover { text-decoration: underline; }

/* ---------- Difficulty Badge ---------- */
.sx-difficulty { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.8rem; font-weight: 700; }
.sx-difficulty.hard { background: #FEE2E2; color: #DC2626; }
.sx-difficulty.moderate { background: #FEF3C7; color: #D97706; }
.sx-difficulty.easy { background: #D1FAE5; color: #059669; }

/* ---------- Stage Navigation ---------- */
.sx-stage-nav { display: flex; justify-content: space-between; gap: 1rem; margin: 3rem 0; }
.sx-stage-nav a { flex: 1; background: var(--sx-cream); padding: 1rem 1.25rem; border-radius: 12px; text-decoration: none; color: var(--sx-navy); transition: background 0.2s; }
.sx-stage-nav a:hover { background: var(--sx-gray-light); }
.sx-stage-nav a small { color: var(--sx-gray); font-size: 0.8rem; display: block; margin-bottom: 0.25rem; }
.sx-stage-nav a strong { font-size: 0.95rem; }
.sx-stage-nav a.next { text-align: right; }

/* ---------- Stage Map ---------- */
.sx-map { width: 100%; height: 300px; border-radius: 16px; border: 2px solid var(--sx-gray-light); margin: 1.5rem 0; }

/* ---------- Premium CTA ---------- */
.sx-premium { padding: 6rem 1.5rem; background: var(--sx-navy); color: #fff; }
.sx-premium-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.sx-premium-badge { display: inline-block; background: var(--sx-gold); color: var(--sx-navy); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.sx-premium-title { font-family: var(--sx-font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; margin-bottom: 1.5rem; }
.sx-premium-desc { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 3rem; line-height: 1.7; }
.sx-cta-btn { display: inline-block; background: var(--sx-gold); color: var(--sx-navy); padding: 1rem 2.5rem; border-radius: 8px; font-size: 1.1rem; font-weight: 700; text-decoration: none; transition: all 0.3s ease; }
.sx-cta-btn:hover { background: var(--sx-gold-light); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(212,168,75,0.3); }

/* ---------- Footer ---------- */
.sx-footer { background: var(--sx-navy-dark); color: #fff; padding: 3rem 1.5rem; }
.sx-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.sx-footer-brand { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 700; }
.sx-footer-logo { width: 28px; height: 28px; display: inline-block; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='6' stroke='white' stroke-width='2.5' fill='none'/%3E%3Cline x1='20' y1='4' x2='20' y2='10' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='20' y1='30' x2='20' y2='36' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='4' y1='20' x2='10' y2='20' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='30' y1='20' x2='36' y2='20' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='8.69' y1='8.69' x2='12.93' y2='12.93' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='27.07' y1='27.07' x2='31.31' y2='31.31' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='8.69' y1='31.31' x2='12.93' y2='27.07' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='27.07' y1='12.93' x2='31.31' y2='8.69' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/contain; }
.sx-footer-links { display: flex; gap: 1.5rem; }
.sx-footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.sx-footer-links a:hover { color: var(--sx-gold); }
.sx-footer-copy { width: 100%; text-align: center; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ---------- Animations ---------- */
.sx-fade { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.sx-fade.visible { opacity: 1; transform: translateY(0); }

/* ---------- Blog Listing ---------- */
.sx-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; padding: 4rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.sx-blog-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(45,58,74,0.07); transition: all 0.3s ease; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.sx-blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(45,58,74,0.12); }
.sx-blog-card-img { width: 100%; height: 200px; object-fit: cover; background: var(--sx-cream); }
.sx-blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.sx-blog-card-cat { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sx-gold-dark); margin-bottom: 0.5rem; }
.sx-blog-card-title { font-family: var(--sx-font-display); font-size: 1.25rem; font-weight: 600; color: var(--sx-navy); line-height: 1.3; margin-bottom: 0.75rem; }
.sx-blog-card-excerpt { font-size: 0.9rem; color: var(--sx-navy-light); line-height: 1.6; flex: 1; }
.sx-blog-card-read { font-size: 0.85rem; font-weight: 700; color: var(--sx-gold-dark); margin-top: 1rem; }
.sx-blog-empty { text-align: center; padding: 4rem 1.5rem; color: var(--sx-gray); font-size: 1.1rem; }
.sx-blog-loading { text-align: center; padding: 2rem 1.5rem; color: var(--sx-gray); font-size: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .sx-header { padding: 1rem; }
    .sx-logo { font-size: 1.25rem; }
    .sx-stats { grid-template-columns: repeat(2, 1fr); }
    .sx-stage-nav { flex-direction: column; }
    .sx-footer-inner { flex-direction: column; text-align: center; }
    .sx-footer-links { flex-wrap: wrap; justify-content: center; }
    .sx-blog-grid { grid-template-columns: 1fr; padding: 2rem 1rem; }
}
/* ============================================================
   SenderoX — Load More button styles
   ADD THESE LINES at the end of your existing CSS file
   (do NOT replace the file — just append)
   ============================================================ */

.sx-load-more-container { text-align: center; padding: 1rem 1.5rem 4rem; max-width: 1200px; margin: 0 auto; }

.sx-load-more-btn {
    background: var(--sx-gold);
    color: var(--sx-navy);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--sx-font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}
.sx-load-more-btn:hover {
    background: var(--sx-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,168,75,0.25);
}
.sx-load-more-btn:active { transform: translateY(0); }

.sx-load-done {
    color: var(--sx-gray);
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
}

/* ============================================================
   SenderoX on Railway — server-rendered blog, pagination, 404
   ============================================================ */
.sx-site { background: #fff; }

/* Category chips */
.sx-blog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem 0; }
.sx-chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 1.1rem; border-radius: 100px; border: 1px solid var(--sx-gray-light); background: #fff; color: var(--sx-navy); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease; }
.sx-chip span { font-size: 0.75rem; font-weight: 700; color: var(--sx-gray); }
.sx-chip:hover { border-color: var(--sx-gold); color: var(--sx-gold-dark); }
.sx-chip.active { background: var(--sx-navy); border-color: var(--sx-navy); color: #fff; }
.sx-chip.active span { color: var(--sx-gold-light); }

/* Server-rendered grid: cards are visible immediately (no JS fade-in) */
.sx-blog-grid--server { padding-top: 2.5rem; }
.sx-blog-card:focus-visible { outline: 3px solid var(--sx-gold); outline-offset: 3px; }
.sx-blog-card-meta { font-size: 0.8rem; color: var(--sx-gray); margin-top: 0.9rem; }
.sx-blog-card-title { margin-top: 0; }

@media (min-width: 900px) {
    .sx-blog-card--featured { grid-column: span 2; flex-direction: row; }
    .sx-blog-card--featured .sx-blog-card-img { width: 55%; height: auto; min-height: 340px; }
    .sx-blog-card--featured .sx-blog-card-body { padding: 2.25rem; justify-content: center; }
    .sx-blog-card--featured .sx-blog-card-title { font-size: 1.75rem; }
    .sx-blog-card--featured .sx-blog-card-excerpt { flex: 0; font-size: 1rem; }
}

/* Pagination */
.sx-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4rem; padding: 0 1.5rem 4rem; }
.sx-page-link { min-width: 2.6rem; height: 2.6rem; padding: 0 0.9rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--sx-gray-light); color: var(--sx-navy); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.sx-page-link:hover { border-color: var(--sx-gold); color: var(--sx-gold-dark); }
.sx-page-link.current { background: var(--sx-gold); border-color: var(--sx-gold); color: var(--sx-navy); }
.sx-page-gap { color: var(--sx-gray); padding: 0 0.3rem; }

/* Call-to-action band (same look as the one inside posts) */
.sx-cta-band { padding: 4rem 1.5rem; background: var(--sx-navy); color: #fff; text-align: center; }
.sx-cta-band-inner { max-width: 700px; margin: 0 auto; }
.sx-cta-badge { display: inline-block; background: var(--sx-gold); color: var(--sx-navy); padding: 0.4rem 1.2rem; border-radius: 100px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.sx-cta-title { font-family: var(--sx-font-display); font-size: 2rem; font-weight: 600; color: #fff; margin: 0 0 1rem; }
.sx-cta-text { font-size: 1.1rem; color: rgba(255,255,255,0.9); line-height: 1.7; margin: 0 0 2rem; }
.sx-cta-button { display: inline-block; background: var(--sx-gold); color: var(--sx-navy) !important; padding: 1rem 2.5rem; border-radius: 8px; font-size: 1.05rem; font-weight: 700; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.sx-cta-button:hover { background: var(--sx-gold-light); transform: translateY(-2px); }

/* 404 */
.sx-404-code { font-family: var(--sx-font-display); font-size: 4.5rem; line-height: 1; color: var(--sx-gold); margin: 0 0 0.5rem; }
.sx-section-title { font-family: var(--sx-font-display); font-size: 1.6rem; font-weight: 600; text-align: center; color: var(--sx-navy); margin: 3.5rem 1.5rem 0; }

@media (max-width: 768px) {
    .sx-blog-filters { padding-top: 1.75rem; }
    .sx-cta-title { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
    .sx-blog-card, .sx-cta-button { transition: none; }
    .sx-blog-card:hover, .sx-cta-button:hover { transform: none; }
}

/* Mobile header: keep logo, Blog, CTA and language on one line (posts share this header) */
@media (max-width: 600px) {
    .sx-header { padding: 0.6rem 0.9rem; }
    .sx-logo { font-size: 1.1rem; gap: 0.4rem; white-space: nowrap; }
    .sx-logo-icon { width: 28px; height: 28px; }
    .sx-header-nav { gap: 0.7rem; }
    .sx-header-nav a { font-size: 0.85rem; white-space: nowrap; }
    .sx-nav-cta { padding: 0.5rem 0.8rem; font-size: 0.8rem !important; }
    .sx-lang-btn { padding: 0.35rem 0.5rem; }
}
@media (max-width: 420px) {
    .sx-lang-btn span:not(.sx-lang-globe) { display: none; }
    .sx-header-nav { gap: 0.55rem; }
}

/* Articles: less empty space between the title band and the text */
.sx-content { padding: 2.5rem 1.5rem 4rem; }
@media (max-width: 768px) { .sx-content { padding: 1.75rem 1.1rem 3rem; } }

/* ===== Route guides (/routes/, /es/rutas/ …) ===== */
.sx-nav-routes { white-space: nowrap; }
@media (max-width: 600px) { .sx-header-nav .sx-nav-routes { display: none; } }
.sx-routes-grid { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem 1rem; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.sx-route-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--sx-navy); box-shadow: 0 4px 24px rgba(45,58,74,0.08); border-top: 4px solid var(--route, var(--sx-gold)); transition: transform .25s ease, box-shadow .25s ease; }
.sx-route-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(45,58,74,0.14); }
.sx-route-card-img { width: 100%; height: 190px; object-fit: cover; background: var(--sx-cream); display: block; }
.sx-route-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.sx-route-card-title { font-family: var(--sx-font-display); font-size: 1.45rem; margin: 0; color: var(--sx-navy); }
.sx-route-card-text { margin: 0; color: var(--sx-navy-light); line-height: 1.55; font-size: .97rem; flex: 1; }
.sx-route-facts { list-style: none; padding: 0; margin: 1.6rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.sx-route-facts li { background: #fff; border-radius: 12px; padding: .6rem 1rem; box-shadow: 0 2px 10px rgba(45,58,74,0.06); display: flex; flex-direction: column; min-width: 110px; }
.sx-route-facts li span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #8a8f98; }
.sx-route-facts li strong { font-size: 1.05rem; color: var(--sx-navy); }
.sx-route-facts--small { margin: .2rem 0 .4rem; justify-content: flex-start; gap: .4rem; }
.sx-route-facts--small li { flex-direction: row; min-width: 0; padding: .3rem .7rem; box-shadow: none; background: var(--sx-cream); font-size: .85rem; border-radius: 100px; }
.sx-route-hero { border-bottom: 4px solid var(--route, var(--sx-gold)); }
.sx-route-wrap { max-width: 900px; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; }
.sx-route-intro p { font-size: 1.1rem; line-height: 1.75; color: var(--sx-navy-light); margin: 0 0 .8rem; }
.sx-route-note { font-size: .85rem !important; color: #8a8f98 !important; }
.sx-route-note--center { text-align: center; padding: 0 1.5rem 3rem; margin: 0; }
.sx-route-map { margin: 2rem 0; }
.sx-route-map img { width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: 0 4px 24px rgba(45,58,74,0.10); background: var(--sx-cream); }
.sx-route-section { margin-top: 2.75rem; }
.sx-route-h2 { font-family: var(--sx-font-display); font-size: 1.6rem; color: var(--sx-navy); margin: 0 0 1.1rem; }
.sx-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem .9rem; counter-reset: none; }
.sx-stage { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 10px; background: #fff; border: 1px solid var(--sx-gray-light); }
.sx-stage a { color: var(--sx-navy); text-decoration: none; font-weight: 600; }
.sx-stage a:hover { color: var(--sx-gold-dark); }
.sx-stage--plain span:last-child { color: var(--sx-navy-light); }
.sx-stage-n { flex: 0 0 auto; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--sx-cream); color: var(--sx-gold-dark); font-weight: 700; font-size: .85rem; }
.sx-town-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.sx-chip--plain { color: #8a8f98; border-style: dashed; }
.sx-blog-grid--tight { padding: 0; max-width: none; }
.sx-route-others { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 3.5rem; }
.sx-other-routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.sx-other-routes a { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border-radius: 12px; background: #fff; border: 1px solid var(--sx-gray-light); border-left: 4px solid var(--route, var(--sx-gold)); text-decoration: none; color: var(--sx-navy); }
.sx-other-routes a span { font-size: .85rem; color: #8a8f98; }
.sx-other-routes a:hover { border-color: var(--route, var(--sx-gold)); }
@media (max-width: 600px) {
    .sx-routes-grid { grid-template-columns: 1fr; padding: 2rem 1rem 1rem; }
    .sx-route-facts li { min-width: calc(50% - .6rem); }
    .sx-route-wrap { padding: 2rem 1.1rem 2.5rem; }
}
.sx-guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: .7rem; }
.sx-guide { display: flex; align-items: center; gap: .9rem; padding: .55rem; border-radius: 12px; background: #fff; border: 1px solid var(--sx-gray-light); text-decoration: none; color: var(--sx-navy); transition: border-color .2s ease, box-shadow .2s ease; }
.sx-guide:hover { border-color: var(--sx-gold); box-shadow: 0 4px 16px rgba(45,58,74,0.08); }
.sx-guide img, .sx-guide-ph { flex: 0 0 96px; width: 96px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--sx-cream); display: block; }
.sx-guide-title { font-weight: 600; line-height: 1.35; font-size: .97rem; }
@media (max-width: 600px) { .sx-guide-list { grid-template-columns: 1fr; } }

/* ===== Home: sections under the hero ===== */
.sx-home { background: #fff; font-family: var(--sx-font-body); color: var(--sx-navy); }
.sx-home-steps { background: var(--sx-cream); padding: 4rem 1.5rem; text-align: center; }
.sx-home-h2 { font-family: var(--sx-font-display); font-size: 2rem; font-weight: 600; color: var(--sx-navy); margin: 0 0 1.5rem; }
.sx-home-steps-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; text-align: left; }
.sx-home-steps-list li { background: #fff; border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: .45rem; box-shadow: 0 4px 20px rgba(45,58,74,0.06); }
.sx-home-steps-list strong { font-size: 1.1rem; }
.sx-home-steps-list span:last-child { color: var(--sx-navy-light); line-height: 1.55; }
.sx-home-step-n { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--sx-gold); color: var(--sx-navy); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.sx-home-actions { margin: 2rem 0 0; display: flex; gap: 1.25rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.sx-home-link { color: var(--sx-gold-dark); font-weight: 700; text-decoration: none; white-space: nowrap; }
.sx-home-link:hover { text-decoration: underline; }
.sx-home-block { max-width: 1200px; margin: 0 auto; padding: 3.5rem 1.5rem 0; }
.sx-home-block:last-child { padding-bottom: 4rem; }
.sx-home-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.sx-home-head .sx-home-h2 { margin: 0; }
.sx-home .sx-blog-grid--tight { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 768px) {
    .sx-home-steps-list { grid-template-columns: 1fr; }
    .sx-home-h2 { font-size: 1.6rem; }
    .sx-home-steps { padding: 3rem 1.1rem; }
    .sx-home-block { padding: 2.75rem 1.1rem 0; }
}
@media (max-width: 600px) {
    .sx-home-routes { grid-template-columns: repeat(2, 1fr); gap: .55rem; }
    .sx-home-routes a { padding: .7rem .75rem; }
    .sx-home-routes a strong { font-size: .92rem; }
    .sx-home-routes a span { font-size: .78rem; }
}
