﻿.avesta-preview {
  --avesta-navy: #0f2d50;
  --avesta-navy-dark: #071a2d;
  --avesta-coral: #d4694c;
  --avesta-paper: #fff9f4;
  --avesta-ivory: #fff9f4;
  --avesta-ink: #263445;
  --avesta-line: #e8e3df;
  --theme-content-width: 1440px;
  --theme-gutter: 35px;
  background: #fff;
  color: var(--avesta-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.75;
}
[dir="rtl"] .avesta-preview,
[dir="rtl"] .avesta-preview .Normal,
[dir="rtl"] .avesta-preview input,
[dir="rtl"] .avesta-preview button,
[dir="rtl"] .avesta-preview select,
[dir="rtl"] .avesta-preview textarea,
[dir="rtl"] .avesta-preview label,
[dir="rtl"] .avesta-preview .DnnModule,
[dir="rtl"] .avesta-preview .superlinks__container { font-family: "IRANYekanXNoEn", Tahoma, Arial, sans-serif !important; }
.avesta-preview *, .avesta-preview *::before, .avesta-preview *::after { box-sizing: border-box; }
.avesta-preview a { color: inherit; text-decoration: none; }
.avesta-preview .DnnModule, .avesta-preview .superlinks__container { margin: 0; }
.avesta-preview .theme-container, .avesta-preview .theme-container--none { margin: 0; }
.avesta-preview .theme-container-card { background: transparent; border: 0; box-shadow: none; padding: 0; }
.avesta-topbar { background: var(--avesta-navy); color: #fff; font-size: .82rem; }
.avesta-topbar__inner { align-items: center; display: flex; justify-content: space-between; min-block-size: 2.25rem; }
.avesta-topbar a { color: #fff; }
.avesta-header { background: rgba(251,248,242,.98); border-block-end: 1px solid var(--avesta-line); color: var(--avesta-navy); }
.avesta-header__main { align-items: center; display: grid; gap: 2.5rem; grid-template-columns: minmax(20rem,1fr) minmax(32rem,1.25fr); min-block-size: 9.25rem; }
.avesta-brand { align-items: center; display: flex; min-inline-size: 0; }
.avesta-brand img { block-size: 7.2rem; inline-size: 7.6rem; object-fit: contain; }
.avesta-brand__copy { border-inline-start: 1px solid #b7a69c; display: flex; flex-direction: column; gap: .25rem; margin-inline-start: 1rem; padding-inline-start: 1rem; }
.avesta-brand__copy strong { color: var(--avesta-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem,2vw,2rem); font-weight: 400; }
.avesta-brand__copy span { color: #69717a; font-size: .8rem; }
.avesta-header__actions { align-items: flex-end; display: flex; flex-direction: column; gap: 1.15rem; }
.avesta-header .theme-menu { gap: clamp(1rem,2.3vw,2.3rem); justify-content: flex-start; }
.avesta-header .theme-menu__link { color: var(--avesta-navy); font-size: .82rem; font-weight: 700; letter-spacing: .02em; min-block-size: 2.5rem; padding-inline: 0; position: relative; }
.avesta-header .theme-menu__item.is-current > .theme-menu__link::after,
.avesta-header .theme-menu__item.is-ancestor > .theme-menu__link::after { background: var(--avesta-coral); block-size: 2px; content: ""; inset-block-end: 0; inset-inline: 0; position: absolute; }
.avesta-header .theme-menu__link:hover { color: var(--avesta-coral); }
.avesta-search-row { align-items: center; display: flex; justify-content: flex-end; }
.avesta-header .theme-search-panel { display: block; position: static; }
.avesta-header .theme-search .searchInputContainer { display: flex; }
.avesta-header .theme-search input[type="text"] { background: #fff; border: 1px solid rgba(15,45,80,.28); border-radius: 999px; color: #182536; inline-size: 19rem; min-inline-size: 0; padding: .58rem 1rem; }
.avesta-middle { background: #f8f8f8; }
.avesta-home-middle { padding-block: 2.2rem 2.75rem; }
.avesta-hero-grid { display: grid; gap: 1.15rem; grid-template-columns: minmax(0,2.15fr) minmax(20rem,.85fr); min-block-size: 38rem; }
.avesta-hero-pane, .avesta-banners-pane, .avesta-hero-pane .DnnModule, .avesta-banners-pane .DnnModule { min-block-size: 100%; }
.avesta-slider, .avesta-side-banner { background: var(--avesta-navy-dark); overflow: hidden; position: relative; }
.avesta-slider, .avesta-slider .swiper, .avesta-slider .swiper-wrapper, .avesta-slider .swiper-slide { block-size: 100%; min-block-size: 38rem; }
.avesta-slide { color: #fff; overflow: hidden; position: relative; }
.avesta-slide::after { background: linear-gradient(90deg,rgba(3,15,27,.9),rgba(3,15,27,.58) 46%,rgba(3,15,27,.1) 78%); content: ""; inset: 0; position: absolute; }
[dir="rtl"] .avesta-slide::after { background: linear-gradient(270deg,rgba(3,15,27,.9),rgba(3,15,27,.58) 46%,rgba(3,15,27,.1) 78%); }
.avesta-slide > img { block-size: 100%; inline-size: 100%; object-fit: cover; }
.avesta-slide__copy { inset-block-start: 50%; inset-inline-start: 3.65rem; max-inline-size: 52%; position: absolute; transform: translateY(-50%); z-index: 2; }
.avesta-kicker { color: #f1b19f; display: block; font-size: .7rem; font-weight: 700; letter-spacing: .13rem; text-transform: uppercase; }
.avesta-slide h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem,3.8vw,3.35rem); font-weight: 400; line-height: 1.18; margin: .9rem 0 1.1rem; }
[dir="rtl"] .avesta-slide h1 { font-family: "IRANYekanXNoEn", Tahoma, sans-serif; font-weight: 650; }
.avesta-slide p { color: #e7edf2; font-size: 1rem; line-height: 1.8; margin: 0 0 1.5rem; }
.avesta-more { align-items: center; border: 1px solid rgba(255,255,255,.8); display: inline-flex; font-size: .75rem; font-weight: 700; gap: .75rem; padding: .7rem 1.2rem; text-transform: uppercase; }
.avesta-more:hover { background: var(--avesta-coral); border-color: var(--avesta-coral); }
.avesta-slider .theme-carousel__button { background: rgba(5,18,31,.55); border-radius: 0; color: #fff; }
.avesta-slider .theme-carousel__pagination { bottom: 1.5rem; inset-inline-start: 3.65rem; margin: 0; position: absolute !important; text-align: start; z-index: 5; }
.avesta-slider .swiper-pagination-bullet { background: transparent; border: 1px solid #fff; opacity: 1; }
.avesta-slider .swiper-pagination-bullet-active { background: var(--avesta-coral); border-color: var(--avesta-coral); }
.avesta-banners { display: grid; gap: 1.15rem; grid-template-rows: 1fr 1fr; min-block-size: 38rem; }
.avesta-side-banner { color: #fff; min-block-size: 0; }
.avesta-side-banner::after { background: linear-gradient(90deg,rgba(5,19,33,.82),rgba(5,19,33,.15)); content: ""; inset: 0; position: absolute; }
[dir="rtl"] .avesta-side-banner::after { background: linear-gradient(270deg,rgba(5,19,33,.82),rgba(5,19,33,.15)); }
.avesta-side-banner--coral::after { background: linear-gradient(90deg,rgba(68,25,19,.72),rgba(68,25,19,.05)); }
.avesta-side-banner img { block-size: 100%; inline-size: 100%; object-fit: cover; }
.avesta-side-banner__copy { bottom: 1.75rem; color: #fff; inset-inline-start: 2rem; max-inline-size: 70%; position: absolute; z-index: 2; }
.avesta-side-banner h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-weight: 400; line-height: 1.25; margin: .4rem 0 .75rem; }
[dir="rtl"] .avesta-side-banner h2 { font-family: "IRANYekanXNoEn", Tahoma, sans-serif; font-weight: 650; }
.avesta-newsletter { background: var(--avesta-coral); color: #fff; }
.avesta-newsletter__inner { align-items: center; display: grid; gap: 3rem; grid-template-columns: 1fr minmax(22rem,35rem); min-block-size: 6.6rem; }
.avesta-newsletter h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 400; margin: 0 0 .2rem; }
[dir="rtl"] .avesta-newsletter h2 { font-family: "IRANYekanXNoEn", Tahoma, sans-serif; font-weight: 650; }
.avesta-newsletter p { color: #fff4ef; font-size: .82rem; margin: 0; }
.avesta-subscribe { display: flex; }
.avesta-subscribe label { block-size: 1px; clip: rect(0 0 0 0); clip-path: inset(50%); inline-size: 1px; overflow: hidden; position: absolute; }
.avesta-subscribe input { border: 0; flex: 1 1 auto; min-inline-size: 0; padding: .8rem 1rem; }
.avesta-subscribe a { align-items: center; background: var(--avesta-navy); color: #fff; display: inline-flex; font-weight: 700; justify-content: center; padding-inline: 1.5rem; }
.avesta-back-strip { background: #0b2542; color: #fff; }
.avesta-back-strip .theme-wrap { align-items: center; display: flex; justify-content: flex-end; min-block-size: 3.15rem; }
.avesta-back-strip button { background: transparent; border: 0; color: #fff; cursor: pointer; font: inherit; font-size: .72rem; letter-spacing: .08rem; text-transform: uppercase; }
.avesta-footer { background: var(--avesta-navy-dark); color: #c9d1d9; }
.avesta-footer__grid { display: grid; gap: clamp(2rem,5vw,6rem); grid-template-columns: 1.1fr .75fr 1.25fr; padding-block: 3.6rem 3rem; }
.avesta-footer h2 { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 400; margin: 0 0 1.25rem; }
[dir="rtl"] .avesta-footer h2 { font-family: "IRANYekanXNoEn", Tahoma, sans-serif; font-weight: 650; }
.avesta-footer-links { display: grid; gap: .55rem 1.2rem; grid-template-columns: 1fr 1fr; }
.avesta-footer-links a { color: #c9d1d9; font-size: .82rem; }
.avesta-footer-links a:hover { color: #f2a992; }
.avesta-social { display: flex; flex-wrap: wrap; gap: .55rem; }
.avesta-social a { align-items: center; border: 1px solid rgba(255,255,255,.23); color: #fff; display: inline-flex; inline-size: 2.5rem; justify-content: center; min-block-size: 2.5rem; }
.avesta-social a:hover { background: var(--avesta-coral); border-color: var(--avesta-coral); }
.avesta-footer-about { align-items: start; display: grid; gap: 1.4rem; grid-template-columns: 7rem 1fr; }
.avesta-footer-about img { background: #fff8f1; block-size: 7rem; inline-size: 7rem; object-fit: contain; padding: .35rem; }
.avesta-footer-about p { color: #b6c0c9; font-size: .82rem; line-height: 1.8; margin: 0; }
.avesta-footer-about a { color: #f2a992; display: inline-block; font-size: .76rem; margin-block-start: .7rem; }
.avesta-copyright { align-items: center; border-block-start: 1px solid rgba(255,255,255,.12); color: #94a2af; display: flex; font-size: .75rem; justify-content: space-between; min-block-size: 4.1rem; }
.avesta-copyright a { color: #fff; }
.avesta-inner-middle { padding-block: 3.2rem 4rem; }
.avesta-breadcrumb { color: #7c838b; font-size: .78rem; margin-block-end: 1.35rem; }
.avesta-article { background: #fff; box-shadow: 0 .55rem 1.9rem rgba(15,45,80,.08); display: grid; grid-template-columns: 1.05fr .95fr; min-block-size: 32rem; }
.avesta-article__image img { block-size: 100%; inline-size: 100%; object-fit: cover; }
.avesta-article__copy { align-self: center; padding: clamp(2rem,4vw,3.5rem); }
.avesta-article__copy h1 { color: var(--avesta-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,3.5vw,2.8rem); font-weight: 400; line-height: 1.2; margin: .6rem 0 1.25rem; }
[dir="rtl"] .avesta-article__copy h1 { font-family: "IRANYekanXNoEn", Tahoma, sans-serif; font-weight: 650; }
.avesta-article__body { color: #606b76; font-size: .94rem; line-height: 1.9; }
.avesta-quote { background: var(--avesta-ivory); border-inline-start: 3px solid var(--avesta-coral); color: var(--avesta-navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; font-style: italic; margin: 1.5rem 0 0; padding: 1rem 1.3rem; }
[dir="rtl"] .avesta-quote { font-family: "IRANYekanXNoEn", Tahoma, sans-serif; }
.avesta-preview a:focus-visible, .avesta-preview button:focus-visible, .avesta-preview input:focus-visible { outline: 3px solid var(--avesta-coral); outline-offset: 3px; }
@media (max-width: 1150px) {
  .avesta-header__main { grid-template-columns: minmax(18rem,1fr) minmax(26rem,1fr); }
  .avesta-hero-grid { grid-template-columns: 1.7fr .85fr; }
  .avesta-footer__grid { gap: 2.6rem; }
}
@media (max-width: 850px) {
  .avesta-topbar { display: none; }
  .avesta-header__main { gap: .75rem; grid-template-columns: minmax(0,1fr) auto; min-block-size: 5.75rem; }
  .avesta-brand img { block-size: 4.6rem; inline-size: 4.8rem; }
  .avesta-brand__copy strong { font-size: 1.25rem; }
  .avesta-brand__copy span { display: none; }
  .avesta-nav-toggle { color: var(--avesta-navy); display: inline-flex; grid-column: 2; }
  .avesta-header__actions { display: contents; }
  .avesta-header .theme-header__navigation { color: var(--avesta-navy); }
  .avesta-header .theme-menu { display: block; }
  .avesta-search-row { inset-inline-end: 4rem; position: absolute; }
  .avesta-header .theme-search-panel { display: none; position: absolute; }
  .avesta-header .theme-search-panel.is-open { display: block; }
  .avesta-header .theme-search input[type="text"] { inline-size: 100%; }
  .avesta-hero-grid { display: block; min-block-size: 0; }
  .avesta-slider, .avesta-slider .swiper, .avesta-slider .swiper-wrapper, .avesta-slider .swiper-slide { min-block-size: 32rem; }
  .avesta-banners { gap: 1rem; grid-template-columns: 1fr 1fr; grid-template-rows: none; margin-block-start: 1rem; min-block-size: 15rem; }
  .avesta-slide__copy { inset-inline-start: 2rem; max-inline-size: 72%; }
  .avesta-newsletter__inner { gap: 1rem; grid-template-columns: 1fr; padding-block: 1.4rem; }
  .avesta-footer__grid { grid-template-columns: 1fr 1fr; }
  .avesta-footer__grid > :last-child { grid-column: 1 / 3; }
  .avesta-article { grid-template-columns: 1fr; }
  .avesta-article__image { max-block-size: 26rem; }
}
@media (max-width: 600px) {
  .avesta-brand__copy { display: none; }
  .avesta-brand img { block-size: 4.2rem; inline-size: 4.3rem; }
  .avesta-slider, .avesta-slider .swiper, .avesta-slider .swiper-wrapper, .avesta-slider .swiper-slide { min-block-size: 31rem; }
  .avesta-slide__copy { inset-inline: 1.5rem; max-inline-size: none; }
  .avesta-slide h1 { font-size: 2rem; }
  .avesta-banners { grid-template-columns: 1fr; min-block-size: 31rem; }
  .avesta-side-banner { min-block-size: 15rem; }
  .avesta-subscribe { display: grid; grid-template-columns: 1fr; }
  .avesta-subscribe input, .avesta-subscribe a { min-block-size: 2.8rem; }
  .avesta-footer__grid { grid-template-columns: 1fr; }
  .avesta-footer__grid > :last-child { grid-column: auto; }
  .avesta-footer-links { grid-template-columns: 1fr; }
  .avesta-copyright { display: block; padding-block: 1rem; text-align: center; }
  .avesta-copyright > span { display: block; margin-block: .35rem; }
  .avesta-article__copy { padding: 1.6rem; }
}
/* RC6R13: Avesta header, identity, marked-page navigation and preview search parity. */
.avesta-preview .avesta-header {
  background: #fff;
  border-block-end: 1px solid var(--avesta-line);
  box-shadow: 0 .2rem 1rem rgba(15,45,80,.045);
  color: var(--avesta-navy);
}

.avesta-preview .avesta-header__main {
  align-items: center;
  display: grid;
  gap: clamp(2rem,3.25vw,3.5rem);
  grid-template-columns: minmax(27rem,1fr) minmax(32rem,1.12fr);
  min-block-size: 9.25rem;
  position: relative;
}

.avesta-preview .avesta-brand {
  align-items: center;
  display: flex;
  justify-self: start;
  min-inline-size: 0;
}

.avesta-preview .avesta-brand__logo-link {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}

.avesta-preview .avesta-brand img {
  block-size: 7.25rem;
  flex: 0 0 auto;
  inline-size: 7.6rem;
  object-fit: contain;
}

.avesta-preview .avesta-brand__copy {
  align-self: center;
  border-inline-start: 1px solid #b7a69c;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-inline-start: 1rem;
  min-inline-size: 0;
  padding-inline-start: 1rem;
}

.avesta-preview .avesta-brand__copy strong {
  color: var(--avesta-navy);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem,2vw,2rem);
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
}

[dir="rtl"] .avesta-preview .avesta-brand__copy strong {
  font-family: "IRANYekanXNoEn", Tahoma, Arial, sans-serif;
  font-weight: 700;
}

.avesta-preview .avesta-brand__copy span {
  color: #69717a;
  display: block;
  font-size: .78rem;
  line-height: 1.55;
  max-inline-size: 24rem;
}

.avesta-preview .avesta-header__actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  justify-self: stretch;
  min-inline-size: 0;
}

.avesta-preview .avesta-header__utility {
  align-items: center;
  display: flex;
  gap: .85rem;
  justify-content: flex-end;
  min-block-size: 2rem;
  min-inline-size: 0;
  width: 100%;
}

.avesta-preview .avesta-account {
  align-items: center;
  color: #5f6974;
  display: inline-flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  font-size: .72rem;
  gap: .3rem .65rem;
  line-height: 1.35;
}

.avesta-preview .avesta-account .registerGroup,
.avesta-preview .avesta-account .loginGroup,
.avesta-preview .avesta-account .registerGroup ul,
.avesta-preview .avesta-account .registerGroup li {
  display: inline-flex;
  float: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.avesta-preview .avesta-account a {
  color: var(--avesta-navy);
  display: inline-flex;
  padding: .2rem 0;
  text-decoration: none;
}

.avesta-preview .avesta-account a:hover,
.avesta-preview .avesta-account a:focus-visible {
  color: var(--avesta-coral);
}

.avesta-preview .theme-language-selector {
  gap: .3rem;
}

.avesta-preview .theme-language-selector__link {
  background: #fff;
  border-color: rgba(15,45,80,.72);
  color: var(--avesta-navy);
  font-size: .68rem;
  min-block-size: 1.85rem;
  min-inline-size: 1.85rem;
  padding: .25rem;
}

.avesta-preview .theme-language-selector__link:hover,
.avesta-preview .theme-language-selector__link:focus-visible,
.avesta-preview .theme-language-selector__link.is-current {
  background: var(--avesta-navy);
  border-color: var(--avesta-navy);
  color: #fff;
}

.avesta-preview .avesta-header__navigation {
  align-self: stretch;
  min-inline-size: 0;
  width: 100%;
}

.avesta-preview .avesta-header__navigation .theme-menu-host {
  width: 100%;
}

.avesta-preview .avesta-header .theme-menu {
  flex-wrap: nowrap;
  gap: clamp(1rem,2vw,2rem);
  justify-content: flex-start;
  text-align: start;
  width: 100%;
}

.avesta-preview .avesta-header .theme-menu__link {
  color: var(--avesta-navy);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .015em;
  justify-content: flex-start;
  min-block-size: 2.45rem;
  padding-block: .35rem .7rem;
  padding-inline: .15rem;
  white-space: nowrap;
}

.avesta-preview .avesta-header .theme-menu__item.is-current > .theme-menu__link::after,
.avesta-preview .avesta-header .theme-menu__item.is-ancestor > .theme-menu__link::after {
  background: var(--avesta-coral);
  block-size: 2px;
  content: "";
  inset-block-end: 0;
  inset-inline: 0;
  position: absolute;
}

.avesta-preview .avesta-header .theme-menu__link:hover {
  color: var(--avesta-coral);
}

.avesta-preview .avesta-header .theme-menu__submenu {
  border-block-start: 3px solid var(--avesta-coral);
  border-radius: 0;
  box-shadow: 0 1rem 2.2rem rgba(15,45,80,.14);
  padding-block: .5rem;
}

.avesta-preview .avesta-header .theme-menu__submenu .theme-menu__link {
  color: #465362;
  font-size: .78rem;
  min-block-size: 2.45rem;
  padding: .65rem 1.2rem;
}

.avesta-preview .avesta-header .theme-menu__submenu .theme-menu__link:hover {
  background: var(--avesta-paper);
  color: var(--avesta-coral);
}

.avesta-preview .avesta-search-row {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-inline-size: 0;
  position: relative;
  width: min(100%,19rem);
}

.avesta-preview .avesta-search-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: block;
  min-inline-size: 0;
  padding: 0;
  position: static;
  width: 100%;
}

.avesta-preview .avesta-search,
.avesta-preview .avesta-search > span,
.avesta-preview .avesta-search .searchInputContainer {
  align-items: stretch;
  display: flex;
  min-inline-size: 0;
  width: 100%;
}

.avesta-preview .avesta-search .searchInputContainer {
  flex: 1 1 auto;
}

.avesta-preview .avesta-search input[type="text"] {
  background: #fff;
  block-size: 2.85rem;
  border: 1px solid #d9dfe4;
  border-radius: 0;
  color: #465362;
  flex: 1 1 auto;
  inline-size: 100%;
  min-inline-size: 0;
  padding: 0 .85rem;
}

.avesta-preview .avesta-search .dnnSearchBoxClearText {
  display: none !important;
}

.avesta-preview .avesta-search > span > a.SkinObject {
  align-items: center;
  background: var(--avesta-navy);
  block-size: 2.85rem;
  color: transparent;
  display: inline-flex;
  flex: 0 0 2.85rem;
  font-size: 0;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 2.85rem;
}

.avesta-preview .avesta-search > span > a.SkinObject::before {
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
  height: .82rem;
  position: absolute;
  transform: translate(-.12rem,-.12rem);
  width: .82rem;
}

.avesta-preview .avesta-search > span > a.SkinObject::after {
  background: #fff;
  content: "";
  height: 2px;
  position: absolute;
  transform: translate(.43rem,.43rem) rotate(45deg);
  transform-origin: center;
  width: .48rem;
}

[dir="rtl"] .avesta-preview .avesta-search > span > a.SkinObject::after {
  transform: translate(-.43rem,.43rem) rotate(-45deg);
}

.avesta-preview .avesta-search-toggle {
  color: var(--avesta-navy);
}

.avesta-preview .avesta-search-toggle svg {
  fill: none;
  height: 1.25rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
  width: 1.25rem;
}

.avesta-preview .avesta-middle,
.avesta-preview .avesta-newsletter,
.avesta-preview .avesta-back-strip,
.avesta-preview .avesta-footer,
.avesta-preview .theme-pane,
.avesta-preview .DnnModule,
.avesta-preview .DNNModuleContent,
.avesta-preview .superlinks__container {
  clear: both;
  float: none;
  min-inline-size: 0;
}

@media (max-width: 1150px) and (min-width: 851px) {
  .avesta-preview .avesta-header__main {
    gap: 1.5rem;
    grid-template-columns: minmax(21rem,.9fr) minmax(29rem,1.1fr);
  }

  .avesta-preview .avesta-brand img {
    block-size: 6.25rem;
    inline-size: 6.55rem;
  }

  .avesta-preview .avesta-brand__copy strong {
    font-size: 1.45rem;
  }

  .avesta-preview .avesta-brand__copy span {
    font-size: .7rem;
  }

  .avesta-preview .avesta-header .theme-menu {
    gap: .9rem;
  }

  .avesta-preview .avesta-search-row {
    width: 16.5rem;
  }
}

/* R12 preview-parity contract: exact v3 palette and desktop composition. */
.avesta-preview .avesta-header {
  background: #fff;
  border-block-end: 1px solid var(--avesta-line);
  box-shadow: none;
}

.avesta-preview .avesta-brand img {
  block-size: 118px;
  inline-size: 128px;
}

.avesta-preview .avesta-brand__copy {
  border-inline-start-color: #e4ddd8;
  gap: 0;
  margin-inline-start: 16px;
  padding-inline-start: 18px;
}

.avesta-preview .avesta-brand__copy strong {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}

.avesta-preview .avesta-brand__copy span {
  color: #6f7780;
  font-size: 13px;
  letter-spacing: .35px;
  line-height: 1.55;
  margin-block-start: 8px;
}

.avesta-preview .avesta-header__actions {
  align-items: flex-end;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
  min-inline-size: 0;
  width: 100%;
}

.avesta-preview .avesta-header__navigation,
.avesta-preview .avesta-header__navigation .theme-menu-host,
.avesta-preview .avesta-header .theme-menu {
  width: 100%;
}

.avesta-preview .avesta-header .theme-menu {
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  row-gap: 0;
}

.avesta-preview .avesta-header .theme-menu > .theme-menu__item > .theme-menu__link {
  color: #27384a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  min-block-size: 0;
  padding: 0 0 12px;
  white-space: nowrap;
}

.avesta-preview .avesta-header .theme-menu__item.is-current > .theme-menu__link,
.avesta-preview .avesta-header .theme-menu__item.is-ancestor > .theme-menu__link,
.avesta-preview .avesta-header .theme-menu__item:hover > .theme-menu__link,
.avesta-preview .avesta-header .theme-menu__item:focus-within > .theme-menu__link {
  color: var(--avesta-coral);
}

.avesta-preview .avesta-header .theme-menu__item:hover > .theme-menu__link::after,
.avesta-preview .avesta-header .theme-menu__item:focus-within > .theme-menu__link::after {
  background: var(--avesta-coral);
  block-size: 2px;
  content: "";
  inset-block-end: 0;
  inset-inline: 0;
  position: absolute;
}

.avesta-preview .avesta-header .theme-menu__submenu {
  border: 0;
  border-block-start: 3px solid var(--avesta-coral);
  border-radius: 0;
  box-shadow: 0 16px 35px rgba(15,45,80,.14);
  inline-size: 220px;
  inset-block-start: 42px;
  inset-inline-end: auto;
  inset-inline-start: -24px;
  max-inline-size: min(220px,calc(100vw - 30px));
  min-inline-size: min(220px,calc(100vw - 30px));
  padding: 11px 0;
}

.avesta-preview .avesta-header .theme-menu__submenu .theme-menu__link {
  color: #465362;
  font-size: 13px;
  min-block-size: 0;
  padding: 10px 22px;
}

.avesta-preview .avesta-search-row {
  align-self: flex-end;
  justify-content: flex-end;
  position: relative;
}

.avesta-preview .avesta-search,
.avesta-preview .avesta-search > span {
  width: 100%;
}

.avesta-preview .avesta-search > span {
  align-items: center;
  background: #fff;
  block-size: 46px;
  border: 1px solid #d9dfe4;
  display: flex;
}

.avesta-preview .avesta-search input[type="text"] {
  background: #fff;
  block-size: 44px;
  border: 0;
  border-radius: 0;
  color: #465362;
  font-size: 13px;
  padding: 0 14px;
}

.avesta-preview .avesta-search > span > a.SkinObject {
  block-size: 44px;
  flex-basis: 46px;
  inline-size: 46px;
  width: 46px;
}

.avesta-preview .avesta-offcanvas-utility-host {
  display: none;
}

.avesta-preview .avesta-utility {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  justify-content: center;
  min-inline-size: 0;
}

.avesta-preview .avesta-copyright {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
}

.avesta-preview .avesta-copyright__text {
  justify-self: start;
}

.avesta-preview .avesta-footer-utility-host {
  justify-self: center;
}

.avesta-preview .avesta-footer-utility-host:empty {
  display: none;
}

.avesta-preview .avesta-footer .theme-footer__legal {
  justify-self: end;
}

.avesta-preview .avesta-footer .avesta-account {
  color: #c9d1d9;
}

.avesta-preview .avesta-footer .avesta-account a {
  color: #c9d1d9;
}

.avesta-preview .avesta-footer .avesta-account a:hover,
.avesta-preview .avesta-footer .avesta-account a:focus-visible {
  color: #f2a992;
}

.avesta-preview .avesta-footer .theme-language-selector__link {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

.avesta-preview .avesta-footer .theme-language-selector__link:hover,
.avesta-preview .avesta-footer .theme-language-selector__link:focus-visible,
.avesta-preview .avesta-footer .theme-language-selector__link.is-current {
  background: var(--avesta-coral);
  border-color: var(--avesta-coral);
  color: #fff;
}

.avesta-preview .avesta-home-middle {
  padding-block: 36px 44px;
}

.avesta-preview .avesta-hero-grid {
  gap: 18px;
  grid-template-columns: minmax(0,2.15fr) minmax(330px,.85fr);
  height: 610px;
  min-block-size: 0;
}

.avesta-preview .avesta-slider,
.avesta-preview .avesta-slider .swiper,
.avesta-preview .avesta-slider .swiper-wrapper,
.avesta-preview .avesta-slider .swiper-slide,
.avesta-preview .avesta-banners {
  min-block-size: 0;
}

.avesta-preview .avesta-slide::after {
  background: linear-gradient(90deg,rgba(3,15,27,.88),rgba(3,15,27,.58) 46%,rgba(3,15,27,.12) 78%);
}

[dir="rtl"] .avesta-preview .avesta-slide::after {
  background: linear-gradient(270deg,rgba(3,15,27,.88),rgba(3,15,27,.58) 46%,rgba(3,15,27,.12) 78%);
}

.avesta-preview .avesta-slide__copy {
  inset-inline-start: 58px;
}

.avesta-preview .avesta-slide h1 {
  font-size: 52px;
}

.avesta-preview .avesta-slide p {
  color: #e8edf0;
  font-size: 16px;
  margin-block-end: 26px;
}

.avesta-preview .avesta-slider .theme-carousel__pagination {
  inset-inline-start: 58px;
}

.avesta-preview .avesta-banners {
  gap: 18px;
}

.avesta-preview .avesta-side-banner__copy {
  bottom: 28px;
  inset-inline-start: 32px;
}

.avesta-preview .avesta-side-banner h2 {
  font-size: 29px;
}

.avesta-preview .avesta-slide .avesta-kicker,
.avesta-preview .avesta-side-banner .avesta-kicker {
  font-size: 11px;
  letter-spacing: 2.1px;
}

.avesta-preview .avesta-newsletter__inner {
  gap: 55px;
  grid-template-columns: 1fr 570px;
  min-block-size: 105px;
}

.avesta-preview .avesta-newsletter h2 {
  font-size: 27px;
}

.avesta-preview .avesta-footer__grid {
  gap: 95px;
  padding-block: 58px 47px;
}

.avesta-preview .avesta-footer h2 {
  font-size: 21px;
}

.avesta-preview .avesta-copyright {
  min-block-size: 66px;
}

.avesta-preview .avesta-inner-middle {
  padding-block: 52px 64px;
}

.avesta-preview .avesta-breadcrumb {
  margin-block-end: 22px;
}

.avesta-preview .avesta-page-title {
  color: var(--avesta-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 30px;
  padding-block-end: 18px;
  position: relative;
}

.avesta-preview .avesta-page-title::after {
  background: var(--avesta-coral);
  block-size: 3px;
  content: "";
  inset-block-end: 0;
  inset-inline-start: 0;
  inline-size: 58px;
  position: absolute;
}

[dir="rtl"] .avesta-preview .avesta-page-title {
  font-family: "IRANYekanXNoEn", Tahoma, Arial, sans-serif;
  font-weight: 650;
}

.avesta-preview .avesta-article {
  box-shadow: 0 9px 30px rgba(15,45,80,.08);
  min-block-size: 510px;
}

.avesta-preview .avesta-article__image {
  min-block-size: 510px;
}

.avesta-preview .avesta-article__copy {
  padding: 52px 56px;
}

.avesta-preview .avesta-article__copy .avesta-kicker {
  color: var(--avesta-coral);
  font-size: 12px;
  letter-spacing: 1.8px;
}

.avesta-preview .avesta-article__copy h2 {
  color: var(--avesta-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.25;
  margin: 10px 0 20px;
}

[dir="rtl"] .avesta-preview .avesta-article__copy h2 {
  font-family: "IRANYekanXNoEn", Tahoma, Arial, sans-serif;
  font-weight: 650;
}

.avesta-preview .avesta-article__body {
  color: #636d77;
  font-size: 15px;
  line-height: 1.75;
}

.avesta-preview .avesta-article__body p {
  margin: 0 0 17px;
}

.avesta-preview .avesta-quote {
  font-size: 18px;
  margin: 25px 0 0;
  padding: 17px 21px;
}

.avesta-preview .avesta-content {
  background: #fff;
  border: 1px solid var(--avesta-line);
  box-shadow: 0 9px 30px rgba(15,45,80,.08);
  color: #636d77;
  margin-block: 0 30px;
  padding: clamp(25px,4vw,56px);
}

.avesta-preview .avesta-content__header {
  border-block-end: 1px solid var(--avesta-line);
  margin-block-end: 25px;
  padding-block-end: 18px;
}

.avesta-preview .avesta-content__header h1 {
  color: var(--avesta-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px,3.5vw,44px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 10px;
}

[dir="rtl"] .avesta-preview .avesta-content__header h1 {
  font-family: "IRANYekanXNoEn", Tahoma, Arial, sans-serif;
  font-weight: 650;
}

.avesta-preview .avesta-content__description {
  color: #6c7480;
  font-size: 15px;
  margin: 0;
}

.avesta-preview .avesta-content__body {
  color: #636d77;
  font-size: 15px;
  line-height: 1.9;
}

.avesta-preview .avesta-content__body > :first-child {
  margin-block-start: 0;
}

.avesta-preview .avesta-content__body > :last-child {
  margin-block-end: 0;
}

@media (min-width: 851px) {
  .avesta-preview .avesta-header__main {
    gap: 28px;
    grid-template-columns: minmax(360px,1fr) minmax(430px,1fr);
    grid-template-rows: auto;
    min-block-size: 146px;
    padding-block: 0;
  }

  .avesta-preview .avesta-header__actions {
    gap: 14px;
    grid-column: 2;
    grid-row: 1;
  }

  .avesta-preview .avesta-header__navigation,
  .avesta-preview .avesta-search-row {
    align-self: auto;
    grid-column: auto;
    grid-row: auto;
  }

  .avesta-preview .avesta-header .theme-menu {
    gap: 22px;
  }

  .avesta-preview .avesta-search-row {
    width: 280px;
  }

  .avesta-preview .avesta-header .theme-menu > .theme-menu__item--has-children > .theme-menu__toggle {
    display: none;
  }

  .avesta-preview .avesta-header .theme-menu > .theme-menu__item--has-children > .theme-menu__link {
    padding-inline: 0;
  }
}

@media (min-width: 1151px) {
  .avesta-preview .avesta-header__main {
    gap: 42px;
    grid-template-columns: minmax(440px,1fr) minmax(500px,680px);
  }

  .avesta-preview .avesta-header__actions {
    gap: 18px;
  }

  .avesta-preview .avesta-header .theme-menu {
    gap: 34px;
  }

  .avesta-preview .avesta-search-row {
    width: 300px;
  }
}

@media (min-width: 851px) {
  body.theme-controls-editing .avesta-preview .avesta-header__actions,
  body.dnnEditState .avesta-preview .avesta-header__actions,
  body.dnnEditMode .avesta-preview .avesta-header__actions,
  body.dnnLayoutState .avesta-preview .avesta-header__actions,
  body.dnnLayoutMode .avesta-preview .avesta-header__actions {
    display: contents;
  }
}

@media (max-width: 850px) {
  .avesta-preview {
    --theme-gutter: 15px;
  }

  .avesta-preview .theme-wrap {
    inline-size: min(calc(100% - 30px),760px);
  }

  .avesta-preview .avesta-header__main {
    gap: 0 15px;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: auto auto;
    min-block-size: 92px;
    padding-block: 0;
  }

  .avesta-preview .avesta-brand img {
    block-size: 78px;
    inline-size: 84px;
  }

  .avesta-preview .avesta-brand__copy {
    margin-inline-start: 10px;
    padding-inline-start: 11px;
  }

  .avesta-preview .avesta-brand__copy strong {
    font-size: 22px;
  }

  .avesta-preview .avesta-brand__copy span {
    font-size: 11px;
    margin-block-start: 4px;
  }

  .avesta-preview .avesta-header__actions {
    display: contents;
  }

  .avesta-preview .avesta-offcanvas-utility-host {
    border-block-start: 1px solid var(--avesta-line);
    display: block;
    margin-block-start: 1rem;
    padding-block: 1rem .5rem;
  }

  .avesta-preview .avesta-offcanvas-utility-host:empty {
    display: none;
  }

  .avesta-preview .avesta-offcanvas-utility-host .avesta-utility,
  .avesta-preview .avesta-offcanvas-utility-host .avesta-account,
  .avesta-preview .avesta-offcanvas-utility-host .avesta-account .registerGroup,
  .avesta-preview .avesta-offcanvas-utility-host .avesta-account .loginGroup,
  .avesta-preview .avesta-offcanvas-utility-host .avesta-account .buttonGroup {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
  }

  .avesta-preview .avesta-offcanvas-utility-host .theme-language-selector {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .avesta-preview .avesta-hero-grid {
    height: auto;
  }

  .avesta-preview .avesta-newsletter__inner {
    grid-template-columns: 1fr;
  }

  .avesta-preview .avesta-footer__grid {
    gap: 45px;
  }

  .avesta-preview .avesta-article__image {
    min-block-size: 380px;
  }

  .avesta-preview .avesta-copyright {
    display: block;
  }
}

@media (max-width: 560px) {
  .avesta-preview .avesta-brand img {
    block-size: 65px;
    inline-size: 70px;
  }

  .avesta-preview .avesta-brand__copy strong {
    font-size: 18px;
  }

  .avesta-preview .avesta-brand__copy span {
    display: none;
  }

  .avesta-preview .avesta-page-title {
    font-size: 36px;
  }

  .avesta-preview .avesta-article__copy {
    padding: 34px 25px;
  }

  .avesta-preview .avesta-article__copy h2 {
    font-size: 29px;
  }
}

@media (max-width: 850px) {
  .avesta-preview .avesta-header__main {
    gap: .55rem .8rem;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: auto auto;
    min-block-size: 7.25rem;
    padding-block: .45rem;
  }

  .avesta-preview .avesta-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .avesta-preview .avesta-brand img {
    block-size: 4.55rem;
    inline-size: 4.8rem;
  }

  .avesta-preview .avesta-brand__copy strong {
    font-size: 1.2rem;
  }

  .avesta-preview .avesta-brand__copy span {
    display: none;
  }

  .avesta-preview .avesta-nav-toggle {
    color: var(--avesta-navy);
    display: inline-flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 1;
  }

  .avesta-preview .avesta-header__actions {
    display: contents;
  }

  .avesta-preview .avesta-header__utility {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    justify-self: start;
    min-block-size: 2.25rem;
    width: auto;
  }

  .avesta-preview .avesta-account {
    display: none;
  }

  .avesta-preview .avesta-header__navigation {
    background: #fff;
    color: var(--avesta-navy);
  }

  .avesta-preview .avesta-header .theme-menu {
    display: block;
  }

  .avesta-preview .avesta-header .theme-menu__link {
    font-size: .86rem;
    min-block-size: 3.15rem;
    padding: .7rem 3.25rem .7rem .85rem;
  }

  [dir="rtl"] .avesta-preview .avesta-header .theme-menu__link {
    padding: .7rem .85rem .7rem 3.25rem;
  }

  .avesta-preview .avesta-header .theme-menu__submenu {
    border-block-start: 0;
    padding-block: 0;
  }

  .avesta-preview .avesta-search-row {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    width: auto;
  }

  .avesta-preview .avesta-search-toggle {
    display: inline-flex;
  }

  .avesta-preview .avesta-search-panel {
    background: #fff;
    border-radius: .35rem;
    box-shadow: var(--theme-shadow);
    display: none;
    inline-size: min(25rem,calc(100vw - 2rem));
    inset-block-start: calc(100% + .4rem);
    inset-inline-end: 0;
    padding: .65rem;
    position: absolute;
    z-index: 1250;
  }

  .avesta-preview .avesta-search-panel.is-open {
    display: block;
  }
}

@media (max-width: 600px) {
  .avesta-preview .avesta-header__main {
    min-block-size: 6.6rem;
  }

  .avesta-preview .avesta-brand img {
    block-size: 4rem;
    inline-size: 4.15rem;
  }

  .avesta-preview .avesta-brand__copy {
    display: none;
  }

  .avesta-preview .theme-language-selector__link {
    font-size: .64rem;
    min-block-size: 1.75rem;
    min-inline-size: 1.75rem;
  }
}

/* RC6R14A: native visible-page menu, portal-home brand target and viewport-safe dropdowns. */
.avesta-preview .avesta-header {
  position: relative;
  z-index: 120;
}

.avesta-preview .avesta-header__actions,
.avesta-preview .avesta-header__navigation,
.avesta-preview .avesta-header__navigation .theme-menu-host,
.avesta-preview .avesta-header .theme-menu,
.avesta-preview .avesta-header .theme-menu__item {
  overflow: visible;
}

.avesta-preview .avesta-header .theme-menu {
  flex-wrap: wrap;
  row-gap: .2rem;
}

.avesta-preview .avesta-header .theme-menu__item {
  max-inline-size: 100%;
  position: relative;
}

.avesta-preview .avesta-header .theme-menu__submenu {
  max-inline-size: min(22rem, calc(100vw - 2rem));
  min-inline-size: min(16rem, calc(100vw - 2rem));
}

.avesta-preview .avesta-header .theme-menu__submenu .theme-menu__link {
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (min-width: 851px) {
  [dir="ltr"] .avesta-preview .avesta-header .theme-menu > .theme-menu__item > .theme-menu__submenu {
    left: auto;
    right: 0;
  }

  [dir="rtl"] .avesta-preview .avesta-header .theme-menu > .theme-menu__item > .theme-menu__submenu {
    left: 0;
    right: auto;
  }
}

@media (max-width: 850px) {
  .avesta-preview .avesta-header .theme-menu__submenu {
    left: auto;
    max-inline-size: none;
    min-inline-size: 0;
    right: auto;
  }
}

/* RC6R14A-HF1: split Logo/Brand hit areas and logical menu alignment. */
.avesta-preview .avesta-header__navigation,
.avesta-preview .avesta-header__navigation .theme-menu-host,
.avesta-preview .avesta-header .theme-menu,
.avesta-preview .avesta-header .theme-menu__link,
.avesta-preview .avesta-header .theme-menu__submenu {
  text-align: start;
}

.avesta-preview .avesta-header .theme-menu {
  justify-content: flex-start;
}

.avesta-preview .avesta-header .theme-menu__link {
  justify-content: flex-start;
}

/* RC6R14A-HF2: edge-anchored desktop navigation and viewport-contained mobile search. */
@media (min-width: 851px) {
  .avesta-preview .avesta-header__main {
    gap: .45rem clamp(1rem, 2vw, 2rem);
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 16.5rem);
    grid-template-rows: auto auto;
    min-block-size: 8.9rem;
    padding-block: .65rem .75rem;
  }

  .avesta-preview .avesta-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .avesta-preview .avesta-header__actions {
    display: contents;
  }

  .avesta-preview .avesta-header__utility {
    align-self: center;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
  }

  .avesta-preview .avesta-header__navigation {
    align-self: end;
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    min-inline-size: 0;
    width: 100%;
  }

  .avesta-preview .avesta-search-row {
    align-self: end;
    grid-column: 2;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
  }

  .avesta-preview .avesta-header .theme-menu {
    flex-wrap: nowrap;
    gap: clamp(.35rem, .65vw, .75rem);
    justify-content: flex-start;
    max-inline-size: 100%;
    row-gap: 0;
    width: 100%;
  }

  .avesta-preview .avesta-header .theme-menu__item {
    flex: 0 0 auto;
  }

  .avesta-preview .avesta-header .theme-menu__link {
    font-size: clamp(.7rem, .72vw, .78rem);
    letter-spacing: 0;
    padding-inline: .1rem;
    text-align: start;
    white-space: nowrap;
  }
}

@media (max-width: 850px) {
  .avesta-preview .avesta-search-row {
    position: static;
  }

  .avesta-preview .avesta-search-panel {
    box-sizing: border-box;
    inline-size: auto;
    inset-block-start: 100%;
    inset-inline: 0;
    max-inline-size: none;
    width: auto;
  }

  .avesta-preview .avesta-search,
  .avesta-preview .avesta-search > span,
  .avesta-preview .avesta-search .searchInputContainer {
    max-inline-size: 100%;
    min-inline-size: 0;
    width: 100%;
  }

  .avesta-preview .avesta-search input[type="text"] {
    inline-size: 100%;
    max-inline-size: 100%;
    min-inline-size: 0;
  }
}

/* RC6R14A-HF3: edit-mode-safe desktop rows and mutually exclusive mobile overlays. */
@media (min-width: 851px) {
  body.theme-controls-editing .avesta-preview .avesta-header__main,
  body.dnnEditState .avesta-preview .avesta-header__main,
  body.dnnEditMode .avesta-preview .avesta-header__main,
  body.dnnLayoutState .avesta-preview .avesta-header__main,
  body.dnnLayoutMode .avesta-preview .avesta-header__main {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
  }

  body.theme-controls-editing .avesta-preview .avesta-header__navigation,
  body.dnnEditState .avesta-preview .avesta-header__navigation,
  body.dnnEditMode .avesta-preview .avesta-header__navigation,
  body.dnnLayoutState .avesta-preview .avesta-header__navigation,
  body.dnnLayoutMode .avesta-preview .avesta-header__navigation {
    grid-column: 1 / -1;
    grid-row: 2;
    max-inline-size: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
  }

  body.theme-controls-editing .avesta-preview .avesta-header__navigation .theme-menu-host,
  body.dnnEditState .avesta-preview .avesta-header__navigation .theme-menu-host,
  body.dnnEditMode .avesta-preview .avesta-header__navigation .theme-menu-host,
  body.dnnLayoutState .avesta-preview .avesta-header__navigation .theme-menu-host,
  body.dnnLayoutMode .avesta-preview .avesta-header__navigation .theme-menu-host {
    min-inline-size: max-content;
  }

  body.theme-controls-editing .avesta-preview .avesta-header .theme-menu,
  body.dnnEditState .avesta-preview .avesta-header .theme-menu,
  body.dnnEditMode .avesta-preview .avesta-header .theme-menu,
  body.dnnLayoutState .avesta-preview .avesta-header .theme-menu,
  body.dnnLayoutMode .avesta-preview .avesta-header .theme-menu {
    max-inline-size: none;
    min-inline-size: max-content;
    width: max-content;
  }

  body.theme-controls-editing .avesta-preview .avesta-search-row,
  body.dnnEditState .avesta-preview .avesta-search-row,
  body.dnnEditMode .avesta-preview .avesta-search-row,
  body.dnnLayoutState .avesta-preview .avesta-search-row,
  body.dnnLayoutMode .avesta-preview .avesta-search-row {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
    max-inline-size: 100%;
    width: min(100%, 19rem);
  }
}

@media (max-width: 850px) {
  body.theme-navigation-open .avesta-preview .avesta-search-panel.is-open {
    display: none;
  }
}


/* RC6R14A-HF4: responsive DNN search preview containment. */
.avesta-preview .avesta-search {
  position: relative;
}

.avesta-preview .avesta-search .searchInputContainer {
  margin: 0;
  position: static;
}

.avesta-preview .avesta-search ul.searchSkinObjectPreview {
  box-sizing: border-box;
  direction: inherit;
  inset-inline: 0;
  left: 0;
  margin: 0;
  max-block-size: min(24rem, calc(100vh - 9rem));
  max-height: calc(100vh - 9rem);
  max-inline-size: 100%;
  min-inline-size: 0;
  overflow-x: hidden;
  overflow-y: auto;
  right: 0;
  text-align: start;
  top: 100%;
  width: auto;
  z-index: 1300;
}

.avesta-preview .avesta-search ul.searchSkinObjectPreview > li {
  box-sizing: border-box;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  padding: .55rem .75rem;
  text-align: start;
  white-space: normal;
}

.avesta-preview .avesta-search ul.searchSkinObjectPreview > li > span,
.avesta-preview .avesta-search ul.searchSkinObjectPreview > li > p,
.avesta-preview .avesta-search ul.searchSkinObjectPreview > li > a {
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* RC6R14A-HF5: clickable mobile navigation and explicit close toggle. */
@media (max-width: 850px) {
  .avesta-preview .avesta-header {
    z-index: auto;
  }

  .avesta-preview .avesta-header__navigation.is-open {
    pointer-events: auto;
    z-index: 1000;
  }

  .avesta-preview .avesta-header__navigation.is-open .theme-menu,
  .avesta-preview .avesta-header__navigation.is-open .theme-menu__item,
  .avesta-preview .avesta-header__navigation.is-open .theme-menu__link {
    pointer-events: auto;
  }

  .avesta-preview .avesta-nav-toggle[aria-expanded="true"] {
    background: #fff;
    border: 1px solid rgba(15,45,80,.2);
    border-radius: .35rem;
    box-shadow: 0 .45rem 1.2rem rgba(4,18,35,.2);
    color: var(--avesta-navy);
    inset-block-start: 1rem;
    inset-inline-start: 1rem;
    position: fixed;
    z-index: 1002;
  }

  .avesta-preview .avesta-nav-toggle .theme-nav-toggle__line {
    transform-origin: center;
    transition: opacity .16s ease, transform .16s ease;
  }

  .avesta-preview .avesta-nav-toggle[aria-expanded="true"] .theme-nav-toggle__line:nth-child(1) {
    transform: translateY(.5rem) rotate(45deg);
  }

  .avesta-preview .avesta-nav-toggle[aria-expanded="true"] .theme-nav-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .avesta-preview .avesta-nav-toggle[aria-expanded="true"] .theme-nav-toggle__line:nth-child(3) {
    transform: translateY(-.5rem) rotate(-45deg);
  }
}

/* RC6R15A-HF1: service-page shell, account skin-object adapter, search metadata cleanup and exact mobile close glyph. */
.avesta-preview {
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
}

.avesta-preview .avesta-middle {
  flex: 1 0 auto;
  min-block-size: 0;
}


.avesta-preview .avesta-footer {
  flex: 0 0 auto;
}

.avesta-preview .avesta-account,
.avesta-preview .avesta-account .registerGroup,
.avesta-preview .avesta-account .loginGroup,
.avesta-preview .avesta-account .buttonGroup {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .65rem;
  justify-content: flex-start;
  margin: 0;
  min-inline-size: 0;
  padding: 0;
}

.avesta-preview .avesta-account .registerGroup,
.avesta-preview .avesta-account .loginGroup {
  float: none;
  width: auto;
}

.avesta-preview .avesta-account .buttonGroup {
  list-style: none;
}

.avesta-preview .avesta-account .buttonGroup > li {
  align-items: center;
  display: flex;
  float: none;
  line-height: 1.35;
  margin: 0;
  max-inline-size: 14rem;
  min-block-size: 2rem;
  padding: 0;
  position: static;
  white-space: normal;
}

.avesta-preview .avesta-account .buttonGroup > li > a,
.avesta-preview .avesta-account > a,
.avesta-preview .avesta-account .loginGroup > a {
  align-items: center;
  display: inline-flex;
  gap: .3rem;
  line-height: 1.35;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.avesta-preview .avesta-account .userProfileImg,
.avesta-preview .avesta-account .userProfileImg > a {
  block-size: 2.25rem;
  flex: 0 0 2.25rem;
  inline-size: 2.25rem;
}

.avesta-preview .avesta-account .userProfileImg img {
  block-size: 2.25rem;
  border: 1px solid rgba(15,45,80,.2);
  border-radius: 50%;
  display: block;
  inline-size: 2.25rem;
  object-fit: cover;
}

.avesta-preview .avesta-account .userMessages,
.avesta-preview .avesta-account .userNotifications,
.avesta-preview .avesta-account .userDisplayName {
  min-inline-size: 0;
}

.avesta-preview .avesta-header[data-avesta-service-page="login"] .loginGroup,
.avesta-preview .avesta-header[data-avesta-service-page="login"] > .SkinObject,
.avesta-preview .avesta-header[data-avesta-service-page="register"] .registerGroup,
.avesta-preview .avesta-header[data-avesta-service-page="register"] > .SkinObject {
  display: none !important;
}

.avesta-preview .DnnModule-AccountLogin,
.avesta-preview .DnnModule-AccountRegistration,
.avesta-preview .DnnModule-ViewProfile,
.avesta-preview .DnnModule-SearchResults,
.avesta-preview .avesta-service-message {
  margin-inline: auto;
  max-inline-size: 72rem;
  width: 100%;
}

.avesta-preview .DnnModule-AccountLogin .dnnForm,
.avesta-preview .DnnModule-AccountRegistration .dnnForm,
.avesta-preview .DnnModule-ViewProfile .dnnForm {
  background: #fff;
  border: 1px solid var(--avesta-line);
  box-shadow: 0 .8rem 2rem rgba(7,23,37,.08);
  margin-block: clamp(1.5rem,4vw,4rem);
  padding: clamp(1rem,3vw,2.5rem);
}

.avesta-preview .DnnModule-AccountLogin .dnnFormItem,
.avesta-preview .DnnModule-AccountRegistration .dnnFormItem,
.avesta-preview .DnnModule-ViewProfile .dnnFormItem {
  align-items: center;
  display: grid;
  gap: .55rem 1rem;
  grid-template-columns: minmax(9rem,14rem) minmax(0,1fr);
}

[dir="rtl"] .avesta-preview .DnnModule-AccountLogin .dnnFormItem,
[dir="rtl"] .avesta-preview .DnnModule-AccountRegistration .dnnFormItem,
[dir="rtl"] .avesta-preview .DnnModule-ViewProfile .dnnFormItem {
  direction: rtl;
  text-align: right;
}

.avesta-preview .DnnModule-AccountLogin input[type="text"],
.avesta-preview .DnnModule-AccountLogin input[type="password"],
.avesta-preview .DnnModule-AccountRegistration input[type="text"],
.avesta-preview .DnnModule-AccountRegistration input[type="password"],
.avesta-preview .DnnModule-ViewProfile input[type="text"],
.avesta-preview .DnnModule-ViewProfile textarea,
.avesta-preview .DnnModule-ViewProfile select {
  max-inline-size: 100%;
  width: 100%;
}

.avesta-preview .avesta-service-message {
  background: #fff;
  border-inline-start: .3rem solid var(--avesta-coral);
  margin-block: clamp(1.5rem,4vw,4rem);
  padding: clamp(1.25rem,3vw,2.5rem);
}

.avesta-preview .avesta-service-message h1 {
  color: var(--avesta-navy);
  font-size: clamp(1.7rem,3vw,2.6rem);
  margin: 0 0 .75rem;
}

.avesta-preview .avesta-service-message p {
  line-height: 1.9;
  margin: 0;
}

.avesta-preview .avesta-search .searchSkinObjectPreview_group {
  display: none;
}

@media (max-width: 850px) {
  .avesta-preview .avesta-nav-toggle[aria-expanded="true"] {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: inline-flex;
    height: 44px;
    inset-block-start: .75rem;
    inset-inline-start: .75rem;
    justify-content: center;
    padding: 0;
    width: 44px;
  }

  .avesta-preview .avesta-nav-toggle[aria-expanded="true"] .theme-nav-toggle__line {
    display: none;
  }

  .avesta-preview .avesta-nav-toggle[aria-expanded="true"]::before,
  .avesta-preview .avesta-nav-toggle[aria-expanded="true"]::after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform-origin: center;
    width: 24px;
  }

  .avesta-preview .avesta-nav-toggle[aria-expanded="true"]::before {
    transform: translate(-50%,-50%) rotate(45deg);
  }

  .avesta-preview .avesta-nav-toggle[aria-expanded="true"]::after {
    transform: translate(-50%,-50%) rotate(-45deg);
  }

  .avesta-preview .avesta-nav-toggle[aria-expanded="true"]:focus-visible {
    outline: 3px solid var(--avesta-coral);
    outline-offset: 3px;
  }

  .avesta-preview .avesta-account,
  .avesta-preview .avesta-account .registerGroup,
  .avesta-preview .avesta-account .loginGroup,
  .avesta-preview .avesta-account .buttonGroup {
    align-items: flex-start;
    flex-direction: column;
  }

  .avesta-preview .DnnModule-AccountLogin .dnnFormItem,
  .avesta-preview .DnnModule-AccountRegistration .dnnFormItem,
  .avesta-preview .DnnModule-ViewProfile .dnnFormItem {
    grid-template-columns: minmax(0,1fr);
  }
}

/* R12 final cascade: keep preview parity authoritative over RC6 compatibility layers. */
.avesta-preview .avesta-header__actions {
  align-items: flex-end;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
  min-inline-size: 0;
  width: 100%;
}

.avesta-preview .avesta-header__navigation,
.avesta-preview .avesta-header__navigation .theme-menu-host,
.avesta-preview .avesta-header .theme-menu {
  text-align: start;
  width: 100%;
}

.avesta-preview .avesta-header .theme-menu {
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  row-gap: 0;
}

.avesta-preview .avesta-header .theme-menu > .theme-menu__item > .theme-menu__link {
  color: #27384a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  justify-content: flex-start;
  min-block-size: 0;
  padding: 0 0 12px;
  text-align: start;
  white-space: nowrap;
}

.avesta-preview .avesta-header .theme-menu__submenu {
  border: 0;
  border-block-start: 3px solid var(--avesta-coral);
  border-radius: 0;
  box-shadow: 0 16px 35px rgba(15,45,80,.14);
  inline-size: 220px;
  inset-block-start: 42px;
  inset-inline-end: auto;
  inset-inline-start: -24px;
  left: auto;
  max-inline-size: min(220px,calc(100vw - 30px));
  min-inline-size: min(220px,calc(100vw - 30px));
  padding: 11px 0;
  right: auto;
}

.avesta-preview .avesta-header .theme-menu__submenu .theme-menu__link {
  color: #465362;
  font-size: 13px;
  min-block-size: 0;
  padding: 10px 22px;
}

.avesta-preview .avesta-search-row {
  align-items: center;
  align-self: flex-end;
  display: flex;
  justify-content: flex-end;
  min-inline-size: 0;
  position: relative;
}

.avesta-preview .avesta-search,
.avesta-preview .avesta-search > span,
.avesta-preview .avesta-search .searchInputContainer {
  min-inline-size: 0;
  width: 100%;
}

.avesta-preview .avesta-search > span {
  align-items: center;
  background: #fff;
  block-size: 46px;
  border: 1px solid #d9dfe4;
  display: flex;
}

.avesta-preview .avesta-search input[type="text"] {
  background: #fff;
  block-size: 44px;
  border: 0;
  border-radius: 0;
  color: #465362;
  flex: 1 1 auto;
  font-size: 13px;
  inline-size: 100%;
  min-inline-size: 0;
  padding: 0 14px;
}

.avesta-preview .avesta-search > span > a.SkinObject {
  block-size: 44px;
  flex: 0 0 46px;
  inline-size: 46px;
  width: 46px;
}

@media (min-width: 851px) {
  .avesta-preview .avesta-header__main {
    gap: 28px;
    grid-template-columns: minmax(360px,1fr) minmax(430px,1fr);
    grid-template-rows: auto;
    min-block-size: 146px;
    padding-block: 0;
  }

  .avesta-preview .avesta-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .avesta-preview .avesta-header__actions {
    gap: 14px;
    grid-column: 2;
    grid-row: 1;
  }

  .avesta-preview .avesta-header__navigation,
  .avesta-preview .avesta-search-row {
    align-self: auto;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
  }

  .avesta-preview .avesta-header .theme-menu {
    gap: 22px;
    max-inline-size: 100%;
  }

  .avesta-preview .avesta-header .theme-menu__item {
    flex: 0 0 auto;
  }

  .avesta-preview .avesta-search-row {
    width: 280px;
  }

  .avesta-preview .avesta-header .theme-menu > .theme-menu__item--has-children > .theme-menu__toggle {
    display: none;
  }

  .avesta-preview .avesta-header .theme-menu > .theme-menu__item--has-children > .theme-menu__link {
    padding-inline: 0;
  }

  body.theme-controls-editing .avesta-preview .avesta-header__actions,
  body.dnnEditState .avesta-preview .avesta-header__actions,
  body.dnnEditMode .avesta-preview .avesta-header__actions,
  body.dnnLayoutState .avesta-preview .avesta-header__actions,
  body.dnnLayoutMode .avesta-preview .avesta-header__actions {
    display: contents;
  }
}

@media (min-width: 1151px) {
  .avesta-preview .avesta-header__main {
    gap: 42px;
    grid-template-columns: minmax(440px,1fr) minmax(500px,680px);
  }

  .avesta-preview .avesta-header__actions {
    gap: 18px;
  }

  .avesta-preview .avesta-header .theme-menu {
    gap: 34px;
  }

  .avesta-preview .avesta-search-row {
    width: 300px;
  }
}

@media (max-width: 850px) {
  .avesta-preview {
    --theme-gutter: 15px;
  }

  .avesta-preview .theme-wrap {
    inline-size: min(calc(100% - 30px),760px);
  }

  .avesta-preview .avesta-header__main {
    gap: 0 15px;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: auto auto;
    min-block-size: 92px;
    padding-block: 0;
  }

  .avesta-preview .avesta-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .avesta-preview .avesta-brand img {
    block-size: 78px;
    inline-size: 84px;
  }

  .avesta-preview .avesta-brand__copy {
    margin-inline-start: 10px;
    padding-inline-start: 11px;
  }

  .avesta-preview .avesta-brand__copy strong {
    font-size: 22px;
  }

  .avesta-preview .avesta-brand__copy span {
    display: block;
    font-size: 11px;
    margin-block-start: 4px;
  }

  .avesta-preview .avesta-header__actions {
    display: contents;
  }

  .avesta-preview .avesta-header__navigation {
    background: #fff;
    color: var(--avesta-navy);
  }

  .avesta-preview .avesta-header .theme-menu {
    display: block;
  }

  .avesta-preview .avesta-header .theme-menu > .theme-menu__item > .theme-menu__link {
    font-size: .86rem;
    min-block-size: 3.15rem;
    padding: .7rem 3.25rem .7rem .85rem;
  }

  [dir="rtl"] .avesta-preview .avesta-header .theme-menu > .theme-menu__item > .theme-menu__link {
    padding: .7rem .85rem .7rem 3.25rem;
  }

  .avesta-preview .avesta-header .theme-menu__submenu {
    border-block-start: 0;
    inline-size: auto;
    inset: auto;
    max-inline-size: none;
    min-inline-size: 0;
    padding-block: 0;
    position: static;
  }

  .avesta-preview .avesta-search-row {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    position: static;
    width: auto;
  }

  .avesta-preview .avesta-search-panel {
    box-sizing: border-box;
    inline-size: auto;
    inset-block-start: 100%;
    inset-inline: 0;
    max-inline-size: none;
    width: auto;
  }

  .avesta-preview .avesta-offcanvas-utility-host {
    border-block-start: 1px solid var(--avesta-line);
    display: block;
    margin-block-start: 1rem;
    padding-block: 1rem .5rem;
  }

  .avesta-preview .avesta-offcanvas-utility-host:empty {
    display: none;
  }

  .avesta-preview .avesta-offcanvas-utility-host .avesta-utility,
  .avesta-preview .avesta-offcanvas-utility-host .avesta-account,
  .avesta-preview .avesta-offcanvas-utility-host .avesta-account .registerGroup,
  .avesta-preview .avesta-offcanvas-utility-host .avesta-account .loginGroup,
  .avesta-preview .avesta-offcanvas-utility-host .avesta-account .buttonGroup {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
  }

  .avesta-preview .avesta-offcanvas-utility-host .theme-language-selector {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .avesta-preview .avesta-brand img {
    block-size: 65px;
    inline-size: 70px;
  }

  .avesta-preview .avesta-brand__copy strong {
    font-size: 18px;
  }

  .avesta-preview .avesta-brand__copy span {
    display: none;
  }
}

/* R12 preview breakpoint and desktop restoration over the shared 992px control layer. */
@media (min-width: 851px) {
  .avesta-preview .avesta-header {
    z-index: auto;
  }

  .avesta-preview .avesta-nav-toggle,
  .avesta-preview .avesta-search-toggle {
    display: none;
  }

  .avesta-preview .avesta-header__navigation,
  [dir="rtl"] .avesta-preview .avesta-header__navigation {
    block-size: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    inline-size: 100%;
    inset: auto;
    max-block-size: none;
    max-inline-size: none;
    overflow: visible;
    padding: 0;
    position: static;
    transform: none;
    transition: none;
    visibility: visible;
    z-index: auto;
  }

  .avesta-preview .avesta-header .theme-menu__link {
    border-block-end: 0;
  }

  .avesta-preview .avesta-header .theme-menu {
    display: flex;
  }

  .avesta-preview .avesta-header .theme-menu__submenu {
    background: #fff;
    position: absolute;
  }

  .avesta-preview .avesta-search-panel,
  .avesta-preview .avesta-search-panel.is-open {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: block;
    inline-size: 100%;
    inset: auto;
    padding: 0;
    position: static;
    visibility: visible;
    z-index: auto;
  }

  [dir="ltr"] .avesta-preview .avesta-header .theme-menu > .theme-menu__item > .theme-menu__submenu {
    inset-inline-start: -24px;
    inset-inline-end: auto;
    left: -24px;
    right: auto;
  }

  [dir="rtl"] .avesta-preview .avesta-header .theme-menu > .theme-menu__item > .theme-menu__submenu {
    inset-inline-start: -24px;
    inset-inline-end: auto;
    left: auto;
    right: -24px;
  }
}

@media (max-width: 850px) {
  .avesta-preview .avesta-search-toggle {
    display: none;
  }

  .avesta-preview .avesta-search-row {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    margin: 0 0 18px;
    position: static;
    width: 100%;
  }

  .avesta-preview .avesta-search-panel,
  .avesta-preview .avesta-search-panel.is-open {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: block;
    inline-size: 100%;
    inset: auto;
    max-inline-size: none;
    padding: 0;
    position: static;
    width: 100%;
  }
}

[dir="rtl"] .avesta-preview .avesta-side-banner--coral::after {
  background: linear-gradient(270deg,rgba(68,25,19,.72),rgba(68,25,19,.05));
}

[dir="rtl"] .avesta-preview .avesta-direction-arrow {
  display: inline-block;
  transform: scaleX(-1);
}

[dir="rtl"] .avesta-preview .avesta-brand__copy span,
[dir="rtl"] .avesta-preview .avesta-kicker,
[dir="rtl"] .avesta-preview .avesta-back-strip button {
  letter-spacing: 0;
  text-transform: none;
}
/* Avesta PatchUpdate: nested desktop submenus */
@media (min-width: 851px) {
  .avesta-preview .avesta-header .theme-menu__submenu .theme-menu__item {
    position: relative;
  }

  [dir="ltr"] .avesta-preview .avesta-header .theme-menu__submenu .theme-menu__submenu {
    inset-block-start: -14px;
    left: 100%;
    right: auto;
  }

  [dir="rtl"] .avesta-preview .avesta-header .theme-menu__submenu .theme-menu__submenu {
    inset-block-start: -14px;
    left: auto;
    right: 100%;
  }
}

/* Avesta PatchUpdate 2: production visual and interaction fixes. */

/* Keep headings legible over image overlays and over the coral newsletter. */
.avesta-preview .avesta-slide h1,
.avesta-preview .avesta-side-banner h2,
.avesta-preview .avesta-newsletter h2 {
  color: #fff;
}

/* DDR conditional classes can be concatenated until the runtime normalizer runs. */
.avesta-preview .avesta-header .theme-menu__item[class*="is-current"] > .theme-menu__link,
.avesta-preview .avesta-header .theme-menu__item[class*="is-ancestor"] > .theme-menu__link {
  color: var(--avesta-coral);
}

.avesta-preview .avesta-header .theme-menu__item[class*="is-current"] > .theme-menu__link::after,
.avesta-preview .avesta-header .theme-menu__item[class*="is-ancestor"] > .theme-menu__link::after {
  background: var(--avesta-coral);
  block-size: 2px;
  content: "";
  inset-block-end: 0;
  inset-inline: 0;
  position: absolute;
}

/* DNN search: restore an accessible clear action inside the input. */
.avesta-preview .avesta-search .searchInputContainer {
  position: relative;
}

.avesta-preview .avesta-search .searchInputContainer.has-search-value input[type="text"] {
  padding-inline-end: 44px;
}

.avesta-preview .avesta-search .dnnSearchBoxClearText {
  align-items: center;
  background: transparent;
  block-size: 44px;
  color: #526171;
  display: none !important;
  font-size: 0;
  inline-size: 44px;
  inset-block-start: 0;
  inset-inline-end: 0;
  justify-content: center;
  line-height: 1;
  position: absolute;
  text-decoration: none;
  z-index: 3;
}

.avesta-preview .avesta-search .searchInputContainer.has-search-value .dnnSearchBoxClearText {
  display: inline-flex !important;
}

.avesta-preview .avesta-search .dnnSearchBoxClearText::before {
  content: "\00d7";
  font-size: 24px;
  font-weight: 400;
}

.avesta-preview .avesta-search .dnnSearchBoxClearText:hover,
.avesta-preview .avesta-search .dnnSearchBoxClearText:focus-visible {
  color: var(--avesta-coral);
}

/* Production Contact module: isolate legacy module styles from Avesta. */
.avesta-preview .DnnModule-13798 {
  margin: 0 auto 2rem;
  max-inline-size: 920px;
}

.avesta-preview .DnnModule-13798 > .container__content {
  background: #fff;
  box-shadow: 0 .8rem 2.2rem rgba(15,45,80,.08);
  padding: clamp(1.25rem,3vw,2.5rem);
}

.avesta-preview .DnnModule-13798 .container__heading--center {
  margin-block-end: 1.5rem;
  text-align: start;
}

.avesta-preview .DnnModule-13798 .container__heading--center h2,
.avesta-preview .DnnModule-13798 .container__heading--center .Head {
  color: var(--avesta-navy) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem,3vw,2.5rem);
  font-weight: 400;
  margin: 0;
}

.avesta-preview .DnnModule-13798 .farafeedbackform-cn,
.avesta-preview .DnnModule-13798 .form-horizontal {
  background: transparent !important;
  color: #465362 !important;
  inline-size: 100%;
}

.avesta-preview .DnnModule-13798 .form-horizontal .form-group {
  align-items: center;
  display: grid !important;
  gap: .65rem 1.25rem;
  grid-template-columns: minmax(8rem,10rem) minmax(0,1fr);
  margin: 0 0 1rem !important;
}

.avesta-preview .DnnModule-13798 .form-horizontal .form-group > [class*="col-"] {
  float: none !important;
  inline-size: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

.avesta-preview .DnnModule-13798 .control-label {
  color: #27384a !important;
  float: none !important;
  font-size: .9rem;
  font-weight: 600;
  inline-size: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: start !important;
  width: auto !important;
}

.avesta-preview .DnnModule-13798 .form-control {
  background: #fff !important;
  block-size: 46px !important;
  border: 1px solid #cbd5de !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #27384a !important;
  font: inherit;
  inline-size: 100% !important;
  max-inline-size: none !important;
  padding: .65rem .8rem !important;
  width: 100% !important;
}

.avesta-preview .DnnModule-13798 textarea.form-control {
  block-size: auto !important;
  min-block-size: 150px;
  resize: vertical;
}

.avesta-preview .DnnModule-13798 .form-control:focus {
  border-color: var(--avesta-coral) !important;
  box-shadow: 0 0 0 3px rgba(217,105,75,.15) !important;
  outline: 0;
}

.avesta-preview .DnnModule-13798 .clearfix {
  display: flex;
  justify-content: flex-end;
}

.avesta-preview .DnnModule-13798 .pull-right {
  float: none !important;
}

.avesta-preview .DnnModule-13798 .btn-primary {
  align-items: center;
  background: var(--avesta-navy) !important;
  border: 1px solid var(--avesta-navy) !important;
  border-radius: 0 !important;
  color: #fff !important;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-block-size: 46px;
  min-inline-size: 8rem;
  padding: .7rem 1.4rem !important;
  text-decoration: none;
}

.avesta-preview .DnnModule-13798 .btn-primary:hover,
.avesta-preview .DnnModule-13798 .btn-primary:focus-visible {
  background: var(--avesta-coral) !important;
  border-color: var(--avesta-coral) !important;
}

/* Footer requirements: keep anonymous account links out of the public footer. */
.avesta-preview .avesta-footer .avesta-account.is-anonymous-account {
  display: none !important;
}

.avesta-preview .avesta-footer-credit {
  color: #fff;
  text-decoration: none;
}

.avesta-preview .avesta-footer-credit:hover,
.avesta-preview .avesta-footer-credit:focus-visible {
  color: #f2a992;
}

/* Responsive gallery grid independent of Bootstrap's desktop breakpoint. */
.avesta-preview .DnnModule-13799 .picture-gallery {
  display: grid !important;
  gap: 1.5rem;
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.avesta-preview .DnnModule-13799 .superlink-target--gallery {
  box-sizing: border-box;
  float: none !important;
  inline-size: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

/* Lightweight gallery viewer with close, navigation, download and zoom. */
.avesta-gallery-open {
  overflow: hidden !important;
}

.avesta-gallery-viewer[hidden] {
  display: none !important;
}

.avesta-gallery-viewer {
  align-items: center;
  background: rgba(2,12,23,.94);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 4.5rem 4.75rem 3.5rem;
  position: fixed;
  z-index: 100000;
}

.avesta-gallery-viewer__figure {
  align-items: center;
  display: flex;
  flex-direction: column;
  inline-size: 100%;
  justify-content: center;
  margin: 0;
  max-block-size: 100%;
  max-inline-size: 78rem;
  overflow: auto;
}

.avesta-gallery-viewer__image {
  block-size: auto;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.45);
  cursor: zoom-in;
  display: block;
  max-block-size: calc(100vh - 10rem);
  max-inline-size: 100%;
  object-fit: contain;
  transition: transform .18s ease;
}

.avesta-gallery-viewer.is-zoomed .avesta-gallery-viewer__image {
  cursor: zoom-out;
  max-block-size: none;
  max-inline-size: none;
  transform: scale(1.4);
}

.avesta-gallery-viewer__caption {
  color: #fff;
  margin-block-start: .75rem;
  min-block-size: 1.5rem;
  text-align: center;
}

.avesta-gallery-viewer__button,
.avesta-gallery-viewer__download {
  align-items: center;
  background: rgba(11,37,66,.9);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 0;
  color: #fff;
  display: inline-flex;
  font: inherit;
  font-size: 1.4rem;
  justify-content: center;
  min-block-size: 44px;
  min-inline-size: 44px;
  padding: .5rem;
  position: absolute;
  text-decoration: none;
}

.avesta-gallery-viewer__button:hover,
.avesta-gallery-viewer__button:focus-visible,
.avesta-gallery-viewer__download:hover,
.avesta-gallery-viewer__download:focus-visible {
  background: var(--avesta-coral,#d9694b);
  border-color: var(--avesta-coral,#d9694b);
  color: #fff;
}

.avesta-gallery-viewer__close { inset-block-start: 1rem; inset-inline-end: 1rem; }
.avesta-gallery-viewer__zoom { inset-block-start: 1rem; inset-inline-end: 4.25rem; }
.avesta-gallery-viewer__download { inset-block-start: 1rem; inset-inline-end: 7.5rem; }
.avesta-gallery-viewer__previous { inset-block-start: 50%; inset-inline-start: 1rem; transform: translateY(-50%); }
.avesta-gallery-viewer__next { inset-block-start: 50%; inset-inline-end: 1rem; transform: translateY(-50%); }

@media (min-width: 851px) {
  /* Make the module wrappers fill the fixed preview composition. */
  .avesta-preview .avesta-hero-pane > .DnnModule,
  .avesta-preview .avesta-hero-pane > .DnnModule > [id$="_ContentPane"],
  .avesta-preview .avesta-hero-pane .DNNModuleContent,
  .avesta-preview .avesta-hero-pane .superlinks__container,
  .avesta-preview .avesta-hero-pane .avesta-slider,
  .avesta-preview .avesta-hero-pane .swiper,
  .avesta-preview .avesta-hero-pane .swiper-wrapper,
  .avesta-preview .avesta-hero-pane .swiper-slide,
  .avesta-preview .avesta-banners-pane > .DnnModule,
  .avesta-preview .avesta-banners-pane > .DnnModule > [id$="_ContentPane"],
  .avesta-preview .avesta-banners-pane .DNNModuleContent,
  .avesta-preview .avesta-banners-pane .superlinks__container,
  .avesta-preview .avesta-banners-pane .avesta-banners {
    block-size: 100%;
    height: 100%;
  }

  /* Hide top-level toggles even before composite DDR classes are normalized. */
  .avesta-preview .avesta-header .theme-menu > .theme-menu__item[class*="theme-menu__item--has-children"] > .theme-menu__toggle {
    display: none;
  }

  /* Correct the known DNN Edit/Layout scrollbar and submenu clipping. */
  body.theme-controls-editing .avesta-preview .avesta-header__navigation,
  body.dnnEditState .avesta-preview .avesta-header__navigation,
  body.dnnEditMode .avesta-preview .avesta-header__navigation,
  body.dnnLayoutState .avesta-preview .avesta-header__navigation,
  body.dnnLayoutMode .avesta-preview .avesta-header__navigation {
    overflow: visible;
    scrollbar-width: auto;
  }

  body.theme-controls-editing .avesta-preview .avesta-header__navigation .theme-menu-host,
  body.dnnEditState .avesta-preview .avesta-header__navigation .theme-menu-host,
  body.dnnEditMode .avesta-preview .avesta-header__navigation .theme-menu-host,
  body.dnnLayoutState .avesta-preview .avesta-header__navigation .theme-menu-host,
  body.dnnLayoutMode .avesta-preview .avesta-header__navigation .theme-menu-host,
  body.theme-controls-editing .avesta-preview .avesta-header .theme-menu,
  body.dnnEditState .avesta-preview .avesta-header .theme-menu,
  body.dnnEditMode .avesta-preview .avesta-header .theme-menu,
  body.dnnLayoutState .avesta-preview .avesta-header .theme-menu,
  body.dnnLayoutMode .avesta-preview .avesta-header .theme-menu {
    flex-wrap: wrap;
    max-inline-size: 100%;
    min-inline-size: 0;
    width: 100%;
  }

  /* Flip a nested flyout inward when JavaScript detects a viewport edge. */
  [dir="ltr"] .avesta-preview .avesta-header .theme-menu__submenu .theme-menu__submenu.avesta-submenu--flip,
  body.ltr .avesta-preview .avesta-header .theme-menu__submenu .theme-menu__submenu.avesta-submenu--flip {
    left: auto !important;
    right: 100% !important;
  }

  [dir="rtl"] .avesta-preview .avesta-header .theme-menu__submenu .theme-menu__submenu.avesta-submenu--flip,
  body.rtl .avesta-preview .avesta-header .theme-menu__submenu .theme-menu__submenu.avesta-submenu--flip {
    left: 100% !important;
    right: auto !important;
  }
}

@media (min-width: 851px) and (max-width: 900px) {
  /* The original desktop minimums exceed the available width near 851px. */
  .avesta-preview .avesta-header__main {
    gap: 14px;
    grid-template-columns: minmax(270px,.8fr) minmax(0,1.2fr);
    inline-size: min(calc(100% - 30px),1280px);
  }

  .avesta-preview .avesta-brand img {
    block-size: 92px;
    inline-size: 100px;
  }

  .avesta-preview .avesta-brand__copy strong { font-size: 1.45rem; }
  .avesta-preview .avesta-brand__copy span { font-size: .66rem; }
  .avesta-preview .avesta-header .theme-menu { gap: 10px; }
  .avesta-preview .avesta-header .theme-menu > .theme-menu__item > .theme-menu__link { font-size: 12px; }
}

@media (max-width: 850px) {
  .avesta-preview .avesta-offcanvas-utility-host .theme-language-selector__link,
  .avesta-preview .avesta-footer .theme-language-selector__link,
  .avesta-preview .avesta-social a,
  .avesta-preview .avesta-back-strip button,
  .avesta-preview .theme-back-to-top {
    min-block-size: 44px;
    min-inline-size: 44px;
  }

  .avesta-preview .DnnModule-13798 .form-horizontal .form-group {
    grid-template-columns: minmax(7rem,8.5rem) minmax(0,1fr);
  }

  .avesta-preview .DnnModule-13799 .picture-gallery {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .avesta-gallery-viewer {
    padding: 4.75rem 3.25rem 3rem;
  }
}

@media (max-width: 600px) {
  .avesta-preview .DnnModule-13798 > .container__content {
    padding: 1.15rem;
  }

  .avesta-preview .DnnModule-13798 .form-horizontal .form-group {
    align-items: stretch;
    grid-template-columns: minmax(0,1fr);
  }

  .avesta-preview .DnnModule-13798 .btn-primary {
    inline-size: 100%;
  }

  .avesta-preview .DnnModule-13799 .picture-gallery {
    grid-template-columns: minmax(0,1fr);
  }

  .avesta-gallery-viewer {
    padding: 4.75rem .75rem 3.25rem;
  }

  .avesta-gallery-viewer__previous { inset-inline-start: .35rem; }
  .avesta-gallery-viewer__next { inset-inline-end: .35rem; }
  .avesta-gallery-viewer__download { inset-inline-end: 7rem; }
  .avesta-gallery-viewer__zoom { inset-inline-end: 3.8rem; }
  .avesta-gallery-viewer__close { inset-inline-end: .6rem; }
}

/* Avesta PatchUpdate 3: UAT interaction, administration and responsive fixes. */

/* DNN Persona Bar: temporary, session-scoped display toggle. */
#avesta-personabar-toggle {
  align-items: center;
  background: #d71920;
  border: 2px solid #fff;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  left: 80px;
  padding: 0;
  position: fixed;
  top: 126px;
  transition: left .18s ease, background-color .18s ease;
  width: 44px;
  z-index: 10000001;
}

#avesta-personabar-toggle:hover,
#avesta-personabar-toggle:focus-visible {
  background: #a90e14;
  outline: 3px solid rgba(215,25,32,.3);
  outline-offset: 2px;
}

#avesta-personabar-toggle svg {
  display: block;
  height: 25px;
  width: 25px;
}

body.avesta-personabar-hidden #avesta-personabar-toggle { left: 0; }
body.avesta-personabar-hidden.personabar-visible { margin-left: 0 !important; }
body.avesta-personabar-hidden .personabar-visible { margin-left: 0 !important; }
body.avesta-personabar-hidden iframe#personaBar-iframe {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
}
body.avesta-personabar-hidden .personaBarContainer,
body.avesta-personabar-hidden .personabar-placeholder { display: none !important; }

/* Search: suppress DNN's native background X and center the single P2 glyph. */
.avesta-preview .avesta-search .dnnSearchBoxClearText,
.avesta-preview .avesta-search .dnnSearchBoxClearText.dnnShow {
  background-color: transparent !important;
  background-image: none !important;
  inset-block-start: 50% !important;
  margin: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* Desktop navigation: remove the measured 5.5px dead zone and align levels 2/3. */
@media (min-width: 851px) {
  .avesta-preview .avesta-header .theme-menu,
  .avesta-preview .avesta-header .theme-menu__submenu { overflow: visible !important; }

  .avesta-preview .avesta-header .theme-menu__item { position: relative; }

  [dir="ltr"] .avesta-preview .avesta-header
  .theme-menu > .theme-menu__item > .theme-menu__submenu {
    inset-block-start: calc(100% - 1px) !important;
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    left: 0 !important;
    margin: 0 !important;
    right: auto !important;
    top: calc(100% - 1px) !important;
  }

  [dir="rtl"] .avesta-preview .avesta-header
  .theme-menu > .theme-menu__item > .theme-menu__submenu {
    inset-block-start: calc(100% - 1px) !important;
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    left: auto !important;
    margin: 0 !important;
    right: 0 !important;
    top: calc(100% - 1px) !important;
  }

  [dir="ltr"] .avesta-preview .avesta-header
  .theme-menu__submenu > .theme-menu__item > .theme-menu__submenu {
    inset-block-start: 0 !important;
    inset-inline-start: calc(100% - 1px) !important;
    inset-inline-end: auto !important;
    left: calc(100% - 1px) !important;
    margin: 0 !important;
    right: auto !important;
    top: 0 !important;
  }

  [dir="rtl"] .avesta-preview .avesta-header
  .theme-menu__submenu > .theme-menu__item > .theme-menu__submenu {
    inset-block-start: 0 !important;
    inset-inline-start: auto !important;
    inset-inline-end: calc(100% - 1px) !important;
    left: auto !important;
    margin: 0 !important;
    right: calc(100% - 1px) !important;
    top: 0 !important;
  }

  [dir="ltr"] .avesta-preview .avesta-header
  .theme-menu__submenu > .theme-menu__item > .theme-menu__submenu.avesta-submenu--flip {
    left: auto !important;
    right: calc(100% - 1px) !important;
  }

  [dir="rtl"] .avesta-preview .avesta-header
  .theme-menu__submenu > .theme-menu__item > .theme-menu__submenu.avesta-submenu--flip {
    left: calc(100% - 1px) !important;
    right: auto !important;
  }

  .avesta-preview .avesta-header
  .theme-menu__submenu > .theme-menu__item > .theme-menu__link {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    min-block-size: 42px;
    min-height: 42px;
    padding-block: 10px;
    white-space: nowrap;
  }

  .avesta-preview .avesta-header .avesta-submenu-indicator {
    border-block-end: 1.5px solid currentColor;
    border-inline-end: 1.5px solid currentColor;
    display: inline-block;
    flex: 0 0 auto;
    height: 6px;
    margin-inline-start: 6px;
    width: 6px;
  }

  .avesta-preview .avesta-header
  .theme-menu > .theme-menu__item > .theme-menu__link > .avesta-submenu-indicator {
    transform: translateY(-2px) rotate(45deg);
  }

  [dir="ltr"] .avesta-preview .avesta-header
  .theme-menu__submenu .theme-menu__link > .avesta-submenu-indicator {
    transform: rotate(-45deg);
  }

  [dir="rtl"] .avesta-preview .avesta-header
  .theme-menu__submenu .theme-menu__link > .avesta-submenu-indicator {
    transform: rotate(135deg);
  }
}

@media (max-width: 850px) {
  .avesta-preview .avesta-submenu-indicator { display: none !important; }

  /* French/LTR mobile drawer must enter from the physical right. */
  .avesta-preview .avesta-header__navigation,
  [dir="ltr"] .avesta-preview .avesta-header__navigation {
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
    left: auto !important;
    right: 0 !important;
    transform: translateX(calc(100% + 2rem)) !important;
  }

  .avesta-preview .avesta-header__navigation.is-open,
  [dir="ltr"] .avesta-preview .avesta-header__navigation.is-open {
    transform: translateX(0) !important;
  }

  /* FR/Register/Login remain outside the hamburger; authenticated Logout is moved to its menu. */
  .avesta-preview .avesta-offcanvas-utility-host { display: none !important; }

  .avesta-preview .avesta-brand__logo-link { margin-block: 5px !important; }
  .avesta-preview .avesta-brand__logo-link img { margin-block: 0 !important; }

  /* Mobile hero typography must fit the image instead of covering it. */
  .avesta-preview .avesta-slide__copy {
    inset-inline: 1.25rem !important;
    max-inline-size: calc(100% - 2.5rem) !important;
  }

  .avesta-preview .avesta-slide h1 {
    font-size: clamp(1.55rem,7vw,2rem) !important;
    line-height: 1.16 !important;
    margin-block: .55rem .7rem !important;
  }

  .avesta-preview .avesta-slide p {
    display: block !important;
    font-size: .78rem !important;
    line-height: 1.38 !important;
    margin-block-end: .7rem !important;
    max-block-size: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }

  .avesta-preview .avesta-slide .avesta-kicker {
    font-size: .62rem !important;
    letter-spacing: .08rem !important;
  }

  .avesta-preview .avesta-slide .avesta-more {
    font-size: .64rem !important;
    gap: .4rem !important;
    min-block-size: 36px !important;
    padding: .45rem .72rem !important;
  }

  .avesta-preview .avesta-slider .theme-carousel__pagination {
    bottom: .75rem !important;
    inset-inline-start: 1.25rem !important;
  }

  /* Footer module content is centered on mobile. */
  .avesta-preview .avesta-footer__grid,
  .avesta-preview .avesta-footer__grid > .theme-pane,
  .avesta-preview .avesta-footer__grid .DNNModuleContent { text-align: center !important; }
  .avesta-preview .avesta-footer-links { justify-items: center; }
  .avesta-preview .avesta-social { justify-content: center; }
  .avesta-preview .avesta-footer-about {
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  /* The live login module class is Authentication, not AccountLogin. */
  .avesta-preview .DnnModule-Authentication {
    box-sizing: border-box;
    margin-inline: auto !important;
    max-inline-size: 32rem;
    width: 100%;
  }

  .avesta-preview .DnnModule-Authentication .loginContent,
  .avesta-preview .DnnModule-Authentication .LoginPanel,
  .avesta-preview .DnnModule-Authentication .dnnLoginService {
    box-sizing: border-box;
    float: none !important;
    margin-inline: auto !important;
    max-width: 100% !important;
    padding-inline: 0 !important;
    width: 100% !important;
  }

  .avesta-preview .DnnModule-Authentication .dnnFormItem {
    display: grid;
    gap: .4rem;
    grid-template-columns: minmax(0,1fr);
    margin-block-end: .9rem;
    width: 100% !important;
  }

  .avesta-preview .DnnModule-Authentication .dnnFormItem > .dnnLabel,
  .avesta-preview .DnnModule-Authentication .dnnFormItem > .dnnFormLabel,
  .avesta-preview .DnnModule-Authentication .dnnFormItem > span.dnnFormLabel {
    color: var(--avesta-navy,#0f2d50) !important;
    float: none !important;
    margin: 0 !important;
    text-align: start !important;
    width: 100% !important;
  }

  .avesta-preview .DnnModule-Authentication input[type="text"],
  .avesta-preview .DnnModule-Authentication input[type="password"] {
    box-sizing: border-box;
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* Authenticated Logout is moved from the footer utility to the end of the root page menu. */
.avesta-preview .avesta-menu-logout > .theme-menu__link { color: var(--avesta-coral,#d9694b); }
.avesta-preview .avesta-footer-utility-host[data-avesta-utility-desktop-host] { display: none !important; }
.avesta-preview .avesta-footer-utility-host[data-avesta-utility-desktop-host] .avesta-account:empty,
.avesta-preview .avesta-footer-utility-host[data-avesta-utility-desktop-host] .loginGroup:empty { display: none !important; }

/* SuperLinks editor: mark only its own DNN dropdowns from P3 JavaScript. */
.avesta-superlinks-editor .dnnFormItem { overflow: visible !important; }
.avesta-superlinks-editor .dnnDropDownList {
  box-sizing: border-box;
  max-width: 100% !important;
  position: relative !important;
}
.avesta-superlinks-editor .dnnDropDownList > .dt-container {
  box-sizing: border-box !important;
  left: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  right: auto !important;
  top: 100% !important;
  width: 100% !important;
  z-index: 10050 !important;
}
.avesta-superlinks-editor .dnnDropDownList > .dt-container > ul {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

/* Hypermedia article details: restore contrast, icons, alignment and spacing. */
.avesta-preview .DnnModule-13802 .article__header,
.avesta-preview .DnnModule-13802 .article__contents,
.avesta-preview .DnnModule-13802 .article__title,
.avesta-preview .DnnModule-13802 .article__category,
.avesta-preview .DnnModule-13802 .article__publish-date,
.avesta-preview .DnnModule-13802 .article__body,
.avesta-preview .DnnModule-13802 .article__body *,
.avesta-preview .DnnModule-13802 .article__tags,
.avesta-preview .DnnModule-13802 .article__tags a,
.avesta-preview .DnnModule-13802 .article__attachments,
.avesta-preview .DnnModule-13802 .article__panel,
.avesta-preview .DnnModule-13802 .article__panel__header,
.avesta-preview .DnnModule-13802 .article__panel__body,
.avesta-preview .DnnModule-13802 .comment__sending__container,
.avesta-preview .DnnModule-13802 .comment__sending__container b,
.avesta-preview .DnnModule-13802 .comments__rules {
  color: #182536 !important;
}

.avesta-preview .DnnModule-13802 .article__header { background: #fff; }
.avesta-preview .DnnModule-13802 .article__image__container.hidden { display: none !important; }
.avesta-preview .DnnModule-13802 .article__video video {
  display: block;
  height: auto;
  margin-inline: auto;
  max-width: 100%;
}

.avesta-preview .DnnModule-13802 .rate__container {
  align-items: center;
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: .25rem;
}
.avesta-preview .DnnModule-13802 .rate__stars {
  direction: ltr;
  display: inline-flex !important;
  gap: 2px;
  white-space: nowrap;
}
.avesta-preview .DnnModule-13802 .rate__stars .fa {
  color: #ff7800 !important;
  cursor: pointer;
}

.avesta-preview .DnnModule-13802 .article__panel__header {
  align-items: center;
  display: flex;
  gap: .45rem;
}

.avesta-preview .DnnModule-13802 .related__articles__list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit,minmax(15rem,1fr));
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.avesta-preview .DnnModule-13802 .related__articles__list > li { list-style: none !important; }
.avesta-preview .DnnModule-13802 .related__articles__list > li > a {
  align-items: center;
  background: #fff;
  border: 1px solid #d8dee5;
  color: #182536 !important;
  display: grid;
  gap: .85rem;
  grid-template-columns: 5.5rem minmax(0,1fr);
  min-height: 6.5rem;
  padding: .65rem;
  text-decoration: none;
}
.avesta-preview .DnnModule-13802 .article__related .related-article__title {
  color: #182536 !important;
}
.avesta-preview .DnnModule-13802 .related__articles__list img {
  height: 5.25rem;
  object-fit: cover;
  width: 5.25rem;
}

.avesta-preview .DnnModule-13802 .comment__sending__container > .row,
.avesta-preview .DnnModule-13802 .comment__sending__container .row {
  row-gap: .9rem;
}
.avesta-preview .DnnModule-13802 .comment__sending__container .form-group {
  margin-block-end: .9rem !important;
}
.avesta-preview .DnnModule-13802 .comment__sending__container .form-control {
  box-sizing: border-box;
  min-height: 42px;
  width: 100% !important;
}
.avesta-preview .DnnModule-13802 .comment__sending__container textarea.form-control {
  min-height: 120px;
}

/* Main audio: player first, image immediately below, both centered. */
.avesta-preview .DnnModule-13802 .avesta-audio-main {
  align-items: center;
  clear: both;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-block: 1.25rem;
  width: 100%;
}
.avesta-preview .DnnModule-13802 .avesta-audio-main .article__video,
.avesta-preview .DnnModule-13802 .avesta-audio-main .article__image__container {
  float: none !important;
  margin: 0 !important;
  max-width: 100% !important;
  text-align: center;
}
.avesta-preview .DnnModule-13802 .avesta-audio-main audio {
  display: block;
  margin-inline: auto;
  max-width: 100%;
  width: min(26rem,100%);
}
.avesta-preview .DnnModule-13802 .avesta-audio-main .article__image {
  display: block;
  margin: 0 auto !important;
}

/* Hypermedia gallery: Bootstrap 5 no longer defines col-xs-6; guarantee two items on mobile. */
.avesta-preview .DnnModule-13802.avesta-has-main-audio .article__attachments .detail__album {
  display: grid !important;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit,minmax(9rem,1fr));
  margin-inline: 0 !important;
  width: 100%;
}
.avesta-preview .DnnModule-13802.avesta-has-main-audio .article__attachments .detail__album__item {
  float: none !important;
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  width: auto !important;
}
.avesta-preview .DnnModule-13802.avesta-has-main-audio .article__attachments .detail__album__image img {
  display: block;
  height: auto;
  width: 100%;
}

/* Restored Font Awesome dependency makes the existing download icon visible. */
.avesta-preview .DnnModule-13802 .AttachFile-template1__item .template1-item__icon > a {
  align-items: center;
  display: flex !important;
  gap: .25rem;
  justify-content: center;
}
.avesta-preview .DnnModule-13802 .AttachFile-template1__item .fa-download {
  color: #fff !important;
  display: inline-block !important;
  font-size: 1.1rem;
}

/* LightGallery audio slides: keep the native control above the thumbnail rail. */
.lg-outer .lg-video-cont.avesta-audio-lightbox {
  height: 80px !important;
  max-width: 94vw !important;
  transform: translateY(-3.5rem);
  width: min(40rem,94vw) !important;
}
.lg-outer .lg-video-cont.avesta-audio-lightbox audio.lg-video-object,
.lg-outer .lg-video-cont.avesta-audio-lightbox audio {
  bottom: auto !important;
  display: block !important;
  height: 54px !important;
  left: 0 !important;
  margin: 0 auto !important;
  opacity: 1 !important;
  position: relative !important;
  right: 0 !important;
  top: 0 !important;
  width: min(38rem,90vw) !important;
  z-index: 4;
}

@media (max-width: 600px) {
  .avesta-preview .DnnModule-13802.avesta-has-main-audio .article__attachments .detail__album {
    gap: .75rem;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  .avesta-preview .DnnModule-13802 .article__header .meta__right-pane,
  .avesta-preview .DnnModule-13802 .article__header .meta__left-pane { text-align: start; }
}

/* P3 SuperLinks viewer: fixed full viewport, inline SVG toolbar and thumbnail rail. */
html.avesta-gallery-open,
body.avesta-gallery-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}
.avesta-gallery-viewer[hidden] { display: none !important; }
.avesta-gallery-viewer {
  background: rgba(0,0,0,.97) !important;
  box-sizing: border-box;
  display: block !important;
  height: 100vh;
  height: 100dvh;
  inset: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: fixed !important;
  width: 100vw;
  z-index: 2147483000 !important;
}
.avesta-gallery-viewer__stage {
  align-items: center;
  bottom: 104px;
  display: flex;
  justify-content: center;
  left: 58px;
  overflow: auto;
  position: absolute;
  right: 58px;
  top: 56px;
}
.avesta-gallery-viewer__figure {
  align-items: center !important;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  justify-content: center !important;
  margin: 0 !important;
  max-height: none !important;
  max-width: 100% !important;
  overflow: visible !important;
  width: 100% !important;
}
.avesta-gallery-viewer__image {
  box-shadow: none !important;
  cursor: zoom-in;
  display: block;
  height: auto;
  max-height: calc(100vh - 190px) !important;
  max-width: min(100%,82rem) !important;
  object-fit: contain;
  transition: transform .18s ease;
}
.avesta-gallery-viewer.is-zoomed .avesta-gallery-viewer__image {
  cursor: zoom-out;
  max-height: none !important;
  max-width: none !important;
  transform: scale(1.45);
}
.avesta-gallery-viewer__caption {
  color: #fff !important;
  margin-block-start: .55rem;
  min-height: 1.2rem;
  text-align: center;
}
.avesta-gallery-viewer__counter {
  color: #fff;
  font: 14px/1.2 Arial,sans-serif;
  left: 16px;
  position: absolute;
  top: 18px;
}
.avesta-gallery-viewer__toolbar {
  align-items: center;
  display: flex;
  gap: 2px;
  position: absolute;
  right: 10px;
  top: 8px;
  z-index: 4;
}
.avesta-gallery-viewer__button,
.avesta-gallery-viewer__download {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #d7d7d7 !important;
  display: inline-flex !important;
  height: 44px;
  justify-content: center !important;
  min-height: 44px !important;
  min-width: 44px !important;
  padding: 9px !important;
  text-decoration: none !important;
  width: 44px;
}
.avesta-gallery-viewer__toolbar .avesta-gallery-viewer__button,
.avesta-gallery-viewer__toolbar .avesta-gallery-viewer__download {
  inset: auto !important;
  position: static !important;
  transform: none !important;
}
.avesta-gallery-viewer__button:hover,
.avesta-gallery-viewer__button:focus-visible,
.avesta-gallery-viewer__download:hover,
.avesta-gallery-viewer__download:focus-visible {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: -2px;
}
.avesta-gallery-viewer__button svg,
.avesta-gallery-viewer__download svg {
  display: block;
  height: 23px;
  pointer-events: none;
  width: 23px;
}
.avesta-gallery-viewer__previous,
.avesta-gallery-viewer__next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3;
}
.avesta-gallery-viewer__previous { left: 8px !important; right: auto !important; }
.avesta-gallery-viewer__next { left: auto !important; right: 8px !important; }
.avesta-gallery-viewer__thumbnails {
  align-items: center;
  background: rgba(18,18,18,.92);
  bottom: 0;
  display: flex;
  gap: 7px;
  height: 92px;
  justify-content: center;
  left: 0;
  overflow-x: auto;
  padding: 8px 56px;
  position: absolute;
  right: 0;
}
.avesta-gallery-viewer__thumbnail {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  flex: 0 0 76px;
  height: 70px;
  overflow: hidden;
  padding: 0;
}
.avesta-gallery-viewer__thumbnail.is-active { border-color: var(--avesta-coral,#d9694b); }
.avesta-gallery-viewer__thumbnail img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 600px) {
  .avesta-gallery-viewer__stage { bottom: 88px; left: 44px; right: 44px; top: 54px; }
  .avesta-gallery-viewer__image { max-height: calc(100vh - 170px) !important; }
  .avesta-gallery-viewer__thumbnails { height: 78px; padding-inline: 44px; }
  .avesta-gallery-viewer__thumbnail { flex-basis: 62px; height: 58px; }
  .avesta-gallery-viewer__previous { left: 0 !important; }
  .avesta-gallery-viewer__next { right: 0 !important; }
}
