/* AIIP brand colours: brown, light brown, black, white */
:root {
    --primary: #604422;
    --secondary: #B08C5D;
    --light-brown: #EFBD78;
    --light: #F4F0EB;
    --dark: #000000;
    --white: #FFFFFF;
}

body {
    color: var(--dark);
    background-color: var(--white);
}

/* Top bar — dark navy (#0b1f3a) matching the standalone Study Abroad top
   header so both sites share the exact same top header. */
.aiip-topbar {
    background-color: #0b1f3a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aiip-topbar-contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    min-height: 36px;
}

.aiip-topbar-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.25s ease;
}

.aiip-topbar-contact:hover {
    color: var(--light-brown) !important;
}

.aiip-topbar-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-brown);
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.aiip-topbar-contact-icon i {
    font-size: 0.78rem;
    line-height: 1;
}

.aiip-topbar-contact:hover .aiip-topbar-contact-icon {
    background: rgba(239, 189, 120, 0.22);
    color: #fff;
    transform: translateY(-1px);
}

.aiip-topbar-socials {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    min-height: 36px;
}

.aiip-topbar small,
.aiip-topbar a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.aiip-topbar a:hover {
    color: var(--light-brown) !important;
}

.aiip-topbar-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.aiip-topbar-social .ct-icon-container {
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    border-radius: 100%;
    background-color: var(--official-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.aiip-topbar-social .ct-icon-container svg {
    width: 14px;
    height: 14px;
    fill: #ffffff;
}

.aiip-topbar-social:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.aiip-topbar-social:hover .ct-icon-container {
    opacity: 0.8;
}

/* Navbar & logo */
.aiip-header {
    background-color: var(--white);
    z-index: 1030;
}

.aiip-navbar {
    background-color: var(--white) !important;
    border-bottom: 2px solid rgba(96, 68, 34, 0.15);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    min-height: 80px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.aiip-navbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.aiip-navbar-collapse {
    align-items: center;
}

.aiip-engage-wrap {
    flex-shrink: 0;
}

.aiip-engage-btn {
    white-space: nowrap;
    padding: 0.55rem 1.35rem;
    font-weight: 600;
    line-height: 1.25;
}

.aiip-brand {
    padding: 0;
    margin-right: 0.75rem;
}

.aiip-logo {
    display: block;
    height: 62px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.aiip-navbar .navbar-nav .nav-link {
    margin-left: 0;
}

.aiip-main-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.65rem !important;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.aiip-nav-icon {
    color: var(--secondary);
    font-size: 0.82rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.25s ease;
}

.aiip-main-nav .nav-link:hover .aiip-nav-icon,
.aiip-main-nav .nav-link.active .aiip-nav-icon {
    color: var(--primary);
}

.aiip-main-nav .dropdown-toggle::after {
    margin-left: 0.15rem;
}

.aiip-main-nav .nav-link:hover,
.aiip-main-nav .nav-link.active {
    color: var(--primary) !important;
}

.aiip-main-nav .dropdown-menu {
    background-color: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.12);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 260px;
}

.aiip-main-nav .dropdown-item {
    font-size: 0.92rem;
    padding: 0.55rem 1.25rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.aiip-dropdown-icon {
    width: 1.1rem;
    color: var(--secondary);
    font-size: 0.85rem;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.25s ease;
}

.aiip-main-nav .dropdown-item:hover .aiip-dropdown-icon,
.aiip-main-nav .dropdown-item:focus .aiip-dropdown-icon {
    color: var(--primary);
}

.aiip-main-nav .dropdown-item:hover,
.aiip-main-nav .dropdown-item:focus {
    background-color: var(--light);
    color: var(--primary);
}

.aiip-main-nav .dropdown-divider {
    border-color: rgba(96, 68, 34, 0.12);
    margin: 0.35rem 0;
}

@media (min-width: 992px) {
    .aiip-navbar-collapse {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        min-width: 0;
    }

    .aiip-main-nav {
        flex: 1 1 auto;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-evenly;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 0.25rem;
    }

    .aiip-main-nav .nav-item {
        display: flex;
        align-items: center;
        position: relative;
    }

    .aiip-navbar .nav-item .dropdown-menu {
        right: auto;
        left: 0;
        transform: none;
    }

    .aiip-navbar .nav-item:hover .dropdown-menu {
        transform: none;
    }
}

@media (min-width: 1200px) {
    .aiip-main-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.92rem;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .aiip-main-nav .nav-link {
        padding: 0.5rem 0.5rem !important;
        font-size: 0.84rem;
    }

    .aiip-engage-btn {
        padding: 0.5rem 1rem;
        font-size: 0.88rem;
    }
}

/* Responsive overflow "More" dropdown */
.aiip-more-nav-item {
    display: none;
}

@media (min-width: 992px) {
    .aiip-main-nav .nav-item {
        flex-shrink: 0;
    }

    /* Right-align the More menu (higher specificity than the generic left rule) */
    .aiip-navbar .aiip-more-nav-item > .dropdown-menu {
        right: 0;
        left: auto;
        min-width: 240px;
    }

    /* Click support: Bootstrap toggles .show, style.css only reveals on hover */
    .aiip-navbar .aiip-more-nav-item > .dropdown-menu.show {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }

    .aiip-more-menu .nav-item {
        width: 100%;
    }

    .aiip-more-menu .nav-link {
        justify-content: flex-start;
        text-align: left;
        white-space: nowrap;
        width: 100%;
    }

    /* Nested flyout submenus inside the More dropdown (open to the left).
       Explicitly collapsed by default (higher specificity than the template's
       rules), and only revealed on hover or when the .show class is added. */
    .aiip-navbar .aiip-more-menu .nav-item .dropdown-menu {
        top: 0;
        left: auto;
        right: 100%;
        min-width: 260px;
        display: block;
        opacity: 0;
        visibility: hidden;
    }

    .aiip-navbar .aiip-more-menu .nav-item:hover > .dropdown-menu,
    .aiip-navbar .aiip-more-menu .nav-item .dropdown-menu.show {
        visibility: visible;
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .aiip-navbar {
        min-height: auto;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .aiip-navbar-inner {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }

    .aiip-logo {
        height: 46px;
        max-width: 160px;
    }

    .aiip-navbar-collapse {
        max-height: calc(100dvh - 120px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        margin-top: 0.5rem;
        padding-bottom: 1rem;
        border-top: 1px solid rgba(96, 68, 34, 0.1);
    }

    .aiip-main-nav {
        padding: 0.75rem 0 0.5rem;
        width: 100%;
    }

    .aiip-main-nav .nav-item {
        width: 100%;
    }

    .aiip-main-nav .nav-link {
        padding: 0.75rem 0.25rem !important;
        justify-content: flex-start;
        white-space: normal;
        text-align: left;
        font-size: 1rem;
        min-height: 44px;
    }

    .aiip-nav-icon {
        width: 1.35rem;
        text-align: center;
    }

    .aiip-main-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 0 0 0.5rem 0.5rem;
        margin: 0;
        background: transparent;
    }

    .aiip-main-nav .dropdown-item {
        padding: 0.65rem 0.75rem;
        min-height: 44px;
        white-space: normal;
    }

    .navbar-toggler {
        padding: 0.35rem 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(96, 68, 34, 0.2);
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
}

.btn-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.badge.bg-primary {
    background-color: var(--primary) !important;
}

.badge.bg-secondary {
    background-color: var(--secondary) !important;
}

.spinner-grow.text-primary {
    color: var(--primary) !important;
}

/* Service icons & cards */
.service-icon.bg-primary {
    background-color: var(--primary) !important;
}

.service-item {
    border-top: 3px solid var(--light-brown);
}

.service-item:hover {
    opacity: 0.85;
}

/* Page header */
.aiip-page-header {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    padding: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
    background: none !important;
}

.aiip-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--aiip-page-header-bg);
    background-position: var(--aiip-page-header-pos, center 22%);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.aiip-page-header-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(96, 68, 34, 0.55) 50%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.aiip-page-header-inner {
    position: relative;
    z-index: 2;
    padding: 4.5rem 0 4rem;
}

.aiip-page-header-content {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2.5rem 0;
    backdrop-filter: none;
}

.aiip-page-header-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(239, 189, 120, 0.4);
}

.aiip-page-header-content h1 {
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    line-height: 1.2;
}

.aiip-page-header-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--light-brown) 100%);
    z-index: 3;
}

.aiip-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.aiip-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
    content: '/';
}

.aiip-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.aiip-breadcrumb .breadcrumb-item a:hover {
    color: var(--light-brown) !important;
}

.aiip-breadcrumb .breadcrumb-item.active {
    color: var(--light-brown) !important;
    font-weight: 600;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--light-brown) !important;
}

@media (max-width: 991.98px) {
    .aiip-page-header {
        min-height: 280px;
    }

    .aiip-page-header-inner {
        padding: 3.5rem 0 3rem;
    }

    .aiip-page-header-content {
        padding: 2rem 1.25rem;
    }

    .aiip-page-header-content h1 {
        font-size: 2rem;
    }
}

/* Anchor targets under sticky header */
section[id],
[id^="aiip-"],
.aiip-trade-section [id] {
    scroll-margin-top: 110px;
}

/* Carousel & Hero */
.aiip-hero-carousel {
    width: 100%;
}

.aiip-hero-carousel .carousel-inner {
    width: 100%;
}

.carousel-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3rem 0;
}

.aiip-hero {
    position: relative;
}

.aiip-hero-img {
    min-height: 580px;
    max-height: 720px;
    object-fit: cover;
    object-position: center 22%;
}

.aiip-hero-caption {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.55) 100%);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem 4.5rem;
    text-align: center;
}

.aiip-hero-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: rgba(0, 0, 0, 0.42);
    border: none;
    border-radius: 0;
    backdrop-filter: blur(6px);
}

.aiip-hero-caption h1 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--white) !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.aiip-hero-lead {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.92) !important;
}

.aiip-hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 1.15rem;
    border-radius: 2rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(239, 189, 120, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.aiip-carousel-indicators {
    margin-bottom: 1.5rem;
}

.aiip-carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    opacity: 1;
}

.aiip-carousel-indicators .active {
    background-color: var(--light-brown);
    border-color: var(--light-brown);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

/* Mission strip */
.aiip-mission-strip {
    background: var(--primary);
    padding: 2.5rem 0;
    margin-bottom: 0;
}

.aiip-mission-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--white);
}

.aiip-mission-item i {
    font-size: 2rem;
    color: var(--light-brown);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.aiip-mission-item h5 {
    color: var(--white);
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.aiip-mission-item p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Section headings */
.aiip-section-heading {
    max-width: 680px;
}

.aiip-section-label {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Value cards — clean, borderless style */
.aiip-value-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.75rem 1rem;
    transition: transform 0.3s ease;
}

.aiip-value-card:hover {
    transform: translateY(-3px);
}

.aiip-value-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(96, 68, 34, 0.08);
}

.aiip-value-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.aiip-value-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.aiip-value-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.aiip-value-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.92rem;
}

/* About visual */
.aiip-about-visual {
    position: relative;
    min-height: 420px;
}

.aiip-about-main {
    width: 78%;
    height: 380px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.aiip-about-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 52%;
    height: 240px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 5px solid var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.aiip-about-badge {
    position: absolute;
    top: 1.5rem;
    left: -0.5rem;
    background: var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0;
}

.aiip-about-highlight {
    background: transparent;
    border-left: 4px solid var(--secondary);
    padding: 1.25rem 1.5rem;
    border-radius: 0;
}

.aiip-leader-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 3px solid var(--secondary);
}

/* Program cards */
.aiip-program-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aiip-program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(96, 68, 34, 0.18);
    color: inherit;
}

.aiip-program-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.aiip-program-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
}

.aiip-program-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.85rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.aiip-program-overlay h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.aiip-program-overlay p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.aiip-program-link {
    color: var(--light-brown);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Programs page */
.aiip-program-nav-card {
    display: block;
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 260px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aiip-program-nav-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aiip-program-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(96, 68, 34, 0.18);
}

.aiip-program-nav-card:hover img {
    transform: scale(1.05);
}

.aiip-program-nav-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.3) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.25rem;
    color: var(--white);
}

.aiip-program-nav-overlay i {
    font-size: 1.35rem;
    color: var(--light-brown);
    margin-bottom: 0.5rem;
}

.aiip-program-nav-overlay span {
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.35;
}

.aiip-program-photo {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: center top;
}

.aiip-program-support-photo {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    object-position: center 25%;
}

.aiip-program-highlight {
    background: transparent;
    border-left: 4px solid var(--light-brown);
    border-radius: 0;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.aiip-program-highlight i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.aiip-program-highlight p {
    color: #444;
    line-height: 1.75;
    font-size: 0.98rem;
}

.aiip-program-pillar {
    background: transparent;
    border-radius: 0;
    padding: 1.25rem 1.35rem;
    border-left: 3px solid var(--primary);
    height: 100%;
}

.aiip-program-pillar small {
    display: block;
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.aiip-program-pillar p {
    color: #444;
    line-height: 1.65;
    font-size: 0.92rem;
}

.aiip-program-block {
    scroll-margin-top: 100px;
}

.aiip-program-nav-card-sm {
    height: 220px;
}

.aiip-youth-focus-card {
    background: transparent;
    border-radius: 0;
    padding: 1.75rem 1.5rem;
    border-left: 3px solid var(--light-brown);
    transition: transform 0.3s ease;
}

.aiip-youth-focus-card:hover {
    transform: translateX(4px);
}

.aiip-youth-focus-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(96, 68, 34, 0.08);
}

.aiip-youth-focus-icon i {
    font-size: 1.35rem;
    color: var(--primary);
}

.aiip-youth-focus-card h5 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
}

.aiip-youth-focus-card p {
    color: #555;
    line-height: 1.65;
    font-size: 0.92rem;
}

.aiip-youth-approach-card {
    background: transparent;
    border-radius: 0;
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(96, 68, 34, 0.08);
    transition: transform 0.3s ease;
}

.aiip-youth-approach-card:hover {
    transform: translateY(-2px);
}

.aiip-youth-approach-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #3d2a18 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aiip-youth-approach-icon i {
    font-size: 1.5rem;
    color: var(--light-brown);
}

.aiip-youth-approach-card h5 {
    color: var(--primary);
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Study abroad page */
.aiip-study-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: transparent;
    border-radius: 0;
    padding: 1.25rem 1.35rem;
    border-left: 3px solid var(--light-brown);
    transition: transform 0.3s ease;
}

.aiip-study-feature-card:hover {
    transform: translateX(4px);
}

.aiip-study-feature-card i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.aiip-study-feature-card span {
    color: #444;
    line-height: 1.6;
    font-size: 0.94rem;
}

.aiip-study-notice {
    background: var(--light);
    border-radius: 0;
    padding: 1.15rem 1.25rem;
    border-left: 3px solid var(--primary);
}

.aiip-study-notice h6 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.aiip-study-notice p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Events page */
.aiip-events-filter-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 0 0.75rem;
    margin-bottom: 3rem;
}

.aiip-events-filter {
    display: flex;
    flex-wrap: nowrap;
    justify-content: stretch;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    max-width: 28rem;
    background: var(--white);
    padding: 0.35rem;
    border-radius: 2rem;
    border: 1px solid rgba(96, 68, 34, 0.12);
    box-shadow: 0 4px 16px rgba(96, 68, 34, 0.06);
}

.aiip-events-filter-item {
    flex: 1 1 0;
    min-width: 0;
    display: inline-block;
    padding: 0.55rem 1rem;
    border-radius: 2rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border: none;
    background: transparent;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.aiip-events-filter-item:hover {
    color: var(--primary);
}

.aiip-events-filter-item.active {
    background: var(--primary);
    color: var(--white);
}

.aiip-events-filter-item.active:hover {
    color: var(--white);
}

.aiip-event-col {
    min-width: 0;
    transition: opacity 0.25s ease;
}

.aiip-event-col.is-hidden {
    display: none !important;
}

.aiip-events-grid--center {
    justify-content: center;
}

.aiip-event-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    border-bottom: 3px solid var(--primary);
    transition: transform 0.3s ease;
}

.aiip-event-card:hover {
    transform: translateY(-2px);
}

.aiip-event-photo {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.aiip-event-photo--poster {
    height: auto;
    min-height: 240px;
    background: var(--light);
}

.aiip-event-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aiip-event-photo--poster img {
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

.aiip-event-card:hover .aiip-event-photo img {
    transform: scale(1.04);
}

.aiip-event-card:hover .aiip-event-photo--poster img {
    transform: none;
}

.aiip-event-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
}

.aiip-event-badge--upcoming {
    background: var(--primary);
    color: var(--white);
}

.aiip-event-badge--past {
    top: auto;
    bottom: 1rem;
    left: 1rem;
    background: var(--light-brown);
    color: var(--primary);
}

.aiip-event-body {
    padding: 1.5rem 1.6rem 1.65rem;
}

.aiip-event-category {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.aiip-event-body h5 {
    color: var(--primary);
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
    overflow-wrap: anywhere;
}

.aiip-event-meta {
    color: #777;
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
}

.aiip-event-meta .aiip-event-meta-sep {
    display: none;
}

@media (min-width: 576px) {
    .aiip-event-meta .aiip-event-meta-sep {
        display: inline;
    }
}

.aiip-event-desc {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
}

.aiip-event-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.aiip-event-link:hover {
    color: var(--secondary);
}

@media (max-width: 575.98px) {
    .aiip-events-filter {
        max-width: 100%;
    }

    .aiip-events-filter-item {
        padding: 0.5rem 0.5rem;
        font-size: 0.78rem;
    }

    .aiip-event-photo {
        height: 200px;
    }

    .aiip-event-body {
        padding: 1.25rem 1.25rem 1.35rem;
    }

    .aiip-event-body h5 {
        font-size: 1.05rem;
    }
}

@media (max-width: 991.98px) {
    .aiip-program-nav-card {
        height: 220px;
    }

    .aiip-program-photo {
        max-height: 360px;
    }
}

/* Approach */
.aiip-approach-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center top;
}

/* Single-image about/diaspora visuals */
.aiip-about-single-visual {
    border-radius: 0;
    overflow: hidden;
    background: var(--white);
}

.aiip-about-single-visual img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    display: block;
}

.aiip-about-single-visual--cover img {
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .aiip-about-single-visual img {
        height: 260px;
    }
}

/* Video embeds - larger with rounded corners */
.aiip-video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 0;
    overflow: hidden;
    background: var(--dark);
}

.aiip-video-embed-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* About+Diaspora side-by-side layout */
.aiip-about-side-card {
    background: transparent;
    border-radius: 0;
    padding: 1.5rem;
    height: 100%;
}

@media (max-width: 767.98px) {
    .aiip-about-side-card {
        padding: 1rem;
    }
    .aiip-about-side-card .aiip-about-single-visual img {
        height: 200px;
    }
}

.aiip-step-card {
    background: transparent;
    border-radius: 0;
    padding: 1rem 0 1rem 1.25rem;
    border-left: 3px solid var(--light-brown);
    transition: transform 0.3s ease;
}

.aiip-step-card:hover {
    transform: translateX(4px);
}

.aiip-step-num {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-brown);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.aiip-step-card h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.aiip-step-card p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Gallery */
.aiip-gallery-stat {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.35rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.aiip-gallery-stat:hover {
    transform: translateY(-2px);
}

.aiip-gallery-stat-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(96, 68, 34, 0.08);
}

.aiip-gallery-stat-value {
    color: var(--primary);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
}

.aiip-gallery-stat-label {
    color: #666;
    font-size: 0.82rem;
    line-height: 1.4;
}

.aiip-gallery-filter {
    max-width: 36rem;
}

.aiip-gallery-item,
.aiip-gallery-featured {
    background: transparent;
    cursor: pointer;
}

.aiip-gallery-thumb {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: var(--white);
}

.aiip-gallery-thumb--featured {
    height: 280px;
}

.aiip-gallery-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aiip-gallery-thumb--featured img {
    height: 100%;
}

.aiip-gallery-thumb--contain {
    background: var(--light);
}

.aiip-gallery-thumb--contain img {
    object-fit: contain;
}

.aiip-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(96, 68, 34, 0.55);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aiip-gallery-overlay i {
    font-size: 1.35rem;
}

.aiip-gallery-item:hover .aiip-gallery-overlay,
.aiip-gallery-featured:hover .aiip-gallery-overlay,
.aiip-gallery-item:focus-visible .aiip-gallery-overlay,
.aiip-gallery-featured:focus-visible .aiip-gallery-overlay {
    opacity: 1;
}

.aiip-gallery-item:hover .aiip-gallery-thumb img,
.aiip-gallery-featured:hover .aiip-gallery-thumb img {
    transform: scale(1.05);
}

.aiip-gallery-caption {
    margin: 0.75rem 0 0;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.aiip-gallery-featured-body {
    padding: 1rem 0.15rem 0;
}

.aiip-gallery-featured-body h5 {
    color: var(--primary);
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.aiip-gallery-tag {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.aiip-gallery-col.is-hidden {
    display: none !important;
}

.aiip-gallery-modal .modal-content {
    border: none;
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.aiip-gallery-modal-frame {
    background: var(--light);
    border-radius: 0.65rem;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aiip-gallery-modal-image {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.aiip-gallery-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.aiip-gallery-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform-origin: center top;
    transition: transform 0.4s ease;
}

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

@media (max-width: 575.98px) {
    .aiip-gallery-filter {
        max-width: 100%;
    }

    .aiip-gallery-filter .aiip-events-filter-item {
        padding: 0.5rem 0.45rem;
        font-size: 0.72rem;
    }

    .aiip-gallery-thumb--featured {
        height: 220px;
    }

    .aiip-gallery-thumb img {
        height: 180px;
    }

    .aiip-gallery-caption {
        font-size: 0.8rem;
    }
}

/* Home CTA */
.aiip-home-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 4rem 0;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .aiip-hero-img {
        min-height: 480px;
    }

    .aiip-hero-caption {
        padding: 4rem 0.75rem 3.5rem;
    }

    .aiip-hero-content {
        padding: 1.75rem 1.25rem;
    }

    .aiip-hero-caption h1 {
        font-size: 1.75rem;
    }

    .aiip-hero-lead {
        font-size: 1rem !important;
    }

    .aiip-about-main {
        width: 100%;
        height: 300px;
    }

    .aiip-about-accent {
        position: relative;
        width: 85%;
        height: 200px;
        margin: -3rem auto 0;
        display: block;
    }

    .aiip-about-badge {
        top: 1rem;
        left: 1rem;
    }

    .aiip-about-visual {
        min-height: auto;
        margin-bottom: 1rem;
    }
}

/* Sections */
.bg-aiip-light {
    background-color: var(--light) !important;
}

.text-aiip-brown {
    color: var(--primary) !important;
}

.text-aiip-light-brown {
    color: var(--secondary) !important;
}


/* About page */
.aiip-about-mission {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0;
}

.aiip-about-page-visual .aiip-about-accent {
    border-radius: 50%;
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center top;
}

.aiip-leadership-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 3rem 0;
}

.aiip-leadership-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--light-brown);
}

.aiip-goal-card {
    background: transparent;
    border-radius: 0;
    padding: 2rem 1.75rem;
    border-left: 3px solid var(--light-brown);
    transition: transform 0.3s ease;
    position: relative;
}

.aiip-goal-card:hover {
    transform: translateX(4px);
}

.aiip-goal-num {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(96, 68, 34, 0.1);
    line-height: 1;
}

.aiip-goal-icon {
    width: 52px;
    height: 52px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(96, 68, 34, 0.08);
}

.aiip-goal-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

.aiip-goal-card h5 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    padding-right: 2rem;
}

.aiip-goal-card p {
    color: #555;
    line-height: 1.65;
    font-size: 0.95rem;
}

.aiip-partner-card {
    background: transparent;
    border-radius: 0;
    padding: 2rem 1.75rem;
    border-bottom: 2px solid rgba(96, 68, 34, 0.08);
    transition: transform 0.3s ease;
}

.aiip-partner-card:hover {
    transform: translateY(-2px);
}

.aiip-partner-logo-wrap {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: transparent;
    border-radius: 0;
}

.aiip-partner-logo-light {
    background: var(--white);
}

.aiip-partner-logo-wrap img {
    max-height: 88px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.aiip-partner-card h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.aiip-partner-sub {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.aiip-partner-card p:last-child {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.65;
}

.aiip-collab-box {
    background: linear-gradient(135deg, var(--primary) 0%, #3d2a18 100%);
    border-radius: 0.75rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 12px 32px rgba(96, 68, 34, 0.2);
}

.aiip-collab-list li {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.aiip-collab-list li i {
    color: var(--light-brown);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.aiip-country-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(96, 68, 34, 0.08);
    border-radius: 0;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.aiip-country-flag {
    width: 64px;
    height: 42px;
    object-fit: cover;
    border-radius: 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto 0.65rem;
}

.aiip-country-card span {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.aiip-country-card:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.aiip-country-card:hover span {
    color: var(--white);
}

@media (max-width: 991.98px) {
    .aiip-leadership-photo {
        width: 120px;
        height: 120px;
    }

    .aiip-about-page-visual .aiip-about-accent {
        width: 110px;
        height: 110px;
    }
}

/* Services page */
.aiip-cap-nav-card {
    display: block;
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 220px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aiip-cap-nav-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aiip-cap-nav-card img.aiip-service-brand {
    object-fit: cover;
    object-position: center center;
}

.aiip-cap-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(96, 68, 34, 0.18);
}

.aiip-cap-nav-card:hover img {
    transform: scale(1.05);
}

.aiip-cap-nav-card--icon {
    background: linear-gradient(135deg, var(--primary) 0%, #3d2a18 100%);
}

.aiip-cap-nav-card--icon .aiip-cap-nav-overlay {
    background: none;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.aiip-cap-nav-card--icon .aiip-cap-nav-overlay i {
    font-size: 2.25rem;
    margin-bottom: 0.85rem;
}

.aiip-cap-nav-card--icon:hover img {
    transform: none;
}

.aiip-cap-nav-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.25rem;
    color: var(--white);
}

.aiip-cap-nav-overlay i {
    font-size: 1.35rem;
    color: var(--light-brown);
    margin-bottom: 0.5rem;
}

.aiip-cap-nav-overlay span {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
}

.aiip-cap-photo {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.aiip-cap-photo--brand {
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: var(--light);
}

.aiip-cap-detail-box {
    background: transparent;
    border-radius: 0;
    padding: 1.75rem;
    border-left: 3px solid var(--light-brown);
}

.aiip-cap-detail-box h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.aiip-cap-list li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.55rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #555;
}

.aiip-cap-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.75rem;
    top: 0.2rem;
}

.aiip-cap-service-pill {
    background: transparent;
    border: none;
    border-left: 3px solid var(--primary);
    border-radius: 0;
    padding: 1rem 1.15rem;
    font-size: 0.92rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    height: 100%;
}

.aiip-cap-service-pill i {
    color: var(--secondary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.aiip-package-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2rem;
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.aiip-package-card:hover {
    transform: translateX(4px);
}

.aiip-package-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.aiip-package-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
    font-size: 0.95rem;
}

.aiip-package-head i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.aiip-package-card h5 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.aiip-package-includes {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.aiip-package-ideal {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary);
}

.aiip-unique-section {
    background: var(--light);
    border-radius: 0;
    padding: 2.5rem 2rem;
}

.aiip-unique-card {
    background: transparent;
    border-radius: 0;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.aiip-unique-card:hover {
    transform: translateY(-2px);
}

.aiip-unique-card i {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.aiip-unique-card h6 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.aiip-unique-card p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .aiip-cap-photo {
        height: 280px;
    }

    .aiip-cap-nav-card {
        height: 180px;
    }
}

.back-to-top {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.back-to-top:hover {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

/* Team listing */
.team-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    width: 100%;
    height: auto;
}

.team-item {
    border-bottom: 3px solid var(--primary);
    overflow: hidden;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.team-item:hover {
    transform: translateY(-2px);
}

/* Team profile page */
.aiip-team-profile {
    background: var(--white);
}

.aiip-team-profile-sidebar {
    position: sticky;
    top: 100px;
}

.aiip-team-photo-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.aiip-team-photo-frame {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 1rem 1rem 0;
}

.aiip-team-photo-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(239, 189, 120, 0.25), transparent 55%);
    pointer-events: none;
}

.aiip-team-photo-frame img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 0.75rem 0.75rem 0 0;
    display: block;
    position: relative;
    z-index: 1;
    border: 4px solid rgba(255, 255, 255, 0.15);
}

.aiip-team-photo-meta {
    padding: 1.35rem 1.5rem 1.5rem;
    text-align: center;
    background: var(--white);
}

.aiip-team-photo-meta h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.aiip-team-photo-meta p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.aiip-team-contact-card {
    background: var(--light);
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.aiip-team-contact-card h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.aiip-team-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 0;
    text-decoration: none;
    color: var(--dark);
    border-bottom: 1px solid rgba(96, 68, 34, 0.08);
    transition: color 0.25s ease;
}

.aiip-team-contact-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.aiip-team-contact-row:hover {
    color: var(--primary);
}

.aiip-team-contact-row small {
    display: block;
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.aiip-team-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(96, 68, 34, 0.06);
}

.aiip-team-profile-main {
    padding-right: 0.5rem;
}

.aiip-team-profile-lead {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 640px;
    margin-bottom: 1.5rem;
}

.aiip-team-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--light);
    color: var(--primary);
    border: 1px solid rgba(96, 68, 34, 0.12);
    border-left: 4px solid var(--light-brown);
    border-radius: 2rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.aiip-team-role-pill i {
    color: var(--secondary);
}

.aiip-team-about-card {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 2rem 2.25rem;
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-top: 4px solid var(--primary);
    box-shadow: 0 8px 28px rgba(96, 68, 34, 0.08);
}

.aiip-team-about-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.aiip-team-about-header h3 {
    color: var(--primary);
    margin-bottom: 0;
    font-size: 1.35rem;
    white-space: nowrap;
}

.aiip-team-about-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--light-brown), transparent);
}

.aiip-team-about-body p {
    color: #444;
    line-height: 1.8;
    font-size: 0.98rem;
    margin-bottom: 1.15rem;
}

.aiip-team-about-body p:last-child {
    margin-bottom: 0;
}

.aiip-team-other-card {
    display: block;
    background: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(96, 68, 34, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.aiip-team-other-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(96, 68, 34, 0.14);
}

.aiip-team-other-photo {
    overflow: hidden;
}

.aiip-team-other-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.aiip-team-other-card:hover .aiip-team-other-photo img {
    transform: scale(1.04);
}

.aiip-team-other-body {
    padding: 1.25rem 1.35rem 1.5rem;
}

.aiip-team-other-body h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.aiip-team-other-body span {
    display: block;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.45;
}

.aiip-quick-contact {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(96, 68, 34, 0.15);
}

.aiip-quick-contact h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
    .aiip-team-profile-sidebar {
        position: static;
    }

    .aiip-team-profile-main {
        padding-right: 0;
    }

    .aiip-team-photo-frame img {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .aiip-team-about-card {
        padding: 1.5rem;
    }
}


.service-block {
    scroll-margin-top: 100px;
}

.country-badge {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 0.375rem;
    padding: 0.75rem;
    text-align: center;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.country-badge:hover {
    background-color: var(--secondary);
}

.quick-contact-sidebar {
    position: static;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(96, 68, 34, 0.2);
}

.accordion-button:not(.collapsed) {
    background-color: var(--light);
    color: var(--primary);
}

.accordion-button:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(96, 68, 34, 0.15);
}

/* Blog */
/* News page layout */
.aiip-news-ticker {
    background: var(--primary);
    color: #fff;
    border-bottom: 3px solid var(--light-brown);
    overflow: hidden;
}

.aiip-news-ticker-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
    padding: 0.35rem 0;
}

.aiip-news-ticker-label {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
}

.aiip-news-ticker-track-wrap {
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.aiip-news-ticker-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: aiip-news-ticker-scroll 45s linear infinite;
}

.aiip-news-ticker-track:hover {
    animation-play-state: paused;
}

.aiip-news-ticker-item {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.aiip-news-ticker-item:hover {
    color: var(--light-brown);
}

@keyframes aiip-news-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.aiip-news-masthead {
    background: var(--light);
    border-bottom: 1px solid rgba(96, 68, 34, 0.12);
    padding: 2rem 0 1.75rem;
}

.aiip-news-masthead-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
}

.aiip-news-masthead-kicker {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.aiip-news-masthead-brand h1 {
    color: var(--primary);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 0.65rem;
    font-weight: 800;
}

.aiip-news-masthead-brand p {
    color: #666;
    max-width: 640px;
    margin-bottom: 0;
    line-height: 1.65;
}

.aiip-news-masthead-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #777;
    font-size: 0.85rem;
    text-align: right;
}

.aiip-news-kicker {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.aiip-news-kicker--overlay {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    margin-bottom: 0;
    background: var(--primary);
    color: #fff;
    padding: 0.3rem 0.65rem;
    border-radius: 2px;
}

.aiip-news-section-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.aiip-news-section-head h3 {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0;
    white-space: nowrap;
}

.aiip-news-section-rule {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(96, 68, 34, 0.08) 100%);
}

.aiip-news-lead {
    padding: 1.75rem 0 0;
}

.aiip-news-lead-card {
    border-radius: 0.35rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(96, 68, 34, 0.14);
}

.aiip-news-lead-media {
    position: relative;
    display: block;
    min-height: 420px;
    text-decoration: none;
}

.aiip-news-lead-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--aiip-news-lead-pos, center center);
    transition: transform 0.5s ease;
}

.aiip-news-lead-media:hover img {
    transform: scale(1.02);
}

.aiip-news-lead-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.88) 100%);
}

.aiip-news-lead-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 2.5rem 2rem 2.25rem;
    margin-top: auto;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.aiip-news-lead-content .aiip-news-kicker {
    background: var(--secondary);
    color: #fff;
    padding: 0.3rem 0.65rem;
    border-radius: 2px;
}

.aiip-news-lead-content h2 {
    color: #fff;
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    line-height: 1.22;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.aiip-news-lead-deck {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    max-width: 680px;
}

.aiip-news-lead-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.aiip-news-top-stories {
    padding: 2.5rem 0 0;
}

.aiip-news-top-card {
    height: 100%;
    border-bottom: 1px solid rgba(96, 68, 34, 0.12);
    padding-bottom: 1rem;
}

.aiip-news-top-photo {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.25rem;
    margin-bottom: 0.85rem;
}

.aiip-news-top-photo img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aiip-news-top-photo:hover img {
    transform: scale(1.04);
}

.aiip-news-top-body h4 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 0.55rem;
}

.aiip-news-top-body h4 a {
    color: var(--primary);
    text-decoration: none;
}

.aiip-news-top-body h4 a:hover {
    color: var(--secondary);
}

.aiip-news-top-body p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.65rem;
}

.aiip-news-top-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    color: #888;
    font-size: 0.8rem;
}

.aiip-news-main {
    padding-top: 2.5rem;
}

.aiip-news-filter-wrap {
    margin-bottom: 1.25rem;
}

.aiip-news-filter {
    border-bottom: 2px solid rgba(96, 68, 34, 0.1);
    padding-bottom: 0.35rem;
}

.aiip-news-feed {
    display: flex;
    flex-direction: column;
}

.aiip-news-feed-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.25rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(96, 68, 34, 0.12);
}

.aiip-news-feed-item:first-child {
    padding-top: 0.5rem;
}

.aiip-news-feed-thumb {
    display: block;
    overflow: hidden;
    border-radius: 0.25rem;
}

.aiip-news-feed-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.aiip-news-feed-thumb:hover img {
    transform: scale(1.04);
}

.aiip-news-feed-body h4 {
    font-size: 1.15rem;
    line-height: 1.38;
    margin-bottom: 0.55rem;
}

.aiip-news-feed-body h4 a {
    color: var(--primary);
    text-decoration: none;
}

.aiip-news-feed-body h4 a:hover {
    color: var(--secondary);
}

.aiip-news-feed-body p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0.65rem;
}

.aiip-news-feed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    color: #888;
    font-size: 0.82rem;
}

.aiip-news-sidebar-block {
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-top: 3px solid var(--primary);
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.25rem;
}

.aiip-news-sidebar-head h5 {
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.aiip-news-headlines-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aiip-news-headlines-list li {
    display: flex;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(96, 68, 34, 0.08);
}

.aiip-news-headlines-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.aiip-news-headline-num {
    flex-shrink: 0;
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    min-width: 1.75rem;
}

.aiip-news-headlines-list a {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.45;
    text-decoration: none;
    margin-bottom: 0.2rem;
}

.aiip-news-headlines-list a:hover {
    color: var(--secondary);
}

.aiip-news-headlines-list small {
    color: #888;
    font-size: 0.78rem;
}

.aiip-news-sidebar-cta p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.aiip-news-article-bar {
    background: var(--light);
    border-bottom: 1px solid rgba(96, 68, 34, 0.1);
    padding: 1.25rem 0 1.5rem;
}

.aiip-news-article-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-bottom: 0.85rem;
}

.aiip-news-article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    color: #666;
    font-size: 0.88rem;
}

.aiip-news-article-deck {
    color: var(--primary);
    font-size: 1.15rem;
    line-height: 1.65;
    font-weight: 500;
    max-width: 820px;
    margin-bottom: 0;
    padding-left: 1rem;
    border-left: 4px solid var(--secondary);
}

.aiip-news-article-main {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.aiip-news-content {
    font-size: 1.05rem;
}

.aiip-news-content > p:first-of-type::first-letter {
    float: left;
    font-size: 3.25rem;
    line-height: 0.85;
    font-weight: 800;
    color: var(--primary);
    margin: 0.1rem 0.5rem 0 0;
}

.aiip-news-share {
    background: var(--light);
    border-radius: 0.35rem;
    padding: 1rem 1.25rem !important;
    margin-top: 2rem;
}

.aiip-news-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aiip-news-related-list li + li {
    margin-top: 0.85rem;
}

.aiip-news-related-item {
    display: flex;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
}

.aiip-news-related-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 0.25rem;
    overflow: hidden;
}

.aiip-news-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aiip-news-related-copy strong {
    display: block;
    color: var(--primary);
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.aiip-news-related-item:hover strong {
    color: var(--secondary);
}

.aiip-news-related-copy small {
    color: #888;
    font-size: 0.78rem;
}

.aiip-blog-featured {
    background: var(--white);
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(96, 68, 34, 0.1);
    box-shadow: 0 12px 32px rgba(96, 68, 34, 0.1);
    margin-bottom: 3rem;
}

.aiip-blog-featured-photo {
    display: block;
    height: 100%;
    min-height: 320px;
}

.aiip-blog-featured-photo img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aiip-blog-featured-photo:hover img {
    transform: scale(1.03);
}

.aiip-blog-featured-body {
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aiip-blog-featured-body h3 {
    font-size: 1.65rem;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.aiip-blog-featured-body h3 a {
    color: var(--primary);
    text-decoration: none;
}

.aiip-blog-featured-body h3 a:hover {
    color: var(--secondary);
}

.aiip-blog-featured-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.aiip-blog-badge {
    display: inline-block;
    background: rgba(96, 68, 34, 0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 0.85rem;
}

.aiip-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    color: #777;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.aiip-blog-meta--article {
    margin-bottom: 1.5rem;
}

.aiip-blog-read-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

.aiip-blog-read-link:hover {
    color: var(--secondary);
}

.aiip-blog-filter {
    max-width: 100%;
    flex-wrap: wrap;
}

.aiip-blog-col.is-hidden {
    display: none !important;
}

.aiip-blog-card {
    background: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(96, 68, 34, 0.1);
    box-shadow: 0 8px 24px rgba(96, 68, 34, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aiip-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(96, 68, 34, 0.12);
}

.aiip-blog-card-photo {
    position: relative;
    display: block;
    overflow: hidden;
}

.aiip-blog-card-photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aiip-blog-card:hover .aiip-blog-card-photo img {
    transform: scale(1.04);
}

.aiip-blog-card-photo .aiip-blog-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    margin-bottom: 0;
    background: var(--primary);
    color: var(--white);
}

.aiip-blog-card-body {
    padding: 1.35rem 1.4rem 1.5rem;
}

.aiip-blog-card-body h5 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.aiip-blog-card-body h5 a {
    color: var(--primary);
    text-decoration: none;
}

.aiip-blog-card-body h5 a:hover {
    color: var(--secondary);
}

.aiip-blog-card-excerpt {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.aiip-blog-sidebar-card {
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(96, 68, 34, 0.06);
    margin-bottom: 1.25rem;
}

.aiip-blog-sidebar-card h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.aiip-blog-sidebar-list,
.aiip-blog-trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aiip-blog-sidebar-list li + li,
.aiip-blog-trending-list li + li {
    margin-top: 0.65rem;
}

.aiip-blog-sidebar-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: none;
    background: transparent;
    padding: 0.55rem 0;
    color: #555;
    font-size: 0.92rem;
    text-align: left;
    border-bottom: 1px solid rgba(96, 68, 34, 0.08);
    cursor: pointer;
    text-decoration: none;
}

.aiip-blog-sidebar-link span {
    background: rgba(96, 68, 34, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    min-width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aiip-blog-sidebar-link:hover {
    color: var(--primary);
}

.aiip-blog-trending-list a {
    display: block;
    color: inherit;
    text-decoration: none;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(96, 68, 34, 0.08);
}

.aiip-blog-trending-list a strong {
    display: block;
    color: var(--primary);
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 0.25rem;
}

.aiip-blog-trending-list a small {
    color: #888;
    font-size: 0.8rem;
}

.aiip-blog-trending-list a:hover strong {
    color: var(--secondary);
}

.aiip-blog-sidebar-cta p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.6;
}

.aiip-blog-sidebar-author {
    text-align: center;
}

.aiip-blog-sidebar-author-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--light);
    box-shadow: 0 6px 18px rgba(96, 68, 34, 0.12);
}

.aiip-blog-sidebar-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aiip-blog-sidebar-author p {
    color: #666;
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.aiip-blog-article-main {
    background: var(--white);
    border-radius: 0.85rem;
    border: 1px solid rgba(96, 68, 34, 0.1);
    box-shadow: 0 8px 24px rgba(96, 68, 34, 0.08);
    padding: 2rem;
}

/* Blog post hero (live-site style) */
.aiip-blog-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background-image: var(--aiip-blog-hero-bg);
    background-size: cover;
    background-position: var(--aiip-blog-hero-pos, center center);
    background-repeat: no-repeat;
}

.aiip-blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.82) 100%);
}

.aiip-blog-hero-inner {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem 3rem;
}

.aiip-blog-hero-breadcrumb .breadcrumb-item a,
.aiip-blog-hero-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
}

.aiip-blog-hero-breadcrumb .breadcrumb-item a:hover {
    color: var(--light-brown);
}

.aiip-blog-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.55);
}

.aiip-blog-hero-content {
    max-width: 920px;
    margin-top: 1.5rem;
}

.aiip-blog-hero-date {
    display: inline-block;
    color: var(--light-brown);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}

.aiip-blog-hero-content h1 {
    color: #fff;
    font-family: "Poppins", serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 700;
}

.aiip-blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
}

.aiip-blog-promo-card {
    background: linear-gradient(145deg, #fff 0%, var(--light) 100%);
    border: 1px solid rgba(96, 68, 34, 0.12);
    text-align: center;
}

.aiip-blog-promo-logo img {
    max-height: 52px;
    width: auto;
    margin-bottom: 1rem;
}

.aiip-blog-promo-card h5 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.aiip-blog-promo-lead {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.aiip-blog-promo-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    text-align: left;
}

.aiip-blog-promo-points li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(96, 68, 34, 0.08);
    color: #555;
    font-size: 0.9rem;
}

.aiip-blog-promo-points li:last-child {
    border-bottom: none;
}

.aiip-blog-promo-points i {
    color: var(--secondary);
    width: 1.1rem;
    text-align: center;
}

.aiip-blog-article-header h1 {
    color: var(--primary);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.aiip-blog-article-photo {
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.aiip-blog-article-photo img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.aiip-blog-content {
    color: #444;
    font-size: 1rem;
    line-height: 1.85;
}

.aiip-blog-content p {
    margin-bottom: 1.15rem;
}

.aiip-blog-content h4 {
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 2rem 0 1rem;
}

.aiip-blog-content h5 {
    color: var(--primary);
    font-size: 1.05rem;
    line-height: 1.45;
    margin: 1.5rem 0 0.85rem;
}

.aiip-blog-content h6 {
    color: var(--primary);
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 1.35rem 0 0.75rem;
    font-weight: 700;
}

.aiip-blog-list {
    margin-bottom: 1.15rem;
    padding-left: 1.25rem;
}

.aiip-blog-list li {
    margin-bottom: 0.45rem;
}

.aiip-blog-credit {
    color: #888;
    font-size: 0.88rem;
    margin: 1rem 0 1.5rem;
}

.aiip-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(96, 68, 34, 0.1);
}

.aiip-blog-tags span {
    background: var(--light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
}

.aiip-blog-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(96, 68, 34, 0.1);
    border-bottom: 1px solid rgba(96, 68, 34, 0.1);
    margin-bottom: 1.75rem;
}

.aiip-blog-share > span {
    color: var(--primary);
    font-weight: 600;
}

.aiip-blog-share-links {
    display: flex;
    gap: 0.5rem;
}

.aiip-blog-share-links a {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--primary);
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.aiip-blog-share-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.aiip-blog-author-box {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    background: var(--light);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.aiip-blog-author-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.aiip-blog-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aiip-blog-author-info h5 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.aiip-blog-author-info p {
    color: #666;
    font-size: 0.92rem;
}

.aiip-blog-author-info a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.aiip-blog-author-count {
    margin-top: 0.5rem;
    color: #888;
    font-size: 0.85rem;
}

.aiip-blog-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.aiip-blog-post-nav-item {
    display: block;
    background: var(--light);
    border-radius: 0.75rem;
    padding: 1rem 1.15rem;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.aiip-blog-post-nav-item small {
    display: block;
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.aiip-blog-post-nav-item span {
    color: var(--primary);
    font-weight: 600;
    line-height: 1.45;
}

.aiip-blog-post-nav-item:hover {
    background: rgba(96, 68, 34, 0.12);
}

.aiip-blog-post-nav-item--next {
    text-align: right;
}

.aiip-blog-comments h4 {
    color: var(--primary);
    margin-bottom: 1.25rem;
}

@media (max-width: 991.98px) {
    .aiip-news-masthead-meta {
        text-align: left;
    }

    .aiip-news-feed-item {
        grid-template-columns: 160px 1fr;
    }

    .aiip-news-lead-media,
    .aiip-news-lead-content {
        min-height: 340px;
    }

    .aiip-blog-featured-body {
        padding: 1.75rem 1.35rem;
    }

    .aiip-blog-article-main {
        padding: 1.35rem;
    }

    .aiip-blog-hero {
        min-height: 340px;
    }

    .aiip-blog-hero-inner {
        padding-bottom: 2rem;
    }

    .aiip-blog-post-nav {
        grid-template-columns: 1fr;
    }

    .aiip-blog-post-nav-item--next {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .aiip-news-feed-item {
        grid-template-columns: 1fr;
    }

    .aiip-news-feed-thumb img {
        height: 180px;
    }

    .aiip-news-masthead-brand h1 {
        font-size: 1.65rem;
    }

    .aiip-news-article-deck {
        font-size: 1rem;
    }

    .aiip-blog-filter .aiip-events-filter-item {
        padding: 0.5rem 0.65rem;
        font-size: 0.75rem;
    }

    .aiip-blog-author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Luminaries */
.aiip-luminaries-section {
    scroll-margin-top: 110px;
}

.aiip-luminaries-path-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 0.85rem;
    padding: 1.75rem 1.5rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(96, 68, 34, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.aiip-luminaries-path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(96, 68, 34, 0.14);
    border-color: rgba(96, 68, 34, 0.2);
    color: inherit;
}

.aiip-luminaries-path-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 68, 34, 0.08);
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 1.15rem;
}

.aiip-luminaries-path-card h5 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.aiip-luminaries-path-card p {
    color: #666;
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.aiip-luminaries-path-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.92rem;
}

.aiip-luminaries-focus-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 0.65rem;
    padding: 0.9rem 1rem;
    height: 100%;
}

.aiip-luminaries-focus-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
}

.aiip-luminaries-focus-item span {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.92rem;
}

.aiip-luminaries-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aiip-luminaries-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.aiip-luminaries-benefits li:last-child {
    margin-bottom: 0;
}

.aiip-luminaries-benefits i {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(96, 68, 34, 0.08);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.aiip-luminaries-benefits span {
    color: #555;
    line-height: 1.65;
}

.aiip-luminaries-form-card {
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 0.85rem;
    padding: 2rem;
    box-shadow: 0 10px 28px rgba(96, 68, 34, 0.08);
}

.aiip-luminaries-form-card h3 {
    color: var(--primary);
    font-size: 1.35rem;
}

.aiip-luminaries-form-tips {
    background: var(--light);
    border-radius: 0.75rem;
    padding: 1.35rem 1.25rem;
    border: 1px solid rgba(96, 68, 34, 0.08);
}

.aiip-luminaries-form-tips h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.aiip-luminaries-form-tips ul {
    margin: 0;
    padding-left: 1.15rem;
    color: #666;
}

.aiip-luminaries-form-tips li {
    margin-bottom: 0.45rem;
    line-height: 1.6;
}

.aiip-luminaries-skill-option {
    display: block;
    margin: 0;
    cursor: pointer;
}

.aiip-luminaries-skill-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.aiip-luminaries-skill-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--light);
    border: 2px solid transparent;
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    color: #555;
    font-size: 0.92rem;
    font-weight: 500;
    transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.aiip-luminaries-skill-box i {
    color: var(--secondary);
}

.aiip-luminaries-skill-option input:checked + .aiip-luminaries-skill-box {
    background: rgba(96, 68, 34, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

.aiip-luminaries-confirm {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
}

.aiip-luminaries-confirm input {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.aiip-luminaries-mini-card {
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 0.75rem;
    padding: 1.15rem;
    height: 100%;
    box-shadow: 0 6px 18px rgba(96, 68, 34, 0.06);
}

.aiip-luminaries-mini-card i {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
}

.aiip-luminaries-mini-card h6 {
    color: var(--primary);
    margin-bottom: 0.45rem;
}

.aiip-luminaries-mini-card p {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .aiip-luminaries-form-card {
        padding: 1.35rem;
    }
}

/* Contact */
.aiip-contact-highlight {
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(96, 68, 34, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aiip-contact-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(96, 68, 34, 0.1);
}

.aiip-contact-highlight-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 68, 34, 0.08);
    color: var(--primary);
    font-size: 1.2rem;
}

.aiip-contact-highlight h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.aiip-contact-highlight p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.6;
}

.aiip-contact-office-card,
.aiip-contact-social-card {
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 0.75rem;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 6px 18px rgba(96, 68, 34, 0.06);
}

.aiip-contact-office-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(96, 68, 34, 0.1);
}

.aiip-contact-office-head i {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 68, 34, 0.08);
    color: var(--primary);
}

.aiip-contact-office-head h5 {
    color: var(--primary);
    font-size: 1rem;
    margin: 0;
}

.aiip-contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aiip-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    color: #555;
    font-size: 0.94rem;
    line-height: 1.6;
}

.aiip-contact-details li:last-child {
    margin-bottom: 0;
}

.aiip-contact-details i {
    color: var(--secondary);
    width: 1.1rem;
    margin-top: 0.2rem;
    text-align: center;
    flex-shrink: 0;
}

.aiip-contact-details a {
    color: #555;
    text-decoration: none;
}

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

.aiip-contact-social-card h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.aiip-contact-social-links {
    display: flex;
    gap: 0.65rem;
}

.aiip-contact-social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--primary);
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.aiip-contact-social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.aiip-contact-form-card {
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 0.85rem;
    padding: 2rem;
    box-shadow: 0 10px 28px rgba(96, 68, 34, 0.08);
    height: 100%;
}

.aiip-contact-form-card .display-6 {
    font-size: 1.75rem;
}

.aiip-form-alert {
    border-radius: 0.65rem;
    font-size: 0.94rem;
}

.aiip-contact-engage-card {
    background: var(--light);
    border: 1px solid rgba(96, 68, 34, 0.08);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aiip-contact-engage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(96, 68, 34, 0.08);
}

.aiip-contact-engage-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 68, 34, 0.08);
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.aiip-contact-engage-card h5 {
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.aiip-contact-engage-card p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.65;
}

/* Trade commodities */
.aiip-trade-section {
    background: var(--white);
}

.aiip-trade-card {
    background: var(--light);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 0.85rem;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(96, 68, 34, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aiip-trade-card--has-content {
    cursor: pointer;
}

.aiip-trade-card--has-content:hover,
.aiip-trade-card--has-content:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(96, 68, 34, 0.12);
    border-color: rgba(96, 68, 34, 0.22);
    outline: none;
}

.aiip-trade-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 68, 34, 0.08);
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.aiip-trade-card-title {
    color: var(--primary);
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.aiip-trade-card-summary {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.aiip-trade-card-link {
    margin-top: auto;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.88rem;
}

.aiip-trade-card-placeholder {
    margin-top: auto;
    color: #999;
    font-size: 0.82rem;
    font-style: italic;
}

.aiip-trade-modal-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.aiip-trade-modal-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--primary);
    font-size: 1.1rem;
}

.aiip-trade-modal-summary {
    color: var(--primary);
    font-weight: 500;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.aiip-trade-modal-details {
    color: #555;
    line-height: 1.8;
}

.aiip-trade-modal-details p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .aiip-contact-form-card {
        padding: 1.35rem;
    }
}

/* ========== Mobile responsive (site-wide) ========== */
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 88px;
}

body {
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Compact contact strip on phones — same dark navy as the desktop topbar */
.aiip-mobile-topbar {
    background: #0b1f3a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aiip-mobile-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 38px;
    padding: 0.35rem 0;
}

.aiip-mobile-topbar-contacts,
.aiip-mobile-topbar-socials {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.aiip-mobile-topbar-contacts a,
.aiip-mobile-topbar-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.aiip-mobile-topbar-socials a {
    background: transparent;
}

.aiip-mobile-topbar-socials a .ct-icon-container {
    width: 34px;
    height: 34px;
    box-sizing: border-box;
    border-radius: 100%;
    background-color: var(--official-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.aiip-mobile-topbar-socials a .ct-icon-container svg {
    width: 15px;
    height: 15px;
    fill: #ffffff;
}

.aiip-mobile-topbar-socials a:hover {
    background: transparent;
    color: #fff;
}

.aiip-mobile-topbar-socials a:hover .ct-icon-container {
    opacity: 0.8;
    transform: translateY(-1px);
}

.aiip-mobile-topbar-contacts a:hover,
.aiip-mobile-topbar-contacts a:focus {
    background: rgba(239, 189, 120, 0.25);
    color: #fff;
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 112px;
    }

    .container,
    .container-xxl {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .display-4,
    .display-5,
    .display-6 {
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

    .aiip-section-heading {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .aiip-section-heading .display-6 {
        font-size: calc(1.35rem + 1vw);
    }

    .aiip-page-header {
        min-height: 240px;
    }

    .aiip-page-header-inner {
        padding: 2.75rem 0 2.25rem;
    }

    .aiip-page-header-content {
        padding: 1.5rem 1rem;
        border-radius: 0.75rem;
    }

    .aiip-page-header-content h1 {
        font-size: 1.65rem;
        line-height: 1.25;
    }

    .aiip-page-header-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }

    .aiip-breadcrumb {
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center !important;
    }

    .aiip-hero-img {
        min-height: 420px;
    }

    .aiip-hero-caption {
        padding: 3.5rem 0.5rem 2.75rem;
    }

    .aiip-hero-content {
        padding: 1.25rem 0.85rem;
    }

    .aiip-hero-caption h1 {
        font-size: 1.55rem;
        line-height: 1.25;
    }

    .aiip-hero-lead {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    .aiip-hero-content .btn {
        width: 100%;
        max-width: 280px;
    }

    .aiip-home-cta {
        padding: 2.5rem 0;
        text-align: center;
    }

    .aiip-home-cta .btn {
        width: 100%;
        max-width: 320px;
    }

    .aiip-home-cta .text-lg-end {
        text-align: center !important;
    }

    .aiip-events-filter-wrap,
    .aiip-news-filter-wrap,
    .aiip-gallery-filter-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding-bottom: 0.35rem;
    }

    .aiip-events-filter,
    .aiip-news-filter,
    .aiip-gallery-filter {
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
        padding-bottom: 0.25rem;
    }

    .aiip-news-ticker-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.5rem 0;
    }

    .aiip-news-ticker-label {
        align-self: flex-start;
    }

    .aiip-news-masthead {
        padding: 1.35rem 0 1.15rem;
    }

    .aiip-news-masthead-brand h1 {
        font-size: 1.75rem;
    }

    .aiip-news-masthead-brand p {
        font-size: 0.92rem;
    }

    .aiip-news-lead-content {
        padding: 1.75rem 1.15rem 1.5rem;
    }

    .aiip-news-lead-content h2 {
        font-size: 1.45rem;
    }

    .aiip-news-lead-deck {
        font-size: 0.95rem;
    }

    .aiip-news-sidebar-block {
        margin-bottom: 1rem;
    }

    .aiip-blog-hero-content h1 {
        font-size: 1.55rem;
    }

    .aiip-blog-hero-inner {
        padding: 1.25rem 0.85rem 1.75rem;
    }

    .aiip-news-article-bar {
        padding: 1rem 0 1.15rem;
    }

    .aiip-news-article-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .aiip-news-article-deck {
        padding-left: 0.75rem;
        font-size: 1rem;
    }

    .aiip-blog-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .aiip-trade-card {
        padding: 1.5rem 1.15rem 1.25rem;
    }

    .aiip-trade-card-title {
        font-size: 1rem;
    }

    .aiip-contact-form-card .display-6 {
        font-size: 1.45rem;
    }

    .aiip-contact-highlight,
    .aiip-contact-office-card,
    .aiip-contact-social-card {
        margin-bottom: 1rem;
    }

    .aiip-team-photo-frame img {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .aiip-gallery-modal .modal-dialog {
        margin: 0.75rem;
    }

    .aiip-trade-modal .modal-dialog {
        margin: 0.75rem;
    }

    .modal-footer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .modal-footer .btn {
        flex: 1 1 auto;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
        padding: 0 !important;
    }
}

@media (max-width: 575.98px) {
    html {
        scroll-padding-top: 100px;
    }

    .aiip-page-header-content h1 {
        font-size: 1.4rem;
    }

    .aiip-hero-img {
        min-height: 360px;
    }

    .aiip-hero-caption h1 {
        font-size: 1.35rem;
    }

    .aiip-hero-badge {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }

    .aiip-mission-strip .col-md-4 {
        border-bottom: 1px solid rgba(96, 68, 34, 0.1);
    }

    .aiip-mission-strip .col-md-4:last-child {
        border-bottom: none;
    }

    .aiip-value-card {
        padding: 1.35rem 1.15rem;
    }

    .aiip-news-ticker-item {
        font-size: 0.82rem;
    }

    .aiip-news-lead-media,
    .aiip-news-lead-content {
        min-height: 280px;
    }

    .aiip-news-lead-content h2 {
        font-size: 1.25rem;
    }

    .aiip-news-top-photo img {
        height: 170px;
    }

    .aiip-news-headline-num {
        font-size: 0.95rem;
        min-width: 1.5rem;
    }

    .aiip-blog-hero {
        min-height: 280px;
    }

    .aiip-blog-hero-content h1 {
        font-size: 1.35rem;
    }

    .aiip-blog-hero-meta {
        font-size: 0.82rem;
        gap: 0.5rem;
    }

    .aiip-news-content > p:first-of-type::first-letter {
        font-size: 2.5rem;
    }

    .aiip-luminaries-path-card {
        padding: 1.35rem 1.15rem;
    }

    .aiip-program-nav-card {
        height: 180px;
    }

    .aiip-about-page-visual .aiip-about-accent {
        width: 110px;
        height: 110px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aiip-news-ticker-track {
        animation: none;
    }

    .aiip-news-ticker-track-wrap {
        overflow-x: auto;
        mask-image: none;
    }
}

@media (max-width: 380px) {
    .aiip-mobile-topbar-contacts a,
    .aiip-mobile-topbar-socials a {
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
    }

    .aiip-mobile-topbar-socials a .ct-icon-container {
        width: 30px;
        height: 30px;
    }

    .aiip-mobile-topbar-socials a .ct-icon-container svg {
        width: 13px;
        height: 13px;
    }    .aiip-logo {
        height: 40px;
        max-width: 140px;
    }
}

/* ── Full-width content (matches the fluid admin CMS layout) ── */
/* All front-end pages now stretch to the full viewport like the admin
   panel, instead of sitting in Bootstrap's centered max-width columns.
   Bootstrap's container max-widths (576/768/992/1200/1400) are overridden
   here because aiip.css loads after bootstrap.min.css. */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    width: 100%;
    max-width: 100%;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

@media (max-width: 991.98px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Nested containers (section > .container) shouldn't double-pad: the outer
   full-width container-xxl already provides the gutter, so the inner one
   only adds its own padding when it is the page's sole container. */
.container-xxl > .container {
    padding-left: 0;
    padding-right: 0;
}

/* Keep page-header and blog-hero content boxes readable at full width */
.aiip-page-header-content {
    max-width: 920px;
    margin-inline: auto;
}

@media (min-width: 992px) {
    .aiip-blog-hero-content {
        max-width: 860px;
        margin-inline: auto;
    }
}

/* ── Countries (interactive Africa map + per-country pages) ── */
.aiip-countries-map-card {
    background: #fff;
    border: 1px solid rgba(96, 68, 34, 0.14);
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(96, 68, 34, 0.1);
    padding: 1.25rem;
    width: 100%;
    max-width: 2000px;
    margin-inline: auto;
}

.aiip-countries-map {
    width: 100%;
    aspect-ratio: 1.79 / 1; /* 56% padding-top aspect, same as the live map */
    height: auto;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    background: #f7f3ea;
}

.aiip-countries-map svg {
    display: block;
}

.aiip-country-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
    color: inherit;
}

.aiip-country-card-link small {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(96, 68, 34, 0.75);
}

.aiip-country-card-link:hover small {
    color: rgba(255, 255, 255, 0.85);
}

/* Country detail page */
.aiip-country-overview-flag-wrap {
    display: inline-flex;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(96, 68, 34, 0.16);
    border-radius: 1.25rem;
    box-shadow: 0 14px 34px rgba(96, 68, 34, 0.14);
}

.aiip-country-overview-flag {
    width: 220px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.aiip-country-item-card {
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.14);
    border-radius: 0.9rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(96, 68, 34, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aiip-country-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(96, 68, 34, 0.16);
}

.aiip-country-item-media {
    height: 180px;
    overflow: hidden;
    background: #f0ead9;
}

.aiip-country-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.aiip-country-item-card:hover .aiip-country-item-media img {
    transform: scale(1.05);
}

.aiip-country-item-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.aiip-country-item-body h5 {
    color: var(--primary);
    margin-bottom: 0;
}

.aiip-country-item-location {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.aiip-country-item-link {
    margin-top: auto;
    padding-top: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.aiip-country-item-link:hover {
    text-decoration: underline;
}

.aiip-country-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.aiip-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.7rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
}

.aiip-badge-ongoing {
    background: #2ca25f;
}

.aiip-badge-upcoming {
    background: #b08c5d;
}

.aiip-badge-past {
    background: #6c757d;
}

.aiip-badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.7rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    background: rgba(96, 68, 34, 0.08);
    color: rgba(96, 68, 34, 0.85);
}

@media (max-width: 991.98px) {
    .aiip-countries-map {
        aspect-ratio: auto;
        height: 420px;
    }
}

@media (max-width: 575.98px) {
    .aiip-countries-map {
        height: 340px;
    }
    .aiip-country-overview-flag {
        width: 170px;
    }
}

/* Trade commodity details panel (rich CMS content) */
.aiip-trade-details-panel {
    background: var(--white);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 0.9rem;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.aiip-trade-details-panel > *:first-child {
    margin-top: 0;
}

.aiip-trade-details-panel > *:last-child {
    margin-bottom: 0;
}

.aiip-trade-details-panel h2,
.aiip-trade-details-panel h3 {
    color: var(--primary);
    font-size: 1.35rem;
    margin: 2.25rem 0 1rem;
    font-weight: 700;
}

.aiip-trade-details-panel h4 {
    color: var(--primary);
    font-size: 1.05rem;
    margin: 1.5rem 0 0.6rem;
    font-weight: 600;
}

.aiip-trade-details-panel p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.aiip-trade-details-panel ul,
.aiip-trade-details-panel ol {
    padding-left: 1.35rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.aiip-trade-details-panel li {
    margin-bottom: 0.45rem;
}

.aiip-trade-details-panel .aiip-trade-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
    margin: 1.25rem 0 1.5rem;
}

.aiip-trade-details-panel .aiip-trade-check-grid .aiip-trade-check-item {
    background: var(--aiip-soft, #f7f3ec);
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0.6rem;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.aiip-trade-details-panel .aiip-trade-check-grid .aiip-trade-check-item i {
    color: var(--secondary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.aiip-trade-details-panel .aiip-trade-steps {
    margin: 1.25rem 0 1.5rem;
    counter-reset: trade-step;
}

.aiip-trade-details-panel .aiip-trade-steps .aiip-trade-step {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    counter-increment: trade-step;
}

.aiip-trade-details-panel .aiip-trade-steps .aiip-trade-step::before {
    content: counter(trade-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aiip-trade-details-panel .aiip-trade-faq-item {
    border: 1px solid rgba(96, 68, 34, 0.12);
    border-radius: 0.6rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.aiip-trade-details-panel .aiip-trade-faq-item summary {
    cursor: pointer;
    padding: 0.95rem 1.15rem;
    font-weight: 600;
    color: var(--primary);
    list-style: none;
    position: relative;
    background: var(--aiip-soft, #f7f3ec);
}

.aiip-trade-details-panel .aiip-trade-faq-item summary::-webkit-details-marker {
    display: none;
}

.aiip-trade-details-panel .aiip-trade-faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    transition: transform 0.25s ease;
}

.aiip-trade-details-panel .aiip-trade-faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.aiip-trade-details-panel .aiip-trade-faq-item .aiip-trade-faq-answer {
    padding: 0 1.15rem 1rem;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.aiip-trade-details-panel .aiip-trade-note {
    background: #fbf6ee;
    border: 1px solid rgba(96, 68, 34, 0.15);
    border-left: 4px solid var(--secondary);
    border-radius: 0.6rem;
    padding: 1.25rem 1.4rem;
    margin: 1.5rem 0;
}

.aiip-trade-details-panel .aiip-trade-note h4 {
    margin-top: 0;
}

.aiip-trade-details-panel .aiip-trade-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #8a5a20));
    color: #fff;
    border-radius: 0.75rem;
    padding: 1.75rem 2rem;
    margin: 1.75rem 0 0;
    text-align: center;
}

.aiip-trade-details-panel .aiip-trade-cta h3 {
    color: #fff;
    margin: 0 0 0.5rem;
}

.aiip-trade-details-panel .aiip-trade-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}
