.kcm-top,
.kcm-list,
.kcm-detail,
.kcm-author-card {
    box-sizing: border-box;
    color: #25231f;
    font-family: "筑紫A丸ゴシック", "Tsukushi A Round Gothic", "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    letter-spacing: 0;
}

.kcm-top *,
.kcm-list *,
.kcm-detail *,
.kcm-author-card * {
    box-sizing: border-box;
    font-family: inherit;
}

.kcm-top .fa-solid,
.kcm-list .fa-solid,
.kcm-detail .fa-solid,
.kcm-author-card .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.kcm-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 0 20px;
    padding: 5px 18px;
    border-radius: 999px;
    background: #fff3d8;
    color: #c68823;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
}

.kcm-top {
    background:
        radial-gradient(circle at 5% 0%, rgba(180, 130, 60, 0.18) 0%, rgba(180, 130, 60, 0) 42%),
        radial-gradient(circle at 100% 100%, rgba(232, 185, 160, 0.34) 0%, rgba(232, 185, 160, 0) 36%),
        linear-gradient(180deg, #FDF7EE 0%, #F5EBE0 50%, #EDE0CF 100%);
    padding: 72px 0 84px;
}

.kcm-top__inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.kcm-top__title {
    margin: 0 0 12px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.45;
}

.kcm-top__lead {
    margin: 0 0 30px;
    color: #817b70;
    font-size: 15px;
    line-height: 1.9;
}

.kcm-top__viewport {
    overflow: hidden;
}

.kcm-top__grid,
.kcm-list__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.kcm-top__grid--count-1 {
    width: min(360px, 100%);
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.kcm-top__grid--count-2 {
    width: min(760px, 100%);
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kcm-top__grid--carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.kcm-top__grid--carousel::-webkit-scrollbar {
    display: none;
}

.kcm-top__grid--carousel .kcm-card {
    flex: 0 0 calc((100% - 56px) / 3);
    scroll-snap-align: start;
}

.kcm-top__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(316px, 100%);
    min-height: 62px;
    margin: 0 auto 42px;
    border: 2px solid #f2a13a;
    border-radius: 999px;
    background: rgba(255, 252, 246, 0.72);
    color: #f39800;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(180, 130, 60, 0.12);
    text-decoration: none;
}

.kcm-top__button:visited {
    color: #f39800;
}

.kcm-top__button:hover,
.kcm-top__button:focus {
    background: #fff8e8;
    border-color: #f39800;
    color: #e78300;
    text-decoration: none;
}

.kcm-top__note {
    margin: 30px 0 28px;
    color: #7f7469;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.9;
    text-align: center;
}

.kcm-top__consult {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 86px;
    margin-top: 0;
    padding: 24px 40px;
    border-radius: 14px;
    background: #3679ad;
    color: #fff;
}

.kcm-top__consult-main {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.kcm-top__consult-icon {
    position: relative;
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
}

.kcm-top__consult-icon::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 15px;
    width: 18px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.kcm-top__consult-icon::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 29px;
    width: 8px;
    height: 7px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: skew(-18deg);
}

.kcm-top__consult h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.45;
}

.kcm-top__consult p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    line-height: 1.8;
}

.kcm-top__consult a,
.kcm-top__consult a:visited {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 30px;
    border-radius: 999px;
    background: #fff;
    color: #3679ad;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.kcm-top__consult a:hover,
.kcm-top__consult a:focus {
    background: #f3f8fc;
    color: #286895;
    text-decoration: none;
}

.kcm-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border-radius: 8px;
    background: #fffdfa;
    box-shadow: 0 16px 36px rgba(45, 39, 27, 0.12);
}

.kcm-card__visual {
    position: relative;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #efeee7;
}

.kcm-card__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.kcm-card__role {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff3d8;
    color: #d89520;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.kcm-card__role--ambassador {
    width: 42px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 0;
    background: url("../images/care-managers/ambassador-badge.png") center / contain no-repeat;
    color: transparent;
    overflow: hidden;
    text-indent: -999px;
}

.kcm-avatar {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e4dfd4;
    color: #635d52;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.kcm-avatar--large {
    width: 176px;
    height: 176px;
    font-size: 48px;
    color: #da961d;
    background: #fff1d4;
}

.kcm-card__visual .kcm-avatar {
    width: 88px;
    height: 88px;
}

.kcm-card__visual .kcm-avatar--image {
    width: 100%;
    height: 190px;
    border-radius: 0;
}

.kcm-avatar--large.kcm-avatar--image {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.kcm-avatar--image {
    overflow: hidden;
    padding: 0;
}

.kcm-avatar--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kcm-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 254px;
    padding: 24px;
}

.kcm-card__headline {
    margin: 0 0 12px;
    color: #7f786e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
}

.kcm-card__name {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.kcm-card__organization {
    margin: 0 0 6px;
    color: #2d2924;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.7;
}

.kcm-card__meta {
    margin: 0 0 18px;
    color: #625e56;
    font-size: 12px;
    line-height: 1.7;
}

.kcm-card__meta i {
    margin-right: 6px;
    color: #d14f7d;
}

.kcm-card__badges,
.kcm-detail__badges,
.kcm-author-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kcm-card__badges {
    align-content: flex-start;
    min-height: 28px;
    max-height: 28px;
    overflow: hidden;
}

.kcm-card__badges.is-expanded {
    max-height: 76px;
    overflow-y: auto;
    padding-right: 2px;
}

.kcm-card__badges:not(.is-expanded) .kcm-badge--extra {
    display: none;
}

.kcm-top .kcm-card__badges {
    min-height: 31px;
    max-height: none;
    overflow: visible;
    margin-bottom: 16px;
}

.kcm-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #20201d;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 16px;
    white-space: nowrap;
}

.kcm-top .kcm-badge {
    gap: 0;
    min-height: 31px;
    padding: 5px 13px;
    border: 1px solid #d8b696;
    background: #fff;
    color: #4a3425;
    font-size: 12px;
    font-weight: 700;
}

.kcm-top .kcm-badge i {
    display: none;
}

.kcm-top .kcm-badge-more {
    min-height: 31px;
    border-color: #d8b696;
    background: #fff;
    color: #4a3425;
}

.kcm-badge-more {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 12px;
    border: 1px solid #f2c2d4;
    border-radius: 999px;
    background: #fff4f8;
    color: #d14f7d;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    line-height: 16px;
    white-space: nowrap;
}

.kcm-card__badges.is-expanded .kcm-badge-more {
    display: none;
}

.kcm-badge--lecture,
.kcm-badge--interview,
.kcm-badge--writing,
.kcm-badge--consult {
    background: #1f1f1c;
}

.kcm-list .kcm-badge,
.kcm-detail .kcm-badge,
.kcm-author-card .kcm-badge {
    background: #e85286;
}

.kcm-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #ebe4d6;
}

.kcm-card__article-row {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.kcm-card__link {
    color: #bd7d1c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.kcm-top .kcm-card__link,
.kcm-top .kcm-card__link:visited {
    color: #f39800;
}

.kcm-top .kcm-card__link:hover,
.kcm-top .kcm-card__link:focus {
    color: #e78300;
    text-decoration: none;
}

.kcm-card__articles {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff2d8;
    color: #d49520;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.kcm-top .kcm-card__articles--badge {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 5px 13px;
    border: 1px solid #f07a3f;
    border-radius: 999px;
    background: #fff;
    color: #f07a3f;
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
}

.kcm-list {
    background: #fff;
    padding-bottom: 64px;
}

.kcm-list.is-loading .kcm-list__grid {
    opacity: 0.55;
    pointer-events: none;
}

.kcm-list__hero {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.kcm-list__hero--image {
    background-image: var(--kcm-list-hero-bg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: min(980px, 72vw) auto;
}

.kcm-list__hero::before,
.kcm-list__hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 170px;
    border-radius: 48% 52% 56% 44%;
    background: rgba(240, 143, 81, 0.32);
    transform: rotate(-15deg);
}

.kcm-list__hero::before {
    top: 30px;
    left: 45%;
}

.kcm-list__hero::after {
    top: 58px;
    right: 9%;
    background: rgba(240, 100, 124, 0.24);
}

.kcm-list__hero--image::before,
.kcm-list__hero--image::after {
    content: none;
}

.kcm-list__hero-inner {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 40px));
    min-height: 250px;
    margin: 0 auto;
    padding: 48px 0 76px;
}

.kcm-list__crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    color: #918a7d;
    font-size: 12px;
}

.kcm-list__crumb a,
.kcm-detail__breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.kcm-detail .kcm-detail__breadcrumb a,
.kcm-detail .kcm-detail__breadcrumb a:visited {
    color: #918a7d;
    text-decoration: none;
}

.kcm-list__crumb a:hover,
.kcm-list__crumb a:focus,
.kcm-detail__breadcrumb a:hover,
.kcm-detail__breadcrumb a:focus,
.kcm-detail .kcm-detail__breadcrumb a:hover,
.kcm-detail .kcm-detail__breadcrumb a:focus {
    color: #d99520;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.kcm-list__title {
    margin: 0 0 12px;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.35;
}

.kcm-list__lead {
    max-width: calc(100% - 180px);
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

.kcm-list__count {
    position: absolute;
    top: 44px;
    right: 0;
    width: 132px;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(45, 39, 27, 0.12);
    text-align: center;
}

.kcm-list__count strong {
    color: #d79a31;
    font-size: 26px;
    line-height: 1.2;
}

.kcm-list__count span {
    color: #756f65;
    font-size: 11px;
    font-weight: 700;
}

.kcm-filter {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 40px));
    margin: -46px auto 46px;
    padding: 18px 28px 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(45, 39, 27, 0.14);
}

.kcm-filter__bar {
    align-items: center;
    display: flex;
    gap: 10px;
    padding: 0 0 16px;
    border-bottom: 1px solid #efe9dc;
    color: #24211d;
    font-size: 14px;
    font-weight: 800;
}

.kcm-filter__bar strong {
    align-items: center;
    background: #c9871b;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    height: 22px;
    justify-content: center;
    min-width: 22px;
    padding: 0 7px;
}

.kcm-filter__bar button {
    margin-left: auto;
}

.kcm-filter__row {
    display: grid;
    gap: 12px;
    grid-template-columns: 112px minmax(0, 1fr);
    min-width: 0;
    padding: 16px 0;
    border-bottom: 1px solid #efe9dc;
}

.kcm-filter__row:last-of-type {
    border-bottom: 1px solid #efe9dc;
}

.kcm-filter__heading {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    min-width: 0;
}

.kcm-filter__label {
    background: #f7f1e8;
    border-radius: 999px;
    color: #6f695f;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 8px 14px;
    white-space: nowrap;
}

.kcm-filter__selected {
    color: #f19919;
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kcm-filter__chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding-right: 6px;
}

.kcm-filter__row.is-expanded .kcm-filter__chips {
    flex-wrap: wrap;
    overflow: visible;
}

.kcm-filter button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 17px;
    border: 1px solid #ddd7cb;
    border-radius: 999px;
    background: #fff;
    color: #58534b;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.kcm-filter button:not(.is-active):hover,
.kcm-filter button:not(.is-active):focus {
    border-color: #ddd7cb;
    background: #fff;
    color: #58534b;
    box-shadow: none;
    outline: none;
}

.kcm-filter button.is-active {
    border-color: #ee9d22;
    background: #f6a51e;
    color: #fff;
    box-shadow: 0 6px 14px rgba(222, 137, 16, 0.22);
}

.kcm-filter button.is-active:hover,
.kcm-filter button.is-active:focus {
    border-color: #ee9d22;
    background: #f6a51e;
    color: #fff;
    box-shadow: 0 6px 14px rgba(222, 137, 16, 0.22);
    outline: none;
}

.kcm-filter__row:not(.is-expanded) .kcm-filter__chip-extra {
    display: none;
}

.kcm-filter__toggle[hidden] {
    display: none;
}

.kcm-filter .kcm-filter__toggle {
    border-color: #f3c276;
    background: #fff9ec;
    color: #e79517;
    margin-left: auto;
    min-width: 88px;
}

.kcm-filter__row.is-expanded .kcm-filter__toggle {
    border-color: #e0d7ca;
    background: #f7f1e8;
    color: #6f695f;
}

.kcm-filter__summary {
    margin-top: 12px;
    text-align: right;
    color: #80786b;
    font-size: 13px;
    font-weight: 700;
}

.kcm-list__grid {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.kcm-card--list {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(58, 45, 28, 0.08);
    min-height: 405px;
}

.kcm-card--list .kcm-card__visual {
    min-height: 184px;
    background: #f2f0e8;
}

.kcm-card--list .kcm-card__visual::after {
    display: none;
}

.kcm-card--list .kcm-card__role {
    top: 26px;
    right: 28px;
    min-height: 22px;
    padding: 4px 13px;
    background: #fff6dc;
    color: #e09a18;
    font-size: 10px;
}

.kcm-card--list .kcm-card__role--ambassador {
    top: 16px;
    width: 42px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 0;
    background: url("../images/care-managers/ambassador-badge.png") center / contain no-repeat;
    color: transparent;
}

.kcm-card--list .kcm-card__visual .kcm-avatar {
    width: 78px;
    height: 78px;
    background: #cfcfcd;
    color: #68635c;
    font-size: 27px;
}

.kcm-card--list .kcm-card__visual .kcm-avatar--image {
    width: 100%;
    height: 184px;
    border-radius: 0;
}

.kcm-card--list .kcm-card__body {
    min-height: 220px;
    padding: 23px 24px 22px;
}

.kcm-card--list .kcm-card__headline {
    margin-bottom: 10px;
    color: #7d766e;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kcm-card--list .kcm-card__name {
    margin-bottom: 6px;
    color: #201d19;
    font-size: 20px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kcm-card--list .kcm-card__organization,
.kcm-card--list .kcm-card__meta {
    color: #4b453e;
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kcm-card--list .kcm-card__meta {
    margin-bottom: 18px;
}

.kcm-card--list .kcm-card__meta i {
    display: none;
}

.kcm-card--list .kcm-card__badges {
    min-height: 30px;
    max-height: 30px;
    gap: 8px;
}

.kcm-card--list .kcm-badge {
    min-width: 86px;
    min-height: 30px;
    justify-content: center;
    border: 1px solid #e85286;
    background: #fff;
    color: #2c2823;
    font-size: 11px;
}

.kcm-card--list .kcm-badge i {
    display: inline-block;
    color: #2c2823;
}

.kcm-card--list .kcm-badge-more {
    min-height: 30px;
    border-color: #e85286;
    background: #fff;
    color: #e85286;
}

.kcm-card--list .kcm-card__footer {
    margin-top: 18px;
    padding-top: 17px;
}

.kcm-card--list .kcm-card__link {
    color: #ef9817;
}

.kcm-card--list .kcm-card__articles {
    background: #fff2d8;
    color: #d89720;
}

.kcm-list__empty {
    width: min(1120px, calc(100% - 40px));
    min-height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #e2d7c6;
    border-radius: 10px;
    background: #fffdf8;
    color: #9b9285;
    font-size: 14px;
    font-weight: 800;
}

.kcm-list__empty[hidden] {
    display: none;
}

.kcm-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 36px auto 0;
}

.kcm-pagination button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3dccf;
    border-radius: 8px;
    background: #fff;
    color: #5d554a;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
}

.kcm-pagination button.is-active {
    border-color: #f0a020;
    background: #f0a020;
    color: #fff;
}

.kcm-pagination button:disabled {
    cursor: default;
    opacity: 0.45;
}

.kcm-pagination[hidden] {
    display: none;
}

.kcm-detail {
    background: #fff;
    padding: 0;
}

.kcm-detail__breadcrumb,
.kcm-detail__hero,
.kcm-detail__section,
.kcm-detail__bottom-cta {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.kcm-detail__breadcrumb-wrap {
    border-bottom: 1px solid #e7dfcf;
    background: #fff;
}

.kcm-detail__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0;
    color: #918a7d;
    font-size: 12px;
    line-height: 1.6;
}

.kcm-detail__hero-wrap {
    border-bottom: 1px solid #e7dfcf;
    background: #fbf8f3;
}

.kcm-detail__hero {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 46px;
    align-items: center;
    padding: 56px 0 58px;
}

.kcm-detail__photo {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #f0eee6;
    box-shadow: 0 14px 36px rgba(45, 39, 27, 0.08);
}

.kcm-detail__photo .kcm-avatar:not(.kcm-avatar--image) {
    width: 128px;
    height: 128px;
}

.kcm-detail__intro h1 {
    margin: 0 0 8px;
    font-size: clamp(36px, 4.2vw, 52px);
    font-weight: 800;
    line-height: 1.2;
}

.kcm-detail__kana {
    margin: 0 0 18px;
    color: #7a7368;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.kcm-detail__headline {
    margin: 0 0 10px;
    color: #4b453e;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.65;
}

.kcm-detail__affiliation {
    margin: 0 0 22px;
    color: #403b35;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
}

.kcm-detail__badges {
    margin-bottom: 24px;
}

.kcm-detail__tag-pill,
.kcm-detail__badges .kcm-badge {
    min-width: 144px;
    min-height: 38px;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.kcm-detail__tag-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e1d7c8;
    background: #fff;
    color: #2e2923;
}

.kcm-detail__badges .kcm-badge {
    border: 1px solid #fff0ca;
    background: #fff0ca;
    color: #ee920d;
}

.kcm-detail__badges .kcm-badge i {
    display: none;
}

.kcm-detail__actions,
.kcm-author-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 0;
}

.kcm-detail__primary,
.kcm-detail__secondary,
.kcm-author-card__actions a,
.kcm-detail__bottom-cta a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.kcm-detail__primary,
.kcm-detail__bottom-cta a {
    background: #f3a11c;
    color: #fff;
    box-shadow: 0 10px 22px rgba(216, 129, 16, 0.28);
}

.kcm-detail__primary {
    gap: 8px;
    min-width: 260px;
}

.kcm-detail__secondary,
.kcm-author-card__actions a:nth-child(2) {
    min-width: 200px;
    border: 1px solid #d9d0c3;
    background: #fff;
    color: #2e2923;
    box-shadow: none;
}

.kcm-detail__action-note {
    flex-basis: 100%;
    margin: -4px 0 0;
    color: #8a8276;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.kcm-detail__section {
    padding: 42px 0;
    border-top: 1px solid #e7dfcf;
}

.kcm-detail__section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.kcm-detail__section-head h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}

.kcm-detail__section-head span {
    color: #b8b0a0;
    font-size: 12px;
    font-weight: 800;
}

.kcm-detail__section-head .kcm-detail__section-no {
    color: #e4931c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.kcm-message {
    position: relative;
    padding: 22px 26px;
    border-left: 4px solid #d99520;
    border-radius: 8px;
    background: #fffdf8;
}

.kcm-message::before {
    content: "“";
    position: absolute;
    top: 22px;
    left: 24px;
    color: #f39a17;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.kcm-message p,
.kcm-author-card__body {
    margin: 0;
    color: #4f4941;
    font-size: 15px;
    font-weight: 700;
    line-height: 2;
}

.kcm-message p {
    padding-left: 44px;
}

.kcm-empty,
.kcm-empty-box {
    color: #9b9285;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.kcm-message .kcm-empty,
.kcm-text-block .kcm-empty {
    color: #9b9285;
}

.kcm-empty-box {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #e2d7c6;
    border-radius: 8px;
    background: #fffdf8;
}

.kcm-article-feature {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    padding: 18px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(45, 39, 27, 0.08);
}

.kcm-article-feature__thumb {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #efeee7;
    color: #b0aa9e;
    font-size: 12px;
    font-weight: 800;
}

.kcm-article-feature__thumb img {
    width: 100%;
    height: 100%;
    min-height: 118px;
    display: block;
    object-fit: cover;
}

.kcm-article-feature p,
.kcm-article-feature h3 {
    margin: 0 0 8px;
}

.kcm-article-feature p {
    color: #c78924;
    font-size: 12px;
    font-weight: 800;
}

.kcm-article-feature h3 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
}

.kcm-article-feature a {
    color: #c78924;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.kcm-offers,
.kcm-activities,
.kcm-related-articles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.kcm-related-carousel {
    position: relative;
}

.kcm-related-carousel.has-multiple {
    padding: 0 48px;
}

.kcm-related-carousel.has-multiple .kcm-related-articles {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.kcm-related-carousel.has-multiple .kcm-related-articles::-webkit-scrollbar {
    display: none;
}

.kcm-related-carousel.has-multiple .kcm-related-article-card {
    flex: 0 0 calc((100% - 18px) / 2);
    scroll-snap-align: start;
}

.kcm-related-carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    border: 1px solid #e4d8c8;
    border-radius: 50%;
    background: #fff;
    color: #3e3933;
    cursor: pointer;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.kcm-related-carousel__nav--prev {
    left: 0;
}

.kcm-related-carousel__nav--next {
    right: 0;
}

.kcm-related-carousel__nav:hover,
.kcm-related-carousel__nav:focus {
    border-color: #e4931c;
    color: #e4931c;
}

.kcm-offers div,
.kcm-activity-card {
    min-height: 130px;
    padding: 22px;
    border: 1px solid #ebe4d6;
    border-radius: 8px;
    background: #fffdf8;
}

.kcm-activity-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}

.kcm-activity-card--image {
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: stretch;
    padding: 14px;
}

.kcm-activity-card--link:hover,
.kcm-activity-card--link:focus {
    border-color: #e6bc76;
    background: #fff9ed;
}

.kcm-activity-card--link:hover h3,
.kcm-activity-card--link:focus h3 {
    color: #c78924;
}

.kcm-activity-card > div {
    min-width: 0;
}

.kcm-offers h3,
.kcm-activities h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
}

.kcm-activities h3 {
    margin-bottom: 4px;
}

.kcm-activity-card p {
    overflow-wrap: anywhere;
    word-break: normal;
}

.kcm-activity-card > span {
    color: #f39a17;
    font-size: 26px;
    line-height: 1;
    text-align: center;
}

.kcm-activity-card__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 96px;
    border-radius: 6px;
    background: #efe8dc;
}

.kcm-activity-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kcm-activity-card__thumb i {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 28px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.34));
}

.kcm-activity-card__thumb-error {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
    color: #8a6a4a;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.kcm-activity-card__thumb--failed .kcm-activity-card__thumb-error {
    display: flex;
}

.kcm-activity-card__thumb--failed i {
    display: none;
}

.kcm-activity-text-block + .kcm-activities {
    margin-top: 34px;
}

.kcm-related-article-card {
    display: flex;
    min-height: 280px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(45, 39, 27, 0.08);
    color: inherit;
    flex-direction: column;
    text-decoration: none;
}

.kcm-related-article-card:hover .kcm-related-article-card__title {
    color: #c78924;
}

.kcm-related-article-card__thumb {
    position: relative;
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    background: #efeee7;
}

.kcm-related-article-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kcm-related-article-card__thumb > span {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    min-height: 28px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff3d8;
    color: #e4931c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.kcm-related-article-card__body {
    display: grid;
    gap: 8px;
    padding: 24px 26px 28px;
}

.kcm-related-article-card__date {
    color: #8f8678;
    font-size: 13px;
    font-weight: 700;
}

.kcm-related-article-card__title {
    color: #24211d;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.8;
}

.kcm-offers p,
.kcm-activities p {
    margin: 10px 0 0;
    color: #736b5f;
    font-size: 13px;
    line-height: 1.8;
}

.kcm-activities p {
    margin-top: 0;
    font-weight: 700;
}

.kcm-offers p span {
    display: block;
    color: #a28f78;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
}

.kcm-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kcm-timeline li {
    display: flex;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #ebe4d6;
    color: #504a42;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.kcm-timeline span {
    color: #d99520;
    font-weight: 800;
}

.kcm-text-block {
    padding-top: 8px;
}

.kcm-free-text {
    width: 100%;
    max-width: none;
    white-space: pre-line;
}

.kcm-text-block > p,
.kcm-activity-text-block > p {
    margin: 0 0 20px;
    color: #4f4941;
    font-size: 15px;
    font-weight: 800;
    line-height: 2.15;
}

.kcm-activity-text-block {
    width: 100%;
    padding-top: 8px;
}

.kcm-text-block__chips {
    margin-top: 48px;
}

.kcm-text-block__chips > p {
    margin: 0 0 14px;
    color: #3e3933;
    font-size: 13px;
    font-weight: 800;
}

.kcm-text-block__chips > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kcm-text-block__chips span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 20px;
    border: 1px solid #ddd4c7;
    border-radius: 999px;
    background: #fff;
    color: #3f3931;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.kcm-text-list {
    display: grid;
    gap: 26px;
    margin: 0;
    padding-top: 8px;
}

.kcm-text-list div {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 36px;
}

.kcm-text-list dt,
.kcm-text-list dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
}

.kcm-text-list dt {
    color: #2f2b27;
    font-weight: 800;
}

.kcm-text-list dd {
    color: #8a8276;
    font-weight: 700;
}

.kcm-detail__bottom-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 44px 20px;
    background: #ffe7b8;
    text-align: center;
}

.kcm-detail__bottom-cta p {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
}

.kcm-author-card {
    max-width: 1120px;
    margin: 32px auto;
    padding: 34px 40px;
    border-left: 5px solid #f0a020;
    border-radius: 12px;
    background: #fffdfa;
    box-shadow: 0 14px 34px rgba(45, 39, 27, 0.1);
}

.kcm-author-card__label {
    margin: 0 0 24px;
    color: #c78924;
    font-size: 14px;
    font-weight: 800;
}

.kcm-author-card__main {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8decd;
}

.kcm-author-card h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
}

.kcm-author-card h2 span {
    margin-left: 8px;
    color: #746d62;
    font-size: 14px;
}

.kcm-author-card__main p {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.7;
}

.kcm-author-card__body {
    margin-top: 24px;
}

.kcm-author-card__actions a:first-child {
    background: #f3a11c;
    color: #fff;
}

@media (max-width: 900px) {
    .kcm-top__grid,
    .kcm-list__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kcm-top__grid--count-1 {
        grid-template-columns: 1fr;
    }

    .kcm-top__grid--carousel .kcm-card {
        flex-basis: calc((100% - 28px) / 2);
    }

    .kcm-top__consult {
        align-items: stretch;
        flex-direction: column;
    }

    .kcm-top__consult a {
        width: 100%;
    }

    .kcm-detail__hero,
    .kcm-article-feature,
    .kcm-author-card__main {
        grid-template-columns: 1fr;
    }

    .kcm-detail__photo {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 640px) {
    .kcm-top {
        padding: 44px 0 64px;
    }

    .kcm-top__inner,
    .kcm-list__hero-inner,
    .kcm-filter,
    .kcm-list__grid,
    .kcm-detail__breadcrumb,
    .kcm-detail__hero,
    .kcm-detail__section {
        width: min(100% - 28px, 1120px);
    }

    .kcm-top__title,
    .kcm-list__title,
    .kcm-detail__intro h1 {
        font-size: 26px;
    }

    .kcm-top__note {
        margin: 20px 0 30px;
        text-align: left;
    }

    .kcm-top__consult {
        padding: 22px;
    }

    .kcm-top__consult-main {
        align-items: flex-start;
    }

    .kcm-top__grid,
    .kcm-list__grid,
    .kcm-offers,
    .kcm-activities,
    .kcm-related-articles,
    .kcm-text-list div {
        grid-template-columns: 1fr;
    }

    .kcm-top__grid--count-2 {
        width: min(360px, 100%);
    }

    .kcm-top__grid--carousel .kcm-card {
        flex-basis: 100%;
    }

    .kcm-detail__hero {
        gap: 28px;
        padding: 36px 0 42px;
    }

    .kcm-activity-card,
    .kcm-activity-card--image {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .kcm-activity-card__thumb {
        aspect-ratio: 16 / 9;
        min-height: 0;
        width: 100%;
    }

    .kcm-detail__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .kcm-detail__primary,
    .kcm-detail__secondary {
        width: 100%;
    }

    .kcm-related-carousel.has-multiple {
        padding: 0 42px;
    }

    .kcm-related-carousel.has-multiple .kcm-related-article-card {
        flex-basis: 100%;
    }

    .kcm-text-list div {
        gap: 4px;
    }

    .kcm-text-block__chips {
        margin-top: 34px;
    }

    .kcm-list__hero-inner {
        padding-bottom: 92px;
    }

    .kcm-list__lead {
        max-width: none;
    }

    .kcm-lead__break {
        display: none;
    }

    .kcm-list__count {
        position: static;
        margin-top: 24px;
    }

    .kcm-filter {
        margin-top: -34px;
        padding: 18px;
    }

    .kcm-filter__bar {
        background: #f8f4ed;
        border-radius: 10px;
        margin-bottom: 8px;
        padding: 12px;
    }

    .kcm-filter__row {
        grid-template-columns: 1fr;
    }

    .kcm-filter__heading {
        align-items: flex-start;
        gap: 7px;
    }

    .kcm-filter__selected {
        max-width: 100%;
        white-space: normal;
    }

    .kcm-filter__chips {
        gap: 8px;
    }

    .kcm-filter button {
        min-height: 34px;
        padding: 7px 14px;
    }

    .kcm-author-card {
        margin: 24px 14px;
        padding: 26px 22px;
    }
}
