.oitg_single {
background: #e9eeef;
padding: 0 25px 70px;
}
.oitg_single .oitg_layout {
display: flex;
align-items: flex-start;
flex-wrap: wrap;
gap: 2rem;
max-width: 1440px;
margin: 0 auto;
padding: 0 15px;
}
.oitg_single .oitg_left {
flex: 0 0 25%;
}
.oitg_single .oitg_left a {
display: block;
margin-bottom: 8px;
padding: 7px 18px;
border-radius: 999px;
background: #fff;
color: #333;
font-size: 14px;
line-height: 1.2;
text-decoration: none;
}
.oitg_single .oitg_left a.active {
background: #25b9f2;
color: #fff;
}
.oitg_single .oitg_article {
flex: 0 0 calc(50% - 4rem);
background: #fff;
border-radius: 18px;
padding: 30px 18px 40px;
}
.oitg_single .oitg_title {
margin: 0 0 12px;
color: #111;
font-size: 32px;
line-height: 1.12;
font-weight: 700;
}
.oitg_single .oitg_meta {
display: flex;
gap: 6px;
margin-bottom: 8px;
}
.oitg_single .oitg_date,
.oitg_single .oitg_views {
display: inline-flex;
align-items: center;
min-height: 22px;
padding: 4px 7px;
border-radius: 4px;
color: #fff;
font-size: 14px;
line-height: 1;
}
.oitg_single .oitg_date {
background: #ff9f1a;
}
.oitg_single .oitg_views {
background: #25b9f2;
}
.oitg_single .oitg_tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
min-height: 20px;
margin-bottom: 18px;
}
.oitg_single .oitg_tags span {
padding: 5px 8px;
border-radius: 4px;
background: #d9f1fb;
color: #1689b9;
font-size: 14px;
line-height: 1;
}
.oitg_single .oitg_banner {
margin-bottom: 18px;
}
.oitg_single .oitg_banner img {
display: block;
margin: auto;
max-height: 300px;
}
.oitg_single .oitg_content {
color: #222;
font-size: 16px;
line-height: 1.45;
}
.oitg_single .oitg_content p {
margin: 0 0 20px;
}
.oitg_single .oitg_content .oitg_emoji {
width: 16px;
height: 16px;
vertical-align: middle;
}
.oitg_single .oitg_right {
flex: 0 0 25%;
}
.oitg_single .oitg_right_title {
margin: 0 0 18px;
color: #111;
font-size: 18px;
line-height: 1.2;
font-weight: 700;
}
.oitg_single .offer_container {
margin-bottom: 22px;
}
@media (max-width: 1000px) {
.oitg_single {
padding: 0;
}
.oitg_single .oitg_left {
display: none;
}
.oitg_single .oitg_article {
flex: 0 0 100%;
max-width: 600px;
margin: auto;
padding: 10px 10px;
}
.oitg_single .oitg_right {
flex: 0 0 100%;
}
.oitg_single .oitg_title {
font-size: 24px;
}
}  .oitg_page {
background: #e9eeef;
padding: 36px 40px;
color: #26313a;
font-family: Arial, sans-serif;
}
.oitg_page .oitg_head h1 {
margin: 0 0 22px;
font-size: 34px;
line-height: 1.15;
}
.oitg_page .oitg_cats {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 34px;
}
.oitg_page .oitg_cats button {
border: 0;
border-radius: 999px;
padding: 10px 18px;
background: #fff;
color: #26313a;
cursor: pointer;
font-size: 16px;
}
.oitg_page .oitg_cats button.is-active {
background: #35b7f3;
color: #fff;
}
.oitg_page .oitg_body {
display: flex;
gap: 32px;
align-items: flex-start;
}
.oitg_page .oitg_content {
flex: 1 1 auto;
min-width: 0;
}
.oitg_page .oitg_sidebar {
flex: 0 0 280px;
background: #fff;
border-radius: 22px;
padding: 26px 18px;
}
.oitg_page .oitg_toolbar {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #d8e1e5;
padding: 0 0 14px;
margin-bottom: 24px;
font-size: 18px;
}
.oitg_page .oitg_view {
display: flex;
gap: 5px;
}
.oitg_page .oitg_view button {
padding: 0;
cursor: pointer;
background: transparent;
color: #c9c9c9;
}
.oitg_page .oitg_view button.is-active {
color: #35b7f3;
}
.oitg_page .oitg_view svg {
display: block;
width: 26px;
height: 26px;
}
.oitg_page .oitg_posts {
display: flex;
flex-wrap: wrap;
gap: 22px;
}
.oitg_page .oitg_card {
background: #fff;
border-radius: 22px;
overflow: hidden;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}
.oitg_page .oitg_posts--grid .oitg_card {
width: calc((100% - 44px) / 3);
display: flex;
flex-direction: column;
}
.oitg_page .oitg_posts--list .oitg_card {
width: 100%;
display: flex;
gap: 22px;
padding: 16px;
align-items: center;
}
.oitg_page .oitg_card img {
width: 100%;
height: 115px;
object-fit: cover;
border-radius: 14px;
}
.oitg_page .oitg_posts--list .oitg_card img {
width: 115px;
}
.oitg_page .oitg_posts--grid .oitg_card img {
height: 145px;
border-radius: 0;
}
.oitg_page .oitg_posts--list .oitg_card > img {
flex: 0 0 130px;
width: 130px;
height: 115px;
}
.oitg_page .oitg_card_body {
min-width: 0;
}
.oitg_page .oitg_posts--grid .oitg_card_body {
padding: 10px 14px 16px;
}
.oitg_page .oitg_posts--list .oitg_card_body {
flex: 1 1 auto;
min-width: 0;
}
.oitg_page .oitg_card_title {
display: block;
color: #26313a;
font-size: 17px;
font-weight: 700;
line-height: 1.25;
text-decoration: underline;
}
.oitg_page .oitg_card_title:visited {
color: #26313a;
}
.oitg_page .oitg_card_title:hover {
color: #009994;
}
.oitg_page .oitg_posts--grid .oitg_card_title {
height: 40px;
overflow: hidden;
}
.oitg_page .oitg_meta {
display: flex;
gap: 6px;
margin: 8px 0;
font-size: 14px;
color: #fff;
}
.oitg_page .oitg_date,
.oitg_page .oitg_views {
display: inline-flex;
align-items: center;
border-radius: 5px;
padding: 4px 7px;
}
.oitg_page .oitg_date {
background: #ff9f23;
}
.oitg_page .oitg_views {
background: #35b7f3;
}
.oitg_page .oitg_text {
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
.oitg_page .oitg_tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
min-height: 25px;
}
.oitg_page .oitg_tags span {
border-radius: 5px;
background: #d6f2ff;
color: #4388a9;
padding: 4px 8px;
font-size: 14px;
}
.oitg_page .oitg_card p {
margin: 10px 0 14px;
color: #5c6870;
font-size: 15px;
}
.oitg_page .oitg_posts--list .oitg_card p,
.oitg_page .oitg_posts--list .oitg_more {
display: none;
}
.oitg_page .oitg_more,
.oitg_page .oitg_more_btn {
box-shadow: 1px 1px 7px #00000057;
padding: 1rem;
font-weight: 700;
font-size: 16px;
border-radius: 0.7rem;
}
.oitg_page .oitg_more {
display: block;
background: #35b7f3;
color: #fff;
text-align: center;
text-decoration: none;
}
.oitg_page .oitg_more:visited,
.oitg_page .oitg_more:hover {
color: #fff;
}
.oitg_page .oitg_more_btn {
position: relative;
flex: 0 0 calc((100% - 44px) / 6);
margin: auto;
display: block;
border: 0;
background: #35b7f3;
color: #fff;
text-align: center;
text-decoration: none;
cursor: pointer;
}
.oitg_page .oitg_more_btn.loading {
color: transparent;
pointer-events: none;
}
.oitg_page .oitg_more_btn.loading::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 18px;
height: 18px;
margin: -9px 0 0 -9px;
border: 2px solid rgba(255,255,255,.3);
border-top-color: #fff;
border-radius: 50%;
animation: oitg_btn_spin .7s linear infinite;
}
.oitg_page .oitg_more_btn:hover {
color: #fff;
}
@keyframes oitg_btn_spin {
to {
transform: rotate(360deg);
}
}
.oitg_page .oitg_search {
display: flex;
align-items: center;
background: #fff;
border-radius: 999px;
padding: 0 12px;
margin-bottom: 28px;
box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}
.oitg_page .oitg_search input {
width: 100%;
border: 0;
outline: none;
padding: 14px 0;
}
.oitg_page .oitg_search button {
border: 0;
background: transparent;
font-size: 22px;
cursor: pointer;
}
.oitg_page .oitg_filter {
margin-bottom: 28px;
}
.oitg_page .oitg_filter h3 {
margin: 0 0 14px;
font-size: 18px;
}
.oitg_page .oitg_filter label {
display: block;
margin-bottom: 12px;
font-size: 15px;
}
.oitg_page .oitg_filter input {
margin-right: 8px;
}
@media (max-width: 1000px) {
.oitg_page .oitg_body {
flex-direction: column;
}
.oitg_page .oitg_content,
.oitg_page .oitg_sidebar {
width: 100%;
}
.oitg_page .oitg_sidebar {
order: -1;
box-sizing: border-box;
}
.oitg_page .oitg_posts--grid .oitg_card {
width: calc((100% - 22px) / 2);
}
}
@media (max-width: 640px) {
.oitg_page {
padding: 24px 16px;
}
.oitg_page .oitg_posts--grid .oitg_card,
.oitg_page .oitg_posts--list .oitg_card {
width: 100%;
}
.oitg_page .oitg_posts--list .oitg_card {
flex-direction: column;
align-items: stretch;
}
.oitg_page .oitg_posts--list .oitg_card > img {
flex-basis: auto;
width: 100%;
}
.oitg_page .oitg_posts--grid .oitg_tags {
min-height: initial;
}
.oitg_page .oitg_posts--grid .oitg_card_title {
height: initial;
}
.oitg_page .oitg_more,
.oitg_page .oitg_more_btn {
font-size: 14px;
}
}