/* STYLES 04.06.2025
Developer: t.me/moretheme
Screen resolution: 460, 860, 1440, 1920 */
:root {
    --bg: #383c42;
    --bg2: #50565e;
    --bg3: #F5F5F5;
    --engine: #f5f5f5;
    --engine2: #F5F5F5;
    --text: #F5F5F5;
    --text1: #f5f5f5;
    --text2: #dbdbdb;
    --text3: #dbdbdb;
    --color1: #5d9bca;
    --color2: #5d9bca;
    --color3: #f5f5f5;
    --light: rgb(255 255 255 / 15%);
    --light2: rgb(255 255 255 / 30%);
    --dark: #50565e;
    --radius: 18px;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: normal;
    font-family: "Geologica", sans-serif;
    font-size: 16px;
    font-weight: 300;
}

.speedbar {
    color: var(--color3);
    font-size: 14px;
    margin-bottom: 30px;
}

.speedbar a:hover {
    color: var(--color1);
}

/* HEADER TOP */
.header-top {
    background: #18191d;
    padding: 10px 0;
}

@media (max-width: 860px) {
    .header-top a {
        display: flex;
        flex-direction: column;
        grid-gap: 10px;
    }
}

.header-top a > span:first-child {
    display: inline-block;
    max-width: max-content;
    background: #50565e;
    padding: 5px 15px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: bold;
    margin-right: 20px;
}

.header-top a > span:last-child {
    max-width: max-content;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px dotted;
    color: var(--color3);
}

/* HEADER */
header {
    position: relative;
    background: var(--bg);
    color: var(--text);
    box-shadow: 0px 10px 9px rgb(0 0 0 / 10%);
    border-bottom: 1px solid var(--bg);
    width: 100%;
    top: 0;
    left: 0;
    transition: top 0.3s;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 15px;
    padding: 10px 0;
}

.header-logo {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}

.header-menu {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    margin: 0 auto;
    transition: 0.3s opacity;
}

@media (max-width: 860px) {
    .header-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #2f3236cf;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        color: #fff;
        font-weight: 500;
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        z-index: 7;
        visibility: hidden;
        opacity: 0;
    }
}

.header-menu.active {
    visibility: visible;
    opacity: 1;
}

.header-menu > a, .header-menu > div {
    padding: 10px 0;
}

.header-menu > a:hover, .header-menu > div:hover {
    color: var(--color1);
}

.header-menu > a, .header-menu > div > span {
    display: flex;
    align-items: center;
    grid-gap: 10px;
}

.header-menu > div {
    position: relative;
}

.header-menu > div.active > div {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 860px) {
    .header-menu > div:hover > div {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

.header-menu > div > div {
    position: absolute;
    width: 200px;
    top: 100%;
    left: 0;
    background: var(--bg);
    color: #000;
    box-shadow: 0 0 20px rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    padding: 3px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 6;
}

.header-menu > div > div:before {
    content: "";
    position: absolute;
    top: -4px;
    left: 16px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(225deg);
    z-index: -1;
}

.header-menu > div > div > a {
    display: block;
    padding: 5px 20px;
    border-radius: var(--radius);
}

.header-menu > div > div > a:hover {
    background: var(--bg3);
}

.header-menu_btn {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 28px;
    text-align: center;
}

.header-menu_btn.active:before {
    content: "\f00d";
}

.header-menu > .header-menu_btn {
    position: absolute;
    top: 40px;
    right: 30px;
    background: var(--light);
    border-radius: 50%;
    font-size: 20px;
}

.header-menu .header-menu_copy {
    position: absolute;
    opacity: 0.5;
    bottom: 20px;
    font-weight: 300;
    font-size: 12px;
}

/* HEADER SEARCH */
.header-search {
    position: relative;
    margin-left: auto;
}

.header-search > div {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    grid-gap: 10px;
    background: var(--bg2);
    border-radius: 10px;
    visibility: hidden;
    opacity: 0;
    z-index: 2;
}

@media (max-width: 860px) {
    .header-search > div {
        position: fixed;
        width: 100%;
        left: 0;
        right: unset;
        background: var(--bg);
        box-shadow: 0 0 20px rgb(0 0 0 / 10%);
        height: 57px;
    }
}

.header-search.active > div {
    visibility: visible;
    opacity: 1;
}

.header-menu.none {
    visibility: hidden;
    opacity: 0;
}

.header-search > div > i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: var(--text3);
}

.header-search.active + .header-search_btn {
    display: none;
}

.header-search_btn {
    display: inline-block;
    color: var(--text2);
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 28px;
    text-align: center;
}

.header-search_btn:hover {
    color: var(--color1);
}

.header-search input {
    background: none;
    padding: 0;
    box-shadow: none;
    border: none;
    width: 0;
    height: inherit;
    border-radius: 0;
    margin-left: 15px;
}

.header-search.active input {
    width: 310px;
}

.header-search input::placeholder {
    color: #777e89;
}

.header-search .fa-xmark:not(.header-search.active .fa-xmark) {
    display: none;
}

.header-search_top {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 420px;
    top: 110%;
    left: auto;
    background: var(--bg);
    box-shadow: 0 0 20px rgb(0 0 0 / 10%);
    padding: 30px;
    border-radius: var(--radius);
    transition: 0.3s;
    z-index: 8;
}

@media (max-width: 860px) {
    .header-search_top {
        width: 100%;
        left: 0;
    }
}

.header-search_top.active {
    visibility: visible;
    opacity: 1;
}

.header-search_top > span {
    display: block;
    color: var(--text2);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* HEADER USER */
.header-user {
    position: relative;
}

.header-user > a {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    border-radius: var(--radius);
    color: var(--text2);
    font-size: 28px;
    text-align: center;
    cursor: pointer;
}

.header-user > a > span {
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 860px) {
    .header-user > a > span {
        display: none;
    }
}

.header-user > a:hover {
    color: var(--color1);
}

.header-user > div {
    position: absolute;
    width: 200px;
    top: 100%;
    right: 0;
    background: var(--bg);
    color: var(--color3);
    box-shadow: 0 0 20px rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 6;
}

.header-user > div:before {
    content: "";
    position: absolute;
    top: -5px;
    right: 16px;
    width: 10px;
    height: 10px;
    background: var(--color3);
    transform: rotate(225deg);
}

.header-user.active > div {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.header-user_info {
    border-bottom: 1px solid var(--bg);
    padding: 10px 20px;
    text-align: center;
}

.header-user_info > img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.header-user_info > span {
    display: block;
    margin: 8px 0;
    font-size: 16px;
    font-weight: bold;
}

.header-user_info > a {
    display: inline-block;
    color: var(--color1);
    font-weight: bold;
    font-size: 13px;
    border-bottom: 1px dotted var(--color1);
    margin: 5px;
}

.header-user_info > a i {
    margin-right: 5px;
}

.header-user_group {
    display: inline-block;
    background: var(--bg3);
    border-radius: var(--radius);
    color: #b9b3d3;
    padding: 4px 10px;
    font-size: 10px;
}

.header-user_group * {
    color: #000!important;
}

.header-user_link {
    padding: 3px;
}

.header-user_link a {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    padding: 8px 20px;
    border-radius: var(--radius);
    color: var(--color3);
    font-size: 14px;
}

.header-user_link a:last-child {
    color: #F44336;
}

.header-user_link a:hover {
    background: var(--bg2);
    color: var(--color1);
}

/* MODAL LOGIN 0.2 */
.modal-login > a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: var(--text2);
    font-size: 28px;
    text-align: center;
    cursor: pointer;
}

.modal-login form {
    display: none;
    position: fixed;
    min-width: 500px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background: var(--bg2);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    padding: 40px 80px;
    border-radius: var(--radius);
    text-align: center;
    z-index: 9;
}

@media (max-width: 860px) {
    .modal-login form {
        min-width: 100%;
        padding: 30px;
        border-radius: 0;
    }
}

.modal-login form > i {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
}

.modal-login form > i:hover {
    background: var(--color1);
    color: var(--color3);
}

.modal-login .e-float > a {
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 14px;
    border-bottom: 1px dotted #20a8d8;
}

.modal-login_btn a {
    background: #000;
    margin-left: 20px;
}

.modal-login_btn a:hover {
    background: var(--bg3);
    opacity: 0.8;
}

.modal-login_soc span {
    display: block;
    color: #767389;
    margin: 20px 0;
}

.modal-login_soc .e-flex {
    align-items: center;
    justify-content: center;
}

.modal-login_soc .e-flex > a, .modal-login_soc .e-flex a > img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
}

/* TOOLTIP */
[data-tooltip] {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -220%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    width: max-content;
    background: black;
    padding: 8px;
    border-radius: 4px;
    color: var(--color3);
    font-size: 10px;
    text-align: center;
    line-height: normal;
    transition: all 0.3s;
    z-index: 1;
}

[data-tooltip]:hover::before {
    content: " ";
    position: absolute;
    right: 6px;
    bottom: -6px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

[data-tooltip]:hover::after {
    visibility: visible;
    opacity: 1;
}

/* PER SHORT */
.per-sect1 > div {
    grid-gap: 30px 60px;
}

.per-short {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.per-short.fixed {
    background: var(--bg2);
    padding: 5px;
    border-radius: var(--radius);
}

.per-short.fixed:before {
    content: "\f08d";
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--light2);
    backdrop-filter: blur(10px);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-family: "Font Awesome 6 Pro";
    overflow: hidden;
    z-index: 2;
}

.per-short.fixed .per-short_content {
    padding: 0 20px 15px;
}

.per-sect1 .per-short {
    display: grid;
    grid-gap: 30px;
    grid-auto-rows: max-content;
    grid-template-columns: 200px 1fr;
}

@media (max-width: 860px) {
    .per-sect1 .per-short {
        grid-gap: 20px;
        grid-template-columns: 1fr;
    }
}

.per-short_bg {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    border: 1px solid var(--bg);
    margin-bottom: 15px;
    overflow: hidden;
}

.per-sect1 .per-short_bg {
    height: 100%;
    margin-bottom: 0;
}

@media (max-width: 860px) {
    .per-sect1 .per-short_bg {
        height: auto;
    }
}

.per-short:hover img {
    transform: scale(1.05);
}

.per-short_content {
    width: 100%;
    overflow: hidden;
}

.per-short_label {
    display: block;
    color: var(--color1);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.per-short > a, .per-short > div > a {
    display: block;
    font-size: 18px;
    font-weight: bold;
}

.per-short > a:before, .per-short > div > a:before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.per-short_text {
    margin: 10px 0 15px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
}

.per-short_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.per-short_meta > span {
    font-size: 12px;
    color: var(--text3);
}

.per-author {
    display: flex;
    align-items: center;
    grid-gap: 5px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text2);
}

.per-author > img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    object-fit: cover;
    transition: 0.3s;
}

/* PER HOME */
.per-home {
    display: grid;
    grid-gap: 30px 40px;
    grid-auto-rows: max-content;
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
    .per-home {
        grid-template-columns: 1fr;
    }
}

.per-home_item {
    position: relative;
    display: grid;
    grid-gap: 20px;
    grid-auto-rows: max-content;
    grid-template-columns: 200px 1fr;
    border-radius: 15px;
    overflow: hidden;
}

@media (max-width: 860px) {
    .per-home_item {
        grid-template-columns: 1fr;
    }

    .per-home_item:first-child {
        height: 350px;
    }
}

.per-home_item.one {
    display: block;
    grid-row: span 3;
}

.per-home_bg {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
}

.per-home_item.one .per-home_bg {
    height: 100%;
    aspect-ratio: unset;
}

.per-home_item:hover img {
    transform: scale(1.05);
}

.per-home_content {
    position: relative;
    width: 100%;
}

.per-home_item.one .per-home_content {
    position: absolute;
    background: linear-gradient(0deg, black, transparent);
    padding: 60px 30px 30px;
    width: 100%;
    left: 0;
    bottom: 0;
    color: var(--color3);
}

.per-home_content > a {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.per-home_item.one .per-home_content > a {
    font-size: 20px;
}

.per-home_content > a:before {
    content: "";
    position: absolute;
    inset: -100%;
    width: 1000%;
    height: 1000%;
    z-index: 2;
}

.per-home_text {
    font-size: 14px;
    font-weight: 200;
    line-height: 1.4;
    margin: 10px 0 20px;
    opacity: 0.8;
}

.per-home_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.per-home_meta > span {
    font-size: 12px;
    color: var(--text3);
}

/* PER TWO */
.per-two {
    display: grid;
    grid-gap: 60px;
    grid-auto-rows: max-content;
    grid-template-columns: 1fr 300px;
}

@media (max-width: 860px) {
    .per-two {
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }
}

.per-two_center .per-short {
    display: grid;
    grid-gap: 30px;
    grid-auto-rows: max-content;
    grid-template-columns: 300px 1fr;
    margin-bottom: 40px;
}

@media (max-width: 860px) {
    .per-two_center .per-short {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }
}

.per-lists_item {
    position: relative;
    background: var(--bg2);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.per-lists_item > a {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

.per-lists_item > a:hover {
    color: var(--color1);
}

.per-lists_item > a:before {
    content: "";
    position: absolute;
    inset: 0;
}

.per-lists_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text3);
    margin-top: 20px;
}

/* PER FULL */
.per-grid {
    display: grid;
    grid-gap: 20px 60px;
    grid-auto-rows: max-content;
    grid-template-columns: 1fr 300px;
}

@media (max-width: 860px) {
    .per-grid {
        grid-template-columns: 1fr;
    }
}

.per-full_bg {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
}

.per-full_label {
    display: block;
    color: var(--color1);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.per-full_head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 20px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 3px solid #a8a8a8;
}

.per-full_head > span {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    font-size: 14px;
    color: var(--text3);
}

.per-full_head .date {
    margin-left: -10px;
    margin-right: auto;
}

.per-full_head .date:before {
    content: "•";
}

.per-full_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 16px;
    color: var(--text3);
    font-size: 17px;
    font-weight: 600;
    margin: 30px 0;
}

.e-sharesus {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    background: var(--bg3);
    color: var(--color1);
    padding: 5px 20px;
    border-radius: 13px;
    font-size: 16px;
    font-weight: 300;
}

.per-full_meta > a, .e-share, .per-full_meta > span {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    background: var(--bg3);
    color: #586975;
    padding: 8px 20px;
    border-radius: 13px;
    font-size: 16px;
    font-weight: 300;
}

.per-full_meta > .e-share {
    margin-right: auto;
}

.per-full_related {
    background: var(--bg2);
    padding: 30px;
    box-shadow: 0px 0px 20px rgb(0 0 0 / 20%);
    border-radius: var(--radius);
}

.per-full_related > span {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.per-full_related > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--text2);
    font-weight: 400;
    border-bottom: 1px solid #5f636b;
}

.per-full_related > a:hover {
    color: var(--color1);
}

.per-full_related > a i {
    color: var(--text3);
}

/* LABEL */
.label {
    display: inline-block;
    padding: 5px 10px;
    background: #8BC34A;
    box-shadow: 0px 2px 18px -3px rgb(139 195 74 / 58%);
    border-radius: 50px;
    color: var(--color3);
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.label.blue {
    background: #2e95a3;
    box-shadow: 0px 2px 18px -3px rgb(38 166 197 / 58%);
}

.label.red {
    background: #F44336;
    box-shadow: 0px 2px 18px -3px rgb(244 67 54 / 58%);
}

/* FOOTER */
footer {
    position: relative;
    background: #18191d;
    color: var(--color3);
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 20px;
    padding: 30px 0;
    font-size: 14px;
}

@media (max-width: 860px) {
    footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer-soc {
    display: flex;
    align-items: center;
    grid-gap: 10px;
}

.footer-soc a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 10px;
    background: var(--light);
    font-size: 14px;
    color: var(--color3);
}

.footer-soc a:hover {
    background: var(--color2);
}

.footer-tel {
    margin-top: 20px;
    color: #b3b3b3;
}

.footer-tel > a:first-child {
    display: block;
    color: var(--color3);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-menu {
}

.footer-menu span {
    display: block;
    color: #b3b3b3;
    font-size: 16px;
    font-weight: bold;
}

.footer-menu a {
    display: block;
    margin-top: 10px;
}

.footer-menu a:hover {
    color: #63b5f3;
}

footer .footer-copy {
    font-size: 12px;
    color: #b3b3b3;
    border-top: 1px solid var(--light);
}

.footer-copy span {
    margin-right: auto;
}

.footeras {
    padding: 10px 0;
}

.quote_link {
	float: right;
}
.quote_link svg {
	color: #6c838e;
	vertical-align: middle;
}