/* Contact page (aff-kit/pages/contact.php). Every class starts with ct-. */
.ct-page { font-size: 18px; line-height: 1.6; padding: 8px 0 44px; }
.ct-page p { margin: 0 0 14px; }
.ct-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; margin: 36px 0; align-items: stretch; }
.ct-card { background: #fff; border: 1px solid #e0e7da; border-top: 6px solid #2f8900; border-radius: 16px; padding: 26px; box-shadow: 0 10px 30px rgba(20, 50, 5, .06); }
.ct-card .ct-btn { margin-top: 18px; }
.ct-reply { font-size: 16px; color: #6b6f7b; margin: 12px 0 0 !important; }
.ct-include { background: #1d4f05; color: #dde9d6; border-radius: 16px; padding: 26px 28px; }
.ct-include h2 { color: #fff; font-size: 26px; font-weight: 900; margin: 0 0 14px; }
.ct-include b { color: #fff; }
.ct-include ul { list-style: none; margin: 0; padding: 0; }
.ct-include li { display: flex; gap: 12px; margin-bottom: 12px; }
.ct-include li .ico { width: 22px; height: 22px; color: #3a9e06; margin-top: 3px; flex: none; }
.ct-sec { margin: 44px 0; }
.ct-sec > h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 900; color: #1e1e1e; margin: 0 0 10px; }
.ct-lead { max-width: 820px; }
.ct-tpls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.ct-tpl { background: #fff; border: 1px solid #e0e7da; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; }
.ct-tpl h3 { display: flex; gap: 10px; align-items: center; font-size: 20px; font-weight: 900; color: #1e1e1e; margin: 0 0 6px; line-height: 1.3; }
.ct-tpl h3 .ico { width: 22px; height: 22px; color: #2a7a00; }
.ct-who { color: #4a4e58; font-size: 17px; }
.ct-subj { font-size: 16px; background: #f6f9f3; border-radius: 8px; padding: 8px 12px; overflow-wrap: anywhere; }
.ct-body { flex: 1; white-space: pre-wrap; overflow-wrap: anywhere; font-family: Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.55; color: #333333; background: #f7faf5; border-left: 4px solid #e0e7da; border-radius: 6px; padding: 12px 14px; margin: 0 0 16px; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: #2f8900; color: #ffffff; font: 900 17px Roboto, Arial, sans-serif; text-decoration: none; border: 0; }
.ct-btn:hover { background: #3a9e06; }
.ct-btn-sm { padding: 11px 18px; font-size: 16px; }
.ct-btn .ico, .ct-copy .ico { width: 18px; height: 18px; }
.ct-copy { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid #e0e7da; border-radius: 999px; background: #fff; color: #1e1e1e; font: 700 16px Roboto, Arial, sans-serif; cursor: pointer; }
.ct-copy:hover { border-color: #2f8900; background: #f4faef; }
.ct-copy.done { border-color: #2f7a3a; color: #2f7a3a; }
.ct-status { min-height: 1.6em; font-size: 16px; color: #2f7a3a; font-weight: 700; margin-top: 12px !important; }
.ct-other { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ct-box { background: #fff; border: 1px solid #e0e7da; border-radius: 14px; padding: 22px; }
.ct-box h3 { font-size: 20px; font-weight: 900; margin: 0 0 8px; color: #1e1e1e; }
.ct-box p { margin: 0; }
.ct-page a:not(.ct-btn) { color: #246b00; font-weight: 700; }
@media (max-width: 860px) {
  .ct-top, .ct-tpls, .ct-other { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .ct-page { font-size: 17px; }
  .ct-card, .ct-include, .ct-tpl, .ct-box { padding: 20px 18px; }
}

.ct-include .ct-h2b { margin-top: 24px; }
.ct-page .ct-include a { color: #fff; font-weight: 700; overflow-wrap: break-word; }
