
.section-cards__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.section-card {
    width: 100%;
    margin-top: 24px;
    padding: 0;
    background: #efd7be;
    padding: 26px 22px 22px;
    border-left: 1px solid rgba(70, 50, 20, 0.12);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.section-card:first-child {
    border-left: none;
}

.section-card__title {
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #4a3a20;
    transform: scaleY(1.16);
    transform-origin: center;
}

.section-card__decor {
    font-size: 18px;
    opacity: 1;
}

.section-card__more {
    margin-top: auto;
    width: fit-content;
    display: block;
    align-self: center;
    padding: 10px 0 0;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #4a3a20;
    text-transform: uppercase;
    transform: scaleY(1.14);
    transform-origin: center;
}

.section-card__more:hover {
  text-decoration: underline;
  color: #4a3a20;
}

.news-card {
    display: grid;
    grid-template-columns: minmax(110px, 160px) 1fr; 1fr;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    background: transparent;
    border: none;
    padding: 0;
    align-items: flex-start;
}

.news-card__image {
    width: 100%;
    aspect-ratio: 160 / 110;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 140px;
    align-self: flex-start;
    height: 100%;
}

.news-card__date {
    font-size: 12px;
    line-height: 1.2;
    color: #7a6a4a;
    margin-bottom: 6px;
}

.news-card__heading {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.2;
    color: #3b2d18;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    transform: scaleY(1.12);
    transform-origin: center;
    text-decoration: none;
}

.news-card:hover .news-card__heading {
   text-decoration: underline;
   color: #4a3a20;
}

/*.news-card__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    color: #5f5137;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}*/

.masters-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.master-card {
    min-width: 0;
    text-align: center;
}

.master-card__image {
    aspect-ratio: 1 / 1.35;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #d8c3a8;
}

.master-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.master-card__name {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #3b2d18;
    margin-bottom: 6px;
    transform: scaleY(1.14);
    transform-origin: center;
}

.master-card__text {
    font-size: 12px;
    line-height: 1.35;
    color: #5f5137;
    transform: scaleY(1.12);
    transform-origin: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gallery-grid__item {
    display: block;
    aspect-ratio: 5 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #d8c3a8;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.order-item {
    display: grid;
    grid-template-columns: 34px 34px 1fr;
    gap: 12px;
    align-items: start;
    margin: 7px;
}

.order-item__num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #B85458;
    color: #efe3cf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.order-item__image {
    width: 34px;
    height: 34px;
    overflow: hidden;
    background: transparent;
    flex-shrink: 0;
}

.order-item__image img {
    width: 95%;
    height: 95%;
    object-fit: cover;
    display: block;
}

.order-item__body {
    min-width: 0;
}

.order-item__title {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    color: #3b2d18;
    margin-bottom: 4px;
    transform: scaleY(1.16);
    transform-origin: center;
}

.order-item__text {
    font-size: 13px;
    line-height: 1.35;
    color: #5f5137;
    transform: scaleY(1.14);
    transform-origin: center;
}

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

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

    .section-card {
        border-left: none;
        border-top: 1px solid rgba(70, 50, 20, 0.12);
    }

    .section-card:first-child {
        border-top: none;
    }
}