/**
 * MITA Contact Page template.
 * Scoped to body.mita-contact-template.
 */

body.mita-contact-template {
  --mita-primary: #ffb300;
  --mita-primary-dark: #ff9800;
  --mita-text: #111827;
  --mita-muted: #6b7280;
  --mita-border: #eeeeee;
  --mita-soft: #fff8e6;
  --mita-white: #ffffff;
  --mita-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --mita-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 44%, #ffffff 100%);
  color: var(--mita-text);
}

body.mita-contact-template #wrapper,
body.mita-contact-template #main,
body.mita-contact-template #content.mita-contact-page {
  overflow: visible;
}

body.mita-contact-template .mita-contact-page {
  padding: 45px 0 25px;
}

body.mita-contact-template .mita-contact-wrap {
  width: calc(100% - 32px);
  max-width: 1220px;
  margin: 0 auto;
}

body.mita-contact-template .mita-contact-hero {
  margin-bottom: 26px;
}

body.mita-contact-template .mita-contact-hero__panel {
  padding: 32px 36px;
  border: 1px solid rgba(255, 179, 0, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 179, 0, 0.18), transparent 30%),
    radial-gradient(circle at 8% 88%, rgba(255, 179, 0, 0.1), transparent 28%),
    linear-gradient(135deg, #fffdf7 0%, #fff6d9 100%);
  box-shadow: var(--mita-shadow);
}

body.mita-contact-template .mita-contact-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 800;
}

body.mita-contact-template .mita-contact-breadcrumb a {
  color: #9ca3af;
}

body.mita-contact-template .mita-contact-breadcrumb a:hover {
  color: var(--mita-primary-dark);
}

body.mita-contact-template .mita-contact-breadcrumb strong {
  color: var(--mita-muted);
}

body.mita-contact-template .mita-contact-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--mita-text);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

body.mita-contact-template .mita-contact-hero h1 span {
  color: var(--mita-primary-dark);
}

body.mita-contact-template .mita-contact-hero__excerpt,
body.mita-contact-template .mita-contact-hero__fallback {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--mita-muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.75;
}

body.mita-contact-template .mita-contact-hero__excerpt p {
  margin: 0;
}

body.mita-contact-template .mita-contact-main {
  margin-bottom: 28px;
}

body.mita-contact-template .mita-contact-content-card {
  min-width: 0;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
}

body.mita-contact-template .mita-contact-editor-content {
  min-width: 0;
}

body.mita-contact-template .mita-contact-editor-content > *:first-child {
  margin-top: 0;
}

body.mita-contact-template .mita-contact-editor-content > *:last-child {
  margin-bottom: 0;
}

body.mita-contact-template .mita-contact-editor-content h2,
body.mita-contact-template .mita-contact-editor-content h3 {
  margin: 24px 0 12px;
  color: var(--mita-text);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

body.mita-contact-template .mita-contact-editor-content h2 {
  font-size: 24px;
}

body.mita-contact-template .mita-contact-editor-content h3 {
  font-size: 20px;
}

body.mita-contact-template .mita-contact-editor-content p,
body.mita-contact-template .mita-contact-editor-content li {
  color: #1f2937;
  font-size: 15px;
  line-height: 1.75;
}

body.mita-contact-template .mita-contact-editor-content a {
  color: var(--mita-primary-dark);
  font-weight: 800;
}

body.mita-contact-template .mita-contact-editor-content iframe {
  display: block;
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 20px;
}

body.mita-contact-template .mita-contact-editor-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

body.mita-contact-template .mita-contact-empty-content {
  margin: 0;
  padding: 16px;
  border: 1px dashed rgba(255, 179, 0, 0.36);
  border-radius: 16px;
  background: var(--mita-soft);
  color: var(--mita-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

body.mita-contact-template .mita-contact-editor-content .mita-contact-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.mita-contact-template .mita-contact-editor-content .mita-contact-editor-card {
  padding: 18px;
  border: 1px solid rgba(238, 238, 238, 0.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--mita-shadow-soft);
}

body.mita-contact-template .mita-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid rgba(238, 238, 238, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--mita-shadow);
}

body.mita-contact-template .mita-contact-content-card,
body.mita-contact-template .mita-contact-info-card {
  min-width: 0;
  border-radius: 22px;
  background: #fff;
}

body.mita-contact-template .mita-contact-info-card {
  align-self: start;
  padding: 22px;
  border: 1px solid rgba(255, 179, 0, 0.24);
  background: linear-gradient(160deg, #fffdf7 0%, #ffffff 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

body.mita-contact-template .mita-contact-section-heading {
  margin-bottom: 22px;
}

body.mita-contact-template .mita-contact-section-heading span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--mita-primary-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

body.mita-contact-template .mita-contact-section-heading h2 {
  margin: 0;
  color: var(--mita-text);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
}

body.mita-contact-template .mita-contact-section-heading p {
  margin: 10px 0 0;
  color: var(--mita-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

body.mita-contact-template .mita-contact-info-card .mita-contact-section-heading {
  margin-bottom: 18px;
}

body.mita-contact-template .mita-contact-info-card .mita-contact-section-heading h2 {
  font-size: 24px;
}

body.mita-contact-template .mita-contact-info-card .mita-contact-section-heading p {
  font-size: 13px;
  line-height: 1.55;
}

body.mita-contact-template .mita-contact-info-list {
  display: grid;
  gap: 10px;
}

body.mita-contact-template .mita-contact-info-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

body.mita-contact-template .mita-contact-info-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--mita-soft);
  color: var(--mita-primary-dark);
  font-size: 18px;
}

body.mita-contact-template .mita-contact-info-item__body {
  display: grid;
  gap: 3px;
  min-width: 0;
  word-break: break-word;
}

body.mita-contact-template .mita-contact-info-item strong {
  color: var(--mita-text);
  font-size: 12px;
  font-weight: 900;
}

body.mita-contact-template .mita-contact-info-item a,
body.mita-contact-template .mita-contact-info-item small {
  color: var(--mita-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.42;
}







body.mita-contact-template .mita-contact-map-section {
  margin: 28px 0;
}

body.mita-contact-template .mita-contact-map {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(238, 238, 238, 0.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--mita-shadow);
}

body.mita-contact-template .mita-contact-map__media,
body.mita-contact-template .mita-contact-map__media iframe,
body.mita-contact-template .mita-contact-map__placeholder {
  width: 100%;
  min-height: 260px;
}

body.mita-contact-template .mita-contact-map__media iframe {
  display: block;
  height: 260px;
  border: 0;
}

body.mita-contact-template .mita-contact-map__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(255, 179, 0, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 179, 0, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #fff8e6 0%, #fff 100%);
  background-size: 32px 32px, 32px 32px, auto;
  color: rgba(255, 152, 0, 0.42);
  font-size: 74px;
}

body.mita-contact-template .mita-contact-map__card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(340px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid rgba(238, 238, 238, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--mita-shadow-soft);
}

body.mita-contact-template .mita-contact-map__card span {
  display: block;
  margin-bottom: 6px;
  color: var(--mita-text);
  font-size: 16px;
  font-weight: 900;
}

body.mita-contact-template .mita-contact-map__card p {
  margin: 0 0 12px;
  color: var(--mita-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

body.mita-contact-template .mita-contact-map__card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mita-primary-dark);
  font-size: 13px;
  font-weight: 900;
}

body.mita-contact-template .mita-contact-benefits {
  margin-top: 28px;
}

body.mita-contact-template .mita-contact-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.mita-contact-template .mita-contact-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(255, 179, 0, 0.2);
  border-radius: 18px;
  background: #fffdf7;
  box-shadow: var(--mita-shadow-soft);
}

body.mita-contact-template .mita-contact-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--mita-primary);
  color: #fff;
  font-size: 22px;
}

body.mita-contact-template .mita-contact-benefit strong {
  color: var(--mita-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

@media (max-width: 1024px) {


  body.mita-contact-template .mita-contact-hero__panel {
    padding: 28px;
  }

  body.mita-contact-template .mita-contact-hero h1 {
    font-size: 25px;
  }

  body.mita-contact-template .mita-contact-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.85fr);
    gap: 16px;
  }

  body.mita-contact-template .mita-contact-content-card,
  body.mita-contact-template .mita-contact-info-card {
    padding: 22px;
  }

  body.mita-contact-template .mita-contact-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  body.mita-contact-template .mita-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {


  body.mita-contact-template .mita-contact-wrap {
    width: calc(100% - 24px);
  }

  body.mita-contact-template .mita-contact-hero {
    margin-bottom: 18px;
  }

  body.mita-contact-template .mita-contact-hero__panel {
    padding: 18px;
    border-radius: 22px;
  }

  body.mita-contact-template .mita-contact-breadcrumb {
    margin-bottom: 12px;
    font-size: 12px;
  }

  body.mita-contact-template .mita-contact-hero h1 {
    font-size: 25px;
    line-height: 1.18;
  }

  body.mita-contact-template .mita-contact-hero__excerpt,
  body.mita-contact-template .mita-contact-hero__fallback {
    margin-top: 12px;
    font-size: 14px;
  }

  body.mita-contact-template .mita-contact-grid {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.mita-contact-template .mita-contact-content-card,
  body.mita-contact-template .mita-contact-info-card {
    padding: 18px;
    border: 1px solid rgba(238, 238, 238, 0.95);
    border-radius: 20px;
    box-shadow: var(--mita-shadow-soft);
  }

  body.mita-contact-template .mita-contact-editor-content h2 {
    font-size: 21px;
  }

  body.mita-contact-template .mita-contact-editor-content h3 {
    font-size: 18px;
  }

  body.mita-contact-template .mita-contact-editor-content iframe {
    min-height: 220px;
    border-radius: 16px;
  }

  body.mita-contact-template .mita-contact-editor-content .mita-contact-editor-grid {
    grid-template-columns: 1fr;
  }

  body.mita-contact-template .mita-contact-section-heading {
    margin-bottom: 18px;
  }

  body.mita-contact-template .mita-contact-section-heading h2 {
    font-size: 22px;
  }

  body.mita-contact-template .mita-contact-info-item {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px;
  }

  body.mita-contact-template .mita-contact-info-item__icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  body.mita-contact-template .mita-contact-map {
    min-height: 220px;
    border-radius: 20px;
  }

  body.mita-contact-template .mita-contact-map__media,
  body.mita-contact-template .mita-contact-map__media iframe,
  body.mita-contact-template .mita-contact-map__placeholder {
    min-height: 220px;
  }

  body.mita-contact-template .mita-contact-map__media iframe {
    height: 220px;
  }

  body.mita-contact-template .mita-contact-map__card {
    position: static;
    width: auto;
    margin: 12px;
  }

  body.mita-contact-template .mita-contact-benefits__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.mita-contact-template .mita-contact-benefit {
    min-height: 72px;
    padding: 14px;
  }
}
