/* Post Aside - Start */
.post-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: calc(30% - 12px);
}
/* Ads Banner - Start */
.ads-banner-1 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: #06065f;
    border-radius: 12px;
    overflow: hidden;
}
.ads-banner-1:before {
    content: "";
    display: flex;
    position: absolute;
    top: -17px;
    right: -67px;
    width: 245px;
    height: 245px;
    background: url(/wp-content/themes/gosta/img/banners/banner-main.webp);
    background-repeat: no-repeat;
    background-position: 0% 0%;
    background-size: contain;
    z-index: 1;
}
.ads-banner-1 * {
    color: #fff;
    z-index: 2;
}
.ads-banner-1 .h3 {
    z-index: 100;
    position: relative;
}
.ads-banner-1 p {
    font-size: 16px;
    line-height: 24px;
    margin: 16px 0 48px 0;
}
.ads-banner-1 .huge-g {
    position: absolute;
    left: -6px;
    top: -77px;
    color: transparent;
    font-size: 180px;
    line-height: 1;
    -webkit-text-stroke: 1px #0000ef;
    z-index: 1;
}
/* Ads Banner - End */

/* Aside posts - Start */
.featured-articles,
.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.post-aside .post-card {
    width: 100%;
}
.post-aside .post-tags {
    position: relative;
    top: 0;
    left: 0;
}
.post-aside .post-card > .post-title {
    height: 60px;
}
/* Aside posts - End */

/* Sub banner - Start*/
.sub-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 24px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--blue);
    color: #fbfbfb;
}
.sub-banner .huge-g {
    position: absolute;
    right: 15px;
    bottom: 0px;
    -webkit-text-stroke: 0.7px #00ffce;
    color: transparent;
    font-size: 165px;
    line-height: 100%;
}
/* Sub banner - End*/

/* Share - Start */
.share-article {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.share-article a.btn {
    padding: 14px 24px;
    width: 100%;
}
.share-article img {
    height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}
.share-article a:hover img {
    filter: brightness(1) invert(0);
}
/* Share - End */

@media (max-width: 1279px) {
    .post-aside {
        width: 100%;
        padding-top: 0px;
        gap: 24px;
    }
    .post-aside > .ads-banner-1,
    .featured-articles,
    .popular-articles {
        display: none;
    }
    .ads-banner-1 {
        padding: 20px;
    }
    .ads-banner-1 .btn {
        width: 100%;
    }
    .ads-banner-1 .h3 {
        width: 280px;
        font-size: 20px;
        line-height: 24px;
    }
    .ads-banner-1 .huge-g {
        -webkit-text-stroke: 1px #0000ef;
        bottom: 155px;
    }
    .ads-banner-1 p {
        width: 140px;
    }
    .sub-banner {
        padding: 20px;
        order: 3;
    }
    .sub-banner .huge-g {
        right: -65px;
        top: -53px;
        font-size: 190px;
        -webkit-text-stroke: 1px #00ffce;
    }
    .sub-banner .h4 {
        margin-bottom: 0px;
    }
    .share-article {
        gap: 16px;
    }
}
/* Post Aside - End */

/* Converter side - Start */
.converter-side {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: calc(70% - 12px);
}
.convereter-currency {
    overflow: visible;
}
.converter-intro {
    gap: 32px;
}
.converter-col {
    padding: 32px 0;
    width: 100% !important;
    max-width: calc(100% - 0px) !important;
    margin: 0 !important;
}
.converter {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 24px;
    background: var(--gray);
    border-radius: 12px;
}
.converter .line {
    display: flex;
    gap: 24px;
}
.i-have-box,
.i-get-box,
.rate-box {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 50%;
}
.i-have-fields,
.i-get-fields {
    display: flex;
    gap: 8px;
}
.currency-selection,
.bank-selection {
    display: flex;
    position: relative;
}
.currency-selection img {
    object-fit: contain;
    min-width: 20px;
    height: fit-content;
}
.current-currency > span,
.currency-item > span {
    /* width: 43px; */
	width: 60px;
}
.current-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    height: 44px;
    padding: 0 11px 0 16px;
    background: #f0f0f6;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}
.current-currency {
    display: flex;
    align-items: center;
    gap: 6px;
}
.currency-lightbox {
    position: absolute;
    top: calc(44px + 8px);
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    height: auto;
    min-height: 44px;
    padding: 10px 11px 10px 16px;
    background: #f0f0f6;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: none;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 7px 15px 0 rgb(6 6 95 / 10%);
}
.current-box.active + .currency-lightbox {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.currency-arrow {
    display: flex;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.current-box.active .currency-arrow {
    transform: rotate(180deg);
}
.currency-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0px 0px 3px 0px;
}
.currency-item:not(:first-child) {
    padding: 3px 0px;
}
input {
    font-weight: 700;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    background: #f0f0f6;
    font-size: 18px;
    line-height: 22px;
    color: var(--dark-blue);
    outline: none;
    border: 1px solid var(--gray);
    border-radius: 8px;
}
input.readonly {
    cursor: default;
}
.change-icon {
    display: flex;
    align-items: flex-end;
    padding-bottom: 3px;
}
.lightbox-bank-item {
    display: flex;
    padding: 6px 6px;
    width: 100%;
    transition: all 0.1s ease-in-out;
}
.lightbox-bank-item.active,
.lightbox-bank-item:hover {
    color: #ffff;
    background: #0000ef;
    border-radius: 8px;
}
.empty-box {
    width: 34px;
}
.rate-line {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 50%;
    align-items: center;
    padding-top: 15px;
}
.rate-line .current-pair {
    display: flex;
    gap: 5px;
}
.last-time-update {
    display: flex;
    gap: 5px;
    margin-top: 16px;
    color: #9499ac;
}

/* Курс валют НБУ - Start */
.kurs-nbu-block {
    padding-bottom: 32px;
}
.kurs-nbu-block .container {
    gap: 24px;
    width: 100% !important;
    max-width: calc(100% - 0px) !important;
    margin: 0 !important;
}
.kurs-nbu-block .under-table {
    align-items: flex-start;
    margin-top: -8px;
}
.kurs-nbu-block .under-table p {
    font-size: 13px;
    line-height: 17px;
    color: #9499ac;
}
.kurs-nbu-block table tr th {
    min-width: 20%;
    width: 200px;
}
.kurs-nbu-block table tr td {
    min-width: 20%;
    width: 200px;
    text-align: center;
}
.kurs-nbu-block .valut-name {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.kurs-nbu-block .dynamic-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.kurs-nbu-block .dynamic-content img {
    display: none;
}
.kurs-nbu-block .dynamic-content.positive img.positive {
    display: block;
}
.kurs-nbu-block .dynamic-content.negative img.negative {
    display: block;
}
/* Курс валют НБУ - End */

/* Курс валют по міжбанку - Start */
.kurs-mizhbank-block {
    padding-bottom: 32px;
}
.kurs-mizhbank-block .container {
    gap: 24px;
    width: 100% !important;
    max-width: calc(100% - 0px) !important;
    margin: 0 !important;
}
.kurs-mizhbank-block .under-table {
    align-items: flex-start;
    margin-top: -8px;
}
.kurs-mizhbank-block .under-table p {
    font-size: 13px;
    line-height: 17px;
    color: #9499ac;
}
.kurs-mizhbank-block table tr th {
    min-width: 20%;
    width: 188px;
}
.kurs-mizhbank-block table tr td {
    min-width: 20%;
    width: 188px;
    text-align: center;
}
.kurs-mizhbank-block .valut-select-mizhbank {
    display: flex;
    gap: 16px;
}
/* Курс валют по міжбанку - End */

/* Курс валют в банках - Start */
.kurs-in-bank {
    padding-bottom: 32px;
}
.kurs-in-bank .container {
    gap: 24px;
    width: 100% !important;
    max-width: calc(100% - 0px) !important;
    margin: 0 !important;
}
.kurs-in-bank .valut-select-in-bank {
    display: flex;
    gap: 16px;
}
.kurs-in-bank table tr th,
.kurs-in-bank table tr td {
    min-width: 25%;
    width: 25%;
    text-align: center;
}
.valut-item {
    position: relative;
    cursor: pointer;
    padding-bottom: 5px;
}
.valut-item:before {
    content: "";
    display: flex;
    position: absolute;
    bottom: 0px;
    width: 70%;
    height: 2px;
    background: var(--blue);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.valut-item.active:before {
    opacity: 1;
}
.kurs-in-bank .bank-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    width: 125px;
    margin: 0 auto;
}
/* Курс валют в банках - End */

/* Курс готівка - Start */
.kurs-hotivka-block {
    padding-bottom: 0px;
}
.kurs-hotivka-block .container {
    gap: 24px;
    width: 100% !important;
    max-width: calc(100% - 0px) !important;
    margin: 0 !important;
}
.kurs-hotivka-block .under-table {
    align-items: center;
}
.kurs-hotivka-block table {
    display: table;
}
.kurs-hotivka-block table tr th,
.kurs-hotivka-block table tr td {
    min-width: 25%;
    width: 25%;
    text-align: center;
}
.kurs-hotivka-block .valut-name {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.kurs-hotivka-block .dynamic-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.kurs-hotivka-block .dynamic-content img {
    display: none;
}
.kurs-hotivka-block .dynamic-content.positive img.positive {
    display: block;
}
.kurs-hotivka-block .dynamic-content.negative img.negative {
    display: block;
}
/* Курс готівка - End */

/* Converter side - End */
.converter-side .sub-banner + blockquote {
    margin-bottom: 60px;
}
.converter-side .sub-banner .huge-g {
    right: 65px;
    bottom: 20px;
}
.converter-side .sub-banner .btn-group {
    margin-top: 5px;
}
@media (max-width: 1279px) {
    .converter-side {
        gap: 24px;
        width: calc(100% - 0px);
    }
    .converter-col {
        padding: 32px 0 0 8px;
    }
    .converter .line {
        gap: 8px;
        flex-direction: column;
    }
    .i-have-box,
    .i-get-box,
    .rate-box {
        width: 100%;
    }
    .change-icon {
        display: none;
    }
    .empty-box {
        display: none;
    }
    .last-time-update {
        margin-top: 10px;
        font-size: 12px;
    }
    .kurs-nbu-block .container,
    .kurs-mizhbank-block .container,
    .kurs-in-bank .container,
    .kurs-hotivka-block .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .kurs-nbu-block tr th:nth-child(2),
    .kurs-nbu-block tr td:nth-child(2) {
        display: none;
    }
    .kurs-nbu-block tr th:nth-child(3),
    .kurs-nbu-block tr td:nth-child(3) {
        display: none;
    }
    .under-table {
        align-items: center !important;
    }
    .kurs-nbu-block {
        padding-bottom: 8px;
    }
    .kurs-mizhbank-block tr th:nth-child(5),
    .kurs-mizhbank-block tr td:nth-child(5) {
        display: none;
    }
    .kurs-mizhbank-block tr th:nth-child(4) {
        border-top-right-radius: 12px;
    }
    table tr th {
        padding: 15px 15px;
    }
    table tr td {
        padding: 15px 15px;
    }
    .kurs-in-bank tr th:nth-child(4),
    .kurs-in-bank tr td:nth-child(4) {
        display: none;
    }
    .kurs-in-bank table tr th:nth-child(3) {
        border-top-right-radius: 12px;
    }
    .kurs-hotivka-block tr th:nth-child(4),
    .kurs-hotivka-block tr td:nth-child(4) {
        display: none;
    }
    .kurs-hotivka-block tr th:nth-child(3) {
        border-top-right-radius: 12px;
    }
    .sub-banner + blockquote:before {
        right: 12px;
        bottom: 10px;
        width: 20px;
        height: 80%;
    }
    .converter-side .sub-banner + blockquote {
        margin-bottom: 0;
    }
    .converter-side .sub-banner .huge-g {
        right: 20px;
        bottom: 10px;
        top: initial;
        width: 100px;
    }
    .post-aside {
        padding-bottom: 48px;
    }
}
