/*
Theme Name: MotaSex
Theme URI: https://plantillasplus.com
Author: Plantillas Plus
Author URI: https://plantillasplus.com
Description: MotaSex es un tema dinámico, sencillo, con colores oscuros, ideal para publicar contenido de videos para adultos, xxx, videos eróticos, pornografía, sexo, y todo tipo de entretenimiento, también se puede publicar cualquier tipo de videos, ya que su interfaz permite insertar videos con enlace EMBED, M3U8 y MP4..
Version: 1.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: archivos-premium
*/



html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}
body {
    background-color: var(--color-fondo-total);
    color: var(--color-texto-global);
    font-family: Arial, sans-serif;
    margin: 0;
}
/* Estilos generales */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
	flex: 1;
	width: auto;
}
footer {
    background: var(--color-seccion-global);
    color: var(--color-texto-global);
    text-align: center;
	margin-top: 40px;
	display: inline-grid;
	justify-content: center;
}
footer.site-footer p {
    margin: 0;
}

/* Diseño responsive de las tarjetas */
.post-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 4 en escritorio */
    gap: 20px;
}

/* Media Queries para responsividad */
@media (max-width: 1024px) {
    .post-grid { grid-template-columns: repeat(3, 1fr); } /* 3 en tablets */
}

@media (max-width: 768px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); } /* 2 en pantallas medianas */
}

@media (max-width: 480px) {
    .post-grid { grid-template-columns: repeat(1, 1fr); } /* 1 en móviles */
}

.hederhome {
    text-align: center;
    margin-bottom: 30px;
}
/* Tarjetas de descarga */
.post-card {
    border-radius: 3px;
    text-align: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.adi {
    text-align: center;
    margin: 10px auto;
}

/* Efecto hover con zoom */
.post-card:hover {
    transform: scale(1.05);
}
.imgtar {
    overflow: hidden;
    border-radius: 3px;
    padding: 0;
    display: flex;
	position: relative;
}
.duracion {
    position: absolute;
    bottom: 4px;
    right: 3px;
    font-size: 11px;
    color: var(--color-texto-global);
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 5px;
    border-radius: 4px;
    font-weight: bold;
}
.hdd {
    position: absolute;
    top: 4px;
    right: 3px;
    font-size: 11px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 5px;
    border-radius: 4px;
    font-weight: bold;
    font-style: italic;
}

/* Imágenes con lazy loading */
.post-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 3px;
    transition: transform 0.3s ease;
    object-fit: cover;
}
.tarjeta-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Zoom suave en la imagen */
.post-card:hover img {
    transform: scale(1.1);
}

/* Estilos para el título */
.post-card h3 {
    font-size: 14px;
    color: var(--color-texto-global);
    font-weight: 100;
    margin-top: 10px;
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 10px 0px;
}
.post-card a {
    text-decoration: none;
}

/* Animación para carga de tarjetas */
.post-card.lazy {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.post-card.lazy.loaded {
    opacity: 1;
    transform: translateY(0);
}

.etiquetas {
    margin-bottom: 10px;
}

.etiqueta {
    display: inline-block;
    background: var(--color-etiqueta-global);
    color: var(--color-texto-hover);
    padding: 4px 8px;
    margin-right: 6px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.etiqueta:hover {
    background: #0073aa;
    color: var(--color-texto-global);
}
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid var(--color-texto-global);
    color: var(--color-texto-global);
    text-decoration: none;
}

.pagination .current {
    background-color: var(--color-seccion-global);
    color: var(--color-texto-global);
    border-color: var(--color-seccion-global);
}

.etiquetas-section {
    margin-top: 40px;
}

.etiquetas-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

#etiquetas-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#etiquetas-list .etiqueta-item {
    margin-bottom: 5px;
    display: inline-block;
}

#etiquetas-list .etiqueta-item a {
    text-decoration: none;
    color: var(--color-texto-hover);
    font-size: 14px;
    background: var(--color-etiqueta-global);
    padding: 3px 16px;
    border-radius: 2px;
}

#ver-mas-etiquetas {
    background-color: var(--color-seccion-global);
    color: var(--color-texto-global);
    border: none;
    padding: 3px 13px;
    font-size: 15px;
    border-radius: 3px;
    cursor: pointer;
}

