/* ============================================================================
   Salvemos a los Galgos / Save the Galgos — skin del Theme
   Se carga la última (después del core). Mismo archivo en SaveGalgos y
   SalvaGalgos: si cambias uno, copia el otro.
   Reproduce la web original (www.salvemosalosgalgos.org): medidas, colores y
   tipografías tomados de la web publicada.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&family=Lato:ital,wght@0,300;0,400;0,700;1,400&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&display=swap');

:root {
    /* Paleta original */
    --galgos-light:   #cdc5b6;   /* beige: fondo de página, tarjetas, noticias */
    --galgos-dark:    #0D0907;   /* casi negro: zona del formulario y pie      */
    --galgos-chiaro:  #8c8174;   /* taupe: intro y exigencias                  */
    --galgos-bright:  #e27970;   /* salmón: progreso y donativo                */
    --galgos-opaque:  #4a3d31;   /* marrón: tarjeta del formulario             */
    --galgos-yellow:  #EACD27;   /* amarillo: "Firma y difunde" y barra fija   */
    --galgos-green:   #198754;   /* verde: botón de firmar                     */
    --galgos-ink:     #000814;   /* texto oscuro                               */
    --galgos-cond:    'Roboto Condensed', 'Arial Narrow', sans-serif;

    --landing-primary:       var(--galgos-bright);
    --landing-primary-hover: #c9625a;
    --landing-secondary:     var(--galgos-opaque);
    --landing-accent:        var(--galgos-dark);
    --landing-bg:            var(--galgos-light);
    --landing-bg-light:      var(--galgos-light);
    --landing-bg-dark:       var(--galgos-dark);
    --landing-form-bg:       var(--galgos-opaque);
    --landing-footer-bg:     var(--galgos-dark);

    --font-family-headline: 'Merriweather', Georgia, serif;
    --font-family-body:     'Lato', system-ui, sans-serif;
}
/* Las variables --an-* se definen en .an (an.css): hay que pisarlas ahí */
.an, .landing .an {
    --an-font-display: 'Merriweather', Georgia, serif;
    --an-font-ui:      'Lato', system-ui, sans-serif;
    --an-action:       var(--galgos-green);
    --an-action-h:     #157347;
}

/* ── Página ─────────────────────────────────────────────────────────────── */
body.landing,
body.landing #main-wrapper { background: var(--galgos-light); font-family: var(--font-family-body); color: var(--galgos-ink); }

.landing h1, .landing h2, .landing h3, .landing h4, .landing h5,
.landing .form-post-title {
    font-family: var(--font-family-headline);
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
}

/* ── Cabecera: sólo logo y socios (la original no tenía menú) ───────────── */
@media (min-width: 992px) {
    .landing .is-landing-nav .navigation-menu { display: none; }
}

/* ── Hero + columnas: contenedor de 1320px como la original ─────────────── */
.landing .stage-content { max-width: 1320px; margin-left: auto; margin-right: auto; }
.landing .stage-opp-blocks-zone { padding-top: 470px; }   /* la intro empieza sobre la mitad baja de la foto */
@media (max-width: 767.98px) { .landing .stage-opp-blocks-zone { padding-top: 0; } }

/* ── Formulario ─────────────────────────────────────────────────────────── */
.landing .card-forms { border-radius: 6px; }
.landing .form-post-title { font-size: 2.5rem; line-height: 1.2; }
.landing { --form-progress-fill: var(--galgos-bright); }
.landing .card-forms .progress { background-color: #e9ecef; height: 8px; }
.landing .card-forms .progress-bar,
.landing .card-forms .progress-bar-branded { background-color: var(--galgos-bright); }
.landing .card-forms .form-control { border-radius: 0; }
.landing .btn-submit {
    --bs-btn-bg: var(--galgos-green);
    --bs-btn-border-color: var(--galgos-green);
    --bs-btn-hover-bg: #157347;
    --bs-btn-hover-border-color: #146c43;
    background-color: var(--galgos-green);
    border-color: var(--galgos-green);
    border-radius: 3px;
    font-family: var(--galgos-cond);
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
}
.landing .btn-submit::before, .landing .btn-submit::after,
.landing .btn-gem::before,    .landing .btn-gem::after { display: none; }   /* sin triángulo de esquina */

/* ── Intro (taupe, texto oscuro) ─────────────────────────────────────────── */
/* Columna derecha del hero: un solo nivel. El bloque lleva su fondo en el JSON
   ("bg"), así el core no añade la tarjeta interior; aquí se quitan los
   rellenos de los envoltorios intermedios (inner, container, row, col). */
.landing .stage-opp-blocks-zone .opp-block .landing-block-inner,
.landing .stage-opp-blocks-zone .opp-block .landing-content-block > .container,
.landing .stage-opp-blocks-zone .opp-block .landing-content-col,
.landing .stage-opp-blocks-zone .opp-block .landing-content-inner {
    padding-left: 0; padding-right: 0; max-width: none; background: transparent;
}
.landing .stage-opp-blocks-zone .opp-block .landing-content-inner { padding-top: 0; padding-bottom: 0; }
.landing .stage-opp-blocks-zone .opp-block .landing-content-block > .container > .row { margin-left: 0; margin-right: 0; }
.landing .stage-opp-blocks-zone .opp-block .wysiwyg h1,
.landing .stage-opp-blocks-zone .opp-block .wysiwyg h2,
.landing .stage-opp-blocks-zone .opp-block .wysiwyg h3 { text-transform: none; letter-spacing: normal; }
.landing .stage-opp-blocks-zone #intro { color: var(--galgos-ink); padding: 2rem; margin-bottom: 2rem; }
.landing .stage-opp-blocks-zone #intro p { color: var(--galgos-ink); font-size: 1rem; }

/* ── Los 4 bloques: tarjeta beige, título centrado con raya blanca,
      foto 200px a la izquierda y texto al lado ───────────────────────────── */
#info .lp-classic { max-width: none; padding: 0; }
#info .lp-classic-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    column-gap: 1.5rem;
    background: var(--galgos-light);
    color: var(--galgos-ink);
    padding: 1.5rem 3rem;
    margin-bottom: 1rem;
    border-radius: 0;
}
#info .lp-classic-body { display: contents; }
#info .lp-classic-title {
    grid-column: 1 / -1; grid-row: 1;
    justify-self: center;
    font-size: 2rem; color: var(--galgos-ink);
    padding-bottom: .5rem; margin-bottom: 1.5rem;
    border-bottom: 1px solid #fff;
    text-align: center;
}
#info .lp-classic-img { grid-column: 1; grid-row: 2; width: 200px; }
#info .lp-classic-img img { width: 200px; height: auto; border-radius: 0; }
#info .lp-classic-descr { grid-column: 2; grid-row: 2; color: var(--galgos-ink); font-size: 1rem; line-height: 1.5; margin: 0; }
@media (max-width: 575.98px) {
    #info .lp-classic-row { grid-template-columns: 1fr; padding: 1.5rem; }
    #info .lp-classic-img, #info .lp-classic-img img { width: 100%; }
    #info .lp-classic-descr { grid-column: 1; grid-row: 3; margin-top: 1rem; }
}

/* ── Exigencias: taupe, texto oscuro ────────────────────────────────────── */
#exigencias { padding-top: 4rem; padding-bottom: 4rem; }
#exigencias, #exigencias p { color: var(--galgos-ink); }
#exigencias p { margin-bottom: 1em; }

/* ── Botón blanco (bloque amarillo y barra fija) ────────────────────────── */
.landing .cta-btn {
    --bs-btn-padding-y: 1.5rem;
    --bs-btn-padding-x: 2.5rem;
    --bs-btn-border-radius: .3rem;
    background: #fff;
    border: 1px solid #fff;
    color: var(--galgos-ink);
    font-family: var(--galgos-cond);
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    border-radius: .3rem;
    padding: 1.5rem 2.5rem;
    box-shadow: none;
}
.landing .cta-btn:hover { background: #f1efea; color: var(--galgos-ink); }
.landing .cta-btn::before, .landing .cta-btn::after { display: none; }

/* ── Firma y difunde: bloque amarillo centrado ──────────────────────────── */
#firma-y-difunde { text-align: center; color: var(--galgos-ink); padding: 3rem 2rem; }
#firma-y-difunde .cta-title {
    font-family: var(--galgos-cond); font-weight: 700; font-size: 2.5rem; line-height: .8;
    color: var(--galgos-ink); margin: 0;
}
#firma-y-difunde .cta-subtitle {
    font-family: var(--galgos-cond); font-weight: 700; font-size: 3.5rem; line-height: .9;
    color: var(--galgos-ink); margin: 0 0 1.75rem;
}
#firma-y-difunde .cta-counter {
    font-family: var(--font-family-body); font-weight: 700; font-size: 1.5rem;
    color: var(--galgos-ink); margin: 1.5rem 0 0;
}

/* ── Noticias: zigzag a sangre, sin tira blanca, foto 5:3, flecha beige ─ */
#noticias {
    --zigzag-strip: 0px; --zigzag-strip-neg: 0px;
    --landing-zigzag-strip: 0px; --landing-zigzag-strip-neg: 0px;
    background: var(--galgos-light);
    padding-left: 0; padding-right: 0; margin-top: 0; margin-bottom: 0;
}
#noticias .zigzag-section { opacity: 1; transform: none; }
#noticias .zigzag-pic,
#noticias .zigzag-section.even .zigzag-pic { border: 0 !important; }
#noticias .zigzag-pic::before { display: none; }
@media (min-width: 992px) { #noticias .zigzag-pic::after { padding-top: 60%; } }
#noticias .zigzag-section:hover .zigzag-img { transform: none; }
#noticias .zigzag-body { background: var(--galgos-light); padding: 48px 128px 48px 48px; }
#noticias .zigzag-section.even .zigzag-body { padding: 48px 48px 48px 128px; }
#noticias .zigzag-body::after { border-right-color: var(--galgos-light); }
#noticias .zigzag-section.even .zigzag-body::after { border-left-color: var(--galgos-light); border-right-color: transparent; }
#noticias .zigzag-text { margin-top: 0; display: flex; flex-direction: column; }
#noticias .zigzag-text h3 { order: 1; margin-bottom: .25rem; }
#noticias .zigzag-text p { order: 3; margin-top: .5rem; }
#noticias .landing-block-inner { padding-left: 0; padding-right: 0; max-width: none; }
#noticias .zigzag-text h3,
#noticias .zigzag-text h3 a { font-family: var(--font-family-headline); font-weight: 400; font-size: 2rem; line-height: 1.2; color: var(--galgos-ink); text-decoration: none; }
#noticias .zigzag-tag { order: 2; font-size: .8rem; color: var(--galgos-ink); text-transform: none; letter-spacing: 0; background: none; border: 0; padding: 0; }
#noticias .zigzag-text p { color: var(--galgos-ink); font-size: 1rem; line-height: 1.5; }
#noticias .zigzag-cta { display: none; }
@media (max-width: 768px) {
    #noticias .zigzag-body,
    #noticias .zigzag-section.even .zigzag-body { padding: 32px 20px; }
    #noticias .zigzag-body::after,
    #noticias .zigzag-section.even .zigzag-body::after { border-color: transparent transparent var(--galgos-light) transparent; }
}

/* ── Donativo: salmón, título fino blanco, widget en blanco sobre salmón ─
   El widget (css/giving/*) declara colores con !important: aquí se gana con
   #giving + !important. Sólo afecta a esta web. */
#giving .donation-descr-col h1,
#giving .donation-descr-col h2 {
    font-family: var(--font-family-headline); font-weight: 400; font-size: 4rem; line-height: 1;
    color: #fff;
}
#giving .donation-descr-col div.is-dark-sensitive { display: none; }   /* sin texto por defecto */
#giving .donations-options-card,
#giving .donations-options-card > .card-body {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
#giving .donate-form {
    background: transparent !important; border: 1px solid #fff !important; border-radius: 4px !important; box-shadow: none !important;
}
#giving .donate-form-header {
    background-color: transparent !important; color: #fff !important;
    border: 0 !important; border-bottom: 1px solid #fff !important; border-radius: 3px 3px 0 0;
    font-family: var(--font-family-body); font-weight: 700; font-size: 1.1rem; text-transform: none;
}
#giving .donate-form-body { background: transparent !important; border: 0 !important; padding: 1rem; }
#giving .amount-buttons-wrapper .btn-check + .btn-amount,
#giving .amount-buttons-wrapper .btn-check + .btn-other-amount,
#giving .amount-buttons-wrapper .form-control {
    background-color: #fff !important; color: var(--galgos-bright) !important; border-color: #fff !important;
    border-radius: 4px !important; height: auto; padding: 10px 15px;
    font-family: var(--galgos-cond); font-weight: 400; font-size: 1.3rem; text-transform: uppercase;
}
#giving .amount-buttons-wrapper .btn-amount small,
#giving .amount-buttons-wrapper .btn-other-amount small { color: inherit; font-size: inherit; }
#giving .amount-buttons-wrapper .btn-check:hover + .btn-amount,
#giving .amount-buttons-wrapper .btn-check:hover + .btn-other-amount { background-color: #fdf1f0 !important; }
#giving .amount-buttons-wrapper .btn-check:checked + .btn-amount,
#giving .amount-buttons-wrapper .btn-check:focus + .btn-amount,
#giving .amount-buttons-wrapper .btn-check:active + .btn-amount,
#giving .amount-buttons-wrapper .btn-check:checked + .btn-other-amount {
    background-color: transparent !important; color: #fff !important; border-color: #fff !important;
}
#giving .donate-form-body .btn-next,
#giving .donate-form-body .btn-submit {
    background-color: #fff !important; color: var(--galgos-bright) !important; border: 1px solid #fff !important;
    border-radius: .3rem !important; clip-path: none !important; box-shadow: none !important;
    font-family: var(--galgos-cond); font-weight: 400; font-size: 1.25rem; text-transform: uppercase;
    padding: .5rem 1rem;
}
#giving .btn-next::before, #giving .btn-next::after { display: none !important; }
#giving .donate-form-footer,
#giving .card-footer {
    background-color: transparent !important; border: 0 !important; color: #fff !important; font-size: .7rem;
}
#giving .text-muted,
#giving .donate-form-footer *,
#giving .card-footer * { color: #fff !important; }
#giving .card-footer a, #giving .donate-form-footer a { text-decoration: underline; }
#giving .privacy-text, #giving .privacy-text * { color: #fff !important; font-size: .7rem; }
#giving .privacy-text a { text-decoration: underline; }

/* ── Barra fija inferior amarilla (como la original) ────────────────────── */
.landing .sticky-bar { background: var(--galgos-yellow) !important; color: var(--galgos-ink); padding-top: 20px; padding-bottom: 20px; }
.landing .sticky-bar h5 {
    font-family: var(--galgos-cond); font-weight: 700; font-size: 2.2rem; line-height: 1.1; color: var(--galgos-ink); margin: 0;
}
.landing .sticky-bar h6 {
    font-family: var(--font-family-body); font-weight: 400; font-size: 2.2rem; line-height: 1.1;
    text-transform: none; color: var(--galgos-ink); margin: 0;
}
.landing .sticky-bar .sticky-counter { display: none !important; }      /* la original no lo mostraba */
.landing .sticky-bar .btn-action {
    background: #fff !important; color: var(--galgos-ink) !important;
    border: 1px solid #fff !important; border-radius: .3rem !important;
    clip-path: none !important; box-shadow: none !important;
    font-family: var(--galgos-cond); font-weight: 700; font-size: 1.25rem; text-transform: uppercase;
    padding: 1.5rem 2.5rem; min-width: 22rem; text-align: center;
}
.landing .sticky-bar .btn-action:hover { background: #f1efea !important; }
.landing .sticky-bar .btn-action::before,
.landing .sticky-bar .btn-action::after { display: none !important; }
/* Botón de cerrar: una x pequeña arriba a la derecha, sin caja */
.landing .sticky-bar .btn-close-sticky {
    background: transparent !important; border: 0 !important; box-shadow: none !important; clip-path: none !important;
    width: auto !important; height: auto !important; min-width: 0 !important;
    padding: .25rem .5rem !important; top: .25rem !important; right: .5rem !important;
    font-family: var(--font-family-body); font-size: .9rem !important; font-weight: 400; line-height: 1;
    color: var(--galgos-ink) !important; opacity: .55;
}
.landing .sticky-bar .btn-close-sticky:hover { opacity: 1; }
@media (max-width: 767.98px) {
    .landing .sticky-bar h5, .landing .sticky-bar h6 { font-size: 1.3rem; }
    .landing .sticky-bar .btn-action { min-width: 0; padding: 1rem 1.5rem; }
}

/* ── Pie: casi negro ────────────────────────────────────────────────────── */
.landing .landing-footer,
.landing .landing-footer .footer-band-identity { background: var(--galgos-dark); }
