

/* =========================================================
   03. Drupal Trial Task Banner
   ========================================================= */

.trial-task-banner-section {
    background: #ffffff;
}

.trial-task-banner-shell {
    padding: 28px 48px 24px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 82% 7%,
            rgba(109, 27, 255, 0.55),
            transparent 25%),
        radial-gradient(circle at 98% 25%,
            rgba(0, 214, 255, 0.58),
            transparent 27%),
        radial-gradient(circle at 38% 38%,
            rgba(64, 42, 222, 0.3),
            transparent 28%),
        linear-gradient(135deg,
            #020b2c 0%,
            #061c52 48%,
            #03467a 100%);
    box-shadow: 0 22px 60px rgba(2, 20, 58, 0.18);
}

/* =========================================================
   Brand
   ========================================================= */

.trial-task-brand {
    display: block;
}

.trial-task-brand-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 65px;
    object-fit: contain;
}

.trial-task-brand-mark strong {
    display: block;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.24em;
}

.trial-task-brand-mark small {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 0.42em;
}

.trial-task-brand-icon {
    position: relative;
    width: 32px;
    height: 36px;
}

.trial-task-brand-icon span {
    position: absolute;
    display: block;
    background: #ff6500;
}

.trial-task-brand-icon span:nth-child(1) {
    top: 0;
    left: 0;
    width: 6px;
    height: 36px;
}

.trial-task-brand-icon span:nth-child(2) {
    top: 14px;
    left: 0;
    width: 28px;
    height: 6px;
}

.trial-task-brand-icon span:nth-child(3) {
    right: 0;
    bottom: 0;
    width: 6px;
    height: 22px;
}

/* =========================================================
   Left Banner Content
   ========================================================= */

.trial-task-banner-content {
    max-width: 600px;
}

.trial-task-banner-badge {
    color: #ff6500;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.trial-task-banner-title {
    color: #ffffff;
    font-size: 55px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.trial-task-banner-description {
    max-width: 580px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.55;
}

/* Drupal formatted field adds inner p tag. */
.trial-task-banner-description p,
.trial-task-banner-description div,
.trial-task-banner-description span {
    color: #ffffff !important;
}

.trial-task-banner-description p {
    margin-bottom: 0;
    font-size: inherit;
    line-height: inherit;
}

/* =========================================================
   Banner Buttons
   ========================================================= */

.trial-task-banner-actions {
    align-items: stretch;
}

.trial-task-primary-btn,
.trial-task-secondary-btn {
    min-height: 54px;
    padding: 13px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 9px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.trial-task-primary-btn {
    color: #ffffff;
    border: 1px solid #ff6800;
    background: linear-gradient(135deg, #ff7a00, #ff4d00);
    box-shadow: 0 12px 28px rgba(255, 90, 0, 0.25);
}

.trial-task-secondary-btn {
    color: #ffffff;
    border: 1px solid #d3e0f6;
    background: rgba(3, 19, 57, 0.48);
}

.trial-task-primary-btn:hover,
.trial-task-secondary-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.trial-task-secondary-btn:hover {
    border-color: #4b9aff;
}

/* =========================================================
   Left Benefits
   ========================================================= */

.trial-task-benefits {
    max-width: 520px;
}

.trial-task-benefit {
    min-height: 92px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(151, 178, 221, 0.2);
}

.trial-task-benefit:last-child {
    border-bottom: 0;
}

.trial-task-benefit-icon {
    width: 62px;
    min-width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.trial-task-benefit-blue {
    border: 1px solid #186ce1;
    background: linear-gradient(145deg, #075bd0, #092b72);
}

.trial-task-benefit-teal {
    border: 1px solid #17a8bd;
    background: linear-gradient(145deg, #0e9cb2, #06445c);
}

.trial-task-benefit-purple {
    border: 1px solid #7d53de;
    background: linear-gradient(145deg, #7547ce, #33206d);
}

.trial-task-benefit-content {
    min-width: 0;
}

.trial-task-benefit-content h2 {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
}

.trial-task-benefit-content p,
.trial-task-benefit-description,
.trial-task-benefit-description p {
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1.45;
}

.trial-task-benefit-description p {
    margin-bottom: 0;
}

/* =========================================================
   Banner Image
   ========================================================= */

.trial-task-banner-image {
    width: 100%;
}

.trial-task-banner-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: contain;
}

/* =========================================================
   Trial Dashboard
   ========================================================= */

.trial-task-dashboard-wrap {
    padding-top: 42px;
}

.trial-task-dashboard-badge {
    position: absolute;
    top: 0;
    right: 22px;
    z-index: 6;
    min-height: 48px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff9510, #ff6b00);
    box-shadow: 0 12px 26px rgba(255, 102, 0, 0.28);
    font-size: 15px;
    font-weight: 800;
}

.trial-task-dashboard {
    overflow: hidden;
    border-radius: 18px;
}

/* =========================================================
   Sidebar
   ========================================================= */

.trial-task-sidebar {
    width: 82px;
    padding: 17px 12px;
    border-radius: 17px 0 0 17px;
    background: linear-gradient(180deg, #082b62 0%, #031c42 100%);
}

.trial-task-sidebar-logo {
    width: 54px;
    height: 54px;
    margin: 0 auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(145deg, #1e8cff, #0757d7);
    font-size: 34px;
}

.trial-task-sidebar-icons {
    gap: 25px;
    color: #a8b8d1;
    font-size: 18px;
}

/* =========================================================
   Dashboard Main Panel
   ========================================================= */

.trial-task-dashboard-main {
    flex: 1;
    min-width: 0;
    padding: 18px;
    border-radius: 0 18px 18px 0;
    background: #ffffff;
}

.trial-task-dashboard-title {
    color: #071333;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.trial-task-project-card {
    padding: 16px 18px;
    border: 1px solid #d0d9e8;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(12, 35, 74, 0.06);
}

.trial-task-project-main {
    min-width: 0;
}

.trial-task-project-icon {
    width: 58px;
    min-width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #1168de;
    background: #edf4ff;
    font-size: 39px;
}

.trial-task-project-main h3 {
    color: #071333;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.trial-task-divider {
    width: 100%;
    height: 1px;
    background: #dce3ee;
}

/* =========================================================
   Progress
   ========================================================= */

.trial-task-progress-block {
    color: #071333;
    font-size: 12px;
}

.trial-task-progress {
    position: relative;
    height: 10px;
    overflow: hidden;
    border-radius: 10px;
    background: #e1e5ec;
}

.trial-task-progress span {
    display: block;
    width: 35%;
    height: 100%;
    border-radius: inherit;
    background: #0867db;
}

.trial-task-criteria h4 {
    color: #071333;
    font-size: 12px;
    font-weight: 800;
}

.trial-task-criteria li {
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #26345d;
    font-size: 11px;
}

.trial-task-criteria li i {
    color: #0bb28b;
    font-size: 14px;
}

.trial-task-criteria .trial-task-criteria-pending i {
    color: #bdc8da;
}

/* =========================================================
   Project Metadata
   ========================================================= */

.trial-task-project-meta {
    padding-left: 18px;
    border-left: 1px solid #dce3ed;
}

.trial-task-meta-item {
    min-height: 72px;
    padding: 8px 0;
    border-bottom: 1px solid #dde4ed;
}

.trial-task-meta-item:last-child {
    border-bottom: 0;
}

.trial-task-meta-item>i {
    width: 28px;
    color: #173e7e;
    font-size: 22px;
    text-align: center;
}

.trial-task-meta-item span,
.trial-task-meta-item strong {
    display: block;
}

.trial-task-meta-item span {
    color: #34405c;
    font-size: 12px;
}

.trial-task-meta-item strong {
    margin-top: 4px;
    color: #071333;
    font-size: 14px;
}

.trial-task-meta-status>i,
.trial-task-meta-status strong {
    color: #03a77f;
}

/* =========================================================
   Score Cards
   ========================================================= */

.trial-task-score-card {
    min-height: 115px;
    padding: 14px 13px;
    border: 1px solid #d4dfed;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 9px 22px rgba(17, 40, 80, 0.08);
}

.trial-task-score-icon {
    width: 37px;
    min-width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 19px;
}

.trial-score-blue {
    color: #146bd8;
    background: #eaf2ff;
}

.trial-score-purple {
    color: #8a42d6;
    background: #f3eafe;
}

.trial-score-teal {
    color: #0b96a2;
    background: #e7f7f7;
}

.trial-task-score-card h3 {
    color: #071333;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
}

.trial-task-stars {
    display: flex;
    gap: 4px;
    font-size: 13px;
}

.trial-task-stars-blue {
    color: #176bd9;
}

.trial-task-stars-purple {
    color: #933dd6;
}

.trial-task-stars-teal {
    color: #0c9ca5;
}

.trial-task-score-progress {
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: #e6eaf0;
}

.trial-task-score-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
}

/* =========================================================
   Trial Options
   FIXED ALIGNMENT VERSION
   ========================================================= */

.trial-task-options {
    padding: 8px;
    border-radius: 12px;
    background: rgba(5, 37, 79, 0.85);
}

/* Make every Bootstrap column stretch equally. */
.trial-task-options>.row {
    align-items: stretch;
}

.trial-task-options>.row>[class*="col-"] {
    display: flex;
}

/* Entire card */
.trial-task-option {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 165px;
    padding: 16px;
    border: 1px solid #d5dfed;
    border-radius: 9px;
    background: #ffffff;
}

/*
 * IMPORTANT:
 * Give icon/title section same height on all cards.
 */
.trial-task-option>.d-flex {
    width: 100%;
    min-height: 52px;
    align-items: center !important;
    margin-bottom: 12px !important;
}

/* Icon */
.trial-task-option-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    color: #ffffff;
    font-size: 21px;
    line-height: 1;
}

.trial-task-option-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.trial-option-blue {
    background: #1266d5;
}

.trial-option-orange {
    background: #e96707;
}

.trial-option-teal {
    background: #14929d;
}

.trial-option-purple {
    background: #7041c4;
}

/* Title */
.trial-task-option h3 {
    display: flex;
    align-items: center;
    min-height: 40px;
    margin: 0 !important;
    color: #071333;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 900;
}

/*
 * Description begins at the exact same vertical position
 * on every card.
 */
.trial-task-option-description {
    flex: 1 1 auto;
    width: 100%;
}

.trial-task-option-description,
.trial-task-option-description p {
    color: #26345d !important;
}

.trial-task-option-description p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

/* Support original static HTML as well. */
.trial-task-option>p {
    margin: 0;
    color: #26345d;
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================================
   Trial Process
   ========================================================= */

.trial-task-process {
    overflow: hidden;
    border: 1px solid rgba(103, 160, 225, 0.48);
    border-radius: 14px;
    background: rgba(6, 44, 94, 0.58);
}

.trial-task-process-item {
    position: relative;
    min-height: 125px;
    padding: 20px 24px;
    border-right: 1px solid rgba(137, 174, 219, 0.35);
}

.trial-task-process .col-xl:last-child .trial-task-process-item {
    border-right: 0;
}

.trial-task-process-number {
    width: 38px;
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

.trial-process-blue {
    background: #1573e6;
}

.trial-process-purple {
    background: #6744ca;
}

.trial-process-teal {
    background: #0f98a3;
}

.trial-process-orange {
    background: #fb7000;
}

.trial-process-green {
    background: #1cba79;
}

.trial-task-process-item>.d-flex>i {
    margin-top: 5px;
    color: #ffffff;
    font-size: 30px;
}

.trial-task-process-item h3 {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 900;
}

.trial-task-process-item p,
.trial-task-process-description,
.trial-task-process-description p {
    color: #ffffff !important;
    font-size: 13px;
    line-height: 1.45;
}

.trial-task-process-description p {
    margin-bottom: 0;
}

/* =========================================================
   Footer Feature Row
   ========================================================= */

.trial-task-footer-features {
    overflow: hidden;
    border: 1px solid rgba(93, 151, 220, 0.45);
    border-radius: 14px;
    background: rgba(4, 37, 81, 0.58);
}

.trial-task-footer-feature {
    min-height: 100px;
    padding: 18px 26px;
    border-right: 1px solid rgba(137, 174, 219, 0.3);
}

.trial-task-footer-features .col-xl-3:last-child .trial-task-footer-feature {
    border-right: 0;
}

.trial-task-footer-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #ffffff;
    font-size: 24px;
}

.trial-footer-blue {
    background: #126de5;
}

.trial-footer-teal {
    background: #08798c;
}

.trial-footer-purple {
    background: #6928bc;
}

.trial-footer-orange {
    border-radius: 50%;
    background: #f76700;
}

.trial-task-footer-feature h3 {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 900;
}

.trial-task-footer-feature p,
.trial-task-footer-description,
.trial-task-footer-description p {
    color: #ffffff !important;
    font-size: 13px;
    line-height: 1.45;
}

.trial-task-footer-description p {
    margin-bottom: 0;
}

/* =========================================================
   Drupal Trial Task Banner Responsive
   ========================================================= */

@media (max-width: 1399px) {
    .trial-task-banner-shell {
        padding: 26px 30px 22px;
    }

    .trial-task-banner-badge {
        font-size: 14px;
    }

    .trial-task-banner-title {
        font-size: 40px;
    }

    .trial-task-banner-description,
    .trial-task-banner-description p {
        font-size: 15px;
    }

    .trial-task-primary-btn,
    .trial-task-secondary-btn {
        min-height: 50px;
        padding: 12px 18px;
        font-size: 14px;
    }

    .trial-task-benefit-content h2 {
        font-size: 16px;
    }

    .trial-task-benefit-content p,
    .trial-task-benefit-description p {
        font-size: 14px;
    }

    .trial-task-dashboard-main {
        padding: 14px;
    }

    .trial-task-project-main h3 {
        font-size: 17px;
    }

    .trial-task-score-card h3 {
        font-size: 11px;
    }

    /* Option alignment */
    .trial-task-option {
        min-height: 155px;
    }

    .trial-task-option h3 {
        font-size: 14px;
    }

    .trial-task-option-description p,
    .trial-task-option>p {
        font-size: 12px;
    }

    .trial-task-process-item {
        padding: 18px 14px;
    }

    .trial-task-footer-feature {
        padding: 16px 18px;
    }
}

@media (max-width: 1199px) {
    .trial-task-banner-content {
        max-width: 900px;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .trial-task-banner-description,
    .trial-task-benefits {
        margin-right: auto;
        margin-left: auto;
    }

    .trial-task-banner-actions {
        justify-content: center;
    }

    .trial-task-benefit {
        text-align: left;
    }

    .trial-task-dashboard-wrap {
        max-width: 950px;
        margin-right: auto;
        margin-left: auto;
    }

    .trial-task-process-item {
        border-right: 1px solid rgba(137, 174, 219, 0.35);
        border-bottom: 1px solid rgba(137, 174, 219, 0.35);
    }

    .trial-task-process .col-md-6:nth-child(2n) .trial-task-process-item {
        border-right: 0;
    }

    .trial-task-footer-feature {
        border-right: 1px solid rgba(137, 174, 219, 0.3);
        border-bottom: 1px solid rgba(137, 174, 219, 0.3);
    }

    .trial-task-footer-features .col-md-6:nth-child(2n) .trial-task-footer-feature {
        border-right: 0;
    }

    .trial-task-footer-features .col-md-6:nth-last-child(-n + 2) .trial-task-footer-feature {
        border-bottom: 0;
    }
}

@media (max-width: 991px) {
    .trial-task-dashboard {
        overflow: visible;
    }

    .trial-task-sidebar {
        display: none;
    }

    .trial-task-dashboard-main {
        border-radius: 18px;
    }

    .trial-task-project-meta {
        padding-top: 16px;
        padding-left: 0;
        border-top: 1px solid #dce3ed;
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .trial-task-banner-shell {
        padding: 22px 16px;
    }

    .trial-task-brand-mark {
        justify-content: center;
    }

    .trial-task-banner-badge {
        font-size: 12px;
    }

    .trial-task-banner-title {
        font-size: 32px;
    }

    .trial-task-banner-description,
    .trial-task-banner-description p {
        font-size: 15px;
    }

    .trial-task-banner-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .trial-task-primary-btn,
    .trial-task-secondary-btn {
        width: 100%;
        min-width: 0;
        font-size: 15px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .trial-task-benefit {
        align-items: flex-start !important;
    }

    .trial-task-benefit-icon {
        width: 54px;
        min-width: 54px;
        height: 54px;
        font-size: 23px;
    }

    .trial-task-dashboard-wrap {
        padding-top: 56px;
    }

    .trial-task-dashboard-badge {
        right: 50%;
        width: max-content;
        max-width: calc(100% - 20px);
        transform: translateX(50%);
        text-align: center;
    }

    .trial-task-project-card {
        padding: 14px;
    }

    .trial-task-score-card {
        min-height: 110px;
    }

    /* =======================================================
     Mobile Trial Options
     ======================================================= */

    .trial-task-option {
        min-height: 0;
        padding: 15px;
    }

    .trial-task-option>.d-flex {
        min-height: 46px;
    }

    .trial-task-option-icon {
        width: 42px;
        min-width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .trial-task-option h3 {
        min-height: 0;
        font-size: 14px;
    }

    .trial-task-option-description p,
    .trial-task-option>p {
        font-size: 13px;
    }

    .trial-task-process-item {
        min-height: 0;
    }

    .trial-task-footer-feature {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .trial-task-banner-title {
        font-size: 29px;
    }

    .trial-task-brand {
        display: none;
    }

    .trial-task-benefit {
        flex-direction: column;
    }

    .trial-task-dashboard-badge {
        font-size: 13px;
    }

    .trial-task-project-main h3 br {
        display: none;
    }

    /*
   * Option cards become single-column naturally.
   * Keep icon/title consistently aligned.
   */
    .trial-task-option>.d-flex {
        align-items: center !important;
    }

    .trial-task-option h3 {
        display: block;
    }

    .trial-task-process .col-md-6,
    .trial-task-footer-features .col-md-6 {
        width: 100%;
    }

    .trial-task-process-item,
    .trial-task-footer-feature {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(137, 174, 219, 0.3) !important;
    }

    .trial-task-process .col-md-6:last-child .trial-task-process-item,
    .trial-task-footer-features .col-md-6:last-child .trial-task-footer-feature {
        border-bottom: 0 !important;
    }
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}
