* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b1220;
    color: #ffffff;
    text-align: center;
}

.page-header {
    background: linear-gradient(180deg, #13203b 0%, #0b1220 100%);
    padding: 42px 20px 26px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.page-header h1 {
    margin: 0 0 10px;
    font-size: 40px;
    line-height: 1.1;
}

.page-subtitle {
    margin: 0 auto;
    max-width: 900px;
    color: #c7d2e0;
    line-height: 1.6;
    font-size: 16px;
}

.page-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 18px 20px 40px;
}

.section {
    margin-top: 34px;
}

.section-header {
    margin-bottom: 18px;
}

.section h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
}

.section-desc {
    margin: 0;
    color: #8ea3c1;
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.card {
    background: #111a2e;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    text-align: left;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.image-slider {
    width: 100%;
    height: 240px;
    background: #0f1728;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.image-slider img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: none;
    padding: 12px;
}

.image-slider.no-image span {
    color: #7f93af;
    font-size: 14px;
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    min-height: 52px;
    color: #ffffff;
}

.card-desc {
    margin: 0;
    color: #d5deea;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: 16px;
    background: #007bff;
    padding: 11px 16px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background: #1591ff;
    transform: translateY(-1px);
}

.empty-state {
    margin-top: 50px;
    padding: 30px;
    background: #111a2e;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
}

.page-footer {
    padding: 28px 20px 36px;
    color: #9fb0c7;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 1300px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-header h1 {
        font-size: 32px;
    }

    .section h2 {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding-top: 28px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-subtitle,
    .section-desc {
        font-size: 14px;
    }

    .image-slider {
        height: 220px;
    }

    .card h3 {
        min-height: auto;
        font-size: 19px;
    }
}
