:root {
  --tcs-primary: #FF5A24;
  --tcs-primary-dark: #e94712;
  --tcs-ink: #0b2940;
  --tcs-muted: #647184;
  --tcs-line: #e8e1d6;
  --tcs-cream: #fbf8f1;
  --tcs-white: #ffffff;
  --tcs-radius: 18px;
}

.tcs-blog-archive,
.tcs-blog-card,
.tcs-single-page,
.tcs-quote-card { box-sizing: border-box; }
.tcs-blog-card *, .tcs-single-page *, .tcs-quote-card * { box-sizing: border-box; }

.tcs-blog-archive { display: grid; gap: 54px; width: 100%; max-width: 1280px; margin: 0 auto; }
.tcs-blog-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .9fr);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 22px;
  background: var(--tcs-cream);
  box-shadow: 22px 22px 0 var(--tcs-ink);
  overflow: hidden;
}
.tcs-card-media { display: block; min-height: 390px; overflow: hidden; background: #e9e6df; }
.tcs-card-image { display: block; width: 100%; height: 100% !important; min-height: 390px; object-fit: cover; transition: transform .45s ease; }
.tcs-card-media:hover .tcs-card-image { transform: scale(1.025); }
.tcs-card-placeholder { width: 100%; min-height: 390px; background: linear-gradient(135deg, #f5eee5, #ddd4c7); }
.tcs-card-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 62px); }
.tcs-card-crumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 30px; color: var(--tcs-primary); font-size: 16px; line-height: 1.4; }
.tcs-card-crumbs i { font-style: normal; opacity: .65; }
.tcs-card-title { margin: 0 0 24px; color: var(--tcs-ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(30px, 3vw, 47px); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.tcs-card-title a { color: inherit; text-decoration: none; }
.tcs-card-meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 25px; color: #45566a; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.tcs-button { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 55px; padding: 13px 24px; border-radius: 999px; background: var(--tcs-primary); color: var(--tcs-white) !important; font-size: 17px; font-weight: 700; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.tcs-button:hover { background: var(--tcs-primary-dark); transform: translateY(-2px); }
.tcs-empty { padding: 24px; border-left: 4px solid var(--tcs-primary); background: var(--tcs-cream); }

.tcs-pagination { margin: 8px 0 20px; }
.tcs-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tcs-pagination a, .tcs-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--tcs-line); border-radius: 50px; color: var(--tcs-ink); text-decoration: none; }
.tcs-pagination .current, .tcs-pagination a:hover { border-color: var(--tcs-primary); background: var(--tcs-primary); color: #fff; }

.tcs-single-page { padding: clamp(45px, 6vw, 90px) 20px; background: #fffdf8; color: var(--tcs-ink); }
.tcs-single-container { width: min(1280px, 100%); margin: 0 auto; }
.tcs-single-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(390px, .85fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.tcs-single-article { min-width: 0; }
.tcs-single-featured { margin: 0 0 18px; overflow: hidden; }
.tcs-single-featured img { display: block; width: 100%; height: auto !important; max-width: 100%; }
.tcs-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 20px; color: var(--tcs-ink); font-size: 15px; line-height: 1.5; }
.tcs-breadcrumbs a { color: var(--tcs-primary); text-decoration: none; font-weight: 600; }
.tcs-breadcrumbs .current { overflow: hidden; max-width: 68ch; text-overflow: ellipsis; white-space: nowrap; }
.tcs-single-header h1 { margin: 0 0 14px; color: var(--tcs-ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 4.6vw, 68px); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; }
.tcs-single-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; color: var(--tcs-muted); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tcs-entry-content { color: #26394a; font-size: 17px; line-height: 1.8; }
.tcs-entry-content > *:first-child { margin-top: 0; }
.tcs-entry-content h2, .tcs-entry-content h3, .tcs-entry-content h4 { color: var(--tcs-ink); font-family: Georgia, 'Times New Roman', serif; line-height: 1.15; }
.tcs-entry-content h2 { margin: 40px 0 16px; font-size: clamp(30px, 3vw, 44px); }
.tcs-entry-content h3 { margin: 32px 0 14px; font-size: clamp(25px, 2.4vw, 34px); }
.tcs-entry-content a { color: var(--tcs-primary); }
.tcs-entry-content img { max-width: 100%; height: auto; }
.tcs-entry-content blockquote { margin: 30px 0; padding: 18px 24px; border-left: 4px solid var(--tcs-primary); background: var(--tcs-cream); }
.tcs-single-sidebar { position: relative; min-width: 0; align-self: stretch; }
.tcs-single-sidebar > .tcs-quote-card { position: sticky; top: 24px; width: 100%; }

.tcs-quote-card { padding: 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; background: linear-gradient(145deg, #173447 0%, #0a2030 100%); box-shadow: 0 18px 45px rgba(4, 28, 43, .16); color: #fff; }
.tcs-quote-heading { display: flex; gap: 11px; align-items: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.16); }
.tcs-quote-heading h2 { margin: 0 0 2px; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: 27px; line-height: 1.05; }
.tcs-quote-heading p { margin: 0; color: rgba(255,255,255,.75); font-size: 11px; line-height: 1.35; }
.tcs-quote-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; background: rgba(255,90,36,.18); }
.tcs-quote-icon svg { width: 21px; fill: none; stroke: var(--tcs-primary); stroke-width: 2; }
.tcs-form-notice { padding: 9px 11px; margin: 0 0 10px; border-radius: 8px; font-size: 12px; }
.tcs-form-notice.is-success { background: #d9f8e4; color: #12582a; }
.tcs-form-notice.is-error { background: #ffe2dc; color: #852810; }
.tcs-step-row { display: flex; gap: 8px; justify-content: space-between; margin: 0 0 12px; color: #fff; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.tcs-step-row span { display: flex; align-items: center; gap: 5px; flex: 1; }
.tcs-step-row span:not(:last-child)::after { content: ''; flex: 1; height: 1px; margin-left: 5px; background: rgba(255,255,255,.35); }
.tcs-step-row b { display: grid; place-items: center; flex: 0 0 21px; width: 21px; height: 21px; border-radius: 50%; background: var(--tcs-primary); color: #fff; box-shadow: 0 0 0 3px rgba(255,90,36,.13); }
.tcs-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tcs-form-grid label, .tcs-form-grid legend { display: block; color: rgba(255,255,255,.88); font-size: 9px; font-style: normal; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.tcs-form-grid em { color: var(--tcs-primary); font-style: normal; }
.tcs-form-grid input, .tcs-form-grid textarea { width: 100%; min-height: 37px; padding: 7px 9px; margin-top: 3px; border: 1px solid transparent; border-radius: 7px; outline: none; background: rgba(255,255,255,.96); color: #1f3445; font: inherit; font-size: 12px; text-transform: none; transition: border-color .2s ease, box-shadow .2s ease; }
.tcs-form-grid textarea { min-height: 56px; resize: vertical; }
.tcs-form-grid input:focus, .tcs-form-grid textarea:focus { border-color: var(--tcs-primary); box-shadow: 0 0 0 3px rgba(255,90,36,.18); }
.tcs-form-grid fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.tcs-full { grid-column: 1 / -1; }
.tcs-option-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tcs-choice { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3px; overflow: hidden; border-radius: 7px; background: #fff; }
.tcs-choice label { margin: 0; cursor: pointer; }
.tcs-choice input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.tcs-choice span { display: grid; place-items: center; min-height: 37px; padding: 5px 3px; color: var(--tcs-ink); font-size: 8.5px; white-space: nowrap; }
.tcs-choice input:checked + span { border-radius: 7px; background: var(--tcs-primary); color: #fff; }
.tcs-consent { display: flex; gap: 7px; align-items: flex-start; margin-top: 8px; color: rgba(255,255,255,.78); font-size: 8.5px; font-weight: 600; line-height: 1.35; letter-spacing: .035em; text-transform: uppercase; cursor: pointer; }
.tcs-consent input { flex: 0 0 15px; width: 15px; height: 15px; margin: 0; accent-color: var(--tcs-primary); }
.tcs-submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 43px; padding: 9px 14px; margin-top: 11px; border: 0; border-radius: 8px; background: var(--tcs-primary); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.tcs-submit:hover { background: var(--tcs-primary-dark); transform: translateY(-1px); }
.tcs-submit span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.2); }
.tcs-secure { margin: 7px 0 0; color: rgba(255,255,255,.66); font-size: 9px; text-align: center; }
.tcs-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

@media (max-width: 1100px) {
  .tcs-blog-card { grid-template-columns: 1.25fr 1fr; box-shadow: 14px 14px 0 var(--tcs-ink); }
  .tcs-card-media, .tcs-card-image, .tcs-card-placeholder { min-height: 340px; }
  .tcs-single-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; }
}

@media (max-width: 820px) {
  .tcs-blog-card { grid-template-columns: 1fr; margin-bottom: 14px; box-shadow: 10px 10px 0 var(--tcs-ink); }
  .tcs-card-media, .tcs-card-image, .tcs-card-placeholder { min-height: 0; aspect-ratio: 16 / 9; }
  .tcs-card-content { padding: 30px 24px 34px; }
  .tcs-card-crumbs { margin-bottom: 17px; }
  .tcs-card-title { font-size: clamp(28px, 8vw, 38px); }
  .tcs-single-grid { grid-template-columns: 1fr; }
  .tcs-single-sidebar { position: static; }
  .tcs-single-sidebar > .tcs-quote-card { position: static; }
  .tcs-form-grid { grid-template-columns: 1fr 1fr; }
  .tcs-full { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .tcs-single-page { padding: 32px 14px 48px; }
  .tcs-breadcrumbs .current { max-width: 20ch; }
  .tcs-single-header h1 { font-size: 35px; }
  .tcs-entry-content { font-size: 16px; }
  .tcs-quote-card { padding: 16px; border-radius: 14px; }
  .tcs-quote-heading { align-items: flex-start; }
  .tcs-quote-icon { flex-basis: 44px; width: 44px; height: 44px; }
  .tcs-form-grid { grid-template-columns: 1fr; }
  .tcs-full { grid-column: auto; }
  .tcs-step-row { gap: 6px; }
  .tcs-step-row span:not(:last-child)::after { display: none; }
}
