﻿/**
 * CMS pages demo-b — faq/cambios/privacidad/terminos
 * Regenerar: python themes/base/scripts/extract-demo-b-pages-css.py
 * Requiere demo-b-shell.css (chrome).
 */

body.dpy-faq-pure,
body.dpy-cambios-pure,
body.dpy-legal-pure {
  margin: 0 !important;
  padding: 0 !important;
  --wp--style--root--padding-top: 0 !important;
  --wp--style--root--padding-right: 0 !important;
  --wp--style--root--padding-bottom: 0 !important;
  --wp--style--root--padding-left: 0 !important;
}
body.dpy-faq-pure.admin-bar,
body.dpy-cambios-pure.admin-bar,
body.dpy-legal-pure.admin-bar { padding-top: 32px !important; margin-top: 0 !important; }
body.dpy-faq-pure.admin-bar #main-header,
body.dpy-cambios-pure.admin-bar #main-header,
body.dpy-legal-pure.admin-bar #main-header { top: 32px; }
body.dpy-faq-pure p,
body.dpy-faq-pure h1,
body.dpy-faq-pure h2,
body.dpy-faq-pure h3,
body.dpy-cambios-pure p,
body.dpy-cambios-pure h1,
body.dpy-cambios-pure h2,
body.dpy-cambios-pure h3,
body.dpy-legal-pure p,
body.dpy-legal-pure h1,
body.dpy-legal-pure h2,
body.dpy-legal-pure h3 {
  margin: 0;
  padding: 0;
}

  #main-content { background: #fff; padding: 36px 24px 60px; }
  .content-inner { max-width: 800px; margin: 0 auto; }
  .page-heading { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 30px; color: #ff4fc8; text-align: center; margin-bottom: 36px; }

  /* FAQ Accordion */
  .faq-item { border-bottom: 1px solid #e0e0e0; }
  .faq-item:first-of-type { border-top: 1px solid #e0e0e0; }
  .faq-btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; background: none; border: none; cursor: pointer; text-align: left;
  }
  .faq-q { font-family: 'Roboto', sans-serif; font-size: 15px; color: #303030; font-weight: 400; line-height: 1.5; flex: 1; padding-right: 16px; }
  .faq-icon {
    width: 28px; height: 28px; border-radius: 50%; background: var(--dpy-magenta, #e91e8c);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    color: #fff; font-size: 18px; font-weight: 300; transition: transform .25s;
  }
  .faq-icon.open { transform: rotate(45deg); }
  .faq-answer { display: none; padding: 0 0 18px; font-family: 'Roboto', sans-serif; font-size: 15px; color: #555; line-height: 1.7; }
  .faq-answer.open { display: block; }

  .content-text { font-family: 'Roboto', sans-serif; font-size: 15px; color: #303030; line-height: 1.5; margin-bottom: 25.6px; }
  .content-h3 { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 16px; color: #303030; margin-bottom: 16px; }
  .content-list p { font-family: 'Roboto', sans-serif; font-size: 15px; color: #303030; line-height: 1.5; }

body.dpy-faq-pure .content-text,
body.dpy-cambios-pure .content-text,
body.dpy-legal-pure .content-text,
body.dpy-faq-pure .content-list p,
body.dpy-cambios-pure .content-list p,
body.dpy-legal-pure .content-list p,
body.dpy-faq-pure .faq-answer,
body.dpy-cambios-pure .faq-answer,
body.dpy-legal-pure .faq-answer {
  font-size: 15px;
  line-height: 1.5;
}

/* details/summary accordion (sin onclick) */
.faq-item > summary.faq-btn {
  list-style: none;
}
.faq-item > summary.faq-btn::-webkit-details-marker { display: none; }
.faq-item .faq-answer { display: none; padding: 0 0 18px; font-family: 'Roboto', sans-serif; font-size: 15px; color: #555; line-height: 1.7; }
.faq-item[open] .faq-answer { display: block; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
body.dpy-faq-pure .content-inner,
body.dpy-cambios-pure .content-inner,
body.dpy-legal-pure .content-inner { max-width: 800px; }
body.dpy-cambios-pure .content-inner,
body.dpy-legal-pure .content-inner { max-width: 1100px; }
body.dpy-faq-pure .content-text,
body.dpy-cambios-pure .content-text,
body.dpy-legal-pure .content-text,
body.dpy-faq-pure .content-h3,
body.dpy-cambios-pure .content-h3,
body.dpy-legal-pure .content-h3 { display: block; }

/* Typed not_found (404) — shared shell 404.page */
body.dpy-404-pure {
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
}
body.dpy-404-pure.admin-bar { padding-top: 32px !important; }
body.dpy-404-pure .dpy-404-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 48px 24px 72px;
  text-align: center;
  flex: 1 0 auto;
}
body.dpy-404-pure .dpy-404-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 640px;
  width: 100%;
}
body.dpy-404-pure .dpy-404-page__code {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: var(--dpy-magenta, #e91e8c);
}
body.dpy-404-pure .dpy-404-page__title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}
body.dpy-404-pure .dpy-404-page__message,
body.dpy-404-pure .dpy-404-page__body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}
body.dpy-404-pure .dpy-404-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
body.dpy-404-pure .dpy-404-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}
body.dpy-404-pure .dpy-404-page__btn--primary {
  background: var(--dpy-magenta, #e91e8c);
  color: #fff;
}
body.dpy-404-pure .dpy-404-page__btn--secondary {
  background: #fff;
  color: var(--dpy-magenta, #e91e8c);
  border: 2px solid var(--dpy-magenta, #e91e8c);
}
