/* Avisos y cajas de afiliación (negro y dorado del logo) */
.jj-aff-note { font-size: .875rem; line-height: 1.5; color: #564f40; border-top: 1px solid rgba(14,13,10,.16); border-bottom: 1px solid rgba(14,13,10,.16); padding: .6rem 0; margin: 0 0 1.5rem; }
.jj-book, .jj-gear { margin: 2.5rem 0; padding: clamp(1.25rem, 3vw, 2rem); background: #0e0d0a; color: #f6f0e1; }
.jj-gear { background: #f6f0e1; color: #0e0d0a; border: 2px solid #0e0d0a; }
.jj-book h2, .jj-gear h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.1; margin: 0 0 1rem; color: inherit; }
.jj-book ul, .jj-gear ul { list-style: none; margin: 0; padding: 0; }
.jj-book li, .jj-gear li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .85rem 0; border-top: 1px solid rgba(246,240,225,.22); }
.jj-gear li { border-top-color: rgba(14,13,10,.2); }
.jj-book li > span:first-child, .jj-gear li > span:first-child { flex: 1 1 14rem; font-weight: 600; line-height: 1.35; }
.jj-book li a, .jj-gear li a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.1rem; background: #e7be1e; color: #0e0d0a !important; border: 2px solid #e7be1e; font-weight: 700; text-decoration: none !important; transition: background-color .25s, color .25s; }
.jj-gear li a { background: #0e0d0a; border-color: #0e0d0a; color: #e7be1e !important; }
.jj-book li a:hover { background: #f6f0e1; border-color: #f6f0e1; }
.jj-gear li a:hover { background: #e7be1e; color: #0e0d0a !important; }
.jj-book li a:focus-visible, .jj-gear li a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #0e0d0a; }
.jj-book > p { margin: 1rem 0 0; font-size: .875rem; color: rgba(246,240,225,.8); }

/* Tienda: material de viaje */
.page-id-360 .entry-content { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.75rem; align-items: stretch; }
.page-id-360 .entry-content > p:first-child, .page-id-360 .entry-content > .jj-shop-more, .page-id-360 .entry-content > .jj-shop-trips { grid-column: 1 / -1; }
.page-id-360 .entry-content > p:first-child { max-width: 62ch; font-size: 1.125rem; line-height: 1.6; margin: 0; }
.page-id-360 .wp-block-media-text { display: flex !important; flex-direction: column; grid-template-columns: none !important; margin: 0 !important; background: #fff; border: 1px solid rgba(14,13,10,.16); }
.page-id-360 .wp-block-media-text__media { margin: 0; aspect-ratio: 1 / 1; background: #f6f0e1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.page-id-360 .wp-block-media-text__media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.page-id-360 .wp-block-media-text:hover .wp-block-media-text__media img { transform: scale(1.04); }
.page-id-360 .wp-block-media-text__content { padding: 1.1rem 1.25rem 1.4rem !important; display: flex; flex-direction: column; flex: 1; gap: 1rem; word-break: normal; }
.page-id-360 .wp-block-media-text__content p { margin: 0; line-height: 1.5; flex: 1; }
.page-id-360 .wp-block-buttons { margin: 0; }
.page-id-360 .wp-block-button__link { display: flex; justify-content: center; align-items: center; min-height: 3rem; background: #0e0d0a !important; color: #e7be1e !important; border: 2px solid #0e0d0a !important; border-radius: 0 !important; font-weight: 700; text-decoration: none; transition: background-color .25s, color .25s; }
.page-id-360 .wp-block-button__link:hover { background: #e7be1e !important; color: #0e0d0a !important; }
.jj-shop-more { padding-top: 1.5rem; border-top: 2px solid #0e0d0a; }
.jj-shop-more h2, .jj-shop-trips h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.1; margin: 0 0 1rem; }
.jj-shop-more ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.jj-shop-more li a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.1rem; border: 2px solid #0e0d0a; color: #0e0d0a; font-weight: 600; text-decoration: none; transition: background-color .25s, color .25s; }
.jj-shop-more li a:hover { background: #0e0d0a; color: #e7be1e; }
.jj-shop-trips { background: #e7be1e; color: #0e0d0a; padding: clamp(1.5rem, 4vw, 2.5rem); }
.jj-shop-trips p { max-width: 52ch; margin: 0 0 1.25rem; }
.jj-shop-trips a { display: inline-flex; align-items: center; min-height: 3rem; padding: .6rem 1.4rem; background: #0e0d0a; color: #e7be1e; font-weight: 700; text-decoration: none; }
.jj-shop-trips a:hover { background: #f6f0e1; color: #0e0d0a; }

.page-id-360 .wp-block-media-text__media.jj-noimg { background: #0e0d0a; }
.page-id-360 .wp-block-media-text__media.jj-noimg span { font: 600 clamp(1.6rem, 1.2rem + 2vw, 2.6rem)/1 Georgia, serif; color: #e7be1e; text-align: center; padding: 1rem; }
.page-id-360 .wp-block-media-text__media.jj-noimg { width: 100%; align-self: stretch; min-height: 0; }

/* Botón de reserva destacado bajo la introducción */
.jj-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin: 1.5rem 0; padding: 1.1rem 1.4rem; background: #e7be1e; color: #0e0d0a; }
.jj-cta p { margin: 0; line-height: 1.4; flex: 1 1 16rem; }
.jj-cta a { display: inline-flex; align-items: center; min-height: 3rem; padding: .6rem 1.4rem; background: #0e0d0a; color: #e7be1e !important; font-weight: 700; text-decoration: none !important; border: 2px solid #0e0d0a; transition: background-color .25s, color .25s; }
.jj-cta a:hover { background: #f6f0e1; color: #0e0d0a !important; }
.jj-cta a:focus-visible { outline: 3px solid #0e0d0a; outline-offset: 3px; }
/* Botón «Ver excursiones en Civitatis»: texto siempre amarillo sobre negro, también al tocar, enfocar o tras visitarlo */
.page-id-360 .jj-shop-trips a, .page-id-360 .jj-shop-trips a:link, .page-id-360 .jj-shop-trips a:visited,
.page-id-360 .jj-shop-trips a:hover, .page-id-360 .jj-shop-trips a:focus, .page-id-360 .jj-shop-trips a:active { background: #0e0d0a !important; color: #e7be1e !important; border: 2px solid #0e0d0a; text-decoration: none !important; -webkit-tap-highlight-color: rgba(231,190,30,.35); }
.page-id-360 .jj-shop-trips a:hover, .page-id-360 .jj-shop-trips a:active { box-shadow: 0 0 0 3px #e7be1e inset; }
.page-id-360 .jj-shop-trips a:focus-visible { outline: 3px solid #0e0d0a; outline-offset: 3px; }
