
* {
    font-family: 'Geologica', sans-serif;
}

.yf-container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

@media (min-width: 576px) {
    .yf-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .yf-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .yf-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .yf-container {
        max-width: 1140px;
    }
}

.news-first-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.news-first-item:hover {
    .news-tag {
        background: #FF763F;
        color: white;
    }
    text-decoration: none !important;
    h2 {
        color: #FF763F;
    }
    .news-first-preview{
        color: #FF763F;
    }
}

.news-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #FF763F;
    background: #FFFFFFCC;
    letter-spacing: -0.03em;
    padding: 6px 18px 8px 18px;
    border-radius: 40px;
    font-size: 24px;
    line-height: 1em;
    font-weight: 400;
}

.news-first-image {
    flex: 2;
    .news-tag {
        line-height: 30px;
    }
}

.news-first-image {
    position: relative;
    display: flex;
}

.news-first-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 30px;
}

.news-first-content .news-first-preview{
    color: #222222;
    font-size: 19px;
    letter-spacing: -0.02em;
    line-height: 140%;
    font-weight: 300;
    padding-top: 10px;
}
.news-first-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-first-content h2 {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin: 0;
    color: #222222;
}


.news-first-date {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #858585;
    padding-top: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 40px;
}

.news-grid-item {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news-grid-item:hover {
    .news-tag {
        background: #FF763F;
        color: white;
    }
    text-decoration: none !important;
    h3 {
        color: #FF763F;
    }
    .news-grid-preview{
        color: #FF763F;
    }
}
.news-grid-image {
    position: relative;
}

.news-grid-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 30px;
}

.c-news-tags-wrapper {
    margin-bottom: 30px;
}

.c-news-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.c-news-tags-item a:hover {
    text-decoration: none;
}
.c-news-tags-item a
{
    background: transparent;
    border: 1px solid #858585;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #222222;
    font-size: 24px;
    transition: all 0.3s ease;
    letter-spacing: -0.03em;
}

.c-news-tags-item:first-child a,
.c-news-tags-item:first-child {
    background: #FF763F;
    color: white;
    border-color: #FF763F;
    border-radius: 12px;
}

.c-news-tags-item a:hover {
    border-color: #FF763F;
    color: #FF763F;
    text-decoration: none;
}

.c-news-tags-item:first-child a:hover {
    color: white;
    border-color: #FF763F;
}

.c-news-tags-item a.active {
    background: #FF763F;
    color: white;
    border-color: #FF763F;
}

.c-news-tags-sort {
    position: relative;
}

.sort-button {
    background: transparent;
    border: 1px solid #FF763F;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FF763F;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.03em;
}

.sort-button:hover {
    border-color: #FF763F;
    color: #FF763F;
}

.sort-button:active,
.sort-button.active {
    background: #FF763F;
    color: white;
    border-color: #FF763F;
}

.sort-button.active {
    background: #FFEAE2;
    color: #FF763F;
}

.sort-button svg {
    transition: transform 0.3s ease;
}

.sort-button.active svg {
    transform: rotate(180deg);
}

.sort-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    width: 246px;
}

.sort-dropdown.show {
    display: block;
}

.sort-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #222222;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.sort-option svg {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sort-option.active svg {
    opacity: 1;
}

.sort-option:hover {
    color: #FF763F;
}

.sort-option:first-child {
    border-radius: 12px 12px 0 0;
}

.sort-option:last-child {
    border-radius: 0 0 12px 12px;
}

.news-grid-content {

    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-grid-item h3 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.03em;
    margin: 0;
}

.news-grid-preview {
    color: #222222;
    font-size: 19px;
    line-height: 140%;
    letter-spacing: -0.02em;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    padding-top: 12px;
    p {
        margin: 0;
    }
}

.news-grid-date {
    color: #858585;
    font-size: 15px;
    line-height: normal;
    letter-spacing: -0.02em;
    margin-top: auto;
    padding-top: 16px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .news-first-item {
        flex-direction: column;
    }

    .news-first-image {
        flex: none;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

.news-load-more {
    text-align: center;
    margin-top: 112px;
}

.load-more-btn {
    background: #222222;
    color: white;
    border: none;
    border-radius: 40.5px;
    padding: 17px 106px;
    cursor: pointer;
    font-size: 24px;
    letter-spacing: -0.03em;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #222222CC;
}


.btn-style {
    border: none;
    border-radius: 40.5px;
    padding: 17px 40px;
    cursor: pointer;
    font-size: 24px;
    letter-spacing: -0.03em;
    line-height: normal;
    font-weight: 400;
    transition: opacity 0.3s ease;
    margin-top: 0px;
    height: fit-content;
    width: fit-content;
    margin-top: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    &:hover {
        text-decoration: none;
    }
}
.secondary-btn{
    background: #222222;
    color: white;
    &:hover {
        color: white;
        background: #404040;
    }
}

.block-partner-banner p{
    font-size: 30px;
    line-height: normal;
    letter-spacing: -0.02em;
    margin: 0;
}
.block-partner-banner .block-partner-banner-title{
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -0.04em;
    font-weight: 500;
    max-width: 840px;
}
.block-partner-banner .block-partner-banner-bg1{
    background-image: url('/images/letter.png');
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 200px;
    height: 200px;
    right: 48px;
    top: 60px;
    background-size: contain;
}
.block-partner-banner .block-partner-banner-bg2{
    background-image: url('/images/rupor.png');
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 280px;
    height: 280px;
    right: 100px;
    bottom: -28px;
    background-size: contain;
}
.block-partner-banner {
    background-color: #FF763F;
    color: white;
    position: relative;
    margin-top: 78px;
    padding: 60px 48px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.news-block a {
    text-decoration: none;
}
@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .load-more-btn {
        border-radius: 40px;
        padding: 17px 0px;
        font-size: 20px;
        width: 100%;
    }
    .news-tag{
        font-size: 20px;
    }

    .news-first-image {
        .news-tag {
            line-height: 100%;
        }
    }
        .news-first-content .news-first-preview{
        padding-top: 12px;
    }
    .news-first-date{
        padding-top: 16px;
    }
}


.c-news-tags-mobile-dropdown,
.c-news-tags-mobile-sort {
    display: none;
}
.news-grid{
    .news-tag {
        font-size: 20px;
    }
    .news-grid-content{
        font-size: 32px;
    }
}
@media (max-width: 991px) {
    .news-first-image img{
        height: 240px;
    }
    .c-news-tags-wrapper {
        justify-content: space-between;
    }

    .c-news-tags-mobile-dropdown,
    .c-news-tags-mobile-sort {
        display: block;
        position: relative;
        flex: 1;
    }

    .c-news-tags-mobile-sort {
        margin-left: 10px;
    }

    .c-news-tags-item {
        display: none;
    }

    .mobile-tags-button  {
        border: 1px solid transparent;
        background: #FF763F;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 75%;
        border: none;
        width: auto;
        font-size: 16px;
        padding: 13px 15px;
        line-height: 20px;
        letter-spacing: -0.03em;
        white-space: nowrap;
        border-radius: 10px;

        svg {
            flex-shrink: 0;
            width: 16px;
            height: 16px;
        }
    }

    .mobile-sort-button {
        background: none;
        border: none;
        box-shadow: inset 0 0 0 1px #FF763F;
        color: #FF763F;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: auto;
        position: absolute;
        right: 0;
        padding: 13px 15px;
        line-height: 20px;
        font-size: 16px;
        letter-spacing: -0.03em;
        white-space: nowrap;
        border-radius: 10px;
        svg {
            flex-shrink: 0;
            width: 16px;
            height: 16px;
        }
    }

    .mobile-tags-dropdown,
    .mobile-sort-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #ddd;
        border-radius: 10px;
        z-index: 10;
    }

    .mobile-tags-dropdown a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        text-decoration: none;
        border-bottom: 1px solid #eee;
        gap: 8px;
        font-size: 16px;
        letter-spacing: -0.03em;
        color: #222222;
        transition: all 0.3s ease;
        &:hover {
            color: #FF763F;
            text-decoration: none;
        }
    }
    .sort-option {
        font-size: 16px;
        letter-spacing: -0.03em;
        gap: 8px;
        padding: 8px 16px;
    }
    .mobile-tags-dropdown a:last-child {
        border-bottom: none;
    }

    .mobile-tags-dropdown a svg,
    .mobile-sort-dropdown .sort-option svg {
        opacity: 0;
    }

    .mobile-tags-dropdown a.active svg,
    .mobile-sort-dropdown .sort-option.active svg {
        opacity: 1;
    }
    .newsBlock .intec-content {
        padding: 0 12px;
    }

    .block-partner-banner {
        margin-top: 60px;
        padding: 23px;
        height: auto;
    }
    .block-partner-banner .block-partner-banner-bg1 {
        top: 23%;
        right: -12px;
        width: 120px;
        height: 120px;
    }
    .block-partner-banner p {
        font-size: 16px;
    }
    .block-partner-banner .block-partner-banner-bg2{
        width: 100px;
        height: 100px;
        right: -28px;
        bottom: 12%;
        background-size: contain;
    }
    .block-partner-banner{
        .block-partner-banner-title{
            font-size: 32px;
            line-height: 120%;
            max-width: 100%;
        }
        .btn-style{
            font-size: 20px;
            padding: 19.5px 40px;
        }
    }
    .news-load-more {
        margin-top: 40px;
    }
    .newsBlock h2 {
        font-size: 32px;
        line-height: 40px;
        margin-top: 0;
    }
    .news-first-content{
        h2 {
            font-weight: 400;
        }
    }
}
/*  Блок "Будь в курсе новостей" */
.telegram-subscribe {
    background: #FF763F;
    border-radius: 30px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    padding: 36px;
    text-align: left;
    position: relative;
    overflow: hidden;
    background-image: url('/images/svg/Union.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 170px auto;

    h3 {
        color: white;
        font-size: 32px;
        line-height: 40px;
        margin: 0;
        letter-spacing: -0.03em;
    }
    p {
        color: white;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0em;
        margin: 0;
        width: 220px;
        padding-top: 24px;
    }

    .telegram-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        background: white;
        color: #222222;
        padding: 12px 20px;
        border-radius: 40px;
        text-decoration: none;
        font-size: 24px;
        line-height: normal;
        letter-spacing: -0.03em;
        font-weight: 400;
        transition: all 0.3s ease;
        background-image: url('/images/svg/icon_telegram.svg');
        background-repeat: no-repeat;
        background-position: 7px center;
        background-size: 46px;
        padding-left: 60px;
        align-self: center;
        width: fit-content;
        height: 64px;
        letter-spacing: -0.72px;
        margin-top: 40px;
        margin-right: auto;

        &:hover{
            background-color: #ffffffCC;
            transform: translateY(-2px);
            text-decoration: none;
        }
    }
}

@media (max-width: 991px) {
    .telegram-subscribe{
        padding: 23px;
        h3 {
            font-size: 26px;
            line-height: 130%;
        }
        p {
            font-size: 16px;
            line-height: 140%;
            padding-top: 20px;
        }
        .telegram-btn{
            margin-top: 32px;
            font-size: 20px;
            line-height: normal;
        }
    }
}
.breadcrumb-wrapper-2{
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: calc(100%) !important;
    .scroll-content{
        padding-bottom: 0px !important;
    }
}
.intec-content-wrapper:has(#pagetitle){
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.breadcrumb-item,.breadcrumb-separator{
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0em;
    color: #858585 !important;
}
.breadcrumb-item .breadcrumb-link {
    color: #858585 !important;
}
.breadcrumb-item .intec-cl-text{
    color: #222222 !important;
}
.breadcrumb-item span {
    white-space: pre-line;
}
.intec-template-breadcrumb{
    margin-top: 48px !important;
    margin-bottom: 32px !important;
}
.intec-template-title{
    display: none !important;
}
@media (max-width: 991px) {
    .intec-content-wrapper:has(#pagetitle){
        margin-left: 12px !important;
        margin-right: 12px !important;
    }
    .breadcrumb-item,.breadcrumb-separator{
        font-size: 16px;
        line-height: 140%;
    }
    .intec-template-breadcrumb{
        margin-top: 32px !important;
        margin-bottom: 24px !important;
    }
}
#company-articles-id__partner{
    margin-top: 60px;
}

@media (max-width: 991px) {
    #company-articles-id__partner{
      margin-top: 60px;
    }
}
.company-articles-id__partner {
  .description{
    max-width: calc(100% - 380px) !important;
  }
  .title {
    max-width: calc(100% - 380px) !important;
  }

  #svg-letter {
      width: 200px !important;
      height: 200px !important;
      right: 48px !important;
      top: 60px !important;
  }
  #svg-rupor {
      width: 280px !important;
      height: 280px !important;
      right: 100px !important;
      bottom: -28px !important;
  }
  .link {
  }
}
@media (max-width: 991px) {
  .company-articles-id__partner{
    #svg-letter {
      top: 23% !important;
      right: -12px !important;
      width: 120px !important;
      height: 120px !important;
    }
    #svg-rupor{
      width: 100px !important;
      height: 100px !important;
      right: -28px !important;
      bottom: 12% !important;
    }
    .description {
      max-width: calc(100% - 90px) !important;
    }
    .title{
      max-width: calc(100% - 90px) !important;
    }
    .link{
    }
  }
}
.intec-template .intec-template-layout-page-wrapper{
    margin-bottom: 96px !important;
}
@media (max-width: 991px) {
    .intec-template .intec-template-layout-page-wrapper{
        margin-bottom: 60px !important;
    }
}