/*
Theme Name: Despedidas Valladolid
Theme URI: https://www.despedidasvalladolid.es/
Description: Tema hijo de Twenty Twenty-Five para la guía Despedidas Valladolid (Action Aventura y Paintball Valladolid). Colores y tipografías de marca; todo editable con bloques.
Author: Action Aventura y Paintball Valladolid
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: despedidas-valladolid
*/

/* Ajustes que theme.json no cubre */
.dv-kicker { font-family: var(--wp--preset--font-family--oswald); letter-spacing: .18em; text-transform: uppercase; }
.dv-hero { position: relative; }
.dv-hero .wp-block-cover__inner-container { width: 100%; }
.dv-card { border-radius: 16px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.dv-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(18,21,26,.12); }
.dv-card a { text-decoration: none; color: inherit; }
.dv-card .wp-block-image img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.dv-timeline .dv-hora { font-family: var(--wp--preset--font-family--anton); color: var(--wp--preset--color--naranja); min-width: 90px; }
.dv-timeline > .wp-block-group { border-bottom: 1px solid rgba(255,255,255,.12); }
.dv-timeline > .wp-block-group:last-child { border-bottom: 0; }
.dv-fotos .wp-block-image img { height: 300px; object-fit: cover; width: 100%; border-radius: 14px; }
.dv-fotos-art .wp-block-image img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.dv-afiliado { font-size: .85rem; opacity: .8; }
.dv-faq details { border-bottom: 1px solid #DDD6CA; padding: .9rem 0; }
.dv-faq summary { font-family: var(--wp--preset--font-family--oswald); font-weight: 600; font-size: 1.15rem; cursor: pointer; }
.dv-pendiente { background: #fff3cd; padding: 0 .3em; border-radius: 4px; }
.wp-block-navigation .wp-block-navigation-item__content { text-decoration: none; }
.wp-block-post-template .wp-block-post-featured-image img { aspect-ratio: 3/2; object-fit: cover; }
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-content > .alignfull, .wp-block-post-content > .wp-block-cover.alignfull { margin-block-start: 0; margin-block-end: 0; }
.wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0; }
@media (max-width: 782px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
  .dv-timeline > .wp-block-group { gap: 14px !important; }
  .dv-fotos .wp-block-image img { height: 200px; }
  .dv-timeline .dv-hora { min-width: 70px; }
  .dv-hide-mobile { display: none !important; }
}

/* Títulos de tarjetas del blog en minúscula normal */
.wp-block-post-template .wp-block-post-title { text-transform: none; }
/* Cabecera en móvil: menú hamburguesa a la derecha */
@media (max-width: 600px) {
  .dv-header .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
}
footer.wp-block-group a { text-decoration: none; }
footer.wp-block-group a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .dv-hero { padding-left: 22px !important; padding-right: 22px !important; padding-top: 64px !important; padding-bottom: 72px !important; min-height: 0 !important; }
  .wp-block-post-content > .alignfull { padding-left: 22px !important; padding-right: 22px !important; }
}
.wp-block-post-content .wp-block-image img { max-height: 560px; width: 100%; object-fit: cover; }
.wp-block-post-content .dv-fotos .wp-block-image img { max-height: none; }
/* Aviso de cookies (Complianz) con colores de la marca */
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background-color: #E95622 !important; border-color: #E95622 !important; color: #fff !important; }
.cmplz-cookiebanner .cmplz-title { font-family: var(--wp--preset--font-family--oswald); }

/* Bloque Amazon */
.dv-amz{background:#fff;border:1px solid #C9C4BB;border-radius:14px;padding:22px;margin:2.5rem 0}
.dv-amz .dv-amz-k{color:#1CAA96;font-family:Oswald,sans-serif;font-weight:600;letter-spacing:.08em;font-size:.8rem;margin:0}
.dv-amz .dv-amz-t{font-family:Anton,sans-serif;text-transform:uppercase;font-size:1.6rem;color:#12151A;margin:.2rem 0 .3rem;line-height:1.1}
.dv-amz .dv-amz-s{color:#4A4F57;font-size:.95rem;margin:0 0 1rem}
.dv-amz-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dv-amz-i{border:1px solid #C9C4BB;border-radius:12px;padding:12px;text-align:center;display:flex;flex-direction:column}
.dv-amz-ic{height:80px;background:#F4F1EC;border-radius:10px;display:flex;align-items:center;justify-content:center}
.dv-amz-ic svg{width:38px;height:38px;stroke:#B8401A;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dv-amz-i strong{display:block;color:#12151A;font-size:.95rem;margin:.6rem 0 .1rem;line-height:1.25}
.dv-amz-i span{color:#4A4F57;font-size:.8rem;flex:1}
.dv-amz-i a.dv-amz-b{display:block;margin-top:.6rem;background:#E95622;color:#fff!important;text-decoration:none;border-radius:999px;padding:.45rem .5rem;font-size:.85rem;font-weight:600}
.dv-amz-i a.dv-amz-b:hover{background:#B8401A}
.dv-amz-n{color:#4A4F57;font-size:.78rem;margin:1rem 0 0}
.dv-amz-n a{color:#B8401A}
@media(max-width:700px){.dv-amz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dv-amz{padding:16px}}
