:root {
    /* 🎨 Paleta */
    --clr-bg: #ffffff;
    --clr-heading: #18233f;
    --clr-text: #5f6c7a;
    --clr-primary: #fd2d79;
    --clr-primary-dark: #f93c67;
    --clr-info-bg: #f8fafc;
    --clr-accent: #2ad3e2;
    --card-radius: 25px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --title-size: 1.75rem;
    --text-size: 1rem;
    --muted: #666;
    --green: #16a34a;
    --green-dark: #12833d;
    --text: #0e0e0e;
    --radius: 8px;
    /* --shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
    --bg: #f7f9fa;
    --icon-size: 380px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--clr-bg);
    color: var(--clr-heading);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ───────── Header ───────── */
.blog-header {
    width: 100%;
    max-width: 900px;
    margin: 60px auto 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.blog-header h1 {
    /* font-size: clamp(2rem, 4vw + 1rem, 3rem); */
    /* font-weight: 700; */
    margin-bottom: .75rem;
    font-size: 2.75em;
    line-height: 3.75rem;
    font-weight: 500;
    color: #222244;
    font-size: 50px;

}

.blog-header p {
    font-size: 1rem;
    color: var(--clr-text);
    margin-bottom: 2rem;
}

/* Formulario suscripción */
#subscribe-form {
    display: inline-flex;
    background: #f0f3f6;
    border-radius: 46px;
    overflow: hidden;
    padding: 4px;
}

#subscribe-form input {
    border: none;
    outline: none;
    background: transparent;
    padding: 1rem 1.5rem;
    min-width: 280px;
    font-size: 1rem;
    color: var(--clr-heading);
}

#subscribe-form button {
    border: none;
    cursor: pointer;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(26, 26, 26, 0.61);
    background: transparent;
    border-radius: 40px;
    transition: opacity .25s;
    border: 2px solid #333333;
    transition: all .3s;
}

#subscribe-form button:hover {
    background-color: #d9e4ff;
}


/* ───────── Carousel ───────── */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    overflow: visible;
    /* las flechas pueden sobresalir */
    padding: 0 1rem;
}

/* viewport que recorta los slides sin recortar las flechas */
.viewport {
    overflow: hidden;
    /* evita que se asome el slide siguiente */
    border-radius: 16px;
    /* mismo redondeo que los slides */
}

.slide-wrapper {
    display: flex;
    transition: transform .3s ease-in-out;
}

.slide {
    display: flex;
    min-width: 100%;
    background: #fff;
    cursor: pointer;
}

/* imagen izquierda */
.slide img {
    width: 60%;
    object-fit: cover;
    height: auto;
}

/* panel derecho */
.slide-info {
    width: 40%;
    background: var(--clr-info-bg);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.slide-info .date {
    font-size: .875rem;
    color: var(--clr-text);
}

.slide-info .title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.slide-info .excerpt {
    font-size: .95rem;
    color: var(--clr-text);
}

.author {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

/* Flechas de navegación */
.arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border: 1px solid var(--text-color-level3, rgba(26, 26, 26, 0.1));
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 3;
    transition: background .25s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.arrow:hover {
    background: #d9e4ff;
}

.arrow svg {
    width: 27px;
    height: 27px;
    fill: var(--primary-color, rgb(0, 105, 255));
    /* fill: #ffffff; */
}

.arrow-left {
    left: 16px;
    transform: translate(-50%, -50%);
}

.arrow-right {
    right: 16px;
    transform: translate(50%, -50%);
}

/* Puntos */
.dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 26px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a5bafc;
    cursor: pointer;
    transition: width .25s, background .25s, border-radius .25s;
}

.dot.active {
    background: #4760ff;
    width: 18px;
    border-radius: 4px;
}

/* ————— Layout ————— */
.blog-container {
    width: min(1280px, 90%);
    margin: 80px auto 40px;
    display: grid;
    grid-template-columns: repeat(2, minmax(360px, 1fr));
    gap: 48px 40px;
    /* row / column */
}

.blog-container a {
    display: block;
    /* Para que ocupe todo el ancho de la tarjeta */
    text-decoration: none;
    /* Quita el subrayado */
    color: inherit;
    /* Hereda el color del texto definido en .card-content */
}

/* ————— Card ————— */
.blog-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    /* box-shadow: var(--shadow); */
    box-shadow: 3px 3px 20px 0 rgb(148 144 226 / 36%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease;
    cursor: pointer;
    transform-style: preserve-3d;
}

/* — Top image — */
.card-image {
    position: relative;
    width: 100%;
    padding-top: 44%;
    /* 16 : 9 ≈ 56.25 → a hair less to match mock‑up */
    overflow: hidden;
    /* keep zoomed img inside the rounded card */
}

.card-image img.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card .card-image img.bg {
    will-change: transform;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* 3) Acelera aún más el salto inicial acortando el tramo de subida */
@keyframes scale3dFastThenSlow {
    0% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    20% {
        /* en sólo el 20% del tiempo ya está casi al tope */
        transform: translate3d(0, 0, 0) scale3d(1.1, 1.1, 1);
        animation-timing-function: ease-out;
    }

    100% {
        transform: translate3d(0, 0, 0) scale3d(1.12, 1.12, 1);
    }
}

@keyframes scaleDownFastThenSlow {
    0% {
        transform: translate3d(0, 0, 0) scale3d(1.12, 1.12, 1);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    20% {
        transform: translate3d(0, 0, 0) scale3d(1.1, 1.1, 1);
        animation-timing-function: ease-out;
    }

    100% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    }
}

.blog-card:hover .card-image img.bg {
    animation: scale3dFastThenSlow 1s both 0s;
}

/* Cuando se suelta el hover: vuelve con la curva invertida */
.blog-card:not(:hover) .card-image img.bg {
    animation: scaleDownFastThenSlow 0.4s both 0s;
}

/* Corner logo */
.card-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    /* width: 64px; */
    /* height: auto; */
    z-index: 2;
}

/* — Text content — */
.card-content {
    padding: 32px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: var(--title-size);
    font-weight: 700;
    margin-bottom: 16px;
}

.card-excerpt {
    font-size: var(--text-size);
    color: var(--muted);
    margin-bottom: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* — Meta row — */
.card-meta {
    display: flex;
    align-items: center;
    margin-top: auto;
    font-size: 0.875rem;
    color: var(--muted);
}

.card-meta-authorRole-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    margin-top: auto;
    font-size: 0.875rem;
    color: var(--muted);
    width: 100%;
}

.card-meta-authorRole {
    display: flex;
    width: 100%;
    /* align-items: center; */
    margin-top: auto;
    font-size: 0.875rem;
    color: var(--muted);
    border-bottom: solid 1px #d6d6d6;
    padding-bottom: 2px;
    margin-bottom: 10px;
    gap: .5rem;
}

.blog-card_divider {
    background-color: #d6d6d6;
    height: 1px;
    width: 100%;
}

.card-meta img.avatar {
    width: 53px;
    height: 53px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.author-section img.avatar {
    width: 52px;
    height: 52px;
    border-radius: 8PX;
    object-fit: cover;
    margin-right: 12px;
}



.card-meta .date {
    margin-left: auto;
}

/*  ↓↓↓  Sección de contacto  ↓↓↓  */
.contact-section {
    position: relative;
    background: var(--bg);
    background-image: url(../../../static/assets/img/fondo2.png);
    padding: 96px 24px;
    overflow: hidden;
}

.blogButtons-container {
    margin: auto;
    display: flex;
    gap: 12px;
    margin-bottom: 80px;
}

.blogButtons {
    all: unset;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all .3s;
}

.blogButtons:hover {
    background-color: #d9e4ff;
}

.blogButtons div {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 12px 24px;
    transition: all .3s;
    background-color: transparent;
    backdrop-filter: blur(10px);
    border: 2px solid #333333;
    width: fit-content;
    border-radius: 10px;
    font-size: 16px;
}

.w-pagination-next-icon {
    margin-left: 4px;
}

.w-pagination-previous-icon {
    margin-right: 4px;
}

/* Iconos decorativos “CB” */
/* .contact-bg-icon {
    position: absolute;
    width: var(--icon-size);
    height: var(--icon-size);
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 90 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%d9e4ff' fill-opacity='0.25' d='M0 13a13 13 0 0 1 13-13h13v39H13A13 13 0 0 1 0 26V13zM0 64a13 13 0 0 1 13-13h13v39H13A13 13 0 0 1 0 77V64zm51-64h13a13 13 0 0 1 13 13v13a13 13 0 0 1-13 13H51V0zm0 51h13a13 13 0 0 1 13 13v13a13 13 0 0 1-13 13H51V51z'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
}

.contact-bg-icon.left {
    top: -40px;
    left: -60px;
}

.contact-bg-icon.right {
    bottom: -60px;
    right: -50px;
    transform: rotate(180deg);
} */

.contact-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 72px;
}

.contact-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--text);
}

.contact-header p {
    color: var(--muted);
    line-height: 1.6;
}

/* —— Formulario —— */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
}

.form-col label {
    display: block;
    margin-bottom: 24px;
}

.form-col label.full {
    height: 100%;
}

/* Inputs */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d0d5dd;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    /* transition: border 0.2s; */
    transition: border-color .5s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #4760ff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 220px;
}

.contact-form span {
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text);
    font-weight: 600;
}

/* Footer */
.form-footer {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.btn-submit {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(26, 26, 26, 0.61);
    background: transparent;
    border-radius: 40px;
    border: 2px solid #333333;
    transition: all .3s;
}

.btn-submit:hover {
    background-color: #d9e4ff;
}

.btn-submit:active {
    transform: scale(0.97);
}

.arrow-button {
    margin: 0 !important;
    color: rgba(26, 26, 26, 0.61) !important;
    font-size: 1.1em;
    line-height: 1;
}





/* acá empiezan los estilos de los post */

/* Hero Section */
.hero-section {

    background: linear-gradient(90deg, #5a36f1 0%, #6e58fa 100%);
    /* background: linear-gradient(90deg, #fe2f11 0%, #ff502d 100%); */
    color: #ffffff;
}

.hero-section-child {
    margin: auto;
    max-width: 1400px;
}

/* Breadcrumbs */
.breadcrumbs {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 24px 0;
}

.breadcrumbs nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
}

.breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .active {
    color: #ffb400;
    font-weight: 600;
}

/* Hero Container */
.hero-container {

    margin: 0 auto;
    padding: 48px 0;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}



/* Hero Texto */
.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero-text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 16px;
}

/* Hero Imagen */
.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 32px;
}



.hero-image-inner {
    /* width: 12.7rem; */
    height: auto;
    /* background-color: #ffffff; */
    border-radius: 8px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: #999999; */
    font-size: 14px;
}

.hero-image-inner img {
    width: 32.7rem;
}

/* Divider */
.divider {
    /* max-width: 1200px; */
    margin: 0 auto;
    border-top: 1px dashed rgba(255, 255, 255, 0.5);
}

/* Autor Section */
.author-section {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    /* flex-direction: column; */
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.author-info-hero {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name-main {
    font-weight: 600;
    /* font-size: 1rem; */
    /* color: #ffffff; */
}

.author-role-mini {
    font-size: 0.875rem;
    opacity: 0.9;
    color: #ffffff;
}

.author-meta {
    text-align: right;
    font-size: 0.875rem;
    opacity: 0.9;
    color: #ffffff;
}

.author-meta span {
    font-weight: 600;
    opacity: 1;
    color: #ffffff;
}

/* Contenido Principal */
.content-section {
    max-width: 868px;
    margin: 0 auto;
    padding: 48px 24px;
    color: #333333;
    line-height: 1.5;
}

.content-section ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    /* font-size: .875rem; */
    line-height: 1.5em;
}

.content-section li {
    color: var(--grey-var-03);
    margin-bottom: .5rem;
    /* font-family: Inter, sans-serif; */
}

.content-section li strong {
    /* color: #3641f5; */
}

.content-section p {
    margin-bottom: 16px;
}

.content-section h2 {
    margin-top: 48px;
    margin-bottom: 24px;
    font-size: 1.75rem;
    /* color: #3641f5; */
}

.content-section h3 {
    margin-top: 48px;
    margin-bottom: 24px;
    /* font-family: Inter, sans-serif; */
    font-size: 1.25rem;
    /* line-height: 1.75rem; */
    /* color: #3641f5; */
}

.content-section h4 {
    margin-top: 24px;
    margin-bottom: 12px;
    /* font-family: Inter, sans-serif; */
    font-size: 1.05rem
}

.post-images {
    border-radius: 25px;
    /* border: solid 2px #4760ff; */
    overflow: hidden;
    margin-top: 48px;
    box-shadow: 3px 3px 20px 0 rgb(148 144 226 / 36%);
}

.post-images img {
    max-width: 880px;
    display: block;
}

/* contenedor de la sección */

.faq-section-container {
    background-color: #5a36f1;
    /* en lugar de min-height:600px, uso padding vertical */
    padding: 100px 0 40px;
    margin-top: 40px;
    position: relative;
    /* puede mantenerse si lo necesitas para otros absolutos */
}

.faq-section {
    width: 100%;
    /* ya no es absolute: vuelve al flujo */
    margin: -40px auto 0;
    /* “sube” 40px y centra */
    display: flex;
    justify-content: center;
    margin-top: -140px;
    /* eliminá left, top, transform y position */
}

.faq-container {
    width: 100%;
    max-width: 800px;
    background-color: #e9e8ff;
    border-radius: 25px;
    padding: 80px;
    /* ya está en flujo y centrado por el parent */
}


/* título centrado */
.blog-title {
    margin: 0 0 24px;
    font-size: 48px;
    text-align: center;
    color: #000;
}

.faq-item {
    padding: 0 24px;
}

/* cada ítem */
.faq-item+.faq-item {
    margin-top: 16px;
}

/* línea horizontal entre ítems */
hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* botón de la pregunta */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    cursor: pointer;
    text-align: left;
}

/* ícono + / − */
.icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* respuesta oculta por defecto */
.faq-answer {
    display: none;
    /* padding: 12px 0 0 0; */
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

/* estado activo: muestra respuesta */
.faq-item.active .faq-answer {
    margin: -8px 0 40px 0;
    display: block;
}

/* Sección */
.about-section {
    text-align: center;
    padding: 60px 20px;
}

.author-card-wrapper {
    position: relative;
    display: inline-block;
    /* o inline-flex si quieres */
    width: 90%;
    max-width: 700px;
}

/* CAPA MÁS LEJOS (verde oscuro) */
.author-card-wrapper::before {
    content: '';
    position: absolute;
    bottom: -16px;
    /* desplazado 16px hacia abajo */
    left: -16px;
    /* desplazado 16px hacia la derecha */
    width: 100%;
    height: 100%;
    background: #5b36f123;
    border-radius: 16px;
    z-index: 1;
}

/* CAPA INTERMEDIA (verde claro) */
.author-card-wrapper::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -8px;
    width: 100%;
    height: 100%;
    background: #5b36f156;
    border-radius: 16px;
    z-index: 2;
}

/* TARJETA NEGRA (la ponemos arriba de todo) */
.author-card {
    position: relative;
    /* crea stacking context */
    z-index: 3;
    /* la más alta de las tres */
    background: linear-gradient(90deg,
            #5a36f1 0%,
            #6e58fa 100%);
    border-radius: 16px;
    padding: 24px;
    display: inline-flex;
    align-items: flex-start;
}

.author-card .avatar {
    width: 110px;
    height: 110px;
    border-radius: 8PX;
    object-fit: cover;
    margin-right: 12px;
}

/* Info del autor */
.author-info {
    text-align: left;
    margin-left: 20px;
    color: #fff;
}

.author-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.author-role {
    margin-top: 4px;
    font-size: 0.875rem;
    text-transform: uppercase;
    opacity: 0.8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 8px;
}

.author-bio {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Estados iniciales ocultos */
.hero-section .breadcrumbs nav,
#heroTitle,
#heroText .hero-text,
#heroImageContainer .hero-image-inner,
.divider,
#authorInfoHero,
#authorMeta {
    opacity: 0;
}

/* Clases de animación */
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estado inicial para el FAQ */
#faqSection {
    opacity: 0.5;
    transform: translateY(20px);
}

#contactWrapper {
    opacity: 0;
    transform: translateY(20px);
}


/* —— Responsive —— */

@media (min-width: 1024px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        /* align-items: flex-start; */
        padding: 64px 0;
    }
}

@media (min-width: 1024px) {
    .hero-image-container {
        justify-content: flex-end;
        margin-top: 0;
    }
}

@media (max-width: 860px) {
    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-footer {
        justify-content: space-between;
    }

    .btn-submit {
        margin-left: 0;
    }
}

@media (max-width: 760px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .author-section {
        /* max-width: 1200px; */
        margin: 0 auto;
        padding: 24px 0;
        display: flex;
        flex-direction: column;
        /* justify-content: space-between; */
        align-items: flex-start;
        gap: 16px;
    }

    .author-meta {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .author-section {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }


}

/* — Responsiveness — */
@media (max-width: 600px) {
    .card-content {
        padding: 24px 20px;
    }

    .card-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 1500px) {

    .hero-section-child {
        padding: 0 20px;
    }

}

/* ─── Responsive ─── */
@media (max-width: 900px) {

    .hero-section-child {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .slide {
        flex-direction: column;
    }

    .slide img {
        width: 100%;
        height: 260px;
    }

    .slide-info {
        width: 100%;
    }

    .arrow {
        top: 90%;
    }

    .slide-info {
        padding-bottom: 90px;
    }

    .dots {
        display: none;
    }

    .arrow-left {
        left: calc(50% - 40px);
        /* transform: translate(-60%, -50%); */
    }

    .arrow-right {
        right: calc(50% - 40px);
        /* transform: translate(60%, -50%); */
    }

    .author-card {
        display: block;
    }

    .avatar-about {
        display: none;
    }

    .hero-image-inner img {
        display: none;
    }

    .post-images img {
        max-width: calc(100% - 24px);
        display: block;
    }

    .blog-title {
        font-size: 32px;
        margin: 0;
    }

    .slide .author img {
        display: none;
    }

    /* 
    .arrow-right {
        right: 50px;
    }

    .arrow-left {
        left: 50px;
    } */

    .blog-title-author {
        margin-bottom: 24px;
    }

    .faq-section-container {
        background-color: transparent;
    }

    .faq-container {
        padding: 24px 0;
        padding-bottom: 0;
        border-radius: 0;
    }
}

/* tables */

:root {
    --post-table-green-700: #5a36f1 ;
    --post-table-green-600: #6e58fa ;
    --post-table-green-500: #6e58fada ;
    --post-table-bg: #ffffff;
    --post-table-line: #e8eaed;
    --post-table-text: #1f2937;
    --post-table-muted: #6b7280;
    /* --post-table-shadow: 0 6px 20px rgba(17, 24, 39, .08); */
    --post-table-radius: 14px;
}

.table-wrap {
    background: var(--post-table-bg);
    border: 1px solid var(--post-table-line);
    box-shadow: 3px 3px 20px 0 rgb(148 144 226 / 36%);
    border-radius: var(--post-table-radius);
    overflow: hidden;
    max-width: 980px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-inline: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

colgroup col:nth-child(1) {
    width: 34%
}

colgroup col:nth-child(2) {
    width: 33%
}

colgroup col:nth-child(3) {
    width: 33%
}

thead th {
    padding: 16px 18px;
    font-weight: 700;
    font-size: 15px;
    text-align: left;
    border-right: 1px solid var(--post-table-line);
}

thead th:first-child {
    background: #f9fafb;
}

thead th:nth-child(2) {
    color: #fff;
    background: linear-gradient(0deg, var(--post-table-green-600), var(--post-table-green-700));
}

thead th:nth-child(3) {
    color: #fff;
    background: linear-gradient(0deg, var(--post-table-green-500), var(--post-table-green-600));
    border-right: 0;
}

tbody td {
    padding: 16px 18px;
    vertical-align: top;
    font-size: 14px;
    border-top: 1px solid var(--post-table-line);
    border-right: 1px solid var(--post-table-line);
    background: #fff;
}

tbody tr:nth-child(odd) td {
    background: #fcfcfd;
}

tbody td:last-child {
    border-right: 0
}

.crit {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    color: var(--post-table-text);
    font-weight: 600;
}

.crit small {
    display: block;
    font-weight: 400;
    color: var(--post-table-muted);
    margin-top: 6px;
}

.ic {
    flex: 0 0 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 12px;
    color: #606a75;
    background: #eef1f5;
    border: 1px solid #dfe3e8;
    margin-top: 2px;
}

@media (max-width:780px) {
    thead {
        display: none
    }

    table,
    tbody,
    tr,
    td {
        display: block;
        width: 100%
    }

    tbody tr {
        border-top: 1px solid var(--post-table-line)
    }

    tbody td {
        border-right: 0;
        border-top: 0
    }

    .row-head {
        background: #f3f4f6;
        /* font-weight: 700; */
        padding: 14px 18px;
        border-bottom: 1px solid var(--post-table-line)
    }

    .stack {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0
    }

    .stack .cell {
        padding: 14px 18px;
        border-top: 1px solid var(--post-table-line);
        background: #fff;
    }

    .stack .cell .label {
        font-size: 12px;
        color: var(--post-table-muted);
        text-transform: uppercase;
        letter-spacing: .03em;
        margin-bottom: 6px
    }

    tbody tr {
        display: block;
        border-top: 1px solid var(--post-table-line);
    }

    tbody td {
        display: block;
        border-right: 0;
        border-top: 0;
        padding: 14px 18px;
    }

    /* rótulo (viene del data-label que setea el script) */
    tbody td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        color: var(--post-table-muted);
        text-transform: uppercase;
        letter-spacing: .03em;
        margin-bottom: 6px;
        /* clamp a 2 líneas para encabezados largos */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-weight: 900;
    }

    /* primera celda como “cabecera” de la tarjeta */
    tbody td:first-child {
        /* background: #f3f4f6; */
        /* font-weight: 700; */
        border-top: 0;
    }
}

/* fin de tables */