/* Reusable Gutenberg section patterns. Content is edited in blocks; appearance stays here. */
.eotec-design .eotec-section {
  --section-bg: #fff;
  --section-ink: var(--ink);
  --section-muted: var(--muted);
  --section-eyebrow: var(--accent-deep);
  padding: var(--section-space) 0;
  background: var(--section-bg);
  color: var(--section-ink);
}
.eotec-design .eotec-section.is-tint { --section-bg: var(--tint); }
.eotec-design .eotec-section.is-dark {
  --section-bg: var(--navy);
  --section-ink: #fff;
  --section-muted: #d2e3ee;
  --section-eyebrow: #b8d6ef;
}
.eotec-design .eotec-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .9fr);
  gap: var(--section-gap);
  align-items: end;
  padding-top: 22px;
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
}
.eotec-design .eotec-section__head .eyebrow { color: var(--section-eyebrow); }
.eotec-design .eotec-section__head h2 {
  margin: 10px 0 0;
  color: var(--section-ink);
  font-size: var(--section-heading-size);
  line-height: 1.08;
}
.eotec-design .eotec-section__head p {
  margin: 0;
  color: var(--section-muted);
  font-size: var(--section-body-size);
}
.eotec-design .eotec-section__split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 19px 43px #113a5115;
}
.eotec-design .eotec-section__split > img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.eotec-design .eotec-section__copy { padding: clamp(30px, 4vw, 58px); align-self: center; }
.eotec-design .eotec-section__copy .tag { color: var(--accent-deep); }
.eotec-design .eotec-section__copy h3 { margin: 14px 0 16px; font-size: clamp(29px, 3vw, 42px); line-height: 1.12; }
.eotec-design .eotec-section__copy p { max-width: 520px; color: var(--muted); font-size: var(--section-body-size); }
.eotec-design .eotec-section__action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid var(--accent-deep);
  border-radius: var(--button-radius);
  background: var(--accent-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}
.eotec-design .eotec-section__action:hover { filter: brightness(1.1); }
.eotec-design .eotec-section__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(30px, 5vw, 60px);
  background: var(--tint);
  border-left: 5px solid var(--accent);
}
.eotec-design .eotec-section__cta h2 { margin: 0 0 10px; color: var(--ink); font-size: clamp(31px, 3.5vw, 48px); line-height: 1.12; }
.eotec-design .eotec-section__cta p { max-width: 650px; margin: 0; color: var(--muted); }
.eotec-design .is-dark .eotec-section__head { border-color: #ffffff55; }
.eotec-design .is-dark .eotec-section__cta { background: #ffffff14; border-color: #b8d6ef; }
.eotec-design .is-dark .eotec-section__cta h2 { color: #fff; }
.eotec-design .is-dark .eotec-section__cta p { color: #d2e3ee; }
.eotec-design .is-dark .eotec-section__action { background: #fff; border-color: #fff; color: var(--navy); }
.eotec-design .linkedin-fallback { grid-column: 1/-1; margin: 0; padding: 26px 30px; border-top: 4px solid var(--linkedin-blue); background: #fff; color: #315674; }

/* Shared social actions on Home and Connect. */
.eotec-design .social-platform-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.eotec-design .social-platform-link { display:inline-flex; align-items:center; justify-content:center; width:52px; min-width:52px; height:48px; min-height:48px; padding:10px; border:2px solid #0a66c2; border-radius:2px; background:#0a66c2; color:#fff; line-height:1; text-align:center; transition:background .2s,border-color .2s,transform .2s; }
.eotec-design .social-platform-link:hover,.eotec-design .social-platform-link:focus-visible { border-color:#084f95; background:#084f95; color:#fff; transform:translateY(-2px); }
.eotec-design .social-platform-link svg { display:block; width:23px; height:23px; flex:none; fill:currentColor; }
@media(max-width:760px){.eotec-design .linkedin-head .social-platform-actions{margin-top:22px}}
.eotec-design .linkedin-fallback a { color: #105e9e; font-weight: 800; text-decoration: underline; }
@media (max-width: 760px) {
  .eotec-design .eotec-section__head { grid-template-columns: 1fr; gap: 16px; }
  .eotec-design .eotec-section__split { grid-template-columns: 1fr; }
  .eotec-design .eotec-section__split > img { height: 280px; min-height: 0; }
  .eotec-design .eotec-section__cta { align-items: stretch; flex-direction: column; }
}
