.department-directory { background: #faf8f4; color: #344054; }
.department-directory .department-hero { padding: 44px 0 52px; background: radial-gradient(ellipse at top right, #9d374d 0, transparent 60%), #690e25; color: #fff; }
.department-directory .department-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; margin-bottom: 30px; color: #eed4db; }
.department-directory .department-breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.department-directory .department-kicker { color: #f1cf84; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 700; font-size: .7rem; }
.department-directory h1 { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.2; margin: 12px 0 18px; }
.department-directory .department-hero p { max-width: 700px; color: #f0dce0; margin: 0; line-height: 1.8; }
.department-directory .department-body { padding: 48px 0 70px; }
.department-directory .department-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; align-items: start; }
.department-directory .department-results { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.department-directory .department-results h2 { color: #650e25; font-size: 1.3rem; margin: 0; }
.department-directory .department-results > span { font-size: .8rem; color: #667085; }
.department-directory .department-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.department-directory .department-card { display: flex; flex-direction: column; padding: 25px; border: 1px solid #e5dfd5; border-radius: 14px; background: #fff; box-shadow: 0 5px 22px #52152a05; }
.department-directory .department-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.department-directory .department-card-icon { display: grid; place-items: center; flex-shrink: 0; width: 45px; height: 45px; color: #890c25; background: #fff4dd; border-radius: 12px; font-size: 1.1rem; }
.department-directory .department-label { color: #806017; font-size: .7rem; font-weight: 700; }
.department-directory .department-card h3 { font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; line-height: 1.4; margin: 0 0 12px; }
.department-directory .department-card h3 a { color: #650e25; }
.department-directory .department-card p { margin: 0 0 22px; color: #677184; font-size: .88rem; line-height: 1.85; overflow-wrap: anywhere; }
.department-directory .department-read-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #ece5d9; color: #890c25; font-size: .8rem; font-weight: 700; }
.department-directory .department-sidebar { display: grid; gap: 24px; }
.department-directory .department-side-card { background: #fff; border: 1px solid #e5dfd5; border-radius: 14px; overflow: hidden; }
.department-directory .department-side-card h2 { padding: 22px 20px; margin: 0; color: #650e25; font-size: 1.1rem; border-bottom: 1px solid #eee5d8; }
.department-directory .department-side-card a { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 15px 20px; color: #4c566a; border-bottom: 1px solid #f0eae0; font-size: .82rem; }
.department-directory .department-side-card a:last-child { border-bottom: 0; }
.department-directory .department-side-card a[aria-current="page"], .department-directory .department-side-card a:hover { color: #890c25; background: #fff5e3; }
.department-directory .department-side-card a span { font-size: .7rem; padding: 2px 7px; border-radius: 5px; background: #f1ece4; }
.department-directory .department-help { padding: 25px; border-radius: 14px; background: #710e25; color: #fff; }
.department-directory .department-help h2 { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; margin: 14px 0; }
.department-directory .department-help p { color: #ead3db; font-size: .86rem; line-height: 1.8; }
.department-directory .department-help a { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #ffdda0; padding: 10px 0; font-size: .8rem; }
.department-directory .department-profile { min-width: 0; padding: clamp(22px, 3vw, 38px); background: #fff; border: 1px solid #e5dfd5; border-radius: 14px; }
.department-directory .department-summary { padding: 18px 20px; border-left: 4px solid #d0a144; background: #fffbf1; color: #5a4a2f; line-height: 1.9; margin-bottom: 26px; }
.department-directory .department-contact { display: flex; flex-wrap: wrap; gap: 20px 30px; padding-bottom: 20px; border-bottom: 1px solid #e5dfd5; }
.department-directory .department-contact dt { font-size: .76rem; color: #68758a; margin-bottom: 5px; }
.department-directory .department-contact dd { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.department-directory .department-rich-content { line-height: 1.9; font-size: .95rem; overflow-wrap: anywhere; }
.department-directory .department-rich-content h2, .department-directory .department-rich-content h3, .department-directory .department-rich-content h4 { color: #710e25; margin: 28px 0 14px; line-height: 1.4; font-family: "Playfair Display", Georgia, serif; }
.department-directory .department-rich-content h2 { font-size: 1.65rem; }
.department-directory .department-rich-content h3 { font-size: 1.35rem; }
.department-directory .department-rich-content ul, .department-directory .department-rich-content ol { padding-left: 25px; margin-bottom: 20px; }
.department-directory .department-rich-content li { margin-bottom: 8px; }
.department-directory .department-rich-content a { color: #890c25; text-decoration: underline; }
.department-directory .department-rich-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 20px 0; }
.department-directory .department-rich-content td, .department-directory .department-rich-content th { padding: 12px; border: 1px solid #e1d8c7; min-width: 110px; }
.department-directory .department-rich-content th { background: #fff6e3; }
.department-directory .department-profile-footer { border-top: 1px solid #e5dfd5; margin-top: 30px; padding-top: 22px; }
.department-directory .department-profile-footer a { color: #890c25; font-weight: 700; font-size: .84rem; }
.department-directory .department-empty { grid-column: 1 / -1; text-align: center; padding: 35px 22px; border-radius: 14px; border: 1px dashed #d9cdb8; background: #fff; }
.department-directory .department-empty h2, .department-directory .department-empty h3 { font-size: 1.25rem; margin: 14px 0; color: #710e25; }
.department-directory .department-empty p { color: #697489; }
.department-directory .department-pagination { margin-top: 28px; padding: 16px; border: 1px solid #e5dfd5; border-radius: 12px; background: #fff; }
.department-directory .department-pagination nav > div { flex-wrap: wrap; gap: 12px; }
.department-directory .department-pagination .pagination { margin: 0; gap: 5px; flex-wrap: wrap; }
.department-directory .department-pagination p { margin: 0; }
.department-directory .department-pagination .page-link { color: #890c25; border-radius: 7px; min-width: 40px; min-height: 40px; text-align: center; }
.department-directory .department-pagination .active .page-link { color: #fff; background: #890c25; border-color: #890c25; }
.department-directory a:focus-visible { outline: 3px solid #bc8d2a; outline-offset: 4px; }
.department-directory .department-faculty { margin-top: 36px; padding-top: 28px; border-top: 1px solid #e5dfd5; }
.department-directory .department-faculty-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.department-directory .department-faculty-heading h2 { margin: 6px 0 0; color: #710e25; font-size: 1.65rem; font-family: "Playfair Display", Georgia, serif; }
.department-directory .department-faculty-count { padding: 6px 12px; border-radius: 20px; background: #fff6e3; color: #710e25; font-size: .8rem; font-weight: 700; }
.department-directory .department-faculty-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.department-directory .department-faculty-card { padding: 26px 22px 22px; border: 1px solid #e5dfd5; border-top: 4px solid #890c25; border-radius: 16px; background: linear-gradient(#fff8ee 0, #fff 180px); box-shadow: 0 5px 18px #4826150a; text-align: center; overflow-wrap: anywhere; }
.department-directory .department-faculty-portrait { margin: 0 auto 18px; width: 140px; height: 140px; padding: 6px; border: 1px solid #e2c99b; border-radius: 50%; background: #fff; }
.department-directory .department-faculty-portrait img { display: block; width: 126px; height: 126px; border-radius: 50%; object-fit: cover; object-position: center top; }
.department-directory .department-faculty-placeholder { display: grid; place-items: center; width: 126px; height: 126px; border-radius: 50%; background: #f5ecdf; color: #ac7f4b; font-size: 3rem; }
.department-directory .department-faculty-card h3 { margin: 0 0 8px; color: #710e25; font-size: 1.12rem; font-weight: 700; line-height: 1.45; }
.department-directory .department-faculty-designation { color: #6c5d50; font-size: .87rem; margin: 0 0 20px; }
.department-directory .department-faculty-details { margin: 0; padding-top: 16px; border-top: 1px solid #eee8de; text-align: left; display: grid; gap: 14px; }
.department-directory .department-faculty-details dt { color: #7a6a58; font-size: .72rem; font-weight: 600; margin-bottom: 4px; }
.department-directory .department-faculty-details dt i { margin-right: 4px; color: #aa7e2e; }
.department-directory .department-faculty-details dd { color: #29364b; margin: 0; font-size: .88rem; line-height: 1.6; }
@media (max-width: 600px) { .department-directory .department-faculty-cards { grid-template-columns: minmax(0, 1fr); } }
.department-directory .department-faculty-empty { padding: 20px; border-radius: 12px; background: #fcfaf6; color: #697489; }
@media (max-width: 1000px) { .department-directory .department-layout { grid-template-columns: minmax(0, 1fr); } .department-directory .department-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .department-directory .department-cards, .department-directory .department-sidebar { grid-template-columns: minmax(0, 1fr); } .department-directory .department-hero { padding: 30px 0 38px; } .department-directory .department-body { padding: 30px 0 45px; } }
