/* Editorial triptych. Mobile collage keeps all three photos legible. */
.vfc {
    position: relative;
    isolation: isolate;
    min-width: 0;
    margin-block: 0;
    padding-block: 0;
    color: var(--wp--preset--color--negro);
    background: var(--wp--preset--color--beige);
    font-family: var(--wp--preset--font-family--body);
}
.vfc, .vfc * { box-sizing: border-box; }
/* Remove WordPress block gaps around the triptych, not its caption padding. */
:is(.wp-block-post-content, .editor-styles-wrapper) > .vfc,
:is(.wp-block-post-content, .editor-styles-wrapper) > .vfc + * {
    margin-block-start: 0;
}
.vfc__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; min-width: 0; }
.vfc__photo { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--wp--preset--color--arena); }
.vfc__photo:first-child { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
.vfc__photo:nth-child(2) { background: var(--wp--preset--color--salvia); }
.vfc__photo:nth-child(3) { background: var(--wp--preset--color--terracota); }
.vfc .vfc__image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1200ms cubic-bezier(.2,.7,.2,1); }
.vfc__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--wp--preset--color--blanco); }
.vfc__placeholder svg { width: 35%; max-width: 160px; height: auto; }
.vfc__content { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1rem; padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem); text-align: center; min-width: 0; }
.vfc .vfc__title { font-family: var(--wp--preset--font-family--heading); font-size: var(--vernalia-type-display); --vernalia-paragraph-original:var(--vernalia-type-display); font-weight: 400; line-height: 1.12; letter-spacing: .025em; margin: 0; max-width: 24ch; color: inherit; white-space: pre-line; text-wrap: balance; overflow-wrap: anywhere; }
.vfc .vfc__eyebrow { margin: 0; font-size: var(--vernalia-type-body); --vernalia-paragraph-original:var(--vernalia-type-body); line-height: 1.618; max-width: 48ch; color: inherit; overflow-wrap: anywhere; }
.vfc .vfc__description { margin: 0; font-size: var(--vernalia-type-body); --vernalia-paragraph-original:var(--vernalia-type-body); line-height: 1.618; max-width: 52ch; white-space: pre-line; color: inherit; overflow-wrap: anywhere; }
.vfc .vfc__button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 48px; max-width: 100%; margin-top: .5rem; padding: .85rem 1.5rem; border: 1px solid transparent; border-radius: 99px; background: var(--wp--preset--color--arcilla); color: var(--wp--preset--color--blanco); font-size: var(--vernalia-type-body); --vernalia-paragraph-original:var(--vernalia-type-body); font-weight: 400; line-height: 1.618; text-decoration: none; transition: background-color 300ms, color 300ms, box-shadow 300ms; }
.vfc__button span { min-width: 0; overflow-wrap: anywhere; }
.vfc__button svg { flex: none; transition: transform 400ms cubic-bezier(.2,.7,.2,1); }
.vfc__button:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
@media (min-width: 600px) {
    .vfc { display: grid; }
    .vfc__photos, .vfc__content { grid-area: 1 / 1; }
    .vfc__photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; min-height: clamp(32rem, 55vw, 58rem); }
    .vfc__photo, .vfc__photo:first-child { grid-column: auto; aspect-ratio: auto; }
    .vfc__content { z-index: 1; color: var(--wp--preset--color--blanco); padding-top: clamp(10rem, 24vw, 22rem); pointer-events: none; }
    .vfc__content > * { pointer-events: auto; }
    .vfc .vfc__button { background: var(--wp--preset--color--blanco); color: var(--wp--preset--color--negro); }
}
@media (hover: hover) and (pointer: fine) {
    .vfc__photo:hover .vfc__image { transform: scale(1.055) translateY(-.6%); }
    .vfc__button:hover { box-shadow: 0 8px 24px color-mix(in srgb, var(--wp--preset--color--negro) 20%, transparent); }
    .vfc__button:hover svg { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
    .vfc .vfc__image, .vfc__button, .vfc__button svg { transition: none; }
    .vfc__photo:hover .vfc__image, .vfc__button:hover svg { transform: none; }
}
.editor-styles-wrapper .vfc [data-vfc-reveal] { opacity: 1; transform: none; }
.vfc-editor-help { font-size: var(--vernalia-type-small); --vernalia-paragraph-original:var(--vernalia-type-small); line-height: 1.618; }

/* Solid backing keeps editorial copy readable over every catalog photograph. */
.vfc__text-panel { display:flex; flex-direction:column; align-items:center; gap:.5rem; min-width:0; max-width:100%; padding:0; color:var(--wp--preset--color--negro); }
.vfc .vfc__text-panel > :is(.vfc__eyebrow,.vfc__title,.vfc__description) { display:flex; align-items:center; justify-content:center; width:fit-content; max-width:100%; padding:.25rem .65rem; border:1px solid color-mix(in srgb,var(--wp--preset--color--blanco) 45%,transparent); border-radius:3px; background:color-mix(in srgb,var(--wp--preset--color--blanco) 88%,transparent); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }

.vfc .vfc__text-panel .vfc__eyebrow { font-size:var(--vernalia-type-small); --vernalia-paragraph-original:var(--vernalia-type-small); letter-spacing:.1em; text-transform:uppercase; }
.vfc .vfc__text-panel .vfc__title { font-size:var(--vernalia-type-title-md); line-height:1.18; }
@media(min-width:600px) { .vfc .vfc__text-panel .vfc__title { font-size:var(--vernalia-type-title-lg); } }
.vfc .vfc__button { border:1px solid var(--wp--preset--color--negro); }

/* Balance Nohemi's visible letterforms within the compact text frames. */
.vfc .vfc__text-panel > :is(.vfc__eyebrow,.vfc__title,.vfc__description) { padding-block:.34rem .16rem; }
