/* ============================================================
   FPH Pages — Unified Design System
   Faculty of Pharmacy · Qaiwan International University
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
    --fph-primary: #125875;
    --fph-primary-dark: #0d4f68;
    --fph-primary-deep: #0a3a4d;
    --fph-accent: #0dcaf0;
    --fph-accent-soft: rgba(13, 202, 240, .12);
    --fph-accent-border: rgba(13, 202, 240, .26);

    --fph-ink: #0b1f2a;
    --fph-body: #374151;
    --fph-muted: #5a6a76;
    --fph-light: rgba(55, 65, 81, .62);

    --fph-bg: #f4f7fb;
    --fph-bg-alt: #eaf0f7;
    --fph-surface: #ffffff;
    --fph-surface-glass: rgba(255, 255, 255, .94);

    --fph-border: rgba(18, 88, 117, .13);
    --fph-border-strong: rgba(18, 88, 117, .22);

    --fph-radius-xs: 8px;
    --fph-radius-sm: 12px;
    --fph-radius: 16px;
    --fph-radius-lg: 22px;
    --fph-radius-xl: 28px;
    --fph-radius-pill: 999px;

    --fph-shadow: 0 16px 48px rgba(11, 31, 42, .11);
    --fph-shadow-soft: 0 8px 24px rgba(11, 31, 42, .07);
    --fph-shadow-card: 0 6px 20px rgba(11, 31, 42, .06);
    --fph-shadow-hover: 0 20px 56px rgba(11, 31, 42, .13);

    --fph-ease: cubic-bezier(.4, 0, .2, 1);
    --fph-duration: .22s;
}

/* ----------------------------------------------------------
   2. PAGE WRAPPER / BACKGROUND
   ---------------------------------------------------------- */
.fph-page {
    background:
        radial-gradient(1000px 550px at 8% 6%, rgba(18, 88, 117, .09), transparent 62%),
        radial-gradient(900px 500px at 92% 14%, rgba(13, 202, 240, .07), transparent 60%),
        linear-gradient(180deg, var(--fph-bg) 0%, var(--fph-bg-alt) 50%, var(--fph-bg) 100%);
    padding: 0 0 80px;
    min-height: 100vh;
}

.fph-page *,
.fph-page *::before,
.fph-page *::after { box-sizing: border-box; }

.fph-page p { text-align: justify; text-justify: inter-word; }

/* ----------------------------------------------------------
   3. HERO / PAGE HEADER
   ---------------------------------------------------------- */
.fph-hero {
    position: relative;
    padding: 100px 0 48px;
    overflow: hidden;
}
.fph-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 360px at 20% 0%, rgba(18, 88, 117, .14), transparent 58%),
        radial-gradient(800px 340px at 85% 10%, rgba(13, 202, 240, .10), transparent 56%),
        linear-gradient(180deg, var(--fph-surface-glass) 0%, rgba(244, 247, 251, .6) 100%);
    pointer-events: none;
}
.fph-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(18, 88, 117, .04) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .25;
    mask-image: radial-gradient(800px 300px at 50% 30%, #000 30%, transparent 70%);
    pointer-events: none;
}
.fph-hero > * { position: relative; z-index: 1; }

.fph-hero-inner {
    max-width: 820px;
}

.fph-hero-home {
    position: relative;
    padding: 110px 0 56px;
    overflow: hidden;
}
.fph-hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1100px 500px at 15% 0%, rgba(18, 88, 117, .18), transparent 55%),
        radial-gradient(1000px 480px at 90% 8%, rgba(13, 202, 240, .12), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(244, 247, 251, .5) 100%);
    pointer-events: none;
}
.fph-hero-home > * { position: relative; z-index: 1; }

/* ----------------------------------------------------------
   4. BREADCRUMB
   ---------------------------------------------------------- */
.fph-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: .88rem;
    font-weight: 700;
}
.fph-breadcrumb li + li::before {
    content: "/";
    margin-inline-end: 8px;
    color: var(--fph-light);
}
.fph-breadcrumb a {
    color: var(--fph-primary);
    text-decoration: none;
    transition: color var(--fph-duration) var(--fph-ease);
}
.fph-breadcrumb a:hover { color: var(--fph-primary-dark); text-decoration: underline; }
.fph-breadcrumb .active { color: var(--fph-muted); }

[dir="rtl"] .fph-breadcrumb li + li::before { content: "\\"; }

/* ----------------------------------------------------------
   5. TYPOGRAPHY
   ---------------------------------------------------------- */
.fph-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .75rem;
    color: var(--fph-muted);
    margin-bottom: 8px;
}
.fph-kicker-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--fph-radius-pill);
    background: var(--fph-primary);
    box-shadow: 0 0 0 6px rgba(18, 88, 117, .10);
}

.fph-page-title {
    margin: 0 0 8px;
    font-weight: 950;
    letter-spacing: -.025em;
    line-height: 1.10;
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    color: var(--fph-ink);
}

.fph-page-subtitle {
    margin: 0;
    color: var(--fph-muted);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.8;
    max-width: 72ch;
}

.fph-section-title {
    margin: 0 0 6px;
    font-weight: 950;
    letter-spacing: -.02em;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    color: var(--fph-ink);
    line-height: 1.15;
}

.fph-section-sub {
    margin: 0;
    color: var(--fph-muted);
    font-weight: 600;
    line-height: 1.85;
    font-size: .95rem;
    max-width: 65ch;
}

/* ----------------------------------------------------------
   6. BADGE
   ---------------------------------------------------------- */
.fph-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .5rem .9rem;
    border-radius: var(--fph-radius-pill);
    background: rgba(18, 88, 117, .08);
    border: 1px solid rgba(18, 88, 117, .14);
    color: var(--fph-primary);
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.fph-badge i { font-size: .9rem; }

.fph-badge-accent {
    background: var(--fph-accent-soft);
    border-color: var(--fph-accent-border);
    color: var(--fph-primary);
}

/* ----------------------------------------------------------
   7. BUTTONS
   ---------------------------------------------------------- */
.fph-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .65rem 1.1rem;
    border-radius: var(--fph-radius);
    border: 1px solid var(--fph-accent-border);
    background: var(--fph-accent-soft);
    color: var(--fph-primary);
    font-weight: 900;
    font-size: .88rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--fph-duration) var(--fph-ease),
                background var(--fph-duration) var(--fph-ease),
                border-color var(--fph-duration) var(--fph-ease),
                box-shadow var(--fph-duration) var(--fph-ease);
    white-space: nowrap;
}
.fph-btn:hover {
    transform: translateY(-2px);
    background: rgba(13, 202, 240, .18);
    border-color: rgba(13, 202, 240, .38);
    box-shadow: 0 8px 20px rgba(13, 202, 240, .12);
    color: var(--fph-primary);
}

.fph-btn-solid {
    background: var(--fph-primary);
    border-color: var(--fph-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(18, 88, 117, .18);
}
.fph-btn-solid:hover {
    background: var(--fph-primary-dark);
    border-color: var(--fph-primary-dark);
    color: #fff;
    box-shadow: 0 12px 28px rgba(18, 88, 117, .22);
}

.fph-btn-sm {
    padding: .45rem .8rem;
    font-size: .82rem;
    border-radius: var(--fph-radius-sm);
}

.fph-btn-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--fph-primary);
    font-weight: 900;
    font-size: .88rem;
    gap: 6px;
}
.fph-btn-link:hover { background: none; border: none; transform: none; box-shadow: none; text-decoration: underline; }

/* ----------------------------------------------------------
   8. CARDS
   ---------------------------------------------------------- */
.fph-card {
    position: relative;
    background: var(--fph-surface-glass);
    border: 1px solid var(--fph-border);
    border-radius: var(--fph-radius-lg);
    box-shadow: var(--fph-shadow-card);
    overflow: hidden;
    transition: transform var(--fph-duration) var(--fph-ease),
                box-shadow var(--fph-duration) var(--fph-ease),
                border-color var(--fph-duration) var(--fph-ease);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.fph-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, rgba(13, 202, 240, .14), transparent 60%);
    pointer-events: none;
    opacity: .8;
}
.fph-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--fph-shadow-hover);
    border-color: rgba(13, 202, 240, .35);
}
.fph-card > * { position: relative; z-index: 1; }

.fph-card-flat {
    box-shadow: var(--fph-shadow-soft);
}
.fph-card-flat::before { display: none; }
.fph-card-flat:hover { transform: translateY(-3px); }

/* Card media */
.fph-card-media {
    height: 200px;
    overflow: hidden;
    background: rgba(18, 88, 117, .04);
    border-bottom: 1px solid var(--fph-border);
    display: block;
}
.fph-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s var(--fph-ease);
}
.fph-card:hover .fph-card-media img { transform: scale(1.04); }

.fph-card-media-tall { height: 260px; }

/* Card body */
.fph-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
}

/* Card title */
.fph-card-title {
    margin: 0;
    font-weight: 950;
    letter-spacing: -.01em;
    color: var(--fph-ink);
    font-size: 1.05rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fph-card-title a { color: inherit; text-decoration: none; }
.fph-card-title a:hover { color: var(--fph-primary); }

/* Card meta */
.fph-card-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--fph-muted);
    font-weight: 800;
    font-size: .86rem;
    flex-wrap: wrap;
}
.fph-card-meta i { color: var(--fph-primary); }

/* Card excerpt */
.fph-card-excerpt {
    margin: 0;
    color: var(--fph-muted);
    line-height: 1.85;
    font-size: .94rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card footer */
.fph-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

/* Date badge */
.fph-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: var(--fph-radius-pill);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(11, 31, 42, .10);
    box-shadow: 0 8px 20px rgba(11, 31, 42, .10);
    font-weight: 900;
    color: var(--fph-ink);
    font-size: .78rem;
    white-space: nowrap;
    z-index: 2;
}
.fph-date-badge b { color: var(--fph-primary); font-size: .88rem; }

[dir="rtl"] .fph-date-badge { left: auto; right: 12px; }

/* Horizontal card */
.fph-card-horizontal {
    flex-direction: row;
    height: auto;
}
.fph-card-horizontal .fph-card-media {
    width: 200px;
    height: auto;
    min-height: 160px;
    flex: 0 0 200px;
    border-bottom: none;
    border-inline-end: 1px solid var(--fph-border);
}
@media (max-width: 575px) {
    .fph-card-horizontal { flex-direction: column; }
    .fph-card-horizontal .fph-card-media { width: 100%; height: 180px; flex: none; border-inline-end: none; border-bottom: 1px solid var(--fph-border); }
}

/* ----------------------------------------------------------
   9. PANEL / CONTAINER CARD
   ---------------------------------------------------------- */
.fph-panel {
    background: var(--fph-surface-glass);
    border: 1px solid var(--fph-border);
    border-radius: var(--fph-radius-xl);
    box-shadow: var(--fph-shadow);
    overflow: hidden;
}

.fph-panel-header {
    padding: 20px 22px 16px;
    border-bottom: 1px solid var(--fph-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.fph-panel-header h2 {
    margin: 0;
    font-weight: 950;
    color: var(--fph-ink);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fph-panel-header h2 i { color: var(--fph-primary); }

.fph-panel-body { padding: 22px; }

/* Glass variant */
.fph-panel-glass {
    background:
        radial-gradient(700px 240px at 20% 0%, rgba(13, 202, 240, .08), transparent 58%),
        radial-gradient(700px 240px at 85% 5%, rgba(18, 88, 117, .06), transparent 56%),
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .90));
}

/* ----------------------------------------------------------
   10. GRIDS
   ---------------------------------------------------------- */
.fph-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 768px) { .fph-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.fph-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 576px) { .fph-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .fph-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.fph-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 768px) { .fph-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .fph-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Content + sidebar */
.fph-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
}
@media (min-width: 992px) {
    .fph-layout-sidebar { grid-template-columns: 1fr 320px; }
}

/* Two-column split */
.fph-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}
@media (min-width: 992px) {
    .fph-split { grid-template-columns: 1.05fr .95fr; }
}

/* ----------------------------------------------------------
   11. SEARCH BAR
   ---------------------------------------------------------- */
.fph-search {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--fph-surface);
    border: 1px solid var(--fph-border-strong);
    border-radius: var(--fph-radius);
    padding: 11px 14px;
    box-shadow: var(--fph-shadow-soft);
    max-width: 680px;
    transition: border-color var(--fph-duration) var(--fph-ease),
                box-shadow var(--fph-duration) var(--fph-ease);
}
.fph-search:focus-within {
    border-color: var(--fph-accent-border);
    box-shadow: 0 0 0 3px rgba(13, 202, 240, .10), var(--fph-shadow-soft);
}
.fph-search i { color: var(--fph-primary); flex: 0 0 auto; }
.fph-search input {
    border: 0;
    outline: 0;
    width: 100%;
    background: transparent;
    color: var(--fph-ink);
    font-weight: 700;
    font-size: .95rem;
}
.fph-search input::placeholder { color: rgba(90, 106, 118, .70); }

.fph-search-clear {
    border: 0;
    outline: 0;
    background: rgba(18, 88, 117, .08);
    border: 1px solid rgba(18, 88, 117, .14);
    color: var(--fph-primary);
    border-radius: var(--fph-radius-sm);
    padding: 6px 10px;
    font-weight: 900;
    font-size: .82rem;
    display: none;
    cursor: pointer;
    transition: background var(--fph-duration) var(--fph-ease);
}
.fph-search-clear:hover { background: rgba(18, 88, 117, .12); }
.fph-search-clear.show { display: inline-flex; }

[dir="rtl"] .fph-search { flex-direction: row-reverse; }

/* ----------------------------------------------------------
   12. SIDEBAR / WIDGET
   ---------------------------------------------------------- */
.fph-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fph-widget {
    background: var(--fph-surface-glass);
    border: 1px solid var(--fph-border);
    border-radius: var(--fph-radius-lg);
    box-shadow: var(--fph-shadow-soft);
    padding: 18px;
}

.fph-widget-title {
    margin: 0 0 14px;
    font-weight: 950;
    color: var(--fph-ink);
    font-size: 1rem;
    display: flex;
    gap: 8px;
    align-items: center;
}
.fph-widget-title i { color: var(--fph-primary); }

/* Social links */
.fph-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.fph-social a {
    width: 42px;
    height: 42px;
    border-radius: var(--fph-radius);
    display: grid;
    place-items: center;
    background: rgba(18, 88, 117, .07);
    border: 1px solid rgba(18, 88, 117, .13);
    color: var(--fph-primary);
    text-decoration: none;
    transition: transform var(--fph-duration) var(--fph-ease),
                background var(--fph-duration) var(--fph-ease);
}
.fph-social a:hover {
    transform: translateY(-2px);
    background: var(--fph-accent-soft);
}

/* ----------------------------------------------------------
   13. PROSE / CONTENT
   ---------------------------------------------------------- */
.fph-prose {
    color: var(--fph-body);
    font-weight: 500;
    line-height: 1.9;
    font-size: .98rem;
}
.fph-prose h2 { font-size: 1.3rem; font-weight: 900; color: var(--fph-ink); margin: 1.5em 0 .5em; }
.fph-prose h3 { font-size: 1.15rem; font-weight: 900; color: var(--fph-ink); margin: 1.2em 0 .4em; }
.fph-prose p { margin: 0 0 1em; }
.fph-prose ul, .fph-prose ol { padding-inline-start: 1.5em; margin: 0 0 1em; }
.fph-prose li { margin-bottom: .4em; }
.fph-prose img { max-width: 100%; height: auto; border-radius: var(--fph-radius); margin: 1em 0; }
.fph-prose a { color: var(--fph-primary); text-decoration: underline; }
.fph-prose a:hover { color: var(--fph-primary-dark); }
.fph-prose blockquote {
    border-inline-start: 4px solid var(--fph-primary);
    padding: 1em 1.2em;
    margin: 1em 0;
    background: rgba(18, 88, 117, .04);
    border-radius: 0 var(--fph-radius-sm) var(--fph-radius-sm) 0;
    color: var(--fph-body);
    font-style: italic;
}
.fph-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.fph-prose table th,
.fph-prose table td { padding: 10px 12px; border: 1px solid var(--fph-border); text-align: start; }
.fph-prose table th { background: rgba(18, 88, 117, .04); font-weight: 900; }

/* ----------------------------------------------------------
   14. TABLE
   ---------------------------------------------------------- */
.fph-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.fph-table thead th {
    background: transparent;
    color: rgba(11, 31, 42, .78);
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .78rem;
    border-bottom: 2px solid var(--fph-border);
    padding: 14px 14px;
    text-align: start;
    white-space: nowrap;
}
.fph-table tbody td,
.fph-table tbody th {
    padding: 14px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(18, 88, 117, .06);
    color: var(--fph-ink);
    font-weight: 600;
}
.fph-table tbody tr:hover { background: rgba(18, 88, 117, .02); }

.fph-table .fph-row-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}
.fph-table .fph-num {
    width: 40px;
    height: 40px;
    border-radius: var(--fph-radius-sm);
    background: rgba(18, 88, 117, .08);
    border: 1px solid rgba(18, 88, 117, .14);
    color: var(--fph-primary);
    display: grid;
    place-items: center;
    font-weight: 950;
    font-size: .88rem;
    flex: 0 0 auto;
}

.fph-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: var(--fph-radius-pill);
    background: rgba(18, 88, 117, .05);
    border: 1px solid rgba(18, 88, 117, .10);
    color: var(--fph-muted);
    font-weight: 800;
    font-size: .8rem;
    white-space: nowrap;
}

/* ----------------------------------------------------------
   15. GALLERY
   ---------------------------------------------------------- */
.fph-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 768px) { .fph-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .fph-gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.fph-gallery-item {
    position: relative;
    display: block;
    border-radius: var(--fph-radius-lg);
    overflow: hidden;
    background: rgba(18, 88, 117, .03);
    border: 1px solid var(--fph-border);
    box-shadow: var(--fph-shadow-card);
    aspect-ratio: 4 / 3;
    text-decoration: none;
    transition: transform var(--fph-duration) var(--fph-ease),
                box-shadow var(--fph-duration) var(--fph-ease);
}
.fph-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--fph-shadow-hover);
}
.fph-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s var(--fph-ease);
}
.fph-gallery-item:hover img { transform: scale(1.06); }

.fph-gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 14px 12px;
    background: linear-gradient(0deg, rgba(11, 31, 42, .72) 0%, transparent 100%);
    color: #fff;
    font-weight: 900;
    font-size: .9rem;
    line-height: 1.3;
    margin: 0;
}

/* Gallery detail lightbox grid */
.fph-gallery-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) { .fph-gallery-detail-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .fph-gallery-detail-grid { grid-template-columns: repeat(4, 1fr); } }

.fph-gallery-detail-item {
    border-radius: var(--fph-radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: rgba(18, 88, 117, .03);
    border: 1px solid var(--fph-border);
}
.fph-gallery-detail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s var(--fph-ease);
}
.fph-gallery-detail-item:hover img { transform: scale(1.05); }

/* ----------------------------------------------------------
   16. STAFF CARDS
   ---------------------------------------------------------- */
.fph-staff-card {
    position: relative;
    background: var(--fph-surface-glass);
    border: 1px solid var(--fph-border);
    border-radius: var(--fph-radius-lg);
    box-shadow: var(--fph-shadow-card);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--fph-duration) var(--fph-ease),
                box-shadow var(--fph-duration) var(--fph-ease),
                border-color var(--fph-duration) var(--fph-ease);
}
.fph-staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--fph-shadow-hover);
    border-color: rgba(13, 202, 240, .35);
}

.fph-staff-media {
    height: 280px;
    overflow: hidden;
    background: var(--fph-surface);
    border-bottom: 1px solid var(--fph-border);
    display: block;
}
.fph-staff-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fph-staff-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}

.fph-staff-name {
    margin: 0;
    font-weight: 950;
    color: var(--fph-ink);
    font-size: 1.06rem;
    line-height: 1.35;
}
.fph-staff-name a { color: inherit; text-decoration: none; }
.fph-staff-name a:hover { text-decoration: underline; }

.fph-staff-role {
    margin: 0;
    color: var(--fph-muted);
    font-weight: 800;
    font-size: .9rem;
    display: flex;
    gap: 6px;
    align-items: center;
}
.fph-staff-role i { color: var(--fph-primary); }

/* ----------------------------------------------------------
   17. VIDEO SECTION
   ---------------------------------------------------------- */
.fph-video-wrap {
    position: relative;
    border-radius: var(--fph-radius-xl);
    overflow: hidden;
    height: 340px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--fph-shadow);
}
.fph-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 42, .22), rgba(11, 31, 42, .58));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
}
.fph-video-title {
    color: #fff;
    font-weight: 950;
    font-size: 1.1rem;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.fph-play-btn {
    width: 72px;
    height: 72px;
    border-radius: var(--fph-radius-pill);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .6);
    display: grid;
    place-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .20);
    transition: transform var(--fph-duration) var(--fph-ease);
    text-decoration: none;
    color: var(--fph-primary);
    font-size: 1.5rem;
}
.fph-play-btn:hover { transform: scale(1.08); }
.fph-play-btn img { width: 36px; height: 36px; }

/* ----------------------------------------------------------
   18. LIST / EVENT LIST
   ---------------------------------------------------------- */
.fph-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fph-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: var(--fph-radius);
    background: var(--fph-surface);
    border: 1px solid var(--fph-border);
    box-shadow: var(--fph-shadow-card);
    transition: transform var(--fph-duration) var(--fph-ease),
                border-color var(--fph-duration) var(--fph-ease);
}
.fph-list-item:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 202, 240, .30);
}

.fph-list-date {
    width: 58px;
    border-radius: var(--fph-radius-sm);
    background: rgba(18, 88, 117, .08);
    border: 1px solid rgba(18, 88, 117, .16);
    color: var(--fph-primary);
    text-align: center;
    padding: 8px 6px;
    flex: 0 0 auto;
    font-weight: 950;
}
.fph-list-date .d { font-size: 1.15rem; line-height: 1; }
.fph-list-date .m { margin-top: 4px; font-size: .7rem; letter-spacing: .06em; }

.fph-list-title {
    margin: 0;
    font-weight: 900;
    color: var(--fph-ink);
    line-height: 1.35;
    font-size: .92rem;
}
.fph-list-title a { color: inherit; text-decoration: none; }
.fph-list-title a:hover { color: var(--fph-primary); }

/* Item list (forms, documents) */
.fph-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: var(--fph-radius);
    background: var(--fph-surface);
    border: 1px solid var(--fph-border);
    box-shadow: var(--fph-shadow-card);
    transition: transform var(--fph-duration) var(--fph-ease),
                border-color var(--fph-duration) var(--fph-ease);
}
.fph-item-row:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 202, 240, .35);
}
.fph-item-row-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}
.fph-item-title {
    margin: 0;
    font-weight: 950;
    color: var(--fph-ink);
    line-height: 1.35;
    font-size: 1.02rem;
}
.fph-item-title a { color: inherit; text-decoration: none; }
.fph-item-title a:hover { text-decoration: underline; }

[dir="rtl"] .fph-item-row { flex-direction: row-reverse; }
[dir="rtl"] .fph-item-row-left { flex-direction: row-reverse; }

/* ----------------------------------------------------------
   19. FORM ELEMENTS
   ---------------------------------------------------------- */
.fph-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 768px) {
    .fph-form-grid { grid-template-columns: repeat(3, 1fr); }
    .fph-form-grid .fph-form-full { grid-column: 1 / -1; }
}

.fph-input-wrap {
    display: flex;
    align-items: center;
    background: var(--fph-surface);
    border: 1px solid var(--fph-border-strong);
    border-radius: var(--fph-radius);
    padding: 12px 14px;
    gap: 10px;
    box-shadow: var(--fph-shadow-soft);
    transition: border-color var(--fph-duration) var(--fph-ease),
                box-shadow var(--fph-duration) var(--fph-ease);
}
.fph-input-wrap:focus-within {
    border-color: var(--fph-accent-border);
    box-shadow: 0 0 0 3px rgba(13, 202, 240, .08), var(--fph-shadow-soft);
}
.fph-input-wrap i { color: var(--fph-primary); flex: 0 0 auto; }
.fph-input-wrap input,
.fph-input-wrap textarea {
    border: 0;
    outline: 0;
    width: 100%;
    background: transparent;
    font-weight: 700;
    color: var(--fph-ink);
    font-size: .95rem;
    font-family: inherit;
}
.fph-input-wrap textarea { min-height: 160px; resize: vertical; }

.fph-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .75rem 1.2rem;
    border-radius: var(--fph-radius);
    border: 1px solid var(--fph-accent-border);
    background: var(--fph-accent-soft);
    color: var(--fph-primary);
    font-weight: 950;
    font-size: .92rem;
    cursor: pointer;
    transition: transform var(--fph-duration) var(--fph-ease),
                background var(--fph-duration) var(--fph-ease);
}
.fph-btn-submit:hover {
    transform: translateY(-2px);
    background: rgba(13, 202, 240, .18);
}

[dir="rtl"] .fph-input-wrap { flex-direction: row-reverse; }

/* ----------------------------------------------------------
   20. MAP
   ---------------------------------------------------------- */
.fph-map-wrap {
    border-radius: var(--fph-radius-lg);
    overflow: hidden;
    border: 1px solid var(--fph-border);
    box-shadow: var(--fph-shadow-soft);
    height: 400px;
    background: var(--fph-surface);
}
.fph-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ----------------------------------------------------------
   21. INFO CARDS (Contact)
   ---------------------------------------------------------- */
.fph-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
}
@media (min-width: 992px) { .fph-info-grid { grid-template-columns: repeat(3, 1fr); } }

.fph-info-card {
    background: var(--fph-surface-glass);
    border: 1px solid var(--fph-border);
    border-radius: var(--fph-radius-lg);
    box-shadow: var(--fph-shadow-soft);
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform var(--fph-duration) var(--fph-ease),
                border-color var(--fph-duration) var(--fph-ease);
}
.fph-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 202, 240, .35);
}

.fph-info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--fph-radius);
    display: grid;
    place-items: center;
    background: var(--fph-accent-soft);
    border: 1px solid var(--fph-accent-border);
    color: var(--fph-primary);
    flex: 0 0 auto;
    font-size: 1.1rem;
}
.fph-info-card h3 { margin: 0 0 4px; font-weight: 950; color: var(--fph-ink); font-size: 1.02rem; }
.fph-info-card p { margin: 0; color: var(--fph-muted); font-weight: 700; line-height: 1.65; font-size: .92rem; }
.fph-info-card a { color: var(--fph-primary); text-decoration: none; font-weight: 900; }
.fph-info-card a:hover { text-decoration: underline; }

[dir="rtl"] .fph-info-card { flex-direction: row-reverse; text-align: right; }

/* ----------------------------------------------------------
   22. DOCUMENT CARD (Students)
   ---------------------------------------------------------- */
.fph-doc-card {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: var(--fph-radius-lg);
    background: var(--fph-surface);
    border: 1px solid var(--fph-border);
    box-shadow: var(--fph-shadow-soft);
    overflow: hidden;
    height: 100%;
    transition: transform var(--fph-duration) var(--fph-ease),
                box-shadow var(--fph-duration) var(--fph-ease),
                border-color var(--fph-duration) var(--fph-ease);
}
.fph-doc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 202, 240, .10), transparent 55%);
    pointer-events: none;
}
.fph-doc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--fph-shadow-hover);
    border-color: rgba(13, 202, 240, .35);
}
.fph-doc-card-body {
    position: relative;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 88px;
}
.fph-doc-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--fph-radius-sm);
    display: grid;
    place-items: center;
    background: var(--fph-accent-soft);
    border: 1px solid var(--fph-accent-border);
    color: var(--fph-primary);
    flex: 0 0 auto;
    font-size: 1.1rem;
}
.fph-doc-text { flex: 1 1 auto; min-width: 0; }
.fph-doc-title { margin: 0; font-weight: 950; color: var(--fph-ink); font-size: 1rem; line-height: 1.35; }
.fph-doc-hint { margin: 4px 0 0; color: var(--fph-muted); font-size: .84rem; }
.fph-doc-arrow {
    width: 38px;
    height: 38px;
    border-radius: var(--fph-radius-sm);
    display: grid;
    place-items: center;
    background: rgba(18, 88, 117, .07);
    border: 1px solid rgba(18, 88, 117, .12);
    color: var(--fph-primary);
    flex: 0 0 auto;
    transition: transform var(--fph-duration) var(--fph-ease);
}
.fph-doc-card:hover .fph-doc-arrow { transform: translateX(3px); }

[dir="rtl"] .fph-doc-card-body { flex-direction: row-reverse; }
[dir="rtl"] .fph-doc-text { text-align: right; }
[dir="rtl"] .fph-doc-card:hover .fph-doc-arrow { transform: translateX(-3px); }

/* ----------------------------------------------------------
   23. DEPARTMENT / PROGRAM CARD
   ---------------------------------------------------------- */
.fph-dept-card {
    position: relative;
    border-radius: var(--fph-radius-xl);
    overflow: hidden;
    background: var(--fph-surface);
    border: 1px solid var(--fph-border);
    box-shadow: var(--fph-shadow);
    transition: transform var(--fph-duration) var(--fph-ease),
                box-shadow var(--fph-duration) var(--fph-ease);
}
.fph-dept-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--fph-shadow-hover);
}
.fph-dept-img {
    height: 220px;
    overflow: hidden;
}
.fph-dept-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s var(--fph-ease);
}
.fph-dept-card:hover .fph-dept-img img { transform: scale(1.04); }

.fph-dept-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fph-dept-code {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--fph-radius-pill);
    background: rgba(18, 88, 117, .08);
    border: 1px solid rgba(18, 88, 117, .14);
    color: var(--fph-primary);
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .04em;
    width: fit-content;
}
.fph-dept-name {
    margin: 0;
    font-weight: 950;
    color: var(--fph-ink);
    font-size: 1.12rem;
    line-height: 1.3;
}

/* ----------------------------------------------------------
   24. EMPTY STATE
   ---------------------------------------------------------- */
.fph-empty {
    padding: 32px 18px;
    text-align: center;
    color: var(--fph-muted);
    font-weight: 800;
    line-height: 1.8;
    border-radius: var(--fph-radius-lg);
    border: 1px dashed rgba(18, 88, 117, .20);
    background: rgba(255, 255, 255, .60);
}

.fph-no-results {
    display: none;
    padding: 20px 0;
    text-align: center;
    color: var(--fph-muted);
    font-weight: 900;
}

/* ----------------------------------------------------------
   25. ARTICLE LAYOUT (Detail Pages)
   ---------------------------------------------------------- */
.fph-article-hero-img {
    border-radius: var(--fph-radius-xl);
    overflow: hidden;
    border: 1px solid var(--fph-border);
    box-shadow: var(--fph-shadow);
    margin-bottom: 24px;
}
.fph-article-hero-img img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.fph-article-header {
    margin-bottom: 24px;
}
.fph-article-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fph-muted);
    font-weight: 800;
    font-size: .88rem;
    margin-bottom: 8px;
}
.fph-article-date i { color: var(--fph-primary); }

/* ----------------------------------------------------------
   26. RESOURCE SERVICE CARD
   ---------------------------------------------------------- */
.fph-service-card {
    position: relative;
    background: var(--fph-surface-glass);
    border: 1px solid var(--fph-border);
    border-radius: var(--fph-radius-lg);
    box-shadow: var(--fph-shadow-card);
    padding: 22px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
    transition: transform var(--fph-duration) var(--fph-ease),
                box-shadow var(--fph-duration) var(--fph-ease),
                border-color var(--fph-duration) var(--fph-ease);
}
.fph-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fph-primary), var(--fph-accent));
    border-radius: var(--fph-radius-lg) var(--fph-radius-lg) 0 0;
}
.fph-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--fph-shadow-hover);
    border-color: rgba(13, 202, 240, .35);
}

.fph-service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--fph-radius);
    display: grid;
    place-items: center;
    background: var(--fph-accent-soft);
    border: 1px solid var(--fph-accent-border);
}
.fph-service-icon img { width: 32px; height: 32px; }

.fph-service-title {
    margin: 0;
    font-weight: 950;
    color: var(--fph-ink);
    font-size: 1.02rem;
}
.fph-service-title a { color: inherit; text-decoration: none; }
.fph-service-title a:hover { color: var(--fph-primary); }

.fph-service-desc {
    margin: 0;
    color: var(--fph-muted);
    font-size: .9rem;
    line-height: 1.75;
    flex: 1;
}

/* ----------------------------------------------------------
   27. ABOUT PAGE SPECIFIC
   ---------------------------------------------------------- */
.fph-about-section { padding: 56px 0; }

.fph-about-dark {
    background:
        radial-gradient(800px 400px at 20% 50%, rgba(18, 88, 117, .06), transparent 55%),
        rgba(244, 247, 251, .5);
}

.fph-about-brand {
    background:
        radial-gradient(800px 400px at 80% 50%, rgba(13, 202, 240, .06), transparent 55%),
        rgba(234, 240, 247, .6);
}

.fph-about-card {
    background: var(--fph-surface-glass);
    border: 1px solid var(--fph-border);
    border-radius: var(--fph-radius-xl);
    box-shadow: var(--fph-shadow);
    overflow: hidden;
}
.fph-about-card-body { padding: 24px; }

.fph-about-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.fph-about-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--fph-radius);
    display: grid;
    place-items: center;
    background: var(--fph-accent-soft);
    border: 1px solid var(--fph-accent-border);
    color: var(--fph-primary);
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.fph-about-media {
    border-radius: var(--fph-radius-xl);
    overflow: hidden;
    border: 1px solid var(--fph-border);
    box-shadow: var(--fph-shadow);
}
.fph-about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 300px;
}

.fph-about-quote {
    width: 44px;
    height: 44px;
    border-radius: var(--fph-radius);
    display: grid;
    place-items: center;
    background: rgba(18, 88, 117, .08);
    color: var(--fph-primary);
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.fph-dean-chip {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--fph-radius-pill);
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(11, 31, 42, .10);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
    color: var(--fph-ink);
    font-weight: 900;
    font-size: .82rem;
}
[dir="rtl"] .fph-dean-chip { left: auto; right: 16px; }

/* Video section for about */
.fph-about-video {
    padding: 56px 0;
    background:
        radial-gradient(800px 300px at 50% 100%, rgba(18, 88, 117, .04), transparent 55%);
}
.fph-about-video-wrap {
    position: relative;
    border-radius: var(--fph-radius-xl);
    overflow: hidden;
    height: 380px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--fph-shadow);
}
.fph-about-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 42, .18), rgba(11, 31, 42, .52));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.fph-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35);
    animation: fph-ring-pulse 2s ease-out infinite;
}
@keyframes fph-ring-pulse {
    0% { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ----------------------------------------------------------
   28. HOMEPAGE SPECIFIC
   ---------------------------------------------------------- */
.fph-home-about {
    padding: 20px 24px;
    background: var(--fph-surface-glass);
    border: 1px solid var(--fph-border);
    border-radius: var(--fph-radius-xl);
    box-shadow: var(--fph-shadow-soft);
    margin-top: 18px;
}
.fph-home-about p {
    margin: 0;
    color: var(--fph-muted);
    font-weight: 600;
    line-height: 1.95;
    font-size: .95rem;
}

.fph-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

/* ----------------------------------------------------------
   29. STATS / COUNTERS
   ---------------------------------------------------------- */
.fph-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 768px) { .fph-stat-grid { grid-template-columns: repeat(4, 1fr); } }

.fph-stat {
    background: var(--fph-surface-glass);
    border: 1px solid var(--fph-border);
    border-radius: var(--fph-radius-lg);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--fph-shadow-card);
}
.fph-stat-num {
    font-size: 2rem;
    font-weight: 950;
    color: var(--fph-primary);
    letter-spacing: -.02em;
    line-height: 1;
}
.fph-stat-label {
    margin-top: 6px;
    color: var(--fph-muted);
    font-weight: 800;
    font-size: .86rem;
}

/* ----------------------------------------------------------
   30. PAGINATION
   ---------------------------------------------------------- */
.fph-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}
.fph-pagination .page-link {
    border-radius: var(--fph-radius-sm);
    border: 1px solid var(--fph-border);
    color: var(--fph-primary);
    font-weight: 800;
    padding: 8px 14px;
}
.fph-pagination .page-item.active .page-link {
    background: var(--fph-primary);
    border-color: var(--fph-primary);
    color: #fff;
}

/* ----------------------------------------------------------
   31. TOOLBAR (search + count)
   ---------------------------------------------------------- */
.fph-toolbar {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
}
.fph-count {
    flex: 0 0 auto;
    font-weight: 900;
    color: var(--fph-muted);
    background: rgba(18, 88, 117, .06);
    border: 1px solid rgba(18, 88, 117, .10);
    border-radius: var(--fph-radius-pill);
    padding: .5rem .85rem;
    font-size: .88rem;
}

/* ----------------------------------------------------------
   32. SECTION SPACING
   ---------------------------------------------------------- */
.fph-section { padding: 48px 0; }
.fph-section + .fph-section { padding-top: 0; }
.fph-mt-sm { margin-top: 14px; }
.fph-mt { margin-top: 22px; }
.fph-mt-lg { margin-top: 36px; }
.fph-mb { margin-bottom: 22px; }

/* ----------------------------------------------------------
   33. RTL OVERRIDES
   ---------------------------------------------------------- */
[dir="rtl"] .fph-page p { text-align: right; }
[dir="rtl"] .fph-kicker { flex-direction: row-reverse; }
[dir="rtl"] .fph-badge { flex-direction: row-reverse; }
[dir="rtl"] .fph-card-meta { flex-direction: row-reverse; }
[dir="rtl"] .fph-staff-role { flex-direction: row-reverse; }
[dir="rtl"] .fph-list-item { flex-direction: row-reverse; }
[dir="rtl"] .fph-about-card-top { flex-direction: row-reverse; }
[dir="rtl"] .fph-info-card { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .fph-service-card { text-align: center; }
[dir="rtl"] .fph-widget-title { flex-direction: row-reverse; }

/* ----------------------------------------------------------
   34. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 991px) {
    .fph-hero { padding: 85px 0 36px; }
    .fph-hero-home { padding: 92px 0 40px; }
    .fph-staff-media { height: 240px; }
    .fph-about-media img { min-height: 240px; }
}

@media (max-width: 575px) {
    .fph-hero { padding: 78px 0 28px; }
    .fph-card-media { height: 170px; }
    .fph-staff-media { height: 200px; }
    .fph-video-wrap { height: 260px; }
    .fph-about-video-wrap { height: 280px; }
    .fph-map-wrap { height: 300px; }
    .fph-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .fph-info-grid { gap: 10px; }
    .fph-panel-body { padding: 16px; }
    .fph-panel-header { padding: 16px; }
}

/* ----------------------------------------------------------
   35. PRINT STYLES
   ---------------------------------------------------------- */
@media print {
    .fph-page { background: #fff; padding: 0; }
    .fph-hero::before,
    .fph-hero::after,
    .fph-card::before,
    .fph-doc-card::before { display: none; }
    .fph-card,
    .fph-panel,
    .fph-widget { box-shadow: none; border: 1px solid #ddd; }
    .fph-btn,
    .fph-search,
    .fph-social { display: none; }
}

/* ----------------------------------------------------------
   36. UTILITY: filter hide (safe for Bootstrap)
   ---------------------------------------------------------- */
.fph-hidden { display: none !important; }
