
.hapi-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hapi-controls-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

/* Search Input */
.hapi-search-box {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.hapi-search-box:focus {
    border-color: #0073aa;
}

/* Dropdown */
.hapi-dropdown-container {
    position: relative;
    min-width: 200px;
}

.hapi-dropdown-btn {
    width: 100%;
    padding: 10px 15px;
    background: #fff;
    background-color: #FBF8FF !important;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #555;
}

.hapi-dropdown-btn:hover {
    border-color: #aaa;
    background-color: #e5e5e5 !important;
}

.hapi-dropdown-btn:focus {
    border-color: #aaa;
    background-color: #e5e5e5 !important;
}

.hapi-arrow {
    width: 16px;
    height: 16px;
    margin-left: 10px;
    transition: 0.3s;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hapi-dropdown-container.active .hapi-arrow {
    transform: rotate(180deg);
}

.hapi-dropdown-content {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.hapi-dropdown-container.active .hapi-dropdown-content {
    display: block;
}

.hapi-dropdown-item {
    display: block;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
    font-size: 14px;
    color: #444;
}

.hapi-dropdown-item:hover {
    background-color: transparent;
}

.hapi-dropdown-item input {
    margin-right: 8px;
    accent-color: #0073aa;
}

.hapi-dropdown-item span {
    vertical-align: middle;
}

/* Reset Button */
.hapi-reset-btn {
    padding: 10px 20px;
    background: #f0f0f1;
    border: 1px solid #ddd;
    color: #555;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
    white-space: nowrap;
}

.hapi-reset-btn:hover {
    background: #e5e5e5;
    color: #333;
    border-color: #ccc;
}

/* Grid */
.hapi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    transition: 0.3s;
}

.hapi-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.hapi-card {
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 15px;
    background: #fff;
    transition: 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hapi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #0073aa;
}

.hapi-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hapi-image-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.hapi-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hapi-image-wrapper-large {
    width: calc(100% + 50px);
    height: 400px;
    margin: -25px -25px 20px -25px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    flex-shrink: 0;
}

.hapi-image-wrapper-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hapi-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hapi-card h3 {
    margin: 0;
    font-size: 18px !important;
    line-height: 1.4;
    color: #333;
    font-weight: 700;
}

.hapi-designation {
    font-size: 13px;
    color: #777;
}

.hapi-excerpt {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hapi-tags-section {
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
}

.hapi-tags-label {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.hapi-tag {
    font-size: 12px;
    background: #e1f0ff;
    color: #0073aa;
    padding: 5px 12px;
    margin: 0 5px 5px 0;
    display: inline-block;
    border-radius: 20px;
    font-weight: 600;
}

.hapi-pin {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f7b500;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile */
@media (max-width: 768px) {
    .hapi-controls-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hapi-reset-btn {
        width: 100%;
    }
}

.hapi-directory-title{
	font-size: 25px !important;
	margin-bottom: 0px !important;
}
.hapi-meta-line{
font-size: 16px !important;	
	font-weight: 600 !important;
}