/* Branch Page Style 3 - Accordion Layout */
/* Based on branch-1.css with accordion modifications */

/* Faculty Page Main Container */
.faculty-page-main {
    width: 100%;
    min-height: 100vh;
}

/* Faculty Banner Section */
.faculty-banner-section {
    position: relative;
    width: 100%;
    height: 285px;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
    margin-bottom: 0;
}

.faculty-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: 100%;
}

.banner-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faculty-banner-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.faculty-banner-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.banner-text-content {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.banner-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    font-family: var(--font-english);
    margin: 0;
}

.banner-subtitle {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.95;
    margin: 0;
}

.banner-image-right {
    width: 500px;
    height: auto;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.banner-right-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Accordion Container */
.branch-accordion-container {
    max-width: 1400px;
    margin: -20px auto 0 auto;
    padding: 0 20px 40px 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.branch-accordion-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Accordion Item */
.branch-accordion-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    margin-bottom: 20px;
    z-index: 999;
}

.branch-accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.branch-accordion-item.active {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Accordion Header */
.branch-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    font-family: var(--font-english);
    position: relative;
}

.branch-accordion-header:hover {
    background-color: #f8f9fa;
}

.branch-accordion-item.active .branch-accordion-header {
    background-color: #f0f4ff;
    border-bottom: 2px solid #1B2F56;
}


.accordion-title {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.branch-accordion-item.active .accordion-title {
    color: #1B2F56;
    font-weight: 700;
}

.accordion-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #000000;
    border-radius: 50%;
    background-color: #1B2F56;
    color: #ffffff;
}

.branch-accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    background-color: #1B2F56;
    color: #ffffff;
}


/* Accordion Content */
.branch-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
}

.branch-accordion-item.active .branch-accordion-content {
    max-height: 10000px;
}

.accordion-content-inner {
    padding: 32px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.branch-accordion-item.active .accordion-content-inner {
    opacity: 1;
}

/* Faculty Container */
.faculty-container {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 12px;
    background-color: #fff;
    overflow: visible;
    padding: 30px 0px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Import all other styles from branch-1.css */
/* Branch History Tab Styles */
.branch-history-overview {
    margin-bottom: 40px;
    padding: 40px 0;
}

.history-text {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    text-align: left;
    margin: 0;
}

/* Latest News Section */
.news-section {
    width: 100%;
    padding: 0;
    background-color: transparent;
    margin-top: 0;
    overflow: visible;
    padding-bottom: 30px;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


.news-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #182F61;
    font-family: var(--font-english);
    text-align: left;
}

.news-action {
    margin-top: 40px;
    text-align: center;
}

/* Events Section */
.events-section {
    width: 100%;
    padding: 40px 0;
    background-color: transparent;
}

.events-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.events-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.events-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #182F61;
    margin-bottom: 30px;
    font-family: var(--font-english);
    text-align: left;
}

.events-action {
    text-align: center;
    margin-top: 40px;
}

/* Branch Sections Section */
.branch-sections-section {
    margin-bottom: 30px;
    padding: 20px 0 40px 0;
}

.branch-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #182F61;
    margin-bottom: 30px;
    font-family: var(--font-english);
    text-align: left;
}

/* Branch Contact & Map Section */
.branch-contact-map-section {
    margin-bottom: 60px;
    padding: 40px 0;
}

.contact-map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.branch-contact-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(24, 47, 97, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(24, 47, 97, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.branch-contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #182F61 0%, #2563eb 100%);
}

.contact-box-title {
    font-size: 32px;
    font-weight: 700;
    color: #182F61;
    margin-bottom: 36px;
    font-family: var(--font-english);
    position: relative;
    padding-bottom: 16px;
}

.contact-box-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #182F61 0%, #2563eb 100%);
    border-radius: 2px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: #182F61;
    box-shadow: 0 2px 8px rgba(24, 47, 97, 0.1);
    transform: translateY(-2px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #182F61 0%, #2563eb 100%);
    border-radius: 12px;
    padding: 12px;
    margin-top: 0;
}

.contact-info-icon img {
    filter: brightness(0) invert(1);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 17px;
    color: #1f2937;
    line-height: 1.6;
    font-weight: 500;
}

.contact-info-value a {
    color: #182F61;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 4px;
}

.contact-info-value a:last-child {
    margin-bottom: 0;
}

.contact-info-value a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.branch-map-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #e5e7eb;
}

.branch-map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Dean Section */
.dean-section {
    padding: 60px 0 40px 0;
    background-color: #ffff;
}

.dean-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.dean-section-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: flex-start;
    padding: 30px;
}

.dean-image-column {
    flex-shrink: 0;
}

.dean-image-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.dean-portrait {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.dean-text-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dean-name-title {
    font-size: 32px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0 0 8px 0;
    line-height: 1.2;
    font-family: var(--font-english);
}

.dean-title {
    font-size: 18px;
    font-weight: 500;
    color: #64748b;
    margin: 0 0 20px 0;
}

.director-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.director-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.director-contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.director-contact-value {
    font-size: 16px;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Successive Deans Section */
.successive-deans-section {
    padding: 40px 20px 40px;
    overflow: visible;
    background-color: #ffffff;
}

.successive-deans-title {
    font-size: 36px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0 0 24px;
    font-family: var(--font-english);
    text-align: left;
}

.successive-deans-timeline {
    position: relative;
    padding: 0 0 45px;
    overflow: visible;
    min-height: 680px;
}

.successive-deans-timeline::before {
    content: "";
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    left: 60px;
    right: 60px;
    height: 4px;
    background: linear-gradient(90deg, rgba(58, 91, 163, 0), #3A5BA3 20%, #3A5BA3 80%, rgba(58, 91, 163, 0));
    z-index: 0;
}

.timeline-items {
    display: flex;
    gap: 48px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 35px 20px 20px;
    scroll-snap-type: x proximity;
    height: auto;
    min-height: 770px;
}

.timeline-item {
    position: relative;
    flex: 0 0 240px;
    height: 680px;
    scroll-snap-align: start;
    z-index: 2;
    cursor: pointer;
}

.timeline-node {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #3A5BA3;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-english);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 24px rgba(11, 25, 57, 0.18);
}

.timeline-card {
    width: 220px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(11, 25, 57, 0.15);
    border: 1px solid rgba(39, 74, 140, 0.12);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card-photo {
    width: 100%;
    height: 160px;
    object-fit: contain;
    border-radius: 25px 25px 0 0;
}

.timeline-card-body {
    padding: 18px 20px 30px;
    position: relative;
}

.timeline-card-date {
    font-size: 12px;
    color: #5e6375;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-weight: 600;
}

.timeline-card-name {
    font-size: 14px;
    margin: 0;
    color: #111b33;
}

.timeline-card-logo {
    position: absolute;
    width: 46px;
    right: 16px;
    bottom: 16px;
    opacity: 0.3;
}

.timeline-item.is-top .timeline-card {
    bottom: calc(50% + 80px);
}

.timeline-item.is-bottom .timeline-card {
    top: calc(50% + 80px);
}

/* Branch Specializations Section */
.branch-specializations-section {
    margin-bottom: 60px;
    padding: 20px 0 40px 0;
}

/* Unit Council Section */
.unit-council-section {
    padding: 30px 0 50px;
}

.unit-council-table-wrapper {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    overflow-x: auto;
    overflow-y: hidden;
}

.unit-council-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.unit-council-table th {
    text-align: left;
    padding: 18px 24px;
    background: #1B2F56;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-english);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.unit-council-table th:last-child {
    border-right: none;
}

.unit-council-table tbody tr {
    background-color: #ffffff;
}

.unit-council-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.unit-council-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    font-size: 15px;
    color: var(--text-dark);
    font-family: var(--font-english);
}

.unit-council-table td:last-child {
    border-right: none;
}

.name-cell-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.name-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e5e7eb;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
/* Academic Departments Section */
.academic-departments-section {
    padding: 30px 0 50px;
}

.department-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.department-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.department-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.department-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1B2F56;
    margin: 0 0 24px 0;
    line-height: 1.4;
    text-align: center;
    background-color: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
}

.department-card-avatar {
    margin-bottom: 20px;
}

.department-card-avatar .name-avatar {
    width: 100px;
    height: 100px;
    background-size: 60px 60px;
}
.department-card-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
}
.department-card-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-card-name {
    font-size: 20px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0 0 24px 0;
}

.department-card-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.department-card-contact .contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 15px;
    justify-content: center;
}

.department-card-contact .contact-row a {
    color: #182F61;
    text-decoration: none;
    transition: color 0.3s ease;
}

.department-card-contact .contact-row a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Administrative Units Section */
.administrative-units-section {
    padding: 30px 0 50px;
}

.admin-units-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.admin-unit-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admin-unit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.admin-unit-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1B2F56;
    margin: 0 0 24px 0;
    line-height: 1.4;
    text-align: center;
    background-color: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
}

.admin-unit-card-avatar {
    margin-bottom: 20px;
}

.admin-unit-card-avatar .name-avatar {
    width: 100px;
    height: 100px;
    background-size: 60px 60px;
}

.admin-unit-card-name {
    font-size: 22px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0 0 24px 0;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
    letter-spacing: 0.2px;
}

.admin-unit-card-name::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: rgba(24, 47, 97, 0.1);
}

.admin-unit-card-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.admin-unit-card-contact .contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 15px;
    justify-content: center;
}

.admin-unit-card-contact .contact-row a {
    color: #182F61;
    text-decoration: none;
    transition: color 0.3s ease;
}

.admin-unit-card-contact .contact-row a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Administrative Units Nested Tabs Styles */
.admin-units-tabs-wrapper {
    width: 100%;
}

.admin-units-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: none;
}

.admin-units-tab {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: normal;
    color: #49454f;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.admin-units-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 25px;
    width: 100%;
}

.admin-units-tab:hover {
    background-color: rgba(27, 47, 86, 0.02);
    color: #1B2F56;
}

.admin-units-tab.active {
    color: #b00020;
    font-weight: bold;
}

.admin-units-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #b00020;
    border-radius: 25px;
    width: 100%;
}

.admin-units-tab-panel {
    display: none;
}

.admin-units-tab-panel.active {
    display: block;
}

.admin-unit-no-data {
    color: #6b7280;
    font-size: 16px;
    text-align: center;
    padding: 20px;
    margin: 0;
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-map-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .branch-map-container {
        height: 400px;
    }

    .dean-section-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 32px;
    }

    .department-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .admin-units-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .admin-units-tabs-nav {
        margin-bottom: 30px;
    }

    .admin-units-tab {
        padding: 14px 20px;
        font-size: 16px;
    }

    .events-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .faculty-banner-section {
        height: 200px;
        min-height: 200px;
    }

    .faculty-banner-container {
        padding: 24px 16px;
    }

    .faculty-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .banner-text-content {
        width: 100%;
        gap: 12px;
    }

    .faculty-banner-section .banner-image-right {
        display: none;
    }

    .banner-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .banner-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }

    .branch-accordion-container {
        padding: 40px 0 30px;
    }

    .branch-accordion-wrapper {
        padding: 0 16px;
    }

    .branch-accordion-header {
        padding: 16px 20px;
    }

    .accordion-title {
        font-size: 16px;
    }

    .accordion-icon {
        width: 20px;
        height: 20px;
    }

    .branch-history-overview,
    .branch-specializations-section,
    .branch-contact-map-section {
        padding: 48px 0;
    }

    .history-text {
        font-size: 16px;
        text-align: left;
    }

    .branch-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .branch-contact-box {
        padding: 36px 24px;
    }

    .contact-box-title {
        font-size: 26px;
        margin-bottom: 28px;
    }

    .contact-info-list {
        gap: 16px;
    }

    .contact-info-item {
        padding: 16px;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .branch-map-container {
        height: 300px;
    }

    .dean-section-content {
        padding: 24px;
        gap: 24px;
    }

    .dean-name-title {
        font-size: 28px;
    }

    .successive-deans-title {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .department-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-units-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-units-tabs-nav {
        margin-bottom: 24px;
        flex-wrap: wrap;
    }

    .admin-units-tab {
        padding: 12px 16px;
        font-size: 15px;
        flex: 1;
        min-width: 50%;
    }
}

@media (max-width: 480px) {
    .faculty-banner-section {
        height: 180px;
        min-height: 180px;
    }

    .faculty-banner-container {
        padding: 20px 16px;
    }

    .banner-title {
        font-size: 18px;
        line-height: 1.2;
    }

    .banner-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .branch-accordion-container {
        padding: 30px 0 20px;
    }

    .branch-accordion-header {
        padding: 14px 16px;
    }

    .accordion-title {
        font-size: 15px;
    }

    .branch-contact-box {
        padding: 28px 20px;
    }

    .contact-box-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .contact-info-item {
        gap: 16px;
        padding: 16px;
    }

    .contact-info-value {
        font-size: 14px;
    }
}

.faculty-page-main .announcements-section {
    background-color: transparent !important;
}
.circulars-section {
    padding-top: 0px;
    padding-bottom: 30px;
}
.announcements-section {
    padding: 0 0 30px 0 !important;
}