/* ===========================
   Markets Page Styles
   =========================== */

/* Hero */
.markets-hero-content {
    padding: 3rem 0;
}

.markets-hero-headline {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 3.75rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.markets-hero-description {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 1.125rem;
    color: #90a4ae;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

/* Hero Pills */
.markets-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.markets-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 1.25rem;
    border: none;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
}

.markets-pill:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Market Cards Section */
.markets-cards-section {
    padding: 5rem 0 0;
    background-color: #F9FAFB;
}

.markets-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    background: #ffffff;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.markets-card:hover {
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.15), 0px 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.markets-card-image {
    position: relative;
    overflow: hidden;
}

.markets-card-image > img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.markets-card-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 4rem 1.5rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.markets-card-overlay-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.markets-card-overlay-title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.markets-card-overlay-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: -0.25rem 0 0;
    width: 100%;
}

.markets-card-body {
    padding: 1.5rem;
}

.markets-card-description {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: #364153;
    line-height: 1.5;
    width: 94%;
    margin-bottom: 1rem;
}

.markets-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.markets-card-list li {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: #364153;
    padding: 0.3rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.markets-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 14px;
    height: 14px;
    background-image: url('/wp-content/uploads/2026/04/checklist-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.markets-card-benefits {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    color: #364153;
    background-color: #F0F7FF;
    border-left: 3px solid #1A3B5C;
    padding: 1rem 1rem;
    border-radius: 0 6px 6px 0;
    line-height: 1.5;
}

.markets-card-benefits strong {
    color: #1A3B5C;
}

/* Complete Security Portfolio */
.markets-portfolio {
    margin-top: 5rem;
    padding: 5rem 0;
    background: #0D182A;
    color: #ffffff;
}

.markets-portfolio-headline {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.markets-portfolio-subheadline {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

.markets-portfolio-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.markets-portfolio-icon {
    margin-bottom: 1.25rem;
}

.markets-portfolio-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.markets-portfolio-title {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 2;
    letter-spacing: 0.07px;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.markets-portfolio-description {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    letter-spacing: -0.31px;
}

.markets-portfolio-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.markets-portfolio-list li {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.markets-portfolio-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #4a90d9;
    font-size: 0.5rem;
    top: 0.5rem;
}

/* CTA Section */
.markets-cta {
    margin: 5rem 0;
    padding: 5rem 0 0;
    background-color: #ffffff;
}

.markets-cta-headline {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 3rem;
    letter-spacing: 0.35px;
    color: #0A0A0A;
    margin-bottom: 0.75rem;
}

.markets-cta-subheadline {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.75;
    color: #4A5565;
    letter-spacing: -0.45px;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.markets-cta-btn {
    display: inline-block;
    background-color: #1A3B5C;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.markets-cta-btn:hover {
    background-color: #0d1b2a;
    color: #ffffff;
}

.markets-cta-footnote {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    color: #999;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 767px) {
    .markets-hero-content {
        padding-top: 6rem;
        text-align: center;
    }

    .markets-hero-headline {
        font-size: 2.25rem;
    }

    .markets-hero-description {
        max-width: 100%;
    }

    .markets-hero-pills {
        justify-content: center;
    }

    .markets-cards-section,
    .markets-portfolio,
    .markets-cta {
        padding: 3rem 0;
    }

    .markets-card-image img {
        height: 220px;
    }

    .markets-card-overlay-title {
        font-size: 1.25rem;
    }
}
