/* ============================================
   CUSTOM SINGLE POST LAYOUT STYLES
   ============================================ */

/* SECCIÓN PRINCIPAL DE ENTRADAS */

/* TÍTULO PRINCIPAL */
.title-interiores {
    margin-bottom: 2rem;
}

.title-interiores h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0;
}
@media (max-width: 768px) {
    .title-interiores h2 {
        font-size: 1.75rem;
    }
}

/* SECCIÓN DE IMAGEN PRINCIPAL */
.img-principal {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    gap: 0rem;
}

/* CONTENEDOR REDES SOCIALES */
.container-social-note {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
}

.item-social-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #6D6D6D;
}

.item-social-note .fa-stack {
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-social-note .fa-stack-2x {
    font-size: 2rem;
}

.item-social-note .fa-stack-1x {
    font-size: 1rem;
    position: absolute;
}

/* IMAGEN PRINCIPAL */
.img-principal picture {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
}

.img-principal picture img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .img-principal picture{
        height: 100%;
    }
    .container-social-note {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* BOTÓN COMPARTIR */
.share-note {
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.share-note a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6D6D6D;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.share-note a:hover {
    color: #333;
}

.share-note .icon-share {
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-note svg {
    transition: transform 0.3s ease;
}

.share-note a:hover svg {
    transform: rotate(15deg);
}

/* INFORMACIÓN Y CONTENIDO DE LA NOTA */
.info-note {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.info-note h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.info-note p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

/* CONTENEDOR DE VIDEO */
.content-video-note {
    margin: 2rem 0;
}

.video.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* SECCIÓN DE CONTENIDO DEL BODY */
.section-body-notices {
    background: #fff;
    padding: 2rem 0;
}

.container-note-social {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
}

/* SIDEBAR - ÚLTIMAS NOTICIAS */
.container-related-news {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    min-height: 400px;
}

.container-related-news .h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    /*padding: 1rem 0;*/
}

/* META DATA RESPONSIVO */
@media (max-width: 991px) {
    .flex-lg-row {
        flex-direction: column;
    }

    .col-lg-8,
    .col-lg-4 {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

/* LAZY LOADING */


/* TRANSICIONES SUAVES */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ACCESIBILIDAD */

/* ESTILOS DEL CONTENIDO PRINCIPAL */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 1.5rem 0 1rem 0;
    color: #1a1a1a;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.entry-content p {
    margin-bottom: 1.5rem;
}
.wp-block-quote p{
    color: white;
}

/* MEDIA QUERIES GENERALES */
@media (max-width: 576px) {
    .title-interiores h2 {
        font-size: 1.5rem;
    }

    .share-note {
        justify-content: center;
    }

    .info-note h3 {
        font-size: 1.25rem;
    }

    .section-interiores-head .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .item-social-note,
    .item-social-note .fa-stack{
        width: 40px;
        height: 40px;
    }
    .section-interiores-head .img-principal .container-social-note a:nth-child(n+4) {
        display: none;
    }
    .item-social-note{
        display: flex;
    }
}

/* ===== Migas de pan (single post) ===== */
.breadcrumb-nav { margin-bottom: 1rem; }
.breadcrumb-custom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: .875rem;
}
.breadcrumb-custom .breadcrumb-item a {
	color: #6D6D6D;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
}
.breadcrumb-custom .breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-custom .breadcrumb-item.active { color: #222; font-weight: 600; }
.breadcrumb-custom .breadcrumb-separator { color: #aaa; font-size: .65rem; }
.breadcrumb-custom .breadcrumb-icon { font-size: .85em; }
