/* International Participation — dark navy + gold */
.ip-page {
    --ip-dark: #050a14;
    --ip-navy: #001428;
    --ip-gold: #c5a059;
    --ip-gold-glow: rgba(197, 160, 89, 0.35);
    position: relative;
    overflow: hidden;
}

/* Palace gate side accents from reference */
.ip-gate {
    position: absolute;
    bottom: 0;
    width: 18%;
    height: 45%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.ip-gate-left {
    left: 0;
    background-position: left bottom;
}

.ip-gate-right {
    right: 0;
    background-position: right bottom;
    transform: scaleX(-1);
}

.ip-page > section {
    position: relative;
    z-index: 1;
}

/* ===== HERO ===== */
.ip-hero {
    padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
    background: radial-gradient(ellipse 70% 50% at 70% 20%, rgba(0, 40, 80, 0.25) 0%, transparent 60%);
}

.ip-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

.ip-title-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.ip-flourish {
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ip-gold));
}

.ip-title-block .ip-flourish:last-child {
    background: linear-gradient(90deg, var(--ip-gold), transparent);
}

.ip-hero h1 {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 3.5vw, 1.85rem);
    color: #fff;
    letter-spacing: 0.06em;
    font-weight: 700;
    white-space: nowrap;
}

.ip-subtitle {
    font-size: clamp(0.62rem, 1.6vw, 0.75rem);
    letter-spacing: 0.1em;
    color: var(--ip-gold);
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.ip-body {
    font-size: clamp(0.78rem, 1.7vw, 0.88rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.85rem;
}

.ip-map-wrap {
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 15, 30, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.ip-map-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.05);
}

/* ===== PIPELINE ===== */
.ip-pipeline {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.ip-pipeline-box {
    border: 1px solid rgba(197, 160, 89, 0.45);
    border-radius: 8px;
    padding: 1.25rem 1.5rem 1rem;
    background: rgba(0, 20, 40, 0.55);
    text-align: center;
}

.ip-pipeline-box h2 {
    font-family: var(--serif);
    font-size: clamp(0.72rem, 2vw, 0.88rem);
    color: var(--ip-gold);
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.ip-flags-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.85rem;
}

.ip-flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 72px;
}

.ip-flag {
    font-size: 1.75rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.ip-country-name {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.ip-pipeline-note {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 0.5rem;
}

/* ===== MAIN GRID ===== */
.ip-main {
    padding: clamp(2rem, 4vw, 3rem) 0;
    border-top: 1px solid rgba(197, 160, 89, 0.12);
}

.ip-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.75fr;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

.ip-section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ip-section-head h2 {
    font-family: var(--serif);
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: var(--ip-gold);
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.ip-head-line {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ip-gold), transparent);
}

.ip-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ip-area-card {
    padding: 1rem 0.75rem;
    border-right: 1px solid rgba(197, 160, 89, 0.1);
    background: rgba(0, 20, 40, 0.55);
}

.ip-area-card:nth-child(3n) { border-right: none; }

.ip-area-icon {
    width: 48px;
    height: 48px;
    border: 2px solid var(--ip-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ip-gold);
    font-size: 1rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 0 14px var(--ip-gold-glow);
    background: rgba(0, 20, 40, 0.5);
}

.ip-area-card h3 {
    font-size: 0.58rem;
    color: var(--ip-gold);
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    font-weight: 700;
    line-height: 1.35;
}

.ip-area-card p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
}

/* Why matters sidebar */
.ip-why-box {
    border: 1px solid rgba(197, 160, 89, 0.45);
    border-radius: 6px;
    padding: 1.5rem 1.25rem;
    background: rgba(0, 20, 40, 0.55);
    height: 100%;
}

.ip-why-icon {
    width: 56px;
    height: 56px;
    border: 2px solid var(--ip-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ip-gold);
    font-size: 1.35rem;
    margin: 0 auto 1rem;
    box-shadow: 0 0 18px var(--ip-gold-glow);
}

.ip-why-box h3 {
    font-family: var(--serif);
    font-size: 0.72rem;
    color: var(--ip-gold);
    letter-spacing: 0.06em;
    text-align: center;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.ip-why-box p {
    font-size: 0.78rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

/* ===== FOOTER ===== */
.ip-footer {
    padding: 2.5rem 0 5rem;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 15, 30, 0.5) 100%);
}

.ip-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75px;
    opacity: 0.8;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 75'%3E%3Cpath fill='none' stroke='%23c5a059' stroke-width='1.5' d='M0 75 L30 58 L60 66 L90 50 L120 62 L150 46 L180 58 L210 42 L240 54 L270 38 L300 50 L330 36 L360 48 L390 32 L420 44 L450 30 L480 42 L510 28 L540 40 L570 26 L600 38 L630 24 L660 36 L690 22 L720 34 L750 20 L780 32 L810 18 L840 30 L870 16 L900 28 L930 14 L960 26 L990 12 L1020 24 L1050 10 L1080 22 L1110 8 L1140 20 L1170 6 L1200 18 V75Z'/%3E%3C/svg%3E") center bottom / 100% auto no-repeat;
}

.ip-footer-inner {
    position: relative;
    z-index: 1;
}

.ip-footer h2 {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: #fff;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.ip-footer-sub {
    font-family: var(--serif);
    font-size: clamp(0.72rem, 2vw, 0.88rem);
    color: var(--ip-gold);
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
}

.ip-footer-pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    margin-bottom: 1.5rem;
}

.ip-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.ip-pillar i {
    font-size: 1.25rem;
    color: var(--ip-gold);
    filter: drop-shadow(0 0 8px var(--ip-gold-glow));
}

.ip-pillar span {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    color: var(--ip-gold);
    font-weight: 700;
}

.ip-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(0.82rem, 2vw, 0.95rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ===== MOBILE ===== */
@media (max-width: 992px) {
    .ip-hero-grid {
        grid-template-columns: 1fr;
    }

    .ip-map-wrap { order: -1; max-width: 560px; margin: 0 auto; }

    .ip-main-grid {
        grid-template-columns: 1fr;
    }

    .ip-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ip-area-card { border-right: none; border-bottom: 1px solid rgba(197, 160, 89, 0.1); }
    .ip-area-card:nth-child(odd) { border-right: 1px solid rgba(197, 160, 89, 0.1); }
}

@media (max-width: 576px) {
    .ip-hero h1 { white-space: normal; font-size: 1.35rem; }

    .ip-flags-row { gap: 0.75rem; }
    .ip-flag-item { min-width: 60px; }

    .ip-areas-grid {
        grid-template-columns: 1fr;
    }

    .ip-area-card:nth-child(odd) { border-right: none; }

    .ip-footer-pillars {
        flex-direction: column;
        gap: 1rem;
    }

    .ip-gate { opacity: 0.06; width: 28%; }
}
