/* =============================================================================
   MOBILE CSS - REFACTORIZADO
   ============================================================================= */

/* =============================================================================
   1. CSS VARIABLES & ROOT SETTINGS
   ============================================================================= */
:root {
	/* Used for page min-height dynamically */
	--page-height: 0px;
	--page-margin: 5vw;
	
	/* Color palette */
	--color-primary: #000099;
	--color-primary-hover: #0000cc;
	--color-link: #0033FF;
	--color-dark-blue: #000066;
	--color-white: #ffffff;
	--color-black: #000000;
	--color-gray-light: #f8f9fa;
	--color-gray-border: #e9ecef;
	
	/* Button sizes */
	--btn-size-normal: 40px;
	--btn-size-small: 36px;
}

/* =============================================================================
   2. BASE RESETS & GLOBAL STYLES
   ============================================================================= */
/** {
	-webkit-user-select: none;
}*/

body {
	font-size: 10px;
	margin: 0;
	background-repeat: no-repeat;
}

body.loading {
	overflow: hidden;
}

body.loading .modal {
	display: block;
}

/* Remove default font-style from various elements */
i, cite, em, var, address, fdn {
	font-style: normal;
}

p {
	font-style: normal;
}

/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */

/* --- Main Text Styles --- */
.TEXTseccioncmodulos {
	font-family: Trebuchet MS;
	font-size: 15px;
	font-style: normal;
	font-weight: bold;
	color: var(--color-dark-blue);
	margin: 1pt 1pt 1pt 3pt;
}

.TEXTseccioncmodulosANDROID {
	font-family: Trebuchet MS;
	font-size: 12px;
	font-style: normal;
	font-weight: bold;
	color: var(--color-dark-blue);
	margin: 1pt 1pt 1pt 3pt;
}

.TEXTseccioncmodulosIpad {
	font-family: Trebuchet MS;
	font-size: 20px;
	font-style: normal;
	font-weight: bold;
	color: var(--color-dark-blue);
	margin: 1pt 1pt 1pt 3pt;
}

.TEXTseccioncmodulosIPHONE, .textseccioncmodulosiphone {
	font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
	font-size: 18px;
	font-style: normal;
	font-weight: bold;
	color: var(--color-dark-blue);
	margin: 1pt 1pt 1pt 3pt;
}

/* --- Title Styles --- */
.TITmediummodulos {
	font-family: Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	text-decoration: underline;
	color: #0000CC;
	font-size: 17px;
}

.TITmediummodulosIpad {
	font-family: Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	text-decoration: underline;
	color: #0000CC;
	font-size: 20px;
}

.TITmediummodulosIPHONE {
	font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	text-decoration: underline;
	color: var(--color-link);
	font-size: 16px;
}

.TITmediummodulosIPHONE:visited {
	color: var(--color-link);
}

.TEXTitleIpad {
	font-family: Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	font-size: 20px;
}

.TEXTitle {
	font-family: Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	font-size: 18px;
}

.TitleBigBreakNews {
	font-family: Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	text-decoration: underline;
	color: #0000CC;
	font-size: 15px;
}

/* --- Subtitle Styles --- */
.TEXTSubTituloRanking {
	font-size: 14px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

.TEXTSubTituloRankingIpad {
	font-size: 17px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

.TEXTSubTituloRankingIPHONE {
	font-size: 18px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
}

.SubtitleBigBreakingNews {
	font-size: 12px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

.TextBigSubTitleRanking {
	font-size: 12px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

/* --- Index/Ranking Text Styles --- */
.TEXTIndiceRanking {
	font-weight: bold;
	font-size: 12px;
	margin: 1pt 1pt 1pt 3pt;
	color: var(--color-dark-blue);
	font-style: normal;
	font-family: Trebuchet MS;
}

.TEXTIndiceRankingIpad {
	font-weight: bold;
	font-size: 19px;
	margin: 1pt 1pt 1pt 3pt;
	color: var(--color-dark-blue);
	font-style: normal;
	font-family: Trebuchet MS;
}

.TEXTIndiceRankingIPHONE {
	font-weight: bold;
	font-size: 18px;
	margin: 1pt 1pt 1pt 3pt;
	color: var(--color-dark-blue);
	font-style: normal;
	font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
}

.TextBigIndicesRanking {
	font-weight: bold;
	font-size: 14px;
	margin: 1pt 1pt 1pt 3pt;
	color: var(--color-dark-blue);
	font-style: normal;
	font-family: Trebuchet MS;
}

/* --- Section Module Styles --- */
.SectionModulosBig {
	font-family: Trebuchet MS;
	font-size: 15px;
	font-style: normal;
	font-weight: bold;
	color: var(--color-dark-blue);
	margin: 1pt 1pt 1pt 3pt;
}

/* --- Body Text Styles --- */
.TEXTbajadapmodulos {
	font-weight: normal;
	font-size: 9px;
	margin: 0;
	color: var(--color-black);
	font-style: normal;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 1px;
}

.TEXTbajadapSup {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: normal;
	color: var(--color-black);
	margin: 0pt 1pt 0pt 3pt;
	letter-spacing: 1px;
}

.TEXTbajadap {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: normal;
	color: var(--color-black);
	margin: 0pt 1pt 0pt 3pt;
	letter-spacing: 1px;
}

.TEXTCJ {
	font-weight: bold;
	font-size: 16px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

.TEXTMOD_IPAD {
	font-weight: bold;
	font-size: 16px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

/* --- Detail Page Label Styles --- */
.lbl_ipadTitleDetail_style, .lbl_ipadtitledetail_style {
	font-weight: bold;
	font-size: 30px;
	font-family: arial;
}

.lbl_ipadTextDetail_style, .lbl_ipadtextdetail_style {
	font-size: 20px;
	font-family: arial;
	font-style: normal;
}

.lbl_ipadSubTitleDetail_style, .lbl_ipadsubtitledetail_style {
	font-size: 24px;
	font-family: arial;
	font-style: normal;
	font-weight: bold;
}

.lbl_TitleDetail_style, .lbl_titledetail_style {
	font-size: 24px;
	font-family: arial;
	font-style: normal;
	font-weight: bold;
}

.lbl_TitleDetail_style p {
	margin-top: 2px;
	margin-bottom: 2px;
}

.lbl_SubTitleDetail_style, .lbl_subtitledetail_style {
	font-size: 20px;
	font-family: arial;
	font-style: normal;
	text-align: justify;
	text-justify: inter-cluster;
	margin-left: 0;
	margin-right: 7px;
	font-weight: bold;
}

.lbl_BajadaNota_style {
	font-size: 18px;
	font-family: Verdana;
	font-style: normal;
	text-align: justify;
	text-justify: inter-cluster;
	margin-left: 0;
	margin-right: 7px;
}

.lbl_textNewsDetail_style, .lbl_textnewsdetail_style {
	font-size: 22px;
	font-family: arial;
	font-style: normal;
	text-align: justify;
	text-justify: inter-cluster;
	margin-left: 12px;
	margin-right: 12px;
}

.lbl_textNewsDetail_style_ITA p {
	font-style: italic;
}

.lbl_textDetail_style, .lbl_textdetail_style {
	font-size: 18px;
	font-family: arial;
	font-style: normal;
	text-align: justify;
	text-justify: inter-cluster;
	margin-left: 4px;
	margin-right: 4px;
}

/* --- Misc Font Styles --- */
.verd {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

a.texto {
	font-size: 9px;
	color: #16125F;
}

.verdana_alert {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: var(--color-dark-blue);
	font-size: 10px;
	font-weight: bold;
}

.blink {
	text-decoration: blink;
}

/* =============================================================================
   4. LAYOUT COMPONENTS
   ============================================================================= */

/* --- Alignment --- */
.alignleft {
	text-align: left;
}

.alignright {
	text-align: right;
}

/* --- Margins --- */
.class10x5 {
	margin-left: 10px;
	margin-right: 5px;
}

.class5x10 {
	margin-left: 5px;
	margin-right: 10px;
}

/* --- Containers --- */
div.container a {
	display: block;
	text-decoration: none;
}

.MarcoTablaAcceso {
	background-color: #FCFCFC;
	border: 1px solid #CCCCCC;
}

.TITULAR {
	margin: 1pt 1pt 1pt 3pt;
}

/* --- Logos --- */
.logoIPAD {
	width: 50%;
	border: 0;
	text-align: center;
	text-decoration: none;
}

.logoAndroid, .logoMobile {
	width: 80%;
	border: 0;
	text-align: center;
	text-decoration: none;
}

.logo_revista {
	width: 90%;
	text-align: left;
	float: left;
	margin-bottom: 10px;
}

/* --- Image Containers --- */
.Imagen {
	border-color: var(--color-black);
	float: none;
}

#grande800 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	border-width: 0;
	float: left;
	margin-bottom: 5px;
	width: 251px;
}

#grande1024 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	border-width: 0;
	float: left;
	margin-bottom: 5px;
	width: 330px;
}

#grande1280 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 5px;
	float: left;
	width: 420px;
	border-width: 0;
}

.divfoto800 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 5px;
	float: left;
	position: relative;
	height: 335px;
	width: 250px;
}

.divfoto1024 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 5px;
	float: left;
	position: relative;
	height: 420px;
	width: 324px;
}

.divfoto1280 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 5px;
	float: left;
	position: relative;
	height: 558px;
	width: 415px;
}

/* --- Offset (Hidden element positioning) --- */
.offset {
	position: absolute;
	top: -10000px;
	left: -10000px;
}

/* --- White Popup --- */
.white-popup {
	position: relative;
	background: var(--color-white);
	padding: 20px;
	width: auto;
	max-width: 500px;
	margin: 20px auto;
}

/* =============================================================================
   5. FORM ELEMENTS
   ============================================================================= */

/* --- Input Fields --- */
.input_txt {
	font-size: 8pt;
	height: 16px;
	border: 1px solid #83878c;
	color: var(--color-black);
	background-color: var(--color-white);
}

.input_txtBig {
	font-size: 16pt;
	height: 30px;
	border: 1px solid #83878c;
	color: var(--color-black);
	background-color: var(--color-white);
}

/* --- Dropdowns --- */
.dropDown_style {
	font-size: 9pt;
	border: 1px solid #83878c;
	color: var(--color-black);
	background-color: var(--color-white);
}

.dropDown_Big {
	font-size: 16pt;
	font-family: Trebuchet MS;
	border: 1px solid #83878c;
	color: var(--color-black);
	background-color: var(--color-white);
}

/* --- Labels --- */
.lblTit_style {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	color: var(--color-black);
	font-weight: bold;
}

.lbl_style {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: var(--color-black);
}

.lbl_styleBig {
	font-family: Trebuchet MS;
	font-style: normal;
	font-size: 20px;
}

/* --- Checkboxes & Radio Buttons --- */
.checkBox_style {
	width: 20px;
	height: 20px;
}

.radioButton_style {
	width: 20px;
	height: 20px;
}

/* --- Buttons --- */
.input_btn {
	font-size: 11px;
	background: url("/LunMobileIphone/Style Library/Images/button-bg.gif") center center;
	cursor: hand;
	color: navy;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	font-weight: bold;
	left: auto;
	top: auto;
	height: 21px;
	border: 1px solid navy;
	margin-left: 2px;
	margin-right: 2px;
}

.input_Btn_Bigger {
	font-size: 20px;
	background: url("/LunMobileIphone/Style Library/Images/button-bg.gif") center center;
	cursor: hand;
	color: navy;
	font-family: Trebuchet MS;
	text-decoration: none;
	font-weight: bold;
	left: auto;
	top: auto;
	height: 30px;
	border: 1px solid navy;
	margin-left: 2px;
	margin-right: 2px;
}

/* --- Error Messages --- */
.ErrorMassage {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: Red;
	text-decoration: none;
	font-weight: bold;
	padding: 5px 0;
	font-size: 11px;
	text-align: center;
}

#error {
	display: none;
	border: 2px dotted red;
	position: fixed;
	z-index: 1000;
	top: 20px;
	left: 0;
	height: 10%;
	width: 100%;
	background: rgba(255, 255, 255, 0.9);
	text-align: center;
	line-height: 40px;
	min-height: 40px;
	font-size: 16px;
	color: red;
	font-weight: bold;
}

/* =============================================================================
   6. NAVIGATION & UI COMPONENTS
   ============================================================================= */

/* --- Links --- */
A:link {
	color: var(--color-link);
}

A:hover {
	color: var(--color-link);
}

A:visited {
	color: var(--color-link);
}

.link_text {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: var(--color-black);
}

.link_text.hover {
	color: var(--color-black);
}

/* --- Link Header Styles --- */
.linkHeader_Android, .linkPrev_Rank, .linkHeader_Ipad {
	text-align: center;
	background-color: var(--color-white);
	font-weight: bold;
	color: var(--color-link);
}

.linkHeader_Ipad a, .linkHeader_Android a, .linkPrev_Rank a {
	font-weight: bold;
	font-family: Times New Roman Baltic;
	background-color: var(--color-white);
	text-decoration: underline;
	color: var(--color-link);
}

.linkPrev_Rank {
	font-size: 18px;
}

.linkHeader_Ipad {
	font-size: 29px;
}

.linkHeader_Android:link, .linkPrev_Rank:link, .linkHeader_Ipad:link {
	color: var(--color-link);
	font-weight: bold;
	background-color: var(--color-white);
	font-family: Times New Roman Baltic;
}

.linkHeader_Android:visited, .linkPrev_Rank:visited, .linkHeader_Ipad:visited {
	color: var(--color-link);
	font-weight: bold;
	background-color: var(--color-white);
	font-family: Times New Roman Baltic;
}

.linkHeader_Android:hover, .linkPrev_Rank:hover, .linkHeader_Ipad:hover {
	color: var(--color-link);
	font-weight: bold;
	font-family: Times New Roman Baltic;
	background-color: var(--color-white);
}

.linkHeader_Android:active, .linkPrev_Rank:active, .linkHeader_Ipad:active {
	color: var(--color-link);
	font-weight: bold;
	font-family: Times New Roman Baltic;
	background-color: var(--color-white);
}

.linkHeader_Android:visited, .linkHeader_Ipad_Icon.link, .linkHeader_Ipad:visited, .linkHeader_Ipad:hover, .linkHeader_Ipad:active {
	font-weight: bold;
	font-family: Times New Roman Baltic;
	border: none;
	border-color: var(--color-white);
	border-width: 0;
}

.linkHeader_Android {
	font-size: 20px;
	text-decoration: underline;
}

#LinkAndroidIcon {
	display: none;
	padding-top: 3px;
	z-index: 1000;
}

/* --- Headers & Footers --- */
.header {
	font-size: 20px;
	color: white;
	background-color: #000064;
	font-weight: bold;
	font-family: Helvetica;
	text-align: center;
	vertical-align: middle;
}

.footer {
	font-size: 14px;
	color: #000064;
	background-color: #dcdcdc;
	font-weight: bold;
	font-family: Helvetica;
	text-align: center;
}

.headerGrid {
	font-weight: bold;
	font-size: 12px;
	margin: 1pt 1pt 1pt 3pt;
	background-color: var(--color-dark-blue);
	color: var(--color-white);
	font-style: normal;
	font-family: Trebuchet MS;
}

/* --- Top & Bottom Bars --- */
#topBar, #bottomBar {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#topBarFirstPage img, #topBar img, #bottomBar img {
	width: 30px;
}

/* --- Current Page Selector --- */
#currentPage {
	text-align: right;
	margin-right: 1.5em;
}

#selectPage {
	border: 1px solid #d6d6d6;
	padding: 0;
	margin: 0 0 0 1em;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.3em;
	color: var(--color-link);
	text-decoration: underline;
	width: 130px;
	background: url(/LunMobileIphone/images/selectPage1.png) no-repeat right center;
	padding: 0 10px;
	-webkit-appearance: none;
	text-align: right;
	padding-right: 30px;
	border: none;
}

select option:hover,
select option:focus,
select option:active,
select option:checked {
	border: 1px solid #d6d6d6;
}

#LblSelectPage {
	width: 46px;
	background-color: blue;
	height: 19px;
	border: 1px solid gray;
	color: white;
	position: absolute;
	left: 75%;
	font-size: 16px;
	padding: 0 5px;
}

#selectPage .lt {
	text-align: left;
}

/* --- Speed Box / Signal Indicators --- */
.bar-1, .bar-2, .bar-3, .bar-4, .bar-5, #speedbox {
	width: 40px;
	height: 30px;
}

.bar-1 {
	background-image: url(/LunMobileIphone/img/1.png);
	background-size: 40px;
}

.bar-2 {
	background-image: url(/LunMobileIphone/img/2.png);
	background-size: 40px;
}

.bar-3 {
	background-image: url(/LunMobileIphone/img/3.png);
	background-size: 40px;
}

.bar-4 {
	background-image: url(/LunMobileIphone/img/4.png);
	background-size: 40px;
}

.bar-5 {
	background-image: url(/LunMobileIphone/img/5.png);
	background-size: 40px;
}

/* --- Notes Div (Tooltip style) --- */
.divNotas {
	font-family: Trebuchet MS;
	font-size: 11px;
	font-weight: bolder;
	color: var(--color-white);
	line-height: 1.5;
	border: 1px solid var(--color-black);
	padding: 0;
	position: absolute;
	background-color: white;
	visibility: hidden;
	opacity: 0.75;
	-moz-opacity: 0.75;
	filter: alpha(opacity=75);
}

/* --- Install Button --- */
.instalar {
	display: none;
	padding-top: 3px;
	margin-left: -150px;
}

#off-icon {
	float: right;
	height: 35px;
	top: 0;
	padding: 6px 5px 1px 5px;
	position: absolute;
	right: 0;
	border-left: 1px solid gray;
	display: none;
}

/* =============================================================================
   7. CONTENT COMPONENTS
   ============================================================================= */

/* --- Content Slider --- */
.contentSlider {
	width: 100%;
}

/* --- Message Styles --- */
.msjFlaGet {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #FF0000;
	cursor: hand;
}

.msjFla {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: var(--color-black);
	cursor: hand;
}

/* --- Ads/Ranking Styles --- */
.ads_rank {
	margin-right: 5px;
}

.ads_rank img {
	border: 1px solid gray;
}

.imgsRanking {
	width: 99%;
	height: auto;
	margin-bottom: 5px;
	border-color: var(--color-black);
	float: none;
	clear: both;
}

/* --- Ranking Lite Section --- */
#contenedor_nota_ranking {
	float: left;
	width: 94%;
	padding: 5px 22px 5px 5px;
	border-bottom: 1px solid #ccc;
}

#contenedor_nota_ranking_titulo {
	float: left;
	width: 94%;
	padding: 0 22px 0 5px;
	border-bottom: 1px solid #ccc;
}

.contenedor_der_nota_rank {
	float: right;
	width: 50%;
}

.contenedor_nota_ranking_img {
	float: left;
	margin-right: 2px;
	overflow: hidden;
	height: 105px;
	margin-bottom: 2px;
}

.contenedor_der_nota_rank_lar {
	float: left;
	width: 100%;
	margin-top: 5px;
}

/* --- General Ads --- */
.gads {
	text-align: center;
	border: 1px solid black;
	width: 100%;
	height: 50px;
	float: left;
	font-size: 20px;
	line-height: 200%;
}

/* --- Ranking Specific --- */
#Dranking {
	-webkit-backface-visibility: hidden;
}

#Dranking div#img_nota {
	display: block;
	float: left;
	margin-right: 2px;
	overflow: hidden;
	max-height: 160px;
	margin-bottom: 2px;
	width: 46%;
}

/* --- Arrows for Navigation --- */
#f_izq {
	float: left;
	position: relative;
}

#f_mid {
	float: left;
	width: 50%;
	position: relative;
	top: 14px;
	height: 13px;
	background-color: var(--color-black);
	left: -7%;
}

#f_der {
	float: left;
	position: relative;
	left: -14%;
}

#flechas {
	width: 100%;
	left: 23%;
	position: relative;
}

/* --- Banner/Contest Sections --- */
#banner_concurso {
	text-align: center;
	margin-bottom: 3px;
	border-radius: 25px;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	overflow: hidden;
	position: relative;
}

#banner_concurso_ganador {
	text-align: center;
	border: 1px solid gray;
	margin-bottom: 10px;
	border-radius: 10px;
	background: #165a9d;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	overflow: hidden;
	position: relative;
	color: white;
}

#banner_concurso iframe {
	webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	width: 100%;
	height: 150px;
	border: 0;
	margin: -4px;
	padding: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

#link_banner {
	display: none;
}

/* --- Scroll Added Elements --- */
.jscroll-added {
	margin: 0 auto;
	position: relative;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
	z-index: 1;
}

/* --- Next Page Button --- */
.nextpage {
	width: 100%;
	text-align: center;
	height: 40px;
	border: 1px solid #CCC;
	display: block;
	font-size: 20px;
	padding: 10px;
}

/* --- Page Containers --- */
div[id^='DivFirst'] {
	height: auto;
}

div[id^='page'] {
	min-height: 320px;
}

div[id^='addedPage'] {
	min-height: 320px;
}

/* --- Slide Animation --- */
#slideanim {
	display: none;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: url(omnidirectional_swipe.png) 50% 100% no-repeat;
}

#prevSlide {
	overflow: hidden;
}

/* =============================================================================
   8. PRELOADERS & ANIMATIONS
   ============================================================================= */

/* --- Keyframe Animations --- */
@-webkit-keyframes progress {
	to {
		background-position: 30px 0;
	}
}

@-moz-keyframes progress {
	to {
		background-position: 30px 0;
	}
}

@keyframes progress {
	to {
		background-position: 30px 0;
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* --- Preloader Styles --- */
.preload_16 {
	background: url('/LunMobileIphone/Style Library/preload_16.gif') center no-repeat;
	width: 16px;
	height: 16px;
	position: absolute;
	z-index: 1001;
	margin-top: 50%;
	left: 48%;
	border: #ddd solid 1px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}

.preload_128 {
	background: url('/LunMobileIphone/Style Library/loading_big.gif') center no-repeat;
	width: 128px;
	height: 128px;
	position: absolute;
	z-index: 1001;
	top: 50%;
	left: 50%;
}

.preloader img[id^='DetailPageMobile'] {
	-webkit-backface-visibility: hidden;
	background: url('/LunMobileIphone/Style Library/loading_big.gif') 50% 50% no-repeat;
}

/* --- Progress Bar --- */
.progress #msg {
	font-size: 15px;
	font-family: Trebuchet MS, Verdana, Geneva, sans-serif;
	text-align: center;
}

.barBg {
	background: #ccc;
	width: 100%;
	height: 5px;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	margin-bottom: 0;
}

.bar {
	background: #7aff32;
	height: 5px;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

.barFill {
	font-family: Verdana, Geneva, sans-serif;
	width: 100%;
	height: 5px;
	border-radius: 0;
	color: white;
	text-align: center;
	vertical-align: middle;
	-webkit-animation: progress 1s linear infinite;
	-moz-animation: progress 1s linear infinite;
	animation: progress 1s linear infinite;
	background-repeat: repeat-x;
	background-size: 30px 30px;
	background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
	background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.barColor {
	background-color: #00C;
	box-shadow: inset 0 0 6px 2px rgba(255, 255, 255, .3);
}

/* =============================================================================
   9. MODALS & OVERLAYS
   ============================================================================= */

/* --- Basic Modal --- */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	top: 95%;
	left: 0;
	height: 100%;
	width: 100%;
	background: url('/LunMobileIphone/Style Library/ajax-loader.gif') 50% 0% no-repeat;
}

/* --- Opacity Overlay --- */
.opacity {
	background-color: white;
	opacity: 0.6;
	filter: alpha(opacity=60);
	width: 100%;
	height: 70px;
}

/* --- Gradient Div --- */
.divGradient {
	background: -webkit-linear-gradient(gray, white);
	background: -o-linear-gradient(gray, white);
	background: -moz-linear-gradient(gray, white);
	background: linear-gradient(gray, white);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* =============================================================================
   10. TOOLBAR COMPONENTS
   ============================================================================= */

/* --- Article Toolbar Styles --- */
.article-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 8px;
	background-color: var(--color-gray-light);
	border-radius: 8px;
	border: 1px solid var(--color-gray-border);
	margin: 10px 0;
}

.toolbar-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--btn-size-normal);
	height: var(--btn-size-normal);
	border: none;
	border-radius: 6px;
	background-color: var(--color-primary);
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0;
}

.toolbar-btn:hover {
	background-color: var(--color-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 153, 0.3);
}

.toolbar-btn:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 0, 153, 0.3);
}

.toolbar-btn-link {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	width: var(--btn-size-normal);
	height: var(--btn-size-normal);
	border-radius: 6px;
	background-color: var(--color-primary);
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	position: relative;
}

.toolbar-btn-link:hover {
	background-color: var(--color-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 153, 0.3);
}

.toolbar-btn-link:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 0, 153, 0.3);
}

.toolbar-icon {
	width: 21px;
	height: 21px;
	fill: white;
	flex-shrink: 0;
}

.toolbar-icon-linkia {
	width: 30px;
	height: 30px;
	fill: white;
	flex-shrink: 0;
}

/* --- Responsive Voice Icon States --- */
.rv_icon_s .toolbar-btn-link {
	background-color: var(--color-primary);
}

.rv_icon_s .rv-icon-play {
	display: none;
}

.rv_icon_s .rv-icon-stop {
	display: block;
}

.rv_icon .rv-icon-stop {
	display: none;
}

.rv_icon .rv-icon-play {
	display: block;
}

.rv_icon svg {
	width: 28px;
	height: 28px;
}

.rv_icon_s svg {
	width: 28px;
	height: 28px;
}

/* --- Page Toolbar (for newspaper pages - Link IA icon) --- */
.page-toolbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	background: transparent;
	margin-bottom: 0;
	min-height: 0;
	height: auto;
}

.page-toolbar-icons {
	display: flex;
	align-items: center;
	gap: 6px;
}

.page-toolbar-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-white);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	text-decoration: none;
	line-height: 0;
}

.page-toolbar-btn:active {
	transform: scale(0.95);
	background: #f3f4f6;
}

.page-toolbar-btn svg {
	display: block;
	width: 48px;
	height: 24px;
}

/* --- Unified Link IA Compact Button (No Border) --- */
.linkia-btn-compact {
	display: -webkit-inline-flex;
	display: inline-flex;
	-webkit-align-items: center;
	align-items: center;
	padding: 4px 8px;
	background: var(--color-white);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	-webkit-tap-highlight-color: transparent;
	line-height: 1;
	color: var(--color-primary) !important;
}

/* Separacion compatible con iOS<14.1 (gap no funciona en flex). Reemplaza gap: 6px */
.linkia-btn-compact > * + * {
	margin-left: 6px;
}

.linkia-text-compact {
	font-family: Arial, sans-serif;
	font-size: 15px;
	font-weight: bold;
	color: var(--color-primary);
	white-space: nowrap;
	text-decoration: underline;
}

.linkia-icon-compact {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	display: block;
	margin-left: -5px;
}

/* =============================================================================
   11. ADVERTISEMENT STYLES (GLOBALIZED FROM Z-FOLD)
   ============================================================================= */

/* --- Info Ads Section (Base Styles - Apply to ALL devices) --- */
#info_ads, #info_visible {
	width: 100%;
	margin: 0;
	font-family: Verdana;
	font-size: 150%;
	text-align: center;
	margin-right: 5px;
}

#info_ads {
	display: none;
}

#info_visible {
	display: block;
}

#mas_info {
	width: 100%;
	text-align: center;
}

.mas_info {
	background-color: blue;
	text-align: center;
	cursor: pointer;
	height: 35px;
	width: 250px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 150%;
	margin: 10px;
	color: var(--color-white);
	font-weight: bold;
}

/* --- Contact/Social Section (UNIFIED STYLE - Apply to ALL devices) --- */
.contact-button {
	font-size: 16px;
	width: 100%;
	margin: 0;
	padding: 5px;
	color: var(--color-primary);
	text-decoration: underline;
	font-weight: bold;
	text-align: center;
	border: 0;
	vertical-align: middle;
	background-color: transparent;
}

.contact_cell {
	height: auto;
	vertical-align: middle;
	line-height: 20px;
	text-align: left;
	display: block;
}

.contact_cell img {
	height: 30px;
	vertical-align: middle;
}

#contacto_ads img {
	height: 30px;
	vertical-align: middle;
}

div.contacto_ads:before {
	content: url(/LunMobileIphone/Style20%Library/Images/call_icon_50x50.png);
}

#social ul {
	list-style-type: none;
	text-align: center;
	margin: 0;
	text-align: left;
	padding-left: 0;
}

#social li {
	display: inline;
	text-align: center;
	padding-right: 10px;
}

#social li img {
	height: 30px;
}

/* --- AI Share Container (Base Styles - Apply to ALL devices) --- */
.ai-share-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: nowrap;
	width: 100%;
}

.ai-share-container .contact-button {
	margin: 0;
	flex-shrink: 0;
}

/* --- Hide Phone Number Globally --- */
#telefono, #telefono img {
	display: none !important;
}

/* --- Product Display --- */
#producto_img img {
	width: 100%;
	height: auto;
	min-height: 200px;
	border: 1px solid var(--color-white);
}

#producto_img {
	width: 100%;
	float: left;
	text-align: right;
	padding-right: 15px;
}

#producto_desc {
	width: 65%;
	float: left;
	text-align: left;
}

.product_cell {
	background-color: rgb(204, 204, 204);
	padding: 10px 0;
	border-bottom: 1px solid #666;
	width: 100%;
	height: auto;
	min-height: 200px;
	float: left;
}

/* --- Video Links --- */
p[id='DetailPageMobile1_VideoDiv'] {
	display: block;
}

#DetailPageMobile1_lstNewsDetail_ctl00_pAudioVideo a {
	padding-left: 15px;
}

#video_link a {
	padding-left: 15px;
}

#video_link img {
	width: 35px;
}

/* --- Ranking: toolbar de nota (Asistente IA + WhatsApp/FB/RV/Video) ---
   Mismo lenguaje visual que .article-toolbar del detalle. */

.rank-toolbar {
	--rank-btn-size: 32px;
	--rank-icon-size: 18px;
	clear: both;
	width: 100%;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	gap: 8px;
	padding: 6px 8px;
	margin: 8px 0 4px 0;
	background-color: #f8f9fa;
	background-color: var(--color-gray-light);
	border: 1px solid #e9ecef;
	border: 1px solid var(--color-gray-border);
	border-radius: 8px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* Fallback de gap para iOS < 14.1 (gap no aplica en flex). */
.rank-toolbar > * + * {
	margin-left: 8px;
}

.rank-toolbar .rank-tools {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	gap: 6px;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
}

.rank-toolbar .rank-tools > * + * {
	margin-left: 6px;
}

/* EXPERIMENTO (2026-07-14): ocultar iconos utilitarios del ranking (ver CHANGELOG) */
.rank-toolbar .rank-tools {
	display: none !important;
}
.rank-toolbar {
	-webkit-justify-content: flex-end !important;
	justify-content: flex-end !important;
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

.rank-toolbar .rank-social {
	display: -webkit-flex;
	display: flex;
	line-height: 0;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
}

/* Tamano fijo con !important para vencer "#video_link img" y ".rsWebkit3d img"
   (royalSlider), acotado a .rank-toolbar. */
.rank-toolbar .toolbar-btn-link {
	width: var(--rank-btn-size) !important;
	height: var(--rank-btn-size) !important;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
	padding: 0 !important;
}

.rank-toolbar .toolbar-icon {
	width: var(--rank-icon-size) !important;
	height: var(--rank-icon-size) !important;
	-webkit-filter: none !important;
	filter: none !important;
}

/* Fija el tamano del svg del RV aun con la clase de estado (evita el
   .rv_icon_s svg{28px} heredado del detalle). */
.rank-toolbar .rv_icon_rank svg {
	width: var(--rank-icon-size) !important;
	height: var(--rank-icon-size) !important;
}

/* Anula el padding-left:15px heredado de "#video_link a" del detalle. */
.rank-toolbar a {
	padding-left: 0;
}

.rank-toolbar .rv_icon_rank {
	line-height: 0;
}

.rank-toolbar .rank-ai-btn {
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
	padding: 4px 6px;
	background: transparent;
}

/* pAudioVideo: id PREFIJADO por ASP.NET (usar sufijo [id$=...], no #id). Vacio
   sin video -> ocultar para que no meta gap fantasma en el flex. */
.rank-toolbar [id$="pAudioVideo"]:empty {
	display: none;
}

/* font-size:0 mata el "&nbsp;&nbsp;" suelto que deja el code-behind. */
.rank-toolbar [id$="pAudioVideo"] {
	font-size: 0;
}

/* Icono de VIDEO: el code-behind inyecta <a><img></a>; como no podemos tocar ese
   markup, ocultamos el <img> (regla mas abajo) y dibujamos la videocamara como
   background del boton via data-URI SVG. */
.rank-toolbar [id$="pAudioVideo"] a {
	display: -webkit-inline-flex !important;
	display: inline-flex !important;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	width: var(--rank-btn-size) !important;
	height: var(--rank-btn-size) !important;
	padding: 0 !important;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
	border-radius: 6px;
	background-color: var(--color-primary);
	background-repeat: no-repeat;
	background-position: center;
	background-size: var(--rank-icon-size) var(--rank-icon-size);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='14' height='12' rx='2'/%3E%3Ccircle cx='6.5' cy='9.5' r='0.6'/%3E%3Cpath d='M17 10l4-3v10l-4-3'/%3E%3C/svg%3E");
}

/* Oculta el <img> original del code-behind (queda la videocamara del background).
   !important para vencer "#video_link img" y ".rsWebkit3d img". */
.rank-toolbar [id$="pAudioVideo"] a img,
.rank-toolbar [id$="pAudioVideo"] a svg {
	display: none !important;
}

/* =============================================================================
   12. SPECIAL COMPONENTS (Gallery, AI Resume, AI Share Modal)
   ============================================================================= */

/* --- Gallery Images in News Detail --- */
.leftArrowGallery {
	position: absolute;
	width: 24px;
	left: 0;
	align: left;
	float: left;
	margin-right: 6px;
	z-index: 100;
	opacity: 0.8;
	filter: alpha(opacity=30);
}

.rightArrowGallery {
	position: absolute;
	width: 24px;
	right: 0;
	align: right;
	float: right;
	margin-right: 6px;
	z-index: 100;
	opacity: 0.8;
	filter: alpha(opacity=30);
}

/* --- Gallery Button at Homepage --- */
.homeGalleryBtn {
	background-color: blue;
	text-align: center;
	cursor: pointer;
	height: 35px;
	width: 180px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 150%;
	margin: 10px;
	color: var(--color-white);
	font-weight: bold;
}

/* --- AI Resume/Summary Section --- */
#DivResumen {
	border: 2px solid var(--color-primary);
	border-radius: 20px;
	width: 90%;
	position: relative;
	margin: 30px auto 20px;
	box-sizing: border-box;
	background-color: white;
}

#DivResumen summary {
	list-style: none;
	padding: 20px 60px 20px 20px;
	cursor: pointer;
	font-weight: bold;
	align-items: center;
}

#DivResumen[open] summary {
	padding: 0 0 10px 20px;
}

#DivResumen summary::-webkit-details-marker {
	display: none;
}

#DivResumen summary::before {
	content: "";
	position: absolute;
	top: -23px;
	left: 18px;
	width: 56px;
	height: 45px;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com" viewBox="0 0 500 500"><defs><linearGradient bx:pinned="true" id="a" gradientTransform="translate(-3)" gradientUnits="userSpaceOnUse"><stop style="stop-color:%23009"/></linearGradient></defs><path d="M375.974 108.598v256h-256v-256h256Zm-148.251 64h-24.931l-47.334 128h22.493l8.936-25.023h56.662l8.745 25.023h23.847l-48.418-128Zm88.345 0h-22.402v128h22.402v-128Zm-100.999 21.475 22.314 63.858h-44.274l21.96-63.858Zm182.238 106.525h42.667v42.667h-42.667v-42.667Zm-256 85.333h42.667v42.667h-42.667v-42.667Zm85.334 0h42.666v42.667h-42.666v-42.667ZM141.307 44.598h42.667v42.667h-42.667V44.598Zm170.667 341.333h42.667v42.667h-42.667v-42.667ZM226.641 44.598h42.666v42.667h-42.666V44.598Zm85.333 0h42.667v42.667h-42.667V44.598Zm85.333 170.667h42.667v42.666h-42.667v-42.666ZM55.974 300.598h42.667v42.667H55.974v-42.667Zm341.333-170.667h42.667v42.667h-42.667v-42.667ZM55.974 215.265h42.667v42.666H55.974v-42.666Zm0-85.334h42.667v42.667H55.974v-42.667Z" style="fill:url(%23a)"/></svg>');
	background-repeat: no-repeat;
	background-size: contain;
	background-color: white;
	background-position-x: 8px;
}

#DivResumen summary::after {
	content: "Ver";
	position: absolute;
	right: 20px;
	top: 0;
	transform: translateY(-50%);
	background-color: var(--color-primary);
	color: white;
	padding: 5px 10px;
	border-radius: 15px;
	font-size: 0.8em;
	transition: background-color 0.3s ease;
}

#DivResumen[open] summary::after {
	content: "Ocultar";
	background-color: var(--color-primary-hover);
}

#DivResumen .resumen-content {
	padding: 0 10px 10px;
	margin: 10px;
}

#DivResumen p {
	text-align: justify;
	margin: 0;
}

#DivResumen:has(.lbl_BajadaNota_style:empty) {
	display: none;
}

#DivResumen .lbl_BajadaNota_style:empty {
	display: none;
}

#DivResumen .lbl_BajadaNota_style:empty ~ * {
	display: none;
}

.teaser {
	margin-left: 10px;
	color: black;
	max-width: 70%;
	font-weight: normal;
}

#DivResumen[open] .teaser {
	display: none;
}

/* =============================================================================
   13. MEDIA QUERIES - RESPONSIVE DESIGN
   ============================================================================= */

/* --- Hover Effects (for devices that support hover) --- */
@media (hover: hover) {
	#DivResumen summary:hover {
		background-color: #e0e0e0;
	}
}

/* --- Responsive Adjustments for Toolbar --- */
@media (max-width: 480px) {
	.article-toolbar {
		gap: 6px;
		padding: 6px;
	}

	.toolbar-btn, .toolbar-btn-link {
		width: var(--btn-size-small);
		height: var(--btn-size-small);
	}
}

/* --- Mobile Portrait (Default - up to 580px) --- */
@media only screen and (max-width: 580px) {
	:root {
		--page-margin: 2vw;
	}

	/* Solicitado por AE 01/07/2025 */
	div[id^='DivFirstpage']:not([style="display:block"]):not(:has(#DivFirst1)) {
		--page-margin: 1vw;
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id='zoomHolder'] {
		height: 0vh;
	}

	p[id='DetailPageMobile1_VideoDiv'] {
		text-align: center;
		/*display: none !important;*/
	}
	
	div[id^='pageAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='appendedAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 3vh;
	}

	div[id^='adContainer']:not([data-type="dynamic"]) {
		border-top: 3vh solid white;
	}

	div[id^='addedAdContainer'] {
		border-top: 3vh solid white;
	}

	.pag_slider[seccion="Publicidad"] div[id^='DivFirstpage'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}
}

/* --- Zoomed Fold/Honor Devices (588-590px) --- */
@media only screen and (min-width: 588px) and (max-width: 590px) {
	.pag_nota img:first-child,
	div[id^='adContainer']:first-child img:first-child {
		margin-top: 1vh;
	}

	div[id^='DivFirstpage']:not([style="display:block"]) {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='pageAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='appendedAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 3vh;
	}
}

/* --- Zoomed Normal Devices (818-820px) --- */
@media only screen and (min-width: 818px) and (max-width: 820px) {
	div[id^='DivFirstpage']:not([style="display:block"]) {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='pageAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='appendedAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 3vh;
	}
}

/* --- iPhone 5 Portrait & Landscape (320-720px) --- */
@media only screen and (min-device-width: 320px) and (max-device-width: 720px) {
	.contenedor_der_nota_rank {
		float: right;
		width: 51%;
	}

	.instalar {
		display: none;
		margin-left: -96px;
	}

	.imgsRanking {
		height: auto;
		margin-bottom: 5px;
		border-color: var(--color-black);
		float: none;
		clear: both;
	}
}

/* --- FOLDABLE DEVICES: Z-Fold 2/3 (590-800px with high DPR) --- */
@media only screen and (min-width: 590px) and (max-width: 800px) and (-webkit-min-device-pixel-ratio: 2.5) {
	
	/* Z-Fold Specific Overrides for Ad Section Layout */
	button[class="ai-share-trigger"] svg {
		width: 18px;
		height: auto;
	}

	/* Make info_ads/info_visible a flex container with wrapping */
	#info_ads, #info_visible {
		display: flex !important;
		/*flex-wrap: wrap !important;*/
		justify-content: space-between !important;
		align-items: center !important;
		gap: 8px !important;
		width: 100% !important;
		font-size: 100%;
		padding: 0;
		margin: 0;
	}

	/* Make all wrapper divs transparent so children can participate in flex layout */
	#descripcionADS {
		display: contents !important;
	}

	.ai-share-container {
		display: contents !important;
	}

	#contacto_ads {
		display: contents !important;
	}

	/* Order: Button first */
	.ai-share-left {
		order: 1 !important;
		display: flex !important;
		flex-shrink: 0 !important;
	}

	/* Order: Video icon second */
	#social {
		order: 2 !important;
		display: flex !important;
		align-items: center !important;
		margin: 0 !important;
		flex-shrink: 0 !important;
	}

	/* Order: Link IA third */
	.ai-share-right {
		order: 3 !important;
		display: flex !important;
		flex-shrink: 0 !important;
		/*float: right;*/
		justify-content: flex-end !important;
	}

	/* Order: Download links fourth - FULL WIDTH on second row */
	#descarga {
		order: 4 !important;
		width: 100% !important;
		flex-basis: 100% !important;
		display: flex !important;
		flex-direction: row !important;
		gap: 8px !important;
		margin: 8px 0 0 0 !important;
	}

	#descarga a {
		flex: 1 !important;
		justify-content: center !important;
		text-align: center !important;
		font-size: 13px !important;
		color: var(--color-primary);
	}

	#descarga a img {
		display: none !important;
	}

	/* Hide phone number */
	#telefono {
		display: none !important;
	}

	/* Style the video icon */
	#social ul {
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		display: flex !important;
		align-items: center !important;
	}

	#social li {
		display: flex !important;
		align-items: center !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#social a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 24px !important;
		height: 24px !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	#social img {
		width: 24px !important;
		height: 24px !important;
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Contact button styling - Z-Fold specific override */
	.contact-button {
		font-size: 15px;
		width: 100%;
		padding: 5px;
		color: var(--color-primary);
		text-decoration: underline;
		font-weight: bold;
		text-align: center;
		border: 0;
		vertical-align: middle;
		background-color: rgb(0, 0, 0, 0);
	}

	.contact_cell img {
		height: 15px;
		vertical-align: middle;
	}

	#contacto_ads img {
		height: 15px;
		vertical-align: middle;
		width: 20px !important;
		height: 20px !important;
	}

	#social li img {
		height: 15px;
		margin-left: 2vw;
	}

	/* Page spacing and borders */
	.pag_nota img:first-child,
	div[id^='adContainer']:first-child img:first-child {
		margin-top: 2vh;
	}

	div[id='zoomHolder'] {
		height: 0vh;
	}

	div[id^='DivFirstpage']:not([style="display:block"]) {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		min-height: var(--page-height);
	}

	div[id^='pageAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		min-height: var(--page-height);
	}

	div[id^='appendedAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='adContainer']:not([data-type="dynamic"]) {
		border-top: 1vh solid white;
	}

	div[id^='addedAdContainer'] {
		border-top: 1vh solid white;
	}

	.pag_slider[seccion="Publicidad"] div[id^='DivFirstpage'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	/* Slider styling */
	.rsSlide {
		border-left: 0.2vw solid rgb(204, 204, 204);
	}

	#img-slider-container {
		border-top: 1vh solid white;
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	#DetailPageMobile1_lstNewsDetail_ctl00_p_imagenesHTML:not(:empty) {
		border-top: 1vh solid white;
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	#zoomHolder .rsSlide {
		border-left: 0.1vw solid rgb(204, 204, 204);
	}

	/* Page selector and misc */
	.rv_icon_pag img {
		width: 20px;
		margin: -5px 5px 5px 30px;
	}

	#selectPage {
		font-size: 15px;
	}

	#DetailPageMobile1_MasInfoADS:empty {
		display: none;
	}

	p[id='DetailPageMobile1_VideoDiv'] {
		text-align: center;
		display: none !important;
	}

	p[id='DetailPageMobile1_VideoDiv'] img {
		width: 15px;
		height: 15px;
	}
}

/* --- TABLETS: General (800-1280px) --- */
@media only screen and (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 1) {
	.instalar {
		display: none;
		margin-left: -30%;
	}

	.imgsRanking {
		width: 245px;
		height: auto;
		float: none;
		clear: both;
	}

	.TITmediummodulosIPHONE {
		font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
		font-style: normal;
		font-weight: bold;
		text-align: left;
		text-decoration: underline;
		color: var(--color-link);
		font-size: 24px;
	}

	.TITmediummodulosIPHONE:visited {
		color: var(--color-link);
	}

	.TextBigIndicesRanking {
		font-weight: bold;
		font-size: 22px;
		margin: 1pt 1pt 1pt 3pt;
		color: var(--color-dark-blue);
		font-style: normal;
		font-family: Trebuchet MS;
	}

	.TextBigSubTitleRanking {
		font-size: 18px;
		margin: 1pt 1pt 1pt 3pt;
		color: Black;
		font-style: normal;
		font-family: Trebuchet MS;
	}

	.SectionModulosBig {
		font-family: Trebuchet MS;
		font-size: 16px;
		font-style: normal;
		font-weight: bold;
		color: var(--color-dark-blue);
		margin: 1pt 1pt 1pt 3pt;
	}

	#Dranking div#img_nota {
		display: block;
		float: left;
		margin-right: 2px;
		overflow: hidden;
		max-height: 160px;
		margin-bottom: 2px;
	}
}

/* --- iPad Mini Portrait & Landscape (768-1024px) --- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	.instalar {
		display: none;
		margin-left: -30%;
	}

	.imgsRanking {
		width: 245px;
		height: auto;
		float: none;
		clear: both;
	}

	#Dranking div#img_nota {
		display: block;
		float: left;
		margin-right: 2px;
		overflow: hidden;
		max-height: 300px;
		margin-bottom: 2px;
		width: 42%;
	}

	.TITmediummodulosIPHONE {
		font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
		font-style: normal;
		font-weight: bold;
		text-align: left;
		text-decoration: underline;
		color: var(--color-link);
		font-size: 24px;
	}

	.TITmediummodulosIPHONE:visited {
		color: var(--color-link);
	}

	.TextBigIndicesRanking {
		font-weight: bold;
		font-size: 22px;
		margin: 1pt 1pt 1pt 3pt;
		color: var(--color-dark-blue);
		font-style: normal;
		font-family: Trebuchet MS;
	}

	.TextBigSubTitleRanking {
		font-size: 18px;
		margin: 1pt 1pt 1pt 3pt;
		color: Black;
		font-style: normal;
		font-family: Trebuchet MS;
	}

	.SectionModulosBig {
		font-family: Trebuchet MS;
		font-size: 16px;
		font-style: normal;
		font-weight: bold;
		color: var(--color-dark-blue);
		margin: 1pt 1pt 1pt 3pt;
	}
}

/* --- Z-Fold Landscape Adjustments (828-830px landscape) --- */
@media only screen and (min-width: 828px) and (max-width: 830px) and (orientation: landscape) {
	:root {
		--page-margin: 2vw;
	}
}

/* --- Honor V2 Open Portrait (718-720px portrait) --- */
@media only screen and (min-width: 718px) and (max-width: 720px) and (orientation: portrait) {
	:root {
		--page-margin: 7.5vw;
	}
}

/* --- Honor V2 Open Landscape (748-750px landscape) --- */
@media only screen and (min-width: 748px) and (max-width: 750px) and (orientation: landscape) {
	:root {
		--page-margin: 3vw;
	}
}

/* --- Honor V2 Open Portrait Alternative (748-750px portrait) --- */
@media only screen and (min-width: 748px) and (max-width: 750px) and (orientation: portrait) {
	:root {
		--page-margin: 3vw;
	}
}

/* --- DUAL PAGE MODE: Landscape Tablets (>=820px landscape) --- */
@media only screen and (min-width: 820px) and (orientation: landscape) {
	div[id='zoomHolder'] {
		height: 0vh;
	}

	div[id^='DivFirstpage']:not([style="display:block"]) {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 2vh solid white;
	}

	div[id^='adContainer']:not([data-type="appended"]) {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 2vh solid white;
	}

	div[id^='appendedAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 2vh solid white;
	}

	.pag_slider[seccion="Publicidad"] div[id^='DivFirstpage'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 2vh solid white;
	}

	.rsSlide {
		border-left: 0.1vw solid rgb(204, 204, 204);
	}

	div[id^='DivFirst'] {
		height: auto;
		min-height: var(--page-height);
	}

	div[id^='pageAd'] {
		height: auto;
		min-height: var(--page-height);
	}

	#img-slider-container {
		border-top: 5px solid white;
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	#DetailPageMobile1_lstNewsDetail_ctl00_p_imagenesHTML:not(:empty) {
		border-top: 5px solid white;
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	#zoomHolder .rsSlide {
		border-left: 0.1vw solid rgb(204, 204, 204);
	}

	#zoomHolder [data-type="dynamic"] {
		border-left: 0.1vw solid rgb(204, 204, 204);
	}

	.rv_icon_pag img {
		width: 20px;
		margin: -5px 5px 5px 30px;
	}

	#selectPage {
		font-size: 15px;
	}

	/* Tablet Landscape Specific Overrides for Ad Section */
	#info_ads {
		display: none;
		width: 100%;
		font-family: Verdana;
		font-size: 125%;
		text-align: center;
		margin-right: 5px;
		margin-top: 5px;
	}

	#info_visible {
		display: block;
		width: 100%;
		margin: 0;
		font-family: Verdana;
		font-size: 125%;
		text-align: center;
		margin-right: 5px;
		margin-top: 5px;
	}

	.contact-button {
		font-size: 16px;
		width: 100%;
		color: var(--color-primary);
		text-decoration: underline;
		font-weight: bold;
		text-align: center;
		border: 0;
		vertical-align: middle;
		background-color: rgb(0, 0, 0, 0);
	}

	.contact_cell {
		height: auto;
		vertical-align: middle;
		line-height: 0;
		text-align: left;
		display: block;
	}

	.contact_cell img {
		height: 25px;
		vertical-align: middle;
	}

	#contacto_ads img {
		height: 25px;
		vertical-align: middle;
	}

	#social li img {
		height: 25px;
		margin-left: 2vw;
	}

	p[id='DetailPageMobile1_VideoDiv'] {
		/*display: none !important;*/
	}

	#telefono, #telefono img {
		display: none;
	}
}

/* ═══════════════════════════════════════════════════════════════════
 * LUN Audio Player - Styles
 * Version: 1.2.0
 * ═══════════════════════════════════════════════════════════════════ */

/* ── Container ── */
#rv-player {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	background: #000099;
	color: #ffffff;
	font-family: -apple-system, Helvetica, Arial, sans-serif;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
	box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
	-webkit-user-select: none;
	user-select: none;
}
#rv-player.rv-player-show {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
#rv-player-inner {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	padding: 8px 12px;
	max-width: 100%;
}

/* ── Audio badge ── */
#rv-player-badge {
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	background: rgba(255,255,255,0.15);
	border-radius: 50%;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	margin-right: 10px;
}
#rv-player-badge svg {
	width: 16px;
	height: 16px;
	color: #ffffff;
}

/* ── Info area ── */
#rv-player-info {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	flex: 1;
	min-width: 0;
	margin-right: 8px;
}
#rv-player-title {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
	letter-spacing: 0.2px;
}
#rv-player-progress {
	font-size: 11px;
	opacity: 0.7;
	margin-top: 2px;
	letter-spacing: 0.3px;
}

/* ── Progress bar ── */
#rv-player-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: rgba(255,255,255,0.2);
}
#rv-player-bar-fill {
	height: 100%;
	background: #ffffff;
	-webkit-transition: width 0.4s ease;
	transition: width 0.4s ease;
	width: 0%;
}

/* ── Controls ── */
#rv-player-controls {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
	gap: 2px;
}
.rv-player-btn {
	background: none;
	border: none;
	color: #ffffff;
	cursor: pointer;
	padding: 6px;
	border-radius: 50%;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-transition: background 0.15s;
	transition: background 0.15s;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}
.rv-player-btn:active {
	background: rgba(255,255,255,0.2);
}
.rv-player-btn svg {
	width: 20px;
	height: 20px;
}
.rv-player-btn-main {
	background: rgba(255,255,255,0.15);
	padding: 8px;
	margin: 0 2px;
}
.rv-player-btn-main svg {
	width: 22px;
	height: 22px;
}

/* ── Paused pulse ── */
@-webkit-keyframes rv-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}
@keyframes rv-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}
#rv-player.rv-player-paused #rv-player-badge {
	-webkit-animation: rv-pulse 1.5s ease-in-out infinite;
	animation: rv-pulse 1.5s ease-in-out infinite;
}
#rv-player.rv-player-paused #rv-player-title {
	opacity: 0.6;
}

.rv-highlight { 
    background: rgba(255,213,79,0.3); 
    transition: background 0.3s; 
}

.rv-player-btn-sm {
	font-size: 11px;
	font-weight: 600;
	min-width: 36px;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(255,255,255,0.15);
}

/* ── Popup menus (speed / sleep timer) ── */
.rv-player-menu {
	position: fixed;
	z-index: 100000;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #000099;
	font-family: -apple-system, Helvetica, Arial, sans-serif;
	box-shadow: 0 -4px 16px rgba(0,0,0,0.35);
	max-width: 280px;
	-webkit-user-select: none;
	user-select: none;
}
.rv-player-menu-opt {
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 600;
	color: rgba(255,255,255,0.7);
	background: transparent;
	cursor: pointer;
	min-width: 44px;
	text-align: center;
	-webkit-tap-highlight-color: transparent;
	outline: none;
	-webkit-transition: background 0.15s;
	transition: background 0.15s;
}
.rv-player-menu-opt:active {
	background: rgba(255,255,255,0.2);
}
.rv-player-menu-active {
	color: #fff;
	background: rgba(255,255,255,0.2);
	border-color: rgba(255,255,255,0.5);
}
/* =============================================================================
   MODO VERTICAL (scroll natural) — activo cuando <body class="vertical-mode">.
   No se instancia RoyalSlider: las paginas #pageN fluyen verticalmente con
   scroll de documento. Solo aplica bajo .vertical-mode; el modo swipe intacto.
   ============================================================================= */
/* conservamos la clase .royalSlider en el contenedor (el HTML server-side la busca),
   pero neutralizamos sus estilos base para que el contenido fluya en vertical */
.vertical-mode #content-slider-1,
.vertical-mode #content-slider-1.royalSlider {
	width: 100% !important;
	position: static !important;
	overflow: visible !important;
	height: auto !important;
	/* el navegador ancla el scroll para reducir el "salto" al hidratar paginas por AJAX */
	overflow-anchor: auto;
	/* pan-y: scroll vertical con 1 dedo; el pinch (2 dedos) lo maneja PinchZoom/navegador */
	touch-action: pan-y;
}
/* por si RoyalSlider hubiera inyectado wrappers en algun flujo previo, no deben ocultar contenido */
.vertical-mode .rsOverflow,
.vertical-mode .rsVisibleNearbyWrap,
.vertical-mode .rsContainer,
.vertical-mode .rsSlide {
	position: static !important;
	width: 100% !important;
	height: auto !important;
	overflow: visible !important;
	transform: none !important;
	left: auto !important;
	top: auto !important;
}
/* cada pagina raiz (marcada con .v-page desde JS) fluye con su altura natural */
.vertical-mode #content-slider-1 .v-page {
	position: static !important;
	float: none !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	left: auto !important;
	top: auto !important;
	transform: none !important;
	/* pan-y: permite scroll vertical con 1 dedo; el pinch (2 dedos) lo maneja PinchZoom/navegador */
	touch-action: pan-y;
	/* separacion sutil entre paginas para dar sensacion de "feed" */
	border-bottom: 6px solid #e6e6e6;
	/* reserva de altura para paginas aun no hidratadas: reduce el reflow/salto al cargar
	   contenido por AJAX. Las paginas con contenido real crecen por encima de este minimo. */
	min-height: 60vh;
}
/* una vez hidratada (tiene imagen de pagina), la altura la manda el contenido */
.vertical-mode #content-slider-1 .v-page.v-hydrated {
	min-height: 0;
}
/* PINCH-ZOOM en vertical: RTP.PinchZoom fija inline la altura del contenedor a la
   del PADRE (updateAspectRatio -> setContainerY(parent.offsetHeight)) y pone el hijo
   en position:absolute, sacandolo del flujo. En el feed vertical eso RECORTA/ENCOGE la
   pagina. Forzamos que el contenedor y su hijo fluyan con la altura real del contenido;
   el pinch (transform) se sigue aplicando al gesto, pero en reposo la pagina se ve completa. */
.vertical-mode .pinch-zoom-container {
	height: auto !important;
	overflow: visible !important;
	position: relative !important;
	width: 100% !important;
}
.vertical-mode .pinch-zoom-container > * {
	position: relative !important;
	width: 100% !important;
}
/* en vertical no hay flechas de navegacion (el feed es scroll) */
.vertical-mode #topBar .left,
.vertical-mode #topBar .right,
.vertical-mode #prevSlide,
.vertical-mode #nextSlide,
.vertical-mode #prevSlideB,
.vertical-mode #nextSlideB,
.vertical-mode #overPage {
	display: none !important;
}

/* =============================================================================
   END OF REFACTORED CSS
   ============================================================================= */