/*
 * Mockups of 25/10 (Quiénes somos, Escuela de Candombe, Observatorio): template T6 hero, ficha, gallery, videos,
 * quote band, «Sumate» band, portrait cards and the pending allies spaces.
 */

/* T6 hero: featured image under a dark gradient (mockup .eh); without a photo, the Observatorio gradient. */
.ma-project-hero { position: relative; padding-top: clamp(150px, 16vw, 210px); padding-bottom: 70px; background: linear-gradient(120deg, var(--negro) 0%, #3b1a20 100%); overflow: hidden; }
.ma-project-hero > * { position: relative; z-index: 1; }
.ma-project-hero > .ma-cover-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none !important; margin: 0 !important; object-fit: cover; object-position: 50% 45%; }
.ma-project-hero:has(> .ma-cover-img)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(26, 21, 18, .92) 0%, rgba(26, 21, 18, .7) 45%, rgba(26, 21, 18, .15) 100%); }
.ma-project-hero .ma-breadcrumbs { position: absolute; top: 40px; left: max(var(--gutter), calc((100% - var(--wp--style--global--content-size)) / 2)); right: var(--gutter); margin: 0 !important; }
.ma-project-hero__title { font-size: clamp(34px, 5vw, 60px) !important; max-width: 680px; margin: 14px 0 !important; color: #fff; }
.ma-project-hero__lead p, .ma-project-hero__lead { max-width: 560px; color: #e8dfd0; font-size: 18px; }
.ma-project-hero .wp-block-buttons { margin-top: 24px; }
@media (max-width: 900px) {
	.ma-project-hero { padding-top: 130px; }
	.ma-project-hero:has(> .ma-cover-img)::before { background: linear-gradient(0deg, rgba(26, 21, 18, .92) 0%, rgba(26, 21, 18, .55) 100%); }
}

/* Escuela de Candombe logo: the uploaded logo, or the reserved dashed circle (Parte 4, LOG-06). */
.ma-school-logo { display: flex; align-items: center; justify-content: center; width: 150px; height: 150px; margin-bottom: 20px !important; }
.ma-school-logo img { width: 100%; height: 100%; object-fit: contain; }
.ma-school-logo.is-pending { padding: 14px; text-align: center; border: 2px dashed var(--vino); border-radius: 50%; background: rgba(255, 255, 255, .5); color: var(--vino); font: 700 11px/1.4 var(--sans); text-transform: uppercase; }
.ma-school-logo--hero { width: 92px; height: 92px; margin-bottom: 6px !important; }
.ma-school-logo--hero.is-pending { border-color: var(--oro); background: rgba(26, 21, 18, .5); color: var(--oro); font-size: 11px; }

/* Qué es + ficha (mockup .q / .ficha). */
.ma-project-about__cols { gap: 56px; align-items: flex-start; }
.ma-project-about h2 { margin: 8px 0 14px; }
.ma-project-about .ma-muted + .ma-muted { margin-top: 14px; }
.ma-facts { padding: 26px; background: var(--marfil); border: 1px solid var(--arena); border-top: 4px solid var(--vino); border-radius: 4px; }
.ma-facts__title { font-size: 19px; margin: 0 0 2px; }
.ma-fact { margin-top: 12px !important; }
.ma-fact__label { font: 700 11.5px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--vino); }
.ma-fact__value { margin-top: 3px !important; font-size: 14.5px; color: var(--negro); }
.ma-fact__value a { color: var(--vino); }
.ma-fact:not(:has(.ma-fact__value)) { display: none; } /* value was only a review note: no empty label on the site */

/* Gallery: one large photo and two beside it (mockup .gg). */
.ma-gallery-sec { padding-top: 20px; }
.ma-gal { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 260px 260px; gap: 14px; }
.ma-gal > * { position: relative; margin: 0 !important; overflow: hidden; border-radius: 4px; background: var(--negro); }
.ma-gal > :first-child { grid-row: 1 / 3; }
.ma-gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.ma-gal > :hover img { transform: scale(1.05); }
.ma-gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(26, 21, 18, .85)); color: #fff; font-size: 12.5px; }
.ma-gal .ma-photo-pending { min-height: 0; aspect-ratio: auto; align-items: center; justify-content: center; border: 2px dashed var(--oro); background: #fffbe6; }
.ma-gal .ma-photo-pending__label { color: var(--sepia); font-size: 13px; text-shadow: none; }
@media (max-width: 900px) {
	.ma-gal { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.ma-gal > *, .ma-gal > :first-child { grid-row: auto; height: 240px; }
}

/* Videos (mockup .vds): horizontal 16:9 and vertical 9:16 side by side, play only on request. */
.ma-videos-sec { padding-top: 10px; }
.ma-videos { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 22px; }
.ma-video { margin: 0; }
.ma-video__frame { position: relative; height: 360px; overflow: hidden; border-radius: 6px; background: var(--negro); }
.ma-video--h .ma-video__frame { width: 640px; max-width: 100%; }
.ma-video--v .ma-video__frame { width: 201px; }
.ma-video__frame :is(img, iframe, video, .ma-video__play) { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.ma-video__play { position: relative; padding: 0; background: none; cursor: pointer; }
.ma-video__play::after { content: ""; position: absolute; top: 50%; left: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: rgba(201, 162, 39, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%231A1512'/%3E%3C/svg%3E") 56% 50% / 30px no-repeat; transition: transform .25s var(--ease); }
.ma-video__play:hover::after { transform: scale(1.08); }
.ma-video__pending { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 8px; background: #fff2a6; color: var(--negro); font: 600 12px/1.3 var(--sans); border-radius: 3px; }
.ma-video figcaption { max-width: 640px; margin-top: 8px; font-size: 13.5px; color: var(--sepia); }
.ma-video figcaption strong { display: block; margin-bottom: 2px; color: var(--negro); font-size: 15px; }
@media (max-width: 900px) {
	.ma-video__frame { height: auto; }
	.ma-video--h, .ma-video--h .ma-video__frame { width: 100%; aspect-ratio: 16 / 9; }
	.ma-video--v .ma-video__frame { width: 62vw; max-width: 280px; aspect-ratio: 9 / 16; }
}

/* Quote band (mockup .cita). */
.ma-quote { padding-top: 72px; padding-bottom: 72px; text-align: center; }
.ma-quote__text { max-width: 820px !important; margin: 0 auto !important; font: italic 400 clamp(24px, 3.2vw, 38px)/1.35 var(--serif); color: #fff !important; }
.ma-quote__note { margin-top: 14px !important; font-size: 14px; color: #e6cfd2 !important; }

/* «Sumate» band with two related links (mockup .ins / .rel). */
.ma-sumate { padding-top: 64px; padding-bottom: 64px; }
.ma-sumate__cols { gap: 40px; align-items: center; }
.ma-sumate h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 8px 0 10px; }
.ma-sumate p:not(.ma-eyebrow) { color: var(--sepia); }
.ma-rel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ma-rel__card { position: relative; margin: 0 !important; padding: 18px; background: #fff; border: 1px solid var(--arena); border-left: 4px solid var(--oro); border-radius: 3px; transition: transform .25s var(--ease), box-shadow .25s; }
.ma-rel__card:hover, .ma-rel__card:focus-within { transform: translateY(-4px); box-shadow: 0 12px 22px rgba(0, 0, 0, .12); }
.ma-rel__card h3 { margin: 0 0 4px; font-size: 17px; }
.ma-rel__card h3 a { color: var(--vino); text-decoration: none; }
.ma-rel__card h3 a::after { content: ""; position: absolute; inset: 0; }
.ma-rel__card p { margin: 0; font-size: 13px; }
@media (max-width: 900px) { .ma-rel { grid-template-columns: minmax(0, 1fr); } .ma-sumate { padding-top: 56px; padding-bottom: 56px; } }

/* Portrait cards (mockup .pc): light on marfil (Comisión), dark on negro (Equipo). */
.ma-sec--center > :is(.ma-eyebrow, h2, .ma-sub, .ma-center) { text-align: center; margin-left: auto !important; margin-right: auto !important; }
.ma-sub { max-width: 620px; margin-bottom: 44px !important; color: var(--sepia); }
.ma-dark-negro .ma-sub { color: #cfc4b2; }
.ma-people-sec h2 { margin: 8px auto !important; }
.ma-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 1010px !important; margin: 0 auto; padding: 0; list-style: none; }
.ma-person { width: 230px; padding: 28px 18px 24px; text-align: center; border-radius: 6px; background: #fff; border: 1px solid var(--arena); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); transition: transform .3s var(--ease), box-shadow .3s; }
.ma-person:hover { transform: translateY(-5px); box-shadow: 0 14px 26px rgba(0, 0, 0, .12); }
@media (min-width: 901px) { /* six board members: two rows of three (mockup .pg.seis) */
	#comision .ma-people { max-width: 800px !important; }
	#comision .ma-person { width: 240px; }
}
.ma-dark-negro .ma-person { background: #2a221d; border-color: #3d332b; box-shadow: none; }
.ma-dark-negro .ma-person:hover { box-shadow: 0 14px 26px rgba(0, 0, 0, .45); }
.ma-person__photo { display: flex; align-items: center; justify-content: center; width: 130px; height: 130px; margin: 0 auto 18px; overflow: hidden; border-radius: 50%; border: 4px solid var(--vino); background: var(--arena); color: var(--vino); font: 700 40px/1 var(--serif); }
.ma-dark-negro .ma-person__photo { border-color: var(--oro); background: #3d332b; color: var(--oro); }
.ma-person__img { width: 100%; height: 100%; object-fit: cover; }
.ma-person__name { margin: 0 0 4px; font: 700 18px/1.2 var(--serif); }
.ma-person__role { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--vino); }
.ma-dark-negro .ma-person__role { color: var(--oro); }
@media (max-width: 900px) {
	.ma-people { gap: 16px; }
	.ma-person { width: calc(50% - 8px); padding: 22px 10px 20px; }
	.ma-person__photo { width: 112px; height: 112px; font-size: 34px; }
	.ma-person__name { font-size: 16px; }
}
@media (max-width: 420px) { .ma-person__photo { width: 96px; height: 96px; } .ma-person__name { font-size: 15px; } }

/* Pending allies: dashed logo spaces (Parte 3 v2, 2.5). */
.ma-allies.is-pending { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ma-ally--slot span { display: flex; align-items: center; justify-content: center; width: 100%; height: 84px; border: 2px dashed var(--oro); border-radius: 6px; background: #fffbe6; color: var(--sepia); font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.ma-allies__title { margin-top: 26px !important; margin-bottom: 12px !important; font-size: 19px; color: var(--vino); }
.ma-networks .ma-allies__title { text-align: left; }
