/* Preserved from the site's current spp-news-page design. */
.spp-news-page,
.spp-news-page * {
box-sizing: border-box;
}
.spp-news-page {
--spp-blue: #4f73f4;
--spp-dark: #26303d;
--spp-text: #727d89;
--spp-border: #e2e7ef;
--spp-light: #f6f8fb;
width: 100%;
color: var(--spp-dark);
font-family: inherit;
}
.spp-news-container {
width: calc(100% - 40px);
max-width: 1200px;
margin: 0 auto;
}
.spp-news-hero {
padding: 55px 0 45px;
background: #fff;
}
.spp-news-hero__content {
max-width: 750px;
}
.spp-news-label {
display: block;
margin-bottom: 9px;
color: var(--spp-blue);
font-size: 11px;
font-weight: 700;
letter-spacing: .12em;
}
.spp-news-hero h1 {
margin: 0 0 13px !important;
padding: 0 !important;
color: var(--spp-dark) !important;
font-family: inherit !important;
font-size: 44px !important;
line-height: 1.1 !important;
font-weight: 700 !important;
letter-spacing: -.03em;
text-transform: none !important;
}
.spp-news-hero p {
max-width: 680px;
margin: 0 !important;
color: var(--spp-text);
font-size: 15px;
line-height: 1.65;
}
.spp-news-list {
padding: 42px 0 65px;
background: var(--spp-light);
}
.spp-news-grid {
display: grid;
grid-template-columns:
repeat(3, minmax(0, 1fr));
gap: 20px;
}
.spp-news-card {
min-width: 0;
display: flex;
flex-direction: column;
overflow: hidden;
margin: 0 !important;
padding: 0 !important;
border: 1px solid var(--spp-border);
border-radius: 15px;
background: #fff;
box-shadow:
0 8px 25px rgba(31,45,70,.045);
transition:
transform .25s ease,
box-shadow .25s ease;
}
.spp-news-card:hover {
transform: translateY(-4px);
box-shadow:
0 15px 37px rgba(31,45,70,.10);
}
.spp-news-card__image {
position: relative;
width: 100%;
height: 245px;
display: block;
overflow: hidden;
background: #e9edf2;
text-decoration: none !important;
}
.spp-news-card__image img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
object-position: center;
margin: 0 !important;
transition: transform .45s ease;
}
.spp-news-card:hover
.spp-news-card__image img {
transform: scale(1.035);
}
.spp-news-card__placeholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 30px;
background:
linear-gradient(
135deg,
#edf2ff 0%,
#f8f9fc 100%
);
color: #7788b4;
font-size: 15px;
font-weight: 700;
text-align: center;
}
.spp-news-card__date {
position: absolute;
left: 15px;
bottom: 14px;
min-height: 33px;
display: inline-flex;
align-items: center;
padding: 0 11px;
border-radius: 7px;
background: rgba(255,255,255,.96);
color: #3e4855;
font-size: 11px;
font-weight: 700;
box-shadow:
0 6px 18px rgba(20,31,49,.14);
}
.spp-news-card__body {
flex: 1;
display: flex;
flex-direction: column;
padding: 22px 21px 21px;
}
.spp-news-card__label {
display: block;
margin-bottom: 8px;
color: var(--spp-blue);
font-size: 10px;
font-weight: 700;
letter-spacing: .11em;
}
.spp-news-card__title {
margin: 0 0 12px !important;
padding: 0 !important;
font-family: inherit !important;
font-size: 21px !important;
line-height: 1.32 !important;
font-weight: 700 !important;
text-transform: none !important;
}
.spp-news-card__title a {
color: #2c3642 !important;
background: transparent !important;
text-decoration: none !important;
transition: color .2s ease;
}
.spp-news-card__title a:hover {
color: var(--spp-blue) !important;
}
.spp-news-card__excerpt {
display: -webkit-box;
overflow: hidden;
margin: 0 0 18px !important;
color: #78828e;
font-size: 12.5px;
line-height: 1.65;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
}
.spp-news-card__bottom {
margin-top: auto;
padding-top: 15px;
border-top: 1px solid #e8ebf1;
}
.spp-news-card__more {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 0 !important;
background: transparent !important;
color: var(--spp-blue) !important;
font-size: 11.5px;
font-weight: 700;
text-decoration: none !important;
}
.spp-news-card__more span {
font-size: 15px;
transition: transform .2s ease;
}
.spp-news-card__more:hover span {
transform: translateX(3px);
}
.spp-news-pagination {
margin-top: 38px;
}
.spp-news-pagination ul {
display: flex !important;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 7px;
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
list-style: none !important;
}
.spp-news-pagination li {
width: auto !important;
height: auto !important;
float: none !important;
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
}
.spp-news-pagination a,
.spp-news-pagination span {
min-width: 42px;
height: 42px;
display: inline-flex !important;
align-items: center;
justify-content: center;
padding: 0 11px !important;
margin: 0 !important;
border: 1px solid #dfe4ec !important;
border-radius: 8px;
background: #fff !important;
color: #596572 !important;
font-size: 12px;
font-weight: 700;
text-decoration: none !important;
}
.spp-news-pagination .current {
border-color: var(--spp-blue) !important;
background: var(--spp-blue) !important;
color: #fff !important;
}
.spp-news-pagination a:hover {
border-color: var(--spp-blue) !important;
color: var(--spp-blue) !important;
}
.spp-news-empty {
padding: 60px 20px;
text-align: center;
}
.spp-news-empty h2 {
margin: 0 0 10px !important;
font-family: inherit !important;
font-size: 28px !important;
}
.spp-news-empty p {
margin: 0 !important;
color: var(--spp-text);
}
@media (max-width: 1000px) {
.spp-news-grid {
grid-template-columns:
repeat(2, minmax(0, 1fr));
}
.spp-news-card__image {
height: 235px;
}
}
@media (max-width: 767px) {
.spp-news-container {
width: calc(100% - 28px);
}
.spp-news-hero {
padding: 35px 0 29px;
}
.spp-news-label {
font-size: 9px;
}
.spp-news-hero h1 {
font-size: 30px !important;
line-height: 1.12 !important;
}
.spp-news-hero p {
font-size: 13px;
line-height: 1.6;
}
.spp-news-list {
padding: 27px 0 45px;
}
.spp-news-grid {
grid-template-columns: 1fr;
gap: 15px;
}
.spp-news-card__image {
height: 230px;
}
.spp-news-card__body {
padding: 19px 17px 20px;
}
.spp-news-card__title {
font-size: 20px !important;
}
.spp-news-card__excerpt {
font-size: 12px;
}
.spp-news-pagination {
margin-top: 28px;
}
.spp-news-pagination a,
.spp-news-pagination span {
min-width: 39px;
height: 39px;
}
}
@media (max-width: 390px) {
.spp-news-card__image {
height: 205px;
}
.spp-news-hero h1 {
font-size: 28px !important;
}
}
.spp-news-page .spp-news-pagination {
width: 100% !important;
min-height: 0 !important;
height: auto !important;
display: block !important;
margin: 38px 0 0 !important;
padding: 0 !important;
background: transparent !important;
background-color: transparent !important;
background-image: none !important;
border: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
}
.spp-news-page .spp-news-pagination::before,
.spp-news-page .spp-news-pagination::after {
display: none !important;
content: none !important;
}
.spp-news-page .spp-news-pagination ul,
.spp-news-page .spp-news-pagination ul.page-numbers {
width: 100% !important;
min-height: 0 !important;
height: auto !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
flex-wrap: wrap !important;
gap: 8px !important;
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
background-color: transparent !important;
background-image: none !important;
border: 0 !important;
box-shadow: none !important;
list-style: none !important;
}
.spp-news-page .spp-news-pagination li {
width: auto !important;
min-width: 0 !important;
height: auto !important;
min-height: 0 !important;
display: block !important;
float: none !important;
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
}
.spp-news-page .spp-news-pagination .page-numbers {
min-width: 44px !important;
width: auto !important;
height: 44px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
margin: 0 !important;
padding: 0 13px !important;
border: 1px solid #dfe4ec !important;
border-radius: 9px !important;
background: #ffffff !important;
background-image: none !important;
color: #596572 !important;
font-size: 13px !important;
line-height: 1 !important;
font-weight: 700 !important;
text-decoration: none !important;
box-shadow: none !important;
}
.spp-news-page .spp-news-pagination .page-numbers.current {
border-color: #4f73f4 !important;
background: #4f73f4 !important;
color: #ffffff !important;
}
.spp-news-page .spp-news-pagination a.page-numbers:hover {
border-color: #4f73f4 !important;
background: #f3f6ff !important;
color: #4f73f4 !important;
}
@media (max-width: 767px) {
.spp-news-page .spp-news-pagination {
margin-top: 28px !important;
}
.spp-news-page .spp-news-pagination .page-numbers {
min-width: 40px !important;
height: 40px !important;
padding: 0 11px !important;
font-size: 12px !important;
}
}
