.c-lined-heading {
  direction: rtl;
  overflow: hidden;
  text-align: right;
}

.c-lined-heading::after {
  display: inline-block;
  width: 100%;
  height: 3px;
  margin-inline-start: 0.75rem;
  margin-inline-end: -100%;
  background: var(--m-color-heading-line);
  content: "";
  vertical-align: middle;
}

.c-rich-content,
.c-single-post__content,
.c-service-child__content {
  color: var(--m-color-text);
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.15rem);
  line-height: 1.95;
}
.c-rich-content > *,
.c-single-post__content > *,
.c-service-child__content > * {
  margin-block: 0 1.45em;
}
.c-rich-content > :last-child,
.c-single-post__content > :last-child,
.c-service-child__content > :last-child {
  margin-bottom: 0;
}
.c-rich-content h2,
.c-rich-content h3,
.c-rich-content h4,
.c-rich-content h5,
.c-rich-content h6,
.c-single-post__content h2,
.c-single-post__content h3,
.c-single-post__content h4,
.c-single-post__content h5,
.c-single-post__content h6,
.c-service-child__content h2,
.c-service-child__content h3,
.c-service-child__content h4,
.c-service-child__content h5,
.c-service-child__content h6 {
  margin-block: 2.35em 0.75em;
  line-height: 1.35;
}
.c-rich-content a,
.c-single-post__content a,
.c-service-child__content a {
  color: var(--m-color-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.c-rich-content a:hover,
.c-rich-content a:focus,
.c-single-post__content a:hover,
.c-single-post__content a:focus,
.c-service-child__content a:hover,
.c-service-child__content a:focus {
  color: var(--m-color-comma-accent);
}
.c-rich-content blockquote,
.c-single-post__content blockquote,
.c-service-child__content blockquote {
  margin-inline: 0;
  padding: 1rem 1.25rem;
  border-right: 4px solid var(--m-color-comma-accent);
  background: color-mix(in srgb, var(--m-color-surface-alt) 55%, transparent);
}
.c-rich-content img,
.c-rich-content video,
.c-rich-content iframe,
.c-single-post__content img,
.c-single-post__content video,
.c-single-post__content iframe,
.c-service-child__content img,
.c-service-child__content video,
.c-service-child__content iframe {
  max-width: 100%;
}
.c-rich-content img,
.c-single-post__content img,
.c-service-child__content img {
  height: auto;
}
.c-rich-content table,
.c-single-post__content table,
.c-service-child__content table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  border: 1px solid var(--m-color-input-border);
  color: var(--m-color-text);
}
.c-rich-content th,
.c-rich-content td,
.c-single-post__content th,
.c-single-post__content td,
.c-service-child__content th,
.c-service-child__content td {
  padding: 1rem;
  border: 1px solid var(--m-color-input-border);
  text-align: right;
  vertical-align: top;
}
.c-rich-content th,
.c-single-post__content th,
.c-service-child__content th {
  background: var(--m-color-surface-muted);
  font-weight: 700;
}
.c-rich-content tbody tr:nth-child(even),
.c-single-post__content tbody tr:nth-child(even),
.c-service-child__content tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--m-color-surface-muted) 45%, transparent);
}
.c-rich-content .wp-block-table figcaption,
.c-single-post__content .wp-block-table figcaption,
.c-service-child__content .wp-block-table figcaption {
  margin-top: 0.75rem;
  color: var(--m-color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: right;
}

.c-content-table-scroll {
  margin-block: 1.75rem;
  border: 1px solid var(--m-color-input-border);
  background: transparent;
}

.c-content-table-scroll__viewport {
  overflow-x: auto;
  outline-color: var(--m-color-text);
  -webkit-overflow-scrolling: touch;
}

.c-content-table-scroll__hint {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--m-color-heading-line);
  color: var(--m-color-muted);
  font-size: 0.9rem;
}

.c-content-table-scroll__viewport .wp-block-table,
.c-content-table-scroll__viewport table {
  margin: 0;
}

.c-animated-steps {
  --m-animated-step-duration: 5s;
  margin-top: 0;
  color: var(--m-color-text);
}

.c-animated-steps__header {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.c-animated-steps__heading {
  margin: 0;
  color: var(--m-color-text);
  font-size: clamp(1.2rem, 1vw + 1rem, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
}

.c-animated-steps__track {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(14rem, 1fr);
  grid-auto-flow: column;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-top: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.c-animated-steps__track::before {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 1px;
  background: var(--m-color-heading-line);
  content: "";
}

.c-animated-steps__track::-webkit-scrollbar {
  display: none;
}

.c-animated-steps__item {
  position: relative;
  min-width: 0;
  padding-block-start: 1.3rem;
  border-top: 1px solid var(--m-color-heading-line);
  background: linear-gradient(var(--m-color-heading-line), var(--m-color-heading-line)) right top/1px 15px no-repeat;
  color: color-mix(in srgb, var(--m-color-input-border) 72%, var(--m-color-surface) 28%);
  cursor: pointer;
}

.c-animated-steps__item::before {
  position: absolute;
  top: -1px;
  right: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
}

.c-animated-steps__item::after {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--m-color-comma-accent);
  content: "";
  transform: translate(50%, -50%);
}

.c-animated-steps__item.is-active,
.c-animated-steps__item:focus {
  color: var(--m-color-text);
}

.c-animated-steps__item.is-active::before,
.c-animated-steps__item:focus::before {
  background: var(--m-color-text);
  animation: memaraneh-animated-step-progress var(--m-animated-step-duration) linear forwards;
}

.c-animated-steps:hover .c-animated-steps__item.is-active::before,
.c-animated-steps.is-keyboard-focused .c-animated-steps__item.is-active::before {
  animation-play-state: paused;
}

.c-animated-steps__item.is-active::after,
.c-animated-steps__item:focus::after {
  display: block;
}

.c-animated-steps__item:focus-visible {
  outline: 2px solid var(--m-color-comma-accent);
  outline-offset: 6px;
}

.c-animated-steps__kicker {
  margin: 0 0 0.9rem;
  direction: ltr;
  font-size: clamp(0.78rem, 0.35vw + 0.72rem, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
}

.c-animated-steps__item.is-active .c-animated-steps__kicker,
.c-animated-steps__item:focus .c-animated-steps__kicker {
  font-weight: 800;
}

.c-animated-steps__title {
  margin: 0 0 0.65rem;
  color: inherit;
  font-size: clamp(1.05rem, 0.55vw + 0.95rem, 1.25rem);
  font-weight: 800;
  line-height: 1.55;
}

.c-animated-steps__text {
  margin: 0;
  color: inherit;
  font-size: 0.96rem;
  line-height: 1.9;
}

.c-home-testimonials__caption {
  max-width: 34rem;
  margin: 0.55rem 0 0;
  color: var(--m-color-text);
  font-size: clamp(0.95rem, 0.45vw + 0.9rem, 1.12rem);
  font-weight: 400;
  line-height: 1.85;
  text-align: right;
}

.c-home-testimonials__footer {
  border-bottom: 3px solid var(--m-color-heading-line);
}

.c-animated-steps--testimonials .c-animated-steps__track {
  direction: rtl;
}

@keyframes memaraneh-animated-step-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-animated-steps__item.is-active::before,
  .c-animated-steps__item:focus::before {
    animation: none;
    transform: scaleX(1);
  }
}
@media (min-width: 768px) {
  .c-animated-steps__track {
    grid-auto-columns: minmax(0, 1fr);
  }
}
.c-single-post {
  padding-block: clamp(2rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem);
  color: var(--m-color-text);
  background: var(--m-color-surface);
}

.c-single-post__header-section {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.c-single-post__media-section {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.c-single-post__breadcrumb {
  margin-bottom: 1.4rem;
  color: var(--m-color-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.c-single-post__breadcrumb .rank-math-breadcrumb p {
  margin: 0;
}

.c-single-post__breadcrumb a {
  color: var(--m-color-text);
  text-decoration: none;
}

.c-single-post__breadcrumb .separator {
  display: inline-block;
  padding-inline: 0.65rem;
  color: var(--m-color-comma-accent);
}

.c-single-post__breadcrumb .last {
  color: var(--m-color-muted);
}

.c-single-post__breadcrumb a:hover,
.c-single-post__breadcrumb a:focus {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.c-single-post__title {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.35;
}

.c-single-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: center;
  margin-top: 1.25rem;
  color: var(--m-color-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.c-single-post__meta-item {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

.c-single-post__meta-item:not(:last-child)::after {
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-inline-start: 0.35rem;
  background: var(--m-color-comma-accent);
  content: "";
}

.c-single-post__meta a {
  color: inherit;
  text-decoration: none;
}

.c-single-post__meta a:hover,
.c-single-post__meta a:focus {
  color: var(--m-color-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.c-single-post__media {
  margin: 0;
  border: 1px solid var(--m-color-heading-line);
  aspect-ratio: 16/9;
  background: var(--m-color-surface-alt);
}

.c-single-post__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-single-post__body {
  display: flow-root;
}

.c-single-post__toc[hidden] {
  display: none;
}

.c-single-post #ez-toc-container {
  margin-block: 0 1.5rem;
  padding: 1rem;
  border-right: 4px solid var(--m-color-comma-accent);
  background: var(--m-color-surface-muted);
  color: var(--m-color-text);
}

.c-single-post #ez-toc-container .ez-toc-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.c-single-post #ez-toc-container .ez-toc-title {
  margin: 0;
  color: var(--m-color-text);
  font-weight: 800;
  line-height: 1.4;
}

.c-single-post #ez-toc-container .ez-toc-title-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--m-color-input-border);
  color: var(--m-color-text);
  background: transparent;
  cursor: pointer;
}

.c-single-post #ez-toc-container .ez-toc-title-toggle:focus {
  border-color: var(--m-color-text);
  outline: 2px solid var(--m-color-text);
  outline-offset: 2px;
}

.c-single-post #ez-toc-container .ez-toc-title-toggle > * {
  display: none;
}

.c-single-post #ez-toc-container .ez-toc-title-toggle::before {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;
  content: "";
  transform: rotate(225deg);
  transition: transform var(--m-transition);
}

.c-single-post #ez-toc-container.is-collapsed .ez-toc-title-toggle::before {
  transform: rotate(45deg);
}

.c-single-post #ez-toc-container a {
  color: var(--m-color-text);
  text-decoration: none;
}

.c-single-post #ez-toc-container a:hover,
.c-single-post #ez-toc-container a:focus,
.c-single-post #ez-toc-container a.is-active {
  color: var(--m-color-comma-accent);
}

.c-single-post #ez-toc-container ul,
.c-single-post #ez-toc-container ol {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.c-single-post #ez-toc-container li + li {
  margin-top: 0.45rem;
}

.c-single-post #ez-toc-container nav > ul > li > a,
.c-single-post #ez-toc-container .ez-toc-list-level-1 > li > a {
  font-weight: 700;
}

.c-single-post #ez-toc-container ul ul {
  padding-inline-start: 1rem;
}

.c-single-post #ez-toc-container ul ul ul {
  padding-inline-start: 1.75rem;
}

.c-single-post #ez-toc-container ul ul ul ul {
  padding-inline-start: 2.5rem;
}

.c-single-post #ez-toc-container ul ul a {
  font-weight: 400;
}

.c-single-post #ez-toc-container .c-ez-toc-number {
  display: inline-block;
  margin-inline-end: 0.55rem;
  color: var(--m-color-comma-accent);
  font-weight: 700;
}

.c-single-post #ez-toc-container .ez-toc-link.is-active {
  font-weight: 800;
}

.c-single-post #ez-toc-container.is-collapsed nav {
  display: none;
}

.c-comments {
  padding-block: clamp(3rem, 6vw, 5rem);
  color: var(--m-color-text);
  background: var(--m-color-surface);
}

.c-comments__title,
.c-comment-form__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.35;
}

.c-comment-form__title {
  font-size: clamp(1.25rem, 1.6vw, 1.7rem);
}

.c-comments__list {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.c-comment {
  list-style: none;
}

.c-comment__body {
  padding: 1.25rem;
  border: 1px solid var(--m-color-heading-line);
}

.c-comment__header,
.c-comment__author {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.c-comment__header {
  justify-content: space-between;
  margin-bottom: 1rem;
}

.c-comment__avatar {
  width: 56px;
  height: 56px;
}

.c-comment__name {
  display: block;
}

.c-comment__permalink,
.c-comment__edit a,
.c-comment__reply a {
  color: var(--m-color-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.c-comment__permalink:hover,
.c-comment__permalink:focus,
.c-comment__edit a:hover,
.c-comment__edit a:focus,
.c-comment__reply a:hover,
.c-comment__reply a:focus {
  color: var(--m-color-text);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.c-comment__moderation {
  color: var(--m-color-comma-accent);
}

.c-comment-form {
  margin-top: 2rem;
}

.c-comment-form .comment-form {
  display: grid;
  gap: 0 1rem;
}

.c-comment-form__note,
.c-comment-form__logged-in {
  color: var(--m-color-muted);
}

.c-comment-form__field {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.c-comment-form__field input:not([type=checkbox]),
.c-comment-form__field textarea {
  width: 100%;
  border: 1px solid var(--m-color-input-border);
  padding: 0.85rem 1rem;
  color: var(--m-color-text);
  background: transparent;
  font: inherit;
}

.c-comment-form__field textarea {
  min-height: 12rem;
  resize: vertical;
}

.c-comment-form__field input:focus,
.c-comment-form__field textarea:focus {
  border-color: var(--m-color-text);
  outline: 0;
  box-shadow: none;
}

.c-comment-form__field--checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.c-comment-form__submit {
  border: 1px solid var(--m-color-text);
  padding: 0.85rem 1.4rem;
  color: var(--m-color-surface);
  background: var(--m-color-text);
  cursor: pointer;
  font: inherit;
}

.c-comment-form__submit:hover,
.c-comment-form__submit:focus {
  color: var(--m-color-text);
  background: var(--m-color-link-marker);
  outline: 0;
}

@media (min-width: 768px) {
  .c-single-post__body.has-toc .c-single-post__toc {
    float: right;
    width: min(34%, 22rem);
    margin-block: 0 1.5rem;
    margin-right: 0;
    margin-left: clamp(1.5rem, 3vw, 3rem);
  }
  .c-comment-form .comment-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .c-comment-form__note,
  .c-comment-form__logged-in,
  .comment-form-comment,
  .comment-form-cookies-consent,
  .form-submit {
    grid-column: 1/-1;
  }
}
@media (min-width: 48rem) {
  .c-content-table-scroll__hint {
    display: none;
  }
}
.c-single-exhibition__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--m-color-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.c-single-exhibition__details-section {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.c-single-exhibition__details-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.35rem);
}

.c-single-exhibition__details-title {
  margin: 0;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.7rem);
  font-weight: 700;
  line-height: 1.4;
}

.c-animated-steps--exhibition-details .c-animated-steps__track {
  grid-template-columns: 1fr;
  grid-auto-flow: row;
  column-gap: 0;
  row-gap: clamp(1.5rem, 3vw, 2.25rem);
}

.c-animated-steps--exhibition-details .c-animated-steps__track::before {
  display: none;
}

.c-animated-steps--exhibition-details .c-animated-steps__text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.c-animated-steps--exhibition-details .c-animated-steps__text a:hover,
.c-animated-steps--exhibition-details .c-animated-steps__text a:focus {
  color: var(--m-color-comma-accent);
}

@media (min-width: 768px) {
  .c-animated-steps--exhibition-details .c-animated-steps__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .c-animated-steps--exhibition-details .c-animated-steps__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .c-animated-steps--exhibition-details .c-animated-steps__track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}