
/* =========================================================
   Technical resources page width correction
   Purpose:
   - Prevent ERP module/zone wrappers from making the right side
     look more padded in preview mode than in design mode.
   - Applies only to this technical resources page because this
     CSS file is only loaded on this page.
   ========================================================= */

.fl-tech-hero,
.fl-tech-index,
.fl-tech-section {
  width: 100%;
  max-width: none;
}

/* Make the gray index background fill the same available width */
.fl-tech-index {
  margin-left: 0;
  margin-right: 0;
}

/* Keep the actual readable content centered inside the full-width sections */
.fl-tech-hero-inner,
.fl-tech-index-inner,
.fl-tech-section-inner {
  width: 100%;
  max-width: 1320px;
}

/* =========================================================
   FORMLINE TECHNICAL RESOURCES PAGE
   File: /site/css/technical-resources.css
   ========================================================= */

html {
  scroll-behavior: smooth;
}

.fl-tech-hero,
.fl-tech-index,
.fl-tech-section {
  box-sizing: border-box;
}

.fl-tech-hero *,
.fl-tech-index *,
.fl-tech-section * {
  box-sizing: border-box;
}

/* ---------- Top hero / intro ---------- */

.fl-tech-hero {
  background: #ffffff;
  border-bottom: 1px solid #e4e8eb;
}

.fl-tech-hero-inner {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 40px 52px 40px;
}

.fl-tech-kicker {
  margin: 0 0 16px 0;
  color: #0d2c54;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.fl-tech-title {
  margin: 0 0 22px 0 !important;
  padding: 0 !important;
  color: #111418 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(42px, 5vw, 68px) !important;
  line-height: 0.98 !important;
  font-weight: 800 !important;
  letter-spacing: -0.055em !important;
}

.fl-tech-intro {
  max-width: 760px;
  margin: 0;
  color: #3b444b;
  font-size: 19px;
  line-height: 1.65;
}

.fl-tech-hero-panel {
  padding: 30px;
  background: #f4f6f7;
  border: 1px solid #d8dde0;
  border-radius: 4px;
}

.fl-tech-hero-panel h2 {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  color: #111418 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

.fl-tech-hero-panel p {
  margin: 0;
  color: #3b444b;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Index ---------- */

.fl-tech-index {
  background: #f4f6f7;
  border-bottom: 1px solid #e4e8eb;
}

.fl-tech-index-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 40px 40px 40px;
}

.fl-tech-index a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 16px;
  color: #202428 !important;
  background: #ffffff;
  border: 1px solid #d8dde0;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fl-tech-index a:hover {
  color: #0d2c54 !important;
  border-color: #aeb8c2;
  box-shadow: 0 8px 20px rgba(17, 20, 24, 0.07);
  transform: translateY(-1px);
}

.fl-tech-index a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  color: #ffffff;
  background: #0d2c54;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

/* ---------- Standard technical section template ---------- */

.fl-tech-section {
  background: #ffffff;
  border-bottom: 1px solid #e4e8eb;
  scroll-margin-top: 110px;
}

.fl-tech-section:nth-of-type(even) {
  background: #f8f9fa;
}

.fl-tech-section-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.2fr);
  gap: 56px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 58px 40px;
}

.fl-tech-section-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  background: #f4f6f7;
  border: 1px solid #d8dde0;
  border-radius: 4px;
  overflow: hidden;
}

.fl-tech-section-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.fl-tech-section-content {
  max-width: 760px;
}

.fl-tech-section-number {
  margin: 0 0 14px 0;
  color: #0d2c54;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.fl-tech-section-title {
  margin: 0 0 22px 0 !important;
  padding: 0 !important;
  color: #111418 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(30px, 3vw, 44px) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

.fl-tech-section-content p {
  margin: 0 0 16px 0;
  color: #3b444b;
  font-size: 16px;
  line-height: 1.68;
}

.fl-tech-definition-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.fl-tech-definition-item {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d8dde0;
  border-radius: 4px;
}

.fl-tech-definition-item h3 {
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  color: #111418 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.fl-tech-definition-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.fl-tech-back-top {
  display: inline-flex;
  margin-top: 26px;
  color: #0d2c54 !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}

.fl-tech-back-top:hover {
  text-decoration: underline !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .fl-tech-hero-inner,
  .fl-tech-section-inner {
    grid-template-columns: 1fr;
  }

  .fl-tech-index-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .fl-tech-hero-inner,
  .fl-tech-index-inner,
  .fl-tech-section-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .fl-tech-index-inner {
    grid-template-columns: 1fr;
  }
}