.zsgt-card {
    padding: clamp(14px, 2vw, 22px);
    border: 1px solid #ded4ca;
    border-radius: 14px;
    background: #fffdfb;
    color: #002330;
    font-family: Modam, Tahoma, sans-serif;
    line-height: 1.75;
}

.zsgt-card h2 {
    margin: 0 0 12px;
    color: #002330;
    font-size: 17px;
    font-weight: 700;
}

.zsgt-board { background: #f8f2e9; }
.zsgt-board dl, .zsgt-board dd { margin: 0; }

.zsgt-board dl > div {
    padding: 9px 0;
    border-top: 1px solid #ded4ca;
}

.zsgt-board dt { font-size: 12px; }
.zsgt-board dd strong { margin-inline-end: 5px; font-size: clamp(16px, 2vw, 22px); }
.zsgt-board small, .zsgt-calculator p { color: #42616a; font-size: 11px; }
.zsgt-board a { display: inline-block; color: #174a56; font-size: 12px; font-weight: 700; }

.zsgt-calculator label {
    display: block;
    margin-block: 8px;
    color: inherit;
    font-size: 12px;
}

.zsgt-calculator input, .zsgt-calculator select {
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    margin-top: 3px;
    padding: 7px 9px;
    border: 1px solid #c9bcb0;
    border-radius: 7px;
    background: #fff;
    color: #002330;
    font: inherit;
    font-size: 16px;
}

.zsgt-calculator p { margin: 4px 0 0; }
.zsgt-card :is(a, input, select):focus-visible { outline: 2px solid #174a56; outline-offset: 2px; }

@media (max-width: 767px) {
    #home #sidebar:has(.default-sidebar .zsgt-card) {
        display: block !important;
        float: none;
        width: 100%;
    }

    #home #sidebar:has(.default-sidebar .zsgt-card) .default-sidebar {
        display: block !important;
    }

    #home #sidebar .default-sidebar:has(.zsgt-card) > .widget:not(:has(.zsgt-card)) {
        display: none;
    }

    #home #sidebar .widget:has(.zsgt-card) {
        margin-block: 12px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    #header .menu-wrapper .logo > a:has(img) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        direction: rtl;
    }

    #header .menu-wrapper .logo > a:has(img) > img {
        width: 34px;
        height: 32px;
        object-fit: contain;
        margin: 0;
    }

    #header .menu-wrapper .logo > a:has(img)::after {
        content: "";
        display: block;
        flex: 0 0 77px;
        width: 77px;
        height: 25px;
        background: url("logotype.png") center / contain no-repeat;
    }
}
