/* Variables de color para fácil personalización */
:root {
	--primary: #DC070F;
	--primary-dark: #9c0c11;
	--secondary: #6c757d;
	--light-bg: #f8f9fa;
	--border: #e9ecef;
	--text-dark: #212529;
	--text-muted: #6c757d;
	--shadow: 0 20px 60px rgba(0,0,0,0.15);
	--border-radius: 24px;
}
html { font-size: 16px; }

.content {
	/*min-height: 100vh;*/
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}


/* Tarjeta principal */
.card {
	background: white;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	max-width: 1000px;
	width: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	
}

/* Columna izquierda - Portada */
.cover-section {
	flex: 1.1;
	min-width: 300px;
	background: linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
	padding: 40px 30px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	border-right: 1px solid var(--border);
	position: relative;
}

/* Decoración sutil */
.cover-section::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 100px;
	height: 100px;
	background: radial-gradient(circle at top right, rgba(25, 113, 194, 0.05), transparent 70%);
	pointer-events: none;
}

.cover-container {
	text-align: center;
	width: 100%;
}

/* Imagen de portada */
.cover-image {
	max-width: 80%;
	height: auto;
	box-shadow: 0 15px 35px rgba(0,0,0,0.2);
	transition: all 0.4s ease;
	border: 3px solid white;
}

.cover-image:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 25px 45px rgba(0,0,0,0.25);
}

/* Placeholder cuando no hay portada */
.cover-placeholder {
	background: #e9ecef;
	border-radius: 20px;
	padding: 50px 30px;
	color: var(--text-muted);
	border: 2px dashed #ced4da;
}

.cover-placeholder i {
	font-size: 80px;
	color: #adb5bd;
	margin-bottom: 20px;
	display: block;
}

.cover-placeholder h3 {
	font-size: 1.5rem;
	color: var(--text-dark);
	margin-bottom: 10px;
}

.cover-placeholder p {
	color: var(--text-muted);
}

/* Columna derecha - Contenido */
.content-section {
	flex: 1;
	min-width: 320px;
	padding: 40px 45px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Etiqueta de contenido exclusivo */
.exclusive-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(25, 113, 194, 0.1);
	font-size: 0.85rem;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 40px;
	margin-bottom: 10px;
	letter-spacing: 0.3px;
	width: fit-content;
	border: 1px solid rgba(25, 113, 194, 0.2);
	backdrop-filter: blur(4px);
}

.exclusive-badge i {
	font-size: 1rem;
}
.exclusive-badge svg {fill:var(--text-muted);width:25px}

/* Título principal */
h1 {
	font-size: 2.1rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 15px;
	line-height: 1.2;
}

h1 span {
	color: var(--text-muted);
	font-weight: 300;
	display: block;
	font-size: 1.8rem;
}

/* Mensaje descriptivo */
.message {
	color: #495057;
	font-size: 1.15rem;
	margin-bottom: 20px;
	line-height: 1.6;
}

/* Tarjeta con el título de la revista */
.magazine-title-card {
	background: #f1f4f8;
	padding: 18px 22px;
	border-radius: 16px;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 15px;
	border-left: 5px solid var(--primary);
	box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.magazine-icon {
	background: white;
	width: 50px;
	height: 50px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	font-size: 1.8rem;
	box-shadow: 0 4px 8px rgba(0,0,0,0.05);
	padding;10px;
}

.magazine-icon svg{fill:var(--primary);max-width: 35px;}

.magazine-info {
	flex: 1;
}

.magazine-label {
	font-size: 0.8rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 4px;
}

.magazine-title {
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--text-dark);
	line-height: 1.3;
}

/* Botones de acción */
.action-buttons {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.btn {
	padding: 16px 32px;
	border-radius: 50px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 1.1rem;
	border: none;
	cursor: pointer;
	flex: 1 1 auto;
	min-width: 180px;
}

.btn-primary, .btn-primary:visited {
	background: var(--primary);
	color: white;
	box-shadow: 0 8px 20px rgba(220, 7, 15, 0.4);
}

.btn-primary:hover {
	background: var(--primary-dark);
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(156, 12, 17, 0.4);
}

.btn-outline {
	background: transparent;
	color: var(--primary);
	border: 2px solid var(--primary);
}

.btn-outline:hover {
	transform: translateY(-3px);
	border-color: var(--primary-dark);
	color: var(--primary-dark);
}

.action-buttons svg {fill: #FFF; width: 25px;}

/* Separador */
.divider {
	border: none;
	border-top: 1px solid var(--border);
	margin: 10px 0 20px;
}

/* Enlace de acceso directo */
.login-prompt {
	text-align: center;
	color: var(--text-muted);
	font-size: 1rem;
}

.login-prompt a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	margin-left: 5px;
	border-bottom: 1px dashed var(--primary);
}

.login-prompt a:hover {
	color: var(--primary-dark);
	border-bottom-style: solid;
}

.no-disponible{
	font-size:22px;
	font-weight:700;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	margin-top:50px;
	margin-bottom:30px;
	border:2px solid var(--primary);
	padding:25px;
	width:80%;
	
}
/* Responsive */
@media (max-width: 768px) {
	.card {
		flex-direction: column;
	}
	.cover-section {
		border-right: none;
		border-bottom: 1px solid var(--border);
		padding: 30px;
	}
	.cover-image {
		max-height: 250px;
		width: auto;
	}
	h1 {
		font-size: 2rem;
	}
	h1 span {
		font-size: 1.5rem;
	}
	.content-section {
		padding: 35px 25px;
	}
	.magazine-title {
		font-size: 1.2rem;
	}
}

@media (max-width: 480px) {
	.action-buttons {
		flex-direction: column;
	}
	.btn {
		width: 100%;
	}
	.magazine-title-card {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}
}