html { font-family: sans-serif; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; height: 100%; }
body { margin: 0; min-height: 100%; background-color: #fff; font-size: 14px; line-height: 20px; color: #333; }
section { display: block; }
a { background-color: transparent; text-decoration: none; }
img { max-width: 100%; vertical-align: middle; display: inline-block; border: 0; }
* { box-sizing: border-box; }

.w-slider { position: relative; height: 300px; text-align: center; background: #ddd; clear: both; -webkit-tap-highlight-color: transparent; }
.w-slider-mask { position: relative; display: flex; overflow: hidden; z-index: 1; left: 0; right: 0; height: 100%; white-space: nowrap; }
.w-slide { position: relative; display: inline-block; vertical-align: top; width: 100%; height: 100%; white-space: normal; text-align: left; flex: none; }
.w-slider-arrow-left, .w-slider-arrow-right { position: absolute; width: 80px; top: 0; right: 0; bottom: 0; left: 0; margin: auto; cursor: pointer; overflow: hidden; color: #fff; font-size: 40px; user-select: none; }
.w-slider-arrow-left { z-index: 3; right: auto; }
.w-slider-arrow-right { z-index: 4; left: auto; }
.w-slider-nav { position: absolute; z-index: 2; top: auto; right: 0; bottom: 0; left: 0; margin: auto; padding-top: 10px; height: 40px; text-align: center; }
.w-slider-nav.w-round>div { border-radius: 100%; }
.w-slider-dot { position: relative; display: inline-block; width: 100%; height: 1em; background-color: rgba(255,255,255,.4); cursor: pointer; margin: 0 3px .5em; transition: background-color .1s, color .1s; }
.w-slider-dot.w-active { background-color: #fff; }

:root {
  --light: #fff; --dark: #17181c; --font--body: "Vazirmatn", "Mona Sans", sans-serif;
  --heading--h1: 72px; --heading--h6: 20px; --radius--big: 40px; --radius--round: 100vw;
  --bg-1: #f6f6f2; --semi-transparent-white: #fffc; --text--text-small: 14px; --text--text-body: 16px;
  --font--wide: "Vazirmatn", "Mona Sans Wide", sans-serif; --letter-spacing--2: -.02em; 
  --letter-spacing--4: -.04em; --letter-spacing--1: -.01em; --letter-spacing--2-0: .02em; --border-dark: #17181c29;
}

body { background-color: var(--light); font-family: var(--font--body); color: var(--dark); font-size: var(--text--text-body); line-height: 150%; }
a { color: var(--dark); }
.main-container { width: 100%; max-width: 1800px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.image-cover { object-fit: cover; width: 100%; height: 100%; }
.label { letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; font-size: 12px; font-weight: 600; line-height: 16px; }
.text-h6 { letter-spacing: var(--letter-spacing--2); font-size: 20px; font-weight: 600; line-height: 140%; }
.text-h6.wide { font-family: var(--font--wide); text-transform: uppercase; font-weight: 800; }
.text-body { font-size: var(--text--text-body); margin: 0; font-weight: 400; }
.text-body.sans { font-family: var(--font--body); }
.text-small { font-size: var(--text--text-small); margin: 0; font-weight: 400; line-height: 142%; }

.cta-main { border-radius: var(--radius--big); background-color: var(--dark); color: var(--light); font-size: var(--text--text-body); text-align: center; cursor: pointer; justify-content: center; align-items: center; padding: 10px 24px; font-weight: 600; line-height: 150%; display: flex; overflow: hidden; }
.cta-main.light { background-color: var(--light); color: var(--dark); }
.button-arrow { justify-content: center; align-items: center; display: flex; }
.button-content-tile { grid-column-gap: 8px; grid-row-gap: 8px; justify-content: flex-start; align-items: center; display: flex; }
.button-animation-hide { height: 24px; overflow: hidden; }

.section-hero { color: #fff; position: relative; padding-top: 140px; padding-bottom: 120px; background-color: var(--dark); }
.master-hero { grid-column-gap: 60px; grid-row-gap: 60px; flex-flow: column; justify-content: flex-start; align-items: flex-start; display: flex; }
.top-hero { max-width: 980px; opacity: 0; transition: opacity 1s ease; }
.top-hero.is-visible { opacity: 1; }
.bottom-hero { max-width: 820px; }
.h1-heading { margin: 0; font-size: var(--heading--h1); font-weight: 600; line-height: 110%; text-transform: uppercase; }
.subtitle { font-size: 26px; font-weight: 600; line-height: 122%; }

.section-events-slider { background-color: var(--dark); color: var(--light); padding-top: 96px; padding-bottom: 120px; position: relative; overflow: hidden; isolation: isolate; }
.headline-slider { grid-column-gap: 24px; grid-row-gap: 24px; text-align: center; flex-flow: column; justify-content: flex-start; align-items: center; max-width: 640px; margin: 0 auto 64px; display: flex; }
.heading-slider { grid-column-gap: 16px; grid-row-gap: 16px; flex-flow: column; display: flex; }
.slider-events { background-color: transparent; width: 100%; height: 100%; }
.slide-event { padding-left: 16px; padding-right: 16px; position: static; }
.mask-event { width: 50%; margin: 0 auto; overflow: visible; }

.slider-big-card { height: 504px; position: relative; overflow: hidden; border-radius: var(--radius--big); cursor: pointer; }
.full-card-link { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 15; display: block; }
.event-image { position: relative; height: 100%; }
.event-absolute-category { z-index: 10; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--light); background-color: #0006; padding: 4px 8px; position: absolute; top: 12px; right: 12px; border-radius: 8px; }
.event-absolute-info { z-index: 20 !important; position: absolute; bottom: 24px; right: 24px; left: 24px; pointer-events: none; }
.event-card-overlay { z-index: 1 !important; background-image: linear-gradient(0deg, #000, rgba(0,0,0,0)); width: 100%; height: 160px; position: absolute; inset: auto 0% -16px; pointer-events: none !important; }

.event-room-info { grid-column-gap: 16px; grid-row-gap: 16px; justify-content: flex-start; align-items: center; height: 24px; display: flex; }
.event-room-tile { grid-column-gap: 8px; grid-row-gap: 8px; justify-content: flex-start; align-items: center; display: flex; }
.event-info-text { grid-column-gap: 4px; grid-row-gap: 4px; display: flex; }
.event-price-and-location { grid-column-gap: 8px; grid-row-gap: 8px; display: flex; }
.event-card-bottom { height: auto; overflow: visible; min-height: 24px; padding-bottom: 10px; }
.event-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.preview-link-white { color: var(--light); text-decoration: underline; }

.edit-btn-active,
.event-delete-form { position: relative !important; z-index: 25 !important; pointer-events: auto; }
.click-more-hint { display: inline-block; font-size: 13px; color: #e5bf97; margin-top: 8px; opacity: 0.8; transition: all 0.3s ease; text-decoration: none; }
.slider-big-card:hover .click-more-hint { opacity: 1; transform: translateX(4px); }
html[dir="rtl"] .slider-big-card:hover .click-more-hint { transform: translateX(-4px); }

.slider-button { border-radius: var(--radius--round); background-color: var(--bg-1); color: var(--dark); justify-content: center; align-items: center; width: 48px; height: 48px; display: flex; }
.slider-button.next { margin-left: 5%; }
.slider-button.previous { margin-right: 5%; }

.gallery-preview { background-color: transparent; width: 100%; height: 100%; position: absolute; inset: 0; }
.gallery-image { width: 100%; height: 100%; }

.section-past-events { background-color: #0a0a0b; padding: 80px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.past-events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.past-card { background: #121214; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; opacity: 0.8; transition: 0.3s; }
.past-card:hover { opacity: 1; transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.past-card-img { width: 100%; height: 200px; object-fit: cover; filter: grayscale(80%); transition: 0.3s; }
.past-card:hover .past-card-img { filter: grayscale(0%); }
.past-card-body { padding: 20px; }
.badge-ended { display: inline-block; background: rgba(255,255,255,0.1); color: #a1a1aa; font-size: 12px; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.past-event-title-link { color: #fff; text-decoration: none; }

@media screen and (max-width: 991px) {
  .section-hero { padding-top: 110px; padding-bottom: 100px; }
  .h1-heading { font-size: 54px; }
  .section-events-slider { padding-top: 64px; padding-bottom: 64px; }
  .mask-event { width: 70%; }
}
@media screen and (max-width: 767px) {
  .h1-heading { font-size: 44px; }
  .slider-big-card { height: 400px; }
}
@media screen and (max-width: 479px) {
  .h1-heading { font-size: 32px; }
  .subtitle { font-size: 20px; }
  .main-container { padding-left: 16px; padding-right: 16px; }
  .section-hero { padding-top: 80px; padding-bottom: 60px; }
  .section-events-slider { padding-top: 48px; padding-bottom: 48px; }
  .mask-event { width: 85%; }
  .slider-big-card { height: 300px; }
  .button-arrow { display: none; }
}
.site-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 100; padding: 30px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.brand-logo { text-decoration: none; display: flex; align-items: center; }
.brand-logo img { height: 40px; width: auto; object-fit: contain; }
.header-right { display: flex; align-items: center; gap: 40px; }
.main-nav { display: flex; gap: 32px; }
.nav-link { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.nav-link:hover, .nav-link.active-nav { color: #e5bf97; }

.lang-form { display: flex; gap: 8px; margin: 0; }
.lang-btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 13px; transition: 0.3s; }
.lang-btn:hover { background: rgba(255,255,255,0.1); }
.lang-btn.active-lang { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

@media screen and (max-width: 767px) {
  .header-inner { flex-direction: column; gap: 20px; }
  .header-right { flex-direction: column; gap: 20px; }
  .main-nav { gap: 20px; flex-wrap: wrap; justify-content: center; }
}

/* Mobile layout shared by Events, Works and Contact pages. */
@media screen and (max-width: 767px) {
  body {
    overflow-x: hidden;
    background-attachment: scroll !important;
  }
  .site-header {
    position: relative;
    padding: 14px 0;
    background: #17181c;
  }
  .main-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-inner {
    gap: 12px;
  }
  .brand-logo img {
    height: 32px;
  }
  .header-right {
    width: 100%;
    gap: 10px;
  }
  .main-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 0 6px;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  .nav-link {
    flex: 0 0 auto;
    font-size: 11px;
    letter-spacing: .5px;
  }
  .section-hero {
    padding-top: 52px;
    padding-bottom: 56px;
  }
  .events-page .section-hero {
    background-image: linear-gradient(#00000073, #00000073), url("../images/head1-800.fe6f41596757.webp") !important;
  }
  .master-hero {
    gap: 24px;
  }
  .h1-heading {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 48px);
    overflow-wrap: anywhere;
  }
  .subtitle {
    font-size: 18px;
    line-height: 1.4;
  }
  .section-events-slider {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .headline-slider {
    margin-bottom: 32px;
  }
  .mask-event {
    width: calc(100% - 32px);
    max-width: 520px;
  }
  .slide-event {
    padding-left: 0;
    padding-right: 0;
  }
  .slider-big-card {
    height: min(115vw, 430px);
    min-height: 360px;
    border-radius: 24px;
  }
  .event-absolute-info {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
  .event-bottom-content,
  .event-bottom-content > div {
    align-items: flex-start !important;
  }
  .slider-button {
    width: 40px;
    height: 40px;
  }
  .slider-button.previous {
    margin-right: 2px;
  }
  .slider-button.next {
    margin-left: 2px;
  }
  .section-past-events {
    padding: 52px 0;
  }
  .past-events-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 28px;
  }
  .past-card-img {
    height: min(62vw, 260px);
  }
}

@media screen and (max-width: 390px) {
  .mask-event {
    width: 100%;
  }
  .slider-big-card {
    min-height: 340px;
  }
  .text-h6 {
    font-size: 18px;
  }
}

