aside {
    flex: 0 0 16.5%;
    background: var(--wp--preset--color--primary);
    padding: var(--wp--preset--spacing--10);
    border-radius: 5px;
    background: linear-gradient(135deg, #004d40 0%, #00796b 100%);
    z-index: 3;
    max-width: 16.5%;
    box-sizing: border-box;
}

.display-flex-int {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
}

.fc-relative-flex-1 {
    flex: 1 1 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.pos-relative-flex-1 {
    flex: 1 1 59.5%;
    max-width: 59.5%;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.pos-relative-flex-2 {
    flex: 1 1 23%;
    max-width: 23%;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

#intelligence-categories,
#intelligence-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

#intelligence-categories a,
#intelligence-menu a {
    display: block;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--wp--preset--spacing--5);
    text-decoration: none;
    color: var(--wp--preset--color--primary);
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
    color: #fff;
}

#intelligence-categories a:hover,
#intelligence-menu a:hover {
    background: #fff;
    color: var(--wp--preset--color--primary);
}

#intelligence-categories a.active {
    background: #fff;
    color: var(--wp--preset--color--primary);
}

.intelligence-list {
    padding-left: 0.5rem;
}

#fc-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 150px;
    position: relative;
}

#fc-container h2 {
    font-size: 1.5rem;
    color: var(--wp--preset--color--primary);
}

/* Featured Content */
.featured-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: inherit;
    max-width: 100%;
    padding: 0 1rem;
}

.featured-content {
    flex: 0 0 70%;
    color: #225a4b;
}

.featured-content h3,
p {
    margin: 0.5rem;
}

.featured-button {
    flex: 0 0 28%;
    display: flex;
    justify-content: end;
}

.fc-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
    align-items: stretch;
}

.fc-card {
    width: 100%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s;
}

.fc-card:hover {
    transform: translateY(-5px);
}

.fc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f97316;
    color: white;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: bold;
}

.fc-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

.fc-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fc-card-body h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.fc-card-body p {
    font-size: 0.9rem;
    color: #555;
    flex-grow: 1;
}

.read-more {
    text-decoration: none;
    color: #225a4b;
    font-weight: bold;
}

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

.fc-card-footer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #666;
    text-align: right;
}

@media (max-width: 768px) {
    .fc-grid-layout {
        grid-template-columns: 1fr;
    }
}

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

@media (max-width: 640px) {
    .fc-grid-layout {
        grid-template-columns: 1fr;
    }
}

#intelli-banner.intelli-banner {
    background: linear-gradient(to right, #8A9A5B 0%, #3cb371 50%, #8A9A5B 100%);
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 3rem 2rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.intelli-banner-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.intelli-banner-content h2 span {
    color: #ffe600;
}

.intelli-banner-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.intelli-banner-btn {
    display: inline-block;
    background: #ffffff;
    color: #2e8b57;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.intelli-banner-btn:hover {
    background: #ffe600;
    color: #2e8b57;
}

@media (max-width: 768px) {
    .intelli-banner-content h2 {
        font-size: 1.6rem;
    }

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

    .intelli-banner {
        padding: 2rem 1rem;
    }
}

.inarchive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem;
    align-items: stretch;
}

.archive-card {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.card-content {
    background-color: #d8e7c6;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    border: 1px solid #e0e0e0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.archive-card:hover .card-content {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.icon-circle {
    font-size: 36px;
    background-color: #3cb371;
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-content h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #1a1a1a;
}

.card-content p {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .icon-circle {
        font-size: 30px;
        width: 52px;
        height: 52px;
    }

    .inarchive-grid {
        padding: 0.5rem;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .card-content {
        padding: 1.5rem 1rem;
    }

    .card-content h3 {
        font-size: 18px;
    }

    .card-content p {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .display-flex-int {
        flex-wrap: wrap; /* allow stacking only on smaller screens */
    }

    aside,
    .pos-relative-flex-1,
    .pos-relative-flex-2 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

#events-container h3 {
    text-align: center;
    color: #225a4b;
    font-weight: 600;
}