/**
 * rti.css
 * Resource Centre > RTI. The "about" card is the Climate Change page's own (.cc-about-card,
 * loaded from css/designs/research_climate.css and left untouched); what follows styles only
 * the list of RTI documents, each drawn as a rectangle: a mark, the file's name and date, and
 * a Download button beside an Open button.
 *
 * Scoped under .rti-page, so nothing here reaches any other page.
 */

/* the box: a highlighted card around the whole document list, with a tri-colour accent on top */
.rti-page .rti-doc-card {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(10, 46, 26, .1);
    border-radius: 22px;
    padding: 34px 30px 28px;
    box-shadow: 0 25px 60px -28px rgba(31, 42, 34, .45);
}
.rti-page .rti-doc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 6%; right: 6%;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent 0%, #0a2e1a 25%, #f1c40f 50%, #0a2e1a 75%, transparent 100%);
    opacity: .9;
}

.rti-page .rti-doc-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rti-page .rti-doc {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fbfbfa;
    box-shadow: 0 10px 24px -20px rgba(31, 42, 34, .4);
    transition: transform .3s cubic-bezier(.22, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.rti-page .rti-doc:hover {
    transform: translateY(-3px);
    border-color: #e6dfcd;
    box-shadow: 0 18px 34px -22px rgba(31, 42, 34, .5);
}

/* the mark: an outline ring, not a filled chip */
.rti-page .rti-doc-icon {
    flex: none;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.6px solid rgba(180, 68, 47, .35);
    background: rgba(180, 68, 47, .06);
    color: #b4442f;
    font-size: 1.15rem;
}

.rti-page .rti-doc-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.rti-page .rti-doc-name {
    font-size: .98rem;
    font-weight: 700;
    color: #1f2a22;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.rti-page .rti-doc-date {
    font-size: .82rem;
    font-weight: 600;
    color: #6b7280;
}

.rti-page .rti-doc-actions {
    flex: none;
    display: flex;
    gap: 10px;
}
.rti-page .rti-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
/* Download: the primary action, filled */
.rti-page .rti-doc-download {
    background: #0a2e1a;
    color: #fff;
    border: 1.6px solid #0a2e1a;
}
.rti-page .rti-doc-download:hover { background: #1a472a; transform: translateY(-1px); }
/* Open: the secondary action, outlined */
.rti-page .rti-doc-open {
    background: transparent;
    color: #0a2e1a;
    border: 1.6px solid rgba(10, 46, 26, .3);
}
.rti-page .rti-doc-open:hover { border-color: #0a2e1a; background: rgba(10, 46, 26, .05); }

.rti-page .rti-doc-empty {
    margin: 0;
    padding: 46px 20px;
    text-align: center;
    font-size: .95rem;
    font-weight: 600;
    color: #6b7280;
}
.rti-page .rti-doc-empty i { margin-right: 8px; color: #9ca3af; }

@media (max-width: 640px) {
    .rti-page .rti-doc-card { padding: 24px 16px 20px; border-radius: 18px; }
    .rti-page .rti-doc { flex-wrap: wrap; }
    .rti-page .rti-doc-info { flex-basis: 100%; order: 2; }
    .rti-page .rti-doc-actions { flex-basis: 100%; order: 3; }
    .rti-page .rti-doc-btn { flex: 1 1 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .rti-page .rti-doc:hover,
    .rti-page .rti-doc-download:hover { transform: none; }
}

/* the "RTI List of PIO" download box, in the Non-Forest Land Certificate card's design: a soft red icon tile, the title (its
   line in red under it), and a squared deep green "Download PDF" button on sand */
html body .dz-page.rti-page.rv .dz-k-download .bs-highlight-card.ps-section { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 36px !important;
    border: 0 !important; border-radius: 16px !important; background: #f2ede1 !important; box-shadow: none !important; }
html body .dz-page.rti-page.rv .dz-k-download .bs-highlight-card .ps-hl-left { gap: 24px; }
html body .dz-page.rti-page.rv .dz-k-download .bs-highlight-card .hl-icon.hl-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin: 0 !important;
    border: 0 !important; border-radius: 14px !important; background: #f6e3dd !important; box-shadow: none !important; font-size: 1.6rem; }
html body .dz-page.rti-page.rv .dz-k-download .bs-highlight-card .hl-icon i { color: #b4442f !important; }
html body .dz-page.rti-page.rv .dz-k-download .bs-highlight-card .hl-text h4 { margin: 0 0 6px !important; font-size: 1.3rem !important; font-weight: 800 !important; color: #0a2e1a !important; }
html body .dz-page.rti-page.rv .dz-k-download .bs-highlight-card .hl-text p { margin: 0; font-size: 1.05rem; line-height: 1.6; color: #b4442f !important; text-align: left !important; }
html body .dz-page.rti-page.rv .dz-k-download .bs-highlight-card a.bs-btn-solid-white.bs-btn-solid-white { flex: none; gap: 10px; padding: 14px 28px !important; border: 0 !important;
    margin: 0 !important; align-self: center; border-radius: 10px !important; background: #1a472a !important; color: #fff !important; font-size: 1rem; font-weight: 800; }
html body .dz-page.rti-page.rv .dz-k-download .bs-highlight-card a.bs-btn-solid-white.bs-btn-solid-white:hover { background: #0a2e1a !important; }
@media (max-width: 760px) {
    html body .dz-page.rti-page.rv .dz-k-download .bs-highlight-card.ps-section { flex-direction: column; align-items: flex-start; padding: 24px !important; }
    html body .dz-page.rti-page.rv .dz-k-download .bs-highlight-card a.bs-btn-solid-white.bs-btn-solid-white { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* the "Right to Information (RTI)" card: deep green with room inside, the icon in a soft gold tile beside the heading, a thin
   rule under the heading, the text left-aligned in an easy measure, and its bold phrases picked out in yellow */
html body .dz-page.rti-page .rti-about .cc-about-card { position: relative; overflow: hidden; padding: 48px 56px !important; border: 0 !important; border-radius: 16px !important;
    background: #0a2e1a !important; box-shadow: none !important; }
html body .dz-page.rti-page .rti-about .cc-about-card::after { content: ""; position: absolute; top: 0; left: 56px; width: 96px; height: 4px; border-radius: 0 0 4px 4px; background: none; display: none; }
html body .dz-page.rti-page .rti-about .cc-about-title { display: flex; align-items: center; gap: 20px; margin: 0 0 28px !important; padding: 0 0 28px; border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(26px, 2.4vw, 36px) !important; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff !important; text-align: left !important; }
html body .dz-page.rti-page .rti-about .cc-about-title i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 !important;
    border-radius: 14px; background: rgba(241, 196, 15, .14); color: #f1c40f !important; font-size: 26px; }
html body .dz-page.rti-page .rti-about .cc-about-text p { margin: 0 0 18px !important; font-size: 17px !important; line-height: 1.8 !important; color: rgba(255, 255, 255, .84) !important;
    text-align: left !important; max-width: none; }
html body .dz-page.rti-page .rti-about .cc-about-text p:last-child { margin-bottom: 0 !important; }
html body .dz-page.rti-page .rti-about .cc-about-text :is(strong, b) { font-weight: 700; color: #f1c40f !important; }
@media (max-width: 760px) {
    html body .dz-page.rti-page .rti-about .cc-about-card { padding: 32px 24px !important; }
    html body .dz-page.rti-page .rti-about .cc-about-card::after { left: 24px; }
    html body .dz-page.rti-page .rti-about .cc-about-title { gap: 14px; margin-bottom: 20px !important; padding-bottom: 20px; }
    html body .dz-page.rti-page .rti-about .cc-about-title i { width: 48px; height: 48px; font-size: 20px; }
    html body .dz-page.rti-page .rti-about .cc-about-text p { font-size: 16px !important; line-height: 1.7 !important; }
}

/* the document mark and buttons are the site's standard (css/pdf_actions.css): a green PDF icon in a soft circle */
html body .rti-page .rti-doc-icon.pdf-ico { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(26, 71, 42, .1); color: #1a472a; font-size: 18px; }
