@font-face {
    font-family: "Titillium Web";
    src: url("fonts/titillium-web-latin-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Titillium Web";
    src: url("fonts/titillium-web-latin-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Titillium Web";
    src: url("fonts/titillium-web-latin-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

body.category-lifecycle #main-content.ogla-main,
body.opn-industries-hub #main-content.ogla-main,
body.opn-use-cases-hub #main-content.ogla-main {
    background: #f5f7fb;
    color: #1c2435;
    font-family: "Titillium Web", Arial, sans-serif;
}

body.category-lifecycle,
body.opn-industries-hub,
body.opn-use-cases-hub {
    overflow-x: hidden;
}

.ogla-shell {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.ogla-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 30%, rgba(170, 103, 180, 0.36), transparent 34%),
        linear-gradient(145deg, #111525 0%, #151a31 63%, #293a64 100%);
}

.ogla-hero::after {
    position: absolute;
    right: -8%;
    bottom: -48%;
    width: 72%;
    height: 92%;
    content: "";
    transform: rotate(-9deg);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(90deg, rgba(126, 95, 191, 0.2), rgba(222, 82, 101, 0.12));
}

.ogla-hero__inner {
    position: relative;
    z-index: 1;
    padding: 98px 0 104px;
}

.ogla-eyebrow,
.ogla-card__label {
    margin: 0 0 14px;
    color: #d9c8ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.ogla-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(50px, 6vw, 78px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

body.opn-industries-hub .ogla-hero h1,
body.opn-use-cases-hub .ogla-hero h1 {
    color: #fff !important;
}

.ogla-hero__lead {
    max-width: 720px;
    margin: 30px 0 0;
    color: #d7dbea;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.5;
}

.ogla-library {
    padding: 86px 0 104px;
}

.ogla-library__heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.ogla-library__heading .ogla-eyebrow {
    color: #7258aa;
}

.ogla-library h2 {
    margin: 0;
    color: #151a2a;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.ogla-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

body.category-lifecycle article.ogla-card,
body.opn-industries-hub article.ogla-card,
body.opn-use-cases-hub article.ogla-card {
    display: flex;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e4e7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(20, 28, 52, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

body.category-lifecycle article.ogla-card:hover,
body.opn-industries-hub article.ogla-card:hover,
body.opn-use-cases-hub article.ogla-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(20, 28, 52, 0.14);
}

.ogla-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #dadee8;
}

.ogla-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.ogla-card:hover .ogla-card__image img {
    transform: scale(1.025);
}

.ogla-card__body {
    display: flex;
    flex: 1;
    padding: 30px 32px 32px;
    flex-direction: column;
}

.ogla-card__label {
    margin-bottom: 10px;
    color: #8a639e;
    font-size: 11px;
}

.ogla-card__title {
    margin: 0;
    padding: 0;
    font-size: 29px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.14;
}

.ogla-card__title a {
    color: #171d2d;
    text-decoration: none;
}

body.opn-industries-hub .ogla-card__title a,
body.opn-use-cases-hub .ogla-card__title a {
    color: #171d2d !important;
}

.ogla-card__title a:hover,
.ogla-card__title a:focus-visible {
    color: #7959ad;
}

.ogla-card__excerpt {
    margin: 18px 0 24px;
    color: #5f6879;
    font-size: 17px;
    line-height: 1.55;
}

.ogla-card__link {
    width: fit-content;
    margin-top: auto;
    color: #6d4fa0;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.ogla-card a:focus-visible,
.ogla-main .nav-links a:focus-visible {
    outline: 3px solid #efc84a;
    outline-offset: 4px;
}

.ogla-main .pagination {
    margin-top: 54px;
}

.ogla-main .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ogla-main .page-numbers {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border-radius: 10px;
    background: #fff;
    color: #34284e;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(20, 28, 52, 0.08);
}

.ogla-main .page-numbers.current {
    background: #6d4fa0;
    color: #fff;
}

.ogla-empty {
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    font-size: 18px;
}

@media (max-width: 760px) {
    .ogla-shell {
        width: min(100% - 32px, 1120px);
    }

    .ogla-hero__inner {
        padding: 72px 0 78px;
    }

    .ogla-library {
        padding: 64px 0 80px;
    }

    .ogla-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ogla-card__body {
        padding: 25px 24px 28px;
    }

    .ogla-card__title {
        font-size: 25px;
    }

    body.category-lifecycle #et_top_search,
    body.opn-industries-hub #et_top_search,
    body.opn-use-cases-hub #et_top_search {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ogla-card,
    .ogla-card__image img {
        transition: none !important;
    }
}
