Files
2026-08-13 09:54:36 -05:00

61 lines
1.2 KiB
CSS

.chrnx-latest-podcast {
border: 1px solid var(--wp--preset--color--border, currentcolor);
padding: var(--wp--preset--spacing--40, 1.5rem);
}
.chrnx-podcast-card__link {
display: grid;
grid-template-columns: minmax(12rem, 34%) minmax(0, 1fr);
align-items: stretch;
}
.chrnx-podcast-card__content {
min-width: 0;
overflow-wrap: anywhere;
word-break: normal;
}
.chrnx-podcast-card__image,
.chrnx-podcast-card__fallback {
display: block;
width: 100%;
max-width: 100%;
height: 100%;
min-height: 12rem;
max-height: 20rem;
overflow: hidden;
object-fit: cover;
}
.chrnx-podcast-card__title,
.chrnx-podcast-card__excerpt,
.chrnx-podcast-card__badge {
overflow-wrap: anywhere;
word-break: normal;
}
.chrnx-podcast-card__fallback {
background: linear-gradient(135deg, var(--wp--preset--color--green), var(--wp--preset--color--violet));
}
@media (max-width: 720px) {
.chrnx-podcast-card__link {
grid-template-columns: minmax(0, 1fr);
}
.chrnx-podcast-card__image,
.chrnx-podcast-card__fallback {
height: auto;
min-height: 0;
aspect-ratio: 3 / 2;
}
}
@media (min-width: 721px) {
.chrnx-podcast-card__link {
grid-template-columns: minmax(12rem, 34%) minmax(0, 1fr);
}
}