/* WISE homepage — featured public profiles */

.wise-home-featured {
    width: 100%;
    padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

.wise-home-featured-heading {
    margin: 0 0 1.5rem;
}

.wise-home-featured-heading h2 {
    margin: 0;
    color: #030069;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.wise-home-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.wise-home-featured .wise-public-result-card {
    display: flex;
    flex-direction: column;
    min-height: 245px;
    overflow: hidden;
    border: 1px solid #dfdfec;
    border-radius: 17px;
    padding: 23px;
    background: #fdfbf7;
    box-shadow: 0 8px 24px rgba(3, 0, 105, 0.05);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.wise-home-featured .wise-public-result-card:hover {
    transform: translateY(-2px);
    border-color: #bdbddd;
    box-shadow: 0 14px 32px rgba(3, 0, 105, 0.09);
}

.wise-home-featured .wise-public-result-card.has-image {
    padding-top: 0;
}

.wise-home-featured .wise-public-result-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin: 0 -23px 18px;
    border-radius: 16px 16px 0 0;
    box-sizing: border-box;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    background: #fdfbf7;
}

.wise-home-featured .wise-public-result-image img {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fdfbf7;
    object-fit: contain;
    object-position: 50% 50%;
}

.wise-home-featured .wise-public-result-type {
    margin: 0 0 8px;
    color: #55559a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wise-home-featured .wise-public-result-card h3 {
    margin: 0 0 12px;
    font: inherit;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.15;
}

.wise-home-featured .wise-public-result-card h3 a {
    color: #030069;
    text-decoration: none;
}

.wise-home-featured .wise-public-result-card h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wise-home-featured .wise-public-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.wise-home-featured .wise-public-chips span {
    border-radius: 999px;
    padding: 5px 9px;
    background: #eeeeff;
    color: #292970;
    font-size: 12px;
    line-height: 1.3;
}

.wise-home-featured .wise-public-card-link {
    margin-top: auto;
    color: #030069;
    font-weight: 800;
    text-decoration: none;
}

.wise-home-featured .wise-public-card-link:hover {
    color: #ff5a00;
}

.wise-home-featured-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

.wise-home-featured-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.8rem 1.45rem;
    border: 2px solid #030069;
    border-radius: 999px;
    background: #030069;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.wise-home-featured-button:hover {
    border-color: #ff5a00;
    background: #ff5a00;
    color: #030069 !important;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .wise-home-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .wise-home-featured {
        padding: 2.25rem 0;
    }

    .wise-home-featured-grid {
        grid-template-columns: 1fr;
    }
}


/* 1.0.8.11 — keep homepage featured cards visually identical to Explorer cards.
   These selectors intentionally use !important only on card presentation so
   page-scoped redesign CSS cannot reintroduce the former beige/orange/serif style. */
.wise-home-featured .wise-public-result-card,
body .wise-home-featured .wise-public-result-card {
    border: 1px solid #dfdfec !important;
    border-radius: 17px !important;
    padding: 23px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 100, 0.05) !important;
}

.wise-home-featured .wise-public-result-card.has-image,
body .wise-home-featured .wise-public-result-card.has-image {
    padding-top: 0 !important;
}

.wise-home-featured .wise-public-result-card:hover,
body .wise-home-featured .wise-public-result-card:hover {
    border-color: #bdbddd !important;
    box-shadow: 0 14px 32px rgba(0, 0, 100, 0.09) !important;
}

.wise-home-featured .wise-public-result-image,
body .wise-home-featured .wise-public-result-image {
    margin: 0 -23px 18px !important;
    padding: 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    border-radius: 16px 16px 0 0 !important;
    background: #fdfbf7 !important;
}

.wise-home-featured .wise-public-result-image img,
body .wise-home-featured .wise-public-result-image img {
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
    filter: none !important;
}

.wise-home-featured .wise-public-result-type,
body .wise-home-featured .wise-public-result-type {
    margin: 0 0 8px !important;
    color: #55559a !important;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.wise-home-featured .wise-public-result-card h3,
body .wise-home-featured .wise-public-result-card h3 {
    margin: 0 0 10px !important;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
    font-size: 26px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

.wise-home-featured .wise-public-result-card h3 a,
body .wise-home-featured .wise-public-result-card h3 a {
    color: #000064 !important;
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.wise-home-featured .wise-public-result-card h3 a:hover,
body .wise-home-featured .wise-public-result-card h3 a:hover {
    color: #000064 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.wise-home-featured .wise-public-chips,
body .wise-home-featured .wise-public-chips {
    margin-bottom: 18px !important;
}

.wise-home-featured .wise-public-chips span,
body .wise-home-featured .wise-public-chips span {
    border: 0 !important;
    border-radius: 999px !important;
    padding: 5px 9px !important;
    background: #eeeeff !important;
    color: #292970 !important;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-style: normal !important;
    line-height: 1.3 !important;
}

.wise-home-featured .wise-public-card-link,
body .wise-home-featured .wise-public-card-link {
    color: #000064 !important;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.wise-home-featured .wise-public-card-link:hover,
body .wise-home-featured .wise-public-card-link:hover {
    color: #000064 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

@media (max-width: 640px) {
    .wise-home-featured .wise-public-result-card h3,
    body .wise-home-featured .wise-public-result-card h3 {
        font-size: 24px !important;
    }
}


/* 1.0.8.14 — Explorer parity. Static card properties are also emitted inline
   by FeaturedWomenShortcode so WordPress/theme rules cannot override them. */
html body .wise-home-featured .wise-public-result-card:hover{
    transform:translateY(-2px)!important;
    border-color:#bdbddd!important;
    box-shadow:0 14px 32px rgba(0,0,100,.09)!important
}
html body .wise-home-featured .wise-public-result-card h3 a:hover,
html body .wise-home-featured .wise-public-card-link:hover{
    color:#000064!important;
    text-decoration:underline!important
}
