:root {
    --gr: 1.618;
    --base-font-size: 1rem;
    --h2-font-size: calc(var(--base-font-size) * var(--gr) * 1.5);
    --h3-font-size: calc(var(--base-font-size) * var(--gr));
    --h4-font-size: calc(var(--base-font-size) * var(--gr) / 1.5);
    --h5-font-size: calc(var(--base-font-size) * var(--gr) / 3);
    --h6-font-size: calc(var(--base-font-size) * var(--gr) / 5);
    --section-padding: 5rem;
    --section-padding-small: calc(var(--section-padding) / var(--gr));
    --primary-color: #c02126;
    --primary-hover: #9a0407;
    --secondary-color: #2a2c32;
    --light-gray: #f8f9fa;
    --dark-gray: #2a2c32;
    --border-radius: 12px;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    --card-transition: all 0.3s ease;
    --button-radius: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: var(--gr);
    background-color: #fff;
    color: var(--dark-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 15px 2rem 15px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.top-header-left a,
.top-header-right a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.top-header-left a:hover,
.top-header-right a:hover {
    color: var(--primary-hover);
}

.top-header-right {
    display: flex;
    align-items: center;
}

nav {
    position: relative;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
    position: relative;
    z-index: 1000;
}

.logo {
    position: relative;
    bottom: -.5rem;
    z-index: 1001;
}

.logo img {
    max-height: 60px;
    display: block;
    content: url('../images/logo.png');
}

.logo {
    bottom: 0;
}

.custom-logo {
    height: auto !important;
    width: auto !important;
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.custom-logo-link img {
    display: block;
    height: auto;
    width: auto;
}

.menu {
    display: flex;
    align-items: center;
}

.menu ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.menu>ul>li>a {
    text-decoration: none;
    color: var(--primary-color);
    text-align: center;
    display: grid;
    place-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    border: .8rem solid transparent;
    transition: all 0.3s ease;
    position: relative;
    bottom: -1.5rem;
    z-index: 20;
    white-space: nowrap;
}

.menu>ul>li>a:hover,
.menu>ul>li>a.active-mega {
    background-color: var(--primary-color);
    color: white;
    border-color: white;
    width: 6.5rem;
    height: 6.5rem;
    margin: 0.25rem;
    white-space: normal;
}

.menu .active {
    color: var(--primary-color);
}


.mega-menu {
    display: none;
    position: absolute;
    top: 6rem;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: var(--section-padding-small);
    text-align: left;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    border-radius: var(--border-radius);
}

.mega-menu h3 {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
    font-size: var(--h3-font-size);
}

.mega-menu a {
    display: block;
    padding: 8px 12px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    width: auto;
    height: auto;
    transition: background 0.3s ease;
}

.mega-menu a:hover,
.mega-menu a.active-mega {
    background: #eee;
    border-radius: 8px;
    color: var(--primary-color);
    margin: 0;
    border: none;
}

.mega-menu .column {
    padding: 0 20px;
    align-self: stretch;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.mega-menu .column:last-child {
    border-right: none;
}

.mega-menu.active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .mega-menu.active {
        grid-template-columns: 1fr;
    }

    .mega-menu .column {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding: 1rem 0;
    }

    .mega-menu .column:last-child {
        border-bottom: none;
    }
}


.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
}

.breadcrumbs {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: white;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    height: 4rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.breadcrumbs h3,
.breadcrumbs a,
.breadcrumbs span {
    color: white;
}

.breadcrumbs a {
    text-decoration: none;
    margin-right: 5px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.menu-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fff;
}


.jumbotron-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 0;
    border-radius: var(--border-radius);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/curve.svg');
    background-size: cover;
    background-position: bottom;
    z-index: 2;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translate(0, -50%);
    color: white;
    text-align: left;
    width: 20%;
}

.slide-content h2,
.slide-content p,
.slide-content .btn {
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide.active .slide-content h2 {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.slide.active .slide-content p {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.slide.active .slide-content .btn {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.slide-content h2 {
    font-size: x-large;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: large;
    margin-bottom: 1.5rem;
}

.slide-content .btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background-color 0.3s;
}

.slide-content .btn:hover {
    background-color: var(--secondary-color);
}

.slider-dots {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 15;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}


.about-header,
.blog-header,
.books-header,
.events-header,
.podcast-header,
.work-header,
.team-header,
.contact-header {
    text-align: center;
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.about-header h1,
.work-themes-section h1,
.blog-header h1,
.books-header h1,
.events-header h1,
.podcast-header h1,
.work-header h1,
.team-header h1,
.contact-header h1 {
    font-size: var(--h2-font-size);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-header p,
.blog-header p,
.books-header p,
.events-header p,
.podcast-header p,
.work-header p,
.team-header p,
.contact-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
}

.reports-section h2,
.publications-section h2,
.work-themes-section h2,
.podcast-section h2,
.about-section h2,
.team-section h2,
.work-themes-section h2 {
    font-size: var(--h2-font-size);
    margin-bottom: var(--section-padding-small);
    color: var(--primary-color);
    display: inline-block;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 5px;
}

.reports-section h3,
.publications-section h3,
.work-themes-section h3,
.podcast-section h3,
.about-section h3,
.team-section h3,
.work-themes-section h3 {
    color: var(--primary-color) !important;
    font-size: var(--h3-font-size) !important;
    margin: 0 !important;
    display: inline-block !important;
    border-bottom: 3px solid var(--primary-color) !important;
    padding-bottom: 5px !important;
}

.reports-section h4,
.publications-section h4,
.work-themes-section h4,
.podcast-section h4,
.about-section h4,
.team-section h4,
.work-themes-section h4 {
    color: var(--primary-color) !important;
    font-size: var(--h4-font-size) !important;
    margin: 0 !important;
    display: inline-block !important;
    border-bottom: 3px solid var(--primary-color) !important;
    padding-bottom: 5px !important;
}

.reports-section,
.publications-section {
    padding: var(--section-padding) 0;
    text-align: center;
}

.report-card {
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    gap: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.report-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    z-index: 1;
}

.report-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
    color: var(--primary-color);
}

.report-authors {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

.report-description {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: #333;
}

.read-more-button {
    align-self: flex-start;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.read-more-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.report-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.report-cover-image {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: rotate(5deg);
    position: absolute;
    bottom: -30px;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--section-padding-small);
    text-align: left;
}

.publication-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
}

.publication-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.publication-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.publication-card-content {
    padding: var(--section-padding-small);
}

.publication-card-content h3 {
    font-size: var(--h3-font-size);
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.publication-card-content p {
    color: #666;
    margin-bottom: 15px;
}

.publication-card-content .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.publication-card-content .read-more:hover {
    text-decoration: underline;
}

.podcast-section {
    padding: var(--section-padding) 0;
    background-color: #f9f9f9;
}

.podcast-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.podcast-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--section-padding-small);
}

.podcast-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    padding: var(--section-padding-small);
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    text-align: center;
    border-radius: var(--border-radius);
}

.podcast-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.podcast-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-right: 0;
    margin-bottom: 15px;
    border-radius: 8px;
}

.podcast-info {
    text-align: center;
}

.podcast-info h3 {
    font-size: var(--h3-font-size);
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.podcast-info p {
    color: #666;
    margin-bottom: 15px;
}

.podcast-info .listen-now {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border-radius: var(--border-radius);
}

.podcast-info .listen-now:hover {
    background-color: var(--secondary-color);
}

.about-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
    transition: var(--card-transition);
    margin-top: 3rem;
}

.about-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
    color: #666;
    text-align: justify;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.mission-vision .card p {
    padding-top: 20px;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
    transition: var(--card-transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1.3;
}

.card p {
    line-height: 1.7;
    font-size: 1.05rem;
    color: #666;
}

.team-section {
    margin: 3rem 0;
}

.team-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
    transition: var(--card-transition);
    text-align: center;
}

.team-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.team-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
    color: #666;
}

.team-placeholder {
    background: linear-gradient(45deg, var(--secondary-color), #333);
    height: 200px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

.ai-section {
    padding: var(--section-padding) 0;
}

.ai-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.ai-sidebar {
    width: 300px;
    background: white;
    border-radius: var(--border-radius);
    padding: 1.8rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
    transition: var(--card-transition);
}

.ai-sidebar:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.ai-sidebar h3 {
    font-size: var(--h3-font-size);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 5px;
}

.ai-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-sidebar li {
    margin-bottom: 0.8rem;
}

.ai-sidebar li:last-child {
    margin-bottom: 0;
}

.ai-sidebar a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ai-sidebar a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 1.2rem;
}

.ai-sidebar a.active {
    background-color: var(--primary-color);
    color: white;
    padding-left: 1.2rem;
}

.ai-main-content {
    flex: 1;
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
    transition: var(--card-transition);
}

.ai-main-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.ai-main-content h3 {
    font-size: var(--h3-font-size);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
}

.ai-main-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #666;
}

.ai-main-content p:last-child {
    margin-bottom: 0;
}

.search-container {
    max-width: 600px;
    margin: 2rem auto 0;
    position: relative;
}

.search-bar {
    display: flex;
    width: 100%;
}

.search-bar input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    border-color: var(--primary-color);
}

.search-bar button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1.8rem;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: var(--primary-hover);
}

.read-more-btn,
.play-btn,
.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
    align-self: flex-start;
    font-size: 1.05rem;
    gap: 0.5rem;
}

.read-more-btn:hover,
.play-btn:hover,
.register-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(181, 5, 9, 0.3);
}


.tag-btn,
.filter-btn {
    padding: 0.6rem 1.6rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tag-btn:hover,
.tag-btn.active,
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}



.blog-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2.5rem 0 1.5rem;
}

.featured-post,
.featured-book,
.featured-podcast {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    margin: 3rem 0;
    display: flex;
    border: 1px solid #eee;
}

.featured-image {
    flex: 1;
    min-height: 350px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    position: relative;
}

.featured-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
    z-index: 1;
    transition: background 0.3s ease;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.featured-image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.featured-badge {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.featured-content {
    flex: 2;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.featured-content .post-meta,
.featured-content .book-meta,
.featured-content .podcast-meta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    color: #777;
    font-size: 0.95rem;
}

.featured-content .post-meta span,
.featured-content .book-meta span,
.featured-content .podcast-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.featured-content h2 {
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    line-height: 1.3;
}

.featured-content p {
    color: #666;
    margin-bottom: 1.8rem;
    flex-grow: 1;
    font-size: 1.05rem;
    line-height: 1.6;
}

.blog-hero {
    position: relative;
    margin-bottom: 3rem;
    height: 360px;
}

#blog-hero-track-viewport {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
    background: white;
    height: 360px;
}

.blog-hero__track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 360px;
}

.blog-hero__track .blog-hero__slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    margin: 0;
    box-shadow: none;
    border: none;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 100%;
    height: 360px;
}

.blog-hero__track .blog-hero__slide-image-area {
    flex: 0 0 auto;
    width: 400px;
    height: 360px;
    position: relative;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero__track .blog-hero__slide-image-area a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    z-index: 2;
}

.blog-hero__track .blog-hero__slide-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: var(--border-radius);
}

.blog-hero__track .blog-hero__slide-image-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: background 0.3s ease;
}

.blog-hero__track .blog-hero__slide-badge {
    position: absolute;
    z-index: 3;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid #eee;
}

.blog-hero__track .blog-hero__slide-content {
    flex: 1;
    min-width: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.blog-hero__track .post-meta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    color: #777;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.blog-hero__track .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-hero__track .blog-hero__slide-content h2 {
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-hero__track .blog-hero__slide-content h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog-hero__track .blog-hero__slide-content h2 a:hover {
    color: var(--primary-color);
}

.blog-hero__track .blog-hero__slide-content p {
    color: #666;
    margin-bottom: 1.8rem;
    flex-grow: 1;
    font-size: 1.05rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-hero__track .read-more-btn {
    align-self: flex-start;
    margin-top: auto;
}

.post-featured-image {
    max-width: 100%;
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

.wp-block-post-featured-image img {
    border-radius: var(--border-radius);
}

.post-content .wp-block-post-terms {
    display: inline-block;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.post-content .wp-block-post-terms a {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    border-radius: var(--button-radius);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.post-content .wp-block-post-terms a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

@media (max-width: 992px) {
    .blog-hero {
        height: 300px;
    }

    #blog-hero-track-viewport,
    .blog-hero__track,
    .blog-hero__track .blog-hero__slide {
        height: 300px;
    }

    .blog-hero__track .blog-hero__slide-image-area {
        width: 350px;
        height: 300px;
    }

    .blog-hero__track .blog-hero__slide-content {
        padding: 2rem;
    }

    .blog-hero__track .blog-hero__slide-content h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: auto;
        min-height: 480px;
    }

    #blog-hero-track-viewport,
    .blog-hero__track,
    .blog-hero__track .blog-hero__slide {
        height: auto;
        min-height: 480px;
    }

    .blog-hero__track .blog-hero__slide {
        flex-direction: column;
        min-height: 480px;
    }

    .blog-hero__track .blog-hero__slide-image-area {
        flex: none;
        width: 100%;
        height: 250px;
        max-width: 100%;
    }

    .blog-hero__track .blog-hero__slide-content {
        padding: 1.5rem;
        height: auto;
    }

    .blog-hero__track .blog-hero__slide-content h2 {
        font-size: 1.5rem;
    }

    .blog-hero__track .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        min-height: 420px;
    }

    #blog-hero-track-viewport,
    .blog-hero__track,
    .blog-hero__track .blog-hero__slide {
        min-height: 420px;
    }

    .blog-hero__track .blog-hero__slide-image-area {
        height: 200px;
    }

    .blog-hero__track .blog-hero__slide-content h2 {
        font-size: 1.3rem;
    }
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 6rem 0;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.blog-card-image {
    height: 250px;
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(45deg, var(--secondary-color), #333);
}

.blog-card-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
    z-index: 2;
    transition: background 0.3s ease;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.blog-card-image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.blog-card-image a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: background 0.3s ease;
}

.blog-card-image a:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.blog-card-image a>* {
    z-index: 3;
    position: relative;
}

.blog-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
}

.blog-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content .post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #777;
    font-size: 0.9rem;
}

.blog-card-content .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-card-content h3 {
    font-size: 1.45rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    line-height: 1.3;
}

.blog-card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-card .read-more-btn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    align-self: flex-start;
}

.book-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2.5rem 0 1.5rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.book-card {
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 640 / 830;
}

@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .book-card {
        aspect-ratio: 3 / 4;
    }

    .book-categories {
        margin: 2rem 0 1rem;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.book-cover {
    width: 100%;
    height: 100%;
    display: block;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.book-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.book-content h5 {
    margin: 0;
    text-transform: uppercase;
}

.book-content a {
    color: #fff;
    text-decoration: none;
    font-size: small;
}

@media (max-width: 768px) {
    .book-content {
        opacity: 1;
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.8);
        padding: 0.75rem;
    }

    .book-content h3 {
        font-size: 0.9rem;
    }
}

.book-card:hover .book-content {
    opacity: 1;
    transform: translateY(0);
}

.book-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.book-content a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.book-content a:hover {
    color: #b50509;
}


.work-themes-section {
    padding: var(--section-padding) 0;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}

.work-theme-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.work-theme-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.work-theme-icon {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--secondary-color);
}

.work-theme-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.work-theme-content h3 {
    font-size: 1.45rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.work-theme-content .theme-focus {
    font-size: 0.95rem;
    color: var(--primary-hover);
    font-weight: 600;
    margin-bottom: 1rem;
    background-color: #fcebeb;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 5px;
}

.work-theme-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}


.events-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2.5rem 0 1.5rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}

.event-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
}

.event-date .day {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.event-date .month-year {
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-content .event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #777;
    font-size: 0.9rem;
}

.event-content .event-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.event-content h3 {
    font-size: 1.45rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    line-height: 1.3;
}

.event-content p {
    color: #666;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    flex-grow: 1;
}

.event-card .view-btn {
    display: inline-block;
    background: var(--light-gray);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
    align-self: flex-start;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.event-card .view-btn:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.featured-content .podcast-meta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    color: #777;
    font-size: 0.95rem;
}

.featured-content .podcast-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.audio-player {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #eee;
}

.audio-player .play-pause {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.audio-player .play-pause:hover {
    background: var(--secondary-color);
}

.audio-player .progress-container {
    flex: 1;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.audio-player .progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    width: 30%;
}

.audio-player .time {
    font-size: 0.9rem;
    color: #666;
    min-width: 60px;
    text-align: center;
}

.podcast-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2.5rem 0 1.5rem;
}

.podcast-episodes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}

.podcast-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.podcast-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.podcast-card-image {
    height: 250px;
    display: block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--secondary-color), #333);
}

.podcast-card-image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
}

.podcast-card-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    z-index: 2;
    transition: background 0.3s ease;
}

.podcast-card-image a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: background 0.3s ease;
}

.podcast-card-image a:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.podcast-card-image a>* {
    z-index: 3;
    position: relative;
}

.podcast-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.podcast-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.podcast-card-content .podcast-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #777;
    font-size: 0.9rem;
}

.podcast-card-content .podcast-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.podcast-card-content h3 {
    font-size: 1.45rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    line-height: 1.3;
}

.podcast-card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    flex-grow: 1;
}

.podcast-card .play-btn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    align-self: flex-start;
}

.newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
}

.newsletter h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.4rem;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1.05rem;
}

.newsletter-form button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 1.8rem;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1.05rem;
}

.newsletter-form button:hover {
    background: #000;
}

.site-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 4rem 2rem 2rem;
    font-size: 0.95rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px var(--section-padding-small);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-about p,
.footer-contact p {
    line-height: 1.7;
}

.footer-about p,
.footer-contact p,
.footer-links a {
    color: #f1f1f1;
    line-height: 1.6;
}

.footer-about h4,
.footer-links h4,
.footer-social h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: var(--h3-font-size);
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    border-bottom: none;
}

.footer-about h4::after,
.footer-links h4::after,
.footer-social h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social {
    text-align: left;
}

.footer-social h4 {
    font-size: var(--h4-font-size);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    color: var(--primary-color);
    background: var(--light-gray);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    width: 100%;
    background: #000;
    color: #f1f1f1;
    text-align: center;
    padding: 1.2rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0;
    background-color: var(--dark-gray);
}

.footer-bottom p {
    margin: 0;
    line-height: 1.6;
    color: #ccc;
}

.footer-bottom a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}


@media (min-width: 768px) {

    .report-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 3rem;
        gap: 3rem;
    }

    .report-content {
        text-align: left;
    }

    .report-image-container {
        flex: 1;
    }

    .report-cover-image {
        width: 250px;
        height: 350px;
        right: 3rem;
        bottom: -40px;
        margin-left: initial;
        margin-right: initial;
    }

    .podcast-card {
        flex-direction: row;
        text-align: left;
    }

    .podcast-card-content {
        flex-direction: column;
    }

    .podcast-card-image {
        min-height: 100%;
        max-width: 35%;
        width: 100%;
    }

    .podcast-card-image,
    .podcast-card-content {
        padding: 1.8rem;
    }

    .podcast-card .play-btn {
        align-self: flex-start;
    }
}

@media (max-width: 992px) {

    .menu ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 6rem;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .menu ul.active {
        display: flex;
    }

    .menu li {
        bottom: 0;
        width: 100%;
        text-align: center;
    }

    .menu>ul>li>a {
        width: 100%;
        height: auto;
        border-radius: 0;
        border: none;
        padding: 1rem;
        z-index: 1;
        position: static;
        bottom: 0;
    }

    .menu>ul>li>a:hover,
    .menu>ul>li>a.active-mega {
        background-color: transparent;
        color: var(--primary-color);
        border-color: transparent;
        width: 100%;
        height: auto;
        margin: 0;
    }

    .hamburger {
        display: block;
    }

    .mega-menu {
        position: static;
        width: 100% !important;
        box-shadow: none;
        margin-top: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    li.has-mega.open .mega-menu {
        display: grid;
    }

    .mega-menu.active {
        grid-template-columns: 1fr;
    }

    .ai-layout {
        flex-direction: column;
    }

    .ai-sidebar {
        width: 100%;
    }

    .featured-post,
    .featured-book,
    .featured-podcast {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .footer-social {
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-details {
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .contact-socials {
        justify-content: center;
    }

    .contact-map {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .top-header {
        flex-direction: column;
        padding: 0.5rem;
    }

    .top-header-left {
        margin-bottom: 0.5rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .about-content,
    .card,
    .team-content,
    .featured-content,
    .ai-main-content {
        padding: 1.8rem;
    }

    .about-header {
        padding: 3rem 0;
    }

    .ai-sidebar {
        padding: 1.5rem;
    }

    .featured-image,
    .book-cover {
        min-height: 280px;
    }

    .book-cover {
        height: 250px;
    }

    .blog-posts,
    .books-grid,
    .events-grid,
    .podcast-episodes,
    .themes-grid {
        grid-template-columns: 1fr;
    }

    .search-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .search-bar input,
    .search-bar button {
        width: 100%;
        border-radius: 30px;
        padding: 1rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 30px;
        padding: 1rem 1.5rem;
    }

    .svg-overlay {
        background-image: none;
    }

    .slide-content {
        left: 50%;
        width: 80%;
        text-align: center;
        transform: translate(-50%, -50%);
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .events-filter {
        flex-wrap: wrap;
    }

    .work-theme-content {
        padding: 1.5rem;
    }

    .audio-player {
        flex-direction: column;
        gap: 1rem;
    }

    .audio-player .progress-container {
        width: 100%;
    }

    .podcast-card {
        flex-direction: column;
    }

    .podcast-card-image {
        max-width: 100%;
        height: 200px;
    }
}

.single-post {
    padding-top: var(--section-padding-small);
}

.single-post-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.post-title {
    font-size: calc(var(--h2-font-size) * 1.1);
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.post-meta-full {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #777;
    font-size: 0.95rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.post-meta-full span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-featured-image {
    max-width: 100%;
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: var(--gr);
    color: var(--dark-gray);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: var(--h3-font-size);
    line-height: 1.3;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.post-content a:hover {
    color: var(--primary-hover);
}

.post-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.post-tags {
    margin-bottom: 2rem;
    font-weight: 600;
}

.post-tags a {
    background-color: var(--light-gray);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    text-decoration: none;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.author-box {
    display: flex;
    align-items: center;
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    gap: 1.5rem;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    display: block;
}

.author-info h4 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
    color: var(--secondary-color);
}

.author-info p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .post-meta-full {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

.featured-slider-wrapper {
    position: relative;
    margin-bottom: 3rem;
}

#featured-slider-container {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
    background: white;
}

.featured-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.featured-slider .featured-post {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    margin: 0;
    box-shadow: none;
    border: none;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 100%;
    height: 420px;
}

.featured-slider .featured-image {
    flex: 0 0 auto;
    width: 315px;
    height: 420px;
    position: relative;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-slider .featured-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    z-index: 2;
    padding: 20px;
}

.featured-slider .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: var(--border-radius);
}

.featured-slider .featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: background 0.3s ease;
}

.featured-slider .featured-badge {
    position: absolute;
    z-index: 3;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid #eee;
}

.featured-slider .featured-content {
    flex: 1;
    min-width: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.featured-slider .post-meta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    color: #777;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.featured-slider .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.featured-slider .featured-content h2 {
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.featured-slider .featured-content h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.featured-slider .featured-content h2 a:hover {
    color: var(--primary-color);
}

.featured-slider .featured-content p {
    color: #666;
    margin-bottom: 1.8rem;
    flex-grow: 1;
    font-size: 1.05rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.featured-slider .read-more-btn {
    align-self: flex-start;
    margin-top: auto;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}

.slider-btn {
    background: var(--light-gray);
    color: var(--secondary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}

.slider-btn:hover {
    background: #e0e0e0;
    color: var(--primary-color);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-btn:disabled:hover {
    background: var(--light-gray);
    color: var(--secondary-color);
}

#slide-indicators {
    display: flex;
    gap: 0.5rem;
}

#slide-indicators span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

#slide-indicators span.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

#slide-indicators span:hover {
    background-color: #aaa;
}

@media (max-width: 768px) {
    .featured-slider .featured-post {
        flex-direction: column;
        height: auto;
        min-height: 500px;
    }

    .featured-slider .featured-image {
        flex: none;
        width: 100%;
        height: 375px;
        max-width: 280px;
        margin: 0 auto;
    }

    .featured-slider .featured-image a {
        padding: 15px;
    }

    .featured-slider .featured-content {
        padding: 1.5rem;
        min-width: 0;
        height: auto;
    }

    .featured-slider .featured-content h2 {
        font-size: 1.5rem;
    }

    .slider-controls {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .slider-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .featured-slider .featured-post {
        min-height: 450px;
    }

    .featured-slider .featured-image {
        height: 337px;
        max-width: 250px;
    }

    .featured-slider .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .featured-slider .featured-content h2 {
        font-size: 1.3rem;
    }

    .slider-controls {
        flex-direction: column;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .featured-slider .featured-post {
        height: 360px;
    }

    .featured-slider .featured-image {
        width: 270px;
        height: 360px;
    }

    .featured-slider .featured-content {
        padding: 2rem;
    }

    .featured-slider .featured-content h2 {
        font-size: 1.7rem;
    }
}

@media (min-width: 1025px) {
    .featured-slider .featured-post {
        height: 480px;
    }

    .featured-slider .featured-image {
        width: 360px;
        height: 480px;
    }
}

@media (min-width: 1440px) {
    .featured-slider .featured-post {
        height: 540px;
    }

    .featured-slider .featured-image {
        width: 405px;
        height: 540px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10000;
    animation: slideDown 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #f0f0f0;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-color);
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin: 2rem 0;
}

.team-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.team-photo-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    aspect-ratio: 1 / 1;
    width: 100%;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    aspect-ratio: 1 / 1;
}

.team-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-card-content h3 {
    font-size: 1.45rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.team-position {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-block;
    padding: 4px 12px;
    align-self: center;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    display: none;
}

.team-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.team-socials a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.modal-content {
    text-align: center;
}

.modal-photo-container {
    margin-bottom: 1.5rem;
}

.modal-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--light-gray);
    margin: 0 auto;
}

.modal-initials {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    margin: 0 auto;
    border: 4px solid var(--light-gray);
}

.modal-name {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modal-position {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.modal-bio {
    text-align: left;
    line-height: var(--gr);
    color: #666;
    margin-top: 1.5rem;
    text-align: justify;
}

.modal-bio p {
    margin-bottom: 1rem;
}

.modal-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    display: none;
}

.modal-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.modal-socials a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {

    .about-header,
    .blog-header,
    .books-header,
    .events-header,
    .podcast-header,
    .work-header,
    .team-header,
    .contact-header {
        padding: var(--section-padding-small);
    }

    .featured-slider {
        padding: 2rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }

    .modal {
        padding: 1.5rem;
        margin: 1rem;
    }

    .modal-photo,
    .modal-initials {
        width: 150px;
        height: 150px;
    }

    .modal-initials {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {

    .about-header,
    .blog-header,
    .books-header,
    .events-header,
    .podcast-header,
    .work-header,
    .team-header,
    .contact-header {
        padding: var(--section-padding-small);
    }

    .featured-slider {
        padding: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-header {
        padding: 2rem 0;
    }

    .team-header h1 {
        font-size: 1.8rem;
    }

    .modal-photo,
    .modal-initials {
        width: 120px;
        height: 120px;
    }

    .modal-initials {
        font-size: 2rem;
    }
}

@supports not (aspect-ratio: 1 / 1) {
    .team-photo-container {
        height: 0;
        padding-bottom: 100%;
    }

    .team-photo-container .team-photo,
    .team-photo-container .photo-placeholder {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.footer-logo {
    max-height: 60px;
    margin-top: 15px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}


.podcasts-header {
    text-align: center;
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.podcasts-header h1 {
    font-size: var(--h2-font-size);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.podcasts-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
}

.podcasts-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.podcast-row {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    overflow: hidden;
}

.podcast-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.podcast-row.featured-podcast {
    border: 2px solid var(--primary-color);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.podcast-thumbnail {
    flex: 0 0 260px;
    width: 260px;
    height: 260px;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.podcast-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.podcast-row:hover .podcast-thumbnail img {
    transform: scale(1.05);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.podcast-content {
    flex: 1;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
}

.podcast-title {
    margin-bottom: 1rem;
}

.podcast-title h3 {
    font-size: 1.45rem;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.3;
}

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

.podcast-title a:hover {
    color: var(--primary-color);
}

.podcast-description {
    flex: 1;
    margin-bottom: 1.5rem;
}

.podcast-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.podcast-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #777;
    font-size: 0.95rem;
}

.podcast-date,
.podcast-authors {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.podcast-play-btn {
    margin-left: auto;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 0.5rem;
    font-size: 1rem;
}

.play-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(181, 5, 9, 0.3);
}

@supports not (aspect-ratio: 1 / 1) {
    .podcast-thumbnail {
        height: 200px;
    }

    .thumbnail-placeholder {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .podcast-thumbnail {
        flex: 0 0 180px;
        width: 180px;
        height: 180px;
    }

    @supports not (aspect-ratio: 1 / 1) {
        .podcast-thumbnail {
            height: 180px;
        }

        .thumbnail-placeholder {
            height: 180px;
        }
    }
}

@media (max-width: 768px) {
    .podcast-row {
        flex-direction: column;
    }

    .podcast-thumbnail {
        flex: 0 0 200px;
        width: 100%;
        height: 200px;
    }

    @supports not (aspect-ratio: 1 / 1) {
        .podcast-thumbnail {
            height: 200px;
        }

        .thumbnail-placeholder {
            height: 200px;
        }
    }

    .podcast-content {
        padding: 1.5rem;
    }

    .podcast-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .podcast-play-btn {
        margin-left: 0;
        width: 100%;
    }

    .play-btn {
        width: 100%;
        justify-content: center;
    }

    .featured-badge {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .podcasts-header {
        padding: 2rem 0;
    }

    .podcasts-header h1 {
        font-size: 1.8rem;
    }

    .podcast-thumbnail {
        flex: 0 0 150px;
        width: 100%;
        height: 150px;
    }

    @supports not (aspect-ratio: 1 / 1) {
        .podcast-thumbnail {
            height: 150px;
        }

        .thumbnail-placeholder {
            height: 150px;
        }
    }

    .podcast-title h3 {
        font-size: 1.3rem;
    }

    .podcast-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .podcast-play-btn {
        width: 100%;
    }

    .play-btn {
        width: 100%;
    }

    .thumbnail-placeholder {
        font-size: 1.5rem;
    }
}

.podcasts-grid .no-podcasts {
    text-align: center;
    color: #666;
    padding: 3rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    grid-column: 1 / -1;
}

.podcasts-grid .loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

#slide-indicators span.bg-red-600 {
    background-color: #b50509 !important;
}

#slide-indicators span.bg-gray-400 {
    background-color: #d1d5db !important;
}

.search-box {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    height: 7rem;
    transition: all 0.3s ease;
}

.nav-search-active .search-box {
    display: flex;
    margin-right: 0.5rem;
}

.search-input {
    width: 0;
    opacity: 0;
    height: 2.6rem;
    border: 1px solid transparent;
    border-radius: 30px;
    background: transparent;
    color: var(--secondary-color);
    font-size: 1rem;
    padding: 0 0.8rem;
    outline: none;
    transition: width 0.4s ease, opacity 0.3s ease, background 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    bottom: -.5rem;
    position: relative;
}

.nav-search-active .search-input {
    width: 240px;
    opacity: 1;
    background-color: var(--light-gray);
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0 1.2rem;
}

.search-input:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(181, 5, 9, 0.15);
}

.search-input::placeholder {
    color: #888;
    font-style: italic;
    opacity: 0.9;
}

.nav-search-active .menu>ul>li {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.nav-search-active .menu>ul>li.search-icon-item,
.nav-search-active .menu>ul>li.search-box {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

@media (max-width: 768px) {
    .nav-search-active .search-box {
        height: auto;
    }

    .nav-search-active .search-input {
        width: 100%;
        height: 2.8rem;
        bottom: 0;
        border-radius: 20px;
        box-shadow: none;
    }
}

.latest-publications {
    padding: 4rem 0;
}

.latest-publications .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #222;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.publication-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.publication-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.publication-content {
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.publication-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.publication-title a {
    color: #111;
    text-decoration: none;
}

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

.publication-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.8rem;
}

.publication-category {
    color: #b50509;
    font-weight: 500;
    text-decoration: none;
}

.publication-category:hover {
    text-decoration: underline;
}

.publication-excerpt {
    flex-grow: 1;
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.about-section {
    margin-bottom: var(--section-padding-small);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-text p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rounded-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.focus-areas {
    background: #f9f9f9;
    border-radius: var(--border-radius);
    padding: var(--section-padding-small);
    margin-top: 1.5rem;
    text-align: justify;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.focus-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.focus-card h4 {
    color: #b50509;
    margin-bottom: 0.5rem;
}

.partners-section {
    background: #b50509;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.partners-section .read-more-button {
    background: #fff;
    color: #b50509;
    margin-top: 1rem;
    display: inline-block;
}

.afri-resources-section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    text-align: center;
}

.afri-section-title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--section-padding-small);
    color: var(--primary-color);
    display: inline-block;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 5px;
}

.afri-resources-section>.container>p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.tag-btn:hover,
.tag-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.afri-tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    animation: fadeIn 0.5s ease-in-out;
}

.afri-tab-content.active {
    display: grid;
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.focus-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

@media (max-width: 1024px) {
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .focus-grid {
        grid-template-columns: 1fr;
    }
}

.focus-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
}

.focus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.focus-card h4 {
    color: var(--primary-color);
    font-size: var(--h4-font-size);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding-bottom: 5px;
}

.focus-card p {
    color: #444;
    line-height: 1.5;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .focus-card p {
        text-align: justify;
    }
}

.contact-wrapper {
    padding: var(--section-padding-small);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    border: 1px solid #eee;
}

.contact-details {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details h4 {
    color: var(--primary-color);
    font-size: var(--h3-font-size);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.contact-details p {
    line-height: 1.8;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-hover);
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.contact-socials a {
    color: var(--primary-color);
    background: var(--light-gray);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.contact-socials a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

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

@media (max-width: 992px) {
    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-details {
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .contact-socials {
        justify-content: center;
    }

    .contact-map {
        height: 350px;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination .page-numbers.current {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-color: var(--primary-color);
    cursor: default;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.pagination .page-numbers:hover:not(.current) {
    background: var(--primary-hover, #b50509);
    color: #fff;
    border-color: var(--primary-hover, #b50509);
    transform: translateY(-2px);
}

.pagination .page-numbers.dots {
    background: transparent;
    border: none;
    color: #777;
    box-shadow: none;
    cursor: default;
}

.pagination .page-numbers i {
    font-size: 0.9rem;
}

.pagination .next,
.pagination .prev {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    font-weight: bold;
}

.pagination .next:hover,
.pagination .prev:hover {
    background: var(--secondary-hover, #b50509);
    border-color: var(--secondary-hover, #b50509);
}

@media (max-width: 600px) {
    .pagination {
        gap: 0.35rem;
    }

    .pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}