@font-face {
    font-family: "IRANSans";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/IRANSans/eot/IRANSansWeb_Bold.eot?#iefix") format("embedded-opentype"), url(../fonts/IRANSans/woff2/IRANSansWeb_Bold.woff2) format("woff2"), url(../fonts/IRANSans/woff/IRANSansWeb_Bold.woff) format("woff"), url(../fonts/IRANSans/ttf/IRANSansWeb_Bold.ttf) format("truetype");
}

@font-face {
    font-family: "IRANSans";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/IRANSans/eot/IRANSansWeb_Medium.eot?#iefix") format("embedded-opentype"), url(../fonts/IRANSans/woff2/IRANSansWeb_Medium.woff2) format("woff2"), url(../fonts/IRANSans/woff/IRANSansWeb_Medium.woff) format("woff"), url(../fonts/IRANSans/ttf/IRANSansWeb_Medium.ttf) format("truetype");
}

@font-face {
    font-family: "IRANSans";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/IRANSans/eot/IRANSansWeb_Light.eot?#iefix") format("embedded-opentype"), url(../fonts/IRANSans/woff2/IRANSansWeb_Light.woff2) format("woff2"), url(../fonts/IRANSans/woff/IRANSansWeb_Light.woff) format("woff"), url(../fonts/IRANSans/ttf/IRANSansWeb_Light.ttf) format("truetype");
}

@font-face {
    font-family: "IRANSans";
    font-style: normal;
    font-weight: 200;
    src: url("../fonts/IRANSans/eot/IRANSansWeb_UltraLight.eot?#iefix") format("embedded-opentype"), url(../fonts/IRANSans/woff2/IRANSansWeb_UltraLight.woff2) format("woff2"), url(../fonts/IRANSans/woff/IRANSansWeb_UltraLight.woff) format("woff"), url(../fonts/IRANSans/ttf/IRANSansWeb_UltraLight.ttf) format("truetype");
}

@font-face {
    font-family: "IRANSans";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/IRANSans/eot/IRANSansWeb.eot?#iefix") format("embedded-opentype"), url(../fonts/IRANSans/woff2/IRANSansWeb.woff2) format("woff2"), url(../fonts/IRANSans/woff/IRANSansWeb.woff) format("woff"), url(../fonts/IRANSans/ttf/IRANSansWeb.ttf) format("truetype");
}

blockquote,
h1 {
    margin-bottom: 1.5rem;
}

.hero h2,
.hero p,
.navbar .navbar-nav .nav-item a,
.wide h2,
footer .container {
    /* text-transform: uppercase; */
}

.main-body .container .block.image-block,
.wide h2,
footer .container {
    /* text-align: center; */
}

body {
    font-family: "Open Sans", sans-serif;
    background: #eef4f7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-family: Bitter, serif; */
    font-weight: 700;
}

.hero h2,
.teasers .container h3,
.wide h2 {
    /* font-family: "Open Sans", sans-serif; */
}

.hero h2,
.hero p,
.hero p small,
.wide h2,
blockquote {
    /* font-weight: 300; */
}

h2 {
    /* border-bottom: solid 1px #eee; */
    padding-bottom: 1rem;
    margin: 0.5rem 0 1.5rem;
}

h3 {
    margin: 0.5rem 0 1rem;
}

pre {
    background: #f4f4f4;
    padding: 1.5rem;
}

blockquote {
    color: #999;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 0 #f2f2f4;
}

img {
    max-width: 100%;
}

    img.primary-image {
        margin-bottom: 2rem;
    }

.btn-default {
    color: #212529;
    border-color: #337ab7;
    margin: 0.5rem 0;
    transition: all 0.1s ease-in-out;
}

    .btn-default:hover {
        color: #fff;
        background: #337ab7;
        transition: all 0.1s ease-in-out;
    }

.separator {
    margin-bottom: 1rem;
}

    .separator hr {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        border-top-color: #eee;
    }

a {
    color: #337ab7;
}

    a:hover {
        color: #ec0e21;
    }

.sep {
    color: #337ab7;
    padding: 0 2px;
}

header[role="banner"] {
    background-color: #222;
    border-color: #080808;
}

.main-body {
    overflow: hidden;
}

    .main-body .container {
        /* background: #fff; */
    }

        .main-body .container.body-container {
            padding: 2rem 15px;
            padding-top: 0;
        }

        .main-body .container.body-top {
            border-top: solid 6px #00a3d8;
            padding-top: 4rem;
            position: relative;
        }

            .main-body .container.body-top:before {
                content: " ";
                background: #00a3d8;
                position: absolute;
                height: 6px;
                width: 100%;
                top: -6px;
                left: 0;
                display: block;
                z-index: 2000;
            }

        .main-body .container.hero {
            /*background: url(../img/seigaiha-overlay.png) #116d9a;*/
            max-width: 100%;
            padding: 0;
            margin: 0;
            position: relative;
        }

        .main-body .container.latest-post {
            background: #f0ad4e;
            color: #fff;
            padding: 1rem 0;
            font-weight: 300;
            font-size: 0.9rem;
            text-transform: uppercase;
        }

            .main-body .container.latest-post a {
                color: #fff;
            }

        .main-body .container .block {
            margin-bottom: 2rem;
        }

            .main-body .container .block .block {
                height: 100%;
                margin-bottom: 0;
            }

        .main-body .container .gallery-block {
            margin-bottom: 2rem;
        }

        .main-body .container .columns img {
            object-fit: cover;
        }

footer {
    /* border-top: solid 4px #eef4f7; */
}

    footer .container {
        /* padding: 3rem 15px; */
        font-size: 0.85rem;
    }

.hero {
    color: #fff;
    /*border-top: solid 6px #00a3d8;*/
    /*padding: 5rem 15px;*/
}

    .hero h2 {
        font-size: 1.8rem;
        border: 0;
    }

    .hero img {
        margin-bottom: 2.5rem;
        width: 100%;
    }

    .hero p {
        opacity: 0.7;
    }

        .hero p small {
            background: rgba(0, 0, 0, 0.2);
            font-size: 80%;
            padding: 0.25rem 0.5rem;
        }

            .hero p small strong {
                font-weight: 800;
            }

    .hero a {
        color: #f0ad4e;
    }

.main-body .container.hero .col.text-center {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
}

    .main-body .container.hero .col.text-center h1 {
        font-size: 40px;
        letter-spacing: 1px;
        color: white;
        background: rgba(0, 0, 0, 0.73);
        width: 41%;
        border-radius: 10px;
        text-align: center;
        padding: 20px;
    }

@media (max-width: 769px) {
    .main-body .container.hero .col.text-center h1 {
        font-size: 25px;
        width: 50%;
    }
}

@media (max-width: 481px) {
    .main-body .container.hero .col.text-center h1 {
        font-size: 20px;
    }
}

@media (max-width: 414px) {
    .main-body .container.hero .col.text-center h1 {
        font-size: 18px;
    }
}

@media (max-width: 375px) {
    .main-body .container.hero .col.text-center h1 {
        font-size: 15px;
    }
}


.teasers .container {
    background: #fff;
}

    .teasers .container .row {
        background: #fdf7ed;
        border-bottom: solid 4px #eef4f7;
        padding: 1.5rem 15px;
        text-align: center;
    }

    .teasers .container h3 {
        font-weight: 400;
    }

    .teasers .container img {
        max-width: 50%;
        max-height: 120px;
        margin: 0.5rem 0 1.5rem;
        opacity: 0.7;
        transition: all 0.2s ease-in-out;
    }

        .teasers .container img:hover {
            opacity: 1;
            transform: scale(1.1);
        }

    .teasers .container p {
        width: 80%;
        margin: 0 auto 1rem;
        font-weight: 300;
    }

.quotes .quote {
    background: #fdf7ed;
    color: #78500d;
    padding: 2rem 3rem;
    border-radius: 0.5rem;
    margin-bottom: 3rem;
}

    .quotes .quote img {
        width: 100%;
        max-width: 150px;
        display: block;
        margin: 0 auto 1rem;
        border-radius: 50%;
    }

    .quotes .quote .quote-body {
        font-weight: 300;
    }

    .quotes .quote .quote-name {
        text-align: right;
    }

    .quotes .quote:after {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: 20px solid transparent;
        border-top-color: #fdf7ed;
        position: absolute;
        margin-top: 30px;
        margin-right: 60px;
        right: 0;
    }

.archive-item {
    padding-bottom: 1rem;
}

    .archive-item h2 a {
        color: #212529;
        transition: color 0.1s ease-in-out;
    }

        .archive-item h2 a:hover {
            color: #23527c;
            text-decoration: none;
            transition: color 0.1s ease-in-out;
        }

    .archive-item p.lead {
        font-size: 1rem;
        font-weight: 400;
    }

    .archive-item img {
        margin-bottom: 1rem;
    }

    .archive-item .small a {
        color: #999;
    }

.pagination .page-item {
    width: 38px;
    margin: 0 3px;
    text-align: center;
}

    .pagination .page-item .page-link {
        color: #77acd9;
        border-radius: 2px;
    }

    .pagination .page-item.active .page-link {
        color: #fff;
        background: #337ab7;
        border-color: #337ab7;
    }

@media (min-width: 768px) {
    .hero h2 {
        font-size: 2.7rem;
    }

    .hero p {
        font-size: 1.35rem;
    }

        .hero p small {
            font-size: 60%;
        }
}

/* Stat Added by Hosseini for Layout page */
body {
    /*color: #3b3b3b;*/
    font-family: "IRANSans";
    font-size: 1rem;
    line-height: inherit;
    margin: 0;
    padding: 0;
    font-weight: 400;
    line-height: 24px;
    direction: rtl;
    text-align: justify;
}

* {
    outline: none !important;
}

ul {
    list-style: none;
}

a {
    color: #000;
}

    a:hover {
        text-decoration: none;
    }

.fa {
    font-family: 'FontAwesome';
}

.login a {
    color: #fff;
}

.top-header {
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.4); */
    /* padding: 5px 0; */
}

.top-nav > ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.top-nav li {
    border-right: 1px solid #ec0e21;
    display: inline-block;
    margin-right: 7px;
    padding-right: 10px;
    position: relative;
}

.top-nav a:hover {
    color: #ec0e21;
}

.top-nav a {
    color: #ccc;
}

.top-nav li:last-child {
    border: medium none;
    margin: 0;
    padding: 0;
}

.top-header {
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.4); */
    /* padding: 5px 0; */
}

.search-form {
    background: rgba(255, 255, 255, 0.2) none repeat scroll 0 0;
    border-radius: 4px;
    padding-left: 36px;
    position: relative;
    pointer-events: none;
}

    .search-form > input[type="text"] {
        background: transparent none repeat scroll 0 0;
        border: medium none;
        color: #ccc;
        height: 30px;
        padding: 0 15px;
        width: 100%;
        text-align: right;
    }

    .search-form > input[type="submit"] {
        background: transparent;
        border: medium none;
        border-radius: 4px;
        height: 36px;
        position: absolute;
        width: 36px;
        z-index: 99;
        top: 0;
        left: 0;
    }

    .search-form::after {
        border-radius: 4px;
        height: 30px;
        position: absolute;
        width: 36px;
        display: block;
        font-family: "FontAwesome";
        content: "\f002";
        color: #ec0e21;
        font-size: 16px;
        top: 0;
        left: 0;
        text-align: center;
        line-height: 30px;
    }

.mini-cart-icon {
    color: #ccc;
    margin-right: 7px;
}

.footer {
    background: #0a0907 none repeat scroll 0 0;
    padding: 50px 0 20px;
    font-family: "IRANSans";
}

.footer-box > p {
    color: #ccc;
    text-align: justify;
    direction: rtl;
    margin-bottom: 24px;
}

.footer-box .readmore {
    color: #ec0e21;
}

.footer-box > ul {
    list-style: outside none none;
    margin: 0 0 17px;
    padding: 0;
}

.footer-box a {
    color: #ccc;
}

.footer-box li {
    margin-bottom: 10px;
    text-align: right;
}

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

.list-footer-box {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    padding-bottom: 25px;
    position: relative;
}

.social-footer > a {
    border: 2px solid #ccc;
    border-radius: 50%;
    color: #ccc;
    display: inline-block;
    font-size: 16px;
    height: 38px;
    line-height: 38px;
    margin-right: 8px;
    text-align: center;
    width: 38px;
}

.social-footer {
    font-size: 0;
    margin-bottom: 40px;
    text-align: right;
}

    .social-footer > a:hover {
        color: #ec0e21;
    }

.footer-menu {
    display: inline-block;
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

    .footer-menu > li {
        display: inline-block;
        margin-right: 17px;
    }

    .footer-menu a {
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
    }

        .footer-menu a:hover {
            color: #ec0e21;
        }

.footer-email > a:hover {
    color: #ec0e21;
}

.footer-box a:hover {
    color: #ec0e21;
}

.footer-box .readmore:hover {
    color: #fff;
}

.title-footer {
    font-family: "IRANSans";
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    margin: 0 0 15px;
    text-align: right;
}

    .title-footer span {
        color: #ec0e21;
    }

.footer.footer3 {
    background: #f4f4f4 none repeat scroll 0 0;
}

    .footer.footer3 .footer-box > p {
        color: #888;
    }

    .footer.footer3 .title-footer {
        color: #3b3b3b;
    }

    .footer.footer3 .footer-box a {
        color: #888;
    }

    .footer.footer3 .footer-box .readmore {
        color: #ec0e21;
    }

        .footer.footer3 .footer-box .readmore:hover {
            color: #3b3b3b;
        }

    .footer.footer3 .footer-box a:hover {
        color: #ec0e21;
    }

    .footer.footer3 .list-footer-box {
        border-color: #e5e5e5;
    }

    .footer.footer3 .social-footer > a {
        color: #3b3b3b;
    }

        .footer.footer3 .social-footer > a:hover {
            color: #fff;
            background: #ec0e21;
        }

    .footer.footer3 .copyright {
        color: #3b3b3b;
    }

    .footer.footer3 .footer-menu a {
        color: #3b3b3b;
    }

        .footer.footer3 .footer-menu a:hover {
            color: #ec0e21;
        }

    .footer.footer3 .newsletter-form > label {
        color: #3b3b3b;
    }

    .footer.footer3 .newsletter-form input[type="text"] {
        background: #fff none repeat scroll 0 0;
        border: 1px solid #e5e5e5;
    }

    .footer.footer3 .newsletter-form input[type="submit"] {
        background: #3b3b3b none repeat scroll 0 0;
    }

        .footer.footer3 .newsletter-form input[type="submit"]:hover {
            background: #ec0e21;
        }

    .footer.footer3 .back-to-top {
        background: url(../images/home3/back-top3.png) no-repeat center center;
    }

p.footer-address i,
p.footer-phone i,
p.footer-fax i,
p.footer-email i {
    padding-left: 15px;
    font-size: 16px;
    color: #ec0e21;
}

.copyright p {
    color: #fff;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 0;
}

.copyright {
    text-align: center;
}

    .copyright a {
        color: #fff;
        font-weight: 700;
    }

        .copyright a:hover {
            color: #ec0e21;
        }

.footer.footer3 .copyright {
    color: #3b3b3b;
}

.back-to-top {
    background: rgba(0, 0, 0, 0) url(../images/backtop.png) no-repeat scroll center center;
    bottom: 0;
    height: 46px;
    left: 50%;
    margin-bottom: -23px;
    margin-left: -23px;
    position: absolute;
    width: 46px;
}

.latest-post .col.text-center {
    margin-top: 15px;
}

.alllangs {
    padding: 25px 0;
    display: flex;
    justify-content: center;
}

/* End Added by Hosseini for Layout page */

/*Start of Menu*/

.header {
    height: auto;
    transition: all 0.5s ease-in-out 0s;
}

    .header img {
        height: auto;
    }

.nav-item .nav-link {
    transition: 0.4s;
}

    .nav-item .nav-link:hover {
        color: #ec0e21;
    }

.header-nav {
    transition: 0.2s linear;
    padding: 20px 0;
    overflow: visible;
    margin: 0;
}

    .header-nav .navbar {
        max-width: 1340px;
    }

.navbar .dropdown-toggle, .nav-tabs > .dropdown-toggle {
    margin-bottom: 0;
}

.navbar-nav li {
    cursor: pointer;
    font-size: 15px;
    font-weight: 300;
}

.dropdown-item {
    padding: 0.5rem 1rem 0.5rem 6.5rem;
    text-align: right;
}

.dropdown-menu {
    background-color: white;
    width: fit-content;
    right: 0;
    top: 95%;
}

.nav-item:hover > .dropdown-menu {
    display: table;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: -8px;
        right: 100%;
        margin-top: -1px;
        margin-left: -1px;
        -webkit-border-radius: 6px 0px 6px 6px;
        -moz-border-radius: 6px 0px 6px 6px;
        border-radius: 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: table;
    }

    .dropdown-submenu > a:after {
        display: block;
        /* content: " "; */
        float: left;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #000;
        margin-top: 5px;
        transform: rotate(180deg);
        position: absolute;
        left: 5px;
        top: 5px;
    }

.header-nav .nav-link {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    margin: auto 10px;
    transition: 0.3s;
    font-family: 'IRANSans';
    text-align: center;
}

    .header-nav .nav-link.active {
        border-bottom: 2px solid #ec0e21;
        color: #ec0e21;
    }

.header-nav .navbar-toggler {
    outline: none !important;
    text-align: right;
    width: 100%;
    padding: 20px 0 !important;
}

.header-nav .visuallyHidden {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.header-nav .hamburger {
    width: 30px;
    height: 30px;
    position: relative;
    padding-left: 15px;
}

    .header-nav .hamburger .bar {
        padding: 0;
        width: 30px;
        height: 4px;
        background-color: #fff;
        display: block;
        border-radius: 4px;
        transition: all 0.4s ease-in-out;
        position: absolute;
    }

.header-nav .bar1 {
    top: 0;
}

.header-nav.bar2,
.header-nav .bar3 {
    top: 13.5px;
}

.header-nav .bar3 {
    right: 0;
}

.header-nav .bar4 {
    bottom: 0;
}

/* HAMBURGER 3 */

.header-nav .hamburger3 .bar1 {
    transform-origin: 5%;
}

.header-nav .hamburger3 .bar4 {
    transform-origin: 5%;
}

.header-nav .checkbox3:checked + label > .hamburger3 > .bar1 {
    transform: rotate(45deg);
    height: 3px;
    width: 42px;
}

.header-nav .checkbox3:checked + label > .hamburger3 > .bar3 {
    transform: rotate(45deg);
    height: 3px;
    background-color: transparent;
}

.header-nav .checkbox3:checked + label > .hamburger3 > .bar2 {
    transform: rotate(-45deg);
    height: 3px;
    background-color: transparent;
}

.header-nav .checkbox3:checked + label > .hamburger3 > .bar4 {
    transform: rotate(-45deg);
    height: 3px;
    width: 42px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20px 0;
}

@media(max-width:992px) {

    .main-header > .container > .row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: nowrap;
        padding: 5px 0;
    }

    .header-nav {
        padding: 0
    }

    .dropdown-menu {
        display: none;
    }

    .dropdown:hover > .dropdown-menu, .btn-group:hover > .dropdown-menu {
        display: table;
    }

    .header-nav .nav-link {
        text-align: right;
    }

    .navbar-nav .dropdown-menu {
        padding: 0
    }


    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
    }

    .header-nav .nav-link:after {
        position: absolute;
        bottom: 18px;
    }

    .dropdown:hover > .dropdown-menu {
        display: table;
    }
}

@media(max-width:576px) {
    .navbar-nav li {
        width: 100px
    }
}

/*******  mega menu  *******/

.leftTopHeader {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.header .menu-btn {
    display: none;
}

    .header .menu-btn:checked ~ .menu {
        max-height: 240px;
    }

    .header .menu-btn:checked ~ .menu-icon .navicon {
        background: transparent;
    }

        .header .menu-btn:checked ~ .menu-icon .navicon:before {
            transform: rotate(-45deg);
        }

        .header .menu-btn:checked ~ .menu-icon .navicon:after {
            transform: rotate(45deg);
        }

    .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
    .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
        top: 0;
    }

.leftTopHeader {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

    .header .menu-icon .navicon {
        background: #fff;
        display: block;
        height: 2px;
        position: relative;
        transition: background .2s ease-out;
        width: 18px;
    }

        .header .menu-icon .navicon:before,
        .header .menu-icon .navicon:after {
            background: #fff;
            content: '';
            display: block;
            height: 100%;
            position: absolute;
            transition: all .2s ease-out;
            width: 100%;
        }

        .header .menu-icon .navicon:before {
            top: 5px;
        }

        .header .menu-icon .navicon:after {
            top: -5px;
        }

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

.header-nav .hamburger3 .bar1 {
    transform-origin: 5%;
}

.header-nav .hamburger3 .bar4 {
    transform-origin: 5%;
}

.header-nav .checkbox3:checked + label > .hamburger3 > .bar1 {
    transform: rotate(45deg);
    height: 3px;
    width: 42px;
}

.header-nav .checkbox3:checked + label > .hamburger3 > .bar3 {
    transform: rotate(45deg);
    height: 3px;
    background-color: transparent;
}

.header-nav .checkbox3:checked + label > .hamburger3 > .bar2 {
    transform: rotate(-45deg);
    height: 3px;
    background-color: transparent;
}

.header-nav .checkbox3:checked + label > .hamburger3 > .bar4 {
    transform: rotate(-45deg);
    height: 3px;
    width: 42px;
}

.menu .nav-item .nav-link {
    color: #fff
}

.menu .dropdown-menu {
    background-color: #fff;
    width: 100vw;
    /* right: 0; */
    direction: ltr;
    border-radius: 0 !important;
    padding: 0;
}

.menu .border-megamenu {
    display: none;
}

.menu .megamenu * {
    color: #000;
    text-align: right;
    font-size: 13px;
    direction: rtl;
}

.menu .megamenu a:hover {
    color: #ec0e21;
}

.menu .megamenu ul {
    padding-right: 7px;
}

.menu .megamenu li:before {
    content: '\f053';
    font-family: "fontawesome";
    margin-left: 1px;
    font-size: 12px;
}

.menu .column i {
    color: #ec0e21;
    font-size: 22px;
}

.menu .column li:hover i {
    color: white;
}

.menu .column .dropdown-item:focus,
.menu .dropdown-item:hover {
    background-color: unset !important;
}

.menu .image-megamenu {
    margin-left: 10px;
}

.menu .hover-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ec6408;
    opacity: 0;
    right: 0;
    bottom: 0;
    margin: 0px;
}

.menu .image-megamenu:hover .hover-image {
    opacity: 0.6;
}

.menu .icon-image-mega-menu {
    text-align: center;
    top: 35px;
    color: white;
    font-size: 27px;
    visibility: hidden;
}

.menu .image-megamenu:hover .icon-image-mega-menu {
    visibility: visible;
}

.menu .dropdown-menu ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.menu .dropdown-menu ::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.menu .dropdown-menu ::-webkit-scrollbar-thumb {
    background-color: #ec0e21;
}

.menu .navbar-collapse {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.menu .megamenu {
    background-color: #fff;
    box-shadow: 0px 4px 4px 5px rgb(3 11 31 / 39%);
    padding: 10px 10px 0;
    flex-direction: row-reverse;
}

    .menu .megamenu > div {
        padding: 0;
    }

.menu .title-megamenu {
    color: #8d8d8d;
    text-align: right;
    padding-top: 20px;
    padding-right: 40px;
    font-size: 14px;
    font-weight: 500;
    transition: .4s
}

@media (min-width: 1024px) {
    .header li {
        float: right;
    }

    .header .menu {
        clear: none;
        /* float: left; */
        max-height: none;
        direction: rtl;
    }

    .header .menu-icon {
        display: none;
    }
}

@media (max-width: 1024px) {
    .menu .megamenu .container {
        padding-right: 0px;
        margin-right: 10px;
    }

    .menu .navbar-nav .big-menu {
        width: 602px;
    }

        .menu .navbar-nav .big-menu > li {
            float: right;
            width: 200px;
            margin: 0
        }

    .menu .navbar-nav .dropdown-menu {
        width: 860px;
    }

    .list-hedaer {
        display: flex;
        justify-content: flex-end;
    }

    .social-header .ml-2 a {
        font-size: 12px;
        padding: 5px 0;
    }
}

@media(width: 768px) {
    .menu .navbar-nav .dropdown-menu {
        width: 680px;
    }
}

@media (max-width: 767px) {
    .menu .navbar-nav .dropdown-menu {
        width: 290px;
    }
}

@media(max-width:380px) {
    .col-sm-4.col-1 {
        display: none;
    }
}

@media(width: 320px) {
    .menu .navbar-nav .dropdown-menu {
        width: 250px;
    }
}

.menu .dropdown {
    position: unset
}

.menu .megamenu a {
    border-bottom: 1px dotted #ddd;
    margin-left: 10px;
    transition: .4s;
    margin-bottom: 30px !important;
    padding-right: 0 !important;
    position: relative;
}

    .menu .megamenu a::before {
        position: absolute;
        content: '\f0c9';
        font-family: 'FontAwesome';
        font-size: 18px;
        color: #b50109;
        border: 1px solid #ddd;
        width: 35px;
        height: 35px;
        line-height: 2;
        text-align: center;
        top: 13px;
    }

.megamenu a:hover {
    border-color: #b50109;
}

    .megamenu a:hover .title-megamenu {
        color: #b50109 !important;
    }

.menu .nav-item.dropdown:hover {
    background: #fff;
}

    .menu .nav-item.dropdown:hover a {
        color: #000 !important;
    }

.navbar-nav {
    flex-wrap: wrap;
}
/*End of Menu*/

/*Start of news*/
.single-post-box .title-post {
    padding: 20px 25px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0
}

    .single-post-box .title-post h1 {
        color: #333;
        font-size: 26px;
        font-weight: 700;
        line-height: 30px;
        margin: 0 0 15px;
    }

.single-post-box .share-post-box {
    margin-bottom: 10px;
    padding: 0 20px
}

    .single-post-box .share-post-box ul.share-box {
        margin: 0;
        padding: 0;
    }

        .single-post-box .share-post-box ul.share-box li {
            display: inline-block;
            color: #666;
            font-size: 13px;
            /* margin-right: 8px; */
            /* margin-bottom: 2px; */
        }

            .single-post-box .share-post-box ul.share-box li:first-child {
                float: left;
                padding-top: 20px;
                font-size: 1.1rem;
            }

            .single-post-box .share-post-box ul.share-box li i.fa.fa-share-alt {
                font-size: 20px;
                margin-right: 12px;
                color: #999;
                float: left
            }

            .single-post-box .share-post-box ul.share-box li i {
                font-size: 20px;
                color: #999;
                float: left
            }

            .single-post-box .share-post-box ul.share-box li span {
                display: inline-block;
                line-height: 15px
            }

            .single-post-box .share-post-box ul.share-box li a {
                display: inline-block;
                text-decoration: none;
                transition: all 0.2s ease-in-out;
                -moz-transition: all 0.2s ease-in-out;
                -webkit-transition: all 0.2s ease-in-out;
                -o-transition: all 0.2s ease-in-out;
                color: #fff;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                -o-border-radius: 3px;
                border-radius: 3px;
                background: transparent;
                margin: 5px;
            }

                .single-post-box .share-post-box ul.share-box li a i {
                    font-size: 1.3rem;
                    background: #fff;
                    border-radius: 50%;
                    cursor: pointer;
                    display: block;
                    color: #818181;
                    height: 50px;
                    line-height: 50px;
                    position: relative;
                    text-align: center;
                    transition: all 0.2s;
                    width: 50px;
                }

                /* .single-post-box .share-post-box ul.share-box li a.whatsapp i {
    color: #4FCE5D;
} */

                .single-post-box .share-post-box ul.share-box li a.whatsapp i:hover {
                    box-shadow: 0 0 10px rgb(37 211 102 / 50%) inset;
                    color: #25D366;
                }

                /* .single-post-box .share-post-box ul.share-box li a.send i {
    color: #229ED9
} */

                .single-post-box .share-post-box ul.share-box li a.send i {
                    font-size: 1.05rem;
                }

                    .single-post-box .share-post-box ul.share-box li a.send i:hover {
                        box-shadow: 0 0 10px rgb(34 158 218 / 50%) inset;
                        color: #229ED9;
                    }

                /* .single-post-box .share-post-box ul.share-box li a.twitter i {
    color: #1DA1F2
} */

                .single-post-box .share-post-box ul.share-box li a.twitter i:hover {
                    box-shadow: 0 0 10px rgb(29 161 242 / 50%) inset;
                    color: #1DA1F2;
                }

                .single-post-box .share-post-box ul.share-box li a.facebook i {
                    margin-right: 0;
                }

                    .single-post-box .share-post-box ul.share-box li a.facebook i:hover {
                        box-shadow: 0 0 10px rgb(66 103 178 / 50%) inset;
                        color: #4267B2;
                    }

                .single-post-box .share-post-box ul.share-box li a.linkedin i {
                    margin-right: 0
                }

                    .single-post-box .share-post-box ul.share-box li a.linkedin i:hover {
                        box-shadow: 0 0 10px rgb(14 118 168 / 50%) inset;
                        color: #1879dd;
                    }


/* .single-post-box .share-post-box ul.share-box li a:hover {
    opacity: .7
} */

.single-post-box > .post-content {
    margin-bottom: 10px;
    overflow: hidden
}

    .single-post-box > .post-content p {
        padding: 0 20px;
        margin-bottom: 18px
    }

        .single-post-box > .post-content p a {
            display: inline-block;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
            -moz-transition: all 0.2s ease-in-out;
            -webkit-transition: all 0.2s ease-in-out;
            -o-transition: all 0.2s ease-in-out;
            color: #f44336;
            text-decoration: underline
        }

            .single-post-box > .post-content p a:hover {
                opacity: .6
            }

    .single-post-box > .post-content blockquote {
        padding: 10px;
        padding-right: 70px;
        background: #eee;
        border: none;
        margin: 0 0 20px;
        position: relative
    }

        .single-post-box > .post-content blockquote h2 {
            font-size: 1.5rem;
            margin: 0.5rem;
            padding: 0;
        }

        .single-post-box > .post-content blockquote p {
            color: #222;
            font-size: 18px;
            font-style: italic;
            margin-bottom: 0;
            line-height: 24px
        }

        .single-post-box > .post-content blockquote:before {
            content: '\201C';
            position: absolute;
            top: 20px;
            right: 25px;
            font-size: 72px;
            color: #222;
            line-height: 70px;
            font-weight: 700
        }

    .single-post-box > .post-content > h2 {
        color: #333;
        font-size: 13px;
        font-weight: 700;
        line-height: 20px;
        margin: 0 0 10px;
        font-size: 18px;
        margin-bottom: 15px;
        line-height: 24px;
        padding: 0 20px
    }

.single-post-box.wide-version .share-post-box {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px
}

.contact-form-box #contact-form, .contact-form-box #comment-form {
    margin: 0
}

    .contact-form-box #contact-form label, .contact-form-box #comment-form label {
        display: block;
        color: #333;
        font-size: 13px;
        font-weight: 700;
        margin: 0 0 16px;
        cursor: pointer
    }

    .contact-form-box #contact-form input[type="text"], .contact-form-box #comment-form input[type="text"], .contact-form-box #contact-form textarea, .contact-form-box #comment-form textarea {
        display: block;
        width: 100%;
        padding: 10px 20px;
        background: #fafafa;
        color: #333;
        font-size: 13px;
        outline: none;
        border: 1px solid #e1e1e1;
        margin: 0 0 16px;
        transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out
    }

        .contact-form-box #contact-form input[type="text"]:focus, .contact-form-box #comment-form input[type="text"]:focus, .contact-form-box #contact-form textarea:focus, .contact-form-box #comment-form textarea:focus {
            border: 1px solid #f44336
        }

    .contact-form-box #contact-form textarea, .contact-form-box #comment-form textarea {
        height: 130px
    }

    .contact-form-box #contact-form button, .contact-form-box #comment-form button {
        color: #ccc;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        background: #222;
        padding: 8px 10px;
        border: none;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -o-border-radius: 4px;
        border-radius: 4px;
        transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out
    }

        .contact-form-box #contact-form button i, .contact-form-box #comment-form button i {
            margin-right: 7px
        }

        .contact-form-box #contact-form button:hover, .contact-form-box #comment-form button:hover {
            background: #f44336;
            color: #fff
        }

.contact-form-box .title-section span.email-not-published {
    float: left;
    padding-left: 0;
    border: none;
    color: #999;
    font-size: 13px;
    text-transform: initial;
    font-weight: 400
}

ul.post-tags {
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
}

    ul.post-tags li {
        display: inline-block;
        margin-right: 7px;
        color: #999;
        font-size: 12px;
        font-style: italic;
        transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out
    }

        ul.post-tags li i {
            color: #ccc;
            margin-left: 9px;
        }

        ul.post-tags li a {
            display: inline-block;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
            -moz-transition: all 0.2s ease-in-out;
            -webkit-transition: all 0.2s ease-in-out;
            -o-transition: all 0.2s ease-in-out;
            color: #999
        }

            ul.post-tags li a:hover {
                color: #f44336
            }

        ul.post-tags li:last-child {
            margin-right: 0
        }

.title-section {
    border-bottom: 1px solid #e1e1e1;
    margin: 30px 0
}

    .title-section h1 {
        color: #222;
        font-size: 15px;
        font-weight: 700;
        margin: 0 0 30px;
        text-transform: uppercase;
        margin-bottom: -1px
    }

        .title-section h1 span {
            display: inline-block;
            padding-bottom: 16px;
            padding-right: 5px;
            border-bottom: 1px solid #f44336
        }

.block-content .owl-carousel .item {
    margin: 0 5px 10px
}

.block-content {
    padding: 30px 0 60px;
    position: relative;
    font-family: iransans
}

.card.list-item-news.cardview2 {
    direction: rtl;
    font-family: 'IRANSans';
    width: 100% !important;
    height: 200px;
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 7%);
}

    .card.list-item-news.cardview2 .card-title {
        font-family: 'IRANSans';
        font-size: 19px;
        line-height: 25px;
        width: 100%;
    }

        .card.list-item-news.cardview2 .card-title a {
            color: #000 !important;
        }

    .card.list-item-news.cardview2 .card-text.truncateinside {
        width: 100%;
        font-size: 15px;
    }

    .card.list-item-news.cardview2 ul.news-date {
        list-style: none;
        width: 100%;
    }

    .card.list-item-news.cardview2 .btn.btn-outline-info {
        border-color: #ec0e21;
        color: #ec0e21;
    }

        .card.list-item-news.cardview2 .btn.btn-outline-info:hover {
            background: #ec0e21;
            color: white;
        }

.card-title {
    margin: 15px auto;
}

.btn-outline-info {
    color: #ec0e21;
    border-color: #ec0e21;
}

    .btn-outline-info:hover {
        color: #fff;
        background-color: #ec0e21;
        border-color: #ec0e21;
    }

    .btn-outline-info:not(:disabled):not(.disabled).active, .btn-outline-info:not(:disabled):not(.disabled):active, .show > .btn-outline-info.dropdown-toggle {
        color: #fff !important;
        background-color: #ec0e21;
        border-color: #ec0e21;
    }

    .btn-outline-info.focus, .btn-outline-info:focus {
        box-shadow: 0 0 0 0.2rem #ec0e218a;
    }

.vertical-carousel-news-content .slick-list {
    /* height: 250px !important; */
    height: 100% !important;
}

    .vertical-carousel-news-content .slick-list img {
        height: 100%;
        object-fit: cover;
        padding: 15px;
        margin-right: 15px;
    }

    .vertical-carousel-news-content .slick-list .card-body {
        padding-right: 30px;
    }

.vertical-carousel-text-news-content {
    width: 100%;
    height: 100px;
    background: #fff;
    margin: 30px auto;
    padding: 40px;
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 7%);
    border-radius: 0.25rem;
}

.row.insidepaging {
    display: block;
}

li.slick-slide {
    width: 100% !important;
}

@media only screen and (max-width:767px) {
    .vertical-carousel-news-content .slick-list {
        height: 550px !important;
    }

    .vertical-carousel-news-content .card.list-item-news.cardview2 {
        height: 500px;
    }

    .vertical-carousel-news-content .slick-list img {
        width: 80% !important;
        object-fit: cover;
        padding: 40px 0 10px 0;
        margin-right: 0;
    }

    .vertical-carousel-news-content .slick-list .card-body {
        text-align: center !important;
    }

    .vertical-carousel-news-content .card.list-item-news.cardview2 .btn.btn-outline-info {
        margin: 0 auto;
    }
}

@media only screen and (max-width:576px) {
    .vertical-carousel-news-content .slick-list {
        width: 90% !important;
        height: 500px !important;
        margin: 0 auto;
    }

    .vertical-carousel-news-content .card.list-item-news.cardview2 {
        height: 450px;
    }

    .single-post-box .share-post-box ul.share-box li a {
        margin: 2px;
    }

    .single-post-box img {
        height: 550px !important;
        object-fit: cover;
    }

    .single-post-box .share-post-box ul.share-box li a i {
        font-size: 1rem;
        height: 30px;
        line-height: 30px;
        width: 30px;
    }

    .single-post-box .share-post-box ul.share-box li:first-child {
        padding-top: 5px;
        font-size: 0.7rem;
    }

    .single-post-box .share-post-box ul.share-box li i.fa.fa-share-alt {
        font-size: 15px;
        margin-right: 7px;
        padding-top: 5px;
    }
}


@media only screen and (max-width:415px) {
    .vertical-carousel-news-content .slick-list {
        width: 80% !important;
        height: 460px !important;
        margin: 0 auto;
    }

    .vertical-carousel-news-content .card.list-item-news.cardview2 {
        height: 410px;
    }
}
/*End of news*/

/* Start of fetures*/
.service-section .icon-box {
    margin-bottom: 30px;
    padding: 30px;
    position: relative;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 29px 0 rgb(68 88 144 / 10%);
    transition: all 0.3s ease-in-out;
}

    .service-section .icon-box:hover {
        animation: 1.5s ease 0s 1 normal none running rotate;
    }

@keyframes rotate {

    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(0.5deg);
    }

    100% {
        transform: rotate(-0.5deg);
    }
}

.service-section .icon-box:hover .service-title a {
    color: #ec0e21;
}

.service-section .icon-box .service-icon {
    float: left;
    color: #41A1FD;
    font-size: 40px;
}

.service-section .icon-box .service-title {
    margin-left: 70px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.2;
}

    .service-section .icon-box .service-title a {
        color: #556270;
        transition: 0.3s;
        text-decoration: none;
    }

.service-section .icon-box .service-para {
    margin-left: 70px;
    line-height: 24px;
    font-size: 14px;
}

.service-section .service-main-heading {
    color: #556270;
    padding: 0;
    margin-bottom: 20px;
    line-height: 1;
    font-size: 60px;
    font-weight: 600;
}
/* End of fetures*/

/* Start of Services*/
section {
    /* overflow: hidden; */
    margin: 50px 0;
}

.section-bg {
    background: #f5f8fd;
}

.section-header h3 {
    font-size: 36px;
    color: #413e66;
    text-align: center;
    font-weight: 700;
    position: relative;
    /* font-family: "Montserrat", sans-serif; */
}

.section-header p {
    text-align: center;
    margin: auto;
    font-size: 15px;
    padding-bottom: 60px;
    color: #535074;
    width: 50%;
}

@media (max-width: 767px) {
    .section-header p {
        width: 100%;
    }
}

#services {
    padding: 60px 0 40px 0;
}

    #services .box {
        padding: 30px;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        margin: 0 10px 40px 10px;
        background: #fff;
        box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
        transition: all 0.3s ease-in-out;
        text-align: center;
    }

        #services .box:hover {
            transform: scale(1.1);
        }

    #services .icon {
        margin: 0 auto 15px auto;
        padding-top: 12px;
        display: inline-block;
        text-align: center;
        border-radius: 50%;
        width: 60px;
        height: 60px;
    }

        #services .icon .service-icon {
            font-size: 36px;
            line-height: 1;
        }

    #services .title {
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 18px;
    }

        #services .title a {
            color: #111;
        }

    #services .box:hover .title a {
        color: #ec0e21;
    }

        #services .box:hover .title a:hover {
            text-decoration: none;
        }

    #services .description {
        font-size: 14px;
        line-height: 28px;
        margin-bottom: 0;
        text-align: center;
    }

.service-icon {
    color: #ec0e21 !important;
}

.icon {
    background: #000;
}

img.w-100.shadow-1-strong.rounded.mb-4 {
    transition: .4s;
}

    img.w-100.shadow-1-strong.rounded.mb-4:hover {
        opacity: .6;
    }
/* End of Services*/

/* Start of Customer */
.carousel_se_03_carousel {
    direction: ltr;
}

.round_icon_img img {
    width: 140px;
    height: 200px;
    object-fit: contain;
}
/* End of Customer */

/* Start of Education */
.row.alllearningcenterpaging {
    margin: 0;
}

    .row.alllearningcenterpaging .row {
        width: 100%;
        margin: 15px 0;
    }

    .row.alllearningcenterpaging .box-image img {
        height: 220px;
        width: 100%;
        object-fit: cover;
    }

.image-back {
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
}

.title-group {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.col-education img {
    width: 25px;
    margin-left: 20px;
}

span.count-education {
    background: #ff9f43;
    border-radius: 40px;
    padding: 6px 20px;
    color: #fff;
    margin-top: 3px;
    position: absolute;
    left: 20px;
}

.col-education a {
    transition: .4s;
    float: right;
}

    .col-education a:hover {
        color: #ce0000;
    }

.col-12.col-education {
    margin-bottom: 30px;
}

.list-step {
    list-style: none;
}

    .list-step li {
        display: inline-block;
        padding-right: 10px;
        font-size: 14px;
    }

        .list-step li::after {
            content: '\f100';
            position: absolute;
            color: #ccc;
            font-family: 'FontAwesome';
            margin-right: 3px;
        }

        .list-step li:last-child::after {
            content: none;
        }

.col-category {
    background: #f6f6f6;
    width: 250px;
}

ul.list-category li::before {
    content: '\f100';
    font-family: 'FontAwesome';
    color: #dcdde0;
    padding-left: 5px;
}

ul.list-category {
    padding-right: 15px;
    /* border-bottom: 1px solid #dedbdb; */
}

    ul.list-category li {
        line-height: 35px;
        font-size: 14px;
    }

        ul.list-category li a:hover {
            color: #ce0000;
        }

h4.title-category {
    color: #000;
    padding: 15px;
}

.box-education {
    transition: .4s;
    margin-bottom: 30px;
    background: white;
    transition: .4s;
}

    .box-education:hover {
        box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
    }

    .box-education:hover {
        border-color: #ce0000;
        cursor: pointer;
    }

h2.title-box-education {
    font-size: 18px;
    color: #000;
    padding-top: 10px;
    margin-bottom: 15px;
}

.box-education p {
    line-height: 40px;
    text-align: justify;
}

a.btn.btn-education {
    /* float: left; */
    background: #ce0000;
    color: white;
    padding: 10px 60px;
    transition: .4s;
    position: relative;
    border-radius: 0;
}

    a.btn.btn-education:hover {
        background: #b90505;
    }

    a.btn.btn-education::before {
        content: '\f053';
        font-family: 'FontAwesome';
        position: absolute;
        left: 30px;
    }

.box-education img {
    height: 100%;
    object-fit: cover;
}

.button-education {
    display: flex;
    direction: ltr;
    float: left;
    flex-direction: row;
}

.date-education {
    padding-top: 13px;
    border-bottom: 4px solid #ce0000;
    padding-right: 20px;
    color: #888;
}

.fa-clock-o:before {
    content: "\f017";
    font-family: 'FontAwesome';
}

.col-edu {
    background: #f6f6f6;
}

button.button-2.btn-more-2 {
    width: 100%;
    height: 43px;
    background: #fff;
    border: none;
    color: #ce0000;
    transition: .4s;
}

    button.button-2.btn-more-2:hover {
        background: #ce0000;
        color: #fff;
    }

p.text-edu-2 {
    color: #666;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
}

h2.title-detail {
    padding: 20px 0;
    font-size: 23px;
}

p.text-detail {
    color: #7c8088;
    line-height: 40px;
    text-align: justify;
    padding-top: 20px;
}

.kb-rate-article {
    display: flex;
    padding: 15px 30px;
    margin-top: 15px;
    margin-bottom: 35px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
}

    .kb-rate-article .row {
        /* display: block; */
        width: 100%;
    }

    .kb-rate-article h6 {
        font-weight: 500;
    }

        .kb-rate-article h6 span {
            display: block;
            font-weight: 200;
            font-size: 11px;
            margin-top: 6px;
            color: #87979f;
        }

            .kb-rate-article h6 span i {
                color: #F44336;
            }

    .kb-rate-article .btn {
        margin: 11px 0;
        display: inline-block;
        font-weight: 500;
        border-radius: 20px;
        text-decoration: none !important;
        overflow: hidden;
        -webkit-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
        position: relative;
        padding: 5px 35px;
        background: #fff;
    }

        .kb-rate-article .btn i {
            margin-right: 5px;
        }

        .kb-rate-article .btn.btn-yes {
            color: #8BC34A;
            border: 2px solid #8BC34A;
        }

            .kb-rate-article .btn.btn-yes:hover {
                color: #fff;
                border: 2px solid #8BC34A;
                background: #8BC34A;
            }

        .kb-rate-article .btn.btn-no {
            color: #FF9800;
            border: 2px solid #FF9800;
        }

            .kb-rate-article .btn.btn-no:hover {
                color: #fff;
                border: 2px solid #FF9800;
                background: #FF9800;
            }

    .kb-rate-article .user-votted {
        display: block;
        font-weight: 200;
        font-size: 11px;
        color: #87979f;
        margin: 7px 0;
    }

.kb-also-read {
    padding: 15px 30px;
    margin-top: 15px;
    margin-bottom: 35px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
}

    .kb-also-read h3 {
        font-weight: 500;
        font-size: 14px;
        margin-bottom: 15px;
        margin-top: 10px;
    }

    .kb-also-read .kbarticles a {
        font-size: 11px;
        font-weight: 800;
        margin-top: 0;
        color: #111;
    }

    .kb-also-read .kbarticles p {
        margin: 0;
        color: #99a4a8;
        font-size: 11px;
        font-weight: 300;
        margin-top: 1px;
        margin-bottom: 15px;
    }

    .kb-also-read .kbarticles .admin-inline-edit {
        display: none;
    }

.col-education-detail {
    border: 1px solid #e6e8ec;
    border-radius: 10px;
}

    .col-education-detail .title-group {
        margin-bottom: 20px
    }

.far {
    font-family: 'FontAwesome';
}

container-homepage.latest-post {
    display: none;
}
/* End of Education */

/* Start of Form */

.form-wrap.form-builder {
    display: flex;
    flex-direction: column;
}

.frmb {
    margin: 0 auto !important;
}

.form-wrap.form-builder .frmb li {
    padding: 0.6rem;
}

.form-wrap.form-builder .frmb .form-field .form-group h1 {
    font-size: 26px;
    padding: 15px
}

.vertical-carousel-formgenerator-title p {
    font-size: 1.8rem;
    padding: 1rem 0;
}

.vertical-carousel-formgenerator-title img {
    width: 40px;
    margin-left: 15px !important;
}

.formbuilder-header h1 {
    font-size: 2rem;
}

.rgbtn {
    margin-top: 20px;
    background: #da1d25;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 3px;
    border: 1px solid #da1d25;
    padding: 13px 55px;
    transition: 0.4s
}

    .rgbtn:hover {
        background-color: transparent;
        box-shadow: inset 0 0 0 0.1rem #da1d25;
        -webkit-box-shadow: inset 0 0 0 0.1rem #da1d25;
        -ms-box-shadow: inset 0 0 0 0.1rem #da1d25;
        -o-box-shadow: inset 0 0 0 0.1rem #da1d25;
        color: #da1d25;
    }

.secondreg {
    background: #fff;
    box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
    padding: 30px;
    width: 60%;
    margin: 50px auto 25px auto;
}

    .secondreg label {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 15px
    }

    .secondreg input {
        padding: 10px 60px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 3px;
    }

    .secondreg .rtnbtn {
        margin-top: 15px;
        background: #da1d25;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        border-radius: 3px;
        border: 1px solid #da1d25
    }

/* -------- contact ------ */

.contact-col {
    padding: 15px;
    border-radius: 10px;
    margin: 15px auto;
    background: #fff;
    box-shadow: 0 10px 29px 0 rgb(68 88 144 / 10%);
    text-align: center;
    min-height: 270px;
}

.contact-icon {
    border: 2px solid #da1d25;
    border-radius: 50%;
    padding: 5px;
    margin: 15px auto 30px auto;
    width: 65px;
    height: 65px;
}

    .contact-icon .fa {
        font-size: 25px;
        color: #fff;
        width: 50px;
        height: 50px;
        line-height: 50px;
        text-align: center;
        border-radius: 50px;
        background: #da1d25;
    }

@media only screen and (max-width:991px) {
    .contact-col {
        min-height: 290px
    }
}

@media only screen and (max-width:768px) {
    .contact-col {
        padding: 30px 80px;
        min-height: 300px
    }
}

/* -------- about ------ */

.contact-img {
    position: relative;
    margin-bottom: 40px;
}

    .contact-img:before {
        content: "";
        border: 10px solid rgba(0, 0, 0, .05);
        display: block;
        transition: all .3s linear 0s;
        position: absolute;
        right: 30px;
        bottom: -30px;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

@media only screen and (max-width:767px) {
    .contact-img:before {
        right: -15px;
        bottom: -10px;
        width: 106%;
        height: 106%;
    }
}

/* End of Form */


/* Start of Map */

.locationmap .border-title p {
    font-size: 1.8rem;
    padding: 1rem 0;
}

.locationmap .border-title img {
    width: 40px;
    margin-left: 15px !important;
}

.single-post-box .post-content .container {
    width: 100% !important;
}
/* End of Map */



/*GalleryAdvanced ----- START -----*/
#gallery {
    padding-top: 40px;
}

@media screen and (min-width: 991px) {
    #gallery {
        padding: 60px 30px 0 30px;
    }
}

.img-wrapper {
    position: relative;
    margin-top: 15px;
}

    .img-wrapper img, .img-wrapper video {
        width: 100%;
        height: 278px;
        object-fit: cover;
    }

.col-lg-8.col-md-6.col-sm-6.col-12.image img {
    height: 570px !important;
    max-height: 570px !important;
}

.col-lg-4.col-md-6.col-sm-6.col-12.image .col-12.image {
    padding: 0;
}

.img-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

    .img-overlay i {
        color: #fff;
        font-size: 3em;
    }

#overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    #overlay img {
        margin: 0;
        width: 80%;
        height: auto;
        object-fit: contain;
        padding: 5%;
    }

@media screen and (min-width: 768px) {
    #overlay img {
        width: 60%;
    }
}

@media screen and (min-width:1200px) {
    #overlay img {
        width: 50%;
    }
}

@media(min-width:576px) and (max-width:991px) {
    .col-lg-8.col-md-6.col-sm-6.col-12.image img {
        height: 278px !important;
    }

    #image-gallery .col-lg-4.col-md-6.image:last-child {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

#nextButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
}

    #nextButton:hover {
        opacity: 0.7;
    }


@media screen and (min-width:768px) {
    #nextButton {
        font-size: 3em;
    }
}

#prevButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
}

    #prevButton:hover {
        opacity: 0.7;
    }

@media screen and (min-width:768px) {
    #prevButton {
        font-size: 3em;
    }
}

#exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    position: absolute;
    top: 15px;
    right: 15px;
}

    #exitButton:hover {
        opacity: 0.7;
    }

@media screen and (min-width:768px) {
    #exitButton {
        font-size: 3em;
    }
}

#gallery .rounded {
    width: 330px;
    height: 330px;
    border-radius: .25rem !important;
    margin-bottom: 30px;
    object-fit: cover;
}

.ekko-lightbox-nav-overlay {
    z-index: 1;
    position: absolute;
    top: 50%;
    width: 100%;
    height: 100%;
}

    .ekko-lightbox-nav-overlay a {
        transition: opacity .5s;
        color: #6b6a6a;
        font-size: 30px;
        z-index: 1;
        position: absolute;
    }

        .ekko-lightbox-nav-overlay a span {
            padding: 0 30px;
        }

        .ekko-lightbox-nav-overlay a > * {
            flex-grow: 1;
        }

        .ekko-lightbox-nav-overlay a:nth-child(1) {
            right: -30px;
        }

        .ekko-lightbox-nav-overlay a:nth-child(2) {
            left: 0;
        }

/*GalleryAdvanced ----- END -----*/

/*news-rahimi-test -----START-----*/
.vertical-carousel-news-content {
    margin: 20px 0;
}

    .vertical-carousel-news-content .slick-list {
        height: 100% !important;
    }

    .vertical-carousel-news-content .slick-track {
        height: 100% !important;
    }

    .vertical-carousel-news-content .card.list-item-news.cardview2 {
        height: 100%;
        /* background-color: #f0f0f0; */
    }

        .vertical-carousel-news-content .card.list-item-news.cardview2 .row.nv2-r1 {
            height: 100%;
            width: 100%;
        }

            .vertical-carousel-news-content .card.list-item-news.cardview2 .row.nv2-r1 .p-0.nv2-r2 {
                width: 25%;
            }

        .vertical-carousel-news-content .card.list-item-news.cardview2 .card-body {
            width: 75% !important;
            padding: 25px 50px 30px 10px !important;
        }

        .vertical-carousel-news-content .card.list-item-news.cardview2 .row.nv2-r1 .p-0.nv2-r2 a {
            position: relative;
        }

    .vertical-carousel-news-content img {
        width: 100% !important;
        float: right;
        padding: 0 !important;
    }

    .vertical-carousel-news-content a.btn.btn-outline-info {
        border: none;
        position: relative;
        color: black !important;
    }

        .vertical-carousel-news-content a.btn.btn-outline-info:hover {
            background: none !important;
            color: red !important;
        }

        .vertical-carousel-news-content a.btn.btn-outline-info::before {
            content: "\f177";
            font-size: 30px;
            position: absolute;
            top: -2px;
            left: -29px;
            /* right: 0; */
            display: inline-block;
            transition: 0.4s;
            font-family: "FontAwesome";
        }

        .vertical-carousel-news-content a.btn.btn-outline-info:hover::before {
            transform: translateX(-10px);
        }

@media (max-width: 768px) {
    .vertical-carousel-news-content .card.list-item-news.cardview2 .row.nv2-r1 .p-0.nv2-r2 {
        width: 100%;
    }

    .vertical-carousel-news-content .slick-list img {
        width: 100% !important;
    }

    .vertical-carousel-news-content .card.list-item-news.cardview2 .row.nv2-r1 {
        padding: 0;
        margin: 0;
    }

    .vertical-carousel-news-content .card.list-item-news.cardview2 .card-body {
        padding-right: 10px !important;
    }
}


/*news-rahimi-test -----END-----*/

/* gallary changed by rahimi start */

#gallery .row.insidepaging {
    display: block;
    margin-top: 20px;
}

#nextButton .fa-chevron-right::before {
    content: "\f053";
    margin-right: 20px;
}

#prevButton .fa-chevron-left::before {
    margin-left: 20px;
    content: "\f054";
}
/* gallary changed by rahimi end */


/*locationmap- view3 - mapbox -----START-----*/



* {
    box-sizing: border-box;
}

.sidebar {
    position: absolute;
    width: 33.3333%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.25);
}

.pad2 {
    padding: 20px;
}

h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 400;
    line-height: 20px;
    padding: 20px 2px;
}

a {
    color: #404040;
    text-decoration: none;
}

    a:hover {
        color: #101010;
    }

.heading {
    background: #fff;
    border-bottom: 1px solid #eee;
    min-height: 60px;
    line-height: 60px;
    padding: 0 10px;
    background-color: #00853e;
    color: #fff;
}

.listings {
    height: 100%;
    overflow: auto;
    padding-bottom: 60px;
}

    .listings .item {
        border-bottom: 1px solid #eee;
        padding: 10px;
        text-decoration: none;
    }

        .listings .item:last-child {
            border-bottom: none;
        }

        .listings .item .title {
            display: block;
            color: #00853e;
            font-weight: 700;
        }

            .listings .item .title small {
                font-weight: 400;
            }

            .listings .item.active .title,
            .listings .item .title:hover {
                color: #8cc63f;
            }

        .listings .item.active {
            background-color: #f8f8f8;
        }

/*::-webkit-scrollbar {
        width: 3px;
        height: 3px;
        border-left: 0;
        background: rgba(0, 0, 0, 0.1);
    }

    ::-webkit-scrollbar-track {
        background: none;
    }

    ::-webkit-scrollbar-thumb {
        background: #00853e;
        border-radius: 0;
    }*/

.marker {
    border: none;
    cursor: pointer;
    height: 56px;
    width: 56px;
    background-image: url(marker.png);
}

/* Marker tweaks */
.mapboxgl-popup {
    padding-bottom: 50px;
}

.mapboxgl-popup-close-button {
    display: none;
}

.mapboxgl-popup-content {
    font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', sans-serif;
    padding: 0;
    width: 180px;
}

    .mapboxgl-popup-content h1 {
        background: #91c949;
        color: #fff;
        margin: -15px 0 0;
        padding: 10px;
        border-radius: 3px 3px 0 0;
        font-weight: 700;
    }

    .mapboxgl-popup-content h4 {
        margin: 0;
        padding: 10px;
        font-weight: 400;
    }

    .mapboxgl-popup-content div {
        padding: 10px;
    }

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
    margin-top: 15px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
    border-bottom-color: #91c949;
}

.mapboxgl-ctrl-geocoder {
    border-radius: 0;
    position: relative;
    top: 0;
    width: 800px;
    margin-top: 0;
    border: 0;
}

    .mapboxgl-ctrl-geocoder > div {
        min-width: 100%;
        margin-left: 0;
    }
/*////az inja*/

#menu-map {
    position: absolute;
    bottom: 5px;
    left: 400px;
    font-family: IranSansWeb;
}

.menu-map {
    width: 70px;
    padding-left: 3px;
    padding-right: 3px;
}

.menu-map-bottom {
    position: absolute;
    bottom: 8px;
    right: 15px;
}

.menu-map-container {
    position: relative;
    text-align: center;
    color: #000;
    font-family: IranSansWeb;
    cursor: pointer;
    width: 70px;
    padding-left: 3px;
    padding-right: 3px;
}

.menu-map-img {
    border-style: inset;
    border-color: black;
}
/* HIDE RADIO
[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
     */

.mapboxcontainer {
    min-height: 900px;
}

.mapboxgl-marker {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid gray;
    background-color: lightblue;
}

.i-loc-map {
    color: red;
}
/*locationmap- view3 - mapbox -----END-----*/

/*new-view4*/
.box-contant-show {
    border: 1px solid #eee;
    background-color: #fff;
}

    .box-contant-show .header-info {
        position: relative;
    }

        .box-contant-show .header-info::before {
            content: '';
            background-image: linear-gradient(to bottom, #ffffff00, #000000b3);
            width: 100%;
            height: 100%;
            display: flex;
            z-index: 2;
            position: absolute;
        }

        .box-contant-show .header-info img {
            width: 100%;
            height: 350px;
            object-fit: cover;
        }

        .box-contant-show .header-info .titr {
            position: absolute;
            bottom: 7%;
            color: white;
            width: 100%;
            text-align: center;
            display: block;
            font-size: 20px;
            z-index: 3;
        }

    .box-contant-show .body-info {
        padding: 50px 25px;
        min-height: 155px;
        text-align: right;
    }

.footer-info {
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    padding: 25px;
}

    .footer-info .date-view {
        display: flex;
    }

    .footer-info .date {
        padding-left: 20px;
        border-left: 1px solid #eee;
        position: relative;
    }

.footer-infov .day {
    display: block;
    position: absolute;
    top: -5px;
    right: -10px;
    bottom: 0;
    left: 0;
    z-index: 1;
    font-size: 40px;
    line-height: 40px;
    font-weight: bold;
    color: #ddd;
}

.footer-info .month {
    z-index: 2;
    position: relative;
    font-size: 12px;
}

.footer-info .view {
    padding-right: 25px;
}

    .footer-info .view .fas.fa-comment {
        display: flex;
        color: #888;
    }

    .footer-info .view .label {
        font-family: 'IRANSans';
        font-size: 12px;
    }

    .footer-info .view .counter {
        font-family: 'IRANSans';
        padding-right: 10px;
    }

.read-more .fas.fa-arrow-left {
    display: flex;
    flex-direction: row-reverse;
    color: #888;
    font-size: 14px;
}

.read-more a {
    font-family: 'IRANSans';
    font-size: 14px;
    padding-left: 10px;
}

/* .box-contant-prev */
.box-contant-prev {
    border: 1px solid #eee;
    background-color: #fff;
}

    .box-contant-prev .item {
        padding: 20px 20px 0 20px;
        border-bottom: 1px solid #eee;
    }

        .box-contant-prev .item img {
            width: 100%;
            height: 130px;
            object-fit: cover;
        }

    .box-contant-prev .footer-info {
        padding: 0px 10px 25px 0px;
        border: none;
    }

    .box-contant-prev .box-info .titr {
        font-weight: 500;
        font-size: 20px;
        padding-bottom: 10px;
        display: block;
        transition: 0.4s;
    }

        .box-contant-prev .box-info .titr:hover {
            color: #888888;
        }

    .box-contant-prev .observe {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 25px 0;
        transition: 0.4s;
    }

        .box-contant-prev .observe:hover {
            color: #888888;
        }

        .box-contant-prev .observe .fas.fa-arrow-left {
            display: flex;
            flex-direction: row-reverse;
            font-size: 16px;
        }

        .box-contant-prev .observe a {
            font-family: 'IRANSans';
            font-size: 16px;
            padding-left: 10px;
        }




.box-contant-show {
    height: 100%;
}

.box-contant-prev {
    /* height: 100%; */
}

.box-info {
    text-align: right;
}

/* responsive */
@media (max-width: 992px) {

    .box-contant-prev .item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        margin-bottom: 20px;
    }
}


/* Offer */

.Offer {
    border: 1px solid #eee;
    margin: 40px 0;
    border-radius: 5px;
}

.image-offer {
    width: 100%;
    height: 100%;
}

    .image-offer img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0px 5px 5px 0;
    }

.offer-card {
    padding: 20px;
    padding-right: 0;
    position: relative;
    overflow: hidden;
}

.offer-status {
    position: absolute;
    left: -70px;
    background-color: green;
    padding: 10px 100px;
    transform: rotate(-35deg);
}

    .offer-status p {
        font-size: 20px;
        font-weight: 500;
        margin: 0;
        color: white;
    }

.offer-card .offer-explain strong {
    color: var(--second_color);
}

.offer-card .offer-explain h2 {
    color: var(--first_color);
    font-size: 25px;
    font-weight: 500;
    padding: 15px 0;
    text-shadow: 0 0 1px var(--first_color);
}

.offer-card .offer-explain p {
    line-height: 1.5;
    min-height: 50px;
}

.offer-card .offer-date .strat-date,
.offer-card .offer-date .finish-date {
    display: flex;
}

.offer-card .strat-date .item,
.offer-card .finish-date .item {
    display: flex;
    text-align: center;
    padding: 5px 0px 5px 100px;
    align-items: center;
}

.offer-card .date-box {
    display: flex;
    flex-direction: column;
}

.offer-card .fa {
    color: var(--second_color);
    padding-left: 15px;
    font-size: 25px;
}

.offer-download {
    margin-top: 20px;
    display: flex;
}

    .offer-download .fa {
        color: green;
    }

/* odd */

.odd .offer-card {
    padding: 20px 40px 20px 0;
}

.odd .image-offer {
    position: relative;
    overflow: hidden;
}

.odd .offer-status {
    top: 20px;
}

.odd .image-offer img {
    border-radius: 5px 0 0 5px;
}

:root {
    /* brand */
    --first-color: 5, 150, 105;      /* emerald */
    --first-light: 16, 185, 129;
    --second-color: 212, 175, 55;    /* gold */
    --navy: 15, 23, 42;

    /* theme (light) */
    --white-custome: 255, 255, 255;
    --black-custome: 15, 23, 42;
    --gray-custome: 71, 85, 105;
    --surface: 248, 250, 252;
    --border: 226, 232, 240;

    --radius-custome: 20px;
    --hero-curve: 50px;
    --shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
    --shadow-md: 0 18px 40px -12px rgba(15, 23, 42, .18);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

html.dark {
    --white-custome: 15, 23, 42;
    --black-custome: 241, 245, 249;
    --gray-custome: 148, 163, 184;
    --surface: 21, 31, 52;
    --border: 40, 53, 78;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, .25);
    --shadow-md: 0 18px 40px -12px rgba(0, 0, 0, .5);
}

/* ---------- base ---------- */

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: IRANSans, Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    background-color: rgb(var(--white-custome));
    color: rgb(var(--black-custome));
    font-size: 16px;
    transition: background-color .3s, color .3s;
}

img {
    max-width: 100%;
}

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

p {
    line-height: 1.9;
    color: rgb(var(--gray-custome));
    font-size: clamp(.95rem, .95vw, 1.05rem);
}

ul {
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5 {
    font-weight: bold;
    color: rgb(var(--black-custome));
}

h2 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); }
h3 { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }

section {
    margin: 0;
}

.Homepage {
    padding: 100px 0;
}

@media (min-width: 1400px) {
    .container { max-width: 1280px; }
}

::selection {
    background: rgba(var(--second-color), .35);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: rgb(var(--surface)); }
::-webkit-scrollbar-thumb { background: rgb(var(--first-color)); border-radius: 10px; }

:focus-visible {
    outline: 3px solid rgba(var(--second-color), .8);
    outline-offset: 3px;
}

/* ---------- shared UI ---------- */

/* Icons: Bootstrap Icons ships with `vertical-align: -.125em`, which pushes every
   glyph off-centre inside the square icon boxes. Make each icon a 1em box and
   centre the glyph in it, so grid/flex containers centre it exactly. */
.bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
    flex-shrink: 0;
}

.bi::before {
    display: block;
    line-height: 1;
    vertical-align: 0;
}

/* Placeholder that source.js replaces with generated elements (canvas, bars...) */
.Mount {
    margin: 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
}

.Eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 500;
    color: rgb(var(--first-color));
    background: rgba(var(--first-color), .1);
    border: 1px solid rgba(var(--first-color), .2);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.Eyebrow-light {
    color: rgb(var(--second-color));
    background: rgba(var(--second-color), .1);
    border-color: rgba(var(--second-color), .3);
}

.Titr {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 16px;
}

.Titr::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgb(var(--second-color)), rgb(var(--first-color)));
}

.text-center .Titr::after {
    right: 50%;
    transform: translateX(50%);
}

.Titr-light { color: #fff; }

.Section-head {
    max-width: 640px;
    margin: 0 auto 56px;
}

.Section-head p {
    text-align: center;
    margin: 0;
}

.Btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-size: 1rem;
    padding: 13px 28px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
}

.Btn:hover { transform: translateY(-2px); }
.Btn i { transition: transform .3s var(--ease); }
.Btn:hover .bi-arrow-left { transform: translateX(-4px); }

.Btn-sm { padding: 9px 20px; font-size: .95rem; }

.Btn-gold {
    color: rgb(var(--navy)) !important;
    background: linear-gradient(135deg, #F3D77A, rgb(var(--second-color)));
    box-shadow: 0 10px 24px -10px rgba(var(--second-color), .8);
}

.Btn-gold:hover { box-shadow: 0 16px 30px -10px rgba(var(--second-color), .9); }

.Btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
    box-shadow: 0 10px 24px -10px rgba(var(--first-color), .8);
}

.Btn-ghost {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
}

.Btn-ghost:hover { background: rgba(255, 255, 255, .14); }

/* ---------- navbar ---------- */

.Navbar-class {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: padding .3s, background-color .3s, box-shadow .3s;
}

.Navbar-class.scrolled {
    padding: 10px 0;
    background: rgba(var(--navy), .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.brand img { flex-shrink: 0; }

.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand strong { font-size: 1.3rem; font-weight: 900; color: #fff; }
.brand small { font-size: .75rem; color: rgba(255, 255, 255, .65); }

.navbar .nav-link {
    position: relative;
    color: rgba(255, 255, 255, .8) !important;
    font-size: .95rem;
    font-weight: 500;
    padding: 8px 12px !important;
    transition: color .3s;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 12px;
    left: 12px;
    height: 2px;
    border-radius: 2px;
    background: rgb(var(--second-color));
    transform: scaleX(0);
    transition: transform .3s var(--ease);
}

.navbar .nav-link:hover,
.navbar .active .nav-link { color: #fff !important; }

.navbar .nav-link:hover::after,
.navbar .active .nav-link::after { transform: scaleX(1); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color .3s;
}

.theme-toggle:hover { background: rgba(255, 255, 255, .15); }
.theme-toggle .bi-sun { display: none; color: rgb(var(--second-color)); }
html.dark .theme-toggle .bi-sun { display: inline-flex; }
html.dark .theme-toggle .bi-moon-stars { display: none; }

/* hamburger (icon toggles between bi-list and bi-x-lg in source.js) */
.first-button {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
    box-shadow: none !important;
    color: #fff;
    font-size: 1.6rem;
}

@media (max-width: 991px) {
    .Navbar-class { background: rgba(var(--navy), .92); backdrop-filter: blur(14px); padding: 10px 0; }
    .navbar-collapse { padding: 14px 0 6px; }
    .navbar .nav-link::after { display: none; }
    .nav-actions { padding: 10px 12px 4px; }
}

/* ---------- hero ---------- */

.Hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 calc(var(--cd-half, 90px) + var(--hero-curve) + 60px);
    color: #fff;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(var(--first-light), .28), transparent 60%),
        radial-gradient(700px 450px at 5% 90%, rgba(var(--second-color), .16), transparent 60%),
        linear-gradient(160deg, #0B1222 0%, rgb(var(--navy)) 45%, #052E25 100%);
}

/* bottom curve */
.Hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    left: 0;
    height: var(--hero-curve);
    background: rgb(var(--white-custome));
    clip-path: ellipse(75% 100% at 50% 100%);
    transition: background-color .3s;
}


.Hero .Eyebrow {
    color: rgb(var(--second-color));
    background: rgba(var(--second-color), .1);
    border-color: rgba(var(--second-color), .3);
}

.Hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.15;
}

.Hero h1 span {
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.Hero-lead {
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    max-width: 560px;
    margin-bottom: 34px;
}

.Hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.Hero-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0;
}

.Hero-stats li {
    flex: 1 1 130px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(6px);
}

.Hero-stats strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: rgb(var(--second-color));
}

.Hero-stats span { font-size: .85rem; color: rgba(255, 255, 255, .7); }

.Hero-art {
    text-align: center;
    margin-bottom: 30px;
}

.Hero-art img {
    width: min(100%, 520px);
    animation: float 7s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@media (max-width: 991px) {
    .Hero { padding: 110px 0 calc(var(--cd-half, 90px) + var(--hero-curve) + 40px); text-align: center; }
    .Hero-lead { margin-inline: auto; }
    .Hero-actions { justify-content: center; }
    .Hero-slides { width: min(85%, 380px); }
}

/* ---------- countdown (half over the hero, half below it) ---------- */

/* --cd-half = half of the card's height; measured in source.js, with a fallback */
.Countdown {
    position: relative;
    z-index: 2;
    /* also shift up by the hero curve height so the card is split by the visible edge */
    margin-top: calc((var(--cd-half, 90px) + var(--hero-curve)) * -1);
}

.Countdown-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 26px;
    padding: 30px 36px;
    border-radius: 26px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .35);
}

.Countdown-text {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: right;
}

.Countdown-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    font-size: 1.7rem;
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
    box-shadow: 0 12px 24px -10px rgba(var(--second-color), .9);
}

.Countdown-text h2 {
    font-size: clamp(1.15rem, 1.6vw, 1.5rem);
    margin-bottom: 4px;
}

.Countdown-text p {
    margin-bottom: 6px;
    font-size: .95rem;
}

.Countdown-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
    font-weight: 500;
    color: rgb(var(--first-color));
}

.Countdown-timer {
    display: flex;
    gap: 12px;
}

.Countdown-timer div {
    width: 92px;
    padding: 14px 8px;
    text-align: center;
    border-radius: 18px;
    background: linear-gradient(160deg, rgb(var(--navy)), #064E3B);
    box-shadow: inset 0 0 0 1px rgba(var(--second-color), .25);
}

.Countdown-timer strong {
    display: block;
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
}

.Countdown-timer span { font-size: .8rem; color: rgb(var(--second-color)); }

@media (max-width: 991px) {
    .Countdown-card { justify-content: center; }
}

@media (max-width: 767px) {
    .Countdown-card { padding: 22px 16px; }
    .Countdown-text { flex-direction: column; text-align: center; gap: 12px; }
    .Countdown-timer { gap: 8px; width: 100%; }
    .Countdown-timer div { flex: 1; width: auto; padding: 12px 4px; }
    .Countdown-timer strong { font-size: 1.5rem; }
}

/* ---------- about ---------- */

.lead-text {
    font-size: clamp(1.05rem, 1.25vw, 1.2rem);
    color: rgb(var(--black-custome));
    font-weight: 500;
}

.ul-check { margin: 6px 0 30px; }

.ul-check li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: rgb(var(--surface));
    border: 1px solid rgb(var(--border));
    transition: transform .3s var(--ease), border-color .3s;
}

.ul-check li:hover {
    transform: translateX(-6px);
    border-color: rgba(var(--first-color), .4);
}

.ul-check li i {
    font-size: 1.3rem;
    color: rgb(var(--first-color));
}

.ul-check li p { margin: 0; color: rgb(var(--black-custome)); }

.border-image {
    position: relative;
    margin: 40px 0 0 30px;
}

.border-image::before {
    content: "";
    position: absolute;
    top: 26px;
    bottom: -26px;
    right: 26px;
    left: -26px;
    z-index: -1;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(var(--second-color), .9), rgba(var(--first-color), .9));
}

.border-image img {
    width: 100%;
    border-radius: 28px;
    transition: transform .5s var(--ease);
}

.border-image:hover img { transform: translate(-12px, 12px); }

.About { position: relative; z-index: 0; }

/* ---------- axes (orbit) ---------- */

.Axes {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(600px 400px at 75% 55%, rgba(var(--first-light), .22), transparent 65%),
        radial-gradient(500px 350px at 10% 10%, rgba(var(--second-color), .12), transparent 60%),
        linear-gradient(170deg, #0B1222 0%, rgb(var(--navy)) 50%, #04261E 100%);
}


.Axes .container { position: relative; }
.Axes .Section-head p { color: rgba(255, 255, 255, .7); }

/* orbit */
.Orbit {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1;
    margin: 10px auto 40px;
}

/* static spokes + inner ring come from an image */
.Orbit {
    background: url("../../../uploads/0a557f9c-f5cb-42eb-961a-049ccc963dea-orbit-grid.png") center / 100% 100% no-repeat;
}

/* rotating dashed outer ring */
.Orbit::after {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .18);
    animation: orbitSpin 60s linear infinite;
}

@keyframes orbitSpin {
    to { transform: rotate(360deg); }
}

/* gold beam from the core to the active axis; --angle is set in source.js */
.Orbit::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: calc(50% - 1px);
    bottom: 50%;
    width: 2px;
    height: 42%;
    transform-origin: 50% 100%;
    transform: rotate(var(--angle, 0deg));
    background: repeating-linear-gradient(to top, rgb(var(--second-color)) 0 8px, transparent 8px 14px);
    background-size: 100% 28px;
    animation: beam 1s linear infinite;
    transition: transform .6s var(--ease);
}

@keyframes beam {
    to { background-position: 0 -28px; }
}


.Orbit-core {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 50%;
    text-align: center;
    background: radial-gradient(circle at 30% 25%, #1E3A34, #0B1222 70%);
    border: 2px solid rgba(var(--second-color), .55);
    box-shadow:
        0 0 0 10px rgba(var(--first-light), .06),
        0 0 0 22px rgba(var(--first-light), .035),
        0 20px 60px -10px rgba(var(--first-light), .45);
}

.Orbit-core img { width: 32%; margin-bottom: 4px; }
.Orbit-core strong { font-size: clamp(1rem, 2.2vw, 1.35rem); font-weight: 900; color: #fff; line-height: 1.3; }
.Orbit-core span { font-size: clamp(.75rem, 1.3vw, .85rem); color: rgb(var(--second-color)); }

.Orbit-node {
    position: absolute;
    z-index: 2;
    width: 64px;
    height: 64px;
    padding: 0;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    font-size: 1.5rem;
    color: #A7F3D0;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(15, 23, 42, .85);
    backdrop-filter: blur(6px);
    transition: transform .4s var(--ease), background .4s, color .4s, border-color .4s, box-shadow .4s;
}

.Orbit-node:hover {
    transform: translate(-50%, -50%) scale(1.08);
    border-color: rgba(var(--second-color), .6);
    color: #fff;
}

.Orbit-node span {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
    color: rgba(255, 255, 255, .6);
    transition: color .4s;
}

.Orbit-node.is-active {
    transform: translate(-50%, -50%) scale(1.15);
    color: rgb(var(--navy));
    border-color: transparent;
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
    box-shadow: 0 0 0 6px rgba(var(--second-color), .18), 0 14px 30px -8px rgba(var(--second-color), .8);
}

.Orbit-node.is-active span { color: rgb(var(--second-color)); font-weight: bold; }

.Orbit-node.is-active::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 24px;
    border: 2px solid rgba(var(--second-color), .6);
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* detail panel */
.Axis-panel {
    position: relative;
    overflow: hidden;
    padding: 44px 44px 36px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
}

.Axis-panel::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(var(--second-color), .14);
    filter: blur(60px);
}

.Axis-panel-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 34px;
}

.Axis-panel-icon {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    font-size: 2.6rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)) 60%, #065F46);
    box-shadow: 0 20px 40px -14px rgba(var(--first-light), .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.Axis-panel-count {
    text-align: left;
    line-height: 1;
}

.Axis-panel-count strong {
    display: block;
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 900;
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.Axis-panel-count span {
    font-size: .85rem;
    color: rgba(255, 255, 255, .5);
}

.Axis-panel-body { position: relative; min-height: 150px; }

.Axis-panel-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: .9rem;
    font-weight: 500;
    color: rgb(var(--second-color));
}

.Axis-panel-body h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
}

.Axis-panel-body p {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: rgba(255, 255, 255, .75);
    margin: 0;
}

/* content swap animation */
.Axis-panel [data-axis] { transition: opacity .35s, transform .35s var(--ease); }
.Axis-panel.is-swapping [data-axis] { opacity: 0; transform: translateY(10px); }

.Axis-panel-foot {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.Axis-progress {
    flex: 1;
    height: 4px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, .1);
}

.Axis-progress span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: linear-gradient(270deg, rgb(var(--second-color)), rgb(var(--first-light)));
    margin-right: 0;
}

.Axis-panel-nav { display: flex; gap: 10px; }

.Axis-panel-nav button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.1rem;
    color: #fff;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .05);
    transition: background .3s, color .3s, border-color .3s;
}

.Axis-panel-nav button:hover {
    color: rgb(var(--navy));
    border-color: transparent;
    background: rgb(var(--second-color));
}

@media (max-width: 575px) {
    .Orbit-node { width: 48px; height: 48px; font-size: 1.15rem; border-radius: 15px; }
    .Orbit-node span { display: none; }
    .Axis-panel { padding: 30px 24px 26px; }
    .Axis-panel-icon { width: 72px; height: 72px; font-size: 2rem; border-radius: 22px; }
}

/* ---------- candidates ---------- */

.Candidates-card {
    position: relative;
    overflow: hidden;
    padding: 60px;
    border-radius: 32px;
    background:
        radial-gradient(600px 300px at 0% 100%, rgba(var(--second-color), .2), transparent 60%),
        linear-gradient(135deg, rgb(var(--navy)) 0%, #064E3B 100%);
}


.Candidates-card .row { position: relative; z-index: 1; }
.Candidates-card p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.Candidates-card .muted-light { color: rgba(255, 255, 255, .6); font-size: .95rem; margin-bottom: 28px; }

.Candidates-art {
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.Candidates-art img { width: 100%; max-width: 420px; }

.Candidates-badge {
    position: absolute;
    top: -6px;
    left: 8%;
    padding: 8px 18px;
    border-radius: 100px;
    font-weight: 500;
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
    box-shadow: 0 10px 20px -8px rgba(var(--second-color), .9);
}

.Candidates-badge strong { font-weight: 900; font-size: 1.2rem; }

@media (max-width: 767px) {
    .Candidates-card { padding: 36px 24px; }
}

/* ---------- manifesto ---------- */

.Manifesto-art {
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 30px;
    filter: drop-shadow(0 24px 30px rgba(15, 23, 42, .18));
}

.Manifesto-quote {
    position: relative;
    margin: 0;
    padding: 40px 44px;
    border-radius: 26px;
    background: rgb(var(--surface));
    border: 1px solid rgb(var(--border));
    border-right: 5px solid rgb(var(--second-color));
}

.Manifesto-quote .bi-quote {
    position: absolute;
    top: -26px;
    right: 30px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 1.8rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

.Manifesto-quote p {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 2.1;
    font-weight: 500;
    color: rgb(var(--black-custome));
    margin: 8px 0 16px;
}

.Manifesto-quote footer {
    padding: 0;
    background: none;
    font-weight: 500;
    color: rgb(var(--first-color));
}

/* ---------- how to vote ---------- */

.Vote { background: rgb(var(--surface)); }

.Steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.Steps::before {
    content: "";
    position: absolute;
    top: 38px;
    right: 12%;
    left: 12%;
    border-top: 2px dashed rgba(var(--first-color), .35);
}

.Step {
    position: relative;
    text-align: center;
    padding: 0 10px;
}

.Step-icon {
    position: relative;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    font-size: 1.8rem;
    color: rgb(var(--first-color));
    background: rgb(var(--white-custome));
    border: 2px solid rgba(var(--first-color), .3);
    box-shadow: 0 0 0 8px rgb(var(--surface));
    transition: background-color .3s, color .3s;
}

.Step:hover .Step-icon { background: rgb(var(--first-color)); color: #fff; }

.Step-icon span {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: .85rem;
    font-weight: 900;
    color: rgb(var(--navy));
    background: rgb(var(--second-color));
}

.Step h3 { margin-bottom: 10px; }
.Step p { text-align: center; font-size: .95rem; }
.Step a { color: rgb(var(--first-color)); font-weight: 500; }

@media (max-width: 991px) {
    .Steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .Steps::before { display: none; }
}

@media (max-width: 575px) {
    .Steps { grid-template-columns: 1fr; }
}

/* ---------- events & news ---------- */

.Empty-card {
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 44px 30px;
    text-align: center;
    border-radius: 24px;
    border: 2px dashed rgb(var(--border));
    background: rgb(var(--surface));
    transition: border-color .3s;
}

.Empty-card:hover { border-color: rgba(var(--first-color), .45); }

.Empty-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 22px;
    font-size: 2rem;
    color: rgb(var(--second-color));
    background: rgba(var(--second-color), .12);
}

.Empty-card p { text-align: center; }

.Empty-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: .9rem;
    color: rgb(var(--first-color));
    background: rgba(var(--first-color), .1);
}

/* ---------- contact / CTA ---------- */

.Contact {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 400px at 100% 0%, rgba(var(--first-light), .25), transparent 60%),
        linear-gradient(160deg, rgb(var(--navy)) 0%, #052E25 100%);
}


.Contact::after {
    content: "";
    position: absolute;
    bottom: -220px;
    left: 50%;
    width: 700px;
    height: 400px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(var(--second-color), .18);
    filter: blur(90px);
}

.Contact .container { position: relative; z-index: 1; }
.Contact .Section-head p { color: rgba(255, 255, 255, .75); }

.Action-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 34px 30px;
    border-radius: 24px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(8px);
    overflow: hidden;
    transition: transform .4s var(--ease), border-color .4s, background-color .4s;
}

.Action-card:hover {
    color: #fff;
    transform: translateY(-8px);
    border-color: rgba(var(--second-color), .5);
    background: rgba(255, 255, 255, .08);
}

.Action-card-featured {
    border-color: rgba(var(--second-color), .45);
    background: linear-gradient(160deg, rgba(var(--second-color), .16), rgba(255, 255, 255, .03));
}

.Action-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 18px;
    font-size: 1.5rem;
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
    box-shadow: 0 12px 24px -10px rgba(var(--second-color), .9);
    transition: transform .4s var(--ease);
}

.Action-card:hover .Action-icon { transform: rotate(-8deg) scale(1.06); }

.Action-card h3 { color: #fff; margin-bottom: 10px; }
.Action-card p { color: rgba(255, 255, 255, .65); font-size: .95rem; flex: 1; }

.Action-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: rgb(var(--second-color));
}

.Action-more i { transition: transform .3s var(--ease); }
.Action-card:hover .Action-more i { transform: translateX(-5px); }

/* ---------- scroll progress ---------- */

.Scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: right;
    background: linear-gradient(270deg, rgb(var(--second-color)), rgb(var(--first-light)));
}

/* ---------- hero slideshow ---------- */

.Hero-slides {
    position: relative;
    width: min(100%, 520px);
    margin: 0 auto;
    aspect-ratio: 520 / 480;
}

.Hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(.94) translateY(12px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    pointer-events: none;
}

.Hero-slide.is-active {
    opacity: 1;
    transform: none;
}

.Hero-slide img { width: 100%; }

.Hero-slide figcaption {
    position: absolute;
    bottom: 6%;
    right: 50%;
    transform: translateX(50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: .9rem;
    font-weight: 500;
    white-space: nowrap;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(8px);
}

.Hero-slide figcaption i { color: rgb(var(--second-color)); }

.Hero-dots {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 4px;
}

/* the button is a 32px tap area; the visible dot is drawn by ::before */
.Hero-dots button {
    min-width: 32px;
    height: 32px;
    padding: 0;
    display: grid;
    place-items: center;
    border: none;
    cursor: pointer;
    background: transparent;
}

.Hero-dots button::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .3);
    transition: width .4s var(--ease), background-color .4s;
}

.Hero-dots button:hover::before { background: rgba(255, 255, 255, .55); }

.Hero-dots button.is-active::before {
    width: 30px;
    background: rgb(var(--second-color));
}

.Hero-dots button.is-active { min-width: 42px; }

/* ---------- ticker ---------- */

.Ticker {
    overflow: hidden;
    margin-top: 60px;
    padding: 18px 0;
    border-block: 1px solid rgb(var(--border));
    background: rgb(var(--surface));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.Ticker-track {
    display: flex;
    width: max-content;
    gap: 48px;
    animation: ticker 40s linear infinite;
}

.Ticker:hover .Ticker-track { animation-play-state: paused; }

.Ticker span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: bold;
    white-space: nowrap;
    color: rgb(var(--black-custome));
}

.Ticker span i { color: rgb(var(--first-color)); }

.Ticker span::after {
    content: "\2726";   /* four-pointed star */
    margin-right: 38px;
    color: rgb(var(--second-color));
}

@keyframes ticker {
    to { transform: translateX(50%); }
}

/* ---------- countdown tick ---------- */

.Countdown-timer strong.tick { animation: tick .45s var(--ease); }

@keyframes tick {
    0% { transform: translateY(-6px); opacity: .3; }
    100% { transform: none; opacity: 1; }
}

/* ---------- footer ---------- */

body > footer {
    padding-top: 60px;
    background: #0B1222;
    color: rgba(255, 255, 255, .7);
}

.footer-box { padding-bottom: 30px; }
.footer-box p { color: rgba(255, 255, 255, .6); font-size: .95rem; margin-top: 18px; }

footer h5 {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #fff;
}

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

.footer-links a {
    font-size: .95rem;
    color: rgba(255, 255, 255, .65);
    transition: color .3s, padding .3s;
}

.footer-links a::before {
    content: "\F284";
    font-family: bootstrap-icons;
    font-size: .7rem;
    margin-left: 6px;
    color: rgb(var(--second-color));
}

.footer-links a:hover { color: rgb(var(--second-color)); padding-right: 4px; }

.copyright {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.copyright p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.copyright a { color: rgb(var(--second-color)); }

/* ---------- back to top ---------- */

.to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.2rem;
    color: rgb(var(--navy)) !important;
    background: rgb(var(--second-color));
    box-shadow: 0 10px 20px -8px rgba(var(--second-color), .9);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease);
}

.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   Inner pages
   ========================================================= */

.Section { padding: 100px 0; }

/* the menu has 8 items: tighten it on mid-size screens */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar .nav-link { padding: 8px 7px !important; font-size: .88rem; }
    .navbar .nav-link::after { right: 7px; left: 7px; }
    .brand small { display: none; }
}

.Btn-outline {
    color: rgb(var(--first-color)) !important;
    border-color: rgba(var(--first-color), .45);
    background: transparent;
}

.Btn-outline:hover { background: rgba(var(--first-color), .08); }

.Btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.Card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 10px 0;
    font-weight: 500;
    color: rgb(var(--first-color));
}

.Card-link:hover { color: rgb(var(--second-color)); }

/* ---------- page hero ---------- */

.Page-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 110px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(800px 400px at 85% 0%, rgba(var(--first-light), .28), transparent 60%),
        radial-gradient(600px 350px at 10% 100%, rgba(var(--second-color), .15), transparent 60%),
        linear-gradient(160deg, #0B1222 0%, rgb(var(--navy)) 50%, #052E25 100%);
}

.Page-hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    left: 0;
    height: var(--hero-curve);
    background: rgb(var(--white-custome));
    clip-path: ellipse(75% 100% at 50% 100%);
    transition: background-color .3s;
}

.Page-hero h1 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
}

.Page-hero p {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: rgba(255, 255, 255, .75);
}

.Page-hero .Eyebrow {
    color: rgb(var(--second-color));
    background: rgba(var(--second-color), .1);
    border-color: rgba(var(--second-color), .3);
}




@media (max-width: 991px) {
    .Page-hero { padding: 120px 0 90px; }
}

/* ---------- stats & value cards ---------- */

.Stats-band { background: rgb(var(--surface)); }

.Stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    padding: 34px 20px;
    border-radius: 24px;
    text-align: center;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
}

.Stat-card .bi {
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: rgb(var(--first-color));
}

.Stat-card strong {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.2;
    color: rgb(var(--second-color));
}

.Stat-card span { color: rgb(var(--gray-custome)); }

.Value-card {
    position: relative;
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 40px 30px;
    text-align: center;
    border-radius: 26px;
    overflow: hidden;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}

.Value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--second-color), .5);
}

.Value-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 24px;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
    box-shadow: 0 16px 30px -12px rgba(var(--first-color), .9);
}

.Value-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.Value-card p { margin: 0; text-align: center; }

.Value-num {
    position: absolute;
    top: 14px;
    left: 22px;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(var(--second-color), .2);
}

/* ---------- CTA band ---------- */

.Cta-band {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 40px 44px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(500px 250px at 0% 100%, rgba(var(--second-color), .22), transparent 60%),
        linear-gradient(135deg, rgb(var(--navy)), #064E3B);
}

.Cta-icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    font-size: 1.8rem;
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
}

.Cta-text { flex: 1; min-width: 220px; }
.Cta-text h2 { color: #fff; font-size: clamp(1.25rem, 2vw, 1.7rem); margin-bottom: 4px; }
.Cta-text p { margin: 0; color: rgba(255, 255, 255, .7); }

@media (max-width: 767px) {
    .Cta-band { padding: 30px 24px; text-align: center; justify-content: center; }
    .Cta-text p { text-align: center; }
}

/* ---------- empty page state ---------- */

.Empty-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
    border-radius: 28px;
    border: 2px dashed rgb(var(--border));
    background: rgb(var(--surface));
}

.Empty-page h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 10px; }
.Empty-page p { text-align: center; }

.Empty-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

/* ---------- candidates ---------- */









.Cand-card {
    position: relative;
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 30px 22px 26px;
    text-align: center;
    border-radius: 24px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}

.Cand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--second-color), .5);
}

.Cand-num {
    position: absolute;
    top: 14px;
    left: 16px;
    min-width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: bold;
    color: rgb(var(--first-color));
    background: rgba(var(--first-color), .1);
}

.Cand-photo {
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    font-size: 3.2rem;
    color: rgba(255, 255, 255, .85);
    background: linear-gradient(160deg, #334155, rgb(var(--navy)));
    box-shadow: 0 0 0 4px rgb(var(--white-custome)), 0 0 0 7px rgba(var(--second-color), .7);
}

.Cand-photo img { width: 100%; height: 100%; object-fit: cover; }

.Cand-card h3 { font-size: 1.1rem; margin-bottom: 8px; }

.Cand-expertise {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 500;
    color: rgb(var(--first-color));
    background: rgba(var(--first-color), .1);
}

.Cand-company { display: block; margin-top: 8px; font-size: .85rem; color: rgb(var(--gray-custome)); }
.Cand-card p { margin: 12px 0 0; font-size: .9rem; text-align: center; }

.Cand-card-soon .Cand-expertise {
    color: rgb(var(--second-color));
    background: rgba(var(--second-color), .12);
}

/* ---------- axes list ---------- */

.Axis-row {
    display: flex;
    align-items: center;
    gap: 20px;
    height: calc(100% - 20px);
    margin-bottom: 20px;
    padding: 24px 26px;
    border-radius: 22px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), border-color .4s;
}

.Axis-row:hover { transform: translateX(-6px); border-color: rgba(var(--first-color), .45); }

.Axis-row-num {
    flex-shrink: 0;
    width: 40px;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    color: rgba(var(--second-color), .55);
}

.Axis-row-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

.Axis-row h3 { margin-bottom: 4px; }
.Axis-row p { margin: 0; }

/* ---------- how to vote timeline ---------- */

.Timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.Timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 30px;
    right: 31px;
    border-right: 2px dashed rgba(var(--first-color), .35);
}

.Timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 26px;
}

.Timeline-icon {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
    box-shadow: 0 0 0 8px rgb(var(--white-custome));
}

.Timeline-card {
    flex: 1;
    padding: 26px 30px;
    border-radius: 22px;
    background: rgb(var(--surface));
    border: 1px solid rgb(var(--border));
}

.Timeline-step {
    display: inline-block;
    margin-bottom: 6px;
    font-size: .85rem;
    font-weight: bold;
    color: rgb(var(--second-color));
}

.Timeline-card h3 { margin-bottom: 8px; }
.Timeline-card p { margin: 0; }
.Timeline-card a { color: rgb(var(--first-color)); font-weight: 500; }

@media (max-width: 575px) {
    .Timeline::before { right: 23px; }
    .Timeline-item { gap: 14px; }
    .Timeline-icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .Timeline-card { padding: 20px; }
}

/* ---------- forms ---------- */

.Form-card,
.Auth-card {
    padding: 40px;
    border-radius: 28px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-md);
}

.Form-card h2 { font-size: 1.4rem; margin-bottom: 24px; }

.Form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.Field-full { grid-column: 1 / -1; }

@media (max-width: 575px) {
    .Form-grid { grid-template-columns: 1fr; }
    .Form-card, .Auth-card { padding: 28px 20px; }
}

.Field { margin-bottom: 18px; text-align: right; }

.Field label {
    display: block;
    margin: 0 0 6px;
    font-size: .9rem;
    font-weight: 500;
    color: rgb(var(--black-custome));
}

.Field label b { color: #DC2626; }
.Field label small { color: rgb(var(--gray-custome)); }

.Field input,
.Field select,
.Field textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: .95rem;
    color: rgb(var(--black-custome));
    border-radius: 12px;
    border: 1px solid rgb(var(--border));
    background: rgb(var(--surface));
    transition: border-color .3s, box-shadow .3s;
}

.Field select { height: 50px; }
.Field textarea { resize: vertical; }
.Field input[dir="ltr"] { text-align: left; }

.Field input:focus,
.Field select:focus,
.Field textarea:focus {
    outline: none;
    border-color: rgb(var(--first-color));
    box-shadow: 0 0 0 4px rgba(var(--first-color), .15);
}

.Field .is-invalid { border-color: #DC2626; }

.Field-password { position: relative; }
.Field-password input { padding-right: 52px; }

.Field-eye {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    color: rgb(var(--gray-custome));
    background: transparent;
}

.Field-eye:hover { color: rgb(var(--first-color)); background: rgba(var(--first-color), .08); }

.form-status { margin: 14px 0 0; text-align: center; font-size: .9rem; }
.form-status:empty { display: none; }
.form-status.ok { color: rgb(var(--first-color)); }
.form-status.err { color: #DC2626; }

.Form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 16px 0 0;
    font-size: .82rem;
    text-align: center;
}

/* side links next to the ticket form */
.Side-card {
    margin-top: 30px;
    padding: 30px 26px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(160deg, rgb(var(--navy)), #064E3B);
}

@media (min-width: 992px) {
    .Side-card { margin-top: 0; position: sticky; top: 100px; }
}

.Side-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }

.Side-card a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 16px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .65);
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
    transition: background-color .3s, transform .3s var(--ease);
}

.Side-card a:hover { color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .09); transform: translateX(-4px); }

.Side-card a > .bi {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.15rem;
    color: rgb(var(--navy));
    background: rgb(var(--second-color));
}

.Side-card strong { display: block; font-size: .95rem; color: #fff; }

/* ---------- auth pages ---------- */

.Auth .container { display: flex; justify-content: center; }

.Auth-card {
    width: 100%;
    max-width: 460px;
    margin-top: 30px;
    text-align: center;
}

.Auth-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: -78px auto 20px;
    border-radius: 24px;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
    box-shadow: 0 0 0 8px rgb(var(--white-custome)), 0 18px 30px -12px rgba(var(--first-color), .9);
}

.Auth-icon-warn {
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
    box-shadow: 0 0 0 8px rgb(var(--white-custome)), 0 18px 30px -12px rgba(var(--second-color), .9);
}

.Auth-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.Auth-sub { text-align: center; margin-bottom: 26px; }

.Auth-row { margin: -6px 0 20px; text-align: left; font-size: .88rem; }

.Auth-row a,
.Auth-foot a { color: rgb(var(--first-color)); font-weight: 500; }

.Auth-foot {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 22px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgb(var(--border));
    text-align: center;
}

.Auth-foot a { display: inline-flex; align-items: center; gap: 6px; }

.Auth-actions { display: flex; flex-direction: column; gap: 12px; }


/* =========================================================
   Responsive refinements
   ========================================================= */

@media (max-width: 991px) {
    /* mobile menu: mark the current page (the desktop underline is hidden here) */
    .navbar .active .nav-link { color: rgb(var(--second-color)) !important; }

    /* stacked layout: keep illustrations a sensible size and centred */
    .border-image {
        max-width: 520px;
        margin: 50px auto 0;
    }
}

@media (max-width: 575px) {
    .border-image { margin: 40px 26px 0 auto; }
}

/* tablets: action cards side-by-side text instead of tall stacked cards */
@media (min-width: 576px) and (max-width: 991px) {
    .Action-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 22px;
        align-items: start;
    }

    .Action-icon { grid-row: span 3; margin-bottom: 0; }
    .Action-card p { margin-bottom: 10px; }
}

/* phones: smaller back-to-top button so it covers less content */
@media (max-width: 575px) {
    .to-top {
        width: 42px;
        height: 42px;
        bottom: 16px;
        left: 16px;
        border-radius: 12px;
        font-size: 1.05rem;
    }

    .Homepage,
    .Section { padding: 70px 0; }

    .Section-head { margin-bottom: 40px; }
}

/* phones: two candidate cards per row */
@media (max-width: 575px) {
    .Cand-grid { margin-inline: -8px; }
    .Cand-grid > [class*="col-"] { padding-inline: 8px; }
    .Cand-card { padding: 22px 10px 18px; height: calc(100% - 16px); margin-bottom: 16px; border-radius: 20px; }
    .Cand-photo { width: 84px; height: 84px; font-size: 2.3rem; margin-bottom: 14px; }
    .Cand-card h3 { font-size: .95rem; }
    .Cand-expertise { font-size: .78rem; padding: 3px 10px; }
    .Cand-num { top: 10px; left: 10px; min-width: 26px; height: 26px; font-size: .78rem; }
}

header[role="banner"] {
    position: sticky;
    top: 0;
    z-index: 1000;
}

#header .main-header {
    position: relative;
    background: linear-gradient(160deg, #0B1222 0%, #0F172A 55%, #06291F 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .7);
}

#header .main-header > .container > .row {
    min-height: 80px;
    align-items: center;
}

/* ---------- logo ---------- */

#header .logo {
    padding: 10px 0;
    justify-content: flex-start;
}

#header .logo p {
    margin: 0;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding-right: 10px;
}

#header .logo a { display: block; line-height: 0; }

#header .logo img {
    height: 54px;
    width: auto;
}

/* ---------- menu (desktop) ---------- */

#header .header-nav {
    padding: 0;
}

#header .header-nav .navbar {
    max-width: none;
}

#header .header-nav .navbar-nav {
    margin: 0 auto !important;
    justify-content: center;
}

#header .header-nav .nav-link {
    position: relative;
    margin: 0 4px;
    padding: 8px 12px !important;
    border: 0;
    font-size: .95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .78) !important;
    transition: color .3s;
}

#header .header-nav .nav-link::after {
    content: "";
    position: absolute;
    top: auto;
    bottom: 0;
    right: 12px;
    left: 12px;
    height: 2px;
    border-radius: 2px;
    background: #D4AF37;
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}

#header .header-nav .nav-link:hover,
#header .header-nav .nav-item.active > .nav-link {
    color: #fff !important;
}

#header .header-nav .nav-link:hover::after,
#header .header-nav .nav-item.active > .nav-link::after {
    transform: scaleX(1);
}

/* ---------- actions: language, theme, CTA ---------- */

#header .nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* hide the language box when the CMS renders it empty */
#header .alllangs:not(:has(img)) { display: none; }

#header .alllangs img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .2);
}

#header .theme-toggle { flex-shrink: 0; }
#header .nav-actions .Btn { white-space: nowrap; }

/* ---------- tablet & mobile ---------- */

@media (max-width: 991px) {
    #header .main-header > .container > .row {
        min-height: 68px;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0;
    }

    /* logo (right) - actions - hamburger (far left) */
    #header .main-header > .container > .row > div {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }

    #header .main-header > .container > .row > div:nth-child(2) {
        order: 3;
        flex: 0 0 auto;
    }

    #header .main-header > .container > .row > div:nth-child(3) {
        order: 2;
        flex: 1 1 auto;
        padding-left: 6px;
    }

    #header .logo { padding: 8px 0; }
    #header .logo img { height: 46px; }

    /* the dropdown opens full-width right under the header */
    #header .main-header .container,
    #header .main-header .row,
    #header .main-header [class*="col-"],
    #header .main-nav,
    #header .header-nav,
    #header .header-nav .container-fluid,
    #header .header-nav .navbar {
        position: static;
    }

    /* the menu partial wraps the hamburger in container-fluid > row > col-12;
       their paddings push it off-screen on narrow phones */
    #header .header-nav .container-fluid,
    #header .header-nav .col-12 { padding: 0; }
    #header .header-nav .row { margin: 0; }

    #header .header-nav .navbar {
        --menu-bg: 15, 23, 42;
        --menu-color: 255, 255, 255;
        background: transparent;
    }

    #header .header-nav .navbar-toggler {
        width: 44px;
        height: 44px;
        padding: 0 !important;
        display: grid;
        place-items: center;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, .2) !important;
        background: rgba(255, 255, 255, .06);
    }

    #header .header-nav .navbar-toggler label { cursor: pointer; line-height: 0; }

    #header .header-nav .hamburger {
        width: 22px;
        height: 18px;
        padding: 0;
    }

    #header .header-nav .hamburger .bar {
        width: 22px;
        height: 2px;
        right: 0;
    }

    #header .header-nav .hamburger .bar {
        background-color: #fff;
        transform: none;
        transform-origin: 50% 50%;
        transition: transform .3s, opacity .3s, top .3s;
    }

    #header .header-nav .hamburger .bar1 { top: 0; }
    #header .header-nav .hamburger .bar2,
    #header .header-nav .hamburger .bar3 { top: 8px; }
    #header .header-nav .hamburger .bar4 { top: 16px; bottom: auto; }

    /* the CMS draws the X from the checkbox; draw it from the real menu state instead */
    #header .header-nav .checkbox3:checked + label > .hamburger3 > .bar {
        width: 22px;
        height: 2px;
        transform: none;
        background-color: #fff;
    }

    #header .header-nav .navbar-toggler[aria-expanded="true"] label > .hamburger3 > .bar1 { top: 8px; transform: rotate(45deg); }
    #header .header-nav .navbar-toggler[aria-expanded="true"] label > .hamburger3 > .bar4 { top: 8px; transform: rotate(-45deg); }
    #header .header-nav .navbar-toggler[aria-expanded="true"] label > .hamburger3 > .bar2,
    #header .header-nav .navbar-toggler[aria-expanded="true"] label > .hamburger3 > .bar3 { opacity: 0; }

    #header #navbarSupportedContent {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: auto;
        min-width: 0;
        padding: 8px 20px 18px;
        background: #0F172A;
        border-top: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 20px 30px -15px rgba(0, 0, 0, .6);
    }

    #header .header-nav .navbar-nav { margin: 0 !important; }

    #header .header-nav .navbar-nav .nav-item {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    #header .header-nav .navbar-nav .nav-item:last-child { border-bottom: 0; }

    #header .header-nav .nav-link {
        margin: 0;
        padding: 14px 4px !important;
        text-align: right;
    }

    #header .header-nav .nav-link::after { display: none; }

    #header .header-nav .nav-item.active > .nav-link { color: #D4AF37 !important; }
}

@media (max-width: 400px) {
    #header .nav-actions .Btn { padding: 8px 14px; font-size: .85rem; }
    #header .logo img { height: 40px; }
}

.latest-post {
    display: none;
}
/* icons: normal weight, and hide the "." placeholder even before source.js clears it */
strong.bi {
    font-weight: normal;
    -webkit-text-fill-color: transparent;
    overflow: hidden;
}

strong.bi::before { -webkit-text-fill-color: currentColor; }

/* containers that used to be <span> and are now <strong> keep their own weight */
strong.Empty-note,
strong.Countdown-icon,
strong.Action-icon { font-weight: normal; }

/* icon colours that were written for <i> */
.Hero-slide figcaption .bi { color: rgb(var(--second-color)); }
.ul-check li .bi { font-size: 1.3rem; color: rgb(var(--first-color)); }
.Btn .bi { transition: transform .3s var(--ease); }
.Action-more .bi { transition: transform .3s var(--ease); }
.Action-card:hover .Action-more .bi { transform: translateX(-5px); }

/* hero title accent */
.Hero h1 .Hero-accent {
    font-weight: inherit;
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* hero stats: number (strong) + label */
.Hero-stats .Hero-stat-label {
    display: block;
    font-size: .85rem;
    font-weight: normal;
    color: rgba(255, 255, 255, .7);
}

/* countdown: number (strong) + label */
.Countdown-timer .Countdown-label {
    display: block;
    font-size: .8rem;
    font-weight: normal;
    line-height: 1.5;
    color: rgb(var(--second-color));
}

/* orbit centre: big title + small subtitle */
.Orbit-core .Orbit-core-sub {
    font-size: clamp(.75rem, 1.3vw, .85rem);
    font-weight: normal;
    line-height: 1.5;
    color: rgb(var(--second-color));
}

/* orbit node labels */
.Orbit-node .Orbit-label {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
    color: rgba(255, 255, 255, .6);
    transition: color .4s;
}

.Orbit-node.is-active .Orbit-label { color: rgb(var(--second-color)); font-weight: bold; }

@media (max-width: 575px) {
    .Orbit-node .Orbit-label { display: none; }
}

/* axis panel: big number (strong) + "of 8" label */
.Axis-panel-count .Axis-count-of {
    display: block;
    font-size: .85rem;
    font-weight: normal;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: rgba(255, 255, 255, .5);
}

/* how-to-vote step number badge */
.Step-icon .Step-num {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: .85rem;
    font-weight: 900;
    color: rgb(var(--navy));
    background: rgb(var(--second-color));
}

/* axes ticker items */
.Ticker .Ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: bold;
    white-space: nowrap;
    color: rgb(var(--black-custome));
}

.Ticker .Ticker-item .bi { color: rgb(var(--first-color)); }

.Ticker .Ticker-item::after {
    content: "\2726";   /* four-pointed star */
    margin-right: 38px;
    color: rgb(var(--second-color));
}

/* contact cards: the card is a <div>; its bottom link covers the whole card */
.Action-card .Action-more { position: static; }

.Action-card .Action-more::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

/* =========================================================
   Manifesto page - all classes start with "Mf-"
   ========================================================= */

/* ---------- hero ---------- */

.Mf-hero { padding-bottom: 130px; }

.Page-hero .Mf-hero-motto {
    margin-top: 14px;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: bold;
    color: rgb(var(--second-color));
}

/* infographic: plan at a glance */
.Mf-glance {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    max-width: 920px;
    margin: 40px auto 0;
    padding: 0;
    list-style: none;
}

.Mf-glance li {
    padding: 18px 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(6px);
}

.Mf-glance .Mf-glance-num {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    color: rgb(var(--second-color));
}

.Mf-glance .Mf-glance-label {
    display: block;
    font-size: .85rem;
    font-weight: normal;
    color: rgba(255, 255, 255, .75);
}

@media (max-width: 767px) {
    .Mf-glance { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 400px) {
    .Mf-glance { grid-template-columns: repeat(2, 1fr); }
    .Mf-glance li:last-child { grid-column: 1 / -1; }
}

/* ---------- table of contents ---------- */

.Mf-toc {
    position: relative;
    z-index: 2;
    margin-top: -40px;
}

.Mf-toc ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 14px;
    list-style: none;
    border-radius: 22px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-md);
}

.Mf-toc a {
    display: block;
    padding: 9px 16px;
    border-radius: 100px;
    font-size: .9rem;
    font-weight: 500;
    color: rgb(var(--black-custome));
    background: rgb(var(--surface));
    transition: background-color .3s, color .3s;
}

.Mf-toc a:hover {
    color: #fff;
    background: rgb(var(--first-color));
}

@media (max-width: 767px) {
    .Mf-toc ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; }
    .Mf-toc a { white-space: nowrap; }
}

/* ---------- 1. why ---------- */

.Mf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.Mf-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: .9rem;
    font-weight: 500;
    color: rgb(var(--black-custome));
    background: rgb(var(--surface));
    border: 1px solid rgb(var(--border));
}

.Mf-chips li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(var(--second-color));
}

.Mf-quote {
    position: relative;
    margin: 30px 0 0;
    padding: 50px 36px 36px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(400px 200px at 0% 100%, rgba(var(--second-color), .25), transparent 60%),
        linear-gradient(150deg, rgb(var(--navy)), #064E3B);
}

.Mf-quote .Mf-quote-mark {
    position: absolute;
    top: -24px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.8rem;
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
}

.Mf-quote p {
    margin: 0;
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    font-weight: bold;
    line-height: 2;
    color: #fff;
}

/* infographic: demand -> plan -> action -> result */
.Mf-chain-wrap {
    margin-top: 70px;
    text-align: center;
}

.Mf-chain-intro {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.Mf-chain {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.Mf-chain::before {
    content: "";
    position: absolute;
    top: 42px;
    right: 12.5%;
    left: 12.5%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(270deg, rgb(var(--first-light)), rgb(var(--second-color)));
}

.Mf-chain li { position: relative; }

.Mf-chain .Mf-chain-icon {
    position: relative;
    width: 86px;
    height: 86px;
    margin: 0 auto 14px;
    border-radius: 50%;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
    box-shadow: 0 0 0 8px rgb(var(--white-custome)), 0 16px 30px -12px rgba(var(--first-color), .9);
}

.Mf-chain li:last-child .Mf-chain-icon {
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
    box-shadow: 0 0 0 8px rgb(var(--white-custome)), 0 16px 30px -12px rgba(var(--second-color), .9);
}

.Mf-chain .Mf-chain-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    color: rgb(var(--black-custome));
}

@media (max-width: 575px) {
    .Mf-chain { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .Mf-chain::before { display: none; }
}

.Mf-mission-line {
    margin-top: 60px;
    padding: 30px 36px;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(var(--second-color), .16), rgba(var(--first-color), .12));
    border: 1px solid rgba(var(--second-color), .35);
}

.Mf-mission-line .Mf-mission-line-label {
    display: block;
    margin-bottom: 6px;
    font-size: .9rem;
    color: rgb(var(--first-color));
}

.Mf-mission-line p {
    margin: 0;
    text-align: center;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 900;
    color: rgb(var(--black-custome));
}

/* ---------- 2. world 1408 ---------- */

.Mf-world {
    position: relative;
    color: #fff;
    background:
        radial-gradient(600px 400px at 80% 20%, rgba(var(--first-light), .2), transparent 65%),
        radial-gradient(500px 350px at 10% 90%, rgba(var(--second-color), .12), transparent 60%),
        linear-gradient(170deg, #0B1222 0%, rgb(var(--navy)) 50%, #04261E 100%);
}

.Mf-world .Section-head p { color: rgba(255, 255, 255, .7); }

.Mf-change {
    position: relative;
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 30px 28px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    transition: transform .4s var(--ease), border-color .4s;
}

.Mf-change:hover { transform: translateY(-6px); border-color: rgba(var(--second-color), .5); }

.Mf-change .Mf-change-num {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, .07);
}

.Mf-change .Mf-change-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 18px;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

.Mf-change h3 { color: #fff; margin-bottom: 10px; }
.Mf-change p { margin: 0; color: rgba(255, 255, 255, .7); }

.Mf-change-wide { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; align-content: center; }
.Mf-change-wide .Mf-change-icon { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
.Mf-change-wide h3,
.Mf-change-wide p { grid-column: 2; }

.Mf-reality {
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 26px 28px;
    border-radius: 24px;
    color: #fff;
    border: 1px dashed rgba(var(--second-color), .7);
    background: rgba(var(--second-color), .08);
}

.Mf-reality .Mf-reality-kicker {
    display: block;
    font-size: .85rem;
    font-weight: normal;
    color: rgba(255, 255, 255, .7);
}

.Mf-reality .Mf-reality-num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: rgb(var(--second-color));
}

.Mf-reality p { margin: 8px 0 0; font-size: .9rem; color: rgba(255, 255, 255, .75); }

.Mf-world-note {
    max-width: 760px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
}

/* ---------- lessons ---------- */

.Mf-lessons { background: rgb(var(--surface)); }

.Mf-lesson {
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 32px 28px;
    border-radius: 24px;
    text-align: center;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
}

.Mf-lesson .Mf-lesson-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 20px;
    font-size: 1.7rem;
    color: rgb(var(--second-color));
    background: rgba(var(--second-color), .12);
}

.Mf-lesson p { margin: 0; text-align: center; font-weight: 500; color: rgb(var(--black-custome)); }

/* ---------- 3. mission, vision, values ---------- */

.Mf-identity {
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 34px 32px;
    border-radius: 26px;
    background: rgba(var(--first-color), .06);
    border: 1px solid rgba(var(--first-color), .25);
}

.Mf-identity .Mf-identity-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

.Mf-identity h3 { font-size: 1.4rem; margin-bottom: 10px; }
.Mf-identity p { margin: 0; }

.Mf-identity-gold {
    background: rgba(var(--second-color), .08);
    border-color: rgba(var(--second-color), .4);
}

.Mf-identity-gold .Mf-identity-icon {
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
}

.Mf-identity-wide {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    height: auto;
    background: rgb(var(--surface));
    border-color: rgb(var(--border));
}

.Mf-identity-wide .Mf-identity-icon { flex-shrink: 0; margin-bottom: 0; }

@media (max-width: 575px) {
    .Mf-identity-wide { flex-direction: column; }
}

.Mf-subhead {
    margin: 40px 0 24px;
    text-align: center;
    font-size: 1.5rem;
}

.Mf-values {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.Mf-values li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.8;
    color: rgb(var(--black-custome));
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), border-color .3s;
}

.Mf-values li:hover { transform: translateY(-4px); border-color: rgba(var(--second-color), .55); }

.Mf-values .Mf-value-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.25rem;
    color: rgb(var(--first-color));
    background: rgba(var(--first-color), .1);
}

/* ---------- 4. issues ---------- */

.Mf-issues { background: rgb(var(--surface)); }

.Mf-issue {
    position: relative;
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 30px 24px;
    border-radius: 24px;
    overflow: hidden;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
}

.Mf-issue::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(var(--second-color)), rgb(var(--first-color)));
}

.Mf-issue .Mf-issue-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    border-radius: 18px;
    font-size: 1.55rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

.Mf-issue h3 { margin-bottom: 14px; }

.Mf-issue .Mf-issue-label {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: .78rem;
    color: rgb(var(--second-color));
    background: rgba(var(--second-color), .12);
}

.Mf-issue p { margin: 0; font-size: .92rem; }

.Mf-issues-note {
    max-width: 760px;
    margin: 16px auto 0;
    text-align: center;
    font-size: 1.05rem;
}

.Mf-issues-note strong { color: rgb(var(--first-color)); }

/* ---------- 5. programs ---------- */

/* infographic: six programs map */
.Mf-prog-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 60px;
    padding: 0;
    list-style: none;
}

.Mf-prog-map a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 20px 22px;
    border-radius: 20px;
    font-weight: bold;
    color: rgb(var(--black-custome));
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), border-color .3s;
}

.Mf-prog-map a:hover { transform: translateY(-4px); border-color: rgba(var(--first-color), .5); }

.Mf-prog-map .Mf-prog-map-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

.Mf-prog-map .Mf-prog-map-num {
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 1.6rem;
    font-weight: 900;
    color: rgba(var(--second-color), .45);
}

@media (max-width: 991px) { .Mf-prog-map { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .Mf-prog-map { grid-template-columns: 1fr; } }

/* a program */
.Mf-program {
    margin-bottom: 30px;
    padding: 36px 40px;
    border-radius: 28px;
    scroll-margin-top: 110px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    border-right: 6px solid rgb(var(--first-color));
    box-shadow: var(--shadow-sm);
}

.Mf-program:nth-of-type(even) { border-right-color: rgb(var(--second-color)); }

.Mf-program-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.Mf-program-head > div { flex: 1; }
.Mf-program-head h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); }

.Mf-program-head .Mf-program-num {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 900;
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
}

.Mf-program-head .Mf-program-kicker {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: rgb(var(--first-color));
}

.Mf-program-head .Mf-program-icon {
    flex-shrink: 0;
    font-size: 2.6rem;
    color: rgba(var(--first-color), .2);
}

/* infographic: shift of view (from -> to) */
.Mf-shift {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgb(var(--surface));
}

.Mf-shift .Mf-shift-label {
    font-size: .85rem;
    font-weight: 500;
    color: rgb(var(--gray-custome));
}

.Mf-shift .Mf-shift-from,
.Mf-shift .Mf-shift-to {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: .95rem;
}

.Mf-shift .Mf-shift-from {
    font-weight: 500;
    color: rgb(var(--gray-custome));
    background: rgba(220, 38, 38, .07);
    border: 1px dashed rgba(220, 38, 38, .35);
    text-decoration: line-through;
    text-decoration-color: rgba(220, 38, 38, .45);
}

.Mf-shift .Mf-shift-to {
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

.Mf-shift .Mf-shift-arrow { font-size: 1.4rem; color: rgb(var(--second-color)); }

.Mf-program-desc { margin-bottom: 16px; }

.Mf-actions {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.Mf-actions li {
    position: relative;
    padding: 8px 26px 8px 0;
    line-height: 1.9;
    color: rgb(var(--gray-custome));
    border-bottom: 1px dashed rgb(var(--border));
}

.Mf-actions li:last-child { border-bottom: 0; }

.Mf-actions li::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 4px;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    transform: rotate(45deg);
    background: rgb(var(--first-color));
}

.Mf-actions strong { color: rgb(var(--black-custome)); }

.Mf-outcomes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 767px) { .Mf-outcomes { grid-template-columns: 1fr; } }

.Mf-flag,
.Mf-goal {
    padding: 20px 22px;
    border-radius: 20px;
}

.Mf-flag { background: rgba(var(--second-color), .1); border: 1px solid rgba(var(--second-color), .4); }
.Mf-goal { background: rgba(var(--first-color), .08); border: 1px solid rgba(var(--first-color), .3); }

.Mf-outcomes .Mf-outcome-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: rgb(var(--black-custome));
}

.Mf-flag .Mf-outcome-label .bi { color: rgb(var(--second-color)); }
.Mf-goal .Mf-outcome-label .bi { color: rgb(var(--first-color)); }

.Mf-flag p,
.Mf-goal p { margin: 0; font-size: .92rem; }

/* infographic: KPI numbers */
.Mf-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.Mf-kpis li {
    flex: 1 1 140px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: .82rem;
    color: rgb(var(--gray-custome));
    background: rgb(var(--white-custome));
}

.Mf-kpis .Mf-kpi-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
    color: rgb(var(--first-color));
}

/* infographic: three-level protocol */
.Mf-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: mf-level;
}

.Mf-levels li {
    counter-increment: mf-level;
    padding: 10px 8px;
    border-radius: 12px;
    text-align: center;
    font-size: .85rem;
    font-weight: bold;
    color: #fff;
}

/* .Mf-levels li::before {
    content: "\0633\0637\062D\0020" counter(mf-level, persian);   /* "level N" in Persian */
    display: block;
    font-size: .72rem;
    font-weight: normal;
    opacity: .85;
} */

.Mf-levels .Mf-level-1 { background: rgb(var(--first-color)); }
.Mf-levels .Mf-level-2 { background: #D97706; }
.Mf-levels .Mf-level-3 { background: #DC2626; }

/* infographic: 80% meter */
.Mf-meter {
    height: 28px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 100px;
    background: rgb(var(--white-custome));
    border: 1px solid rgba(var(--first-color), .25);
}

.Mf-meter .Mf-meter-fill {
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 14px;
    border-radius: 100px;
    font-size: .85rem;
    color: #fff;
    background: linear-gradient(270deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

@media (max-width: 575px) {
    .Mf-program { padding: 26px 20px; }
    .Mf-program-head .Mf-program-icon { display: none; }
    .Mf-program-head .Mf-program-num { width: 50px; height: 50px; font-size: 1.4rem; }
}

/* ---------- 6. accountability ---------- */

.Mf-accountability {
    color: #fff;
    background:
        radial-gradient(700px 400px at 100% 0%, rgba(var(--first-light), .22), transparent 60%),
        linear-gradient(160deg, rgb(var(--navy)) 0%, #052E25 100%);
}

.Mf-accountability .Section-head p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; font-weight: 500; }

.Mf-pledge {
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 32px 30px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
}

.Mf-pledge h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 1.35rem;
    color: #fff;
}

.Mf-pledge-do h3 .bi { color: #34D399; }
.Mf-pledge-dont h3 .bi { color: #F87171; }

.Mf-pledge ul { margin: 0; padding: 0; list-style: none; }

.Mf-pledge li {
    position: relative;
    padding: 10px 32px 10px 0;
    line-height: 1.9;
    color: rgba(255, 255, 255, .75);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.Mf-pledge li:last-child { border-bottom: 0; }

.Mf-pledge li::before {
    position: absolute;
    top: 12px;
    right: 0;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-family: bootstrap-icons;
    font-size: .75rem;
    line-height: 1;
}

.Mf-pledge-do li::before { content: "\f272"; color: #052E25; background: #34D399; }
.Mf-pledge-dont li::before { content: "\f659"; color: #fff; background: rgba(248, 113, 113, .85); }

.Mf-pledge strong { color: #fff; }

/* ---------- 7. roadmap ---------- */

.Mf-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.Mf-timeline::before {
    content: "";
    position: absolute;
    top: 34px;
    right: 12%;
    left: 12%;
    border-top: 3px dashed rgba(var(--first-color), .35);
}

.Mf-timeline > li {
    position: relative;
    padding: 0 6px;
    text-align: center;
}

.Mf-timeline .Mf-stage-dot {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
    box-shadow: 0 0 0 8px rgb(var(--white-custome));
}

.Mf-timeline > li:last-child .Mf-stage-dot {
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
}

.Mf-timeline .Mf-stage-title {
    display: block;
    margin-bottom: 14px;
    font-size: 1.15rem;
    font-weight: 900;
    color: rgb(var(--black-custome));
}

.Mf-timeline ul {
    margin: 0;
    padding: 14px;
    list-style: none;
    text-align: right;
    border-radius: 18px;
    background: rgb(var(--surface));
    border: 1px solid rgb(var(--border));
}

.Mf-timeline ul li {
    position: relative;
    padding: 6px 18px 6px 0;
    font-size: .9rem;
    line-height: 1.8;
    color: rgb(var(--gray-custome));
}

.Mf-timeline ul li::before {
    content: "";
    position: absolute;
    top: 16px;
    right: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgb(var(--second-color));
}

@media (max-width: 991px) {
    .Mf-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .Mf-timeline::before { display: none; }
}

@media (max-width: 575px) {
    .Mf-timeline { grid-template-columns: 1fr; }
}

/* ---------- summary ---------- */

.Mf-summary {
    padding: 50px 56px;
    border-radius: 30px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(500px 250px at 0% 100%, rgba(var(--second-color), .22), transparent 60%),
        linear-gradient(135deg, rgb(var(--navy)), #064E3B);
}

.Mf-summary p {
    max-width: 860px;
    margin: 0 auto 24px;
    text-align: center;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 2.1;
    color: rgba(255, 255, 255, .85);
}

.Mf-summary .Mf-summary-sign {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 1rem;
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
}

@media (max-width: 575px) {
    .Mf-summary { padding: 34px 22px; }
    .Mf-summary .Mf-summary-sign { border-radius: 18px; }
}

/* anchored sections clear the sticky/fixed header */
.Mf-why, .Mf-world, .Mf-mission, .Mf-issues, .Mf-programs, .Mf-accountability, .Mf-roadmap { scroll-margin-top: 90px; }

.container.body-container.wide {
    max-width: 100%;
}

.container.body-container.wide .col-md-12.col-xs-12 {
    padding: 0;
}

/* =========================================================
   Manifesto page - edits: sticky contents bar, values,
   program map, programs (overrides the rules above)
   ========================================================= */

/* ---------- sticky contents bar ---------- */

/* position: sticky does not work inside an ancestor with overflow: hidden
   (the CMS sets it on .main-body). On this page only, use clip instead:
   it looks the same but keeps sticky working. */
html:has(.Mf-toc),
body:has(.Mf-toc),
.main-body:has(.Mf-toc) {
    overflow-x: clip;
    overflow-y: visible;
}

.Mf-toc {
    position: sticky;
    top: 84px;               /* just under the site header */
    z-index: 900;            /* under the header (1000), over the content */
}

.Mf-toc ul {
    padding: 10px;
    background: rgba(var(--white-custome), .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 991px) {
    .Mf-toc { top: 72px; }
}

/* jumping to a section leaves room for the header + the sticky bar */
[id^="mf-"] { scroll-margin-top: 170px; }

@media (max-width: 991px) {
    [id^="mf-"] { scroll-margin-top: 150px; }
}

/* ---------- key values: dark panel with numbered cards ---------- */

.Mf-values-panel {
    position: relative;
    margin-top: 56px;
    padding: 50px 40px 44px;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(520px 260px at 100% 0%, rgba(var(--first-light), .25), transparent 60%),
        radial-gradient(440px 240px at 0% 100%, rgba(var(--second-color), .2), transparent 60%),
        linear-gradient(150deg, #0B1222 0%, rgb(var(--navy)) 55%, #052E25 100%);
}

.Mf-values-panel .Mf-subhead {
    margin: 0 0 34px;
    color: #fff;
}

.Mf-values-panel .Mf-subhead::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, rgb(var(--second-color)), rgb(var(--first-light)));
}

.Mf-values-panel .Mf-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    counter-reset: mf-value;
}

.Mf-values-panel .Mf-values li {
    counter-increment: mf-value;
    position: relative;
    flex: 0 1 calc(25% - 12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 26px 22px 22px;
    overflow: hidden;
    border-radius: 22px;
    font-weight: 500;
    color: rgba(255, 255, 255, .88);
    background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: none;
    transition: transform .4s var(--ease), border-color .4s, background-color .4s;
}

/* big faint number in the corner */
.Mf-values-panel .Mf-values li::after {
    content: counter(mf-value, persian);
    position: absolute;
    top: 12px;
    left: 18px;
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, .08);
}

/* accent line that grows on hover */
.Mf-values-panel .Mf-values li::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, rgb(var(--second-color)), rgb(var(--first-light)));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
}

.Mf-values-panel .Mf-values li:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--second-color), .5);
    background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
}

.Mf-values-panel .Mf-values li:hover::before { transform: scaleX(1); }

.Mf-values-panel .Mf-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
    box-shadow: 0 12px 24px -10px rgba(var(--first-light), .8);
}

.Mf-values-panel .Mf-values li:nth-child(even) .Mf-value-icon {
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
    box-shadow: 0 12px 24px -10px rgba(var(--second-color), .8);
}

@media (max-width: 1199px) {
    .Mf-values-panel .Mf-values li { flex-basis: calc(33.333% - 11px); }
}

@media (max-width: 991px) {
    .Mf-values-panel .Mf-values li { flex-basis: calc(50% - 8px); }
}

@media (max-width: 575px) {
    .Mf-values-panel { padding: 36px 18px 26px; border-radius: 24px; }
    .Mf-values-panel .Mf-values li { flex-basis: 100%; }
}

/* ---------- six programs map: tall cards ---------- */

.Mf-prog-map { gap: 20px; }

.Mf-prog-map a {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 36px 22px 24px;
    overflow: hidden;
    text-align: center;
    border-radius: 24px;
    transition: transform .4s var(--ease), border-color .4s, box-shadow .4s var(--ease);
}

.Mf-prog-map a::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

.Mf-prog-map li:nth-child(even) a::before {
    background: linear-gradient(90deg, #F6DE8D, rgb(var(--second-color)));
}

.Mf-prog-map a:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--second-color), .55);
    box-shadow: var(--shadow-md);
}

.Mf-prog-map .Mf-prog-map-icon {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    font-size: 1.9rem;
    box-shadow: 0 16px 28px -12px rgba(var(--first-color), .9);
    transition: transform .4s var(--ease);
}

.Mf-prog-map li:nth-child(even) .Mf-prog-map-icon {
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
    box-shadow: 0 16px 28px -12px rgba(var(--second-color), .9);
}

.Mf-prog-map a:hover .Mf-prog-map-icon { transform: rotate(-8deg) scale(1.06); }

.Mf-prog-map .Mf-prog-map-num {
    top: 12px;
    left: 18px;
    font-size: 3.2rem;
    line-height: 1;
    color: rgba(var(--first-color), .12);
}

.Mf-prog-map .Mf-prog-map-title {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: rgb(var(--black-custome));
}

.Mf-prog-map .Mf-prog-map-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 500;
    color: rgb(var(--first-color));
    background: rgba(var(--first-color), .08);
    transition: background-color .3s, color .3s;
}

.Mf-prog-map a:hover .Mf-prog-map-more {
    color: #fff;
    background: rgb(var(--first-color));
}

/* ---------- programs ---------- */

.Mf-program {
    position: relative;
    margin-bottom: 36px;
    padding: 0 0 34px;
    overflow: hidden;
    border: 1px solid rgb(var(--border));
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.Mf-program > :not(.Mf-program-head) { margin-right: 40px; margin-left: 40px; }

/* header becomes a full-width dark band */
.Mf-program .Mf-program-head {
    position: relative;
    margin-bottom: 30px;
    padding: 30px 40px;
    overflow: hidden;
    background:
        radial-gradient(360px 180px at 0% 100%, rgba(var(--second-color), .28), transparent 65%),
        linear-gradient(135deg, rgb(var(--navy)) 0%, #064E3B 100%);
}

.Mf-program:nth-of-type(even) .Mf-program-head {
    background:
        radial-gradient(360px 180px at 100% 0%, rgba(var(--second-color), .28), transparent 65%),
        linear-gradient(135deg, #064E3B 0%, rgb(var(--navy)) 100%);
}

.Mf-program .Mf-program-head h3 {
    color: #fff;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.Mf-program .Mf-program-head .Mf-program-kicker { color: rgb(var(--second-color)); }

.Mf-program .Mf-program-head .Mf-program-num {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    box-shadow: 0 0 0 6px rgba(var(--second-color), .2);
}

.Mf-program .Mf-program-head .Mf-program-icon {
    font-size: 4.2rem;
    color: rgba(255, 255, 255, .12);
}

/* shift of view: two cards with an arrow, labelled "from" / "to" */
.Mf-program .Mf-shift {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 0 14px;
    padding: 0;
    background: none;
}

.Mf-program .Mf-shift .Mf-shift-label {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.Mf-program .Mf-shift .Mf-shift-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgb(var(--border));
}

.Mf-program .Mf-shift .Mf-shift-from,
.Mf-program .Mf-shift .Mf-shift-to {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 1.02rem;
    font-weight: bold;
    text-decoration: none;
}

.Mf-program .Mf-shift .Mf-shift-from {
    color: rgb(var(--gray-custome));
    background: rgba(220, 38, 38, .05);
    border: 1px dashed rgba(220, 38, 38, .35);
}

.Mf-program .Mf-shift .Mf-shift-to {
    box-shadow: 0 14px 28px -14px rgba(var(--first-color), .9);
}

.Mf-program .Mf-shift .Mf-shift-from::before,
.Mf-program .Mf-shift .Mf-shift-to::before {
    font-size: .75rem;
    font-weight: normal;
}

.Mf-program .Mf-shift .Mf-shift-from::before { content: "\0627\0632"; color: rgba(220, 38, 38, .75); }     /* "from" in Persian */
.Mf-program .Mf-shift .Mf-shift-to::before { content: "\0628\0647"; color: rgba(255, 255, 255, .75); }     /* "to" in Persian */

.Mf-program .Mf-shift .Mf-shift-arrow {
    align-self: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
}

/* actions: two columns of small cards with a check mark */
.Mf-program .Mf-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.Mf-program .Mf-actions li {
    padding: 14px 48px 14px 16px;
    border: 1px solid rgb(var(--border));
    border-radius: 16px;
    background: rgb(var(--surface));
    transition: border-color .3s, transform .3s var(--ease);
}

.Mf-program .Mf-actions li:last-child { border-bottom: 1px solid rgb(var(--border)); }
.Mf-program .Mf-actions li:last-child:nth-child(odd) { grid-column: 1 / -1; }

.Mf-program .Mf-actions li:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--first-color), .4);
}

.Mf-program .Mf-actions li::before {
    content: "\f272";        /* bootstrap-icons check2 */
    top: 15px;
    right: 14px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    transform: none;
    font-family: bootstrap-icons;
    font-size: .8rem;
    line-height: 1;
    color: #fff;
    background: rgb(var(--first-color));
}

/* flag & success indicator */
.Mf-program .Mf-flag,
.Mf-program .Mf-goal {
    position: relative;
    padding: 24px 26px;
    border-radius: 22px;
}

.Mf-program .Mf-flag {
    background: linear-gradient(135deg, rgba(var(--second-color), .2), rgba(var(--second-color), .05));
    border: 1px solid rgba(var(--second-color), .45);
}

.Mf-program .Mf-goal {
    background: linear-gradient(135deg, rgba(var(--first-color), .14), rgba(var(--first-color), .04));
    border: 1px solid rgba(var(--first-color), .35);
}

.Mf-program .Mf-outcomes .Mf-outcome-label {
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1.02rem;
}

.Mf-program .Mf-outcomes .Mf-outcome-label .bi {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 1rem;
    color: #fff;
}

.Mf-program .Mf-flag .Mf-outcome-label .bi { color: rgb(var(--navy)); background: rgb(var(--second-color)); }
.Mf-program .Mf-goal .Mf-outcome-label .bi { background: rgb(var(--first-color)); }

@media (max-width: 767px) {
    .Mf-program > :not(.Mf-program-head) { margin-right: 20px; margin-left: 20px; }
    .Mf-program .Mf-program-head { padding: 24px 20px; }
    .Mf-program .Mf-actions { grid-template-columns: 1fr; }

    /* from / to stack vertically, the arrow points down */
    .Mf-program .Mf-shift { grid-template-columns: 1fr; gap: 10px; }
    .Mf-program .Mf-shift .Mf-shift-arrow { justify-self: center; transform: rotate(-90deg); }
}

/* even programs: drop the old gold right border (cards now have a full border) */
.Mf-program:nth-of-type(even) { border-right-color: rgb(var(--border)); }

/* contents bar scrolls sideways on phones: hide its scrollbar (swipe still works) */
.Mf-toc ul { scrollbar-width: none; }
.Mf-toc ul::-webkit-scrollbar { display: none; }

/* =========================================================
   Contact form (CMS form builder) - #fb-editor
   Every rule is scoped to #fb-editor (or its siblings with ~),
   so other forms are not affected. The random frmb-... ids are
   never used because they change on every load.
   ========================================================= */

/* the column that holds the form, the error label and the submit button
   becomes one card */
.firstreg > [class*="col-"]:has(> #fb-editor) {
    max-width: 860px;
    margin: 0 auto 60px;
    padding: 40px 44px 36px !important;
    border-radius: 28px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-md);
}

/* ---------- reset the builder (stage) look ---------- */

#fb-editor .form-wrap,
#fb-editor .frmb {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 0 !important;
    background: none;
    border: 0;
    box-shadow: none;
}

#fb-editor .frmb {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
    list-style: none;
}

#fb-editor .frmb::before,
#fb-editor .frmb::after { display: none; }      /* builder placeholder text / clearfix */

#fb-editor .frmb > .form-field {
    position: static;
    margin: 0;
    padding: 0;
    cursor: default;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* editor-only parts */
#fb-editor .form-field > .field-actions,
#fb-editor .form-field > .field-label,
#fb-editor .form-field > .tooltip-element,
#fb-editor .form-field .frm-holder,
#fb-editor .form-field .close-field { display: none !important; }

/* The CMS validation decides "required" from the computed display of this
   asterisk (display !== none). So never touch its display: hide it visually
   only. Optional fields keep the CMS inline display:none. */
#fb-editor .form-field > .required-asterisk {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

#fb-editor .prev-holder {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
}

/* layout: headings, text areas, groups and the first field are full width;
   the other single-line fields sit two per row */
#fb-editor .frmb > .form-field:not(.text-field):not(.number-field):not(.date-field):not(.select-field),
#fb-editor .frmb > .header-field + .text-field {
    grid-column: 1 / -1;
}

/* ---------- title ---------- */

#fb-editor .header-field .form-group { margin-bottom: 26px; }

#fb-editor .header-field h1,
#fb-editor .header-field h2,
#fb-editor .header-field h3,
#fb-editor .header-field h4,
#fb-editor .header-field h5,
#fb-editor .header-field h6 {
    position: relative;
    margin: 0;
    padding-bottom: 14px;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: bold;
    color: rgb(var(--black-custome));
}

#fb-editor .header-field h1::after,
#fb-editor .header-field h2::after,
#fb-editor .header-field h3::after,
#fb-editor .header-field h4::after,
#fb-editor .header-field h5::after,
#fb-editor .header-field h6::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgb(var(--second-color)), rgb(var(--first-color)));
}

#fb-editor .paragraph-field p {
    margin: 0 0 18px;
    color: rgb(var(--gray-custome));
}

/* ---------- fields ---------- */

#fb-editor .form-group {
    margin: 0 0 20px;
    text-align: right;
}

#fb-editor .form-group > label,
#fb-editor .form-group .formbuilder-checkbox-group-label,
#fb-editor .form-group .formbuilder-radio-group-label {
    display: block;
    margin: 0 0 8px;
    font-size: .92rem;
    font-weight: 500;
    color: rgb(var(--black-custome));
}

#fb-editor .formbuilder-required {
    margin-right: 4px;
    color: #DC2626;
}

#fb-editor .form-control {
    width: 100%;
    height: 52px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: .95rem;
    color: rgb(var(--black-custome));
    border-radius: 14px;
    border: 1px solid rgb(var(--border));
    background: rgb(var(--surface));
    box-shadow: none;
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}

#fb-editor textarea.form-control {
    height: auto;
    min-height: 150px;
    resize: vertical;
    line-height: 1.8;
}

#fb-editor input[type="email"].form-control,
#fb-editor input[type="tel"].form-control,
#fb-editor input[type="number"].form-control {
    direction: ltr;
    text-align: left;
}

#fb-editor .form-control:hover { border-color: rgba(var(--first-color), .35); }

#fb-editor .form-control:focus {
    outline: none;
    border-color: rgb(var(--first-color));
    background: rgb(var(--white-custome));
    box-shadow: 0 0 0 4px rgba(var(--first-color), .15);
}

#fb-editor .form-control::placeholder { color: rgba(var(--gray-custome), .6); }

/* validation messages added by the CMS (azw-invalid / azw-field-error) */
#fb-editor .form-control.azw-invalid {
    border-color: #DC2626 !important;
    background: rgba(220, 38, 38, .04);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .12);
}

#fb-editor .azw-field-error {
    display: block;
    margin: 6px 0 18px;
    font-size: .82rem;
    line-height: 1.6;
    color: #DC2626;
}

/* the message is placed after the field group: keep it close to its field */
#fb-editor .form-group:has(+ .azw-field-error) { margin-bottom: 0; }

/* checkboxes / radios, if fields like these are added later */
#fb-editor .checkbox,
#fb-editor .radio,
#fb-editor .formbuilder-checkbox,
#fb-editor .formbuilder-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 18px;
}

#fb-editor input[type="checkbox"],
#fb-editor input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: rgb(var(--first-color));
}

/* ---------- error message + submit button (siblings of #fb-editor) ---------- */

#fb-editor ~ [class*="col-"] #lblError {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 12px;
    text-align: center;
    font-size: .9rem;
    color: #DC2626 !important;
    background: rgba(220, 38, 38, .07);
}

#fb-editor ~ .rgbtn {
    display: block;
    width: 100%;
    height: auto;
    margin: 6px 0 0;
    padding: 14px 28px;
    border: 0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    color: rgb(var(--navy)) !important;
    background: linear-gradient(135deg, #F3D77A, rgb(var(--second-color))) !important;
    box-shadow: 0 12px 26px -12px rgba(var(--second-color), .9);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

#fb-editor ~ .rgbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -12px rgba(var(--second-color), .95);
}

#fb-editor ~ .rgbtn:focus-visible {
    outline: 3px solid rgba(var(--first-color), .5);
    outline-offset: 3px;
}

/* ---------- phones ---------- */

@media (max-width: 575px) {
    .firstreg > [class*="col-"]:has(> #fb-editor) {
        max-width: calc(100% - 24px);   /* the column is 100% wide: leave 12px on each side */
        margin: 0 auto 40px;
        padding: 28px 20px 24px !important;
        border-radius: 22px;
    }

    #fb-editor .frmb { grid-template-columns: 1fr; }
}

/* =========================================================
   PCal â€” ØªÙ‚ÙˆÛŒÙ… Ø´Ù…Ø³ÛŒ / Ù‚Ù…Ø±ÛŒ / Ù…ÛŒÙ„Ø§Ø¯ÛŒ (Ù†Ù…Ø§ÛŒ ÙØµÙ„ÛŒ)
   Ù‡Ù…Ù‡ Ú©Ù„Ø§Ø³â€ŒÙ‡Ø§ Ø¨Ø§ Ù¾ÛŒØ´ÙˆÙ†Ø¯ pcal Ù‡Ø³ØªÙ†Ø¯ ØªØ§ Ø¨Ø§ Ø¨Ù‚ÛŒÙ‡ Ø³Ø§ÛŒØª ØªØ¯Ø§Ø®Ù„ Ù†Ø¯Ø§Ø´ØªÙ‡ Ø¨Ø§Ø´Ù†Ø¯.
   Ø±Ù†Ú¯ Ø§ØµÙ„ÛŒ Ø§Ø² Ù…ØªØºÛŒØ± Ø³Ø§ÛŒØª --color_orginal Ú¯Ø±ÙØªÙ‡ Ù…ÛŒâ€ŒØ´ÙˆØ¯.
   ========================================================= */

.pcal {
    --pcal-accent: var(--color_orginal, #0f406d);
    --pcal-accent-soft: color-mix(in srgb, var(--pcal-accent) 12%, transparent);
    --pcal-bg: #fff;
    --pcal-fg: #1d1d1d;
    --pcal-muted: #8a8a8a;
    --pcal-line: #e6e6e6;
    --pcal-day-bg: #F4F4F4;
    --pcal-holiday: #d32f2f;
    --pcal-radius: 20px;
    /* ÙÙˆÙ†Øª Ø§Ø¹Ø¯Ø§Ø¯ Ø§Ù†Ú¯Ù„ÛŒØ³ÛŒ (Ù…ÛŒÙ„Ø§Ø¯ÛŒ) â€” Ø¯Ø± ØµÙˆØ±Øª Ù†ÛŒØ§Ø² Ø¯Ø± Ø³Ø§ÛŒØª Ø¹ÙˆØ¶Ø´ Ú©Ù†ÛŒØ¯ */
    --pcal-en-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    direction: rtl;
    text-align: right;
    font-family: inherit;
    color: var(--pcal-fg);
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    line-height: 1.6;
}

.pcal *,
.pcal *::before,
.pcal *::after {
    box-sizing: border-box;
}

:where(.pcal) button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.pcal .pcal-en {
    font-family: var(--pcal-en-font);
    font-feature-settings: "lnum";
}

.pcal button:focus-visible {
    outline: 2px solid var(--pcal-accent);
    outline-offset: 2px;
}

/* ---------- Ø³Ø±Ø¨Ø±Ú¯ ---------- */

.pcal__header {
    background: var(--pcal-accent);
    color: #fff;
    border-radius: var(--pcal-radius) var(--pcal-radius) 0 0;
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
}

.pcal__title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.pcal__others {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}

.pcal__other {
    display: flex;
    flex-direction: column;
}

.pcal__other small {
    font-size: 11px;
    opacity: .75;
}

.pcal__other b {
    font-size: 15px;
    font-weight: 600;
}

/* ---------- Ø¨Ø¯Ù†Ù‡ ---------- */

.pcal__board {
    background: var(--pcal-bg);
    border: 1px solid var(--pcal-line);
    border-top: 0;
    border-radius: 0 0 var(--pcal-radius) var(--pcal-radius);
    padding: 16px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 6%);
}

.pcal__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin-bottom: 14px;
}

.pcal__tabs {
    display: flex;
    gap: 4px;
    background: var(--pcal-day-bg);
    border-radius: 999px;
    padding: 4px;
    flex: 1 1 300px;
    max-width: 420px;
}

.pcal__tabs--season {
    flex-basis: 420px;
    max-width: 560px;
}

.pcal__tabs--season .pcal__tab {
    font-size: 13px;
    white-space: nowrap;
    padding-inline: 8px !important;
}

.pcal__tab {
    flex: 1;
    padding: 6px 0 !important;
    border-radius: 999px;
    font-size: 14px;
    color: var(--pcal-muted) !important;
    transition: background .3s, color .3s;
}

.pcal__tab:hover {
    color: var(--pcal-fg) !important;
}

.pcal__tab.is-active {
    background: var(--pcal-accent) !important;
    color: #fff !important;
}

.pcal__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 14px;
}

.pcal__season-title {
    font-size: 18px;
    font-weight: 700;
    min-width: 160px;
    text-align: center;
}

.pcal__arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--pcal-day-bg) !important;
    transition: background .2s;
}

.pcal__arrow:hover {
    background: var(--pcal-accent-soft) !important;
}

.pcal__arrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border: solid var(--pcal-accent);
    border-width: 0 2px 2px 0;
}

/* Ø±Ø§Ø³Øªâ€ŒÚ†ÛŒÙ†: Ù‚Ø¨Ù„ÛŒ Ø³Ù…Øª Ø±Ø§Ø³ØªØŒ Ø¨Ø¹Ø¯ÛŒ Ø³Ù…Øª Ú†Ù¾ */
.pcal__arrow--prev::before {
    transform: rotate(-45deg);
    margin-left: 3px;
}

.pcal__arrow--next::before {
    transform: rotate(135deg);
    margin-right: 3px;
}

/* ---------- Ø³Ù‡ Ù…Ø§Ù‡ ÙØµÙ„ ---------- */

.pcal__season {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pcal__month {
    flex: 1 1 0;
    min-width: 0;
    border: 1px solid var(--pcal-line);
    border-radius: 16px;
    padding: 10px;
    background: var(--pcal-bg);
    transition: flex-grow .45s ease, background-color .45s ease, border-color .45s ease, box-shadow .45s ease;
}

/* Ù…Ø§Ù‡ ÙØ¹Ù„ÛŒ: Ú©Ù…ÛŒ Ø¨Ø²Ø±Ú¯â€ŒØªØ± Ùˆ Ø¨Ø§ Ù¾Ø³â€ŒØ²Ù…ÛŒÙ†Ù‡ Ù…ØªÙØ§ÙˆØª */
.pcal__month--focus {
    flex-grow: 1.2;
    background: color-mix(in srgb, var(--pcal-accent) 7%, #fff);
    border-color: var(--pcal-accent);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--pcal-accent) 15%, transparent);
}

.pcal__season--from-next {
    animation: pcal-in-next .45s ease;
}

.pcal__season--from-prev {
    animation: pcal-in-prev .45s ease;
}

.pcal__season--fade,
.pcal__fade {
    animation: pcal-fade .4s ease;
}

/* Ø±Ø§Ø³Øªâ€ŒÚ†ÛŒÙ†: Ù…Ø§Ù‡â€ŒÙ‡Ø§ÛŒ Ø¨Ø¹Ø¯ Ø§Ø² Ø³Ù…Øª Ú†Ù¾ Ù…ÛŒâ€ŒØ¢ÛŒÙ†Ø¯ */
@keyframes pcal-in-next {
    from { opacity: 0; transform: translateX(-40px); }
}

@keyframes pcal-in-prev {
    from { opacity: 0; transform: translateX(40px); }
}

@keyframes pcal-fade {
    from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pcal *,
    .pcal__season,
    .pcal__fade {
        animation: none !important;
        transition: none !important;
    }
}

.pcal__month-title {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    padding: 2px 0 8px !important;
    color: var(--pcal-muted) !important;
}

.pcal__month--focus .pcal__month-title {
    font-size: 18px;
    color: var(--pcal-accent) !important;
}

.pcal__week,
.pcal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.pcal__weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--pcal-muted);
    padding: 2px 0;
}

.pcal__weekday--holiday {
    color: var(--pcal-holiday);
}

.pcal__day {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 8px !important;
    background: var(--pcal-day-bg) !important;
    transition: background-color .25s, box-shadow .25s;
}

.pcal__day--empty {
    background: none !important;
}

.pcal__day:not(.pcal__day--empty):hover {
    background: #e9e9e9 !important;
}

.pcal__num {
    font-size: 14px;
    font-weight: 600;
    transition: font-size .45s ease;
}

.pcal__month--focus .pcal__num {
    font-size: 16px;
}

/* Ø§Ø¹Ø¯Ø§Ø¯ Ù‚Ù…Ø±ÛŒ Ùˆ Ù…ÛŒÙ„Ø§Ø¯ÛŒ Ø¯Ø± Ù¾Ø§ÛŒÛŒÙ† Ø®Ø§Ù†Ù‡ */
.pcal__sub {
    position: absolute;
    inset: auto 4px 3px;
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: var(--pcal-muted);
    line-height: 1;
    transition: font-size .45s ease;
}

.pcal__month--focus .pcal__sub {
    font-size: 9px;
}

.pcal__dot {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--pcal-accent);
}

.pcal__day--holiday .pcal__num {
    color: var(--pcal-holiday);
}

/* Ø±ÙˆØ²Ù‡Ø§ÛŒ Ø¯Ø§Ø±Ø§ÛŒ Ø±ÙˆÛŒØ¯Ø§Ø¯: Ù¾Ø±Ø±Ù†Ú¯â€ŒØªØ± */
.pcal__day--has-event {
    background: color-mix(in srgb, var(--pcal-accent) 28%, #fff) !important;
}

.pcal__day--has-event:hover {
    background: color-mix(in srgb, var(--pcal-accent) 38%, #fff) !important;
}

.pcal__day--has-event .pcal__num {
    color: var(--pcal-accent);
}

.pcal__day--has-event .pcal__sub {
    color: color-mix(in srgb, var(--pcal-accent) 70%, #000);
}

.pcal__day--today {
    box-shadow: inset 0 0 0 2px var(--pcal-accent);
}

.pcal__day--selected,
.pcal__day--selected:hover {
    background: var(--pcal-accent) !important;
}

.pcal__day--selected .pcal__num,
.pcal__day--selected .pcal__sub {
    color: #fff;
}

.pcal__day--selected .pcal__dot {
    background: #fff;
}

.pcal__go-today {
    display: block;
    margin: 14px auto 0 !important;
    font-size: 13px;
    color: var(--pcal-accent) !important;
    padding: 4px 14px !important;
    border-radius: 999px;
}

.pcal__go-today:hover {
    background: var(--pcal-accent-soft) !important;
}

/* ---------- Ù„ÛŒØ³Øª Ø±ÙˆÛŒØ¯Ø§Ø¯Ù‡Ø§ ---------- */

.pcal__events {
    margin-top: 18px;
}

.pcal__events-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.pcal__events-title {
    font-weight: 700;
    font-size: 15px;
}

.pcal__events-all {
    font-size: 12px;
    color: var(--pcal-accent) !important;
    white-space: nowrap;
}

.pcal__events-all[hidden] {
    display: none;
}

.pcal__events-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 8px;
}

.pcal__events-list li {
    line-height: 1.6;
    transform: none !important;
}

.pcal__events-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--pcal-muted);
    font-size: 14px;
    padding: 18px;
    border: 1px dashed var(--pcal-line);
    border-radius: 14px;
}

.pcal__event {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--pcal-bg);
    border: 1px solid var(--pcal-line);
    border-right: 4px solid var(--pcal-accent);
    border-radius: 14px;
    padding: 10px 12px;
}

.pcal__event--past {
    opacity: .55;
}

.pcal__event--today {
    background: var(--pcal-accent-soft);
}

.pcal__event-date {
    flex: none;
    width: 56px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    background: var(--pcal-day-bg) !important;
    border-radius: 10px;
    padding: 4px 0 !important;
}

.pcal__event-date b {
    font-size: 18px;
    line-height: 1.2;
    color: var(--pcal-accent);
}

.pcal__event-date small {
    font-size: 11px;
    color: var(--pcal-muted);
}

.pcal__event-body {
    flex: 1;
    min-width: 0;
}

.pcal__event-title {
    font-weight: 700;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.pcal__event-meta {
    font-size: 12px;
    color: var(--pcal-muted);
}

.pcal__event-desc {
    margin: 4px 0 0 !important;
    font-size: 13px;
    color: var(--pcal-fg) !important;
    opacity: .8;
    text-align: right !important;
    overflow-wrap: anywhere;
}

/* ---------- Ø¨Ø®Ø´ ÙˆØ±ÙˆØ¯ Ø±ÙˆÛŒØ¯Ø§Ø¯ (ÙÙ‚Ø· Ø¯Ø± ÙˆÛŒØ±Ø§ÛŒØ´Ú¯Ø± Ø¯ÛŒØ¯Ù‡ Ù…ÛŒâ€ŒØ´ÙˆØ¯) ---------- */

.pcal-source {
    margin-top: 16px;
    padding: 14px 16px;
    border: 2px dashed var(--pcal-line);
    border-radius: 14px;
    background: var(--pcal-day-bg);
    font-size: 14px;
}

.pcal-source ul,
.pcal-source ol {
    margin: 8px 0 0;
    padding-right: 20px;
}

.pcal--ready > .pcal-source {
    display: none !important;
}

/* ---------- Ù…ÙˆØ¨Ø§ÛŒÙ„ Ùˆ ØªØ¨Ù„Øª ---------- */

@media (max-width: 900px) {
    .pcal__season {
        flex-direction: column;
        align-items: stretch;
    }

    .pcal__month--focus {
        order: -1;
    }

    .pcal__month .pcal__num {
        font-size: 16px;
    }

    .pcal__tabs,
    .pcal__tabs--season {
        flex-basis: 100%;
        max-width: none;
    }

    .pcal__month .pcal__sub {
        font-size: 10px;
        inset: auto 6px 5px;
    }
}

@media (max-width: 480px) {
    .pcal__header {
        padding: 14px 16px;
    }

    .pcal__title {
        font-size: 22px;
    }

    .pcal__board {
        padding: 10px 8px 12px;
    }
}

.pcal__day--holiday.pcal__day--has-event .pcal__num {
    color: var(--pcal-holiday);
}

/* =========================================================
   CMS news list (homepage + /news) - .latest-news
   Every rule is scoped to .latest-news so other cards are not
   affected. Markup comes from the CMS:
   .allnewspaging > .col-md-4 > .card.lst-item.cardview1 > .card-body
   ========================================================= */

.latest-news { padding: 10px 0 70px; }

.latest-news .latest-news-content { margin: 0; }

/* cards in the centre, equal height */
.latest-news .allnewspaging {
    justify-content: center;
    row-gap: 28px;
}

.latest-news .allnewspaging > [class*="col-"] { display: flex; }

/* two per row on tablets, one per row on phones */
@media (min-width: 768px) and (max-width: 991px) {
    .latest-news .allnewspaging > .col-md-4 { flex: 0 0 50%; max-width: 50%; }
}

/* ---------- card ---------- */

.latest-news .lst-item {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgb(var(--border));
    background: rgb(var(--white-custome));
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}

.latest-news .lst-item:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--second-color), .5);
    box-shadow: var(--shadow-md);
}

.latest-news .lst-item .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

/* image */
.latest-news .lst-item .card-body > a:first-child {
    position: relative;
    display: block;
    overflow: hidden;
    background: rgb(var(--surface));
}

.latest-news .lst-item .card-body > a:first-child::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, .35));
    pointer-events: none;
}

.latest-news .lst-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.latest-news .lst-item:hover img { transform: scale(1.06); }

/* title */
.latest-news .lst-item .card-title {
    display: block;
    margin: 0;
    padding: 20px 22px 0;
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.8;
}

.latest-news .lst-item .card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: inherit;
    color: rgb(var(--black-custome));
    transition: color .3s;
}

.latest-news .lst-item .card-title a:hover { color: rgb(var(--first-color)); }

/* summary (the CMS also prints an empty paragraph) */
.latest-news .lst-item .card-text:empty { display: none; }

.latest-news .lst-item .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 10px 0 0;
    padding: 0 22px;
    font-size: .9rem;
    line-height: 1.9;
    text-align: right;
    color: rgb(var(--gray-custome));
}

/* footer row: date (right) + read more (left) */
.latest-news .lst-item .news-date {
    margin: auto 0 0;
    padding: 18px 22px !important;   /* the ul has bootstrap p-0 (padding 0 !important); chip + button are 34px, 18px from the bottom */
    list-style: none;
    border-top: 1px solid rgb(var(--border));
}

.latest-news .lst-item .card-text:not(:empty) + .news-date,
.latest-news .lst-item .card-title + .news-date { margin-top: 18px; }

/* keep the footer at the bottom of equal-height cards */
.latest-news .lst-item .card-body > .card-text:last-of-type { margin-bottom: auto; }

.latest-news .lst-item .news-date a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-radius: 100px;
    font-size: .82rem;
    color: rgb(var(--gray-custome)) !important;
    background: rgb(var(--surface));
    cursor: default;
}

.latest-news .lst-item .news-date .fa {
    color: rgb(var(--second-color));
}

.latest-news .lst-item .btn {
    position: absolute;
    bottom: 18px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 500;
    color: rgb(var(--first-color)) !important;
    background: rgba(var(--first-color), .08);
    border: 1px solid rgba(var(--first-color), .3);
    box-shadow: none !important;
    transition: background-color .3s, color .3s, border-color .3s;
}

.latest-news .lst-item .btn:hover {
    color: #fff !important;
    background: rgb(var(--first-color));
    border-color: rgb(var(--first-color));
}

@media (max-width: 575px) {
    .latest-news { padding-bottom: 50px; }
    .latest-news .lst-item .card-title { padding: 18px 18px 0; }
    .latest-news .lst-item .card-text { padding: 0 18px; }
    .latest-news .lst-item .news-date { padding: 18px !important; }
    .latest-news .lst-item .btn { left: 18px; }
}

.single-post-box .post-tags .d-inline{
    display: none !important;
}

* =========================================================
   CMS news detail page - .single-post-box
   Every rule is scoped to .single-post-box (only on /NewsDetails/...).
   Markup: .post-image, .title-post (h1 + .post-tags),
   .post-content (blockquote, .post-content-sub-title, #newsContent),
   .share-post-box
   ========================================================= */

/* dark band behind the top of the article, like the other page heroes */
.block-wrapper:has(.single-post-box) {
    position: relative;
    padding: 50px 0 90px;
    background:
        radial-gradient(700px 300px at 85% 0%, rgba(var(--first-light), .25), transparent 60%),
        linear-gradient(180deg, #0B1222 0, rgb(var(--navy)) 200px, #052E25 340px, rgb(var(--surface)) 340px);
}

.single-post-box {
    max-width: 900px;
    margin: 0 auto;
}

/* ---------- image ---------- */

.single-post-box .post-image {
    overflow: hidden;
    margin: 0;
    border-radius: 28px;
    background: rgb(var(--surface));
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55);
}

.single-post-box .post-image img {
    width: 100%;
    max-height: 520px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* ---------- title card (overlaps the image) ---------- */

.single-post-box .title-post {
    position: relative;
    z-index: 1;
    margin: -70px 28px 0;
    padding: 30px 34px 22px;
    border-radius: 24px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-md);
}

.single-post-box .title-post::before {
    content: "";
    position: absolute;
    top: 0;
    right: 34px;
    width: 64px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, rgb(var(--second-color)), rgb(var(--first-color)));
}

.single-post-box .title-post h1 {
    margin: 0 0 16px;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    font-weight: 900;
    line-height: 1.7;
    color: rgb(var(--black-custome));
}

.single-post-box .post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
}

/* only the items that carry an icon (date, views) become chips;
   the text-to-speech item is left to the CMS */
.single-post-box .post-tags > li:has(> .fa) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: .85rem;
    font-style: normal;
    color: rgb(var(--gray-custome));
    background: rgb(var(--surface));
}

.single-post-box .post-tags > li > .fa { color: rgb(var(--second-color)); }

/* ---------- article body ---------- */

.single-post-box .post-content {
    margin-top: 28px;
    padding: 36px 40px;
    border-radius: 26px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
}

/* lead / summary */
.single-post-box .post-content blockquote {
    position: relative;
    margin: 0 0 28px;
    padding: 22px 70px 22px 22px;   /* room for the CMS quote mark on the right */
    border: 0;
    border-right: 4px solid rgb(var(--second-color));
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(var(--first-color), .08), rgba(var(--second-color), .06));
}

.single-post-box .post-content blockquote::before {
    color: rgba(var(--second-color), .6);
}

.single-post-box .post-content blockquote h2,
.single-post-box .post-content blockquote p {
    margin: 0;
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    font-weight: 500;
    line-height: 2;
    color: rgb(var(--black-custome));
}

/* the CMS prints an empty sub title */
.single-post-box .post-content-sub-title:has(> h3:empty) { display: none; }

.single-post-box .post-content-sub-title h3 {
    margin: 0 0 18px;
    font-size: 1.2rem;
    color: rgb(var(--first-color));
}

/* body text */
.single-post-box #newsContent {
    font-size: 1.02rem;
    line-height: 2.2;
    color: rgb(var(--gray-custome));
}

.single-post-box #newsContent p {
    margin: 0 0 18px;
    font-size: inherit;
    line-height: inherit;
    text-align: justify;
    color: inherit;
}

.single-post-box #newsContent p:last-child { margin-bottom: 0; }

.single-post-box #newsContent strong,
.single-post-box #newsContent b { color: rgb(var(--black-custome)); }

.single-post-box #newsContent h2,
.single-post-box #newsContent h3,
.single-post-box #newsContent h4 {
    margin: 28px 0 14px;
    color: rgb(var(--black-custome));
}

.single-post-box #newsContent a {
    color: rgb(var(--first-color));
    text-decoration: underline;
    text-underline-offset: 4px;
}

.single-post-box #newsContent img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 18px;
}

.single-post-box #newsContent ul,
.single-post-box #newsContent ol {
    margin: 0 0 18px;
    padding-right: 22px;
    list-style: revert;
}

.single-post-box #newsContent li { margin-bottom: 8px; }

/* ---------- share ---------- */

.single-post-box .share-post-box {
    margin-top: 24px;
    padding: 18px 24px;
    border-radius: 22px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    display: none;
}

.single-post-box .share-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* first item is the "share" label */
.single-post-box .share-box > li:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-weight: 500;
    color: rgb(var(--black-custome));
}

.single-post-box .share-box > li:first-child .fa { color: rgb(var(--second-color)); }

.single-post-box .share-box > li { margin: 0; padding: 0; float: none; }

.single-post-box .share-post-box ul.share-box li a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0;
    border-radius: 14px;
    font-size: 1.1rem;
    color: rgb(var(--first-color)) !important;
    background: rgba(var(--first-color), .08);
    border: 1px solid rgba(var(--first-color), .2);
    transition: transform .3s var(--ease), background-color .3s, color .3s;
}

.single-post-box .share-post-box ul.share-box li a:hover {
    transform: translateY(-3px);
    color: #fff !important;
    background: rgb(var(--first-color));
}

/* ---------- phones ---------- */

@media (max-width: 767px) {
    .block-wrapper:has(.single-post-box) { padding: 24px 0 60px; }
    .single-post-box .post-image { border-radius: 20px; }
    .single-post-box .title-post { margin: -40px 12px 0; padding: 24px 20px 18px; border-radius: 20px; }
    .single-post-box .title-post::before { right: 20px; }
    .single-post-box .post-content { margin-top: 20px; padding: 24px 18px; border-radius: 20px; }
    .single-post-box .post-content blockquote { padding: 18px 58px 18px 16px; }
    .single-post-box #newsContent p { text-align: right; }
    .single-post-box .share-post-box { padding: 16px; }
    .single-post-box .share-box > li:first-child { width: 100%; margin: 0 0 4px; }
}


/* candidates: the company line is a <strong> in the CMS-safe markup */
strong.Cand-company { font-weight: 400; }

/* =========================================================
   Candidates page - all election candidates (image + numbers)
   ========================================================= */

.Cand-all .lead-text { margin-bottom: 24px; }

.Cand-all-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.Cand-all-stat {
    padding: 16px 8px 14px;
    text-align: center;
    border-radius: 18px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
}

.Cand-all-num {
    display: block;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.3;
    color: rgb(var(--first-color));
}

.Cand-all-label {
    display: block;
    margin-top: 4px;
    font-size: .85rem;
    font-weight: 400;
    color: rgb(var(--gray-custome));
}

.Cand-all-figure { margin: 0; }

.Cand-all-figure > a {
    display: block;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-md);
}

.Cand-all-figure img {
    width: 100%;
    display: block;
    transition: transform .6s var(--ease);
}

.Cand-all-figure > a:hover img { transform: scale(1.03); }

.Cand-all-figure figcaption {
    margin-top: 10px;
    font-size: .8rem;
    text-align: left;
    color: rgb(var(--gray-custome));
}

.Cand-all-figure figcaption a { color: rgb(var(--first-color)); }

@media (max-width: 991px) {
    .Cand-all-figure { margin-top: 32px; }
}

@media (max-width: 575px) {
    .Cand-all-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Homepage - compact link to the events page (.Ev-strip)
   ========================================================= */

.Ev-strip-sec { padding: 10px 0 70px; }

.Ev-strip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 26px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(420px 160px at 0% 50%, rgba(var(--second-color), .18), transparent 70%),
        linear-gradient(120deg, rgb(var(--navy)), #052E25);
    box-shadow: var(--shadow-md);
}

.Ev-strip::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgb(var(--second-color)), rgb(var(--first-color)));
}

.Ev-strip-icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.7rem;
    color: rgb(var(--second-color));
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(var(--second-color), .35);
}

.Ev-strip-text { flex: 1; min-width: 0; }

.Ev-strip .Ev-strip-title {
    margin: 0 0 4px;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    font-weight: 900;
    color: #fff;
}

.Ev-strip .Ev-strip-desc {
    margin: 0 0 10px;
    font-size: .9rem;
    line-height: 1.8;
    text-align: right;
    color: rgba(255, 255, 255, .7);
}

.Ev-strip-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.Ev-strip-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 400;
    color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
}

.Ev-strip-tag .bi { color: rgb(var(--second-color)); }

.Ev-strip .Ev-strip-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 500;
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #E9C766, rgb(var(--second-color)));
    box-shadow: 0 10px 24px -10px rgba(var(--second-color), .7);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.Ev-strip .Ev-strip-btn:hover {
    color: rgb(var(--navy));
    transform: translateX(-4px);
    box-shadow: 0 14px 28px -10px rgba(var(--second-color), .85);
}

@media (max-width: 767px) {
    .Ev-strip-sec { padding-bottom: 50px; }
    .Ev-strip { flex-wrap: wrap; gap: 16px; padding: 20px 18px; }
    .Ev-strip-icon { align-self: flex-start; flex-basis: 52px; width: 52px; height: 52px; font-size: 1.4rem; border-radius: 16px; }
    .Ev-strip-text { flex-basis: calc(100% - 68px); }
    .Ev-strip .Ev-strip-btn { width: 100%; justify-content: center; }
}


/* =========================================================
   Homepage rewrite - vision box (About) and pledge (Manifesto)
   ========================================================= */

.About-vision {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 6px 0 30px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(var(--first-color), .08), rgba(var(--second-color), .08));
    border: 1px solid rgba(var(--first-color), .18);
    border-right: 4px solid rgb(var(--second-color));
}

.About-vision-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

.About-vision-text h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 900;
    color: rgb(var(--first-color));
}

.About-vision-text p {
    margin: 0;
    font-size: .98rem;
    line-height: 2;
    text-align: right;
    color: rgb(var(--black-custome));
}

.Manifesto .Manifesto-pledge {
    position: relative;
    margin: 22px 0 0;
    padding-right: 26px;
    font-size: 1rem;
    line-height: 2.1;
    text-align: right;
    color: rgb(var(--gray-custome));
}

.Manifesto .Manifesto-pledge::before {
    content: "";
    position: absolute;
    top: 12px;
    right: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgb(var(--second-color));
    box-shadow: 0 0 0 4px rgba(var(--second-color), .2);
}

@media (max-width: 575px) {
    .About-vision { padding: 16px; gap: 12px; }
    .About-vision-icon { flex-basis: 42px; width: 42px; height: 42px; font-size: 1.15rem; }
}
/* =========================================================
   Manifesto rewrite - mission statement intro, start of the
   detailed plan, and the technology pledge inside program 4
   ========================================================= */

.Mf-intro .Section-head { max-width: 820px; }
.Mf-intro .Section-head p { line-height: 2.1; }

.Mf-plan-start {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 56px;
    padding: 24px 28px;
    border-radius: 24px;
    background: linear-gradient(120deg, rgb(var(--navy)), #052E25);
    box-shadow: var(--shadow-md);
}

.Mf-plan-start-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 1.4rem;
    color: rgb(var(--second-color));
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(var(--second-color), .35);
}

.Mf-plan-start .Mf-plan-start-title {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 900;
    color: #fff;
}

.Mf-plan-start-years {
    padding: 5px 16px;
    border-radius: 100px;
    font-size: .95rem;
    font-weight: 700;
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #E9C766, rgb(var(--second-color)));
}

.Mf-program .Mf-tech-pledge {
    margin-top: 0;
    margin-bottom: 22px;
    padding: 18px 22px;
    border-radius: 18px;
}

.Mf-program .Mf-tech-pledge p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

@media (max-width: 575px) {
    .Mf-plan-start { margin-top: 40px; padding: 20px 16px; gap: 10px; }
    .Mf-plan-start .Mf-plan-start-title { width: 100%; text-align: center; }
}

/* =========================================================
   Programs page (/fa/axes) - six program cards
   ========================================================= */

.Axis-row.Axis-row-prog { align-items: flex-start; }
.Axis-row-prog .Axis-row-num { margin-top: 10px; }
.Axis-row-prog .Axis-row-body { flex: 1; min-width: 0; }
.Axis-row-prog h3 { font-size: 1.15rem; line-height: 1.7; }
.Axis-row-prog p { line-height: 2; text-align: right; }

.Axis-row-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.Axis-row-topic {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 500;
    color: rgb(var(--second-color));
    background: rgba(var(--second-color), .12);
}

.Axis-row-prog .Axis-row-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    font-size: .88rem;
    font-weight: 700;
    color: rgb(var(--first-color));
    transition: gap .3s var(--ease);
}

.Axis-row-prog .Axis-row-link:hover { gap: 10px; color: rgb(var(--first-color)); }

@media (max-width: 575px) {
    .Axis-row.Axis-row-prog { flex-wrap: wrap; gap: 14px; padding: 20px 18px; }
    .Axis-row-prog .Axis-row-num { margin-top: 12px; }
    .Axis-row-prog .Axis-row-body { flex-basis: 100%; }
}


/* =========================================================
   Candidates page - three branch sections
   ========================================================= */

.Cand-branch + .Cand-branch { margin-top: 50px; }

.Cand-branch-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgb(var(--border));
}

.Cand-branch-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.3rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
}

.Cand-branch-head h2 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 900;
}

.Cand-branch-count {
    margin-right: auto;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: .88rem;
    font-weight: 700;
    color: rgb(var(--second-color));
    background: rgba(var(--second-color), .12);
}

@media (max-width: 575px) {
    .Cand-branch + .Cand-branch { margin-top: 34px; }
    .Cand-branch-head { gap: 10px; margin-bottom: 18px; }
    .Cand-branch-icon { flex-basis: 42px; width: 42px; height: 42px; font-size: 1.1rem; }
}

#footer .sm-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

#footer .sm-list li { margin: 0; padding: 0; }
#footer .sm-list li::before { display: none; }

#footer .sm-list a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.15rem;
    line-height: 1;
    color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: transform .3s var(--ease), color .3s, background-color .3s, border-color .3s;
}

#footer .sm-list a i { font-size: inherit; line-height: 1; }

#footer .sm-list a:hover {
    transform: translateY(-3px);
    color: rgb(var(--navy));
    background: rgb(var(--second-color));
    border-color: rgb(var(--second-color));
}

/* =========================================================
   Contact page - social links box (.Ct-social)
   ========================================================= */

.Ct-social-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 32px;
    border-radius: 26px;
    background: rgb(var(--white-custome));
    border: 1px solid rgb(var(--border));
    box-shadow: var(--shadow-sm);
}

.Ct-social-text { flex: 1; min-width: 0; }

.Ct-social-text h2 {
    margin: 0 0 6px;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 900;
}

.Ct-social-text p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.9;
    text-align: right;
    color: rgb(var(--gray-custome));
}

.Ct-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.Ct-social-links .Ct-social-link { flex: 1; }

.Ct-social .Ct-social-link {
    display: grid;
    grid-template-columns: 46px auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    min-width: 170px;
    padding: 10px 16px 10px 18px;
    border-radius: 18px;
    background: rgb(var(--surface));
    border: 1px solid rgb(var(--border));
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}

.Ct-social .Ct-social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--second-color), .6);
    box-shadow: var(--shadow-md);
}

.Ct-social-link .Ct-social-icon {
    grid-row: 1 / 3;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, rgb(var(--first-light)), rgb(var(--first-color)));
    transition: background .3s;
}

.Ct-social-link:hover .Ct-social-icon {
    color: rgb(var(--navy));
    background: linear-gradient(135deg, #F6DE8D, rgb(var(--second-color)));
}

.Ct-social-name {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.5;
    color: rgb(var(--black-custome));
}

.Ct-social-handle {
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: right;
    direction: ltr;
    unicode-bidi: isolate;
    color: rgb(var(--gray-custome));
}

@media (max-width: 575px) {
    .Ct-social-box { padding: 22px 18px; }
    .Ct-social-links { flex-direction: column; }
    .Ct-social .Ct-social-link { min-width: 0; }
}


