/* Basic styles for CEO Profiles */
.ceo-profile-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.ceo-profile-item {
    border: 1px solid #e1e1e1;
    padding: 1rem;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.ceo-profile-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ceo-profile-item h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.ceo-image-large img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    object-fit: cover;
}

.ceo-bio {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.ceo-age,
.ceo-net-worth,
.ceo-social,
.ceo-citations-heading {
    font-size: 0.85rem;
    margin: 0.25rem 0;
}

.ceo-citations {
    margin: 0.25rem 0 0.5rem 1rem;
    padding: 0;
    list-style-type: disc;
    font-size: 0.85rem;
}

.ceo-profile-item p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.ceo-profile-item ul {
    margin: 0.5rem 0;
    padding-left: 1rem;
    list-style-type: disc;
}

.ceo-profile-item a {
    color: #0073aa;
    text-decoration: none;
}

.ceo-profile-item a:hover {
    text-decoration: underline;
}

/*
 * Styling for the search form on the full list page
 */
.cp-search-form {
    display: flex;
    margin-bottom: 1rem;
}

.cp-search-form input[type="text"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.cp-search-form button {
    padding: 0.5rem 1rem;
    border: 1px solid #0073aa;
    background-color: #0073aa;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 0.9rem;
}

.cp-search-form button:hover {
    background-color: #005a8c;
    border-color: #005a8c;
}

/*
 * Styling for the "See full list" button that links to the full list page
 */
.cp-see-full-list {
    text-align: center;
    margin-top: 1rem;
}

.cp-see-full-list-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #0073aa;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.cp-see-full-list-btn:hover {
    background-color: #005a8c;
}