/* =====================================================================================================================
   PaySalaryLoan - SEO landing pages (site-seo.css)

   Loaded after psl-site.css by the four SEO page families, which share one template look each:
     borrow/*            amount pages   hero + calculator, "what it covers" + checklist box, cost table, steps, FAQ, chips
     loan-for/*          purpose pages  hero + calculator, real-life example + advice, "Key facts" navy panel, steps, needs
     personal-loan-in/*  city pages     hero + calculator, local copy + area chips + contact box, steps, eligibility, FAQ
     blog/*              articles       simple hero, readable article column, inline calculator note, related posts, CTA
   and the four hub pages (borrow/, loan-for/, personal-loan-in/, blog/).

   Everything reusable comes from psl-site.css (.pl-*). This file only adds what those pages need on top, all prefixed
   .seo-: the contact list, the purpose-page panels, hub / blog cards and the article typography. The hero card head
   (.pl-card__*), the quick-start card (.pl-start-card), the calculator section (.pl-calc-section), link pills (.pl-pills),
   the navy box (.pl-box--navy) and .pl-timeline--4 come from psl-site.css; the calculator is psl-calculator.css.
   No other page loads it.
===================================================================================================================== */

/* ---------------------------------------------------------------- hero */
.seo-hero .pl-crumbs [aria-current] { overflow-wrap: anywhere; }
.seo-points li { flex-direction: row; align-items: center; gap: 10px; }
.seo-points .pl-points__ic { width: 30px; height: 30px; border-radius: 9px; }

/* ---------------------------------------------------------------- copy + side box */
.seo-prose { font-size: 1rem; line-height: 1.7; }
.seo-prose__h2 { margin-top: 36px; }
.seo-ticks small { display: block; margin-top: 2px; font-size: .82rem; color: var(--psl-ink-3); }
.seo-ticks li > span:last-child { min-width: 0; }
.seo-aside .pl-h3 { font-size: 1.15rem; }
.seo-aside__p { margin-bottom: 14px; }
.seo-note { margin-top: 14px; }

/* real-life example (loan-for) */
.seo-scenario { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 0; padding: 16px; font-size: .96rem; background: var(--psl-mint-50); }
.seo-scenario p { margin: 0; color: var(--psl-ink); }

/* "Key facts" navy panel (loan-for): two columns, an odd last cell spans the row */
.seo-facts { margin: 0; }
.seo-facts .pl-glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-facts .pl-glance__grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.seo-facts .pl-glance__grid dd { font-size: 1.12rem; }
.seo-facts__cta { padding: 16px 18px 18px; }

/* contact list (city pages) */
.seo-contact { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.seo-contact li { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: .92rem; font-weight: 600; color: var(--psl-ink); }
.seo-contact li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.seo-contact .pl-badge { width: 36px; height: 36px; border-radius: 10px; }
.seo-contact a { color: var(--psl-navy-800); }

/* navy checklist box (city eligibility: "What to have on hand"; .pl-box--navy) */
.pl-box--navy .seo-ticks small { color: var(--psl-on-navy); }

/* ---------------------------------------------------------------- area pills (city pages; .pl-pills from psl-site.css) */
.seo-areas { margin-bottom: 4px; }

/* ---------------------------------------------------------------- steps (pl-timeline with an icon in each node) */
.seo-steps .pl-timeline__node svg { width: 18px; height: 18px; }
.seo-steps__label { display: block; margin-top: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--psl-ink-3); }
.seo-steps h3 { margin-top: 2px; }
.seo-steps .pl-timeline__time { margin-top: 8px; }

/* ---------------------------------------------------------------- hub cards (borrow/, personal-loan-in/) */
.seo-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seo-hub > li > a { padding: 16px; }
.seo-hub .pl-badge { margin-bottom: 10px; }
.seo-hub__title { display: block; font-family: var(--psl-font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.2; color: var(--psl-navy-900); }
.seo-hub__line { display: block; margin-top: 4px; font-weight: 600; color: var(--psl-ink); }
.seo-hub__sub { display: block; margin-top: 2px; font-size: .86rem; color: var(--psl-ink-3); }

/* ---------------------------------------------------------------- blog cards */
.seo-posts { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.seo-post { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--psl-radius); color: inherit; background: #fff;
    border: 1px solid var(--psl-line); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.seo-post:hover { border-color: var(--psl-blue-200); box-shadow: var(--psl-shadow-sm); transform: translateY(-2px); text-decoration: none; color: inherit; }
.seo-post:focus-visible { outline: 3px solid var(--psl-focus); outline-offset: 2px; }
.seo-post__thumb { position: relative; display: flex; align-items: flex-end; height: 120px; padding: 14px 16px; overflow: hidden; background: var(--psl-grad-navy); }
.seo-post__thumb::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
    border: 22px solid rgba(18, 176, 122, .3); }
.seo-post__thumb--2 { background: linear-gradient(135deg, var(--psl-blue), var(--psl-navy-800)); }
.seo-post__thumb--3 { background: linear-gradient(135deg, var(--psl-mint-600), var(--psl-navy-800)); }
.seo-post__thumb > span { position: relative; z-index: 1; padding: 3px 10px; border-radius: var(--psl-pill); font-size: .74rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: var(--psl-navy-900); background: #fff; }
.seo-post__body { display: block; padding: 16px 18px 20px; }
.seo-post__body small { display: block; font-size: .78rem; color: var(--psl-ink-3); }
.seo-post__body h3 { margin: 6px 0; font-family: var(--psl-font-display); font-size: 1.08rem; font-weight: 700; line-height: 1.35; color: var(--psl-ink); }
.seo-post__p { display: block; font-size: .9rem; line-height: 1.55; color: var(--psl-ink-2); }

/* ---------------------------------------------------------------- blog article */
.seo-meta { margin: 0; font-size: .88rem; color: var(--psl-ink-3); }
.seo-article .pl-wrap { max-width: calc(760px + 2 * var(--psl-gutter)); }
.seo-article__body { font-size: 1.04rem; line-height: 1.78; color: var(--psl-ink-2); }
.seo-article__body > p:first-child { font-size: 1.12rem; color: var(--psl-ink); }
.seo-article__body h2 { margin: 2em 0 .5em; font-family: var(--psl-font-display); font-size: 1.35rem; font-weight: 800; color: var(--psl-navy-900); }
.seo-article__body h2::before { content: ""; display: block; width: 32px; height: 4px; margin-bottom: 12px; border-radius: 4px; background: var(--psl-grad-bar); }
.seo-article__body p { margin: 0 0 1.1em; }
.seo-article__body .pl-table-wrap { margin: 0 0 1.2em; }
.seo-article__body .pl-table { font-size: .9rem; line-height: 1.5; }
.seo-list { display: grid; gap: 10px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.seo-list li { position: relative; padding-left: 26px; }
.seo-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--psl-mint);
    box-shadow: 0 0 0 4px var(--psl-mint-50); }
.seo-postcta { display: grid; gap: 14px; margin-top: 32px; padding: 20px; border-radius: var(--psl-radius); background: var(--psl-blue-50);
    border-left: 4px solid var(--psl-blue); }
.seo-postcta b { display: block; font-family: var(--psl-font-display); font-size: 1.1rem; color: var(--psl-navy-900); }
.seo-postcta p { margin: 2px 0 0; color: var(--psl-ink-2); }

/* ---------------------------------------------------------------- breakpoints */
@media (min-width: 576px) {
    .seo-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seo-postcta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}
@media (min-width: 768px) {
    .seo-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .seo-article__body h2 { font-size: 1.55rem; }
}
@media (min-width: 992px) {
    .seo-split { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
    .seo-split > aside { position: sticky; top: calc(var(--psl-header-h) + 20px); }
    .seo-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .seo-hub { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* responsive audit: 14 px minimum text on phones */
@media (max-width: 767.98px) {
    .seo-ticks small, .seo-steps__label, .seo-hub__sub, .seo-post__thumb > span, .seo-post__body small, .seo-note, .seo-aside__p { font-size: .875rem; }
}
/* responsive audit: long city names ("Hyderabad", "Ahmedabad") stay inside their cards on narrow phones */
.seo-hub__title { font-size: clamp(1rem, 5vw, 1.5rem); }
/* responsive audit (built release, --stress): CMS city names of any length ("Thiruvananthapuram Metropolitan Region")
   wrap instead of overflowing the hero chip, the headings, the hub cards and the "Apply from <city>" button */
.seo-hero .pl-chip { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.seo-hero .pl-h1, .pl-section .pl-h2, .seo-hub__title { overflow-wrap: anywhere; }
aside.pl-box > .pl-btn--block { white-space: normal; text-align: center; overflow-wrap: anywhere; }
