/* =========================================================
 * Catering Robel - main.css
 * Paleta elegante azul/blanco, tipografias serif + sans.
 * ========================================================= */

:root {
    --cr-blue-900: #0A2540;
    --cr-blue-800: #0F3366;
    --cr-blue-700: #14467F;
    --cr-blue-600: #1E5BA8;
    --cr-blue-500: #2E76C7;
    --cr-blue-200: #B3CCE6;
    --cr-blue-100: #E8F1FB;
    --cr-blue-50:  #F4F8FD;

    --cr-cream:    #FAF7F2;
    --cr-paper:    #FFFFFF;
    --cr-ink:      #0F1419;
    --cr-ink-soft: #3B4856;
    --cr-muted:    #6B7C8C;
    --cr-line:     #E0E7EE;

    --cr-gold:     #C9A961;
    --cr-gold-soft: #E2CB94;

    --cr-success: #2F7D55;
    --cr-warning: #C97E2C;
    --cr-error:   #B0341E;

    --cr-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --cr-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --cr-radius-sm: 6px;
    --cr-radius-md: 12px;
    --cr-radius-lg: 24px;
    --cr-radius-xl: 36px;

    --cr-shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
    --cr-shadow-md: 0 8px 28px rgba(10, 37, 64, 0.1);
    --cr-shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.15);

    --cr-container: 1280px;
    --cr-container-narrow: 920px;

    --cr-easing: cubic-bezier(0.22, 1, 0.36, 1);
    --cr-duration: 600ms;

    --cr-header-h: 84px;
}

@media (max-width: 768px) {
    :root { --cr-header-h: 72px; }
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--cr-font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--cr-ink);
    background: var(--cr-paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
a { color: var(--cr-blue-600); text-decoration: none; transition: color 0.2s var(--cr-easing); }
a:hover { color: var(--cr-blue-900); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--cr-font-display);
    color: var(--cr-blue-900);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.cr-container {
    width: 100%;
    max-width: var(--cr-container);
    margin: 0 auto;
    padding: 0 24px;
}

.cr-container--narrow {
    max-width: var(--cr-container-narrow);
}

.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cr-skip-link:focus {
    position: fixed;
    top: 12px; left: 12px;
    width: auto; height: auto;
    padding: 12px 18px;
    background: var(--cr-blue-900);
    color: #fff;
    border-radius: var(--cr-radius-sm);
    z-index: 9999;
    clip: auto;
}

/* =========================================================
 * Botones
 * ========================================================= */
.cr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--cr-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    letter-spacing: 0.02em;
    border: 1.5px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s var(--cr-easing);
    text-decoration: none;
    white-space: nowrap;
}

.cr-btn-primary {
    background: var(--cr-blue-600);
    color: #fff;
    border-color: var(--cr-blue-600);
}
.cr-btn-primary:hover {
    background: var(--cr-blue-900);
    border-color: var(--cr-blue-900);
    transform: translateY(-2px);
    box-shadow: var(--cr-shadow-md);
    color: #fff;
}

.cr-btn-light {
    background: #fff;
    color: var(--cr-blue-900);
    border-color: #fff;
}
.cr-btn-light:hover {
    background: var(--cr-cream);
    color: var(--cr-blue-900);
    transform: translateY(-2px);
    box-shadow: var(--cr-shadow-md);
}

.cr-btn-outline {
    background: transparent;
    color: var(--cr-blue-900);
    border-color: var(--cr-blue-900);
}
.cr-btn-outline:hover {
    background: var(--cr-blue-900);
    color: #fff;
}

.cr-btn-ghost {
    background: transparent;
    color: var(--cr-blue-700);
    border-color: transparent;
    padding: 10px 20px;
}
.cr-btn-ghost:hover {
    color: var(--cr-blue-900);
    background: var(--cr-blue-100);
}

.cr-btn-product { width: 100%; padding: 12px 20px; font-size: 0.85rem; }

/* =========================================================
 * Header
 * ========================================================= */
.cr-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    transition: all 0.3s var(--cr-easing);
    border-bottom: 1px solid transparent;
}

.cr-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--cr-line);
    box-shadow: var(--cr-shadow-sm);
}

.cr-header__bar {
    width: 100%;
}

.cr-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--cr-header-h);
    gap: 32px;
}

.cr-header__brand .site-logo-text,
.cr-header__brand .custom-logo-link {
    font-family: var(--cr-font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cr-blue-900);
    letter-spacing: -0.01em;
    text-decoration: none;
}

.cr-header__brand .custom-logo {
    max-height: 56px;
    width: auto;
}

.cr-nav--primary {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li { position: relative; }

.primary-menu a {
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--cr-ink);
    text-transform: none;
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s var(--cr-easing);
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
    color: var(--cr-blue-700);
}

.primary-menu a::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 2px;
    background: var(--cr-blue-700);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--cr-easing);
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after {
    transform: scaleX(1);
}

.menu-arrow {
    font-size: 0.65rem;
    transition: transform 0.2s var(--cr-easing);
}

.primary-menu .menu-item-has-children:hover > a .menu-arrow {
    transform: rotate(180deg);
}

.mega-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border-radius: var(--cr-radius-md);
    padding: 16px 8px;
    min-width: 220px;
    list-style: none;
    margin: 0;
    box-shadow: var(--cr-shadow-md);
    border: 1px solid var(--cr-line);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--cr-easing);
    z-index: 50;
}

.primary-menu .menu-item-has-children:hover > .mega-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-submenu li { display: block; }

.mega-submenu a {
    display: block;
    padding: 10px 18px;
    font-size: 0.9rem;
}

.mega-submenu a::after { display: none; }

.mega-submenu a:hover {
    background: var(--cr-blue-100);
    border-radius: var(--cr-radius-sm);
}

.cr-header__tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cr-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cr-ink);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 999px;
    transition: all 0.25s var(--cr-easing);
}

.cr-tool-link:hover {
    background: var(--cr-blue-100);
    color: var(--cr-blue-900);
}

.cr-tool-icon { display: inline-flex; }

.cr-tool-label {
    display: inline-block;
}

.cr-cart-link { position: relative; }

.cr-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--cr-blue-700);
    color: #fff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 4px;
}

.cr-cart-count[data-count="0"] { background: var(--cr-muted); }

.cr-burger {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.cr-burger span {
    display: block;
    height: 2px;
    background: var(--cr-blue-900);
    transition: transform 0.3s var(--cr-easing), opacity 0.2s var(--cr-easing);
    transform-origin: left center;
}

.cr-burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translateY(-1px); }
.cr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cr-burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translateY(1px); }

.cr-mobile-nav {
    background: #fff;
    border-top: 1px solid var(--cr-line);
    padding: 16px 24px 24px;
}

.cr-mobile-nav .mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cr-mobile-nav .mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--cr-ink);
    border-bottom: 1px solid var(--cr-line);
}

.cr-mobile-nav .mobile-menu .sub-menu {
    list-style: none;
    margin: 4px 0 8px;
    padding-left: 16px;
}

.cr-mobile-nav .mobile-menu .sub-menu a {
    font-size: 0.95rem;
    padding: 10px 0;
    color: var(--cr-ink-soft);
}

@media (max-width: 1024px) {
    .cr-tool-label { display: none; }
}

@media (max-width: 900px) {
    .cr-nav--primary { display: none; }
    .cr-burger { display: flex; }
}

/* =========================================================
 * Secciones generales
 * ========================================================= */
.cr-section {
    position: relative;
    padding: 96px 0;
}

.cr-section--padded { padding: 120px 0; }
.cr-section--cream  { background: var(--cr-cream); }
.cr-section--blue   { background: var(--cr-blue-100); }
.cr-section--dark   { background: var(--cr-blue-900); color: #fff; }
.cr-section--dark h1, .cr-section--dark h2, .cr-section--dark h3 { color: #fff; }

.cr-section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.cr-section__eyebrow {
    display: inline-block;
    font-family: var(--cr-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--cr-blue-600);
    margin-bottom: 16px;
}

.cr-section__title {
    margin: 0 0 16px;
}

.cr-section__lead {
    font-size: 1.1rem;
    color: var(--cr-ink-soft);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .cr-section { padding: 64px 0; }
    .cr-section--padded { padding: 80px 0; }
}

/* =========================================================
 * Categorias
 * ========================================================= */
.cr-categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.cr-categoria-card {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius-md);
    padding: 36px 24px;
    text-align: center;
    text-decoration: none;
    color: var(--cr-ink);
    transition: all 0.3s var(--cr-easing);
    position: relative;
    overflow: hidden;
}

.cr-categoria-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cr-blue-100), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--cr-easing);
}

.cr-categoria-card:hover {
    transform: translateY(-6px);
    border-color: var(--cr-blue-200);
    box-shadow: var(--cr-shadow-lg);
    color: var(--cr-blue-900);
}

.cr-categoria-card:hover::before { opacity: 1; }

.cr-categoria-card > * { position: relative; }

.cr-categoria-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cr-blue-100);
    color: var(--cr-blue-700);
}

.cr-categoria-card__title {
    font-family: var(--cr-font-display);
    font-size: 1.3rem;
    margin: 0 0 6px;
}

.cr-categoria-card__count {
    font-size: 0.85rem;
    color: var(--cr-muted);
}

/* =========================================================
 * Productos destacados
 * ========================================================= */
.cr-productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.cr-producto-card {
    background: #fff;
    border-radius: var(--cr-radius-lg);
    overflow: hidden;
    border: 1px solid var(--cr-line);
    transition: all 0.3s var(--cr-easing);
    display: flex;
    flex-direction: column;
}

.cr-producto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cr-shadow-lg);
    border-color: var(--cr-blue-200);
}

.cr-producto-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cr-blue-100);
}

.cr-producto-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--cr-easing);
}

.cr-producto-card:hover .cr-producto-card__media img {
    transform: scale(1.06);
}

.cr-producto-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 37, 64, 0.85);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cr-producto-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.cr-producto-card__title {
    font-family: var(--cr-font-display);
    font-size: 1.25rem;
    margin: 0;
}

.cr-producto-card__title a {
    color: var(--cr-blue-900);
    text-decoration: none;
}

.cr-producto-card__excerpt {
    font-size: 0.9rem;
    color: var(--cr-ink-soft);
    line-height: 1.55;
    margin-bottom: 6px;
}

.cr-producto-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--cr-line);
}

.cr-producto-card__price {
    font-family: var(--cr-font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--cr-blue-900);
}

/* =========================================================
 * Como funciona / Pasos
 * ========================================================= */
.cr-pasos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.cr-pasos::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--cr-blue-200), transparent);
    z-index: 0;
}

.cr-paso {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cr-paso__numero {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--cr-blue-900);
    border: 2px solid var(--cr-blue-200);
    border-radius: 50%;
    font-family: var(--cr-font-display);
    font-size: 1.6rem;
    font-weight: 600;
    transition: all 0.3s var(--cr-easing);
}

.cr-paso:hover .cr-paso__numero {
    background: var(--cr-blue-900);
    border-color: var(--cr-blue-900);
    color: #fff;
    transform: scale(1.05);
}

.cr-paso__titulo {
    font-family: var(--cr-font-display);
    font-size: 1.2rem;
    margin: 0 0 8px;
    color: var(--cr-blue-900);
}

.cr-paso__texto {
    font-size: 0.92rem;
    color: var(--cr-ink-soft);
    margin: 0;
}

@media (max-width: 768px) {
    .cr-pasos { grid-template-columns: 1fr 1fr; }
    .cr-pasos::before { display: none; }
}

@media (max-width: 480px) {
    .cr-pasos { grid-template-columns: 1fr; }
}

/* =========================================================
 * Sobre nosotros (split)
 * ========================================================= */
.cr-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cr-split__media {
    border-radius: var(--cr-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--cr-blue-100);
}

.cr-split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cr-split__body { max-width: 520px; }

.cr-split__body h2 { margin-bottom: 24px; }

@media (max-width: 900px) {
    .cr-split { grid-template-columns: 1fr; gap: 32px; }
    .cr-split__media { aspect-ratio: 16/10; }
}

/* =========================================================
 * Zonas envio
 * ========================================================= */
.cr-zonas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.cr-zona-chip {
    background: #fff;
    border: 1px solid var(--cr-line);
    color: var(--cr-blue-900);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s var(--cr-easing);
}

.cr-zona-chip:hover {
    background: var(--cr-blue-900);
    color: #fff;
    border-color: var(--cr-blue-900);
    transform: translateY(-2px);
}

.cr-zonas-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    text-align: left;
}

.cr-zonas-info__card {
    background: #fff;
    padding: 28px;
    border-radius: var(--cr-radius-md);
    border: 1px solid var(--cr-line);
}

.cr-zonas-info__card h3 {
    font-family: var(--cr-font-display);
    font-size: 1.2rem;
    margin: 0 0 10px;
}

@media (max-width: 700px) {
    .cr-zonas-info { grid-template-columns: 1fr; }
}

/* =========================================================
 * CTA final
 * ========================================================= */
.cr-cta {
    background: linear-gradient(135deg, var(--cr-blue-900), var(--cr-blue-700));
    color: #fff;
    padding: 96px 32px;
    border-radius: var(--cr-radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cr-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(201, 169, 97, 0.18), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(46, 118, 199, 0.3), transparent 40%);
    pointer-events: none;
}

.cr-cta > * { position: relative; z-index: 1; }

.cr-cta h2 { color: #fff; margin-bottom: 16px; }

.cr-cta p {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 560px;
    margin: 0 auto 32px;
}

/* =========================================================
 * Footer
 * ========================================================= */
.cr-footer {
    background: var(--cr-blue-900);
    color: rgba(255, 255, 255, 0.85);
    padding: 72px 0 24px;
    margin-top: 0;
}

.cr-footer h4,
.cr-footer__heading {
    color: #fff;
    font-family: var(--cr-font-display);
    font-size: 1.1rem;
    margin: 0 0 18px;
    font-weight: 600;
}

.cr-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cr-footer__brand {
    max-width: 380px;
}

.cr-footer__tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.85;
}

.cr-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.88rem;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.25s var(--cr-easing);
}

.cr-social:hover {
    background: var(--cr-gold);
    color: var(--cr-blue-900);
}

.cr-footer__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cr-footer__list a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    transition: color 0.2s var(--cr-easing);
}

.cr-footer__list a:hover {
    color: var(--cr-gold-soft);
}

.cr-footer__address p {
    margin: 0 0 8px;
    font-size: 0.92rem;
    opacity: 0.9;
}

.cr-footer__address a { color: rgba(255, 255, 255, 0.9); }
.cr-footer__address a:hover { color: var(--cr-gold-soft); }

.cr-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.cr-footer__copyright {
    font-size: 0.82rem;
    margin: 0;
    opacity: 0.7;
}

.cr-footer__legal-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.cr-footer__legal-list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    transition: color 0.2s var(--cr-easing);
}

.cr-footer__legal-list a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .cr-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .cr-footer__grid { grid-template-columns: 1fr; }
    .cr-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
 * Page header / posts
 * ========================================================= */
.cr-page-header {
    margin-top: var(--cr-header-h);
    text-align: center;
    padding: 64px 0 24px;
}

.cr-page-title { margin: 0; }

.cr-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.cr-post-card {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius-md);
    overflow: hidden;
}

.cr-post-card__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.cr-post-card__body { padding: 22px; }

.cr-post-card__title { font-size: 1.25rem; margin: 0 0 8px; }

.cr-link {
    display: inline-block;
    font-weight: 600;
    color: var(--cr-blue-700);
}

.cr-link:hover { color: var(--cr-blue-900); text-decoration: underline; }

/* =========================================================
 * Layout general body cuando NO es home
 * ========================================================= */
body:not(.home) #masthead { background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--cr-line); }

body:not(.home) main.site-main { padding-top: var(--cr-header-h); }

/* =========================================================
 * Helpers
 * ========================================================= */
.cr-text-center { text-align: center; }
.cr-mt-0 { margin-top: 0; }
.cr-mt-2 { margin-top: 16px; }
.cr-mt-4 { margin-top: 32px; }
.cr-mt-6 { margin-top: 48px; }
.cr-mb-0 { margin-bottom: 0; }
.cr-mb-2 { margin-bottom: 16px; }

.cr-fadein { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--cr-easing), transform 0.7s var(--cr-easing); }
.cr-fadein.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
