:root {
  /* Colors */
  --brand-color: #0296CD;
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  /* Fonts */
}

.card h2 {
  font-size: 2.25rem;
  color: var(--white);
  line-height: 1.1;
}

.card p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
}

.flow > * + * {
  margin-top: var(--flow-space, 1em);
}

/* CARD COMPONENT */

.card {
  display: grid;
  place-items: center;
  /*width: 80vw;*/
  /*max-width: 21.875rem;*/
  height: 32.125rem;
  overflow: hidden;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.card > * {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.card__background {
  object-fit: cover;
  max-width: 100%;
  height: 100%;
}

.card__content {
  --flow-space: 0.9375rem;
  /* display: flex; */
  flex-direction: column;
  justify-content: space-between;
  /* align-self: flex-end; */
  height: 100%;
  padding: 12% 1.25rem 1.875rem;
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 0%, 0) 0%,
    hsla(0, 0%, 0%, 0.3) 10%,
    hsl(0, 0%, 0%) 100%
  );
}

.card__content--container {
  --flow-space: 1.25rem;
}

.card__title {
  position: relative;
  width: fit-content;
  width: -moz-fit-content; /* Prefijo necesario para Firefox  */
}

.card__title::after {
  content: "";
  position: absolute;
  height: 0.3125rem;
  width: calc(100% + 1.25rem);
  bottom: calc((1.25rem - 0.5rem) * -1);
  left: -1.25rem;
  background-color: var(--brand-color);
}

.card__button {
  padding: 0.75em 1.6em;
  width: fit-content;
  width: -moz-fit-content; /* Prefijo necesario para Firefox  */
  font-variant: small-caps;
  font-weight: bold;
  border-radius: 0.45em;
  border: none;
  background-color: var(--brand-color);
  font-size: 1.125rem;
  color: var(--white);
}

.card__button:focus {
  outline: 2px solid black;
  outline-offset: -5px;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .card__content {
    transform: translateY(62%);
    transition: transform 500ms ease-out;
    transition-delay: 500ms;
  }

  .card__title::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1000ms ease-in, transform 500ms ease-out;
    transition-delay: 500ms;
    transform-origin: right;
  }

  .card__background {
    transition: transform 500ms ease-in;
  }

  .card__content--container > :not(.card__title),
  .card__button {
    opacity: 0;
    transition: transform 500ms ease-out, opacity 500ms ease-out;
  }

  .card:hover .card__content,
  .card:focus-within .card__content {
    transform: translateY(0);
    transition: transform 500ms ease-in;
  }

  .card:focus-within .card__content {
    transition-duration: 0ms;
  }

  .card:hover .card__background,
  .card:focus-within .card__background {
    transform: scale(1.3);
  }

  .card:hover .card__content--container > :not(.card__title),
  .card:hover .card__button,
  .card:focus-within .card__content--container > :not(.card__title),
  .card:focus-within .card__button {
    opacity: 1;
    transition: opacity 100ms ease-in;
    transition-delay: 200ms;
  }

  .card:hover .card__title::after,
  .card:focus-within .card__title::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: opacity 100ms ease-in, transform 100ms ease-in;
    transition-delay: 100ms;
  }
}

/* header */
#masthead {
    background: rgba(0, 0, 0, 0.5) !important;
}

.itineraries-template-default #masthead {
  background: #242625 !important;
}

.archive #masthead {
  background: #242625 !important;
}

.page-template-default #masthead {
  background: #242625 !important;
}

.column {
  float: left;
  width: 33.33%;
  text-align:center;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}

.immagine_chi_siamo {
  display: block;
  width: 50%;
  margin: auto;
}

.footer-widgets-area h2 {
  color: #FFF;
}

.recent-post-bottom-meta {
  padding-left: 20px;
}

.wp-travel-post-content {
  padding-left: 20px;
}

.wp-toolbar-content .wt-filter-by-trip-date{
  display: none;
}

.entry-content {
  text-align: justify;
}

.card__description {
  text-align: justify;
}

@media screen and (min-width: 1200px) {
  .article_container {
    width:45%;
    margin-left:4%;
  }
}

@media screen and (min-width: 1800px) {
  .article_container {
    width:30%;
    margin-left:3%;
  }
}

.card__content--container {
  height:80%;
}

.card_button_div {
  height: 20%;
  /* margin-top: 50px; */
}

.wptravel-price-wrap {
  text-align:center;
}

.wptravel-price-wrap span {
  font-size: 25px;
  color: red !important
}

@media screen and (min-width: 1024px) {
  #wp-travel-secondary {
    margin-top: 75px;
  }
}

.wrapper h2 {
  text-align: center;
  font-weight: bold;
}

/* .has-text-align-left {
  text-align:left !important;
} */

.widget.widget_block.widget_text {
  text-align:center;
}

.tnp-subscription-minimal input.tnp-email, .tnp-subscription-minimal input.tnp-name {
  padding:15px !important;
  /* width:100% !important;
  max-width: none !important; */
  /* max-width:400px !important; */
}

.tnp-subscription-minimal input.tnp-submit {
  padding:15px !important;
  font-size:18px !important;
  margin-top: 20px !important;
}
.tnp-privacy-field {
  color:#fff;
}
@media screen and (min-width: 1024px) {
  #contact_header {
    padding:5px;
    font-size:12px;
    text-align:left;
    padding-left: 5%;
    width:35%;
  }
  #contact_header p {
    color: #FFF;
  }
}
@media screen and (max-width: 1023px) {
  #contact_header {
    padding:5px;
    font-size:14px;
    text-align:left;
    width:100%;
    clear:both;
  }
  #contact_header p {
    color: #FFF;
  }
}

.entry-title {
  text-align:left !important;
}