/* ── functions-and-duties.css → css/rti/functions-and-duties.css ── */

body {
    font-family: 'Poppins', sans-serif;
    background: var(--pg);
    margin: 0; padding-top: 0;
    color: var(--t1); font-size: 14px; line-height: 1.6;
}

/* header overrides — subpage: always solid white, always dark text */
.ireda-header { background: var(--white) !important; box-shadow: 0 2px 20px rgba(30,58,138,.08) !important; }
.header-bg-overlay { background: var(--white) !important; backdrop-filter: none !important; opacity: 1 !important; }
.ireda-header .nav-link,
.ireda-header .glass-btn { color: var(--blue) !important; text-shadow: none !important; }
.ireda-header .utility-link,
.ireda-header .utility-lang-btn,
.ireda-header .utility-font-btn { color: var(--t3) !important; }
.ireda-header .utility-divider { color: var(--border) !important; }
.ireda-header .col-lg-2 img { filter: none !important; opacity: 1 !important; }

/* ── MAIN CARD ── */
.fnd-card {
    background: var(--white); border-radius: var(--r1);
    box-shadow: var(--s2); border: 1px solid rgba(37,99,235,.05);
    overflow: hidden; margin-bottom: 1.2rem;
}
.fnd-card::before { content: ''; display: block; height: 4px; background: var(--G); }

/* card header */
.fnd-card-header {
    display: flex; align-items: center; gap: .9rem;
    padding: .9rem 1.6rem;
    background: var(--xpale);
    border-bottom: 1px solid var(--pale);
}
.fnd-card-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--G); color: var(--white); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; box-shadow: 0 3px 8px rgba(30,58,138,.18);
}
.fnd-card-icon--green { background: #16a34a; box-shadow: 0 3px 8px rgba(22,163,74,.22); }
.fnd-card-icon--amber { background: #d97706; box-shadow: 0 3px 8px rgba(217,119,6,.22); }

.fnd-card-title { font-size: .92rem; font-weight: 800; color: var(--t1); margin-bottom: .05rem; }
.fnd-card-sub   { font-size: .7rem; color: var(--t3); }

/* Navratna badge */
.fnd-badge {
    margin-left: auto; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: .35rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--white); border-radius: 20px;
    font-size: .66rem; font-weight: 700;
    padding: .22rem .9rem; white-space: nowrap;
    box-shadow: 0 2px 8px rgba(217,119,6,.3);
}
.fnd-badge i { font-size: .62rem; }

/* card body */
.fnd-card-body { padding: 1.3rem 1.6rem; }

/* ── BULLET LIST ── */
.fnd-bullet-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: .8rem;
}
.fnd-bullet-list li {
    display: flex; align-items: flex-start; gap: .75rem;
    font-size: .88rem; color: var(--t2); line-height: 1.75;
}
.fnd-bullet-list li::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--G); flex-shrink: 0; margin-top: .5rem;
}
.fnd-bullet-list strong { color: var(--t1); font-weight: 700; }
.fnd-bullet-list em     { color: var(--blue); font-style: italic; }

/* ── NUMBERED LIST ── */
.fnd-numbered-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: .75rem;
    counter-reset: fnd-counter;
}
.fnd-numbered-list li {
    display: flex; align-items: flex-start; gap: .85rem;
    font-size: .88rem; color: var(--t2); line-height: 1.75;
    counter-increment: fnd-counter;
}
.fnd-numbered-list li::before {
    content: counter(fnd-counter);
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--G); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 800; flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(30,58,138,.2);
    margin-top: .18rem;
}

/* ── HIGHLIGHT BOX (Quality Policy) ── */
.fnd-highlight-box {
    background: #f0fdf4; border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    border-radius: var(--r2); padding: 1.1rem 1.3rem;
    position: relative;
}
.fnd-highlight-box .bi-quote {
    position: absolute; top: .6rem; right: .9rem;
    font-size: 2rem; color: #bbf7d0; line-height: 1;
}
.fnd-highlight-box p {
    font-size: .88rem; color: #166534; line-height: 1.8;
    margin-bottom: .75rem;
}
.fnd-highlight-box p:last-child { margin-bottom: 0; }

/* ── CLOSING NOTE ── */
.fnd-closing-note {
    display: flex; align-items: flex-start; gap: .6rem;
    background: #eff6ff; border: 1px solid #bfdbfe;
    border-radius: var(--r2); padding: .85rem 1rem;
    font-size: .84rem; color: #1e40af; line-height: 1.6;
    margin-top: 1rem;
}
.fnd-closing-note i { font-size: .85rem; flex-shrink: 0; margin-top: .15rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .fnd-card-header { padding: .75rem 1rem; flex-wrap: wrap; }
    .fnd-card-body   { padding: 1rem; }
    .fnd-badge       { margin-left: 0; }
    .fnd-card-title  { font-size: .85rem; }
}
@media print {
    .fnd-card { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
}