/* =========================================================================
   Fleischmann — Blog de recetas + detalle (portado de FleischmannC)
   Reemplaza los estilos del blog anterior. Cargado como recipes.css.
   ========================================================================= */

.recipes-blog-page,
.recipe-detail-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(243, 194, 53, 0.22), transparent 28%),
        linear-gradient(180deg, #fffaf0 0%, #f8f0df 52%, #ffffff 100%);
    color: var(--ink);
    overflow: hidden;
}

.recipes-blog-hero,
.recipe-detail-hero {
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
    margin: 0 auto;
    max-width: 1280px;
    min-height: 720px;
    padding: 154px 48px 86px;
    position: relative;
}

/* Ronda 2026-07-20: menos aire arriba en el hero del blog de recetas */
.recipes-blog-hero {
    align-items: center;
    min-height: 640px;
    padding-top: 110px;
}

.recipes-blog-hero::before,
.recipe-detail-hero::before {
    background: linear-gradient(90deg, var(--gold), var(--red), var(--blue));
    bottom: 0;
    content: "";
    height: 6px;
    left: 48px;
    position: absolute;
    right: 48px;
}

.recipes-hero-pattern {
    background-image:
        linear-gradient(135deg, rgba(0, 22, 137, 0.88), rgba(0, 15, 95, 0.94)),
        url("../img/textures/bakery-line-icons.svg");
    background-position: center;
    background-repeat: repeat;
    background-size: auto, 360px;
    border-radius: 8px;
    inset: 112px 48px auto auto;
    height: 210px;
    opacity: 0.12;
    position: absolute;
    transform: rotate(-4deg);
    width: min(48vw, 560px);
}

.recipes-hero-copy,
.recipe-detail-copy {
    align-self: center;
    position: relative;
    z-index: 2;
}

.recipes-hero-back,
.recipe-back-link {
    align-items: center;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(0, 22, 137, 0.12);
    border-radius: 999px;
    color: var(--blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 13px;
    text-transform: uppercase;
}

.recipes-blog-hero h1,
.recipe-detail-hero h1 {
    color: var(--blue);
    font-size: 64px;
    line-height: 1.02;
    margin: 0 0 22px;
    max-width: 740px;
}

.recipes-blog-hero p:not(.section-eyebrow),
.recipe-detail-hero p:not(.section-eyebrow) {
    color: var(--body);
    font-size: 20px;
    line-height: 1.55;
    margin: 0;
    max-width: 660px;
}

.recipes-hero-actions,
.recipe-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.recipes-hero-actions .primary-button,
.recipes-hero-actions .secondary-button,
.recipe-detail-actions .primary-button,
.recipe-detail-actions .secondary-button,
.recipes-blog-cta .primary-button {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    text-transform: uppercase;
}

.recipes-hero-actions .secondary-button,
.recipe-detail-actions .secondary-button {
    background: #ffffff;
    border: 1px solid rgba(0, 22, 137, 0.18);
    color: var(--blue);
}

.recipes-featured-card {
    align-self: end;
    animation: recipeFloat 6s var(--motion-ease) infinite alternate;
    background: #ffffff;
    border: 1px solid rgba(0, 22, 137, 0.1);
    border-radius: 8px;
    box-shadow: 0 28px 58px rgba(0, 22, 137, 0.16);
    overflow: hidden;
    position: relative;
    transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transform-style: preserve-3d;
    transition: transform 220ms ease, box-shadow 220ms ease;
    z-index: 2;
}

.recipes-featured-card:hover {
    box-shadow: 0 34px 72px rgba(0, 22, 137, 0.22);
}

.recipes-featured-card a {
    display: block;
}

.recipes-featured-card img {
    aspect-ratio: 1 / 0.72;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.recipes-featured-card div {
    padding: 24px;
}

.recipes-featured-card span,
.recipe-related-card span,
.recipe-card-media span {
    background: var(--gold);
    border-radius: 999px;
    color: var(--blue);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    padding: 8px 10px;
    text-transform: uppercase;
}

.recipes-featured-card h2 {
    color: var(--blue);
    font-size: 28px;
    line-height: 1.08;
    margin: 14px 0 10px;
}

.recipes-featured-card p {
    color: var(--body);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.recipes-featured-card ul,
.recipe-detail-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.recipes-featured-card li,
.recipe-detail-metrics span,
.recipe-card-metrics span {
    align-items: center;
    background: rgba(0, 22, 137, 0.07);
    border-radius: 999px;
    color: var(--blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
    padding: 7px 10px;
}

.recipes-blog-tools,
.recipe-results-panel,
.recipes-blog-cta,
.recipe-detail-layout,
.recipe-related-section {
    margin: 0 auto;
    max-width: 1280px;
    padding-left: 48px;
    padding-right: 48px;
}

.recipes-blog-tools {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    padding-bottom: 30px;
    padding-top: 76px;
}

.recipes-blog-tools h2,
.recipes-blog-cta h2,
.recipe-preparation-heading h2,
.recipe-ingredients-panel h2,
.recipe-related-heading h2 {
    color: var(--blue);
    font-size: 38px;
    line-height: 1.08;
    margin: 0;
}

.recipe-search {
    align-items: center;
    align-self: end;
    background: #ffffff;
    border: 1px solid rgba(0, 22, 137, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 22, 137, 0.08);
    color: var(--blue);
    display: flex;
    gap: 10px;
    min-height: 58px;
    padding: 0 18px;
}

.recipe-search input {
    border: 0;
    color: var(--ink);
    min-width: 0;
    outline: 0;
    width: 100%;
}

.recipe-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    grid-column: 1 / -1;
}

.recipe-filter-row button {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 22, 137, 0.16);
    border-radius: 999px;
    color: var(--blue);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.recipe-filter-row button:hover,
.recipe-filter-row button.is-active {
    background: var(--blue);
    color: #ffffff;
    transform: translateY(-1px);
}

.recipe-results-panel {
    padding-bottom: 82px;
}

.recipe-results-meta {
    align-items: center;
    color: var(--body);
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 800;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.recipe-results-meta span:first-child {
    color: var(--blue);
}

.recipe-card-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recipe-blog-card {
    animation: recipeCardIn 620ms var(--motion-ease) both;
    animation-delay: calc(var(--card-index) * 70ms);
    background: #ffffff;
    border: 1px solid rgba(0, 22, 137, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(0, 22, 137, 0.09);
    overflow: hidden;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.recipe-blog-card:hover {
    box-shadow: 0 26px 56px rgba(0, 22, 137, 0.16);
    transform: translateY(-6px);
}

.recipe-blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recipe-card-media {
    overflow: hidden;
    position: relative;
}

.recipe-card-media img {
    aspect-ratio: 1 / 0.72;
    object-fit: cover;
    transition: transform 560ms var(--motion-ease);
    width: 100%;
}

.recipe-blog-card:hover .recipe-card-media img {
    transform: scale(1.06);
}

.recipe-card-media span {
    left: 14px;
    position: absolute;
    top: 14px;
}

.recipe-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
}

.recipe-card-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recipe-card-body h3 {
    color: var(--blue);
    font-size: 24px;
    line-height: 1.12;
    margin: 0;
}

.recipe-card-body p {
    color: var(--body);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.recipe-card-link {
    align-items: center;
    color: var(--blue);
    display: flex;
    font-size: 14px;
    font-weight: 900;
    gap: 6px;
    margin-top: auto;
    text-transform: uppercase;
}

.recipe-empty-state {
    background: #ffffff;
    border: 1px solid rgba(0, 22, 137, 0.12);
    border-radius: 8px;
    color: var(--body);
    margin-top: 18px;
    padding: 34px;
    text-align: center;
}

.recipe-empty-state i {
    color: var(--gold);
    font-size: 38px;
}

.recipe-empty-state h3 {
    color: var(--blue);
    font-size: 24px;
    margin: 8px 0;
}

.recipe-empty-state p {
    margin: 0;
}

.recipes-blog-cta {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(0, 22, 137, 0.94), rgba(0, 15, 95, 0.98)),
        url("../img/textures/bakery-line-icons.svg");
    background-position: center;
    background-size: auto, 300px;
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 88px;
    padding-bottom: 38px;
    padding-top: 38px;
}

.recipes-blog-cta h2,
.recipes-blog-cta p,
.recipes-blog-cta .section-eyebrow {
    color: #ffffff;
}

.recipes-blog-cta p {
    margin: 12px 0 0;
    max-width: 620px;
}

.recipes-blog-cta .primary-button {
    background: var(--gold);
    color: var(--blue);
    flex: 0 0 auto;
}

.recipe-detail-media {
    align-self: end;
    border-radius: 8px;
    box-shadow: 0 30px 70px rgba(0, 22, 137, 0.18);
    min-height: 540px;
    overflow: hidden;
    position: relative;
    transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.recipe-detail-media img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.recipe-detail-time-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 22, 137, 0.12);
    border-radius: 8px;
    bottom: 18px;
    display: grid;
    gap: 10px;
    left: 18px;
    padding: 16px;
    position: absolute;
    right: 18px;
}

.recipe-detail-time-card span {
    align-items: center;
    color: var(--body);
    display: flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: space-between;
    text-transform: uppercase;
}

.recipe-detail-time-card strong {
    color: var(--blue);
    font-size: 16px;
}

.recipe-detail-layout {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(290px, 0.42fr) minmax(0, 1fr);
    padding-bottom: 86px;
    padding-top: 78px;
}

.recipe-ingredients-panel,
.recipe-preparation-panel,
.recipe-tips-panel {
    background: #ffffff;
    border: 1px solid rgba(0, 22, 137, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(0, 22, 137, 0.08);
}

.recipe-ingredients-panel {
    padding: 28px;
    position: sticky;
    top: 112px;
}

.recipe-ingredients-panel ul,
.recipe-tips-panel ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.recipe-ingredients-panel li {
    border-bottom: 1px solid rgba(0, 22, 137, 0.09);
    color: var(--body);
    font-size: 15px;
    line-height: 1.45;
    padding-bottom: 12px;
}

.recipe-product-list {
    border-top: 3px solid var(--gold);
    margin-top: 24px;
    padding-top: 20px;
}

.recipe-product-list h3 {
    color: var(--blue);
    font-size: 18px;
    margin: 0 0 12px;
}

.recipe-product-list span {
    background: rgba(0, 22, 137, 0.07);
    border-radius: 999px;
    color: var(--blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    margin: 0 6px 8px 0;
    padding: 8px 10px;
}

.recipe-preparation-panel {
    padding: 30px;
}

.recipe-preparation-heading {
    align-items: start;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 26px;
}

.recipe-step-progress {
    color: var(--blue);
    flex: 0 0 170px;
    font-size: 13px;
    font-weight: 900;
    text-align: right;
    text-transform: uppercase;
}

.recipe-step-progress div {
    background: rgba(0, 22, 137, 0.12);
    border-radius: 999px;
    height: 8px;
    margin-top: 10px;
    overflow: hidden;
}

.recipe-step-progress div span {
    background: linear-gradient(90deg, var(--gold), var(--red));
    display: block;
    height: 100%;
    transition: width 240ms ease;
    width: 0;
}

.recipe-step-list {
    counter-reset: recipe-steps;
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.recipe-step-list button {
    align-items: center;
    background: #fffaf0;
    border: 1px solid rgba(0, 22, 137, 0.1);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    gap: 16px;
    grid-template-columns: 46px 1fr 28px;
    padding: 18px;
    text-align: left;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
    width: 100%;
}

.recipe-step-list button:hover {
    border-color: rgba(0, 22, 137, 0.28);
    transform: translateX(4px);
}

.recipe-step-list button > span {
    align-items: center;
    background: var(--blue);
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.recipe-step-list strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.recipe-step-list i {
    align-items: center;
    background: rgba(0, 22, 137, 0.1);
    border-radius: 50%;
    color: transparent;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.recipe-step-list button.is-complete {
    background: rgba(243, 194, 53, 0.18);
    border-color: rgba(193, 39, 45, 0.22);
}

.recipe-step-list button.is-complete strong {
    color: rgba(28, 28, 27, 0.64);
    text-decoration: line-through;
}

.recipe-step-list button.is-complete i {
    background: var(--red);
    color: #ffffff;
}

.recipe-tips-panel {
    margin-top: 24px;
    padding: 24px;
}

.recipe-tips-panel > div {
    align-items: center;
    color: var(--blue);
    display: flex;
    gap: 10px;
}

.recipe-tips-panel h3 {
    font-size: 22px;
    margin: 0;
}

.recipe-tips-panel li {
    color: var(--body);
    line-height: 1.5;
    padding-left: 18px;
    position: relative;
}

.recipe-tips-panel li::before {
    background: var(--gold);
    border-radius: 50%;
    content: "";
    height: 7px;
    left: 0;
    position: absolute;
    top: 9px;
    width: 7px;
}

.recipe-related-section {
    padding-bottom: 92px;
}

.recipe-related-heading {
    margin-bottom: 24px;
}

.recipe-related-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recipe-related-card {
    background: #ffffff;
    border: 1px solid rgba(0, 22, 137, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(0, 22, 137, 0.08);
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.recipe-related-card:hover {
    box-shadow: 0 26px 56px rgba(0, 22, 137, 0.16);
    transform: translateY(-5px);
}

.recipe-related-card img {
    aspect-ratio: 1 / 0.62;
    object-fit: cover;
    width: 100%;
}

.recipe-related-card a {
    display: grid;
    gap: 12px;
    padding-bottom: 22px;
}

.recipe-related-card span,
.recipe-related-card h3,
.recipe-related-card p {
    margin-left: 20px;
    margin-right: 20px;
}

.recipe-related-card h3 {
    color: var(--blue);
    font-size: 22px;
    line-height: 1.12;
    margin-bottom: 0;
    margin-top: 0;
}

.recipe-related-card p {
    color: var(--body);
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 0;
    margin-top: 0;
}

@keyframes recipeFloat {
    from {
        transform: translateY(0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    }

    to {
        transform: translateY(-12px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    }
}

@keyframes recipeCardIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@media (prefers-reduced-motion: reduce) {
    .recipes-featured-card,
    .recipe-blog-card {
        animation: none !important;
    }

    .recipe-blog-card,
    .recipe-card-media img,
    .recipe-step-list button,
    .recipe-related-card {
        transition: none !important;
    }
}

@media (max-width: 1180px) {
    .recipes-blog-hero,
    .recipe-detail-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .recipes-featured-card,
    .recipe-detail-media {
        max-width: 720px;
    }

    .recipe-card-grid,
    .recipe-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recipe-detail-layout {
        grid-template-columns: 1fr;
    }

    .recipe-ingredients-panel {
        position: static;
    }
}

@media (max-width: 860px) {
    .recipes-blog-tools {
        grid-template-columns: 1fr;
    }

    .recipe-search {
        align-self: stretch;
    }

    .recipes-blog-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .recipes-blog-hero,
    .recipe-detail-hero {
        gap: 30px;
        padding: 118px 18px 62px;
    }

    .recipes-blog-hero::before,
    .recipe-detail-hero::before {
        left: 18px;
        right: 18px;
    }

    .recipes-hero-pattern {
        display: none;
    }

    .recipes-blog-hero h1,
    .recipe-detail-hero h1 {
        font-size: 42px;
    }

    .recipes-blog-hero p:not(.section-eyebrow),
    .recipe-detail-hero p:not(.section-eyebrow) {
        font-size: 16px;
    }

    .recipes-blog-tools,
    .recipe-results-panel,
    .recipes-blog-cta,
    .recipe-detail-layout,
    .recipe-related-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .recipes-blog-tools {
        padding-top: 56px;
    }

    .recipes-blog-tools h2,
    .recipes-blog-cta h2,
    .recipe-preparation-heading h2,
    .recipe-ingredients-panel h2,
    .recipe-related-heading h2 {
        font-size: 30px;
    }

    .recipe-card-grid,
    .recipe-related-grid {
        grid-template-columns: 1fr;
    }

    .recipe-detail-media {
        min-height: 430px;
    }

    .recipe-detail-layout {
        padding-bottom: 64px;
        padding-top: 58px;
    }

    .recipe-preparation-heading {
        flex-direction: column;
    }

    .recipe-step-progress {
        flex: 0 0 auto;
        text-align: left;
        width: 100%;
    }

    .recipe-step-list button {
        grid-template-columns: 42px 1fr;
    }

    .recipe-step-list i {
        grid-column: 2;
        justify-self: start;
    }

    .recipes-blog-cta,
    .recipe-preparation-panel,
    .recipe-ingredients-panel {
        padding: 24px;
    }
}

/* =========================================================================
   Recetas rápidas en video (reels verticales 9:16)
   ========================================================================= */
.video-recipes {
    margin: 0 auto;
    max-width: 1180px;
    padding: 64px 32px 8px;
}

.video-recipes-head {
    margin-bottom: 26px;
}

.video-recipes-head h2 {
    color: var(--blue);
    font-family: var(--font-brand);
    font-size: clamp(24px, 2.9vw, 36px);
    font-weight: 900;
    line-height: 1.08;
    margin: 0;
}

.video-recipes-row {
    display: grid;
    gap: 22px;
    grid-auto-columns: minmax(210px, 250px);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
}

.video-recipe-card {
    aspect-ratio: 9 / 16;
    background: var(--blue-deep);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 16px 32px rgba(28, 28, 27, 0.16);
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    position: relative;
    scroll-snap-align: start;
    text-align: left;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.video-recipe-card:hover,
.video-recipe-card:focus-visible {
    box-shadow: 0 24px 44px rgba(28, 28, 27, 0.26);
    transform: translateY(-5px);
}

.video-recipe-card img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.video-recipe-card::after {
    background: linear-gradient(180deg, transparent 46%, rgba(0, 12, 55, 0.82));
    content: "";
    inset: 0;
    position: absolute;
}

.video-recipe-duration {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    color: var(--blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 6px;
    left: 14px;
    padding: 6px 12px;
    position: absolute;
    top: 14px;
    z-index: 1;
}

.video-recipe-meta {
    bottom: 16px;
    color: var(--white);
    display: grid;
    gap: 4px;
    left: 16px;
    position: absolute;
    right: 16px;
    z-index: 1;
}

.video-recipe-meta span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-recipe-meta strong {
    font-family: var(--font-brand);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

/* --- Modal reel ---------------------------------------------------------- */
.video-reel-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 120;
}

.video-reel-modal[hidden] {
    display: none;
}

.video-reel-backdrop {
    background: rgba(0, 9, 46, 0.82);
    inset: 0;
    position: absolute;
}

.video-reel-dialog {
    max-height: calc(100vh - 64px);
    position: relative;
    width: min(420px, 92vw);
}

.video-reel-dialog video {
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 14px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    display: block;
    max-height: calc(100vh - 130px);
    width: 100%;
}

.video-reel-close {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    border-radius: 50%;
    color: var(--blue);
    cursor: pointer;
    display: inline-flex;
    font-size: 20px;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: -10px;
    top: -10px;
    width: 42px;
    z-index: 2;
}

.video-reel-close:hover {
    background: var(--gold);
}

.video-reel-info {
    color: var(--white);
    margin-top: 14px;
    position: relative;
    text-align: center;
}

.video-reel-info span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-reel-info h3 {
    font-family: var(--font-brand);
    font-size: 22px;
    font-weight: 800;
    margin: 4px 0 0;
}

@media (max-width: 720px) {
    .video-recipes {
        padding: 48px 20px 8px;
    }

    .video-recipes-row {
        grid-auto-columns: minmax(180px, 210px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-recipe-card,
    .video-recipe-card:hover {
        transform: none;
        transition: none;
    }
}

/* Controles del carrusel de videos (flechas amarillas) */
.video-recipes-head {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.video-recipes-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    padding-bottom: 6px;
}

.video-recipes-controls button {
    align-items: center;
    background: var(--gold);
    border: 0;
    border-radius: 50%;
    color: var(--blue);
    cursor: pointer;
    display: inline-flex;
    font-size: 21px;
    height: 46px;
    justify-content: center;
    transition: background 180ms ease, transform 180ms ease;
    width: 46px;
}

.video-recipes-controls button:hover {
    background: #e6b400;
    transform: translateY(-2px);
}

.video-recipes-row {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    .video-recipes-row {
        scroll-behavior: auto;
    }

    .video-recipes-controls button,
    .video-recipes-controls button:hover {
        transform: none;
        transition: none;
    }
}

/* Ronda 2026-07-20: títulos de video-recetas en Lubalin */
.video-recipe-meta strong,
.video-reel-title {
    font-family: var(--font-heading);
    font-weight: 500;
}
