/* ============================================
    DEPARTMENT DETAIL PAGE
============================================ */
.department-detail-container h1{
    font: 700 36px/55px "Libre Caslon Text", sans-serif;
    color: #1F1E1E;
}
.department__section h2{
    font: 700 36px/55px "Libre Caslon Text", sans-serif;
    color: #1F1E1E;
    margin-bottom: 15px;
}
.department-detail-container {
    margin-top: 0;
}
.department__section p{
    font: 400 18px/32px "Open Sans", sans-serif;
    color: #000000B2;
}
.department__section #faqs-content li, .department__section #publications-content li {
    list-style: decimal;
}
.department__section strong {
    font: 700 18px / 32px "Open Sans", sans-serif;
}
#department-content {
    max-width: 1340px;
    margin: auto;
    padding: 80px 20px;
}
.department__section #additional-content p:not(.department__section #additional-content p:last-child) {
    margin-bottom: 15px;
}
#department-content .department__section:not(#department-content .department__section:last-child) {
    margin-bottom: 50px;
}

.department-page-title-banner {
  background: linear-gradient(#000000c2, #000000c2),
    url("/wp-content/uploads/2025/12/06662b72b11623decbb00829d23c45a4bef0e192.jpg")
      center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.title-banner-content h1 {
    font: 700 50px / 60px "Libre Caslon Text", sans-serif;
    margin: 0;
    color: #fff;
}
/* Gallery */

.gallery-grid .slick-dots li button {
    border-radius: 40px;
    width: 12px;
    height: 12px;
}
.gallery-grid .slick-dots li button:before {
    visibility: hidden;
}
.gallery-grid button.slick-arrow {
    display: none !important;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-8px);
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
/* faq */
.faq-accordion .faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}
.faq-accordion .faq-question {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none; /* Removes default marker */
}
.faq-accordion .faq-question::-webkit-details-marker {
    display: none;
}
.faq-accordion .faq-question:hover {
    background: #f0f0f0;
}
.faq-accordion .faq-toggle-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}
.faq-accordion .faq-toggle-icon img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
}
.faq-accordion .faq-toggle-icon .down-arrow {
    opacity: 1;
}
.faq-accordion .faq-toggle-icon .up-arrow {
    opacity: 0;
    transform: rotate(180deg); /* Optional: slight animation feel */
}
.faq-accordion details[open] .faq-toggle-icon .down-arrow {
    opacity: 0;
}
.faq-accordion details[open] .faq-toggle-icon .up-arrow {
    opacity: 1;
    transform: rotate(0deg);
}
.faq-accordion .faq-answer {
    padding: 0 20px 20px;
    color: #555;
    line-height: 1.6;
}
.faq-accordion .faq-answer p {
    margin: 15px 0 0;
}



#publications-content ul {
    padding: 0 0 0 25px;
}
.pub-header {
    display: flex;
    gap: 10px;
}
.pub-header strong {
    color: #1F1E1E;
    display: block;
}
.pub-item.extra-item {
    display: block;
    opacity: 1;
    margin: 25px 0;
    transition: opacity 0.4s;
}
.explore-more-container {
    text-align: left;
    margin-top: 20px;
}
.pub-header em {
    font-size: 16px;
    color: #000;
}
button#explore-more-pubs {
    background: #013220;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

/* ends here */



.department-tabs-wrapper {
    overflow: hidden;
}
.department-tab-nav {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 15px;
}
.tab-bar h2.title{
    font: 700 36px / 55px "Libre Caslon Text", Sans-serif;
    color: #1F1E1E;
}
.department-tabs-wrapper .tab-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 62px;
}
.department-tab-nav a.active:focus {
    background: #013220 !important;
    text-decoration: none !important;
}
.department-tab-content h2{
    font: 700 34px/46px "Libre Caslon Text", Sans-serif;
    color: #1F1E1E;
    margin-top: 40px;
}
.department-tab-content h3{
    font: 700 26px/36px "Libre Caslon Text", Sans-serif;
    color: #1F1E1E;
    margin-top: 50px;
}
.department-tab-content h4{
    font: 700 20px/30px "Libre Caslon Text", Sans-serif;
    color: #1F1E1E;
}
.department-tab-content li:before {
    content: "";
    background-image: url(/wp-content/uploads/2025/12/Group-3843.png);
    position: absolute;
    width: 24px;
    height: 24px;
    left: -36px;
    top: 5px;
    background-size: contain;
}
.department-tab-content ul{
    padding: 0;    
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.department-tab-content li {
    position: relative;
    margin: 0 0 12px 40px;
    list-style: none;
    flex-basis: 45%;
}

.department-tab-content p {
    color: #000000B2;
    font: 400 18px / 32px "Open Sans";
}
.department-tab-nav li {
    min-width: auto;
}
.department-tab-nav a {
    display: block;
    padding: 9px 20px;
    border: 1px solid #CBD5E1;
    border-radius: 6px; 
    text-align: center;
    font-weight: 600;
    color: #0F172A;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
}
.department-tab-nav a:hover,
.department-tab-nav a.active {
    background: #013220;
    color: #fff;
}
.department-tab-content {
    background: white;
    min-height: 200px;
}
.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}
.tab-panel.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


