.card {
    background: #fff;
    border: 1px solid #dfe5eb;
    border-radius: 12px;
}

.campaigns-main {
    display: grid;
    gap: 8px;
    width: 100%;
}

.campaigns-main > .card {
    width: 100%;
    box-sizing: border-box;
}

.campaigns-toolbar {
    padding: 10px 12px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    direction: ltr;
}

.toolbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    justify-self: end;
    direction: rtl;
}

.toolbar-right h2 {
    margin: 0;
    color: #1f2937;
    font-size: 1.25rem;
}

.toolbar-right a {
    color: #111827;
}

.menu-btn {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    color: #111827;
    cursor: pointer;
    justify-self: start;
}

.toolbar-filters {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    direction: rtl;
}

.toolbar-filters button {
    border: 1px solid #d4dce6;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    padding: 7px 12px;
    font-family: inherit;
    cursor: pointer;
}

.campaign-highlight {
    padding: 12px 14px;
    text-align: center;
}

.campaign-highlight h3 {
    margin: 0;
    color: #111827;
    font-size: 1.35rem;
}

.campaign-highlight p {
    margin: 4px 0 10px;
    color: #6b7280;
}

.highlight-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.highlight-stats div {
    border-left: 1px solid #eceff4;
}

.highlight-stats div:last-child {
    border-left: none;
}

.highlight-stats span {
    display: block;
    color: #6b7280;
    margin-bottom: 4px;
}

.highlight-stats strong {
    color: #c1831d;
    font-size: 1.1rem;
}

.campaign-list {
    padding: 10px;
}

.section-title h3 {
    margin: 0;
    padding-right: 10px;
    border-right: 3px solid #f4b223;
    color: #1f2937;
}

.section-title {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-arrow {
    width: 36px;
    height: 32px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fafc 0%, #e8eef6 100%);
    color: #51627b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.section-arrow:hover {
    transform: translateY(-1px);
    border-color: #bfcddd;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}

.section-arrow--active {
    background: linear-gradient(180deg, #4a7ac1 0%, #2f5fa8 100%);
    color: #fff;
    border-color: #2f5fa8;
    box-shadow: 0 4px 10px rgba(47, 95, 168, 0.28);
}

.section-arrow.is-disabled {
    opacity: 0.38;
    cursor: default;
    transform: none !important;
    box-shadow: none !important;
}

.campaign-cards {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 8px;
    scroll-behavior: smooth;
}

.campaign-card {
    flex: 0 0 calc(50% - 4px);
    border: 1px solid #dfe5eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.campaign-image {
    display: block;
    aspect-ratio: 16/9;
}

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

.campaign-title {
    display: block;
    text-decoration: none;
    color: #1f2937;
    font-weight: 700;
    line-height: 1.6;
    min-height: 58px;
    padding: 8px 10px;
}

.campaign-meta {
    border-top: 1px solid #edf0f4;
    padding: 6px 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    color: #2f4a8a;
}

.section-title--simple {
    margin-bottom: 6px;
}

.campaign-hot-list {
    padding: 10px;
}

.hot-list-wrap {
    display: grid;
    gap: 10px;
}

.hot-list-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
    border-bottom: 1px solid #e9eef4;
    padding-bottom: 10px;
}

.hot-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hot-item-image {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.hot-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hot-item-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.hot-item-title {
    text-decoration: none;
    color: #1f2937;
    font-weight: 700;
    line-height: 1.75;
}

.hot-item-actions {
    display: flex;
    gap: 8px;
}

.hot-item-btn {
    border-radius: 10px;
    border: 1px solid #c8d5e3;
    background: #eff3f8;
    color: #355884;
    padding: 7px 18px;
    font-family: inherit;
    font-weight: 700;
}

.hot-item-btn--support {
    background: #fff;
}

.campaign-success-list,
.campaign-latest-list {
    padding: 10px;
}

.success-track {
    display: flex;
    gap: 10px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.success-item {
    flex: 0 0 calc(25% - 8px);
}

.success-image {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 6px;
}

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

.success-title {
    text-decoration: none;
    color: #1f2937;
    line-height: 1.5;
    font-weight: 700;
    font-size: 0.93rem;
    display: block;
}

.latest-cards {
    display: flex;
    gap: 10px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.latest-card {
    flex: 0 0 calc(50% - 5px);
}

@media (max-width: 768px) {
    .campaign-cards {
        gap: 8px;
    }

    .campaign-card {
        flex-basis: 100%;
    }

    .hot-list-item {
        grid-template-columns: 1fr;
    }

    .success-item,
    .latest-card {
        flex-basis: 100%;
    }
}
