:root {
  --neutral-200: #d8dae0;
  --neutral-0: #ffffff;
  --neutral-600: #1d1e20;
  --accent: #007bff;
  --accent-hover: #0056b3;
  --whatsapp: #2f7a04;
  --bg: #ffffff;
  --shadow: 0 8px 20px rgba(2, 6, 23, 0.15);
}

.container-child-theme {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.post-thumbnail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}
.post-thumbnail {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.post-excerpt {
  color: #999;
  margin: 10px 0;
}
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  justify-content: center;
}
.post {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  height: 100%;
}
.post-title {
  font-size: 1.2rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.2em;
}
.read-more {
  margin-top: auto;
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
}
.caja-amarilla,
.interes {
  background: rgba(255, 244, 38, 0.2) !important;
}
.read-more:hover {
  background: #005f8d;
}
.caja-amarilla {
  padding: 15px;
  border: 2px solid #111;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 10px;
}
.interes {
  padding: 5px;
}
.container-fix {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}
.p-1 {
  padding: 1vh;
}
.copyright-bar {
  display: none;
}
h3.button-title {
  min-height: 3.5rem;
  line-height: 3.5rem;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.button-title a,
.call-buttom a {
  display: inline-block;
  min-width: 200px;
  padding: 0.8em 4em;
  background: linear-gradient(to right, #1e73be 70%, #248ae4);
  color: #fff;
  box-shadow: 0 10px 15px rgba(33, 57, 165, 0.5);
  transition: 0.3s ease-in;
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
}
.call-buttom a {
  border-radius: 10px;
}
.button-title a:hover,
.call-buttom a:hover {
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}
.button-title a {
  border-radius: 999px;
}
.page-header-image-single img {
  width: 100%;
}
.fab-button svg,
.fab-options a svg {
  width: 30px;
  height: 30px;
}
.aling-justify p {
  text-align: justify !important;
}
.yoast-breadcrumbs {
  background: #e1edfa;
  padding: 6px;
  border-radius: 6px;
  color: #353e6f;
  font-weight: 600;
  margin-bottom: 16px;
}
.yoast-breadcrumbs a {
  color: #3d75b9;
}
.container-60 {
  padding: 2em 0;
}
.container {
  background-color: transparent !important;
}
.container-fix h1 {
  font-size: 2.5em;
  font-weight: 700;
}
.container-fix h2 {
  font-size: 2em;
  font-weight: 600;
}

.inside-page-header,
.one-container .container,
.post,
.separate-containers .comments-area,
.separate-containers .inside-article,
.separate-containers .page-header,
.separate-containers .paging-navigation {
  background-color: transparent;
}
.schema-faq-section {
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  background-color: var(--neutral-0);
  margin-bottom: 8px;
}
.schema-faq-question {
  padding: 16px 24px;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.schema-faq-question:hover {
  cursor: pointer;
}
.schema-faq-answer {
  display: none;
}
.schema-faq-answer p {
  margin-bottom: 0px !important;
}

.schema-faq-answer.active {
  max-height: 500px;
  padding: 16px 24px;
  display: block;
}
.tarjeta-taxi {
  background-color: #fff !important;
  border-radius: 12px !important;
  padding: 25px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid var(--neutral-200) !important;
  height: 100%;
}
.btn-llamar,
.btn-whatsapp {
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  border-radius: 50px !important;
}
.tarjeta-taxi p:first-child {
  font-size: 35px;
  margin-bottom: 15px;
  display: block;
}
.btn-llamar {
  color: #fff;
  background-color: var(--accent) !important;
  transition: 0.3s !important;
}
.btn-whatsapp {
  color: #fff !important;
  background-color: var(--whatsapp) !important;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp a,
.btn-llamar a {
  display: inline-block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: var(--neutral-0);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px !important;
  text-align: center;
  line-height: 50px;
}

.fab-button,
.fab-options {
  position: fixed;
  right: 10px;
  display: flex;
}
.fab-button {
  bottom: 100px;
  z-index: 9999;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  isolation: isolate;
}
.fab-button::before,
.polataxi-fab-main-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  animation: 2s infinite pulse;
  z-index: -1;
}
.fab-options {
  bottom: 164px;
  gap: 6px;
  flex-direction: column;
  transform: translateY(50%);
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.3s;
  text-align: right;
}
.fab-options.show {
  opacity: 1;
  transform: translateY(-10%);
}
.fab-options a {
  display: flex;
  background-color: #fff;
  box-shadow: var(--shadow);
  padding: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  gap: 10px;
}
.fab-options a svg {
  fill: var(--accent);
}
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 var(--accent);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px transparent;
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 transparent;
  }
}
@media (max-width: 768px) {
  .cookie-box {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px;
  }
  .cookie-box p {
    font-size: 13px;
    text-align: center;
  }
  .cookie-buttons {
    justify-content: center;
  }
  .cookie-buttons button {
    width: 100%;
    max-width: 180px;
  }
  .wp-block-buttons {
    flex-direction: column !important;
  }
  .wp-block-button {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 768px) {
  .container-fix h1 {
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 1.5em;
  }
  .container-fix {
    padding: 0 1.5em;
  }
  .inside-header {
    padding: 0 1em;
  }
  .call-buttom a {
    width: 100%;
    margin: 0 auto;
  }
  .gp-icon svg {
    width: 2em;
    height: 2em;
  }
}
@media screen and (max-width: 480px) {
  .inside-header {
    padding: 0 10px !important;
  }
}
@media screen and (max-width: 390px) {
  .button-title a {
    font-size: 0.85em;
  }
}

.polataxi-fab-wrapper {
  position: fixed !important;
  bottom: 104px !important;
  right: 24px !important;
  z-index: 99998 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Reset total para los enlaces del tema que meten fondos negros o bordes */
.polataxi-fab-wrapper a.polataxi-fab-item,
.polataxi-fab-wrapper a.polataxi-fab-item:hover,
.polataxi-fab-wrapper a.polataxi-fab-item:focus,
.polataxi-fab-wrapper a.polataxi-fab-item:active {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  gap: 10px !important;
  cursor: pointer !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.polataxi-fab-main-btn {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background-color: var(--accent) !important;
  border: none !important;
  box-shadow: var(--shadow) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  position: relative !important;
}
.polataxi-fab-main-btn:hover {
  background-color: var(--accent-hover) !important;
  transform: scale(1.05) !important;
}
.polataxi-fab-main-btn svg {
  width: 24px !important;
  height: 24px !important;
  background: transparent !important;
}

.polataxi-fab-options {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(15px) !important;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease !important;
  background: transparent !important;
  padding: 0 !important;
}

.polataxi-fab-options.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.polataxi-fab-label {
  background-color: #1e293b !important; /* Gris oscuro premium */
  color: #f8fafc !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  white-space: nowrap !important;
  display: inline-block !important;
}

.polataxi-fab-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
}
.polataxi-fab-icon svg {
  width: 22px !important;
  height: 22px !important;
  background: transparent !important;
}
.polataxi-fab-item:hover .polataxi-fab-icon {
  transform: scale(1.08) !important;
}

/* Forzar los colores nativos de marca */
.fab-btn-whatsapp .polataxi-fab-icon {
  background-color: var(--whatsapp) !important; /* Verde WhatsApp */
  background: var(--whatsapp) !important;
}
.fab-btn-phone .polataxi-fab-icon {
  background-color: var(--accent) !important; /* Azul llamada */
  background: var(--accent) !important;
}

/* Banner de cookies */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 420px;
  background-color: #0b0f16;
  color: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.3),
    0 8px 10px -6px rgba(0, 0, 0, 0.3);
  z-index: 999999;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}
.cookie-banner *,
.cookie-banner *::before,
.cookie-banner *::after {
  box-sizing: border-box;
}

.cookie-banner-content p {
  margin: 0 0 16px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}
.cookie-banner-content a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-banner-content a:hover {
  color: var(--accent);
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}
.cookie-banner-btn {
  display: block;
  width: 50%;
  text-align: center;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.cookie-banner-btn.btn-primary {
  background-color: var(--accent);
  color: var(--neutral-0);
}
.cookie-banner-btn.btn-primary:hover {
  background-color: var(--accent-hover);
}
.cookie-banner-btn.btn-secondary {
  background-color: var(--neutral-600);
  color: var(--neutral-0);
}
.cookie-banner-btn.btn-secondary:hover {
  background-color: var(--neutral-600);
  color: var(--neutral-0);
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 5px;
    left: 5px;
    right: 5px;
    max-width: 100%;
  }
}
