Template:MainPage/FeaturedCompanies/styles.css

From WikiVita
Jump to navigation Jump to search
/* ==========================
WikiVita Featured Companies
========================== */

.wv-highlight-box {
width: 100%;
background: #fff;
border: 1px solid #d7e3f0;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Header */

.wv-highlight-header {
background: #d7e6f6;
color: #000;
text-align: center;
font-size: 1.2rem;
font-weight: 700;
padding: 8px 18px;
border-bottom: 1px solid #d7e3f0;
}

/* Content */

.wv-highlight-content {
padding: 20px 24px;
}

/* Organization Item */

.wv-highlight-item {
display: flex;
gap: 18px;
align-items: flex-start;


padding-bottom: 20px;
margin-bottom: 20px;

border-bottom: 1px solid #e8edf4;

color: #333;
line-height: 1.7;


}

.wv-highlight-item:hover {
background: #fafcff;
}

.wv-highlight-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}

/* Logo */

.wv-highlight-image {
flex-shrink: 0;
}

.wv-highlight-image img {
width: 88px;
height: 88px;


object-fit: contain;

border-radius: 12px;
border: 1px solid #d7e3f0;

background: #fff;
padding: 4px;


}

/* Details */

.wv-highlight-details {
flex: 1;
}

/* Organization Name */

.wv-highlight-item b {
display: block;
margin-bottom: 6px;


font-size: 1.12rem;
font-weight: 700;


}

.wv-highlight-item b a {
color: #0645ad;
text-decoration: none;
}

.wv-highlight-item b a:visited {
color: #0b0080;
}

.wv-highlight-item b a:hover {
text-decoration: underline;
}

/* Industry */

.wv-highlight-industry {
font-size: 0.82rem;
font-weight: 600;
color: #777;


margin-bottom: 8px;


}

/* Country */

.wv-highlight-country {
margin-top: 12px;
padding-top: 8px;


border-top: 1px solid #f0f3f7;

color: #666;
font-size: 0.88rem;


}

/* Link */

.wv-highlight-link {
margin-top: 8px;
font-size: 0.9rem;
font-weight: 600;
}

.wv-highlight-link a {
color: #1565c0;
text-decoration: none;
}

.wv-highlight-link a:hover {
text-decoration: underline;
}

@media screen and (max-width: 768px) {

    .wv-highlight-header {
        font-size: 1.15rem;
        padding: 8px 16px;
    }

    .wv-highlight-content {
        display: flex;
        overflow-x: auto;
        gap: 14px;
        padding: 16px;
    }

    .wv-highlight-item {

        flex: 0 0 88%;
        min-width: 88%;

        display: flex;
        align-items: flex-start;
        gap: 14px;

        background: #fff;
        border: 1px solid #e8edf4;
        border-radius: 12px;

        padding: 16px;
        margin-bottom: 0;
    }

    .wv-highlight-image {
        flex-shrink: 0;
    }

    .wv-highlight-image img {
        width: 64px;
        height: 64px;
    }

    .wv-highlight-details {
        flex: 1;
    }

    .wv-highlight-item b {
        font-size: 1rem;
    }

    .wv-highlight-industry {
        font-size: 0.74rem;
    }

    .wv-highlight-country {
        font-size: 0.82rem;
    }

    .wv-highlight-link {
        font-size: 0.86rem;
    }
}