/*
Theme Name: newteam
Theme URI: https://logicalweb.bo
Version: 1.0
Description: Tema hijo de twentytwentyfive
Author: Enrrique Arrazola
Author URI: https://logicalweb.bo
Template: twentytwentyfive
*/
/*GENERAL*/
a{
	text-decoration: none !important;
}
.grecaptcha-badge{
	display:none !important;
}
/*.text-line-2 a{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}*/
.n2-ss-align{
	margin:auto !important;
}
/*NAVBAR*/
.spl-weather-horizontal-card{
	/*max-width:320px !important;*/
	margin:0;
}
header{
	position:sticky;
	top:0;
	width:100%;
	z-index:5;
}
header a:is(:active,:hover,:focus){
	border:none;
	outline:none;
}
header nav a{
	outline:none;
	padding-bottom:0.25rem;
	transition:1s all;
}
header nav a:before{
	content:"";
	background-color:#af00bb;
	width:0%;
	height:3px;
	position:absolute;
	bottom:0;
	transition:1s all;
}
header nav a:hover:before{
	width:100% !important;
}
header nav a:hover {
	color:#af00bb!important;
}
header nav a[aria-current="page"]{
	color:#af00bb !important;
}
header nav a[aria-current="page"]:before{
	width:100% !important;
}

.wp-block-navigation__responsive-container.is-menu-open{
	max-width:200px;
	box-shadow:3px 3px 6px rgba(0,0,0,0.125);
}
.content-dollar p{
	font-size:clamp(0.7rem,2vw,0.9rem) !important;
}
/*HOME*/
.taxonomy-category a{
	border-bottom: 4px solid #9a00a5;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.86rem;
}
.taxonomy-category a:hover{
	color: #9a00a5;
}
.content-head-videos{
	display:flex;
	justify-content:space-between;
	gap:1rem;
	align-items:center;
	border-bottom:4px solid #9a00a5;
	margin-bottom:clamp(1rem, 3vw, 2rem);
}
.content-head-videos a{
	      background-color: #a600b1;
    color: white;
    padding: clamp(0.25rem, 1vw, 0.5rem) clamp(0.5rem, 2vw, 1rem);
    border-radius: 2rem;
    text-transform: uppercase;
    font-weight: bold;
	font-size:clamp(0.9rem,2vw,1rem);
}
.content-head-videos a:hover{
	background-color:#441947;
}
.content-head-videos h2{
	margin:0;
	font-weight:700;
	color: white;
}
	
}
/*PORTADA HOME*/
/* ==========================================================================
   ESTILOS GENERALES Y CARDS
   ========================================================================== */
.badge-cat a {
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    color: #c91414;
    text-decoration: none;
    margin-bottom: 4px;
    display: inline-block;
}
.card-noticia-normal{
	padding: 0.5rem;
    box-shadow: 3px 3px 6px rgb(0 0 0 / 25%);
}
.card-noticia-normal a,
.destacado-hero-overlay a,
.card-noticia-horizontal a {
    text-decoration: none;
    color: inherit;
}
.content-date{
	display:flex;
}
.card-titulo{
	font-size: clamp(0.9rem, 2vw, 1.15rem);
    margin-block: 1rem;
}
.card-titulo a:hover{
	text-decoration:none;
	outline:none;
	color:#a200ad;
}
.destacados-grilla-inferior .card-resumen,.card-noticia-horizontal .card-resumen{
	display:none;
}
.card-resumen {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.4;
    margin: 6px 0;
	
}

.card-fecha {
    font-size: 0.8rem;
    color: #888;
}

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

.card-cuerpo {
    padding-top: 10px;
}

/* ==========================================================================
   1. DISEÑO DESTACADOS (OVERLAY ARRIBA + GRILLA ABAJO)
   ========================================================================== */
.layout-destacados {
    margin-bottom: 35px;
}

.destacado-hero-overlay {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    background: #000;
}
.destacado-hero-overlay .hero-media::after {
  content: "";
  position: absolute;
  inset: 0; /* Cubre top, right, bottom, left al 100% */
  background: linear-gradient(to bottom, rgb(0 0 0 / 0%) 40%, rgb(0 0 0) 100%);
  pointer-events: none; /* Permite interactuar con la imagen o enlaces debajo */
}

.destacado-hero-overlay .hero-media img {
    width: 100%;
    min-height: 600px;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}


.destacado-hero-overlay .hero-capa-degradado {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.9) 100%);
}

.destacado-hero-overlay .hero-datos {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #ffffff;
}

.destacado-hero-overlay .hero-datos div>a {
    color: #ffffff;
    text-transform: uppercase;
    display: inline;
    border-bottom: 3px solid #ffffff;
	font-weight:600;
}

.destacado-hero-overlay .hero-titulo {
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1.25;
    margin: 8px 0;
}

.destacado-hero-overlay .hero-resumen {
    color: #e5e5e5;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 8px 0 10px;
}

.destacado-hero-overlay .hero-fecha {
    font-size: 0.8rem;
    color: #bbb;
}

.destacados-grilla-inferior {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%,15rem), 1fr));
    gap: 1rem;
}

/* ==========================================================================
   2. DISEÑO FIJOS (COLUMNA 60% / COLUMNA 40%)
   ========================================================================== */
.layout-fijos-columnas {
    display: flex;
    gap: 28px;
    margin-bottom: 35px;
}

.fijos-col-60 {
    flex: 0 0 60%;
    max-width: 60%;
}

.fijos-col-60 .card-thumb img {
    height: 320px;
}

.fijos-col-60 .card-titulo {
    font-size: 1.45rem;
    margin: 8px 0;
}

.fijos-col-40 {
    flex: 0 0 calc(40% - 28px);
    max-width: calc(40% - 28px);
    display: flex;
    flex-direction: column;
    gap: 16px;
	justify-content: space-around;
}

/* Card horizontal (foto izquierda, texto derecha) */
.card-noticia-horizontal{
	display:flex;
	gap:1rem;
	align-items:center;
}
/*.card-noticia-horizontal a {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}*/
.card-noticia-horizontal a:hover{
	    text-decoration: none;
    outline: none;
    color: #a200ad;
}
.card-thumb-mini img {
    width: 110px;
    height: 85px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.card-cuerpo-mini {
    flex: 1;
}

.card-titulo-mini {
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 4px 0 6px 0;
}
.layout-grilla-estandar .card-resumen{
	display:none;
}
/*LOS MAS LEIDOS*/
.content-post-popular{
	    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
}
.card-noticia-normal .tptn_featured{
	width:100%;
	aspect-ratio: 4 / 3;
    height: auto;
}
.card-noticia-normal .tptn_date{
	margin-top:0.5rem;
	display:block;
	font-size: 0.8rem;
    color: #888;
}
.card-noticia-normal .tptn_after_thumb a{
	font-weight:900;
	font-size:1rem;
}
.card-noticia-normal .tptn_after_thumb a:hover{
	  text-decoration: none;
    outline: none;
    color: #a200ad;
}
/* ==========================================================================
   3. GRILLA ESTÁNDAR (ÚLTIMAS NOTICIAS Y CATEGORÍAS 1, 2, 3)
   ========================================================================== */
.layout-grilla-estandar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
    margin-bottom: 35px;
}

/* Adaptación responsive */
@media (max-width: 768px) {
    .destacado-hero-overlay .hero-media img {
        height: 320px;
    }
    .destacado-hero-overlay .hero-titulo {
        font-size: 1.3rem;
    }
    .layout-fijos-columnas {
        flex-direction: column;
    }
    .fijos-col-60, .fijos-col-40 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}




/*POST*/
.contenedor-relacionados {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9; 
    border-radius: 8px;
}

.titulo-seccion {
    margin-bottom: 20px;
    font-size: 1.2em;
}
.item-post-relacionado {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
}

.item-post-relacionado:hover {
    transform: translateX(5px);
}

.imagen-relacionada {
    flex: 0 0 80px;
    margin: 0 15px 0 0;
    padding: 0;
}

.imagen-relacionada a {
    display: block; 
}

.imagen-relacionada img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.titulo-post-relacionado {
    margin: 0;
    font-size: 1em;
    line-height: 1.3;
}

.titulo-post-relacionado a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.titulo-post-relacionado a:hover {
    color: #9a00a5;
}
figcaption{
	       background-color: #e1e1e1;
    margin: 0 !important;
    padding: 0.5rem;
    color: #6e6e6e;
    font-weight: bold;
}

/*PAGE*/
.content-pagination a {
    background-color: #ffffff;
    color: #000000;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 3px 3px 6px #dbdbdb;
}
.content-pagination span[aria-current="page"] {
    padding: 0.5rem;
    background-color: #441947;
    color: white;
    font-size: 1rem;
    border-radius: 0.5rem;
}
/*VIDEOS DE YOUTUBE*/
/* Contenedor principal */
.yt-showcase-container {
    width: 100%;
    margin: 1.5rem 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Cuadrícula de videos */
.yt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

/* Tarjeta individual */
.yt-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Contenedor de video / reproductor */
.yt-player-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #0f0f0f;
    cursor: pointer;
    overflow: hidden;
}

.yt-player-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.yt-player-box:hover img {
    opacity: 0.9;
}

/* Botón de reproducción estilo YouTube */
.yt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(33, 33, 33, 0.8);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.yt-play-btn svg {
    fill: #ffffff;
    width: 22px;
    height: 22px;
    margin-left: 2px;
}

.yt-player-box:hover .yt-play-btn {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Elemento iframe generado dinámicamente */
.yt-player-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Texto y títulos */
.yt-card-content {
    padding: 0.85rem 1rem 1rem;
    flex-grow: 1;
}

.yt-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    color: #0f0f0f;
    /*display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;*/
}

/* Reproductor de directo (Live) */
.yt-live-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
}

.yt-live-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.yt-live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #cc0000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Mensajes de aviso / error */
.yt-error {
    color: #d9534f;
    padding: 10px;
    font-size: 0.9rem;
}

.yt-no-videos {
    text-align: center;
    color: #666666;
  padding: 1.5rem;
}
/*ARTICLE*/
.content-arcticle-individual a{
	text-decoration:underline !important;
}
/*CONTACTO*/
.contact-form :where(input,select,textarea){
	width:100%;
	box-sizing:border-box;
	border:1px solid black;
	outline:none;
	padding:1rem;
	border-radius:0.5rem;
}
.wpcf7-submit{
	background-color: #441947;
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 900;
}
@media(max-width:700px){
	.spl-weather-horizontal-card{
		display:none !important;
	}
	.content-banner-top{
		display:none;
	}
}
@media(max-width:480px){
/*.home-content-blog{
  display: grid; 
  grid-template-columns: 1.4fr 0.8fr 0.8fr; 
  grid-template-rows: 1fr 1fr; 
  gap: 1rem; 
  grid-template-areas: 
    "principal . ."
    "principal . ."; 
}  
.home-content-blog li:nth-child(1) {
    grid-area: principal;
	box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 37%);
}
	.home-content-blog li .wp-block-post-excerpt{
		display:none;
	}
	.home-content-blog li:nth-child(1) .wp-block-post-excerpt {
    display:block;
}*/
	.logo-desktop{
		display:none !important;
	}
	
	.image-logo img{
		max-width:120px;
		width:100%;
	}
	.content-search-posts button{
		padding:0.25rem !important;
	}
	.content-search-posts input{
		padding:0 0.25rem !important;
	}
	.content-rrss{
		display:none !important;
	}
	
	
}
@media(min-width:481px){
	.logo-mobile{
		display:none;
	}
}


