/* Community Reserves: the original page had no inline <style>; its stylesheet css/community_reserves.css is loaded via the design's styles. */

/* Community Reserves in the site style (Home → Territorial Overview): full width inside 5% margins (the figure cards keep
   their own design), the intro as plain words, left headings (38px), sand cards with 8px corners and 150ms motion. */
html body .cr-page .cr-wrap { max-width: none; padding: 0 5%; box-sizing: border-box; }
html body .cr-page .cr-sec { padding: 52px 0 0; }

/* the intro words (a standard text block on this page): plain, no box */
html body .cr-page .dz-band { padding: 52px 0 0 !important; background: transparent; }
html body .cr-page .dz-band .dz-wrap { max-width: none; padding: 0 5%; }
html body .cr-page .dz-band .bs-card { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
html body .cr-page .dz-band .bs-card::before, html body .cr-page .dz-band .bs-card::after { display: none; }
html body .cr-page .dz-band .bs-cms-content p { margin: 0; max-width: none; font-size: 19px; line-height: 1.7; color: #1f2a22; }

/* headings */
.cr-h2 { margin: 0 0 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(28px, 2.5vw, 38px); line-height: 1.05; letter-spacing: -.035em; color: #0a2e1a; text-align: left; }
.cr-h3 { margin: 0 0 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -.02em; color: #0a2e1a; }
.cr-sub { margin: 0; max-width: 72ch; font-size: 17px; line-height: 1.6; color: #4b5563; }

/* clauses as an agreement sheet: a light sheet with a fine border, numbered entries in two ruled columns */
.cr-sheet { padding: 52px; border-radius: 8px; background: #fffdf8; box-shadow: inset 0 0 0 1px rgba(10, 46, 26, .12); }
.cr-sheet-head { display: grid; grid-template-columns: 38.2fr 61.8fr; gap: 20px 52px; align-items: end; padding-bottom: 32px; border-bottom: 2px solid #0a2e1a; }
.cr-sheet-head .cr-h2 { margin: 0; }
.cr-sheet-head .cr-sub { max-width: none; }
.cr-terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 52px; }
.cr-term { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 32px 0 32px 20px; border-bottom: 1px solid rgba(10, 46, 26, .12); }
.cr-term::before { content: ''; position: absolute; left: 0; top: 32px; bottom: 32px; width: 3px; border-radius: 3px; background: #f1c40f; transform: scaleY(0); transform-origin: top;
    transition: transform 300ms cubic-bezier(.16, 1, .3, 1); }
.cr-term:hover::before { transform: scaleY(1); }
.cr-term-no { font: 500 20px/1.2 Roboto, sans-serif; font-variant-numeric: tabular-nums; color: rgba(10, 46, 26, .45); transition: color 150ms; }
.cr-term:hover .cr-term-no { color: #b8860b; }
.cr-term h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: #0a2e1a; }
.cr-term h3 i { flex: none; font-size: 15px; color: #2d6a4f; }
.cr-term h3 span { background: linear-gradient(#f1c40f, #f1c40f) no-repeat 0 100% / 0 2px; transition: background-size 300ms cubic-bezier(.16, 1, .3, 1); padding-bottom: 2px; }
.cr-term:hover h3 span { background-size: 100% 2px; }
.cr-term-words p { margin: 0; font-size: 15px; line-height: 1.65; color: #1f2a22; }

/* directory strip */
.cr-dir { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; border-radius: 8px; background: #f2ede1; }
.cr-dir-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 8px; background: #0a2e1a; color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none !important;
    transition: background-color 150ms cubic-bezier(.4, 0, .2, 1), transform 150ms cubic-bezier(.4, 0, .2, 1); }
.cr-dir-btn:hover { background: #1a472a; }
.cr-dir-btn:active { transform: translateY(1px); }
.cr-dir-btn:focus-visible { outline: 2px solid #f1c40f; outline-offset: 3px; }
html body .cr-page { padding-bottom: 84px; }

@media (max-width: 1100px) { .cr-sheet-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
    html body .cr-page .cr-wrap, html body .cr-page .dz-band .dz-wrap { padding: 0 20px; }
    .cr-terms { grid-template-columns: minmax(0, 1fr); }
    .cr-sheet { padding: 24px 20px; }
    .cr-term { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 20px 0 20px 12px; }
    .cr-dir { flex-direction: column; align-items: stretch; padding: 20px; }
    .cr-dir-btn { justify-content: center; }
}

/* The covenant sheet in deep green: light words, gold title, fine light rules; the gold hover marks stay */
.cr-page .cr-sheet { background: #0a2e1a; box-shadow: none; }
.cr-page .cr-sheet .cr-h2 { color: #f1c40f; }
.cr-page .cr-sheet .cr-sub { color: rgba(255, 255, 255, .78); }
.cr-page .cr-sheet-head { border-bottom-color: rgba(255, 255, 255, .35); }
.cr-page .cr-term { border-bottom-color: rgba(255, 255, 255, .12); }
.cr-page .cr-term-no { color: rgba(255, 255, 255, .45); }
.cr-page .cr-term:hover .cr-term-no { color: #f1c40f; }
.cr-page .cr-term h3 { color: #fff; }
.cr-page .cr-term h3 i { color: #8fc9a3; }
.cr-page .cr-term-words p { color: rgba(255, 255, 255, .82); }

/* the opening text (Community Reserves of Meghalaya...): the standard deep green intro card, the two paragraphs one after the other in white */
html body .dz-page.cr-page .dz-statement { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 36px 44px 34px; border-radius: 14px;
    background: radial-gradient(520px 320px at 100% 0%, rgba(16, 185, 129, .22), transparent 70%), linear-gradient(135deg, #0b3d2c 0%, #042f1a 100%); box-shadow: 0 30px 60px -40px rgba(4, 47, 26, .7); }
html body .dz-page.cr-page .dz-statement::before { display: none; }
html body .dz-page.cr-page .dz-statement::after { opacity: .09; filter: invert(1); }
html body .dz-page.cr-page .dz-statement-lead { max-width: none; margin: 0 0 14px; color: #fff; font-size: 16.5px; font-style: normal; font-weight: 400; line-height: 1.75; letter-spacing: 0; text-align: left; }
html body .dz-page.cr-page .dz-statement-rest p { color: #fff; font-size: 16.5px; line-height: 1.75; }
html body .dz-page.cr-page .dz-statement :is(strong, b) { color: #f1c40f; }
