/**
 * ESG New Template Styles
 * Combines styles from Environmental Impact, Social Impact, and Governance templates
 */
/* ===========================
   HERO SECTION
   =========================== */
.esg-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 0;
}

.esg-hero .hero-background {
  position: absolute;
  inset: 0;
  background-image: url('../../assets/images/hero-esg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  display: flex;
  align-items: center;
}

.esg-hero .btn {
  margin-top: 48px;
}

.esg-hero .hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.esg-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.esg-hero h1 {
  font-size: 72px;
  font-weight: 550;
  font-family: var(--font-family-title);
  color: #ffffff;
  margin: 0 0 24px 0;
  width: 864px;
  line-height: 76px;
}

.esg-hero .hero-description {
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  margin: 0 auto 0 auto;
  font-weight: 400;
  width: 642px;
}

/* ===========================
   ENVIRONMENTAL IMPACT STYLES
   =========================== */
/* Distribution Section */
.distribution-section {
  padding: 64px 0px;
  background: #fff;
}

.distribution-header {
  margin: 0 auto 32px;
  display: flex;
  gap: 126px;
  font-family: var(--font-family-title);
  align-items: flex-start;
  justify-content: flex-start;
}

.distribution-header h2 {
  font-family: var(--font-family-title);
  font-size: 54px;
  font-weight: 550;
  margin: 0 0 32px 0;
  width: 532px;
}

.distribution-description {
  font-size: 16px;
  line-height: 1.8;
  width: 532px;
}

.distribution-description p {
  margin-bottom: 16px;
}

.distribution-description p:last-child {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  max-width: 532px;
  text-align: left;
}

/* Distribution Grid */
.distribution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 16px;
  padding-top: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.distribution-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.2s ease;
}

.distribution-card:hover {
  transform: translateY(-4px);
}

.partner-logo {
  height: 313px;
  width: 100%;
  background: var(--background-default-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
  transition: background 0.2s ease;
}

.distribution-card:hover .partner-logo {
  background: var(--background-default-tertiary);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}

.partner-info h3 {
  font-family: var(--font-family-title);
  font-size: 20px;
  font-weight: 550;
  margin: 0 0 auto;
}

.partner-link {
  display: block;
  text-decoration: none;
  font-weight: 550;
  font-size: 16px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  opacity: 0;
  padding: 12px 0;
  font-family: var(--font-family-title);
  color: inherit;
}

.distribution-card:hover .partner-link {
  opacity: 1;
}

.partner-link svg {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  margin-left: 4px;
}

.distribution-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Sourcing Section */
.sourcing-climate-section {
  padding: 80px 0;
  background: #fff;
}

.sourcing-other {
  margin-bottom: 80px;
}

.sourcing-other-heading {
  margin: 0 auto 32px;
  display: flex;
  gap: 126px;
  font-family: var(--font-family-title);
  align-items: flex-start;
  justify-content: flex-start;
}

.sourcing-other h2 {
  font-family: var(--font-family-title);
  font-size: 54px;
  font-weight: 550;
  margin: 0 0 32px 0;
  width: 532px;
}

.sourcing-description {
  font-size: 16px;
  line-height: 1.8;
  width: 532px;
}

.sourcing-description p {
  margin-bottom: 16px;
}

.sourcing-description p:last-child {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  max-width: 532px;
  text-align: left;
}

.sourcing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 16px;
  padding: 32px 0 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.sourcing-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.2s ease;
}

.sourcing-card:hover {
  transform: translateY(-4px);
}

.sourcing-logo {
  height: 313px;
  width: 100%;
  background: var(--background-default-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
  transition: background 0.2s ease;
}

.sourcing-card:hover .sourcing-logo {
  background: var(--background-default-tertiary);
}

.sourcing-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sourcing-card h3 {
  font-size: 18px;
  font-family: var(--font-family-title);
  font-size: 20px;
  font-weight: 550;
  margin: 0 0 auto;
  text-align: left;
}

.sourcing-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.trusted .media p {
  color: white !important;
}

.logo-circle img {
  width: 106px;
  height: 106px;
  object-fit: contain;
}

.esg-new-page .logo-circle img {
  width: 225px !important;
  height: unset !important;
}

.esg-new-page .kpi .num {
  font-size: 34px;
  font-weight: 600;
  color: #a67d2b;
  font-family: var(--font-family-title);
}

.esg-new-page .kpi .label {
  font-size: 18px;
  font-weight: 400;
}

/* ===========================
   SOCIAL IMPACT STYLES
   =========================== */
/* Text-Image Section styles are now handled by the text-image-section component */
/* ===========================
   GOVERNANCE STYLES
   =========================== */
/* Anti-Money Laundering Section */
.anti-money-laundering-section {
  padding: 80px 0 124px 0;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.aml-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.aml-main h2 {
  margin: 0;
  width: 510px;
}

.aml-main h2 .heading-gold {
  background: linear-gradient(180deg, #f4d9a6 0%, #c8a35f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.aml-main h2 .heading-white {
  color: #fff;
  display: inline;
}

.aml-description {
  font-family: "Helvetica Now Display", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

.aml-description p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  width: 425px;
}

.aml-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 634px;
}

.aml-items {
  display: flex;
  flex-direction: column;
}

.aml-item {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px 0;
}

.aml-item:first-child {
  border-top: none;
  padding-top: 0;
}

.aml-item:last-child {
  padding-bottom: 0;
}

.aml-item h3 {
  font-size: 40px;
  font-weight: 550;
  color: #fff;
  line-height: 48px;
  font-family: var(--font-family-title);
  margin: 0 0 12px 0;
}

.aml-item p {
  font-size: 18px;
  line-height: 24px;
  color: var(--text-default-inverted-secondary);
  margin: 0;
}

/* Spacers */
.spacer-44 {
  height: 44px;
}

.spacer-88 {
  height: 88px;
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */
@media screen and (max-width: 1040px) {
  .esg-hero h1 {
    width: unset;
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 60px;
  }

  .esg-hero .hero-description {
    font-size: 15px;
    line-height: 20px;
  }

  .esg-hero .btn {
    margin-top: 40px;
  }
}

@media (max-width: 1024px) {
  .distribution-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 52px 20px;
  }

  .partner-logo {
    height: 334px;
  }

  .distribution-card {
    gap: 20px;
  }

  .partner-info h3 {
    line-height: 28px;
  }

  .sourcing-climate-section {
    padding: 48px 0;
  }

  .distribution-header {
    margin-bottom: 20px;
    flex-direction: column;
    gap: 20px;
  }

  .distribution-header h2 {
    margin: 0;
    font-size: 32px;
    line-height: 40px;
    width: 100%;
  }

  .distribution-description {
    font-size: 15px;
    line-height: 24px;
    width: 100%;
  }

  .sourcing-other-heading {
    margin-bottom: 20px;
    flex-direction: column;
    gap: 20px;
  }

  .sourcing-other h2 {
    margin: 0;
    font-size: 32px;
    line-height: 40px;
    width: 100%;
  }

  .sourcing-description {
    font-size: 15px;
    line-height: 24px;
    width: 100%;
  }

  .sourcing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 52px 20px;
  }

  .sourcing-logo {
    height: 334px;
  }

  .sourcing-card {
    gap: 20px;
  }

  .sourcing-card h3 {
    line-height: 28px;
  }

  .anti-money-laundering-section {
    padding: 64px 0;
  }

  .aml-main {
    width: unset;
  }

  .aml-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .aml-items {
    width: 100%;
  }

  .aml-main h2 {
    font-size: 34px;
    line-height: 40px;
    width: unset;
  }

  .aml-description p {
    font-size: 15px;
    line-height: 24px;
    width: unset;
  }

  .aml-item {
    padding: 28px 0;
  }

  .aml-item h3 {
    font-size: 28px;
    line-height: 32px;
  }

  .aml-item p {
    font-size: 15px;
    line-height: 20px;
  }

  .logo-circle img,
  .logo-circle svg {
    width: 64px;
    height: 64px;
  }

  .esg-new-page .logo-circle img {
    width: 150px !important;
    height: unset !important;
  }

  .esg-new-page .kpi .num {
    font-size: 26px !important;
    line-height: unset !important;
  }

  .esg-new-page .kpi {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .esg-hero {
    min-height: 450px;
    padding: 60px 0;
  }

  .esg-hero h1 {
    font-size: 46px;
    line-height: 52px;
  }

  .esg-hero .hero-description {
    width: unset;
  }

  .esg-hero .btn {
    margin-top: 36px;
  }

  .distribution-section {
    padding: 64px 0;
  }

  .distribution-header h2 {
    font-size: 36px;
  }

  .distribution-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sourcing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .esg-new-page .kpi .num {
    font-size: 32px;
    line-height: 42px;
  }

  .esg-new-page .kpi .label {
    min-height: 44px;
  }

  .logo-circle img,
  .logo-circle svg {
    width: 57px;
    height: 57px;
  }

  .distribution-header h2 {
    font-size: 28px;
  }

  .distribution-description {
    font-size: 16px;
  }

  .distribution-grid,
  .sourcing-grid {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .distribution-card,
  .sourcing-card {
    padding: 24px 0;
    border-bottom: 1px solid #CBC9D1;
    gap: 16px;
    flex-direction: row;
    align-items: center;
  }

  .distribution-card:last-child,
  .sourcing-card:last-child {
    border-bottom: none;
  }

  .partner-logo,
  .sourcing-logo {
    height: 110px;
    width: 110px;
    flex-shrink: 0;
  }

  .distribution-card h3,
  .sourcing-card h3 {
    font-size: 18px;
    line-height: 28px;
    margin: 0;
  }

  .distribution-card p,
  .sourcing-card p {
    display: none;
  }

  .sourcing-grid {
    padding-bottom: 40px;
  }

  .sourcing-other {
    margin: 0;
  }

  .esg-new-page .logo-circle img {
    width: 120px !important;
    height: unset !important;
  }

  .esg-new-page .kpi .num {
    font-size: 24px;
    line-height: 18px;
  }
}