/* ICRS Custom CSS ---------------------------------------- */

/* Global site background colour */
body {
  background-color: rgb(255, 255, 204); /* pale yellow */
}

/* Navbar background colour */
.bg-icrs-blue {
  background-color: rgb(0, 118, 162) !important;
}

/* ----------------------------------------------------
   NAVBAR — ICRS Branding
---------------------------------------------------- */

#icrsNavbar .nav-link,
#icrsNavbar .navbar-brand {
  color: #ffffff !important;
}

#icrsNavbar .nav-link:hover,
#icrsNavbar .nav-link:focus {
  color: #cc0000 !important;
  text-decoration: none;
}

#icrsNavbar .nav-link.active,
#icrsNavbar .nav-link[aria-current="page"] {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#icrsNavbar .dropdown-menu {
  background-color: #ffffff;
}

#icrsNavbar .dropdown-item {
  color: #000000 !important;
}

#icrsNavbar .dropdown-item:hover,
#icrsNavbar .dropdown-item:focus {
  background-color: rgb(0, 118, 162) !important;
  color: #ffffff !important;
}

/* ----------------------------------------------------
   HEADER (single combined image)
---------------------------------------------------- */

.icrs-header {
  background-color: rgb(255, 255, 204);
}

/* New unified header logo */
.icrs-header-logo {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* ----------------------------------------------------
   BANNER STYLES
---------------------------------------------------- */

.icrs-banner {
  background-color: #2F6E98;
  color: #fff;
  padding: 20px;
  border-radius: 6px;
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  text-align: left;
  margin-bottom: 25px;
}

.icrs-banner-red {
  background-color: #FF0000;
  color: #fff;
  padding: 20px;
  border-radius: 6px;
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  text-align: center;
  margin-bottom: 25px;
}

/* Banner links = classic blue */
.icrs-banner a,
.icrs-banner-red a {
  color: #0000EE !important;
  text-decoration: underline;
}

/* ----------------------------------------------------
   CONTENT STYLES
---------------------------------------------------- */

.icrs-section p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Bullet lists */
.icrs-bullet-list {
  list-style-type: square;
  padding-left: 1.4rem;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.icrs-bullet-list li {
  margin-bottom: 0.3rem;
}

/* Classic blue links */
.icrs-link {
  color: #0000EE;
  font-weight: 700;
  text-decoration: underline;
}

/* TRACKS cover */
.icrs-tracks-cover {
  max-width: 100%;
  border: 1px solid #ccc;
}

/* Book cover */
.icrs-book-cover {
  max-width: 100%;
  border: 1px solid #ccc;
}

/* Book headings */
.icrs-books-heading {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.icrs-books-note {
  color: #FF0000;
  font-weight: 700;
  margin-left: 0.3rem;
}

.icrs-sundries-heading {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Red labels */
.icrs-books-em {
  color: #FF0000;
  font-weight: 700;
}

/* Social icons */
.icrs-social-icons .social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  transition: 0.25s;
}

.icrs-social-icons .facebook {
  background-color: #1877F2;
}

.icrs-social-icons .twitter {
  background-color: #000;
}

.icrs-social-icons .instagram {
  background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.icrs-social-icons .social-icon:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}

/* Contacts table */
.icrs-contacts-table {
  margin-top: 1rem;
  font-size: 0.98rem;
}

.icrs-contacts-table thead th {
  text-transform: uppercase;
  font-weight: 700;
  color: #FF0000;
  border-bottom: 2px solid #FF0000;
}

.icrs-contacts-table tbody td {
  border-top: none;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.icrs-contacts-group td {
  border-top: none;
  padding-top: 1.1rem;
  padding-bottom: 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #444;
  border-bottom: 1px solid #FF0000;
}

.icrs-contacts-table .ps-4 {
  padding-left: 2rem !important;
}

/* Inline links under "Links" section */
.icrs-links-inline {
  font-size: 0.98rem;
  line-height: 1.6;
}

.icrs-links-category-title {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #FF0000;
}

.icrs-links-general li {
  margin-bottom: 0.35rem;
}

.membership-banner {
  background: #cc0000;
  color: #ffffff;
  padding: 10px 15px;
  margin: 30px 0 15px;
  border-radius: 4px;
  font-weight: bold;
}

/* ----------------------------------------------------
   404 PAGE STYLES
---------------------------------------------------- */

.icrs-404-wrapper {
  max-width: 800px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 6px;
  padding: 25px;
  box-shadow: 0 2px 7px rgba(0,0,0,0.15);
  text-align: center;
}

.icrs-404-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.icrs-404-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.icrs-404-links a {
  display: inline-block;
  margin: 5px 8px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  background-color: rgb(0,118,162); /* ICRS blue */
  color: #fff;
  font-weight: 600;
}

.icrs-404-links a:hover {
  background-color: #004c67;
}

