/* husbands.css */

/* Styles for the main index window cards */
.husband-index-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding-top: 10px;
}

.husband-index-card {
    border: 1px solid var(--header-color);
    padding: 10px;
    background-color: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.husband-index-card:hover {
    background-color: rgba(0,0,0,0.4);
    border-color: var(--link-color);
}

.husband-index-card h3 {
    margin: 0 0 5px 0;
    color: var(--header-color);
    font-size: 18px;
}

.husband-index-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
}

/* Styles for the individual profile windows */
.husband-profile-content {
    display: block; /* To clear float */
}
.husband-profile-content::after {
    content: "";
    display: table;
    clear: both;
}

.husband-profile-content img {
    max-width: 150px;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
    border: 2px solid var(--header-color);
}

.husband-profile-content p {
    line-height: 1.6;
    font-size: 16px;
}