/* Scoped styles for MarrakechTricks business articles. */
.mt-business {
  --mt-ink: #202a26;
  --mt-muted: #69736d;
  --mt-green: #244b3d;
  --mt-green-dark: #18362d;
  --mt-sand: #f5f2eb;
  --mt-line: #e7e4dc;
  --mt-orange: #c7834d;
  color: var(--mt-ink);
  padding: 1.35rem 0 4.5rem;
}

.mt-business *,
.mt-business *::before,
.mt-business *::after { box-sizing: border-box; }

.mt-business__container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.mt-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin: 0 0 2.25rem;
  color: #8a918c;
  font-size: .78rem;
}
.mt-breadcrumbs a { color: inherit; text-decoration: none; }
.mt-breadcrumbs a:hover { color: var(--mt-green); text-decoration: underline; }
.mt-breadcrumbs [aria-current="page"] { color: var(--mt-ink); }

.mt-article { max-width: 100%; }
.mt-article__header { max-width: 900px; margin: 0 auto 2rem; text-align: center; }
.mt-eyebrow {
  margin: 0 0 .9rem;
  color: var(--mt-orange);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.5;
  text-transform: uppercase;
}
.mt-article__title {
  max-width: 850px;
  margin: 0 auto;
  color: var(--mt-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.06;
}
.mt-article__dek {
  max-width: 760px;
  margin: 1.25rem auto 0;
  color: #59645e;
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}
.mt-article__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  margin-top: 1.35rem;
  color: #818983;
  font-size: .78rem;
}
.mt-article__meta strong { color: #4a554f; font-weight: 700; }
.mt-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: #a8aea9; }

.mt-article__hero { margin: 0 auto 1.6rem; max-width: 1100px; }
.mt-article__hero img {
  display: block;
  width: 100%;
  max-height: 530px;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
  border-radius: 7px;
  background: var(--mt-sand);
}
.mt-article__hero figcaption { margin-top: .65rem; color: var(--mt-muted); font-size: .78rem; text-align: center; }

.mt-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 1px;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto 3.2rem;
  border: 1px solid var(--mt-line);
  border-radius: 8px;
  background: var(--mt-line);
}
.mt-fact { min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: .35rem; padding: 1rem 1.15rem; background: #fff; text-align: center; }
.mt-fact__value { color: var(--mt-green); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; line-height: 1.1; }
.mt-fact__label { color: var(--mt-muted); font-size: .72rem; line-height: 1.4; }

.mt-article__layout {
  display: grid;
  grid-template-columns: minmax(190px, 235px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}
.mt-article__sidebar { min-width: 0; }
.mt-toc {
  position: sticky;
  top: 1.5rem;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--mt-line);
  border-radius: 7px;
  background: #fbfaf7;
}
.mt-toc__title { margin: 0 0 .85rem; color: var(--mt-ink); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.mt-toc ol { display: grid; gap: .62rem; margin: 0; padding-left: 1.15rem; color: #a0a69f; }
.mt-toc li { padding-left: .12rem; font-size: .8rem; line-height: 1.45; }
.mt-toc a { color: #68736c; text-decoration: none; }
.mt-toc a:hover { color: var(--mt-green); text-decoration: underline; }

.mt-article__main { min-width: 0; max-width: 780px; }
.mt-article__intro {
  margin: 0 0 2rem;
  padding: 0 0 1.7rem;
  border-bottom: 1px solid var(--mt-line);
  color: #47534c;
  font-size: 1.12rem;
  line-height: 1.85;
}
.mt-article__intro p { margin: 0 0 .75rem; }
.mt-article__intro p:last-child { margin-bottom: 0; }

.mt-editorial-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 0 0 2.7rem; }
.mt-editorial-card { padding: 1.15rem; border: 1px solid var(--mt-line); border-radius: 7px; background: #fff; }
.mt-editorial-card--highlight { border-top: 3px solid var(--mt-green); }
.mt-editorial-card--catch { border-top: 3px solid var(--mt-orange); }
.mt-editorial-card--trick { border-top: 3px solid #839b82; }
.mt-editorial-card__label { display: block; margin-bottom: .55rem; color: var(--mt-muted); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mt-editorial-card h2 { margin: 0 0 .45rem; color: var(--mt-ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 500; line-height: 1.25; }
.mt-editorial-card p { margin: 0; color: #68736c; font-size: .82rem; line-height: 1.6; }

/* Article body typography; use semantic h2/h3, p, ul, blockquote, figure. */
.mt-article__main > h2,
.mt-article__main .mt-section h2 {
  margin: 2.65rem 0 .9rem;
  color: var(--mt-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.2;
  scroll-margin-top: 2rem;
}
.mt-article__main > h3,
.mt-article__main .mt-section h3 { margin: 1.8rem 0 .55rem; color: var(--mt-green); font-size: 1.13rem; line-height: 1.35; scroll-margin-top: 2rem; }
.mt-article__main p,
.mt-article__main li { color: #4f5a53; font-size: .98rem; line-height: 1.82; }
.mt-article__main p { margin: 0 0 1.05rem; }
.mt-article__main ul,
.mt-article__main ol { margin: .6rem 0 1.4rem; padding-left: 1.35rem; }
.mt-article__main li { margin: .35rem 0; padding-left: .15rem; }
.mt-article__main strong { color: #2c3932; }
.mt-article__main a:not(.mt-button) { color: var(--mt-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mt-article__main blockquote { margin: 1.8rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--mt-orange); color: #43564b; font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; line-height: 1.65; }
.mt-article__main blockquote p { margin: 0; color: inherit; font: inherit; }
.mt-article__main figure { margin: 1.8rem 0; }
.mt-article__main figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.mt-article__main figcaption { margin-top: .55rem; color: var(--mt-muted); font-size: .78rem; }

.mt-article-cta {
  position: relative;
  overflow: hidden;
  margin: 3.5rem 0 1rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: 9px;
  background: var(--mt-green-dark);
  color: #fff;
}
.mt-article-cta::after { position: absolute; right: -65px; bottom: -115px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 58px rgba(255,255,255,.025); pointer-events: none; }
.mt-article-cta__content { position: relative; z-index: 1; max-width: 600px; }
.mt-article-cta h2 { margin: 0 0 .7rem; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 500; line-height: 1.15; }
.mt-article-cta p { max-width: 560px; margin: 0 0 1.3rem; color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.7; }
.mt-eyebrow--light { color: #e2b58e; }
.mt-button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 46px; padding: .8rem 1.1rem; border: 1px solid transparent; border-radius: 4px; background: var(--mt-green); color: #fff !important; font-size: .86rem; font-weight: 700; text-decoration: none !important; transition: transform .18s ease, background .18s ease; }
.mt-button:hover { transform: translateY(-2px); background: #32634f; }
.mt-button--light { background: #f4e9db; color: var(--mt-green-dark) !important; }
.mt-button--light:hover { background: #fff; }

.mt-related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--mt-line); }
.mt-related h2 { margin-top: 0 !important; }

@media (max-width: 850px) {
  .mt-article__layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .mt-article__sidebar { order: 0; }
  .mt-toc { position: static; }
  .mt-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-article__main { max-width: none; }
}

@media (max-width: 600px) {
  .mt-business { padding-top: .8rem; }
  .mt-business__container { width: min(100% - 28px, 1160px); }
  .mt-breadcrumbs { margin-bottom: 1.5rem; }
  .mt-article__header { margin-bottom: 1.4rem; text-align: left; }
  .mt-article__title { font-size: clamp(2.15rem, 11vw, 3.2rem); }
  .mt-article__dek { margin-top: .9rem; font-size: 1rem; }
  .mt-article__meta { justify-content: flex-start; }
  .mt-article__hero img { aspect-ratio: 4 / 3; border-radius: 5px; }
  .mt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 2rem; }
  .mt-fact { min-height: 78px; padding: .8rem; }
  .mt-toc ol { grid-template-columns: 1fr; }
  .mt-editorial-cards { grid-template-columns: 1fr; }
  .mt-article__intro { font-size: 1.03rem; }
  .mt-article__main p, .mt-article__main li { font-size: .95rem; }
  .mt-article-cta { margin-top: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-button { transition: none; }
  .mt-button:hover { transform: none; }
}


/* Live WhatsApp test invitation inside the case-study article */
.mt-test-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(37, 211, 102, .25);
  border-radius: 8px;
  background: #f4faf6;
}
.mt-test-contact p {
  flex: 1 1 260px;
  margin: 0;
  color: #34443b;
  font-size: .96rem;
  line-height: 1.6;
}
.mt-button--whatsapp {
  flex: 0 0 auto;
  background: #25D366;
  color: #073b20 !important;
  white-space: normal;
}
.mt-button--whatsapp:hover { background: #20bd5b; }
.mt-whatsapp-mark { font-size: 1.1rem; line-height: 1; }
.mt-test-cancellation {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid #25D366;
}
@media (max-width: 640px) {
  .mt-test-contact { align-items: stretch; }
  .mt-button--whatsapp { width: 100%; }
}
