/* VPS Specs — template-parts/vps/vps-specs.php */

.dcx-specs-section {
    max-width: 1235px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.dcx-specs-head {
    width: 100%;
    max-width: 698px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.dcx-specs-pill {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 36px;
    padding: 0 20px;
    border-radius: 34px;
    background: rgba(237, 26, 59, 0.1);
    color: #e71939;
    font-size: 16px;
    font-weight: 500;
    line-height: 34px;
    white-space: nowrap;
}

.dcx-specs-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dcx-specs-title {
    margin: 0;
    color: #1d293d;
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    text-transform: capitalize;
}

.dcx-specs-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.dcx-specs-icons {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 20px;
    align-items: start;
    position: relative;
}

.dcx-specs-icons::before {
    content: "";
    position: absolute;
    left: 32px;
    right: 32px;
    top: 32px;
    border-top: 1px dashed #cad5e2;
    z-index: 0;
}

.dcx-specs-line { display: none; }

.dcx-specs-icon,
.dcx-spec-item__icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 999px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    position: relative;
    z-index: 1;
}

.dcx-specs-icon svg,
.dcx-spec-item__icon svg {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
}

.dcx-specs-icon--activation svg,
.dcx-spec-item__icon--activation svg {
    width: 21px;
    height: 33.6px;
}

.dcx-specs-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.dcx-spec-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    padding: 0;
    margin: 0;
}

.dcx-spec-item__icon { display: none; }

.dcx-spec-item__title {
    margin: 0;
    color: #1d293d;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

.dcx-spec-item__desc {
    margin: 0;
    color: #45556c;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

@media (max-width: 1199px) and (min-width: 768px) {
    .dcx-specs-icons { display: none; }
    .dcx-specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
    .dcx-spec-item { gap: 16px; align-items: flex-start; text-align: left; }
    .dcx-spec-item__icon { display: flex; margin-bottom: 4px; }
    .dcx-spec-item__title { text-align: left; }
    .dcx-spec-item__desc { text-align: left; }
}

@media (max-width: 767px) {
    .dcx-specs-section { gap: 28px; padding: 0 28px; }
    .dcx-specs-head { gap: 18px; max-width: 100%; margin-bottom: 30px; }
    .dcx-specs-title-wrap { gap: 0; max-width: 360px; }
    .dcx-specs-title { font-size: 28px; line-height: 1.35; letter-spacing: -0.4px; }
    .dcx-specs-body { gap: 20px; }
    .dcx-specs-icons { display: none; }
    .dcx-specs-grid { grid-template-columns: 1fr; gap: 26px; }
    .dcx-spec-item { gap: 12px; align-items: center; text-align: center; margin-bottom: 15px; }
    .dcx-spec-item__icon { display: flex; margin-bottom: 4px; }
    .dcx-spec-item__title { font-size: 18px; line-height: 22px; text-align: center; }
    .dcx-spec-item__desc { font-size: 15px; line-height: 1.75; text-align: center; }
}
