/* ===== Star Engineering — Insights ===== */

/* Brand tokens */
:root {
    --star-primary: #0064a8;      /* Star blue (.n-bg) */
    --star-primary-dark: #004a7c;
    --star-accent: #B72236;       /* Star red (header tagline) */
    --star-text: #333333;
    --star-muted: #777777;
    --star-border: #cccccc;
    --star-panel: #f4f4f4;
    --star-font: 'Open Sans', Arial, sans-serif;
}

/* Prevent 100vw breakout adding a horizontal scrollbar
   (clip, not hidden — hidden would break the sticky sidebar) */
html, body { overflow-x: clip; }

/* Full-width banner breakout from boxed #page wrapper */
.ins-banner img {
    width: 100%;
    height: 350px;      /* match Contact Us banner height — adjust if needed */
    object-fit: cover;
    display: block;
}

/* Breadcrumb bar — matches theme's grey bar on inner pages */
.ins-breadcrumb-bar {
    background: #f4f4f4;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--star-text);
    margin-top: 195px;
    max-width: 1130px;
}
.ins-breadcrumb-bar a { color: var(--star-primary); text-decoration: none; }
.ins-breadcrumb-bar a:hover { text-decoration: underline; }

/* Page title — matches theme inner-page h1 */
.ins-page-title {
    max-width: 1170px;
    margin: 0 auto 10px;
   padding: 10px 20px;
    color: var(--star-text);
    font-size: 30px;
    font-weight: 700;
}

/* Layout — 1170px to match Bootstrap 3 .container */
.ins-container { font-family: var(--star-font); }
.ins-layout,
.ins-popular {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.ins-layout { display: flex; flex-wrap: wrap; gap: 30px; padding-top: 20px; padding-bottom: 40px; align-items: flex-start; }
.ins-main { flex: 1 1 62%; min-width: 0; }
.ins-main .ins-vcard--featured .ins-vcard__thumb img { height: auto; }
.ins-sidebar { flex: 1 1 28%; min-width: 260px; max-width: 360px; position: -webkit-sticky; position: sticky; top: 70px; }

/* Vertical cards with date badge */
.ins-vcard { background: #fff; border: 1px solid var(--star-border); margin-bottom: 30px; }
.ins-vcard__thumb { display: block; }
.ins-vcard__thumb img { width: 100%; height: 150px; object-fit: cover; display: block; }
.ins-vcard__body { padding: 20px; }
.ins-vcard__date { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.ins-vcard__day { font-size: 30px; font-weight: 700; color: var(--star-primary); line-height: 1; }
.ins-vcard__month { font-size: 14px; color: var(--star-muted); text-transform: uppercase; }
.ins-vcard__date-line { flex: 1; height: 1px; background: var(--star-border); }
.ins-vcard__title { margin: 0 0 10px; }
.ins-vcard__title a { color: var(--star-text); font-weight: 700; font-size: 19px; line-height: 1.35; text-decoration: none; }
.ins-vcard__title a:hover { color: var(--star-primary); }
.ins-vcard__excerpt { color: #666; font-size: 14px; margin-bottom: 12px; }
.ins-vcard__readmore { color: var(--star-accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.ins-vcard__readmore:hover { color: var(--star-primary); text-decoration: none; }

/* Featured Articles 4-column grid */
.ins-popular { padding-bottom: 50px; }
.ins-popular__heading { font-weight: 300; font-size: 28px; margin-bottom: 25px; color: var(--star-text); }
.ins-vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ins-vgrid .ins-vcard { margin-bottom: 0; }
.ins-vgrid .ins-vcard__title a { font-size: 16px; }
.ins-vgrid .ins-vcard__day { font-size: 24px; }

/* Sidebar boxes */
.ins-sidebar-box { background: var(--star-panel); border: 1px solid var(--star-border); margin-bottom: 25px; padding: 20px; }
.ins-widget-title { color: var(--star-muted); text-transform: uppercase; font-size: 13px; letter-spacing: 1px; border-bottom: 1px solid var(--star-border); padding-bottom: 12px; margin: 0 0 15px; font-weight: 700; }

/* ToC */
.ins-toc-list { margin: 0; padding: 0; list-style: none; }
.ins-toc-item { margin-bottom: 10px; font-size: 13px; }
.ins-toc-item--sub { margin-left: 15px; }
.ins-toc-link { color: var(--star-text); text-decoration: none; }
.ins-toc-link:before { content: "\203A"; color: var(--star-accent); margin-right: 7px; }
.ins-toc-link:hover, .ins-toc-link.is-active { color: var(--star-primary); text-decoration: none; }
.ins-toc-link.is-active { font-weight: 700; }

/* Recent list */
.ins-recent-list { margin: 0; padding: 0; list-style: none; }
.ins-recent-item { display: flex; gap: 12px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #e5e5e5; align-items: flex-start; }
.ins-recent-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.ins-recent-item__thumb { width: 60px; height: 60px; object-fit: cover; }
.ins-recent-item__title { display: block; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--star-text); text-decoration: none; }
.ins-recent-item__title:hover { color: var(--star-primary); }
.ins-recent-item__date { font-size: 12px; color: #999; }

/* Single */
.ins-single-cover img { width: 100%; height: auto; }
.ins-single-meta { margin: 15px 0 20px; padding-bottom: 15px; border-bottom: 1px solid #e5e5e5; font-size: 13px; color: var(--star-muted); }
.ins-single-meta span { margin-right: 20px; }
.ins-single-meta .fa { color: var(--star-accent); margin-right: 6px; }

/* Intro highlight box */
.ins-intro-box { background: #eaf3fa; border: 1px solid #c3ddf0; border-left: 4px solid var(--star-primary); padding: 30px 35px; margin: 0 0 35px; }
.ins-intro-box h2 { margin-top: 0 !important; }
.ins-intro-box p:last-child { margin-bottom: 0; }

/* Body spacing */
.ins-single-body h2 { margin: 35px 0 15px; color: var(--star-text); }
.ins-single-body h3 { margin: 28px 0 12px; color: var(--star-text); }
.ins-single-body p { margin-bottom: 18px; line-height: 1.7; font-size: 15px; }
.ins-single-body > div:empty,
.ins-single-body p:empty { display: none; }
.ins-single-body,
.ins-single-body > div:not(.ins-intro-box) { border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.ins-single-body h2[id], .ins-single-body h3[id] { scroll-margin-top: 120px; }

/* Responsive */
@media (max-width: 992px) {
    .ins-vgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) {
    .ins-layout { flex-direction: column; }
    .ins-main, .ins-sidebar { flex: 1 1 100%; max-width: 100%; }
    .ins-sidebar { position: static; }
    .ins-page-title { font-size: 24px; }
    .ins-vgrid { grid-template-columns: 1fr; }
    .ins-intro-box { padding: 20px; }
}
.ins-tabs-wrap {
    margin: 30px 0;
}
.ins-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ins-tab {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #d9dee3;
    color: #1b2a4e;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ins-tab:hover {
    background: #eef1f6;
    text-decoration: none;
}
/* .ins-tab--active {
    background: #1b2a4e;
    border-color: #1b2a4e;
    color: #fff;
} */

.ins-tabs a.ins-tab--active,
a.ins-tab.ins-tab--active {
    background: #1b2a4e;
    border-color: #1b2a4e;
    color: #fff !important;
}

.ins-tab {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}
.ins-tabs-wrap {
    position: relative;
    z-index: 1;
}
.ins-single-body ul {
	padding-left: 15px;
}
.ins-single-body ul li {
	font-size: 15px;
}

.ins-card__img {
	width: 100%;
    height: auto;

}