:root {
  --content-width: 1140px;

  /* =====================================================================
     Unified design tokens — single source of truth for every section
     stylesheet (home, archive, exhibition, tours, hotel, header, footer,
     vip). Previously each section redefined the same palette under its own
     prefix (--exs-*, --home-*, --ho-* …); they all reference these now.
     ===================================================================== */
  --ast-primary: var(--e-global-color-primary, #1b2a6b);
  --ast-accent: var(--e-global-color-accent, #2d9145);
  --ast-accent-dark: #166f2c;
  --ast-accent-light: rgb(45 194 69 / 15%);
  --ast-dark: #0f1b4c;
  --ast-ink: #1f2937;
  --ast-muted: #6b7280;
  --ast-line: #ececec;
  --ast-soft: #f6f7f9;
  --ast-bg: #f5f6f8;
  --ast-radius: 14px;
  --ast-radius-sm: 10px;
  --ast-maxw: 1200px;
  --ast-gap: 24px;

  /* Header */
  --ast-header-height: 72px;

  /* VIP (dark section) */
  --ast-vip-gold: #bb9727;
  --ast-vip-gold-light: #e6c982;
  --ast-vip-bg: #0c0e14;
  --ast-vip-panel: #15171f;
  --ast-vip-panel-2: #1b1e28;
  --ast-vip-text: #ece8e0;
  --ast-vip-muted: #9a958c;
  --ast-vip-line: rgba(255, 255, 255, 0.1);
  --ast-vip-serif: inherit;

  /* Footer (dark section) */
  --ast-footer-bg: #2e3aa0;
  --ast-footer-text: rgba(255, 255, 255, 0.78);
  --ast-footer-heading: #ffffff;
  --ast-footer-line: rgba(255, 255, 255, 0.16);
}

* {
  interpolate-size: allow-keywords;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  overflow-x: hidden;
}
:is(html[lang="fa-IR"], html[lang="ar"])
  :is(body, span, div, p, button, a, input) {
  font-family: IRANSansXFaNum;
}
::-webkit-scrollbar {
  width: 6px;
  background: #f7f7f7;
}
::-webkit-scrollbar-thumb {
  background: var(--ast-primary);
  border-radius: 6px;
}
blockquote {
  border: 1px solid #eee;
  padding: 12px 24px 24px 24px;
  margin: 0;
}
blockquote::before {
  content: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20width%3D%2232%22%20height%3D%2232%22%3E%3Cpath%20d%3D%22M10%208C6.699219%208%204%2010.699219%204%2014L4%2024L14%2024L14%2014L6%2014C6%2011.78125%207.78125%2010%2010%2010%20Z%20M%2024%208C20.699219%208%2018%2010.699219%2018%2014L18%2024L28%2024L28%2014L20%2014C20%2011.78125%2021.78125%2010%2024%2010%20Z%20M%206%2016L12%2016L12%2022L6%2022%20Z%20M%2020%2016L26%2016L26%2022L20%2022Z%22%2F%3E%3C%2Fsvg%3E);
  display: block;
}
:is(input, textarea):focus-visible {
  outline: none;
  border-color: var(--primary);
}

/* VIP */
html:has(#vip-header) {
  cursor:
    url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22transform%3A%20rotate%28-20deg%29%3B%22%20fill%3D%22%23FFFFFF%22%3E%3Cpath%20d%3D%22M16%204.4375L15.09375%206.625L7.09375%2025.625L6.1875%2027.75L8.34375%2026.9375L16%2024.0625L23.65625%2026.9375L25.8125%2027.75L24.90625%2025.625L16.90625%206.625%20Z%20M%2016%209.53125L22.1875%2024.25L16.34375%2022.0625L16%2021.9375L15.65625%2022.0625L9.8125%2024.25Z%22%2F%3E%3C%2Fsvg%3E),
    auto;
}
body:has(#vip-header) footer > div {
  background-color: #171717;
}
body:has(#vip-header) footer .e-4443201-d28562d {
  color: hsl(230 0% 90% / 1);
}
body:has(#vip-header) footer hr.e-divider-base {
  background-color: #333333;
}

/* Table */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
th {
  padding: 18px 20px;
  text-align: right;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  color: #2c2c28;
  text-transform: uppercase;
  background-color: #f7f7f7;
  border-bottom: 2px solid #d0d0c0;
}
td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: #3a3a35;
  background-color: #ffffff;
  border-bottom: 1px solid #e8e8e0;
  transition: all 0.2s ease;
}
tbody tr:nth-child(even) td {
  background-color: #f7f7f7;
}
tbody tr:hover td {
  background-color: #f1f1f1;
  transform: scale(1.002);
  box-shadow: inset 0 1px 0 #ffffff;
}
tbody tr:last-child td {
  border-bottom: none;
}
table a {
  color: #5a5a50;
  text-decoration: none;
  border-bottom: 1px dashed #c0c0b0;
  transition: color 0.2s;
}
table a:hover {
  color: #8a8a78;
  border-bottom-color: #a0a090;
}
@media (max-width: 768px) {
  th,
  td {
    padding: 12px 14px;
    font-size: 0.8rem;
  }
}

/* Comment */
textarea#comment {
  width: 100%;
  border: 1px solid #ddd;
  box-sizing: border-box;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}
input#submit {
  all: unset;
  color: white;
  background-color: var(--ast-accent);
  padding: 12px 32px;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
}
input#submit:hover {
  background-color: var(--ast-primary);
}
ul.comment-list,
ul.children {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
li.comment {
  border: 1px solid #eee;
  padding: 16px;
}
footer.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
a.comment-reply-link {
  text-decoration: underline;
  text-underline-offset: 8px;
  font-size: 12px;
}
#commentform {
  display: flex;
  flex-direction: column;
}
#commentform p:not(.form-submit) input {
  border: 1px solid #ddd;
  padding: 10px 12px;
}
#commentform p {
  position: relative;
}
#commentform label {
  position: absolute;
  top: -12px;
  left: 12px;
  background-color: white;
  padding: 0 12px;
}
.rtl #commentform label {
  left: auto;
  right: 12px;
}
#commentform p:not(.form-submit) :is(input, textarea) {
  padding: 16px;
}
p.comment-form-author {
  display: flex;
  flex-direction: column;
  order: 0;
  margin: 0;
}
p.comment-form-comment {
  order: 1;
}
p.form-submit {
  order: 2;
}
p.comment-form-aios-antibot-keys {
  order: 3;
  margin: 0;
}

/* Gform */
.gform_heading,
.gfield_required {
  display: none !important;
}
.gform_fields {
  gap: 10px !important;
}
.gfield_label {
  font-weight: 600 !important;
}
.gfield :is(input, textarea, select) {
  border: 1px solid var(--ast-accent) !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
.gfield :is(input, textarea, select):placeholder-shown {
  color: #888 !important;
}
.ginput_container_select {
  position: relative !important;
}
.ginput_container_select::after {
  content: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%206L8.70707%209.67453C8.31818%2010.1085%207.68182%2010.1085%207.29293%209.67453L4%206%22%20stroke%3D%22%23444%22%20stroke-width%3D%221.2%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%2F%3E%3C%2Fsvg%3E");
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: block;
  pointer-events: none;
  width: 16px;
  height: 16px;
}
.gform_button,
.gform_next_button {
  all: unset !important;
  color: white !important;
  background: var(--ast-accent) !important;
  padding: 6px 48px !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  border-radius: 100px !important;
  -webkit-border-radius: 100px !important;
  -moz-border-radius: 100px !important;
  -ms-border-radius: 100px !important;
  -o-border-radius: 100px !important;
}
.gform_button:hover {
  background: var(--ast-primary) !important;
}
.gform_previous_button {
  font-weight: 400 !important;
  border-radius: 100px !important;
  -webkit-border-radius: 100px !important;
  -moz-border-radius: 100px !important;
  -ms-border-radius: 100px !important;
  -o-border-radius: 100px !important;
}
.gform-theme--framework
  .gfield--input-type-datepicker
  .ginput_container_date
  input {
  width: 100%;
}
#gfield_instruction_4_17,
#gfield_instruction_4_18 {
  display: none;
}
div#input_5_16,
div#input_5_17,
div#input_5_19 {
  flex-direction: row;
  flex-wrap: wrap;
}
#ui-datepicker-div {
  display: none;
}

@media (max-width: 768px) {
  blockquote {
    padding: 10px 18px 18px 18px;
  }
  input.gform_button {
    width: 100% !important;
    text-align: center !important;
    font-size: 14px !important;
  }
}

@keyframes shimmer {
  0% {
    -webkit-mask-position: 140% 140%;
    mask-position: 140% 140%;
  }
  100% {
    -webkit-mask-position: -20% -20%;
    mask-position: -20% -20%;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes vip_gradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes heartbit {
  0% {
    opacity: 1;
    filter: drop-shadow(0 0 64px rgba(255, 255, 255, 1));
  }
  50% {
    opacity: 0.3;
    filter: drop-shadow(0 0 64px rgba(255, 255, 255, 0));
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 64px rgba(255, 255, 255, 1));
  }
}
