/* prod_empc.css
* EMPC page-specific styles. Shares the same core layout + nav as PHSM.
*/

@import url("product_phsm.css");

/* Scope everything to the EMPC page so we don't affect PHSM */

body.empc-page {
  background: var(--bg);
}

/* HERO -------------------------------------------------- */

body.empc-page .hero.hero-empc {
  padding: clamp(48px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--cocoa-line);
}

body.empc-page .hero.hero-empc .hero-inner {
  max-width: 1100px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  text-align: left;
  align-items: center;
}

@media (max-width: 900px) {
  body.empc-page .hero.hero-empc .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  body.empc-page .hero.hero-empc .hero-art {
    order: -1;
  }
}

body.empc-page .hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--cocoa-line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--choc-700);
  margin-bottom: 10px;
}

body.empc-page .hero-title {
  margin-top: 0;
  margin-bottom: 8px;
}

body.empc-page .hero-sub {
  max-width: 46ch;
}

/* Let EMPC hero image be a bit smaller and centered nicely */

body.empc-page .hero.hero-empc .hero-art {
  max-width: 520px;
  margin: 0 auto;
}

/* PLATFORM CARDS --------------------------------------- */

body.empc-page .empc-platforms {
  background: #fff;
}

body.empc-page .section-header {
  max-width: 720px;
  margin: 0 auto clamp(20px, 3vw, 32px);
  text-align: center;
}

header#syssec {
  text-align: left;
  margin: 0;
  margin-bottom: 2vh;
}

h3#syssec {
  color: #be4700;
}

div#syssec {
  align-items: normal;
}

article#syssec,
img#green-background {
  background-color: #a8bc7c;
  color: white;
}

p#syssec {
  color: #360f2a;
}

h4#syssec {
  color: #000000;
}

div#descon {
  margin-left: 0vw;
}

body.empc-page .section-title {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 0 0 6px;
  color: var(--choc-900);
}

body.empc-page .section-sub {
  margin: 0;
  color: var(--cocoa-70);
}

body.empc-page .empc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}

@media (max-width: 960px) {
}

@media (max-width: 640px) {
}

body.empc-page .empc-card h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

body.empc-page .empc-card p {
  margin: 0;
  color: var(--cocoa-70);
  margin-bottom: 0.5vh;
  margin-top: 0.5vh;
}

article#descon.card.empc-card {
  padding: 16px;
  align-content: center;
  background-color: black;
}

/* FEATURE SECTIONS ------------------------------------- */

body.empc-page .feature-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

body.empc-page .empc-list li + li {
  margin-top: 4px;
}

/* COMMUNITY / CTAS ------------------------------------- */

body.empc-page .empc-community {
  background: #fff;
}

body.empc-page .empc-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

body.empc-page .btn-primary,
body.empc-page .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

body.empc-page .btn-primary {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
}

body.empc-page .btn-primary:hover {
  background: #e45c10;
  border-color: #e45c10;
}

body.empc-page .btn-ghost {
  background: bisque;
  color: var(--choc-800);
  border: 1px solid var(--cocoa-line);
}

body.empc-page .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.8);
}

li.empc-li-item,
ul.empc-pictures {
  width: 13vw;
  height: auto;
  display: -webkit-inline-box;
  gap: 9vw;
}

li.empc-li-item {
  overflow-wrap: anywhere;
}

ul.empc-pictures {
  min-width: 7vh;
}

body.empc-page .empc-list-A,
body.empc-page .empc-list-B {
  margin: 12px 0 0;
  padding-left: 1.1rem;
  color: var(--cocoa-70);
  display: flex;
  gap: 5vw;
}

body.empc-page .empc-list-B {
  gap: 45vw;
}

body.empc-page .empc-list-A {
  gap: 16vw;
}

article.empc-pictures-A {
  display: flex;
  width: 30vw;
}

article.empc-pictures-B {
  display: flex;
  width: 55vw;
  max-width: 45vw;
  max-height: 60vh;
}

.feature-copy {
  margin-left: 5vw;
}

/* Small screen alignment tweaks */

@media (max-width: 768px) {
  body.empc-page .empc-ctas {
    justify-content: center;
  }
}
