/*
Theme Name: Algarabía 2026
Theme URI: https://algarabia.com
Author: Tu Nombre
Author URI: https://algarabia.com
Description: Tema Algarabía 2026
Version: 1.0
*/

@font-face {
    font-family: 'Aller';
    src: url('assets/fonts/Aller_Rg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aller';
    src: url('assets/fonts/Aller_Bd.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aller';
    src: url('assets/fonts/Aller_Std_Lt.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bebas';
    src: url('assets/fonts/Bebas-Neue-Pro-Bold.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

html, body {
    font-family: 'Aller', Arial, Helvetica, sans-serif;
    font-weight: 400;
}

body {
	margin: 0;
	padding: 0;
}

.algarabia-explora-sqare {
	aspect-ratio: 1 / 1;
}

.algarabia-explora-tallcolumn {
	grid-row: 1 / span 3;
}


#algarabia-hero-carousel-wrapper {
	position: absolute;
    top: 0%;
    display: block;
    transform: translateY(0%);
    z-index: 10;
    height: 100vh;
    overflow: hidden;
}

/*#algarabia-hero-carousel-wrapper div div div.elementor-swiper-button {
	color: darkred !important;
}*/

#algarabia-hero-wrapper {
	height: 100vh;
	position: absolute;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

#algarabia-menu-wrapper {
	position: absolute;
	z-index: 99;
}

#menu-menu-principal {
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 15px;
    list-style: none;
}

#menu-menu-principal li a {
	color: #FFF;
    font-size: 1.1rem;
}

/*#algarabia-hero-carousel-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}*/

#algarabia-hero-carousel-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* o 800px */
    max-height: 700px;
    overflow: hidden;
    z-index: 10;
}

#algarabia-hero-carousel-wrapper .elementor-arrows-position-inside,
#algarabia-hero-carousel-wrapper .elementor-image-carousel-wrapper,
#algarabia-hero-carousel-wrapper .swiper,
#algarabia-hero-carousel-wrapper .swiper-wrapper,
#algarabia-hero-carousel-wrapper .swiper-slide {
    height: 100%;
}

#algarabia-hero-carousel-wrapper .elementor-swiper-button {
    top: 50%;
    transform: translateY(-50%);
}

#algarabia-hero-carousel-wrapper .elementor-swiper-button {
    top: 50% !important;
    transform: translateY(-50%);
}


/* Mobile */
@media (max-width: 767px) {
    #algarabia-hero-carousel-wrapper .elementor-swiper-button-prev {
        left: 20px;
    }
    #algarabia-hero-carousel-wrapper .elementor-swiper-button-next {
        right: 20px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    #algarabia-hero-carousel-wrapper .elementor-swiper-button-prev {
        left: 30px;
    }
    #algarabia-hero-carousel-wrapper .elementor-swiper-button-next {
        right: 30px;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    #algarabia-hero-carousel-wrapper .elementor-swiper-button-prev {
        left: calc((100vw - var(--container-max-width)) / 2);
    }
    #algarabia-hero-carousel-wrapper .elementor-swiper-button-next {
        right: calc((100vw - var(--container-max-width)) / 2);
    }
}



#algarabia-hero-carousel-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


#algarabia-hero-button-wrapper {
	z-index: 10;
    display: flex;
    position: absolute;
    top: 85%;
    flex-direction: row;
    justify-content: center;
}

#algarabia-menulogo-wrapper {
	width: 100%;
	min-width: 290px;
	max-width: 300px;
}


.btn-algarabia {
    border: 5px solid white;
    border-radius: 45px;
    padding: 10px 0px;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: bolder;
    width: 200px;
    text-align: center;
} 

.btn-algarabia-black {
    border: 5px solid black;
    border-radius: 45px;
    padding: 10px 0px;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bolder;
    width: 200px;
    text-align: center;
    text-align: center;
    margin: 25px auto;
} 

.btn-algarabia-blue {
    border: 5px solid #83b9e7;
    border-radius: 45px;
    padding: 10px 0px;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bolder;
    width: 100%;
    text-align: center;
    text-align: center;
    margin: auto;
} 

.btn-algarabia-black a, .btn-algarabia-blue a {
    color: black;
    text-decoration: none;
}

.btn-algarabia a {
	background-color: transparent !important;
}

.btn-algarabia-clear {
	background-color: transparent;
}

.btn-algarabia-dark {
	background-color: rgba(0, 0, 0, 0.25);
}

#algarabia-revista-wrapper {
	 position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#algarabia-revista-wrapper h5 {
	color: black;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
}

.footer-wrapper {
	background-color: black;
    color: white;
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 20px 0px;
}

.footer-column {

}

.footer-column-1 {
	width: 20%;
}

.footer-column-2 {
	width: 40%;
}

.footer-column ul {
	list-style-type: none;
}

.footer-column a {
	color: white;
	text-decoration: none;
	font-weight: bold;
}

.footer-column-1 a, .footer-column-1 p, .footer-column-1 div {
    font-weight: lighter;
}

.mail_to {
    font-weight: bolder !important;
}

.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    column-gap: 15px;
    margin-top: 10px;
}

.social-icons i {
    color: #fff;
}

.algarabia-blog-container, .algarabia-podcast-container {
    background-color: #f3f3f3;
    padding-top: 50px;
    padding-bottom: 50px;
}

.algarabia-footer-logo-wrapper {
	background-image: var(--footer-bg-image);
    background-size: contain;
    background-position: center;
    min-height: 105px;
    width: 50%;
    background-repeat: no-repeat;
    bottom: -40%;
    position: relative;
}


.btn-algarabia-wrapper {
	position: absolute !important;
    top: 50%;
    text-align: center !important;
    width: 80% !important;
    margin: auto;
    left: 50%;
    transform: translate(-50%, -50%);
}

.algarabia-blog-list-wrapper, .algarabia-podcast-list-wrapper {
    width: 90%;
    margin: auto;
}

.blog-listing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.blog-row, .podcast-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}


.blog-row-1 {
  grid-template-columns: repeat(3, 1fr);
}

.podcast-row-1 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-item-rect {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.podcast-item-rect {
    display: flex;
    flex-direction: column;
}

.podcast-first {
    display: flex;
    flex-direction: row;
    height: 250px;
    min-width: 350px;
    width: 550px;
    column-gap: 35px;
}

.blog-item-rect .podcast-thumb {
  display: block;
  position: relative;
  width: 30%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
    -webkit-box-shadow: 0 0 15px 5px rgba(180,180,180,0.5);
    box-shadow: 0 0 15px 5px rgba(180,180,180,0.5);
}

.podcast-item-rect .podcast-thumb {
  display: block;
  position: relative;
  width: 200px;
  height: 200px;
  min-width: 200px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
    -webkit-box-shadow: 0 0 15px 5px rgba(180,180,180,0.5);
    box-shadow: 0 0 15px 5px rgba(180,180,180,0.5);
}

.blog-item-rect .blog-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 2;
  overflow: hidden;
    -webkit-box-shadow: 0 0 15px 5px rgba(180,180,180,0.5);
    box-shadow: 0 0 15px 5px rgba(180,180,180,0.5);
}

.blog-item-rect .blog-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
    -webkit-box-shadow: 0 0 50px 15px rgba(180,180,180,0.5);
    box-shadow: 0 0 50px 15px rgba(180,180,180,0.5);
}


.podcast-item-rect .podcast-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
    -webkit-box-shadow: 0 0 50px 15px rgba(180,180,180,0.5);
    box-shadow: 0 0 50px 15px rgba(180,180,180,0.5);
}

.blog-item-rect .blog-content {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  flex-grow: 1;
}

.podcast-item-rect .podcast-content {
  display: flex;
  flex-direction: column;
  padding: 0;
  flex-grow: 1;
}

.podcast-download a {
    color: orangered;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
}

.blog-item-rect .podcast-content {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  flex-grow: 1;
}

.blog-item-rect .blog-title, .podcast-item-rect .podcast-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.blog-item-rect .blog-title a, .podcast-item-rect .podcast-title a {
  text-decoration: none;
  color: inherit;
}

.blog-item-rect .blog-excerpt, .podcast-item-rect .podcast-excerpt {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

.blog-item-rect .blog-excerpt {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}


.blog-row-2 {
  grid-template-columns: repeat(5, 1fr);
}

.blog-item-square .blog-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
-webkit-box-shadow: 0 0 15px 5px rgba(180,180,180,0.5);
box-shadow: 0 0 15px 5px rgba(180,180,180,0.5);
}

.blog-item-square {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-item-square .blog-content {
  padding: 0.75rem 0 0;
}

.blog-item-square .blog-title {
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 0;
}

.blog-item-square .blog-title a {
  text-decoration: none;
  color: inherit;
}

.blog-item-square .blog-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-title {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

.blog-row-1 .blog-title {
  font-size: 1.2rem;
}

.blog-excerpt {
  font-size: 1rem;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.blog-pagination a,
.blog-pagination span {
  padding: 0.4rem 0.7rem;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .blog-row-2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-row-1,
  .blog-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .blog-row-1,
  .blog-row-2 {
    grid-template-columns: 1fr;
  }
}


.auto-height-grid {
  align-items: flex-start !important;
  grid-auto-rows: auto !important;
    gap: 0 !important;
  row-gap: 0 !important;
}

.auto-height-grid > *,
.auto-height-grid .e-loop-item {
  height: auto !important;
}

.auto-height-grid {
  gap: 0 !important;
  row-gap: 0 !important;
  align-items: flex-start !important;
  grid-auto-rows: auto !important;
}

.auto-height-grid .elementor-widget,
.auto-height-grid .e-loop-item {
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
}


.mini-blog-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mini-blog {
    display: flex;
    flex-direction: row;
    height: auto;
    margin: 0;
    padding: 0;
    align-self: flex-start;
    width: 100%;
    margin-bottom: 45px;
    column-gap: 15px;
}

.mini-blog-vert {
    flex-direction: column !important;
}

.mini-blog .blog-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0;
    display: inline-block;
}

.mini-blog .blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mini-blog-vert .blog-thumb {
    width: 100%;
    overflow: hidden;
    aspect-ratio: unset;
    margin: 0;
    display: inline-block;
}

.mini-blog-vert .btn-algarabia-black {
    width: 250px !important;
}

.mini-blog .blog-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.mini-blog .blog-title a {
  text-decoration: none;
  color: inherit;
}

.mini-blog .blog-content {
    padding: 0;
    margin: 0;
}

.mini-blog h2,
.mini-blog p {
    margin: 0;
}

.mini-blog .blog-excerpt {
    margin-top: 0.4rem;
}


.col-posts   {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: flex-start;
}

.col-podcast { width: 40%; }

.col-podcast img {

}

.col-podcast > div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}


.col-ads     { width: 20%; }


.post-extra {
    width: 90%;
    margin: 0 auto 50px auto;
}


.post-extra-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 25px;
}

.col-ads .ad-box img {
    width: 100%;
    height: auto;
    display: block;
}


#algarabia-revista-right-wrapper {
    right: 135px;
}


.swiper-slide-inner {
    height: 100%;
    width: 100%;
}

.algarabia-revista-controles {
    position: relative !important;
    float: right;
    right: 0;
    width: 240px !important;
}

.algarabia-home-grid {
    width: 100% !important;
    height: fit-content !important;
}


#algarabia-hero-tips-wrapper {
    width: 80%;
    margin: auto;
    z-index: 99;
    top: 100%;
    transform: translateY(350%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;

}

.algarabia-hero-tips-title-wrapper{
    position: relative !important;
    margin-right: 10px;
}

#algarabia-wrapper-main-tips {

}

#algarabia-hero-tips-wrapper > *:not(:last-child)::after {
    content: "";
    position: absolute;
    border-right: 4px solid white;
    height: -webkit-fill-available;
    /*width: 100%;*/
    right: 0;
    top: 0;
    height: 100%;
}

#algarabia-hero-tips-wrapper .elementor-widget-shortcode,
#algarabia-hero-tips-wrapper .elementor-shortcode{
    display: contents;
}

#algarabia-hero-tips-wrapper .elementor-shortcode{
    display: contents;
}

.algarabia-hero-tips-title h2{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: white !important;
}

.algarabia-hero-tips-title h2 a {
    font-family: 'Bebas';
    font-weight: bolder;
    font-size: 2.5rem;
    position: relative;
    color: whitesmoke;
    z-index: 1;
}


.algarabia-extra-info p {
    padding: 0 !important;
    margin: 0 !important;
}

