/* =====================================================================
   style.css — shared styles for every page of the Represent BD website
   ---------------------------------------------------------------------
   HOW THE STYLING IS ORGANISED
   • Most layout, colour and spacing is written directly on each element
     (inline style="...") exactly as it was in the approved design. That keeps
     the design 100% unchanged. Moving these into CSS classes is listed as a
     recommended next step in docs/REPORT.md.
   • THIS file holds the things inline styles cannot do: hover effects,
     focus outlines, animations and the "selected" state of buttons.
   • Page-specific effects live in a small <style> block in that page's <head>.

   BRAND COLOURS (change here AND in the pages if you ever rebrand)
     Cherry red  #D20A2E     Gold  #FFD700     Black  #080808
     White #FFFFFF           Warm white #F8F6F2
     Lines #E4DFD7 / #CFC9BF   Image placeholders #EFEBE4
   FONTS (loaded from Google Fonts in each page <head>)
     Manrope = headings   DM Sans = body text   Hind Siliguri = Bangla
   ===================================================================== */

body { margin: 0; }
a { color: #080808; }
a:hover { color: #D20A2E; }
:focus-visible { outline: 2px solid #D20A2E; outline-offset: 3px; }

/* Anything with the HTML "hidden" attribute stays hidden, even if it has inline display rules */
[hidden] { display: none !important; }

/* ---- Buttons used on several pages ---- */
.rb-btn { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.rb-btn-red:hover,
.rb-btn-line:hover { background: #080808 !important; border-color: #080808 !important; color: #FFFFFF !important; }
.rb-btn-white:hover { background: #FFD700 !important; border-color: #FFD700 !important; color: #080808 !important; }
.rb-link:hover { color: #D20A2E !important; }

/* ---- "Selected" look for toggle buttons (set by js/main.js via aria-pressed) ---- */
.rb-tab[aria-pressed="true"],
.rb-chip[aria-pressed="true"] { background: #080808 !important; color: #FFFFFF !important; border-color: #080808 !important; }
.rb-sw[aria-pressed="true"] { border-color: #080808 !important; }
.rb-occ[aria-pressed="true"] { background: #D20A2E !important; }
.rb-occ[aria-pressed="true"] span { color: #FFFFFF !important; }
.rb-add[aria-pressed="true"] { background: #080808 !important; color: #FFFFFF !important; }
.rb-q[aria-expanded="true"] .rb-sign { background: #D20A2E !important; color: #FFFFFF !important; }

/* ---- Mobile menu icon swap (design-reference/mobile-home.html) ---- */
.rb-ic-close { display: none; }
[aria-expanded="true"] > .rb-ic-close { display: inline; }
[aria-expanded="true"] > .rb-ic-open { display: none; }
