/*
Theme Name: Mazare Soltani 1
Author: Hassan Kashani
Version: 1.0.0
*/

body {
    color: #333;
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    overflow-x: hidden;
    position: relative;
    direction: rtl;
    text-align: right;
}

/* Persian Font Support - Global RTL */
body,
html {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    direction: rtl;
    text-align: right;
}

/* Center alignment override */
.t-center {
    text-align: center !important;
}

.t-left {
    text-align: left !important;
}

.t-right {
    text-align: right !important;
}

/* RTL specific adjustments */
.float-right {
    float: left !important;
}

.float-left {
    float: right !important;
}

.push-left {
    margin-right: 20px !important;
    margin-left: 0 !important;
}

/* Fix for specific elements that need LTR */
.hero-slider {
    direction: ltr;
}

.hero-slider .t-center {
    text-align: center !important;
}

/* Additional Persian font optimizations */
* {
    font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    font-weight: 600;
}

p,
span,
div,
a {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
}

/* Ensure proper line height for Persian text */
p {
    line-height: 1.8;
}

/* Fix for form elements */
input,
textarea,
select,
button {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    direction: rtl;
}

/* Event summary image styling */
.event-summary__image {
    /* width: 100%;
    height: 100%; */
    /* object-fit: cover; */

    border-radius: 50%;
    /* Changed from 4px to 50% to make it circular */
    text-decoration: none;
    display: block;
    top: 0;
    right: 0;
    position: absolute;
    border-radius: 50%;
    width: 80px;
}


img {
    max-width: 100%;
    height: auto;
}

a {
    color: #0d3b66;
}

a:hover {
    text-decoration: none;
}

p,
ul,
ol {
    margin: 0 0 1.65em 0;
}

p,
li {
    line-height: 1.65;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
}

.container--narrow {
    max-width: 960px;
}

.section-break {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2.5rem 0;
}

.min-list {
    padding: 0;
    margin: 0;
}

.min-list li {
    list-style: none;
}

.p-top-small {
    padding-top: 1rem;
}

.p-top-large {
    padding-top: 1.6rem;
}

.p-bottom-large {
    padding-bottom: 1.6rem;
}

@media (min-width: 530px) {
    .p-top-large {
        padding-top: 3.5rem;
    }

    .p-bottom-large {
        padding-bottom: 3.5rem;
    }
}

.no-margin {
    margin: 0;
}

.nu {
    text-decoration: none;
}

.nu:hover {
    text-decoration: underline;
}

.t-right {
    text-align: right;
}

.t-left {
    text-align: left;
}

.t-center {
    text-align: center;
}

.t-small {
    font-size: 0.85rem;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.push-left {
    margin-left: 20px;
}

.container:before,
.container:after,
.group:before,
.group:after {
    content: " ";
    display: table;
}

.container:after,
.group:after {
    clear: both;
}

.hide {
    display: none;
}

.remove-favorite {
    display: inline-block;
    transition: all 0.3s;
    color: #999;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 3px;
}

.remove-favorite:hover {
    background-color: #dedede;
}

.page-section {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
}

@media (min-width: 530px) {
    .page-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

.page-section--white {
    background-color: #fff;
}

.page-section--beige {
    background-color: #faf0ca;
}

.page-section p:last-of-type {
    margin-bottom: 0;
}

.school-logo-text {
    position: relative;
    z-index: 20;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 100;
}

.school-logo-text strong {
    font-weight: 400;
}

.school-logo-text a {
    color: #fff;
    text-decoration: none;
}

.school-logo-text--alt-color a {
    color: #666;
}

.school-logo-text--alt-color a:hover {
    color: #0d3b66;
    text-decoration: underline;
}

@-webkit-keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner-loader {
    margin-top: 45px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    border: 0.25rem solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}

.c-orange {
    color: #f95738;
}

.c-blue {
    color: #0d3b66;
}

.c-white {
    color: #fff;
}

.c-dark {
    color: #333;
}

.gray {
    color: #999;
}

.search-trigger {
    display: none;
    color: #fff;
    position: relative;
    cursor: pointer;
    top: 1px;
    margin-left: 20px;
}

@media (min-width: 960px) {
    .search-trigger {
        display: inline-block;
        top: 6px;
    }
}

.search-trigger:hover {
    opacity: 0.65;
}

.social-icons-list {
    display: flex;
    margin: 0 -8px;
}

.social-icons-list li {
    flex: 1;
    margin: 0 8px;
}

.social-icons-list li a {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 1.25rem;
}

.social-icons-list li a:hover {
    opacity: 0.75;
}

.social-color-facebook {
    background-color: #4862a3;
}

.social-color-twitter {
    background-color: #55acee;
}

.social-color-youtube {
    background-color: #cc1e1f;
}

.social-color-linkedin {
    background-color: #0077b5;
}

.social-color-instagram {
    background-color: #d8226b;
}

.nav-list ul {
    padding: 0;
    margin: 0;
}

.nav-list li {
    list-style: none;
}

.nav-list a {
    font-size: 0.9rem;
    color: #999;
    text-decoration: none;
}

.nav-list a:hover {
    color: #0d3b66;
    text-decoration: underline;
}

.one-half,
.one-third,
.one-fourth,
.one-fifth,
.one-sixth {
    padding-bottom: 1.6rem;
}

@media (min-width: 960px) {
    .row {
        margin-left: -50px;
    }

    .one-half,
    .one-third,
    .two-thirds,
    .one-fourth,
    .one-fifth,
    .one-sixth {
        padding-bottom: 0;
        float: right;
        box-sizing: border-box;
        padding-left: 50px;
    }

    .two-thirds {
        width: 66.66%;
    }

    .one-half {
        width: 50%;
    }

    .one-third {
        width: 33.33%;
    }

    .one-quarter {
        width: 25%;
    }

    .one-fifth {
        width: 20%;
    }

    .one-sixth {
        width: 16.66%;
    }
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
}

.search-form {
    background-color: #dedede;
    padding: 20px;
    text-align: center;
}

.search-form label {
    display: block;
}

.search-form-row {
    display: flex;
}

.search-form .s {
    min-width: 20px;
    flex-basis: auto;
    flex-grow: 1;
    border: none;
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto", sans-serif; */
    padding: 10px;
}

@media (min-width: 530px) {
    .search-form .s {
        font-size: 1.4rem;
    }
}

.search-submit {
    color: #fff;
    border: none;
    border-radius: 4px;
    outline: none;
    background-color: #0d3b66;
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto", sans-serif; */
    padding: 0 20px;
    margin-right: 10px;
}

.note-limit-message {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-out;
    color: #c32929;
    font-weight: bold;
}

.note-limit-message.active {
    visibility: visible;
    opacity: 1;
}

.generic-content .like-box {
    float: left;
    font-size: 1rem;
    background-color: #ededed;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
    color: red;
    padding: 10px 10px 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 0 30px 30px;
    position: relative;
}

.generic-content .like-box:hover {
    background-color: #dedede;
}

.like-count {
    padding-right: 10px;
}

.like-box .fa-heart-o {
    transition: all 0.35s ease-out;
    position: absolute;
    right: 10px;
}

.like-box .fa-heart {
    right: 10px;
    transition: all 0.4s ease-out;
    position: absolute;
    visibility: hidden;
    transform: scale(0.2);
    opacity: 0;
}

.like-box[data-exists="yes"] .fa-heart {
    transform: scale(1);
    visibility: visible;
    opacity: 1;
}

.like-box[data-exists="yes"] .fa-heart-o {
    visibility: hidden;
    opacity: 0;
}

body.login .button-primary {
    background-color: #f95738;
    border-color: #f83e1a;
    text-shadow: 0 -1px 1px #f8320c, 1px 0 1px #f8320c, 0 1px 1px #f8320c, -1px 0 1px #f8320c;
    box-shadow: 0 1px 0 #ed2c07;
}

body.login .button-primary:active,
body.login .button-primary:focus,
body.login .button-primary:hover {
    background-color: #f8411d;
    border-color: #f95738;
    text-shadow: 0 -1px 1px #ed2c07, 1px 0 1px #ed2c07, 0 1px 1px #ed2c07, -1px 0 1px #ed2c07;
    box-shadow: 0 1px 0 #de2907;
}

body.login {
    background-color: #faf0ca;
}

.login h1 a {
    color: #0d3b66;
    font-size: 30px;
    font-weight: 300;
    background-image: none;
    width: auto;
    height: auto;
    text-indent: 0;
}

.btn {
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    font-size: 1.19rem;
    padding: 12px 24px;
    border: none;
    outline: none;
}

.btn--small {
    font-size: 0.88rem;
    padding: 7px 13px;
    font-weight: 300;
}

.btn--with-photo {
    padding-right: 40px;
    position: relative;
}

.btn--orange {
    background-color: #ee964b;
}

.btn--orange:hover {
    background: linear-gradient(#ee964b, #eb6c00);
}

.btn--dark-orange {
    background-color: #f95738;
}

.btn--dark-orange:hover {
    background: linear-gradient(#f95738, #c62000);
}

.btn--blue {
    background-color: #0d3b66;
}

.btn--blue:hover {
    background: linear-gradient(#12518d, #0d3b66);
}

.btn--yellow {
    background-color: #f4d35e;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.22);
}

.btn--yellow:hover {
    background: linear-gradient(#f4d35e, #f0bb00);
}

.btn--beige {
    background-color: #faf0ca;
    color: #173f58;
}

.btn--beige:hover {
    background-color: #f4d35e;
}

.btn--gray {
    background-color: #222;
}

.btn--white {
    background-color: #fff;
    color: #173f58;
}

.btn--white:hover {
    background-color: #ddd;
}

.btn--large {
    font-size: 1.3rem;
    padding: 16px 34px;
    border-radius: 7px;
}

@media (min-width: 530px) {
    .btn--large {
        font-size: 1.9rem;
    }
}

.btn--inactive {
    background-color: transparent;
    cursor: default;
    color: #333;
}

.edit-note,
.delete-note,
.submit-note {
    font-size: 0.9rem;
    background-color: #eee;
    padding: 8px 16px;
    display: inline-block;
    margin-left: 7px;
    border-radius: 4px;
    cursor: pointer;
}

.submit-note {
    color: #fff;
    border: none;
    background-color: #f95738;
    line-height: 1.65;
}

.submit-note:hover {
    background-color: #dd3f21;
}

@media (min-width: 635px) {

    .edit-note,
    .delete-note {
        position: relative;
        top: -12px;
    }
}

.edit-note:hover,
.delete-note:hover {
    background-color: #ddd;
}

.delete-note {
    color: red;
}

.update-note {
    visibility: hidden;
}

.update-note--visible {
    visibility: visible;
}

.note-title-field {
    width: 40%;
    font-size: 1.85rem;
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto Condensed", sans-serif; */
    font-weight: 300;
    color: #0d3b66;
    border: 1px solid transparent;
    padding: 7px;
    outline: none;
    position: relative;
    top: 1px;
}

@media (max-width: 400px) {
    .note-title-field {
        width: 100%;
    }
}

@media (min-width: 635px) {
    .note-title-field {
        width: 65%;
        font-size: 3.125rem;
    }
}

.note-body-field {
    color: #333;
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto", sans-serif; */
    resize: none;
    display: block;
    width: 100%;
    line-height: 1.65;
    font-size: 1.15rem;
    padding: 7px;
    border: 1px solid transparent;
    height: 175px;
    outline: none;
}

.note-active-field {
    border: 1px solid #ddd;
    -webkit-animation: pulseBorder 0.75s alternate infinite;
    animation: pulseBorder 0.75s alternate infinite;
}

@-webkit-keyframes pulseBorder {
    0% {
        border: 1px solid #fff;
    }

    100% {
        border: 1px solid #ccc;
    }
}

@keyframes pulseBorder {
    0% {
        border: 1px solid #fff;
    }

    100% {
        border: 1px solid #ccc;
    }
}

.create-note {
    background-color: #ddd;
    padding: 20px;
    margin-bottom: 20px;
}

.new-note-title {
    width: 100%;
    padding: 10px;
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto", sans-serif; */
    border: none;
    margin-bottom: 10px;
    font-size: 1.15rem;
    box-sizing: border-box;
}

.new-note-body {
    width: 100%;
    box-sizing: border-box;
    resize: none;
    padding: 10px;
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto", sans-serif; */
    border: none;
    margin-bottom: 10px;
    height: 170px;
    font-size: 1.15rem;
    line-height: 1.65;
}

#my-notes {
    position: relative;
}

#my-notes li {
    transition: all 0.4s ease-out;
    opacity: 1;
}

#my-notes li.fade-out {
    height: 0px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0.5;
}

#my-notes li.fade-in-calc {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    position: absolute;
    right: 0;
    left: 0;
    opacity: 0;
}

.site-header {
    z-index: 3;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 20px 0;
}

.site-header__avatar {
    position: absolute;
    top: 0;
    right: 0;
}

.site-header__avatar img {
    display: block;
    width: 30px;
    height: 30px;
}

.site-header__menu {
    visibility: hidden;
    position: absolute;
    background-color: rgba(12, 56, 97, 0.89);
    right: 0;
    left: 0;
    top: -20px;
    padding-top: 58px;
    opacity: 0;
    transform: translateY(-20%);
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
    padding-bottom: 20px;
}

.site-header__menu--active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

@media (min-width: 960px) {
    .site-header__menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
        position: static;
        background-color: transparent;
        float: left;
        padding-top: 0;
        padding-bottom: 0;
        top: 0;
    }
}

.site-header__search-trigger {
    cursor: pointer;
    color: #fff;
    font-size: 1.2rem;
    position: absolute;
    top: 6px;
    left: 16px;
}

@media (min-width: 530px) {
    .site-header__search-trigger {
        top: 4px;
        font-size: 1.4rem;
    }
}

@media (min-width: 960px) {
    .site-header__search-trigger {
        display: none;
    }
}

.site-header__menu-trigger {
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    position: absolute;
    z-index: 10;
    top: 7px;
    left: 46px;
}

@media (min-width: 530px) {
    .site-header__menu-trigger {
        top: 5px;
        font-size: 1.4rem;
    }
}

@media (min-width: 960px) {
    .site-header__menu-trigger {
        display: none;
    }
}

.site-header__util {
    padding: 0 0 0 20px;
}

@media (min-width: 960px) {
    .site-header__util {
        padding: 0;
        float: left;
    }
}

.site-header__btn {
    margin-left: 20px;
}

@media (min-width: 960px) {
    .site-header__btn {
        float: right;
    }
}

.site-header .btn--with-photo {
    margin-left: 0;
}

.site-footer {
    padding: 2rem 0 3.5rem 0;
    background-image: linear-gradient(#fff, #ececec);
}

.site-footer p {
    font-size: 0.9rem;
}

.site-footer .headline {
    color: #666;
    margin-bottom: 0.33rem;
}

.site-footer__link {
    color: #999;
    text-decoration: none;
}

.site-footer__link:hover {
    color: #0d3b66;
    text-decoration: underline;
}

.site-footer__inner {
    border-top: 1px dotted #dedede;
    padding-top: 3.5rem;
}

.site-footer__col-one {
    text-align: center;
}

@media (min-width: 960px) {
    .site-footer__col-one {
        text-align: right;
        width: 33%;
        float: right;
    }
}

.site-footer__col-two-three-group {
    text-align: center;
    width: 85%;
    margin: 0 auto;
}

@media (min-width: 960px) {
    .site-footer__col-two-three-group {
        text-align: right;
        float: right;
        width: 42%;
        margin: 0;
    }
}

.site-footer__col-two {
    width: 50%;
    float: right;
}

.site-footer__col-three {
    width: 50%;
    float: right;
}

.site-footer__col-four {
    padding-top: 20px;
    width: 85%;
    margin: 0 auto;
    clear: both;
    text-align: center;
}

@media (min-width: 960px) {
    .site-footer__col-four {
        padding-top: 0;
        margin: 0;
        clear: none;
        text-align: right;
        width: 25%;
        float: left;
    }
}

.main-navigation {
    padding-top: 2px;
}

.main-navigation ul {
    padding: 0;
    margin: 0;
}

.main-navigation ul:before,
.main-navigation ul:after {
    content: " ";
    display: table;
}

.main-navigation ul:after {
    clear: both;
}

@media (min-width: 960px) {
    .main-navigation {
        float: right;
        margin-left: 20px;
    }
}

.main-navigation li {
    list-style: none;
}

@media (min-width: 960px) {
    .main-navigation li {
        float: right;
        padding-right: 20px;
    }
}

.main-navigation a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 300;
}

@media (min-width: 960px) {
    .main-navigation a {
        display: inline-block;
        padding: 0;
    }
}

.main-navigation .current-menu-item a,
.main-navigation a:hover {
    color: #faf0ca;
}

.page-banner {
    background-color: #000;
    padding: 80px 0 40px 0;
    position: relative;
}

@media (min-width: 530px) {
    .page-banner {
        padding: 130px 0 60px 0;
    }
}

.page-banner__content {
    position: relative;
    z-index: 2;
}

.page-banner__title {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto Condensed", sans-serif; */
    font-weight: 300;
    font-size: 1rem;
    margin: 0 0 1rem 0;
    color: #fff;
}

@media (min-width: 530px) {
    .page-banner__title {
        font-size: 3rem;
    }
}

.page-banner__bg-image {
  opacity: 0.33;
  background-size: cover;
  background-position: center center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.page-banner__intro {
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #ededed;
}

@media (min-width: 530px) {
    .page-banner__intro {
        font-size: 1.65rem;
    }
}

.page-banner__intro p {
    margin: 0;
}

.hero-slider {
    position: relative;
}

.hero-slider div {
    outline: none;
}

.hero-slider__interior {
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (min-width: 960px) {
    .hero-slider__interior {
        padding-top: 130px;
        padding-bottom: 130px;
    }
}

.hero-slider__slide {
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-slider__overlay {
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.322);
    padding: 40px;
    color: #fff;
}

@media (min-width: 960px) {
    .hero-slider__overlay {
        width: 50%;
    }
}

.slick-dots {
    z-index: 100;
    position: absolute;
    right: 0;
    left: 0;
    padding: 0;
    margin: 0;
    text-align: center;
    top: 15px;
}

@media (min-width: 960px) {
    .slick-dots {
        top: 50px;
    }
}

.slick-dots li {
    list-style: none;
    display: inline;
}

.slick-dots li button {
    display: inline-block;
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    border: none;
    margin: 0 4px;
    padding: 0;
    outline: none;
    transition: background-color 0.3s ease-out;
    cursor: pointer;
}

.slick-dots .slick-active button {
    background-color: #fff;
}

.glide__bullets {
    z-index: 100;
    position: absolute;
    right: 0;
    left: 0;
    padding: 0;
    margin: 0;
    text-align: center;
    top: 15px;
}

@media (min-width: 960px) {
    .glide__bullets {
        top: 50px;
    }
}

.glide__bullets button {
    display: inline-block;
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    border: none;
    margin: 0 3px;
    padding: 0;
    outline: none;
    transition: background-color 0.3s ease-out;
    cursor: pointer;
}

.glide__bullets button.glide__bullet--active {
    background-color: #fff;
}

.search-overlay {
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 110;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.96);
    visibility: hidden;
    opacity: 0;
    transform: scale(1.09);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    box-sizing: border-box;
}

.search-overlay p {
    padding-top: 15px;
}

.search-overlay .event-summary p {
    padding-top: 0;
}

.search-overlay .event-summary {
    margin-bottom: 0;
    margin-top: 20px;
}

body.admin-bar .search-overlay {
    top: 32px;
}

.search-overlay__top {
    background-color: rgba(0, 0, 0, 0.12);
}

.search-overlay__icon {
    margin-left: 10px;
    font-size: 1.8rem;
    color: #f95738;
}

@media (min-width: 960px) {
    .search-overlay__icon {
        font-size: 2.5rem;
    }
}

.search-overlay--active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.search-overlay__section-title {
    margin: 30px 0 1px 0;
    font-weight: 400;
    color: #0d3b66;
    font-size: 2rem;
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}

.search-overlay__close {
    position: absolute;
    top: 13px;
    left: 16px;
    font-size: 2.1rem;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #fff;
    color: #f95738;
    line-height: 0.7;
}

@media (min-width: 530px) {
    .search-overlay__close {
        top: 18px;
        font-size: 2.1rem;
    }
}

@media (min-width: 960px) {
    .search-overlay__close {
        top: 26px;
        font-size: 2.8rem;
    }
}

.search-overlay__close:hover {
    opacity: 1;
}

.search-overlay .one-half {
    padding-bottom: 0;
}

.search-term {
    width: 75%;
    box-sizing: border-box;
    border: none;
    padding: 15px 0;
    margin: 0;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 300;
    outline: none;
    color: #f95738;
}

@media (min-width: 530px) {
    .search-term {
        font-size: 1.5rem;
    }
}

@media (min-width: 960px) {
    .search-term {
        width: 80%;
        font-size: 3rem;
    }
}

.body-no-scroll {
    overflow: hidden;
}

.professor-cards {
    margin: 0;
    padding: 0;
}

.search-overlay .professor-cards {
    padding-top: 21px;
}

.professor-card {
    position: relative;
    display: inline-block;
    width: 200px;
    margin-left: 15px;
    background-color: #f95738;
    overflow: hidden;
}

.search-overlay .professor-card {
    width: 180px;
}

.professor-card__image {
    display: block;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.professor-card:hover .professor-card__image {
    opacity: 0.8;
    transform: scale(1.1) rotate(4deg);
}

.professor-card__name {
    font-weight: 300;
    font-size: 0.9rem;
    position: absolute;
    bottom: 0;
    color: #fff;
    right: 0;
    left: 0;
    padding: 3px 10px;
    background-color: rgba(240, 54, 19, 0.85);
}

.professor-card:hover .professor-card__name {
    background-color: rgba(215, 46, 14, 0.85);
}

.professor-card__list-item {
    display: inline-block;
    list-style: none;
}

.headline {
    margin: 0;
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto Condensed", sans-serif; */
    font-weight: 300;
    margin-bottom: 15px;
}

.headline--large {
    font-size: 3.6rem;
    margin-bottom: 25px;
}

@media (min-width: 530px) {
    .headline--large {
        font-size: 3.25rem;
    }
}

.headline--large-medium {
    font-size: 4rem;
    margin: 0 0 1rem 0;
}

.headline--medium {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
    margin-bottom: 20px;
}

@media (min-width: 530px) {
    .headline--medium {
        font-size: 2rem;
        font-weight: 500;
    }
}

.headline--small-plus {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto", sans-serif; */
    font-size: 1.6875rem;
    font-weight: 400;
    margin-bottom: 1.9rem;
}

.headline--small {
    font-size: 1.2rem;
    margin-bottom: 1.9rem;
    margin-bottom: 35px;
}

@media (min-width: 530px) {
    .headline--small {
        font-size: 1.6875rem;
    }
}

.headline--smaller {
    font-size: 1.5rem;
}

.headline--tiny {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto", sans-serif; */
    font-size: 1.3875rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.headline--post-title a {
    color: #0d3b66;
    text-decoration: none;
}

.headline--post-title a:hover {
    text-decoration: underline;
}

.generic-content p,
.generic-content li {
    font-size: 1.15rem;
}

.generic-content blockquote,
.generic-content blockquote p {
    font-size: 1.5rem;
    font-style: italic;
}

.generic-content h1,
.generic-content h2,
.generic-content h3,
.generic-content h4,
.generic-content h5,
.generic-content h6 {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* font-family: "Roboto Condensed", sans-serif; */
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 1rem;
}

.generic-content h1 {
    font-size: 3.6rem;
}

.generic-content h2 {
    font-size: 3.1rem;
}

.generic-content h3 {
    font-size: 2.6rem;
}

.generic-content h4 {
    font-size: 2.1rem;
}

.generic-content h5 {
    font-size: 1.6rem;
}

.generic-content h6 {
    font-size: 1.15rem;
}

@media (min-width: 530px) {
    .generic-content h1 {
        font-size: 6.25rem;
    }

    .generic-content h2 {
        font-size: 2rem;
    }

    .generic-content h3 {
        font-size: 3.125rem;
    }

    .generic-content h4 {
        font-size: 2.4rem;
    }

    .generic-content h5 {
        font-size: 1.9rem;
    }

    .generic-content h6 {
        font-size: 1.15rem;
    }
}

@media (min-width: 960px) {
    .full-width-split {
        display: flex;
    }
}

.full-width-split__one {
    flex: 1;
    padding: 1.6rem 16px;
}

@media (min-width: 960px) {
    .full-width-split__one {
        padding: 40px;
    }
}

@media (min-width: 960px) {
    .full-width-split__one .full-width-split__inner {
        float: left;
    }
}

.full-width-split__two {
    flex: 1;
    background-color: #faf0ca;
    padding: 1.6rem 16px;
}

@media (min-width: 960px) {
    .full-width-split__two {
        padding: 40px;
    }
}

@media (min-width: 1350px) {
    .full-width-split__inner {
        width: 610px;
    }
}

.event-summary {
    position: relative;
    padding-right: 107px;
    min-height: 77px;
    padding-bottom: 1px;
    margin-bottom: 20px;
}

.event-summary__title a {
    color: #173f58;
}

.event-summary__date {
    text-decoration: none;
    display: block;
    top: 0;
    right: 0;
    position: absolute;
    padding: 14px 0 11px 0;
    color: #fff;
    border-radius: 50%;
    background-color: #0d3b66;
    width: 80px;
    height: 55px;
    line-height: 1;
    transition: opacity 0.33s;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.22);
}

.event-summary__date:hover {
    opacity: 0.75;
}

.event-summary__date--beige {
    background-color: #f4d35e;
}

.event-summary--small {
    font-size: 1rem;
    font-weight: 300;
}

.event-summary__month {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
}

.event-summary__day {
    display: block;
    font-size: 1.7rem;
    font-weight: 600;
}

.event-summary__yer {
    display: block;
    font-size: 0.7rem;
    font-weight: 300;
}

.page-links {
    position: relative;
    z-index: 1;
    background-color: #faf0ca;
    margin: 0 0 40px 0;
}

@media (min-width: 767px) {
    .page-links {
        margin: 0 0 40px 20px;
        width: 300px;
        float: left;
    }
}

.page-links__title {
    margin: 0;
    font-weight: normal;
    text-align: center;
    padding: 20px 0;
    background-color: #0d3b66;
    color: #fff;
}

.page-links__title a {
    color: #fff;
    text-decoration: none;
    background-color: #0d3b66;
}

.page-links li {
    border-top: 1px solid #f4de89;
}

.page-links li:first-child {
    border-top: none;
}

.page-links__active,
.page-links .current_page_item {
    text-align: center;
    background-color: #f4e6b1;
    color: #0d3b66;
    font-weight: bold;
}

.page-links li a {
    display: block;
    text-align: center;
    padding: 17px 10px;
    text-decoration: none;
    color: #0d3b66;
    transition: all 0.3s;
}

.page-links li a:hover {
    color: #0a2b4b;
    background-color: #f2e3aa;
}

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.acf-map img {
    max-width: inherit !important;
}

.link-list li {
    padding: 1rem 0;
    font-size: 1.5rem;
    border-bottom: 1px dotted #dedede;
}

.search-overlay .link-list li {
    font-size: 1.3rem;
}

.link-list li:last-child {
    border-bottom: none;
}

.link-list a {
    color: #f95738;
}

.metabox {
    background-color: #faf0ca;
    border-radius: 3px;
    padding: 10px 15px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.07);
}

.metabox--position-up {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
}

.metabox--with-home-link {
    padding: 0;
}

.metabox__main {
    padding: 10px 15px 10px 11px;
    display: inline-block;
}

.metabox p {
    margin: 0;
    font-size: 0.9rem;
    color: #a79038;
}

.metabox a {
    color: #a79038;
    text-decoration: none;
    font-weight: bold;
}

.metabox a:hover {
    text-decoration: underline;
}

.metabox .metabox__blog-home-link {
    background-color: #0d3b66;
    color: #fff;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 3px 0 0 3px;
    font-weight: normal;
}

.metabox .metabox__blog-home-link:hover {
    text-decoration: none;
    background-color: #0a2e4f;
}

.post-item {
    border-bottom: 1px dotted #dedede;
    padding-bottom: 1.7rem;
    margin-bottom: 1.7rem;
}

.post-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

/*-------------------------------------------------*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* 1 */
    /*font-family: monospace, monospace;*/
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* 1 */
    /* font-family: monospace, monospace; */
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: "Vazirmatn", "Tahoma", "Arial", "Roboto", sans-serif;
    /* 1 */
    /* font-family: inherit;  */
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
    /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
    /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}

.glide {
    position: relative;
    width: 100%;
    box-sizing: border-box
}

.glide * {
    box-sizing: inherit
}

.glide__track {
    overflow: hidden
}

.glide__slides {
    position: relative;
    width: 100%;
    list-style: none;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    touch-action: pan-Y;
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    display: flex;
    flex-wrap: nowrap;
    will-change: transform
}

.glide__slides--dragging {
    user-select: none
}

.glide__slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    white-space: normal;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent
}

.glide__slide a {
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none
}

.glide__arrows {
    -webkit-touch-callout: none;
    user-select: none
}

.glide__bullets {
    -webkit-touch-callout: none;
    user-select: none
}

.glide--rtl {
    direction: rtl
}

.book-pdf a {
    display: inline-block;
    padding: 10px 20px;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin: 20px 0;
}

.book-pdf a:hover {
    background: #0055aa;
}

/* Audio/Video Containers */
.audio-container,
.video-container {
    margin: 20px 0;
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery .image {
    border: 1px solid #eee;
    padding: 10px;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    /* 4 columns (adjust 250px as needed) */
    gap: 15px;
    width: 100%;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    /* Square ratio (adjust if needed) */
    overflow: hidden;
    /* Hide overflow for consistent sizing */
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fill container */
    display: block;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 videos per row */
    gap: 20px;
    width: 100%;
}

.video-item {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive - 1 video per row on mobile */
@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: 1fr;
    }
}

.audio-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns */
    gap: 20px;
    width: 100%;
}

.audio-item {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
}

.audio-item audio {
    width: 100%;
}

.audio-title {
    margin: 8px 0 0;
    font-size: 0.9em;
    text-align: center;
    color: #555;
}

/* Responsive - 1 audio per row on mobile */
@media (max-width: 600px) {
    .audio-gallery {
        grid-template-columns: 1fr;
    }
}

.audio-gallery+.video-gallery {
    margin-top: 20px;
}

/* Hide all submenus by default */
.sub-menu {
    display: none;
}

/* Show submenu when parent is clicked */
.menu-item-has-children:hover>.sub-menu,
.menu-item-has-children:active>.sub-menu {
    display: block;
}

/* Alternative for better mobile support */
@media (hover: none) {
    .menu-item-has-children.active>.sub-menu {
        display: block;
    }
}