.izh-widget {
    --izh-navy: #0e2446;
    --izh-gold: #b7771f;
    --izh-line: #ead4b8;
    --izh-paper: #fffaf2;
    --izh-soft: #f8efe2;
    color: var(--izh-navy);
    font-family: Georgia, "Times New Roman", serif;
    margin: 32px auto;
    max-width: 1380px;
}

.izh-widget * {
    box-sizing: border-box;
}

.izh-heading {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 8px;
}

.izh-heading__line {
    background: var(--izh-gold);
    display: block;
    height: 1px;
    width: min(170px, 28vw);
}

.izh-heading__star {
    color: var(--izh-gold);
    font-size: 18px;
    line-height: 1;
}

.izh-tabs {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(12, minmax(82px, 1fr));
    margin-bottom: 34px;
    overflow-x: auto;
    padding: 2px 2px 10px;
}

.izh-tab {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--izh-navy);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font: inherit;
    gap: 10px;
    min-height: 132px;
    min-width: 112px;
    padding: 18px 10px 16px;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.izh-tab:hover,
.izh-tab:focus-visible {
    border-color: rgba(183, 119, 31, 0.42);
    outline: 0;
}

.izh-tab.is-active {
    background: linear-gradient(180deg, #0b2345 0%, #061831 100%);
    border-color: var(--izh-gold);
    box-shadow: 0 10px 24px rgba(14, 36, 70, 0.18);
    color: #fffaf2;
}

.izh-tab__icon {
    color: var(--izh-gold);
    font-family: "Segoe UI Symbol", "Apple Color Emoji", sans-serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
}

.izh-sign-image {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.izh-sign-image--tab {
    height: 58px;
    width: 58px;
}

.izh-tab__name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: normal;
    text-align: center;
    white-space: nowrap;
}

.izh-panels {
    border: 1px solid var(--izh-line);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(75, 51, 19, 0.12);
    overflow: hidden;
}

.izh-panel {
    align-items: stretch;
    background: rgba(255, 250, 242, 0.78);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(190px, 0.85fr) minmax(260px, 1.4fr) minmax(250px, 1fr);
    min-height: 330px;
    padding: 36px 48px;
}

.izh-panel[hidden] {
    display: none;
}

.izh-panel__icon,
.izh-panel__content,
.izh-ratings {
    min-width: 0;
}

.izh-panel__icon {
    align-items: center;
    border-right: 1px solid var(--izh-line);
    display: flex;
    justify-content: center;
    padding-right: 28px;
}

.izh-panel__icon span {
    align-items: center;
    border: 1px solid rgba(183, 119, 31, 0.35);
    border-radius: 50%;
    color: var(--izh-gold);
    display: flex;
    font-family: "Segoe UI Symbol", "Apple Color Emoji", sans-serif;
    font-size: clamp(108px, 12vw, 170px);
    height: min(250px, 30vw);
    justify-content: center;
    line-height: 1;
    min-height: 176px;
    min-width: 176px;
    width: min(250px, 30vw);
}

.izh-panel__icon span:has(.izh-sign-image) {
    padding: 24px;
}

.izh-sign-image--panel {
    max-height: 100%;
    max-width: 100%;
}

.izh-panel__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.izh-panel__content h3 {
    color: var(--izh-navy);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    margin: 0 0 12px;
}

.izh-panel__date {
    color: var(--izh-navy);
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 18px;
}

.izh-panel__content p:not(.izh-panel__date) {
    color: var(--izh-navy);
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1.65;
    margin: 0;
}

.izh-panel__link {
    align-items: center;
    align-self: center;
    border: 1px solid var(--izh-gold);
    border-radius: 6px;
    color: var(--izh-gold);
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    gap: 28px;
    justify-content: center;
    margin-top: 32px;
    min-height: 58px;
    min-width: min(100%, 360px);
    padding: 14px 24px;
    text-decoration: none;
}

.izh-ratings {
    border-left: 1px solid var(--izh-line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding-left: 48px;
}

.izh-rating {
    align-items: center;
    border-bottom: 1px solid var(--izh-line);
    display: grid;
    gap: 18px;
    grid-template-columns: 115px 1fr;
    padding: 18px 0;
}

.izh-rating:last-child {
    border-bottom: 0;
}

.izh-rating dt {
    font-size: 24px;
    font-weight: 700;
}

.izh-rating dd {
    color: rgba(183, 119, 31, 0.45);
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 32px;
    gap: 9px;
    line-height: 1;
    margin: 0;
}

.izh-rating span.is-filled {
    color: var(--izh-gold);
}

.izh-sign-page {
    --izh-navy: #0e2446;
    --izh-gold: #b7771f;
    --izh-line: #ead4b8;
    color: var(--izh-navy);
    font-family: Georgia, "Times New Roman", serif;
    margin: 32px auto;
    max-width: 1120px;
}

.izh-sign-page * {
    box-sizing: border-box;
}

.izh-sign-page__header {
    align-items: center;
    background: linear-gradient(135deg, #0e2446 0%, #18345c 100%);
    border: 1px solid rgba(183, 119, 31, 0.4);
    border-radius: 8px;
    color: #fffaf2;
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
    padding: 34px 40px;
}

.izh-sign-page__symbol {
    align-items: center;
    border: 1px solid rgba(255, 250, 242, 0.35);
    border-radius: 50%;
    color: var(--izh-gold);
    display: flex;
    flex: 0 0 118px;
    font-family: "Segoe UI Symbol", "Apple Color Emoji", sans-serif;
    font-size: 78px;
    height: 118px;
    justify-content: center;
    line-height: 1;
    width: 118px;
}

.izh-sign-page__symbol:has(.izh-sign-image) {
    padding: 14px;
}

.izh-sign-image--page {
    max-height: 100%;
    max-width: 100%;
}

.izh-sign-page__eyebrow {
    color: #e6c99f;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.izh-sign-page h1 {
    color: #fffaf2;
    font-size: clamp(44px, 6vw, 78px);
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
}

.izh-sign-page__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
}

.izh-sign-page__description,
.izh-sign-page__score {
    background: rgba(255, 250, 242, 0.78);
    border: 1px solid var(--izh-line);
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(75, 51, 19, 0.1);
    padding: 32px;
}

.izh-sign-page h2 {
    color: var(--izh-navy);
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 18px;
}

.izh-sign-page__description p {
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1.75;
    margin: 0;
}

.izh-detail-ratings {
    margin: 0;
    min-width: 0;
}

.izh-detail-ratings .izh-rating {
    gap: 12px;
    grid-template-columns: 104px minmax(118px, 1fr);
}

.izh-detail-ratings .izh-rating dt {
    font-size: 21px;
}

.izh-detail-ratings .izh-rating dd {
    flex-wrap: wrap;
    font-size: clamp(20px, 1.85vw, 25px);
    gap: 3px;
    justify-content: flex-end;
    min-width: 0;
    overflow: visible;
}

@media (max-width: 1100px) {
    .izh-tabs {
        grid-template-columns: repeat(12, 104px);
    }

    .izh-panel {
        grid-template-columns: 180px 1fr;
    }

    .izh-ratings {
        border-left: 0;
        border-top: 1px solid var(--izh-line);
        grid-column: 1 / -1;
        padding-left: 0;
    }
}

@media (max-width: 720px) {
    .izh-widget {
        margin: 24px auto;
    }

    .izh-panel {
        gap: 24px;
        grid-template-columns: 1fr;
        padding: 26px 20px;
    }

    .izh-panel__icon {
        border-right: 0;
        padding-right: 0;
    }

    .izh-panel__icon span {
        height: 170px;
        min-height: 170px;
        min-width: 170px;
        width: 170px;
    }

    .izh-panel__content h3,
    .izh-panel__date,
    .izh-panel__content p {
        text-align: center;
    }

    .izh-panel__content p:not(.izh-panel__date) {
        font-size: 17px;
    }

    .izh-ratings {
        padding-top: 6px;
    }

    .izh-rating {
        grid-template-columns: 96px 1fr;
    }

    .izh-rating dt {
        font-size: 20px;
    }

    .izh-rating dd {
        font-size: 25px;
        gap: 5px;
    }

    .izh-sign-page__header {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 22px;
    }

    .izh-sign-page__symbol {
        flex-basis: 96px;
        font-size: 62px;
        height: 96px;
        width: 96px;
    }

    .izh-sign-page__grid {
        grid-template-columns: 1fr;
    }

    .izh-sign-page__description,
    .izh-sign-page__score {
        padding: 24px 20px;
    }

    .izh-detail-ratings .izh-rating {
        grid-template-columns: 92px minmax(108px, 1fr);
    }

    .izh-detail-ratings .izh-rating dt {
        font-size: 18px;
    }

    .izh-detail-ratings .izh-rating dd {
        font-size: clamp(18px, 5.8vw, 22px);
        gap: 2px;
    }

    .izh-sign-page__description p {
        font-size: 17px;
    }
}

@media (max-width: 420px) {
    .izh-detail-ratings .izh-rating {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .izh-detail-ratings .izh-rating dd {
        justify-content: flex-start;
    }
}
