:root {
    --drice-radius: 10px;
}

.drice-header-compact {
    width: 100%;
    box-sizing: border-box;
}

.hero-section-three {
    position: relative;
    isolation: isolate;
}

.about-section-three {
    position: relative;
    isolation: isolate;
}

.about-section-three::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgb(255 255 255 / 82%);
    content: '';
}

.about-section-three > .auto-container {
    position: relative;
    z-index: 1;
}

.hero-section-three::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgb(0 0 0 / 72%) 0%,
        rgb(0 0 0 / 54%) 42%,
        rgb(0 0 0 / 20%) 78%,
        rgb(0 0 0 / 10%) 100%
    );
    content: '';
}

.hero-section-three .auto-container {
    position: relative;
    z-index: 1;
}

.about-section-three .about-counter-box {
    border-radius: var(--drice-radius);
    isolation: isolate;
}

.about-section-three .about-counter-box::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: rgb(0 0 0 / 48%);
    content: '';
}

.about-section-three .about-counter-box > * {
    position: relative;
    z-index: 1;
}

.about-section-three .about-thumb {
    margin-left: auto;
}

.about-section-three .about-thumb figure {
    width: 88.5%;
    aspect-ratio: 0.786;
    margin-left: auto;
    border-radius: var(--drice-radius);
    overflow: hidden;
}

.about-section-three .about-thumb figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-section-three .about-btn a {
    border-radius: var(--drice-radius);
}

.about-section-three .about-btn a::before {
    border-radius: var(--drice-radius);
}

.drice-grant-section {
    background-image: none !important;
    background-color: #fff;
    padding-top: 95px;
    padding-bottom: 100px;
}

.drice-grant-section::before {
    display: none;
}

.drice-grant-section-alt {
    background-color: #f7f8fa;
}

.drice-grant-section .auto-container {
    max-width: 1220px;
    margin: 0 auto;
}

.drice-grant-heading {
    margin-bottom: 28px;
    text-align: center;
}

.drice-grant-heading .section-title {
    margin: 0 auto;
}

.drice-grant-heading .section-title h1 {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.drice-grant-intro {
    max-width: 1120px;
    margin: 0 auto;
}

.drice-grant-intro > .col-xl-12 {
    margin-bottom: 18px;
}

.drice-grant-intro > .col-xl-12 .about-desc p {
    max-width: 850px;
    margin: 0 auto;
    color: var(--text-color);
    font-size: 21px;
    line-height: 32px;
    text-align: center;
}

.drice-grant-meta-item {
    border-top: 1px solid rgb(6 15 45 / 18%);
    border-bottom: 1px solid rgb(6 15 45 / 18%);
    padding: 18px 22px 12px 0;
    margin-bottom: 58px;
}

.drice-grant-meta-item .about-title h4 {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.drice-grant-meta-item .about-desc p {
    color: var(--title-color);
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 0;
}

.drice-grant-copy {
    padding-right: 55px;
}

.drice-grant-copy + .drice-grant-copy {
    border-left: 1px solid rgb(6 15 45 / 14%);
    padding-left: 55px;
}

.drice-grant-copy .about-title h4 {
    color: var(--title-color);
    font-size: 27px;
    font-weight: 600;
    line-height: 35px;
    margin-bottom: 17px;
}

.drice-grant-copy .about-desc p {
    color: var(--text-color);
    font-size: 17px;
    line-height: 29px;
}

.drice-grant-copy .blog-details-list {
    margin: 0;
}

.drice-grant-copy .blog-details-list li {
    color: var(--text-color);
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 14px;
}

.drice-grant-copy .blog-details-list li::before {
    color: var(--primary-color);
    content: '—';
    font-weight: 700;
    margin-right: 9px;
}

.drice-theme-list {
    columns: 2;
    column-gap: 35px;
    margin-top: 26px !important;
}

.drice-theme-list li {
    break-inside: avoid;
}

@media only screen and (max-width: 991px) {
    .about-section-three .about-thumb figure {
        width: 100%;
        aspect-ratio: auto;
    }

    .about-section-three .about-thumb figure img {
        height: auto;
    }

    .drice-grant-copy,
    .drice-grant-copy + .drice-grant-copy {
        border-left: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .drice-grant-copy + .drice-grant-copy {
        margin-top: 35px;
    }
}

@media only screen and (max-width: 575px) {
    .drice-theme-list {
        columns: 1;
    }

    .drice-grant-intro > .col-xl-12 .about-desc p {
        font-size: 18px;
        line-height: 28px;
    }
}

.drice-hero-kicker {
    margin: 0 0 14px;
    color: #00B5E8;
    font-size: 50px;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgb(0 0 0 / 45%);
}

.drice-typing-text.is-typing::after {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    margin-left: 5px;
    vertical-align: -0.08em;
    background: currentColor;
    content: '';
    animation: drice-typing-cursor 0.8s steps(1) infinite;
}

@keyframes drice-typing-cursor {
    50% {
        opacity: 0;
    }
}

.hero-section-three .drice-hero-title {
    max-width: 760px;
    margin: 0;
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 3px 10px rgb(0 0 0 / 50%);
}

.drice-hero-path {
    margin: 24px 0 0;
    color: #FFFFFF;
    font-size: 20px;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgb(0 0 0 / 45%);
}

.drice-hero-path span {
    margin: 0 8px;
    color: #00B5E8;
}

.hero-section-three .drice-hero-title + .drice-hero-path + .hero-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-section-three .hero-btn a + a {
    background: transparent;
    border: 1px solid rgb(255 255 255 / 60%);
}

.hero-section-three .hero-btn a {
    border-radius: var(--drice-radius);
}

.hero-section-three .hero-btn a::before {
    border-radius: var(--drice-radius);
}

.hero-section-three .hero-btn a i {
    border-radius: var(--drice-radius);
}

@media only screen and (min-width: 992px) {
    .hero-section-three .col-xl-8 {
        width: 75%;
    }

    .hero-section-three .hero_content {
        padding-top: 100px;
    }

    .neurox-header-area.two.three.drice-header-compact {
        width: 100%;
        margin: 0;
        padding: 0 24px;
        border-radius: var(--drice-radius);
        overflow: hidden;
    }

    .neurox-header-area.drice-header-compact.sticky {
        border-radius: var(--drice-radius);
    }

    .drice-header-compact .container-fluid {
        width: 100%;
        padding: 0;
    }

    .drice-header-compact .header-wrap {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        margin: 0;
    }

    .drice-header-compact .header-wrap > [class*="col-"] {
        float: none;
        padding-right: 15px;
        padding-left: 15px;
    }

    .drice-header-compact .header-wrap > .col-lg-2 {
        flex: 0 0 18%;
        width: 18%;
    }

    .drice-header-compact .header-wrap > .col-lg-6 {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .drice-header-compact .header-wrap > .col-lg-4 {
        flex: 0 0 18%;
        width: 18%;
    }

    .drice-header-compact .header-logo img {
        display: block;
        max-width: 145px;
        height: auto;
    }

    .drice-header-compact .header-menu {
        width: 100%;
    }

    .drice-header-compact .header-menu ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
        margin: 0;
        padding: 0;
        white-space: nowrap;
    }

    .drice-header-compact .header-menu ul li {
        flex: 0 0 auto;
    }

    .drice-header-compact .header-menu ul li a {
        padding: 24px 7px;
        font-size: 15px;
        line-height: 24px;
        white-space: nowrap;
    }

    .drice-header-compact .header-sidebar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 18px;
        white-space: nowrap;
    }

    .drice-header-compact .header-btn a {
        white-space: nowrap;
    }
}

@media only screen and (max-width: 991px) {
    .hero-section-three .drice-hero-title {
        font-size: 29px;
    }

    .drice-hero-kicker {
        font-size: 26px;
        line-height: 1.25;
    }

    .drice-hero-path {
        font-size: 17px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .neurox-header-area.drice-header-compact {
        padding: 0 12px;
    }

    .drice-header-compact .header-wrap > .col-lg-2 {
        flex-basis: 16%;
        width: 16%;
    }

    .drice-header-compact .header-wrap > .col-lg-4 {
        flex-basis: 16%;
        width: 16%;
    }

    .drice-header-compact .header-menu ul li a {
        padding-right: 4px;
        padding-left: 4px;
        font-size: 14px;
    }
}
