:root {
    --novedad-ink: #383838;
    --novedad-text: #4d4e4e;
    --novedad-muted: #6d7175;
    --novedad-accent: #b22b3e;
    --novedad-line: #e6e7e8;
}

/* Card de novedad a todo el ancho: imagen a la izquierda y contenido a la
   derecha, con alto automatico para que se vea entera sin scroll interno. */
.Novedad__card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    overflow: hidden;
    margin-bottom: 28px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 19, 20, .14);
    transition: box-shadow .25s ease, transform .25s ease;
}

.Novedad__card:hover {
    box-shadow: 0 16px 36px rgba(23, 19, 20, .2);
    transform: translateY(-2px);
}

.Novedad__media {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    background: #e9eaeb;
}

.Novedad__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.Novedad__card:hover .Novedad__image:not(.is-placeholder) { transform: scale(1.03); }

.Novedad__image.is-placeholder {
    inset: 0;
    width: 150px;
    height: 150px;
    margin: auto;
    object-fit: contain;
    opacity: .85;
}

.Novedad__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 6px 12px;
    border-radius: 99px;
    color: #fff;
    background: var(--novedad-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
    font-family: 'Roboto-Bold';
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.Novedad__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 34px 40px 24px;
}

.Novedad__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.Novedad__category {
    color: var(--novedad-accent);
    font-family: 'Roboto-Bold';
    font-size: 14px;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.Novedad__date {
    color: var(--novedad-muted);
    font-family: 'Roboto-Regular';
    font-size: 14px;
}

.Novedad__category + .Novedad__date::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 10px 3px 0;
    border-radius: 50%;
    background: #b8bcc0;
    vertical-align: middle;
}

.Novedad__title {
    margin: 10px 0 0;
    color: var(--novedad-ink);
    font-family: 'Roboto-Regular';
    font-size: clamp(26px, 2.2vw, 32px);
    font-weight: 400;
    line-height: 1.15;
}

.Novedad__shortDescription {
    margin-top: 16px;
    color: var(--novedad-text);
    font-family: 'Roboto-Regular';
    font-size: 18px;
    font-weight: 300;
    line-height: 1.55;
}

.Novedad__shortDescription p:last-child { margin-bottom: 0; }

.Novedad__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--novedad-line);
}

/* Separa las acciones del texto sin perder el empuje al pie de la card. */
.Novedad__content { margin-bottom: 24px; }

.Novedad__actions .listen__box {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.Novedad__actions .listen__text { font-size: 15px; }

.Novedad__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: var(--novedad-ink);
    font-family: 'Roboto-Regular';
    font-size: 16px;
    text-decoration: none;
}

.Novedad__link i { transition: transform .2s ease; }

.Novedad__link:hover,
.Novedad__link:focus-visible {
    color: var(--novedad-accent);
}

.Novedad__link:hover i,
.Novedad__link:focus-visible i { transform: translateX(4px); }

/* Pagina /novedades */
.NovedadesPage {
    padding: 48px 0 72px;
    background: #c8cacb;
}

.NovedadesPage .breadcrumb { margin-bottom: 0; }

.NovedadesPage .breadcrumb-item,
.NovedadesPage .breadcrumb-item a { color: var(--novedad-ink); }

.NovedadesPage__header { margin: 32px 0 28px; }

.NovedadesPage__title {
    margin: 0;
    color: #2d2d2d;
    font-family: 'Roboto-Regular';
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 600;
    text-transform: uppercase;
}

.NovedadesPage__count {
    margin: 6px 0 0;
    color: #5b5f63;
    font-family: 'Roboto-Regular';
    font-size: 15px;
}

.NovedadesPage__empty {
    padding: 48px 24px;
    border-radius: 10px;
    background: #fff;
    color: var(--novedad-text);
    font-family: 'Roboto-Regular';
    font-size: 18px;
    text-align: center;
}

.NovedadesPage__empty a { color: var(--novedad-accent); }

/* Detalle de novedad */
.Novedad__detailImage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 7;
    max-height: 540px;
    overflow: hidden;
    background: #e9eaeb;
}

.Novedad__detailImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Novedad__detailImage img.is-placeholder {
    width: min(42%, 300px);
    height: min(70%, 300px);
    object-fit: contain;
    opacity: .88;
}

@media (max-width: 767.98px) {
    .Novedad__card { grid-template-columns: minmax(0, 1fr); }
    .Novedad__media { min-height: 0; aspect-ratio: 16 / 9; }
    .Novedad__body { padding: 22px 20px 16px; }
    .Novedad__shortDescription { font-size: 17px; }
    .Novedad__content { margin-bottom: 18px; }
    .NovedadesPage { padding: 32px 0 48px; }
    .NovedadesPage__header { margin: 22px 0 20px; }
    .Novedad__detailImage { aspect-ratio: 4 / 3; }
    .Novedad__detailImage img.is-placeholder { width: min(56%, 220px); height: min(70%, 220px); }
}

@media (prefers-reduced-motion: reduce) {
    .Novedad__card,
    .Novedad__image,
    .Novedad__link i { transition: none; }
    .Novedad__card:hover { transform: none; }
    .Novedad__card:hover .Novedad__image:not(.is-placeholder) { transform: none; }
}
