/* ── facilities-for-information.css → css/rti/facilities-for-information.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 */
/* 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; }

/* ── INTRO ── */
.ffi-intro {
    display: flex; align-items: flex-start; gap: .6rem;
    background: #eff6ff; border: 1px solid #bfdbfe;
    border-radius: var(--r2); padding: .9rem 1.1rem;
    font-size: .86rem; color: #1e40af; line-height: 1.7;
    margin-bottom: 1.2rem;
}
.ffi-intro i { font-size: .88rem; flex-shrink: 0; margin-top: .15rem; }
.ffi-intro strong { color: #1e3a8a; }

/* ── CARD ── */
.ffi-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;
}
.ffi-card::before { content: ''; display: block; height: 4px; background: var(--G); }

.ffi-card-header {
    display: flex; align-items: center; gap: .9rem;
    padding: 1rem 1.6rem; background: var(--G);
}
.ffi-card-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25);
    color: var(--white); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
}
.ffi-card-icon--green { background: rgba(255,255,255,.18); }
.ffi-card-icon--amber { background: rgba(255,255,255,.18); }
.ffi-card-title { font-size: .9rem; font-weight: 800; color: var(--white); }
.ffi-card-sub   { font-size: .7rem; color: rgba(255,255,255,.65); margin-top: .05rem; }

/* card body */
.ffi-card-body { padding: 1.2rem 1.6rem; }

/* ── PUB SECTION WITHIN CARD ── */
.ffi-pub-section { margin-bottom: 1.5rem; }
.ffi-pub-section:last-child { margin-bottom: 0; }
.ffi-pub-title {
    display: flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 800; color: var(--blue);
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: .65rem; padding-bottom: .45rem;
    border-bottom: 2px solid var(--pale); position: relative;
}
.ffi-pub-title::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 30px; height: 2px; background: var(--G);
}
.ffi-pub-title i { font-size: .82rem; }

/* ── TABLE ── */
.ffi-table-wrap { overflow-x: auto; }
.ffi-table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.ffi-table thead th {
    background: var(--xpale); color: var(--t1);
    padding: .55rem 1.1rem; font-size: .65rem; font-weight: 700;
    letter-spacing: .8px; text-transform: uppercase;
    text-align: left; border-bottom: 2px solid var(--pale);
}
.ffi-sno { width: 80px; text-align: center !important; }
.ffi-dl  { width: 140px; text-align: center !important; }

.ffi-row { border-bottom: 1px solid #f1f5f9; transition: background .15s; }
.ffi-row:last-child { border-bottom: none; }
.ffi-row:hover { background: var(--xpale); }
.ffi-row--recent { background: #fafbff; }
.ffi-row--recent:hover { background: var(--xpale); }

.ffi-table tbody td { padding: .7rem 1.1rem; vertical-align: middle; }
.ffi-sno { color: var(--t3); font-weight: 700; font-size: .8rem; text-align: center; }
.ffi-dl  { text-align: center; }

.ffi-dl-btn {
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--G); color: var(--white);
    border-radius: 7px; padding: .3rem .8rem;
    font-size: .7rem; font-weight: 700;
    text-decoration: none; transition: var(--t);
    box-shadow: 0 2px 8px rgba(30,58,138,.18);
    white-space: nowrap;
}
.ffi-dl-btn:hover { opacity: .88; transform: translateY(-1px); color: var(--white); }
.ffi-dl-btn:focus-visible { outline: 3px solid var(--mid); outline-offset: 2px; }
.ffi-dl-btn i { font-size: .68rem; }

/* ── NAV LINK ROW ── */
.ffi-link-row { padding: 1.1rem 1.6rem; }
.ffi-nav-btn {
    display: inline-flex; align-items: center; gap: .55rem;
    background: var(--G); color: var(--white);
    border-radius: 9px; padding: .6rem 1.5rem;
    font-size: .84rem; font-weight: 700;
    text-decoration: none; transition: var(--t);
    box-shadow: 0 3px 10px rgba(30,58,138,.2);
}
.ffi-nav-btn:hover { opacity: .88; transform: translateY(-2px); color: var(--white); }
.ffi-nav-btn:focus-visible { outline: 3px solid var(--mid); outline-offset: 2px; }
.ffi-nav-btn .bi-arrow-right { font-size: .78rem; }

/* ── WORKING HOURS ── */
.ffi-hours-block {
    display: flex; align-items: center; gap: 1rem;
    background: var(--xpale); border: 1px solid var(--pale);
    border-left: 5px solid #d97706;
    border-radius: var(--r2); padding: 1rem 1.3rem;
}
.ffi-hours-block > i { font-size: 1.5rem; color: #d97706; flex-shrink: 0; }
.ffi-hours-label { font-size: .72rem; font-weight: 700; color: var(--t3); text-transform: uppercase; letter-spacing: .8px; margin-bottom: .2rem; }
.ffi-hours-value { font-size: .92rem; font-weight: 700; color: var(--t1); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .ffi-card-body { padding: 1rem; }
    .ffi-link-row  { padding: 1rem; }
    .ffi-hours-block { flex-direction: column; align-items: flex-start; gap: .6rem; }
}
@media (max-width: 576px) {
    .ffi-table tbody td, .ffi-table thead th { padding: .55rem .75rem; }
    .ffi-dl-btn { font-size: .66rem; padding: .26rem .65rem; }
}
@media print {
    .ffi-card { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
    .ffi-dl-btn  { background: none; color: var(--blue); box-shadow: none; }
    .ffi-nav-btn { background: none; color: var(--blue); box-shadow: none; border: 1px solid var(--blue); }
}