/* ==========================================================================
   RapidLab – Digital Loan Website Styles
   Sections: header, hero, loan products, offers, stats, features, steps,
   testimonials, blog, EMI calc, eligibility, footer.
   ========================================================================== */

html, body { overflow-x: hidden; }
body { max-width: 100vw; }

:root {
    --dl-navy: #0c2758;
    --dl-navy-2: #1a3a8a;
    --dl-accent: #f5b834;
    --dl-accent-2: #ff8a00;
    --dl-text: #1a2638;
    --dl-muted: #64748b;
    --dl-bg: #ffffff;
    --dl-bg-soft: #f5f7fb;
    --dl-border: #e2e8f0;
    --dl-radius: 14px;
    --dl-shadow: 0 6px 24px rgba(12, 39, 88, 0.08);
    --dl-shadow-strong: 0 14px 40px rgba(12, 39, 88, 0.14);
}

.dl-section { padding: 72px 0; }
.dl-section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.dl-section-title { font-size: 32px; font-weight: 700; color: var(--dl-text); margin-bottom: 12px; }
.dl-section-title .text-muted-soft { color: var(--dl-muted); font-weight: 400; }
.dl-section-sub { color: var(--dl-muted); font-size: 16px; margin: 0; }
.dl-muted { color: var(--dl-muted); }
.dl-link { color: var(--dl-navy-2); font-weight: 600; text-decoration: none; }
.dl-link:hover { text-decoration: underline; }

.dl-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: all .2s; border: 2px solid transparent; cursor: pointer; font-size: 14px; }
.dl-btn-primary { background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2)); color: #fff; }
.dl-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(12,39,88,.25); color: #fff; }
.dl-btn-outline { background: transparent; color: var(--dl-navy); border-color: var(--dl-navy); }
.dl-btn-outline:hover { background: var(--dl-navy); color: #fff; }
.dl-btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.dl-btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.dl-btn-block { width: 100%; justify-content: center; }
.dl-btn-sm { padding: 8px 14px; font-size: 13px; }

/* HERO */
.dl-hero { position: relative; padding: 80px 0 100px; background: linear-gradient(135deg, #061f4a 0%, #0c2758 50%, #1a3a8a 100%); color: #fff; overflow: hidden; }
.dl-hero::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.05); top: -200px; right: -200px; }
.dl-hero::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(245,184,52,.08); bottom: -160px; left: -120px; }
.dl-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 991px) { .dl-hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.dl-eyebrow { display: inline-block; padding: 6px 14px; background: rgba(245,184,52,.18); color: var(--dl-accent); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .3px; margin-bottom: 16px; }
.dl-hero-title { font-size: 48px; line-height: 1.15; font-weight: 800; margin: 0 0 18px; }
@media (max-width: 768px) { .dl-hero-title { font-size: 34px; } }
.dl-hero-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 540px; margin-bottom: 28px; }
.dl-hero-bullets { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.dl-hero-bullets li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-size: 14px; }
.dl-hero-bullets i { color: var(--dl-accent); font-size: 18px; }
.dl-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.dl-trustbar { display: flex; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.6); font-size: 13px; }
.dl-trustbar small { margin: 0; }

.dl-hero-card { background: #fff; border-radius: var(--dl-radius); padding: 32px 28px; color: var(--dl-text); box-shadow: var(--dl-shadow-strong); }
.dl-hero-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.dl-hero-card .dl-muted { margin: 0 0 18px; font-size: 13px; }
.dl-apply-form .dl-field { margin-bottom: 12px; }
.dl-field { position: relative; }
.dl-field i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dl-muted); font-size: 18px; }
.dl-field input, .dl-field select, .dl-field textarea {
    width: 100%; padding: 12px 14px 12px 42px; border: 1.5px solid var(--dl-border); border-radius: 8px;
    font-size: 14px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.dl-field input:focus, .dl-field select:focus, .dl-field textarea:focus { outline: none; border-color: var(--dl-navy-2); box-shadow: 0 0 0 3px rgba(26,58,138,.12); }
.dl-terms { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--dl-muted); margin: 12px 0 18px; }
.dl-terms input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.dl-terms a { color: var(--dl-navy-2); }
.dl-tc { font-size: 11px; color: var(--dl-muted); text-align: center; margin: 12px 0 0; }

/* LOAN PRODUCT GRID */
.dl-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .dl-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .dl-product-grid { grid-template-columns: 1fr; } }

/* Enhanced loan product cards (item #3) */
.dl-loan-grid { position: relative; }
.dl-loan-grid::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 10% 0%, rgba(245,184,52,.06), transparent 40%),
                    radial-gradient(circle at 90% 100%, rgba(12,39,88,.05), transparent 40%);
  pointer-events: none;
}
.dl-product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--dl-border); border-radius: 18px;
  padding: 32px 28px; text-decoration: none; color: var(--dl-text);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden; min-height: 240px;
}
.dl-product-card::before {
  content: ''; position: absolute; top: 0; right: 0; width: 90px; height: 90px;
  background: linear-gradient(135deg, transparent 50%, rgba(245,184,52,.12) 50%);
  border-radius: 0 0 0 100%; transition: all .3s;
}
.dl-product-card::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--dl-accent), var(--dl-accent-2));
  transition: width .35s;
}
.dl-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(12,39,88,.18);
  border-color: var(--dl-navy-2);
}
.dl-product-card:hover::before { width: 140px; height: 140px; background: linear-gradient(135deg, transparent 50%, rgba(245,184,52,.22) 50%); }
.dl-product-card:hover::after { width: 100%; }

.dl-product-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2));
  color: #fff; font-size: 30px; margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(12,39,88,.22);
  transition: transform .3s;
}
.dl-product-card:nth-child(3n+2) .dl-product-icon {
  background: linear-gradient(135deg, #b8860b, var(--dl-accent));
  color: #fff; box-shadow: 0 8px 20px rgba(245,184,52,.3);
}
.dl-product-card:nth-child(3n+3) .dl-product-icon {
  background: linear-gradient(135deg, #1a3a8a, #4f6dab);
  box-shadow: 0 8px 20px rgba(26,58,138,.3);
}
.dl-product-card:hover .dl-product-icon { transform: scale(1.08) rotate(-3deg); }

.dl-product-card h4 { font-size: 21px; font-weight: 800; margin: 0 0 6px; color: var(--dl-navy); }
.dl-product-tag {
  display: inline-block; padding: 4px 12px;
  background: linear-gradient(135deg, #fff4d4, #ffe49a);
  color: #7a5800; font-size: 11px; font-weight: 700;
  border-radius: 999px; margin: 4px 0 14px;
  text-transform: uppercase; letter-spacing: .5px;
  align-self: flex-start;
}
.dl-product-desc { color: var(--dl-muted); font-size: 14px; line-height: 1.6; margin: 0 0 20px; flex: 1; }
.dl-product-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--dl-navy-2); font-weight: 700; font-size: 14px;
  margin-top: auto;
  transition: gap .2s;
}
.dl-product-card:hover .dl-product-link { gap: 12px; }
.dl-product-link i { transition: transform .2s; }
.dl-product-card:hover .dl-product-link i { transform: translateX(4px); }

/* "Popular" badge variant */
.dl-product-card.is-popular { border-color: var(--dl-accent); }
.dl-product-card.is-popular::after { background: linear-gradient(90deg, var(--dl-accent), #e89c10); width: 100%; }
.dl-product-popular-badge {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  background: linear-gradient(135deg, var(--dl-accent), #e89c10);
  color: #4a2c00; font-size: 10px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(245,184,52,.4);
}

/* Section header enhancements (item #3) */
.dl-section-head-center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.dl-section-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #fff4d4, #ffe49a);
  color: #7a5800; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 14px;
}
.dl-section-eyebrow i { font-size: 14px; }

/* OFFERS (item #7 enhanced) */
.dl-offers { background: linear-gradient(180deg, #fff, #f5f7fb); position: relative; }
.dl-offers::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 10% 0%, rgba(245,184,52,.06), transparent 40%),
        radial-gradient(circle at 90% 100%, rgba(12,39,88,.04), transparent 40%);
    pointer-events: none;
}
.dl-offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 991px) { .dl-offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .dl-offer-grid { grid-template-columns: 1fr; } }

.dl-offer-card {
    position: relative; background: #fff;
    border-radius: 16px; padding: 26px 24px 24px;
    box-shadow: 0 6px 20px rgba(12,39,88,.06);
    border: 1px solid var(--dl-border);
    transition: all .3s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.dl-offer-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #f5b834, #e89c10);
    opacity: 0; transition: opacity .3s;
}
.dl-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(12,39,88,.18);
    border-color: var(--dl-navy-2);
}
.dl-offer-card:hover::before { opacity: 1; }

.dl-offer-card.is-featured {
    background: linear-gradient(160deg, #0c2758 0%, #1a3a8a 100%);
    color: #fff; border: 0;
    box-shadow: 0 14px 36px rgba(12,39,88,.30);
}
.dl-offer-card.is-featured::before { opacity: 1; }
.dl-offer-card.is-featured .dl-offer-icon {
    background: linear-gradient(135deg, #f5b834, #e89c10);
    color: #1a1d29;
    box-shadow: 0 8px 20px rgba(245,184,52,.40);
}
.dl-offer-card.is-featured .dl-offer-title { color: #fff; }
.dl-offer-card.is-featured .dl-offer-headline { color: #f5b834; }
.dl-offer-card.is-featured .dl-offer-sub { color: rgba(255,255,255,.85); }
.dl-offer-card.is-featured .dl-offer-desc { color: rgba(255,255,255,.75); }
.dl-offer-card.is-featured .dl-offer-meta small { color: rgba(255,255,255,.65); }
.dl-offer-card.is-featured .dl-offer-meta small i { color: #f5b834; }
.dl-offer-card.is-featured .dl-offer-cta {
    background: #f5b834; color: #1a1d29;
    box-shadow: 0 8px 20px rgba(245,184,52,.30);
}
.dl-offer-card.is-featured .dl-offer-cta:hover {
    background: #fff; color: #0c2758;
}

.dl-offer-tag {
    position: absolute; top: 16px; right: 16px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f5b834, #e89c10);
    color: #4a2c00; font-size: 10px; font-weight: 800;
    border-radius: 999px; letter-spacing: .5px;
    z-index: 2;
}
.dl-offer-card.is-featured .dl-offer-tag { top: 50px; }

.dl-offer-flag {
    position: absolute; top: 16px; left: 16px;
    background: linear-gradient(135deg, #ff6b6b, #ee5253);
    color: #fff; font-size: 10px; font-weight: 800;
    padding: 4px 10px; border-radius: 999px;
    letter-spacing: .5px; z-index: 2;
    box-shadow: 0 4px 12px rgba(238,82,83,.40);
}
.dl-offer-flag i { margin-right: 3px; font-size: 11px; }

.dl-offer-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2));
    color: #fff; font-size: 26px; margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(12,39,88,.20);
    flex: 0 0 auto;
    transition: transform .3s;
}
.dl-offer-card:hover .dl-offer-icon { transform: scale(1.08) rotate(-5deg); }

.dl-offer-title {
    font-size: 17px; font-weight: 800; color: var(--dl-navy);
    margin: 0 0 6px; line-height: 1.3;
}
.dl-offer-headline {
    font-size: 14px; font-weight: 800; color: var(--dl-accent-2);
    margin: 0 0 6px;
}
.dl-offer-sub {
    font-size: 13px; color: var(--dl-muted);
    margin: 0 0 10px; line-height: 1.5;
}
.dl-offer-desc {
    font-size: 12.5px; color: var(--dl-muted);
    line-height: 1.55; margin: 0 0 14px;
    flex: 1;
}
.dl-offer-meta {
    margin: 0 0 14px;
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--dl-muted);
}
.dl-offer-meta small { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; }
.dl-offer-meta i { color: var(--dl-accent-2); font-size: 12px; }

.dl-offer-cta {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; padding: 11px 18px; border-radius: 999px;
    background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2));
    color: #fff !important; font-size: 13px; font-weight: 700;
    text-decoration: none; align-self: stretch;
    transition: all .25s;
    box-shadow: 0 6px 16px rgba(12,39,88,.20);
}
.dl-offer-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(12,39,88,.30);
    color: #fff;
}
.dl-offer-cta i { transition: transform .2s; }
.dl-offer-cta:hover i { transform: translateX(3px); }
.dl-offer-card h3 { font-size: 22px; font-weight: 800; color: var(--dl-text); margin: 0 0 6px; }
.dl-offer-desc { font-size: 13px; color: var(--dl-muted); line-height: 1.5; margin: 12px 0 16px; }
.dl-offer-expiry { display: block; margin-top: 12px; color: var(--dl-muted); font-size: 11px; }

/* STATS */
.dl-stats { background: var(--dl-navy); color: #fff; padding: 48px 0; }
.dl-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 600px) { .dl-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.dl-stat-val { font-size: 32px; font-weight: 800; color: var(--dl-accent); margin-bottom: 4px; }
.dl-stat-lbl { font-size: 14px; color: rgba(255,255,255,.75); }

/* FEATURES */
.dl-features {
    background: #fff;
    position: relative;
}
.dl-features::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 90% 0%, rgba(245,184,52,.05), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(12,39,88,.04), transparent 40%);
    pointer-events: none;
}
.dl-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 991px) { .dl-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .dl-feature-grid { grid-template-columns: 1fr; } }
.dl-feature {
    background: #fff;
    border-radius: 16px;
    padding: 32px 26px;
    box-shadow: 0 8px 24px rgba(12,39,88,.06);
    border: 1px solid var(--dl-border);
    transition: all .3s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.dl-feature::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #f5b834, #e89c10);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s;
}
.dl-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(12,39,88,.18);
    border-color: var(--dl-navy-2);
}
.dl-feature:hover::before { transform: scaleX(1); }
.dl-feature-num {
    position: absolute; top: 18px; right: 22px;
    font-size: 48px; font-weight: 900; line-height: 1;
    color: rgba(12,39,88,.06);
    letter-spacing: -.03em;
    transition: color .3s;
    pointer-events: none;
}
.dl-feature:hover .dl-feature-num { color: rgba(245,184,52,.20); }
.dl-feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 16px;
    background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2));
    color: #fff; font-size: 28px; margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(12,39,88,.22);
    transition: transform .3s;
    position: relative; z-index: 1;
}
.dl-feature:nth-child(odd) .dl-feature-icon {
    background: linear-gradient(135deg, #b8860b, var(--dl-accent));
    box-shadow: 0 8px 20px rgba(245,184,52,.30);
}
.dl-feature:hover .dl-feature-icon { transform: scale(1.08) rotate(-5deg); }
.dl-feature h4 {
    font-size: 18px; font-weight: 800; color: var(--dl-navy);
    margin: 0 0 10px; line-height: 1.3;
    position: relative; z-index: 1;
}
.dl-feature p {
    color: var(--dl-muted); font-size: 14px; line-height: 1.65;
    margin: 0;
    position: relative; z-index: 1;
}

/* HOW IT WORKS */
.dl-step-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    position: relative;
}
@media (max-width: 991px) { .dl-step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .dl-step-grid { grid-template-columns: 1fr; } }

.dl-step {
    text-align: center;
    background: #fff;
    border-radius: 18px;
    padding: 36px 24px 30px;
    box-shadow: 0 8px 22px rgba(12,39,88,.06);
    border: 1px solid var(--dl-border);
    position: relative;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.dl-step::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #f5b834, #e89c10);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s;
}
.dl-step:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(12,39,88,.18); border-color: var(--dl-navy-2); }
.dl-step:hover::before { transform: scaleX(1); }

/* Icon (top) */
.dl-step-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 16px;
    background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2));
    color: #fff; font-size: 30px; margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(12,39,88,.22);
    position: relative; z-index: 1;
    transition: transform .3s;
}
.dl-step:nth-child(even) .dl-step-icon {
    background: linear-gradient(135deg, #b8860b, var(--dl-accent));
    box-shadow: 0 8px 20px rgba(245,184,52,.30);
}
.dl-step:hover .dl-step-icon { transform: scale(1.08) rotate(-5deg); }

/* Step number badge (top-right) */
.dl-step-num {
    position: absolute; top: 18px; right: 20px;
    font-size: 38px; font-weight: 900; line-height: 1;
    color: rgba(12,39,88,.08);
    letter-spacing: -.02em;
    transition: color .3s;
    pointer-events: none;
}
.dl-step:hover .dl-step-num { color: rgba(245,184,52,.25); }

.dl-step h5 {
    font-size: 17px; font-weight: 800;
    color: var(--dl-navy);
    margin: 0 0 10px;
    line-height: 1.3;
}
.dl-step p {
    color: var(--dl-muted);
    font-size: 13.5px; line-height: 1.6;
    margin: 0;
}

/* Connecting arrow between steps (desktop only) */
.dl-step:not(:last-child)::after {
    content: "\f105";
    font-family: "Line Awesome Free";
    font-weight: 900;
    position: absolute;
    right: -16px; top: 50%;
    transform: translateY(-50%);
    color: var(--dl-accent);
    font-size: 20px;
    z-index: 2;
    opacity: 0.5;
}
@media (max-width: 991px) { .dl-step:not(:last-child)::after { display: none; } }

/* TESTIMONIALS */
.dl-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 991px) { .dl-testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .dl-testimonial-grid { grid-template-columns: 1fr; } }
.dl-testimonial { background: #fff; border: 1px solid var(--dl-border); border-radius: var(--dl-radius); padding: 28px 24px; box-shadow: var(--dl-shadow); }
.dl-stars { color: var(--dl-accent); margin-bottom: 12px; font-size: 18px; }
.dl-testimonial p { color: var(--dl-text); font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.dl-author { display: flex; align-items: center; gap: 12px; }
.dl-avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2)); color: #fff; font-weight: 700; font-size: 18px; }
.dl-author strong { display: block; color: var(--dl-text); }
.dl-author small { color: var(--dl-muted); font-size: 12px; }

/* BLOG PREVIEW + LIST */
.dl-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .dl-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .dl-blog-grid { grid-template-columns: 1fr; } }
.dl-blog-card { background: #fff; border-radius: var(--dl-radius); overflow: hidden; text-decoration: none; color: var(--dl-text); box-shadow: var(--dl-shadow); transition: transform .2s; border: 1px solid var(--dl-border); }
.dl-blog-card:hover { transform: translateY(-3px); box-shadow: var(--dl-shadow-strong); }
.dl-blog-img { height: 180px; background-size: cover; background-position: center; background-color: var(--dl-navy); }
.dl-blog-img--fallback { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 56px; }
.dl-blog-body { padding: 20px 22px 24px; }
.dl-blog-cat { display: inline-block; padding: 3px 10px; background: rgba(12,39,88,.08); color: var(--dl-navy); font-size: 11px; font-weight: 700; border-radius: 999px; margin-bottom: 10px; }
.dl-blog-card h5 { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; color: var(--dl-text); }
.dl-blog-card p { color: var(--dl-muted); font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
.dl-blog-card small { color: var(--dl-muted); font-size: 12px; }

/* BLOG PAGE */
.dl-page-head { background: linear-gradient(135deg, #061f4a, #0c2758); color: #fff; padding: 60px 0 50px; text-align: center; }
.dl-page-head h1 { font-size: 36px; font-weight: 800; margin: 0 0 8px; }
.dl-page-head p { color: rgba(255,255,255,.75); font-size: 15px; margin: 0; }
.dl-blog-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; background: #fff; border-radius: var(--dl-radius); padding: 24px; box-shadow: var(--dl-shadow); margin-bottom: 32px; text-decoration: none; color: var(--dl-text); align-items: center; }
@media (max-width: 768px) { .dl-blog-feature { grid-template-columns: 1fr; } }
.dl-blog-feature-img { height: 240px; background-size: cover; background-position: center; border-radius: 10px; position: relative; display: flex; align-items: flex-end; padding: 14px; }
.dl-blog-feature h2 { font-size: 26px; font-weight: 700; margin: 0 0 12px; }
.dl-blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 768px) { .dl-blog-list { grid-template-columns: 1fr; } }
.dl-blog-row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; background: #fff; border-radius: var(--dl-radius); padding: 16px; box-shadow: var(--dl-shadow); text-decoration: none; color: var(--dl-text); }
@media (max-width: 600px) { .dl-blog-row { grid-template-columns: 1fr; } }
.dl-blog-row-img { height: 140px; background-size: cover; background-position: center; border-radius: 8px; }
.dl-blog-row-body h4 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.dl-blog-row-body p { color: var(--dl-muted); font-size: 13px; margin: 0 0 8px; }
.dl-blog-row-body small { color: var(--dl-muted); font-size: 12px; }

/* ARTICLE */
.dl-article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 32px; }
@media (max-width: 991px) { .dl-article-wrap { grid-template-columns: 1fr; } }
.dl-article { background: #fff; border-radius: var(--dl-radius); padding: 28px; box-shadow: var(--dl-shadow); }
.dl-article-img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 10px; margin-bottom: 22px; }
.dl-article-body h2, .dl-article-body h3 { color: var(--dl-navy); margin: 24px 0 12px; }
.dl-article-body p { line-height: 1.7; color: var(--dl-text); margin-bottom: 14px; }
.dl-article-body ul, .dl-article-body ol { line-height: 1.7; color: var(--dl-text); margin-bottom: 14px; }
.dl-share { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-top: 1px solid var(--dl-border); margin-top: 24px; }
.dl-share a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dl-navy); color: #fff; font-size: 16px; text-decoration: none; }
.dl-share a:hover { background: var(--dl-navy-2); }
.dl-aside { display: flex; flex-direction: column; gap: 20px; }
.dl-aside-card { background: #fff; border-radius: var(--dl-radius); padding: 22px; box-shadow: var(--dl-shadow); }
.dl-aside-card h5 { font-weight: 700; margin-bottom: 14px; color: var(--dl-navy); }
.dl-aside-item { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--dl-border); text-decoration: none; color: var(--dl-text); }
.dl-aside-item:last-child { border-bottom: 0; }
.dl-aside-thumb { height: 56px; background-size: cover; background-position: center; border-radius: 6px; }
.dl-aside-item h6 { font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0 0 4px; }
.dl-aside-item small { color: var(--dl-muted); font-size: 11px; }
.dl-aside-cta { background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2)); color: #fff; }
.dl-aside-cta h5, .dl-aside-cta p { color: #fff; }
.dl-aside-cta p { font-size: 13px; opacity: .9; margin-bottom: 14px; }

/* EMI / Eligibility Calc */
.dl-calc-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
@media (max-width: 991px) { .dl-calc-wrap { grid-template-columns: 1fr; } }
.dl-calc-form, .dl-calc-result { background: #fff; border-radius: var(--dl-radius); padding: 28px; box-shadow: var(--dl-shadow); }
.dl-calc-group { margin-bottom: 20px; }
.dl-calc-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--dl-text); font-size: 14px; }
.dl-calc-row { display: grid; grid-template-columns: 1fr 180px; gap: 16px; align-items: center; }
@media (max-width: 600px) { .dl-calc-row { grid-template-columns: 1fr; } }
.dl-calc-row input[type="range"] { width: 100%; accent-color: var(--dl-navy); }
.dl-calc-input { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border: 1.5px solid var(--dl-border); border-radius: 8px; }
.dl-calc-input input { border: 0; outline: 0; width: 100%; font-weight: 600; }
.dl-calc-input span { color: var(--dl-muted); font-weight: 600; }
.dl-calc-actions { display: flex; gap: 12px; margin-top: 8px; }
.dl-calc-emi { text-align: center; padding: 20px; background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2)); color: #fff; border-radius: 10px; margin-bottom: 18px; }
.dl-calc-emi small { opacity: .8; font-size: 13px; }
.dl-calc-emi h2 { font-size: 36px; font-weight: 800; margin: 6px 0 0; }
.dl-calc-list { list-style: none; padding: 0; margin: 0 0 18px; }
.dl-calc-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--dl-border); }
.dl-calc-list li:last-child { border-bottom: 0; }
.dl-calc-list .total { font-size: 17px; font-weight: 700; color: var(--dl-navy); }
.dl-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .dl-form-grid { grid-template-columns: 1fr; } }
.dl-form-grid .dl-field input, .dl-form-grid .dl-field select { padding-left: 14px; }
.dl-form-grid .dl-field i { display: none; }
.dl-form-grid .dl-field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; color: var(--dl-text); }

/* USER PORTAL DASHBOARD */
.dl-stat-card { position: relative; padding: 22px 20px; background: #fff; border-radius: var(--dl-radius); box-shadow: var(--dl-shadow); overflow: hidden; }
.dl-stat-card small { color: var(--dl-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.dl-stat-card h3 { font-size: 24px; font-weight: 800; margin: 8px 0 0; color: var(--dl-text); }
.dl-stat-card h3 sub { font-size: 12px; color: var(--dl-muted); font-weight: 500; margin-left: 4px; }
.dl-stat-card i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 56px; opacity: .08; }
.dl-stat-card--balance { background: linear-gradient(135deg, #0c2758, #1a3a8a); color: #fff; }
.dl-stat-card--balance h3, .dl-stat-card--balance small { color: #fff; }
.dl-stat-card--balance small { opacity: .8; }
.dl-stat-card--balance i { color: #fff; }
.dl-stat-card--loans i { color: var(--dl-navy); }
.dl-stat-card--total i { color: var(--dl-accent-2); }
.dl-stat-card--next i { color: var(--dl-navy-2); }

/* ---------- TRUSTED LENDING PARTNERS ---------- */
.dl-partners { background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%); padding: 70px 0 80px; position: relative; overflow: hidden; }
.dl-partners::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(12,39,88,0.05) 1px, transparent 0); background-size: 28px 28px; pointer-events: none; opacity: .6; }

.dl-partners-strip {
    position: relative;
    margin: 36px auto 28px;
    max-width: 1180px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.dl-partners-track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    animation: dl-partners-scroll 38s linear infinite;
}
.dl-partners-track:hover { animation-play-state: paused; }

.dl-partner {
    flex: 0 0 auto;
    width: 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid var(--dl-border);
    border-radius: 10px;
    filter: grayscale(1) opacity(.55);
    transition: filter .35s ease, transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    cursor: default;
}
.dl-partner svg { width: 100%; height: 100%; max-width: 130px; }
.dl-partner img.dl-partner-logo-img { max-width: 110px; max-height: 36px; width: auto; height: auto; object-fit: contain; }
.dl-partner:hover {
    filter: grayscale(0) opacity(1);
    transform: translateY(-4px);
    border-color: rgba(12,39,88,.18);
    box-shadow: 0 14px 30px rgba(12,39,88,.12);
}

@keyframes dl-partners-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.dl-partners-foot {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.dl-partners-foot-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(12,39,88,0.04);
    border: 1px solid var(--dl-border);
    border-radius: 999px;
    color: var(--dl-navy);
    font-size: 13px;
    font-weight: 600;
    transition: all .25s ease;
}
.dl-partners-foot-pill i { color: var(--dl-accent-2); font-size: 14px; }
.dl-partners-foot-pill:hover { background: #fff; border-color: var(--dl-navy-2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(12,39,88,.08); }

@media (max-width: 768px) {
    .dl-partners { padding: 50px 0 60px; }
    .dl-partner { width: 150px; height: 64px; padding: 6px 10px; }
    .dl-partners-track { gap: 22px; }
}

/* ---------- SUCCESS STORIES (VIDEO) ---------- */
.dl-success { background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%); padding: 80px 0; position: relative; }
.dl-success::before { content: ''; position: absolute; top: 40px; right: -120px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(245,184,52,.12), transparent 70%); pointer-events: none; }
.dl-success::after  { content: ''; position: absolute; bottom: 60px; left: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(12,39,88,.08), transparent 70%); pointer-events: none; }

.dl-success-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    align-items: stretch;
}
@media (max-width: 991px) { .dl-success-grid { grid-template-columns: 1fr; } }

.dl-success-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--dl-shadow);
    border: 1px solid var(--dl-border);
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}
.dl-success-card:hover { transform: translateY(-4px); box-shadow: var(--dl-shadow-strong); }

.dl-success-card--featured { min-height: 100%; }
.dl-success-thumb {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #0c2758 0%, #1a3a8a 50%, #2d4e9b 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dl-success-thumb::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.10) 0, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(245,184,52,.18) 0, transparent 40%);
    pointer-events: none;
}
.dl-success-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background-image: linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.05) 50%, rgba(255,255,255,.05) 75%, transparent 75%);
    background-size: 30px 30px;
    opacity: .35;
}

.dl-success-avatar {
    position: relative; z-index: 2;
    width: 130px; height: 130px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 42px; font-weight: 800; letter-spacing: 1px;
    box-shadow: 0 14px 40px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.10);
    transition: transform .35s ease;
}
.dl-success-card:hover .dl-success-avatar { transform: scale(1.06); }
.dl-success-avatar--sm { width: 64px; height: 64px; font-size: 22px; box-shadow: 0 6px 18px rgba(0,0,0,.30), 0 0 0 4px rgba(255,255,255,.10); }

.dl-success-play {
    position: absolute; z-index: 3;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 78px; height: 78px;
    border-radius: 50%;
    background: rgba(245,184,52,.95);
    display: flex; align-items: center; justify-content: center;
    color: #0c2758;
    font-size: 30px;
    box-shadow: 0 12px 30px rgba(0,0,0,.4), 0 0 0 0 rgba(245,184,52,.55);
    cursor: pointer;
    transition: all .3s ease;
}
.dl-success-play::before {
    content: ''; position: absolute; inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(245,184,52,.45);
    animation: dl-pulse 2s ease-out infinite;
}
.dl-success-play--sm { width: 44px; height: 44px; font-size: 18px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.dl-success-play--sm::before { display: none; }
.dl-success-card:hover .dl-success-play { background: var(--dl-accent); transform: translate(-50%, -50%) scale(1.08); }

@keyframes dl-pulse {
    0%   { transform: scale(1);   opacity: .8; }
    100% { transform: scale(1.6); opacity: 0;  }
}

.dl-success-duration {
    position: absolute; z-index: 3;
    right: 14px; bottom: 14px;
    background: rgba(0,0,0,.7); color: #fff;
    font-size: 12px; font-weight: 600;
    padding: 4px 8px; border-radius: 6px;
    letter-spacing: .5px;
}
.dl-success-duration--sm { right: 10px; bottom: 10px; font-size: 10px; padding: 3px 6px; }

.dl-success-body { padding: 24px 26px 26px; position: relative; }
.dl-success-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(245,184,52,.18), rgba(255,138,0,.10));
    color: #b8761a;
    font-size: 11px; font-weight: 700; letter-spacing: 1px;
    padding: 4px 10px; border-radius: 999px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.dl-success-card--featured h4 { font-size: 22px; font-weight: 800; color: var(--dl-text); margin: 0 0 4px; }
.dl-success-card--featured h5 { font-size: 16px; font-weight: 700; color: var(--dl-text); margin: 0 0 4px; }
.dl-success-role { font-size: 13px; color: var(--dl-muted); margin: 0 0 12px; font-weight: 500; }
.dl-success-quote { font-size: 15px; line-height: 1.6; color: #475569; margin: 0; font-style: italic; position: relative; padding-left: 14px; border-left: 3px solid var(--dl-accent); }

.dl-success-stack { display: flex; flex-direction: column; gap: 16px; }
.dl-success-card--mini { flex-direction: row; }
.dl-success-thumb--mini { flex: 0 0 180px; aspect-ratio: auto; min-height: 130px; }
@media (max-width: 575px) { .dl-success-card--mini { flex-direction: column; } .dl-success-thumb--mini { flex: 0 0 auto; aspect-ratio: 16/10; min-height: 0; } }
.dl-success-card--mini .dl-success-body { padding: 18px 20px 18px 22px; }

.dl-success-cta { text-align: center; margin-top: 36px; }

@media (max-width: 768px) {
    .dl-success { padding: 56px 0; }
    .dl-success-avatar { width: 96px; height: 96px; font-size: 32px; }
    .dl-success-play { width: 60px; height: 60px; font-size: 24px; }
}

/* ---------- VIDEO MODAL ---------- */
.dl-video-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    padding: 24px;
}
.dl-video-modal.is-open { opacity: 1; visibility: visible; }
.dl-video-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(8, 18, 42, .85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.dl-video-modal-dialog {
    position: relative; z-index: 1;
    width: 100%; max-width: 920px;
    transform: scale(.92) translateY(12px);
    transition: transform .3s ease;
}
.dl-video-modal.is-open .dl-video-modal-dialog { transform: scale(1) translateY(0); }
.dl-video-modal-close {
    position: absolute; top: -46px; right: 0;
    width: 38px; height: 38px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all .2s ease;
}
.dl-video-modal-close:hover { background: var(--dl-accent); color: var(--dl-navy); border-color: var(--dl-accent); transform: rotate(90deg); }
.dl-video-modal-content { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.dl-video-modal.is-playlist .dl-video-modal-content { padding-top: 0; max-height: 80vh; overflow-y: auto; background: #0c2758; }
.dl-video-modal.is-playlist .dl-video-modal-dialog { max-width: 720px; }
.dl-video-modal-frame { position: absolute; inset: 0; background: #0c2758; }
.dl-video-modal-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; text-align: center; padding: 24px;
}
.dl-video-modal-placeholder i { font-size: 72px; color: var(--dl-accent); margin-bottom: 16px; animation: dl-pulse 2s ease-out infinite; }
.dl-video-modal-placeholder p { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.dl-video-modal-placeholder small { color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- VIDEO PLAYLIST (inside modal) ---------- */
.dl-video-playlist { padding: 32px; color: #fff; }
.dl-video-playlist-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.dl-video-playlist-head i { font-size: 36px; color: var(--dl-accent); }
.dl-video-playlist-head h4 { font-size: 20px; font-weight: 800; margin: 0 0 2px; color: #fff; }
.dl-video-playlist-head small { color: rgba(255,255,255,.7); font-size: 13px; }

.dl-video-playlist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 575px) { .dl-video-playlist-grid { grid-template-columns: 1fr; } }

.dl-video-playlist-item {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    padding: 10px;
    transition: all .25s ease;
    cursor: pointer;
}
.dl-video-playlist-item:hover { background: rgba(255,255,255,.08); border-color: var(--dl-accent); transform: translateY(-2px); }

.dl-video-playlist-thumb {
    position: relative; flex: 0 0 auto;
    width: 72px; height: 72px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.dl-video-playlist-initials { color: #fff; font-weight: 800; font-size: 22px; }
.dl-video-playlist-thumb i { position: absolute; right: -6px; bottom: -6px; background: var(--dl-accent); color: var(--dl-navy); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; box-shadow: 0 4px 10px rgba(0,0,0,.3); }

.dl-video-playlist-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-video-playlist-meta strong { color: #fff; font-size: 14px; font-weight: 700; }
.dl-video-playlist-meta span { color: rgba(255,255,255,.6); font-size: 12px; }

/* ---------- FINANCIAL INSIGHTS & NEWS ---------- */
.dl-insights { background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%); padding: 80px 0; position: relative; }
.dl-insights::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(12,39,88,0.04) 1px, transparent 0); background-size: 30px 30px; pointer-events: none; opacity: .6; }

.dl-insights-tabs {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 36px;
    max-width: 900px;
}
.dl-insights-tab {
    padding: 9px 20px;
    background: #fff;
    border: 1px solid var(--dl-border);
    border-radius: 999px;
    font-size: 13px; font-weight: 600;
    color: var(--dl-muted);
    cursor: pointer;
    transition: all .25s ease;
}
.dl-insights-tab:hover { color: var(--dl-navy); border-color: var(--dl-navy-2); }
.dl-insights-tab.is-active {
    background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2));
    color: #fff;
    border-color: var(--dl-navy);
    box-shadow: 0 6px 18px rgba(12,39,88,.25);
}

.dl-insights-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: stretch;
}
@media (max-width: 991px) { .dl-insights-grid { grid-template-columns: 1fr; } }

.dl-insight-featured {
    display: flex; flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--dl-border);
    box-shadow: var(--dl-shadow);
    text-decoration: none; color: inherit;
    transition: all .3s ease;
}
.dl-insight-featured:hover { transform: translateY(-4px); box-shadow: var(--dl-shadow-strong); }

.dl-insight-img {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #e2e8f0;
    background-size: cover; background-position: center;
    overflow: hidden;
}
.dl-insight-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(8,18,42,.65) 100%);
}
.dl-insight-img-overlay {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 18px 22px;
    z-index: 2;
    opacity: 0; transform: translateY(8px);
    transition: all .3s ease;
}
.dl-insight-featured:hover .dl-insight-img-overlay { opacity: 1; transform: translateY(0); }
.dl-insight-read {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--dl-accent);
    color: var(--dl-navy);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px; font-weight: 700;
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
}

.dl-insight-cat {
    position: absolute; top: 14px; left: 14px;
    z-index: 2;
    display: inline-block;
    background: linear-gradient(135deg, var(--dl-navy), var(--dl-navy-2));
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.dl-insight-cat--sm { font-size: 10px; padding: 4px 10px; }

.dl-insight-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.dl-insight-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--dl-muted); font-size: 12px; margin-bottom: 12px; }
.dl-insight-meta i { color: var(--dl-accent-2); margin-right: 4px; font-size: 13px; }
.dl-insight-meta--sm { gap: 10px; font-size: 11px; }
.dl-insight-featured h3 { font-size: 22px; font-weight: 800; color: var(--dl-text); margin: 0 0 10px; line-height: 1.3; }
.dl-insight-featured p { color: #475569; font-size: 14px; line-height: 1.6; margin: 0 0 16px; flex: 1; }
.dl-insight-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--dl-navy-2);
    font-size: 14px; font-weight: 700;
    text-decoration: none;
    transition: gap .25s ease;
}
.dl-insight-arrow i { transition: transform .25s ease; }
.dl-insight-featured:hover .dl-insight-arrow, .dl-insight-card:hover .dl-insight-arrow { gap: 10px; }
.dl-insight-featured:hover .dl-insight-arrow i, .dl-insight-card:hover .dl-insight-arrow i { transform: translateX(4px); }
.dl-insight-arrow--sm { font-size: 12px; }

.dl-insight-list { display: flex; flex-direction: column; gap: 16px; }
.dl-insight-card {
    display: flex; gap: 16px;
    background: #fff;
    border: 1px solid var(--dl-border);
    border-radius: 14px;
    padding: 14px;
    text-decoration: none; color: inherit;
    transition: all .3s ease;
    flex: 1;
}
.dl-insight-card:hover { transform: translateX(4px); border-color: var(--dl-navy-2); box-shadow: var(--dl-shadow); }

.dl-insight-thumb {
    position: relative;
    flex: 0 0 130px;
    width: 130px; height: 110px;
    background-color: #e2e8f0;
    background-size: cover; background-position: center;
    border-radius: 10px;
    overflow: hidden;
}
.dl-insight-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.dl-insight-card-body h5 { font-size: 15px; font-weight: 700; color: var(--dl-text); margin: 0 0 4px; line-height: 1.35; }
.dl-insight-card-body p { color: #64748b; font-size: 13px; line-height: 1.5; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 575px) {
    .dl-insight-card { flex-direction: column; }
    .dl-insight-thumb { flex: 0 0 auto; width: 100%; height: 160px; }
}
@media (max-width: 768px) {
    .dl-insights { padding: 56px 0; }
    .dl-insight-featured h3 { font-size: 19px; }
}

.dl-insights-empty {
    text-align: center; padding: 60px 20px;
    color: var(--dl-muted);
}
.dl-insights-empty i { font-size: 48px; color: var(--dl-border); margin-bottom: 12px; display: block; }
.dl-insights-empty p { font-size: 15px; margin: 0; }

.dl-portal-card { background: #fff; border-radius: var(--dl-radius); padding: 22px; box-shadow: var(--dl-shadow); }
.dl-portal-card h4 { font-weight: 700; margin-bottom: 16px; color: var(--dl-text); }
.dl-portal-card h5 { font-weight: 700; margin-bottom: 14px; color: var(--dl-text); }

.dl-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 600px) { .dl-quick-grid { grid-template-columns: repeat(2, 1fr); } }
.dl-quick-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 10px; background: var(--dl-bg-soft); border-radius: 10px; text-decoration: none; color: var(--dl-text); font-size: 13px; font-weight: 600; transition: all .2s; }
.dl-quick-tile i { font-size: 28px; color: var(--dl-navy); margin-bottom: 6px; }
.dl-quick-tile:hover { background: var(--dl-navy); color: #fff; }
.dl-quick-tile:hover i { color: var(--dl-accent); }

.dl-upcoming { list-style: none; padding: 0; margin: 0; }
.dl-upcoming li { display: grid; grid-template-columns: 1.2fr 1.2fr auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--dl-border); }
.dl-upcoming li:last-child { border-bottom: 0; }
.dl-upcoming span { font-size: 14px; color: var(--dl-text); }
.dl-upcoming i { color: var(--dl-muted); margin-right: 4px; }

.dl-tx-list { list-style: none; padding: 0; margin: 0; }
.dl-tx-list li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--dl-border); }
.dl-tx-list li:last-child { border-bottom: 0; }
.dl-tx-list strong { display: block; font-size: 13px; }
.dl-tx-list small { color: var(--dl-muted); font-size: 11px; }
.dl-tx-in, .dl-tx-out { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; }
.dl-tx-in { background: rgba(34,197,94,.12); color: #16a34a; }
.dl-tx-out { background: rgba(239,68,68,.12); color: #dc2626; }

.dl-notice-list { list-style: none; padding: 0; margin: 0; }
.dl-notice-list li { display: grid; grid-template-columns: 36px 1fr; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--dl-border); }
.dl-notice-list li:last-child { border-bottom: 0; }
.dl-notice-list i { font-size: 18px; color: var(--dl-navy); margin-top: 2px; }
.dl-notice-list strong { display: block; font-size: 14px; color: var(--dl-text); }
.dl-notice-list p { color: var(--dl-muted); font-size: 12px; margin: 4px 0 0; }
.dl-notice-list small { color: var(--dl-muted); font-size: 11px; }

/* Notice strip tweak on top */
.iifl-notice { background: linear-gradient(90deg, var(--dl-navy), var(--dl-navy-2)); color: #fff; font-size: 13px; padding: 8px 20px; text-align: center; position: relative; }
.iifl-notice-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }

/* ====== V2: Header, Footer, Breadcrumb, Pages ====== */

