/* ==========================================================================
   Idearte Academy — Experiencias (Blog & Events) Layout
   Luxury Dark Aesthetic with Filter Pills, Featured Card & Responsive Grid
   ========================================================================== */

:root {
    --exp-bg-0: #08090b;
    --exp-bg-1: #0d0f14;
    --exp-bg-2: #13151e;
    --exp-surface: rgba(20, 23, 32, 0.75);
    --exp-border: rgba(255, 255, 255, 0.08);
    --exp-border-focus: rgba(242, 106, 33, 0.35);
    --exp-orange: #F26A21;
    --exp-orange-dark: #D85614;
    --exp-orange-glow: rgba(242, 106, 33, 0.22);
    --exp-gold: #D4AF37;
    --exp-text-muted: #9BA0B2;
    --exp-text-soft: #D7DAE5;
}

.experiencias-page {
    background-color: var(--exp-bg-0);
    color: #FFFFFF;
    min-height: 100vh;
    padding-bottom: 4rem;
}

@media (max-width: 1023px) {
    .experiencias-page {
        padding-bottom: calc(90px + max(12px, env(safe-area-inset-bottom, 0px)));
    }
}

/* ─── Hero Header ─── */
.exp-hero {
    position: relative;
    padding: clamp(7.5rem, 14vh, 9.5rem) 0 clamp(2.5rem, 5vh, 4rem) 0;
    background: radial-gradient(circle at 50% 20%, rgba(242, 106, 33, 0.1) 0%, rgba(13, 15, 20, 0.95) 60%, var(--exp-bg-0) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    overflow: hidden;
}

.exp-hero__container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.exp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    color: var(--exp-orange);
    font-size: 0.78125rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.95rem;
    background: rgba(242, 106, 33, 0.08);
    border: 1px solid rgba(242, 106, 33, 0.25);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.exp-hero__title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.exp-hero__title span {
    background: linear-gradient(135deg, #FFFFFF 30%, rgba(255, 255, 255, 0.65) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.exp-hero__desc {
    color: var(--exp-text-soft);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
    text-wrap: pretty;
}

/* ─── Filter Pills Bar ─── */
.exp-filter-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.exp-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--exp-text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.exp-filter-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.exp-filter-btn.is-active {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--exp-orange) 0%, var(--exp-orange-dark) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 18px var(--exp-orange-glow);
}

.exp-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    padding: 0 4px;
}

.exp-filter-btn.is-active .exp-filter-count {
    background: rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
}

/* ─── Content Section & Grid ─── */
.exp-content-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .exp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 640px) {
    .exp-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ─── Experience Cards ─── */
.exp-card {
    background: linear-gradient(145deg, rgba(20, 23, 32, 0.85), rgba(12, 14, 20, 0.95));
    border: 1px solid var(--exp-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.exp-card:hover {
    border-color: rgba(242, 106, 33, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 25px rgba(242, 106, 33, 0.12);
}

/* Media Wrap */
.exp-card__media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    display: block;
    background: var(--exp-bg-2);
}

.exp-card__media {
    width: 100%;
    height: 100%;
    position: relative;
}

.exp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.exp-card:hover .exp-card__media img {
    transform: scale(1.05);
}

.exp-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 11, 0.85) 100%);
    pointer-events: none;
}

/* Badges */
.exp-card__badge-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(10, 12, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--exp-orange);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.exp-card__badge-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--exp-orange) 0%, var(--exp-orange-dark) 100%);
    color: #FFFFFF;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(242, 106, 33, 0.4);
    z-index: 2;
}

/* Card Body */
.exp-card__body {
    padding: 1.75rem 1.65rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.exp-card__meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.8125rem;
    color: var(--exp-text-muted);
    margin-bottom: 0.85rem;
}

.exp-card__date,
.exp-card__reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.exp-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.exp-card__title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.exp-card__title a:hover {
    color: var(--exp-orange);
}

.exp-card__excerpt {
    font-size: 0.9375rem;
    color: var(--exp-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.exp-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.exp-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--exp-orange);
    text-decoration: none;
    transition: all 0.25s ease;
}

.exp-card__link:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

.exp-card__link-arrow {
    transition: transform 0.25s ease;
}

.exp-card__link:hover .exp-card__link-arrow {
    transform: translateX(4px);
}

/* ─── Featured Hero Card (Span Full Width) ─── */
.exp-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: linear-gradient(145deg, rgba(22, 26, 38, 0.9), rgba(12, 14, 22, 0.98));
    border: 1px solid rgba(242, 106, 33, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(242, 106, 33, 0.08);
}

.exp-card--featured .exp-card__media-wrap {
    aspect-ratio: 16 / 10;
    height: 100%;
}

.exp-card--featured .exp-card__body {
    padding: 2.75rem 2.5rem;
    justify-content: center;
}

.exp-card--featured .exp-card__title {
    font-size: clamp(1.6rem, 2.5vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.exp-card--featured .exp-card__excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    .exp-card--featured {
        grid-template-columns: 1fr;
    }
    
    .exp-card--featured .exp-card__body {
        padding: 2rem 1.65rem;
    }
}

/* ─── Empty State ─── */
.exp-empty-card {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(145deg, rgba(20, 23, 32, 0.7), rgba(12, 14, 20, 0.9));
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    max-width: 650px;
    margin: 2rem auto;
}

.exp-empty-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    color: var(--exp-orange);
    background: rgba(242, 106, 33, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-empty-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.85rem;
}

.exp-empty-card__desc {
    color: var(--exp-text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* ─── Pagination ─── */
.exp-pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.exp-pagination ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.exp-pagination li a,
.exp-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.85rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.exp-pagination li a {
    color: var(--exp-text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.exp-pagination li a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.exp-pagination li span.current {
    color: #FFFFFF;
    background: var(--exp-orange);
    border: 1px solid var(--exp-orange);
    box-shadow: 0 4px 15px var(--exp-orange-glow);
}

/* ─── CTA Footer Banner ─── */
.exp-cta-banner {
    padding: clamp(5rem, 8vw, 7rem) 0;
    background: radial-gradient(circle at center, rgba(242, 106, 33, 0.1) 0%, rgba(8, 9, 11, 0.98) 75%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.exp-cta-banner__container {
    max-width: 720px;
    margin: 0 auto;
}

.exp-cta-banner__title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.exp-cta-banner__desc {
    color: var(--exp-text-soft);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2.25rem;
}

.exp-cta-banner__actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   SINGLE EXPERIENCE POST (single.php)
   ═══════════════════════════════════════ */
.single-exp-page {
    background-color: var(--exp-bg-0);
    color: #FFFFFF;
    min-height: 100vh;
    padding-bottom: 5rem;
}

.single-exp-hero {
    padding: clamp(7rem, 12vh, 9rem) 0 2rem 0;
    background: linear-gradient(180deg, var(--exp-bg-1) 0%, var(--exp-bg-0) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.single-exp-hero__container {
    max-width: 860px;
    margin: 0 auto;
}

.single-exp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--exp-text-muted);
    margin-bottom: 1.5rem;
}

.single-exp-breadcrumb a {
    color: var(--exp-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-exp-breadcrumb a:hover {
    color: var(--exp-orange);
}

.single-exp-breadcrumb .current {
    color: var(--exp-text-soft);
}

.single-exp-hero__badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.single-exp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: var(--exp-text-muted);
}

.single-exp-hero__title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}

.single-exp-hero__lead {
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
    color: var(--exp-text-soft);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.single-exp-media__container {
    max-width: 1040px;
    margin: 2rem auto 0 auto;
}

.single-exp-media__frame {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(242, 106, 33, 0.08);
}

.single-exp-media__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-exp-body {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.single-exp-body__container {
    max-width: 780px;
    margin: 0 auto;
}

/* Luxury Post Typography */
.typography-luxury {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #D3D5E0;
}

.typography-luxury p {
    margin-bottom: 1.75rem;
}

.typography-luxury h2,
.typography-luxury h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 2.75rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.typography-luxury h2 {
    font-size: 1.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}

.typography-luxury blockquote {
    border-left: 3px solid var(--exp-orange);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: rgba(242, 106, 33, 0.05);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #FFFFFF;
}

.typography-luxury ul,
.typography-luxury ol {
    margin: 1.5rem 0 2rem 1.5rem;
}

.typography-luxury li {
    margin-bottom: 0.5rem;
}

.single-exp-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 1.25rem;
}

.single-exp-related {
    padding: 4rem 0;
    background: var(--exp-bg-1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.single-exp-related__title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2.5rem;
}

.exp-grid--related {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .exp-grid--related {
        grid-template-columns: 1fr;
    }
    
    .single-exp-footer-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .single-exp-footer-actions .nosotros-btn {
        width: 100%;
        justify-content: center;
    }
}

