.sd {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 35px 0 50px;
    color: #173d28;
}

.sd, .sd * {
    box-sizing: border-box;
}

.sd-narrow {
    max-width: 780px;
}

.sd h1 {
    margin: 20px 0;
    font-size: 29px;
    line-height: 1.3;
    color: #173d28;
}

.sd h2 {
    margin: 10px 0;
    font-size: 21px;
    line-height: 1.3;
    color: #173d28;
}

.sd a {
    color: #205d3c;
}

.sd a:focus-visible,
.sd button:focus-visible,
.sd input:focus-visible,
.sd select:focus-visible,
.sd textarea:focus-visible,
.sd summary:focus-visible {
    outline: 3px solid #bb7629;
    outline-offset: 4px;
}

.sd-search {
    display: flex;
    gap: 9px;
    padding: 7px;
    margin-bottom: 25px;
    border: 1px solid #cbd9c3;
    border-radius: 15px;
    background: white;
}

.sd .sd-search input {
    min-width: 0;
    margin: 0;
    border: 0;
    background: transparent;
}

.sd .sd-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: #20583b;
    color: white;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.sd-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sd-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d9e2d2;
    border-radius: 19px;
    background: white;
}

.sd-photo,
.sd-placeholder {
    display: block;
    width: 100%;
    height: 205px;
    object-fit: cover;
    object-position: center 30%;
    background: #e6eddf;
}

.sd-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #153e2d, #526a35);
    color: #e2eccf;
    font-size: 55px;
}

.sd-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.sd-category {
    color: #61724f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sd p {
    color: #58694f;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.sd details {
    margin: 0 0 20px;
    font-size: 13px;
}

.sd summary {
    color: #20583b;
    cursor: pointer;
}

.sd-card .sd-button {
    align-self: flex-start;
    margin-top: auto;
}

.sd .sd-note {
    color: #637259;
    font-size: 12px;
    line-height: 1.7;
}

.sd-panel {
    padding: 24px;
    margin: 20px 0;
    border: 1px solid #d9e2d2;
    border-radius: 17px;
    background: white;
}

.sd label {
    display: block;
    margin-bottom: 17px;
    font-size: 13px;
    font-weight: 700;
}

.sd input:not([type=checkbox]),
.sd textarea,
.sd select {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 7px;
    border: 1px solid #c6d2bd;
    border-radius: 9px;
    background: #fafcf7;
    color: #173d28;
    font: inherit;
    font-size: 16px;
}

.sd textarea {
    min-height: 100px;
    resize: vertical;
}

.sd .sd-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 400;
    line-height: 1.7;
}

.sd-check input {
    margin-top: 5px;
}

.sd-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.sd-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.sd-alert {
    padding: 17px;
    border: 1px solid #c5d6bb;
    border-radius: 10px;
    background: #eef4e7;
}

.sd-table {
    overflow-x: auto;
}

.sd table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.sd td,
.sd th {
    padding: 14px 9px;
    border-bottom: 1px solid #e2e9dc;
    text-align: left;
    vertical-align: top;
}

.sd-thumb {
    width: 120px;
    height: 100px;
    border-radius: 9px;
    object-fit: cover;
}

.sd-sr,
.sd-honey {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 850px) {
    .sd-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .sd {
        padding-top: 25px;
    }

    .sd-grid,
    .sd-two {
        grid-template-columns: 1fr;
    }

    .sd-photo,
    .sd-placeholder {
        height: 220px;
    }

    .sd-panel {
        padding: 20px;
    }
}