.stream-item-widget img,
.stream-item-mag img,
.textwidget img {
	max-width: 100%;
	height: auto;
}

.stream-item-mag .container-wrapper {
	text-align: center;
}

.entry-content video,
.entry-content iframe {
	max-width: 100%;
}

.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtube-nocookie.com"] {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

.entry-content video {
	height: auto;
}

.not-found .search-form {
	margin-top: 15px;
}

@media print {
	#theme-header, #footer, .sidebar, .post-footer, .post-components, .stream-item, #go-to-top, .side-aside, #tie-popup-search-wrap {
		display: none !important;
	}
	.main-content {
		width: 100% !important;
	}
}

/* Aviso del formulario de comentarios */
.rln-comment-notice { padding: 12px 15px; margin: 0 0 20px; border-radius: 2px; font-size: 14px; }
.rln-comment-success { background: #e8f6ee; color: #1d6b3d; }
.rln-comment-error { background: #fdecea; color: #a12622; }

/* Galería de NextGEN de "Bienvenidos" */
.entry-content .gallery figure.gallery-item { margin: 0 0 10px; }
.entry-content .gallery figure.gallery-item img { width: 100%; height: 150px; object-fit: cover; }

/* Bloques que el original mostraba sólo en celulares o sólo en computadoras */
@media (min-width: 769px) {
	.only-mobile { display: none !important; }
}
@media (max-width: 768px) {
	.only-desktop { display: none !important; }
}
.block-custom-content .entry img { width: 100%; height: auto; }
.block-custom-content .entry p:last-child { margin-bottom: 0; }

/* Página de contacto (CSS personalizado del original) */
#tie-block_1507 { --brand-color: #00807d; --dark-brand-color: #00625f; --bright-color: #FFFFFF; }
#tie-block_3261 { --brand-color: #ceea9d; --dark-brand-color: #b0cc7f; --bright-color: #000000; }
ul.info-contacto li { list-style: none; display: flex; align-items: center; }
ul.info-contacto i { font-size: 22px; display: inline-flex; justify-content: center; align-items: center; width: 25px; height: 25px; margin-right: 10px; }
ul.info-contacto i.fa-mobile { font-size: 30px; }
ul.redes { display: flex; justify-content: space-between; padding: 30px 0; }
ul.redes li { list-style: none; flex-basis: calc(25% - 2px); text-align: center; border-radius: 3px; padding: 3px; transition: .5s; cursor: pointer; }
ul.redes li:hover { filter: brightness(1.5); }
li.facebook { background: #3b5998; }
li.instagram { background: #dd2a7b; }
li.twitter { background: #00acee; }
li.youtube { background: #c4302b; }
ul.redes i { font-size: 18px; }
ul.redes i.fa-facebook, ul.redes i.fa-instagram, ul.redes i.fa-twitter, ul.redes i.fa-youtube { font-family: 'Font Awesome 5 Brands'; font-weight: 400; }
#contacto .wpcf7-hp { position: absolute; left: -9999px; }

.single-post hr { border: 1px solid black; margin-bottom: 16px; }

/* Rotador "Publicitá en Nuevo Norte" de la barra lateral */
.vn-rotator { position: relative; aspect-ratio: 600 / 337; overflow: hidden; }
.vn-rotator-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.vn-rotator-slide.is-active { opacity: 1; z-index: 1; }
.vn-rotator-slide a, .vn-rotator-slide img { display: block; width: 100%; height: 100%; }
.vn-rotator-slide img { object-fit: cover; max-width: none !important; }
.vn-rotator-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); background: transparent; border: 0; color: rgba(255, 255, 255, .8); font-size: 30px; line-height: 1; padding: 5px; cursor: pointer; opacity: 0; transition: opacity .3s; }
.vn-rotator:hover .vn-rotator-arrow { opacity: 1; }
.vn-rotator-prev { left: 10px; }
.vn-rotator-next { right: 10px; }

/* Encabezado y menú del celular (reemplazan al plugin Mobile Menu del original) */
.vn-mob-header, .vn-mob-panel, .vn-mob-overlay { display: none; }
@media (max-width: 992px) {
	#theme-header { display: none; }
	.vn-mob-header { display: flex; position: sticky; top: 0; z-index: 990; align-items: center; justify-content: space-between; padding: 1rem; background: #ceea9d; }
	.vn-mob-logo img { display: block; height: 46px; width: auto; }
	.vn-mob-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; padding: 4px; background: transparent; border: 0; cursor: pointer; }
	.vn-mob-toggle span { display: block; height: 3px; background: #000; border-radius: 2px; }
	.vn-mob-panel { display: block; position: fixed; top: 0; right: 0; bottom: 0; z-index: 99999; width: 366px; max-width: 85vw; overflow-y: auto; padding: 60px 0 30px; background: #a3938d; transform: translateX(100%); transition: transform .3s; }
	.vn-mob-overlay { display: block; position: fixed; inset: 0; z-index: 99998; background: #ceea9d; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
	.vn-mob-open .vn-mob-panel { transform: none; }
	.vn-mob-open .vn-mob-overlay { opacity: .8; visibility: visible; }
	.vn-mob-close { position: absolute; top: 10px; right: 15px; background: transparent; border: 0; color: #000; font-size: 36px; line-height: 1; cursor: pointer; }
	.vn-mob-menu, .vn-mob-menu ul { list-style: none; margin: 0; padding: 0; }
	.vn-mob-menu li { position: relative; }
	.vn-mob-menu a { display: block; padding: 10px 50px 10px 20px; font-family: Lato, sans-serif; font-size: 1rem; color: #000 !important; }
	.vn-mob-menu ul { display: none; padding-left: 15px; }
	.vn-mob-menu li.is-open > ul { display: block; }
	.vn-mob-expand { position: absolute; top: 0; right: 10px; width: 40px; height: 44px; background: transparent; border: 0; color: #000; cursor: pointer; }
	.vn-mob-expand::before { content: "+"; font-size: 24px; line-height: 1; }
	.vn-mob-menu li.is-open > .vn-mob-expand::before { content: "\2212"; }
}

/* Banner de cabecera: el aviso original lleva la imagen al 76 % del ancho */
.stream-item-top-wrapper .stream-item-size img { width: 76%; height: auto; }
@media (max-width: 992px) {
	/* En el original lo tapa la cabecera fija del menú móvil: en el teléfono el aviso es el bloque «sólo celulares» */
	.stream-item-top-wrapper { display: none; }
}
