/*
Theme Name: Amol Modern
Description: قالب اختصاصی موسسه آموزش عالی آمل
Version: 1.3
*/
/* بارگذاری محلی فونت وزیرمتن */
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* تنظیمات پایه و فونت یکپارچه سایت */
* {
    box-sizing: border-box;
}

html {
    direction: rtl;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f4f6f9;
    color: #333333;
    direction: rtl;
    text-align: right;
}

/* فونت پیش‌فرض همه بخش‌ها؛ آیکون‌ها و متن انگلیسی هدر حفظ می‌شوند */
body :where(p, a, span, div, li, td, th, label, input, select, textarea, button,
h1, h2, h3, h4, h5, h6, legend, strong, em, small, blockquote, figcaption) {
    font-family: 'Vazirmatn', sans-serif;
}

input, select, textarea, button {
    font-family: 'Vazirmatn', sans-serif;
}

.site-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* ۱. نوار بالایی */
.top-bar {
    background-color: #17345b !important;
    background-image: none !important;
    color: #ffffff;
    padding: 3px 0;
    font-size: 13px;
    opacity: 1;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    text-decoration: none;
    margin-left: 18px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    transition: color 0.3s;
}

.top-links a:hover,
.top-bar a:hover {
    color: #cbd5e1 !important;
}

.top-links a i {
    color: #ffffff !important;
    margin-left: 0;
    font-size: 14px;
    display: inline-block;
}

.top-datetime .separator {
    margin: 0 8px;
    color: #64748b;
}

.top-bar,
.top-bar span,
.top-bar div {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
}

/* ۲. هدر سفید */
.site-header {
    background-color: #ffffff !important;
    padding: 35px 0;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center;
}

.header-title-img img {
    height: 105px !important;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-subtitle-en {
    font-size: 12px;
    color: #1e3a6e;
    font-weight: bold;
    margin-top: 8px;
    letter-spacing: 0.8px;
    font-family: Arial, sans-serif !important;
    display: block;
}

.header-logo-img img {
    height: 125px !important;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ۳. منوی اصلی روشن و مدرن */
.main-navigation {
    background-color: #ffffff !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    width: 100%;
    direction: rtl;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.main-navigation ul li {
    position: relative;
    margin: 0 4px;
}

.main-navigation ul li a {
    display: block;
    padding: 15px 22px;
    color: #334155;
    text-decoration: none;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
    background-color: #f1f5f9;
    color: #b45309;
}

.main-navigation ul ul {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: none;
    min-width: 220px;
    z-index: 999;
    flex-direction: column;
    padding: 8px 0;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li:focus-within > ul {
    display: flex;
}

.main-navigation ul ul li a {
    padding: 10px 20px;
    color: #334155;
    font-size: 13px;
    border-radius: 0;
}

.main-navigation ul ul li a:hover {
    background-color: #f8fafc;
    color: #b45309;
}

/* فوتر */
.site-footer {
    background-color: #07152b;
    color: #cbd5e1;
    padding-top: 40px;
    margin-top: 50px;
    border-top: 3px solid #1e3a6e;
    direction: rtl;
    width: 100%;
    clear: both;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    font-family: 'Vazirmatn', sans-serif;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background-color: #38bdf8;
    border-radius: 2px;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #38bdf8;
}

.footer-col p i {
    margin-left: 8px;
    color: #38bdf8;
}

.footer-bottom {
    background-color: #040d1a;
    text-align: center;
    padding: 15px 20px;
    font-size: 12px;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* صفحه اصلی دانشگاه آمل */
.home-page {
    direction: rtl;
    font-family: 'Vazirmatn', sans-serif;
    color: #1e293b;
}

.home-hero {
    max-width: 1200px;
    min-height: 300px;
    margin: 30px auto 45px;
    padding: 55px 45px;
    border-radius: 18px;
    background: linear-gradient(135deg, #07152b, #1e3a6e);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.home-hero-content { max-width: 650px; }

.hero-label {
    display: inline-block;
    color: #7dd3fc;
    font-size: 14px;
    margin-bottom: 15px;
}

.home-hero h1 {
    font-size: clamp(25px, 4vw, 38px);
    line-height: 1.8;
    margin-bottom: 12px;
    color: #fff;
}

.home-hero p {
    color: #dbeafe;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 25px;
}

.hero-button {
    display: inline-block;
    background: #b45309;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: .25s;
}

.hero-button:hover { background: #92400e; color: #fff; }

.home-news {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px;
}

.section-heading {
    margin-bottom: 25px;
    border-right: 4px solid #b45309;
    padding-right: 15px;
}

.section-heading span { color: #b45309; font-size: 13px; }

.section-heading h2 {
    color: #07152b;
    font-size: 23px;
    margin-top: 7px;
}

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

.news-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    min-width: 0;
    transition: transform .25s, box-shadow .25s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(7, 21, 43, .09);
}

.news-image {
    display: block;
    height: 190px;
    overflow: hidden;
    background: #e2e8f0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.news-card:hover .news-image img { transform: scale(1.04); }

.news-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #334155;
    font-size: 15px;
}

.news-card-content { padding: 20px; }
.news-date { color: #64748b; font-size: 12px; }

.news-card h3 {
    margin: 12px 0;
    font-size: 17px;
    line-height: 1.9;
}

.news-card h3 a { color: #07152b; text-decoration: none; }
.news-card h3 a:hover { color: #b45309; }

.news-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 2;
}

.news-read-more {
    display: inline-flex;
    gap: 8px;
    margin-top: 15px;
    color: #b45309;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.all-news { text-align: center; margin-top: 35px; }

.all-news a {
    display: inline-block;
    padding: 11px 25px;
    border: 1px solid #07152b;
    border-radius: 8px;
    color: #07152b;
    text-decoration: none;
    transition: .25s;
}

.all-news a:hover { background: #07152b; color: #fff; }

.no-news {
    grid-column: 1 / -1;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
}

/* کارت‌های خبری جمع‌وجورتر */
.home-page .home-news .news-grid { gap: 18px; }
.home-page .home-news .news-card { border-radius: 10px; }
.home-page .home-news .news-image { height: 150px; }
.home-page .home-news .news-card-content { padding: 15px; }

.home-page .home-news .news-card h3 {
    font-size: 15px;
    line-height: 1.8;
    margin: 9px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.home-page .home-news .news-excerpt {
    font-size: 12px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.home-page .home-news .news-read-more { margin-top: 10px; font-size: 12px; }

.home-page .all-news {
    display: flex;
    justify-content: flex-start;
    margin-top: 18px;
    margin-bottom: 35px;
}

.home-page .all-news a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid #d6a34d;
    border-radius: 8px;
    color: #07152b;
    background: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.home-page .all-news a:hover {
    background: #07152b;
    border-color: #07152b;
    color: #fff;
}

/* اسلایدشوی صفحه اصلی */
.amol-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 24px auto 35px;
    overflow: hidden;
    border-radius: 14px;
    background: #07152b;
    box-shadow: 0 12px 35px rgba(7, 21, 43, 0.16);
    direction: ltr;
}

.amol-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    min-height: 250px;
    max-height: 540px;
}

.amol-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.amol-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.amol-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.amol-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.amol-slide-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 55px 35px 35px;
    background: linear-gradient(transparent, rgba(7, 21, 43, 0.88));
    color: #fff;
    direction: rtl;
    text-align: right;
}

.amol-slide-caption h2 {
    color: #fff;
    font-size: clamp(20px, 3vw, 34px);
    font-weight: 800;
    margin: 0;
    line-height: 1.8;
}

.amol-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 44px;
    height: 54px;
    border: 0;
    border-radius: 8px;
    background: rgba(7, 21, 43, 0.75);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.amol-slider-arrow:hover { background: #b45309; }
.amol-slider-prev { left: 16px; }
.amol-slider-next { right: 16px; }

.amol-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    z-index: 4;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.amol-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.amol-slider-dot.is-active {
    width: 25px;
    border-radius: 8px;
    background: #d6a34d;
    border-color: #d6a34d;
}

/* واکنش‌گرایی اسلایدشو */
@media (max-width: 768px) {
    .amol-slider {
        width: calc(100% - 24px);
        margin: 16px auto 25px;
        border-radius: 10px;
    }

    .amol-slides {
        aspect-ratio: 16 / 6;
        min-height: 0;
        max-height: none;
    }

    .amol-slide-caption {
        padding: 35px 18px 25px;
    }

    .amol-slide-caption h2 {
        font-size: 19px;
    }

    .amol-slider-arrow {
        width: 34px;
        height: 42px;
        font-size: 27px;
    }

    .amol-slider-prev {
        left: 8px;
    }

    .amol-slider-next {
        right: 8px;
    }

    .amol-slider-dots {
        bottom: 9px;
        gap: 7px;
    }
}

@media (max-width: 480px) {
    .amol-slides {
        aspect-ratio: 16 / 6;
    }

    .amol-slide-caption {
        padding: 28px 14px 22px;
    }

    .amol-slide-caption h2 {
        font-size: 16px;
    }

    .amol-slider-arrow {
        width: 30px;
        height: 38px;
        font-size: 24px;
    }
}


/* کارت‌های دسترسی سریع دانشگاه */
.amol-services {
    max-width: 1400px;
    margin: 45px auto;
    padding: 0 22px;
    font-family: inherit;
}

.amol-services-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    text-align: center;
    margin-bottom: 30px;
}

.amol-heading-line { width: 65px; height: 2px; background: #d6a34d; flex-shrink: 0; }
.amol-section-label { color: #b45309; font-size: 13px; font-weight: 700; }

.amol-services-heading h2 {
    color: #07152b;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    margin: 5px 0;
}

.amol-services-heading p { color: #718096; font-size: 14px; margin: 0; }

.amol-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.amol-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 225px;
    padding: 22px 15px 18px;
    overflow: hidden;
    text-align: center;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 16px;
    box-shadow: 0 7px 24px rgba(7, 21, 43, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.amol-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #d6a34d, #b45309);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.amol-service-card:hover {
    transform: translateY(-7px);
    border-color: #d6a34d;
    box-shadow: 0 15px 35px rgba(7, 21, 43, 0.12);
}

.amol-service-card:hover::before { transform: scaleX(1); }

.amol-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 17px;
    border-radius: 22px;
    color: #fff;
    font-size: 31px;
    background: linear-gradient(145deg, #102b50, #07152b);
    box-shadow: 0 7px 16px rgba(7, 21, 43, 0.17);
    transition: background 0.3s ease, transform 0.3s ease;
}

.amol-service-card:hover .amol-service-icon {
    background: linear-gradient(145deg, #d6a34d, #b45309);
    transform: scale(1.06);
}

.amol-service-number {
    position: absolute;
    top: 13px;
    left: 15px;
    color: #d9dee7;
    font-size: 12px;
    font-weight: 800;
    direction: ltr;
}

.amol-service-card h3 {
    color: #07152b;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.9;
    margin: 0 0 5px;
}

.amol-service-card p { color: #718096; font-size: 12px; line-height: 1.9; margin: 0 0 16px; }

.amol-service-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    color: #a45a12;
    font-size: 12px;
    font-weight: 800;
}

.amol-service-card:hover .amol-service-more { color: #07152b; }


/* آرشیو اخبار */
.category-archive {
    background: #f4f6fa;
    color: #07152b;
    min-height: 70vh;
    padding-bottom: 55px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 15px;
    line-height: 2;
}


/* سربرگ آرشیو اخبار، اطلاعیه‌ها و رویدادها */
.category-archive .archive-hero {
    width: 100%;
    height: 120px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #07152b, #17345b);
    padding: 0;
    margin-bottom: 32px;
    border-bottom: 3px solid #d6a34d;
    direction: rtl;
}

.category-archive .archive-hero-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.category-archive .archive-eyebrow {
    display: block;
    color: #e5bd79;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 7px;
}

.category-archive .archive-hero h1 {
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 27px;
    line-height: 1.8;
    margin: 0;
    font-weight: 700;
}

@media (max-width: 768px) {
    .category-archive .archive-hero {
        height: 115px;
    }

    .category-archive .archive-hero-inner {
        width: calc(100% - 30px);
    }

    .category-archive .archive-hero h1 {
        font-size: 23px;
    }
}

@media (max-width: 480px) {
    .category-archive .archive-hero h1 {
        font-size: 21px;
    }

    .category-archive .archive-eyebrow {
        font-size: 11px;
    }
}


.category-archive .archive-description,
.category-archive .archive-subtitle {
    color: #d8e2ee;
    font-size: 14px;
    line-height: 2;
    margin: 8px 0 0;
}

.category-archive .archive-content { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.category-archive .archive-results {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 800;
}

.category-archive .archive-results-line { height: 1px; flex: 1; background: #dce2eb; }

.category-archive .news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.category-archive .archive-news-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(7, 21, 43, .035);
    transition: transform .25s ease, box-shadow .25s ease;
}

.category-archive .archive-news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(7, 21, 43, .09); }

.category-archive .news-image {
    display: block;
    height: 185px;
    overflow: hidden;
    background: #e8edf4;
    text-decoration: none;
}

.category-archive .news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.category-archive .archive-news-card:hover .news-image img { transform: scale(1.04); }

.category-archive .news-placeholder {
    height: 100%;
    min-height: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e1e9f2, #cbd8e7);
    color: #244563;
    font-size: 17px;
    font-weight: 700;
}

.category-archive .news-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
}

.category-archive .news-date { display: inline-flex; align-items: center; gap: 6px; color: #718096; font-size: 12px; line-height: 1.8; }

.category-archive .archive-news-card h2,
.category-archive .news-card-content h2 {
    width: 100%;
    margin: 10px 0;
    font-family: 'Vazirmatn', sans-serif;
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 700;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.category-archive .archive-news-card h2 a,
.category-archive .news-card-content h2 a { color: #102d4a; text-decoration: none; transition: color .2s ease; }
.category-archive .archive-news-card h2 a:hover { color: #a66b17; }

.category-archive .news-excerpt { width: 100%; margin: 0; color: #68778a; font-size: 13px; line-height: 2.1; overflow-wrap: anywhere; }
.category-archive .news-excerpt p { margin: 0; }

.category-archive .news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: #a66b17;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.category-archive .news-read-more:hover { color: #07152b; }

.category-archive .archive-pagination { margin-top: 38px; text-align: center; font-family: 'Vazirmatn', sans-serif; }

.category-archive .archive-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.category-archive .archive-pagination a,
.category-archive .archive-pagination span.page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid #dce3ed;
    border-radius: 10px;
    background: #17345b;
     color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-archive .archive-pagination span.current {
    background:  #b45309;
    border-color: #b98232;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(7, 21, 43, 0.15);
}

.category-archive .archive-pagination a:hover {background: #b45309; border-color: #b45309; color: #fff; transform: translateY(-2px); }
.category-archive .archive-pagination .prev,
.category-archive .archive-pagination .next { font-size: 12px; font-weight: 600; padding: 9px 15px; }

.category-archive .archive-empty {
    padding: 55px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 12px;
}

.category-archive .archive-empty h2 { font-size: 20px; color: #102d4a; }
.category-archive .archive-empty p { color: #718096; font-size: 14px; }

/* برگه‌های داخلی دانشگاه */
.page-content-wrapper {
    direction: rtl;
    padding: 45px 0 70px;
    background: #f4f6fa;
    min-height: 500px;
    font-family: 'Vazirmatn', sans-serif;
}

.page-content-wrapper .container { width: 90%; max-width: 1200px; margin: 0 auto; }

.university-page {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(7, 21, 43, 0.05);
}

.page-header { border-bottom: 2px solid #d6a34d; padding-bottom: 20px; margin-bottom: 28px; }
.page-eyebrow { display: inline-block; color: #b45309; font-size: 14px; font-weight: 600; margin-bottom: 10px; }

.page-title,
.entry-title {
    color: #07152b;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.8;
    margin: 0;
}

.page-content,
.page-content-wrapper .page-content,
.entry-content {
    color: #334155;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    line-height: 2.2;
}

.page-content p,
.entry-content p { margin-bottom: 18px; }

.page-content-wrapper h1,
.page-content-wrapper h2,
.page-content-wrapper h3,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    line-height: 1.8;
}

.page-content-wrapper h1,
.entry-content h1 { font-size: 28px; }

.page-content-wrapper h2,
.entry-content h2 { font-size: 24px; }

.page-content-wrapper h3,
.entry-content h3 { font-size: 20px; }

/* سامانه نظرسنجی و ارتباط با ریاست دانشگاه */
.president-survey {
    background: #f4f7fb;
    color: #243247;
    padding-bottom: 65px;
    font-family: 'Vazirmatn', sans-serif;
}

.president-survey .container { width: 90%; max-width: 1050px; margin: 0 auto; }

.president-survey-hero {
    background: linear-gradient(125deg, #07152b 0%, #16365b 100%);
    border-bottom: 4px solid #d6a34d;
    padding: 55px 0;
    color: #fff;
}

.president-survey-hero .survey-eyebrow,
.survey-eyebrow {
    display: inline-block;
    color: #f0c674;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.president-survey-hero h1 {
    color: #fff;
    font-size: 32px;
    line-height: 1.8;
    margin: 5px 0 12px;
}

.president-survey-hero p { max-width: 720px; color: #e1e8f1; line-height: 2.1; margin: 0; }
.president-survey-content { padding-top: 38px; }
.survey-intro { margin-bottom: 25px; }

.survey-section-label { color: #a66b12; font-size: 13px; font-weight: 700; }

.survey-intro h2 { color: #07152b; font-size: 25px; margin: 8px 0; }
.survey-intro p { color: #64748b; line-height: 2; margin: 0; }

.president-survey-form {
    box-sizing: border-box;
    background: #fff;
    padding: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(7, 21, 43, 0.06);
}

.survey-field { min-width: 0; margin-bottom: 23px; }

.survey-field label,
.survey-rating legend {
    display: block;
    color: #07152b;
    font-weight: 700;
    margin-bottom: 9px;
}

.survey-field label span,
.survey-rating legend span { color: #b45309; }

.survey-field input,
.survey-field select,
.survey-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #d8e0eb;
    border-radius: 10px;
    background: #fbfcfe;
    color: #243247;
    font: inherit;
    line-height: 1.8;
}

.survey-field input:focus,
.survey-field select:focus,
.survey-field textarea:focus {
    outline: 2px solid #d6a34d;
    outline-offset: 1px;
    border-color: #d6a34d;
}

.survey-field textarea { resize: vertical; min-height: 150px; }

.survey-rating { border: 0; padding: 0; margin: 0 0 26px; }

.survey-stars {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
}

.survey-stars input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.survey-stars label {
    color: #cbd5e1;
    cursor: pointer;
    font-size: 38px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.survey-stars label:hover,
.survey-stars label:hover ~ label,
.survey-stars input:checked ~ label { color: #d6a34d; }

.survey-stars input:focus-visible + label { outline: 2px solid #07152b; outline-offset: 3px; }

.survey-hint { color: #64748b; font-size: 13px; line-height: 1.9; }

.survey-two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.survey-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    margin: 5px 0 22px;
    border: 1px solid #e5eaf1;
    border-radius: 10px;
    background: #f8fafc;
}

.survey-notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    height: 22px;
    border-radius: 50%;
    background: #e7edf5;
    color: #16365b;
    font-weight: 700;
}

.survey-notice p { color: #64748b; font-size: 13px; line-height: 1.9; margin: 0; }

.survey-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 15px 20px;
    border: 0;
    border-radius: 10px;
    background: #07152b;
    color: #fff;
    font: inherit;
    font-weight: 700;
}

.survey-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.survey-status { margin: 12px 0 0; text-align: center; }

.survey-result {
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 10px;
    background: #e8f5e9;
    color: #205b2a;
    border: 1px solid #b7dfbd;
    line-height: 2;
}

/* صفحه اختصاصی ارتباط با ما */
.amol-contact-page {
    background: #f5f7fa;
    color: #26384a;
    padding-bottom: 55px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 15px;
    line-height: 2;
    -webkit-font-smoothing: antialiased;
}

.amol-contact-container { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }

.amol-contact-hero {
    padding: 65px 20px 85px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #102b46, #1d4667);
}

.amol-contact-eyebrow,
.amol-contact-section-heading > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #c8a66a;
    font-weight: 700;
}

.amol-contact-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(30px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: -0.5px;
}

.amol-contact-hero p {
    max-width: 720px;
    margin: auto;
    color: #e1e9f0;
    line-height: 2;
    font-size: 14px;
    white-space: nowrap;
}

.amol-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: -35px;
    position: relative;
}

.amol-contact-info-card {
    padding: 28px 22px;
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(16, 43, 70, .07);
    text-align: center;
}

.amol-contact-info-icon { margin-bottom: 12px; color: #ad8847; font-size: 30px; }

.amol-contact-info-card h2 {
    margin: 0 0 12px;
    color: #102b46;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.8;
}

.amol-contact-info-card p { margin: 0; line-height: 2.2; font-size: 14px; overflow-wrap: anywhere; }
.amol-contact-info-card a { color: #344f68; text-decoration: none; }

.amol-contact-map-section {
    margin-top: 55px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(16, 43, 70, .07);
}

.amol-contact-section-heading { margin-bottom: 24px; }

.amol-contact-section-heading h2 {
    margin: 0 0 12px;
    color: #102b46;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.8;
}

.amol-contact-section-heading p,
.amol-contact-map-footer p { margin: 0; color: #657386; line-height: 2.2; font-size: 15px; }

.amol-contact-map-frame { height: 500px; overflow: hidden; border-radius: 14px; background: #edf1f5; }

.amol-contact-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.amol-contact-map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
}

.amol-contact-map-footer p { color: inherit; }

.amol-contact-route-button,
.amol-contact-president-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    border-radius: 9px;
    background: #102b46;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    transition: background .2s ease;
}

.amol-contact-route-button:hover,
.amol-contact-president-button:hover { background: #ad8847; }

.amol-contact-president {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 35px;
    padding: 32px;
    border-radius: 18px;
    background: #fff;
    border-right: 5px solid #ad8847;
    box-shadow: 0 8px 25px rgba(16, 43, 70, .06);
}

.amol-contact-president > div > span { color: #ad8847; font-size: 14px; font-weight: 700; }

.amol-contact-president h2 {
    margin: 10px 0;
    color: #102b46;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.8;
}

.amol-contact-president p { margin: 0; line-height: 2; color: #657386; }
.amol-contact-president-button { flex-shrink: 0; }

/* واکنش‌گرایی */
@media (max-width: 900px) {
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-hero { margin: 20px; min-height: 260px; padding: 35px 25px; }
    .amol-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-archive .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 768px) {
    .amol-slider { margin: 15px auto 25px; border-radius: 8px; }
    .amol-slides {
     aspect-ratio: 16 / 6;
     min-height: 0;
     max-height: none;
     }
    .amol-slide-caption { padding: 45px 18px 30px; }
    .amol-slider-arrow { width: 34px; height: 42px; font-size: 28px; }
    .amol-slider-prev { left: 8px; }
    .amol-slider-next { right: 8px; }
    .amol-slider-dots { bottom: 10px; }
    .page-content-wrapper { padding: 25px 0 40px; }
    .university-page { padding: 22px 18px; border-radius: 12px; }
    .page-title, .entry-title { font-size: 24px; }
    .amol-contact-hero { padding: 45px 18px 65px; }
    .amol-contact-hero h1 { font-size: 28px; }
    .amol-contact-section-heading h2 { font-size: 22px; }
    .amol-contact-president h2 { font-size: 20px; }
    .amol-contact-hero p { white-space: normal; font-size: 14px; }
    .amol-contact-info-grid { grid-template-columns: 1fr; gap: 14px; }
    .amol-contact-map-section { margin-top: 35px; padding: 18px; }
    .amol-contact-map-frame { height: 360px; }
    .amol-contact-map-footer, .amol-contact-president { align-items: stretch; flex-direction: column; }
    .amol-contact-president { padding: 23px; }
    .amol-contact-route-button, .amol-contact-president-button { width: 100%; box-sizing: border-box; }
}

@media (max-width: 650px) {
    .president-survey-hero { padding: 35px 0; }
    .president-survey-hero h1 { font-size: 25px; }
    .president-survey-form { padding: 22px 17px; }
    .survey-two-columns { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
    .home-hero { margin: 15px; padding: 30px 20px; border-radius: 12px; }
    .home-news { padding: 0 15px 25px; }
    .news-image { height: 210px; }
    .home-page .home-news .news-image { height: 150px; }

    .category-archive .archive-hero {
    height: auto;
    min-height: 110px;
    padding: 0;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}
    .category-archive .archive-content { padding: 0 14px; }
    .category-archive .news-grid { grid-template-columns: 1fr; gap: 18px; }
    .category-archive .news-image { height: 200px; }
    .category-archive .news-card-content { padding: 16px; }
    .category-archive .archive-news-card h2,
    .category-archive .news-card-content h2 { font-size: 15px; }
}

@media (max-width: 520px) {
    .amol-services { margin: 30px auto; padding: 0 13px; }
    .amol-services-heading { gap: 10px; margin-bottom: 22px; }
    .amol-heading-line { width: 22px; }
    .amol-services-heading p { font-size: 12px; }
    .amol-services-heading h2 { font-size: 18px; }
    .amol-services-grid { gap: 12px; }

    .amol-service-card {
    height: 190px;
    min-height: 0;
    box-sizing: border-box;
    padding: 14px 10px 12px;
    border-radius: 12px;
}

    .amol-service-icon {
      width: 50px;
      height: 50px;
      border-radius: 15px;
      font-size: 22px;
     }
    .amol-service-card h3 { font-size: 14px; }
    .amol-service-card p { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .amol-slide,
    .amol-service-card,
    .amol-service-icon,
    .amol-service-card::before { transition: none; }
}

/* کارت‌های اطلاعات تماس */
.amol-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin: 42px auto;
}

.amol-contact-info-card {
    position: relative;
    padding: 34px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(24, 47, 79, 0.05);
    transition: transform .3s ease, box-shadow .3s ease,
                border-color .3s ease;
}

.amol-contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(24, 47, 79, 0.13);
    border-color: #c8d8ee;
}

.amol-contact-info-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    font-size: 29px;
    transition: transform .3s ease, border-radius .3s ease;
}

.amol-contact-info-card:hover .amol-contact-info-icon {
    transform: scale(1.08);
    border-radius: 50%;
}

.amol-contact-info-icon.address-icon {
    color: #2459a6;
    background: #eaf1ff;
}

.amol-contact-info-icon.phone-icon {
    color: #16845a;
    background: #e5f7ed;
}

.amol-contact-info-icon.email-icon {
    color: #b65b35;
    background: #fff0e8;
}

.amol-contact-info-card h2 {
    margin: 0 0 16px;
    color: #17365f;
    font-size: 20px;
    font-weight: 800;
}

.amol-contact-info-card p {
    margin: 0;
    color: #596579;
    font-size: 14px;
    line-height: 2.2;
    overflow-wrap: anywhere;
}

.amol-contact-info-card p a {
    color: #315f9d;
    text-decoration: none;
    transition: color .2s ease;
}

.amol-contact-info-card p a:hover {
    color: #c08b35;
}

/* نمایش مناسب در موبایل و تبلت */
@media (max-width: 768px) {
    .amol-contact-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 28px auto;
    }

    .amol-contact-info-card {
        padding: 28px 20px;
    }
}


/* =========================================
   سربرگ تمام‌عرض برگه‌های داخلی
========================================= */

.page-content-wrapper {
    padding-top: 0;
}

.page-content-wrapper .container {
    width: 100%;
    max-width: none;
    margin: 0;
}

.page-content-wrapper .university-page {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-content-wrapper .university-page > .page-header {
    box-sizing: border-box;
    width: 100%;
    padding: 30px max(5%, calc((100% - 1200px) / 2));
    margin: 0 0 30px;
    border: 0;
    border-bottom: 3px solid #d6a34d;
    border-radius: 0;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(214, 163, 77, 0.12),
            transparent 30%
        ),
        linear-gradient(125deg, #07152b, #1e3a6e);
}

.page-content-wrapper .page-header .page-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #e8c783;
    font-size: 13px;
}

.page-content-wrapper .page-header .page-title {
    margin: 0;
    color: #fff;
    font-size: clamp(23px, 2.5vw, 30px);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* محتوای صفحه */
.page-content-wrapper .university-page > .page-content {
    box-sizing: border-box;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(7, 21, 43, 0.05);
}

/* تبلت و موبایل */
@media (max-width: 768px) {
    .page-content-wrapper .university-page > .page-header {
        padding: 24px 5%;
    }

    .page-content-wrapper .university-page > .page-content {
        width: 92%;
        padding: 20px 16px;
        border-radius: 12px;
    }
}



/* یکسان‌سازی دقیق ارتفاع سربرگ صفحات داخلی */
.page-content-wrapper .university-page > .page-header {
    height: 145px;
    min-height: 145px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* موبایل */
@media (max-width: 768px) {
    .page-content-wrapper .university-page > .page-header {
        height: 125px;
        min-height: 125px;
        padding: 16px 5%;
    }
}


/* =========================================
   صفحه فهرست معاونان دانشگاه
========================================= */

.amol-people-page {
    direction: rtl;
    color: #263746;
    background: #f6f8fb;
    min-height: 60vh;
}

.amol-people-container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.amol-people-hero {
    padding: 55px 0 48px;
    background: linear-gradient(135deg, #123b59, #176b70);
    color: #fff;
}

.amol-people-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #c6e9df;
    font-size: 14px;
}

.amol-people-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 800;
}

.amol-people-hero p {
    margin: 0;
    color: #e3eeee;
    font-size: 15px;
    line-height: 2;
}

.amol-people-section {
    padding: 42px 0 65px;
}

.amol-people-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.amol-person-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7edf1;
    border-radius: 18px;
    box-shadow: 0 7px 25px rgba(25, 54, 74, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.amol-person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(25, 54, 74, 0.12);
}

.amol-person-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 245px;
    overflow: hidden;
    background: #eaf1f4;
    text-decoration: none;
}

.amol-person-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.amol-person-card:hover .amol-person-image {
    transform: scale(1.035);
}

.amol-person-no-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #78909c;
}

.amol-person-no-photo > span {
    font-size: 52px;
}

.amol-person-no-photo small {
    font-size: 13px;
}

.amol-person-content {
    padding: 23px 21px 20px;
}

.amol-person-name {
    margin: 0 0 9px;
    font-size: 21px;
    line-height: 1.8;
    font-weight: 800;
}

.amol-person-name a {
    color: #183f5a;
    text-decoration: none;
}

.amol-person-name a:hover {
    color: #168078;
}

.amol-person-role {
    margin: 0 0 19px;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf1f4;
    color: #168078;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
}

.amol-person-academic {
    display: grid;
    gap: 9px;
    margin-bottom: 19px;
}

.amol-person-academic p {
    margin: 0;
    color: #657581;
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.amol-person-academic p span {
    color: #344d5d;
    font-weight: 700;
}

.amol-person-meeting {
    display: grid;
    gap: 13px;
    padding: 16px 14px;
    margin: 18px 0;
    background: #f5f9f9;
    border: 1px solid #e7f0ef;
    border-radius: 12px;
}

.amol-person-info-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}

.amol-person-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #dcefeb;
    color: #14776e;
    font-size: 21px;
}

.amol-person-info-row > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.amol-info-label {
    color: #71808b;
    font-size: 12px;
}

.amol-info-value {
    color: #314754;
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.amol-person-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 19px 0;
}

.amol-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 1px solid #dce8e8;
    border-radius: 11px;
    background: #fff;
    color: #17766f;
    font-size: 21px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.amol-contact-icon:not(.is-disabled):hover {
    background: #17766f;
    color: #fff;
}

.amol-contact-icon.is-disabled {
    background: #f4f5f6;
    color: #b4bdc3;
    border-color: #e9edef;
    cursor: not-allowed;
}

.amol-person-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 19px;
    padding-top: 16px;
    border-top: 1px solid #edf1f4;
    color: #176b70;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.amol-person-details:hover {
    color: #104a4d;
}

.amol-people-empty {
    padding: 35px 25px;
    border: 1px dashed #cbd8df;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.amol-people-empty h2 {
    margin-top: 0;
    color: #183f5a;
    font-size: 21px;
}

.amol-people-empty p {
    margin-bottom: 0;
    color: #657581;
    line-height: 2;
}

@media (max-width: 900px) {
    .amol-people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .amol-person-photo {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .amol-people-container {
        width: calc(100% - 26px);
    }

    .amol-people-hero {
        padding: 38px 0;
    }

    .amol-people-section {
        padding: 25px 0 40px;
    }

    .amol-people-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .amol-person-photo {
        height: 270px;
    }

    .amol-person-content {
        padding: 20px;
    }
}

/* =========================================
   فهرست خطی و بدون کارت معاونان
========================================= */

.amol-people-page {
    direction: rtl;
    background: #f6f8fb;
    color: #263746;
}

.amol-people-container {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.amol-people-hero {
    padding: 45px 0;
    background: linear-gradient(135deg, #123b59, #176b70);
    color: #fff;
}

.amol-people-eyebrow {
    color: #c6e9df;
    font-size: 14px;
}

.amol-people-hero h1 {
    margin: 12px 0;
    color: #fff;
    font-size: clamp(27px, 4vw, 36px);
    font-weight: 800;
}

.amol-people-hero p {
    margin: 0;
    color: #e3eeee;
    line-height: 2;
}

.amol-people-section {
    padding: 35px 0 60px;
}

.amol-people-list {
    display: block;
}

.amol-person-entry {
    padding: 30px 0 35px;
    margin: 0;
    background: transparent;
    border: 0;
    border-bottom: 2px solid #d6e6e5;
    border-radius: 0;
    box-shadow: none;
}

.amol-person-entry:last-child {
    border-bottom: 0;
}

.amol-person-profile {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.amol-person-photo {
    flex: 0 0 210px;
    width: 210px;
    height: 235px;
    overflow: hidden;
    border-radius: 14px;
    background: #e7eff2;
}

.amol-person-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.amol-person-no-photo {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #78909c;
}

.amol-person-no-photo span {
    font-size: 48px;
}

.amol-person-no-photo small {
    font-size: 12px;
}

.amol-person-main {
    flex: 1;
    min-width: 0;
}

.amol-person-name {
    margin: 0 0 10px;
    color: #183f5a;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.8;
}

.amol-person-role {
    display: inline-block;
    margin-bottom: 20px;
    padding: 7px 14px;
    border-right: 3px solid #168078;
    background: #eaf5f2;
    color: #176b70;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.amol-person-academic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.amol-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e4ecef;
    border-radius: 10px;
}

.amol-detail-label {
    color: #71808b;
    font-size: 12px;
}

.amol-detail-value {
    color: #314754;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.amol-person-meeting {
    display: grid;
    gap: 0;
    margin-top: 24px;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #e4ecef;
    border-radius: 12px;
}

.amol-meeting-row {
    display: grid;
    grid-template-columns: 36px 145px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 53px;
}

.amol-meeting-row + .amol-meeting-row {
    border-top: 1px solid #edf1f4;
}

.amol-meeting-icon {
    color: #17766f;
    font-size: 22px;
    text-align: center;
}

.amol-meeting-label {
    color: #536874;
    font-size: 13px;
    font-weight: 700;
}

.amol-meeting-value {
    color: #314754;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.amol-person-contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.amol-contact-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid #e4ecef;
    border-radius: 10px;
}

.amol-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #e3f2ef;
    color: #17766f;
    font-size: 19px;
}

.amol-contact-icon.is-disabled {
    background: #f0f2f3;
    color: #aeb9bf;
}

.amol-contact-label {
    color: #536874;
    font-size: 12px;
    font-weight: 700;
}

.amol-contact-item a {
    color: #176b70;
    font-size: 13px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.amol-contact-item a:hover {
    text-decoration: underline;
}

.amol-contact-missing {
    color: #89969d;
    font-size: 12px;
}

.amol-people-empty {
    padding: 30px;
    background: #fff;
    border: 1px dashed #cbd8df;
    border-radius: 12px;
    text-align: center;
}

.amol-people-empty h2 {
    color: #183f5a;
}

.amol-people-empty p {
    color: #657581;
    line-height: 2;
}

@media (max-width: 700px) {
    .amol-people-container {
        width: calc(100% - 28px);
    }

    .amol-person-profile {
        flex-direction: column;
        gap: 20px;
    }

    .amol-person-photo {
        flex-basis: auto;
        width: 100%;
        height: 280px;
    }

    .amol-person-main {
        width: 100%;
    }

    .amol-person-academic {
        grid-template-columns: 1fr;
    }

    .amol-meeting-row {
        grid-template-columns: 30px 105px minmax(0, 1fr);
        gap: 7px;
    }

    .amol-person-contact {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   جلوه‌های ظریف و مدرن فهرست معاونان
========================================= */

/* ورود نرم بخش اصلی */
.amol-people-list {
    animation: amolListAppear 0.7s ease both;
}

@keyframes amolListAppear {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* جداکننده تزئینی بین معاونان */
.amol-person-entry {
    position: relative;
    padding: 35px 18px 38px;
    border-bottom: 0 !important;
    transition: background 0.3s ease;
}

.amol-person-entry::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 18px;
    left: 18px;
    height: 2px;
    background: linear-gradient(
        to left,
        #176b70 0%,
        #b9dcd5 45%,
        transparent 100%
    );
    border-radius: 5px;
}

.amol-person-entry:last-child::after {
    display: none;
}

.amol-person-entry:hover {
    background: linear-gradient(
        to left,
        rgba(221, 241, 237, 0.5),
        rgba(255, 255, 255, 0)
    );
}

/* تصویر با حاشیه و حرکت ملایم */
.amol-person-photo {
    position: relative;
    border: 3px solid #fff;
    outline: 1px solid #d5e8e5;
    box-shadow: 0 7px 20px rgba(20, 74, 80, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.amol-person-entry:hover .amol-person-photo {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(20, 74, 80, 0.2);
}

/* نام معاون */
.amol-person-name {
    position: relative;
    padding-right: 14px;
    transition: color 0.25s ease;
}

.amol-person-name::before {
    content: "";
    position: absolute;
    right: 0;
    top: 13%;
    bottom: 13%;
    width: 4px;
    border-radius: 5px;
    background: linear-gradient(#176b70, #83c9b9);
    transition: width 0.25s ease;
}

.amol-person-entry:hover .amol-person-name {
    color: #137c77;
}

.amol-person-entry:hover .amol-person-name::before {
    width: 6px;
}

/* سمت معاون */
.amol-person-role {
    border-radius: 0 9px 9px 0;
    box-shadow: inset 0 0 0 1px rgba(22, 128, 120, 0.08);
}

/* اطلاعات علمی */
.amol-detail-item {
    transition: border-color 0.25s ease, background 0.25s ease;
}

.amol-detail-item:hover {
    background: #f0f8f6;
    border-color: #b8dcd4;
}

/* ردیف‌های ملاقات */
.amol-person-meeting {
    border-right: 3px solid #4a9c91;
    transition: border-color 0.25s ease;
}

.amol-meeting-row:hover .amol-meeting-icon {
    transform: scale(1.12);
    color: #0b9184;
}

.amol-meeting-icon {
    transition: transform 0.25s ease, color 0.25s ease;
}

/* آیکون‌های تماس */
.amol-contact-item {
    transition: border-color 0.25s ease, background 0.25s ease;
}

.amol-contact-item:hover {
    background: #f5fbf9;
    border-color: #b8dcd4;
}

.amol-contact-icon {
    transition: transform 0.25s ease, background 0.25s ease;
}

.amol-contact-item:hover .amol-contact-icon:not(.is-disabled) {
    transform: translateY(-2px);
    background: #176b70;
    color: #fff;
}

/* رعایت تنظیمات کاهش حرکت در دستگاه کاربر */
@media (prefers-reduced-motion: reduce) {
    .amol-people-list,
    .amol-person-entry,
    .amol-person-photo,
    .amol-person-name,
    .amol-detail-item,
    .amol-meeting-icon,
    .amol-contact-item,
    .amol-contact-icon {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* سربرگ معاونت؛ هماهنگ با سربرگ ریاست */

.amol-people-page {
    --amol-navy: #17345b;
    --amol-navy-dark: #102744;
    --amol-gold: #d6a34d;
}

.amol-people-page .amol-people-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
    height: 120px;
    padding: 10px 5%;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(214, 163, 77, .17),
            transparent 32%
        ),
        linear-gradient(125deg, #102744, #234873);
}

.amol-people-page .amol-people-eyebrow {
    display: inline-block;
    margin-bottom: 2px;
    color: #e4cb91;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.amol-people-page .amol-people-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(23px, 2.5vw, 30px);
    line-height: 1.5;
    font-weight: 800;
}

.amol-people-page .amol-people-hero p {
    margin: 2px 0 0;
    color: #e1e8f1;
    font-size: 12px;
    line-height: 1.6;
}

.amol-people-page .amol-people-hero-line {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #d6a34d;
}

@media (max-width: 760px) {
    .amol-people-page .amol-people-hero {
        min-height: 110px;
        height: 110px;
        padding: 10px 5%;
    }

    .amol-people-page .amol-people-eyebrow {
        font-size: 11px;
    }

    .amol-people-page .amol-people-hero h1 {
        font-size: 23px;
        line-height: 1.4;
    }

    .amol-people-page .amol-people-hero p {
        font-size: 11px;
        line-height: 1.5;
    }
}


/* هماهنگ‌سازی رنگ مستطیل‌های مشخصات معاونان با صفحه رئیس */

.amol-people-page .amol-detail-item {
    background: #f8fafc;
    border-color: #e9edf3;
    border-right: 3px solid #d6a34d;
    border-radius: 9px;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.amol-people-page .amol-detail-item:hover {
    background: #fffdf8 !important;
    border-color: #e8d7ad !important;
    border-right-color: #d6a34d !important;
    transform: translateY(-2px);
}

/* هماهنگ‌سازی تلفن، ایمیل و رزومه با صفحه رئیس */

.amol-people-page .amol-contact-item {
    background: #f8fafc !important;
    border-color: #e9edf3 !important;
    border-right: 3px solid #d6a34d !important;
    border-radius: 9px;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.amol-people-page .amol-contact-item:hover {
    background: #fffdf8 !important;
    border-color: #e8d7ad !important;
    border-right-color: #d6a34d !important;
    transform: translateY(-2px);
}

/* حذف رنگ آبی از آیکون‌های تماس در حالت هاور */
.amol-people-page .amol-contact-item:hover .amol-contact-icon:not(.is-disabled) {
    background: #fffdf8 !important;
    color: #17345b !important;
    transform: translateY(-2px);
}

/* =========================================
   هماهنگ‌سازی کامل ظاهر صفحه معاونت‌ها
   با صفحه ریاست مؤسسه
========================================= */

.amol-people-page {
    --amol-navy: #17345b;
    --amol-navy-dark: #102744;
    --amol-gold: #d6a34d;
    --amol-text: #29374a;
    --amol-muted: #748094;

    direction: rtl;
    color: var(--amol-text);
    background: #f5f7fa;
    font-family: inherit;
}

/* پس‌زمینه بخش اصلی */
.amol-people-page .amol-people-section {
    padding: 38px 0 55px;
    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(214, 163, 77, .055),
            transparent 25%
        ),
        #f5f7fa;
}

/* مستطیل‌های حوزه تخصصی و مرتبه علمی */
.amol-people-page .amol-detail-item {
    background: #f8fafc !important;
    border: 1px solid #e9edf3 !important;
    border-right: 3px solid var(--amol-gold) !important;
    border-radius: 9px;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.amol-people-page .amol-detail-item:hover {
    background: #fffdf8 !important;
    border-color: #e8d7ad !important;
    border-right-color: var(--amol-gold) !important;
    transform: translateY(-2px);
}

/* بخش روزها و ساعات ملاقات */
.amol-people-page .amol-person-meeting {
    border-right-color: var(--amol-gold) !important;
}

.amol-people-page .amol-meeting-row:hover {
    background: #fffdf8 !important;
}

.amol-people-page .amol-meeting-row:hover .amol-meeting-icon {
    color: var(--amol-navy) !important;
}

/* تلفن، ایمیل و رزومه */
.amol-people-page .amol-contact-item {
    background: #f8fafc !important;
    border-color: #e9edf3 !important;
    border-right: 3px solid var(--amol-gold) !important;
    border-radius: 9px;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.amol-people-page .amol-contact-item:hover {
    background: #fffdf8 !important;
    border-color: #e8d7ad !important;
    border-right-color: var(--amol-gold) !important;
    transform: translateY(-2px);
}

/* آیکون‌ها هنگام هاور آبی روشن یا سبز نشوند */
.amol-people-page .amol-contact-item:hover .amol-contact-icon:not(.is-disabled) {
    background: #fffdf8 !important;
    color: var(--amol-navy) !important;
    transform: translateY(-2px);
}

/* لینک‌ها هنگام هاور رنگ متفاوت نگیرند */
.amol-people-page .amol-contact-item a:hover {
    color: var(--amol-navy) !important;
}

/* هماهنگی رنگ نام و عنوان سمت */
.amol-people-page .amol-person-name {
    color: var(--amol-navy);
}

.amol-people-page .amol-person-role {
    border-right-color: var(--amol-gold);
}

/* نمایش مناسب در موبایل */
@media (max-width: 760px) {
    .amol-people-page .amol-people-section {
        padding: 25px 0 35px;
    }
}

/* اصلاح نهایی رنگ هاور در صفحه معاونت‌ها */

.amol-people-page .amol-person-contact .amol-contact-item:hover,
.amol-people-page .amol-person-contact .amol-contact-item:hover a,
.amol-people-page .amol-person-contact .amol-contact-item:hover .amol-contact-label,
.amol-people-page .amol-person-contact .amol-contact-item:hover .amol-contact-missing {
    background-color: #fffdf8 !important;
    color: #29374a !important;
    border-color: #e8d7ad !important;
}

.amol-people-page .amol-person-contact .amol-contact-item:hover .amol-contact-icon {
    background-color: #fffdf8 !important;
    color: #17345b !important;
}

.amol-people-page .amol-person-contact .amol-contact-item:hover a {
    text-decoration-color: #d6a34d !important;
}

/* هماهنگ‌سازی رنگ نام معاونان با صفحه ریاست */

.amol-people-page .amol-person-name,
.amol-people-page .amol-person-name a,
.amol-people-page .amol-person-name a:hover {
    color: #17345b !important;
}



/* =========================================
   خوانایی و قدرت بصری بیشتر صفحات اشخاص
========================================= */

/* نام افراد */
.amol-people-page .amol-person-name {
    color: #17345b !important;
    font-weight: 850 !important;
    font-size: clamp(23px, 2vw, 28px) !important;
    line-height: 1.7;
    letter-spacing: -0.3px;
}

/* عنوان سمت */
.amol-people-page .amol-person-role {
    font-weight: 750 !important;
    font-size: 15px;
    color: #17345b;
}

/* عنوان فیلدها */
.amol-people-page .amol-detail-label,
.amol-people-page .amol-meeting-label,
.amol-people-page .amol-contact-label {
    color: #35465e !important;
    font-weight: 750 !important;
}

/* اطلاعات و مقادیر */
.amol-people-page .amol-detail-value,
.amol-people-page .amol-meeting-value,
.amol-people-page .amol-contact-item a,
.amol-people-page .amol-contact-missing {
    color: #26374d !important;
    font-weight: 600 !important;
}

/* نام و تیترها در حالت هاور */
.amol-people-page .amol-person-entry:hover .amol-person-name {
    color: #17345b !important;
}

/* عنوان اصلی صفحه */
.amol-people-page .amol-people-hero h1 {
    font-weight: 850 !important;
    letter-spacing: -0.4px;
}

/* متن توضیح زیر عنوان */
.amol-people-page .amol-people-hero p {
    font-weight: 500;
    color: #f0f3f8 !important;
}


/* خوانایی بیشتر صفحه ریاست */

.president-page .president-info h2 {
    color: #17345b !important;
    font-weight: 850 !important;
}

.president-page .president-detail {
    color: #29374a;
}

.president-page .president-detail:hover {
    background: #fffdf8;
    border-color: #e8d7ad;
}

.president-page .president-eyebrow {
    font-weight: 800;
}

.president-page .president-hero h1 {
    font-weight: 850 !important;
}


/* =========================================
   صفحه‌بندی مدیران واحدهای دانشگاه
========================================= */

.amol-people-pagination {
    margin: 40px 0 20px;
    display: flex;
    justify-content: center;
    direction: rtl;
}

 

.amol-people-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.amol-people-pagination li {
    margin: 0;
    padding: 0;
}

 

.amol-people-pagination a,
.amol-people-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid #dce5ed;
    border-radius: 12px;
    background: #ffffff;
    color: #23476b;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.amol-people-pagination a:hover {
    background: #23476b;
    border-color: #23476b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(35, 71, 107, 0.15);
}

.amol-people-pagination .current {
    background: #23476b;
    border-color: #23476b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(35, 71, 107, 0.18);
}

.amol-people-pagination .prev,
.amol-people-pagination .next {
    padding: 0 20px;
    background: #f3f7fa;
}

.amol-people-pagination .prev:hover,
.amol-people-pagination .next:hover {
    background: #23476b;
    color: #ffffff;
}

@media (max-width: 480px) {
    .amol-people-pagination {
        margin-top: 28px;
    }

    .amol-people-pagination ul {
        gap: 6px;
    }

    .amol-people-pagination a,
    .amol-people-pagination span {
        min-width: 38px;
        min-height: 40px;
        padding: 0 11px;
        font-size: 13px;
    }
}




/* =========================================
   زیباسازی منوی افقی دانشگاه آمل
   رنگ سفید، سرمه‌ای و طلایی
   واکنش‌گرا برای دسکتاپ، تبلت و موبایل
========================================= */

/* نوار منوی اصلی */
.main-navigation,
#site-navigation {
    position: relative;
    z-index: 1000;
    background: #ffffff;
}

/* فهرست افقی منو */
.main-navigation > ul,
#site-navigation > ul,
.main-navigation .menu,
#site-navigation .menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 5px 0;
    list-style: none;
}

/* گزینه‌های اصلی */
.main-navigation > ul > li,
#site-navigation > ul > li,
.main-navigation .menu > li,
#site-navigation .menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

/* لینک‌های منوی اصلی */
.main-navigation > ul > li > a,
#site-navigation > ul > li > a,
.main-navigation .menu > li > a,
#site-navigation .menu > li > a {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 14px;
    color: #102744;
    background: transparent;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.8;
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* خط طلایی زیر گزینه اصلی */
.main-navigation > ul > li > a::after,
#site-navigation > ul > li > a::after,
.main-navigation .menu > li > a::after,
#site-navigation .menu > li > a::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 5px;
    left: 14px;
    height: 2px;
    background: #b98232;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

/* حالت اشاره‌گر و گزینه فعال */
.main-navigation > ul > li:hover > a,
.main-navigation > ul > li:focus-within > a,
#site-navigation > ul > li:hover > a,
#site-navigation > ul > li:focus-within > a,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
#site-navigation .current-menu-item > a,
#site-navigation .current-menu-ancestor > a {
    color: #9a641f;
    background: #faf6ee;
}

.main-navigation > ul > li:hover > a::after,
.main-navigation > ul > li:focus-within > a::after,
#site-navigation > ul > li:hover > a::after,
#site-navigation > ul > li:focus-within > a::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current-menu-ancestor > a::after,
#site-navigation .current-menu-item > a::after,
#site-navigation .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

/* =========================================
   زیرمنوهای آبشاری
========================================= */

/* زیرمنوی سطح اول */
.main-navigation ul ul,
#site-navigation ul ul {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 9999;
    display: none;
    min-width: 225px;
    margin: 0;
    padding: 7px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e8eaf0;
    border-top: 3px solid #b98232;
    border-radius: 0 0 9px 9px;
    box-shadow: 0 12px 28px rgba(7, 21, 43, 0.14);
}

/* نمایش زیرمنو فقط با قرار گرفتن نشانگر ماوس */
.main-navigation li:hover > ul,
#site-navigation li:hover > ul {
    display: block;
}

/* گزینه‌های داخل زیرمنو */
.main-navigation ul ul li,
#site-navigation ul ul li {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* لینک‌های زیرمنو: متن راست‌چین و فلش در سمت چپ */
.main-navigation ul ul li > a,
#site-navigation ul ul li > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 13px;
    color: #102744;
    background: #ffffff;
    border-radius: 5px;
    text-align: right;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
    white-space: normal;
    transition: color 0.18s ease, background-color 0.18s ease, padding 0.18s ease;
}

/* جداکننده ظریف بین گزینه‌های زیرمنو */
.main-navigation ul ul li + li > a,
#site-navigation ul ul li + li > a {
    border-top: 1px solid #f0f1f4;
}

/* افکت هاور زیرمنو */
.main-navigation ul ul li:hover > a,
.main-navigation ul ul li:focus-within > a,
#site-navigation ul ul li:hover > a,
#site-navigation ul ul li:focus-within > a {
    color: #98621d;
    background: #faf6ee;
    padding-right: 17px;
}

/* زیرمنوی سطح دوم در سمت چپ زیرمنوی اول */
.main-navigation ul ul ul,
#site-navigation ul ul ul {
    top: -3px;
    right: 100%;
    left: auto;
    margin: 0;
    border-top: 3px solid #b98232;
    border-radius: 0 0 9px 9px;
}

/* فلش گزینه‌های اصلی دارای زیرمنو */
/* مثلث توپر گزینه‌های اصلی دارای زیرمنو */
.main-navigation li.menu-item-has-children > a::before,
#site-navigation li.menu-item-has-children > a::before {
    content: "";
    order: 2;
    flex-shrink: 0;
    width: 0;
    height: 0;
    margin-right: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #b98232;
}


/* فلش گزینه‌های زیرمنو دارای سطح بعدی */

.main-navigation ul ul li.menu-item-has-children > a::before,
#site-navigation ul ul li.menu-item-has-children > a::before {
    content: "";
    order: 2;
    flex-shrink: 0;
    width: 0;
    height: 0;
    margin-right: 8px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 5px solid #b98232;
}

/* =========================================
   تبلت
========================================= */
@media (max-width: 1024px) {
    .main-navigation > ul > li > a,
    #site-navigation > ul > li > a,
    .main-navigation .menu > li > a,
    #site-navigation .menu > li > a {
        padding: 11px 10px;
        font-size: 14px;
    }
}

/* =========================================
   موبایل
========================================= */
@media (max-width: 767px) {
    .main-navigation ul ul,
    #site-navigation ul ul {
        min-width: 190px;
        max-width: min(85vw, 280px);
    }

    .main-navigation ul ul li > a,
    #site-navigation ul ul li > a {
        padding: 9px 11px;
        font-size: 13px;
    }
}

/* کاهش انیمیشن در صورت ترجیح کاربر */
@media (prefers-reduced-motion: reduce) {
    .main-navigation a,
    #site-navigation a,
    .main-navigation a::after,
    #site-navigation a::after {
        transition: none;
    }
}

/* فقط زیرمنوی اطلاعیه‌ها در قسمت آرشیوها به سمت راست باز شود */
.main-navigation ul ul li.submenu-opens-right > ul,
#site-navigation ul ul li.submenu-opens-right > ul {
    right: auto;
    left: 100%;
}

/* باز شدن زیرمنوی چارت‌ها به سمت راست */
.main-navigation ul ul li.submenu-inside > ul,
#site-navigation ul ul li.submenu-inside > ul {
    right: auto;
    left: 100%;
}

/* هماهنگ‌سازی Hero برگه‌های معمولی با آرشیو اخبار */
.page-content-wrapper .university-page > .page-header {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 120px;
    min-height: 120px;
    padding: 10px 5%;
    margin-bottom: 32px;
    overflow: hidden;
    border-bottom: 3px solid #d6a34d;
    color: #fff;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(214, 163, 77, 0.17),
            transparent 32%
        ),
        linear-gradient(125deg, #102744, #234873);
}

/* عنوان Hero */
.page-content-wrapper .page-header .page-title {
    margin: 0;
    color: #fff;
    font-size: clamp(23px, 2.5vw, 30px);
    font-weight: 800;
    line-height: 1.5;
}

/* متن کوچک بالای عنوان */
.page-content-wrapper .page-header .page-eyebrow {
    margin-bottom: 2px;
    color: #e4cb91;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

/* موبایل و تبلت */
@media (max-width: 760px) {
    .page-content-wrapper .university-page > .page-header {
        height: 110px;
        min-height: 110px;
        padding: 10px 5%;
        margin-bottom: 24px;
    }

    .page-content-wrapper .page-header .page-title {
        font-size: 23px;
        line-height: 1.4;
    }

    .page-content-wrapper .page-header .page-eyebrow {
        font-size: 11px;
    }
}

/* =========================================
   یکسان‌سازی دقیق رنگ نوار بالا و فوتر
========================================= */

.top-bar,
.site-footer {
    background-color: #07152b !important;
    background-image: none !important;
    opacity: 1 !important;
}

/* جلوگیری از تغییر رنگ نوار بالا در حالت‌های مختلف */
.top-bar,
.top-bar:hover {
    background-color: #07152b !important;
    background-image: none !important;
}

/* نوار پایینی فوتر مستقل باقی بماند */
.site-footer .footer-bottom {
    background-color: #040d1a;
}



/* =========================================
   قالب یکپارچه تمام جدول‌های سایت آمل
   به‌جز جدول صفحه ارتباط با ما
========================================= */

/* بدنه اصلی جدول‌ها */
body table:not(.amol-contact-directory table) {
    width: 100% !important;
    max-width: 850px;
    height: auto !important;
    margin: 24px auto 36px !important;
    border: 2px solid #7899b8 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    box-sizing: border-box !important;
}

/* سلول‌ها */
body table:not(.amol-contact-directory table) td,
body table:not(.amol-contact-directory table) th {
    height: auto !important;
    padding: 12px 10px !important;
    border: 1.5px solid #9bb5ce !important;
    background-color: #f4f8fc !important;
    color: #17345b !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.9 !important;
    vertical-align: middle !important;
}

/* سرستون‌ها */
body table:not(.amol-contact-directory table) th {
    background-color: #17345b !important;
    color: #ffffff !important;
    text-align: center !important;
    font-weight: 800 !important;
}

/* عنوان جدول‌هایی مانند تقویم که عنوانشان داخل h3 است */
body table:not(.amol-contact-directory table) tr:first-child:has(h3) td {
    background-color: #17345b !important;
    color: #ffffff !important;
    text-align: center !important;
}

body table:not(.amol-contact-directory table) tr:first-child h3 {
    margin: 0 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    text-align: center !important;
    line-height: 1.8 !important;
}

/* افکت هاور */
@media (hover: hover) {
    body table:not(.amol-contact-directory table) tr:hover td {
        background-color: #f1f5f9 !important;
        color: #b45309 !important;
        transition: background-color .2s ease, color .2s ease;
    }

    body table:not(.amol-contact-directory table) tr:first-child:has(h3):hover td {
        background-color: #17345b !important;
        color: #ffffff !important;
    }
}

/* تبلت */
@media (min-width: 601px) and (max-width: 1024px) {
    body table:not(.amol-contact-directory table) {
        width: calc(100% - 32px) !important;
    }
}

/* موبایل */
@media (max-width: 600px) {
    body table:not(.amol-contact-directory table) {
        width: calc(100% - 16px) !important;
        font-size: 13px !important;
    }

    body table:not(.amol-contact-directory table) td,
    body table:not(.amol-contact-directory table) th {
        padding: 9px 7px !important;
        font-size: 13px !important;
    }
}

/* کاهش حرکت برای دسترس‌پذیری */
@media (prefers-reduced-motion: reduce) {
    body table:not(.amol-contact-directory table) * {
        transition: none !important;
    }
}



/* =====================================
   هرو مشترک تمام صفحات دانشگاه
===================================== */

.amol-page-hero {
    width: 100%;
    height: 120px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #07152b, #17345b);
    border-bottom: 3px solid #d6a34d;
    direction: rtl;
}

.amol-page-hero-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.amol-page-hero-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #e5bd79;
    font-size: 12px;
    font-weight: 500;
}

.amol-page-hero-title {
    margin: 0;
    color: #fff;
    font-size: 27px;
    line-height: 1.5;
    font-weight: 700;
}

/* تبلت و موبایل */
@media (max-width: 768px) {
    .amol-page-hero {
        height: 110px;
    }

    .amol-page-hero-inner {
        width: calc(100% - 30px);
    }

    .amol-page-hero-title {
        font-size: 23px;
    }
}

@media (max-width: 480px) {
    .amol-page-hero-title {
        font-size: 21px;
    }

    .amol-page-hero-eyebrow {
        font-size: 11px;
    }
}


/* جستجوی کوچک و شناور در Top Bar */

.amol-top-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    direction: rtl;
    z-index: 100;
}

.amol-search-icon {
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5bd79;
    background: transparent;
    border: 1px solid rgba(229,189,121,.45);
    border-radius: 7px;
    cursor: pointer;
    transition: all .25s ease;
}

.amol-search-icon:hover,
.amol-top-search.active .amol-search-icon {
    color: #07152b;
    background: #b45309;
    border-color: #b45309;
}

/* کادر شناور؛ بدون تغییر ارتفاع Top Bar */
.amol-search-box {
    position: absolute;
    top: 50%;
    right: 42px;
    width: 0;
    height: 34px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    border: 0 solid #d6a34d;
    border-radius: 7px;
    box-shadow: 0 5px 18px rgba(0,0,0,.13);
    transform: translateY(-50%);
    transition:
        width .3s ease,
        opacity .25s ease,
        visibility .25s ease,
        padding .3s ease;
}

.amol-top-search.active .amol-search-box {
    width: 225px;
    padding: 3px 5px;
    opacity: 1;
    visibility: visible;
    border-width: 1px;
}

.amol-search-box input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 27px;
    padding: 0 7px;
    border: none;
    outline: none;
    background: transparent;
    color: #07152b;
    font-family: inherit;
    font-size: 12px;
    direction: rtl;
}

.amol-search-box button {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 5px;
    background: #17345b;
    color: #fff;
    cursor: pointer;
}

.amol-search-box button:hover {
    background:#b45309;
}

@media (max-width: 520px) {
    .amol-search-icon {
        width: 32px;
        height: 32px;
    }

    .amol-top-search.active .amol-search-box {
        width: min(190px, calc(100vw - 150px));
    }
}

/* =====================================
   صفحه نتایج جستجوی دانشگاه آمل
===================================== */

.amol-search-page {
    direction: rtl;
    background: #f5f7fa;
    min-height: 500px;
    padding-bottom: 60px;
    font-family: inherit;
}

.amol-search-container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* سربرگ نتایج جستجو */
.amol-search-hero {
    background: linear-gradient(120deg, #07152b, #17345b);
    border-bottom: 3px solid #d6a34d;
    padding: 27px 0;
    color: #fff;
}

.amol-search-hero span {
    display: block;
    color: #e5bd79;
    font-size: 12px;
    margin-bottom: 7px;
}

.amol-search-hero h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
}

.amol-search-hero p {
    margin: 0;
    color: #e3e9f2;
    font-size: 13px;
}

.amol-search-hero strong {
    color: #f2c879;
}

/* محتوای صفحه */
.amol-search-content {
    padding-top: 35px;
}

/* چیدمان کارت‌ها */
.amol-search-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* کارت هر نتیجه */
.amol-search-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(7, 21, 43, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.amol-search-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(7, 21, 43, .11);
}

/* تصویر کارت */
.amol-search-image {
    display: block;
    height: 145px;
    flex-shrink: 0;
    overflow: hidden;
    background: #e9edf2;
}

.amol-search-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.amol-search-card:hover .amol-search-image img {
    transform: scale(1.04);
}

/* متن داخل کارت */
.amol-search-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}

.amol-search-meta {
    color: #8a94a3;
    font-size: 11px;
    margin-bottom: 8px;
}

/* عنوان مطلب */
.amol-search-card h2 {
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 8px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.8em;
}

.amol-search-card h2 a {
    color: #07152b;
    text-decoration: none;
}

.amol-search-card h2 a:hover {
    color: #b45309;
}

/* خلاصه مطلب */
.amol-search-excerpt {
    color: #657184;
    font-size: 12px;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.amol-search-excerpt p {
    margin: 0;
}

/* لینک مطالعه مطلب */
.amol-search-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    color: #b45309;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.amol-search-readmore:hover {
    color: #07152b;
}

/* صفحه‌بندی */
.amol-search-pagination {
    margin-top: 35px;
    text-align: center;
}

.amol-search-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.amol-search-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 7px;
    background: #17345b;
    border: 1px solid #17345b;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: all .2s ease;
}

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

/* نتیجه‌ای پیدا نشد */
.amol-search-empty {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 45px 20px;
    border: 1px solid #e8edf3;
}

.amol-search-empty h2 {
    color: #07152b;
    font-size: 21px;
}

.amol-search-empty p {
    color: #657184;
    font-size: 14px;
}

.amol-search-empty a {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background: #b45309;
    color: #fff;
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
}

/* تبلت */
@media (max-width: 900px) {
    .amol-search-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

/* موبایل */
@media (max-width: 600px) {
    .amol-search-hero {
        padding: 22px 0;
    }

    .amol-search-hero h1 {
        font-size: 21px;
    }

    .amol-search-results {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .amol-search-image {
        height: 175px;
    }

    .amol-search-content {
        padding-top: 22px;
    }

    .amol-search-card-body {
        padding: 16px;
    }
}

/* حالت ماوس روی دکمه ثبت و ارسال دیدگاه */
button,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
}

/* افکت هنگام رفتن ماوس روی دکمه */
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    filter: brightness(1.08);
    transition: all 0.2s ease;
}
/* دکمه ثبت و ارسال دیدگاه */
/* رنگ اصلی دکمه ارسال دیدگاه */
.president-survey-form .survey-submit {
    background-color: #17345b !important;
}

/* رنگ هنگام رفتن ماوس روی دکمه */
.president-survey-form .survey-submit:hover {
    background-color: #b45309 !important;
    transform: translateY(-2px);
}

/* =====================================
   سیستم یکپارچه دکمه‌های دانشگاه آمل
===================================== */

/* استایل پایه دکمه‌ها */
.amol-btn,
.amol-contact-route-button,
.amol-contact-president-button,
.president-survey-form .survey-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 14px;
    border: 0;
    border-radius: 8px;
    color: #fff !important;
    background: var(--contact-navy, #24466f);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

/* افکت هاور همه دکمه‌ها */
.amol-btn:hover,
.amol-contact-route-button:hover,
.amol-contact-president-button:hover,
.president-survey-form .survey-submit:hover {
    color: #fff !important;
    background: #b45309;
    transform: translateY(-2px);
}

/* دکمه کوچک */
.amol-btn-small {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 11px;
}

/* دکمه بزرگ */
.amol-btn-large {
    min-height: 50px;
    padding: 14px 22px;
    font-size: 14px;
}

/* دکمه طلایی */
.amol-btn-gold {
    background: #b45309;
}
/* اصلاح اجباری افکت هاور دکمه‌ها */
.amol-contact-route-button:hover,
.amol-contact-president-button:hover,
.president-survey-form .survey-submit:hover,
.amol-btn:hover {
    background-color: #b45309 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

/* =====================================
   دکمه‌های مشاهده همه در صفحه اصلی
===================================== */

.all-news a,
.all-news a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 190px;
    min-height: 44px;
    padding: 11px 14px;

    box-sizing: border-box;
    border: 0;
    border-radius: 8px;

    color: #ffffff !important;
    background-color: #17345b !important;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;

    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;


}

/* افکت هنگام رفتن ماوس روی دکمه */
.all-news a:hover,
.all-news a:focus-visible {
    color: #ffffff !important;
    background-color: #b45309 !important;
    transform: translateY(-2px);
}

/* نمایش مناسب در موبایل */
@media (max-width: 480px) {
    .all-news a,
    .all-news a:visited {
        max-width: 100%;
    }
}


/* =========================================
   استایل مشترک مرکز فرم‌ها و راهنماها
   دانشگاه آمل
========================================= */


.amol-forms-page {
    direction: rtl;
    color: #263449;
    background: #f4f6fa;
    font-family: inherit;
}

.amol-forms-page *,
.amol-forms-page *::before,
.amol-forms-page *::after {
    box-sizing: border-box;
}

.amol-forms-container {
    width: min(1080px, calc(100% - 40px));
    margin-inline: auto;
}



/* =====================================
   معرفی صفحات و مراکز (قسمت زیر هرو)
===================================== */

.amol-forms-page .forms-intro,
.amol-forms-page .amol-page-intro,
.amol-contact-page .forms-intro,
.amol-contact-page .amol-page-intro,
.amol-people-page .forms-intro,
.amol-people-page .amol-page-intro,
.category-archive .forms-intro,
.category-archive .amol-page-intro {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #f3f6fa;
    border-right: 4px solid #d6a34d;
    border-radius: 12px;
    padding: 12px 25px;
    margin: 30px 0;
    width: 87%;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.amol-forms-page .forms-intro h2,
.amol-forms-page .amol-page-intro h2,
.amol-contact-page .forms-intro h2,
.amol-contact-page .amol-page-intro h2,
.amol-people-page .forms-intro h2,
.amol-people-page .amol-page-intro h2,
.category-archive .forms-intro h2,
.category-archive .amol-page-intro h2 {
    font-size: 18px;
    color: #07152b;
    margin: 0 0 8px;
}

.amol-forms-page .forms-intro p,
.amol-forms-page .amol-page-intro p,
.amol-contact-page .forms-intro p,
.amol-contact-page .amol-page-intro p,
.amol-people-page .forms-intro p,
.amol-people-page .amol-page-intro p,
.category-archive .forms-intro p,
.category-archive .amol-page-intro p {
    margin: 0;
    line-height: 2;
    font-size: 14px;
    color: #64748b;
    text-align: justify;
}

/* =====================================
   آکاردئون دسته‌بندی‌ها
===================================== */

.amol-forms-page .forms-accordion {
    display: grid;
    gap: 14px;
    margin: 30px 0 45px;
}

.amol-forms-page .forms-accordion-item {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.amol-forms-page .forms-accordion-item:hover {
    border-color: #d6a34d;
}

.amol-forms-page .forms-accordion-item[open] {
    border-color: #d6a34d;
    box-shadow: 0 5px 18px rgba(7, 21, 43, .06);
}

/* عنوان قابل کلیک */

.amol-forms-page .forms-accordion-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 15px 20px;
    cursor: pointer;
    list-style: none;
    background: #fff;
}

.amol-forms-page .forms-accordion-heading::-webkit-details-marker {
    display: none;
}

.amol-forms-page .forms-accordion-heading::before {
    content: "▤";
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 39px;
    height: 39px;
    border-radius: 9px;
    background: #f1f5f9;
    color: #17345b;
    font-size: 21px;
}

.amol-forms-page .forms-accordion-title {
    color: #17345b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}

.amol-forms-page .forms-accordion-count {
    margin-right: auto;
    flex-shrink: 0;
    padding: 5px 11px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
}

/* فلش باز و بسته شدن */

.amol-forms-page .forms-accordion-arrow {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-left: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(-45deg);
    transition: transform .2s ease;
    margin-right: 5px;
}

.amol-forms-page .forms-accordion-item[open] .forms-accordion-arrow {
    transform: rotate(135deg);
}

.amol-forms-page .forms-accordion-item[open] .forms-accordion-heading {
    background: #fffdf9;
}

.amol-forms-page .forms-accordion-item[open] .forms-accordion-heading::before {
    background: #fff3df;
    color: #b45309;
}

.amol-forms-page .forms-accordion-heading:hover .forms-accordion-title {
    color: #b45309;
}

/* محتوای داخلی هر دسته */

.amol-forms-page .forms-accordion-content {
    padding: 0 20px 20px;
    border-top: 1px solid #edf0f4;
}

.amol-forms-page .forms-accordion-content .forms-list {
    padding-top: 17px;
}

/* =====================================
   فهرست فرم‌ها
===================================== */

.amol-forms-page .forms-list {
    display: grid;
    gap: 12px;
}

.amol-forms-page .form-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 11px;
    padding: 16px 19px;
    transition: .2s ease;
}

.amol-forms-page .form-item:hover {
    border-color: #d6a34d;
    box-shadow: 0 5px 18px rgba(7, 21, 43, .06);
}

.amol-forms-page .form-item-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.amol-forms-page .form-item-text {
    min-width: 0;
}

.amol-forms-page .form-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 43px;
    height: 45px;
    border-radius: 8px;
    background: #fff1ef;
    color: #c0392b;
    font-size: 11px;
    font-weight: 800;
}

.amol-forms-page .form-file-icon.zip {
    background: #fff6e5;
    color: #a66b12;
}

.amol-forms-page .form-item h3 {
    font-size: 15px;
    color: #263449;
    margin: 0 0 5px;
    line-height: 1.9;
}

.amol-forms-page .form-item p {
    font-size: 13px;
    color: #788596;
    line-height: 1.8;
    margin: 0;
}

/* =====================================
   دکمه دریافت فرم
===================================== */

.amol-forms-page .form-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    background: #17345b;
    color: #fff;
    padding: 10px 17px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    transition: .2s ease;
}

.amol-forms-page .form-download-btn:hover {
    background: #b45309;
    color: #fff;
}

.amol-forms-page .form-not-available,
.amol-forms-page .forms-empty {
    color: #8a5b20;
    font-size: 13px;
    line-height: 2;
}

/* =====================================
   تبلت و موبایل
===================================== */

@media (max-width: 768px) {

    .amol-forms-container {
        width: calc(100% - 30px);
    }

    .amol-forms-page .forms-intro {
        align-items: flex-start;
        padding: 18px;
        margin: 22px 0;
    }

    .amol-forms-page .forms-accordion-heading {
        min-height: 65px;
        padding: 13px 14px;
        gap: 10px;
    }

    .amol-forms-page .forms-accordion-title {
        font-size: 13px;
    }

    .amol-forms-page .forms-accordion-content {
        padding: 0 13px 15px;
    }

    .amol-forms-page .form-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .amol-forms-page .form-download-btn {
        width: 100%;
    }
}

@media (max-width: 420px) {

    .amol-forms-container {
        width: calc(100% - 24px);
    }

    .amol-forms-page .forms-intro {
        gap: 12px;
        padding: 15px;
    }

    .amol-forms-page .forms-intro h2 {
        font-size: 16px;
    }

    .amol-forms-page .forms-accordion {
        gap: 11px;
    }

    .amol-forms-page .forms-accordion-heading {
        padding: 12px 10px;
        gap: 8px;
    }

    .amol-forms-page .forms-accordion-heading::before {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }

    .amol-forms-page .forms-accordion-title {
        font-size: 12px;
    }

    .amol-forms-page .forms-accordion-count {
        font-size: 11px;
        padding: 4px 8px;
    }

    .amol-forms-page .form-item {
        padding: 14px;
    }

    .amol-forms-page .form-item h3 {
        font-size: 14px;
    }
}

/* کاهش حرکت برای دسترس‌پذیری */

@media (prefers-reduced-motion: reduce) {
    .amol-forms-page * ,
    .amol-forms-page *::before,
    .amol-forms-page *::after {
        transition: none !important;
    }
}


/* =====================================
   هاور حرفه‌ای دسته‌بندی‌ها
===================================== */

.amol-forms-page .forms-accordion-item {
    position: relative;
    border: 1px solid #e5eaf0;
    border-radius: 13px;
    overflow: hidden;
    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        transform .3s ease;
}

/* نوار طلایی ظریف کنار دسته */

.amol-forms-page .forms-accordion-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(
        to bottom,
        #e5c27b,
        #b78332
    );
    transition: height .3s ease;
    z-index: 2;
}

/* افکت هنگام قرار گرفتن موس */

.amol-forms-page .forms-accordion-item:hover {
    border-color: #d6b36f;
    box-shadow: 0 8px 24px rgba(7, 21, 43, .09);
    transform: translateY(-2px);
}

.amol-forms-page .forms-accordion-item:hover::before {
    height: 100%;
}

/* تغییر رنگ عنوان */

.amol-forms-page .forms-accordion-item:hover
.forms-accordion-title {
    color: #a87528;
}

/* آیکون دسته */

.amol-forms-page .forms-accordion-heading::before {
    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.amol-forms-page .forms-accordion-item:hover
.forms-accordion-heading::before {
    background: #fff4df;
    color: #a87528;
    transform: scale(1.07);
}

/* تعداد فرم‌ها */

.amol-forms-page .forms-accordion-count {
    transition:
        background .3s ease,
        color .3s ease;
}

.amol-forms-page .forms-accordion-item:hover
.forms-accordion-count {
    background: #fff4df;
    color: #a87528;
}

/* فلش */

.amol-forms-page .forms-accordion-arrow {
    transition:
        transform .3s ease,
        border-color .3s ease;
}

.amol-forms-page .forms-accordion-item:hover
.forms-accordion-arrow {
    border-color: #b78332;
}

/* دسته بازشده */

.amol-forms-page .forms-accordion-item[open] {
    border-color: #d6b36f;
    box-shadow: 0 7px 22px rgba(7, 21, 43, .07);
}

.amol-forms-page .forms-accordion-item[open]::before {
    height: 100%;
}

/* حذف حرکت اضافی در موبایل */

@media (hover: none) {
    .amol-forms-page .forms-accordion-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* =========================================
   راهنمای آموزشی اختصاصی گروه حسابداری
========================================= */

.amol-academic-group-page .accounting-guide {
    direction: rtl;
    width: calc(100% - 70px);
    max-width: 100%;
    margin: 35px auto 55px;
    padding: 28px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 16px;
    box-shadow: 0 5px 22px rgba(7, 21, 43, 0.05);
    font-family: inherit;
}

.amol-academic-group-page .accounting-guide *,
.amol-academic-group-page .accounting-guide *::before,
.amol-academic-group-page .accounting-guide *::after {
    box-sizing: border-box;
}

.amol-academic-group-page .accounting-guide h2 {
    margin: 0 0 25px;
    padding: 0 0 18px;
    border-bottom: 2px solid #d6a34d;
    color: #07152b;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.9;
}

.amol-academic-group-page .accounting-guide-list {
    display: grid;
    gap: 16px;
}

.amol-academic-group-page .accounting-guide details {
    overflow: hidden;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease,
                transform 0.25s ease;
}

.amol-academic-group-page .accounting-guide details:hover {
    border-color: #d6a34d;
    box-shadow: 0 7px 20px rgba(7, 21, 43, 0.09);
    transform: translateY(-2px);
}

.amol-academic-group-page .accounting-guide details[open] {
    border-color: #d6a34d;
}

.amol-academic-group-page .accounting-guide summary {
    position: relative;
    padding: 17px 22px 17px 52px;
    background: #f3f6fa;
    color: #07152b;
    font-size: 16px;
    font-weight: 700;
    line-height: 2;
    cursor: pointer;
    list-style: none;
    transition: background 0.25s ease,
                color 0.25s ease;
}

.amol-academic-group-page .accounting-guide summary::-webkit-details-marker {
    display: none;
}

.amol-academic-group-page .accounting-guide summary::after {
    content: "+";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #b45309;
    font-size: 25px;
    font-weight: 400;
}

.amol-academic-group-page .accounting-guide details[open] summary::after {
    content: "−";
}

.amol-academic-group-page .accounting-guide summary:hover {
    background: #eaf0f7;
    color: #b45309;
}

.amol-academic-group-page .accounting-guide details[open] summary {
    background: #f3f6fa;
    border-bottom: 1px solid #e5eaf0;
}

.amol-academic-group-page .accounting-guide-content {
    padding: 12px 24px 20px;
    background: #ffffff;
}

.amol-academic-group-page .accounting-guide-content ol {
    margin: 0;
    padding: 0 24px 0 0;
    list-style-type: persian;

}

.amol-academic-group-page .accounting-guide-content li {
    padding: 12px 8px;
    margin: 0;
    color: #475569;
    font-size: 15px;
    font-weight: 600;
    line-height: 2.3;
    border-bottom: 1px solid #edf0f4;
    text-align: justify;
}

.amol-academic-group-page .accounting-guide-content li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {

    .amol-academic-group-page .accounting-guide {
        width: calc(100% - 30px);
        margin: 25px auto 40px;
        padding: 19px 14px;
    }

    .amol-academic-group-page .accounting-guide h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .amol-academic-group-page .accounting-guide summary {
        padding: 14px 15px 14px 42px;
        font-size: 14px;
    }

    .amol-academic-group-page .accounting-guide summary::after {
        left: 13px;
    }

    .amol-academic-group-page .accounting-guide-content {
        padding: 10px 10px 15px;
    }

    .amol-academic-group-page .accounting-guide-content ol {
        padding-right: 20px;
    }

    .amol-academic-group-page .accounting-guide-content li {
        padding: 10px 5px;
        font-size: 13px;
        line-height: 2.2;
        text-align: justify;
    }
}

@media (max-width: 420px) {

    .amol-academic-group-page .accounting-guide {
        width: calc(100% - 24px);
        padding: 16px 11px;
    }

    .amol-academic-group-page .accounting-guide h2 {
        font-size: 16px;
    }

    .amol-academic-group-page .accounting-guide summary {
        font-size: 13px;
    }
}


/* =========================================
   صفحه آموزش و بهسازی منابع انسانی
========================================= */

.amol-hr-notice {
    direction: rtl;
    width: calc(100% - 70px);
    max-width: 100%;
    margin: 40px auto 60px;
    padding: 30px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 16px;
    box-shadow: 0 5px 22px rgba(7, 21, 43, 0.05);
    font-family: inherit;
}

/* سربرگ اطلاعیه */

.amol-hr-notice-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 2px solid #d6a34d;
}

.amol-hr-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f3f6fa;
    color: #b45309;
    font-size: 22px;
    font-weight: 800;
}

.amol-hr-notice-header h2 {
    margin: 0;
    color: #07152b;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.8;
}

/* متن اطلاعیه */

.amol-hr-notice-body p {
    margin: 0 0 15px;
    color: #475569;
    font-size: 15px;
    font-weight: 600;
    line-height: 2.4;
}

/* دکمه مشاهده فرم‌ها */

.amol-hr-notice .amol-hr-forms-button,
.amol-hr-notice .amol-hr-forms-button:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    min-height: 48px;
    padding: 11px 14px;
    margin: 12px auto 0;
    box-sizing: border-box;

    border: none;
    border-radius: 8px;

    color: #ffffff !important;
    background-color: #17345b !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    text-decoration: none !important;

    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

/* حذف فلش و آیکون احتمالی */

.amol-hr-notice .amol-hr-forms-button::before,
.amol-hr-notice .amol-hr-forms-button::after {
    content: none !important;
    display: none !important;
}

/* هاور دکمه */

.amol-hr-notice .amol-hr-forms-button:hover {
    background-color: #b45309 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* نمایش در موبایل */

@media (max-width: 768px) {

    .amol-hr-notice {
        width: calc(100% - 30px);
        margin: 25px auto 40px;
        padding: 20px 16px;
    }

    .amol-hr-notice-header h2 {
        font-size: 18px;
    }

    .amol-hr-notice-body p {
        font-size: 14px;
    }

    .amol-hr-notice .amol-hr-forms-button {
        width: 210px;
        max-width: 100%;
    }
}

/* آزمایش تشخیصی: پنهان کردن عناصر تزئینی داخل دکمه */

.amol-hr-notice .amol-hr-forms-button {
    position: relative !important;
    overflow: hidden !important;
    direction: rtl !important;
    gap: 0 !important;
}

.amol-hr-notice .amol-hr-forms-button > * {
    display: none !important;
}

/* حذف فلش از دکمه‌های مشاهده همه صفحه اصلی */

.all-news a > * {
    display: none !important;
}

.all-news a::before,
.all-news a::after {
    content: none !important;
    display: none !important;
}

.all-news a {
    gap: 0 !important;
}



/* =========================================================
   صفحه جزئیات اخبار، اطلاعیه‌ها و رویدادها
   Amol Single Post
========================================================= */

.amol-single-post {
    direction: rtl;
    background: #f3f6fa;
    color: #26384a;
    padding: 35px 18px 65px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 15px;
    line-height: 2;
}

.amol-single-post,
.amol-single-post * {
    box-sizing: border-box;
}

.amol-single-container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

/* مسیر راهنما */

.amol-single-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
    padding: 0 5px;
    color: #64748b;
    font-size: 13px;
}

.amol-single-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color .2s ease;
}

.amol-single-breadcrumb a:hover {
    color: #b45309;
}

.amol-single-breadcrumb .breadcrumb-separator {
    color: #b0bac8;
    font-size: 17px;
}

.amol-single-breadcrumb .breadcrumb-current {
    color: #94a3b8;
}

/* کارت اصلی */

.amol-single-article {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 15px;
    padding: 38px 45px;
    box-shadow: 0 5px 24px rgba(15, 35, 60, .055);
}

/* سربرگ نوشته */

.amol-single-header {
    margin-bottom: 27px;
    padding-bottom: 23px;
    border-bottom: 1px solid #edf0f4;
}

.amol-single-category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 4px 15px;
    border-radius: 5px;
    background: #fff4e5;
    color: #a45a0a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.amol-single-category:hover {
    background: #b45309;
    color: #fff;
}

.amol-single-title {
    margin: 0 0 17px;
    color: #07152b;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.9;
}

.amol-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #8290a2;
    font-size: 13px;
}

.amol-single-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.amol-single-date i {
    color: #b45309;
}

/* تصویر شاخص */

.amol-single-featured-image {
    margin: 0 0 30px;
    overflow: hidden;
    border-radius: 11px;
    background: #f1f4f8;
    text-align: center;
}

.amol-single-featured-image img {
    display: block;
    width: 100%;
    max-height: 510px;
    object-fit: contain;
    margin: 0 auto;
}

/* متن نوشته */

.amol-single-content {
    color: #263238;
    font-size: 15px;
    font-weight: 500;
    line-height: 2.35;
    text-align: justify;
    overflow-wrap: anywhere;
}

/* تصویر شاخص نوشته */

.amol-single-featured-image {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 25px;
    padding: 0;
}

.amol-single-featured-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 12px;
    object-fit: contain;
}


.amol-single-content p {
    margin: 0 0 20px;
}

.amol-single-content h2 {
    margin: 15px 0 8px;
    color: #07152b;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.9;
}


.amol-single-content h3 {
    margin: 27px 0 12px;
    color: #102b4b;
    font-size: 18px;
    font-weight: 700;
}

.amol-single-content h4 {
    color: #102b4b;
    font-size: 16px;
}

.amol-single-content ul,
.amol-single-content ol {
    padding-right: 28px;
    margin: 15px 0 24px;
}

.amol-single-content li {
    margin-bottom: 8px;
    padding-right: 3px;
}

.amol-single-content a {
    color: #a45a0a;
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.amol-single-content a:hover {
    color: #07152b;
    text-decoration: underline;
}

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

.amol-single-content figure {
    max-width: 100%;
    margin: 25px auto;
}

.amol-single-content blockquote {
    margin: 25px 0;
    padding: 15px 22px;
    border-right: 4px solid #d6a34d;
    border-radius: 5px;
    background: #f8fafc;
    color: #526174;
}

.amol-single-content table {
    width: 100%;
    max-width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    overflow: hidden;
    font-size: 14px;
}

.amol-single-content th,
.amol-single-content td {
    padding: 10px 13px;
    border: 1px solid #e1e7ef;
    text-align: right;
}

.amol-single-content th {
    background: #edf2f7;
    color: #07152b;
    font-weight: 700;
}

.amol-single-content iframe {
    max-width: 100%;
}

.amol-single-content video {
    max-width: 100%;
    height: auto;
}

/* شماره صفحات نوشته */

.amol-single-page-links {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #edf0f4;
}

/* بازگشت به دسته */

.amol-single-back {
    margin: 22px 0 38px;
}

.amol-single-back a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 19px;
    border: 1px solid #07152b;
    border-radius: 7px;
    background: #17345b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s ease;
}

.amol-single-back a:hover {
    border-color: #b45309;
    background: #b45309;
    color: #fff;
    transform: translateY(-2px);
}

/* مطالب مرتبط */

.amol-single-related {
    margin-top: 15px;
}

.amol-single-related-title {
    position: relative;
    margin: 0 0 22px;
    padding-right: 15px;
    color: #07152b;
    font-size: 20px;
    font-weight: 800;
}

.amol-single-related-title::before {
    content: "";
    position: absolute;
    top: 7px;
    right: 0;
    width: 4px;
    height: 25px;
    border-radius: 3px;
    background: #d6a34d;
}

.amol-single-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.amol-single-related-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8edf3;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(15, 35, 60, .04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.amol-single-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 22px rgba(15, 35, 60, .09);
}

.amol-single-related-image {
    display: block;
    height: 155px;
    overflow: hidden;
    background: #edf1f5;
}

.amol-single-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.amol-single-related-card:hover .amol-single-related-image img {
    transform: scale(1.04);
}

.amol-single-related-body {
    padding: 15px 16px 17px;
}

.amol-single-related-date {
    color: #94a3b8;
    font-size: 11px;
}

.amol-single-related-body h3 {
    margin: 8px 0 13px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
}

.amol-single-related-body h3 a {
    color: #24364a;
    text-decoration: none;
    transition: color .2s ease;
}

.amol-single-related-body h3 a:hover {
    color: #b45309;
}

.amol-single-related-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #a45a0a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.amol-single-related-link:hover {
    color: #07152b;
}

/* واکنش‌گرایی */

@media (max-width: 768px) {

    .amol-single-post {
        padding: 25px 13px 45px;
    }

    .amol-single-article {
        padding: 25px 22px;
    }

    .amol-single-title {
        font-size: 21px;
    }

    .amol-single-content {
        font-size: 14px;
        line-height: 2.2;
    }

    .amol-single-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 520px) {

    .amol-single-post {
        padding: 18px 10px 35px;
    }

    .amol-single-article {
        padding: 21px 16px;
        border-radius: 10px;
    }

    .amol-single-breadcrumb {
        font-size: 11px;
        gap: 6px;
    }

    .amol-single-title {
        font-size: 18px;
        line-height: 1.9;
    }

    .amol-single-header {
        margin-bottom: 20px;
        padding-bottom: 17px;
    }

    .amol-single-featured-image {
        margin-bottom: 22px;
    }

    .amol-single-content {
        font-size: 13px;
        line-height: 2.15;
    }

    .amol-single-content h2 {
        font-size: 18px;
    }

    .amol-single-content h3 {
        font-size: 16px;
    }

    .amol-single-related-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .amol-single-related-image {
        height: 190px;
    }

}



/* =========================================
   اصلاح هدر اصلی در موبایل
========================================= */

@media (max-width: 767px) {

    .site-header {
        padding: 12px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .header-container {
        width: 100%;
        box-sizing: border-box;
        padding: 0 12px;
        gap: 10px;
        justify-content: space-between;
        align-items: center;
    }

 .header-title-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-start !important;
    text-align: right;
}
    .header-title-img {
        width: 100%;
        min-width: 0;
    }

    .header-title-img img {
        width: auto;
        max-width: 100%;
        height: auto !important;
        max-height: 72px;
        object-fit: contain;
        margin-right: 0;
        margin-left: auto;
    }

    .header-subtitle-en {
        font-size: 8px;
        letter-spacing: 0;
        text-align: right;
        margin-top: 5px;
    }

    .header-logo-img {
        flex: 0 0 auto;
        max-width: 27%;
    }

    .header-logo-img img {
        width: auto;
        max-width: 100%;
        height: auto !important;
        max-height: 85px;
        object-fit: contain;
    }
}


/* =========================================
   اصلاح زیرمنوها در موبایل
========================================= */

@media (max-width: 767px) {

    /* جلوگیری از خروج منو از عرض صفحه */
    .main-navigation,
    .nav-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-navigation ul ul {
        right: 0;
        left: auto;
        width: min(260px, calc(100vw - 30px));
        min-width: 0;
        max-width: calc(100vw - 30px);
        box-sizing: border-box;
    }

    /* زیرمنوی سطح دوم به جای چپ و راست، زیر گزینه باز شود */
    .main-navigation ul ul ul {
        position: static;
        right: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        box-shadow: none;
        border: 0;
        border-right: 2px solid #d6a34d;
        border-radius: 0;
    }

    /* نمایش زیرمنو با لمس یا فوکوس */
    .main-navigation li:hover > ul,
    .main-navigation li:focus-within > ul {
        display: block;
    }

}




/* =========================================
   منوی موبایل مؤسسه آموزش عالی آمل
========================================= */

/* دکمه موبایل در دسکتاپ مخفی */
.main-navigation > .mobile-menu-toggle,
.main-navigation .mobile-submenu-toggle {
    display: none;
}

@media (max-width: 767px) {

    /* بدنه منو */
    .main-navigation {
        width: 100%;
        position: relative;
        z-index: 10000;
        background: #fff;
        box-sizing: border-box;
    }

    /* دکمه همبرگری */
    .main-navigation > .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        width: 44px !important;
        height: 42px !important;
        margin: 8px 12px !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 7px !important;
        background: #17345b !important;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(7, 21, 43, 0.12);
        transition: background 0.2s ease;
    }

    /* سه خط افقی دکمه */
    .main-navigation > .mobile-menu-toggle > span {
        display: block !important;
        position: static !important;
        width: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
        height: 1.5px !important;
        min-height: 1.5px !important;
        max-height: 1.5px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 2px !important;
        background: #fff !important;
        transform: none !important;
        flex: 0 0 1.5px !important;
    }

    .main-navigation > .mobile-menu-toggle:hover {
        background: #17345b !important;
    }

    /* محفظه منو */
    .main-navigation .nav-container {
        display: none;
        width: 100%;
        max-width: 100%;
        padding: 0 12px 12px;
        box-sizing: border-box;
    }

    .main-navigation.mobile-menu-open .nav-container {
        display: block;
    }

    /* منوی اصلی */
    .main-navigation .nav-container ul.menu {
        display: flex !important;
        flex-direction: column !important;
        direction: rtl !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 5px 12px;
        box-sizing: border-box;
        list-style: none;
        background: #fff;
        border: 1px solid #e2e7ef;
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(7, 21, 43, 0.08);
    }

    /* ترتیب طبیعی گزینه‌های منو */
    .main-navigation .nav-container ul.menu > li {
        order: 0 !important;
    }

    /* ردیف‌های منو */
    .main-navigation .nav-container ul.menu li {
        position: relative;
        display: grid;
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border-bottom: 1px solid #edf0f4;
    }

    .main-navigation .nav-container ul.menu > li:last-child {
        border-bottom: none;
    }

    /* لینک‌ها */
    .main-navigation .nav-container ul.menu li > a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 46px;
        margin: 0;
        padding: 10px 12px;
        box-sizing: border-box;
        color: #102744;
        font-family: 'Vazirmatn', sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.8;
        white-space: normal;
        text-decoration: none;
    }

    .main-navigation .nav-container ul.menu li > a:hover,
    .main-navigation .nav-container ul.menu li.current-menu-item > a,
    .main-navigation .nav-container ul.menu li.current-menu-ancestor > a {
        color: #b45309;
        background: #f8f5ef;
    }

    /* ردیف دارای زیرمنو */
    .main-navigation .nav-container ul.menu li.menu-item-has-children {
        grid-template-columns: minmax(0, 1fr) 44px;
        align-items: center;
    }

    .main-navigation .nav-container ul.menu li.menu-item-has-children > a {
        grid-column: 1;
        grid-row: 1;
    }

    
       /* =========================================
       دکمه مثلث زیرمنو
    ========================================= */

    .main-navigation .mobile-submenu-toggle {
        display: flex !important;
        grid-column: 2;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 5px;
        background: transparent;
        color: #17345b;
        cursor: pointer;
    }

    /* مثلث توپر */
    .main-navigation .mobile-submenu-toggle span {
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid currentColor;
        font-size: 0;
        transition: transform 0.2s ease;
    }

    /* هاور دکمه */
    .main-navigation .mobile-submenu-toggle:hover {
        background: #f1f3f7;
        color: #b45309;
    }

    /* چرخش مثلث هنگام باز شدن زیرمنو */
    .main-navigation li.submenu-open > .mobile-submenu-toggle span {
        transform: rotate(180deg);
    }



    /* زیرمنوها در حالت بسته */
    .main-navigation .nav-container ul.menu ul {
        display: none !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 12px 5px 0 !important;
        box-sizing: border-box;
        flex-direction: column !important;
        background: #f7f8fa !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: auto !important;
    }

    /* زیرمنوی باز */
    .main-navigation .nav-container ul.menu li.submenu-open > ul {
        display: flex !important;
        grid-column: 1 / -1;
        grid-row: 2;
    }

    /* ردیف‌های زیرمنو */
    .main-navigation .nav-container ul.menu ul li {
        border-bottom: 1px solid #e7eaf0;
    }

    .main-navigation .nav-container ul.menu ul li > a {
        min-height: 42px;
        padding: 9px 14px;
        font-size: 13px;
        font-weight: 500;
    }

    /* زیرمنوی سطح سوم */
    .main-navigation .nav-container ul.menu ul ul {
        background: #eef1f5 !important;
    }

/*تراز بندی راست چین منو در موبایل */
.main-navigation .nav-container ul.menu li > a {
    text-align: right !important;
    justify-content: flex-start !important;
    direction: rtl !important;
}

}

/* حذف فلش تکراری کنار عنوان در منوی موبایل */
@media (max-width: 767px) {
    .main-navigation li.menu-item-has-children > a::before {
        content: none !important;
        display: none !important;
    }
}

/* هاور آیتم‌های منوی موبایل */
@media (max-width: 767px) {
    .main-navigation .nav-container ul.menu > li > a:hover,
    .main-navigation .nav-container ul.menu ul li > a:hover {
        color: #b45309 !important;
        background-color: #f8f5ef !important;
    }
}

/* اصلاح رنگ متن نوشته‌های رویدادهای فرهنگی */
.single-post .amol-single-article.category-nextfeatures .amol-single-content {
    color: #263238;
}

/* =========================================
   فیلتر دسته‌بندی آرشیو اطلاعیه‌ها
========================================= */

.announcement-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 auto 28px;
    padding: 18px 22px;
    background: #f7f9fc;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    direction: rtl;
}

.announcement-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 17px;
    border: 1px solid #dce3ec;
    border-radius: 7px;
    background: #fff;
    color: #26364b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}



.announcement-filter:hover {
    background: #b45309;
    border-color: #b45309;
    color: #fff;
}

.announcement-filter.active {
    background: #24466f;
    border-color: #24466f;
    color: #fff;
}


@media (max-width: 600px) {
    .announcement-filters {
        gap: 8px;
        padding: 14px;
        margin-bottom: 22px;
    }

    .announcement-filter {
        padding: 8px 12px;
        font-size: 12px;
    }
}


/* =========================================
   جست‌وجو و فیلتر سال آرشیو اطلاعیه‌ها و رویدادها
========================================= */

.amol-archive-search {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 auto 30px;
    padding: 20px 22px;
    background: #f7f9fc;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    direction: rtl;
}

.amol-archive-search-field,
.amol-archive-year-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amol-archive-search-field {
    flex: 1;
    min-width: 220px;
}

.amol-archive-year-field {
    width: 180px;
}

.amol-archive-search label {
    color: #26364b;
    font-size: 13px;
    font-weight: 600;
}

.amol-archive-search input,
.amol-archive-search select {
    width: 100%;
    height: 43px;
    padding: 0 13px;
    border: 1px solid #dce3ec;
    border-radius: 7px;
    background: #fff;
    color: #26364b;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.amol-archive-search input:focus,
.amol-archive-search select:focus {
    border-color: #24466f;
    box-shadow: 0 0 0 3px rgba(36, 70, 111, 0.08);
}

.amol-archive-search button,
.amol-archive-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 20px;
    border: 1px solid #17345b;
    border-radius: 7px;
    background: #17345b;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amol-archive-search button:hover {
    background: #b45309;
    border-color: #b45309;
    color: #fff;
}

.amol-archive-reset {
    background: #17345b;
    color: #fff;
    border-color: #17345b;
}

.amol-archive-reset:hover {
    background: #b45309;
    border-color: #b45309;
    color: #fff;
}

@media (max-width: 600px) {

    .amol-archive-search {
        padding: 16px;
        gap: 12px;
    }

    .amol-archive-search-field,
    .amol-archive-year-field {
        width: 100%;
        min-width: 100%;
        flex: none;
    }

    .amol-archive-search button,
    .amol-archive-reset {
        flex: 1;
    }

}

 

/* عنوان مقاطع تحصیلی در صفحات گروه‌های آموزشی */
.amol-academic-group-page .academic-degree-heading h2 {
    font-size: 20px;
}

/* =========================================
   مخفی‌سازی بصری عنوان برای صفحه‌خوان‌ها
========================================= */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}




/* =========================================
   صفحه امکانات و تسهیلات مؤسسه
   Modern Editorial Card Design
========================================= */

.amol-facilities-page {
    background: #f4f6fa;
}

/* =========================================
   چیدمان کارت‌ها
========================================= */

.amol-facilities-section {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto 65px;
}

.amol-facilities-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}

/* =========================================
   کارت‌ها
========================================= */

.amol-facility-card {
    position: relative;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 17px;
    box-shadow: 0 5px 22px rgba(7, 21, 43, 0.045);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* دو کارت ردیف دوم در مرکز */

.amol-facility-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.amol-facility-card:nth-child(5) {
    grid-column: 4 / span 2;
}

/* کارت ویژه نیز هم‌اندازه سایر کارت‌ها */

.amol-facility-card--featured {
    display: flex;
    grid-column: span 2;
    min-height: 0;
    grid-template-columns: none;
}

.amol-facility-card:hover {
    transform: translateY(-7px);
    border-color: rgba(185, 130, 50, 0.45);
    box-shadow: 0 18px 38px rgba(7, 21, 43, 0.11);
}

/* =========================================
   بخش تصویر
========================================= */

.amol-facility-image {
    position: relative;
    display: block;
    width: 100%;
    height: 205px;
    flex-shrink: 0;
    overflow: hidden;
    background: #e8edf3;
}

/* لایه ظریف روی تصویر */

.amol-facility-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(7, 21, 43, 0.18),
        transparent 45%
    );
    pointer-events: none;
}

.amol-facility-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.amol-facility-card:hover .amol-facility-image img {
    transform: scale(1.055);
}

/* =========================================
   محتوای کارت
========================================= */

.amol-facility-content {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 23px 23px 25px;
    box-sizing: border-box;
}

/* جزئیات طلایی بالای محتوا */

.amol-facility-content::before {
    content: "";
    width: 32px;
    height: 3px;
    margin-bottom: 15px;
    background: #b98232;
    border-radius: 5px;
}

/* برچسب کارت ویژه */

.amol-facility-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 9px;
    padding: 5px 11px;
    background: #f8f2e8;
    border-radius: 5px;
    color: #956a2e;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 11px;
    font-weight: 600;
}

/* عنوان کارت */

.amol-facility-content h2 {
    margin: 0 0 11px;
    color: #07152b;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 2;
}

/* توضیحات کارت */

.amol-facility-content p {
    margin: 0;
    color: #465469;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 2.25;
}

/* کارت ویژه هم‌اندازه سایر کارت‌ها */

.amol-facility-card--featured .amol-facility-image {
    height: 205px;
    min-height: 0;
}

.amol-facility-card--featured .amol-facility-content {
    display: flex;
    padding: 23px 23px 25px;
}

.amol-facility-card--featured h2 {
    font-size: 16px;
}

.amol-facility-card--featured p {
    font-size: 13px;
    font-weight: 500;
    line-height: 2.25;
}

/* =========================================
   بنر ثبت‌نام
========================================= */

 .amol-facilities-registration {
    position: relative;
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto 65px;
    padding: 46px 48px;
    box-sizing: border-box;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(7, 21, 43, 0.96) 0%,
            rgba(7, 21, 43, 0.88) 55%,
            rgba(7, 21, 43, 0.72) 100%
        ),
        url('images/facilities/slide-amol.jpg') center / cover no-repeat;

    border-radius: 18px;
    color: #fff;
}


/* المان‌های تزئینی */

.amol-facilities-registration::before,
.amol-facilities-registration::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(217, 181, 118, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.amol-facilities-registration::before {
    width: 280px;
    height: 280px;
    top: -145px;
    left: -65px;
}

.amol-facilities-registration::after {
    width: 190px;
    height: 190px;
    top: -100px;
    left: -20px;
}

.amol-registration-content {
    position: relative;
    z-index: 1;
}

/* برچسب بنر */

.amol-registration-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #d9b576;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 12px;
    font-weight: 600;
}

/* عنوان بنر */

.amol-registration-content h2 {
    margin: 0 0 13px;
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 2;
}

/* توضیحات بنر */

.amol-registration-content p {
    max-width: 780px;
    margin: 0 0 24px;
    color: #cbd5e1;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    line-height: 2.4;
}

/* امضای معاونت */

.amol-facilities-signature {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #d9b576;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 12px;
    font-weight: 600;
}

/* =========================================
   تبلت
========================================= */

@media (max-width: 900px) {

    .amol-facilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .amol-facility-card,
    .amol-facility-card:nth-child(4),
    .amol-facility-card:nth-child(5),
    .amol-facility-card--featured {
        grid-column: span 1;
    }

    .amol-facility-image,
    .amol-facility-card--featured .amol-facility-image {
        height: 190px;
    }

    .amol-facility-content {
        padding: 21px 20px 23px;
    }

}

/* =========================================
   موبایل
========================================= */

@media (max-width: 600px) {

    .amol-facilities-section {
        width: calc(100% - 30px);
        margin-bottom: 38px;
    }

    .amol-facilities-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .amol-facility-card,
    .amol-facility-card:nth-child(4),
    .amol-facility-card:nth-child(5),
    .amol-facility-card--featured {
        grid-column: 1;
    }

    .amol-facility-image,
    .amol-facility-card--featured .amol-facility-image {
        height: 215px;
    }

    .amol-facility-content {
        padding: 22px 21px 25px;
    }

    .amol-facility-content h2,
    .amol-facility-card--featured h2 {
        font-size: 16px;
    }

    .amol-facility-content p,
    .amol-facility-card--featured p {
        font-size: 13px;
        font-weight: 500;
        line-height: 2.3;
    }

    .amol-facilities-registration {
        width: calc(100% - 30px);
        margin-bottom: 38px;
        padding: 30px 23px;
        border-radius: 15px;
    }

    .amol-registration-content h2 {
        font-size: 19px;
    }

    .amol-registration-content p {
        font-size: 12.5px;
    }

}

/* =========================================
   دسترس‌پذیری: کاهش حرکت
========================================= */

@media (prefers-reduced-motion: reduce) {

    .amol-facility-card,
    .amol-facility-image img {
        transition: none;
    }

    .amol-facility-card:hover {
        transform: none;
    }

    .amol-facility-card:hover .amol-facility-image img {
        transform: none;
    }

}


/* =========================================
   صفحه درباره مؤسسه آموزش عالی آمل
   Amol Institute - About Page
========================================= */

/* =========================================
   1. پس‌زمینه و ساختار اصلی صفحه
========================================= */

body:has(.amol-about-page) {
    background: #f3f5f8;
}

body:has(.amol-about-page) .page-content-wrapper .university-page > .page-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.amol-about-page {
    width: 92%;
    max-width: 1400px;
    margin: 35px auto 60px;
    color: #334155;
    font-family: inherit;
    line-height: 2;
    direction: rtl;
    box-sizing: border-box;
}

.amol-about-page *,
.amol-about-page *::before,
.amol-about-page *::after {
    box-sizing: border-box;
}

/* حذف پاراگراف‌های خالی ایجادشده توسط ویرایشگر */

.amol-about-page p:empty,
.amol-about-page .amol-about-section-title > p:empty {
    display: none;
}

/* =========================================
   2. هدر معرفی مؤسسه
========================================= */

.amol-about-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 58px 48px;
    margin-bottom: 42px;
    border-radius: 18px;
    color: #fff;
    text-align: right;

    background:
        linear-gradient(
            90deg,
            rgba(7, 21, 43, 0.35) 0%,
            rgba(7, 21, 43, 0.75) 55%,
            rgba(7, 21, 43, 0.95) 100%
        ),
        url("images/facilities/slide-amol.jpg") center center / cover no-repeat;

    box-shadow: 0 12px 30px rgba(7, 21, 43, 0.12);
}

.amol-about-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 260px;
    height: 260px;
    left: -80px;
    top: -115px;
    border: 1px solid rgba(214, 163, 77, 0.25);
    border-radius: 50%;
}

.amol-about-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 170px;
    height: 170px;
    left: -35px;
    top: -70px;
    border: 1px solid rgba(214, 163, 77, 0.18);
    border-radius: 50%;
}

.amol-about-hero > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #e5bb72;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.amol-about-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.8;
    text-align: right;
}

.amol-about-hero > p:not(:empty) {
    margin: 0;
    color: #e2e8f0;
    font-size: 16px;
    line-height: 2;
    text-align: right;
}

.amol-about-years {
    display: inline-block;
    margin-top: 23px;
    padding: 6px 19px;
    border: 1px solid rgba(214, 163, 77, 0.65);
    border-radius: 30px;
    color: #f2cc88;
    font-size: 14px;
    font-weight: 600;
}

/* =========================================
   3. ساختار عمومی بخش‌های صفحه
========================================= */

.amol-about-history,
.amol-about-fields,
.amol-about-ranking,
.amol-about-degrees {
    margin: 0 0 32px;
    padding: 28px 0;
    background: transparent;
    border-bottom: 1px solid #dce3eb;
}

/* =========================================
   4. عنوان بخش‌ها
========================================= */

.amol-about-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 23px;
    text-align: right;
}

.amol-about-section-title > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #fff1d9;
    color: #b98232;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.amol-about-section-title h2 {
    margin: 0;
    color: #07152b;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.8;
    text-align: right;
}

/* =========================================
   5. پیشینه و مسیر فعالیت
========================================= */

 .amol-about-page .amol-about-history {
    position: relative;
    overflow: hidden;
    padding: 34px 36px;
    margin: 28px 0 38px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-right: 5px solid #d6a34d;
    border-radius: 17px;
    box-shadow: 0 8px 25px rgba(7, 21, 43, 0.055);
}

.amol-about-history::before {
    content: "";
    position: absolute;
    top: -55px;
    left: -45px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(214, 163, 77, 0.18);
    border-radius: 50%;
    pointer-events: none;
}

.amol-about-history::after {
    content: "";
    position: absolute;
    top: -25px;
    left: -15px;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(214, 163, 77, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.amol-about-history .amol-about-section-title {
    position: relative;
    z-index: 1;
    gap: 16px;
    margin-bottom: 27px;
    padding-bottom: 19px;
    border-bottom: 1px solid #e9dfcd;
}

.amol-about-history .amol-about-section-title > span {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(145deg, #07152b, #17345b);
    color: #e8bd72;
    font-size: 16px;
}

.amol-about-history .amol-about-section-title h2 {
    color: #07152b;
    font-size: 22px;
}

.amol-about-history > p {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1120px;
    margin: 0 0 20px;
    padding: 0 18px 0 0;
    border-right: 2px solid #e5c991;
    color: #475569;
    font-size: 16px;
    font-weight: 400;
    line-height: 2.5;
    direction: rtl;
    text-align: justify;
    text-align-last: right;
}

.amol-about-history > p:last-child {
    margin-bottom: 0;
}


/* =========================================
   6. حوزه‌های آموزشی و پژوهشی
========================================= */

 .amol-about-fields {
    position: relative;
    overflow: hidden;
    padding: 34px 36px;
    margin: 28px 0 38px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-right: 5px solid #d6a34d;
    border-radius: 17px;
    box-shadow: 0 8px 25px rgba(7, 21, 43, 0.055);
}

.amol-about-field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.amol-about-field {
    position: relative;
    overflow: hidden;
    padding: 27px 24px;
    border: 1px solid #eadfc9;
    border-radius: 15px;
    background: linear-gradient(145deg, #fffdf8, #f8f1e4);
    text-align: right;
    box-shadow: 0 5px 18px rgba(7, 21, 43, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.amol-about-field::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 3px;
    background: #d6a34d;
}

.amol-about-field:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(7, 21, 43, 0.09);
    border-color: #e8d4ad;
}

.amol-about-field > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #b98232;
    font-size: 13px;
    font-weight: 800;
}

.amol-about-field h3 {
    margin: 0 0 9px;
    color: #07152b;
    font-size: 18px;
    font-weight: 800;
    text-align: right;
}

.amol-about-field p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 2.1;
    text-align: right;
}

/* =========================================
   7. جایگاه علمی مؤسسه
========================================= */

.amol-about-ranking {
    position: relative;
    overflow: hidden;
    padding: 34px 36px;
    margin: 28px 0 38px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-right: 5px solid #d6a34d;
    border-radius: 17px;
    box-shadow: 0 8px 25px rgba(7, 21, 43, 0.055);
}

.amol-about-ranking > p {
    width: 100%;
    max-width: 1120px;
    margin: 0 0 16px;
    color: #526174;
    font-size: 16px;
    line-height: 2.5;
    direction: rtl;
    text-align: justify;
    text-align-last: right;
}

.amol-about-ranking > p:last-child {
    margin-bottom: 0;
}

/* =========================================
   8. ظرفیت آموزشی و رشته‌های تحصیلی
========================================= */

.amol-about-degrees {
    position: relative;
    overflow: hidden;
    padding: 34px 36px;
    margin: 28px 0 38px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-right: 5px solid #d6a34d;
    border-radius: 17px;
    box-shadow: 0 8px 25px rgba(7, 21, 43, 0.055);
}

.amol-about-degrees-intro {
    margin: 0 0 22px;
    color: #526174;
    font-size: 16px;
    line-height: 2.2;
    text-align: right;
}

.amol-about-degree-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.amol-about-degree {
    padding: 25px 15px;
    border: 1px solid #eadfc9;
    border-radius: 15px;
    background: linear-gradient(145deg, #fffdf8, #f8f1e4);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.amol-about-degree:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(7, 21, 43, 0.08);
}

.amol-about-degree strong {
    display: inline-block;
    margin-bottom: 8px;
    color: #b98232;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.5;
}

.amol-about-degree span {
    display: inline-block;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    line-height: 2;
    text-align: center;
}

/* =========================================
   9. نمایش در تبلت
========================================= */

@media (max-width: 900px) {

    .amol-about-page {
        width: 94%;
    }

    .amol-about-field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .amol-about-degree-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .amol-about-history,
    .amol-about-fields,
    .amol-about-ranking,
    .amol-about-degrees {
        padding: 29px 27px;
    }

    .amol-about-history > p,
    .amol-about-ranking > p {
        font-size: 15px;
        line-height: 2.4;
    }
}

/* =========================================
   10. نمایش در موبایل
========================================= */

@media (max-width: 600px) {

    .amol-about-page {
        width: 94%;
        margin: 20px auto 40px;
    }

    .amol-about-hero {
        padding: 36px 22px;
        margin-bottom: 28px;
        border-radius: 14px;
    }

    .amol-about-hero h1 {
        font-size: 23px;
    }

    .amol-about-hero > p:not(:empty) {
        font-size: 14px;
    }

    .amol-about-section-title {
        gap: 11px;
        margin-bottom: 19px;
    }

    .amol-about-section-title > span {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
        border-radius: 10px;
    }

    .amol-about-section-title h2 {
        font-size: 18px;
    }

    .amol-about-history,
    .amol-about-fields,
    .amol-about-ranking,
    .amol-about-degrees {
        padding: 22px 18px;
        margin: 20px 0 28px;
        border-right-width: 4px;
        border-radius: 13px;
    }

    .amol-about-history .amol-about-section-title {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .amol-about-history .amol-about-section-title > span {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 14px;
    }

    .amol-about-history .amol-about-section-title h2 {
        font-size: 18px;
    }

    .amol-about-history > p,
    .amol-about-ranking > p {
        padding-right: 12px;
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 2.25;
    }

    .amol-about-field-grid,
    .amol-about-degree-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .amol-about-field {
        padding: 22px 19px;
    }

    .amol-about-field h3 {
        font-size: 17px;
    }

    .amol-about-degree {
        padding: 20px 15px;
    }

    .amol-about-degree strong {
        font-size: 29px;
    }

    .amol-about-degrees-intro {
        font-size: 14px;
    }
}





/* =========================================
   صفحه سامانه آموزش مجازی مؤسسه آمل
========================================= */

.amol-virtual-page {
    width: 92%;
    max-width: 1200px;
    margin: 30px auto 50px;
    color: #334155;
    direction: rtl;
    line-height: 2;
    box-sizing: border-box;
}

.amol-virtual-page *,
.amol-virtual-page *::before,
.amol-virtual-page *::after {
    box-sizing: border-box;
}

/* =========================================
   بخش معرفی صفحه
========================================= */

.amol-virtual-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 175px;
    padding: 30px 38px;
    margin-bottom: 25px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(120deg, #07152b, #17345b);
    box-shadow: 0 10px 25px rgba(7, 21, 43, 0.11);
}

.amol-virtual-hero::before,
.amol-virtual-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(214, 163, 77, 0.2);
    border-radius: 50%;
}

.amol-virtual-hero::before {
    width: 260px;
    height: 260px;
    left: -90px;
    top: -130px;
}

.amol-virtual-hero::after {
    width: 180px;
    height: 180px;
    left: -50px;
    top: -90px;
}

.amol-virtual-hero-content {
    position: relative;
    z-index: 1;
}

.amol-virtual-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #e5bb72;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.amol-virtual-hero h1 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
}

.amol-virtual-hero p {
    margin: 0;
    color: #dbe4ef;
    font-size: 14px;
}

.amol-virtual-hero-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    flex: 0 0 105px;
    border: 1px solid rgba(229, 187, 114, 0.5);
    border-radius: 50%;
    color: #f0ca88;
    font-size: 14px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.045);
}

/* =========================================
   راهنماهای ورود به سامانه
========================================= */

.amol-virtual-guides {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.amol-virtual-guide {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 19px 20px;
    border: 1px solid #e2e8f0;
    border-right: 4px solid #d6a34d;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(7, 21, 43, 0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.amol-virtual-guide:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(7, 21, 43, 0.07);
}

.amol-virtual-guide-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #b98232;
    background: #fff3df;
    font-size: 13px;
    font-weight: 800;
}

.amol-virtual-guide-content {
    min-width: 0;
}

.amol-virtual-guide h2 {
    margin: 0 0 5px;
    color: #07152b;
    font-size: 16px;
    font-weight: 800;
}

.amol-virtual-guide p {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 13px;
    line-height: 2;
}

.amol-virtual-guide a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #17345b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.amol-virtual-guide a:hover {
    color: #b98232;
}

.amol-virtual-guide a span {
    color: #b98232;
}

/* =========================================
   عنوان بخش استادان
========================================= */

.amol-virtual-section-heading {
    margin-bottom: 18px;
    text-align: right;
}

.amol-virtual-section-heading > span {
    display: block;
    margin-bottom: 4px;
    color: #b98232;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.amol-virtual-section-heading h2 {
    margin: 0 0 6px;
    color: #07152b;
    font-size: 21px;
    font-weight: 800;
}

.amol-virtual-section-heading p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

/* =========================================
   کارت‌های استادان
========================================= */

.amol-virtual-teacher-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.amol-virtual-teacher {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(7, 21, 43, 0.035);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.amol-virtual-teacher:hover {
    transform: translateY(-3px);
    border-color: #e6d2aa;
    box-shadow: 0 9px 19px rgba(7, 21, 43, 0.075);
}

/* عنوان خانم یا آقا */

.amol-virtual-teacher-role {
    display: block;
    width: 100%;
    margin-bottom: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* نام استاد */

.amol-virtual-teacher strong {
    display: block;
    width: 100%;
    color: #07152b;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

/* لینک ورود به کلاس */

.amol-virtual-enter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 3px;
    padding-top: 2px;
    border-top: 1px solid #edf0f4;
    color: #17345b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

.amol-virtual-enter b {
    margin-right: 5px;
    color: #b98232;
    font-size: 15px;
    font-weight: 800;
}

/* =========================================
   تبلت
========================================= */

@media (max-width: 900px) {

    .amol-virtual-page {
        width: 94%;
    }

    .amol-virtual-teacher-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .amol-virtual-hero {
        padding: 28px;
    }
}

/* =========================================
   موبایل
========================================= */

@media (max-width: 600px) {

    .amol-virtual-page {
        width: 94%;
        margin: 20px auto 40px;
    }

    .amol-virtual-hero {
        min-height: auto;
        padding: 25px 20px;
        border-radius: 14px;
    }

    .amol-virtual-hero h1 {
        font-size: 22px;
    }

    .amol-virtual-hero p {
        font-size: 13px;
    }

    .amol-virtual-hero-mark {
        display: none;
    }

    .amol-virtual-guides {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 27px;
    }

    .amol-virtual-guide {
        padding: 16px;
        gap: 12px;
    }

    .amol-virtual-guide h2 {
        font-size: 15px;
    }

    .amol-virtual-section-heading h2 {
        font-size: 18px;
    }

    .amol-virtual-teacher-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .amol-virtual-teacher {
        padding: 6px 12px;
    }
}
