/* =========================================
   SLOHUN Custom Styles
   ========================================= */

/* ------------------------------------------
   Contact Info Cards
   ------------------------------------------ */
.contact-info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 19, 32, 0.12);
    border-color: rgba(100, 19, 32, 0.15);
}

.contact-info-card .contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(100, 19, 32, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    background: #641320;
}

.contact-info-card .contact-icon i {
    font-size: 28px;
    color: #641320;
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-icon i {
    color: #fff;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-info-card a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: #641320;
}

/* Contact Form Section */
.contact-form-wrap {
    background: #f8f8f8;
    padding: 45px 40px;
    border-radius: 8px;
}

.contact-form-image {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-map-wrap {
    height: 450px;
}

.contact-map-wrap iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

/* Contact form input style */
.contact-form-wrap .form-control {
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.contact-form-wrap .form-control:focus {
    border-color: #641320;
    box-shadow: 0 0 0 0.2rem rgba(100, 19, 32, 0.1);
}

/* ------------------------------------------
   Publications Page
   ------------------------------------------ */
.publication-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(100, 19, 32, 0.12);
}

.publication-card-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.publication-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.publication-card:hover .publication-card-img img {
    transform: scale(1.05);
}

.publication-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.publication-type-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #641320;
    background: rgba(100, 19, 32, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.publication-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.4;
}

.publication-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.publication-card-title a:hover {
    color: #641320;
}

.publication-card-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.publication-card-meta i {
    color: #641320;
}

.publication-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.publication-card-footer {
    margin-top: auto;
}

/* Publication detail page */
.publication-main-image {
    overflow: hidden;
    border-radius: 8px;
}

.publication-main-image img {
    width: 100%;
    transition: transform 0.8s ease;
}

.publication-main-image:hover img {
    transform: scale(1.03);
}

.publication-description,
.publication-abstract,
.publication-main-scripts {
    line-height: 1.8;
    color: #555;
}

.publication-description a,
.publication-abstract a,
.publication-main-scripts a {
    color: #641320;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed #641320;
    transition: all 0.3s ease;
}

.publication-description a:hover,
.publication-abstract a:hover,
.publication-main-scripts a:hover {
    color: #4a0e18;
    border-bottom-style: solid;
}

/* Sidebar widget - external link */
.widget-contact-dark {
    background: #641320;
    padding: 30px;
    border-radius: 8px;
}

.widget-contact-dark .widget-title {
    color: #fff;
}

.widget-contact-dark a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.widget-contact-dark a:hover {
    color: #fff;
}

.widget-contact-dark p i {
    margin-right: 8px;
}

/* ------------------------------------------
   Research Page
   ------------------------------------------ */
.research-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(100, 19, 32, 0.12);
}

.research-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.research-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.research-item:hover .research-img img {
    transform: scale(1.05);
}

.research-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.research-title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.4;
}

.research-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.research-title a:hover {
    color: #641320;
}

.research-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.research-arrow {
    margin-top: auto;
}

/* Research single page */
.research-details-img {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.research-details-img img {
    width: 100%;
    transition: transform 0.8s ease;
}

.research-details-img:hover img {
    transform: scale(1.03);
}

.research-description,
.research-findings,
.research-summary {
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.research-description a,
.research-findings a,
.research-summary a {
    color: #641320;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed #641320;
    transition: all 0.3s ease;
}

.research-description a:hover,
.research-findings a:hover,
.research-summary a:hover {
    color: #4a0e18;
    border-bottom-style: solid;
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e5e5e5;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list li a {
    display: flex;
    align-items: center;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget-list li a i {
    margin-right: 10px;
    color: #641320;
}

.widget-list li a:hover {
    color: #641320;
    padding-left: 5px;
}

/* ------------------------------------------
   Applications Page
   ------------------------------------------ */
.application-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(100, 19, 32, 0.12);
}

.application-card-img {
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
}

.application-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.application-card:hover .application-card-img img {
    transform: scale(1.05);
}

.application-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.application-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.4;
}

.application-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.application-card-footer {
    margin-top: auto;
}

/* Application filter tabs */
.application-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.application-filter-tabs .filter-btn {
    padding: 8px 22px;
    border: 2px solid #641320;
    background: transparent;
    color: #641320;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.application-filter-tabs .filter-btn:hover,
.application-filter-tabs .filter-btn.active {
    background: #641320;
    color: #fff;
}

/* ------------------------------------------
   Reports Page
   ------------------------------------------ */
.report-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(100, 19, 32, 0.12);
}

.report-card-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.report-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.report-card:hover .report-card-img img {
    transform: scale(1.05);
}

.report-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.report-card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #641320;
    background: rgba(100, 19, 32, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.report-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.4;
}

.report-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.report-card-title a:hover {
    color: #641320;
}

.report-card-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.report-card-meta i {
    color: #641320;
    margin-right: 5px;
}

.report-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.report-card-footer {
    margin-top: auto;
}

/* Report detail styles */
.report-detail-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.report-detail-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.report-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 16px 20px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #666;
}

.report-meta-bar i {
    color: #641320;
    margin-right: 6px;
}

/* Category section heading */
.category-section-title {
    border-left: 4px solid #641320;
    padding-left: 15px;
    margin-bottom: 30px;
}

.category-section-title h3 {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.category-section-title p {
    font-size: 14px;
    color: #888;
    margin-bottom: 0;
}

/* ------------------------------------------
   Staff / Members Pages
   ------------------------------------------ */
.staff-profile-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.staff-profile-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 3/4;
    max-width: 300px;
}

.staff-profile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.staff-profile-info {
    padding: 0;
}

.staff-profile-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    font-family: 'Prata', serif;
}

.staff-profile-info .staff-position {
    font-size: 15px;
    color: #641320;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.staff-profile-info .staff-level-label {
    font-size: 13px;
    color: #888;
    background: #f5f5f5;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.staff-profile-bio {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.staff-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.staff-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.staff-contact-item i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(100, 19, 32, 0.08);
    color: #641320;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.staff-contact-item:hover {
    color: #641320;
}

.staff-contact-item:hover i {
    background: #641320;
    color: #fff;
}

.staff-social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.staff-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #641320;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.staff-social-links a:hover {
    background: #641320;
    color: #fff;
    transform: translateY(-3px);
}

.staff-edu-section {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 25px 30px;
    margin-top: 30px;
}

.staff-edu-section h5 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.staff-edu-section h5 i {
    color: #641320;
}

/* ------------------------------------------
   Category Filter (shared)
   ------------------------------------------ */
.page-filter-bar {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 20px 28px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.page-filter-bar .filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-right: 5px;
}

.page-filter-bar .filter-link {
    padding: 7px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-filter-bar .filter-link:hover,
.page-filter-bar .filter-link.active {
    background: #641320;
    color: #fff;
    border-color: #641320;
}

/* ------------------------------------------
   Empty state
   ------------------------------------------ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
    display: block;
}

.empty-state h4 {
    color: #555;
    margin-bottom: 8px;
}

.empty-state p {
    color: #888;
    font-size: 15px;
}

/* ------------------------------------------
   Responsive Fixes
   ------------------------------------------ */
@media (max-width: 991px) {
    .contact-form-wrap {
        padding: 30px 25px;
        margin-top: 30px;
    }

    .staff-profile-img-wrap {
        max-width: 100%;
        aspect-ratio: 1/1;
        margin-bottom: 24px;
    }

    .staff-profile-info h3 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .contact-info-card {
        padding: 25px 18px;
    }

    .contact-form-wrap {
        padding: 24px 18px;
    }

    .contact-map-wrap {
        height: 280px;
    }

    .report-meta-bar {
        gap: 12px;
    }

    .page-filter-bar {
        padding: 15px 18px;
    }

    .staff-edu-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .application-filter-tabs {
        gap: 8px;
    }

    .application-filter-tabs .filter-btn {
        padding: 6px 14px;
        font-size: 13px;
    }

    .staff-contact-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* ------------------------------------------
   Team / Members Card (staff list page)
   ------------------------------------------ */
.team-single-item {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-single-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.team-single-item .team-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.team-single-item .team-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.team-single-item:hover .team-thumb img {
    transform: scale(1.05);
}

.team-single-item .team-info {
    padding: 20px 15px;
    text-align: center;
    min-height: 100px;
}

.team-single-item .team-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Prata', serif;
}

.team-single-item .team-info h4 a {
    color: #222;
    text-decoration: none;
}

.team-single-item .team-info h4 a:hover {
    color: #641320;
}

.team-single-item .team-info span {
    font-size: 14px;
    color: #6a7c92;
}

.team-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 15px 15px;
}

.team-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #641320;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social-links a:hover {
    background: #641320;
    color: #fff;
}

/* ------------------------------------------
   Blog details text alignment fix
   ------------------------------------------ */
.blog-details-text p {
    text-align: justify;
    text-justify: inter-word;
}

/* Reports category section spacing */
.reports-category-section {
    margin-bottom: 60px;
}

/* ------------------------------------------
   Right Side Sidebar (Eudaimonia Theme)
   ------------------------------------------ */
.sidebar-widget .widget.widget_search .search-form {
    position: relative;
}

.sidebar-widget .widget.widget_search .search-form label {
    width: 100%;
}

.sidebar-widget .widget.widget_search .search-field {
    background: #f5f5f5;
    border: none;
    width: 100%;
    padding: 18px 30px;
    padding-right: 120px;
}

.sidebar-widget .widget.widget_search .search-submit {
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    background: #641320;
    padding: 18px 23px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    min-height: 100%;
}

.sidebar-widget .widget.widget_search .search-submit:hover {
    background: #4a0e18;
}

/* Follow Us social widget */
.sidebar-widget .widget-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sidebar-widget .widget-social a {
    height: 40px;
    width: 40px !important;
    line-height: 40px !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #e4e4e4;
    color: #6e6e6e;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-widget .widget-social a:hover {
    background: #641320;
    color: #fff !important;
    border-color: #641320;
}

/* Categories widget */
.sidebar-widget .widget.widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget .widget.widget_categories .cat-item {
    padding: 10px 0;
    border-bottom: 1px solid #e4e4e4;
    font-size: 14px;
    color: #777;
}

.sidebar-widget .widget.widget_categories .cat-item:last-child {
    border-bottom: none;
}

.sidebar-widget .widget.widget_categories .cat-item a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-widget .widget.widget_categories .cat-item a:hover {
    color: #641320;
    padding-left: 5px;
}

/* Recent Posts widget */
.sidebar-widget .widget.widget_recent_entries ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget .widget.widget_recent_entries li {
    padding: 12px 0;
    border-bottom: 1px solid #e4e4e4;
}

.sidebar-widget .widget.widget_recent_entries li:last-child {
    border-bottom: none;
}

.sidebar-widget .widget.widget_recent_entries li a {
    display: block;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 5px;
}

.sidebar-widget .widget.widget_recent_entries li a:hover {
    color: #641320;
}

.sidebar-widget .widget.widget_recent_entries .post-date {
    display: block;
    font-size: 13px;
    color: #999;
}

/* Tag cloud widget */
.sidebar-widget .widget.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-widget .widget.widget_tag_cloud .tag-cloud-link {
    font-size: 13px !important;
    border: 1px solid #e4e4e4;
    padding: 8px 16px !important;
    display: inline-block;
    text-transform: capitalize;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.sidebar-widget .widget.widget_tag_cloud .tag-cloud-link:hover {
    border-color: #641320;
    background: #641320;
    color: #fff;
}

/* ------------------------------------------
   Pagination (Eudaimonia Theme)
   ------------------------------------------ */
.pagination-wrap {
    margin-top: 20px;
    margin-bottom: 30px;
}

.pagination-wrap .pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.pagination-wrap .pagination .page-item a,
.pagination-wrap .pagination .page-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #e1e1e1;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.pagination-wrap .pagination .page-item a:hover,
.pagination-wrap .pagination .page-item.active a,
.pagination-wrap .pagination .page-item.active span {
    background: #641320;
    border-color: #641320;
    color: #fff;
}

.pagination-wrap .pagination .page-item a i {
    font-size: 12px;
}

/* ------------------------------------------
   Scrollbox / Swiper Marquee Component
   ------------------------------------------ */
.scrollbox-section {
    overflow: hidden;
    padding: 40px 0;
    background: #f9f9f9;
}

.scrollbox-section .swiper-container {
    overflow: visible;
}

.scrollbox-section .swiper-slide {
    font-size: 60px;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #641320;
    text-transform: uppercase;
    font-family: "Prata", serif;
    white-space: nowrap;
    width: auto !important;
}

.scrollbox-section .swiper-slide.solid-text {
    -webkit-text-fill-color: #641320;
}

.scrollbox-section .scroll-box {
    display: flex;
    gap: 30px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    align-items: center;
}

.scrollbox-section .scroll-box img {
    display: inline-block;
    margin-top: -15px;
    width: 30px;
    height: auto;
}

/* ------------------------------------------
   Card Spacing Fix (no data / with data)
   ------------------------------------------ */
.inner-blog .col-lg-8,
.blog-area .col-lg-8,
.research-area .col-lg-8 {
    min-height: 300px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px dashed #e0e0e0;
}

/* Ensure card heights align properly */
.blog-item.h-100,
.publication-card.w-100.h-100,
.research-item.w-100.h-100,
.report-card.w-100.h-100 {
    display: flex;
    flex-direction: column;
}

/* Blog card consistent styling */
.blog-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(100, 19, 32, 0.12);
}

.blog-item-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-item:hover .blog-item-img img {
    transform: scale(1.05);
}

.blog-item-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-item-meta {
    margin-bottom: 12px;
}

.blog-item-meta ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-item-meta ul li {
    font-size: 13px;
    color: #888;
}

.blog-item-meta ul li i {
    color: #641320;
    margin-right: 5px;
}

.blog-item-meta ul li a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-item-meta ul li a:hover {
    color: #641320;
}

h4.blog-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

h4.blog-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

h4.blog-title a:hover {
    color: #641320;
}

.blog-item-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 0;
}

.blog-item-info .theme-btn {
    align-self: flex-start;
}

/* ------------------------------------------
   Filter Bar Styling
   ------------------------------------------ */
.page-filter-bar {
    display: flex;
    align-items: center;
    background: #fdfdfd;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-label {
    font-weight: 700;
    color: #333;
    margin-right: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-links-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-link {
    padding: 8px 20px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-link i {
    font-size: 12px;
}

.filter-link:hover, 
.filter-link.active {
    background: var(--theme-color, #800000);
    border-color: var(--theme-color, #800000);
    color: #fff;
    box-shadow: 0 4px 10px rgba(128, 0, 0, 0.2);
}

/* Research Item refinements */
.research-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.research-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.research-content {
    padding: 30px;
}

.research-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.research-title a:hover {
    color: var(--theme-color, #800000);
}

.research-text {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .sidebar-widget {
        margin-top: 50px;
    }
}

@media (max-width: 767px) {
    .pagination-wrap .pagination .page-item a,
    .pagination-wrap .pagination .page-item span {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .scrollbox-section .swiper-slide {
        font-size: 36px;
    }
}

