/* iStar · Blog and article reading, scoped to the shared inner-page theme. */
.istar-blog, .istar-article { padding-top: var(--header-height); background: var(--istar-ink); }
.istar-blog .container, .istar-article .container { max-width: 1200px; padding-inline: clamp(20px, 4vw, 36px); }
.istar-blog h1, .istar-blog h2, .istar-blog h3, .istar-article h1, .istar-article h2, .istar-article h3 { font-weight: 300; text-wrap: balance; }
.istar-blog p, .istar-article p { text-wrap: pretty; }
.istar-blog a:focus-visible, .istar-article a:focus-visible, .istar-article button:focus-visible { outline: 3px solid #f1a836; outline-offset: 5px; }
.istar-blog [id], .istar-article [id] { scroll-margin-top: calc(var(--header-height) + 24px); }
.istar-blog-intro-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.istar-blog-intro h1 { margin-bottom: 0; }
.istar-blog-posts { padding-top: clamp(36px, 5vw, 60px); }
.istar-blog-featured { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--istar-line); border-radius: var(--istar-radius); background: #0d243b; }
.istar-blog-featured-media { position: relative; display: block; min-width: 0; min-height: 0; aspect-ratio: 2.24; background: #0b1c2d; }
.istar-blog-featured-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.istar-blog-featured-media:focus-visible { outline-offset: -5px; }
.istar-blog-featured-badge { position: absolute; top: 20px; left: 20px; right: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(241,168,54,.4); border-radius: 9px; background: rgba(8,24,40,.92); color: #f1a836; font-size: .875rem; font-weight: 600; }
.istar-blog-featured-badge .istar-icon { font-size: 22px; }
.istar-blog-featured-copy { align-self: center; min-width: 0; padding: clamp(26px, 3.2vw, 40px); }
.istar-blog-featured-copy h2 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1.12; margin-block: 17px; }
.istar-blog-featured-copy h2 a { color: #fff; }
.istar-blog-featured-copy h2 a:hover { color: #f1a836; }
.istar-blog-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #aac2d5; font-size: .875rem; line-height: 1.45; }
.istar-blog-meta > span + span { border-left: 1px solid #436078; padding-left: 14px; }
.istar-blog-featured-copy > .istar-blog-meta { margin-top: 12px; }
.istar-blog-excerpt { color: #c9d9e6; font-size: 1.0625rem; line-height: 1.6; }
.istar-blog-featured-copy > .istar-button { margin-top: 26px; }
.istar-blog-section-heading { margin-top: var(--istar-space); }
.istar-blog-section-heading > p { max-width: 465px; }
.istar-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 26px; }
.istar-blog-card { min-width: 0; border: 1px solid var(--istar-line); border-radius: var(--istar-radius); background: #0d243b; transition: border-color .2s, transform .2s; }
.istar-blog-card:hover { border-color: rgba(241,168,54,.55); transform: translateY(-3px); }
.istar-blog-card-link { display: flex; flex-direction: column; height: 100%; border-radius: inherit; color: inherit; }
.istar-blog-card-media { position: relative; flex: 0 0 auto; aspect-ratio: 2.24; width: 100%; margin: 0; overflow: hidden; border-radius: 15px 15px 0 0; background: #0b1c2d; }
.istar-blog-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.istar-blog-card-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 24px; }
.istar-blog-card-copy .istar-kicker { font-size: .875rem; }
.istar-blog-card-copy h3 { font-size: 1.55rem; line-height: 1.2; margin-block: 13px 15px; }
.istar-blog-card-copy > .istar-blog-meta { margin-bottom: 17px; }
.istar-blog-card-copy > .istar-blog-excerpt { font-size: 1rem; padding-bottom: 24px; }
.istar-blog-read-more { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--istar-line); color: #f1a836; font-size: 1rem; font-weight: 600; }
.istar-blog-read-more .istar-icon { font-size: 22px; }
.istar-article-hero { padding-top: 24px; }
.istar-article-breadcrumb { position: relative; margin-bottom: 26px; }
.istar-article-breadcrumb .istar-text-link { color: #aec8dd; }
.istar-article-breadcrumb .istar-text-link:hover { color: #f1a836; }
.istar-article .istar-inner-hero-copy h1 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.08; }
.istar-article .istar-lead { font-size: 1.0625rem; }
.istar-article .istar-article-cover { aspect-ratio: 2.24; background: #0b1c2d; }
.istar-article-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.istar-article-cover > img.is-savings { object-position: center; }
.istar-article-cover::after { display: none; }
.istar-article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: #b9cede; font-size: .9375rem; line-height: 1.5; }
.istar-article-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.istar-article-meta .istar-icon { font-size: 21px; color: #f1a836; }
.istar-article-reading { padding-block: clamp(36px, 5vw, 60px) var(--istar-space); }
.istar-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 32px; }
.istar-article-content { min-width: 0; padding: clamp(26px, 3.2vw, 40px); background: #f2f5f8; border: 1px solid #e0e8ef; border-radius: var(--istar-radius); color: #2b465c; }
.istar-article-prose { max-width: 68ch; margin-inline: auto; }
.istar-article-prose p { font-size: 1.125rem; line-height: 1.75; margin-bottom: 22px; }
.istar-article-prose > :last-child { margin-bottom: 0; }
.istar-article-prose h2 { margin: 36px 0 16px; color: #124072; font-size: clamp(1.65rem, 2.2vw, 2rem); line-height: 1.15; }
.istar-article-prose h2:first-child { margin-top: 0; }
.istar-article-prose strong { color: #153750; font-weight: 700; }
.istar-article-prose .article-list { gap: 10px; margin-block: 18px 26px; }
.istar-article-prose .article-list li { color: #2b465c; font-size: 1.125rem; line-height: 1.65; padding-left: 26px; }
.istar-article-prose .article-list li::before { color: #85540a; }
.istar-article-consult { margin-top: 40px; padding-top: 28px; border-top: 1px solid #c6d4df; }
.istar-article-consult .istar-kicker { color: #85540a; }
.istar-article-consult h2 { color: #124072; font-size: 1.8rem; line-height: 1.15; margin-block: 12px 16px; }
.istar-article-consult > p:not(.istar-kicker) { color: #40586c; font-size: 1.0625rem; line-height: 1.6; }
.istar-article-consult > .istar-button { margin-top: 22px; }
.istar-article-sidebar { display: grid; gap: 22px; min-width: 0; }
.istar-article-sidebar-card { min-width: 0; padding: 25px; border: 1px solid var(--istar-line); border-radius: var(--istar-radius); background: #0d243b; }
.istar-article-sidebar-card h2 { font-size: 1.6rem; margin-block: 12px 20px; line-height: 1.15; }
.istar-article-sidebar-card > .istar-kicker { font-size: .875rem; }
.istar-article-topic-list { display: grid; }
.istar-article-topic-list a { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; padding-block: 14px; border-bottom: 1px solid var(--istar-line); color: #cfdeea; font-size: 1rem; line-height: 1.45; }
.istar-article-topic-list a:first-child { padding-top: 0; }
.istar-article-topic-list a:last-child { border-bottom: 0; padding-bottom: 0; }
.istar-article-topic-list a > .istar-icon { flex: 0 0 auto; font-size: 20px; color: #f1a836; }
.istar-article-topic-list a:hover { color: #f1a836; }
.istar-article-calculator { background: #102d49; }
.istar-article-calculator-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(241,168,54,.3); border-radius: 10px; background: #153a57; color: #f1a836; }
.istar-article-calculator-icon .istar-icon { font-size: 29px; }
.istar-article-calculator p { color: #bfd1e0; font-size: 1rem; line-height: 1.6; }
.istar-article-calculator .istar-button { width: 100%; margin-top: 22px; padding-inline: 14px; cursor: pointer; font-family: inherit; }
@media (max-width: 1000px) {
  .istar-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .istar-article-layout { grid-template-columns: minmax(0, 1fr); }
  .istar-article-sidebar { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 760px) {
  .istar-blog .container, .istar-article .container { padding-inline: 22px; }
  .istar-blog-intro-grid, .istar-blog-featured { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .istar-blog-intro-grid { gap: 18px; }
  .istar-blog-featured-media { aspect-ratio: 2.24; }
  .istar-blog-featured-copy { padding: 26px; }
  .istar-blog-featured-badge { top: 14px; left: 14px; }
  .istar-blog-section-heading > p { max-width: none; }
  .istar-blog-card-copy { padding: 22px; }
  .istar-article-hero { padding-top: 18px; }
  .istar-article-breadcrumb { margin-bottom: 20px; }
  .istar-article .istar-inner-hero-copy h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .istar-article .istar-article-cover { aspect-ratio: 2.24; }
  .istar-article-meta { gap: 8px 18px; margin-top: 18px; }
  .istar-article-content { padding: 26px; }
  .istar-article-prose p, .istar-article-prose .article-list li { font-size: 1.0625rem; }
  .istar-article-sidebar { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .istar-blog-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 380px) {
  .istar-blog .container, .istar-article .container { padding-inline: 18px; }
  .istar-blog-featured-copy, .istar-blog-card-copy { padding: 22px; }
  .istar-article-content { padding: 23px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .istar-blog a, .istar-blog-card, .istar-article a { transition: none; }
  .istar-blog-card:hover, .istar-blog a:hover, .istar-article a:hover { transform: none; }
}
