.ts-page-container .ts-hero {
  text-align: left;
  padding: 2.5rem 1rem;
  margin-bottom: 1.5rem;
}
.ts-page-container .ts-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.ts-policy .contact-intro,
.ts-page-container > .ts-card {
  background: #fff;
  padding: 1.25rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  margin-bottom: 1rem;
}
.ts-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.cf7-shortcode { margin-top: 0.75rem; }
.contact-fallback {
  display: block;
}
.contact-fallback label { display:block; margin:0.5rem 0 0.25rem; font-weight:600; }
.contact-fallback input[type="text"],
.contact-fallback input[type="email"],
.contact-fallback textarea {
  width:100%; padding:0.6rem; border:1px solid #e6e7eb; border-radius:6px; box-sizing:border-box;
}
.contact-fallback textarea { min-height:120px; resize:vertical; }
.contact-fallback .ts-button { display:inline-block; margin-top:0.75rem; }
.ts-card h3 { margin-top:0; }
@media (max-width: 768px) {
  .ts-grid { grid-template-columns: 1fr; }
  .ts-page-container .ts-hero { text-align:center; }
}
.ts-page-container .cf7-shortcode .wpcf7-form p { margin-bottom: 0.9rem; }
.ts-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
.ts-section > .ts-card:first-child {
}
.ts-section .ts-grid {
  margin: 0;
  grid-template-columns: 1fr;
}
.ts-section .ts-grid .ts-card {
  padding: 1.25rem;
}
.ts-card, .contact-intro {
  background: #fff;
  padding: 1.25rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.contact-fallback input[type="text"],
.contact-fallback input[type="email"],
.contact-fallback textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e6e7eb;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 0.98rem;
  margin-top: 0.4rem;
}
.wpcf7-form textarea, .contact-fallback textarea { min-height: 140px; resize: vertical; }
.wpcf7-form p { margin-bottom: 0.85rem; }
.wpcf7-form .wpcf7-submit,
.contact-fallback .ts-button,
.ts-card .wpcf7-submit {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.wpcf7-form .wpcf7-submit:hover,
.contact-fallback .ts-button:hover { opacity: 0.95; }
@media (max-width: 900px) {
  .ts-section {
    grid-template-columns: 1fr;
  }
  .ts-page-container .ts-hero { text-align: center; }
}
.ts-section .cf7-shortcode { margin-top: 0.5rem; }
.ts-page-container {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
}
.ts-page-container .ts-hero {
  background: linear-gradient(180deg, rgba(99,102,241,0.06), rgba(6,182,212,0.03));
  padding: 3.25rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.04);
  margin-bottom: 1.75rem;
}
.ts-page-container .ts-hero h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.ts-page-container .ts-hero p { color: var(--text-secondary); font-size: 1.05rem; }
.ts-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.ts-section > .ts-card:first-child {
  padding: 1.75rem;
  border-left: 4px solid var(--primary-color);
}
.ts-card {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(15,23,42,0.04);
}
.ts-section .ts-grid { 
  margin: 0; 
  grid-template-columns: 1fr;
}
.ts-section .ts-grid .ts-card { padding: 1.5rem; width:100%; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.contact-fallback input[type="text"],
.contact-fallback input[type="email"],
.contact-fallback textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e9eef7;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 0.98rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.contact-fallback input:focus,
.contact-fallback textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 6px 18px rgba(99,102,241,0.08);
  outline: none;
}
.wpcf7-form p { margin-bottom: 1rem; }
.wpcf7-form .wpcf7-submit,
.contact-fallback .ts-button,
.ts-card .wpcf7-submit {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  padding: 0.72rem 1.1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(79,70,229,0.12);
}
.wpcf7-form .wpcf7-submit:active { transform: translateY(1px); }
.wpcf7-form label, .contact-fallback label { font-weight: 600; display:block; margin-bottom:0.35rem; color:var(--text-primary); }
.wpcf7-form .wpcf7-form-control-wrap { display:block; }
.ts-card small, .ts-card .help-text { color: var(--text-light); font-size: 0.92rem; }
@media (max-width: 900px) {
  .ts-section { grid-template-columns: 1fr; }
  .ts-page-container .ts-hero { text-align: center; }
  .ts-section > .ts-card:first-child { border-left: none; }
  .wpcf7-form .wpcf7-submit, .contact-fallback .ts-button { width: 100%; text-align: center; }
}
*:focus { outline: none; }
*:focus-visible { outline: 3px solid rgba(99,102,241,0.12); outline-offset: 2px; }
.ts-policy { padding: 30px 0; }
.ts-policy .policy-section { margin-bottom: 28px; }
.ts-policy h2 { font-size: 1.45rem; margin-bottom: 12px; color: #111; }
.ts-policy h3 { font-size: 1rem; margin-top: 12px; }
.ts-policy p, .ts-policy li { color: #333; line-height: 1.6; }
.ts-policy .policy-table { border-top: 1px solid #e6e6e6; margin-top: 12px; }
.ts-policy .policy-table .row { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid #f2f2f2; }
.ts-policy .policy-table .row.header { font-weight: 700; background: transparent; border-bottom: 1px solid #ddd; }
@media (min-width: 768px) {
  .ts-policy .policy-table .row { grid-template-columns: 1fr 1fr 2fr; align-items: start; }
}
.ts-hero .ts-updated { font-size: 0.9rem; color: #666; margin-top: 6px; }
.ts-policy ul { padding-left: 1.1rem; }
.policy-content { max-width: 820px; margin: 0 auto; }
.policy-toc { background: #fff; padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; box-shadow: 0 6px 18px rgba(15,23,42,0.03); }
.policy-toc strong { display:block; margin-bottom:8px; color:var(--text-primary); }
.policy-toc ul { list-style: none; padding-left: 0; margin: 0; }
.policy-toc li { margin: 6px 0; }
.policy-toc a { color: var(--primary-color); text-decoration: none; }
.policy-toc a:hover { text-decoration: underline; }
.policy-callout { background: #fff9ef; border-left: 4px solid #ffb020; padding: 12px 14px; border-radius: 6px; margin: 12px 0; }
@media (min-width: 768px) {
  .ts-policy .policy-table .row { grid-template-columns: 1fr 1fr 2fr; align-items: start; }
}
.ts-policy p { font-size: 1.02rem; color: #333; }
.ts-policy .policy-section h2 { border-bottom: 1px solid #f0f0f2; padding-bottom: 8px; margin-bottom: 14px; }
.policy-table .row { padding: 14px 0; }
.policy-table .row.header { background: transparent; color: #222; }