.brokers-portal .brokers-portal-header {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
}

.brokers-portal .brokers-portal-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #E07C24;
}

.brokers-portal .brokers-portal-header p {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 40px;
}

.brokers-portal .filter-search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 20px;
}

.brokers-portal .filter-tabs {
    display: flex;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 4px;
}

.brokers-portal .filter-tabs .tab {
    padding: 10px 15px;
    border-radius: 8px;
    margin-right: 8px;
    text-decoration: none;
    color: #6c757d;
    background-color: transparent;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.brokers-portal .filter-tabs .tab:hover {
    background-color: #f1f1f1;
    color: #343a40;
}

.brokers-portal .filter-tabs .active {
    background-color: #ffffff;
    color: #343a40;
    border: 1px solid #d1d1d1;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.brokers-portal .search-form {
    display: flex;
    justify-content: flex-end;
    max-width: 320px;
    width: 100%;
}

.brokers-portal .search-input-container {
    position: relative;
    width: 100%;
}

.brokers-portal .search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
}

.brokers-portal .search-form input[type="search"] {
    padding: 10px 12px 10px 40px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.brokers-portal .search-form input[type="search"]::placeholder {
    color: #6c757d;
}

.brokers-portal .resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.brokers-portal .resource-card {
    background-color: #ffffff;
    text-align: left;
    overflow: hidden;
    padding: 0;
}

.brokers-portal .resource-image {
    background-color: #fef6e4;
    padding: 24px 35px 0 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px; /* Increased height */
    width: 100%;
    border-radius: 16px;
}

.brokers-portal .resource-image img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.brokers-portal .resource-content {
    padding: 20px 0;
    margin-top: 0;
}

.brokers-portal .resource-content .category {
    font-size: 14px;
    color: #2d8f3c;
    margin-bottom: 5px;
}

.brokers-portal .resource-content .resource-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.brokers-portal .resource-content .resource-title a {
    font-size: 24px;
    font-weight: 600;
    color: #0a0a0a;
    text-decoration: none;
}

.brokers-portal .resource-content .resource-title img {
    margin-left: 10px;
}

.brokers-portal .resource-content .resource-excerpt {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 10px;
    line-height: 1.6;
}

.brokers-portal .resource-link {
    font-size: 18px;
    color: #0a0a0a;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brokers-portal .resource-download .btn-link {
    color: #E07C24; /* Orange color */
    font-weight: 400;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brokers-portal .resource-download .btn-link img {
    margin-left: 8px;
}

.brokers-portal .resource-download .btn-link:hover {
    text-decoration: underline;
}

.brokers-portal .link-icon {
    margin-left: 5px;
    margin-bottom: 3px;
}

.brokers-portal .resource-link:hover {
    text-decoration: underline;
}

.brokers-portal .category-description {
    text-align: left;
    font-size: 20px;
    line-height: 30px;
    color: #6c757d;
}

.brokers-portal .category-header {
    font-size: 36px;
    font-weight: 700;
    color: #E07C24;
    margin-bottom: 20px;
}