/* IPO Kuwait–style public shell (scoped; admin still uses base style.css). */

/* Public layout loads this file only; grey shows outside the 60px frame. */

html {

    background: #f5f5f5;

    min-height: 100%;

}

body.ipo-kw-site {

    --ipo-kw-blue: #1e5bc4;

    --ipo-kw-blue-deep: #174a9e;

    --ipo-kw-nav-bg: #f5f5f5;

    --ipo-kw-text: #1a1a1a;

    --ipo-kw-muted: #5c5c5c;

    box-sizing: border-box;

    min-height: 100vh;

    min-height: 100dvh;

    margin: 0;

    border: 60px solid #f5f5f5;

    background: #fff;

    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

}



.ipo-kw-header.site-header {

    background: #fff;

    border-bottom: none;

    backdrop-filter: none;

    position: static;

}



.ipo-kw-topline {

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 12px;

    padding: 16px 0 10px;

}



.ipo-kw-topline-spacer {

    min-width: 0;

}



.ipo-kw-brand-center {

    justify-self: center;

    text-align: center;

}



.ipo-kw-brand-link {

    display: inline-block;

    line-height: 0;

    border-radius: 8px;

    outline-offset: 3px;

}



.ipo-kw-brand-link:hover {

    opacity: 0.94;

    text-decoration: none;

}



.ipo-kw-brand-img {

    display: block;

    width: 390px;

    max-width: 100%;

    height: auto;

    object-fit: contain;

}



.ipo-kw-topline-lang {

    justify-self: end;

    align-self: start;

    padding-top: 2px;

}



.ipo-kw-topline-lang .lang-switch {

    flex-wrap: wrap;

    justify-content: flex-end;

}



body.ipo-kw-site .lang-chip {

    border: 0;

    border-radius: 5px;

    background: #f5f5f5;

    color: #1a1a1a;

}



body.ipo-kw-site .lang-chip:hover {

    background: #ebebeb;

    text-decoration: none;

}



body.ipo-kw-site .lang-chip[aria-current="true"] {

    background: #e8e8e8;

    font-weight: 600;

}



.ipo-kw-nav-strip {

    background: var(--ipo-kw-nav-bg);

    border-top: 1px solid rgba(0, 0, 0, 0.06);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

}



.ipo-kw-site .ipo-kw-nav-bar.site-header-bar {

    display: flex;

    flex-direction: row;

    flex-wrap: nowrap;

    align-items: center;

    justify-content: center;

    gap: 10px 16px;

    padding: 10px 0;

    grid-template-columns: unset;

    grid-template-areas: unset;

}



.ipo-kw-site .ipo-kw-nav-bar .header-nav {

    display: flex;

    flex-wrap: nowrap;

    justify-content: center;

    align-items: center;

    gap: 4px 6px;

    padding: 0;

    margin: 0;

    border: none;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;

    flex: 1 1 auto;

    min-width: 0;

}



.ipo-kw-site .ipo-kw-nav-bar .nav-link {

    flex-shrink: 0;

    padding: 10px 14px;

    border-radius: 8px;

    color: var(--ipo-kw-muted);

    font-weight: 500;

    font-size: 15px;

    text-decoration: none;

    white-space: nowrap;

}



.ipo-kw-site .ipo-kw-nav-bar .nav-link:hover {

    background: rgba(30, 91, 196, 0.08);

    color: var(--ipo-kw-text);

    text-decoration: none;

}



.ipo-kw-site .ipo-kw-nav-bar .nav-link[aria-current="page"] {

    background: var(--ipo-kw-blue);

    color: #fff;

    font-weight: 600;

}



.ipo-kw-site .ipo-kw-nav-bar .nav-sandwich {

    flex-shrink: 0;

    margin-inline-start: auto;

}



.ipo-kw-main.site-main {

    padding-top: 0;

    padding-bottom: 48px;

}



.ipo-kw-inner-page {

    position: relative;

    padding-top: 28px;

    min-height: 42vh;

}



.ipo-kw-watermark {

    position: absolute;

    inset: 12px 0 auto 0;

    height: min(52vh, 420px);

    margin-inline: auto;

    max-width: 100%;

    background: url("../images/ipo-kw-header-logo.png") center top no-repeat;

    background-size: contain;

    opacity: 0.07;

    pointer-events: none;

}



.ipo-kw-inner-shell {

    position: relative;

    z-index: 1;

}



.ipo-kw-page-title.page-title {

    margin-top: 0;

    margin-bottom: 20px;

    font-size: clamp(1.75rem, 4vw, 2.25rem);

    font-weight: 700;

    color: var(--ipo-kw-text);

    letter-spacing: -0.02em;

}



.ipo-kw-empty-state {

    padding: 8px 0 32px;

}



.ipo-kw-empty-title {

    margin: 0 0 12px;

    font-size: clamp(1.35rem, 3.2vw, 1.75rem);

    font-weight: 700;

    color: var(--ipo-kw-text);

}



.ipo-kw-empty-lead {

    margin: 0;

    font-size: 1.05rem;

    color: var(--ipo-kw-muted);

}



.ipo-kw-prose .ipo-kw-lead {

    font-size: 1.05rem;

    line-height: 1.7;

    color: var(--text, #0f172a);

}



.ipo-kw-footer.site-footer {

    background: #f5f5f5;

    border-top: 1px solid rgba(0, 0, 0, 0.06);

    margin-top: auto;

}



.ipo-kw-footer-inner.footer-shell {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 16px;

    padding-top: 20px;

    padding-bottom: 24px;

}



.ipo-kw-footer-cta {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(30, 91, 196, 0.1);

    border: 1px solid rgba(30, 91, 196, 0.22);

    color: var(--ipo-kw-blue);

    font-weight: 600;

    font-size: 15px;

    text-decoration: none;

}



.ipo-kw-footer-cta:hover {

    background: rgba(30, 91, 196, 0.16);

    text-decoration: none;

    color: var(--ipo-kw-blue-deep);

}



.ipo-kw-footer-cta-icon {

    display: flex;

    color: var(--ipo-kw-blue);

}



.ipo-kw-footer-copy {

    margin: 0;

    font-size: 14px;

}



@media (max-width: 720px) {

    .ipo-kw-topline {

        grid-template-columns: 1fr auto;

        grid-template-rows: auto auto;

    }



    .ipo-kw-topline-spacer {

        display: none;

    }



    .ipo-kw-brand-center {

        grid-column: 1;

        grid-row: 1;

        justify-self: start;

    }



    .ipo-kw-topline-lang {

        grid-column: 2;

        grid-row: 1;

        align-self: center;

    }



    .ipo-kw-site .ipo-kw-nav-bar.site-header-bar {

        flex-wrap: wrap;

        justify-content: flex-end;

        padding: 8px 0;

    }



    .ipo-kw-site .ipo-kw-nav-bar .header-nav {

        display: none;

        flex-basis: 100%;

        flex-direction: column;

        align-items: stretch;

        overflow: visible;

        padding: 8px 0 4px;

        margin-top: 4px;

        border-top: 1px solid rgba(0, 0, 0, 0.08);

        gap: 2px;

    }



    .ipo-kw-site .ipo-kw-nav-bar.is-nav-open .header-nav {

        display: flex;

    }



    .ipo-kw-site .ipo-kw-nav-bar .header-nav .nav-link {

        justify-content: center;

        text-align: center;

        white-space: normal;

    }



    .ipo-kw-site .ipo-kw-nav-bar .nav-sandwich {

        display: inline-flex;

    }

}



@media (min-width: 721px) {

    .ipo-kw-site .ipo-kw-nav-bar .nav-sandwich {

        display: none;

    }

}

.ipo-kw-home-simple {
    padding-top: 28px;
    padding-bottom: 24px;
    max-width: 720px;
    margin-inline: auto;
}

.ipo-kw-home-simple .ipo-kw-home-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text, #0f172a);
}

/* How to use: no watermark, plain content (no card frame). */

body.page-how .ipo-kw-watermark {

    display: none;

}



body.page-how .ipo-kw-how {

    margin: 0;

    padding: 0;

    border: none;

    box-shadow: none;

    background: transparent;

}



.ipo-kw-how .ipo-kw-round-list {
    margin: 0;
    padding-inline-start: 1.25rem;
    list-style-type: disc;
}

.ipo-kw-how .ipo-kw-round-list li {
    margin-bottom: 0.65rem;
    padding-inline-start: 0.25rem;
}

.subscribe-ipo-logo-wrap {
    text-align: center;
    margin: 0 0 20px;
}

.subscribe-ipo-logo {
    max-width: min(220px, 70vw);
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ipo-card-with-logo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 20px;
}

.ipo-card-logo-wrap {
    flex: 0 0 auto;
}

.ipo-card-logo {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border, #e2e8f0);
    background: #fff;
}

.ipo-card-text {
    flex: 1 1 200px;
    min-width: 0;
}

.ipo-kw-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ipo-kw-news-card-head {
    margin-bottom: 10px;
}

.ipo-kw-news-date {
    display: block;
    font-size: 0.9rem;
    color: var(--ipo-kw-muted);
    margin-bottom: 4px;
}

.ipo-kw-news-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.ipo-kw-news-body {
    line-height: 1.65;
}


