.footer-image-section-bg-pcf {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 4px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.contenedor-flex-pc {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: space-around;
}



.footer-overlay-1-cpf {
    position: absolute;
    z-index: 1;
    top: 100%;
}

.footer-content-overlay-cpf {
    position: absolute;
    bottom: 10px;
    left: 0px;
    right: 0px;
    z-index: 2;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 0 1rem;
}
.cp-sust-main-container-pcf {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top:35px;
}

.map-pueblo-container-pcf {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    margin-top: 35px;
}

.footer-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 115px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

    .footer-carousel-indicators .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        transition: background-color 0.3s ease;
        cursor: pointer;
    }

        .footer-carousel-indicators .dot.active {
            background-color: white;
        }
.footer-location-text {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: Open sans-serif;
    margin-bottom:40px;
    margin-left:25px;
}

    .footer-location-text i {
        font-size: 1rem;
    }

.footer-image-credit {
    font-size: 0.75rem;
    text-align: right;
    color: white;
    opacity: 0.8;
}
.info-section-div1-pcf {
    padding: 0px 0px 0px 12%;
}
.flex-div2-pcf {
    padding: 0px 10% 0px 10%;
}
.cp-dv2-pcf {
    border-top: 1px solid #e5e5e5;
    padding-top: 15px;
}

.section-title-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.imgline-pcf {
    margin-top: 3%;
    margin-bottom: 3%;
    width:350px;
}
.imgline-pcf-2 {
    margin-top: 0%;
    width: 350px;
}
.txt-fin4-pcf {
    font-size: 28px;
    font-weight: 400;
    color: #181818;
    font-family: 'Bree Serif';
}
.txt-fin5-pcf {
    font-size: 18px;
    font-weight: 400;
    color: #747474;
    font-family: 'Open Sans';
    text-align:justify;
}
.txt-fin6-pcf {
    font-size: 18px;
    font-weight: 400;
    color: #747474;
    font-family: 'Open Sans';
    margin-bottom: 4%;
    text-align: justify;
}
.txt-fin7-pcf {
    font-size: 18px;
    font-weight: 400;
    color: #747474;
    font-family: 'Open Sans';
    text-align: justify;
}
.section-title {
    font-size: 44px;
    font-family: 'Bree Serif', serif;
    font-weight: 400;
    margin: 0;
}

.section-title-underline {
    display: inline-block;
    margin-top: 10px;
    width: 80px;
    height: 4px;
    background-color: #E91E63;
    border-radius: 4px;
}
.div-santa-pcf {
    font-size: 44px;
    font-family: Bree serif;
    white-space: nowrap;
    margin:0;
}
.map-img-container-pcf {
    width: 327px;
    height: 483px;
    overflow: hidden;
    position: relative;
}
.map-img-container-pcf img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    overflow-x: hidden;
}

.div-info-sec-container-pcf {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width:16.5rem;
}
.info-sectiondiv1-pcf {
    display: flex;
    flex-wrap: nowrap;
    align-self: center;
}

.div-info-sec-pcf {
    text-align: justify;
}
.div-text3-pcf {
    font-size: 20px;
    font-family: 'Open Sans';
    line-height: 150%
}
.div-text4-pcf {
    font-size: 18px;
    font-family: 'Open Sans';
    line-height: 150%;
}
.div-txth3-pcf {
    font-size: 28px;
    line-height: 130%;
    font-family: Bree serif;
}
.transport-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.transport-icon-pcf {
    flex: 0 0 60px;
    margin-right: 20px;
}

    .transport-icon img {
        width: 36px;
        height: auto;
    }

.transport-text h3 {
    font-size: 22px;
    font-family: 'Bree Serif', serif;
    margin: 0;
    margin-bottom: 8px;
    color: #333;
}

.transport-text p {
    font-size: 17px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    text-align:justify;
}

.carousel-wrapper {
    position: relative;
    align-items:center;
}

.carousel-pcf {
    display: inline-flex;
    justify-content: center;
    width: 80%;
}
.cafe-carousel-pcf {
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    background-color: #FBF2F6;
    padding: 80px 0px 80px 0px;
}
.title-card-pcf {
    color: #E0004D;
    font-size: 44px;
    font-weight: bold;
    font-family: 'Bree Serif';
    margin-bottom: 120px;
    font-weight:400;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: #d81b60;
    margin: 8px auto 20px;
    border-radius: 2px;
}

.carousel-card {
    width: 767px;
    height: 400px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: scale(1);
    transition: transform 0.4s ease;
}
#slide-counter {
    font-size: 22px;
    color: #E0004D;
    font-weight:400;
}
.arrow-pcf {
    font-size: 24px;
    background: none;
    border: 2px solid #d81b60;
    color: #d81b60;
    border-radius: 12px;
    width: 56px;
    height: 56px;
    cursor: pointer;
}
.count-prim-pcf{
    font-weight:700;
}
.carousel-nav {
    margin: 120px 0% -1% 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.carousel-card.active {
    transform: scale(1.3);
    z-index: 2;
    opacity: 1;
    border: 3px solid white;
    font-weight: 400;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption-pcf {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    color: white;
    background: linear-gradient(to top, #000, transparent);
}

    .caption-pcf .text {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        font-weight: bold;
    }

#carousel-slides {
    display: contents;
    gap: 0px;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.badge {
    background-color: transparent;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 28px;
    cursor:pointer;
}
.img-subtitle-pcf {
    color: red;
    text-align: left;
    float: left;
    font-weight: 400;
    background: rgba(204, 44, 80, 0.2);
}
.img-slider-pcf {
    padding-top: 5px;
    font-weight: 500;
    text-align: left;
    float:left;
}

.center-image {
    text-align: center;
    margin: 2rem 0;
}

    .center-image img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }

.photo-caption {
    font-size: 0.8rem;
    text-align: right;
    color: #555;
    margin-top: 0.3rem;
}

.div-fin-4-pcf {
    width: 55%;
    text-align: left;
    margin-bottom:75px;
}

.pueblos-cafetaleros-section {
    margin: 4rem auto;
    padding: 0 1rem;
    max-width: 1200px;
}

.pueblos-cafetaleros-section-reg {
    /*margin: 4rem auto;*/
    /*padding: 0 1rem;*/
/*    max-width: 1200px;
    padding-left: var(--section-left-padding);
    padding-right: var(--section-right-padding);*/
    display: flex;
    flex-direction: column;
    justify-self: center;
}

.pueblos-cafetaleros-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

/*    .pueblos-cafetaleros-title h2 {
        font-size: 1.8rem;
        font-weight: bold;
        margin: 0;
    }*/

.pueblos-cafetaleros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    max-width: 77rem;
}

.pueblo-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.pueblo-span-2 {
    grid-row: span 2;
}

.pueblo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pueblo-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 60%);
    color: white;
    font-size: 0.9rem;
}

    .pueblo-caption p {
        margin: 0;
        font-size: 0.75rem;
        opacity: 0.8;
    }

.span-title-pcf {
    margin-top:15px;
    color: white;
}
.nombre-pueblo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

    .nombre-pueblo .flecha {
        color: white;
        text-decoration: none;
        font-size: 3rem;
        transition: transform 0.2s;
        margin-bottom:-15px;
    }

        .nombre-pueblo .flecha:hover {
            transform: translateX(4px);
        }


@media (max-width: 768px) {
    .footer-image-section-bg-pcf {
        aspect-ratio: 1 / 1;
    }
    .info-section-div1-pcf {
        padding: 0px 0px 0px 0%;
    }

    .flex-div2-pcf {
        padding: 0px 0% 0px 0%;
    }

    .map-pueblo-container-pcf {
        flex-direction: column;
        gap: 2rem;
    }

    .div-info-sec-container-pcf {
        max-width: max-content;
    }

    .contenedor-flex-pc {
        flex-direction:column;
    }

    .carousel-card {
        width: 250px;
        height: 170px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        transform: scale(1);
        transition: transform 0.4s ease;
    }

    #carousel-slides {
        display: contents;
        gap: 0px;
        justify-content: center;
        align-items: center;
        transition: transform 0.6s ease-in-out;
        will-change: transform;
    }

    .carousel-nav {
        margin: 17% 0% -1% 0%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .img-slider-pcf {
        padding-top: 12px;
        font-weight: 500;
        text-align: left;
        font-size: 11.2px;
        float:left;
    }
    .img-subtitle-pcf {
        color: red;
        font-weight: 400;
        background: rgba(204, 44, 80, 0.2);
        font-size:11px;
    }
    .credit {
        text-align: right;
        font-size: 6.5px;
        margin-top: 5px;
    }

    .cafe-carousel {
        text-align: center;
        font-family: 'Segoe UI', sans-serif;
        background-color: #FBF2F6;
        padding: 11% 0px 11% 0px;
    }

    .div-fin-4-pcf {
        width: 90%;
        text-align: left;
        margin-bottom: 75px;
    }

    .pueblos-cafetaleros-grid {
        display: contents;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pueblo-span-2 {
        grid-row: span 2;
        border-bottom: 10px solid #fff;
    }
    .pueblo-card {
        position: relative;
        overflow: hidden;
        border-radius: 6px;
        border-bottom: 10px solid #fff;
    }
    .footer-location-text {
        font-size: 18px;
        font-weight: 700;
        display: grid;
        align-items: center;
        gap: 0.5rem;
        width:60%;
        font-family: Open sans-serif;
        margin-bottom: 40px;
        margin-left: 0px;
    }
    .footer-carousel-indicators {
        position: absolute;
        bottom: 15px;
        left: 18.5%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 3;
    }
    .cp-sust-main-container-pcf {
        display: contents;
        flex-direction: row;
        margin-top: 20px;
    }
    .carousel-pcf {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }
    .carousel-card.active {
        transform: scale(1.3);
        z-index: 2;
        opacity: 1;
        border: 3px solid white;
        font-weight: 400;
        width: 767px;
        height: 270px;
        margin-top:-38px;
    }
}

/* Estilos para el formulario de edición de borrador */
.container-form {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
}

.container-form h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.campo-grupo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.campo-grupo label {
    font-weight: 500;
    color: #34495e;
    font-size: 14px;
}

.campo-grupo input,
.campo-grupo textarea {
    padding: 8px 12px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.campo-grupo input:focus,
.campo-grupo textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Estilos para las imágenes de portada */
.imagenes-portada-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.imagen-grupo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
}

.imagen-grupo label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 5px;
}

.imagen-grupo input[type="file"] {
    padding: 8px;
    border: 2px dashed #bdc3c7;
    border-radius: 4px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.imagen-grupo input[type="file"]:hover {
    border-color: #3498db;
}

.imagen-preview {
    min-height: 120px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.imagen-preview.has-image {
    color: transparent;
}

.imagen-preview img {
    max-width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

/* Estilos para botones */
#btn-enviar,
#btn-cancelar {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

#btn-enviar {
    background-color: #e74c3c;
    color: white;
}

#btn-enviar:hover {
    background-color: #c0392b;
}

#btn-cancelar {
    background-color: #34495e;
    color: white;
    margin-right: 10px;
}

#btn-cancelar:hover {
    background-color: #2c3e50;
}

/* Indicador de carga */
#loading-indicator {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #7f8c8d;
}

/* Responsive */
@media (max-width: 768px) {
    .imagenes-portada-container {
        grid-template-columns: 1fr;
    }
    
    .campo-grupo input,
    .campo-grupo textarea {
        width: 100% !important;
        max-width: 100%;
    }
    
    .container-form {
        margin: 10px;
        padding: 15px;
    }
}