/* =============================================================
   Post Slider por Categoría — Estilos
   ============================================================= */

/* Colores del diseño */
:root {
	--psc-teal:          #337695;
	--psc-teal-dark:     rgba(51, 118, 149, 0.88);
	--psc-arrow-bg:      rgba(200, 220, 220, 0.65);
	--psc-card-height:   460px;
	--psc-cards-visible: 3;
	--psc-gap:           0px;
}

/* ---------------------------------------------------------------
   Contenedor principal
   --------------------------------------------------------------- */
.psc-wrapper {
	position:   relative;
	width:      100%;
	overflow:   hidden;
	display:    flex;
	align-items: center;
	background: #fff;
	user-select: none;
}

/* ---------------------------------------------------------------
   Pista (track)
   --------------------------------------------------------------- */
.psc-track-container {
	width:    100%;
	overflow: hidden;
}

.psc-track {
	display:    flex;
	transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

/* ---------------------------------------------------------------
   Card individual
   --------------------------------------------------------------- */
.psc-card {
	position:            relative;
	flex:                0 0 calc(100% / var(--psc-cards-visible));
	height:              var(--psc-card-height);
	background-size:     cover;
	background-position: center center;
	background-repeat:   no-repeat;
	background-color:    #ccc;  /* fallback sin imagen */
	overflow:            hidden;
	cursor:              pointer;
}

/* Enlace transparente sobre toda la card */
.psc-card__link {
	position: absolute;
	inset:    0;
	z-index:  1;
}

/* ---------------------------------------------------------------
   Recuadro de fecha — esquina superior derecha
   --------------------------------------------------------------- */
.psc-date {
	position: absolute;
    top: 0;
    right: 15px;
    background: var(--psc-teal);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 10px 11px;
    z-index: 2;
    min-width: 60px;
    line-height: 1.1;
}

.psc-date__day {
	font-size:   25px;
	font-weight: 700;
	display:     block;
	line-height: 1;
}

.psc-date__month {
	font-size:   14px;
	font-weight: 500;
	text-transform: capitalize;
	display:     block;
	margin-top: 4px;
    margin-bottom: 4px;
}

.psc-date__year {
	font-size:   14px;
	font-weight: 500;
	display:     block;
}

/* ---------------------------------------------------------------
   Footer de la card: gradiente + título
   --------------------------------------------------------------- */
.psc-card__footer {
	position:   absolute;
	bottom:     0;
	left:       0;
	right:      0;
	padding:    50px 20px 22px;
	background: linear-gradient(
		to top,
		var(--psc-teal-dark) 0%,
		rgba(51, 118, 149, 0.55) 60%,
		transparent 100%
	);
	z-index:    2;
}

.psc-card__title {
	color:       #fff;
	font-size:   20px;
	font-weight: 600;
	margin:      0;
	padding:     0;
	text-align:  center;
	line-height: 1.35;
	text-shadow: 0 1px 3px rgba(0,0,0,0.35);
	padding-top: 40px;
}

/* ---------------------------------------------------------------
   Flechas de navegación
   --------------------------------------------------------------- */
.psc-arrow {
	position:        absolute;
	top:             50%;
	transform:       translateY(-50%);
	z-index:         10;
	background:      var(--psc-arrow-bg);
	border:          none;
	color:           #fff;
	font-size:       1.3rem;
	width:           46px;
	height:          56px;
	display:         flex;
	align-items:     center;
	justify-content: center;
	cursor:          pointer;
	transition:      background 0.2s;
	line-height:     1;
	padding:         0;
}

.psc-arrow:hover {
	background: rgba(51, 118, 149, 0.75);
}

.psc-arrow--prev {
	left: 0;
}

.psc-arrow--next {
	right: 0;
}

/* ---------------------------------------------------------------
   Mensaje sin posts
   --------------------------------------------------------------- */
.psc-no-posts {
	padding:    20px;
	text-align: center;
	color:      #666;
}

pre{
    background-color: #ffffff!important;
    border: 1px solid #ffffff!important;
}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 900px) {
	:root {
		--psc-cards-visible: 2;
		--psc-card-height:   340px;
	}
}

@media (max-width: 560px) {
	:root {
		--psc-cards-visible: 1;
		--psc-card-height:   300px;
	}
}
