/* Estilos Generales de la Cabecera */
.separate-containers .inside-article {
    padding: 0px!important;
    margin-top: 25px;
 }

.inside-article {
    max-width: 1200px;
    margin: 0 auto;
}

#primary {
    margin: 60px 0;
}

.entry-header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 325px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    filter: drop-shadow(0px 2px 7px lightgrey);
    text-shadow: 2px 2px 2px #010a11cf;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.entry-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(2 18 33 / 10%);
    z-index: -1;
}

/* Estilos del Vídeo */
.header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    z-index: -1;
}

h1.entry-title {
    font-size: 40px !important;
    color: white;
    margin: 0;
    background-color: #02131f78;
    padding: 3px 10px 8px;
    width: 100%;
    font-weight: 600 !important;
    text-shadow: 2px 2px 2px #010a11eb;
    margin-bottom: 0px !important;
    line-height: 1.3 !important;
    text-align: center;
}

.title-container {
    text-align: center;
    margin: 40px 0 0 0;
}

.h2-custom {
    font-size: 30px;
    color: #034f84;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    position: relative;
    display: inline-block;
    margin: 0;
}

.h2-custom-nolink {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.h2-custom::after {
    content: '';
    display: block;
    width: 0;
    height: 2.2px;
    background: transparent;
    transition: 0.3s ease-in-out;
    margin-top: -2.33px;
}

.h2-custom:hover::after {
    width: 100%;
    background: #0763bf;
}

.text-under-h2 {
    text-align: center;
    font-weight: 400;
    margin: -15px 5px 10px 5px;
    font-size: 18px;
    color: #191e3b;
}

.content-cluster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 30px 0px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: -40px;
}

.content-wrapper {
    text-align: center;
    border-radius: 10px!important;
    overflow: hidden!important;
}

.image-container {
    transition: box-shadow 0.3s ease;
    line-height: 0;
    border-radius: 10px!important;
    overflow: hidden!important;
    box-shadow: 0 3px 6px rgba(0,0,0,.20);
}

.content-item {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    scale: 1.02;
}

.image-container:hover .content-item {
    transform: scale(1.052);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}

.content-wrapper h3 {
    margin-top: 10px;
    font-size: 1.2em;
}

.content-wrapper h3:hover {
    color: #000000;
    opacity: 90%;
    transform: scale(1.03);
    transition-duration: 0.3s;
}

.content-wrapper h3 a {
    text-decoration: none;
    color: #0763bf;
    font-size: 19.5px;
    font-weight: 500;
}

.content-wrapper h3 a:hover {
    color: #000000;
    opacity: 90%; 
}

.content-cluster1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
    padding: 20px 0px 10px 0px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.content-wrapper1 {
    text-align: center;
    border-radius: 10px!important;
    overflow: hidden!important;
    position: relative;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
}

.image-container1 {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    line-height: 0;
    border-radius: 10px!important;
    overflow: hidden!important;
    box-shadow: 0 3px 6px rgba(0,0,0,.20);
    position: relative;
    filter: brightness(0.5);
    height: 100px;
}

.content-item1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.content-wrapper1:hover .image-container1 {
    transform: scale(1.05);
    filter: brightness(0.6);
}

.content-wrapper1 h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.3s ease;
}

.content-wrapper1:hover h3 {
    transform: translate(-50%, -50%) scale(1.05);
}

.content-wrapper1 h3 a {
    text-decoration: none;
    color: white;
    font-size: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 2px #010a11cf;
}

.article-separator {
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,.20);
    margin-top: 10px;
}

.separator-wrapper {
    max-height: 250px;
    transition: transform 0.3s ease;
}

.separator-image-container {
    height: 100%;
    overflow: hidden;
}

.separator-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    box-shadow: 0 2px 5px rgba(0,0,0,.20);
}

.separator-wrapper:hover {
    transform: scale(1.05);
}

.separator-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: 500;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-shadow: 2px 2px 2px #010a11cf;
    transition: 0.3s;
}

.separator-title a {
    text-decoration: none;
    color: #fff!important;
}

.separator-title a:hover {
    color: white!important;
}

/* Estilos compartidos entre sliders */
.slider-container * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.slider-container {
    display: flex;
    overflow-x: auto;
    position: relative;
    padding: 20px 0px 20px 5px;
    cursor: grab;
    overflow: hidden;
    margin-bottom: -5px !important;
    scroll-behavior: smooth;
}

.slider-container:active {
    cursor: grabbing;
}

.slide {
    min-width: 280px;
    margin: 0px 23.5px 0px 0px;
    position: relative;
    transition: box-shadow .5s, transform .5s;
    filter: brightness(0.98);
}

.slide:hover {
    transform: translateY(-5px);
    filter: brightness(1.08);
}

.slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1) !important;
}

.slider-nav button {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    color: #034f84;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 100%;
    padding: 10px 19px;
    cursor: pointer;
    z-index: 10;
    line-height: 1.5;
}

.slider-nav button:hover {
    background-color: #034f84;
    color: white;
}

/* Slider Principal */
.beach-types-slider {
    position: relative;
    max-width: 1200px;
    margin: 28px 0px 20px 0px;
    text-align: center;
    overflow: hidden;
}

#prev-slide {
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%);
}

#next-slide {
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.beach-types-slider .slide h3 {
    font-size: 28px;
    text-shadow: 2px 2px 2px #1e293b1f;
    background-color: #fffffff5 !important;
    color: #1e293b;
    padding: 5px 10px 6px;
    width: 100%;
    font-weight: 700;
    position: absolute;
    text-transform: uppercase;
    bottom: 10px;
}

/* Sliders adicionales */
.slider-comun {
    position: relative;
    max-width: 1200px;
    margin: 28px 0px 20px 0px;
    overflow: hidden;
}

.slider-comun .slide {
    box-shadow: 1px 2px 5px 0 rgba(26, 26, 26, 0.16) !important;
    border-radius: 10px;
    height: 340px;
    max-width: 185px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.slider-comun .slide img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    border-radius: 10px 10px 0px 0px;
    box-shadow: none !important;
}

.slider-comun .slide-content {
    position: relative;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0px 0px 10px 10px;
    padding: 10px 15px 10px 19px;
    flex-grow: 1;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slider-comun .slide-content h3 {
    font-size: 20px;
    margin-bottom: 2px;
    color: #1e293b;
}

.slider-comun .slide-content p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 8px;
}

.slider-comun .slide-tags {
    display: flex;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 3px;
}

.slider-comun .tag {
    background-color: #034f84;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    padding: 0px 10px;
}

.slider-comun .slider-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #ffffffdb;
    padding: 0px 5px 0px 5px;
    border-radius: 6px;
}

.slider-icon img {
    height: auto !important;
}

#prev-hoteles, #prev-playas {
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%);
}

#next-hoteles, #next-playas {
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.geo-content-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 75px;
    justify-content: center;
    padding: 40px 0px;
    background-image: url(https://www.delmundo.top/wp-content/uploads/2024/02/fondo-geografia.jpg);
    background-position: top;
    background-size: cover;
    margin: 50px 0px 40px 0px;
}

.geo-content-wrapper {
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
    transition: transform .25s ease-in-out;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: white;
}

.geo-content-wrapper:hover {
   transform: translateY(-5px);
   box-shadow: 0 2px 5px rgba(0,0,0,0.4);
   opacity: 97%;
}

.geo-image-container {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70%;
}

.geo-content-item {
    max-width: 90%;
    max-height: 90%;
    height: auto;
    border-radius: 10px;
}

.geo-content-wrapper h3 {
    color: #1e73be;
    margin: 0;
    padding: 10px 0;
    font-size: 21.5px;
    font-weight: 600;
}

.recursos-container {
    background: #f7f8f9;
    margin: 10px 0px;
    padding: 1px 0px 45px 0px;
}

.recursos-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    padding: 35px 0px 20px 0px;
}

.recurso-item {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    background: white;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    transition: transform .25s ease-in-out;
    width: 30%;
    height: 80px;
}

.recurso-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.recurso-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px 0px 0px 10px;
    margin-right: 18px;
    margin-left: -11px;
    position: relative;
    object-fit: cover;
    border: 1px solid #ccc;
    border-right: none;
}

.recurso-item h3 {
    margin: 0;
    color: #0763bf;
    font-size: 19.5px;
    font-weight: 500;
}

.final-section {
  padding: 40px 0;
  text-align: center;
}

.final-section h2 {
    text-align: center;
    font-size: 32px;
    color: #034f84;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin: -10px 0 30px 0;
    font-weight: 500;
}

.final-section p {
  color: #333;
  max-width: 650px;
  margin: 0 auto 50px;
}

.category-cluster {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.category-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 20px;
    width: 262px;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.category-item1 {
    border: 3px solid #27a2cc;
}

.category-item2 {
    border: 3px solid #b1d65b;
}

.category-item3 {
    border: 3px solid #fdcb50;
}

.category-item4 {
    border: 3px solid #bc9af4;
}

.category-item h3 {
    color: #286ab2;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 500;
    padding-top: 15px;
}

.category-item p {
  color: #333;
  font-size: 0.9em;
  margin-bottom: 0px;
}

.category-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: auto;
}

.category-icon1 {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 69px;
    height: auto;
}

.social-media-section {
    text-align: center;
    padding: 40px 0px 20px 0px;
    background-color: #f7f8f9;
}

.social-media-section h5 {
    font-size: 29.5px;
    color: #034f84;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin: -5px 0 25px 0;
    font-weight: 500;
}

.social-media-section p {
    color: #666;
    max-width: 600px;
    margin: 20px auto;
    font-size: 18px;
}

.social-icons {
    display: inline-flex;
    gap: 20px;
    justify-content: center;
    padding: 10px 0;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    align-items: center;
    justify-content: center;
    display: flex;
}

.social-icons a:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.social-icons img {
    width: 60%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .site-content .ast-container {
        padding: 0 0 35px 0;
    }

    #primary {
        margin: 0 0 4em 0 !important;
    }

    h1.entry-title {
        font-size: 37px !important;
        padding: 3px 10px 6.5px;
    }

    .header-video {
        width: auto;
        height: auto;    
    }

    .content-cluster {
        padding: 30px 5px;
    }

    .h2-custom, .h2-custom-nolink  {
        font-size: 28px !important;
    }

    .h2-custom-nolink {
        padding-top: 10px;
    }

    .content-wrapper h3 {
        font-size: 19.5px;
    }

    .content-cluster1 {
        padding: 15px 20px 10px 20px;
        grid-template-columns: auto;
    }

    .title-container {
        margin: 30px 0 0 0;
    }

    .slider-container {
        overflow: scroll;
        margin-top: -5px;
        padding: 20px 0 20px 20px;
    }

    .slider-nav {
        display:none;
    }

    .separator-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 19.5px;
    }

    .separator-wrapper {
        max-height: 200px;
    }

    .separator-image-container img {
        height: 250px;
    }

    .geo-content-cluster {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        padding: 40px 0px;
    }

    .geo-content-wrapper {
        width: 150px;
        height: 150px;
    }

    .recursos-cluster {
        display: flex;
        flex-wrap: nowrap;
        gap: 25px;
        justify-content: center;
        padding: 35px 0px 20px 0px;
        flex-direction: column;
        align-items: center;
    }

    .recurso-item {
        width: 90%;
    }

    .intro-delmundo {
        padding: 0px 20px;
    }

    .social-media-section p {
        padding: 0px 20px;
    }
}

@media (max-width: 430px) {
    .header-video {
        width: auto;
        height: 325px;
    }
}  