@charset "UTF-8";
/* ==========================================================================
   Bảo hiểm — phần bổ sung của ndh_auto (không có trong theme WordPress)
   ==========================================================================

   Thẻ "Hồ sơ công ty bảo hiểm" (trang /cong-ty-bao-hiem/<slug>/) và các khối
   "Điều khoản loại trừ", "Mua và huỷ hợp đồng", "Quy trình bồi thường" trên
   trang sản phẩm. Chỉ nạp khi trang có một trong các khối này
   (src/lib/ndh/insurance/profile.ts). Dùng lại lớp sẵn có của theme
   (termgrid/termbox, cmp__table, doclist, bonuslist, refinfo__h3, verified,
   ihero__kicker, pc__mark) — tệp này chỉ thêm phần còn thiếu; màu lấy từ
   biến của tokens.css / lender.css.
   -------------------------------------------------------------------------- */

/* --- Thẻ hồ sơ công ty ---------------------------------------------------- */
.insco { padding-block: clamp(22px, 3vw, 34px) 0; }
.insco + .section-g { padding-top: clamp(26px, 3.4vw, 40px); }
.insco__card {
	display: grid; gap: 20px;
	padding: clamp(18px, 2.4vw, 28px);
	background: #fff;
	border: 1px solid var(--edge);
	border-radius: 20px;
	box-shadow: 0 18px 40px -30px rgba(31, 31, 31, .45);
}
.insco__head { display: flex; align-items: center; gap: 18px; min-width: 0; }
.insco__id { flex: 1; min-width: 0; }
.insco__logo {
	display: grid; place-items: center; flex: none;
	width: 92px; height: 92px; padding: 10px;
	background: #fff;
	border: 1px solid var(--edge);
	border-radius: 18px;
	overflow: hidden;
}
.insco__logo img, .insco__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.insco__logo--mono {
	padding: 0; border: 0;
	background: var(--ins-accent, var(--purple)); color: #fff;
	font-size: 26px; font-weight: 700; letter-spacing: .5px;
}
.insco__name { margin-top: 10px; font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.3; color: var(--purple); overflow-wrap: anywhere; }
.insco__sub { margin-top: 4px; font-size: 14px; color: var(--gray); }
.insco__id .verified { margin-top: 10px; line-height: 1.45; }
.insco__socials { display: flex; gap: 8px; align-self: flex-start; }
.insco__social {
	display: grid; place-items: center;
	width: 38px; height: 38px;
	border: 1px solid var(--edge); border-radius: 50%;
	color: var(--purple);
	transition: background-color .2s, color .2s, border-color .2s;
}
.insco__social .ico { width: 18px; height: 18px; }
.insco__social:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.insco .termgrid { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); }
.insco .termbox dd { font-size: 15px; overflow-wrap: anywhere; }

.insco__contact {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 18px;
	margin: 0; padding: 18px 0 0; list-style: none;
	border-top: 1px solid var(--edge);
}
.insco__contact li {
	display: grid; grid-template-columns: 20px 1fr; column-gap: 9px; align-items: center;
	min-width: 0; font-size: 14.5px; color: var(--gray);
}
.insco__contact li > span { font-size: 11.5px; letter-spacing: .4px; text-transform: uppercase; color: var(--gray-2); }
.insco__contact li > a, .insco__contact li > b { grid-column: 2; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.insco__contact li > a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.insco__contact .ico { grid-row: span 2; width: 18px; height: 18px; color: var(--green); }
.insco__contact .insco__claim > a { color: var(--c-warm-700); font-size: 16px; }
.insco__contact .insco__claim .ico { color: var(--c-warm-700); }
.insco__addr { grid-column: 1 / -1; }

.insco__boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.insco__box { min-width: 0; padding: 4px 18px 18px; background: #FAF9F7; border: 1px solid var(--edge); border-radius: 16px; }
.insco__box .refinfo__h3 { margin: 14px 0 12px; font-size: 15.5px; }
.insco__box .bonuslist { grid-template-columns: 1fr; gap: 8px; }
.insco__box .bonusrow { padding: 10px 14px; gap: 3px; }
.insco__box .bonusrow__val { font-size: 14.5px; }

/* --- Chip + danh sách gọn (dùng chung hai trang) -------------------------- */
.insx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.insx-chip {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 7px 13px;
	background: #fff;
	border: 1px solid var(--purple-100, var(--edge));
	border-radius: var(--r-pill, 999px);
	font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35;
}
.insx-chip .ico { width: 16px; height: 16px; flex: none; color: var(--green); }
.insx-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.insx-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; line-height: 1.55; color: var(--gray); }
.insx-list .ico { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--green); }
.insx-list--cols { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); column-gap: 14px; }

/* --- Trang sản phẩm: loại trừ, mua & huỷ, bồi thường --------------------- */
.ins-page .insx-table th[scope="row"] { font-weight: 600; color: var(--ink); text-align: left; }
.insx-table .insx-table__n { width: 44px; text-align: center; font-variant-numeric: tabular-nums; color: var(--gray-2); }
.insx-table td:last-child { color: var(--gray); }

.insx-card { padding: 4px 20px 20px; background: #fff; border: 1px solid var(--edge); border-radius: 16px; }
.insx-card .refinfo__h3 { margin-top: 16px; }
.insx-card--soft { background: #FAF9F7; }
.insx-card__cta { margin-top: 16px; }
.insx-card__cta .btn-apply { width: auto; max-width: 100%; white-space: nowrap; }
.insx-card__cta .btn-apply .ico { width: 16px; height: 16px; }
.insx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.insx-big { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.insx-muted { margin-top: 8px; font-size: 13.5px; color: var(--gray); line-height: 1.6; }

.insx-facts { margin: 0 0 6px; }
.insx-facts dd a { color: var(--c-warm-700); }
.insx-facts dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.insx-prose { margin-top: 18px; }
.insx-prose ol, .insx-prose ul { padding-left: 22px; }
.insx-prose ol { list-style: decimal; }
.insx-prose ul { list-style: disc; }
.insx-prose li + li { margin-top: 6px; }
.insx-note { font-style: normal; font-size: 13px; color: var(--gray-2); }
.insx-note::before { content: "· "; }
.insx-rules { margin-top: 16px; }
.insx-buy .ico, .insx-rules .ico { width: 17px; height: 17px; }

@media (max-width: 640px) {
	.insco__head { flex-wrap: wrap; align-items: flex-start; gap: 12px 14px; }
	.insco__logo { width: 64px; height: 64px; padding: 7px; border-radius: 14px; }
	.insco__socials { margin-left: auto; }
	.insco__id { order: 3; flex: 1 1 100%; }
	.insco__name { margin-top: 8px; }
	.insco__id .verified { border-radius: 12px; align-items: flex-start; }
	.insco__id .verified .ico { margin-top: 2px; }
	.insco .termgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.insco .termbox { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
	.insco .termbox__icon { width: 32px; height: 32px; border-radius: 9px; }
	.insco .termbox dd { font-size: 14px; }
	.insco__contact { grid-template-columns: 1fr; }
	.insx-card { padding: 2px 16px 16px; }
	.insx-card__cta .btn-apply { width: 100%; white-space: normal; }
}
