.main {
    padding-top: 60px;
}


.news-single__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

@media (max-width: 991px) {
    .news-single__grid {
        grid-template-columns: 1fr;
    }
}




.news-single__grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.news__title {
    margin-bottom: 20px;
    text-align: left;
}

.news-single__image {
    margin-bottom: 30px;
}

.news-single__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.news-single__navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;

    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.news-single__navigation a {
    text-decoration: none;
}

.sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    height: fit-content;
}

.sidebar__title {
    margin-bottom: 20px;
    font-size: 20px;
}

.sidebar__recent {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar__post-item {
    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;
    color: inherit;

    transition: opacity .2s ease;
}

.sidebar__post-item:hover {
    opacity: .7;
}

.sidebar__post-image {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;

    overflow: hidden;
    border-radius: 6px;
}

.sidebar__post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar__post-title {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .news-single {
        padding: 40px 0;
    }

    .news-single__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sidebar {
        order: 2;
    }

    .news-single__content {
        order: 1;
    }

    .news-single__navigation {
        flex-direction: column;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 576px) {

    .news-single {
        padding: 30px 0;
    }

    .news__title {
        font-size: 28px;
        line-height: 1.2;
    }

    .sidebar {
        padding: 15px;
    }

    .sidebar__post-item {
        align-items: flex-start;
    }

    .sidebar__post-image {
        flex: 0 0 50px;
        width: 50px;
        height: 50px;
    }

    .sidebar__post-title {
        font-size: 13px;
    }

    .news-single__navigation {
        margin-top: 40px;
        padding-top: 20px;
    }

}
/* Pagination */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #ff4d00;
    color: #fff;
    border-color: #ff4d00;
}

.news-single {
    padding-bottom: 60px;
}

.news-single__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

@media (max-width: 991px) {
    .news-single__grid {
        grid-template-columns: 1fr;
    }
}

.article__content {
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}

.article__content h2, 
.article__content h3 {
    margin: 30px 0 15px;
}

.article__content p {
    margin-bottom: 15px;
}

.article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.article__content ul, 
.article__content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}


.article__content a {
    color: #ff4d00;
}

.article__content:hover a{
color: #ff4d00;
}


.sidebar {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    height: fit-content;
}

.sidebar__post-item:hover span {
    color: #ff4d00;
}


/* Pagination */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination .page-numbers.current {
    background: #ff4d00;
    color: #fff;
    border-color: #ff4d00;
}


.news-archive__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

@media (max-width: 991px) {
    .news-archive__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.news-archive__main {
    display: flex;
    flex-direction: column;
}

.news-archive__title {
    margin-bottom: 30px;
}

.news-archive__posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .news-archive__posts {
        grid-template-columns: 1fr;
    }
}

.news-archive__sidebar {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

@media (max-width: 991px) {
    .news-archive__sidebar {
        position: static;
        order: -1;
    }
}

.sidebar__title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.sidebar__recent {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar__post-item {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.sidebar__post-item:hover {
    background: #fff;
}

.sidebar__post-thumb {
    flex: 0 0 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
}

.sidebar__post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar__post-title {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
}

/* 404 Page */
.error-404 {
    padding: 100px 0;
    text-align: center;
    margin: auto;
}

.error-404__container {
    display: grid;
    align-items: center;
}



.error-404__title {
    font-size: 120px;
    font-weight: 700;
    color: #ff4d00;
    margin-bottom: 20px;
}

.error-404__text {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.error-404__description {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.error-404__btn {
    display: inline-block;
    padding: 15px 30px;
    background: #ff4d00;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.error-404__btn:hover {
    background: #e64500;
}

.error-404__image img {
    max-width: 100%;
    height: auto;
}
@media screen and (max-width:640px) {
    .main {
    padding-top: 37px;
}
}
.card__gallery .swiper-wrapper {
    height: auto !important;
}
.breadcambs__list {
    flex-wrap: wrap;
}
.technics-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.technics-modal.active {
    display: flex;
}

.technics-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}

.technics-modal__content {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    z-index: 2;
}

.technics-modal__title {
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
}

.technics-order-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.technics-order-form input,
.technics-order-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
}

.technics-order-form textarea {
    min-height: 120px;
    resize: vertical;
}

.technics-order-form button {
    height: 55px;
	max-width: 200px;
    width: 100%;
	margin: auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 12px;
    background: #111;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.technics-order-form button.is-loading {
    pointer-events: none;
    opacity: .92;
}

.technics-order-form button.is-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: luckyrent-order-spin .75s linear infinite;
    flex: 0 0 16px;
}

.card-item[data-technics-modal] {
    width: 100%;
    border: 0;
    padding: 16px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
}

.technics-order-form button:hover {
    opacity: .9;
}

@keyframes luckyrent-order-spin {
    to {
        transform: rotate(360deg);
    }
}

.technics-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f3f3f3;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
}
.technics-selected {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 12px;
    background: #f5f5f5;
    font-size: 15px;
}

.technics-selected__title {
    font-weight: 700;
}
.technics-order-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.technics-order-form select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.technics-order-form select:focus {
    outline: none;
    border-color: #111;
}
.technics-modal__message {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
}

.technics-modal__message[hidden] {
    display: none !important;
}

.technics-modal__message.is-success {
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.08), rgba(255, 153, 46, 0.16));
    border: 1px solid rgba(255, 77, 0, 0.18);
    color: #1f1f1f;
    box-shadow: 0 18px 40px rgba(255, 77, 0, 0.12);
}

.technics-modal__message.is-error {
    background: #fff1f1;
    border: 1px solid #f4b5b5;
    color: #9f1f1f;
}

.technics-modal__success-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d00, #ff8a1e);
    box-shadow: 0 10px 24px rgba(255, 77, 0, 0.24);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1.6;
    font-weight: 700;
}

.technics-modal__success-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.technics-modal__success-text {
    font-size: 15px;
    line-height: 1.5;
}

.technics-modal__success-id {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    font-size: 12px;
    font-weight: 700;
}

.technics-modal__success-button {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4d00, #ff8a1e);
    color: #fff;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 10px 24px rgba(255, 77, 0, 0.22);
    transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.technics-modal__success-button:hover {
    transform: translateY(-1px);
    opacity: 1;
    box-shadow: 0 14px 28px rgba(255, 77, 0, 0.28);
}

.technics-modal__message.is-error {
    grid-template-columns: 1fr;
}

/* Стиль для опций (выпадающего списка) */
.technics-order-form select option {
    padding: 12px;
    font-size: 16px;
}
/* ========== СТИЛИ ДЛЯ СОЦСЕТЕЙ ========== */
.technics-modal__socials {
    text-align: center;
    padding: 10px 0;
    flex-direction: column;
}

.technics-socials__title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.technics-socials__subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.technics-socials__links {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.technics-social-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.technics-social-link:hover {
    transform: translateY(-5px);
}

.technics-social-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s ease;
}

.technics-social-icon--whatsapp {
    background: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.technics-social-icon--whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.technics-social-icon--telegram {
    background: #0088cc;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.technics-social-icon--telegram:hover {
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.technics-social-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Адаптив для соцсетей на маленьких экранах */
@media (max-width: 768px) { 
	.technics-order-form {
		display: none;
	}
}
@media (max-width: 480px) {    
    .technics-socials__title {
        font-size: 18px;
    }
    
    .technics-socials__subtitle {
        font-size: 12px;
    }
    
    .technics-social-name {
        font-size: 12px;
    }
    
    .technics-socials__links {
        gap: 20px;
    }
}