/* Data Centers Block */
.data-centers-block {
    margin: 60px 0;
    contain: layout;
}

.data-centers-title {
    font-size: 3rem;
    font-weight: 500;
    margin-block: 48px;
    text-align: center;
    color: var(--vps-main-color, #3d46a3);
}

/* Accordion */
.data-centers-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dc-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.dc-accordion-header-text {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--vps-main-color, #3d46a3);
}

.dc-accordion-chevron {
    color: var(--vps-main-color, #3d46a3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.dc-accordion-open .dc-accordion-chevron {
    transform: rotate(180deg);
}

.dc-accordion-body {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: height 0.32s ease, opacity 0.24s ease;
}

.dc-accordion-body[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .dc-accordion-chevron,
    .dc-accordion-body {
        transition: none;
    }
}

/* Cards Grid */
.dc-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-bottom: 16px;
}

/* Card */
.dc-card {
    min-width: 0;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    transition: box-shadow 0.2s ease;
}

.dc-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dc-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dc-card-title {
    font-size: 1.125rem;
    line-height: 28px;
    font-weight: 600;
    margin: 0;
    color: var(--vps-main-color, #3d46a3);
    overflow-wrap: break-word;
    word-break: break-word;
}

.dc-card-subtitle {
    font-size: 0.875rem;
    line-height: 20px;
    color: #757575;
    font-weight: 400;
    overflow-wrap: break-word;
}

/* Buttons */
.dc-card-actions {
    display: flex;
    gap: 10px;
}

.dc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 20px;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: normal;
    word-break: break-word;
    min-width: 0;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.dc-btn-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.dc-btn-primary {
    background-color: var(--vps-main-color, #3d46a3);
    color: #ffffff;
    border: 1px solid var(--vps-main-color, #3d46a3);
}

.dc-btn-primary:hover {
    background-color: var(--vps-tertiary-color, #1A237E);
    border-color: var(--vps-tertiary-color, #1A237E);
    color: #ffffff;
    text-decoration: none;
}

.dc-btn-outline {
    background-color: #ffffff;
    color: var(--vps-main-color, #3d46a3);
    border: 1px solid var(--vps-main-color, #3d46a3);
}

.dc-btn-outline:hover {
    background-color: #f5f5f5;
    color: var(--vps-tertiary-color, #1A237E);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1199px) {
    .dc-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .data-centers-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }

    .dc-accordion-header-text {
        font-size: 1.1rem;
    }

    .data-centers-accordion {
        gap: 8px;
    }

    .dc-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dc-card {
        padding: 16px;
    }

    .dc-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}
