/*
Theme Name:   Megas y Gigas
Theme URI:    https://megasygigas.com
Description:  Tema propio de MyG, sin constructor (sustituye a Divi 4.27.9). Las 5 páginas propias (inicio, hosting, contacto, seguridad y reacondicionados) traen su cabecera y su pie en el contenido y su estilo lo ponen los mu-plugins (myg-home-v2-enqueue.php, myg-reacond-enqueue.php, myg-tp-bridge.php). La base que antes daba Divi va en base-divi.css y base-divi-personalizador.css (solo elementos y envoltorios). Las legales, el 404 y la búsqueda salen con la misma cabecera y el mismo pie que las propias. TIENDA 27/11/2026.
Author:       claudito (TIENDA) para Txus
Version:      1.0.0
Requires PHP: 7.4
Text Domain:  myg
Update URI:   false
*/

/* --- Legales, 404 y búsqueda: la cabecera y el pie de las páginas propias (parts/), y el texto en una columna para leer.
   Con Divi salían con su cabecera vieja (logo de 2019 y menú), el fondo de 2019 y el pie naranja con los widgets. --- */
.myg-legal { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.myg-legal .myg-legal-wrap { max-width: 880px; }
.myg-home .myg-legal-titulo,
.myg-home .myg-legal .entry-content h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 .7em; }
.myg-home .myg-legal-titulo em { color: var(--naranja); }
.myg-legal .entry-content { font-size: 1rem; line-height: 1.7; color: var(--tinta-2); }
.myg-legal .entry-content p { max-width: none; margin: 0 0 1em; padding: 0; }
.myg-home .myg-legal .entry-content h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.15; margin: 1.8em 0 .5em; }
.myg-home .myg-legal .entry-content h3 { font-size: 1.15rem; line-height: 1.25; margin: 1.5em 0 .4em; }
.myg-home .myg-legal .entry-content h4 { font-size: 1rem; line-height: 1.3; margin: 1.2em 0 .4em; }
.myg-legal .entry-content ul,
.myg-legal .entry-content ol { margin: 0 0 1.1em 1.3em; padding: 0; line-height: 1.6; }
.myg-legal .entry-content ul { list-style: disc; }
.myg-legal .entry-content ol { list-style: decimal; }
.myg-legal .entry-content li { margin: .3em 0; }
.myg-home .myg-legal .entry-content a { color: var(--naranja-brasa); text-decoration: underline; text-underline-offset: 2px; }
.myg-home .myg-legal .entry-content a:hover { color: var(--naranja); }
.myg-legal .entry-content strong { color: var(--tinta); }
.myg-legal .entry-content table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.45; margin: 0 0 1.4em; }
.myg-legal .entry-content th,
.myg-legal .entry-content td { border: 1px solid var(--papel-3); padding: 8px 10px; text-align: left; vertical-align: top; }
.myg-legal .entry-content th { background: var(--papel-2); color: var(--tinta); }

/* 404 y búsqueda */
.myg-legal .myg-legal-sello { display: inline-block; font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--naranja-brasa); margin: 0 0 1.2em; }
.myg-legal .myg-legal-lista { list-style: none; margin: 1.4em 0 0; padding: 0; }
.myg-legal .myg-legal-lista li { border-top: 1px solid var(--papel-3); padding: 14px 0; margin: 0; }
.myg-legal .myg-legal-lista li:last-child { border-bottom: 1px solid var(--papel-3); }
.myg-home .myg-legal .myg-legal-lista a { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--tinta); text-decoration: none; }
.myg-home .myg-legal .myg-legal-lista a::after { content: "  →"; color: var(--naranja); }
.myg-home .myg-legal .myg-legal-lista a:hover { color: var(--naranja-brasa); }
.myg-legal .myg-legal-lista p { margin: .3em 0 0; font-size: .95rem; color: var(--tinta-suave); }

/* Tablas anchas en el móvil (la de cookies): que se desplacen ellas solas de lado, no la página entera */
@media (max-width: 720px) {
  .myg-legal .entry-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
