@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #030912;
    --panel: #0b1c2e;
    --navy: #071827;
    --blue: #1689ee;
    --blue-light: #45aaff;
    --text: #f2f7ff;
    --muted: #a8b6c7;
    --border: rgba(120, 174, 224, 0.22);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
/* انتخاب دفتر در بخش ارتباط با ما */

.office-selector {
    margin-top: 25px;
}

.office-options {
    width: 100%;
}

.office-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.office-btn {
    flex: 1;
    padding: 11px 18px;
    background: #071827;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.office-btn:hover {
    border-color: var(--blue-light);
    transform: translateY(-3px);
}

.office-btn.active {
    background: linear-gradient(135deg, #1689ee, #07549d);
    border-color: var(--blue-light);
    color: white;
    box-shadow: 0 5px 18px #1689ee35;
}

.office-details {
    margin-top: 22px;
    padding: 20px;
    background: #06111e;
    border: 1px solid var(--border);
    border-radius: 12px;
    animation: officeFade 0.35s ease;
}

.office-info {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.office-info + .office-info {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.office-info > span {
    font-size: 22px;
    color: var(--blue-light);
}

.office-info strong {
    display: block;
    color: var(--blue-light);
    font-size: 12px;
    margin-bottom: 5px;
}

.office-info p {
    color: #d5e0ee;
    font-size: 12px;
    line-height: 2.2;
    overflow-wrap: anywhere;
}

@keyframes officeFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
body {
    background: var(--bg);
    color: var(--text);
    font-family: "Vazirmatn", Tahoma, sans-serif;
    line-height: 1.9;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}


/* HEADER */

.header {
    height: 78px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 9, 18, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 43px;
    height: 43px;
    border: 2px solid var(--blue-light);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--blue-light);
    font-size: 24px;
    font-weight: 800;
   
}

.logo-text {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    direction: ltr;
    text-align: left;
}

.logo-text small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
}

.navbar > a,
.dropdown-title {
    color: #dbe6f5;
    transition: color 0.25s;
}

.navbar > a:hover,
.dropdown-title:hover {
    color: var(--blue-light);
}

.dropdown {
    position: relative;
}

.dropdown-title {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 15px;
    width: 270px;
    z-index: 10;
}

.dropdown-menu a {
    display: block;
    padding: 12px;
    background: #08182a;
    border: 1px solid var(--border);
    font-size: 12px;
}

.dropdown-menu a:first-child {
    border-radius: 10px 10px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 10px 10px;
}

.dropdown-menu a:hover {
    background: #123455;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.menu-toggle {
    width: 39px;
    height: 39px;
    border: 1px solid var(--border);
    background: transparent;
    color: white;
    border-radius: 10px;
    font-size: 20px;
}

.menu-toggle {
    display: none;
    border-radius: 10px;
}


/* HERO */

.hero {
    min-height: 570px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(3, 9, 18, 0.05) 0%,
            rgba(3, 9, 18, 0.35) 45%,
            rgba(3, 9, 18, 0.85) 100%
        ),
        center / cover;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 70px;
    padding-bottom: 70px;
}

.eyebrow {
    color: var(--blue-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.5;
    margin: 12px 0 0;
    font-weight: 800;
}

.hero h1 span {
    color: var(--blue-light);
}

.hero h2 {
    font-size: 18px;
    margin-top: 6px;
}

.hero-slogan {
    font-size: 23px;
    font-weight: 700;
    margin-top: 22px;
}

.hero-description {
    max-width: 560px;
    color: #c5d2e2;
    margin-top: 12px;
    font-size: 14px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 11px 23px;
    border-radius: 9px;
    border: 1px solid var(--blue);
    background: linear-gradient(135deg, #1689ee, #07549d);
    color: white;
    font-weight: 700;
    font-size: 12px;
    transition: 0.25s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px #1689ee40;
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 38px;
}

.slider-controls > button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    background: #071827bb;
    color: white;
    border-radius: 50%;
}

.slider-dots {
    display: flex;
    gap: 7px;
}

.dot {
    width: 25px;
    height: 5px;
    border: none;
    border-radius: 8px;
    background: #43566b;
}

.dot.active {
    background: var(--blue-light);
}


/* FEATURES */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    margin-top: -30px;
    z-index: 2;
    background: linear-gradient(135deg, #0c2035, #07111e);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 18px;
    border-left: 1px solid var(--border);
}

.feature:last-child {
    border-left: none;
}

.feature-icon {
    font-size: 30px;
    color: var(--blue-light);
}

.feature h3 {
    font-size: 15px;
    margin: 8px 0 4px;
}

.feature p {
    color: var(--muted);
    font-size: 12px;
}


/* GENERAL SECTIONS */

.section {
    padding: 85px 0;
}

.section-dark {
    background: #06111e;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
}

.about-image {
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2,
.product-detail h2,
.contact-information h2 {
    font-size: clamp(25px, 3vw, 35px);
    line-height: 1.6;
    margin: 8px 0 15px;
}

.about-content p,
.contact-information > p {
    color: #b9c7d8;
    font-size: 13px;
    margin-bottom: 14px;
}

.about-content .btn {
    margin-top: 10px;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading h2 {
    font-size: clamp(25px, 3vw, 36px);
    margin: 7px 0;
}

.section-heading > p {
    color: var(--muted);
    font-size: 13px;
}


/* TEAM */

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.team-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: 0.25s;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
}

.team-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.team-card h3 {
    font-size: 13px;
    margin: 12px 5px 0;
}

.team-card p {
    color: var(--blue-light);
    font-size: 11px;
    margin: 0 5px 13px;
}


/* PRODUCTS */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.product-card,
.content-card {
    overflow: hidden;
    background: linear-gradient(145deg, #0d2136, #07111e);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: 0.25s;
}

.product-card:hover,
.content-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 15px 35px #0004;
}

.product-card > img,
.product-card > a > img {
    width: 100%;
    height: 240px;
    display: block;
    object-fit: cover;
}

.product-content {
    padding: 22px;
}

.product-content h3,
.content-card h3 {
    font-size: 17px;
    margin: 8px 0;
}

.product-content p,
.content-card p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 15px;
}

.text-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-light);
}

.text-link:hover {
    color: white;
}


/* PRODUCT DETAILS */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-detail > div > p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 12px;
}

.detail-list {
    list-style: none;
    margin-top: 20px;
}

.detail-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.detail-list li::before {
    content: "✓";
    color: var(--blue-light);
    margin-left: 10px;
}

.specifications {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 24px;
}

.specifications h3 {
    margin-bottom: 15px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

.spec-row span {
    color: var(--muted);
}

.spec-row strong {
    text-align: left;
}

.small-note {
    font-size: 10px !important;
    margin-top: 15px !important;
}


/* ARTICLES */

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.content-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-card-body {
    padding: 20px;
}

.category {
    color: var(--blue-light);
    font-size: 11px;
}


/* NEWS */

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

.news-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 23px;
}

.news-date {
    color: var(--blue-light);
    font-size: 11px;
}

.news-card h3 {
    font-size: 15px;
    margin: 10px 0;
}

.news-card p {
    font-size: 12px;
    color: var(--muted);
}


/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.contact-information,
.contact-form {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 22px;
}

.contact-item > span {
    color: var(--blue-light);
    font-size: 23px;
}

.contact-item strong {
    display: block;
    font-size: 12px;
    color: var(--blue-light);
}

.contact-item p,
.contact-item a {
    font-size: 12px;
    color: #d5e0ee;
    overflow-wrap: anywhere;
}

.contact-form h3 {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    background: #06111e;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    padding: 12px;
    margin-bottom: 16px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue-light);
}

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

#formMessage {
    color: #6ee7b7;
    font-size: 12px;
    margin-top: 12px;
}


/* FOOTER */

.footer {
    background: #040b14;
    border-top: 1px solid var(--border);
    padding: 35px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr 1fr;
    align-items: center;
    gap: 25px;
}

.footer-logo .logo-icon {
    width: 37px;
    height: 37px;
    font-size: 20px;
}

.footer-social h3 {
    font-size: 12px;
    margin-bottom: 10px;
}

.socials {
    display: flex;
    gap: 9px;
}

.socials a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 12px;
    transition: 0.2s;
}

.socials a:hover {
    background: var(--blue);
}

.footer-contact {
    color: var(--muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.footer-contact p {
    margin-bottom: 8px;
}

.copyright {
    color: #718398;
    font-size: 10px;
    text-align: center;
    border-top: 1px solid #ffffff12;
    margin-top: 28px;
    padding-top: 16px;
}




/* RESPONSIVE */

@media (max-width: 1050px) {

    .navbar {
        gap: 12px;
        font-size: 11px;
    }

    .logo-text {
        font-size: 11px;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 760px) {

    .header {
        height: 70px;
        gap: 10px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }

    .logo-text {
        font-size: 10px;
    }

    .logo-text small {
        font-size: 8px;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        display: none;
        position: absolute;
        top: 69px;
        right: 4%;
        left: 4%;
        background: #061322;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 12px;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .navbar.open {
        display: flex;
    }

    .navbar > a,
    .dropdown-title {
        display: block;
        padding: 10px;
    }

    .dropdown-menu {
        position: static;
        display: block;
        width: 100%;
        padding: 0 8px 8px;
    }

    .dropdown-menu a {
        border-radius: 7px !important;
    }

    .hero {
        min-height: 540px;
        background-position: 35% center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-slogan {
        font-size: 19px;
    }

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

    .feature {
        border-left: 0;
        border-bottom: 1px solid var(--border);
    }

    .feature:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 55px 0;
    }

    .about-grid,
    .product-detail,
    .product-grid,
    .content-grid,
    .news-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card img {
        height: 160px;
    }

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

}

@media (max-width: 430px) {

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

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

    .hero h1 {
        font-size: 29px;
    }

    .hero-description {
        font-size: 12px;
    }

    .contact-information,
    .contact-form {
        padding: 20px;
    }

}

/* راست‌چین کردن بخش بسته‌بندی محصولات */
.wp-block-list {
    direction: rtl;
    text-align: right;
    list-style: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* حذف علامت‌های لیست */
.wp-block-list li {
    list-style: none !important;
    text-align: right;
}

/* حذف فاصله اضافی آیتم‌ها */
.wp-block-list li::marker {
    content: "";
}

/* نمایش فقط صفحه انتخاب‌شده */
.page {
    display: none;
    min-height: calc(100vh - 72px);
}

/* صفحه فعال */
.page.active {
    display: block;
}

/* جلوگیری از اسکرول افقی */
html,
body {
    overflow-x: hidden;
}
.feature {
    transition: transform 0.35s ease;
    position: relative;
    z-index: 1;
}

.feature:hover {
    transform: scale(1.05);
    z-index: 2;
}


@keyframes typingReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* حالت اولیه؛ عناصر هنوز نمایش داده نمی‌شوند */
.about-animate {
    opacity: 0;
    transform: translateY(40px);
}
/* ================= اخبار صفحه اصلی ================= */

.home-news-section {
    overflow: hidden;
}

.news-slider {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.news-window {
    width: 100%;
    overflow: hidden;
    direction: ltr;
}

.news-track {
    display: flex;
    gap: 18px;
    direction: rtl;
    transition: transform 0.55s ease;
}

.home-news-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 13px;
    transition: 0.3s;
    direction: rtl;
}

.home-news-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue);
    box-shadow: 0 12px 30px #0005;
}

.home-news-card img {
    display: block;
    width: 100%;
    height: 205px;
    object-fit: cover;
}

.home-news-content {
    padding: 20px;
}

.home-news-content h3 {
    font-size: 15px;
    line-height: 1.9;
    margin: 9px 0;
    color: var(--text);
}

.home-news-content p {
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
    min-height: 48px;
    margin-bottom: 16px;
}

.news-arrow {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--panel);
    color: var(--blue-light);
    font-size: 17px;
    cursor: pointer;
    transition: 0.25s;
}

.news-arrow:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.news-bottom {
    text-align: center;
    margin-top: 30px;
}

.news-all-btn {
    display: inline-block;
}

.news-detail {
    max-width: 900px;
    margin: 35px auto 0;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
}

.news-detail > img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.news-detail-content {
    padding: 35px;
}

.news-detail-content h1 {
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.8;
    margin: 12px 0 25px;
}

.news-detail-content p {
    color: var(--muted);
    font-size: 14px;
    line-height: 2.5;
    margin-bottom: 16px;
}

.news-back-btn {
    cursor: pointer;
    margin-bottom: 15px;
}


/* ================= واکنش‌گرایی اخبار ================= */

@media (max-width: 900px) {

    .home-news-card {
        flex-basis: calc((100% - 18px) / 2);
    }

}

@media (max-width: 600px) {

    .home-news-card {
        flex-basis: 100%;
    }

    .news-slider {
        gap: 7px;
    }

    .news-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .home-news-card img {
        height: 190px;
    }

    .news-detail > img {
        height: 240px;
    }

    .news-detail-content {
        padding: 20px;
    }

}
.news-detail-btn {
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    padding: 5px 0;
}

.news-detail-btn:hover {
    color: white;
}
/* اصلاح نهایی بخش اخبار صفحه اصلی */

#page-home .home-news-section {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 90px 0 0;
    padding: 80px 0;
    box-sizing: border-box;
    clear: both;
}

#page-home .home-news-section > .container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

#page-home .home-news-section .section-heading {
    text-align: center;
    margin-bottom: 45px;
}

#page-home .news-slider {
    width: 100%;
    display: flex;
}

#page-home .news-window {
    flex: 1;
    min-width: 0;
}
/* تصاویر اخبار در صفحه اخبار */

.archive-news-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    margin-bottom: 15px;
}

.archive-news-content {
    padding: 5px;
}

.archive-news-content h3 {
    line-height: 1.9;
    margin: 12px 0;
}

.archive-news-content p {
    line-height: 2;
    margin-bottom: 15px;
}

.news-card {
    overflow: hidden;
    transition: 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
}

.news-detail-btn {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--blue-light);
    font-size: 12px;
}

/* =====================================
   اسلایدر اخبار صفحه اصلی
===================================== */

.news-carousel {
    position: relative;
    width: 100%;
    margin: 55px auto 20px;
    padding: 0 65px;
    box-sizing: border-box;
}

.news-window {
    width: 100%;
    overflow: hidden;
    direction: rtl;
}

.news-track {
    display: flex;
    flex-direction: row;
    direction: rtl;
    gap: 18px;
    width: 100%;
    transition: transform 0.6s ease;
    will-change: transform;
}

.news-slide {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: #0b1c2e;
    border: 1px solid rgba(69, 170, 255, 0.15);
    border-radius: 14px;
    text-align: right;
}

.news-card-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #10263b;
}

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

.news-card-content {
    padding: 20px;
}

.news-card-content h3 {
    color: #fff;
    font-size: 17px;
    line-height: 1.9;
    margin: 15px 0 10px;
}

.news-card-content p {
    color: #b9c8d8;
    font-size: 14px;
    line-height: 2;
}

.news-date,
.news-category {
    color: #45aaff;
    font-size: 12px;
    margin-left: 10px;
}

.news-detail-btn {
    background: transparent;
    border: none;
    color: #1689ee;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    margin-top: 12px;
}

.news-detail-btn:hover {
    color: #45aaff;
}

.news-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(69, 170, 255, 0.35);
    background: #0b1c2e;
    color: #45aaff;
    font-size: 22px;
    cursor: pointer;
    z-index: 5;
}

.news-arrow:hover {
    background: #1689ee;
    color: white;
}

.news-prev {
    right: 5px;
}

.news-next {
    left: 5px;
}

/* صفحه نمایش جزئیات خبر */

.news-detail-image {
    display: block;
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 14px;
    margin: 30px 0;
}

.news-full-text {
    color: #d5dfeb;
    font-size: 16px;
    line-height: 2.5;
    margin-top: 25px;
}

/* تبلت */

@media (max-width: 1050px) {
    .news-slide {
        flex-basis: calc((100% - 18px) / 2);
    }
}

/* موبایل */

@media (max-width: 760px) {
    .news-carousel {
        padding: 0 45px;
    }

    .news-slide {
        flex-basis: 100%;
    }

    .news-card-image {
        height: 210px;
    }

    .news-arrow {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

/* اصلاح نمایش کارت های اسلایدر اخبار */

.news-carousel {
    position: relative;
    width: 100%;
    padding: 0 65px;
    box-sizing: border-box;
}

.news-window {
    width: 100%;
    overflow: hidden;
    direction: rtl;
}

.news-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    direction: rtl;
    width: max-content;
    gap: 18px;
    transition: transform 0.6s ease;
    will-change: transform;
}

.news-slide {
    flex-shrink: 0;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 1050px) {
    .news-carousel {
        padding: 0 50px;
    }
}

@media (max-width: 760px) {
    .news-carousel {
        padding: 0 42px;
    }
}
.news-window {
    width: 100%;
    overflow: hidden;
}

.news-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    transition: transform 0.6s ease;
}

.news-slide {
    flex-shrink: 0 !important;
    min-width: 0;
}
/* دکمه‌های انتخاب دفتر */

.office-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.office-btn {
    padding: 10px 28px;
    background: #0b1c2e;
    color: #dbe6f5;
    border: 1px solid rgba(69, 170, 255, 0.35);
    border-radius: 9px;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.office-btn:hover {
    background: #123455;
    border-color: #45aaff;
}

.office-btn.active {
    background: linear-gradient(135deg, #1689ee, #07549d);
    color: white;
    border-color: #45aaff;
}

.office-details {
    margin-top: 20px;
    padding: 20px;
    background: #071827;
    border: 1px solid rgba(69, 170, 255, 0.25);
    border-radius: 12px;
}

.office-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.office-info + .office-info {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.office-info strong {
    color: #45aaff;
    display: block;
    margin-bottom: 5px;
}

.office-info p {
    color: #dbe6f5;
    font-size: 13px;
    line-height: 2;
}
