/* MSMPB: the original page's own styles (templates/core/boards/msmpb.html), verbatim. */
    :root {
        --rt-primary: #2d6a4f;
        --rt-primary-dark: #1a472a;
        --rt-bg-light: #f2ede1;
        --rt-dark: #1f2a22;
        --rt-text: #4b5563;
        --rt-border: #f2ede1;
    }

    .rt-page {
        padding: 0 0 60px 0;
        font-family: 'Plus Jakarta Sans', sans-serif;
        color: var(--rt-text);
        background: transparent;
        transition: background-color 0.3s, color 0.3s;
    }

    .rt-wrap {
        max-width: 1440px;
        margin: 0 auto;
        padding: 40px 20px 0;
    }

    .rt-section-card {
        background: linear-gradient(145deg, #ffffff, #fef7d6);
        border-radius: 20px;
        padding: 45px;
        margin-bottom: 45px;
        border: 2px solid transparent;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
        position: relative;
    }
    .rt-section-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(45, 106, 79, 0.1);
        border-color: #2d6a4f;
    }

    .rt-section-title {
        font-size: 1.8rem;
        font-weight: 800;
        color: #1a472a; /* Dark green topic */
        margin-top: 0;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .rt-section-title i {
        color: #ffffff;
        background: linear-gradient(135deg, #2d6a4f, #2d6a4f);
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        font-size: 1.4rem;
        box-shadow: 0 8px 15px rgba(45, 106, 79, 0.3);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .rt-section-card:hover .rt-section-title i {
        transform: scale(1.1) rotate(10deg);
        background: linear-gradient(135deg, #2d6a4f, #1a472a);
    }

    .intro-text p {
        font-size: 1.05rem;
        line-height: 1.8;
        color: var(--rt-text);
        margin-bottom: 15px;
    }

    /* Clean Modern Heading Style for MSMPB */
    .catchy-heading {
        margin-top: 25px;
        margin-bottom: 25px;
        padding-left: 18px;
        border-left: 5px solid #1a472a;
    }
    
    .catchy-title {
        font-size: 1.85rem;
        font-weight: 800;
        color: #1a472a;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .catchy-icon-badge {
        color: #ffffff;
        background: linear-gradient(135deg, #b8900f, #b8900f);
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        font-size: 1.4rem;
        flex-shrink: 0;
        box-shadow: 0 8px 15px rgba(184, 144, 15, 0.3);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .catchy-heading h3::before,
    .catchy-heading h3::after,
    .cms-dynamic-content .catchy-heading h3::before,
    .cms-dynamic-content .catchy-heading h3::after,
    .cms-dynamic-content h3.catchy-title::before,
    .cms-dynamic-content h3.catchy-title::after {
        display: none !important;
        content: none !important;
    }

    .catchy-heading:hover .catchy-icon-badge {
        transform: scale(1.15) rotate(-10deg);
        box-shadow: 0 12px 25px rgba(184, 144, 15, 0.4);
    }

    .catchy-ribbon {
        width: 100%;
        max-width: 220px;
        height: 4px;
        background: linear-gradient(90deg, #1a472a 0%, #2d6a4f 60%, transparent 100%);
        border-radius: 4px;
        margin-top: 10px;
        position: relative;
        transition: max-width 0.4s ease;
    }
    .catchy-heading:hover .catchy-ribbon {
        max-width: 340px;
    }

    /* CMS Dynamic Content Styling for H3 Headings */
    .cms-dynamic-content h3 {
        position: relative;
        font-size: 1.8rem;
        font-weight: 900;
        color: #1a472a;
        margin-top: 40px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 14px;
        padding-bottom: 12px;
        border-bottom: none;
        background: linear-gradient(135deg, #0a2e1a 0%, #1a472a 60%, #2d6a4f 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .cms-dynamic-content h3::before {
        content: '\f4d8'; /* fa-leaf */
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        background: linear-gradient(135deg, #1a472a 0%, #1a472a 100%);
        color: #f1c40f !important;
        -webkit-text-fill-color: #f1c40f !important;
        width: 46px;
        height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        font-size: 1.25rem;
        box-shadow: 0 8px 20px rgba(45, 106, 79, 0.25);
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        flex-shrink: 0;
    }
    .cms-dynamic-content h3:hover::before {
        transform: rotate(12deg) scale(1.1);
    }
    .cms-dynamic-content h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 180px;
        height: 4px;
        background: linear-gradient(90deg, #1a472a 0%, #2d6a4f 70%, transparent 100%);
        border-radius: 4px;
        transition: width 0.4s ease;
    }
    .cms-dynamic-content h3:hover::after {
        width: 280px;
    }
    
    /* Lists & cards in CMS */
    .cms-dynamic-content ul:not(.highlights-grid) {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 25px 0;
    }
    .cms-dynamic-content ul:not(.highlights-grid) li {
        background: #fff;
        border: 1px solid var(--rt-border);
        border-radius: 14px;
        padding: 22px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.02);
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .cms-dynamic-content ul:not(.highlights-grid) li:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.06);
        border-color: #1a472a;
    }
    
    /* Normal inner bold text in plain black/dark text, NOT green */
    .cms-dynamic-content strong, 
    .cms-dynamic-content b,
    .rt-section-card strong {
        color: inherit;
        font-weight: 700;
    }
    .cms-dynamic-content li > strong:first-child {
        display: block;
        color: #1a472a;
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 8px;
    }
    .cms-dynamic-content li > strong:first-child strong {
        color: #1a472a;
    }

    /* Flagship Species 2x2 Grid */
    .species-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 25px 0 35px 0;
    }
    .species-card {
        background: #fff;
        border: 1px solid var(--rt-border);
        border-top: 3px solid #1a472a;
        border-radius: 12px;
        padding: 22px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .species-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }
    .species-name {
        font-size: 1.15rem;
        font-weight: 800;
        color: #1f2a22; /* Dark title */
        margin-bottom: 4px;
    }
    .species-latin {
        font-size: 0.95rem;
        font-style: italic;
        font-weight: 600;
        color: #2d6a4f; /* Light green/emerald below title */
        margin-bottom: 10px;
    }
    .species-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--rt-text);
        margin: 0;
    }
    
    /* Dedicated PDF Download Card */
    .pdf-download-card {
        background: linear-gradient(135deg, #f2ede1 0%, #f2ede1 100%);
        border: 1.5px solid #8fc9a3;
        border-radius: 16px;
        padding: 28px 32px;
        margin: 30px 0 10px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 25px;
        box-shadow: 0 6px 20px rgba(45, 106, 79, 0.06);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .pdf-download-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(45, 106, 79, 0.12);
        border-color: #8fc9a3;
    }
    .pdf-card-content {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .pdf-icon-badge {
        width: 54px;
        height: 54px;
        border-radius: 14px;
        background: #1a472a;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(26, 71, 42, 0.2);
    }
    .pdf-card-title {
        margin: 0 0 6px 0;
        font-size: 1.2rem;
        font-weight: 800;
        color: #1a472a;
    }
    .pdf-card-subtitle {
        margin: 0;
        font-size: 0.95rem;
        color: #1f2a22;
        line-height: 1.5;
    }
    .btn-download-pdf {
        background: #1a472a;
        color: #ffffff !important;
        padding: 13px 26px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.95rem;
        text-decoration: none;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        box-shadow: 0 4px 14px rgba(26, 71, 42, 0.25);
        transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    }
    .btn-download-pdf:hover {
        background: #2d6a4f;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(26, 71, 42, 0.35);
    }
    .btn-download-pdf i {
        transition: transform 0.2s ease;
    }
    .btn-download-pdf:hover i {
        transform: translateY(2px);
    }

    /* Endemic & Threatened Species Cards */
    .species-status-container {
        margin-top: 35px;
        margin-bottom: 25px;
    }
    .status-section-title {
        font-size: 1.3rem;
        font-weight: 800;
        color: #1a472a;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .species-status-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .status-card {
        background: #ffffff;
        border: 1.5px solid var(--rt-border);
        border-radius: 14px;
        padding: 24px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.02);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .status-card.endemic {
        border-top: 4px solid #2d6a4f;
    }
    .status-card.threatened {
        border-top: 4px solid #b4442f;
        background: #fffbfb;
    }
    .status-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    }
    .status-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }
    .status-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        background: linear-gradient(135deg, #2d6a4f, #2d6a4f);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        box-shadow: 0 8px 15px rgba(45, 106, 79, 0.3);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .status-card:hover .status-icon {
        transform: scale(1.15) rotate(10deg);
        background: linear-gradient(135deg, #2d6a4f, #1a472a);
    }
    .status-icon.alert {
        background: linear-gradient(135deg, #f6e3dd, #b4442f);
        box-shadow: 0 8px 15px rgba(180, 68, 47, 0.3);
    }
    .status-card:hover .status-icon.alert {
        transform: scale(1.15) rotate(-10deg);
        background: linear-gradient(135deg, #b4442f, #b4442f);
    }
    .status-card h5 {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 800;
        color: #1f2a22;
    }
    .status-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #4b5563;
        margin-bottom: 16px;
    }
    .status-badges {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    .badge-tag {
        background: #f2ede1;
        color: #1a472a;
        font-size: 0.82rem;
        font-weight: 700;
        padding: 5px 12px;
        border-radius: 20px;
        border: 1px solid #e3ece1;
    }
    .badge-tag.outline {
        background: #f2ede1;
        color: #4b5563;
        border-color: #e6dfcd;
    }
    .badge-tag.alert {
        background: #f6e3dd;
        color: #b4442f;
        border-color: #f6e3dd;
    }
    
    /* Strategic Impact Card (No side line) */
    .cms-dynamic-content blockquote,
    .strategic-impact-card {
        margin: 35px 0 10px 0;
        padding: 28px 32px;
        background: #f2ede1;
        border: 1px solid #e6dfcd;
        border-left: none !important; /* Side line removed per prompt */
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    }
    .cms-dynamic-content blockquote p,
    .strategic-impact-card p {
        margin: 0;
        font-size: 1.05rem;
        line-height: 1.7;
        color: var(--rt-dark);
        font-style: italic;
    }
    .cms-dynamic-content blockquote strong,
    .strategic-impact-card strong {
        display: block;
        font-size: 1.3rem;
        font-weight: 800;
        font-style: normal;
        color: #1a472a; /* Dark green topic */
        margin-bottom: 12px;
    }

    /* Achievements Card: Animated Gradient, Yellow Topic, White Content */
    .achievements-card {
        background: linear-gradient(135deg, #0a2e1a, #1a472a, #2d6a4f) !important;
        background-size: 200% 200% !important;
        animation: rtGradientShift 8s ease infinite;
        border: 2px solid #f1c40f !important;
        border-radius: 20px;
        padding: 45px;
        margin-bottom: 45px;
        box-shadow: 0 15px 40px rgba(26, 71, 42, 0.4);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .achievements-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(26, 71, 42, 0.6);
    }
    @keyframes rtGradientShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    .achievements-card .rt-section-title {
        color: #f1c40f !important; /* Yellow Topic */
    }
    .achievements-card .rt-section-title i {
        color: #1f2a22 !important;
        background: linear-gradient(135deg, #f1c40f, #b8900f) !important;
        box-shadow: 0 8px 15px rgba(184, 144, 15, 0.4);
        animation: gentleRtBounce 2s ease-in-out infinite;
    }
    @keyframes gentleRtBounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-3px); }
    }
    .achievements-card p,
    .achievements-card .intro-text {
        color: #ffffff !important; /* White content */
        font-size: 1.05rem;
        line-height: 1.8;
    }
    .achievements-card strong {
        color: #f1c40f !important; /* Accent yellow bold text */
    }

    /* Lists */
    .styled-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .styled-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 1.05rem;
        line-height: 1.7;
    }
    .styled-list li i {
        color: #1a472a;
        margin-top: 5px;
    }

    /* Activities Grid */
    .activity-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
        gap: 25px;
        margin-top: 25px;
    }
    .act-card {
        background: linear-gradient(145deg, #ffffff, #fef7d6);
        border: 2px solid transparent;
        border-radius: 16px;
        padding: 30px;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
        box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    }
    .act-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 30px rgba(45, 106, 79, 0.15);
        border-color: #2d6a4f;
    }
    .act-card h5 {
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--rt-dark);
        margin: 0 0 15px 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .act-card h5 i { 
        color: #ffffff; 
        background: linear-gradient(135deg, #8fc9a3, #2d6a4f);
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        box-shadow: 0 6px 12px rgba(45, 106, 79, 0.3);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .act-card:hover h5 i {
        transform: scale(1.15) rotate(-10deg);
    }
    .act-card p {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--rt-text);
        margin-bottom: 12px;
    }
    .act-card p:last-child { margin-bottom: 0; }
    
    .act-card ul {
        padding-left: 20px;
        margin-bottom: 15px;
    }
    .act-card li { margin-bottom: 6px; }

    @media (max-width: 768px) {
        .species-grid { grid-template-columns: 1fr; }
        .species-status-grid { grid-template-columns: 1fr; }
        .pdf-download-card { flex-direction: column; align-items: flex-start; }
        .rt-section-card { padding: 25px 20px; }
    }

/* Its cards were all in one .rt-wrap; each block now has its own, so later ones drop the top padding. */
.rt-page > .rt-wrap ~ .rt-wrap { padding-top: 0; }

/* icon tiles beside the section headings and card titles: the site's tile — white with a green icon (revamp.css), not
   a green square that hid the green icon; the Achievements card keeps its gold tile on deep green */
html body .dz-page.rv .rt-section-card:not(.achievements-card) .rt-section-title i,
html body .dz-page.rv .act-card h5 i {
    background: #fff !important; background-image: none !important; color: var(--rv-green, #1a472a) !important; box-shadow: none !important; border: 0 !important; border-radius: 8px !important; }

/* the Introduction: the standard deep green card with a yellow edge; its heading in yellow beside an outlined icon, the paragraphs in white */
html body .dz-page.rv .rt-section-card.msm-intro.msm-intro { position: relative; overflow: hidden; isolation: isolate; padding: 36px 44px 34px !important; border: 0 !important; border-radius: 14px !important;
    background: radial-gradient(520px 320px at 100% 0%, rgba(16, 185, 129, .22), transparent 70%), linear-gradient(135deg, #0b3d2c 0%, #042f1a 100%) !important; box-shadow: 0 30px 60px -40px rgba(4, 47, 26, .7) !important; }
html body .dz-page.rv .rt-section-card.msm-intro.msm-intro::before { content: none; display: none; }
html body .dz-page.rv .rt-section-card.msm-intro.msm-intro .rt-section-title { display: flex; align-items: center; gap: 16px; margin: 0 0 18px !important; color: #f1c40f !important; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(26px, 2.3vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
html body .dz-page.rv .rt-section-card.msm-intro.msm-intro .rt-section-title i { flex: none; display: inline-grid; place-items: center; width: 52px; height: 52px; margin: 0; font-size: 22px;
    background: transparent !important; background-image: none !important; color: #f1c40f !important; border: 1.5px solid #f1c40f !important; border-radius: 50% !important; box-shadow: none !important; }
html body .dz-page.rv .rt-section-card.msm-intro.msm-intro .cms-dynamic-content, html body .dz-page.rv .rt-section-card.msm-intro.msm-intro .cms-dynamic-content p { color: #fff !important; }
html body .dz-page.rv .rt-section-card.msm-intro.msm-intro .cms-dynamic-content strong { color: #f1c40f !important; }
