/*
 * Feature Page — desktop full stylesheet (ticket #15685).
 * Above-the-fold rules for .feature-page__hero, .feature-page__hero-title,
 * .feature-page__hero-cta, .feature-page__intro live in
 * includes/critical-css/feature_page_critical.php and MUST NOT be duplicated here.
 */

/* ============================================================
   Layout container
   ============================================================ */
.feature-page {
    color: #333333;
    font-family: "Open Sans", sans-serif;
    container-type: inline-size;
}

.feature-page section:not(.feature-page__hero):not(.feature-page__intro):not(.feature-page__video):not(.feature-page__key-features):not(.feature-page__content-blocks) {
    padding: 64px 40px;
}

/* ============================================================
   Video section
   ============================================================ */
.feature-page section.feature-page__video {
    padding: 70px 16px;
}

.feature-page__video-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-page__video-item .vimeo-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #000000;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.feature-page__video-caption {
    margin-top: 12px;
    font-size: 14px;
    color: #6a6a6a;
    text-align: center;
}

/* ============================================================
   Key Features
   ============================================================ */
.feature-page section.feature-page__key-features {
    background-color: #86a0ae;
    text-align: center;
    padding: 70px 16px;
}

.feature-page__key-features-inner {
    max-width: 1340px;
    margin: 0 auto;
}

.feature-page__key-features-title {
    font-family: "Rubik", sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 1.1944;
    margin: 0 0 30px;
    color: #ffffff;
}

.feature-page section.feature-page__key-features .feature-page__key-features-subtitle {
    font-family: "Open Sans", sans-serif;
    font-weight: 400 !important;
    font-size: 20px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
}

.feature-page__key-features-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    align-items: start;
    text-align: left;
    margin-top: 40px;
}

.feature-page__key-features-item {
    display: flex;
    flex: 0 1 413px;
    width: 100%;
    max-width: 413px;
    min-height: 269px;
    padding: 30px 16px 40px;
    box-sizing: border-box;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    overflow: hidden;
}

.feature-page__key-features-icon img {
    width: 48px;
    height: 48px;
    display: block;
}

.feature-page__key-features-item-title {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
    color: #32b4a6;
}

.feature-page__key-features-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    gap: 24px;
}

.feature-page__key-features-item-desc {
    font-size: 16px;
    line-height: 1.5;
    color: #292929;
}

.feature-page__key-features-cta {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-page__key-features-cta .action {
    display: inline-block;
    min-height: 56px;
    padding: 20px 50px;
    box-sizing: border-box;
    background-color: #f34023;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 60px;
    font-family: "Rubik", sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
}

/* ============================================================
   Testimonials
   ============================================================ */
.feature-page section.feature-page__testimonials {
    background-color: #f8f8f8;
    text-align: center;
    padding: 70px 16px;
}

.feature-page__block-quote {
    max-width: 430px;
    margin: 0 auto;
    padding: 32px;
    box-sizing: border-box;
    background-color: #32b4a6;
    border-radius: 10px;
    color: #ffffff;
}

.feature-page__block-quote-text {
    position: relative;
    z-index: 1;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    color: #ffffff;
    font-style: normal;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-page__block-quote-text::before {
    content: "“";
    display: block;
    height: 49px;
    color: #b8e5e3;
    font-family: Georgia, serif;
    font-size: 96px;
    font-weight: 700;
    line-height: 0.8;
    opacity: 0.3;
}

.feature-page__block-quote-attribution {
    font-size: 15px;
    color: #ffffff;
    font-style: normal;
}

.feature-page__block-quote-name {
    display: block;
    font-weight: 600;
    color: #ffffff;
}

.feature-page__testimonials-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 430px));
    gap: 24px;
    max-width: 1334px;
    margin: 0 auto;
    text-align: left;
    align-items: start;
}

.feature-page__testimonial {
    min-height: 0;
    height: auto;
    padding: 32px;
    box-sizing: border-box;
    background-color: #32b4a6;
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
}

.feature-page__testimonial-avatar img {
    object-fit: cover;
    margin-bottom: 12px;
}

.feature-page__testimonial-quote {
    font-size: 18px;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 12px;
    font-style: italic;
}

.feature-page__testimonial-name {
    font-family: "Rubik", sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: #ffffff;
}

/* ============================================================
   Content Blocks
   ============================================================ */
.feature-page section.feature-page__content-blocks {
    background-color: #ffffff;
    padding: 0;
}

.feature-page section.feature-page__content-blocks > .feature-page__content-block:nth-child(odd) {
    background-color: #efeff4;
}

.feature-page__content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    --feature-page-testimonial-edge: max(20px, calc((100cqw - 1334px) / 2));
}

.feature-page__content-block > .feature-page__content-block-text,
.feature-page__content-block > .feature-page__content-block-media,
.feature-page__content-block-text > *,
.feature-page__content-block-media > * {
    min-width: 0;
    max-width: 100%;
}

.feature-page__content-block--image-left-text-right .feature-page__content-block-media {
    order: 1;
}
.feature-page__content-block--image-left-text-right .feature-page__content-block-text {
    order: 2;
}
.feature-page__content-block--text-left-image-right .feature-page__content-block-text {
    order: 1;
}
.feature-page__content-block--text-left-image-right .feature-page__content-block-media {
    order: 2;
}

.feature-page__content-block:not(.feature-page__content-block--text-video):not(.feature-page__content-block--full-width-text) .feature-page__content-block-media {
    min-height: 100%;
    min-width: 0;
    width: 100%;
    aspect-ratio: 960 / 618;
    overflow: hidden;
    background-color: transparent;
}

.feature-page__content-block:not(.feature-page__content-block--text-video):not(.feature-page__content-block--full-width-text) .feature-page__content-block-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px max(50px, calc((100% - 600px) / 2));
    box-sizing: border-box;
}

.feature-page__content-block:not(.feature-page__content-block--text-video):not(.feature-page__content-block--full-width-text).feature-page__content-block--text-left-image-right .feature-page__content-block-text {
    padding-left: var(--feature-page-testimonial-edge);
    padding-right: 70px;
}

.feature-page__content-block:not(.feature-page__content-block--text-video):not(.feature-page__content-block--full-width-text).feature-page__content-block--image-left-text-right .feature-page__content-block-text {
    padding-left: 70px;
    padding-right: var(--feature-page-testimonial-edge);
}

.feature-page__content-block:not(.feature-page__content-block--text-video):not(.feature-page__content-block--full-width-text) .feature-page__content-block-media img,
.feature-page__content-block:not(.feature-page__content-block--text-video):not(.feature-page__content-block--full-width-text) .feature-page__content-block-media .vimeo-player,
.feature-page__content-block:not(.feature-page__content-block--text-video):not(.feature-page__content-block--full-width-text) .feature-page__content-block-media iframe,
.feature-page__content-block:not(.feature-page__content-block--text-video):not(.feature-page__content-block--full-width-text) .feature-page__content-block-media .vimeo-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border: 0;
    border-radius: 0;
}

.feature-page__content-block:not(.feature-page__content-block--text-video):not(.feature-page__content-block--full-width-text) .feature-page__content-block-video .vimeo-player {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.feature-page__content-block--text-video {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.feature-page__content-block--text-video .feature-page__content-block-media {
    order: 1;
    min-height: 560px;
    background-color: #000000;
    overflow: hidden;
}

.feature-page__content-block--text-video .feature-page__content-block-text {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 50px;
    box-sizing: border-box;
    background-color: #efeff4;
}

.feature-page__content-block--text-video .feature-page__content-block-video .vimeo-player,
.feature-page__content-block--text-video .feature-page__content-block-video iframe,
.feature-page__content-block--text-video .feature-page__content-block-video .vimeo-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
}

.feature-page__content-block--text-video .feature-page__content-block-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.feature-page__content-block-list--plain ul {
    margin: 24px 0 24px;
    padding-left: 0;
    list-style: none;
}

.feature-page__content-block-list--plain li {
    position: relative;
    padding-left: 20px;
    color: #292929;
    font-size: 18px;
    line-height: 1.4444;
    margin: 10px 0;
}

.feature-page__content-block-list--plain li::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 12px;
    height: 15px;
    background-image: url('/wp-content/themes/angelsense/images/case-study/bullet.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.feature-page__content-block-list--cards ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 24px 0 24px;
    padding: 0;
    list-style: none;
}

.feature-page__content-block-list--cards li {
    padding: 16px;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    color: #112d35;
    font-size: 18px;
    line-height: 1.4444;
}

.feature-page__content-block--full-width-text {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 900px;
    padding: 64px 40px;
    box-sizing: border-box;
}

.feature-page__content-block-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.feature-page__content-block-title {
    font-family: "Rubik", sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: #32b4a6;
    margin: 0 0 16px;
}

.feature-page__content-block-body {
    font-size: 18px;
    line-height: 1.6;
    color: #292929;
    margin-bottom: 20px;
}

.feature-page__content-block-body p {
    margin: 10px 0px;
}

.feature-page__content-block-cta {
    display: inline-block;
    padding: 12px 32px;
    background-color: #ff8a00;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 28px;
}

/* ============================================================
   Comparison — Figma node 3979:18918
   ============================================================ */
.feature-page__comparison {
    padding: 70px 16px;
    box-sizing: border-box;
    background-color: #efeff4;
}

.feature-page .feature-page__content-blocks--last-odd + .feature-page__comparison {
    background-color: #ffffff;
}

.feature-page__comparison-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1340px;
    margin: 0 auto;
}

.feature-page__comparison-title {
    margin: 0;
    color: #32b4a6;
    font-family: "Rubik", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.1944;
    text-align: center;
}

.feature-page__comparison-subtitle {
    max-width: 900px;
    margin: 0 auto;
    color: #292929;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.feature-page__comparison-grid {
    display: grid;
    grid-template-columns: minmax(0, 645fr) minmax(0, 675fr);
    gap: 20px;
    align-items: start;
}

.feature-page__comparison-card {
    min-width: 0;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.feature-page__comparison-card-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 45px;
    padding: 10px 20px;
    box-sizing: border-box;
    background-color: #d8dfe2;
    color: #292929;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.feature-page__comparison-tab {
    display: flex;
    align-items: center;
    justify-content: inherit;
    width: 100%;
    min-height: 45px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-align: inherit;
    cursor: pointer;
}

.feature-page__comparison-tab:focus-visible {
    outline: 2px solid #32b4a6;
    outline-offset: -2px;
}

.feature-page__comparison-card-title img {
    display: block;
    width: 115px;
    height: 17px;
    object-fit: contain;
}

.feature-page__comparison-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-page__comparison-list li {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #efeff4;
    color: #292929;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4286;
}

.feature-page__comparison-list li:last-child {
    border-bottom: 0;
}
