.mining-country-page {
  --country-ink: #10243d;
  --country-blue: #174f7a;
  --country-blue-deep: #0a2d4d;
  --country-gold: #f3b51b;
  --country-paper: #f5f7f8;
  --country-line: #d7e0e7;
  color: var(--country-ink);
  background: #fff;
}

.country-hub-hero { padding: clamp(96px, 12vw, 156px) 0 72px; background: linear-gradient(135deg, #071827 0%, #12364d 58%, #155067 100%); color: #fff; }
.country-hub-hero h1 { max-width: 980px; margin: 12px 0 18px; font-size: clamp(2.35rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.04em; }
.country-hub-hero .eyebrow { color: #f3b51b; font-size: .83rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.country-hub-hero .hero-lede { max-width: 900px; color: rgba(255,255,255,.82); font-size: clamp(1.02rem, 1.6vw, 1.3rem); line-height: 1.75; }
.country-hub-page .country-hub-grid,
.home-country-section .country-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.country-hub-page .country-hub-card,
.home-country-section .country-hub-card { display: flex; min-height: 250px; flex-direction: column; justify-content: flex-start; padding: 28px; border: 1px solid #d8e2e8; border-radius: 18px; color: #102b3b; background: #fff; box-shadow: 0 14px 34px rgba(7,24,39,.07); }
.country-hub-page .country-hub-card::after { display: none; }
.country-hub-page .country-hub-card > span,
.home-country-section .country-hub-card > span { color: #b35c19; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.country-hub-page .country-hub-card h3,
.home-country-section .country-hub-card h3 { margin: 18px 0 12px; color: #102b3b; font-size: 1.35rem; line-height: 1.35; }
.country-hub-page .country-hub-card p,
.home-country-section .country-hub-card p { margin: 0 0 24px; color: #536876; line-height: 1.65; }
.country-hub-page .country-hub-card a,
.home-country-section .country-hub-card a { margin-top: auto; color: #0a536e; font-weight: 800; text-decoration: none; }
.country-method-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.home-country-section .section-heading { max-width: 880px; }
.home-country-section .country-hub-grid { margin-top: 32px; }
@media (max-width: 1024px) { .country-hub-page .country-hub-grid, .home-country-section .country-hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .country-hub-hero { padding: 82px 0 54px; } .country-hub-page .country-hub-grid, .home-country-section .country-hub-grid, .country-method-grid { grid-template-columns: 1fr; } .country-hub-page .country-hub-card, .home-country-section .country-hub-card { min-height: 0; padding: 22px; } }

.mining-country-page .country-hero {
  position: relative;
  min-height: min(690px, 78vh);
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
  background: #0a2d4d center / cover no-repeat;
  overflow: hidden;
}

.mining-country-page .country-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--country-hero-image) center / cover no-repeat;
  transform: scale(1.012);
}

.mining-country-page .country-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 22, 40, .94) 0%, rgba(5, 31, 54, .8) 45%, rgba(5, 31, 54, .28) 78%, rgba(5, 31, 54, .16) 100%);
}

.mining-country-page .country-hero .container {
  width: 100%;
  box-sizing: border-box;
  padding-top: 170px;
  padding-right: max(24px, calc((100vw - 1200px) / 2));
  padding-bottom: 70px;
  padding-left: max(24px, calc((100vw - 1200px) / 2));
}

.mining-country-page .country-hero-copy {
  max-width: 850px;
}

.mining-country-page .country-hero .eyebrow,
.mining-country-page .country-section .eyebrow {
  margin: 0 0 14px;
  color: var(--country-gold);
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mining-country-page .country-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.mining-country-page .country-hero .hero-lede {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.mining-country-page .country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mining-country-page .country-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(4, 22, 40, .52);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
}

.mining-country-page .country-facts {
  position: relative;
  z-index: 2;
  background: var(--country-blue-deep);
  color: #fff;
}

.mining-country-page .country-facts-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mining-country-page .country-fact {
  min-height: 118px;
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.mining-country-page .country-fact:last-child { border-right: 0; }
.mining-country-page .country-fact span { display: block; color: #9fb7ca; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.mining-country-page .country-fact strong { display: block; margin-top: 8px; color: #fff; font-size: 1rem; line-height: 1.5; }

.mining-country-page .country-section {
  padding: 84px 0;
}

.mining-country-page .country-section.alt { background: var(--country-paper); }
.mining-country-page .country-section.navy { background: var(--country-blue-deep); color: #fff; }

.mining-country-page .country-section-head {
  max-width: 860px;
  margin-bottom: 36px;
}

.mining-country-page .country-section h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.mining-country-page .country-section-lede {
  max-width: 820px;
  margin: 16px 0 0;
  color: #526477;
  font-size: 1.05rem;
  line-height: 1.8;
}

.mining-country-page .navy .country-section-lede { color: #bed0dd; }

.mining-country-page .country-overview-grid,
.mining-country-page .country-load-grid,
.mining-country-page .country-architecture-grid,
.mining-country-page .country-drilldown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mining-country-page .country-overview-card,
.mining-country-page .country-load-card,
.mining-country-page .country-architecture-card,
.mining-country-page .country-drilldown-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--country-line);
  background: #fff;
}

.mining-country-page .country-card-index {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  color: var(--country-blue);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mining-country-page .country-overview-card h3,
.mining-country-page .country-load-card h3,
.mining-country-page .country-architecture-card h3,
.mining-country-page .country-drilldown-card h3 {
  margin: 0 0 10px;
  color: var(--country-ink);
  font-size: 1.2rem;
  line-height: 1.35;
}

.mining-country-page .country-overview-card p,
.mining-country-page .country-load-card p,
.mining-country-page .country-architecture-card p,
.mining-country-page .country-drilldown-card p {
  margin: 0;
  color: #526477;
  line-height: 1.72;
}

.mining-country-page .country-region-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mining-country-page .country-region-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #b8c7d3;
  background: #fff;
  color: var(--country-blue-deep);
  font-weight: 800;
  text-decoration: none;
}

.mining-country-page .country-region-grid { display: grid; gap: 22px; }

.mining-country-page .country-matrix-wrap { overflow-x: auto; border: 1px solid var(--country-line); background: #fff; }
.mining-country-page .country-matrix { width: 100%; min-width: 900px; border-collapse: collapse; }
.mining-country-page .country-matrix th,
.mining-country-page .country-matrix td { padding: 18px; border-right: 1px solid var(--country-line); border-bottom: 1px solid var(--country-line); text-align: left; vertical-align: top; line-height: 1.62; }
.mining-country-page .country-matrix thead th { background: var(--country-blue-deep); color: #fff; font-size: .82rem; }
.mining-country-page .country-matrix tbody th { width: 18%; color: var(--country-blue-deep); }
.mining-country-page .country-matrix tr:last-child th,
.mining-country-page .country-matrix tr:last-child td { border-bottom: 0; }
.mining-country-page .country-matrix th:last-child,
.mining-country-page .country-matrix td:last-child { border-right: 0; }

.mining-country-page .country-region-card {
  scroll-margin-top: 110px;
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(0, 2.3fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--country-line);
  background: #fff;
}

.mining-country-page .country-region-card h3 {
  margin: 8px 0 0;
  color: var(--country-ink);
  font-size: 1.45rem;
  line-height: 1.3;
}

.mining-country-page .country-region-scope { margin: 12px 0 0; color: #607385; line-height: 1.55; }
.mining-country-page .country-region-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin: 0; }
.mining-country-page .country-region-card dl div { min-width: 0; padding-top: 14px; border-top: 2px solid #e3e9ee; }
.mining-country-page .country-region-card dt { color: var(--country-blue); font-size: .78rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.mining-country-page .country-region-card dd { margin: 7px 0 0; color: #42576a; line-height: 1.68; }

.mining-country-page .country-load-card { display: flex; flex-direction: column; }
.mining-country-page .country-load-card .country-card-link,
.mining-country-page .country-drilldown-card .country-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--country-blue);
  font-weight: 900;
  text-decoration: none;
}

.mining-country-page .country-load-card .country-card-link::after,
.mining-country-page .country-drilldown-card .country-card-link::after { content: '→'; }

.mining-country-page .country-architecture-card { border-top: 4px solid var(--country-gold); }

.mining-country-page .country-engineering-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .16);
}

.mining-country-page .country-engineering-item {
  min-height: 180px;
  padding: 24px;
  background: #0d385d;
}

.mining-country-page .country-engineering-item strong { display: block; color: var(--country-gold); font-size: 1rem; }
.mining-country-page .country-engineering-item span { display: block; margin-top: 10px; color: #d8e4ec; line-height: 1.65; }

.mining-country-page .country-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 40px;
  align-items: start;
}

.mining-country-page .country-service-list,
.mining-country-page .country-source-list,
.mining-country-page .country-rfq-list { margin: 0; padding: 0; list-style: none; }
.mining-country-page .country-service-list { display: grid; gap: 12px; }
.mining-country-page .country-service-list li { padding: 17px 18px; border-left: 4px solid var(--country-gold); background: var(--country-paper); color: #31495d; line-height: 1.65; }

.mining-country-page .country-source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mining-country-page .country-source-list a { display: flex; align-items: center; min-height: 64px; padding: 14px 16px; border: 1px solid var(--country-line); color: var(--country-blue); font-weight: 800; text-decoration: none; }
.mining-country-page .country-source-note { margin: 22px 0 0; color: #607385; line-height: 1.7; }

.mining-country-page .country-drilldown-card { display: flex; flex-direction: column; min-height: 235px; }

.mining-country-page .country-rfq-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 36px;
  align-items: center;
  padding: 38px;
  background: var(--country-gold);
  color: #10243d;
}

.mining-country-page .country-rfq-panel h2 { color: #10243d; }
.mining-country-page .country-rfq-panel p { margin: 14px 0 0; line-height: 1.7; }
.mining-country-page .country-rfq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.mining-country-page .country-rfq-list li { position: relative; padding-left: 18px; font-weight: 750; line-height: 1.5; }
.mining-country-page .country-rfq-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: #10243d; }
.mining-country-page .country-rfq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mining-country-page .country-rfq-actions a { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 18px; border: 2px solid #10243d; background: #10243d; color: #fff; font-weight: 900; text-decoration: none; }
.mining-country-page .country-rfq-actions a.secondary { background: transparent; color: #10243d; }

.mining-country-page .country-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mining-country-page .country-hub-card { position: relative; min-height: 330px; display: flex; flex-direction: column; justify-content: end; padding: 30px; overflow: hidden; color: #fff; background: var(--hub-image) center / cover no-repeat; isolation: isolate; }
.mining-country-page .country-hub-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 22, 39, .12), rgba(3, 22, 39, .94)); }
.mining-country-page .country-hub-card h2 { font-size: 1.65rem; color: #fff; }
.mining-country-page .country-hub-card p { margin: 10px 0 0; color: rgba(255, 255, 255, .86); line-height: 1.65; }
.mining-country-page .country-hub-card a { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 18px; color: #fff; font-weight: 900; text-decoration: none; }
.mining-country-page .country-hub-card a::after { content: '→'; }

.desktop-nav .mining-country-link[aria-current='page'],
.mobile-menu .mining-country-link[aria-current='page'] { color: #f3b51b; }

@media (max-width: 1100px) {
  .mining-country-page .country-facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mining-country-page .country-fact:nth-child(3) { border-right: 0; }
  .mining-country-page .country-fact:nth-child(n + 4) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .mining-country-page .country-engineering-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .mining-country-page .country-hero { min-height: 620px; }
  .mining-country-page .country-hero .container { padding-top: 145px; padding-bottom: 48px; }
  .mining-country-page .country-hero::after { background: linear-gradient(180deg, rgba(4, 22, 40, .44), rgba(4, 22, 40, .95) 70%); }
  .mining-country-page .country-section { padding: 64px 0; }
  .mining-country-page .country-overview-grid,
  .mining-country-page .country-load-grid,
  .mining-country-page .country-architecture-grid,
  .mining-country-page .country-drilldown-grid,
  .mining-country-page .country-hub-grid { grid-template-columns: 1fr; }
  .mining-country-page .country-region-card { grid-template-columns: 1fr; }
  .mining-country-page .country-service-layout,
  .mining-country-page .country-rfq-panel { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .mining-country-page .country-hero h1 { font-size: clamp(2rem, 11vw, 3rem); overflow-wrap: anywhere; }
  .mining-country-page .country-facts-grid { grid-template-columns: 1fr; }
  .mining-country-page .country-fact { min-height: 0; border-right: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .mining-country-page .country-fact:first-child { border-top: 0; }
  .mining-country-page .country-region-card { padding: 22px; }
  .mining-country-page .country-region-card dl { grid-template-columns: 1fr; }
  .mining-country-page .country-engineering-grid { grid-template-columns: 1fr; }
  .mining-country-page .country-source-list { grid-template-columns: 1fr; }
  .mining-country-page .country-rfq-panel { padding: 26px 22px; }
  .mining-country-page .country-rfq-list { grid-template-columns: 1fr; }
}

/* Mining homepage country support mirrors the commercial homepage module. */
.home-country-support {
  --home-country-ink: #07192d;
  --home-country-blue: #0b5875;
  --home-country-gold: #f5b51b;
  background: #f2f6f8;
}

.home-country-support__header {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(360px,.75fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.home-country-support .section-kicker {
  margin: 0 0 12px;
  color: #0b6684;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-country-support .section-title {
  max-width: 780px;
  margin: 0;
  color: var(--home-country-ink);
  font-size: clamp(2rem,3vw,3.15rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.home-country-support .section-lede {
  max-width: 660px;
  margin: 0;
  color: #526681;
  font-size: 1.02rem;
  line-height: 1.72;
}

.home-country-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.home-country-support .country-support-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid #d8e0eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0,18,48,.08);
}

.home-country-support .country-support-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dfe7f2;
}

.home-country-support .country-support-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 20px;
}

.home-country-support .country-support-card .meta {
  margin: 0 0 8px;
  color: #9a6e00;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-country-support .country-support-card h3 {
  margin: 0 0 12px;
  color: var(--home-country-ink);
  font-size: 1.38rem;
  line-height: 1.25;
}

.home-country-support .country-support-card p:not(.meta) {
  margin: 0;
  color: #526681;
  line-height: 1.65;
}

.home-country-support .country-support-card .card-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 2px solid #071f38;
  border-bottom: 4px solid var(--home-country-gold);
  border-radius: 8px;
  background: #071f38;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0,24,63,.16);
  font-weight: 900;
  text-decoration: none;
}

.home-country-support__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 5px solid var(--home-country-gold);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,18,48,.07);
}

.home-country-support__cta p { margin: 0; color: #31495d; font-weight: 700; }

@media (max-width: 1120px) {
  .home-country-support__header { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .home-country-support__header .section-lede { max-width: 860px; }
  .home-country-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .home-country-grid { grid-template-columns: 1fr; }
  .home-country-support .country-support-card { grid-template-columns: 128px minmax(0,1fr); grid-template-rows: auto; }
  .home-country-support .country-support-card img { height: 100%; min-height: 206px; aspect-ratio: auto; }
  .home-country-support .country-support-card__body { min-width: 0; padding: 14px; }
  .home-country-support .country-support-card h3 { font-size: 1.1rem; }
  .home-country-support .country-support-card p:not(.meta) { font-size: .86rem; line-height: 1.5; }
  .home-country-support .country-support-card .card-link { min-height: 38px; padding: 0 12px; font-size: .8rem; line-height: 1.2; }
  .home-country-support__cta { align-items: stretch; flex-direction: column; }
  .home-country-support__cta .button { width: 100%; text-align: center; }
}

/* Phase 4E: match the commercial homepage contract on phone-width mining
   cards so landmark images do not become full-height vertical strips. */
@media (max-width: 560px) {
  .home-country-support .country-support-card {
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: auto 1fr !important;
  }

  .home-country-support .country-support-card img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
  }

  .home-country-support .country-support-card__body {
    min-width: 0 !important;
    padding: 16px !important;
  }

  .home-country-support .country-support-card .card-link {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

/* Mining country pages v2: visual hierarchy aligned with the commercial country system. */
.mining-country-page {
  --country-ink: #07192d;
  --country-blue: #0d6280;
  --country-blue-deep: #071f38;
  --country-gold: #f5b51b;
  --country-paper: #f2f6f8;
  --country-line: #d9e3e8;
}

.mining-country-page .country-hero {
  min-height: 560px;
  align-items: center;
  box-shadow: inset 0 -1px rgba(255,255,255,.12);
}

.mining-country-page .country-hero::after {
  background: linear-gradient(90deg, rgba(3,18,34,.97) 0%, rgba(4,27,48,.88) 42%, rgba(4,27,48,.38) 72%, rgba(4,27,48,.12) 100%);
}

.mining-country-page .country-hero .container {
  padding-top: 74px;
  padding-bottom: 62px;
}

.mining-country-page .country-hero-copy {
  position: relative;
  max-width: 790px;
  padding-top: 32px;
}

.mining-country-page .country-hero-copy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 6px;
  background: var(--country-gold);
}

.mining-country-page .country-hero h1 {
  max-width: 790px;
  font-size: clamp(2.8rem, 4.45vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.mining-country-page .country-hero .hero-lede {
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.62;
}

.mining-country-page .country-tags span {
  border: 0;
  border-radius: 999px;
  background: var(--country-gold);
  color: #07192d;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.mining-country-page .country-facts {
  background: #fff;
  color: var(--country-ink);
}

.mining-country-page .country-facts-grid {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  border: 1px solid var(--country-line);
  background: #fff;
  box-shadow: 0 18px 50px rgba(7,25,45,.12);
}

.mining-country-page .country-fact {
  min-height: 136px;
  padding: 27px 22px;
  border-right: 1px solid var(--country-line);
  background: #fff;
}

.mining-country-page .country-fact span { color: #0d6280; }
.mining-country-page .country-fact strong { color: var(--country-ink); font-size: 1.02rem; line-height: 1.45; }

.mining-country-page .country-section { padding: 76px 0; }
.mining-country-page .country-section.alt { background: linear-gradient(180deg,#f2f6f8 0%,#edf3f6 100%); }
.mining-country-page .country-section-head { max-width: 920px; margin-bottom: 34px; }
.mining-country-page .country-section h2 { max-width: 940px; font-size: clamp(2rem,3.15vw,3.15rem); letter-spacing: -.025em; }
.mining-country-page .country-section-lede { font-size: 1.02rem; line-height: 1.7; }

.mining-country-page .country-overview-layout {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  gap: 54px;
  align-items: stretch;
}

.mining-country-page .country-overview-visual {
  position: relative;
  min-height: 660px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px 42px 4px 4px;
  background: var(--country-landmark) center / cover no-repeat;
  box-shadow: 0 24px 55px rgba(7,25,45,.2);
}

.mining-country-page .country-overview-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(4,23,41,.06) 30%,rgba(4,23,41,.92) 100%);
}

.mining-country-page .country-overview-visual-copy {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 34px;
  left: 34px;
  color: #fff;
}

.mining-country-page .country-overview-visual-copy span {
  display: block;
  color: var(--country-gold);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mining-country-page .country-overview-visual-copy strong {
  display: block;
  max-width: 480px;
  margin-top: 12px;
  font-size: clamp(1.45rem,2.1vw,2.25rem);
  line-height: 1.2;
}

.mining-country-page .country-overview-content { align-self: center; }
.mining-country-page .country-overview-content .country-section-head { margin-bottom: 24px; }
.mining-country-page .country-overview-content .country-overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.mining-country-page .country-overview-card { padding: 20px; border: 0; border-top: 3px solid #0d6280; background: #f3f7f9; }
.mining-country-page .country-overview-card .country-card-index { margin-bottom: 10px; }
.mining-country-page .country-overview-card h3 { font-size: 1.05rem; }
.mining-country-page .country-overview-card p { font-size: .92rem; line-height: 1.58; }

.mining-country-page .country-region-nav { gap: 8px; margin-top: 20px; }
.mining-country-page .country-region-nav a { min-height: 40px; border: 0; border-radius: 999px; background: #e4edf2; color: #0a3b56; font-size: .82rem; }

.mining-country-page .country-region-grid { gap: 26px; }
.mining-country-page .country-region-card {
  grid-template-columns: minmax(250px,.78fr) minmax(0,2.22fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(7,25,45,.09);
}

.mining-country-page .country-region-card > div:first-child {
  position: relative;
  padding: 34px 30px;
  color: #fff;
  background: linear-gradient(145deg,#082943 0%,#0b5570 100%);
}

.mining-country-page .country-region-card > div:first-child::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(245,181,27,.13);
  border-radius: 50%;
}

.mining-country-page .country-region-card .country-card-index { color: var(--country-gold); }
.mining-country-page .country-region-card h3 { position: relative; z-index: 1; color: #fff; font-size: 1.55rem; }
.mining-country-page .country-region-scope { position: relative; z-index: 1; color: #c6d9e4; }
.mining-country-page .country-region-card dl { padding: 28px 30px; gap: 16px 24px; }
.mining-country-page .country-region-card dl div { padding-top: 11px; border-top: 1px solid #dfe7eb; }
.mining-country-page .country-region-card dt { color: #0d6280; }
.mining-country-page .country-region-card dd { font-size: .94rem; line-height: 1.58; }

.mining-country-page .country-matrix-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(7,25,45,.1);
}
.mining-country-page .country-matrix thead th { padding: 20px; background: linear-gradient(90deg,#082943,#0b5570); }
.mining-country-page .country-matrix tbody tr:nth-child(even) { background: #f5f8fa; }

.mining-country-page .country-load-grid { gap: 20px; }
.mining-country-page .country-load-card {
  min-height: 285px;
  padding: 28px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg,#092741 0%,#0c4d68 100%);
  box-shadow: 0 16px 36px rgba(7,25,45,.14);
}
.mining-country-page .country-load-card:nth-child(2n) { background: linear-gradient(145deg,#0a334e 0%,#116b82 100%); }
.mining-country-page .country-load-card .country-card-index { color: var(--country-gold); }
.mining-country-page .country-load-card h3 { color: #fff; font-size: 1.32rem; }
.mining-country-page .country-load-card p { color: #d7e5eb; }
.mining-country-page .country-load-card .country-card-link { color: var(--country-gold); }

.mining-country-page .country-architecture-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
.mining-country-page .country-architecture-card {
  min-height: 260px;
  padding: 25px 22px;
  border: 0;
  border-top: 6px solid var(--country-gold);
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg,#fff,#f7fafb);
  box-shadow: 0 12px 30px rgba(7,25,45,.08);
}
.mining-country-page .country-architecture-card h3 { font-size: 1.12rem; }
.mining-country-page .country-architecture-card p { font-size: .92rem; line-height: 1.58; }

.mining-country-page .country-section.navy {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 88% 20%,rgba(21,112,137,.42),transparent 30%),linear-gradient(135deg,#061c31,#082e4e 65%,#0a405b);
}
.mining-country-page .country-engineering-grid { gap: 10px; background: transparent; }
.mining-country-page .country-engineering-item { min-height: 160px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.055); }

.mining-country-page .country-service-list li { border: 0; border-left: 5px solid var(--country-gold); border-radius: 0 12px 12px 0; box-shadow: 0 8px 22px rgba(7,25,45,.06); }
.mining-country-page .country-source-list a { border-radius: 10px; background: #fff; }

.mining-country-page .country-drilldown-card {
  min-height: 255px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(160deg,#fff 0%,#edf5f7 100%);
  box-shadow: 0 14px 34px rgba(7,25,45,.08);
}
.mining-country-page .country-drilldown-card:nth-child(1),
.mining-country-page .country-drilldown-card:nth-child(4) { background: linear-gradient(145deg,#092741,#0c5872); }
.mining-country-page .country-drilldown-card:nth-child(1) h3,
.mining-country-page .country-drilldown-card:nth-child(4) h3 { color: #fff; }
.mining-country-page .country-drilldown-card:nth-child(1) p,
.mining-country-page .country-drilldown-card:nth-child(4) p { color: #d8e6ec; }
.mining-country-page .country-drilldown-card:nth-child(1) .country-card-link,
.mining-country-page .country-drilldown-card:nth-child(4) .country-card-link,
.mining-country-page .country-drilldown-card:nth-child(1) .country-card-index,
.mining-country-page .country-drilldown-card:nth-child(4) .country-card-index { color: var(--country-gold); }

.mining-country-page .country-rfq-panel {
  overflow: hidden;
  border-radius: 22px;
  padding: 46px;
  color: #fff;
  background: radial-gradient(circle at 90% 10%,rgba(245,181,27,.28),transparent 28%),linear-gradient(135deg,#071f38,#0b5570);
  box-shadow: 0 20px 48px rgba(7,25,45,.18);
}
.mining-country-page .country-rfq-panel h2 { color: #fff; }
.mining-country-page .country-rfq-panel .eyebrow { color: var(--country-gold); }
.mining-country-page .country-rfq-list li::before { background: var(--country-gold); }
.mining-country-page .country-rfq-actions a { border-color: var(--country-gold); background: var(--country-gold); color: #07192d; }
.mining-country-page .country-rfq-actions a.secondary { border-color: rgba(255,255,255,.65); color: #fff; }

.country-hub-page .country-hub-hero {
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 48px 0;
  background: linear-gradient(90deg,rgba(3,18,34,.96),rgba(3,35,55,.72) 58%,rgba(3,18,34,.34)),url('/assets/images/countries/latam-country-landmark-mosaic.jpg') center / cover no-repeat;
}
.country-hub-page .country-hub-hero h1 { max-width: 980px; font-size: clamp(3rem,5vw,5rem); }
.country-hub-page .country-hub-hero .hero-lede { max-width: 840px; }
.country-hub-page .country-hub-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.country-hub-page .country-hub-card,
.home-country-section .country-hub-card {
  position: relative;
  min-height: 410px;
  justify-content: end;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: var(--hub-image) center / cover no-repeat;
  box-shadow: 0 18px 44px rgba(7,25,45,.16);
  isolation: isolate;
}
.country-hub-page .country-hub-card::after,
.home-country-section .country-hub-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background: linear-gradient(180deg,rgba(3,18,34,.04) 18%,rgba(3,18,34,.92) 100%);
}
.country-hub-card-copy { position: relative; z-index: 2; margin-top: auto; }
.country-hub-page .country-hub-card > span,
.home-country-section .country-hub-card > span,
.country-hub-page .country-hub-card-copy > span,
.home-country-section .country-hub-card-copy > span { color: var(--country-gold); }
.country-hub-page .country-hub-card h3,
.home-country-section .country-hub-card h3 { color: #fff; font-size: 1.48rem; }
.country-hub-page .country-hub-card p,
.home-country-section .country-hub-card p { color: #dce8ed; }
.country-hub-page .country-hub-card a,
.home-country-section .country-hub-card a { color: var(--country-gold); }

.home-country-section {
  --country-gold: #f5b51b;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,#eef4f7,#f7fafb);
}
.home-country-section .country-hub-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.home-country-section .country-hub-card { min-height: 355px; padding: 26px; }

@media (max-width: 1180px) {
  .mining-country-page .country-overview-layout { grid-template-columns: 1fr; }
  .mining-country-page .country-overview-visual { min-height: 450px; }
  .mining-country-page .country-architecture-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .country-hub-page .country-hub-grid,
  .home-country-section .country-hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .mining-country-page .country-hero { min-height: 0; align-items: end; }
  .mining-country-page .country-hero .container { padding-top: 68px; padding-bottom: 52px; }
  .mining-country-page .country-hero h1 { font-size: clamp(2.25rem,8vw,3.6rem); }
  .mining-country-page .country-facts-grid { margin-top: 0; }
  .mining-country-page .country-region-card { grid-template-columns: 1fr; }
  .mining-country-page .country-region-card dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mining-country-page .country-architecture-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .mining-country-page .country-hero { min-height: 0; }
  .mining-country-page .country-hero .container { padding: 52px 22px 44px; }
  .mining-country-page .country-hero-copy { padding-top: 24px; }
  .mining-country-page .country-hero-copy::before { width: 64px; height: 5px; }
  .mining-country-page .country-hero h1 { font-size: clamp(2.15rem,10.3vw,2.9rem); line-height: 1.04; }
  .mining-country-page .country-hero .hero-lede { margin-top: 18px; line-height: 1.55; }
  .mining-country-page .country-tags { margin-top: 20px; }
  .mining-country-page .country-tags span { padding: 8px 11px; font-size: .76rem; }
  .mining-country-page .country-fact { min-height: 0; padding: 21px 18px; }
  .mining-country-page .country-section { padding: 58px 0; }
  .mining-country-page .country-overview-layout { gap: 34px; }
  .mining-country-page .country-overview-visual { min-height: 330px; border-radius: 4px 26px 4px 4px; }
  .mining-country-page .country-overview-visual-copy { right: 22px; bottom: 22px; left: 22px; }
  .mining-country-page .country-overview-content .country-overview-grid { grid-template-columns: 1fr; }
  .mining-country-page .country-region-card dl { grid-template-columns: 1fr; padding: 23px 20px; }
  .mining-country-page .country-region-card > div:first-child { padding: 27px 22px; }
  .mining-country-page .country-load-card { min-height: 0; }
  .mining-country-page .country-architecture-grid { grid-template-columns: 1fr; }
  .mining-country-page .country-architecture-card { min-height: 0; }
  .mining-country-page .country-rfq-panel { padding: 30px 22px; border-radius: 16px; }
  .country-hub-page .country-hub-hero { min-height: 0; padding: 50px 0 52px; }
  .country-hub-page .country-hub-hero h1 { font-size: clamp(2.4rem,11vw,3.3rem); }
  .country-hub-page .country-hub-grid,
  .home-country-section .country-hub-grid { grid-template-columns: 1fr; }
  .country-hub-page .country-hub-card,
  .home-country-section .country-hub-card { min-height: 340px; }
}

/* All mining country pages: align the Hero with the unified inner-page system. */
.mining-country-page--unified-hero .country-hero {
  min-height: 540px;
  align-items: start;
}

.mining-country-page--unified-hero .country-hero .container {
  width: min(var(--max), calc(100% - 40px));
  padding-top: var(--inner-hero-copy-top, 64px);
  padding-right: 0;
  padding-bottom: 56px;
  padding-left: 0;
}

.mining-country-page--unified-hero .country-hero-copy {
  width: 100%;
  max-width: none;
  padding-top: 0;
}

.mining-country-page--unified-hero .country-hero-copy::before {
  content: none;
  display: none;
}

.mining-country-page--unified-hero .country-hero h1 {
  width: min(100%, 1080px);
  max-width: 1080px;
  font-size: var(--inner-hero-title-size, clamp(40px, 4.2vw, 64px));
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.mining-country-page--unified-hero .country-hero .hero-lede {
  max-width: 900px;
  margin-top: 20px;
  font-size: var(--inner-hero-lede-size, 18px);
  line-height: 1.65;
}

.mining-country-page--unified-hero .country-tags {
  margin-top: 22px;
}

@media (max-width: 700px) {
  .mining-country-page--unified-hero .country-hero {
    min-height: 0;
  }

  .mining-country-page--unified-hero .country-hero .container {
    width: min(100% - 28px, var(--max));
    padding: 40px 0 44px;
  }

  .mining-country-page--unified-hero .country-hero h1 {
    width: 100%;
    max-width: none;
    font-size: clamp(30px, 8.2vw, 40px);
    line-height: 1.1;
    overflow-wrap: normal;
    word-break: normal;
  }

  .mining-country-page--unified-hero .country-hero .hero-lede {
    max-width: none;
    font-size: 16px;
    line-height: 1.6;
  }
}
