/* ---------------------------------Warning Article page---------------------------------
------------------------------------------------------------------ */
.warning-hero {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #4ba6a7;
    color: #ffffff;
    margin-top: 140px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: 100vw !important;
    /* Force override global limit */
    overflow: hidden;
    min-height: 240px;
    height: 250px;
    /* Reduced from 300px */
    /* Fixed height to prevent image expansion */
}

.warning-hero .hero-text {
    flex: 0 0 55%;
    padding: 70px 6% 60px;
    z-index: 1;
}

.warning-hero .hero-text .label {
    color: #ffffff;
    font-size: 68px;
    font-weight: 700;
    margin-bottom: 10px;
}

.warning-hero .hero-text h2 {
    color: #ffffff;
    text-align: left;
    margin: 0 0 0 clamp(32px, 6vw, 120px);
    font-size: 24px;
    font-weight: 600;
    max-width: 260px;
}

.warning-hero .hero-image {
    flex: 0 0 45%;
    margin: 0;
    overflow: hidden;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

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

.case-title {
    text-align: center;
    padding: 50px 0 20px;
    max-width: 980px;
    margin: 0 auto;
}

.case-title h3 {
    color: #213e3c;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.case-title .subtitle {
    font-size: 20px;
    color: #213e3c;
    font-weight: 600;
}

.case-summary {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    align-items: flex-start;
    margin: 20px auto 30px;
    max-width: 980px;
}

.case-summary .customer {
    text-align: center;
}

.case-summary .customer svg {
    width: 150px;
    height: 150px;
}

.case-summary .customer figcaption {
    margin-top: 10px;
    font-size: 16px;
    color: #4ba6a7;
}

.case-summary .summary-text {
    border: 2px solid #bfe5e6;
    border-radius: 10px;
    padding: 18px 22px 34px;
    background: #ffffff;
    position: relative;
}

.case-summary .summary-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
}

.case-summary .summary-text time {
    position: absolute;
    right: 18px;
    bottom: 10px;
    font-size: 12px;
    color: #4ba6a7;
    font-weight: 600;
}

.warning-alert {
    margin: 20px auto 30px;
    padding: 22px 30px;
    color: #ffffff;
    background: linear-gradient(120deg, #73e0e1 28.22%, #d4eada 83.88%);
    border-radius: 10px;
    max-width: 980px;
    min-height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.warning-alert-content {
    max-width: 620px;
    z-index: 1;
}

.warning-alert-media {
    position: absolute;
    top: 0;
    right: 0;
    width: 34%;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.warning-alert h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 8px;
}

.warning-alert p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
}

.case-detail {
    margin: 0 auto 30px;
    max-width: 980px;
}

.case-detail p+p {
    margin-top: 16px;
}

.case-detail p {
    font-size: 16px;
    line-height: 2;
}

.work-flow {
    background: #f7eded;
    padding: 30px 6%;
    margin: 0 auto 40px;
    border-radius: 6px;
    max-width: 980px;
}

.work-flow h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #213e3c;
    font-size: 20px;
    font-weight: 700;
}

.work-flow ol {
    max-width: 760px;
    margin: 0 auto;
    padding-left: 0;
    list-style: none;
}

.work-flow li {
    margin: 10px 0;
    color: #213e3c;
    line-height: 1.8;
    font-size: 16px;
    position: relative;
    padding-left: 28px;
}

.work-flow li::before {
    position: absolute;
    left: 0;
    top: 0;
    color: #213e3c;
    font-weight: 700;
}

.work-flow li:nth-child(1)::before {
    content: "①";
}

.work-flow li:nth-child(2)::before {
    content: "②";
}

.work-flow li:nth-child(3)::before {
    content: "③";
}

.work-flow li:nth-child(4)::before {
    content: "④";
}

.testimonial {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    align-items: start;
    margin: 30px auto 20px;
    max-width: 980px;
}

.testimonial figure {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    margin: 0;
    background: transparent;
}

.testimonial figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial figure svg {
    width: 100%;
    height: 160px;
    display: block;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial figure figcaption {
    margin-top: 12px;
    font-size: 16px;
    color: #4ba6a7;
    text-align: center;
}

.testimonial blockquote {
    border-radius: 12px;
    padding: 20px 26px;
    margin: 0;
    min-height: 110px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    text-align: left;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, #6fd7dd, #d6ead4) border-box;
    border: 2px solid transparent;
    box-shadow: 0 6px 18px rgba(33, 62, 60, 0.08);
}

.testimonial blockquote p {
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}

.case-cta {
    margin: 20px auto 80px;
    text-align: center;
    font-weight: 700;
    max-width: 980px;
}

.case-cta p {
    font-size: 20px;
    line-height: 1.8;
    max-width: 980px;
    margin: 0 auto;
    color: #213e3c;
    text-align: left;
}

.article-list {
    max-width: 980px;
    margin: 30px auto 80px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 24px;
}

.article-card {
    border: 2px solid #bfe5e6;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.article-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.article-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9f5f5;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body {
    padding: 10px 12px 14px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.article-tag {
    font-size: 11px;
    color: #4ba6a7;
    background: #dff3f4;
    border-radius: 4px;
    padding: 2px 6px;
    font-weight: 600;
}

.article-meta time {
    font-size: 11px;
    color: #8aa3a1;
}

.article-title {
    font-size: 14px;
    line-height: 1.6;
    color: #213e3c;
    margin: 0;
}

.article-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 24px;
    font-size: 14px;
    color: #4ba6a7;
}

.article-pagination a {
    color: inherit;
    text-decoration: none;
}

.article-pagination .is-active {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media screen and (max-width: 1024px) {
    .warning-hero {
        margin-top: 120px;
    }

    .warning-hero .hero-text {
        padding: 50px 5%;
    }

    .warning-hero .hero-text .label {
        font-size: 56px;
    }

    .case-summary {
        grid-template-columns: 150px 1fr;
    }
}

@media screen and (max-width: 768px) {
    .warning-hero {
        flex-direction: row;
        margin-top: 110px;
        height: 200px;
        /* Adjusted height for mobile */
        min-height: auto;
    }

    .warning-hero .hero-text {
        flex: 0 0 50%;
        /* Adjusted width ratio */
        padding: 30px 4% 30px;
        /* Reduced padding */
        text-align: left;
    }

    .warning-hero .hero-text h2 {
        margin: 0;
        text-align: left;
        max-width: 100%;
        font-size: 16px;
        /* Smaller font on mobile */
    }

    .warning-hero .hero-text .label {
        font-size: 40px;
        /* Smaller label font */
        margin-bottom: 5px;
    }

    .warning-hero .hero-image {
        flex: 0 0 50%;
        /* Adjusted width ratio */
        width: auto;
        height: 100%;
        clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
        /* Adjusted clip path for mobile */
    }

    .case-title h3 {
        font-size: 16px !important;
    }

    .case-title .subtitle {
        font-size: 14px !important;
    }

    .case-summary {
        grid-template-columns: 1fr;
        text-align: center;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .case-summary .summary-text {
        text-align: left;
        padding: 20px 30px 40px;
    }

    .case-summary .summary-text p {
        text-align: left;
    }

    .case-summary .summary-text time {
        text-align: right;
        position: static;
        display: block;
        margin-top: 10px;
    }

    .warning-alert {
        border-radius: 0;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial {
        grid-template-columns: 1fr;
        text-align: center;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial figure {
        margin: 0 auto;
    }

    .testimonial blockquote {
        text-align: left;
    }

    .article-list {
        margin: 20px auto 60px;
        padding: 0 8%;
    }

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

    .case-detail,
    .case-cta {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 480px) {
    .warning-hero {
        margin-top: 100px;
    }

    .article-body {
        padding: 10px 10px 12px;
    }

    .article-title {
        font-size: 13px;
    }
}