/* ============================================================
   CannaMed OG — Contact 2026
   English contact page /contact/.

   Follows the approved design and the light visual system of the
   homepage, CBD, Rx, B2B and Guides pages. Every rule is scoped to
   the body class `inc/contact-2026.php` adds, so nothing can reach
   another route or a localized contact page.

   Small secondary text is darker than in the design file: every
   label and note here is at least 4.9:1 on the light backgrounds.
   ============================================================ */

body.cmog-contact-2026 {
  --cmog-green: #173f34;
  --cmog-deep: #11342a;
  --cmog-ink: #2e4037;
  --cmog-body: #3a4e43;
  --cmog-text: #55695d;
  --cmog-label: #4f6a5a;
  --cmog-soft-title: #4d7262;
  --cmog-pale: #f7f8f5;
  --cmog-sage: #eff3ed;
  --cmog-gold: #b9a276;
  --cmog-line: #dce5dd;
  --cmog-serif: Georgia, "Times New Roman", serif;
  --cmog-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  background: #fff;
}

body.cmog-contact-2026 .cmog-contact {
  color: var(--cmog-ink);
  font-family: var(--cmog-sans);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-wrap {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

body.cmog-contact-2026 .cmog-contact h1,
body.cmog-contact-2026 .cmog-contact h2,
body.cmog-contact-2026 .cmog-contact h3 {
  margin: 0 0 16px;
  font-family: var(--cmog-serif);
  font-weight: 400;
  color: var(--cmog-green);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

body.cmog-contact-2026 .cmog-contact h1 {
  max-width: 820px;
  font-size: 64px;
}

body.cmog-contact-2026 .cmog-contact h2 {
  font-size: 42px;
}

body.cmog-contact-2026 .cmog-contact p {
  margin: 0 0 14px;
}

body.cmog-contact-2026 .cmog-contact a {
  color: inherit;
}

body.cmog-contact-2026 .cmog-contact a:focus-visible,
body.cmog-contact-2026 .cmog-contact iframe:focus,
body.cmog-contact-2026 .cmog-contact .cmog-contact-map-frame:focus-within iframe {
  outline: 3px solid var(--cmog-gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- shared pieces ---------- */

body.cmog-contact-2026 .cmog-contact .cmog-contact-eyebrow {
  display: block;
  margin: 0 0 15px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cmog-label);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--cmog-gold);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-btn-primary {
  background: var(--cmog-green);
  border-color: var(--cmog-green);
  color: #fff;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-btn-primary:hover {
  background: var(--cmog-deep);
  border-color: var(--cmog-deep);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-btn-outline {
  background: #fff;
  border-color: #9aac9f;
  color: var(--cmog-green);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-btn-outline:hover {
  border-color: var(--cmog-green);
  background: var(--cmog-sage);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-arrow {
  font-size: 13px;
  line-height: 1;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding-bottom: 2px;
  border-bottom: 1px solid #9fb8a6;
  font-size: 14px;
  font-weight: 700;
  color: var(--cmog-green);
  text-decoration: none;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-text-link:hover {
  border-bottom-color: var(--cmog-green);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin: 0 0 32px;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-head h2 {
  margin: 0;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-head > p {
  max-width: 470px;
  margin: 0;
  font-size: 15px;
  color: var(--cmog-text);
}

/* ---------- hero ---------- */

body.cmog-contact-2026 .cmog-contact-hero {
  padding: 28px 0 58px;
  background: var(--cmog-pale);
  border-bottom: 1px solid var(--cmog-line);
}

body.cmog-contact-2026 .cmog-contact-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--cmog-text);
}

body.cmog-contact-2026 .cmog-contact-breadcrumbs li + li::before {
  content: "\203A";
  margin: 0 8px;
}

body.cmog-contact-2026 .cmog-contact-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  text-decoration: none;
}

body.cmog-contact-2026 .cmog-contact-breadcrumbs a:hover {
  color: var(--cmog-green);
  text-decoration: underline;
}

body.cmog-contact-2026 .cmog-contact-breadcrumbs [aria-current="page"] {
  color: var(--cmog-green);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-title-soft {
  display: block;
  color: var(--cmog-soft-title);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-lead {
  max-width: 640px;
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--cmog-body);
}

/* ---------- WhatsApp and Line ---------- */

body.cmog-contact-2026 .cmog-contact-channels {
  padding: 64px 0 70px;
  background: #fff;
}

body.cmog-contact-2026 .cmog-contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* From 0.1.213 the page offers one messaging channel, WhatsApp: its card
   takes the full row instead of half of an empty pair. */
body.cmog-contact-2026 .cmog-contact-channel-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

body.cmog-contact-2026 .cmog-contact-channel {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  background: #fff;
  border: 1px solid var(--cmog-line);
  border-radius: 4px;
}

body.cmog-contact-2026 .cmog-contact-channel + .cmog-contact-channel {
  background: #fafbf8;
}

body.cmog-contact-2026 .cmog-contact-channel-top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 18px;
}

body.cmog-contact-2026 .cmog-contact-index {
  font-family: var(--cmog-serif);
  font-size: 19px;
  color: var(--cmog-label);
}

body.cmog-contact-2026 .cmog-contact-channel-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cmog-label);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-channel h3 {
  margin: 0 0 8px;
  font-size: 34px;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-channel-text {
  flex: 1;
  margin: 0 0 24px;
  color: var(--cmog-text);
}

body.cmog-contact-2026 .cmog-contact-channel-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-channel-id {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--cmog-green);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-channel-id a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: underline;
  text-decoration-color: #9fb8a6;
  text-underline-offset: 4px;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-channel-id a:hover {
  text-decoration-color: currentColor;
}

/* ---------- phone, address, hours ---------- */

body.cmog-contact-2026 .cmog-contact-details {
  padding: 64px 0 70px;
  background: var(--cmog-pale);
  border-top: 1px solid var(--cmog-line);
  border-bottom: 1px solid var(--cmog-line);
}

body.cmog-contact-2026 .cmog-contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

body.cmog-contact-2026 .cmog-contact-detail {
  padding-top: 20px;
  border-top: 1px solid #b9c8bc;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-detail-label {
  display: block;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cmog-label);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-detail h3 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.2;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-detail-value {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--cmog-ink);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-detail-value a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 700;
  color: var(--cmog-green);
  text-decoration: underline;
  text-decoration-color: #9fb8a6;
  text-underline-offset: 4px;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-note {
  margin: 0;
  font-size: 14px;
  color: var(--cmog-text);
}

/* ---------- map and directions ---------- */

body.cmog-contact-2026 .cmog-contact-map {
  padding: 64px 0 76px;
  background: #fff;
}

body.cmog-contact-2026 .cmog-contact-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-map-copy > p {
  color: var(--cmog-text);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-map-address {
  margin: 20px 0 24px;
  padding: 16px 18px;
  background: var(--cmog-pale);
  border-left: 2px solid var(--cmog-gold);
  font-size: 16px;
  color: var(--cmog-ink);
}

body.cmog-contact-2026 .cmog-contact .cmog-contact-map-address .cmog-contact-detail-label {
  margin-bottom: 4px;
}

body.cmog-contact-2026 .cmog-contact-map-frame {
  margin: 0;
}

/* The frame keeps a quiet background of its own, so a map that does not
   paint leaves a calm panel instead of a hole; the address and the button
   beside it are what carry the page either way. */
body.cmog-contact-2026 .cmog-contact .cmog-contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  margin: 0;
  border: 1px solid var(--cmog-line);
  border-radius: 4px;
  background: var(--cmog-sage);
}

body.cmog-contact-2026 .cmog-contact-map-frame figcaption {
  margin-top: 12px;
}

/* ---------- narrower desktop ---------- */

@media (max-width: 1120px) {
  body.cmog-contact-2026 .cmog-contact h1 {
    font-size: 54px;
  }

  body.cmog-contact-2026 .cmog-contact-map-grid {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  body.cmog-contact-2026 .cmog-contact-map-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cmog-contact-2026 .cmog-contact-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

/* ---------- phone ---------- */

@media (max-width: 760px) {
  body.cmog-contact-2026 .cmog-contact {
    font-size: 14px;
  }

  body.cmog-contact-2026 .cmog-contact .cmog-contact-wrap {
    width: calc(100% - 32px);
  }

  body.cmog-contact-2026 .cmog-contact h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  body.cmog-contact-2026 .cmog-contact h2 {
    font-size: 31px;
  }

  body.cmog-contact-2026 .cmog-contact-hero {
    padding: 16px 0 32px;
  }

  body.cmog-contact-2026 .cmog-contact-breadcrumbs ol {
    margin-bottom: 14px;
  }

  body.cmog-contact-2026 .cmog-contact .cmog-contact-lead {
    font-size: 15px;
  }

  body.cmog-contact-2026 .cmog-contact .cmog-contact-head {
    display: block;
    margin-bottom: 22px;
  }

  body.cmog-contact-2026 .cmog-contact .cmog-contact-head > p {
    margin-top: 12px;
    font-size: 14px;
  }

  body.cmog-contact-2026 .cmog-contact-channels,
  body.cmog-contact-2026 .cmog-contact-details,
  body.cmog-contact-2026 .cmog-contact-map {
    padding: 40px 0 46px;
  }

  body.cmog-contact-2026 .cmog-contact-channel-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.cmog-contact-2026 .cmog-contact-channel {
    padding: 22px 20px;
  }

  body.cmog-contact-2026 .cmog-contact .cmog-contact-channel h3 {
    font-size: 30px;
  }

  body.cmog-contact-2026 .cmog-contact .cmog-contact-channel-text {
    margin-bottom: 18px;
  }

  body.cmog-contact-2026 .cmog-contact .cmog-contact-detail h3 {
    font-size: 23px;
  }

  body.cmog-contact-2026 .cmog-contact .cmog-contact-map-frame iframe {
    height: 300px;
  }
}

@media (max-width: 359px) {
  body.cmog-contact-2026 .cmog-contact .cmog-contact-wrap {
    width: calc(100% - 28px);
  }

  body.cmog-contact-2026 .cmog-contact h1 {
    font-size: 28px;
  }

  body.cmog-contact-2026 .cmog-contact .cmog-contact-btn {
    padding: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cmog-contact-2026 .cmog-contact .cmog-contact-btn {
    transition: none;
  }
}
