html {
background: #1e1e1e;
}
body {
background: #fff;
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}
h1 {
font-weight: 600;
}
.wrap {
margin: 0 auto;
max-width: 1024px;
}
.clear {
clear: both;
}
header.header {
background: #1e1e1e;
}
.header .logo {
float: left;
margin: 0 20px 0 10px;
}
.header .header-menu {
float: left;
padding-top: 7px;
}
.header ul.menu {
margin: 20px;
padding: 0;
}
.header ul.menu li {
display: table-cell;
list-style-type: none;
margin: 0;
padding: 0;
}
.header ul.menu a {
color: #fff;
padding: 15px;
text-decoration: none;
}
.header .header-lang {
float: right;
padding: 20px;
}
.swiper-wrapper {
height: 400px;
margin: 0 0 30px;
}
.swiper {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
display: flex;
justify-content: center;
align-items: center;
}
.swiper-slide a {
color: #fff;
position: relative;
text-decoration: none;
}
.swiper-slide img { width: 100%;
max-height: 400px;
object-fit: cover;
}
.swiper-slide span {
position: absolute;
bottom: 5%;
left: 10px;
right: 10px;
background: rgba(255,255,255,0.8);
color: #000;
font-size: 1.5em;
padding: 5px 10px;
height: 60px;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
main.wrap {
padding: 30px 10px 40px;
}
.content-area .sidebar {
float: right;
width: 300px;
}
.content-area .sidebar .savelife img {
display: block;
margin: 0 auto;
}
.content-area .article-list {
margin-right: 320px;
}
.article-loop { border-bottom: 1px solid #414141;
overflow: auto;
}
.article-loop-thumbnail {
float: left;
margin: 0 15px 20px 0;
}
.article-loop-title a {
font-size: 26px;
text-decoration: none;
}
.content-loop {
display: grid;
gap: 20px; grid-template-columns: auto;
}
article {
margin-bottom: 40px;
}
article .thumbnail {
float: left;
margin: 0 16px 8px 0;
}
article .title {
font-size: 26px;
}
article .date {
margin: 0 0 12px;
}
article .title a {
text-decoration: none;
}
article p {
font-size: 20px;
line-height: 28px;
margin-bottom: 24px;
}
article a {
color: #1e1e1e;
text-decoration: underline;
}
article a:hover {
color: #000;
}
.article-full .wp-post-image { width: 100% !important;
display: block;
margin: 0 auto;
max-width: 100% !important;
height: auto;
}
.youtube {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.youtube iframe {
aspect-ratio: 16 / 9;
width: 100% !important;
}
.share {
padding: 20px 0 0;
}
.share b {
display: block;
float: left;
padding: 7px 0 0;
}
.share a {
cursor: pointer;
text-decoration: none;
}
.share svg {
height: 32px;
width: 32px;
}
.paginate {
margin: 0 0 20px;
text-align: center;
}
.paginate .current {
padding: 10px;
}
.paginate a {
color: #1e1e1e;
padding: 10px;
text-decoration: underline;
}
.other-news {
margin: 0 10px 20px;
}
.other-news div {
margin-bottom: 15px;
}
.other-news a {
color: #1e1e1e;
}
.home .video {
background: #1e1e1e;
color: #fcfcfc;
overflow: auto;
padding: 20px 20px 30px;
}
.home .video .item {
float: left;
width: 33%;
}
.home .video .item .block {
padding: 10px;
}
.home .video .item img {
height: auto;
width: 100% !important;
}
.home .video .item .author {
color: #808080;
}
.home .video .item a {
color: #fcfcfc;
text-decoration: none;
}
footer {
background: #1e1e1e;
color: #fff;
padding: 40px 20px;
}
footer .copyright {
max-width: 26%;
}
footer .copyright img {
max-width: 100%;
}
footer .footer-menu {
}
footer .footer-menu ul {
margin: 20px 0 10px;
padding: 0;
}
footer .footer-menu ul li {
display: table-cell;
padding: 0 20px 10px 0;
}
footer .footer-menu ul li a {
color: #fff;
text-decoration: none;
}
footer .language {}
footer .language ul {
margin: 20px 0;
padding: 0;
}
footer .language li {
display: table-cell;
margin: 0;
padding: 0;
}
footer .language li a {
padding: 15px;
}
footer .footer-menu ul {
overflow: auto;
}
footer .footer-menu ul li {
float: left;
}
@media screen and (max-width: 768px) {
.content-area .sidebar {
float: none;
margin: 0 0 30px;
text-align: center;
width: auto;
}
.content-area .article-list {
margin: 0;
}
body.single div.content-area {
padding-bottom: 400px;
position: relative;
}
body.single .content-area .sidebar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.home .video .item {
float: none;
width: 100%;
}
.home .video .item img {
height: auto;
width: auto;
}
footer .copyright {
max-width: 100%;
}
}
@media screen and (max-width: 460px) {
article {
margin-bottom: 20px;
}
.article-loop-thumbnail {
float: right;
margin: 0 15px 20px 10px;
}
.article-loop-thumbnail img {
border-radius: 10px;
height: auto;
margin: 0;
width: 100px;
}
.article-loop-title {
font-size: 12px;
}
.article-loop-title a {
font-size: 16px;
}
.article-loop-title .date {
color: #808080;
margin: 4px 0;
}
}