:root {
  --awe-orange: #E47234;
  --awe-gold: #E89540;
  --awe-navy: #21404F;
  --awe-blue: #22BBAA;
  --awe-green: #7D9A43;
  --awe-white: #FFFFFF;
  --awe-ink: #18313D;
  --awe-soft: #F5F7F6;
  --awe-cream: #FBF6EF;
}

.awepr,
.awepr-grid-section,
.awepr * ,
.awepr-grid-section * {
  box-sizing: border-box;
}

.awepr,
.awepr-grid-section {
  color: var(--awe-navy);
  font-family: inherit;
}

.awepr {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 32px auto;
  padding: clamp(30px, 4.5vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(33, 64, 79, .12);
  border-radius: 22px;
  background: linear-gradient(135deg, #F3F7F0 0%, #FFFFFF 72%);
  box-shadow: 0 12px 30px rgba(33, 64, 79, .08);
}

.awepr::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--awe-orange), var(--awe-gold), var(--awe-green), var(--awe-blue), var(--awe-navy));
}

.awepr__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.awepr--align-left .awepr__inner {
  align-items: flex-start;
  text-align: left;
}

.awepr--align-center .awepr__inner {
  align-items: center;
  text-align: center;
}

.awepr--align-right .awepr__inner {
  align-items: flex-end;
  text-align: right;
}

.awepr__eyebrow {
  margin: 0 0 18px;
  color: var(--awe-orange);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.awepr__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  min-height: 92px;
  color: var(--awe-navy);
  text-decoration: none !important;
}

a.awepr__logo-link {
  border-radius: 10px;
  transition: transform .2s ease, opacity .2s ease;
}

a.awepr__logo-link:hover {
  opacity: .9;
  transform: translateY(-2px);
}

a.awepr__logo-link:focus-visible {
  outline: 3px solid var(--awe-blue);
  outline-offset: 5px;
}

.awepr__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 128px;
  object-fit: contain;
}

.awepr__fallback {
  color: var(--awe-navy);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.05;
}

.awepr__region {
  margin-top: 17px;
  color: var(--awe-navy);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.awepr--featured {
  padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(135deg, var(--awe-navy) 0%, #2D5668 100%);
  border-color: rgba(255, 255, 255, .14);
  color: var(--awe-white);
}

.awepr--featured::before {
  height: 7px;
}

.awepr--featured .awepr__eyebrow {
  color: var(--awe-gold);
  font-size: 28px;
}

.awepr--featured .awepr__logo-link {
  width: min(100%, 520px);
  min-height: 130px;
  padding: 22px 28px;
  border-radius: 16px;
  background: var(--awe-white);
}

.awepr--featured .awepr__logo {
  max-height: 150px;
}

.awepr--featured .awepr__region {
  color: var(--awe-white);
}

.awepr--compact {
  margin: 20px auto;
  padding: 26px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(33, 64, 79, .07);
}

.awepr--compact::before {
  height: 4px;
}

.awepr--compact .awepr__eyebrow {
  margin-bottom: 12px;
  font-size: 21px;
}

.awepr--compact .awepr__logo-link {
  width: min(100%, 300px);
  min-height: 72px;
}

.awepr--compact .awepr__logo {
  max-height: 86px;
}

.awepr--compact .awepr__region {
  margin-top: 12px;
  font-size: 12px;
}

.awepr--card {
  height: 100%;
  margin: 0;
  background: var(--awe-white);
}

/* Native Partner Recognition patterns (Heading + Image blocks). */
.awepr-pattern {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(33, 64, 79, .12);
  box-shadow: 0 12px 30px rgba(33, 64, 79, .08);
}

.awepr-pattern::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--awe-orange), var(--awe-gold), var(--awe-green), var(--awe-blue), var(--awe-navy));
}

.awepr-pattern__title {
  font-family: inherit;
}

.awepr-pattern__logo {
  width: min(100%, 520px);
  margin-right: auto;
  margin-left: auto;
}

.awepr-pattern__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 150px;
  margin: 0 auto;
  object-fit: contain;
}

.awepr-pattern--featured .awepr-pattern__logo {
  padding: 22px 28px;
  border-radius: 16px;
  background: var(--awe-white);
}

.awepr-pattern--standard .awepr-pattern__logo {
  max-width: 440px;
}

.awepr-pattern--compact .awepr-pattern__logo {
  max-width: 320px;
}

.awepr-pattern--compact .awepr-pattern__logo img {
  max-height: 92px;
}

.awepr-pattern__logo-placeholder {
  max-width: 520px;
  min-height: 120px;
  margin: 0 auto;
  padding: 24px;
  border: 2px dashed #B7C3C8;
  border-radius: 12px;
  background: var(--awe-white);
}

.awepr--notice {
  padding: 20px 24px;
  border-left: 5px solid var(--awe-orange);
  border-radius: 10px;
  background: var(--awe-soft);
  box-shadow: none;
  font-weight: 700;
}

.awepr--notice::before {
  display: none;
}

.awepr-grid-section {
  width: 100%;
  max-width: 1200px;
  margin: 48px auto;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(33, 64, 79, .10);
  border-radius: 22px;
  background: var(--awe-cream);
}

.awepr-grid-section__header {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.awepr-grid-section__kicker {
  margin-bottom: 10px;
  color: var(--awe-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.awepr-grid-section h2 {
  margin: 0;
  color: var(--awe-navy);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.awepr-grid {
  display: grid;
  grid-template-columns: repeat(var(--awepr-columns, 3), minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .awepr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .awepr,
  .awepr-grid-section {
    margin: 24px auto;
    border-radius: 16px;
  }

  .awepr {
    padding: 30px 22px;
  }

  .awepr--featured {
    padding: 38px 22px;
  }

  .awepr--featured .awepr__logo-link {
    min-height: 104px;
    padding: 18px;
  }

  .awepr-grid-section {
    padding: 34px 18px;
  }

  .awepr-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.awepr__logo-link {
    transition: none;
  }
}
