
:root {
  --ff-bg: #070b14;
  --ff-surface: #0f172a;
  --ff-surface-2: #111a2e;
  --ff-border: #1e293b;
  --ff-border-soft: rgba(148, 163, 184, .16);
  --ff-text: #e2e8f0;
  --ff-muted: #94a3b8;
  --ff-dim: #64748b;
  --ff-accent: #f59e0b;
  --ff-accent-2: #fbbf24;
  --ff-accent-soft: rgba(245, 158, 11, .14);
  --ff-indigo: #6366f1;
  --ff-radius: 12px;
  --ff-radius-sm: 8px;
  --ff-wrap: 1120px;
  --ff-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ff-text);
  background-color: var(--ff-bg);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(245, 158, 11, .14), transparent 60%),
    radial-gradient(800px 500px at -10% 10%, rgba(99, 102, 241, .14), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--ff-accent-2); text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: #fde68a; }
::selection { background: var(--ff-accent); color: #111; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.12; font-weight: 700; color: #f1f5f9; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; background: var(--ff-accent); color: #111; padding: 8px 14px; z-index: 100000; left: 8px; top: 8px; }

.ff-wrap { width: 100%; max-width: var(--ff-wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Cabecera ---------- */
.ff-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ff-border-soft);
}
.admin-bar .ff-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ff-header { top: 46px; } }
.ff-header__in { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.ff-brand { display: flex; align-items: center; gap: 10px; color: #f8fafc; font-weight: 700; flex: 0 0 auto; }
.ff-brand img { height: 50px; width: auto; display: block; }
.ff-brand:hover { color: #fff; }
.ff-brand__name { font-size: .95rem; letter-spacing: -.01em; }

.ff-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.ff-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 2px; align-items: center; }
.ff-nav li { position: relative; }
.ff-nav a { display: block; padding: 6px 10px; border-radius: var(--ff-radius-sm); color: #cbd5e1; font-size: .86rem; font-weight: 500; white-space: nowrap; }
.ff-nav a:hover { color: #fff; background: rgba(148, 163, 184, .1); }
.ff-nav .current-menu-item > a, .ff-nav .current-menu-ancestor > a, .ff-nav .current_page_item > a {
  color: var(--ff-accent-2); background: var(--ff-accent-soft);
}
.ff-nav li.menu-cta > a, .ff-nav li.btn-menu > a {
  background: var(--ff-accent); color: #111827; font-weight: 700;
}
.ff-nav li.menu-cta > a:hover, .ff-nav li.btn-menu > a:hover { background: var(--ff-accent-2); color: #111827; }
.ff-nav .sub-menu {
  display: none; position: absolute; left: 0; top: 100%; min-width: 220px; z-index: 60;
  flex-direction: column; gap: 0; padding: 6px; margin-top: 0; /* sin hueco: si no, el submenú se cierra al bajar el ratón */
  background: var(--ff-surface); border: 1px solid var(--ff-border); border-radius: var(--ff-radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5); max-height: 70vh; overflow-y: auto;
}
.ff-nav li:hover > .sub-menu, .ff-nav li:focus-within > .sub-menu { display: flex; }

.ff-header__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ff-burger { display: none; background: none; border: 1px solid var(--ff-border); color: var(--ff-text); border-radius: var(--ff-radius-sm); padding: 6px 10px; font: inherit; cursor: pointer; }

@media (max-width: 1100px) {
  .ff-burger { display: inline-block; margin-left: auto; }
  .ff-header__tools { display: none; }
  /* menú móvil: si es largo se desplaza dentro de la pantalla */
  .ff-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ff-bg); border-bottom: 1px solid var(--ff-border); padding: 10px 20px 16px;
            max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .admin-bar .ff-nav { max-height: calc(100dvh - 110px); }
  .ff-nav.is-open { display: block; }
  .ff-nav ul { flex-direction: column; align-items: stretch; }
  /* submenús (portfolios…) comprimidos; la flecha los abre */
  .ff-nav li.has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .ff-nav li.has-sub > a { flex: 1 1 0; min-width: 0; }
  .ff-subtoggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 36px; background: none; border: 1px solid var(--ff-border); border-radius: var(--ff-radius-sm); color: #cbd5e1; cursor: pointer; }
  .ff-subtoggle svg { width: 18px; height: 18px; transition: transform .2s; }
  .ff-nav li.is-open > .ff-subtoggle svg { transform: rotate(180deg); }
  .ff-nav .sub-menu { display: none; flex: 0 0 100%; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; margin: 0; max-height: none; }
  .ff-nav li.is-open > .sub-menu { display: flex; }
}
@media (min-width: 1101px) { .ff-subtoggle { display: none; } }

/* ---------- Botones ---------- */
.ff-btn, .wp-block-button__link, .wp-element-button, input[type=submit], button[type=submit], .comment-form .submit {
  display: inline-block; cursor: pointer;
  padding: 10px 18px; border-radius: var(--ff-radius-sm);
  background: transparent; color: var(--ff-text);
  border: 1px solid var(--ff-border); font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2;
  transition: all .15s;
}
.ff-btn:hover, .wp-block-button__link:hover, .wp-element-button:hover, input[type=submit]:hover, button[type=submit]:hover {
  border-color: var(--ff-accent); color: var(--ff-accent-2); background: var(--ff-accent-soft);
}
.ff-btn--primary, input[type=submit], button[type=submit], .comment-form .submit, .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--ff-accent); border-color: var(--ff-accent); color: #111827;
}
.ff-btn--primary:hover, input[type=submit]:hover, button[type=submit]:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--ff-accent-2); border-color: var(--ff-accent-2); color: #111827;
}

/* ---------- Hero ---------- */
.ff-hero { padding: 64px 0 40px; }
.ff-hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.ff-eyebrow { color: var(--ff-accent); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.ff-hero h1 { margin-bottom: 16px; }
.ff-grad { background: linear-gradient(90deg, #fbbf24, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ff-hero p.lead { color: #cbd5e1; font-size: 1.05rem; max-width: 520px; }
.ff-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ff-hero__art { display: flex; justify-content: center; }
.ff-hero__art img {
  max-width: 100%; max-height: 300px; width: auto; border-radius: 16px;
  box-shadow: 0 0 80px rgba(245, 158, 11, .25), 0 0 0 1px var(--ff-border-soft);
}
@media (max-width: 800px) { .ff-hero { padding-top: 36px; } .ff-hero__in { grid-template-columns: 1fr; } .ff-hero__art { order: -1; } }

/* ---------- Secciones ---------- */
.ff-section { padding: 28px 0; }
.ff-section__title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.15rem; font-weight: 700; }
.ff-section__title::after { content: ""; flex: 1; height: 1px; background: var(--ff-border-soft); }
.ff-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--ff-surface); border: 1px solid var(--ff-border); color: var(--ff-muted); font-size: .7rem; font-weight: 600; }

/* ---------- Tarjetas / rejilla ---------- */
.ff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ff-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .ff-grid--2 { grid-template-columns: 1fr; } }
.ff-card {
  display: flex; flex-direction: column;
  background: var(--ff-surface); border: 1px solid var(--ff-border); border-radius: var(--ff-radius);
  padding: 14px; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.ff-card:hover { border-color: rgba(245, 158, 11, .45); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.ff-card__img { display: block; margin-bottom: 12px; border-radius: var(--ff-radius-sm); overflow: hidden; aspect-ratio: 16/9; background: var(--ff-surface-2); }
.ff-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ff-card:hover .ff-card__img img { transform: scale(1.03); }
.ff-card__meta { color: var(--ff-accent); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.ff-card__title { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.25; }
.ff-card__title a { color: #f1f5f9; }
.ff-card__title a:hover { color: var(--ff-accent-2); }
.ff-card__excerpt { color: var(--ff-muted); font-size: .85rem; margin: 0 0 12px; flex: 1; }
.ff-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--ff-border-soft); padding-top: 10px; color: var(--ff-dim); font-size: .78rem; }
.ff-card__foot a { font-weight: 600; font-size: .78rem; }

/* CTA y bloques de enlace */
.ff-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 28px; border-radius: 16px; border: 1px solid rgba(245, 158, 11, .3);
  background: linear-gradient(135deg, rgba(245, 158, 11, .13), rgba(99, 102, 241, .1)), var(--ff-surface);
}
.ff-cta h2 { margin: 0 0 4px; }
.ff-cta p { margin: 0; color: var(--ff-muted); }
.ff-tile { display: block; padding: 22px; border-radius: var(--ff-radius); background: var(--ff-surface); border: 1px solid var(--ff-border); color: var(--ff-text); }
.ff-tile:hover { border-color: var(--ff-accent); color: #fff; }
.ff-tile strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.ff-tile span { color: var(--ff-muted); font-size: .88rem; }

/* ---------- Contenido ---------- */
.ff-main { padding: 36px 0 56px; min-height: 55vh; }
.ff-article { max-width: 820px; margin: 0 auto; }
.ff-article--wide { max-width: var(--ff-wrap); }
.ff-article__head { margin-bottom: 22px; }
.ff-article__meta { color: var(--ff-dim); font-size: .82rem; margin: 0; }
.ff-article__thumb { margin: 0 0 24px; border-radius: var(--ff-radius); overflow: hidden; border: 1px solid var(--ff-border); }
.ff-article__thumb img { display: block; width: 100%; }

.entry-content { font-size: 1.02rem; }
.entry-content > * { max-width: 100%; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(251, 191, 36, .4); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .3em; }
.entry-content img { border-radius: var(--ff-radius-sm); }
.entry-content blockquote, .wp-block-quote {
  margin: 1.6em 0; padding: 14px 20px; border-left: 3px solid var(--ff-accent);
  background: var(--ff-surface); border-radius: 0 var(--ff-radius-sm) var(--ff-radius-sm) 0; color: #cbd5e1;
}
.entry-content hr, .wp-block-separator { border: 0; border-top: 1px solid var(--ff-border-soft); margin: 2em 0; }
.entry-content table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.entry-content th, .entry-content td { border: 1px solid var(--ff-border); padding: 8px 12px; text-align: left; }
.entry-content th { background: var(--ff-surface); }
.entry-content figcaption, .wp-caption-text { color: var(--ff-dim); font-size: .8rem; text-align: center; margin-top: 6px; }
.entry-content pre, .entry-content code { background: var(--ff-surface); border: 1px solid var(--ff-border); border-radius: 6px; font-size: .88em; }
.entry-content code { padding: 1px 6px; }
.entry-content pre { padding: 14px; overflow: auto; }
.alignwide { max-width: var(--ff-wrap); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-block-image img, .wp-block-gallery img { border-radius: var(--ff-radius-sm); }
.wp-block-gallery { gap: 10px; }
.wp-block-cover { border-radius: var(--ff-radius); overflow: hidden; }
.wp-block-group.has-background { border-radius: var(--ff-radius); }

/* ---------- Formularios ---------- */
input:not([type]), input[type=text], input[type=email], input[type=url], input[type=search], input[type=password], input[type=tel], input[type=number], input[type=date], textarea, select {
  width: 100%; max-width: 100%; padding: 10px 12px;
  background: var(--ff-surface); color: var(--ff-text);
  border: 1px solid var(--ff-border); border-radius: var(--ff-radius-sm); font: inherit; font-size: .95rem;
}
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(245, 158, 11, .5); outline-offset: 1px; border-color: var(--ff-accent); }
::placeholder { color: var(--ff-dim); }
label { display: block; font-size: .85rem; color: var(--ff-muted); margin-bottom: 4px; }
.ff-search { display: flex; gap: 8px; }
.ff-search input[type=search] { flex: 1; }

/* ---------- Paginación y comentarios ---------- */
.ff-pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 32px; }
.ff-pager .page-numbers { padding: 7px 13px; border-radius: var(--ff-radius-sm); background: var(--ff-surface); border: 1px solid var(--ff-border); color: var(--ff-muted); font-size: .88rem; }
.ff-pager .page-numbers.current, .ff-pager a.page-numbers:hover { border-color: var(--ff-accent); color: var(--ff-accent-2); background: var(--ff-accent-soft); }
.ff-comments { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ff-border-soft); }
.ff-comments ol { list-style: none; padding: 0; }
.ff-comments .comment-body { background: var(--ff-surface); border: 1px solid var(--ff-border); border-radius: var(--ff-radius); padding: 14px; margin-bottom: 12px; }
.ff-postnav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; font-size: .9rem; }

/* ---------- Pie ---------- */
.ff-footer { border-top: 1px solid var(--ff-border-soft); background: rgba(7, 11, 20, .7); padding: 36px 0 24px; color: var(--ff-muted); font-size: .88rem; }
.ff-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-bottom: 24px; }
.ff-footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ff-accent); }
.ff-footer ul { list-style: none; margin: 0; padding: 0; }
.ff-footer li { margin-bottom: 6px; }
.ff-footer a { color: var(--ff-muted); }
.ff-footer a:hover { color: var(--ff-accent-2); }
.ff-footer__bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--ff-border-soft); padding-top: 16px; font-size: .8rem; color: var(--ff-dim); }
.ff-social { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Compatibilidad con plugins habituales ---------- */
.cmplz-cookiebanner, .cc-window { font-family: var(--ff-font) !important; }
.wpcf7 form p { margin-bottom: 14px; }
.wpcf7-not-valid-tip { color: #f87171; font-size: .8rem; }
.wpcf7-response-output { border-radius: var(--ff-radius-sm) !important; border-color: var(--ff-border) !important; }

/* ---------- Específico de la app Laravel ---------- */
.ff-flash { padding: 12px 16px; border-radius: var(--ff-radius-sm); margin-bottom: 18px; border: 1px solid var(--ff-border); background: var(--ff-surface); }
.ff-flash--ok { border-color: rgba(52, 211, 153, .5); color: #6ee7b7; }
.ff-flash--err { border-color: rgba(248, 113, 113, .5); color: #fca5a5; }
.ff-form { max-width: 560px; }
.ff-form .row { margin-bottom: 14px; }
.ff-form .check { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--ff-muted); }
.ff-form .check input { width: auto; margin-top: 4px; }
.ff-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ff-person { text-align: center; }
.ff-person .ff-card__img { aspect-ratio: 1/1; }
.ff-linklist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ff-pager nav { width: 100%; }

/* ---------- Galerías ---------- */
.ff-gallery { margin: 8px 0 32px; }
.ff-gallery__title { margin: 24px 0 6px; }
.ff-gallery__desc { color: var(--ff-muted); }
.ff-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.ff-gallery__grid a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--ff-radius-sm); border: 1px solid var(--ff-border); background: var(--ff-surface); }
.ff-gallery__grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s, opacity .2s; }
.ff-gallery__grid a:hover img { transform: scale(1.05); }
.ff-photo { margin: 1.4em 0; }
.ff-photo img { border-radius: var(--ff-radius-sm); }

.ff-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(3, 6, 12, .94); display: none; align-items: center; justify-content: center; }
.ff-lb.on { display: flex; }
.ff-lb figure { margin: 0; max-width: 92vw; max-height: 92vh; text-align: center; }
.ff-lb img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.ff-lb figcaption { color: #cbd5e1; margin-top: 10px; font-size: .92rem; min-height: 1.2em; }
.ff-lb button { position: absolute; background: rgba(15, 23, 42, .7); color: #fff; border: 1px solid var(--ff-border); border-radius: 99px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.ff-lb button:hover { border-color: var(--ff-accent); color: var(--ff-accent-2); }
.ff-lb__x { top: 16px; right: 16px; }
.ff-lb__p { left: 16px; top: 50%; transform: translateY(-50%); }
.ff-lb__n { right: 16px; top: 50%; transform: translateY(-50%); }
.ff-lb.single .ff-lb__p, .ff-lb.single .ff-lb__n { display: none; }

/* ---------- Ajustes de anchura, menú y visor ---------- */
@media (min-width: 1200px) {
  :root { --ff-wrap: 85vw; }
}
.ff-nav .ff-search-link { display: inline-flex; align-items: center; padding: 7px 10px; }
.ff-nav .ff-search-link svg { width: 17px; height: 17px; display: block; }
main img.ff-zoom, .entry-content a[href] > img { cursor: zoom-in; }

/* ---------- Imagen principal de la página de autor: tamaño contenido ---------- */
.ff-article__thumb { max-width: 380px; }
.ff-article__thumb img { width: 100%; max-height: 380px; object-fit: cover; }
.entry-content img { max-height: 85vh; width: auto; max-width: 100%; }
.ff-gallery__grid img, .ff-card__img img { max-height: none; width: 100%; }
.ff-photo { max-width: 520px; }

/* ---------- Contenido de «Inicio» en la portada: centrado ---------- */
.ff-home-content { text-align: center; max-width: 900px; margin: 0 auto; }
.ff-home-content img, .ff-home-content figure { margin-left: auto; margin-right: auto; }
.ff-home-content figure { text-align: center; }
.ff-home-content ul, .ff-home-content ol { list-style-position: inside; padding-left: 0; }
.ff-home-content .ff-gallery, .ff-home-content .ff-photo { text-align: left; }

/* ---------- Portada (maquetación como la web actual) ---------- */
.ff-pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 40px; background: rgba(254,202,87,.8); border: 1px solid rgba(242,190,75,.75); color: #1f2937; font-weight: 600; box-shadow: 5px 5px 20px rgba(0,0,0,.25); }
.ff-pill:hover { background: #fbbf24; color: #111; }
.ff-pill--sm { padding: 9px 22px; font-size: .9rem; }

.ff-homehero { background: #000505 center / cover no-repeat; }
.ff-homehero__shade { background: linear-gradient(90deg, rgba(0,0,0,.7) 23%, rgba(0,5,5,.13) 94%); min-height: 60vh; display: flex; align-items: center; padding: 60px 0; }
.ff-homehero__text { max-width: 560px; }
.ff-homehero h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 500; margin: 0 0 22px; color: #fff; }
.ff-homehero p { font-size: 1.35rem; line-height: 1.7; color: #fff; margin: 0 0 40px; max-width: 460px; }

.ff-homewelcome { background: linear-gradient(180deg, #0f0f0f 0%, rgba(0,5,5,.27) 100%); padding: 60px 0; }
.ff-homewelcome__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ff-homewelcome h2 { margin: 0; color: #9b9b9b; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; }
.ff-video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--ff-radius-sm); overflow: hidden; }
.ff-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 800px) { .ff-homewelcome__in { grid-template-columns: 1fr; } .ff-homewelcome { padding: 30px 0; } }

.ff-homecta { background: #000 center / cover no-repeat; margin-top: 28px; }
.ff-homecta__shade { background: radial-gradient(at center, rgba(0,0,0,.75) 36%, rgba(12,12,12,.3) 89%); padding: 70px 0; }
.ff-homecta__in { text-align: center; max-width: 760px; }
.ff-homecta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 14px; }
.ff-homecta p { color: #fff; font-size: 1.15rem; margin: 0 0 28px; }

.ff-homecards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.ff-homecard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 36px 24px; border-radius: var(--ff-radius); background: var(--ff-surface); border: 1px solid var(--ff-border); color: var(--ff-text); }
.ff-homecard:hover { border-color: rgba(245,158,11,.45); }
.ff-homecard h2 { margin: 0; font-size: 1.5rem; color: #f1f5f9; }
.ff-homecard p { margin: 0 0 8px; color: var(--ff-muted); }
@media (max-width: 700px) { .ff-homecards { grid-template-columns: 1fr; } }

/* ---------- Eventos e inscripciones ---------- */
.ff-event { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.ff-event__facts { list-style: none; margin: 0 0 18px; padding: 16px 18px; background: var(--ff-surface); border: 1px solid var(--ff-border); border-radius: var(--ff-radius); }
.ff-event__facts li { margin-bottom: 10px; }
.ff-event__facts li:last-child { margin-bottom: 0; }
.ff-event__facts strong { display: block; color: var(--ff-accent); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.ff-event__box { padding: 18px; background: var(--ff-surface); border: 1px solid var(--ff-border); border-radius: var(--ff-radius); }
.ff-event__box .ff-form { max-width: none; }
.ff-hint { color: var(--ff-dim); font-size: .8rem; margin-top: 4px; }
@media (max-width: 900px) { .ff-event { grid-template-columns: 1fr; } }

/* ---------- Libros y revistas ---------- */
.entry-content .ff-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin: 18px 0 36px; }
.entry-content .ff-book { display: flex; flex-direction: column; text-decoration: none; color: var(--ff-text); background: var(--ff-surface); border: 1px solid var(--ff-border); border-radius: var(--ff-radius); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.entry-content .ff-book:hover { transform: translateY(-4px); border-color: rgba(245, 158, 11, .55); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.ff-book__cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3/4; padding: 22px 20px; color: #fff; background: radial-gradient(120% 80% at 85% 0%, rgba(245, 158, 11, .55), transparent 60%), linear-gradient(160deg, #1e293b 0%, #0b1220 100%); }
.ff-book--libro .ff-book__cover { background: radial-gradient(120% 80% at 85% 0%, rgba(56, 189, 248, .45), transparent 60%), linear-gradient(160deg, #1e293b 0%, #0b1220 100%); }
.ff-book__cover::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: linear-gradient(90deg, rgba(0, 0, 0, .45), transparent); }
.ff-book__cover small { letter-spacing: .22em; text-transform: uppercase; font-size: .7rem; color: #fbbf24; }
.ff-book__cover strong { font-size: 2.6rem; line-height: 1; font-weight: 700; }
.ff-book__cover em { font-style: normal; color: #cbd5e1; font-size: 1rem; }
.ff-book__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.entry-content .ff-book__body h3 { margin: 0; font-size: 1.1rem; }
.ff-book__body p { margin: 0 0 12px; color: var(--ff-muted); font-size: .92rem; }
.ff-book__btn { margin-top: auto; align-self: flex-start; padding: 8px 18px; border-radius: 40px; background: rgba(254, 202, 87, .85); color: #1f2937; font-weight: 600; font-size: .85rem; }
.ff-book:hover .ff-book__btn { background: #fbbf24; }

.ff-homecard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--ff-radius-sm); margin-bottom: 6px; }

/* ======================= Portada animada ======================= */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* Cabecera con fotos que se pasan solas */
.ff-hero2 { position: relative; min-height: min(88vh, 760px); overflow: hidden; background: #000505; display: flex; }
.ff-hero2__slides, .ff-hero2__slide { position: absolute; inset: 0; }
.ff-hero2__slide { background: #000505 center / cover no-repeat; opacity: 0; transition: opacity 1.6s ease; transform: scale(1); }
.ff-hero2__slide.is-active { opacity: 1; animation: ffkb 11s ease-out forwards; }
/* Pantalla muy apaisada: la foto se ve entera y los laterales se rellenan con una copia desenfocada */
@media (min-aspect-ratio: 19/10), (min-width: 1450px) {
  .ff-hero2__slide { background-image: none !important; background-color: #000505; }
  .ff-hero2__slide::before, .ff-hero2__slide::after { content: ""; position: absolute; inset: 0; background-position: center; background-repeat: no-repeat; }
  .ff-hero2__slide::before { background-image: var(--bg); background-size: cover; filter: blur(28px) brightness(.8); transform: scale(1.12); }
  .ff-hero2__slide::after { background-image: var(--bg); background-size: contain; }
}
@keyframes ffkb { from { transform: scale(1); } to { transform: scale(1.13); } }
.ff-hero2__shade { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; padding: 90px 0 110px; background: linear-gradient(90deg, rgba(0,0,0,.4) 18%, rgba(0,5,5,0) 85%), linear-gradient(0deg, rgba(15,23,42,.55) 0%, transparent 24%); }
.ff-hero2__text { max-width: 620px; }
.ff-hero2 h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; font-weight: 600; margin: 0 0 22px; color: #fff; animation: ffup .9s .15s both; }
.ff-hero2 h1 em { font-style: normal; color: #fbbf24; }
.ff-hero2 p { font-size: 1.3rem; line-height: 1.7; color: #e2e8f0; max-width: 480px; margin: 0 0 38px; animation: ffup .9s .4s both; }
.ff-hero2 .ff-pill { animation: ffup .9s .65s both; }
@keyframes ffup { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.ff-hero2__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; display: flex; gap: 8px; justify-content: center; }
.ff-hero2__dots i { width: 26px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); transition: background .4s, width .4s; }
.ff-hero2__dots i.is-active { background: #fbbf24; width: 42px; }
.ff-hero2__down { position: absolute; z-index: 3; right: 28px; bottom: 14px; color: #fff; font-size: 2rem; text-decoration: none; animation: ffbounce 2s infinite; opacity: .8; }
@keyframes ffbounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Próximo evento destacado */
.ff-feat { margin: -56px 0 20px; position: relative; z-index: 5; }
.ff-feat__in { display: grid; grid-template-columns: 1fr 1.1fr; background: rgba(17,24,39,.92); backdrop-filter: blur(8px); border: 1px solid var(--ff-border); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.55); padding: 0; }
.ff-feat__img { min-height: 300px; background: #1e293b center / cover no-repeat; }
.ff-feat__body { padding: 34px 36px; }
.ff-feat__body h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.ff-feat__body h2 a { color: #fff; text-decoration: none; }
.ff-feat__meta { color: var(--ff-muted); margin: 0 0 20px; }
.ff-count { display: flex; gap: 10px; margin: 0 0 24px; }
.ff-count div { min-width: 68px; text-align: center; padding: 10px 8px; background: rgba(255,255,255,.05); border: 1px solid var(--ff-border); border-radius: 12px; }
.ff-count b { display: block; font-size: 1.7rem; color: #fbbf24; font-variant-numeric: tabular-nums; }
.ff-count small { color: var(--ff-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.ff-feat__spots { margin-left: 14px; color: var(--ff-muted); font-size: .9rem; }
@media (max-width: 800px) { .ff-feat__in { grid-template-columns: 1fr; } .ff-feat__img { min-height: 200px; } .ff-feat__body { padding: 24px 20px; } .ff-feat { margin-top: -30px; } }

/* Contadores */
.ff-stats { padding: 38px 0 6px; }
.ff-stats__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; text-align: center; }
.ff-stats b { display: block; font-size: clamp(2.2rem, 5vw, 3.2rem); color: #fbbf24; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ff-stats span { color: var(--ff-muted); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }

/* Muro de fotos */
.ff-wall { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-wall::after { content: ""; flex-grow: 1000; }
.ff-wall a { position: relative; overflow: hidden; border-radius: 10px; background: var(--ff-surface); flex: calc(var(--r, 1.5) * 100) 1 calc(var(--r, 1.5) * 230px); aspect-ratio: var(--r, 1.5); min-width: 0; }
.ff-wall img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease, filter .4s; }
@media (max-width: 600px) { .ff-wall a { flex-basis: calc(var(--r, 1.5) * 140px); } }
.ff-wall a::after { content: "⤢"; position: absolute; right: 10px; bottom: 8px; color: #fff; font-size: 1.2rem; opacity: 0; transform: scale(.7); transition: .3s; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.ff-wall a:hover img { transform: scale(1.1); filter: brightness(.8); }
.ff-wall a:hover::after { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ff-hero2__slide.is-active, .ff-hero2 h1, .ff-hero2 p, .ff-hero2 .ff-pill, .ff-hero2__down { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

.ff-feat__in--noimg { grid-template-columns: 1fr; }
.ff-feat__img { display: block; }

/* Imagen completa (también carteles verticales) sobre un fondo difuminado de la misma foto */
.ff-fit { position: relative; overflow: hidden; background: #0b1220; }
.ff-fit::before { content: ""; position: absolute; inset: -20px; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.55); transform: scale(1.1); }
.ff-fit img { position: relative; width: 100%; height: 100%; object-fit: contain !important; display: block; }
.ff-feat__img.ff-fit { min-height: 340px; }
.ff-feat__img.ff-fit img { position: absolute; inset: 0; }
.ff-card:hover .ff-fit img { transform: scale(1.02); }

/* El bloque del evento destacado se adapta a la forma de la imagen (--r = ancho/alto) */
.ff-feat { --fh: 420px; }
.ff-feat__in { grid-template-columns: minmax(0, min(calc(var(--fh) * var(--r, 1.5)), 58%)) 1fr; }
.ff-feat__in--noimg { grid-template-columns: 1fr; }
.ff-feat__img.ff-fit { min-height: var(--fh); }
@media (max-width: 800px) {
  .ff-feat__in, .ff-feat__in--noimg { grid-template-columns: 1fr; }
  .ff-feat__img.ff-fit { min-height: 0; aspect-ratio: var(--r, 1.5); max-height: 70vh; width: 100%; }
}

/* ---------- Área de socios y portfolio ---------- */
.ff-panel__head { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.ff-panel__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ff-panel { background: var(--ff-surface); border: 1px solid var(--ff-border); border-radius: var(--ff-radius); padding: 22px; margin-bottom: 26px; }
.ff-panel h2 { margin: 0 0 10px; }
.ff-panel h2 small { font-size: .55em; color: var(--ff-muted); font-weight: 400; margin-left: 8px; }
.ff-muted { color: var(--ff-muted); font-size: .92rem; }
.ff-form--wide { max-width: 760px; }
.ff-panel__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ff-panel__avatar { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.ff-panel__avatar img, .ff-panel__avatar > span { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: rgba(255, 255, 255, .06); border: 1px solid var(--ff-border); display: flex; align-items: center; justify-content: center; font-size: .72rem; color: var(--ff-muted); }
.ff-up__log { list-style: none; margin: 12px 0 0; padding: 0; font-size: .88rem; color: var(--ff-muted); }
.ff-up__log .ok { color: #6ee7b7; }
.ff-up__log .err { color: #fca5a5; }
.ff-photos { margin-top: 22px; }
.ff-photos__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 18px; }
.ff-pcard { display: flex; gap: 12px; padding: 10px; border: 1px solid var(--ff-border); border-radius: var(--ff-radius-sm); background: rgba(255, 255, 255, .02); }
.ff-pcard img { width: 110px; height: 110px; object-fit: cover; border-radius: 6px; flex: none; }
.ff-pcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ff-pcard__tools { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.ff-pcard__tools button { background: transparent; border: 1px solid var(--ff-border); color: inherit; border-radius: 6px; padding: 2px 10px; cursor: pointer; }
.ff-pcard__tools button:hover { border-color: var(--ff-accent); }
.ff-pcard__tools .check { margin-left: auto; font-size: .85rem; }
.ff-pcard.is-del { opacity: .45; border-color: rgba(248, 113, 113, .6); }
.ff-profile { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.ff-profile__avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--ff-border); }
.ff-mgrid { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.ff-mphoto { margin: 0; flex: 0 0 auto; max-width: 100%; }
.ff-mphoto a { display: block; overflow: hidden; border-radius: var(--ff-radius-sm); }
.ff-mphoto img { height: 480px; width: auto; max-width: 100%; display: block; transition: transform .4s; }
.ff-mphoto img.is-v { height: 380px; }
.ff-mphoto a:hover img { transform: scale(1.03); }
.ff-mphoto figcaption { width: 0; min-width: 100%; padding: 6px 2px 0; font-size: .88rem; display: flex; flex-direction: column; gap: 2px; }
.ff-mphoto figcaption span { color: var(--ff-muted); }
@media (max-width: 640px) {
  .ff-panel__cols { grid-template-columns: 1fr; }
  .ff-profile { flex-direction: column; }
  .ff-pcard img { width: 84px; height: 84px; }
}

/* Página «Hazte socio» */
.ff-join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .ff-join { grid-template-columns: 1fr; } }

.ff-fee { font-size: 1.15rem; margin: 0 0 12px; color: var(--ff-accent-2); }

.ff-fee-alert { border-width: 2px; }
.ff-table { width: 100%; border-collapse: collapse; }
.ff-table th, .ff-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ff-border); }
.ff-table th { color: var(--ff-muted); font-weight: 500; font-size: .85rem; }

@media (max-width: 600px) { .ff-mphoto img { height: 300px; } .ff-mphoto img.is-v { height: 260px; } }

/* Imagen del evento: entera, antes del texto y como mucho 1/3 de la altura de la pantalla */
.ff-event__img { margin: 0 0 22px; text-align: center; }
.ff-event__img img { display: inline-block; width: auto; max-width: 100%; height: auto; max-height: 33vh; object-fit: contain; border-radius: var(--ff-radius); border: 1px solid var(--ff-border); }

/* texto legible sobre la foto aunque se vea casi sin oscurecer */
.ff-hero2 h1, .ff-hero2 p { text-shadow: 0 2px 16px rgba(0, 0, 0, .7), 0 1px 3px rgba(0, 0, 0, .6); }

/* Autor de la foto de la cabecera (esquina inferior derecha) */
.ff-hero2__credit { position: absolute; z-index: 3; right: 28px; bottom: 62px; max-width: min(70vw, 360px); padding: 5px 12px; border-radius: 99px; background: rgba(0, 0, 0, .42); color: #e2e8f0; font-size: .85rem; line-height: 1.3; transition: opacity .45s; backdrop-filter: blur(4px); }
.ff-hero2__credit a { color: #fff; font-weight: 600; text-decoration: none; }
.ff-hero2__credit a:hover { color: #fbbf24; }
.ff-hero2__credit.is-out { opacity: 0; }
@media (max-width: 600px) { .ff-hero2__credit { right: 14px; bottom: 56px; font-size: .78rem; } }

/* Cabecera en móvil: la foto se ve entera arriba (proporción 3:2) y el texto va debajo, sin tapar nada */
@media (max-width: 700px) {
  .ff-hero2 { flex-direction: column; min-height: 0; }
  .ff-hero2__slides { position: relative; inset: auto; width: 100%; aspect-ratio: 3 / 2; flex: none; overflow: hidden; }
  .ff-hero2__slide { background-image: none !important; background-color: #000505; }
  .ff-hero2__slide::before, .ff-hero2__slide::after { content: ""; position: absolute; inset: 0; background-position: center; background-repeat: no-repeat; }
  .ff-hero2__slide::before { background-image: var(--bg); background-size: cover; filter: blur(22px) brightness(.8); transform: scale(1.12); }
  .ff-hero2__slide::after { background-image: var(--bg); background-size: contain; }
  .ff-hero2__shade { padding: 26px 0 44px; background: #000505; }
  .ff-hero2 p { font-size: 1.1rem; margin-bottom: 26px; }
  .ff-hero2__credit { top: calc(66.667vw - 40px); bottom: auto; right: 10px; font-size: .74rem; padding: 3px 10px; }
  .ff-hero2__dots { top: calc(66.667vw - 13px); bottom: auto; }
  .ff-hero2__down { display: none; }
}

/* Bloque «Concurso fotográfico» de la portada */
.ff-conc { display: flex; flex-direction: column; background: var(--ff-surface); border: 1px solid var(--ff-border-soft); border-radius: var(--ff-radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ff-conc:hover { border-color: rgba(245, 158, 11, .45); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.ff-conc__img { width: 100%; height: 190px; object-fit: cover; display: block; }
.ff-conc__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ff-conc__body .ff-eyebrow { margin-bottom: 6px; }
.ff-conc h3 { margin: 0 0 4px; font-size: 1.25rem; }
.ff-conc__meta, .ff-conc__themes { margin: 0; font-size: .9rem; color: var(--ff-muted, #94a3b8); }
.ff-conc__desc { margin: 10px 0 0; font-size: .92rem; color: #cbd5e1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ff-conc__prize { margin: 10px 0 0; font-size: .9rem; color: #fbbf24; }
.ff-conc__status { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ff-border-soft); font-size: .92rem; }
.ff-conc__bar { margin-top: 8px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ff-conc__bar i { display: block; height: 100%; background: linear-gradient(90deg, #fcd34d, #f97316); }
.ff-conc__go { margin-top: auto; padding-top: 14px; color: #fbbf24; font-weight: 600; font-size: .92rem; }

/* Ayuda / manual del socio */
.ff-manual h2 { margin: 34px 0 12px; font-size: 1.4rem; }
.ff-manual ol, .ff-manual ul { padding-left: 1.4em; }
.ff-manual li { margin: 6px 0; }
.ff-manual figure { margin: 18px 0; }
.ff-manual figure img { max-width: 100%; height: auto; border: 1px solid var(--ff-border-soft); border-radius: var(--ff-radius-sm); display: block; }
.ff-manual figcaption { margin-top: 6px; font-size: .85rem; color: var(--ff-muted); }
.ff-manual table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.ff-manual th, .ff-manual td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--ff-border-soft); }
.ff-manual th { color: var(--ff-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.ff-manual__top { margin: 0 0 8px; }

/* Cada sección de la portada, en un bloque flotante con bordes redondeados (como el próximo evento) */
.ff-block__in { background: rgba(17,24,39,.92); backdrop-filter: blur(8px); border: 1px solid var(--ff-border); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.55); padding: 36px 40px; overflow: hidden; }
.ff-block .ff-home-content { max-width: none; }
.ff-block .ff-section__title { margin-top: 0; }
.ff-stats__in.ff-block__in { padding: 30px 28px; }
.ff-homewelcome { background: none; padding: 28px 0; }
.ff-homewelcome .ff-block__in { align-items: center; }
.ff-homecta { width: calc(100% - 40px); max-width: calc(var(--ff-wrap) - 40px); margin: 28px auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--ff-border); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.ff-homecta__shade { padding: 60px 0; }
.ff-homecard { box-shadow: 0 18px 44px rgba(0,0,0,.4); border-radius: 18px; }
@media (max-width: 800px) {
  .ff-block__in { padding: 22px 16px; border-radius: 14px; }
  .ff-homecta { width: calc(100% - 24px); border-radius: 14px; margin: 18px auto; }
  .ff-homewelcome { padding: 18px 0; }
}

/* Concurso: pocas ediciones → banner alargado y centrado */
.ff-conc-list { display: flex; flex-direction: column; gap: 18px; max-width: 980px; margin: 0 auto; }
.ff-conc-list .ff-conc { flex-direction: row; align-items: stretch; }
.ff-conc-list .ff-conc__img { width: 40%; height: auto; min-height: 240px; flex: 0 0 40%; }
.ff-conc-list .ff-conc__body { padding: 28px 32px; align-items: center; justify-content: center; text-align: center; }
.ff-conc-list .ff-conc h3 { font-size: 1.6rem; }
.ff-conc-list .ff-conc__desc { -webkit-line-clamp: 3; max-width: 560px; }
.ff-conc-list .ff-conc__status { width: 100%; max-width: 420px; }
.ff-conc-list .ff-conc__go { margin-top: 16px; padding-top: 0; }
@media (max-width: 760px) {
  .ff-conc-list .ff-conc { flex-direction: column; }
  .ff-conc-list .ff-conc__img { width: 100%; flex: none; min-height: 0; height: 190px; }
  .ff-conc-list .ff-conc__body { padding: 20px 16px; }
}
/* Concurso: un solo cuadro (el bloque); el banner ya no lleva caja propia y los enlaces quedan dentro */
.ff-conc-list { max-width: none; gap: 0; }
.ff-conc-list .ff-conc { background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; padding: 8px 0; align-items: center; gap: 28px; }
.ff-conc-list .ff-conc + .ff-conc { border-top: 1px solid var(--ff-border-soft); margin-top: 14px; padding-top: 22px; }
.ff-conc-list .ff-conc__img { border-radius: 14px; flex: 0 0 38%; width: 38%; }
.ff-conc-list .ff-conc:hover .ff-conc__go { text-decoration: underline; }
.ff-conc-list + p { margin: 22px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--ff-border-soft); text-align: center; }
@media (max-width: 760px) { .ff-conc-list .ff-conc { gap: 14px; } .ff-conc-list .ff-conc__img { width: 100%; flex: none; } }
