/* School Portal Sales — landing page design (works inside Astra's full-width "page builder" layout). */
.ssa {
  --ssa-text: #1e293b; --ssa-muted: #64748b; --ssa-line: #e2e8f0; --ssa-soft: #f8fafc; --ssa-green: #16a34a; --ssa-wa: #25d366;
  color: var(--ssa-text); font-size: 16px; line-height: 1.6;
}
.ssa *, .ssa *::before, .ssa *::after { box-sizing: border-box; }
/* Full-width page: Astra's content box becomes edge-to-edge (no flex, no padding, no sidebar)
   so every section can run the whole width of the screen. */
body.ssa-landing .site-content > .ast-container,
body.ssa-landing #content > .ast-container { display: block !important; max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin: 0 !important; }
body.ssa-landing #primary, body.ssa-landing .site-main, body.ssa-landing .content-area { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; border: 0 !important; }
body.ssa-landing #secondary, body.ssa-landing .ast-separate-container .ast-article-single:empty { display: none !important; }
body.ssa-landing .site-content { padding: 0 !important; }
.ssa { width: 100%; flex: 1 1 100%; overflow-x: clip; }
.ssa > section, .ssa-page > section { width: 100%; }
.ssa-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.ssa-narrow { max-width: 780px; }
.ssa h1, .ssa h2, .ssa h3 { color: inherit; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.ssa h2 { font-size: clamp(26px, 3.2vw, 34px); text-align: center; color: #0f172a; }
.ssa h3 { font-size: 17px; font-weight: 700; color: #0f172a; margin-top: 8px; }
.ssa p { margin: 0; }
.ssa-sub { text-align: center; color: var(--ssa-muted); margin-top: 8px !important; }
.ssa-muted { color: var(--ssa-muted); font-size: 14px; }
.ssa-section { padding: 64px 0; }
.ssa-alt { background: var(--ssa-soft); }

/* Buttons */
.ssa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none !important; border: 0; cursor: pointer; transition: transform .15s, opacity .15s; }
.ssa-btn:hover { transform: translateY(-1px); }
.ssa-btn:disabled { opacity: .6; cursor: default; }
.ssa-btn-light { background: #fff; color: #0f172a !important; }
.ssa-btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff !important; }
.ssa-btn-wa { background: var(--ssa-wa); color: #fff !important; }
.ssa-btn-accent { background: var(--ssa-accent); color: #fff !important; }
.ssa-btn-dark { background: #0f172a; color: #fff !important; margin-top: 22px; }
.ssa-btn-outline { border: 1px solid var(--ssa-line); color: #0f172a !important; background: #fff; width: 100%; margin-top: 20px; }

/* Hero */
.ssa-hero { background: linear-gradient(180deg, var(--ssa-dark) 0%, #1e293b 100%); color: #fff; padding: 72px 0; }
.ssa-hero-grid { display: grid; gap: 40px; align-items: center; }
.ssa-hero h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.12; color: #fff; }
.ssa-eyebrow { display: inline-block; background: rgba(255,255,255,.1); color: #e2e8f0; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.ssa-lead { color: #cbd5e1; font-size: 18px; margin-top: 16px !important; }
.ssa-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.ssa-hero .ssa-muted { color: #94a3b8; }
.ssa-ticks { list-style: none; margin: 0; padding: 26px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #e2e8f0; }
.ssa-ticks li { display: flex; gap: 12px; padding: 7px 0; }
.ssa-ticks li span, .ssa-plan li span { color: #4ade80; font-weight: 700; }
.ssa-plan li span { color: var(--ssa-green); }

/* Cards */
.ssa-grid3 { display: grid; gap: 20px; margin-top: 36px; }
.ssa-card { border: 1px solid var(--ssa-line); border-radius: 18px; padding: 22px; background: #fff; }
.ssa-card p { color: #475569; font-size: 14.5px; margin-top: 6px !important; }
.ssa-icon { font-size: 30px; line-height: 1; }
.ssa-step { width: 40px; height: 40px; border-radius: 50%; background: #0f172a; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* Screenshots */
.ssa-shot-main { margin: 34px 0 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(15,23,42,.35); border: 1px solid var(--ssa-line); }
.ssa-shot-main img, .ssa-shot img { display: block; width: 100%; height: auto; }
.ssa-caption { text-align: center; color: var(--ssa-muted); font-size: 14px; margin-top: 10px !important; }
.ssa-shot { margin: 0; }
.ssa-shot-box { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--ssa-line); box-shadow: 0 14px 30px -18px rgba(15,23,42,.35); }
.ssa-shot-box img { height: 100% !important; object-fit: cover; object-position: top; }
.ssa-shot-box img.fit-contain { object-fit: contain; padding: 8px; }
.ssa-shot-box img.fit-left { object-position: left top; }
.ssa-shot figcaption { text-align: center; font-size: 14px; color: #475569; margin-top: 10px; }

/* Pricing */
.ssa-plans { display: grid; gap: 20px; margin-top: 36px; }
.ssa-plan { background: #fff; border: 1px solid var(--ssa-line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.ssa-plan.is-popular { border: 2px solid #0f172a; box-shadow: 0 24px 50px -24px rgba(15,23,42,.45); }
.ssa-plan h3 { margin-top: 0; font-size: 19px; }
.ssa-pill { align-self: flex-start; background: #0f172a; color: #fff; border-radius: 999px; padding: 2px 12px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.ssa-price { font-size: 26px; font-weight: 800; color: #0f172a; margin-top: 4px; }
.ssa-plan ul { list-style: none; margin: 16px 0 0; padding: 0; font-size: 14.5px; flex: 1; }
.ssa-plan li { display: flex; gap: 8px; padding: 4px 0; }

/* Urdu */
.ssa-urdu { background: #ecfdf5; text-align: center; font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif; }
.ssa-urdu h2 { line-height: 1.9; font-family: inherit; }
.ssa-urdu p { font-size: 19px; line-height: 2.3; color: #334155; margin-top: 14px !important; }

/* FAQ */
.ssa-faq { border: 1px solid var(--ssa-line); border-radius: 16px; padding: 16px 18px; margin-top: 12px; background: #fff; }
.ssa-faq:first-of-type { margin-top: 30px; }
.ssa-faq[open] { background: var(--ssa-soft); }
.ssa-faq summary { cursor: pointer; font-weight: 700; color: #0f172a; list-style: none; }
.ssa-faq summary::-webkit-details-marker { display: none; }
.ssa-faq summary::before { content: "›"; display: inline-block; margin-inline-end: 10px; transition: transform .15s; }
.ssa-faq[open] summary::before { transform: rotate(90deg); }
.ssa-faq p { color: #475569; font-size: 14.5px; margin-top: 8px !important; }

/* Demo form */
.ssa-form { display: grid; gap: 14px; margin-top: 30px; }
.ssa-form label { display: block; }
.ssa-form label > span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ssa-muted); margin-bottom: 6px; }
.ssa-form input, .ssa-form select, .ssa-form textarea { width: 100%; border: 1px solid var(--ssa-line); border-radius: 12px; padding: 11px 14px; font-size: 15px; background: #fff; color: var(--ssa-text); }
.ssa-form input:focus, .ssa-form select:focus, .ssa-form textarea:focus { outline: 0; border-color: var(--ssa-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ssa-accent) 15%, transparent); }
.ssa-form .ssa-btn { padding: 14px; font-size: 16px; }
.ssa-hp { position: absolute !important; left: -9999px !important; }
.ssa-error { color: #e11d48; font-size: 14px; }
.ssa-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 12px; padding: 10px 14px; margin-top: 18px !important; font-size: 14px; }
.ssa-done { margin-top: 30px; background: #ecfdf5; color: #065f46; border-radius: 18px; padding: 28px; text-align: center; font-size: 18px; }
.ssa-done-icon { font-size: 40px; }
.ssa-contact { text-align: center; color: var(--ssa-muted); margin-top: 22px !important; }
.ssa-extra { padding: 40px 20px; }

/* Floating WhatsApp */
.ssa-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 999; display: flex; align-items: center; gap: 8px; background: var(--ssa-wa); color: #fff !important; text-decoration: none !important; font-weight: 700; padding: 12px 16px; border-radius: 999px; box-shadow: 0 12px 28px -8px rgba(0,0,0,.35); }
.ssa-wa-float svg { width: 22px; height: 22px; fill: currentColor; }
.ssa-wa-float span { display: none; }

@media (min-width: 640px) {
  .ssa-form { grid-template-columns: 1fr 1fr; }
  .ssa-full { grid-column: 1 / -1; }
  .ssa-wa-float span { display: inline; }
}
@media (min-width: 768px) {
  .ssa-hero-grid { grid-template-columns: 1.1fr .9fr; }
  .ssa-grid3, .ssa-plans-3 { grid-template-columns: repeat(3, 1fr); }
  .ssa-plans-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) and (max-width: 767px) { .ssa-grid3 { grid-template-columns: 1fr 1fr; } }

/* ===== Multi-page site ===== */

.ssa-center { text-align: center; margin-top: 26px !important; }
.ssa-link { color: var(--ssa-accent) !important; font-weight: 700; text-decoration: none !important; }
.ssa-card.is-link { display: block; text-decoration: none !important; color: inherit !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ssa-card.is-link:hover { transform: translateY(-2px); border-color: #cbd5e1; box-shadow: 0 16px 30px -20px rgba(15,23,42,.4); }
.ssa-more { display: inline-block; margin-top: 10px; color: var(--ssa-accent); font-weight: 700; font-size: 14px; }

/* Inner page hero */
.ssa-page-hero { background: linear-gradient(180deg, var(--ssa-dark) 0%, #1e293b 100%); color: #fff; padding: 48px 0 56px; }
.ssa-page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; max-width: 860px; }
.ssa-page-hero .ssa-lead { max-width: 760px; }
.ssa-page-hero .ssa-actions { margin-bottom: 0; }
.ssa-crumbs { font-size: 13px; color: #94a3b8; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ssa-crumbs a { color: #cbd5e1 !important; text-decoration: none !important; }
.ssa-hero-icon { font-size: 44px; line-height: 1; margin-bottom: 12px; }
.ssa-ur-title, .ssa-ur, .ssa-ur h2, .ssa-ur-line { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif; line-height: 2; }
.ssa-ur p, .ssa-ur li { font-size: 18px; line-height: 2.3; }

/* Article text */
.ssa-content-grid { display: grid; gap: 32px; }
.ssa-prose { font-size: 17px; color: #334155; }
.ssa-prose h2 { text-align: start; font-size: 24px; margin: 30px 0 10px !important; }
.ssa-prose h2:first-child { margin-top: 0 !important; }
.ssa-prose p { margin: 0 0 14px !important; }
.ssa-prose ul { margin: 0 0 16px 1.2em; padding: 0; }
.ssa-prose li { margin: 6px 0; }
.ssa-side { display: grid; gap: 16px; align-content: start; }
.ssa-side h3 { margin: 0 0 8px; }
.ssa-side-links { list-style: none; margin: 0; padding: 0; }
.ssa-side-links li { padding: 6px 0; border-bottom: 1px solid var(--ssa-line); }
.ssa-side-links a { text-decoration: none !important; color: #0f172a !important; font-size: 15px; }
@media (min-width: 900px) { .ssa-content-grid { grid-template-columns: 1fr 300px; } .ssa-side { position: sticky; top: 100px; } }

/* Call to action */
.ssa-cta-band, .ssa-cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-radius: 20px; padding: 26px 28px; margin-top: 44px; background: var(--ssa-dark); color: #fff; }
.ssa-cta-text strong { display: block; font-size: 20px; }
.ssa-cta-text span { color: #cbd5e1; font-size: 15px; }
.ssa-cta-band .ssa-actions, .ssa-cta-box .ssa-actions { margin: 0; }
.ssa-cta-box { margin: 36px 0 10px; }

/* ===== Header ===== */
.ssa-i { width: 16px; height: 16px; flex: none; vertical-align: -3px; }
.ssa-topbar { background: #0b1220; color: #cbd5e1; font-size: 13px; }
.ssa-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.ssa-topbar-links, .ssa-topbar-right { display: flex; align-items: center; gap: 22px; }
.ssa-topbar a { display: inline-flex; align-items: center; gap: 7px; color: #e2e8f0 !important; text-decoration: none !important; }
.ssa-topbar a:hover { color: #fff !important; }
.ssa-topbar .ssa-i { color: var(--ssa-accent, #da1f25); }
.ssa-topbar-wa { background: #25d366; color: #fff !important; padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.ssa-topbar-wa .ssa-i { color: #fff !important; }
@media (max-width: 767px) { .ssa-hide-sm { display: none !important; } .ssa-topbar-links { gap: 14px; } .ssa-topbar-links a span { font-size: 12px; } }
@media (max-width: 420px) { .ssa-topbar-links a[href^="mailto"] span { display: none; } }

/* Astra header: sticky, white, soft shadow; the logo is the full "SchoolERP" wordmark */
#masthead { position: sticky; top: 0; z-index: 99; background: #fff; box-shadow: 0 1px 0 #e2e8f0, 0 8px 24px -18px rgba(15,23,42,.35); }
.admin-bar #masthead { top: 32px; }
#masthead .main-header-bar, #masthead .ast-primary-header-bar { border-bottom: 0 !important; }
#masthead .custom-logo { max-height: 52px; width: auto; }
.main-header-menu > .menu-item > .menu-link, .main-header-menu > .menu-item > a { font-weight: 600; color: #1e293b; }
.main-header-menu > .menu-item:hover > .menu-link, .main-header-menu > .current-menu-item > .menu-link { color: var(--ssa-accent, #da1f25) !important; }
.main-header-menu .sub-menu { border-top: 3px solid var(--ssa-accent, #da1f25) !important; border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px -16px rgba(15,23,42,.35); }
.main-header-menu .ssa-menu-cta > a.ssa-menu-btn, .ast-header-break-point .ssa-menu-cta > a.ssa-menu-btn { background: var(--ssa-accent, #da1f25); color: #fff !important; border-radius: 10px; padding: 9px 18px !important; margin: 10px 0 10px 10px; line-height: 1.5; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(218,31,37,.6); }
.main-header-menu .ssa-menu-cta > a.ssa-menu-btn:hover { filter: brightness(1.06); color: #fff !important; }

/* ===== Footer ===== */
/* Astra's own footer bar is replaced by ours. */
#colophon, .site-footer { display: none !important; }
.ssa-footer-wrap { width: 100%; }
.ssa-cta-strip { background: linear-gradient(120deg, var(--ssa-accent, #da1f25) 0%, #a3121a 100%); color: #fff; padding: 46px 0; }
.ssa-cta-strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.ssa-cta-strip h2 { color: #fff !important; text-align: start; font-size: clamp(24px, 3vw, 32px); }
.ssa-cta-strip p { color: #fee2e2; margin-top: 6px !important; font-size: 16px; }
.ssa-cta-strip .ssa-actions { margin: 0; }
.ssa-cta-strip .ssa-btn-light { color: #b3141a !important; }
.ssa-footer { background: #0b1220; color: #94a3b8; padding: 64px 0 0; border-top: 4px solid var(--ssa-accent, #da1f25); }
.ssa-footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
.ssa-footer h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.ssa-footer ul { list-style: none; margin: 0; padding: 0; }
.ssa-footer li { padding: 5px 0; }
.ssa-footer a { color: #cbd5e1 !important; text-decoration: none !important; font-size: 15px; transition: color .15s; }
.ssa-footer a:hover { color: #fff !important; }
.ssa-footer-contact li, .ssa-footer-contact a { display: flex; align-items: center; gap: 10px; }
.ssa-footer-contact .ssa-i { color: var(--ssa-accent, #ff5a5f); width: 18px; height: 18px; }
.ssa-muted-li { color: #64748b; font-size: 14px; }
.ssa-footer-about p { font-size: 15px; line-height: 1.7; margin-top: 14px !important; max-width: 360px; }
.ssa-footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.ssa-footer-brand span { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.ssa-footer-brand em { font-style: normal; color: #ff5a5f; margin-inline-start: 1px; }
.ssa-ur-line { color: #64748b !important; font-size: 15px !important; }
.ssa-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13.5px; color: #64748b; }
.ssa-footer-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (min-width: 900px) { .ssa-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
@media (min-width: 600px) and (max-width: 899px) { .ssa-footer-grid { grid-template-columns: 1fr 1fr; } }
.ssa-page-hero[dir="rtl"] .ssa-lead { font-family: "Noto Nastaliq Urdu", serif; line-height: 2.3; font-size: 17px; }
.ssa-page-hero[dir="rtl"] h1 { line-height: 1.9; }
.ssa-page-hero[dir="rtl"] .ssa-crumbs { font-family: inherit; line-height: 2; }

/* ===== Blog ===== */
.ssa-grid4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; }
.ssa-blog-hero { padding-bottom: 64px; }
.ssa-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ssa-chip-link { border: 1px solid rgba(255,255,255,.18); color: #e2e8f0 !important; text-decoration: none !important; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; transition: background .15s; }
.ssa-chip-link small { opacity: .6; margin-inline-start: 4px; }
.ssa-chip-link:hover { background: rgba(255,255,255,.08); }
.ssa-chip-link.is-on { background: #fff; color: #0f172a !important; border-color: #fff; }
.ssa-chip { display: inline-block; background: #fef2f2; color: var(--ssa-accent, #da1f25); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }

/* Covers: the featured image, or a designed cover by topic */
.ssa-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #0f172a; }
.ssa-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ssa-cover-art { display: flex; align-items: center; justify-content: center; }
.ssa-cover-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.22), transparent 45%), radial-gradient(circle at 85% 90%, rgba(0,0,0,.25), transparent 50%); }
.ssa-cover-art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 18px 18px; }
.ssa-cover-emoji { position: relative; z-index: 1; font-size: 64px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
.ssa-cover-mark { position: absolute; z-index: 1; left: 16px; bottom: 12px; color: rgba(255,255,255,.85); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.ssa-cover-cat { position: absolute; z-index: 1; right: 14px; top: 12px; background: rgba(255,255,255,.18); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 700; backdrop-filter: blur(4px); }
.cov-red { background: linear-gradient(135deg, #ef4444, #991b1b); }
.cov-green { background: linear-gradient(135deg, #10b981, #065f46); }
.cov-violet { background: linear-gradient(135deg, #8b5cf6, #4c1d95); }
.cov-sky { background: linear-gradient(135deg, #38bdf8, #075985); }
.cov-amber { background: linear-gradient(135deg, #f59e0b, #92400e); }
.cov-navy { background: linear-gradient(135deg, #334155, #0f172a); }

/* Post cards */
.ssa-post-grid { display: grid; gap: 26px; }
.ssa-post-card { background: #fff; border: 1px solid var(--ssa-line); border-radius: 22px; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.ssa-post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(15,23,42,.35); }
.ssa-post-card:hover .ssa-cover img { transform: scale(1.04); }
.ssa-post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit !important; text-decoration: none !important; padding: 12px; }
.ssa-post-card .ssa-cover { border-radius: 14px; }
.ssa-post-card-body { padding: 16px 10px 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ssa-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ssa-muted); font-size: 13px; }
.ssa-post-title { font-size: 20px !important; line-height: 1.35 !important; color: #0f172a !important; text-align: start !important; margin: 0 !important; }
.ssa-post-title.ssa-ur-title { line-height: 2 !important; }
.ssa-post-excerpt { color: #475569; font-size: 15px; line-height: 1.65; }
.ssa-post-card .ssa-more { margin-top: auto; }
.ssa-post-card.is-big .ssa-post-title { font-size: clamp(22px, 2.6vw, 30px) !important; }
@media (min-width: 720px) { .ssa-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .ssa-post-grid { grid-template-columns: repeat(3, 1fr); }
  .ssa-post-card.is-big { grid-column: 1 / -1; }
  .ssa-post-card.is-big .ssa-post-card-link { flex-direction: row; align-items: center; gap: 28px; padding: 16px; }
  .ssa-post-card.is-big .ssa-cover { flex: 0 0 56%; }
  .ssa-post-card.is-big .ssa-post-card-body { padding: 10px 14px 10px 0; }
}
.ssa-post-grid-3 { margin-top: 30px; }
@media (min-width: 1024px) { .ssa-post-grid-3 .ssa-post-card.is-big { grid-column: auto; } }

/* Pagination */
.ssa-pagination .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.ssa-pagination .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--ssa-line); color: #0f172a !important; text-decoration: none !important; font-weight: 700; background: #fff; }
.ssa-pagination .page-numbers.current { background: var(--ssa-accent, #da1f25); color: #fff !important; border-color: transparent; }

/* Article */
.ssa-article-hero { padding-bottom: 120px; }
.ssa-article-hero h1 { font-size: clamp(30px, 4.4vw, 46px) !important; }
.ssa-article-meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: #cbd5e1; font-size: 14px; line-height: 1.5; }
.ssa-article-meta b { color: #fff; }
.ssa-article-section { padding-top: 0 !important; }
.ssa-article-cover { margin-top: -88px; box-shadow: 0 30px 60px -30px rgba(15,23,42,.6); border: 6px solid #fff; border-radius: 22px; }
.ssa-article { font-size: 18px; line-height: 1.85; color: #1e293b; margin-top: 40px; }
.ssa-article h2 { font-size: 26px !important; margin: 40px 0 12px !important; }
.ssa-article h3 { font-size: 21px; margin: 28px 0 10px; }
.ssa-article p { margin: 0 0 18px !important; }
.ssa-article a { color: var(--ssa-accent, #da1f25); font-weight: 600; }
.ssa-article img { border-radius: 14px; height: auto; max-width: 100%; }
.ssa-article blockquote { margin: 24px 0; padding: 16px 20px; border-inline-start: 4px solid var(--ssa-accent, #da1f25); background: #fef2f2; border-radius: 0 12px 12px 0; color: #334155; font-style: normal; }
.ssa-article ul li::marker, .ssa-article ol li::marker { color: var(--ssa-accent, #da1f25); font-weight: 700; }
.ssa-article[dir="rtl"], .ssa-article[dir="rtl"] h2 { font-family: "Noto Nastaliq Urdu", serif; line-height: 2.3; }
.ssa-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--ssa-line); font-weight: 700; color: #0f172a; }
.ssa-share a { border-radius: 999px; padding: 7px 16px; color: #fff !important; text-decoration: none !important; font-size: 14px; }
.ssa-share-wa { background: #25d366; } .ssa-share-fb { background: #1877f2; } .ssa-share-in { background: #0a66c2; }

.ssa-post-card-body[dir="rtl"] .ssa-post-meta { justify-content: flex-end; }

/* ===== Blog v2 (light, magazine style) ===== */
.ssa-blog-light { background: #fbf8f2; }
.ssa-accent { font-style: normal; color: var(--ssa-accent, #da1f25); }
.ssa-serif-title { font-family: "DM Serif Display", Georgia, "Times New Roman", serif !important; font-weight: 400 !important; letter-spacing: -0.01em; color: #0f172a !important; line-height: 1.12 !important; }
.ssa-kicker { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--ssa-accent, #da1f25); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.ssa-kicker::before, .ssa-kicker::after { content: ""; width: 34px; height: 1.5px; background: currentColor; opacity: .6; }
.ssa-blog-head { padding: 70px 0 34px; text-align: center; }
.ssa-blog-head .ssa-serif-title { font-size: clamp(36px, 5.4vw, 62px) !important; margin: 16px auto 0 !important; max-width: 940px; text-align: center !important; }
.ssa-blog-sub { color: #334155; font-size: 17px; margin-top: 16px !important; }
.ssa-chips-light { justify-content: center; }
.ssa-chips-light .ssa-chip-link { border-color: #e7dfd1; color: #334155 !important; background: #fff; }
.ssa-chips-light .ssa-chip-link.is-on { background: #0f172a; color: #fff !important; border-color: #0f172a; }
.ssa-crumbs-light { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #475569; margin-bottom: 18px; text-align: start; }
.ssa-crumbs-light a { color: var(--ssa-accent, #da1f25) !important; text-decoration: none !important; }
.ssa-blog-head .ssa-crumbs-light { justify-content: center; }
.ssa-blog-list { padding: 26px 0 70px; }

/* Cards */
.ssa-bgrid { display: grid; gap: 26px; }
@media (min-width: 720px) { .ssa-bgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ssa-bgrid { grid-template-columns: repeat(3, 1fr); } }
.ssa-bcard { background: #fff; border: 1px solid #ece4d6; border-radius: 22px; padding: 10px; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.ssa-bcard:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -28px rgba(15,23,42,.35); }
.ssa-bcard-img { position: relative; display: block; text-decoration: none !important; }
.ssa-bcard-img *, .ssa-bcard a, .ssa-bcard a:hover { text-decoration: none !important; }
.ssa-bcard-img .ssa-cover { border-radius: 16px; }
.ssa-bcard:hover .ssa-cover img { transform: scale(1.04); }
.ssa-date-badge { position: absolute; top: -2px; left: -2px; background: #fff; border-radius: 0 0 16px 0; padding: 8px 14px 9px; text-align: center; line-height: 1; box-shadow: 4px 4px 0 #fbf8f2; }
.ssa-date-badge small { display: block; color: var(--ssa-accent, #da1f25); font-size: 13px; font-weight: 600; }
.ssa-date-badge b { display: block; color: #0f172a; font-size: 26px; font-weight: 800; margin-top: 3px; }
.ssa-bcard-body { padding: 16px 10px 8px; display: flex; flex-direction: column; flex: 1; }
.ssa-bcard-title { font-size: 19px !important; line-height: 1.35 !important; margin: 0 0 10px !important; font-weight: 700 !important; text-align: start !important; }
.ssa-bcard-title a { color: #0f172a !important; text-decoration: none !important; }
.ssa-bcard-title.ssa-ur-title { line-height: 2 !important; }
.ssa-bcard-excerpt { color: #334155; font-size: 15px; line-height: 1.6; }
.ssa-bcard-by { margin-top: 14px; font-size: 14px; color: #475569; }
.ssa-bcard-by b { color: var(--ssa-accent, #da1f25); font-weight: 600; }
.ssa-bcard-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ssa-pill { display: inline-flex; align-items: center; gap: 6px; background: #fdf2f2; color: #7f1d1d !important; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; text-decoration: none !important; }
.ssa-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ssa-accent, #da1f25); }
.ssa-round-arrow { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ssa-accent, #da1f25); color: #fff !important; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -8px rgba(218,31,37,.7); transition: transform .15s; }
.ssa-round-arrow:hover { transform: translateX(3px); }
.ssa-round-arrow .ssa-i { width: 18px; height: 18px; }

/* Article */
.ssa-article-head { padding: 36px 0 10px; }
.ssa-article-title { font-size: clamp(32px, 5vw, 56px) !important; margin: 0 !important; text-align: start !important; }
.ssa-article-title[dir="rtl"] { font-family: "Noto Nastaliq Urdu", serif !important; line-height: 1.9 !important; }
.ssa-article-byline { margin-top: 16px; color: #475569; font-size: 15px; }
.ssa-article-byline b { color: var(--ssa-accent, #da1f25); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ssa-article-body { padding: 26px 0 50px; }
.ssa-article-grid { display: grid; gap: 34px; align-items: start; }
@media (min-width: 1000px) { .ssa-article-grid { grid-template-columns: minmax(0, 1fr) 360px; } .ssa-article-side { position: sticky; top: 110px; } }
.ssa-article-pic { border-radius: 22px; box-shadow: 0 26px 50px -30px rgba(15,23,42,.45); }
.ssa-article-pic .ssa-cover-emoji { font-size: 90px; }
.ssa-article-main .ssa-article { margin-top: 34px; }
.ssa-article-side { display: grid; gap: 12px; }
.ssa-side-cta, .ssa-side-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #ece4d6; border-radius: 18px; padding: 16px 18px; text-decoration: none !important; color: #0f172a !important; }
.ssa-side-cta { background: #fef2f2; border-color: #fbd5d5; padding: 20px 18px; }
.ssa-side-cta-ic { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--ssa-accent, #da1f25); color: #fff; display: flex; align-items: center; justify-content: center; transform: rotate(-45deg); }
.ssa-side-cta b, .ssa-side-item b { display: block; font-size: 15px; }
.ssa-side-cta small, .ssa-side-item small { display: block; color: #475569; font-size: 13.5px; margin-top: 2px; line-height: 1.45; }
.ssa-side-cta > span:nth-child(2), .ssa-side-item > span:nth-child(2) { flex: 1; }
.ssa-side-cta i, .ssa-side-item i { font-style: normal; color: var(--ssa-accent, #da1f25); font-size: 22px; }
.ssa-side-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fbf8f2; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ssa-side-more { display: block; text-align: center; background: #fef2f2; color: #991b1b !important; font-weight: 700; border-radius: 16px; padding: 16px; text-decoration: none !important; }
.ssa-side-share { margin-top: 10px; }
.ssa-side-share b { display: block; font-size: 15px; color: #0f172a; margin-bottom: 10px; }
.ssa-side-share div { display: flex; gap: 10px; flex-wrap: wrap; }
.ssa-side-share a, .ssa-side-share button { width: 42px; height: 42px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: 16px; cursor: pointer; }
.sh-fb { background: #1877f2; } .sh-x { background: #0f172a; } .sh-wa { background: #25d366; } .sh-in { background: #0a66c2; } .sh-copy { background: #94a3b8; }
.ssa-related { border-top: 1px solid #ece4d6; padding-top: 56px; text-align: center; }
.ssa-related-title { font-size: clamp(30px, 4vw, 44px) !important; margin: 12px 0 30px !important; text-align: center !important; }
.ssa-related .ssa-bgrid { text-align: start; }
.ssa-blog-light .ssa-cta-box { margin-bottom: 60px; }
