/* ============================================

   ASSOCIATION MAP WITH TABS - PRO VERSION

   v2.1 — Merged from assets/style.css

   ============================================



   CHANGES FROM v1.0:

   - Added height: 500px back here (removed from inline HTML style).

   - Added hover transition on #amt-map.

   - Added .company-header h3, .amt-meta strong, .amt-meta a rules.

   - Added .amt-desc typography (font families, .amt-desc a/a:hover).

   - Added .amt-meta li:last-child rule.

   - Added .amt-contents width rule.

   - Added 768px and 480px breakpoints (were only in unloaded assets/style.css).

   - Removed !important from responsive map heights (no longer needed since

     inline style="height:500px" is gone from the HTML).

   - Fixed .amt-country font-style: "Light" and font-style: "Italic"

     (invalid CSS values) replaced with valid font-weight/font-style equivalents.

   - assets/style.css is now superseded by this file and should not be loaded.

   ============================================ */



/* ── Map Container ─────────────────────────────────────────────────────────── */

#amt-map {

  height: 600px;               /* Height now lives here — not in inline HTML   */

  margin-bottom: 60px;

  overflow: hidden;

  transition: box-shadow 0.3s ease;

}



/* #amt-map:hover {

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);

} */



/* ── Main Layout Grid ──────────────────────────────────────────────────────── */

.amt-main {

    padding: 0 20px;

}

.amt-container {

  display: grid;

  grid-template-columns: 200px 1fr;

  gap: 50px;

  margin: 0 auto;

  max-width: var(--content-width);

}



/* ── Sidebar Navigation ────────────────────────────────────────────────────── */

.amt-tabs-sidebar {

  position: sticky;

  top: 20px;

  /* max-height: calc(100vh - 40px);

  overflow-y: auto; */

}



.amt-tabs-sidebar ul {

  list-style: none;

  padding: 0;

  margin: 0;

  display: flex;

  flex-direction: column;

}



.amt-tab-btn {

    padding: 12px 8px;

    background: transparent;

    color: #586777;

    cursor: pointer;

    border-bottom: 1px solid #D5D9DD;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    font-family: 'Fjalla One';

    font-weight: 400;

    font-size: 16px;

    line-height: 1.2em;

    letter-spacing: 0;

    text-align: left;

    /* overflow: hidden; */

    text-overflow: ellipsis;

    white-space: nowrap;

}



.amt-tab-btn:hover {

  border-bottom-color: var( --e-global-color-ea9ec76 );

  color: var( --e-global-color-ea9ec76 );

}



.amt-tab-btn.active {

    color: var( --e-global-color-ea9ec76 );

    border-bottom: 2px solid var( --e-global-color-ea9ec76 );

}



/* ── Contents Area ─────────────────────────────────────────────────────────── */

.amt-contents {

  width: 100%;

}



.amt-content {

  display: none;

  gap: 50px;

  animation: fadeInUp 0.4s ease;

}



.amt-content.active {

  display: grid;

  grid-template-columns: 310px 1fr;

  animation: fadeInUp 0.4s ease;

}



@keyframes fadeInUp {

  from { opacity: 0; transform: translateY(16px); }

  to   { opacity: 1; transform: translateY(0);    }

}



/* ── Company Header / Info Card ────────────────────────────────────────────── */

.company-header {

    display: flex;

    flex-direction: column;

    gap: 50px;

    transition: all 0.3s ease;

}



.company-header .amt-address h3 {

    margin: 0;

    font-family: 'Source Sans Pro';

    font-size: 16px;

    font-weight: 700;

    color: #2E4155;

    line-height: 1.5em;

    letter-spacing: 0;

    margin-bottom: 8px;

    text-transform: uppercase;

}

.company-header .amt-address span, .amt-meta li {

    color: #2E4155;

    font-family: 'Source Sans Pro';

    font-size: 16px;

    font-weight: 400;

    line-height: 1.5em;

}



.amt-featured-img {

    line-height: 0;

}

.amt-featured-img img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.4s ease;

}

.amt-img-content {

    display: flex;

    flex-direction: column;

    gap: 16px;

    padding: 8px 16px;

}

/* ── Meta List ─────────────────────────────────────────────────────────────── */

.amt-meta {

  list-style: none;

  padding: 0;

  margin: 0;

  display: flex;

  flex-direction: column;

  /* gap: 10px; */

}

.amt-meta a {

    color: inherit;

    text-decoration: underline !important;

    transition: color 0.2s ease;

    word-break: break-word;

}



/* ── Description Area ──────────────────────────────────────────────────────── */

.amt-desc {

  display: flex;

  flex-direction: column;

  gap: 16px;

}



/*

 * .amt-country

 * FIX: assets/style.css had `font-style: Light` and `letter-spacing: 0%`

 * which are invalid CSS values. Replaced with correct equivalents:

 *   font-style: Light  → font-weight: 300 (Light is a weight, not a style)

 *   letter-spacing: 0% → letter-spacing: 0  (% is not valid for letter-spacing)

 */

.amt-country {

  font-family: "Source Sans Pro", sans-serif;

  font-weight: 300;

  font-style: normal;

  text-transform: uppercase;

  font-size: 20px;

  line-height: 1;

  letter-spacing: 0;

  color: #2E4155;

}



/*

 * .amt-desc h2

 * FIX: `font-style: Regular` is invalid. Regular weight = font-weight: 400,

 * which is already the browser default. `leading-trim: NONE` is not a valid

 * CSS value. Both removed and replaced with valid equivalents.

 */

.amt-desc h2 {

    font-family: "Fjalla One", sans-serif;

    font-weight: 400;

    font-style: normal;

    font-size: 28px;

    line-height: 1;

    letter-spacing: 0;

    color: #2E4155;

    margin: 5px 0 0;

}



/*

 * .amt-desc > p, .amt-desc > div

 * FIX: `font-style: Italic` → font-style: italic (lowercase).

 * `leading-trim: NONE` removed (invalid). `letter-spacing: 0%` → 0.

 */

.amt-desc > p,

.amt-desc > div {

  font-family: "Source Sans Pro", sans-serif;

  font-weight: 400;

  font-size: 20px;

  line-height: 1.5;

  letter-spacing: 0;

  color: #2E4155;

}

.amt-desc > p {

    margin: 0;

}

.amt-desc h5 {

    font-family: 'Fjalla One';

    font-size: 20px;

    font-weight: 400;

    line-height: 1.2em;

    letter-spacing: 0;

    color: #2E4155;

    margin: 24px 0 0;

}

.amt-desc ul li {

    font-family: 'Source Sans Pro';

    font-size: 20px;

    font-weight: 400;

    line-height: 1.25em;

    margin-bottom: 12px;

    color: #2E4155;

}



.amt-desc a {

  color: #1a7f37;

  text-decoration: none;

  transition: color 0.2s ease;

}



.amt-desc a:hover {

  color: #0d5a28;

  text-decoration: underline;

}

.mk-annotation-container div {

    cursor: pointer;

}



/* ── Responsive: 1024px ────────────────────────────────────────────────────── */

@media (max-width: 1024px) {

  .amt-container {

    gap: 25px;

  }



  .amt-content.active {

    grid-template-columns: 1fr;

    gap: 30px;

  }



  .amt-tabs-sidebar {

    position: static;

    top: 0;

    max-height: none;

  }

  .amt-tab-btn {

    flex: 1;

    min-width: 140px;

  }

  .company-header {

      flex-direction: row;

      gap: 25px;

  }

  .amt-desc > p, .amt-desc > div, .amt-desc ul li {

      font-size: 18px;

  }

  .amt-img-content {

      padding: 0;

  }

}



/* ── Responsive: 768px ─────────────────────────────────────────────────────── */

/*

 * This entire breakpoint was MISSING from the previously-loaded

 * assets/css/style.css (it only existed in the unenqueued assets/style.css).

 * Adding it here restores the intended mobile layout.

 *

 * FIX: Removed `!important` from #amt-map height rules — no longer needed

 * because the inline style="height:500px" has been removed from the HTML.

 */

@media (max-width: 767px) {

  .amt-container {

    grid-template-columns: 1fr;

  }

  .amt-tabs-sidebar ul {

      flex-direction: column;

  }



  .amt-tab-btn {

    padding: 12px;

    font-size: 13px;

    min-width: 100px;

  }



  .amt-content {

    gap: 24px;

  }

  .company-header {

      flex-direction: column;

      gap: 20px;

  }

  .company-header h3 {

    font-size: 16px;

  }



  .amt-desc h2 {

    font-size: 22px;

  }

  .amt-desc h5 {

      margin: 10px 0 0;

  }

  .amt-desc > p,

  .amt-desc > div, .amt-desc ul li {

    font-size: 16px;

  }





  #amt-map {

    height: 350px;

    margin-bottom: 30px;

  }

  .amt-featured-img img {

      max-width: 301px !important;

  }

}



/* ── Responsive: 480px ─────────────────────────────────────────────────────── */

/*

 * This entire breakpoint was also MISSING from the previously-loaded CSS.

 */

@media (max-width: 480px) {

  .amt-tab-btn {

    padding: 10px 8px;

    font-size: 12px;

  }



  .amt-meta li {

    font-size: 12px;

  }



  .amt-desc h2 {

    font-size: 18px;

  }



  #amt-map {

    height: 280px;

  }



  .amt-featured-img {

      margin: 0 auto;

  }

}

