/* Category description styles, loaded only on category archives. */
/* =========================================
           BOX
        ========================================= */

        .startup360-category-description {

            width: 100%;

            margin: 35px 0 40px;

            direction: rtl;

            clear: both;
        }


        .startup360-category-description__inner {

            position: relative;

            width: 100%;

            box-sizing: border-box;

            padding: 28px 30px 22px;

            background: #ffffff;

            border: 1px solid #e8e8e8;

            border-radius: 18px;

            box-shadow:
                0 8px 30px rgba(0, 0, 0, .05);

            overflow: hidden;
        }


        /* نوار رنگی بالای باکس */

        .startup360-category-description__inner::before {

            content: "";

            position: absolute;

            top: 0;
            right: 0;

            width: 100%;

            height: 4px;

    background: linear-gradient(90deg, #ff9041, #ffc64b, #f16025);
        }


        /* =========================================
           TITLE
        ========================================= */

        .startup360-category-description__heading {

            display: flex;

            align-items: center;

            gap: 12px;

            margin-bottom: 16px;
        }


        .startup360-category-description__heading h2 {

            margin: 0;

            padding: 0;

            font-size: 21px;

            line-height: 1.7;

            font-weight: 700;

            color: #222;
        }


        /* آیکون */

        .startup360-category-description__icon {

            display: flex;

            align-items: center;

            justify-content: center;

            width: 36px;

            height: 36px;

            min-width: 36px;

            border-radius: 10px;

            background: #fff3ec;

            color: #f16025;

            font-size: 17px;

            font-weight: 700;
        }


        /* =========================================
           CONTENT
        ========================================= */

        .startup360-category-description__content {

            position: relative;

            max-height: 150px;

            overflow: hidden;

            font-size: 15px;

            line-height: 2;

            color: #555;

            transition:
                max-height .6s ease;
        }


        /* محو شدن پایین متن */

        .startup360-category-description__content::after {

            content: "";

            position: absolute;

            left: 0;

            right: 0;

            bottom: 0;

            height: 70px;

            pointer-events: none;

            background:
                linear-gradient(
                    to bottom,
                    rgba(255,255,255,0),
                    #ffffff
                );

            transition:
                opacity .3s ease;
        }


        /* پاراگراف‌ها */

        .startup360-category-description__content p {

            margin: 0 0 14px;
        }


        .startup360-category-description__content p:last-child {

            margin-bottom: 0;
        }


        /* تیترهای داخل توضیحات */

        .startup360-category-description__content h2,
        .startup360-category-description__content h3,
        .startup360-category-description__content h4 {

            margin-top: 20px;

            margin-bottom: 10px;

            color: #222;

            font-weight: 700;
        }


        /* لیست‌ها */

        .startup360-category-description__content ul,
        .startup360-category-description__content ol {

            margin: 15px 0;

            padding-right: 25px;
        }


        /* لینک‌ها */

        .startup360-category-description__content a {

            color: #f16025;

            text-decoration: underline;
        }


        /* =========================================
           OPEN
        ========================================= */

        .startup360-category-description.is-open
        .startup360-category-description__content {

            max-height: 5000px;
        }


        .startup360-category-description.is-open
        .startup360-category-description__content::after {

            opacity: 0;
        }


        /* =========================================
           BUTTON
        ========================================= */

        .startup360-category-description__button {

            display: flex;

            align-items: center;

            justify-content: center;

            gap: 8px;

            margin: 20px auto 0;

            padding: 10px 20px;

            border: none;

            border-radius: 10px;

            background: #f16025;

            color: #fff;

            font-family: inherit;

            font-size: 14px;

            font-weight: 600;

            cursor: pointer;

            transition:
                .25s ease;
        }


        .startup360-category-description__button:hover {

            background: #d94f18;

            transform: translateY(-2px);

            box-shadow:
                0 6px 18px rgba(241,96,37,.25);
        }


        /* فلش */

        .startup360-category-description__arrow {

            display: inline-flex;

            transition:
                transform .35s ease;
        }


        .startup360-category-description.is-open
        .startup360-category-description__arrow {

            transform: rotate(180deg);
        }


        /* =========================================
           MOBILE
        ========================================= */

        @media (max-width: 768px) {

            .startup360-category-description {

                margin: 25px 0 30px;
            }


            .startup360-category-description__inner {

                padding: 23px 18px 20px;

                border-radius: 15px;
            }


            .startup360-category-description__heading h2 {

                font-size: 18px;
            }


            .startup360-category-description__content {

                max-height: 135px;

                font-size: 14px;

                line-height: 1.9;
            }


            .startup360-category-description__button {

                width: 100%;

                font-size: 13px;
            }

        }
