h1, h2, h3, h4, h5, h6 {
      font-family:dana;
}
.modern-search-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
   // font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-panel {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    background: #fff;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0,123,255,0.12);
}

.form-actions {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.btn-search,
.btn-reset,
.btn-load-more {
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-search {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    margin: 0 10px;
}

.btn-search:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.25);
}

.btn-reset {
    background: #6c757d;
    color: #fff;
}

.btn-reset:hover {
    background: #5a6268;
}

.main-section-head {
    margin: 30px 0 18px;
}

.section-kicker {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0,123,255,0.08);
    color: #007bff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-head h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #1f2937;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 24px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.card-img {
    height: 210px;
    overflow: hidden;
    position: relative;
    background: #f7f7f7;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .card-img img {
    transform: scale(1.08);
}

.card-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.8;
}

.card-title a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 700;
}

.card-title a:hover {
    color: #007bff;
}

.vip-badge {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    margin-left: 6px;
    vertical-align: middle;
}

.loader-container {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    margin: 20px 0 10px;
    border: 1px solid #eee;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

.loader-container p,
.no-more p,
.branch-empty {
    margin: 0;
    color: #667085;
    font-size: 0.98rem;
    font-weight: 600;
}

.load-more-wrap {
    text-align: center;
    margin-top: 20px;
}

.btn-load-more {
    background: #fff;
    color: #007bff;
    border: 1px solid #cfe2ff;
    min-width: 190px;
    box-shadow: 0 6px 18px rgba(0,123,255,0.08);
}

.btn-load-more:hover {
    background: #f8fbff;
    transform: translateY(-1px);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.no-more {
    text-align: center;
    margin-top: 18px;
    padding: 12px;
}

.branch-sections {
    margin-top: 45px;
    display: grid;
    gap: 28px;
}

.branch-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #e8eef7;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 38px rgba(0,0,0,0.05);
    overflow: hidden;
}

.branch-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(0,123,255,0.10) 0%, rgba(0,123,255,0) 70%);
    pointer-events: none;
}

.branch-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.branch-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.branch-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #4da3ff);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 7px 12px;
    box-shadow: 0 8px 18px rgba(0,123,255,0.2);
}

.branch-title {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.branch-title a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 800;
}

.branch-title a:hover {
    color: #007bff;
}

.branch-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #f3f8ff;
    color: #007bff;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.25s;
}

.branch-link:hover {
    background: #e7f1ff;
    transform: translateY(-1px);
}

.branch-grid {
    position: relative;
    z-index: 1;
}

.branch-empty {
    background: #fff;
    border: 1px dashed #d8e3f0;
    border-radius: 14px;
    padding: 18px;
    position: relative;
    z-index: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .branch-card {
        padding: 18px;
    }

    .branch-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .branch-link {
        width: 100%;
        justify-content: center;
    }
}
