
    /* ==== Smooth Reveal (variables) ==== */
    :root {
        --reveal-distance: 14px;
        --reveal-opacity-dur: 560ms;
        --reveal-move-dur: 740ms;
        --reveal-ease: cubic-bezier(.25, .46, .45, .94);
        --reveal-stagger: 40ms;
    }


    .story-text p {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        /* แสดงแค่ 4 บรรทัด */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 600px;
        /* ปรับให้เหมาะกับ layout ขวา */
        line-height: 1.6;
        font-size: 1rem;
        color: #333;
    }

    .weera-story {
        padding: 40px 20px;
        min-height: 400px;
        display: flex;
        align-items: center;
    }

    .story-container {
        width: 100%;
        margin: 0 0 0 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 80px;
        align-items: center;
    }

    /* Logo Section */
    .story-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .duck-logo {
        width: 300px;
        height: 300px;
        margin-bottom: 20px;
        position: relative;
    }

    .duck-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* ทำให้รูปไม่ถูกยืด */
    }


    /* Content Section */
    .story-content {
        padding-left: 20px;
    }

    .story-header {
        font-family: 'Prompt';
        margin-bottom: 25px;
    }

    .story-title {
        font-size: 2.8rem;
        font-weight: 900;
        color: #724F04;
        margin: 0 0 8px 0;
        line-height: 1.1;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }

    .story-subtitle {
        font-size: 1.8rem;
        font-weight: 700;
        color: #8B4513;
        margin: 0;
        line-height: 1.2;
    }

    .story-text {
            font-family: 'Prompt';
        margin-bottom: 30px;
    }

    .story-text p {
        font-size: 1rem;
        line-height: 1.7;
        color: #555;
        margin: 0;
        text-align: justify;
    }

    .read-more {
        display: flex;
        align-items: center;
    }

    .read-more-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #724F04;
        font-weight: 600;
        font-size: 1.5rem;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        padding-bottom: 2px;
    }

    .read-more-btn::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #D4A574;
        transition: width 0.3s ease;
    }

    .read-more-btn:hover::after {
        width: 100%;
    }

    .read-more-btn:hover {
        color: #B8956A;
        transform: translateX(5px);
    }

    .read-more-btn svg {
        transition: transform 0.3s ease;
    }

    .read-more-btn:hover svg {
        transform: rotate(45deg);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .story-container {
            gap: 60px;
        }

        .story-title {
            font-size: 2.4rem;
        }

        .story-subtitle {
            font-size: 1.6rem;
        }
    }

    @media (max-width: 768px) {
        :root {
            --reveal-distance: 12px;
            --reveal-opacity-dur: 520ms;
            --reveal-move-dur: 680ms;
            --reveal-stagger: 32ms;
        }

        .weera-story {
            padding: 60px 20px;
        }

        .story-container {
            flex-direction: column;
            gap: 40px;
            text-align: center;
        }

        .story-content {
            padding-left: 0;
        }

        .duck-logo {
            width: 200px;
            height: 200px;
        }

        .thai-name {
            font-size: 1.8rem;
        }

        .story-title {
            font-size: 2.2rem;
        }

        .story-subtitle {
            font-size: 1.4rem;
        }

        .story-text p {
            text-align: center;
        }

        .read-more {
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .weera-story {
            padding: 50px 15px;
        }

        .story-container {
            gap: 30px;
        }

        .duck-logo {
            width: 200px;
            height: 200px;
        }

        .thai-name {
            font-size: 1.5rem;
        }

        .story-title {
            font-size: 1.8rem;
        }

        .story-subtitle {
            font-size: 1.2rem;
        }

        .story-text p {
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .read-more-btn {
            font-size: 0.9rem;
        }
    }


    /* ==== Initial state ==== */
    .fade-left,
    .fade-right {
        opacity: 0.001;
        transform: translate3d(var(--tx, 0), 0, 0);
        will-change: transform, opacity;
        transition-property: opacity, transform;
        transition-timing-function: var(--reveal-ease);
        transition-duration: var(--reveal-opacity-dur), var(--reveal-move-dur);
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }

    .fade-left {
        --tx: calc(var(--reveal-distance) * -1);
    }

    .fade-right {
        --tx: var(--reveal-distance);
    }

    /* Visible state */
    .fade-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    /* ลด motion ให้ผู้ใช้ที่ตั้งค่าไว้ */
    @media (prefers-reduced-motion: reduce) {

        .fade-left,
        .fade-right {
            transition-duration: 0.01ms !important;
            transition-timing-function: linear !important;
            transform: none !important;
            opacity: 1 !important;
        }

    }

    /* Decorative elements */
    .weera-story::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #D4A574, transparent);
        opacity: 0.3;
    }

    .weera-story::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 0;
        background: linear-gradient(90deg, transparent, #D4A574, transparent);
        opacity: 0.3;
    }
