﻿/* =========================================================
   R&D PARTIAL
   LANGUAGE SYSTEM
========================================================= */

.rdp-wrapper .rdp-mr {
    display: none !important;
}

.rdp-wrapper.rdp-lang-mr .rdp-en {
    display: none !important;
}

.rdp-wrapper.rdp-lang-mr .rdp-mr {
    display: block !important;
}

.rdp-wrapper.rdp-lang-en .rdp-en {
    display: block !important;
}

.rdp-wrapper.rdp-lang-en .rdp-mr {
    display: none !important;
}


/* =========================================================
   MAIN
========================================================= */

.rdp-wrapper {
    width: 100%;
    padding: 20px 0;
    background: #f6f9f7;
    font-family: "Segoe UI", Arial, sans-serif;
}

    .rdp-wrapper *,
    .rdp-wrapper *::before,
    .rdp-wrapper *::after {
        box-sizing: border-box;
    }

.rdp-container {
    width: calc(100% - 30px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e3e9e5;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(22, 70, 42, 0.08);
}


/* =========================================================
   HEADER
========================================================= */

.rdp-header {
    display: flex;
    align-items: center;
    gap: 17px;
}

.rdp-brand-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eaf6ee;
    font-size: 28px;
}

.rdp-heading {
    flex: 1;
}

.rdp-kicker {
    display: block;
    margin-bottom: 4px;
    color: #b4882e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.rdp-heading h2 {
    margin: 0;
    color: #124d2b;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.rdp-heading p {
    margin: 6px 0 0;
    color: #6b756f;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   LANGUAGE BUTTON
========================================================= */

.rdp-language-btn {
    flex-shrink: 0;
    border: 1px solid #d8e2dc;
    background: #ffffff;
    color: #17663a;
    border-radius: 50px;
    min-height: 38px;
    padding: 0 15px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    transition: all .25s ease;
}

    .rdp-language-btn:hover {
        background: #17663a;
        border-color: #17663a;
        color: #ffffff;
    }


/* =========================================================
   CROPS
========================================================= */

.rdp-crops {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    margin-top: 22px;
}

.rdp-crop {
    min-width: 0;
    padding: 9px 4px;
    text-align: center;
    border: 1px solid #e4ebe6;
    border-radius: 11px;
    background: #fbfdfb;
    transition: all .2s ease;
}

    .rdp-crop:hover {
        background: #edf7f0;
        border-color: #c7dccd;
        transform: translateY(-2px);
    }

    .rdp-crop span {
        display: block;
        margin-bottom: 3px;
        font-size: 19px;
    }

    .rdp-crop b {
        display: block;
        color: #304238;
        font-size: 10px;
    }


/* =========================================================
   FEATURES
========================================================= */

.rdp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 17px;
}

.rdp-feature {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    border: 1px solid #e5ebe7;
    border-radius: 14px;
    background: #fafcfb;
}

.rdp-feature-icon {
    width: 39px;
    height: 39px;
    min-width: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f7eedb;
    font-size: 19px;
}

.rdp-feature h3 {
    margin: 1px 0 4px;
    color: #185b35;
    font-size: 13px;
}

.rdp-feature p {
    margin: 0;
    color: #717b75;
    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   BOTTOM
========================================================= */

.rdp-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid #e7ece9;
}

.rdp-bottom-text {
    flex: 1;
}

    .rdp-bottom-text strong {
        display: block;
        color: #193b27;
        font-size: 13px;
    }

    .rdp-bottom-text small {
        display: block;
        margin-top: 4px;
        color: #77827b;
        font-size: 10px;
    }

.rdp-view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 11px 18px;
    border-radius: 50px;
    background: #17663a;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 800;
    transition: all .25s ease;
}

    .rdp-view-more:hover {
        background: #0e4728;
        transform: translateY(-2px);
    }

    .rdp-view-more span:last-child {
        font-size: 16px;
    }


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .rdp-crops {
        grid-template-columns: repeat(4, 1fr);
    }

    .rdp-features {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .rdp-wrapper {
        padding: 12px 0;
    }

    .rdp-container {
        width: calc(100% - 16px);
        padding: 16px;
        border-radius: 17px;
    }

    .rdp-header {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 11px;
    }

    .rdp-brand-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 13px;
        font-size: 22px;
    }

    .rdp-heading {
        width: calc(100% - 62px);
    }

        .rdp-heading h2 {
            font-size: 19px;
        }

        .rdp-heading p {
            font-size: 10px;
        }

    .rdp-kicker {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .rdp-language-btn {
        margin-left: auto;
        min-height: 34px;
        padding: 0 12px;
        font-size: 10px;
    }

    .rdp-crops {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
        margin-top: 17px;
    }

    .rdp-crop {
        padding: 7px 2px;
        border-radius: 8px;
    }

        .rdp-crop span {
            font-size: 16px;
        }

        .rdp-crop b {
            font-size: 8px;
        }

    .rdp-features {
        margin-top: 12px;
        gap: 7px;
    }

    .rdp-feature {
        padding: 11px;
        border-radius: 11px;
    }

    .rdp-feature-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 16px;
    }

    .rdp-feature h3 {
        font-size: 12px;
    }

    .rdp-feature p {
        font-size: 9px;
    }

    .rdp-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .rdp-view-more {
        width: 100%;
        min-height: 42px;
        font-size: 11px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .rdp-container {
        padding: 13px;
    }

    .rdp-crops {
        grid-template-columns: repeat(2, 1fr);
    }

    .rdp-heading h2 {
        font-size: 17px;
    }

    .rdp-feature p {
        font-size: 8.5px;
    }
}
