@font-face {
    font-family: "Subskums Regular";
    src: url("./uploads/skumssub/assets/fonts/Vazir-Regular-FD.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body .system-item__content,
body .system-item__content * {
    font-family: "niafam", "vazir", sans-serif !important;
    font-weight: 400 !important;
    font-synthesis: none;
}

body .header__menu .mega-menu > ul > li > a {
    font-family: "niafam", "vazir", sans-serif !important;
}

body .news-sec__left .news-item--text .news-item__title {
    font-family: "niafam", "vazir", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.8;
}

body .news-sec__left .news-item--text .news-item__date span {
    font-family: "niafam", "vazir", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    body .news-sec__left .news-item--text .news-item__title {
        font-size: 15px !important;
    }
}

body,
body * {
    font-family: "niafam", "vazir", sans-serif !important;
    font-weight: 400 !important;
}

body {
    font-size: 16px;
}

body .news-item__title {
    font-size: 16px !important;
    line-height: 1.8;
}

body .news-item__date span {
    font-size: 12px !important;
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    body .news-item__title {
        font-size: 15px !important;
    }
}

body :is(h1, h2, h3, h4, h5, h6, [role="heading"], .news-item__title),
body :is(h1, h2, h3, h4, h5, h6, [role="heading"], .news-item__title) *,
body .section__title > span {
    font-weight: 700 !important;
}

@font-face {
    font-family: "vazir";
    src: url("./uploads/skumssub/assets/fonts/Vazir-Regular-FD.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

@font-face {
    font-family: "Vazir FD";
    src: url("./uploads/skumssub/assets/fonts/Vazir-Regular-FD.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

@font-face {
    font-family: "pinar";
    src: url("./uploads/skumssub/assets/fonts/Vazir-Regular-FD.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("./uploads/skumssub/assets/fonts/Vazir-Regular-FD.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

@font-face {
    font-family: "oswald";
    src: url("./uploads/skumssub/assets/fonts/Vazir-Regular-FD.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("./uploads/skumssub/assets/fonts/Vazir-Regular-FD.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

@font-face {
    font-family: "Subskums Regular";
    src: url("./uploads/skumssub/assets/fonts/Vazir-Regular-FD.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

/* News and announcements */
body .news-sec {
    --news-ink: #102c50;
    --news-accent: #d55b28;
    padding: 28px 0;
    margin-bottom: 48px;
}
body .news-sec .news-sec__container {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
    align-items: start;
    gap: 28px;
}
body .news-sec .news-sec__right,
body .news-sec .news-sec__left { width: auto; min-width: 0; }
body .news-sec .section__header {
    min-height: 48px;
    padding: 0 0 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e6ed;
    align-items: center;
}
body .news-sec .section__title { padding: 0; gap: 10px; }
body .news-sec .section__title > span { font-size: 20px; color: var(--news-ink); }
body .news-sec .section__title::before,
body .news-sec .section__title::after,
body .news-sec .section__dot { display: none; }
body .news-sec .section__title {
    border-inline-start: 4px solid var(--news-accent);
    padding-inline-start: 12px;
}
body .news-sec .section__archive {
    padding: 8px 12px;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    background: #fff;
    gap: 8px;
}
body .news-sec .section__archive span { font-size: 12px; }
body .news-sec .news-sec__right .news-item__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
body .news-sec .news-sec__right .news-item {
    width: auto !important;
    min-width: 0;
    height: auto;
    margin: 0 !important;
    padding: 0;
    border: 1px solid #e2e8ef;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 20px #102c5006;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
body .news-sec .news-sec__right .news-item:hover {
    border-color: #d8b7a7;
    box-shadow: 0 10px 26px #102c5010;
    transform: translateY(-3px);
}
body .news-sec .news-item--horizontal {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    gap: 0;
}
body .news-sec .news-item--horizontal .news-item__pic {
    width: 100%; height: 100%; min-height: 238px;
}
body .news-sec .news-item--horizontal .news-item__content { padding: 22px; min-width: 0; }
body .news-sec .news-item--horizontal .news-item__title {
    font-size: 17px !important;
    line-height: 1.9;
    -webkit-line-clamp: 2;
    margin-bottom: 12px;
}
body .news-sec .news-item--horizontal .news-item__lead {
    font-size: 13px;
    line-height: 1.9;
    color: #66758a !important;
    -webkit-line-clamp: 2;
    margin-bottom: 18px;
}
body .news-sec .news-item--vertical { display: flex; flex-direction: column; }
body .news-sec .news-item--vertical .news-item__pic {
    width: 100%; height: auto; aspect-ratio: 1.55; margin: 0;
}
body .news-sec .news-item__pic img { object-fit: cover; }
body .news-sec .news-item--vertical .news-item__content {
    display: flex; flex-direction: column; gap: 18px;
    padding: 16px; flex: 1; height: auto;
}
body .news-sec .news-item--vertical .news-item__title {
    font-size: 14px !important; line-height: 1.9; margin: 0;
    min-height: 3.8em; -webkit-line-clamp: 2;
}
body .news-sec .news-item__title { color: var(--news-ink) !important; }
body .news-sec .news-item:hover .news-item__title { color: #b64a20 !important; }
body .news-sec .news-item__date { margin-top: auto; padding-top: 10px; gap: 6px; }
body .news-sec .news-item__date span,
body .news-sec .news-item__date i { color: #788598 !important; font-size: 11px !important; }
body .news-sec .news-sec__left .section__content {
    padding: 8px 10px;
    border: 1px solid #e2e8ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 20px #102c5006;
}
body .news-sec .news-sec__left .news-item__list { height: 500px; }
body .news-sec .news-item--text {
    margin: 0 6px;
    padding: 19px 14px;
    min-height: 120px;
    gap: 10px;
    border-bottom: 1px solid #edf0f4;
    transition: background .2s;
}
body .news-sec .news-item--text:last-child { border-bottom: 0; }
body .news-sec .news-item--text:hover { background: #faf7f4; }
body .news-sec .news-item--text .news-item__title { font-size: 14px !important; line-height: 1.95; }
body .news-sec .news-item--text .news-item__content > i { color: var(--news-accent); margin-top: 7px; }
body .news-sec .news-sec__left .os-scrollbar-handle {
    background: #cad3df !important; left: 0; border-radius: 8px;
}
body .news-sec .cover-link:focus-visible { outline: 3px solid var(--news-accent); outline-offset: -4px; border-radius: 14px; }
@media (max-width: 1100px) {
    body .news-sec .news-sec__container { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 20px; }
    body .news-sec .news-item--horizontal { grid-template-columns: 1fr; }
    body .news-sec .news-item--horizontal .news-item__pic { height: 210px; min-height: 0; }
    body .news-sec .news-item--vertical .news-item__content { padding: 12px; }
}
@media (max-width: 850px) {
    body .news-sec .news-sec__container { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    body .news-sec .news-item--horizontal { grid-template-columns: 42% minmax(0, 1fr); }
    body .news-sec .news-item--horizontal .news-item__pic { height: 100%; min-height: 220px; }
    body .news-sec .news-sec__left .news-item__list { height: 420px; }
}
@media (max-width: 575.98px) {
    body .news-sec { padding: 12px 0; }
    body .news-sec .news-sec__right .news-item__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    body .news-sec .news-item--horizontal { grid-template-columns: minmax(0, 1fr); }
    body .news-sec .news-item--horizontal .news-item__pic { height: 200px; min-height: 0; }
    body .news-sec .news-item--horizontal .news-item__content { padding: 18px; }
    body .news-sec .news-item--horizontal .news-item__title { font-size: 16px !important; }
    body .news-sec .news-item--vertical { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
    body .news-sec .news-item--vertical .news-item__pic { height: 100%; min-height: 135px; aspect-ratio: auto; }
    body .news-sec .section__title > span { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    body .news-sec .news-item { transition: none !important; transform: none !important; }
}

/* Service shortcuts */
body .system-sec {
    margin: 12px 0 26px;
    padding: 10px 0;
}
body .system-sec .system-sec__container { padding-bottom: 48px; }
body .system-sec .system-sec__cell {
    width: calc(20% - 16px);
    margin: 0 8px;
    padding: 8px 0 12px;
}
body .system-sec .system-sec__cell .system-item {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 116px;
    padding: 18px;
    border: 1px solid #e0e7ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 12px #102c5005;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
body .system-sec .system-item__pic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 54px;
    border-radius: 13px;
    background: #eef3fa;
    transition: background .2s;
}
body .system-sec .system-item__pic::before { display: none; }
body .system-sec .system-sec__cell .system-item__pic i {
    font-size: 31px;
    line-height: 1;
    color: #173b66;
}
body .system-sec .system-item__content { min-width: 0; }
body .system-sec .system-sec__cell .system-item__content span {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.9;
    color: #193654;
    text-align: start;
}
body .system-sec .system-item:hover,
body .system-sec .system-item:focus-within {
    background: #fffaf6;
    border-color: #e1b69f;
    box-shadow: 0 5px 14px #102c500c;
}
body .system-sec .system-item:hover .system-item__pic,
body .system-sec .system-item:focus-within .system-item__pic { background: #fbeadc; }
body .system-sec .system-item .cover-link { border-radius: 16px; }
body .system-sec .system-item .cover-link:focus-visible {
    outline: 2px solid #d55b28;
    outline-offset: -3px;
}
body .system-sec .flickity-prev-next-button {
    top: auto;
    bottom: 0;
    transform: none;
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid #e0e7ef;
    border-radius: 10px;
    color: #193654;
    box-shadow: none;
    transition: background .2s, border-color .2s;
}
body .system-sec .flickity-prev-next-button.previous { left: 48px; right: auto; }
body .system-sec .flickity-prev-next-button.next { left: 8px; right: auto; }
body .system-sec .flickity-prev-next-button:hover { background: #fbeadc; border-color: #e1b69f; }
body .system-sec .flickity-prev-next-button .flickity-button-icon {
    width: 36%; height: 36%; left: 32%; top: 32%; fill: currentColor;
}
body .system-sec .flickity-prev-next-button:focus-visible {
    outline: 2px solid #d55b28; outline-offset: 3px;
}
@media (max-width: 1199.98px) {
    body .system-sec .system-sec__cell { width: calc(25% - 16px); }
}
@media (max-width: 991.98px) {
    body .system-sec .system-sec__cell { width: calc(33.333% - 16px); }
}
@media (max-width: 767.98px) {
    body .system-sec .system-sec__cell { width: calc(50% - 16px); }
    body .system-sec .system-sec__cell .system-item { padding: 14px; gap: 10px; }
}
@media (max-width: 479.98px) {
    body .system-sec .system-sec__cell { width: 82%; }
}
@media (prefers-reduced-motion: reduce) {
    body .system-sec .system-item,
    body .system-sec .system-item__pic,
    body .system-sec .flickity-prev-next-button { transition: none; }
}

/* Header and navigation */
body .header-sec__topbar {
    background: #f0f4f9;
    height: auto;
    min-height: 48px;
    padding: 7px 0;
    border-bottom: 1px solid #dfe6ef;
}
body .header-sec__container { gap: 16px; }
body .header-sec__right { align-items: center; gap: 0; }
body .header-sec__shoar,
body .header-sec__date { font-size: 12px; line-height: 1.8; color: #52647b; }
body .header-sec__shoar { color: #193654; }
body .header-sec__links { gap: 6px; margin-inline-end: 9px; padding-inline-end: 9px; }
body .header-sec__links li > a,
body .header-sec__search,
body .header-sec__lang > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #dfe6ef;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
body .header-sec__links li > a:hover,
body .header-sec__search:hover,
body .header-sec__lang > a:hover { background: #fff4eb; border-color: #e1b69f; }
body .header-sec__links img { width: 17px; height: 17px; object-fit: contain; }
body .header-sec__lang > a { width: auto; min-width: 55px; padding: 0 9px; gap: 7px; }
body .header-sec__lang > a span { font-size: 12px; }
body .header-sec .newmenu__box__wrapper {
    top: calc(100% + 8px);
    inset-inline-end: 0;
    transform: none;
    width: 72px;
    padding: 8px;
    gap: 4px;
    border-radius: 12px;
    border: 1px solid #e0e7ef;
    background: #fff;
    box-shadow: 0 12px 32px #102c501a;
}
body .header-sec .newmenu__box__wrapper a { padding: 7px; border-radius: 6px; }
body .header-sec .newmenu__box__wrapper a:hover { background: #f0f4f9; }
body .header-sec__bottom {
    background: linear-gradient(110deg, #102f53, #082344 70%);
    border-bottom: 3px solid #ce642f;
    box-shadow: 0 5px 18px #102c5012;
}
body .header-sec__content { min-height: 100px; padding: 12px 0; gap: 26px; justify-content: space-between; }
body .header-sec__logo { width: 245px; height: 82px; flex-shrink: 0; }
body .header-sec__logo img { width: 100%; height: 100%; object-fit: contain; }
body .header-sec__menu { min-width: 0; flex: 1; }
body .header__menu .mega-menu > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
}
body .header__menu .mega-menu > ul > li { margin: 0; padding: 0; }
body .header__menu .mega-menu > ul > li > a {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 42px;
    padding: 10px 11px;
    border-radius: 9px;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.7;
    color: #f3f6fb !important;
    transition: background .2s, color .2s;
}
body .header__menu .mega-menu > ul > li > a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 2px;
    background: #eea574;
    transform: scaleX(0);
    transition: transform .2s;
}
body .header__menu .mega-menu > ul > li > a:hover,
body .header__menu .mega-menu > ul > li > a:focus-visible { background: #ffffff12; color: #ffd5b7 !important; }
body .header__menu .mega-menu > ul > li > a:hover::after,
body .header__menu .mega-menu > ul > li > a:focus-visible::after { transform: scaleX(1); }
body .header-sec a:focus-visible,
body .header-sec__search:focus-visible { outline: 2px solid #e78c52; outline-offset: 3px; }
body .header-sec .mburger {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff35;
    border-radius: 11px;
    background: #ffffff0c;
}
@media (max-width: 1199.98px) {
    body .header-sec__content { gap: 16px; }
    body .header-sec__logo { width: 215px; }
    body .header__menu .mega-menu > ul > li > a { padding: 9px 7px; font-size: 12px !important; }
}
@media (max-width: 991.98px) {
    body .header-sec__content { min-height: 88px; }
    body .header-sec__logo { height: 68px; }
    body .header-sec__menu { flex: 0 0 auto; }
}
@media (max-width: 575.98px) {
    body .header-sec__container { flex-wrap: wrap; gap: 7px; }
    body .header-sec__right { flex: 1 1 100%; justify-content: space-between; }
    body .header-sec__shoar,
    body .header-sec__date { font-size: 11px; }
    body .header-sec__left { margin-inline-start: auto; }
    body .header-sec__content { min-height: 80px; padding: 8px 0; }
    body .header-sec__logo { width: 205px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    body .header-sec a,
    body .header-sec a::after,
    body .header-sec__search { transition: none !important; }
}

/* Compact header utility bar */
body .header-sec__left {
    padding: 3px 5px;
    gap: 0;
    border: 1px solid #dce4ee;
    border-radius: 10px;
    background: #fff;
}
body .header-sec__links { gap: 2px; margin-inline-end: 5px; padding-inline-end: 7px; }
body .header-sec__links::before { height: 16px; background: #e5eaf1; }
body .header-sec__links li > a,
body .header-sec__search,
body .header-sec__lang > a {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
}
body .header-sec__links li > a:hover,
body .header-sec__search:hover,
body .header-sec__lang > a:hover { background: #edf2f8; }
body .header-sec__lang > a { min-width: 61px; width: auto; gap: 7px; padding: 0 7px; }
body .header-sec__lang > a span,
body .header-sec__lang > a i,
body .header-sec__lang > a:hover span,
body .header-sec__lang > a:hover i { color: #294563; }
body .header-sec__links img { width: 16px; height: 16px; opacity: .85; }
body .header-sec__search i { font-size: 17px; }
body .header-sec .newmenu__box__wrapper {
    top: calc(100% + 12px);
    width: 146px;
    padding: 6px;
    gap: 3px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e0e6ee;
    box-shadow: 0 8px 24px #0b23451a;
    text-align: start;
}
body .header-sec .newmenu__box__wrapper a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #294563;
    border-radius: 6px;
}
body .header-sec .newmenu__box__wrapper a:hover { background: #edf2f8; color: #102c50; }

/* Media gallery */
body .gallery-sec {
    padding: 36px 0;
    margin-bottom: 44px;
    background: #edf2f7;
    border-block: 1px solid #e1e7ef;
}
body .gallery-sec::before,
body .gallery-sec::after { display: none; }
body .gallery-sec .gallery-sec__buttons {
    position: relative;
    top: auto;
    display: inline-flex;
    max-width: calc(100% - 100px);
    gap: 4px;
    padding: 5px;
    margin-bottom: 24px;
    background: #e1e8f0;
    border-radius: 13px;
    flex-wrap: nowrap;
}
body .gallery-sec .gallery-sec__buttons button {
    width: auto;
    height: 40px;
    padding: 9px 20px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #53657b;
    transition: background .2s, color .2s, box-shadow .2s;
}
body .gallery-sec .gallery-sec__buttons button span { font-size: 13px; white-space: nowrap; }
body .gallery-sec .gallery-sec__buttons button:hover { background: #ffffff80; color: #102c50; }
body .gallery-sec .gallery-sec__buttons button.active {
    background: #102c50;
    color: #fff;
    box-shadow: 0 3px 8px #102c5015;
}
body .gallery-sec .gallery-sec__buttons button.active::before { display: none; }
body .gallery-sec .tab-content { height: auto !important; }
body .gallery-sec .tab-pane { display: none; position: static; transition: none; }
body .gallery-sec .tab-pane.active { display: flex; position: static; opacity: 1; visibility: visible; }
body .gallery-sec .section__header {
    position: absolute;
    top: 7px;
    inset-inline-end: 0;
    width: auto;
    margin: 0;
}
body .gallery-sec .section__archive {
    padding: 8px 12px;
    gap: 8px;
    border: 1px solid #dce4ee;
    border-radius: 10px;
    background: #fff;
}
body .gallery-sec .section__archive span { font-size: 12px; color: #294563; }
body .gallery-sec .section__archive .icon { width: 21px; height: 21px; background: #f7eee7; border-radius: 6px; }
body .gallery-sec .news-item__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}
body .gallery-sec .news-item--vertical {
    width: auto;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe6ee;
    border-radius: 16px;
    box-shadow: 0 4px 16px #102c5005;
    transition: border-color .2s, box-shadow .2s;
}
body .gallery-sec .news-item--vertical::before { display: none; }
body .gallery-sec .news-item--vertical .news-item__pic {
    width: 100%;
    height: auto;
    aspect-ratio: 1.52;
    background: #e7edf4;
}
body .gallery-sec .news-item__pic img { object-fit: cover; }
body .gallery-sec .news-item--vertical .news-item__content,
body .gallery-sec .news-item--vertical:hover .news-item__content {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    padding: 18px;
    width: auto;
    flex: 1;
    min-height: 99px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: start;
    gap: 14px;
}
body .gallery-sec .news-item__content .news-item__title {
    color: #193654 !important;
    font-size: 14px !important;
    line-height: 1.9;
    -webkit-line-clamp: 2;
}
body .gallery-sec .news-item__content > i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f3f6fa;
    color: #b75627 !important;
    font-size: 15px;
}
body .gallery-sec .news-item--vertical:hover {
    border-color: #d8b7a7;
    box-shadow: 0 8px 24px #102c5010;
}
body .gallery-sec .news-item--vertical:hover img {
    transform: translate(-50%, -50%) scale(1.025);
    filter: none;
}
body .gallery-sec .cover-link:focus-visible,
body .gallery-sec .tab-button:focus-visible {
    outline: 3px solid #d57a42;
    outline-offset: -3px;
    border-radius: 12px;
}
@media (max-width: 991.98px) {
    body .gallery-sec .news-item__list { gap: 14px; }
    body .gallery-sec .gallery-sec__buttons button { padding-inline: 12px; }
    body .gallery-sec .news-item--vertical .news-item__content { padding: 14px; gap: 8px; }
}
@media (max-width: 767.98px) {
    body .gallery-sec .gallery-sec__buttons { max-width: 100%; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
    body .gallery-sec .section__header { position: static; align-self: flex-end; margin-bottom: 16px; }
    body .gallery-sec .news-item__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479.98px) {
    body .gallery-sec { padding: 24px 0; }
    body .gallery-sec .news-item__list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    body .gallery-sec .news-item,
    body .gallery-sec .news-item img,
    body .gallery-sec button { transition: none !important; }
    body .gallery-sec .news-item--vertical:hover img { transform: translate(-50%, -50%); }
}

/* Departments and services */
body .services-sec { padding: 12px 0; margin-bottom: 44px; }
body .services-sec .services-sec__container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
body .services-sec .services-sec__item {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 124px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 24px;
    gap: 20px;
    border: 1px solid #e0e7ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 16px #102c5005;
    text-align: start;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
body .services-sec .services-sec__item::before { display: none; }
body .services-sec .services-sec__item:first-child {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 0 0 18px;
    margin-bottom: 4px;
    border: 0;
    border-bottom: 1px solid #e0e6ed;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body .services-sec .section__header { justify-content: flex-start; }
body .services-sec .section__title {
    align-items: flex-start;
    padding-inline-start: 12px;
    border-inline-start: 4px solid #d55b28;
}
body .services-sec .section__title > span:first-child { font-size: 20px; line-height: 1.8; color: #102c50; }
body .services-sec .section__dot,
body .services-sec .section__lead { display: none !important; }
body .services-sec .services-sec__pic {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3fa;
    border-radius: 15px;
    transition: background .2s;
}
body .services-sec .services-sec__pic i { font-size: 36px; line-height: 1; color: #173b66; }
body .services-sec .services-sec__content { min-width: 0; }
body .services-sec .services-sec__content span {
    display: block;
    font-size: 14px;
    font-weight: 400 !important;
    line-height: 1.95;
    color: #193654;
}
body .services-sec .services-sec__item:not(:first-child):hover,
body .services-sec .services-sec__item:not(:first-child):focus-within {
    border-color: #dfb99f;
    background: #fffcf9;
    box-shadow: 0 8px 22px #102c500a;
}
body .services-sec .services-sec__item:hover .services-sec__pic { background: #fbeadc; }
body .services-sec .services-sec__item.services-sec__archive {
    grid-column: 1 / -1;
    justify-self: end;
    min-height: 46px;
    padding: 12px 20px;
    margin-top: 4px;
    border-radius: 11px;
    border-color: #102c50;
    background: #102c50;
    box-shadow: none;
}
body .services-sec .services-sec__archive .services-sec__pic { display: none; }
body .services-sec .services-sec__archive .services-sec__content {
    flex-direction: row;
    align-items: center;
    gap: 22px;
}
body .services-sec .services-sec__archive .services-sec__content span,
body .services-sec .services-sec__archive .services-sec__content i { color: #fff !important; }
body .services-sec .services-sec__item.services-sec__archive:hover { background: #1b3f68; border-color: #1b3f68; }
body .services-sec .cover-link { border-radius: inherit; }
body .services-sec .cover-link:focus-visible { outline: 3px solid #d57a42; outline-offset: -3px; }
@media (max-width: 991.98px) {
    body .services-sec .services-sec__container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    body .services-sec .services-sec__item { padding: 20px; gap: 16px; }
}
@media (max-width: 575.98px) {
    body .services-sec .services-sec__container { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    body .services-sec .services-sec__item { min-height: 100px; padding: 18px; }
    body .services-sec .services-sec__pic { width: 54px; height: 54px; }
    body .services-sec .services-sec__pic i { font-size: 32px; }
    body .services-sec .section__title > span:first-child { font-size: 18px; }
    body .services-sec .services-sec__item.services-sec__archive { justify-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    body .services-sec .services-sec__item,
    body .services-sec .services-sec__pic { transition: none; }
}

/* Useful links */
body .links-sec {
    margin: 8px 0 52px;
    padding: 0;
    border: 0;
    background: transparent;
}
body .links-sec::before,
body .links-sec::after { display: none; }
body .links-sec .section {
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(190px, .7fr) minmax(0, 2fr);
    align-items: start;
    gap: 40px;
    padding: 40px;
    overflow: hidden;
    border: 1px solid #25415f;
    border-radius: 24px;
    background: radial-gradient(ellipse at 100% 0%, #264d70 0, transparent 55%), #0d2744;
    box-shadow: 0 16px 36px #102c5012;
}
body .links-sec .section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    inset-inline-start: -155px;
    bottom: -185px;
    border: 1px solid #ffffff12;
    border-radius: 50%;
    box-shadow: 0 0 0 35px #ffffff04, 0 0 0 70px #ffffff03;
    pointer-events: none;
    z-index: -1;
}
body .links-sec .section__header {
    margin: 0;
    padding-top: 18px;
    justify-content: flex-start;
}
body .links-sec .section__title {
    align-items: flex-start;
    gap: 20px;
    text-align: start;
}
body .links-sec .section__title > span {
    color: #fff !important;
    font-size: 26px;
    line-height: 1.8;
}
body .links-sec .section__dot {
    width: 44px;
    height: 3px;
    border-radius: 4px;
    background: #e8a071;
}
body .links-sec .section__dot::before,
body .links-sec .section__dot::after { display: none; }
body .links-sec .section__content { min-width: 0; }
body .links-sec .links-sec__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 12px;
    height: auto;
    max-height: none;
    overflow: visible;
    min-width: 0;
    margin: 0;
    padding: 0;
}
body .links-sec .links-sec__list li { width: auto; min-width: 0; }
body .links-sec .links-sec__list li a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    min-height: 78px;
    padding: 16px;
    border: 1px solid #ffffff1c;
    border-radius: 12px;
    background: #ffffff08;
    transition: background .2s, border-color .2s, transform .2s;
}
body .links-sec .links-sec__list li a > i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #efb58d !important;
    background: #e8a07112;
    font-size: 19px;
}
body .links-sec .links-sec__list li a > span {
    color: #e7edf5 !important;
    font-size: 13px;
    line-height: 1.9;
    -webkit-line-clamp: unset;
    display: block !important;
    overflow: visible;
    min-width: 0;
    overflow-wrap: anywhere;
}
body .links-sec .links-sec__list li a:hover {
    background: #ffffff10;
    border-color: #d9a07880;
    transform: translateY(-2px);
}
body .links-sec .links-sec__list li a:hover > span { color: #fff !important; }
body .links-sec .links-sec__list li a:focus-visible {
    outline: 2px solid #efb58d;
    outline-offset: 3px;
    background: #ffffff10;
}
@media (max-width: 1199.98px) {
    body .links-sec .section { gap: 24px; padding: 30px; grid-template-columns: minmax(170px, .6fr) minmax(0, 2fr); }
    body .links-sec .section__title > span { font-size: 23px; }
}
@media (max-width: 991.98px) {
    body .links-sec .section { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    body .links-sec .section__header { padding: 0; }
    body .links-sec .section__title { gap: 12px; }
}
@media (max-width: 575.98px) {
    body .links-sec .section { padding: 24px 18px; border-radius: 18px; }
    body .links-sec .section__title > span { font-size: 21px; }
    body .links-sec .links-sec__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    body .links-sec .links-sec__list li a { min-height: 68px; padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    body .links-sec .links-sec__list li a { transition: none; transform: none; }
}

/* University statistics */
body .counter-sec { margin: 0 0 56px; padding: 0; }
body .counter-sec .counter-sec__container {
    isolation: isolate;
    overflow: hidden;
    padding: 32px 38px 38px;
    border: 1px solid #e5dfd6;
    border-radius: 24px;
    background: radial-gradient(ellipse at 0 100%, #e7edf5 0, transparent 50%), #faf8f4;
}
body .counter-sec .counter-sec__container::before {
    width: 340px;
    height: 340px;
    top: -230px;
    left: -100px;
    transform: none;
    border: 1px solid #c9aa8640;
    border-radius: 50%;
    background: none;
    box-shadow: 0 0 0 35px #c9aa8609, 0 0 0 70px #c9aa8606;
    pointer-events: none;
    z-index: -1;
}
body .counter-sec .counter-sec__container::after { display: none; }
body .counter-sec .subskums-stat-heading {
    margin: 0 0 25px;
    padding-inline-start: 13px;
    border-inline-start: 3px solid #b7784c;
    font-size: 20px;
    line-height: 1.7;
    color: #153654;
}
body .counter-sec .counter-sec__content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
body .counter-sec .counter-item {
    --stat-accent: #315a7b;
    --stat-tint: #e6edf4;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 260px;
    padding: 28px 18px;
    border: 1px solid #ffffff;
    border-radius: 20px;
    background: #ffffffb8;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
    isolation: isolate;
    transition: border-color .25s, background .25s;
}
body .counter-sec .counter-item:nth-child(2) { --stat-accent: #a5653c; --stat-tint: #f4e9df; }
body .counter-sec .counter-item:nth-child(3) { --stat-accent: #3c776f; --stat-tint: #e5efeb; }
body .counter-sec .counter-item::before {
    width: 185px;
    height: 185px;
    left: 50%;
    top: 45px;
    transform: translateX(-50%);
    border: 1px solid var(--stat-tint);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}
body .counter-sec .counter-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 22px);
    width: 44px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--stat-accent);
}
body .counter-sec .counter-item__pic {
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 15px;
    background: var(--stat-tint);
    transform: rotate(-6deg);
}
body .counter-sec .counter-item__pic i {
    color: var(--stat-accent) !important;
    font-size: 30px;
    line-height: 1;
    transform: rotate(6deg);
}
body .counter-sec .counter-item__content { gap: 9px; width: 100%; }
body .counter-sec .counter-item__content .counter {
    font-family: "Subskums Regular", "vazir", sans-serif !important;
    font-size: clamp(42px, 4.5vw, 64px) !important;
    font-weight: 400 !important;
    font-synthesis: none;
    font-variant-numeric: tabular-nums;
    direction: ltr;
    unicode-bidi: isolate;
    line-height: 1.2;
    color: #153654 !important;
    min-height: 1.2em;
}
body .counter-sec .counter-item__content > span:not(.counter) {
    padding: 4px 12px;
    background: #fafaf8;
    color: #526575 !important;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}
body .counter-sec .counter-item:hover { background: #fff; border-color: var(--stat-tint); }
body .counter-sec .counter-item .section__dot { display: none; }
@media (max-width: 767.98px) {
    body .counter-sec .counter-sec__container { padding: 24px 18px; }
    body .counter-sec .counter-sec__content { gap: 12px; }
    body .counter-sec .counter-item { padding: 22px 10px; min-height: 225px; }
    body .counter-sec .counter-item::before { width: 140px; height: 140px; }
    body .counter-sec .counter-item__content .counter { font-size: 38px !important; }
    body .counter-sec .counter-item__content > span:not(.counter) { font-size: 12px; padding-inline: 4px; }
}
@media (max-width: 479.98px) {
    body .counter-sec .counter-sec__content { grid-template-columns: minmax(0, 1fr); }
    body .counter-sec .counter-item { flex-direction: row; min-height: 142px; gap: 24px; padding: 24px; }
    body .counter-sec .counter-item__content { width: auto; align-items: flex-start; }
    body .counter-sec .counter-item__pic { flex-shrink: 0; width: 56px; height: 56px; }
    body .counter-sec .counter-item::before { left: 16px; top: -30px; transform: none; }
    body .counter-sec .counter-item__content > span:not(.counter) { font-size: 13px; padding: 0; }
    body .counter-sec .subskums-stat-heading { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    body .counter-sec .counter-item { transition: none; }
}

/* Footer */
body .footer-sec {
    isolation: isolate;
    padding: 48px 0 0;
    background: radial-gradient(ellipse at 95% 0%, #214668 0, transparent 52%), #0a2039;
    border-top: 3px solid #ba825b;
    overflow: hidden;
}
body .footer-sec::before { display: none; }
body .footer-sec .subskums-footer-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 26px;
    margin-bottom: 32px;
    border-bottom: 1px solid #ffffff16;
}
body .footer-sec .subskums-footer-brand h2 { font-size: 21px; line-height: 1.8; color: #fff; }
body .footer-sec .subskums-footer-brand p { font-size: 12px; color: #b3c4d5; }
body .footer-sec .footer-sec__container {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(0, 2.2fr);
    align-items: start;
    gap: 36px;
}
body .footer-sec .footer-sec__right {
    margin: 0;
    padding: 22px;
    border: 1px solid #ffffff17;
    border-radius: 18px;
    background: #ffffff05;
    min-width: 0;
}
body .footer-sec .footer-sec__left { min-width: 0; }
body .footer-sec .footer-sec__top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}
body .footer-sec .footer-sec__col { width: auto; min-width: 0; }
body .footer-sec .footer-sec__header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 0 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid #ffffff15;
}
body .footer-sec .footer-sec__header > i { font-size: 16px; color: #dca478; }
body .footer-sec .footer-sec__header > span { color: #fff; font-size: 15px; }
body .footer-sec .footer-sec__about { gap: 15px; margin: 0 0 22px; }
body .footer-sec .footer-sec__about li { align-items: flex-start; gap: 11px; }
body .footer-sec .footer-sec__about li > i {
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; width: 30px; height: 30px;
    border-radius: 8px; background: #ffffff08; color: #ddb18f; font-size: 18px;
}
body .footer-sec .footer-sec__about li > span {
    font-size: 12px; line-height: 2; color: #d5e0eb;
    overflow-wrap: anywhere; -webkit-line-clamp: unset;
}
body .footer-sec .footer-sec__map {
    width: 100%; height: 150px; margin-bottom: 16px;
    border: 1px solid #ffffff25; border-radius: 12px; overflow: hidden;
}
body .footer-sec .footer-sec__map img { object-fit: cover; }
body .footer-sec .footer-sec__social { gap: 9px; }
body .footer-sec .footer-sec__social li {
    width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid #ffffff25; background: #ffffff08;
    transition: background .2s, border-color .2s;
}
body .footer-sec .footer-sec__social li::before { display: none; }
body .footer-sec .footer-sec__social li i,
body .footer-sec .footer-sec__social li i::before { color: #dce7f1; }
body .footer-sec .footer-sec__social li:hover { background: #ffffff16; border-color: #dca478; }
body .footer-sec .footer-sec__link { height: auto; flex-wrap: nowrap; gap: 5px; }
body .footer-sec .footer-sec__link li {
    min-height: 38px; padding: 7px 0;
    gap: 9px; align-items: flex-start;
}
body .footer-sec .footer-sec__link li span {
    display: block !important; overflow: visible;
    color: #b9cbdd; font-size: 12px; line-height: 1.9;
    transition: color .2s;
}
body .footer-sec .footer-sec__link li > i { color: #bd8d68; margin-top: 7px; font-size: 8px; }
body .footer-sec .footer-sec__link li:hover span { color: #f5c7a5; }
body .footer-sec .footer-sec__col:last-child .footer-sec__link {
    padding: 10px 14px; border: 1px solid #ffffff12;
    border-radius: 12px; background: #ffffff04; gap: 0;
}
body .footer-sec .footer-sec__col:last-child .footer-sec__link li { border-bottom: 1px solid #ffffff0d; padding: 11px 0; }
body .footer-sec .footer-sec__col:last-child .footer-sec__link li:last-child { border-bottom: 0; }
body .footer-sec .footer-sec__copyRight {
    grid-column: 1 / -1;
    margin: 0;
    padding: 22px 0 26px;
    border-top: 1px solid #ffffff16;
    align-items: stretch;
    gap: 0;
}
body .footer-sec .copyright__right { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
body .footer-sec .copyright__right span { font-size: 11px; line-height: 2; color: #a5b9cb; }
body .footer-sec .footer-sec__copyRight > a:empty { display: none; }
body .footer-sec a:focus-visible { outline: 2px solid #e7aa79; outline-offset: 3px; border-radius: 6px; }
@media (max-width: 1199.98px) {
    body .footer-sec .footer-sec__container { grid-template-columns: minmax(260px, 1fr) minmax(0, 1.8fr); gap: 26px; }
    body .footer-sec .footer-sec__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    body .footer-sec .footer-sec__col:last-child { grid-column: 1 / -1; }
    body .footer-sec .footer-sec__col:last-child .footer-sec__link { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
}
@media (max-width: 767.98px) {
    body .footer-sec { padding-top: 30px; }
    body .footer-sec .footer-sec__container { grid-template-columns: minmax(0, 1fr); }
    body .footer-sec .subskums-footer-brand h2 { font-size: 18px; }
    body .footer-sec .footer-sec__map { height: 180px; }
    body .footer-sec .footer-sec__copyRight { padding-bottom: 30px; }
}
@media (max-width: 479.98px) {
    body .footer-sec .footer-sec__top { gap: 20px 16px; }
    body .footer-sec .footer-sec__col:last-child .footer-sec__link { grid-template-columns: minmax(0, 1fr); }
    body .footer-sec .copyright__right { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    body .footer-sec .footer-sec__social li,
    body .footer-sec .footer-sec__link li span { transition: none; }
}

/* Mobile navigation drawer */
body .subskums-mobile-menu {
    --mm-color-background: #f3f5f8;
    --mm-color-text: #193654;
    --mm-color-text-dimmed: #687b90;
    --mm-color-border: transparent;
    --mm-color-button: #193654;
    --mm-color-background-emphasis: #eef2f7;
    background: #f3f5f8;
    border-inline-start: 1px solid #dce4ed;
    box-shadow: -14px 0 60px #081e3930;
}
body .subskums-mobile-menu .subskums-menu-brand {
    position: absolute;
    inset: 0 0 auto;
    height: 140px;
    padding: 34px 24px 24px;
    background: radial-gradient(ellipse at 100% 0, #315674, transparent 70%), #102c50;
    border-bottom: 3px solid #d59a6d;
    color: #fff;
}
body .subskums-menu-brand > span { display: block; font-size: 11px; color: #bfcede; padding-inline-end: 30px; margin-bottom: 14px; }
body .subskums-menu-brand > h2 { font-size: 19px; line-height: 1.8; color: #fff; }
body .subskums-mobile-menu .subskums-menu-close {
    position: absolute;
    top: 24px;
    inset-inline-end: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #ffffff35;
    border-radius: 10px;
    background: #ffffff0c;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
body .subskums-mobile-menu .subskums-menu-close:hover { background: #ffffff24; }
body .subskums-mobile-menu .subskums-menu-close {
    font-size: 0;
}
body .subskums-mobile-menu .subskums-menu-close::before,
body .subskums-mobile-menu .subskums-menu-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
    pointer-events: none;
}
body .subskums-mobile-menu .subskums-menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
body .subskums-mobile-menu > .mm-panels { top: 140px; }
body .subskums-mobile-menu .mm-panel { background: #f3f5f8; padding-inline: 18px; }
body .subskums-mobile-menu .mm-navbar {
    background: #f3f5f8;
    color: #677c92;
    border: 0;
}
body .subskums-mobile-menu .mm-navbar__title { font-size: 12px; letter-spacing: 0; }
body .subskums-mobile-menu .mm-listview {
    margin: 12px 0 0;
    padding: 0 0 24px;
    counter-reset: mobile-links;
}
body .subskums-mobile-menu .mm-listitem {
    counter-increment: mobile-links;
    margin: 0 0 9px;
    border: 1px solid #e0e7ef;
    border-radius: 12px;
    background: #fff;
    color: #193654;
    overflow: hidden;
    transition: border-color .2s, background .2s;
}
body .subskums-mobile-menu .mm-listitem::after { display: none; }
body .subskums-mobile-menu .mm-listitem__text {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px 15px;
    white-space: normal;
    font-size: 13px;
    font-weight: 400 !important;
    line-height: 1.8;
    color: #193654;
}
body .subskums-mobile-menu .mm-listitem__text::before {
    content: counter(mobile-links, decimal-leading-zero);
    font-family: "Subskums Regular", sans-serif;
    font-size: 11px;
    line-height: 1;
    color: #8a6a52;
    background: #f7f1e9;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
body .subskums-mobile-menu .mm-listitem:hover,
body .subskums-mobile-menu .mm-listitem_selected { background: #fffaf5; border-color: #d9b79d; }
body .subskums-mobile-menu .mm-listitem__text:focus-visible,
body .subskums-mobile-menu .subskums-menu-close:focus-visible {
    outline: 2px solid #bd7c4d;
    outline-offset: -3px;
}
@media (prefers-reduced-motion: reduce) {
    body .subskums-mobile-menu .mm-listitem { transition: none; }
}

/* Viewport-fitted hero */
body .slider-sec {
    --subskums-hero-height: calc(100svh - 160px);
    height: var(--subskums-hero-height) !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    background: #102b48;
    overflow: hidden;
}

/* Main slider */
body .slider-sec {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    background: transparent !important;
}

/* Remove decorative layers */
body .slider-sec::before,
body .slider-sec::after {
    display: none !important;
    content: none !important;
}

/* Slider container */
body .slider-sec #mainSlider {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Flickity viewport */
body .slider-sec #mainSlider .flickity-viewport {
    width: 100%;
    height: auto;
    min-height: 0 !important;
    background: transparent !important;
}

/* Slider cells */
body .slider-sec .slider-sec__cell {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Image wrapper */
body .slider-sec .slider-sec__pic {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: hidden;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Remove blurred background */
body .slider-sec .slider-sec__pic::before,
body .slider-sec .slider-sec__pic::after {
    display: none !important;
    content: none !important;
}

/* Fit image naturally */
body .slider-sec .slider-sec__pic img {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Video */
body .slider-sec .slider-sec__pic video {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: none !important;
    border-radius: 0 !important;
}

/* Pagination */
body .slider-sec .flickity-page-dots {
    position: absolute !important;
    inset-inline-start: auto !important;
    inset-inline-end: auto !important;
    top: auto !important;
    bottom: 16px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);

    width: max-content !important;
    max-width: calc(100% - 32px);
    height: auto;

    margin: 0 !important;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 9px 12px;
    border: 1px solid #ffffff35;
    border-radius: 30px;
    background: #0b20396b;
    backdrop-filter: blur(10px);
}

/* Pagination dots */
body .slider-sec .flickity-page-dots .dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin: 0 !important;
    opacity: .55;
    border: 0 !important;
    background: #fff !important;
}

/* Active dot */
body .slider-sec .flickity-page-dots .dot.is-selected {
    width: 22px;
    border-radius: 8px;
    opacity: 1;
    background: #fff !important;
}


/* Compact sticky header */
body .header-sec:has(.header-sec__bottom.sticky) {
    padding-bottom: var(--subskums-header-full, 109px);
}
body .header-sec .header-sec__bottom.sticky {
    height: var(--subskums-header-compact, 54.5px) !important;
    min-height: 0 !important;
    border-bottom-width: 2px;
    background: #0c2949f5;
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 24px #071d3926;
    animation: subskums-header-enter .32s cubic-bezier(.2,.7,.2,1) both;
    transition: background .2s, box-shadow .2s;
}
body .header-sec .header-sec__bottom.sticky .header-sec__content {
    height: calc(var(--subskums-header-compact, 54.5px) - 2px);
    min-height: 0;
    padding: 4px 0;
    gap: 18px;
}
body .header-sec .header-sec__bottom.sticky .header-sec__logo {
    height: calc(var(--subskums-header-compact, 54.5px) - 10px);
    width: 155px;
}
body .header-sec .header-sec__bottom.sticky .mega-menu > ul > li > a {
    min-height: 32px;
    padding: 5px 9px;
    font-size: 12px !important;
}
body .header-sec .header-sec__bottom.sticky .mburger {
    width: 34px;
    height: 32px;
    border-radius: 8px;
}
body .header-sec .header-sec__bottom.sticky .mburger b { width: 20px; height: 2px; }
@keyframes subskums-header-enter {
    from { transform: translateY(-100%); opacity: .4; }
    to { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    body .header-sec .header-sec__bottom.sticky { animation: none; transition: none; }
}

@media (min-width: 992px) {
    body .header-sec #mainMenu-trigger {
        display: none !important;
    }
}

/* News breadcrumb and reading tools */
body.subskums-news-page .breadcrumb-area {
    height: auto !important;
    min-height: 0;
    padding: 22px 0;
    background: #f0f4f8;
    border-bottom: 1px solid #e0e7ef;
}
body.subskums-news-page ul.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding: 0;
    margin: 0;
    background: transparent;
    list-style: none;
}
body.subskums-news-page ul.breadcrumb li {
    display: flex; align-items: center; gap: 9px;
    width: auto; min-width: 0; margin: 0; padding: 0;
    font-size: 12px; line-height: 1.8;
}
body.subskums-news-page ul.breadcrumb li::after { display: none; }
body.subskums-news-page ul.breadcrumb li + li::before {
    content: "";
    display: block;
    position: static;
    width: 5px;
    height: 5px;
    padding: 0;
    border: solid #a2b1c2;
    border-width: 0 0 1px 1px;
    transform: rotate(45deg);
}
body.subskums-news-page ul.breadcrumb li a { color: #52667f; padding: 4px 0; }
body.subskums-news-page ul.breadcrumb li:last-child a {
    padding: 5px 12px; border-radius: 7px; background: #e3ebf4; color: #193654;
}
body.subskums-news-page main .main-box {
    margin-top: 26px;
    border: 1px solid #e1e7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px #102c5006;
    padding: 28px;
}
body.subskums-news-page .news-info-wrap {
    margin: 0 0 28px;
    padding: 16px 18px;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    background: #f6f8fb;
}
body.subskums-news-page .news-info-wrap::before,
body.subskums-news-page .news-info-wrap::after { display: none; }
body.subskums-news-page .news-info-wrap > .row {
    display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
    margin: 0;
}
body.subskums-news-page .news-info-wrap .col-lg-10 { flex: 1 1 540px; max-width: 100%; padding: 0; }
body.subskums-news-page .news-info-wrap .col-lg-2 { flex: 0 0 auto; width: auto; max-width: 100%; padding: 0; }
body.subskums-news-page .news-info ul { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 0; }
body.subskums-news-page .news-info ul li {
    margin: 0; font-size: 12px; line-height: 1.9; color: #64758a;
}
body.subskums-news-page .news-info ul li i { color: #ac754d; font-size: 15px; }
body.subskums-news-page .news-tools { height: auto; }
body.subskums-news-page .news-tools ul { display: flex; gap: 6px; padding: 0; flex-wrap: wrap; }
body.subskums-news-page .news-tools ul li { margin: 0; padding: 0; }
body.subskums-news-page .news-tools a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; padding: 0;
    border: 1px solid #dde5ee; border-radius: 9px;
    background: #fff; color: #193654;
    transition: background .2s, border-color .2s;
}
body.subskums-news-page .news-tools a i { margin: 0; font-size: 17px; line-height: 1; }
body.subskums-news-page .news-tools .es,
body.subskums-news-page .news-tools .es::before { font-family: esfonticon !important; }
body.subskums-news-page .news-tools a:hover { background: #fff4e9; border-color: #d6ad8e; }
body.subskums-news-page .news-tools a:focus-visible { outline: 2px solid #c28555; outline-offset: 3px; }
@media (max-width: 575.98px) {
    body.subskums-news-page .breadcrumb-area { padding: 14px 0; }
    body.subskums-news-page ul.breadcrumb li { font-size: 11px; }
    body.subskums-news-page main .main-box { padding: 16px; margin-top: 16px; border-radius: 12px; }
    body.subskums-news-page .news-info-wrap { padding: 14px; }
    body.subskums-news-page .news-info-wrap .col-lg-2 { flex-basis: 100%; border-top: 1px solid #e0e7ef; padding-top: 12px; }
    body.subskums-news-page .news-info-wrap .news-tools { justify-content: flex-start; }
}

/* Article typography */
body.subskums-news-page .subskums-empty-copy { display: none !important; }
body.subskums-news-page .inner-box.inner-box__simple {
    padding: 0; border: 0; border-radius: 0; box-shadow: none;
}
body.subskums-news-page .es-post-content { margin-top: 0; }
body.subskums-news-page .news-head,
body.subskums-news-page .news-lead,
body.subskums-news-page .news-content {
    font-family: "niafam", "vazir", sans-serif !important;
    text-align: start;
    color: #334b63;
    overflow-wrap: anywhere;
}
body.subskums-news-page .news-head h6 {
    display: inline-block;
    padding: 7px 12px;
    margin: 0 0 18px;
    border-radius: 8px;
    background: #f8f0e8;
    color: #9b613b !important;
    font-size: 13px;
    font-weight: 400 !important;
    line-height: 1.9;
}
body.subskums-news-page .news-head h2 {
    margin: 0 0 24px;
    font-size: clamp(18px, 1.7vw, 23px);
    font-weight: 700 !important;
    line-height: 1.95;
    color: #153654;
    text-align: start;
    letter-spacing: 0;
}
body.subskums-news-page .news-lead {
    padding: 18px 22px;
    margin: 0 0 28px;
    border-inline-start: 3px solid #ba825b;
    border-radius: 12px 0 0 12px;
    background: #f3f6fa;
}
body.subskums-news-page .news-lead p {
    padding: 0; margin: 0; background: transparent;
    font-size: 14px; line-height: 2.1; color: #53677d;
    text-align: start; font-weight: 400 !important;
}
body.subskums-news-page .news-content { display: flow-root; font-size: 15px; line-height: 2.15; }
body.subskums-news-page .news-content p {
    margin: 0 0 17px;
    padding: 0;
    font-size: 1em;
    line-height: 2.15;
    font-weight: 400 !important;
    color: #334b63;
    text-align: start;
    word-spacing: normal;
}
body.subskums-news-page .news-content .news-img {
    float: left;
    width: min(36%, 360px);
    height: auto;
    margin: 0 26px 18px 0;
    padding: 8px;
    border: 1px solid #e0e7ef;
    border-radius: 14px;
    background: #f6f8fb;
    box-shadow: none;
    overflow: hidden;
}
body.subskums-news-page .news-img img { display: block; width: 100%; height: auto; border-radius: 8px; }
body.subskums-news-page .news-img h5:empty { display: none; }
body.subskums-news-page .extra-meta {
    margin-top: 24px; padding-top: 18px; border-top: 1px solid #e2e8ef;
    font-size: 12px; color: #687c91;
}
@media (max-width: 767.98px) {
    body.subskums-news-page .news-head h2 { font-size: 18px; line-height: 1.95; }
    body.subskums-news-page .news-head h6 { font-size: 12px; }
    body.subskums-news-page .news-lead { padding: 14px 16px; margin-bottom: 22px; }
    body.subskums-news-page .news-content { font-size: 14px; }
    body.subskums-news-page .news-content .news-img {
        float: none; width: min(100%, 420px); margin: 0 auto 24px;
    }
}

/* Article closing panel */
body.subskums-news-page .subskums-article-end {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px 28px;
    margin-top: 34px;
    padding: 24px;
    border: 1px solid #dfe6ef;
    border-top: 3px solid #ba825b;
    border-radius: 16px;
    background: linear-gradient(120deg, #edf3f9, #faf8f4);
}
body.subskums-news-page .subskums-article-end .extra-meta {
    grid-column: 1 / -1;
    padding: 0 0 18px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #dce4ed;
}
body.subskums-news-page .subskums-article-end .extra-meta ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
body.subskums-news-page .subskums-article-end .extra-meta li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 1px solid #e0e7ef;
    border-radius: 7px;
    background: #fff;
    color: #536b82;
    font-size: 12px;
}
body.subskums-news-page .subskums-article-end .extra-meta li span,
body.subskums-news-page .subskums-article-end .extra-meta li i { color: #7a6958; }
body.subskums-news-page .subskums-article-end .shorturl-wrap {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    float: none;
    text-align: start;
}
body.subskums-news-page .subskums-share-title {
    margin: 0 0 12px;
    color: #193654;
    font-size: 15px;
    line-height: 1.8;
}
body.subskums-news-page .subskums-article-end .input-group {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 440px;
    padding: 4px;
    gap: 6px;
    border: 1px solid #d9e2ee;
    border-radius: 11px;
    background: #fff;
}
body.subskums-news-page .subskums-article-end #shorturlitem {
    flex: 1;
    width: 0;
    min-width: 0;
    height: 38px;
    margin: 0;
    padding: 6px 10px;
    direction: ltr;
    text-align: left;
    font-size: 12px;
    color: #526a82;
    border: 0;
    background: transparent;
    border-radius: 7px;
}
body.subskums-news-page .subskums-article-end .btn-shorturl-wrap {
    flex: 0 0 auto;
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px !important;
    background: #153654;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}
body.subskums-news-page .subskums-article-end .btn-shorturl-wrap:hover { background: #254e74; }
body.subskums-news-page .subskums-copy-status { display: block; color: #367460; font-size: 12px; line-height: 1.8; }
body.subskums-news-page .subskums-copy-status:not(:empty) { margin-top: 8px; }
body.subskums-news-page .subskums-article-end .es-archive-list {
    align-self: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
}
body.subskums-news-page .subskums-article-end .es-archive-list a {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 11px 16px;
    border: 1px solid #d7b79f !important;
    border-radius: 9px;
    color: #805331 !important;
    background: #fffaf5 !important;
    font-size: 12px;
}
body.subskums-news-page .subskums-article-end .es-archive-list a::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border: solid currentColor;
    border-width: 0 0 1.5px 1.5px;
    transform: rotate(45deg);
}
body.subskums-news-page .subskums-article-end .es-archive-list a:hover { background: #f5e7db !important; }
body.subskums-news-page .subskums-article-end :is(a, button, input):focus-visible { outline: 2px solid #b77b4d; outline-offset: 3px; }
@media (max-width: 767.98px) {
    body.subskums-news-page .subskums-article-end { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 18px; }
    body.subskums-news-page .subskums-article-end .input-group { max-width: none; }
    body.subskums-news-page .subskums-article-end .es-archive-list { justify-self: end; }
}

/* Breadcrumb rhythm */
body.subskums-news-page .breadcrumb-area {
    padding: 20px 0;
    min-height: 76px;
    display: flex;
    align-items: center;
}
body.subskums-news-page ul.breadcrumb {
    gap: 10px 14px;
    min-height: 36px;
    padding: 0;
    margin: 0;
    border: 0 !important;
    align-items: center;
}
body.subskums-news-page ul.breadcrumb li {
    gap: 14px;
    font-size: 12px;
    line-height: 2;
    align-items: center;
}
body.subskums-news-page ul.breadcrumb li a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 5px 0;
    line-height: 2;
    white-space: nowrap;
}
body.subskums-news-page ul.breadcrumb li a span { line-height: inherit; }
body.subskums-news-page ul.breadcrumb li:last-child a {
    padding: 5px 14px;
    min-height: 36px;
    border-radius: 8px;
}
body.subskums-news-page ul.breadcrumb li + li::before {
    flex: 0 0 5px;
    margin: 0;
    align-self: center;
}
@media (max-width: 575.98px) {
    body.subskums-news-page .breadcrumb-area { padding: 16px 0; min-height: 68px; }
    body.subskums-news-page ul.breadcrumb { gap: 8px 10px; }
    body.subskums-news-page ul.breadcrumb li { gap: 10px; font-size: 11px; }
    body.subskums-news-page ul.breadcrumb li:last-child a { padding-inline: 12px; }
}

/* Spacing between shortcuts and news */
body .system-sec { margin: 0 0 8px; padding: 4px 0 0; }
body .system-sec .system-sec__container { padding-bottom: 0; }
body .system-sec .system-sec__cell { padding-top: 6px; padding-bottom: 8px; }
body .system-sec .system-sec__cell .system-item {
    height: 104px;
    padding: 16px;
    gap: 12px;
}
body .system-sec .system-item__pic { width: 46px; height: 48px; border-radius: 12px; }
body .system-sec .system-sec__cell .system-item__pic i { font-size: 29px; }
body .system-sec .system-item__content { flex: 1; }
body .system-sec .system-sec__cell .system-item__content span {
    font-size: 13px !important;
    line-height: 1.85;
    text-align: start;
}
body .system-sec .flickity-prev-next-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 36px;
    height: 44px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: #fffffff2;
    color: #234769;
    box-shadow: 0 4px 16px #102c5017;
    backdrop-filter: blur(8px);
    z-index: 3;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
body .system-sec .flickity-prev-next-button.previous { left: auto; right: -12px; }
body .system-sec .flickity-prev-next-button.next { left: -12px; right: auto; }
body .system-sec .flickity-prev-next-button:hover {
    background: #fff7ef;
    border-color: #d5aa87;
    color: #a76537;
    box-shadow: 0 5px 18px #102c5020;
}
body .system-sec .system-sec__container { margin-inline: 12px; padding-inline: 16px; }
@media (max-width: 575.98px) {
    body .system-sec .system-sec__container { margin-inline: 4px; padding-inline: 13px; }
    body .system-sec .flickity-prev-next-button { width: 30px; height: 40px; border-radius: 10px; }
    body .system-sec .flickity-prev-next-button.previous { right: -4px; }
    body .system-sec .flickity-prev-next-button.next { left: -4px; }
}
body .system-sec + .news-sec { padding-top: 12px; }
body .news-sec .section__header {
    min-height: 42px;
    padding-bottom: 12px;
    margin-bottom: 18px;
}
body .news-sec .section__archive { padding: 6px 10px; }
@media (max-width: 767.98px) {
    body .system-sec .system-sec__cell .system-item { padding: 14px; gap: 10px; }
    body .system-sec + .news-sec { padding-top: 10px; }
}
