/* Scoped copy of alean-hotel-info-accordions for mt_contact; edit independently from main. */
/* ========================
   HOTEL INFO ACCORDIONS
   Premium numbered style
   ======================== */

.mt-contact-hotel-info-accordion {
  margin: 0;
  color: #1a1a1a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Drupal showcase accordion styles (scoped to hotel info) */
.mt-contact-hotel-info-accordion {
  --contacts-card-border: #f3f4f6;
  --alean-color-slate-50: #f8fafc;
  --alean-color-slate-100: #f1f5f9;
  --alean-color-slate-200: #e2e8f0;
  --alean-color-slate-400: #94a3b8;
  --alean-color-slate-500: #64748b;
  --alean-color-slate-700: #334155;
  --alean-color-slate-800: #1e293b;
  --alean-color-slate-900: #0f172a;
  --alean-color-indigo-50: #eef2ff;
  --alean-color-indigo-200: #c7d2fe;
  --alean-color-indigo-500: #6366f1;
  --alean-color-indigo-600: #4f46e5;
  --alean-color-indigo-900: #312e81;
  --alean-font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --alean-font-serif: 'Playfair Display', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
}

.mt-contact-hotel-info-accordion .accordion-group { margin-bottom: 1.5rem; width: 100%; }
.mt-contact-hotel-info-accordion .accordion-group:last-child { margin-bottom: 0; }
/* Заголовок группы: h2 + короткая полоска снизу (как .alean-room-categories__title-line) */
.mt-contact-hotel-info-accordion .accordion-group-title {
  position: relative;
  display: inline-block;
  font-family: var(--alean-font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: var(--alean-color-slate-900);
  margin: 0 0 1rem;
  padding: 0.375rem;
  box-sizing: border-box;
  line-height: 1.25;
}
.mt-contact-hotel-info-accordion .accordion-group-title__text {
  position: relative;
  z-index: 0;
}
.mt-contact-hotel-info-accordion .accordion-group-title__line {
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: 2rem;
  height: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(to right, rgb(147 51 234) 0%, rgb(126 34 206) 100%);
  transition: width 0.3s ease, opacity 0.3s ease;
}
@media (min-width: 640px) {
  .mt-contact-hotel-info-accordion .accordion-group-title {
    padding-left: 0;
    padding-right: 0;
  }
  .mt-contact-hotel-info-accordion .accordion-group-title__line {
    left: 0;
  }
}
@media (min-width: 768px) {
  .mt-contact-hotel-info-accordion .accordion-group-title {
    font-size: 1.5rem;
    padding-bottom: 0.375rem;
    margin-bottom: 1.125rem;
  }
  .mt-contact-hotel-info-accordion .accordion-group-title__line {
    width: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .mt-contact-hotel-info-accordion .accordion-group-title__line {
    width: 3rem;
  }
}
.mt-contact-hotel-info-accordion .accordion-container {
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--contacts-card-border);
  overflow: hidden;
  width: 100%;
}
.mt-contact-hotel-info-accordion .accordion-item { border-bottom: 1px solid var(--contacts-card-border); }
.mt-contact-hotel-info-accordion .accordion-item:last-child { border-bottom: none; }
.mt-contact-hotel-info-accordion .accordion-item:has(.accordion-header[aria-expanded='true']) {
  background: linear-gradient(90deg, rgb(147 51 234 / 0.05) 0%, rgb(250 245 255 / 0.45) 18%, transparent 100%);
}
.mt-contact-hotel-info-accordion .accordion-header { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; text-align: left; transition: background-color .3s ease; box-sizing: border-box; background: transparent; background-color: transparent; border: 0; border-radius: 0; box-shadow: none; outline: none; -webkit-appearance: none; appearance: none; }
@media (min-width: 500px) { .mt-contact-hotel-info-accordion .accordion-header { padding: 1rem 1.5rem; } }
@media (min-width: 768px) { .mt-contact-hotel-info-accordion .accordion-header { padding: 1.125rem 1.75rem; } }
.mt-contact-hotel-info-accordion .accordion-header:hover { background-color: rgba(248, 250, 252, .5); }
.mt-contact-hotel-info-accordion .accordion-header:focus, .mt-contact-hotel-info-accordion .accordion-header:active { outline: none; }
.mt-contact-hotel-info-accordion .accordion-header:focus-visible { outline: 2px solid rgb(147 51 234 / .35); outline-offset: 2px; border-radius: .75rem; }
.mt-contact-hotel-info-accordion .accordion-header-content { display: flex; align-items: center; gap: 1rem; min-width: 0; }
@media (min-width: 500px) { .mt-contact-hotel-info-accordion .accordion-header-content { gap: 1.25rem; } }
@media (min-width: 768px) { .mt-contact-hotel-info-accordion .accordion-header-content { gap: 1.5rem; } }
.mt-contact-hotel-info-accordion .accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
  background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
  transition: all .5s ease;
  flex-shrink: 0;
}
.mt-contact-hotel-info-accordion .accordion-icon svg { width: 1.25rem; height: 1.25rem; }
.mt-contact-hotel-info-accordion .accordion-icon svg { display: block; }
@media (min-width: 768px) {
  .mt-contact-hotel-info-accordion .accordion-icon { width: 3rem; height: 3rem; }
  .mt-contact-hotel-info-accordion .accordion-icon svg { width: 1.5rem; height: 1.5rem; }
}
.mt-contact-hotel-info-accordion .accordion-header[aria-expanded="true"] .accordion-icon {
  background-color: rgb(126 34 206);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgb(147 51 234 / .3);
  transform: scale(1.05);
}
.mt-contact-hotel-info-accordion .accordion-header:not([aria-expanded="true"]):hover .accordion-icon {
  background-color: rgb(243 232 255);
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}
.mt-contact-hotel-info-accordion .accordion-title { /*font-family: var(--alean-font-serif);*/ font-size: 1rem; font-weight: 600; color: var(--alean-color-slate-800); transition: color .3s ease; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.mt-contact-hotel-info-accordion .accordion-header[aria-expanded="true"] .accordion-title { color: rgb(88 28 135); }
.mt-contact-hotel-info-accordion .accordion-chevron { display: flex; align-items: center; justify-content: center; padding: .5rem; border-radius: 9999px; transition: all .3s ease; }
.mt-contact-hotel-info-accordion .accordion-chevron svg { width: 1.5rem; height: 1.5rem; transition: transform .4s ease; }
.mt-contact-hotel-info-accordion .accordion-header[aria-expanded="true"] .accordion-chevron { background-color: rgb(250 245 255); color: rgb(147 51 234); }
.mt-contact-hotel-info-accordion .accordion-header:not([aria-expanded="true"]):hover .accordion-chevron { background-color: var(--alean-color-slate-100); }
.mt-contact-hotel-info-accordion .accordion-header[aria-expanded="true"] .accordion-chevron svg { transform: rotate(180deg); }
.mt-contact-hotel-info-accordion .accordion-content { max-height: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease; opacity: 0; }
.mt-contact-hotel-info-accordion .accordion-inner { padding: 0 1.25rem 1.25rem; margin-left: 0; box-sizing: border-box; width: 100%; }
@media (min-width: 500px) { .mt-contact-hotel-info-accordion .accordion-inner { padding: 0 1.5rem 1.5rem; } }
@media (min-width: 768px) { .mt-contact-hotel-info-accordion .accordion-inner { padding: 0 1.75rem 1.625rem; } }
.mt-contact-hotel-info-accordion .accordion-block { display: flex; flex-direction: column; gap: .5rem; width: 100%; padding: 0; border-bottom: none; box-sizing: border-box; }
.mt-contact-hotel-info-accordion .accordion-block:first-child { padding-top: 0; }
.mt-contact-hotel-info-accordion .accordion-block:last-child { padding-bottom: 0; border-bottom: none; }
.mt-contact-hotel-info-accordion .accordion-block-title { width: 100%; display: flex; align-items: baseline; gap: .65rem; padding-bottom: .1rem; }
.mt-contact-hotel-info-accordion .accordion-block-title h4 { font-family: var(--alean-font-serif); font-size: 1.0625rem; letter-spacing: -.02em; color: var(--alean-color-slate-900); margin: 0; flex: 1; line-height: 1.35; }
.mt-contact-hotel-info-accordion .title-accent-small { width: 3px; height: 1.1em; border-radius: 2px; background: linear-gradient(180deg, rgb(147 51 234) 0%, rgb(126 34 206) 100%); flex-shrink: 0; align-self: center; }
.mt-contact-hotel-info-accordion .accordion-block-content { width: 100%; display: flex; flex-direction: column; gap: .55rem; }
.mt-contact-hotel-info-accordion .accordion-block-content:not(:has(> *)) { display: none; }
.mt-contact-hotel-info-accordion .accordion-heading-only { margin: 0; font-size: .9375rem; font-weight: 500; color: var(--alean-color-slate-600); line-height: 1.45; }
.mt-contact-hotel-info-accordion .accordion-card,
.mt-contact-hotel-info-accordion .infrastructure-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
@media (min-width: 600px) {
  .mt-contact-hotel-info-accordion .accordion-card,
  .mt-contact-hotel-info-accordion .infrastructure-card {
    padding: 0;
  }
}
.mt-contact-hotel-info-accordion .card-title { display: block; font-weight: 600; font-size: .9375rem; letter-spacing: .02em; color: var(--alean-color-slate-800); margin: 0 0 .5rem; line-height: 1.35; }
.mt-contact-hotel-info-accordion .card-title :where(strong, b) { font-weight: 700; color: var(--alean-color-slate-900); }
.mt-contact-hotel-info-accordion .card-description { color: var(--alean-color-slate-700); line-height: 1.65; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext { font-size: .9375rem; line-height: 1.7; color: #374151; overflow-wrap: break-word; word-wrap: break-word; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext:has(table) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(table) {
  max-width: none;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid var(--alean-color-slate-200);
  border-radius: 1rem;
  overflow: hidden;
  background-color: #fff;
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table > thead > tr:first-child > :first-child,
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table > tbody > tr:first-child > :first-child {
  border-top-left-radius: 0.9375rem;
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table > thead > tr:first-child > :last-child,
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table > tbody > tr:first-child > :last-child {
  border-top-right-radius: 0.9375rem;
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table > tbody > tr:last-child > :first-child,
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table > tfoot > tr:last-child > :first-child {
  border-bottom-left-radius: 0.9375rem;
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table > tbody > tr:last-child > :last-child,
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table > tfoot > tr:last-child > :last-child {
  border-bottom-right-radius: 0.9375rem;
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table :where(td, th) {
  padding: 5px 10px;
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table thead tr,
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table tbody tr.bg-info,
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table tbody tr.info {
  background: linear-gradient(90deg, rgb(147 51 234 / 0.95) 0%, rgb(126 34 206 / 0.98) 100%) !important;
  color: #fff;
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table thead :where(th, td),
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table tbody tr.bg-info :where(th, td),
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table tbody tr.info :where(th, td) {
  color: #fff;
  border-color: rgb(255 255 255 / 0.22);
  border-bottom: 2px solid rgb(255 255 255 / 0.65);
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table thead + tbody tr:first-child :where(th, td) {
  border-top: 1px solid var(--alean-color-slate-200);
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table > tbody > tr + tr :where(th, td) {
  border-top: 1px solid var(--alean-color-slate-200);
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table thead :where(strong, b),
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table tbody tr.bg-info :where(strong, b),
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table tbody tr.info :where(strong, b) {
  color: #fff;
  font-weight: 700;
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table tbody tr.bg-info :where(p),
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext table tbody tr.info :where(p) {
  color: #fff;
}
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext > :first-child { margin-top: 0; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext > :last-child { margin-bottom: 0; padding-bottom: 0; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(h4) { font-size: 1.02rem; font-weight: 600; margin: 1.05em 0 .4em; color: var(--alean-color-slate-800); line-height: 1.35; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(h4:first-child) { margin-top: 0; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(h4 + ul) { margin-top: .25em; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(li > strong) { font-weight: 600; color: var(--alean-color-slate-800); }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(li > ul) { margin-top: .3em; margin-bottom: .45em; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(p) { margin: 0 0 .65em; line-height: 1.65; padding-bottom: 0; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(p:last-child) { margin-bottom: 0; padding-bottom: 0; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(div) { margin: 0 0 .55em; line-height: 1.65; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(div:last-child) { margin-bottom: 0; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(ul, ol) { margin: .35em 0 .5em; padding-inline-start: 1.35rem; list-style-position: outside; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(ul) { list-style-type: disc; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(ol) { list-style-type: decimal; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(ul ul) { list-style-type: circle; margin-top: .35em; margin-bottom: .25em; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(ul ul ul), .mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(ol ol) { list-style-type: square; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(li) { margin: .15em 0; line-height: 1.55; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(li > p) { margin: .35em 0 0; }
.mt-contact-hotel-info-accordion .alean-hotel-info__richtext :where(li > p:first-child) { margin-top: 0; }
.mt-contact-hotel-info-accordion .card-features { display: flex; flex-direction: column; gap: .35rem; margin-top: .25rem; }
.mt-contact-hotel-info-accordion .accordion-card .card-features { margin-top: .35rem; }
.mt-contact-hotel-info-accordion .card-features.card-features--nested { margin-top: .5rem; padding: .5rem 0 .35rem 1.1rem; border-left: 2px solid rgb(147 51 234 / .35); gap: .4rem; background: rgb(250 245 255 / .35); border-radius: 0 0.5rem 0.5rem 0; }
.mt-contact-hotel-info-accordion .card-features.card-features--nested .card-features.card-features--nested { margin-top: .4rem; padding: .4rem 0 .3rem 1rem; border-left-color: rgb(147 51 234 / .22); background: rgb(250 245 255 / .2); }
.mt-contact-hotel-info-accordion .card-feature { display: flex; align-items: flex-start; gap: .65rem; color: var(--alean-color-slate-700); padding: .2rem 0; }
.mt-contact-hotel-info-accordion .card-feature.card-feature_no-label { width: 100%; }
.mt-contact-hotel-info-accordion .card-feature.card-feature_no-label .feature-text { width: 100%; }
.mt-contact-hotel-info-accordion .feature-info { width: 7px; height: 7px; min-width: 7px; margin-top: .38rem; border-radius: 50%; background: linear-gradient(135deg, rgb(147 51 234), rgb(126 34 206)); flex-shrink: 0; border: 0; box-shadow: none; color: transparent; font-size: 0; line-height: 0; overflow: hidden; display: block; }
.mt-contact-hotel-info-accordion .feature-text { line-height: 1.55; font-size: .9375rem; color: var(--alean-color-slate-700); min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.mt-contact-hotel-info-accordion .feature-text strong { font-weight: 600; color: var(--alean-color-slate-800); }
.mt-contact-hotel-info-accordion .alean-hotel-info__title { font-size: 28px; font-weight: 700; margin-bottom: 24px; display: inline-flex; align-items: center; gap: 10px; }
.mt-contact-hotel-info-accordion .alean-hotel-info__title::before { content: ''; width: 6px; height: 28px; border-radius: 999px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.mt-contact-hotel-info-accordion .alean-hotel-info__container { display: flex; flex-direction: column; gap: 0; }
@media (max-width: 768px) {
  .mt-contact-hotel-info-accordion { margin: 0; }
}

@media (max-width: 480px) {
  .mt-contact-hotel-info-accordion .accordion-card,
  .mt-contact-hotel-info-accordion .infrastructure-card {
    padding: 0;
  }

  .mt-contact-hotel-info-accordion .accordion-inner {
    padding: 0 1rem 1.125rem;
  }

  .mt-contact-hotel-info-accordion .accordion-header {
    padding: 0.875rem 1rem;
  }
}

/* Секции сразу раскрыты до инициализации JS. */
.mt-contact-hotel-info-accordion--expanded-default .accordion-item:not([data-alean-accordion-init]):not(.accordion-item--collapsed) .accordion-content {
  max-height: none;
  opacity: 1;
  overflow: hidden;
}

/* Одна секция открыта при загрузке, до инициализации JS. */
.mt-contact-hotel-info-accordion .accordion-item.accordion-item--initial-open:not([data-alean-accordion-init]):not(.accordion-item--collapsed) .accordion-content {
  max-height: none;
  opacity: 1;
  overflow: hidden;
}

.mt-contact-hotel-info-accordion .accordion-item.accordion-item--collapsed .accordion-content {
  max-height: 0 !important;
  opacity: 0;
  overflow: hidden;
}
