/*
Theme Name: PWC B.Ed Premium
Theme URI: https://pwcbed.org/
Author: Dr. Prabhas Ranjan
Author URI: https://pwcbed.org/
Description: A premium, academic theme for the Patna Women’s College B.Ed. Programme with hero, stats, slider, notices/events, testimonials, and Facebook feed sections.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pwcbed-premium
*/

/* -----------------------------
   ROOT VARIABLES & GLOBAL RESET
------------------------------ */

/* === ALT HERO LOOK (USING IMAGE BUT TINTED) === */
.hero--alt {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 179, 71, 0.20), transparent 55%),
    linear-gradient(135deg, #2c194a, #243f73);
  color: #ffffff;
}

/* keep your MetaSlider image visible inside .hero-slider as it is */

/* === STATS STRIP – GLASSY PILL LOOK === */
.stats-strip--alt {
  background: linear-gradient(90deg, rgba(75, 43, 130, 0.06), rgba(255, 179, 71, 0.08));
  padding: 1.8rem 0;
}

.stats-inner {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* === LATEST UPDATES BAND & CARD === */
.section--alt-band {
  background: linear-gradient(135deg, #f6f3ff, #fff7eb);
}

.updates-card {
  background: #4b2b82;
  color: #f4f7fb;
  border-radius: 20px;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 18px 40px rgba(36, 17, 77, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.updates-card .section-header h2 {
  color: #ffffff;
}

.updates-card .section-header p {
  color: #d9cfff;
}

/* title + first line in one row */
.updates-item {
  margin-bottom: 0.45rem;
}

.updates-link {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
  justify-content: space-between;
  text-decoration: none;
}

.updates-title {
  font-size: 0.96rem;
  font-weight: 600;
}

.updates-snippet {
  font-size: 0.86rem;
  opacity: 0.9;
}

.updates-list li {
  background: transparent;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  border: 1px solid transparent;
}

.updates-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.updates-list a {
  color: #fdfdfd;
}

.updates-more {
  margin-top: 0.6rem;
  text-align: right;
}

.updates-more .text-link {
  color: #ffdd99;
  font-weight: 600;
}

/* stack title/snippet vertically on very small screens */
@media (max-width: 600px) {
  .updates-link {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === SOFT SECTIONS BACKGROUND === */
.section--soft {
  background: radial-gradient(circle at top left, #fff7eb, transparent 55%),
              radial-gradient(circle at bottom right, #f6f3ff, transparent 55%);
}

.section--soft-bottom {
  background: linear-gradient(180deg, #ffffff, #f6f3ff);
}

/* === PILLARS SECTION BACKGROUND === */
.section--pillars {
  background: #ffffff;
}

/* === NOTICES & EVENTS ALT LOOK === */
.section--notices-alt {
  background: radial-gradient(circle at top left, #2c194a, #1d2440);
}

.section--notices-alt .section-header h2 {
  color: #ffffff;
}

.section--notices-alt .section-header p {
  color: #d0d7f0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
}

/* Layout wrapper */

.site-content {
  max-width: var(--max-width);
  margin: 1.5rem auto 2.5rem;
  padding: 0 1rem;
  min-height: 60vh;
}

.content-area {
  width: 100%;
}

/* -----------------------------
   TOP BAR + HEADER (PREMIUM)
------------------------------ */

.top-bar {
  font-size: 0.72rem;
  background: #0b2030;
  color: #dde3ea;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.15rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.top-pill {
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.top-bar-right span {
  opacity: 0.9;
}

.top-bar a {
  color: #ffffff;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* Header core */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  max-height: 85px;
  width: auto;
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-title a {
  text-decoration: none;
  color: var(--primary);
}

.site-description {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Navigation & CTA */

.main-navigation {
  font-size: 0.9rem;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.8rem;
}

.main-navigation a {
  text-decoration: none;
  color: var(--text);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  background: var(--primary);
  color: #ffffff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #f5b041);
  color: #3b2100;
  box-shadow: 0 8px 18px rgba(214, 137, 16, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Overlay variant on front page */

.site-header--overlay {
  position: relative;
  background: linear-gradient(
    to bottom,
    rgba(5, 10, 18, 0.92),
    rgba(5, 10, 18, 0.65),
    rgba(5, 10, 18, 0.0)
  );
  border-bottom: none;
  box-shadow: none;
}

.site-header--overlay .top-bar {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-header--overlay .site-title a,
.site-header--overlay .site-description,
.site-header--overlay .main-navigation a {
  color: #f4f7fb;
}

.site-header--overlay .main-navigation a:hover,
.site-header--overlay .main-navigation .current-menu-item > a {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-header--overlay .header-cta {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

/* -----------------------------
   HERO (PREMIUM) – WITH SLIDER
------------------------------ */

.hero {
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
}

.hero--premium {
  position: relative;
  border-radius: 24px;
  padding: 3.5rem 2.2rem 2.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(214, 137, 16, 0.16), transparent 50%),
    linear-gradient(135deg, #0f2436, #163f63);
  color: #ffffff;
}

/* Content wrapper inside hero */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Slider wrapper inside dark hero box */
.hero-slider {
  border-radius: 18px;
  overflow: hidden;
}

/* MetaSlider will fill this area; adjust heights in plugin settings if needed */

/* Text block below slider */
.hero-text {
  max-width: 720px;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hero-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 32, 48, 0.35);
}

.hero-badge--soft {
  background: rgba(255, 255, 255, 0.12);
}

.hero-title {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  letter-spacing: 0.02em;
}

.hero-subtitle {
  margin: 0 0 1.2rem;
  max-width: 32rem;
  font-size: 0.98rem;
  opacity: 0.95;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  opacity: 0.9;
}

.hero-meta span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Old hero highlight card kept in case used elsewhere */
.hero-highlight-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

.hero-highlight-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--primary);
}

.hero-highlight-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.hero-highlight-card li + li {
  margin-top: 0.35rem;
}

.hero-highlight-card a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--primary);
}

.hero-highlight-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: var(--bg);
  color: var(--muted);
}

/* If you don't use badges/meta anymore, hide them */
.hero-badge-row,
.hero-meta {
  display: none;
}

/* -----------------------------
   BUTTONS
------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* -----------------------------
   STATS STRIP
------------------------------ */

.stats-strip {
  margin-bottom: 2rem;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1rem;
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
}

/* -----------------------------
   SECTIONS & CARDS
------------------------------ */

.section {
  margin-bottom: 2.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  margin-bottom: 0.8rem;
}

.section-header h2 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
  color: var(--primary);
}

.section-header p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.section-header--center {
  text-align: center;
}

.section-header--center h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 0.45rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section--split .section-inner--split {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr;
  gap: 1.75rem;
  align-items: flex-start;
}

.section-block--cards {
  display: grid;
  gap: 1rem;
}

/* Info grid (academic pillars etc.) */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.info-card h2,
.info-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--primary);
}

/* Feature cards in split section */

.feature-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
  color: var(--primary);
}

.feature-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

/* Premium grid / cards */

.premium-grid {
  margin-top: 1.2rem;
}

.premium-card {
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(27, 79, 114, 0.04), rgba(214, 137, 16, 0.05));
  pointer-events: none;
}

/* Text link */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--primary);
  margin-top: 0.4rem;
}

.text-link:hover {
  text-decoration: underline;
}

/* -----------------------------
   POST LISTS & ARTICLE CARD
------------------------------ */

.section-title {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--primary);
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.post-list h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.post-list a {
  text-decoration: none;
  color: var(--primary);
}

.post-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Compact post list (notices/events) */

.post-list--compact li {
  padding: 0.8rem 0.9rem;
}

/* Single article / page */

.article-card {
  background: #ffffff;
  padding: 1.8rem 1.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.article-card h1,
.article-card h2,
.article-card h3 {
  color: var(--primary);
}

.article-card h1 {
  margin-top: 0;
}

.article-card .post-meta {
  margin-bottom: 1rem;
}

/* -----------------------------
   DARK SECTION (NOTICES/EVENTS)
------------------------------ */

.section--dark {
  background: #09131d;
  padding: 2.3rem 0;
  color: #e6edf5;
}

.section--dark .section-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr;
  gap: 2rem;
}

.section--dark .section-header h2 {
  color: #ffffff;
}

.section--dark .section-header p {
  color: #aeb8c5;
}

.section--dark .post-list--compact li {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section--dark .post-list--compact a {
  color: #f4f7fb;
}

.section--dark .post-meta {
  color: #9aa4b3;
}

/* -----------------------------
   TESTIMONIALS
------------------------------ */

.section--testimonials {
  margin-top: 2.5rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.3rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 3rem;
  line-height: 1;
  color: rgba(27, 79, 114, 0.12);
}

.testimonial-text {
  margin: 0.3rem 0 0.8rem;
  font-size: 0.94rem;
  color: var(--text);
}

.testimonial-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* -----------------------------
   HIGHLIGHT SLIDER (GENERIC)
   (not used in hero now, but kept for other pages)
------------------------------ */

.highlight-slider {
  margin: 1.5rem 0 2rem;
}

.highlight-slider-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.slider-track {
  position: relative;
  overflow: hidden;
  min-height: 140px;
}

.slider-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  background: linear-gradient(135deg, rgba(27, 79, 114, 0.06), rgba(214, 137, 16, 0.05));
  border-radius: 20px;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.04);
}

.slider-item h2 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--primary);
}

.slider-item p {
  margin-bottom: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.slider-item.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

/* Slider controls */

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  font-size: 1.4rem;
  line-height: 0;
  text-align: center;
  cursor: pointer;
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav--prev { left: 0.6rem; }
.slider-nav--next { right: 0.6rem; }

.slider-nav:hover {
  transform: translateY(-50%) translateY(-1px);
}

/* Dots */

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(27, 79, 114, 0.25);
  cursor: pointer;
  padding: 0;
}

.slider-dot.is-active {
  width: 18px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.site-footer {
  background: #0b2030;
  color: #dde3ea;
  padding: 1.5rem 1rem;
  margin-top: 2rem;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-footer a {
  color: #f7f8fb;
  text-decoration: none;
}

/* -----------------------------
   HOVER EFFECTS (INTERACTIVITY)
------------------------------ */

.info-card,
.feature-card,
.premium-card,
.testimonial-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.info-card:hover,
.feature-card:hover,
.premium-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(27, 79, 114, 0.18);
}

.btn,
.header-cta {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

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

@media (max-width: 900px) {
  .stats-inner {
    border-radius: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section--split .section-inner--split,
  .section--dark .section-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.25rem 1rem;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header-right {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .hero--premium {
    padding: 2.4rem 1.3rem 1.9rem;
    border-radius: 18px;
  }

  .site-content {
    margin-top: 1.3rem;
  }
}

@media (max-width: 600px) {
  .slider-item {
    padding: 1rem 1.1rem;
    min-height: 160px;
  }

  .slider-nav {
    display: none; /* dots + auto-slide are enough on small screens */
  }
}
/* === FRONT HERO: HEADING → SLIDER → BUTTONS (SINGLE COLUMN) === */

.hero-inner-single {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-heading {
  max-width: 720px;
}

.hero-slider {
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
}

/* Buttons row at bottom of hero */
.hero-actions-bottom {
  margin-top: 1rem;
}

/* Slightly reduce hero padding to remove extra blank dark area */
.hero--premium {
  padding: 2.4rem 2.2rem 2.2rem;
}

/* === OVERRIDE HERO LAYOUT: STACK HEADING, SLIDER, BUTTONS === */

/* Stop using grid: make hero-inner a simple block container */
.hero.hero--premium .hero-inner {
  display: block !important;        /* overrides grid/flex above */
}

/* Make each child (heading, slider, buttons) full-width, stacked */
.hero-inner.hero-inner-single > * {
  width: 100%;
  max-width: 100%;
}

/* Tidy spacing */
.hero-heading {
  margin-bottom: 1rem;
}

.hero-slider {
  margin: 0 auto 1rem;
  border-radius: 18px;
  overflow: hidden;
}

/* Center the MetaSlider inside the hero */
.hero-slider .metaslider,
.hero-slider .metaslider > div {
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* Buttons row at the very bottom */
.hero-actions-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Slightly reduce hero height */
.hero--premium {
  padding: 2.4rem 2.2rem 2.2rem;
}

/* ==== Compact header bar ==== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

/* Flex row: branding left, menu right */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 2rem;
}

/* Branding block */
.header-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  max-height: 60px;
  width: auto;
}

.site-text {
  line-height: 1.2;
}

.site-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.site-title a {
  text-decoration: none;
  color: #123456;  /* adjust to your brand colour if you like */
}

.site-tagline {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: #666666;
}

/* Horizontal main menu */
.main-nav .primary-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem; /* vertical & horizontal spacing */
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .primary-menu > li {
  position: relative;
}

.main-nav .primary-menu > li > a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.95rem;
  text-decoration: none;
  color: #222222;
  white-space: nowrap;
}

.main-nav .primary-menu > li > a:hover,
.main-nav .primary-menu > li.current-menu-item > a,
.main-nav .primary-menu > li.current-menu-ancestor > a {
  color: #006699;
}

/* Simple dropdown styling */
.main-nav .primary-menu li ul.sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.15s ease;
  z-index: 99;
}

.main-nav .primary-menu li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .primary-menu li ul.sub-menu li a {
  display: block;
  padding: 0.3rem 0.9rem;
  font-size: 0.9rem;
  color: #333333;
}

/* Slightly tighter on small screens */
@media (max-width: 768px) {
  .header-bar {
    flex-wrap: wrap;
    padding: 0.6rem 1rem;
  }

  .site-logo img {
    max-height: 48px;
  }

  .site-title {
    font-size: 1.1rem;
  }

  .main-nav .primary-menu {
    gap: 0.5rem 1rem;
  }
}

/* ==== PWC B.Ed clean header ==== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Branding (logo + text) */
.header-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  max-height: 56px;
  width: auto;
}

.site-text {
  line-height: 1.2;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.site-title a {
  text-decoration: none;
  color: #0c3559;
}

.site-tagline {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: #666666;
}

/* MAIN MENU: horizontal, not bullet list */
.main-nav .primary-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .primary-menu > li {
  position: relative;
}

.main-nav .primary-menu > li > a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.95rem;
  text-decoration: none;
  color: #222222;
  white-space: nowrap;
}

.main-nav .primary-menu > li > a:hover,
.main-nav .primary-menu > li.current-menu-item > a,
.main-nav .primary-menu > li.current-menu-ancestor > a {
  color: #006699;
}

/* Dropdown styling (if you have submenus) */
.main-nav .primary-menu li ul.sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.15s ease;
  z-index: 999;
}

.main-nav .primary-menu li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .primary-menu li ul.sub-menu li a {
  display: block;
  padding: 0.3rem 0.9rem;
  font-size: 0.9rem;
  color: #333333;
}

/* Responsive tweak */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav .primary-menu {
    justify-content: flex-start;
    gap: 0.35rem 1rem;
  }

  .site-logo img {
    max-height: 48px;
  }

  .site-title {
    font-size: 1.05rem;
  }
}

/* === OVERRIDE HERO LAYOUT: STACK HEADING, SLIDER, BUTTONS === */

/* === HEADER LAYOUT: MENU ON A SEPARATE LINE === */

/* Allow header content to wrap on multiple rows */
.site-header-inner {
  flex-wrap: wrap;
}

/* Let the right area (CTA + menu) also wrap */
.site-header-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

/* Put navigation on its own full-width line under logo/tagline */
.main-navigation {
  flex-basis: 100%;
  width: 100%;
  margin-top: 0.25rem;
}

/* Keep the admissions button in the top row, aligned right */
.header-cta {
  margin-left: auto;
}

/* === HIDE ARROWS OF METASLIDER INSIDE HERO === */

/* FlexSlider arrows */
.hero-slider .flex-direction-nav a {
  display: none !important;
}

/* NivoSlider arrows (in case that type is used) */
.hero-slider .nivo-directionNav a {
  display: none !important;
}

/* === Remove extra round arrows at edges (text slider nav) === */
.highlight-slider .slider-nav {
  display: none !important;
}

/* === LATEST UPDATES – DISTINCT CARD, COMPACT LIST === */

.section--updates {
  background: #eef3fb;         /* soft band behind the card */
  padding: 2rem 0;
}

.updates-card {
  background: #1b4f72;         /* deep blue card */
  color: #f4f7fb;
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.updates-card .section-header h2 {
  color: #ffffff;
}

.updates-card .section-header p {
  color: #d0d9e8;
}

/* compact list of only titles */
.updates-list li {
  background: transparent;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  margin-bottom: 0.25rem;
  border: 1px solid transparent;
}

.updates-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.updates-list h3 {
  margin: 0;
  font-size: 0.95rem;
}

.updates-list a {
  color: #fdfdfd;
  text-decoration: none;
}

.updates-list a:hover {
  text-decoration: underline;
}

/* more posts link aligned right, lighter text */
.updates-more {
  margin-top: 0.6rem;
  text-align: right;
}

.updates-more .text-link {
  color: #ffdd99;
  font-weight: 600;
}

/* Force primary button text to dark colour everywhere */
.btn-primary,
a.btn-primary,
button.btn-primary {
  background-color: #ffffff !important;
  color: var(--primary) !important;   /* dark blue text */
  border-color: #ffffff !important;
  font-weight: 600;
}

/* Hover state */
.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  background-color: #f4f6fb !important;
  color: var(--primary) !important;
}
