/* =========================================================
   IFFDC Inner Pages — Shared Professional Styles
   Applies to all inner pages (not index.php)
   ========================================================= */

/* ── Page Hero Banner ── */
.page-hero {
    background: linear-gradient(135deg, #1a6b3c 0%, #0d2418 100%);
    padding: 3.5em 0 2.5em;
    text-align: center;
    margin-top: 0;
}
.page-hero h1 {
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em;
    margin: 0 0 0.45em !important;
}
.page-hero .breadcrumb-bar {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}
.page-hero .breadcrumb-bar a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    transition: color 0.2s;
}
.page-hero .breadcrumb-bar a:hover { color: #f5a623; }
.page-hero .breadcrumb-bar i.fa {
    font-size: 0.65rem;
    margin: 0 0.4em;
    color: rgba(255,255,255,0.35);
    background: none !important; border: none !important;
    border-radius: 0 !important; width: auto !important;
    height: auto !important; line-height: normal !important;
    display: inline !important; float: none !important;
}

/* ── Inner Page Wrapper ── */
.inner-page {
    background: #f4f7f5;
    padding: 3em 0 5em;
    min-height: 55vh;
}

/* ── Content Card ── */
.content-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.8em 2.5em;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 18px rgba(0,0,0,.07);
}
.content-card-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5em 2em;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 18px rgba(0,0,0,.07);
}

/* ── Typography inside content cards ── */
.content-card h2,
.content-card-wide h2 {
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #1a6b3c !important;
    margin: 1.8em 0 0.6em !important;
    padding-bottom: 0.4em;
    border-bottom: 2px solid #dde8e2;
}
.content-card h2:first-child,
.content-card-wide h2:first-child { margin-top: 0 !important; }

.content-card h3,
.content-card-wide h3 {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1e2a24 !important;
    margin: 1.2em 0 0.4em !important;
}

.content-card p,
.content-card-wide p {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 0.92rem !important;
    line-height: 1.85 !important;
    color: #3d4f45 !important;
    margin: 0 0 1em !important;
}

.content-card a,
.content-card-wide a {
    color: #1a6b3c;
    font-weight: 500;
}
.content-card a:hover,
.content-card-wide a:hover { color: #134f2c; }

/* ── Professional table ── */
.pro-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0 1.8em;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.88rem;
}
.pro-table th {
    background: #1a6b3c;
    color: #ffffff;
    font-weight: 600;
    padding: 0.75em 1.1em;
    text-align: left;
    letter-spacing: 0.02em;
}
.pro-table td {
    padding: 0.65em 1.1em;
    border-bottom: 1px solid #e8f0eb;
    color: #3d4f45;
    vertical-align: top;
}
.pro-table tr:last-child td { border-bottom: none; }
.pro-table tr:hover td { background: #f4f9f6; }

/* ── Annual Reports list ── */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em;
    margin-top: 0.5em;
}
.report-card {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1.1em 1.2em;
    background: #f4f7f5;
    border: 1px solid #dde8e2;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.report-card:hover {
    background: #e8f2ec;
    border-color: #1a6b3c;
    transform: translateY(-2px);
    text-decoration: none !important;
}
.report-card-num {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #1a6b3c;
    line-height: 1;
    min-width: 2.5rem;
    text-align: center;
}
.report-card-info strong {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e2a24;
    display: block;
}
.report-card-info span {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.75rem;
    color: #5a6e63;
}
.report-card i.fa {
    margin-left: auto;
    color: #9bbfac !important;
    font-size: 1rem !important;
    background: none !important; border: none !important;
    border-radius: 0 !important; width: auto !important;
    height: auto !important; line-height: normal !important;
    display: inline !important; float: none !important;
    transition: color 0.2s;
}
.report-card:hover i.fa { color: #1a6b3c !important; }

/* ── Video page ── */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}
.video-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    transition: transform 0.25s, box-shadow 0.25s;
}
.video-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.video-card iframe {
    width: 100%;
    height: 190px;
    display: block;
    border: none !important;
    box-shadow: none !important;
}
.video-card-body {
    padding: 0.8em 1em 1em;
}
.video-card-title {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #1e2a24 !important;
    margin: 0 0 0.3em !important;
    line-height: 1.4 !important;
}
.video-card-date {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.74rem;
    color: #5a6e63;
}

/* ── Filter bar (shared by videos, success stories) ── */
.filter-bar {
    background: #ffffff;
    border-bottom: 1px solid #dde8e2;
    padding: 0.9em 0;
    margin-bottom: 0;
}
.filter-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5em;
    display: flex;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}
.filter-label {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #5a6e63;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: flex;
    align-items: center;
    gap: 0.4em;
}
.filter-label i.fa {
    color: #1a6b3c !important;
    background: none !important; border: none !important;
    border-radius: 0 !important; width: auto !important;
    height: auto !important; line-height: normal !important;
    display: inline !important; float: none !important;
    font-size: 0.8rem !important;
}
.filter-bar select {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 0.85rem !important;
    color: #1e2a24 !important;
    background: #f4f7f5 !important;
    border: 1.5px solid #dde8e2 !important;
    border-radius: 4px !important;
    padding: 0.45em 0.9em !important;
    cursor: pointer;
    transition: border-color 0.2s;
    height: auto !important;
    width: auto !important;
}
.filter-bar select:focus { outline: none; border-color: #1a6b3c !important; }
.filter-clear {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.8rem;
    color: #1a6b3c;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3em;
}
.filter-clear i.fa {
    background: none !important; border: none !important;
    border-radius: 0 !important; width: auto !important;
    height: auto !important; line-height: normal !important;
    display: inline !important; float: none !important;
    color: inherit !important; font-size: 0.8rem !important;
}

/* ── Post detail / generic content page ── */
.post-hero-img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    margin-bottom: 1.5em;
}
.post-content {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 0.93rem !important;
    line-height: 1.85 !important;
    color: #3d4f45 !important;
}
.post-content h2, .post-content h3, .post-content h4 {
    font-family: 'Merriweather', Georgia, serif !important;
    color: #1a6b3c !important;
    margin: 1.5em 0 0.5em !important;
}
.post-content p { margin: 0 0 1em !important; }
.post-content a { color: #1a6b3c; font-weight: 500; }
.post-content img { max-width: 100%; height: auto; border-radius: 4px; }

/* ── Success story detail ── */
.story-detail-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 1.5em;
}
.story-detail-meta {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1.2em;
    flex-wrap: wrap;
}
.story-detail-date {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a6b3c;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.3em;
}
.story-detail-date i.fa {
    background: none !important; border: none !important;
    border-radius: 0 !important; width: auto !important;
    height: auto !important; line-height: normal !important;
    display: inline !important; float: none !important;
    color: inherit !important; font-size: 0.78rem !important;
}
.story-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a6b3c;
    text-decoration: none;
    padding: 0.5em 1.2em;
    border: 2px solid #1a6b3c;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.story-back-btn:hover { background: #1a6b3c; color: #fff; text-decoration: none; }
.story-back-btn i.fa {
    background: none !important; border: none !important;
    border-radius: 0 !important; width: auto !important;
    height: auto !important; line-height: normal !important;
    display: inline !important; float: none !important;
    color: inherit !important; font-size: 0.75rem !important;
}

/* ── Projects Portfolio cards ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3em;
}
.portfolio-card {
    background: #ffffff;
    border: 1px solid #dde8e2;
    border-radius: 8px;
    padding: 1.4em 1.5em;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none !important;
    display: block;
}
.portfolio-card:hover {
    border-color: #1a6b3c;
    box-shadow: 0 6px 20px rgba(26,107,60,.12);
    transform: translateY(-2px);
    text-decoration: none !important;
}
.portfolio-card-icon {
    width: 44px; height: 44px;
    background: #e8f2ec;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.9em;
    transition: background 0.2s;
}
.portfolio-card:hover .portfolio-card-icon { background: #1a6b3c; }
.portfolio-card-icon i.fa {
    color: #1a6b3c !important; font-size: 1.1rem !important;
    background: none !important; border: none !important;
    border-radius: 0 !important; width: auto !important;
    height: auto !important; line-height: normal !important;
    display: inline !important; float: none !important;
    transition: color 0.2s;
}
.portfolio-card:hover .portfolio-card-icon i.fa { color: #ffffff !important; }
.portfolio-card h3 {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #1e2a24 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin: 0 0 0.4em !important;
    transition: color 0.2s;
}
.portfolio-card:hover h3 { color: #1a6b3c !important; }
.portfolio-card p {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 0.83rem !important;
    color: #5a6e63 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* ── BOD (Board of Directors) ── */
.bod-img-wrap {
    text-align: center;
    padding: 0 1em;
}
.bod-img-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,.1);
}

/* ── Careers page ── */
.careers-section {
    max-width: 860px;
    margin: 0 auto;
}
.careers-header-text {
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1a6b3c !important;
    margin: 0 0 1em !important;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #dde8e2;
}
.careers-notice {
    background: #f4f7f5;
    border-left: 4px solid #1a6b3c;
    border-radius: 0 6px 6px 0;
    padding: 1.2em 1.5em;
    margin: 1em 0;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    color: #3d4f45 !important;
    line-height: 1.75 !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .reports-grid { grid-template-columns: repeat(2, 1fr); }
    .videos-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .content-card, .content-card-wide { padding: 2em 1.2em; }
}
@media (max-width: 560px) {
    .reports-grid { grid-template-columns: 1fr; }
    .videos-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 1.5rem !important; }
    .filter-bar-inner { gap: 0.7em; }
}
