/* Article content specific styles */

.think-story {
    color: var(--article-text-color);
    font-size: 14px;
    line-height: 1.55;
}

.think-story img {
    display: block;
    max-width: 100%;
}

.think-story p {
    margin: 0 0 12px;
}

.think-story strong {
    color: var(--article-heading-color);
}

.think-hero {
    width: calc(100% - 8px);
    height: auto;
    margin: 0 auto;
    border-radius: 9px;
}

.think-section {
    margin-top: 20px;
    scroll-margin-top: 110px;
}

.think-story .think-section>h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 7px;
    color: var(--article-heading-color);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
}

.think-number {
    display: inline-flex;
    flex: 0 0 38px;
    height: 38px;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #0752ff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
}

.think-skills {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
}

.think-skill {
    min-width: 0;
    padding: 12px 10px 16px;
    overflow: hidden;
    border: 1px solid #e3efff;
    border-radius: 12px;
    background: linear-gradient(#e7f1ff 0%,#edf5ff 55%,#fff 100%);
    box-shadow: 0 4px 10px #c5dbff30;
    text-align: center;
}

.think-skill img {
    width: 100%;
    height: 92px;
    object-fit: contain;
    margin: 0 auto 4px;
}

.think-story .think-skill h3 {
    margin: 0 0 4px;
    color: var(--article-heading-color);
    font-size: 16px;
    line-height: 1.4;
}

.think-skill p {
    margin: 0;
    font-size: 13px;
}

.think-work {
    display: grid;
    grid-template-columns: 23% minmax(0,1fr);
    align-items: end;
    gap: 4px;
}

.think-work__diagram {
    width: 100%;
    height: auto;
}

.think-guide {
    position: relative;
    min-width: 0;
}

.think-guide--work {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.think-guide--work img {
    width: 100%;
    height: auto;
    margin-top: -20px;
}

.think-bubble {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 180px;
    max-width: 100%;
    min-height: 120px;
    padding: 16px;
    border-radius: 50%;
    background: #ffedaf;
    color: #171b4e;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}

.think-bubble::after {
    position: absolute;
    bottom: 10px;
    left: 20px;
    width: 24px;
    height: 22px;
    background: #ffedaf;
    clip-path: polygon(0 0,100% 100%,0 100%);
    content: '';
}

.think-guide--work .think-bubble {
    transform: rotate(-9deg);
    z-index: 1;
}

.think-comparison {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.think-compare {
    position: relative;
    min-height: 180px;
    padding: 18px 16px;
    border-radius: 16px;
    overflow: hidden;
}

.think-compare--good {
    background: linear-gradient(110deg,#e4faef,#eafbf2);
    --accent: #00b84e;
}

.think-compare--pink {
    background: linear-gradient(110deg,#fff0f7,#fceaf4);
    --accent: #ff3978;
}

.think-story .think-compare h3 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 15px;
    color: var(--accent);
}

.think-compare h3>span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.think-compare h3>i {
    font-size: 1.5em;
    margin-right: 5px;
}

.think-compare ul {
    position: relative;
    z-index: 1;
    width: 72%;
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.8;
}

.think-compare li::marker {
    color: var(--accent);
}

.think-robot {
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 31%;
}

.think-robot img {
    width: 100%;
    height: 105px;
    object-fit: contain;
    object-position: center bottom;
}

.think-robot>span {
    position: relative;
    display: block;
    width: 88px;
    max-width: 90%;
    margin: 0 auto -3px;
    padding: 10px 4px;
    border-radius: 50%;
    background: #fff;
    color: #162566;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    transform: rotate(7deg);
}

.think-robot>span::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(7deg);
    width: 16px;
    height: 16px;
    background: #fff;
    border-top: none;
    border-left: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    content: '';
}

.think-story .think-blue {
    color: #0752ff;
}

.think-ending {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 24px;
    align-items: center;
}

.think-guide--ending {
    display: flex;
    align-items: center;
}

.think-guide--ending img {
    width: 52%;
    height: auto;
}

.think-guide--ending .think-bubble {
    flex: 1;
    padding: 14px 8px;
}

.think-summary {
    display: flex;
    gap: 12px;
    padding: 18px;
    border-radius: 15px;
    background: #e8f2ff;
    scroll-margin-top: 110px;
}

.think-summary__icon {
    flex: 0 0 auto;
    font-size: 32px;
    line-height: 1.25;
}

.think-story .think-summary h2 {
    margin: 0 0 5px;
    color: #0752ff;
    font-size: 19px;
    line-height: 1.4;
}

.think-summary p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.think-pagination {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
}

.think-pagination a {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 49%;
    padding: 10px 13px;
    border: 1px solid #d9e7ff;
    border-radius: 12px;
    background: #ffffffb3;
    text-decoration: none;
    box-shadow: 0 3px 10px #c5dbff30;
}

.think-pagination a:last-child {
    text-align: right;
}

/* 没有上一篇时，让唯一的下一篇链接靠右显示。 */
.think-pagination a:only-child {
    margin-left: auto;
}

.think-pagination strong {
    display: block;
    color: #0752ff;
    font-size: 17px;
}

.think-pagination small {
    display: block;
    color: #576b9f;
    font-size: 13px;
}

.think-pagination__arrow {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    justify-content: center;
    align-items: center;
    border: 1px solid #d9e7ff;
    border-radius: 6px;
    color: #0752ff;
    font-size: 24px;
}

.think-pagination a:hover {
    background: #edf4ff;
}

.think-pagination a:focus-visible {
    outline: 3px solid #0752ff;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .think-skills {
        gap: 12px;
    }

    .think-compare {
        padding: 14px 12px;
    }

    .think-compare ul {
        font-size: 14px;
    }

    .think-bubble {
        font-size: 12px;
    }

}
@media (max-width: 640px) {
    .think-story {
        font-size: 12px;
        line-height: 1.55;
    }

    .think-hero {
        border-radius: 9px;
        aspect-ratio: 1.82;
        object-fit: cover;
    }

    .think-section {
        margin-top: 17px;
    }

    .think-story .think-section>h2 {
        gap: 10px;
        font-size: 16px;
        margin-bottom: 6px;
    }

    .think-number {
        flex-basis: 31px;
        height: 31px;
        font-size: 16px;
    }

    .think-desktop-break {
        display: none;
    }

    .think-skills {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }

    .think-skill {
        padding: 8px 8px 12px;
        border-radius: 12px;
    }

    .think-skill img {
        height: 76px;
    }

    .think-story .think-skill h3 {
        font-size: 14px;
    }

    .think-skill p {
        font-size: 11px;
        line-height: 1.45;
    }

    .think-work {
        display: block;
    }

    .think-guide--work {
        display: none;
    }

    .think-comparison {
        grid-template-columns: minmax(0,1fr);
        gap: 12px;
    }

    .think-compare {
        min-height: 178px;
        padding: 14px;
    }

    .think-story .think-compare h3 {
        font-size: 16px;
        margin-bottom: 8px;
        gap: 8px;
    }

    .think-compare h3>span {
        width: 27px;
        height: 27px;
        font-size: 22px;
    }

    .think-compare ul {
        font-size: 14px;
        line-height: 1.8;
        width: 72%;
    }

    .think-robot {
        width: 29%;
    }

    .think-robot img {
        height: 99px;
    }

    .think-robot>span {
        font-size: 12px;
        width: 78px;
        padding: 8px 4px;
    }

    .think-ending {
        grid-template-columns: minmax(0,1fr);
        gap: 0;
    }

    .think-guide--ending {
        width: 300px;
        max-width: 100%;
    }

    .think-guide--ending img {
        width: 48%;
    }

    .think-guide--ending .think-bubble {
        flex: 0 1 145px;
        min-height: 100px;
        font-size: 12px;
    }

    .think-summary {
        padding: 14px;
        gap: 8px;
        border-radius: 12px;
    }

    .think-summary p {
        font-size: 14px;
    }

    .think-story .think-summary h2 {
        font-size: 17px;
    }

    .think-summary__icon {
        font-size: 28px;
    }

    .think-pagination {
        gap: 10px;
        margin-top: 14px;
    }

    .think-pagination a {
        flex: 1;
        min-width: 0;
        padding: 9px 7px;
        gap: 6px;
    }

    .think-pagination strong {
        font-size: 14px;
    }

    .think-pagination small {
        font-size: 11px;
        line-height: 1.4;
    }

    .think-pagination__arrow {
        flex-basis: 26px;
        width: 26px;
        height: 28px;
        font-size: 20px;
    }

}
