/* Add here all your CSS customizations */
.spy{ background-color: aquamarine}
.spy2 { border:1px dashed red; }
.alzate {z-index:999}
.belowdeck{ padding-bottom:20px}
.belowdeck8{ height:310px}
.destacan { font-weight:600}

@font-face {
    font-family: 'MontserratB';
    src: url('./fonts/montserrat-bold-webfont.woff2') format('woff2'),
    url('./fonts/montserrat-bold-webfont.woff') format('woff');
    font-weight: normal; font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/montserrat-regular-webfont.woff2') format('woff2'),
    url('./fonts/montserrat-regular-webfont.woff') format('woff');
    font-weight: normal; font-style: normal;
}

html.sticky-header-active #header.header-transparent .header-logo{
  background-image: url("../images/cloa.png");
		background-repeat: no-repeat;	background-position: bottom;
	width:125px;
	height:34px;	top:15px;
}
html:not(.sticky-header-active) #header.header-transparent .header-logo {
background-image: url("../images/cloainv.png");
	background-repeat: no-repeat;
	background-position: bottom;
		width:125px;
	height:34px;
	top:15px;
}

/*.main {*/
/*    margin-top: 2rem;*/
/*}*/

ul.comments li {
	padding: 10px 0 0 0;
}

.fab.fa-twitter{
	font-family:sans-serif;
}
.fab.fa-twitter::before{
	content:"𝕏";
	font-size:1.2em;
}
/*BLOQUE IMPORTADO TAL CUAL DEL WP ANTERIOR*/ 
#wp-migrate .alignleft {
    float: left;
    margin: .5em 1em .5em 0;
}
#wp-migrate .has-text-align-justify {
    text-align: justify;
}
#wp-migrate .wp-block-image .alignright {
    float: right;
    margin: .5em 0 .5em 1em;
}

#wp-migrate .wp-block-image .aligncenter {
    margin-left: auto;
    margin-right: auto;
}
#wp-migrate .wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}
#wp-migrate .wp-block-image .aligncenter,#wp-migrate .wp-block-image .alignleft,#wp-migrate .wp-block-image .alignright,#wp-migrate .wp-block-image.aligncenter,#wp-migrate .wp-block-image.alignleft,#wp-migrate .wp-block-image.alignright
{
    display: table;
}

.section {
    position: relative;
    padding: 1rem;
}

section.page-header{
    margin-bottom: 1rem;
    background-color: white;
    padding-top: 10px;
}

section.page-second-header{
    padding-left: 55px;
    padding-right: 55px;
    padding-top: 20px;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.form-style-2 .form-control {
    background-color: #f1f3f7;
}
.badge{
    white-space: break-spaces!important;
}

figure img[class*="wp-image-"] {
    margin-right: 15px;
}

/* Grid layout for post lists - equal height cards */
/* Main content is col-md-8 col-lg-9, so adjust for sidebar layout */
.portfolio-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 767.98px) {
    .portfolio-list {
        grid-template-columns: 1fr;
    }
}

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

.blog-post {
    display: flex;
    flex-direction: column;
    /*height: 100%;*/
}

.blog-post .image-frame {
    flex-shrink: 0;
}

.blog-post > p.text-color-light-3 {
    flex-grow: 1;
}

.portfolio-grid-item {
    display: flex;
    flex-direction: column;
}

/* Fixed image height for listado */
.portfolio-list .image-frame {
    height: 220px;
    overflow: hidden;
}

.portfolio-list .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fixed image height for home page cards */
.home-posts .card-img-top,
.section .card .card-img-top {
    height: 220px;
    object-fit: cover;
}

/* For the card structure in home page */
.section .card.rounded.bg-light.border-0 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section .card.rounded.bg-light.border-0 .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.section .card.rounded.bg-light.border-0 .card-body > p:last-child {
    margin-bottom: auto;
}




/* Header styles matching original site exactly */
.wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

#header {
    position: relative;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    min-height: 200px;
}

.header-bg {
    position: relative;
    background-color: #f0f0f0;
    padding: 48px 0px 0px 0px;
    font-family: 'Montserrat', serif;
    border-bottom: 1px solid #d4d4d4;
    text-transform: uppercase;
    height: auto;
    background-image: url(../images/bg-header.png);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
}
#header #logo {
    text-align: center;
    padding-top: 20px;
}
.wrapper {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

#logo h1.p0 {
    margin-bottom: 6px;
}

#logo h1.p0 a {
    margin: 0;
    font-size: 36px;
    color: #34658e;
    font-weight: 700;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    letter-spacing: -1px;
    border-bottom: 1px solid #c2c2c2;
    line-height: 1em;
}

.blogdesc {
    color: #59a4e3;
    font-size: 16px;
    line-height: 1em;
    margin-bottom: 10px;
    font-weight: bold;
    margin-top: 6px;
    letter-spacing: 1px;
}

.blogdesc2 {
    font-size: 15px;
    color: #999;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 900;
    line-height: 1.4;
}

#main-nav {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    margin-top: 15px;
}

#main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#main-nav ul li {
    margin: 0 25px 0 0;
}

#main-nav ul li:last-child {
    margin-right: 0;
}

#main-nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    padding: 8px 0;
    display: block;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

#main-nav ul li a:hover,
#main-nav ul li a.active {
    color: #c41230;
}

#mobile_links {
    display: none;
}

@media (max-width: 991px) {
    #main-nav {
        display: none;
    }
    #mobile_links {
        display: block;
        text-align: right;
        padding: 15px 0;
    }
    .mobile_nav {
        background: #333;
        color: #fff;
        padding: 10px 20px;
        text-decoration: none;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 14px;
        display: inline-block;
    }
}

.menu-item.active {
    color: #59a4e3;
    border-bottom: 3px solid #59a4e3;
}


.btn-orange,
a.orange{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 4px 13px;
    color: #fff;
    background-color: #2388ED;
    border: 2px solid transparent;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-family: MontserratB;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

    -webkit-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -moz-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -o-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -ms-transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    transition: all 0.2s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}
.btn-orange:hover,
.btn-orange:focus,
a.btn-orange:hover,
a.btn-orange:focus{
    font-weight: 400;
    color: #000000;
    background-color: #2388ED;
    text-decoration: none;
    outline: none;
    border-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.btn-orange:active{
    cursor: pointer !important;
    outline: none !important;
}

.btn-orange.btn-small{
    height: auto;
    padding: 6px 17px;
    font-size: 11px;
    letter-spacing: 1px;
}

/* Cabecera del Carrusel de portada */
.carrusel-header-section {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 24px 0;
    margin-top: -1px;
    margin-bottom: 24px;
}
.carrusel-section-title {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #59a4e3;
    line-height: 1;
}
@media (max-width: 768px) {
    .carrusel-header-section {
        padding: 16px 0;
        margin-bottom: 16px;
    }
    .carrusel-section-title {
        font-size: 14px;
        letter-spacing: 0.8px;
    }
}

/* Carrusel de portada */
.carrusel-portada-section {
    position: relative;
    width: 100%;
}
.carrusel-portada-section .owl-carousel .owl-stage-outer,
.carrusel-portada-section .owl-carousel .owl-stage,
.carrusel-portada-section .owl-carousel .owl-item {
    height: 520px;
}
.carrusel-portada-section .carousel-slide-item {
    height: 520px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #111;
}
.carrusel-portada-section .carrusel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}
.carrusel-slide-item:hover .carrusel-img {
    transform: scale(1.03);
}
.carousel-badge-container {
    z-index: 5;
}
.carousel-badge-container .badge {
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 0.6px;
    padding: 4px 10px !important;
    background-color: #34658e !important;
    border-radius: 3px;
}
.carousel-caption-container {
    z-index: 5;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    pointer-events: none;
}
.carousel-caption-container a {
    pointer-events: auto;
}
.carousel-title-link {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.25;
    transition: color 0.2s ease;
}
.carousel-title-link:hover {
    color: #59a4e3 !important;
}
.carousel-author {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    margin-top: 6px;
    display: inline-block;
}
.carrusel-portada-section .owl-theme .owl-nav {
    margin-top: 0;
    opacity: 1 !important;
}
.carrusel-portada-section .owl-theme .owl-nav [class*="owl-"] {
    background: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    opacity: 0.95;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.carrusel-portada-section .owl-theme .owl-nav [class*="owl-"]:before {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    color: #ffffff !important;
    line-height: 1 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.carrusel-portada-section .owl-theme .owl-nav .owl-prev {
    left: 20px;
}
.carrusel-portada-section .owl-theme .owl-nav .owl-prev:before {
    content: '\f053' !important; /* fa-chevron-left (bold/solid) */
    margin-right: 2px;
}
.carrusel-portada-section .owl-theme .owl-nav .owl-next {
    right: 20px;
}
.carrusel-portada-section .owl-theme .owl-nav .owl-next:before {
    content: '\f054' !important; /* fa-chevron-right (bold/solid) */
    margin-left: 2px;
}
.carrusel-portada-section .owl-theme .owl-nav [class*="owl-"]:hover {
    background: #34658e !important;
    border-color: #34658e !important;
    color: #ffffff !important;
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}
.carrusel-portada-section .owl-theme .owl-dots {
    position: absolute;
    bottom: 20px;
    right: 30px;
    margin: 0;
    z-index: 10;
}
.carrusel-portada-section .owl-theme .owl-dots .owl-dot.active span {
    background: #59a4e3 !important;
}

@media (max-width: 768px) {
    .carrusel-portada-section .owl-carousel .owl-stage-outer,
    .carrusel-portada-section .owl-carousel .owl-stage,
    .carrusel-portada-section .owl-carousel .owl-item,
    .carrusel-portada-section .carousel-slide-item {
        height: 360px;
    }
    .carrusel-portada-section .owl-theme .owl-nav [class*="owl-"] {
        width: 38px;
        height: 38px;
        line-height: 38px;
    }
    .carrusel-portada-section .owl-theme .owl-nav [class*="owl-"]:before {
        font-size: 16px !important;
    }
    .carrusel-portada-section .owl-theme .owl-nav .owl-prev {
        left: 10px;
    }
    .carrusel-portada-section .owl-theme .owl-nav .owl-next {
        right: 10px;
    }
    .carousel-caption-container {
        padding: 1.5rem !important;
    }
}

/* Mejoras de lectura de notas */
.post-text-content, #wp-migrate {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #212529;
}
.post-text-content blockquote, #wp-migrate blockquote {
    border-left: 3px solid #0088cc;
    padding-left: 1.2rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}
@media (max-width: 767px) {
    .post-text-content .alignleft, #wp-migrate .alignleft,
    .post-text-content .alignright, #wp-migrate .alignright {
        float: none;
        display: block;
        margin: 1em auto;
        max-width: 100%;
    }
}

/* Footer inspirado en Senses of Cinema */
#footer {
    background-color: #17191d !important;
    border-top: 3px solid #34658e;
    color: #b5b9be;
    margin-top: 60px;
}
#footer .footer-widget-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff !important;
    padding-bottom: 8px;
    border-bottom: 2px solid #34658e;
    display: inline-block;
}
#footer .footer-subheading {
    font-size: 11px;
    letter-spacing: 1.2px;
    color: #59a4e3 !important;
    text-transform: uppercase;
}
#footer .footer-about-text p {
    color: #c2c6cb !important;
    font-size: 13.5px;
    line-height: 1.7;
    text-align: justify;
}
#footer .footer-link-highlight {
    color: #59a4e3 !important;
    text-decoration: underline;
}
#footer .footer-link-highlight:hover {
    color: #ffffff !important;
}
#footer .footer-columnistas-list li {
    padding: 2px 0;
    font-size: 12.5px;
    line-height: 1.4;
    white-space: nowrap;
}
#footer .footer-columnistas-list .text-white {
    color: #eaeaea !important;
}
#footer .footer-columnistas-list .text-white-50 {
    color: #8c939b !important;
    font-size: 11.5px;
}
#footer .footer-donation-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    padding: 11px 13px;
    transition: all 0.2s ease-in-out;
}
#footer .footer-donation-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(89, 164, 227, 0.35);
}
#footer .footer-donation-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #59a4e3;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-bottom: 9px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#footer .footer-donation-header i {
    font-size: 13px;
    margin-right: 7px;
}
#footer .footer-field-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #8c939b;
    margin-bottom: 2px;
}
#footer .footer-alias-container {
    background: #101215;
    border: 1px solid rgba(89, 164, 227, 0.25);
    border-radius: 4px;
    padding: 5px 8px;
}
#footer .footer-alias-code {
    color: #59a4e3;
    background: transparent;
    font-size: 11.5px;
    font-weight: 600;
    padding: 0;
    word-break: break-all;
}
#footer a.footer-alias-code {
    text-decoration: none;
    transition: color 0.2s ease;
}
#footer a.footer-alias-code:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}
#footer .btn-copy-alias {
    background: rgba(89, 164, 227, 0.15);
    border: 1px solid rgba(89, 164, 227, 0.35);
    color: #59a4e3;
    padding: 2px 7px;
    font-size: 11px;
    border-radius: 3px;
    line-height: 1.2;
    transition: all 0.2s ease;
}
#footer .btn-copy-alias:hover {
    background: #34658e;
    color: #ffffff;
    border-color: #34658e;
}
#footer .footer-paypal-btn {
    background-color: #0070ba;
    border: 1px solid #0070ba;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 3px;
    line-height: 1.4;
    transition: background-color 0.2s;
}
#footer .footer-paypal-btn:hover {
    background-color: #005ea6;
    border-color: #005ea6;
    color: #ffffff !important;
}
#footer .footer-donation-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
#footer .footer-donation-box .badge {
    background-color: #34658e !important;
    font-size: 12px;
    letter-spacing: 0.5px;
}
#footer .footer-search-form .form-control {
    background-color: #111315 !important;
    border: 1px solid #32383e !important;
    color: #ffffff !important;
    font-size: 13px;
}
#footer .footer-search-form .form-control:focus {
    border-color: #34658e !important;
    box-shadow: none;
}
#footer .footer-search-form .btn-primary {
    background-color: #34658e !important;
    border-color: #34658e !important;
}
#footer .footer-search-form .btn-primary:hover {
    background-color: #2b5375 !important;
    border-color: #2b5375 !important;
}
#footer .social-icons li a {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}
#footer .social-icons li a:hover {
    background: #34658e !important;
    color: #ffffff !important;
}
#footer .footer-copyright {
    background: #111315 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 0 !important;
    padding: 1.5rem 0;
}
#footer .footer-nav-links li a {
    color: #8c939b !important;
    letter-spacing: 0.8px;
    font-size: 12px;
    transition: color 0.2s ease;
}
#footer .footer-nav-links li a:hover {
    color: #59a4e3 !important;
}

/* ==========================================================================
   Estilos editoriales para Imágenes, Figuras y Fotogramas en Posts
   ========================================================================== */
.post-text-content figure, 
#wp-migrate figure,
figure.image {
    display: table;
    margin: 2rem auto;
    max-width: 100%;
    clear: both;
}

.post-text-content figure img, 
#wp-migrate figure img,
figure.image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 0 auto;
}

.post-text-content figcaption, 
#wp-migrate figcaption,
figure.image figcaption {
    display: table-caption;
    caption-side: bottom;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d;
    padding: 0.6rem 0.5rem 0.2rem;
    text-align: center;
    font-style: italic;
}

/* Alineaciones y Modificadores */
.post-text-content .img-center,
#wp-migrate .img-center,
figure.img-center,
img.img-center {
    display: table;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

.post-text-content .img-full-width,
#wp-migrate .img-full-width,
figure.img-full-width,
img.img-full-width {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 2.5rem 0;
    clear: both;
}

.post-text-content .img-full-width img,
#wp-migrate .img-full-width img,
figure.img-full-width img {
    width: 100%;
    border-radius: 4px;
}

.post-text-content .alignleft,
#wp-migrate .alignleft,
figure.alignleft,
img.alignleft {
    float: left;
    margin: 0.6rem 1.8rem 1.2rem 0;
    max-width: 50%;
}

.post-text-content .alignright,
#wp-migrate .alignright,
figure.alignright,
img.alignright {
    float: right;
    margin: 0.6rem 0 1.2rem 1.8rem;
    max-width: 50%;
}

/* Marco cinematográfico */
.post-text-content .img-framed img,
#wp-migrate .img-framed img,
figure.img-framed img,
img.img-framed {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    border: 1px solid #dcdfe4;
}

/* Bloques editoriales adicionales */
.post-text-content blockquote.editorial-quote,
#wp-migrate blockquote.editorial-quote {
    border-left: 4px solid #34658e;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-size: 1.15rem;
    line-height: 1.7;
    background-color: #f8fafc;
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: #2c3e50;
}

/* Grilla de imágenes / díptico comparativo */
.post-image-grid {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.post-image-grid figure {
    margin: 0 auto;
}

/* Lightbox zoom */
.post-text-content a.post-image-lightbox,
#wp-migrate a.post-image-lightbox {
    display: block;
    cursor: zoom-in;
    position: relative;
    text-decoration: none;
}
.post-text-content a.post-image-lightbox:hover img,
#wp-migrate a.post-image-lightbox:hover img {
    opacity: 0.94;
    transition: opacity 0.2s ease-in-out;
}

@media (max-width: 767px) {
    .post-text-content .alignleft, #wp-migrate .alignleft, figure.alignleft, img.alignleft,
    .post-text-content .alignright, #wp-migrate .alignright, figure.alignright, img.alignright {
        float: none !important;
        display: table !important;
        margin: 1.5rem auto !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   Contenido Relacionado en Post View
   ========================================================================== */
.card-related-post {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: #ffffff !important;
    border: 1px solid #e9ecef !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.card-related-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}
.card-related-post .card-img-wrapper {
    height: 190px;
    width: 100%;
    position: relative;
    background-color: #17191d;
    flex-shrink: 0;
}
.card-related-post .card-img-top {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.35s ease;
}
.card-related-post:hover .card-img-top {
    transform: scale(1.05);
}
.card-related-post .card-body {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
.card-related-post h3 {
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
}
.card-related-post h3 a {
    color: #212529 !important;
    transition: color 0.2s ease;
}
.card-related-post:hover h3 a {
    color: #34658e !important;
}

/* ==========================================================================
   Comentarios en Posts
   ========================================================================== */
.comments-list .comment-item {
    background-color: #fcfdfe !important;
    border: 1px solid #eaedf1 !important;
    border-left: 4px solid #34658e !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.comments-list .comment-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}
.comment-avatar .avatar-initials {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #34658e, #59a4e3);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(52, 101, 142, 0.25);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}
.comment-body .comment-author {
    color: #17191d !important;
    font-size: 1.05rem;
    letter-spacing: -0.2px;
}
.comment-body .comment-date {
    font-size: 0.82rem !important;
    color: #8c939b !important;
}
.comment-body .comment-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333a42;
    margin-top: 0.35rem;
}

/* Formulario de comentarios */
#leavecomment {
    background-color: #f8fafc !important;
    border: 1px solid #e9ecef !important;
}
.form-control-comment {
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control-comment:focus {
    border-color: #34658e !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 101, 142, 0.15) !important;
    outline: none;
}
.input-group .form-control-comment {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 0 !important;
}
.input-group .input-group-text {
    border: 1px solid #ced4da !important;
    border-right: 0 !important;
    color: #8c939b;
}

/* Página y Formulario de Contacto */
.contact-info-card {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #34658e !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}
.contact-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #34658e 0%, #59a4e3 100%);
    font-size: 1.2rem;
}
.contact-link {
    transition: color 0.2s ease;
}
.contact-link:hover {
    color: #34658e !important;
}
.contact-form-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}
.form-control-contact {
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control-contact:focus {
    border-color: #34658e !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 101, 142, 0.15) !important;
    outline: none;
}
.contact-form-card .input-group .form-control-contact {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 0 !important;
}
.contact-form-card .input-group-text {
    border: 1px solid #ced4da !important;
    border-right: 0 !important;
    color: #8c939b;
}

/* reCAPTCHA responsive container */
.g-recaptcha {
    overflow-x: auto;
    max-width: 100%;
}

/* Paginación centrada Anterior / Siguiente */
.pagination-nav-container .pagination .page-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #34658e;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.pagination-nav-container .pagination .page-link:hover {
    color: #ffffff !important;
    background: #34658e !important;
    border-color: #34658e !important;
}
.pagination-nav-container .pagination .page-item.disabled .page-link {
    color: #adb5bd !important;
    background: #f8f9fa !important;
    border-color: #e9ecef !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}



