/* ─── Universal variables ──────────────────────────────────────
   Single :root — merge of all partials.
   --mc-* palette (5 colours + bg tints) cycles across months.
   --ep-* are local to the events component.
   ──────────────────────────────────────────────────────────── */
:root {
  /* Shared methodology / brand palette */
  --mc-1: #4A90D9;
  --mc-2: #E05A5A;
  --mc-3: #F0A500;
  --mc-4: #8B5CF6;
  --mc-5: #E8799A;

  --mc-1-bg: #EBF3FC;
  --mc-2-bg: #FDEAEA;
  --mc-3-bg: #FEF6E0;
  --mc-4-bg: #F3EEFF;
  --mc-5-bg: #FDEEF3;

  /* Events component tokens */
  --ep-pink: #e0006e;
  --ep-pink-hover: #c20060;
  --ep-bg: #f0f2f8;
  --ep-white: #ffffff;
  --ep-text-dark: #1a1a2e;
  --ep-text-mid: #444466;
  --ep-text-light: #888899;
  --ep-radius: 16px;
}

/* =========================
   GLOBAL
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

p {
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
}

.container {
  flex: 1 0 auto;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}

[id^="block-"] {
  text-align: center;
  margin-bottom: 80px;
}

/* ══════════════════════════════════════
   BANNER
   ══════════════════════════════════════ */

.banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.banner img {
  width: 100%;
  height: 820px;
  max-width: 100%;
  display: block;
  object-fit: cover;
}


.icpn-intro-block p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: left;
}

.icpn-intro-block a {
  color: #119BE0;
  font-weight: 600;
  text-decoration: underline;
}

.icpn-points {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: disc;
  margin: 20px 0;
  padding-left: 20px;
}

.icpn-points li {
  color: #E01A4F;
  font-weight: 700;
}


/* =========================================
   SECTION TITLE (reusable)
========================================= */

[id^="block-"] > h2,
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #222;
  text-align: center;
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}

[id^="block-"] > h2 > div,
.section-title > div {
  display: inline;
}

[id^="block-"] > h2::after,
.section-title::after {
  content: "";
  display: inline-block;
  vertical-align: top;
  margin-left: -10px;
  margin-top: -4px;
  width: 27px;
  height: 20px;
  background: url('/themes/custom/icpn_drupal_theme/assets/img/Group7.png') no-repeat center;
  background-size: contain;
}

@media (max-width: 992px) {
  [id^="block-"] > h2,
  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  [id^="block-"] > h2,
  .section-title {
    font-size: 24px;
  }
}

/* =========================================
   BUTTON (reusable)
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Arrow icon inside button */
.btn .arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ── Variants ───────────────────────────────────────────── */

/* Primary — red */
.btn-primary {
  background: #E01A4F;
  color: #ffffff;
  border-color: #E01A4F;
}

.btn-primary:hover,
.btn-primary:active {
  background: #b5133b !important;
  border-color: #b5133b !important;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(224, 26, 79, 0.3) !important;
}

/* Secondary — teal */
.btn-secondary {
  background: #2B7D91;
  color: #ffffff;
  border-color: #2B7D91;
}

.btn-secondary:hover {
  background: #00788a;
  border-color: #00788a;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(43, 125, 145, 0.3);
}

.btn-tertiary {
  background: #6A4785;
  color: #ffffff;
  border-color: #6A4785;
}

.btn-tertiary:hover {
  background: #5a3b6f;
  border-color: #5a3b6f;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(106, 71, 133, 0.3);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 576px) {
  .btn-block {
    width: 100%;
  }
}

#block-icpn-drupal-theme-ourconsortium hr {
  border: none;
  height: 2px;
  width: 200px;
  margin: 16px auto;
  background: linear-gradient(90deg, #E01A4F 0%, #F9C22E 22.12%, #A6BB7D 41.83%, #F15946 65.38%, #AE90C3 84.13%, #F6B0BD 100%);
  border-radius: 2px;
  opacity: 1;
}
