/*
Theme Name: SoftCloud Insight Pro
Author: SoftCloud BD
Description: Editorial WordPress theme for insurance, lending, automotive and aviation guides.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: softcloud-insight
*/

:root {
  --ink: #071b2f;
  --ink-2: #102c47;
  --blue: #1167e8;
  --blue-dark: #0b4fb5;
  --cyan: #16b9c8;
  --lime: #b9ef64;
  --paper: #ffffff;
  --canvas: #f3f7fb;
  --soft-blue: #eaf3ff;
  --text: #18324a;
  --muted: #617286;
  --line: #dce6ef;
  --shadow: 0 24px 70px rgba(7, 27, 47, .10);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.topbar { background: var(--ink); color: #dceafa; font-size: 12px; letter-spacing: .04em; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar strong { color: var(--lime); }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,230,239,.9); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 900; font-size: 20px; letter-spacing: -.035em; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--blue), var(--cyan)); box-shadow: 0 10px 24px rgba(17,103,232,.23); }
.brand-mark svg { width: 23px; }
.brand small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; line-height: 1; margin-top: 2px; }
.main-nav { margin-left: auto; display: flex; align-items: center; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; }
.main-nav a { display: block; padding: 10px 11px; color: #415269; font-size: 14px; font-weight: 750; border-radius: 10px; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--blue); background: var(--soft-blue); }
.search-link { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; margin-left: 10px; color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); }

.hero { overflow: hidden; position: relative; background: radial-gradient(circle at 85% 15%, rgba(22,185,200,.17), transparent 28%), radial-gradient(circle at 8% 0%, rgba(17,103,232,.13), transparent 30%), var(--canvas); border-bottom: 1px solid var(--line); }
.hero:after { content: ""; position: absolute; right: -110px; bottom: -210px; width: 470px; height: 470px; border: 80px solid rgba(255,255,255,.5); border-radius: 50%; }
.hero-grid { min-height: 610px; padding-block: 76px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); background: var(--soft-blue); border: 1px solid #d8e9ff; border-radius: 99px; padding: 7px 12px; font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.kicker:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(22,185,200,.13); }
.hero h1 { max-width: 720px; margin: 20px 0; color: var(--ink); font-size: clamp(46px, 6.2vw, 76px); line-height: .98; letter-spacing: -.063em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy { max-width: 650px; color: var(--muted); font-size: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 13px; font-size: 14px; font-weight: 900; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--blue); box-shadow: 0 12px 27px rgba(17,103,232,.25); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { color: var(--ink); border: 1px solid var(--line); background: white; }
.hero-proof { margin-top: 30px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.proof-dots { display: flex; }
.proof-dots i { width: 28px; height: 28px; margin-left: -7px; border-radius: 50%; border: 3px solid white; background: linear-gradient(135deg,var(--blue),var(--cyan)); }
.proof-dots i:first-child { margin-left: 0; }
.hero-card { position: relative; min-height: 430px; padding: 36px; color: white; background: linear-gradient(155deg, var(--ink), #0c3555); border-radius: 34px; box-shadow: 0 36px 80px rgba(7,27,47,.24); }
.hero-card:before { content: ""; position: absolute; right: 0; top: 0; width: 170px; height: 170px; border-radius: 0 34px 0 100%; background: rgba(22,185,200,.16); }
.hero-card-label { color: var(--lime); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.hero-card h2 { margin: 16px 0 10px; font-size: 32px; line-height: 1.15; letter-spacing: -.04em; }
.hero-card p { color: #bdd0e1; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.metric { padding: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); border-radius: 16px; }
.metric strong { display: block; color: white; font-size: 27px; line-height: 1; }
.metric span { color: #a9bed2; font-size: 11px; }

.trust-strip { border-bottom: 1px solid var(--line); background: white; }
.trust-grid { min-height: 88px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.trust-item { padding: 12px 24px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: var(--ink); font-size: 14px; }
.trust-item span { color: var(--muted); font-size: 12px; }

.section { padding: 88px 0; }
.section-soft { background: var(--canvas); }
.section-dark { background: var(--ink); color: white; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-head > div { max-width: 700px; }
.section-head h2, .archive-title { margin: 13px 0 0; color: var(--ink); font-size: clamp(34px,4.6vw,54px); line-height: 1.03; letter-spacing: -.05em; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-dark .section-head h2 { color: white; }
.text-link { color: var(--blue); font-weight: 900; white-space: nowrap; }

.topic-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.topic-card { min-height: 200px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .2s, box-shadow .2s, border-color .2s; }
.topic-card:hover { transform: translateY(-5px); border-color: #bad6f7; box-shadow: var(--shadow); }
.topic-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--blue); background: var(--soft-blue); font-size: 19px; font-weight: 900; }
.topic-card h3 { margin: 22px 0 5px; color: var(--ink); font-size: 18px; line-height: 1.25; }
.topic-card p { margin: 0; color: var(--muted); font-size: 13px; }
.topic-count { display: inline-block; margin-top: 14px; color: var(--blue); font-size: 12px; font-weight: 900; }

.featured-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.feature-card, .post-card, .panel, .article-shell { border: 1px solid var(--line); background: white; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(7,27,47,.055); }
.feature-card { overflow: hidden; }
.visual { position: relative; min-height: 260px; padding: 30px; display: flex; align-items: end; overflow: hidden; color: white; background: linear-gradient(135deg, #0a2743, #1167e8 60%, #16b9c8); }
.visual:before, .visual:after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.visual:before { width: 250px; height: 250px; right: -60px; top: -100px; }
.visual:after { width: 150px; height: 150px; right: 10px; top: -55px; }
.visual-word { position: relative; z-index: 1; max-width: 80%; font-size: clamp(28px,3.6vw,46px); font-weight: 950; line-height: .98; letter-spacing: -.045em; }
.feature-body { padding: 30px; }
.feature-body h3 { margin: 12px 0; color: var(--ink); font-size: clamp(27px,3vw,38px); line-height: 1.1; letter-spacing: -.035em; }
.feature-body p { color: var(--muted); }
.side-stack { display: grid; gap: 18px; }
.mini-feature { padding: 25px; color: white; border-radius: var(--radius); background: var(--ink-2); }
.mini-feature:nth-child(2) { color: var(--ink); background: var(--lime); }
.mini-feature h3 { margin: 18px 0 8px; font-size: 23px; line-height: 1.13; letter-spacing: -.03em; }
.mini-feature p { margin: 0; opacity: .75; font-size: 13px; }

.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.post-card { overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .visual { min-height: 190px; padding: 22px; }
.post-card .visual-word { font-size: 27px; }
.card-body { padding: 23px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.pill { color: var(--blue); background: var(--soft-blue); border-radius: 99px; padding: 5px 9px; }
.post-card h3 { margin: 13px 0 9px; color: var(--ink); font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.post-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }

.editorial { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.editorial h2 { margin: 15px 0; font-size: clamp(38px,5vw,58px); line-height: 1.02; letter-spacing: -.05em; }
.editorial p { color: #b9cada; }
.check-list { display: grid; gap: 13px; }
.check { padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.045); }
.check strong { display: block; color: var(--lime); }
.check span { color: #b9cada; font-size: 13px; }

.newsletter { padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; color: white; background: linear-gradient(125deg,var(--blue-dark),var(--blue),var(--cyan)); border-radius: 28px; box-shadow: var(--shadow); }
.newsletter h2 { margin: 0 0 7px; font-size: 33px; line-height: 1.1; letter-spacing: -.04em; }
.newsletter p { margin: 0; color: #e5f4ff; }

.sci-ad-slot { width: 100%; min-height: 296px; margin: 34px auto; padding: 22px 10px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border: 1px solid #e7edf3; border-radius: 14px; background: #f8fafc; clear: both; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.sci-ad-slot > div[data-prstudio-size="300x250"] { width: 300px; min-height: 250px; max-width: 100%; margin: 0 auto; }
.sci-ad-label { color: #8996a5; font-size: 9px; font-weight: 800; line-height: 1; letter-spacing: .13em; text-transform: uppercase; }
.sci-ad-home { width: min(calc(100% - 40px), var(--max)); }
.article-content .sci-ad-slot { font-style: normal; }
.archive-ad { grid-column: 1 / -1; }

.archive-hero { padding: 68px 0 45px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.archive-description { max-width: 740px; color: var(--muted); }
.pagination { margin-top: 35px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 13px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: white; }
.pagination .current { color: white; background: var(--blue); border-color: var(--blue); }

.breadcrumbs { padding: 17px 0; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.breadcrumbs a { color: var(--blue); }
.article-hero { padding: 58px 0 44px; background: radial-gradient(circle at 90% 0,rgba(22,185,200,.14),transparent 28%),var(--canvas); border-bottom: 1px solid var(--line); }
.article-hero-inner { max-width: 930px; }
.article-hero h1 { margin: 16px 0; color: var(--ink); font-size: clamp(42px,6vw,70px); line-height: 1.02; letter-spacing: -.055em; }
.article-dek { max-width: 780px; color: var(--muted); font-size: 19px; }
.article-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: 13px; }
.reading-progress { position: fixed; left: 0; top: 110px; z-index: 100; width: 0; height: 3px; background: linear-gradient(90deg,var(--blue),var(--cyan)); }
.article-layout { padding: 54px 0 90px; display: grid; grid-template-columns: 220px minmax(0,760px) 170px; gap: 34px; justify-content: center; align-items: start; }
.toc, .article-aside { position: sticky; top: 135px; }
.toc { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--canvas); }
.toc-title { color: var(--ink); font-size: 12px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.toc ol { margin: 13px 0 0; padding-left: 17px; }
.toc li { margin: 7px 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.toc a:hover { color: var(--blue); }
.article-shell { padding: clamp(25px,5vw,54px); }
.article-content { font-family: Georgia, "Times New Roman", serif; color: #253b4f; font-size: 18px; line-height: 1.83; }
.article-content > p:first-child { color: var(--ink); font-size: 21px; line-height: 1.7; }
.article-content h2, .article-content h3 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: var(--ink); letter-spacing: -.035em; scroll-margin-top: 140px; }
.article-content h2 { margin: 50px 0 16px; font-size: 34px; line-height: 1.12; }
.article-content h3 { margin: 32px 0 10px; font-size: 23px; line-height: 1.2; }
.article-content a { color: var(--blue-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-content ul, .article-content ol { padding-left: 25px; }
.article-content li { margin: 9px 0; }
.article-content blockquote { margin: 30px 0; padding: 20px 24px; border-left: 4px solid var(--cyan); background: var(--canvas); font-style: italic; }
.article-content .key-box, .article-content .note-box { margin: 28px 0; padding: 24px; border-radius: 16px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.article-content .key-box { border: 1px solid #cfe1f6; background: var(--soft-blue); }
.article-content .note-box { border: 1px solid #e7ddb5; background: #fffbea; }
.article-content .key-box h2, .article-content .note-box h2 { margin-top: 0; font-size: 23px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 25px 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 14px; }
.article-content th, .article-content td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-content th { color: var(--ink); background: var(--canvas); }
.article-content .faq-item { border-top: 1px solid var(--line); padding: 18px 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.article-content .faq-item h3 { margin: 0 0 7px; font-size: 19px; }
.article-disclaimer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.aside-card { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.aside-card strong { display: block; color: var(--ink); font-size: 13px; }
.aside-card span { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.share-links { margin-top: 12px; display: flex; gap: 7px; }
.share-links a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); font-size: 11px; font-weight: 900; }
.related { padding: 75px 0; background: var(--canvas); border-top: 1px solid var(--line); }

.page-shell { max-width: 860px; padding: 70px 0 90px; }
.page-shell h1 { color: var(--ink); font-size: clamp(40px,6vw,62px); line-height: 1; letter-spacing: -.05em; }
.page-content { font-size: 17px; }
.page-content h2 { margin-top: 38px; color: var(--ink); }
.search-form { display: flex; gap: 9px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; }
.search-submit { border: 0; padding: 0 18px; color: white; background: var(--blue); border-radius: 11px; font-weight: 900; }

.site-footer { color: #b8c9d9; background: #051626; }

/* Skip below-the-fold layout/paint work until it is close to the viewport. */
@supports (content-visibility: auto) {
  .section, .related, .site-footer { content-visibility: auto; contain-intrinsic-size: 1px 700px; }
}
.footer-main { padding: 68px 0 45px; display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 40px; }
.footer-main .brand { color: white; }
.footer-copy { max-width: 330px; margin-top: 18px; font-size: 13px; }
.footer-title { margin: 0 0 15px; color: white; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 9px 0; }
.footer-links a { font-size: 13px; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 1080px) {
  .topic-grid { grid-template-columns: repeat(3,1fr); }
  .article-layout { grid-template-columns: minmax(0,760px) 160px; }
  .toc { display: none; }
}
@media (max-width: 900px) {
  .topbar { display: none; }
  .main-nav { position: fixed; inset: 77px 0 0; display: none; padding: 25px; background: white; }
  .main-nav.open { display: block; }
  .main-nav ul { display: block; }
  .main-nav a { padding: 14px; font-size: 17px; }
  .menu-toggle { display: grid; place-items: center; }
  .search-link { margin-left: 0; }
  .hero-grid, .editorial { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 60px; gap: 40px; }
  .hero-card { min-height: 360px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .featured-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0,760px); }
  .article-aside { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .reading-progress { top: 76px; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .main-nav { top: 69px; }
  .hero-grid { min-height: auto; padding-block: 48px; }
  .hero h1 { font-size: 46px; }
  .hero-copy { font-size: 16px; }
  .hero-card { padding: 25px; border-radius: 24px; }
  .trust-grid { grid-template-columns: 1fr; padding: 12px 0; }
  .trust-item, .trust-item:first-child { padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border: 0; }
  .section { padding: 64px 0; }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 14px; }
  .topic-grid, .post-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 0; }
  .newsletter { grid-template-columns: 1fr; padding: 28px; }
  .article-hero { padding: 44px 0 35px; }
  .article-hero h1 { font-size: 41px; }
  .article-layout { padding-top: 25px; }
  .article-shell { padding: 24px 20px; border-radius: 0; border-inline: 0; }
  .article-content { font-size: 17px; }
  .article-content h2 { font-size: 29px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom-inner { display: block; }
  .sci-ad-slot { min-height: 284px; margin: 25px auto; padding-inline: 0; border-inline: 0; border-radius: 0; }
  .sci-ad-home { width: 100%; }
}
