.thanks-section {
  --thanks-blue-dark: #1E4A6E;
  --thanks-blue-mid: #2E6491;
  --thanks-blue-pale: #EAF1F7;
  --thanks-gold: #F5C842;
  --thanks-off-white: #F7F8FA;
  --thanks-gray-text: #5C6672;
  --thanks-gray-light: #E3E7EC;
  --thanks-white: #FFFFFF;
  --thanks-font-head: 'Raleway', sans-serif;
  --thanks-font-body: 'Source Serif 4', serif;

  font-family: var(--thanks-font-body);
  background: var(--thanks-off-white);
  padding: 56px 24px;
  box-sizing: border-box;
}
.thanks-section * { box-sizing: border-box; }

.thanks-inner {
  max-width: 900px;
  margin: 0 auto;
}

.thanks-heading {
  text-align: center;
  margin-bottom: 36px;
}
.thanks-heading h2 {
  font-family: var(--thanks-font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--thanks-blue-dark);
  margin: 0 0 8px;
}
.thanks-heading p {
  font-family: var(--thanks-font-body);
  font-size: 0.95rem;
  color: var(--thanks-gray-text);
  margin: 0;
}

.thanks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.thanks-card {
  background: var(--thanks-white);
  border: 1px solid var(--thanks-gray-light);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.thanks-card:hover {
  box-shadow: 0 12px 28px rgba(30, 74, 110, 0.12);
  transform: translateY(-3px);
  border-color: var(--thanks-blue-mid);
}

.thanks-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--thanks-blue-pale);
  color: var(--thanks-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
}

.thanks-icon--logo {
  width: auto;
  height: 82px;
  margin-left: -15px;
  max-width: 100%;
  background: none;
  padding: 0;
  margin-bottom: 6px;
}
.thanks-icon--logo img {
  height: 100%;
  width: auto;
  display: block;
}

.thanks-card h3 {
  font-family: var(--thanks-font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--thanks-blue-dark);
  margin: 0;
}
.thanks-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.thanks-card h3 a:hover { color: var(--thanks-blue-mid); }

.thanks-card p {
  font-family: var(--thanks-font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--thanks-gray-text);
  margin: 0;
}
.thanks-card p a {
  color: var(--thanks-blue-mid);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}
.thanks-card p a:hover { color: var(--thanks-blue-dark); }

.thanks-badge {
  display: inline-block;
  font-family: var(--thanks-font-head);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--thanks-blue-dark);
  background: var(--thanks-gold);
  padding: 3px 10px;
  border-radius: 100px;
}

@media (max-width: 860px) {
  .thanks-section { padding: 48px 20px; }
  .thanks-grid { gap: 16px; }
}

@media (max-width: 640px) {
  .thanks-section { padding: 40px 16px; }

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

  .thanks-heading { margin-bottom: 28px; }
  .thanks-heading h2 { font-size: 1.3rem; }
  .thanks-heading p { font-size: 0.88rem; }

  .thanks-card { padding: 24px 20px; }

  .thanks-icon { width: 50px; height: 50px; margin-bottom: 16px; font-size: 1.2rem; }
  .thanks-icon--logo { height: 56px; width: auto;
    margin-left: -10px; margin-bottom: 6px; }

  .thanks-card h3 { font-size: 1rem; }
  .thanks-card p { font-size: 0.87rem; }
}

@media (max-width: 380px) {
  .thanks-section { padding: 32px 12px; }
  .thanks-card { padding: 20px 16px; }
  .thanks-icon--logo { height: 48px; }
  .thanks-badge { font-size: 0.62rem; padding: 3px 8px; }
}
