/* Section-builder pages (template "page-builder") and editor styles (tz-btn, tz-lead).
   Built on the theme's look: Poppins, uppercase centred headings with the blue→green bar,
   pill buttons with the blue→green gradient. */

.tz-page { width: 100%; float: inline-start; }
.tz-slot { width: 100%; float: inline-start; }
.tz-section { width: 100%; float: inline-start; padding: 80px 0; position: relative; }
.tz-section.tz-compact { padding: 40px 0; }
.tz-bg-white { background: #fff; }
.tz-bg-light { background: #f4f7fb; }
.tz-bg-gradient { background: linear-gradient(145deg, rgba(207,214,233,1) 0%, rgba(241,249,238,1) 50%, rgba(255,255,255,1) 100%); }
.tz-bg-dark { background: #0b2f59; color: #fff; }
.tz-bg-dark .heading, .tz-bg-dark h2, .tz-bg-dark h3 { color: #fff; }

/* headings (the theme floats .caption; here it must not, or the flex/grid content beside it collapses) */
.tz-section .tz-caption { float: none; width: auto; margin-bottom: 40px; }
.tz-section > .wrapper::after { content: ""; display: table; clear: both; }
.tz-caption.tz-align-left { text-align: start; padding: 0; }
.tz-caption.tz-align-left .heading::after { left: 0; }
.tz-sub { font-size: 18px; line-height: 30px; margin: 0; }
.tz-h2 { font-size: 36px; line-height: 44px; font-weight: 700; margin: 0 0 20px; }

/* rich text */
.tz-richtext { font-size: 17px; line-height: 30px; }
.tz-richtext.tz-align-center { text-align: center; max-width: 900px; margin: 0 auto; }
.tz-richtext.tz-align-center ul, .tz-richtext.tz-align-center ol { display: inline-block; text-align: start; }
.tz-richtext img { max-width: 100%; height: auto; }
.tz-richtext table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.tz-richtext td, .tz-richtext th { border: 1px solid #dfe5ee; padding: 10px 12px; text-align: start; }
.tz-richtext blockquote { border-inline-start: 5px solid #88c641; margin: 20px 0; padding: 10px 20px; background: #f4f7fb; font-style: italic; }
.tz-actions { margin-top: 10px; }
.tz-actions.tz-align-center { text-align: center; }

/* buttons (also available in the content editor as the "Button link" style) */
a.tz-btn, .tz-btn { display: inline-block; color: #fff !important; margin: 20px 0 0; letter-spacing: 1px; border-radius: 50px; padding: 12px 28px; text-decoration: none; font-weight: 600; background: linear-gradient(90deg, rgba(59,103,160,1) 0%, rgba(136,198,65,1) 100%); transition: background .2s; }
a.tz-btn:hover { background: #3b67a0; }
a.tz-btn.tz-btn-light { background: #fff; color: #0b2f59 !important; }
a.tz-btn.tz-btn-light:hover { background: #0b2f59; color: #fff !important; }
p.tz-lead { font-size: 21px; line-height: 34px; }

/* banner */
.tz-banner-sub { font-size: 20px; line-height: 30px; margin: 10px 0 0; max-width: 560px; }

/* text + image */
.tz-split { display: flex; gap: 60px; align-items: center; }
.tz-split.tz-image-left { flex-direction: row-reverse; }
.tz-split-text, .tz-split-media { flex: 1 1 0; min-width: 0; }
.tz-split-media img { width: 100%; height: auto; display: block; border-radius: 6px; }

/* cards */
.tz-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.tz-cards.tz-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tz-cards.tz-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tz-cards.tz-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tz-cards li { background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.tz-cards li > a { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.tz-cards li:hover { box-shadow: 0 10px 30px rgba(11,47,89,.12); transform: translateY(-2px); }
.tz-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.tz-card-body { padding: 22px 24px 26px; flex: 1; }
.tz-card-body h3 { font-size: 21px; line-height: 28px; margin: 0 0 10px; }
.tz-card-body p { margin: 0; font-size: 16px; line-height: 26px; color: #444; }
.tz-card-more { display: inline-block; margin-top: 14px; font-weight: 600; color: #3b67a0; }

/* stats */
.tz-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.tz-stats li { flex: 1 1 200px; max-width: 280px; text-align: center; padding: 20px; }
.tz-stats strong { display: block; font-size: 52px; line-height: 60px; font-weight: 700; background: linear-gradient(90deg, #3b67a0, #88c641); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tz-stats span { display: block; font-size: 17px; margin-top: 6px; }

/* call to action */
.tz-s-cta .tz-cta-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.tz-s-cta h2 { font-size: 40px; line-height: 48px; font-weight: 700; margin: 0 0 16px; text-transform: uppercase; }
.tz-s-cta p { font-size: 19px; line-height: 30px; margin: 0; }
.tz-s-cta.tz-bg-gradient { background: linear-gradient(90deg, rgba(59,103,160,1) 0%, rgba(136,198,65,1) 100%); color: #fff; }
.tz-s-cta.tz-bg-gradient h2 { color: #fff; }

/* FAQ */
.tz-faq { max-width: 960px; margin: 0 auto; }
.tz-faq details { border-bottom: 1px solid #dfe5ee; padding: 6px 0; }
.tz-faq summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; padding: 16px 40px 16px 0; position: relative; }
.tz-faq summary::-webkit-details-marker { display: none; }
.tz-faq summary::after { content: "+"; position: absolute; inset-inline-end: 6px; top: 12px; font-size: 26px; font-weight: 400; color: #3b67a0; }
.tz-faq details[open] summary::after { content: "–"; }
.tz-faq .tz-richtext { padding: 0 0 16px; }

/* form */
.tz-form { max-width: 820px; margin: 0 auto; }
.tz-form.tz-form-with-image { max-width: none; display: flex; gap: 60px; align-items: center; }
.tz-form-media, .tz-form-with-image .tz-form-box { flex: 1 1 0; min-width: 0; }
.tz-form-media img { width: 100%; height: auto; display: block; border-radius: 6px; }

/* video */
.tz-video { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; }
.tz-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }

@media (max-width: 1023px) {
  .tz-section { padding: 56px 0; }
  .tz-cards.tz-cols-3, .tz-cards.tz-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tz-split, .tz-form.tz-form-with-image { gap: 36px; }
}
@media (max-width: 767px) {
  .tz-section { padding: 44px 0; }
  .tz-section > .wrapper { padding-inline: 16px; }
  .tz-cards.tz-cols-2, .tz-cards.tz-cols-3, .tz-cards.tz-cols-4 { grid-template-columns: 1fr; }
  .tz-split, .tz-split.tz-image-left, .tz-form.tz-form-with-image { flex-direction: column; }
  .tz-h2, .tz-s-cta h2 { font-size: 28px; line-height: 36px; }
  .tz-stats strong { font-size: 40px; line-height: 48px; }
}
