* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: IRANSansXFaNum;
    font-style: normal;
    font-weight: 500;
    src: url("assets/fonts/IRANSansXFaNum-Medium.woff") format("Woff"),
        url("assets/fonts/IRANSansXFaNum-Medium.woff2") format("Woff2");
}

@font-face {
    font-family: Nastaligh;
    src: url("assets/fonts/IranNastaliq.ttf");
}

html {
    @media only screen and (max-width: 700px) {
        font-size: 80%;
    }
}

body {
    font-family: IRANSansXFaNum, sans-serif;
    position: relative;
}

span {
    display: inline-block;
}

button {
    font-family: inherit;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

.header {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem .5rem;

    @media only screen and (max-width: 700px) {
        justify-content: space-between;
        padding: 1rem 1rem;
        gap: 0;

        div.pip {
            display: none;
        }

        a {
            display: none;
        }

        div.dummy-icons {
            display: none;
        }
    }
}

.header a {
    font-size: 1rem;
}

.header a:hover {
    color: rgb(255, 223, 18);
}

.header__icons {
    margin-right: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__icons i {
    cursor: pointer;
}

.header__icons i:hover {
    color: rgb(255, 223, 18);
}

.logo {
    width: 3rem;
}

.pip {
    width: 3px;
    height: 1.5rem;
    border-radius: 10px;
    background-color: #56c5d0;
}

.hero-section {
    min-height: 100vh;
    background: url(assets/images/background.png);
    background-size: cover;

    @media only screen and (max-width: 700px) {
        min-height: 60vh;
    }
}

.news-section {
    background-color: #2fbec1;
    color: #1068ae;
    padding: 1rem;

    @media only screen and (max-width: 700px) {
        min-height: 75vh;
    }
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    font-size: 5rem;
    font-family: Nastaligh, sans-serif;
    color: #1068ae;
    line-height: 4rem;
    text-align: center;
    margin-top: 2rem;

    @media only screen and (max-width: 700px) {
        font-size: 3.5rem;
        gap: 1.5rem;

        .chizbilak {
            width: 15%;
        }
    }
}

.title--moved {
    position: relative;
    top: -10rem;
}

.title .chizbilak {
    width: 30%;
}

.slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.swiper {
    width: 80%;
    margin: 0 !important;
}

/* Custom Slide Styling */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 1rem;
}

.swiper-slide span {
    display: block;
    padding: 1rem;
    color: #243444;
}

/* Custom Navigation Buttons */
.custom-prev,
.custom-next {
    color: #2fbec1;
    border: 2px solid white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    background-color: #fff;
    font-size: 1.35rem;
    display: flex;
    justify-content: center;
    align-items: center;
}


.news-section p {
    font-size: 1.5rem;
    text-align: center;
}

.news-section .white-line {
    height: 1px;
    background-color: white;
    width: 30%;
}

.news-archive {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 10rem;
    gap: 2rem;
}

.newest-section {
    min-height: 120vh;
    background: linear-gradient(#e9e9e9 85%, #116daf 15%);
    padding: 1rem;
}

.speech {
    display: flex;
    padding: 3rem;
    min-height: 25rem;
    border-radius: 1rem;
    width: 70%;
    margin: 0 auto;
    background-image: url("assets/images/speech_background.png");
    background-size: cover;
    background-position: right;
    position: relative;
    top: -10rem;
    justify-content: flex-end;
    color: white;
    border: 2px solid #fff;

    @media only screen and (max-width: 700px) {
        width: 100%;

        .dummy {
            display: none;
        }

        .speech__content {
            width: 100%;
        }
    }
}

.dummy {
    width: 50%;
}

.speech__content {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.speech__label {
    padding: 0.2rem 0.5rem;
    color: #2072b3;
    background-color: white;
    font-size: 0.9rem;
    border-radius: 1rem;
}

.speech__title {
    font-size: 2rem;
    margin-top: 1rem;
}

.speech__speaker {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.speech__link {
    background: transparent;
    padding: 0.25rem 0.5rem;
    border: 2px solid white;
    border-radius: 1rem;
    margin-top: 1rem;
}

.newest-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    top: -10rem;
    justify-content: center;
    margin-top: 5rem;
}

.newest-links a {
    border-bottom: 3px solid #77797b;
    padding-bottom: 0.25rem;
    color: #243444;
}

.newest-links a:hover {
    border-color: #f3af12;
}

.slider--2 {
    position: relative;
    top: -10rem;
}

.slider--2 .custom-next,
.slider--2 .custom-prev {
    border-color: #1068ae;
    color: #1068ae;
}

.medias {
    width: 95%;
    max-width: 885px;
    background: white;
    margin: 0 auto;
    position: relative;
    top: -5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0 7rem;
    gap: 1rem;
    row-gap: 2rem;
    flex-wrap: wrap;
    padding: 30px 15px 20px;

    @media only screen and (max-width: 700px) {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        height: auto;
        padding: 2rem;

        .point {
            display: none;
        }
    }
}

.media {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}


.media span {
    color: #77797b;
    margin-top: .35rem;
}

.media__image-container {
    padding: 2rem;
    border: 1px solid #1068ae;
    border-radius: 50%;
    width: 7rem;
    height: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s ease;
}

.media__image-container:hover {
    background-color: #F4F2F3;
}

.media__image {
    width: 3rem;
}

.point {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #f3af12;
    position: relative;
    top: -1rem
}

.copy-right-section {
    background-color: #56c5d0;
    color: #243444;
    text-align: center;
    padding: .5rem;
}

.dummy-icons {
    visibility: hidden;
    opacity: 0;
}

.swiper-button-lock {
    display: flex !important;
}

.mobile-sidebar-button {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;

    @media only screen and (max-width: 700px) {
        display: block;
    }
}

.mobile-sidebar {
    right: 0;
    top: 0;
    position: fixed;
    width: 20rem;
    height: 100vh;
    z-index: 101;
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateX(300%);
    transition: all .3s ease;
    padding: 1rem 2rem;
    color: white;
}

.mobile-sidebar__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.2);
    display: none;
}

.mobile-sidebar--active {
    transform: translateX(0%);
}

.mobile-sidebar__overlay--active {
    display: block;
}

.mobile-sidebar__header {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.mobile-sidebar__close {
    cursor: pointer;
}

.mobile-sidebar__links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;


}

.mobile-sidebar__links a:hover {
    color: rgb(255, 223, 18);
}