/* ===== Page Banner - Partner ===== */
.page-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 64px;
    ackground-size: cover;
    background-position: center 64px;
    background-repeat: no-repeat;
}


.page-banner-wrap {
    position: relative;
    z-index: 2;
    width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.page-banner-content {
    animation: fadeInUp 0.8s ease-out;
    text-align: left;
    padding-left: 360px;
    padding-top: 240px;
}

.page-banner-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.page-banner-desc {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
}

/* ===== Partner Main Section ===== */
.partner-main-section {
    padding: 0px 0 80px;
    margin-top: -234px;
    z-index: 2;
    position: relative;
}

.partner-layout {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Sidebar ===== */
.partner-sidebar {
    width:373px;
    flex-shrink: 0;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.sidebar-title {
    margin-bottom: 16px;
}

.sidebar-title-icon {
    height: 28px;
    width: auto;
}

.partner-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.partner-filter-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #334155;
}

.partner-filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: var(--text-sm);
    color: #334155;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.partner-filter-select:hover,
.partner-filter-select:focus {
    border-color: #2563eb;
}

.partner-filter-select:disabled {
    background: #f1f5f9;
    cursor: not-allowed;
    color: #94a3b8;
}

.sidebar-subtitle {
    font-size: var(--text-sm);
    color: #94a3b8;
    margin-bottom: 12px;
}

.city-selector {
    display: flex;
    gap: 8px;
}

.city-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: var(--text-sm);
    color: #334155;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.city-select:hover,
.city-select:focus {
    border-color: #2563eb;
}

.sidebar-ad {
    background: #e2e8f0;
    border-radius: 12px;
    height: 320px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-label {
    font-size: var(--text-xl);
    font-weight: 700;
    color: #94a3b8;
}

/* ===== Partner List ===== */
.partner-list-bread {
    font-size: var(--text-sm);
    color: #64748b;
    margin-bottom: 12px;
    display: block;
    height: 32px;
    line-height: 32px;
    color: #fff;
}
.partner-list-bread strong {
    color: #fff;
    font-weight: 700;
    padding: 0 8px;
}

.partner-list {
    padding-top: 120px;
    flex-shrink: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partner-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.partner-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.partner-card-img {
    width: 120px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.partner-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.partner-card-no-logo {
    font-size: var(--text-sm);
    color: #94a3b8;
}

.partner-card-info {
    flex: 1;
    min-width: 0;
}

.partner-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.partner-card-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.partner-card-tag-img {
    height: 20px;
    width: auto;
    flex-shrink: 0;
}

.partner-card-location {
    font-size: var(--text-sm);
    color: #64748b;
    margin: 0;
}

.partner-card-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid #2563eb;
    border-radius: 6px;
    color: #2563eb;
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.partner-card-btn:hover {
    background: #2563eb;
    color: #fff;
}

/* ===== Bottom CTA Section (from homepage) ===== */
.bottom-cta {
    padding: 48px 0;
    background: url(/images/comm-cta-bg.png) top center no-repeat;
    position: relative;
    overflow: hidden;
}

.bottom-cta::before {
    content: '';
    position: absolute;
    bottom: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.bottom-cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.bottom-cta-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.bottom-cta-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.bottom-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-cta-primary {
    background: var(--primary);
    color: #fff;
    padding: 12px 32px;
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-cta-secondary {
    background: #fff;
    color: var(--primary);
    padding: 12px 32px;
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-cta-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Empty State ===== */
.partner-empty-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 64px 20px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
}

.partner-empty-text {
    font-size: var(--text-base);
    color: #64748b;
    margin: 0;
}

.partner-empty-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.partner-empty-link:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .partner-layout {
        flex-direction: column;
    }

    .partner-sidebar {
        width: 100%;
    }

    .sidebar-ad {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .page-banner-title {
        font-size: var(--text-xl);
    }

    .partner-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .partner-card-btn {
        width: 100%;
        justify-content: center;
    }

    .bottom-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .bottom-cta-title {
        font-size: 1.375rem;
    }
}
