/* Añadidos para WordPress sobre styles.css */
.car-img { display: block; text-decoration: none; }
.car h3 a { color: inherit; text-decoration: none; }
.car h3 a:hover { color: var(--sea); }
.car-noimg { display: grid; place-items: center; gap: 6px; aspect-ratio: 16 / 10; color: var(--mute); font-size: 13px; font-weight: 600; }
.car-noimg svg { width: 96px; height: auto; opacity: .7; }
a.rent { text-decoration: none; }

.credit { margin-top: 14px; font-size: 12px; text-align: center; }
.credit a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.credit a:hover { color: #fff; }
.credit svg { width: 15px; height: 15px; }

.prose h1 { font-size: clamp(26px, 3vw, 34px); }
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.prose figure { margin: 0; }
.prose iframe { max-width: 100%; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--mute); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

.tn-page .prose, .tn-car { padding-block: 8px; }
.tn-book .wrap, .tn-car .wrap { max-width: 1180px; }
.tn-empty, .tn-404 { font-size: 18px; display: flex; gap: 12px; flex-wrap: wrap; }

.tn-pages, .pagination { margin-top: 36px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; }
.nav-links .page-numbers.current { background: var(--black); border-color: var(--black); color: #fff; }

body.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { body.admin-bar .hdr { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .hdr { top: 0; } }

/* Selector de idioma: pequeño y discreto */
.lang { display: flex; align-items: center; gap: 0; margin-left: -12px; }
.lang button { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 7px; margin: 0; border: 0; border-radius: 6px; background: none; box-shadow: none; color: #fff; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1; cursor: pointer; opacity: .45; transition: opacity .2s, background .2s; }
.lang button + button { border-left: 1px solid rgba(255,255,255,.18); border-radius: 0 6px 6px 0; }
.lang button:hover { opacity: .85; }
.lang button[aria-pressed="true"] { opacity: 1; }
.lang svg { width: 16px; height: 11px; border-radius: 2px; display: block; flex: none; }
@media (max-width: 1020px) { .lang { margin-left: auto; } .lang + .burger { margin-left: 4px; } }
/* Ocultar la barra de Google Translate */
.goog-te-banner-frame, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
#tn-gt { display: none; }
font[style] { background: none !important; box-shadow: none !important; }
.nav a { white-space: nowrap; }
@media (max-width: 1240px) { .hdr-call { display: none; } }
/* Textos en español son más largos */
html[lang="es"] .hero h1 { font-size: clamp(28px, 4.8vw, 64px); }
html[lang="es"] .hero h1 .rot span { white-space: normal; }
