.selby-block {
    text-align: center;
    margin: 3rem 0;
    font-family: Arial, sans-serif;
    color: #328ec3 !important;
}

.selby-block a {
    color: #328ec3 !important;
}

/* Create a two-column layout */
.selby-block-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

/* Column 1 (Left side) */
.selby-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 600px;
    width: 100%;
}

/* Column 2 (Right side) */
.selby-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 500px;
}

.selby-image img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.selby-section {
    text-align: left;
    max-width: 600px;
    width: 100%;
}

.selby-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 0;
}

.selby-header img {
    width: 150px;
    height: auto;
}

.selby-email {
    font-size: 1.5rem;
    color: #555;
    margin-top: 0.5rem;
}

.selby-block details {
    text-align: left;
    width: 100%;
}

.selby-block details summary {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin-top: 0.5rem;
    cursor: pointer;
    list-style: none;
}

.selby-block details summary::after {
    content: '\25BC';
    margin-left: 1rem;
    font-size: 1.5rem;
    color: #328ec3;
    transition: transform 0.3s;
}

.selby-block details[open] summary::after {
    content: '\25B2';
}

.selby-block details ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.selby-block details ul li {
    margin-top: 1rem;
}

.selby-block details ul li a {
    color: #328ec3;
    font-size: 2rem;
    text-decoration: none;
}

.selby-block details ul li a:hover {
    text-decoration: underline;
}

/* Placeholder arrow for Horace Mann */
.selby-placeholder-arrow {
    visibility: hidden;
    margin-left: 1rem;
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .selby-block-container {
        flex-direction: column;
        text-align: center;
    }
    
    .selby-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .selby-image {
        max-width: 100%;
    }
    
    .selby-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .selby-header span {
        font-size: 2rem;
    }
    
    .selby-header img {
        width: 120px;
    }
    
    .selby-email {
        font-size: 1.2rem;
    }
    
    .selby-block details summary {
        font-size: 1.3rem;
    }
    
    .selby-block details ul li a {
        font-size: 1.5rem;
    }
}
