/* iPromo Blog on Kadence: recreates the Publisher look. Navy #041e42, teal #00a7b5. */
html:root {
	--global-palette1: #00a7b5; /* accent / links */
	--global-palette2: #008896; /* accent hover */
	--global-palette3: #1a1b1b; /* headings */
	--global-palette4: #333333; /* body text */
	--global-palette5: #555555;
	--global-palette6: #777777;
	--global-palette7: #eeeeee;
	--global-palette8: #f5f5f5;
	--global-palette9: #ffffff;
	--ipromo-navy: #041e42;
	--ipromo-teal: #00a7b5;
}

/* Navy menu bar */
.site-bottom-header-wrap .header-navigation .header-menu-container > ul > li > a { padding-top: 0; padding-bottom: 0; line-height: 48px; }
.site-bottom-header-wrap .header-navigation .sub-menu { background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.site-bottom-header-wrap .header-navigation .sub-menu a { color: #333; text-transform: none; font-weight: 400; }
.site-bottom-header-wrap .header-navigation .sub-menu a:hover { color: var(--ipromo-teal); background: #f5f5f5; }

/* Table of contents: one copy per screen size (see assets/toc.js) */
html.ipromo-toc-desktop #ipromo-mobile-toc, html.ipromo-toc-mobile .primary-sidebar #block-2 { display: none; }
#ipromo-mobile-toc { margin-bottom: 1.5em; }

/* Archive / home list: image left, title + meta + excerpt right */
.loop-entry .entry-title { font-family: Roboto, sans-serif; font-size: 20px; line-height: 1.35; font-weight: 500; }
.loop-entry .entry-title a { color: #1a1b1b; }
.loop-entry .entry-title a:hover { color: var(--ipromo-teal); }
.loop-entry .entry-meta { font-size: 12px; color: #999; }
.loop-entry .entry-summary { font-size: 14px; color: #666; }
.loop-entry .entry-taxonomies a, .loop-entry .category-links a { background: var(--ipromo-teal); color: #fff; font-size: 11px; text-transform: uppercase; padding: 2px 7px; }

/* Single post */
.single-post .entry-title { font-family: Roboto, sans-serif; }
.single-post .kadence-breadcrumbs { font-size: 13px; color: #888; }

/* Footer: navy widget columns with teal-underlined uppercase titles */
.site-middle-footer-wrap { color: #fff; padding: 40px 0 20px; }
.site-middle-footer-wrap .widget-title { color: #fff; font-family: Roboto, sans-serif; font-size: 16px; font-weight: 500; text-transform: uppercase; border-bottom: 2px solid rgba(255,255,255,.25); padding-bottom: 12px; margin-bottom: 16px; }
.site-middle-footer-wrap a { color: #fff; text-decoration: none; }
.site-middle-footer-wrap a:hover { color: var(--ipromo-teal); }
.site-middle-footer-wrap ul { margin: 0; padding-left: 18px; }
.site-middle-footer-wrap li { margin-bottom: 6px; font-size: 14px; }
.site-bottom-footer-wrap, .site-bottom-footer-wrap a { color: #fff; font-size: 13px; }

/* Menu on one line with a "More" dropdown (assets/menu-more.js) */
@media (min-width: 1025px) {
	.site-bottom-header-wrap .header-navigation .menu { flex-wrap: nowrap; }
	.site-bottom-header-wrap .header-navigation .menu > li { white-space: nowrap; }
	.site-bottom-header-wrap .site-header-bottom-section-left { flex: 1 1 auto; min-width: 0; }
	.site-bottom-header-wrap .header-navigation, .site-bottom-header-wrap .header-menu-container { width: 100%; }
}
.ipromo-more > .sub-menu li ul { display: none; }


/* One category badge per post, like Publisher */
.loop-entry .entry-taxonomies .category-links a:not(:first-of-type), .loop-entry .entry-taxonomies .category-style-normal span { display: none; }
.loop-entry .entry-taxonomies .category-links { font-size: 0; }
.loop-entry .entry-taxonomies .category-links a:first-of-type { font-size: 11px; }
.loop-entry { margin-bottom: 1.5em; }
.content-style-unboxed .loop-entry .entry-content-wrap { padding: 0 0 0 1.5em; }

/* Home featured grid (inc/home-featured.php) */
.ipromo-featured { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; max-width: var(--global-content-width); margin: 30px auto 40px; padding: 0 var(--global-content-edge-padding); height: 400px; }
.ipromo-featured__item { position: relative; overflow: hidden; background: #ddd; }
.ipromo-featured__item.is-main { grid-row: 1 / span 2; }
.ipromo-featured__link, .ipromo-featured__img { display: block; width: 100%; height: 100%; }
.ipromo-featured__img { object-fit: cover; transition: transform .3s ease; }
.ipromo-featured__link:hover .ipromo-featured__img { transform: scale(1.04); }
.ipromo-featured__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0) 60%); color: #fff; }
.ipromo-featured__cat { position: absolute; top: 0; left: 0; background: var(--ipromo-teal); font-size: 11px; font-weight: 600; text-transform: uppercase; padding: 3px 8px; }
.ipromo-featured__title { font-family: Roboto, sans-serif; font-weight: 500; font-size: 15px; line-height: 1.35; }
.is-main .ipromo-featured__title { font-size: 24px; }
.ipromo-featured__meta { font-size: 12px; opacity: .85; margin-top: 6px; }
@media (max-width: 767px) {
	.ipromo-featured { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 160px 160px; height: auto; }
	.ipromo-featured__item.is-main { grid-column: 1 / span 2; grid-row: auto; }
	.is-main .ipromo-featured__title { font-size: 18px; }
}
.content-area { margin-top: 30px; }
.home .ipromo-featured { margin-top: 30px; margin-bottom: 0; }
.site-bottom-header-wrap .site-header-section-left { flex: 1 1 auto; min-width: 0; }

/* Single post: centered title like Publisher, breadcrumbs left-aligned above it */
.single-post .entry-hero .entry-header, .single-post .entry-header { text-align: center; }
.single-post .entry-header .kadence-breadcrumbs { text-align: left; margin-bottom: 1.2em; }
.single-post .entry-header .entry-title { font-weight: 500; font-size: 40px; line-height: 1.3; color: #333; }
@media (max-width: 767px) { .single-post .entry-header .entry-title { font-size: 28px; } }
.single-post .article-post-thumbnail { margin-bottom: 1.5em; }


/* ---------- Sidebar (modern, compact) ---------- */
body:not(.single-post) .primary-sidebar #block-2 { display: none; }
.primary-sidebar .widget { background: #fff; border: 1px solid #e6e8eb; border-radius: 12px; padding: 18px 18px 16px; margin: 0 0 20px; border-top: 1px solid #e6e8eb !important; }
.primary-sidebar .widget .widget-title, .primary-sidebar .widget h2.wp-block-heading.widget-title { position: relative; font-family: Roboto, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--ipromo-navy); margin: 0 0 14px; padding: 0 0 0 12px; border: 0; line-height: 1.3; }
.primary-sidebar .widget-title::before { content: ""; position: absolute; left: 0; top: 1px; bottom: 1px; width: 3px; border-radius: 3px; background: var(--ipromo-teal); }
/* Category menus as chips */
.primary-sidebar .widget_nav_menu ul.menu { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-sidebar .widget_nav_menu ul.menu li { margin: 0; padding: 0; border: 0; }
.primary-sidebar .widget_nav_menu ul.menu li::before { content: none; }
.primary-sidebar .widget_nav_menu ul.menu a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #f1f4f7; color: #1d2a3a; font-size: 13px; line-height: 1.3; text-decoration: none; transition: background .15s ease, color .15s ease; }
.primary-sidebar .widget_nav_menu ul.menu a:hover, .primary-sidebar .widget_nav_menu ul.menu a:focus-visible { background: color-mix(in srgb, var(--ipromo-teal) 14%, #fff); color: #00707a; }
/* Table of contents ("Jump Links") */
.primary-sidebar #block-2, #ipromo-mobile-toc { background: #f7f9fb; }
#ipromo-mobile-toc { border: 1px solid #e6e8eb; border-radius: 12px; padding: 16px 18px; margin-bottom: 1.5em; }
.kb-table-of-content-nav { background: transparent !important; border: 0 !important; padding: 0 !important; }
.kb-table-of-content-nav .kb-table-of-contents-title { font-family: Roboto, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--ipromo-navy); }
.kb-table-of-content-list, .kb-table-of-content-list ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.kb-table-of-content-list ul { margin-left: 12px !important; }
.kb-table-of-content-list li { position: relative; padding: 5px 0 5px 14px !important; margin: 0 !important; font-size: 13.5px; line-height: 1.4; }
.kb-table-of-content-list li::before { content: "" !important; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--ipromo-teal); }
.kb-table-of-content-list a { color: #1d2a3a !important; text-decoration: none !important; }
.kb-table-of-content-list a:hover { color: #00707a !important; }
@media (min-width: 1025px) { .single-post .primary-sidebar #block-2 { position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow: auto; } }
/* Contact form widget (Gravity Forms) */
.primary-sidebar .gform_widget .gform_wrapper { margin: 0; }
.primary-sidebar .gform_widget .gfield { margin: 0 0 10px !important; padding: 0 !important; }
.primary-sidebar .gform_widget .gfield_label { font-size: 12px !important; font-weight: 600 !important; color: #444; margin-bottom: 4px !important; }
.primary-sidebar .gform_widget input[type=text], .primary-sidebar .gform_widget input[type=email], .primary-sidebar .gform_widget input[type=tel], .primary-sidebar .gform_widget textarea { width: 100% !important; border: 1px solid #d6dbe0; border-radius: 8px; padding: 9px 11px !important; font-size: 14px; background: #fff; }
.primary-sidebar .gform_widget textarea { height: 90px !important; }
.primary-sidebar .gform_widget input:focus, .primary-sidebar .gform_widget textarea:focus { outline: 2px solid var(--ipromo-teal); outline-offset: 1px; border-color: transparent; }
.primary-sidebar .gform_widget .gform_footer { margin: 4px 0 0 !important; padding: 0 !important; }
.primary-sidebar .gform_widget .gform_footer input[type=submit], .primary-sidebar .gform_widget .gform_button { width: 100%; height: 42px; border: 0; border-radius: 8px; background: var(--ipromo-teal); color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; cursor: pointer; }
.primary-sidebar .gform_widget .gform_button:hover { background: #008896; }

/* Sticky post at the top of the home list (highlighted, like Publisher) */
.loop-entry.sticky { background: #fffbe6; border: 1px solid #f1e3a6; border-radius: 12px; padding: 16px; }
.loop-entry.sticky .entry-content-wrap { padding-right: 0; }

/* Footer: no white strip between the navy widget area and the teal bar */
.site-footer { background: #041e42; }
.site-middle-footer-wrap { padding-bottom: 30px; }
/* Breadcrumbs: small, grey, "Home" as text */
.kadence-breadcrumbs { font-size: 12.5px; color: #8a8f96; }
.kadence-breadcrumbs a { color: #8a8f96; text-decoration: none; }
.kadence-breadcrumbs a:hover { color: var(--ipromo-teal); }
.kadence-breadcrumbs .bc-delimiter { margin: 0 6px; }

/* =====================================================================
   Design refresh (Nov 2026)
   ===================================================================== */
:root { --ipromo-radius: 12px; --ipromo-radius-sm: 8px; --ipromo-line: #e6e8eb; --ipromo-ink: #1d2a3a; --ipromo-muted: #6b7480; }

/* Header: compact row, tap-to-call phone */
.ipromo-call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ipromo-ink); padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--ipromo-line); transition: border-color .15s ease, box-shadow .15s ease; }
.ipromo-call:hover { border-color: color-mix(in srgb, var(--ipromo-teal) 50%, #fff); box-shadow: 0 2px 10px rgba(4,30,66,.08); color: var(--ipromo-ink); }
.ipromo-call__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ipromo-teal); color: #fff; }
.ipromo-call__text { display: flex; flex-direction: column; line-height: 1.2; }
.ipromo-call__label { font-size: 11.5px; color: var(--ipromo-muted); }
.ipromo-call__num { font-family: Roboto, sans-serif; font-size: 17px; font-weight: 700; color: var(--ipromo-navy); letter-spacing: .2px; }

/* Lead form bar under the menu: slim white bar with a soft shadow */
#lead-form-row { background: #fff; border-bottom: 1px solid var(--ipromo-line); box-shadow: 0 6px 18px -12px rgba(4,30,66,.35); padding: 10px 0; position: relative; z-index: 5; }
#lead-form-row.lead-form-row-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 999; }
body.admin-bar #lead-form-row.lead-form-row-fixed { top: 32px; }
.ipromo-lead-form { display: flex; align-items: center; gap: 10px; margin: 0; }
.ipromo-lead-form .cta-copy { flex: 0 0 auto; margin: 0 8px 0 0; font-size: 14px; line-height: 1.35; color: var(--ipromo-ink); }
.ipromo-lead-form .cta-copy b { font-weight: 600; }
.ipromo-lead-form input.req-field { flex: 1 1 0; min-width: 0; height: 42px; border: 1px solid #d6dbe0; border-radius: var(--ipromo-radius-sm); padding: 0 12px; font-size: 15px; background: #fff; }
.ipromo-lead-form input.req-field:focus { outline: 2px solid var(--ipromo-teal); outline-offset: 1px; border-color: transparent; }
.ipromo-lead-form .vipQuote_btn { flex: 0 0 auto; height: 42px; padding: 0 26px; border: 0; border-radius: var(--ipromo-radius-sm); background: var(--ipromo-teal); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s ease, transform .1s ease; }
.ipromo-lead-form .vipQuote_btn:hover { background: #008896; }
.ipromo-lead-form .vipQuote_btn:active { transform: scale(.97); }
@media (max-width: 1024px) { .ipromo-lead-form .cta-copy { display: none; } }
@media (max-width: 680px) { #lead-form-row { display: none; } }

/* Post body: larger, calmer reading */
.single-post .entry-content { font-size: 17px; line-height: 1.75; color: #2b3440; }
.single-post .entry-content > * + * { margin-top: 1.1em; }
.single-post .entry-content h2 { position: relative; font-family: Roboto, sans-serif; font-size: 28px; line-height: 1.3; font-weight: 700; color: var(--ipromo-navy); margin-top: 1.8em; padding-left: 16px; }
.single-post .entry-content h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: var(--ipromo-teal); }
.single-post .entry-content h3 { font-family: Roboto, sans-serif; font-size: 21px; font-weight: 700; color: var(--ipromo-ink); margin-top: 1.5em; }
.single-post .entry-content a { color: #00818c; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.single-post .entry-content img, .single-post .article-post-thumbnail img { border-radius: var(--ipromo-radius); }
.single-post .entry-content blockquote { border-left: 4px solid var(--ipromo-teal); background: #f7f9fb; border-radius: 0 var(--ipromo-radius-sm) var(--ipromo-radius-sm) 0; padding: 14px 18px; font-style: normal; }
@media (max-width: 767px) { .single-post .entry-content { font-size: 16.5px; } .single-post .entry-content h2 { font-size: 23px; } }

/* End-of-post quote card */
.ipromo-quote-card { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 2.5em 0 1em; padding: 28px; border-radius: 16px; background: linear-gradient(135deg, var(--ipromo-navy), #0a3466); color: #fff; }
.ipromo-quote-card__eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #7fd7df; }
.ipromo-quote-card__title { margin: 0 0 8px !important; padding: 0 !important; font-family: Roboto, sans-serif; font-size: 26px; color: #fff !important; }
.ipromo-quote-card__title::before { content: none !important; }
.ipromo-quote-card p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.55; }
.ipromo-lead-form--card, .ipromo-lead-form--sheet { flex-direction: column; align-items: stretch; gap: 10px; }
.ipromo-lead-form--card input.req-field, .ipromo-lead-form--sheet input.req-field { flex: 0 0 auto; height: 46px; }
.ipromo-lead-form--card input.req-field { border-color: transparent; }
.ipromo-lead-form--card .vipQuote_btn, .ipromo-lead-form--sheet .vipQuote_btn { height: 46px; }
@media (max-width: 767px) { .ipromo-quote-card { grid-template-columns: 1fr; padding: 22px; } }

/* Phone: floating "Get a quote" button + bottom sheet */
.ipromo-quote-fab { display: none; }
@media (max-width: 680px) {
	.ipromo-quote-fab { display: block; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 998; height: 48px; border: 0; border-radius: 999px; background: var(--ipromo-teal); color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 8px 25px rgba(4,30,66,.35); cursor: pointer; transition: opacity .2s ease, transform .2s ease; }
	.ipromo-quote-fab.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
	.single-post .site-footer { padding-bottom: 76px; }
}
.ipromo-quote-sheet { width: 100%; max-width: 520px; margin: auto auto 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); border: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.ipromo-quote-sheet[open] { animation: ipromo-sheet-in .3s cubic-bezier(.32,.72,0,1); }
.ipromo-quote-sheet::backdrop { background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.ipromo-quote-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ipromo-quote-sheet__head h2 { margin: 0; font-family: Roboto, sans-serif; font-size: 19px; color: var(--ipromo-navy); }
.ipromo-quote-sheet__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f4f7; color: #333; font-size: 22px; line-height: 1; cursor: pointer; }
@keyframes ipromo-sheet-in { from { transform: translateY(100%); } to { transform: none; } }

/* Lists: even 4:3 thumbnails, 3-line excerpts */
.loop-entry .post-thumbnail { border-radius: var(--ipromo-radius); overflow: hidden; }
.loop-entry .post-thumbnail img { transition: transform .3s ease; }
.loop-entry:hover .post-thumbnail img { transform: scale(1.03); }
.loop-entry .entry-summary p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.loop-entry .entry-summary { font-size: 14.5px; line-height: 1.6; }
.loop-entry.sticky .post-thumbnail { border-radius: var(--ipromo-radius-sm); }

/* Home: featured grid rounded + category chips */
.ipromo-featured { border-radius: 14px; overflow: hidden; gap: 4px; }
.ipromo-cat-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: var(--global-content-width); margin: 22px auto 0; padding: 0 var(--global-content-edge-padding); }
.ipromo-cat-chips__label { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--ipromo-muted); margin-right: 4px; }
.ipromo-cat-chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ipromo-line); background: #fff; color: var(--ipromo-ink); font-size: 13.5px; text-decoration: none; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.ipromo-cat-chips a:hover { border-color: var(--ipromo-teal); color: #00707a; background: color-mix(in srgb, var(--ipromo-teal) 8%, #fff); }

/* Related posts + author box as cards */
.entry-related { background: transparent; }
.entry-related .entry-related-title, .entry-related h2 { font-family: Roboto, sans-serif; font-size: 22px; color: var(--ipromo-navy); }
.entry-related .loop-entry { border: 1px solid var(--ipromo-line); border-radius: var(--ipromo-radius); overflow: hidden; background: #fff; box-shadow: none; transition: box-shadow .2s ease, transform .2s ease; }
.entry-related .loop-entry:hover { box-shadow: 0 8px 24px rgba(4,30,66,.10); transform: translateY(-2px); }
.entry-related .loop-entry .post-thumbnail { border-radius: 0; }
.entry-related .loop-entry .entry-content-wrap { padding: 14px 16px 16px !important; }
.entry-related .loop-entry .entry-title { font-size: 16px; }
.entry-author { border: 1px solid var(--ipromo-line); border-radius: var(--ipromo-radius); padding: 20px 22px; background: #f7f9fb; margin-top: 2em; }
.entry-author .entry-author-avatar img { border-radius: 50%; }
.entry-author .entry-author-name { font-family: Roboto, sans-serif; font-weight: 700; color: var(--ipromo-navy); }
.entry-author .entry-author-description { font-size: 15px; color: #4a5562; }

/* Footer: tighter columns, thin dark-navy bottom bar */
.site-middle-footer-wrap { padding: 44px 0 28px; }
.site-middle-footer-wrap .widget-title { font-size: 13px; letter-spacing: .6px; border-bottom-width: 1px; padding-bottom: 10px; margin-bottom: 14px; }
.site-middle-footer-wrap li { margin-bottom: 4px; font-size: 14px; }
.site-middle-footer-wrap ul { list-style: none; padding-left: 0; }
.site-bottom-footer-wrap { background: #021430 !important; border-top: 1px solid rgba(255,255,255,.08); }
.site-bottom-footer-inner-wrap { min-height: 0 !important; padding-top: 14px !important; padding-bottom: 14px !important; }
.site-bottom-footer-wrap, .site-bottom-footer-wrap a { color: rgba(255,255,255,.7); font-size: 12.5px; }

@media (prefers-reduced-motion: reduce) { .ipromo-quote-sheet[open] { animation: none; } .loop-entry .post-thumbnail img, .ipromo-featured__img, .ipromo-quote-fab, .entry-related .loop-entry { transition: none; } }
.header-html a.ipromo-call, .ipromo-call, .ipromo-call * { text-decoration: none !important; }
.entry-author-style-normal .entry-author-profile { position: relative; padding-left: 100px; min-height: 80px; }
.entry-author-style-normal .entry-author-avatar { position: absolute; left: 0; top: 0; width: 80px; }
/* Related posts carousel: arrows sit over the images, not the titles */
.entry-related .splide__arrow { top: 78px; transform: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(4,30,66,.75); opacity: 1; }
.entry-related .splide__arrow:hover { background: var(--ipromo-teal); }
.entry-related .splide__arrow svg { fill: #fff; width: 14px; height: 14px; }
