/* Shared styles for [trt_partners] + [trt_contact] */

/* Clear sticky header overlap + hide theme page title */
body.trt-content-page .hero-section,
body.trt-content-page .ct-page-title-container,
body.trt-content-page .entry-header,
body.trt-content-page header.entry-header,
body.trt-content-page .page-title:not(.trt-page-title),
body.trt-content-page .ct-page-title {
  display: none !important;
}

body.trt-content-page #main,
body.trt-content-page main#main,
body.trt-content-page #main-container > section,
body.trt-content-page .site-content {
  padding-top: 0 !important;
}

body.trt-content-page .ct-container,
body.trt-content-page .entry-content,
body.trt-content-page .ct-entry-content {
  padding-top: 0 !important;
}

.trt-page {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 112px 20px 56px;
  color: #4A5568;
  font-size: 1rem;
  line-height: 1.7;
  box-sizing: border-box;
}

.trt-page-header {
  margin: 0 0 28px;
}

.trt-page-eyebrow {
  margin: 0 0 8px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #3182CE !important;
}

.trt-page-title {
  margin: 0 0 14px !important;
  font-size: clamp(1.75rem, 3vw, 2.15rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #1A202C !important;
  line-height: 1.2 !important;
}

.trt-page-lead {
  margin: 0 !important;
  padding: 16px 18px !important;
  background: #EBF8FF !important;
  border: 1px solid #BEE3F8 !important;
  border-radius: 14px !important;
  color: #2C5282 !important;
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
}

.trt-page-h2 {
  margin: 36px 0 10px !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #1A202C !important;
  letter-spacing: -0.02em !important;
}

.trt-contact-main .trt-page-h2 {
  margin-top: 0 !important;
}

.trt-page-h3 {
  margin: 26px 0 8px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #1A202C !important;
}

.trt-page-text {
  margin: 0 0 12px !important;
  color: #4A5568 !important;
  line-height: 1.75 !important;
}

.trt-page-list {
  margin: 0 0 16px 1.2rem !important;
  padding: 0 !important;
  color: #4A5568 !important;
}

.trt-page-list li {
  margin: 0 0 8px !important;
  line-height: 1.65 !important;
}

.trt-page-cards,
.trt-page-steps {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 14px !important;
  margin: 16px 0 8px !important;
}

.trt-page-card,
.trt-page-step {
  margin: 0 !important;
  padding: 20px !important;
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.trt-page-card h3,
.trt-page-step h4 {
  margin: 0 0 6px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #2B6CB0 !important;
}

.trt-page-card p,
.trt-page-step p {
  margin: 0 !important;
  font-size: 0.9rem !important;
  color: #718096 !important;
  line-height: 1.65 !important;
}

.trt-page-card-link {
  margin-top: 10px !important;
}

.trt-page-card-link a,
.trt-page-card a,
.trt-page-faq a,
.trt-page-cta-alt a,
.trt-form-alert a {
  color: #3182CE !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.trt-page-card-link a:hover,
.trt-page-card a:hover,
.trt-page-faq a:hover,
.trt-page-cta-alt a:hover {
  color: #2B6CB0 !important;
}

.trt-page-step {
  text-align: center !important;
}

.trt-page-step-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 auto 10px !important;
  border-radius: 50% !important;
  background: #3182CE !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
}

.trt-page-faq p {
  margin: 0 0 14px !important;
  color: #4A5568 !important;
  line-height: 1.75 !important;
}

.trt-page-cta {
  margin-top: 36px !important;
  padding: 28px 24px !important;
  border-radius: 16px !important;
  text-align: center !important;
  background: linear-gradient(135deg, #3182CE, #2B6CB0) !important;
  color: #fff !important;
}

.trt-page-cta h2 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
}

.trt-page-cta p {
  margin: 0 0 16px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.98rem !important;
}

.trt-page-cta-btn {
  display: inline-block !important;
  padding: 12px 26px !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #2B6CB0 !important;
  font-weight: 800 !important;
  font-size: 0.98rem !important;
  text-decoration: none !important;
  border: 0 !important;
}

.trt-page-cta-btn:hover {
  background: #EBF8FF !important;
  color: #2C5282 !important;
}

.trt-page-cta-alt {
  margin: 14px 0 0 !important;
}

.trt-page-cta-alt a {
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.trt-page-note {
  margin: 22px 0 0 !important;
  padding: 12px 14px !important;
  background: #F7FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  color: #718096 !important;
  line-height: 1.65 !important;
}

/* Contact layout + form */
.trt-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 24px;
  align-items: start;
  margin: 8px 0 8px;
}

.trt-contact-form {
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
}

.trt-form-row {
  margin: 0 0 14px;
}

.trt-form-row label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1A202C;
}

.trt-form-row input,
.trt-form-row select,
.trt-form-row textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #CBD5E0;
  border-radius: 10px;
  background: #fff;
  color: #1A202C;
  font: inherit;
  line-height: 1.4;
}

.trt-form-row input:focus,
.trt-form-row select:focus,
.trt-form-row textarea:focus {
  outline: none;
  border-color: #3182CE;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.18);
}

.trt-form-row textarea {
  resize: vertical;
  min-height: 140px;
}

.trt-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: #3182CE;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.trt-form-submit:hover {
  background: #2B6CB0;
}

.trt-contact-side {
  display: grid;
  gap: 12px;
}

.trt-form-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.trt-form-alert-ok {
  background: #F0FFF4;
  border: 1px solid #9AE6B4;
  color: #276749;
}

.trt-form-alert-err {
  background: #FFF5F5;
  border: 1px solid #FEB2B2;
  color: #9B2C2C;
}

.trt-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 800px) {
  .trt-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .trt-page {
    padding: 96px 16px 40px;
  }
  .trt-page-cta {
    padding: 24px 18px !important;
  }
  .trt-contact-form {
    padding: 16px;
  }
}
