/* =========================================================
   06. Featured Trial Tasks
   ========================================================= */

.featured-trial-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left,
            rgba(13, 110, 253, 0.055),
            transparent 23%),
        linear-gradient(180deg,
            #ffffff 0%,
            #fbfdff 100%);
}

.featured-trial-section::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 40px;
    width: 135px;
    height: 115px;
    opacity: 0.24;
    pointer-events: none;
    background-image:
        radial-gradient(circle,
            #1c70e8 2px,
            transparent 2.6px);
    background-size: 20px 20px;
}

.featured-trial-section::after {
    content: "";
    position: absolute;
    top: -155px;
    right: -50px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(31, 108, 233, 0.07);
    pointer-events: none;
}

/* =========================================================
   Featured Trial Tasks Heading
   ========================================================= */

.featured-trial-head {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.featured-trial-kicker {
    color: #ff5a00;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.featured-trial-line {
    width: 48px;
    height: 1px;
    flex-shrink: 0;
    background: #ff5a00;
}

.featured-trial-head h2 {
    color: #071333;
    font-size: 44px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.featured-trial-head h2 span {
    color: #ff5a00;
}

.featured-trial-head p {
    color: #34405c;
    font-size: 18px;
    line-height: 1.55;
}

/* =========================================================
   Featured Trial Tasks Layout
   ========================================================= */

.featured-trial-layout {
    position: relative;
    z-index: 3;
}

.featured-trial-layout>.row {
    align-items: stretch;
}

/*
 * IMPORTANT:
 * Do not add h-100 to .featured-trial-small-list.
 *
 * The right side is two rows of cards.
 * Each card is approximately 235px tall.
 * 235 + 24px Bootstrap gutter + 235 = 494px.
 * This matches the 495px main featured card.
 */

.featured-trial-small-list {
    align-items: stretch;
}

.featured-trial-small-list>[class*="col-"] {
    display: flex;
    min-width: 0;
}

/* =========================================================
   Featured Main Card
   ========================================================= */

.featured-trial-main-card {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 495px;
    height: 100%;
    padding: 38px 34px;
    border: 1px solid #0b326a;
    border-radius: 17px;
    color: #ffffff;
    background:
        radial-gradient(circle at bottom right,
            rgba(19, 113, 255, 0.25),
            transparent 32%),
        linear-gradient(135deg,
            #020b25 0%,
            #05275b 62%,
            #041633 100%);
    box-shadow: 0 18px 40px rgba(5, 27, 68, 0.12);
}

.featured-trial-main-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 420px;
    height: 260px;
    opacity: 0.12;
    pointer-events: none;
    background:
        repeating-radial-gradient(ellipse at center,
            transparent 0 11px,
            #1687ff 12px 13px,
            transparent 14px 20px);
}

.featured-trial-main-content {
    position: relative;
    z-index: 5;
    max-width: 320px;
    min-width: 0;
}

.featured-trial-trending {
    padding: 8px 16px;
    border: 1px solid #ff5a00;
    border-radius: 30px;
    color: #ff6500;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.featured-trial-trending i {
    font-size: 14px;
}

.featured-trial-main-content h3 {
    color: #ffffff;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
}

.featured-trial-main-content>p {
    max-width: 300px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.55;
}

.featured-trial-main-tags span,
.featured-trial-main-tags a {
    padding: 8px 13px;
    border: 1px solid rgba(54, 127, 255, 0.24);
    border-radius: 7px;
    color: #ab8cff;
    background: rgba(74, 66, 190, 0.16);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
}

.featured-trial-main-tags span:nth-child(2),
.featured-trial-main-tags a:nth-child(2) {
    color: #27d8e7;
    border-color: rgba(19, 211, 222, 0.22);
    background: rgba(0, 172, 190, 0.1);
}

.featured-trial-main-tags a:hover {
    color: #ab8cff;
    text-decoration: none !important;
}

.featured-trial-main-tags a:nth-child(2):hover {
    color: #27d8e7;
}

.featured-trial-main-meta {
    gap: 26px;
}

.featured-trial-main-meta>span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.3;
}

.featured-trial-main-meta>span+span {
    padding-left: 26px;
    border-left: 1px solid rgba(189, 209, 236, 0.4);
}

.featured-trial-main-meta i {
    width: 30px;
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #a5b9da;
    border-radius: 50%;
    color: #c9daf4;
    font-size: 14px;
}

.featured-trial-main-btn {
    min-height: 54px;
    padding: 13px 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border-radius: 7px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff7200, #ff4d00);
    box-shadow: 0 12px 26px rgba(255, 90, 0, 0.22);
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
}

.featured-trial-main-btn:hover {
    color: #ffffff;
}

/* =========================================================
   Main Card Image
   ========================================================= */

.featured-trial-main-image {
    position: absolute;
    right: -20px;
    bottom: -5px;
    z-index: 3;
    width: 64%;
    max-width: 490px;
}

.featured-trial-main-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* =========================================================
   Small Trial Cards
   ========================================================= */

.featured-trial-card {
    --featured-color: #7c39df;
    --featured-soft: #f7f1ff;
    --featured-footer: #fbf8ff;

    width: 100%;
    min-width: 0;
    min-height: 235px;
    height: auto !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dde5f0;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 40, 80, 0.055);
}

.featured-trial-purple {
    --featured-color: #7c39df;
    --featured-soft: #f4ecff;
    --featured-footer: #faf6ff;
}

.featured-trial-green {
    --featured-color: #239a44;
    --featured-soft: #eef9ef;
    --featured-footer: #f5fbf4;
}

.featured-trial-blue {
    --featured-color: #176ee0;
    --featured-soft: #edf4ff;
    --featured-footer: #f5f9ff;
}

.featured-trial-orange {
    --featured-color: #ff6200;
    --featured-soft: #fff2e9;
    --featured-footer: #fff7f0;
}

.featured-trial-card-body {
    min-width: 0;
    padding: 30px 28px 22px;
    flex: 1 1 auto;
}

.featured-trial-card-top {
    min-width: 0;
}

.featured-trial-card-category-wrap {
    min-width: 0;
    flex: 1;
}

.featured-trial-card-icon {
    width: 68px;
    min-width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124, 57, 223, 0.16);
    border-radius: 50%;
    color: var(--featured-color);
    background: var(--featured-soft);
    font-size: 30px;
}

.featured-trial-card-icon i {
    color: var(--featured-color);
    line-height: 1;
}

.featured-trial-category {
    min-width: 0;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(124, 57, 223, 0.14);
    border-radius: 30px;
    color: var(--featured-color);
    background: var(--featured-soft);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
}

.featured-trial-green .featured-trial-card-icon,
.featured-trial-green .featured-trial-category,
.featured-trial-green .featured-trial-arrow {
    border-color: rgba(35, 154, 68, 0.15);
}

.featured-trial-blue .featured-trial-card-icon,
.featured-trial-blue .featured-trial-category,
.featured-trial-blue .featured-trial-arrow {
    border-color: rgba(23, 110, 224, 0.15);
}

.featured-trial-orange .featured-trial-card-icon,
.featured-trial-orange .featured-trial-category,
.featured-trial-orange .featured-trial-arrow {
    border-color: rgba(255, 98, 0, 0.15);
}

.featured-trial-arrow {
    width: 42px;
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124, 57, 223, 0.16);
    border-radius: 50%;
    color: var(--featured-color);
    background: var(--featured-soft);
    font-size: 15px;
    text-decoration: none;
}

.featured-trial-arrow:hover {
    color: var(--featured-color);
}

.featured-trial-card h3 {
    min-width: 0;
    color: #071333;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    overflow-wrap: break-word;
    word-break: normal;
}

.featured-trial-card-footer {
    width: 100%;
    min-height: 51px;
    margin-top: auto;
    padding: 11px 28px;
    flex-shrink: 0;
    border-top: 1px solid #e2e8f2;
    background: var(--featured-footer);
}

.featured-trial-deadline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #34405c;
    font-size: 13px;
    line-height: 1.3;
}

.featured-trial-deadline i {
    color: var(--featured-color);
}

.featured-trial-card-footer strong {
    flex-shrink: 0;
    color: var(--featured-color);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

/* =========================================================
   Bottom Results Strip
   ========================================================= */

.featured-trial-bottom {
    position: relative;
    z-index: 4;
    width: 100%;
    overflow: hidden;
    border: 1px solid #cfe0f8;
    border-radius: 18px;
    background:
        radial-gradient(circle at left,
            rgba(13, 110, 253, 0.045),
            transparent 25%),
        linear-gradient(180deg,
            #ffffff 0%,
            #f9fbff 100%);
    box-shadow: 0 12px 30px rgba(17, 40, 80, 0.04);
}

.featured-trial-bottom>.row {
    align-items: stretch;
}

/* =========================================================
   Bottom Intro
   ========================================================= */

.featured-trial-bottom-intro {
    min-height: 185px;
    padding: 28px;
    border-right: 1px solid #d6e0ed;
}

.featured-trial-bottom-badge {
    width: 62px;
    min-width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(145deg, #163972, #051a46);
    font-size: 25px;
}

.featured-trial-bottom-content {
    min-width: 0;
}

.featured-trial-bottom-content h3 {
    color: #071333;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
}

.featured-trial-bottom-content p {
    color: #34405c;
    font-size: 14px;
    line-height: 1.5;
}

.featured-trial-browse-btn {
    min-height: 45px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border: 1px solid #176ee0;
    border-radius: 6px;
    color: #0755bb;
    background: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.featured-trial-browse-btn:hover {
    color: #0755bb;
}

/* =========================================================
   Company Icons
   ========================================================= */

.featured-trial-companies {
    min-height: 185px;
    padding: 25px 28px;
    border-right: 1px solid #d6e0ed;
}

.featured-trial-company-icons {
    flex-wrap: nowrap;
}

.featured-company-circle,
.featured-company-more {
    width: 48px;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe6ef;
    border-radius: 50%;
    background: #ffffff;
    font-size: 23px;
}

.featured-company-google {
    color: #4285f4;
}

.featured-company-microsoft {
    color: #f25022;
}

.featured-company-notion {
    color: #111111;
}

.featured-company-slack {
    color: #36c5f0;
}

.featured-company-more {
    color: #71819e;
    background: #f0f4fa;
    font-size: 13px;
    font-weight: 800;
}

.featured-trial-companies p {
    color: #34405c;
    font-size: 13px;
    line-height: 1.4;
}

/* =========================================================
   Bottom Statistics
   ========================================================= */

.featured-trial-stat {
    min-height: 185px;
    padding: 28px 15px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #d6e0ed;
}

.featured-trial-bottom .col-sm-4:last-child .featured-trial-stat {
    border-right: 0;
}

.featured-trial-stat>i {
    margin-bottom: 10px;
    display: block;
    font-size: 34px;
    line-height: 1;
}

.featured-stat-blue {
    color: #126ee7;
}

.featured-stat-green {
    color: #1eaa83;
}

.featured-stat-orange {
    color: #e96900;
}

.featured-trial-stat strong {
    display: block;
    margin-bottom: 4px;
    color: #071333;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
}

.featured-trial-stat span {
    display: block;
    color: #34405c;
    font-size: 13px;
    line-height: 1.35;
}

/* =========================================================
   Featured Trial Tasks Responsive
   ========================================================= */

@media (max-width: 1399px) {

    .featured-trial-kicker {
        font-size: 14px;
    }

    .featured-trial-head h2 {
        font-size: 32px;
    }

    .featured-trial-head p {
        font-size: 15px;
    }

    .featured-trial-main-card {
        min-height: 450px;
        padding: 30px 28px;
    }

    .featured-trial-main-content h3 {
        font-size: 22px;
    }

    .featured-trial-main-content>p {
        font-size: 14px;
    }

    .featured-trial-main-btn {
        font-size: 14px;
    }

    .featured-trial-main-image {
        width: 61%;
    }

    .featured-trial-card {
        min-height: 213px;
    }

    .featured-trial-card-body {
        padding: 24px 20px 19px;
    }

    .featured-trial-card-icon {
        width: 56px;
        min-width: 56px;
        height: 56px;
        font-size: 25px;
    }

    .featured-trial-category {
        padding: 6px 10px;
        font-size: 11px;
    }

    .featured-trial-arrow {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }

    .featured-trial-card h3 {
        font-size: 17px;
    }

    .featured-trial-card-footer {
        padding-right: 20px;
        padding-left: 20px;
    }

    .featured-trial-bottom-content h3 {
        font-size: 14px;
    }

    .featured-trial-bottom-content p {
        font-size: 12px;
    }

    .featured-trial-stat strong {
        font-size: 25px;
    }

    .featured-trial-stat span {
        font-size: 12px;
    }
}

/* =========================================================
   Below 1200px
   ========================================================= */

@media (max-width: 1199px) {

    .featured-trial-main-card {
        min-height: 470px;
    }

    .featured-trial-main-content {
        max-width: 390px;
    }

    .featured-trial-main-image {
        width: 55%;
    }

    .featured-trial-small-list {
        margin-top: 0;
    }

    .featured-trial-card {
        min-height: 225px;
    }

    .featured-trial-bottom-intro,
    .featured-trial-companies {
        border-right: 0;
        border-bottom: 1px solid #d6e0ed;
    }

    .featured-trial-companies {
        min-height: 150px;
        align-items: center;
        text-align: center;
    }

    .featured-trial-company-icons {
        justify-content: center;
    }
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {

    .featured-trial-main-card {
        min-height: 430px;
    }

    .featured-trial-main-image {
        width: 53%;
    }

    .featured-trial-card-category-wrap {
        gap: 10px !important;
    }

    .featured-trial-category {
        white-space: normal;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    .featured-trial-kicker {
        gap: 10px !important;
        font-size: 12px;
    }

    .featured-trial-line {
        width: 34px;
    }

    .featured-trial-head h2 {
        font-size: 22px;
    }

    .featured-trial-head p {
        font-size: 16px;
    }

    .featured-trial-main-card {
        min-height: 0;
        height: auto;
        padding: 26px 20px;
    }

    .featured-trial-main-content {
        max-width: 100%;
    }

    .featured-trial-main-content h3 {
        font-size: 18px;
    }

    .featured-trial-main-content>p {
        max-width: 100%;
        font-size: 14px;
    }

    .featured-trial-main-image {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 480px;
        margin: 25px auto -15px;
    }

    .featured-trial-main-btn {
        width: 100%;
        min-width: 0;
        padding: 13px 16px;
        font-size: 14px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .featured-trial-card {
        min-height: 215px;
    }

    .featured-trial-card h3 {
        font-size: 18px;
    }

    .featured-trial-card-footer strong {
        font-size: 15px;
    }

    .featured-trial-bottom-intro {
        padding: 22px 18px;
    }

    .featured-trial-companies {
        min-height: 150px;
        padding: 22px 18px;
    }

    .featured-trial-stat {
        min-height: 160px;
    }

    .featured-trial-browse-btn {
        font-size: 14px;
    }
}

/* =========================================================
   Small Mobile
   ========================================================= */

@media (max-width: 575.98px) {

    .featured-trial-kicker .featured-trial-line:last-child {
        display: none;
    }

    .featured-trial-main-meta {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 10px;
    }

    .featured-trial-main-meta>span+span {
        padding-left: 0;
        border-left: 0;
    }

    .featured-trial-card {
        min-height: 0;
    }

    .featured-trial-card-top {
        align-items: flex-start !important;
    }

    .featured-trial-card-category-wrap {
        min-width: 0;
    }

    .featured-trial-category {
        white-space: normal;
        overflow-wrap: break-word;
    }

    .featured-trial-bottom-intro {
        flex-direction: column;
    }

    .featured-trial-company-icons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .featured-trial-stat {
        min-height: 140px;
        border-right: 0;
        border-bottom: 1px solid #d6e0ed;
    }

    .featured-trial-bottom .col-sm-4:last-child .featured-trial-stat {
        border-bottom: 0;
    }

    .featured-trial-stat strong {
        font-size: 24px;
    }
}