.stc-info-card {
display: block;
width: 100%;
min-width: 0;
overflow: hidden;
background: #fff;
border-radius: 22px;
box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
break-inside: avoid;
}
.stc-info-card__link {
display: flex;
flex-direction: column;
height: 100%;
min-height: 100%;
color: inherit;
text-decoration: none;
}
.stc-info-card__link:hover {
color: inherit;
text-decoration: none;
}
.stc-info-card__media {
position: relative;
display: block;
width: 100%;
aspect-ratio: 16 / 10;
overflow: hidden;
background: #f1f3f5;
}
.stc-info-card__media img {
display: block;
width: 100% !important;
max-width: none;
height: 100% !important;
object-fit: cover;
}
.stc-info-card__body {
display: flex;
flex-direction: column;
gap: 10px;
padding: 20px 22px 24px;
}
.stc-info-card__date {
display: block;
color: #ec621f;
font-size: 13px;
font-weight: 800;
line-height: 1.25;
letter-spacing: 0.02em;
}
.stc-info-card__title {
display: block;
color: #101820;
font-size: 18px;
font-weight: 800;
line-height: 1.25;
}
.stc-info-card__excerpt {
display: block;
color: #5f6873;
font-size: 15px;
font-weight: 500;
line-height: 1.65;
}
.stc-info-card__body::after {
content: "Читать материал →";
display: block;
margin-top: 6px;
color: #ec621f;
font-size: 15px;
font-weight: 900;
line-height: 1.2;
}
.stc-info-card:hover {
transform: translateY(-2px);
box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}
.stc-info-card:hover .stc-info-card__title {
color: #ec621f;
}
.stc-info-load-more {
display: flex;
justify-content: center;
margin: 36px auto 0;
cursor: pointer;
}
.stc-info-load-more.is-loading {
pointer-events: none;
opacity: 0.7;
}
.stc-info-load-more.is-done {
pointer-events: none;
opacity: 0.75;
}
@media (max-width: 767px) {
.stc-info-card {
border-radius: 18px;
}
.stc-info-card__body {
padding: 18px;
}
.stc-info-card__title {
font-size: 16px;
}
.stc-info-card__excerpt {
font-size: 14px;
}
} @supports selector(body:has(.stc-info-load-more)) {
body:has(.stc-info-load-more) main article:not(.stc-info-card) {
display: flex;
flex-direction: column;
min-width: 0;
overflow: hidden;
background: #fff;
border-radius: 22px;
box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
break-inside: avoid;
}
body:has(.stc-info-load-more) main article:not(.stc-info-card) > a {
display: flex;
flex-direction: column;
height: 100%;
color: inherit;
text-decoration: none;
}
body:has(.stc-info-load-more) main article:not(.stc-info-card) img {
display: block;
width: 100% !important;
max-width: none;
aspect-ratio: 16 / 10;
height: auto !important;
max-height: 240px;
object-fit: cover;
border-radius: 0;
}
body:has(.stc-info-load-more) main article:not(.stc-info-card) h2,
body:has(.stc-info-load-more) main article:not(.stc-info-card) h3,
body:has(.stc-info-load-more) main article:not(.stc-info-card) .entry-title {
color: #101820;
font-size: 18px;
font-weight: 800;
line-height: 1.25;
}
body:has(.stc-info-load-more) main article:not(.stc-info-card) p {
color: #5f6873;
font-size: 15px;
font-weight: 500;
line-height: 1.6;
}
body:has(.stc-info-load-more) main article:not(.stc-info-card) a {
text-decoration: none;
}
body:has(.stc-info-load-more) main article:not(.stc-info-card) a:hover {
color: #ec621f;
}
body:has(.stc-info-load-more) main article:not(.stc-info-card) .entry-content,
body:has(.stc-info-load-more) main article:not(.stc-info-card) .post-content,
body:has(.stc-info-load-more) main article:not(.stc-info-card) .card-content {
padding: 20px 22px 24px;
}
}