:root {
    --wps-dev-navy: #062e5d;
    --wps-dev-green: #1d960d;
    --wps-dev-text: #667085;
    --wps-dev-border: #e6eaf0;
    --wps-dev-soft: #f6f9fd;
}

.wps-dev-wrap,
.wps-dev-single {
    font-family: inherit;
    color: var(--wps-dev-text);
}

.wps-dev-wrap {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 90px;
}

.wps-dev-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.wps-dev-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--wps-dev-border);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(6, 46, 93, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.wps-dev-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(6, 46, 93, 0.12);
}

.wps-dev-card--new {
    opacity: 0;
    transform: translateY(18px);
}

.wps-dev-card__image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #eef5ff, #f7fbff);
}

.wps-dev-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.wps-dev-card:hover .wps-dev-card__image img {
    transform: scale(1.035);
}

.wps-dev-card__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 800;
    color: rgba(29, 150, 13, 0.24);
    letter-spacing: .04em;
}

.wps-dev-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 28px 30px;
}

.wps-dev-card__eyebrow {
    margin-bottom: 10px;
    color: var(--wps-dev-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.wps-dev-card__title {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.wps-dev-card__title a {
    color: var(--wps-dev-navy);
    text-decoration: none;
}

.wps-dev-card__title a:hover {
    color: var(--wps-dev-green);
}

.wps-dev-card__excerpt {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.7;
}

.wps-dev-card__more,
.wps-dev-loadmore,
.wps-dev-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 12px;
    background: var(--wps-dev-green);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.wps-dev-card__more {
    align-self: flex-start;
    margin-top: auto;
    padding: 14px 18px;
}

.wps-dev-card__more:hover,
.wps-dev-loadmore:hover,
.wps-dev-button:hover {
    background: #178008;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(29, 150, 13, .18);
}

.wps-dev-loadmore-wrap {
    padding-top: 45px;
    text-align: center;
}

.wps-dev-loadmore {
    min-width: 165px;
    padding: 17px 24px;
    font-size: 16px;
}

.wps-dev-loadmore:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.wps-dev-message {
    min-height: 24px;
    padding-top: 10px;
    font-size: 14px;
}

/* Single */
.wps-dev-single {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 100px;
}

.wps-dev-single__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: center;
    margin-bottom: 60px;
}

.wps-dev-single__media {
    overflow: hidden;
    border-radius: 22px;
    background: var(--wps-dev-soft);
    box-shadow: 0 15px 42px rgba(6, 46, 93, .09);
}

.wps-dev-single__media img {
    display: block;
    width: 100%;
    height: auto;
}

.wps-dev-single__placeholder {
    min-height: 390px;
    display: grid;
    place-items: center;
    color: rgba(29, 150, 13, .3);
    font-size: 88px;
    font-weight: 800;
}

.wps-dev-single__version {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--wps-dev-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 13px;
}

.wps-dev-single__title {
    margin: 0 0 18px;
    color: var(--wps-dev-navy);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
}

.wps-dev-single__intro {
    margin: 0 0 26px;
    font-size: 18px;
    line-height: 1.75;
}

.wps-dev-single__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wps-dev-button {
    padding: 16px 21px;
}

.wps-dev-button--secondary {
    background: #fff;
    color: var(--wps-dev-navy) !important;
    border: 1px solid var(--wps-dev-border);
}

.wps-dev-button--secondary:hover {
    background: var(--wps-dev-soft);
    box-shadow: none;
}

.wps-dev-single__content {
    color: var(--wps-dev-text);
    font-size: 17px;
    line-height: 1.8;
}

.wps-dev-single__content h2,
.wps-dev-single__content h3,
.wps-dev-single__content h4 {
    color: var(--wps-dev-navy);
    line-height: 1.25;
    margin-top: 1.6em;
}

.wps-dev-single__content h2 { font-size: 32px; }
.wps-dev-single__content h3 { font-size: 25px; }

.wps-dev-single__content a {
    color: var(--wps-dev-green);
}

.wps-dev-single__back {
    margin-top: 55px;
    padding-top: 28px;
    border-top: 1px solid var(--wps-dev-border);
}

.wps-dev-single__back a {
    color: var(--wps-dev-green);
    font-weight: 700;
    text-decoration: none;
}

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

    .wps-dev-single__hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 640px) {
    .wps-dev-wrap,
    .wps-dev-single {
        width: min(100% - 28px, 1400px);
        padding-top: 45px;
        padding-bottom: 65px;
    }

    .wps-dev-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .wps-dev-card {
        border-radius: 16px;
    }

    .wps-dev-card__body {
        padding: 22px;
    }

    .wps-dev-card__title {
        font-size: 22px;
    }

    .wps-dev-single__hero {
        margin-bottom: 40px;
    }

    .wps-dev-single__title {
        font-size: 34px;
    }

    .wps-dev-single__intro,
    .wps-dev-single__content {
        font-size: 16px;
    }

    .wps-dev-single__actions {
        display: grid;
    }

    .wps-dev-button {
        width: 100%;
    }
}
