﻿#news {
    /*    background-image: url(~/assets/layout//news-section//bg.webp);
    background-size: cover;
    background-repeat: no-repeat;*/
}

.news-wrapper {
    margin: auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.news-text {
    font-family: var(--font-title);
    color: var(--text-title-color);
    font-size: 60px;
    text-align: center;
    margin: 0;
}

.news-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    text-decoration: none;
    color: inherit;
    transform: scale(1.01)
}

.news-img {
    width: 90%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.news-title {
    margin-top: 0.5rem;
    font-size: 17px;
    font-weight: bold;
    color: var(--text-title-color);
    text-align: justify;
    width: 100%;
    padding: 0 2rem;
}

.news-content {
    margin-top: 0.25rem;
    padding: 0 2rem;
}

.custom-tabs {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

.custom-tabs .nav-link {
    color: var(--text-title-color);
    font-size: 9px;
    padding: 4px 8px;
    border-radius: 2rem;
    margin-right: 0.5rem;
    transition: 0.3s;
}

.custom-tabs .nav-link.active {
    background-color: var(--text-title-color);
    color: #fff;
}

.nav-item {
    z-index: 15;
}

.tab-content {
    padding: 2rem 0;
}

.swiper-wrapper {
    margin-bottom: 2rem
}


.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 1;
    background-color: #F1E8CF !important;
    transition: transform 0.3s;
    z-index: 100;
}

.swiper-pagination-bullet-active {
    transform: scale(1.3);
    background-color: var(--text-title-color) !important;
}

.inspi-tree-right {
    position: absolute;
    top: -10%;
    right: 0;
    background-image: url('/assets/layout/designinspiration-component/tree_right.webp');
    background-repeat: no-repeat;
    width: 100vw;
    height: 100%;
    background-size: 20% auto;
    background-position: right top;
    z-index: -10;
    transition: 0.1s;
    pointer-events: none;
}

@media (min-width: 768px) {
    .custom-tabs .nav-link {
        font-size: 10px;
    }

    .inspi-tree-right {
        top: -20%;
        background-size: 22% auto;
    }
}

@media (min-width: 992px) {
    .custom-tabs .nav-link {
        font-size: 12px;
    }

    .inspi-tree-right {
        top: -40%;
        background-size: 18% auto;
    }
}