/* The Insurance Guarantor — design system (TIG Site plugin) */
:root {
	--tig-navy: #0F2A4A;
	--tig-navy-dark: #0A1E36;
	--tig-gold: #E3A93B;
	--tig-gold-dark: #9A6514;
	--tig-cream: #F7F4EE;
	--tig-cream-2: #FBF3E2;
	--tig-ink: #1F2937;
	--tig-muted: #5B6472;
	--tig-line: #E5E0D5;
	--tig-wa: #1FA855;
	--tig-radius: 14px;
	--tig-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--tig-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tig-shadow: 0 1px 2px rgba(15, 42, 74, .06), 0 8px 24px rgba(15, 42, 74, .06);
}

/* ---------- Base ---------- */
body { font-family: var(--tig-sans); color: var(--tig-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .entry-title, .site-title { font-family: var(--tig-serif); color: var(--tig-navy); letter-spacing: -.01em; }
a { text-underline-offset: 3px; }
.tig-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tig-wrap--narrow { max-width: 860px; }
.tig-eyebrow { font: 700 13px/1.2 var(--tig-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--tig-gold-dark); margin: 0 0 12px; }
.tig-meta { font-size: 14px; color: var(--tig-muted); margin: 0; }
.tig-small { font-size: 13px; color: var(--tig-muted); margin: 8px 0 0; }
.tig-pill { display: inline-block; font: 600 12px/1 var(--tig-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--tig-gold-dark); background: var(--tig-cream-2); border-radius: 999px; padding: 7px 12px; text-decoration: none; }
.tig-pill:hover { background: var(--tig-gold); color: var(--tig-navy); }
.tig-link-more { font-weight: 600; color: var(--tig-navy); text-decoration: none; white-space: nowrap; }
.tig-link-more:hover { color: var(--tig-gold-dark); text-decoration: underline; }

/* ---------- Buttons ---------- */
.tig-btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--tig-sans); border-radius: 999px; padding: 14px 22px; border: 0; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.tig-btn:hover { transform: translateY(-1px); }
.tig-btn--gold { background: var(--tig-gold); color: var(--tig-navy); }
.tig-btn--gold:hover { background: #F0BB55; color: var(--tig-navy); }
.tig-btn--wa { background: var(--tig-wa); color: #fff; }
.tig-btn--wa:hover { background: #178E47; color: #fff; }
.tig-btn.is-soon { background: #E7EAEE; color: var(--tig-muted); cursor: default; transform: none; }
.tig-btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header (Astra) ---------- */
.site-header .ast-primary-header-bar, .site-header .ast-above-header-bar, .ast-main-header-wrap { border-bottom: 1px solid var(--tig-line); }
.site-title a, .site-title a:hover { color: var(--tig-navy) !important; font-family: var(--tig-serif); font-weight: 700; }
.custom-logo-link img { max-height: 44px; width: auto; }
.main-header-menu .menu-link { font: 600 15px/1 var(--tig-sans); color: var(--tig-navy); }
.main-header-menu .menu-item:hover > .menu-link, .main-header-menu .current-menu-item > .menu-link { color: var(--tig-gold-dark); }
.ast-builder-button-wrap .ast-custom-button { background: var(--tig-gold) !important; color: var(--tig-navy) !important; border-radius: 999px !important; font: 700 14px/1 var(--tig-sans) !important; padding: 12px 20px !important; border: 0 !important; }
.ast-builder-button-wrap .ast-custom-button:hover { background: #F0BB55 !important; }

/* ---------- Cards ---------- */
.tig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.tig-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tig-line); border-radius: var(--tig-radius); overflow: hidden; box-shadow: var(--tig-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.tig-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,42,74,.06), 0 16px 36px rgba(15,42,74,.10); }
.tig-card__media { display: block; aspect-ratio: 16 / 10; background: var(--tig-navy); overflow: hidden; }
.tig-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tig-card__ph { display: block; width: 100%; height: 100%; background: url("logo-mark.png") center / 64px auto no-repeat, radial-gradient(circle at 30% 20%, #1B3F6B, var(--tig-navy) 60%); }
.tig-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.tig-card__body .tig-pill { align-self: flex-start; }
.tig-card__title { font-size: 21px; line-height: 1.3; margin: 0; }
.tig-card__title a { color: var(--tig-navy); text-decoration: none; }
.tig-card__title a:hover { color: var(--tig-gold-dark); }
.tig-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--tig-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tig-card .tig-meta { margin-top: auto; padding-top: 6px; font-size: 13px; }
.tig-card--feature .tig-card__title { font-size: 28px; }
.tig-card--feature .tig-card__excerpt { -webkit-line-clamp: 4; font-size: 16px; }

/* ---------- Homepage: hero ---------- */
.tig-hero { background: radial-gradient(1200px 500px at 85% -10%, #1F4A7A 0%, transparent 60%), var(--tig-navy); color: #E8EEF6; padding: 72px 0 80px; }
.tig-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.tig-hero .tig-eyebrow { color: var(--tig-gold); }
.tig-hero__title { color: #fff; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.1; margin: 0 0 18px; }
.tig-hero__lead { font-size: 18px; line-height: 1.7; color: #C9D5E4; margin: 0 0 28px; max-width: 34em; }
.tig-hero__label { font: 600 13px/1 var(--tig-sans); letter-spacing: .1em; text-transform: uppercase; color: #9FB3CB; margin: 0 0 12px; }
.tig-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tig-path { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--tig-radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.tig-path strong { font-family: var(--tig-serif); font-size: 19px; color: #fff; }
.tig-path span { font-size: 14px; color: var(--tig-gold); font-weight: 600; }
.tig-path:hover { background: rgba(255,255,255,.12); border-color: var(--tig-gold); color: #fff; }
.tig-hero .tig-card { border-color: transparent; }

/* ---------- Sections ---------- */
.tig-section { padding: 64px 0; }
.tig-section--cream { background: var(--tig-cream); }
.tig-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.tig-section__title { font-size: clamp(26px, 3vw, 34px); margin: 0; }
.tig-section__intro { color: var(--tig-muted); margin: 8px 0 0; font-size: 16px; }

/* ---------- Topics ---------- */
.tig-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tig-topic { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--tig-line); border-left: 4px solid var(--tig-gold); border-radius: 12px; text-decoration: none; color: var(--tig-ink); transition: box-shadow .15s ease, transform .15s ease; }
.tig-topic:hover { box-shadow: var(--tig-shadow); transform: translateY(-2px); color: var(--tig-ink); }
.tig-topic__name { font: 700 19px/1.25 var(--tig-serif); color: var(--tig-navy); }
.tig-topic__desc { font-size: 14px; line-height: 1.55; color: var(--tig-muted); }
.tig-topic__count { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--tig-gold-dark); }

/* ---------- Author box ---------- */
.tig-author { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; background: var(--tig-cream); border-radius: var(--tig-radius); padding: 28px; margin: 40px 0 0; }
.tig-author__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; }
.tig-author__initials { display: grid; place-items: center; background: var(--tig-navy); color: var(--tig-gold); font: 700 32px/1 var(--tig-serif); }
.tig-author .tig-eyebrow { margin-bottom: 6px; }
.tig-author__name { font: 700 22px/1.2 var(--tig-serif); color: var(--tig-navy); margin: 0; }
.tig-author__role { font-size: 14px; font-weight: 600; color: var(--tig-gold-dark); margin: 4px 0 10px; }
.tig-author__bio { font-size: 15px; line-height: 1.65; margin: 0 0 10px; }

/* ---------- Forms ---------- */
.tig-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.tig-form input[type=email] { flex: 1 1 240px; min-height: 50px; border-radius: 999px; border: 1px solid var(--tig-line); padding: 0 20px; font-size: 16px; background: #fff; }

/* ---------- In-post subscribe ---------- */
.tig-post-sub { margin: 48px 0 0; padding: 28px; border-radius: var(--tig-radius); background: var(--tig-navy); color: #DCE5F0; }
.tig-post-sub__title { font: 700 24px/1.2 var(--tig-serif); color: #fff; margin: 0 0 6px; }
.tig-post-sub p { margin: 0; }
.tig-post-sub .tig-small { color: #9FB3CB; }
.tig-post-sub__wa { margin-top: 14px; }

/* ---------- Site-wide band above footer ---------- */
.tig-band { background: var(--tig-navy-dark); color: #C9D5E4; padding: 64px 0; }
.tig-band__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.tig-band .tig-eyebrow { color: var(--tig-gold); }
.tig-band__title { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 10px; }
.tig-band p { margin: 0; }
.tig-band .tig-small { color: #8EA3BD; }
.tig-band__wa { margin-top: 16px; }
.tig-band__h { font: 700 13px/1 var(--tig-sans) !important; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 8px 0 16px !important; }
.tig-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tig-band a { color: #C9D5E4; text-decoration: none; }
.tig-band a:hover { color: var(--tig-gold); }
.tig-band .tig-btn--wa, .tig-band .tig-btn--wa:hover { color: #fff; }
.site-footer, .site-footer .site-below-footer-wrap, .site-footer .site-primary-footer-wrap { background: #071628 !important; color: #8EA3BD; border-top: 0 !important; }
.site-footer a { color: #C9D5E4; }

/* ---------- Single posts ---------- */
.single-post .tig-post-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.single-post .entry-title { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.15; }
.single-post .entry-content { font-size: 18px; line-height: 1.75; }
.single-post .entry-content p { margin-bottom: 1.25em; }
.single-post .entry-content h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.single-post .entry-content h3 { font-size: 24px; margin: 1.4em 0 .5em; }
.single-post .entry-content blockquote { border-left: 4px solid var(--tig-gold); background: var(--tig-cream); padding: 18px 22px; font-family: var(--tig-serif); font-size: 21px; }
.single-post .entry-content a { color: var(--tig-navy); text-decoration: underline; text-decoration-color: var(--tig-gold); text-decoration-thickness: 2px; }
.single-post .post-thumb img, .single-post .ast-single-post-featured-section img { border-radius: var(--tig-radius); }
/* Elementor-built posts: let the theme typography show through */
.single-post .elementor-widget-text-editor { color: var(--tig-ink); font-family: var(--tig-sans); }

/* ---------- Archives ---------- */
.archive .ast-archive-description, .blog .ast-archive-description { background: var(--tig-cream); border-radius: var(--tig-radius); padding: 36px; }
.archive .ast-archive-title { font-size: clamp(30px, 4vw, 44px); }

/* ---------- Ad slot ---------- */
.tig-ad { margin: 32px 0; padding: 12px; border: 1px dashed var(--tig-line); border-radius: 10px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.tig-hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.tig-band__grid { grid-template-columns: 1fr 1fr; }
	.tig-band__sub { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.tig-wrap { padding: 0 16px; }
	.tig-hero { padding: 48px 0 56px; }
	.tig-paths { grid-template-columns: 1fr; }
	.tig-section { padding: 44px 0; }
	.tig-section__head { flex-direction: column; align-items: flex-start; }
	.tig-grid { grid-template-columns: 1fr; gap: 20px; }
	.tig-author { grid-template-columns: 1fr; padding: 22px; }
	.tig-band__grid { grid-template-columns: 1fr; gap: 32px; }
	.tig-card--feature .tig-card__title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
	.tig-card, .tig-btn, .tig-topic, .tig-path { transition: none; }
	.tig-card:hover, .tig-btn:hover, .tig-topic:hover { transform: none; }
}
