.chiw {
    --chiw-green: #2f8a43;
    --chiw-green-dark: #277038;
    --chiw-blue: #15358d;
    --chiw-blue-deep: #243b79;
    --chiw-text: #344a84;
    --chiw-muted: #4e6298;
    --chiw-border: #d9e0ef;
    --chiw-panel: #e3e8ed;
    --chiw-shadow: 0 4px 12px rgba(35, 57, 115, 0.05);
    color: var(--chiw-text);
    font-family: Arial, Helvetica, sans-serif;
    padding: 48px 18px;
}

.chiw,
.chiw *,
.chiw *::before,
.chiw *::after {
    box-sizing: border-box;
}

.chiw h2,
.chiw h3,
.chiw p{
	padding-top:20px;
}
.chiw h2,
.chiw h3,
.chiw p,
.chiw ul,
.chiw li {
    margin-block-start: 0;
    margin-block-end: 0;
}

.chiw img {
    max-width: none;
    border: 0;
}

.chiw a {
    text-decoration: none;
}

.chiw .bi {
    display: inline-block;
    line-height: 1;
    font-style: normal;
}

.chiw-card__description a,
.chiw-card__list a,
.chiw-card__footnote a,
.chiw-promo__text a,
.chiw-cta__text a {
    color: var(--chiw-blue);
    font-weight: 700;
    text-decoration: none;
}

.chiw-card__description a:hover,
.chiw-card__description a:focus,
.chiw-card__list a:hover,
.chiw-card__list a:focus,
.chiw-card__footnote a:hover,
.chiw-card__footnote a:focus,
.chiw-promo__text a:hover,
.chiw-promo__text a:focus,
.chiw-cta__text a:hover,
.chiw-cta__text a:focus {
    text-decoration: underline;
}

.chiw__inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 0 0;
    background: transparent;
}

.chiw__header {
    text-align: center;
    margin-bottom: 48px;
}

.chiw__title {
    margin: 0;
    color: var(--chiw-blue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    font-weight: 700;
    text-align: center;
    text-wrap: balance;
}

.chiw__ornament {
    position: relative;
    width: 78px;
    height: 18px;
    margin: 6px auto 12px;
}

.chiw__ornament::before,
.chiw__ornament::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 24px;
    border-top: 1.5px solid #8bb494;
    transform: translateY(-50%);
}

.chiw__ornament::before {
    left: 0;
}

.chiw__ornament::after {
    right: 0;
}

.chiw__ornament {
    background:
        linear-gradient(45deg, transparent 45%, #348b43 45% 55%, transparent 55%) center/12px 12px no-repeat,
        linear-gradient(-45deg, transparent 45%, #348b43 45% 55%, transparent 55%) center/12px 12px no-repeat;
}

.chiw__subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: var(--chiw-blue-deep);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
    text-wrap: pretty;
}

.chiw__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.chiw-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 18px 18px;
    border: 1px solid var(--chiw-border);
    border-radius: 14px;
    box-shadow: var(--chiw-shadow);
    background: rgba(255, 255, 255, 0.72);
    min-height: 480px;
	margin-bottom: 20px;
}

.chiw-card--upload {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.chiw-card--review {
    background: linear-gradient(180deg, #f9fbff 0%, #f1f5fb 100%);
}

.chiw-card--investigation {
    background: linear-gradient(180deg, #fffef8 0%, #f7f2df 100%);
}

.chiw-card--verification {
    background: linear-gradient(180deg, #fcfbff 0%, #f0eef8 100%);
}

.chiw-card--gallery {
    background: linear-gradient(180deg, #f8fbff 0%, #edf3fd 100%);
}

.chiw-card--linked::after {
    content: "";
    position: absolute;
    top: 118px;
    right: -22px;
    width: 28px;
    height: 10px;
    z-index: 3;
    background:
        radial-gradient(circle, #3d914a 0 1.5px, transparent 1.6px) left center/7px 7px repeat-x;
}

.chiw-card--linked::before {
    content: "";
    position: absolute;
    top: 115px;
    right: -34px;
    width: 12px;
    height: 18px;
    z-index: 3;
    background: #3d914a;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.chiw-card__number {
    position: absolute;
    top: -19px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #3f9247;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(52, 139, 67, 0.2);
}

.chiw-card__image {
    display: block;
    width: 120px;
    height: 120px;
    margin: 4px auto 14px;
    object-fit: contain;
    flex: 0 0 auto;
}

.chiw-card__title {
    margin: 0 0 12px;
    color: var(--chiw-blue-deep);
    text-align: center;
    font-size: 19px;
    line-height: 1.1;
    font-weight: 800;
    text-wrap: balance;
    position: relative;
    padding-bottom: 18px;
}

.chiw-card__title br {
    display: block;
}

.chiw-card__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    width: 96px;
    height: 3px;
    border-radius: 999px;
    background: #6a8fc7;
}

.chiw-card--upload .chiw-card__title::after,
.chiw-card--gallery .chiw-card__title::after {
    background: #5b95db;
}

.chiw-card--review .chiw-card__title::after {
    background: #5aa36a;
}

.chiw-card--investigation .chiw-card__title::after {
    background: #d7b347;
}

.chiw-card--verification .chiw-card__title::after {
    background: #8b69b7;
}

.chiw-card__description {
    margin: 0 0 16px;
    color: var(--chiw-text);
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
    text-wrap: pretty;
}

.chiw-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--chiw-text);
	padding-top:20px;
}

.chiw-card__list li {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: start;
    column-gap: 9px;
    position: relative;
    padding-left: 0;
    text-align: left;
}

.chiw-card__list li > .bi {
    margin-top: 1px;
    font-size: 14px;
    justify-self: center;
}

.chiw-card__list li > span {
    display: block;
    text-wrap: pretty;
}

.chiw-card--upload .chiw-card__list li > .bi {
    color: #4a76aa;
}

.chiw-card--review .chiw-card__list li > .bi,
.chiw-card--gallery .chiw-card__list li > .bi {
    color: #3f9149;
}

.chiw-card--verification .chiw-card__list li > .bi {
    color: #8358b1;
}

.chiw-card__tags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
    margin-top: 10px;
}

.chiw-card__tags span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #624d07;
}

.chiw-card__tags .bi {
    font-size: 18px;
    color: #aa871a;
}

.chiw-card__tags strong {
    font-size: 11px;
    line-height: 1.15;
    font-weight: 700;
}

.chiw-card__footnote {
    margin: auto 0 0;
    padding-top: 12px;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
    color: var(--chiw-text);
    text-wrap: pretty;
}

.chiw__footer {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
    gap: 0;
    margin-top: 16px;
    border: 1px solid var(--chiw-border);
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #edf3fb 100%);
    overflow: hidden;
}

.chiw-promo,
.chiw-cta {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: transparent;
}

.chiw-promo {
    border-right: 1px solid var(--chiw-border);
}

.chiw-promo__icon {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
}

.chiw-cta__icon {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
}

.chiw-promo__title,
.chiw-cta__title {
    margin: 0 0 4px;
    color: var(--chiw-blue-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 700;
    text-wrap: balance;
}

.chiw-promo__text,
.chiw-cta__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--chiw-text);
    text-wrap: pretty;
}

.chiw-promo > div,
.chiw-cta__content {
    width: 100%;
}

.chiw-promo > div {
    text-align: left;
}

.chiw-cta__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    text-align: left;
}

.chiw-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(180deg, #53a561 0%, #348746 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(52, 135, 70, 0.2);
}

.chiw-cta__button:hover,
.chiw-cta__button:focus {
    background: linear-gradient(180deg, #61b06e 0%, #2e7b3f 100%);
    color: #fff;
}

@media (max-width: 1280px) {
    .chiw__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .chiw-card--linked::before,
    .chiw-card--linked::after {
        display: none;
    }

    .chiw-card {
        min-height: 430px;
    }

    .chiw__subtitle {
        font-size: 20px;
    }
}

@media (max-width: 1100px) {
    .chiw__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .chiw-card {
        min-height: 400px;
    }

    .chiw-card__description {
        font-size: 13px;
    }

    .chiw-card__list {
        font-size: 13px;
    }
}

@media (max-width: 820px) {
    .chiw__title {
        font-size: clamp(2.8rem, 7vw, 4rem);
    }

    .chiw__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chiw__subtitle {
        font-size: 18px;
    }

    .chiw-card {
        min-height: 0;
        padding: 26px 16px 18px;
    }

    .chiw-card__image {
        width: 108px;
        height: 108px;
    }

    .chiw-card__title {
        font-size: 18px;
        padding-bottom: 16px;
    }

    .chiw-card__description,
    .chiw-card__list,
    .chiw-card__footnote {
        font-size: 13px;
    }

    .chiw-card__title {
        min-height: 40px;
    }

    .chiw-promo__title,
    .chiw-cta__title {
        font-size: 21px;
    }

    .chiw-promo__text,
    .chiw-cta__text {
        font-size: 13px;
    }

    .chiw__footer {
        grid-template-columns: 1fr;
    }

    .chiw-promo {
        border-right: 0;
        border-bottom: 1px solid #dde4d3;
    }
}

@media (max-width: 520px) {
    .chiw {
        padding: 28px 12px;
    }

    .chiw__grid {
        grid-template-columns: 1fr;
    }

    .chiw__title {
        font-size: 2.7rem;
    }

    .chiw__subtitle {
        font-size: 15px;
    }

    .chiw__header {
        margin-bottom: 16px;
    }

    .chiw-card {
        min-height: 0;
        padding: 24px 16px 16px;
    }

    .chiw-card__image {
        width: 100px;
        height: 100px;
    }

    .chiw-card__title {
        font-size: 18px;
        min-height: 0;
        padding-bottom: 15px;
    }

    .chiw-card__description,
    .chiw-card__list,
    .chiw-card__footnote,
    .chiw-promo__text,
    .chiw-cta__text {
        font-size: 13px;
    }

    .chiw-card__list li {
        grid-template-columns: 15px minmax(0, 1fr);
        column-gap: 8px;
    }

    .chiw-card__list li > .bi {
        font-size: 13px;
    }

    .chiw-card__tags {
        gap: 10px 6px;
    }

    .chiw-card__tags .bi {
        font-size: 17px;
    }

    .chiw-promo__title,
    .chiw-cta__title {
        font-size: 20px;
    }

    .chiw-promo,
    .chiw-cta {
        flex-direction: column;
        text-align: center;
    }

    .chiw-promo > div,
    .chiw-cta__content {
        text-align: center;
    }

    .chiw-cta__content {
        align-items: center;
    }
}
