.dri-page-shortcode {
    margin: 32px 0;
}

.dri-page-shortcode__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 56px;
    align-items: start;
}

.dri-page-shortcode__card {
    text-align: center;
}

.dri-page-shortcode__image-link {
    display: inline-flex;
    width: min(230px, 100%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f1f1;
    box-shadow: 0 16px 40px rgba(20, 20, 20, 0.08);
}

.dri-page-shortcode__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.dri-page-shortcode__card:hover .dri-page-shortcode__image {
    transform: scale(1.04);
}

.dri-page-shortcode__title {
    margin: 28px auto 0;
    max-width: 320px;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 600;
    color: #2f2f2f;
}

.dri-page-shortcode__title a {
    color: inherit;
}

.dri-page-shortcode__title a:hover {
    color: #9f7c31;
}

.dri-page-shortcode__actions {
    margin-top: 30px;
}

.dri-page-shortcode__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 52px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #ececec;
    color: #6e6e6e;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.dri-page-shortcode__button:hover {
    background: #d8d8d8;
    color: #303030;
    transform: translateY(-1px);
}

.dri-page-shortcode__error {
    padding: 18px 20px;
    border: 1px solid rgba(179, 35, 24, 0.18);
    border-radius: 12px;
    background: #fff6f4;
    color: #b32318;
    font-size: 18px;
}

@media (max-width: 1199px) {
    .dri-page-shortcode__title {
        font-size: 28px;
    }

    .dri-page-shortcode__button {
        font-size: 21px;
    }
}

@media (max-width: 991px) {
    .dri-page-shortcode__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }

    .dri-page-shortcode__image-link {
        width: min(210px, 100%);
    }
}

@media (max-width: 575px) {
    .dri-page-shortcode__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dri-page-shortcode__title {
        max-width: 100%;
        font-size: 24px;
    }

    .dri-page-shortcode__button {
        min-width: 132px;
        min-height: 48px;
        font-size: 18px;
    }
}
