/* ============================================================
   POPULIST-GAMEMODE — Kadence Custom CSS — COMPLETE FINAL
   Variant B layout + Variant A palette + dark header + hero text
   Paste into: Appearance → Customize → Additional CSS
   DELETE everything before pasting this
   Version: 4.1 — March 2026
   ============================================================ */


/* ---------- PALETTE ---------- */

:root {
  --pgm-gold: #e8c547;
  --pgm-gold-light: rgba(232, 197, 71, 0.12);
  --pgm-dark: #1a1a2e;
  --pgm-navy: #0f3460;
  --pgm-navy-light: #16213e;
  --pgm-warm: #faf8f5;
  --pgm-ink: #1c1c1c;
  --pgm-text: #3d3d3d;
  --pgm-text-light: #6b6b6b;
  --pgm-border: #e2dfd8;
}


/* ---------- TYPOGRAPHY ---------- */

body, input, select, optgroup, textarea {
  color: var(--pgm-text);
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif !important;
  letter-spacing: -0.01em;
}


/* ---------- HERO ---------- */

.entry-hero .entry-hero-container-inner {
  background: linear-gradient(135deg, var(--pgm-dark) 0%, var(--pgm-navy-light) 50%, var(--pgm-navy) 100%) !important;
  padding-top: 90px !important;
  padding-bottom: 70px !important;
}

.entry-hero .entry-header {
  min-height: 140px !important;
  text-align: center;
}

h1.entry-title {
  font-size: 2.6rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #fff !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
}

/* Gold subtitle line above title */
h1.entry-title::before {
  content: 'JEAN MONNET MODULE  |  UNIVERSITATEA BABEȘ-BOLYAI';
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em !important;
  color: var(--pgm-gold);
  margin-bottom: 12px;
  font-family: 'Inter', -apple-system, sans-serif !important;
}

/* Subtitle below title */
h1.entry-title::after {
  content: 'Populism, Citizens, and Leadership in EU Decision-Making';
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em !important;
  color: #aab;
  margin-top: 18px;
  line-height: 1.5;
  font-family: 'Inter', -apple-system, sans-serif !important;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}


/* ---------- CONTENT AREA ---------- */

.content-area {
  margin-top: 0 !important;
}

/* Warm ivory background */
.content-bg, body.content-style-unboxed .site {
  background: var(--pgm-warm) !important;
}

.entry-content-wrap {
  padding: 3.5rem 3rem !important;
}

@media all and (max-width: 767px) {
  .entry-content-wrap {
    padding: 2rem 1.2rem !important;
  }
}

.entry.single-entry {
  box-shadow: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--pgm-border);
}


/* ---------- SECTION HEADINGS (h2) ---------- */

.entry-content h2.wp-block-heading {
  font-size: 1.6rem !important;
  color: var(--pgm-ink) !important;
  margin-top: 3em !important;
  margin-bottom: 0.6em !important;
  padding-bottom: 0;
  border-bottom: none;
  font-weight: 700 !important;
  font-style: italic !important;
  line-height: 1.3 !important;
}

/* Navy line before h2 */
.entry-content h2.wp-block-heading::before {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--pgm-navy);
  margin-bottom: 12px;
}

/* First heading — larger, not italic */
.entry-content h2.wp-block-heading.has-large-font-size {
  margin-top: 0 !important;
  font-size: 1.9rem !important;
  font-style: normal !important;
  color: var(--pgm-navy) !important;
}


/* ---------- SUBHEADINGS (h3) ---------- */

.entry-content h3.wp-block-heading {
  font-size: 1.1rem !important;
  color: var(--pgm-navy) !important;
  font-weight: 700 !important;
  margin-top: 2.2em !important;
  margin-bottom: 0.5em !important;
  font-style: normal !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Inter', -apple-system, sans-serif !important;
}

.entry-content h3.wp-block-heading em {
  font-style: normal !important;
}


/* ---------- PARAGRAPHS ---------- */

.entry-content p.wp-block-paragraph {
  line-height: 1.85 !important;
  color: var(--pgm-text) !important;
  max-width: 100%;
}

.entry-content p.wp-block-paragraph.has-small-font-size {
  font-size: 0.95rem !important;
  line-height: 1.85 !important;
}

.entry-content p.wp-block-paragraph strong {
  color: var(--pgm-navy);
}


/* ---------- LISTS → CARDS ---------- */

.entry-content ul.wp-block-list {
  list-style: none !important;
  padding-left: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 1.5em 0 2.2em !important;
}

.entry-content ul.wp-block-list > li {
  background: #fff;
  border: 1px solid var(--pgm-border);
  border-left: 3px solid var(--pgm-navy) !important;
  border-radius: 2px;
  padding: 1.3em 1.4em !important;
  line-height: 1.7 !important;
  color: var(--pgm-text) !important;
  list-style: none !important;
  transition: border-left-color 0.2s ease, background 0.2s ease;
}

.entry-content ul.wp-block-list > li:hover {
  border-left-color: var(--pgm-gold) !important;
  background: var(--pgm-gold-light);
}

.entry-content ul.wp-block-list > li.has-small-font-size {
  font-size: 0.9rem !important;
}

/* Bold = card title */
.entry-content ul.wp-block-list > li strong {
  display: block;
  color: var(--pgm-navy);
  font-weight: 600;
  margin-bottom: 0.3em;
  font-size: 0.95rem;
  font-family: 'Inter', -apple-system, sans-serif;
}

/* Team descriptions — single column, blockquote style */
.entry-content h3.wp-block-heading ~ ul.wp-block-list {
  display: block !important;
}

.entry-content h3.wp-block-heading ~ ul.wp-block-list > li {
  background: var(--pgm-warm);
  border: none;
  border-left: 3px solid var(--pgm-gold) !important;
  border-radius: 0;
  margin-bottom: 1em;
  padding: 1.2em 1.6em !important;
  font-style: italic;
  color: var(--pgm-text-light) !important;
}

.entry-content h3.wp-block-heading ~ ul.wp-block-list > li:hover {
  background: #fff;
  border-left-color: var(--pgm-navy) !important;
}


/* ---------- SEPARATORS ---------- */

.entry-content hr.wp-block-separator {
  border: none !important;
  height: 0 !important;
  margin: 3.5em 0 !important;
  position: relative;
}

.entry-content hr.wp-block-separator::after {
  content: '\25C6\2003\2003\25C6\2003\2003\25C6';
  display: block;
  text-align: center;
  color: var(--pgm-border);
  font-size: 8px;
  letter-spacing: 4px;
}


/* ---------- LINKS ---------- */

.entry-content a {
  color: var(--pgm-navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 52, 96, 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.entry-content a:hover {
  color: var(--pgm-dark);
  border-bottom-color: var(--pgm-gold);
}


/* ---------- IMAGES ---------- */

.entry-content .wp-block-image img {
  border-radius: 4px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.08);
}


/* ---------- HEADER / NAVIGATION — DARK ---------- */

#masthead,
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.site-header-row-container):not(.site-main-header-wrap),
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
  background: var(--pgm-dark) !important;
  border-bottom: none !important;
}

#masthead .site-header-row-container-inner {
  border-bottom: none;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a {
  font-size: 0.8rem !important;
  letter-spacing: 0.08em;
  font-weight: 500 !important;
  text-transform: uppercase;
  color: #ccc !important;
  transition: color 0.2s ease;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover {
  color: var(--pgm-gold) !important;
}

.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
  color: var(--pgm-gold) !important;
  font-weight: 600 !important;
}

.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--pgm-gold);
  margin-top: 4px;
  border-radius: 1px;
}


/* ---------- FOOTER ---------- */

#colophon.site-footer {
  background: var(--pgm-dark) !important;
  border-top: 3px solid var(--pgm-gold);
}

.site-bottom-footer-wrap .site-footer-row-container-inner {
  border-top: none !important;
}

#colophon .widget_block p,
#colophon .widget_block sub {
  color: #999 !important;
  font-size: 0.78rem !important;
  line-height: 1.6 !important;
}

#colophon a {
  color: var(--pgm-gold) !important;
  text-decoration: none;
}

#colophon a:hover {
  text-decoration: underline;
}


/* ---------- GROUP BLOCKS ---------- */

.entry-content .wp-block-group.is-layout-flex {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* ---------- SCROLL & SELECTION ---------- */

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(232, 197, 71, 0.2);
  color: var(--pgm-navy);
}


/* ---------- MOBILE DRAWER ---------- */

#mobile-drawer .drawer-inner {
  background: var(--pgm-dark) !important;
}

.mobile-navigation ul li > a,
.mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
  color: #eee !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.04em;
}

.mobile-navigation ul li.current-menu-item > a {
  color: var(--pgm-gold) !important;
}

.mobile-navigation ul li:not(.menu-item-has-children) a,
.mobile-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap {
  border-bottom-color: rgba(255,255,255,0.08) !important;
}


/* ---------- RESPONSIVE ---------- */

@media all and (max-width: 1024px) {
  h1.entry-title {
    font-size: 2rem !important;
  }
  .entry-content h2.wp-block-heading {
    font-size: 1.35rem !important;
  }
}

@media all and (max-width: 767px) {
  h1.entry-title {
    font-size: 1.6rem !important;
  }
  h1.entry-title::before {
    font-size: 0.55rem;
    letter-spacing: 0.1em !important;
  }
  h1.entry-title::after {
    font-size: 0.75rem;
    max-width: 300px;
  }
  .entry-content ul.wp-block-list {
    grid-template-columns: 1fr !important;
  }
  .entry-content h2.wp-block-heading {
    font-size: 1.2rem !important;
    margin-top: 2em !important;
  }
}