/* Shared article and sitemap detail blocks. */
.yc-content-detail-page .yc-inline-section {
    direction: rtl;
    margin-bottom: 24px;
}

.yc-content-detail-page .yc-inline-section__title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    text-align: right;
}

.yc-content-detail-page .yc-inline-section__mark {
    color: #111827;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
}

.yc-content-detail-page .yc-keywords__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.yc-content-detail-page .yc-keywords__list > a {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    padding: 5px 13px;
    border: 1px solid #e2e6eb;
    border-radius: 999px;
    background: #fff;
    color: #344052;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.yc-content-detail-page .yc-keywords__list > a::before { content: none; }
.yc-content-detail-page .yc-keywords__list > a:hover,
.yc-content-detail-page .yc-keywords__list > a:focus-visible {
    border-color: var(--uicolor, #ff7043);
    background: #fff;
    color: var(--uicolor, #ff7043);
}

.yc-content-detail-page .-YC-singleType-page .--map--items--list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.yc-content-detail-page .-YC-singleType-page .links--sitemap-items--box,
.yc-content-detail-page .-YC-singleType-page .yc-keywords {
    margin: 0;
    padding: 18px;
    border: 1px solid #e3e3e3;
    border-radius: 16px;
    background: #f4f4f4;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .12);
}

.yc-content-detail-page .-YC-singleType-page .links--sitemap-items-title,
.yc-content-detail-page .-YC-singleType-page .yc-inline-section__title {
    margin: 0 0 14px;
    color: #171717;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

.yc-content-detail-page .-YC-singleType-page .links--sitemap-items-title h2 {
    position: relative;
    margin: 0;
    padding-inline-start: 15px;
    font: inherit;
}

.yc-content-detail-page .-YC-singleType-page .links--sitemap-items-title h2::before {
    position: absolute;
    top: 50%;
    inset-inline-start: 0;
    width: 4px;
    height: 18px;
    border-radius: 4px;
    background: var(--uicolor, #f06400);
    content: '';
    transform: translateY(-50%);
}

.yc-content-detail-page .-YC-singleType-page .yc-inline-section__title {
    align-items: center;
    gap: 12px;
}

.yc-content-detail-page .-YC-singleType-page .yc-inline-section__mark {
    width: 4px;
    height: 18px;
    flex: 0 0 4px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--uicolor, #f06400);
    color: transparent;
    font-size: 0;
}

.yc-content-detail-page .-YC-singleType-page .links--sitemap-items-lists,
.yc-content-detail-page .-YC-singleType-page .yc-keywords__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.yc-content-detail-page .-YC-singleType-page .links--sitemap-items-lists > a,
.yc-content-detail-page .-YC-singleType-page .yc-keywords__list > a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fff;
    color: #343434;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
    max-width: 100%;
    min-width: 390px;
    flex: 1;
}

.yc-content-detail-page .-YC-singleType-page .links--sitemap-items-lists > a::before {
    flex: 0 0 auto;
}

.yc-content-detail-page .-YC-singleType-page .links--sitemap-items-lists > a:hover,
.yc-content-detail-page .-YC-singleType-page .yc-keywords__list > a:hover,
.yc-content-detail-page .-YC-singleType-page .links--sitemap-items-lists > a:focus-visible,
.yc-content-detail-page .-YC-singleType-page .yc-keywords__list > a:focus-visible {
    border-color: var(--uicolor, #f06400);
    color: var(--uicolor, #f06400);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.yc-content-detail-page .-YC-singleType-page .yc-keywords__list > a::before {
    content: var(--chevron);
    flex: 0 0 auto;
    margin-inline-end: 5px;
    color: #777;
    font-family: 'Font Awesome 7 Pro';
    font-size: 12px;
    font-weight: 600;
    transform: rotate(90deg);
}

@media only screen and (max-width: 767px) {
    .yc-content-detail-page .-YC-singleType-page .links--sitemap-items--box,
    .yc-content-detail-page .-YC-singleType-page .yc-keywords {
        padding: 12px;
        border-radius: 12px;
    }

    .yc-content-detail-page .-YC-singleType-page .links--sitemap-items-title,
    .yc-content-detail-page .-YC-singleType-page .yc-inline-section__title {
        margin-bottom: 12px;
    }
}

.yc-content-detail-page .yc-single-faqs__list {
    display: grid;
    gap: 12px;
}

.yc-content-detail-page .yc-single-faqs__item {
    overflow: hidden;
    margin: 0;
    border: 1px solid #dce5ee;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(24, 49, 72, .025);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.yc-content-detail-page .yc-single-faqs__item.active {
    border-color: color-mix(in srgb, var(--uicolor, #008d87) 35%, white);
    box-shadow: 0 10px 28px rgba(24, 49, 72, .06);
}

.yc-content-detail-page .yc-single-faqs__question {
    display: flex;
    width: 100%;
    min-height: 61px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border: 0;
    background: transparent;
    color: #0e1726;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
    text-align: right;
    cursor: pointer;
}

.yc-content-detail-page .yc-single-faqs__question:focus-visible {
    outline: 2px solid var(--uicolor, #008d87);
    outline-offset: -4px;
}

.yc-content-detail-page .yc-single-faqs__toggle {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: #eaf5f5;
    color: var(--uicolor, #008d87);
    transition: background-color .28s ease, color .28s ease;
}

.yc-content-detail-page .yc-single-faqs__toggle::before,
.yc-content-detail-page .yc-single-faqs__toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: '';
    transform: translate(-50%, -50%);
}

.yc-content-detail-page .yc-single-faqs__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.yc-content-detail-page .yc-single-faqs__toggle::before,
.yc-content-detail-page .yc-single-faqs__toggle::after {
    transition: transform .28s ease;
}

.yc-content-detail-page .yc-single-faqs__item.active .yc-single-faqs__toggle {
    background: var(--uicolor, #008d87);
    color: #fff;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.yc-content-detail-page .yc-single-faqs__item.active .yc-single-faqs__toggle::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.yc-content-detail-page .yc-single-faqs__item.active .yc-single-faqs__toggle::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.yc-content-detail-page .yc-single-faqs__answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    visibility: hidden;
    transition: grid-template-rows .42s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .42s;
}

.yc-content-detail-page .yc-single-faqs__item.active .yc-single-faqs__answer-wrap {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows .42s cubic-bezier(.22, 1, .36, 1), visibility 0s;
}

.yc-content-detail-page .yc-single-faqs__answer {
    min-height: 0;
    overflow: hidden;
    padding: 0 18px;
    color: #435164;
    font-size: 14px;
    line-height: 1.9;
    opacity: 0;
    text-align: right;
    transform: translateY(-6px);
    transition: padding-bottom .42s cubic-bezier(.22, 1, .36, 1), opacity .28s ease, transform .42s ease;
}

.yc-content-detail-page .yc-single-faqs__item.active .yc-single-faqs__answer {
    padding-bottom: 18px;
    opacity: 1;
    transform: none;
}

.yc-content-detail-page .yc-single-faqs__answer p { margin: 0; }

/* Reuse the existing comment logic and show each review as a compact card. */
.yc-content-detail-page .CommentsListInner > .-comment--single-item,
.yc-content-detail-page .CommentsListInner .ChildComments > .-comment--single-item {
    margin-bottom: 12px;
}

.yc-content-detail-page .CommentsListInner .CommentContent {
    min-height: 118px;
    padding: 20px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fcfdff;
    box-shadow: none;
}

.yc-content-detail-page .CommentsListInner .-comments-head-area {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
}

.yc-content-detail-page .CommentsListInner .-comments-head-area > .UserAvatar {
    display: none;
}

.yc-content-detail-page .CommentsListInner .-comment-user-area {
    flex: 1 1 auto;
    min-width: 0;
}

.yc-content-detail-page .CommentsListInner .--user--comment-name {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
}

.yc-content-detail-page .CommentsListInner .UserAvatar.featured + .-comment-user-area .--user--comment-name::before {
    display: inline-grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border-radius: 50%;
    background: #2978e7;
    color: #fff;
    content: '✓';
    font-size: 10px;
    line-height: 1;
}

.yc-content-detail-page .CommentsListInner .-productBox-rate-bar-average {
    order: 2;
    margin-inline-start: auto;
}

.yc-content-detail-page .CommentsListInner .-productBox-rate-bar-average .stars-avg {
    display: none;
}

.yc-content-detail-page .CommentsListInner .yc-comment-rating-badge {
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
}

.yc-content-detail-page .CommentsListInner .yc-comment-rating-badge > * { grid-area: 1 / 1; }

.yc-content-detail-page .CommentsListInner .yc-comment-rating-badge .fa-star {
    color: #f5a400;
    font-size: 31px;
}

.yc-content-detail-page .CommentsListInner .yc-comment-rating-badge b {
    position: relative;
    z-index: 1;
    font: 800 11px/1 sans-serif;
}

.yc-content-detail-page .CommentsListInner .Context-Comments p {
    margin: 0;
    color: #243142;
    font-size: 14px;
    line-height: 1.8;
}

.yc-content-detail-page .CommentsListInner .comment-pending-label {
    display: inline-block;
    margin-top: 5px;
    color: #8a6200;
    font-size: 12px;
    font-weight: 700;
}

.yc-content-detail-page .yc-inline-share {
    padding: 25px;
    border: 1px solid #e2e7d7;
    border-radius: 14px;
    background: #fcfff1;
    margin-top: 30px;
}

.yc-content-detail-page .yc-inline-share__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    color: #152535;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.yc-content-detail-page .yc-inline-share__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #acd42d;
}

.yc-content-detail-page .yc-inline-share__channels {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.yc-content-detail-page .yc-inline-share__button {
    display: flex;
    min-height: 70px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 9px;
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, filter .2s ease;
}

.yc-content-detail-page .yc-inline-share__button:hover,
.yc-content-detail-page .yc-inline-share__button:focus-visible {
    color: #fff;
    filter: brightness(1.09);
    transform: translateY(-2px);
}

.yc-content-detail-page .yc-inline-share__button i { font-size: 24px; }
.yc-content-detail-page .yc-inline-share__button--facebook { background: #3d5996; }
.yc-content-detail-page .yc-inline-share__button--messenger { background: #0e82e8; }
.yc-content-detail-page .yc-inline-share__button--whatsapp { background: #40bf44; }
.yc-content-detail-page .yc-inline-share__button--telegram { background: #2da6d4; }
.yc-content-detail-page .yc-inline-share__button--twitter { background: #050505; }
.yc-content-detail-page .yc-inline-share__button--pinterest { background: #ca1d2c; }

.yc-content-detail-page .yc-inline-share__copy {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    padding: 6px;
    border: 1px solid #e4e8ec;
    border-radius: 10px;
    background: #fff;
}

.yc-content-detail-page .yc-inline-share__copy input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 36px;
    flex: 1;
    padding: 0 10px;
    border: 1px solid #e8ebef;
    border-radius: 7px;
    background: #fff;
    color: #596477;
    direction: ltr;
    font-size: 13px;
    text-align: left;
    text-overflow: ellipsis;
}

.yc-content-detail-page .yc-inline-share__copy button {
    display: inline-flex;
    min-width: 112px;
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 11px;
    border: 0;
    border-radius: 7px;
    background: #064c2b;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.yc-content-detail-page .yc-inline-share__copy button > span { display: none; }
.yc-content-detail-page .yc-inline-share__copy.active button > em { display: none; }
.yc-content-detail-page .yc-inline-share__copy.active button > span { display: inline; }
.yc-content-detail-page .yc-inline-share__copy button em { font-style: normal; }

@media (max-width: 760px) {
    .yc-content-detail-page .yc-inline-share__channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .yc-content-detail-page .yc-inline-section {margin-block: 15px;}
    .yc-content-detail-page .yc-single-faqs__question { padding: 13px 14px; font-size: 14px; }
    .yc-content-detail-page .yc-single-faqs__answer { padding-inline: 14px; font-size: 13px; }
    .yc-content-detail-page .yc-single-faqs__item.active .yc-single-faqs__answer { padding-bottom: 16px; }
    .yc-content-detail-page .yc-inline-share { padding: 18px 13px; }
    .yc-content-detail-page .yc-inline-share__channels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .yc-content-detail-page .yc-inline-share__button { min-height: 64px; }
    .yc-content-detail-page .yc-inline-share__copy { flex-wrap: wrap; }
    .yc-content-detail-page .yc-inline-share__copy input { flex-basis: 100%; }
    .yc-content-detail-page .yc-inline-share__copy button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .yc-content-detail-page .yc-single-faqs__item,
    .yc-content-detail-page .yc-single-faqs__toggle,
    .yc-content-detail-page .yc-single-faqs__toggle::before,
    .yc-content-detail-page .yc-single-faqs__toggle::after,
    .yc-content-detail-page .yc-single-faqs__answer-wrap,
    .yc-content-detail-page .yc-single-faqs__answer,
    .yc-content-detail-page .yc-inline-share__button,
    .yc-content-detail-page .yc-keywords__list > a { transition: none; }

    .yc-content-detail-page .yc-single-faqs__answer { transform: none; }
}
