:root {
  --blue: #0d3b8e;
  --blue-dark: #08275d;
  --gold: #f4b400;
  --green: #128a43;
  --red: #c62828;
  --text: #18212f;
  --muted: #667085;
  --bg: #f6f8fc;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 12px 35px rgba(10, 37, 88, 0.10);
  --radius: 18px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.92);
  font-size: 14px;
}
.topbar-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 10px 0;
  flex-wrap: wrap;
}
.topbar .left, .topbar .right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.topbar i { color: var(--gold); margin-right: 6px; }

.site-header {
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.cc-sticky-enabled .site-header {
  position: sticky;
  top: 0;
}
.cc-sticky-disabled .site-header {
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 18px;
}

/* Left brand area */
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  text-align: left;
}

/* Clean logo: no card, no padding */
.brand-logo {
  width: 54px;
  height: 54px;
  padding: 0;
  margin: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
}

.brand-logo img,
.brand-logo .custom-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-logo .custom-logo-link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

/* Site name and tagline */
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 0;
  padding: 0 0 0 2px;
  text-align: left;
}

.brand-text h1 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.15;
  color: var(--blue-dark);
  font-weight: 800;
}

.brand-text span {
  display: block;
  margin: 2px 0 0;
  padding: 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

/* Right menu alignment */
.main-nav {
  margin-left: auto;
}



.main-nav .menu, .footer-menu, .main-nav .menu > ul, .main-nav .page_item_has_children > ul {
  list-style: none;
}
.main-nav .menu {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav .menu li {
  margin: 0;
}
.footer-menu ul, .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.main-nav ul, .menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a, .menu-list a {
  font-weight: 600;
  color: #24324a;
  transition: 0.2s ease;
}
.main-nav a:hover, .menu-list a:hover, .current-menu-item > a, .current_page_item > a {
  color: var(--blue);
}

.btn,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  transition: 0.25s ease;
  cursor: pointer;
}
.btn-primary,
input[type="submit"] {
  background: linear-gradient(135deg, var(--blue), #1b62d1);
  color: white;
  box-shadow: 0 10px 24px rgba(13, 59, 142, 0.25);
}
.btn-primary:hover, input[type="submit"]:hover { transform: translateY(-2px); }
.btn-outline {
  background: white;
  color: var(--blue);
  border: 2px solid rgba(13, 59, 142, 0.15);
}
.btn-outline:hover {
  background: #f3f7ff;
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--blue-dark);
  cursor: pointer;
  padding: 8px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(244,180,0,0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(18,138,67,0.12), transparent 24%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 45%, #ffffff 100%);
  padding: 78px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 42px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 59, 142, 0.08);
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 18px;
}
.hero h2, .page-hero h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  color: var(--blue-dark);
  letter-spacing: -1.2px;
}
.hero p, .page-hero p {
  margin: 0 0 26px;
  font-size: 18px;
  color: #44516a;
  max-width: 760px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hero-point {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(13, 59, 142, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(18, 30, 58, 0.06);
}
.hero-point strong {
  display: block;
  color: var(--blue-dark);
  font-size: 15px;
  margin-bottom: 4px;
}
.hero-point span {
  color: var(--muted);
  font-size: 14px;
}
.hero-card {
  background: white;
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(13,59,142,0.08);
}
.hero-card .image {
  height: 290px;
  background:
    linear-gradient(rgba(8,39,93,0.15), rgba(8,39,93,0.15)),
    url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}
.hero-card-content { padding: 24px; }
.hero-card-content h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--blue-dark);
}
.hero-card-content p { margin: 0 0 18px; color: var(--muted); }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mini-stat {
  background: var(--bg);
  padding: 16px;
  border-radius: 16px;
  text-align: center;
}
.mini-stat strong {
  display: block;
  font-size: 24px;
  color: var(--blue);
}
.mini-stat span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.stats-bar {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.stats-wrap {
  background: white;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(13,59,142,0.08);
}
.stat {
  padding: 26px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat h3 {
  margin: 0 0 6px;
  font-size: 34px;
  color: var(--blue);
}
.stat p { margin: 0; color: var(--muted); font-weight: 600; }

section { padding: 82px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head .tag {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  margin-bottom: 8px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  color: var(--blue-dark);
}
.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 720px;
}

.grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 25px rgba(10, 20, 40, 0.05);
  transition: 0.25s ease;
}
.card:hover,
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10, 20, 40, 0.10);
}
.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: white;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue), var(--green));
}
.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--blue-dark);
}
.card p { margin: 0; color: var(--muted); }

.split { background: var(--bg); }
.split-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.photo-panel {
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(rgba(8,39,93,0.15), rgba(8,39,93,0.15)),
    url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}
.list-check {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.list-check li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #334155;
  font-weight: 500;
}
.list-check i { color: var(--green); margin-top: 5px; }

.committee-card { border-left: 5px solid var(--gold); }
.member-card { text-align: center; padding: 22px; }
.member-logo {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff5ff, #ffffff);
  border: 1px solid var(--border);
  font-size: 28px;
  color: var(--blue);
  font-weight: 800;
}
.member-card h4 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--blue-dark);
}
.member-card span { color: var(--muted); font-size: 14px; }

.event-card, .news-card, .article-card {
  overflow: hidden;
  padding: 0;
}
.event-image, .news-image, .article-thumb, .recent-thumb {
  background-size: cover;
  background-position: center;
}
.event-image, .news-image { height: 210px; }
.event-image-1 { background-image:url('https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1000&q=80'); }
.event-image-2 { background-image:url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1000&q=80'); }
.event-image-3 { background-image:url('https://images.unsplash.com/photo-1560439514-4e9645039924?auto=format&fit=crop&w=1000&q=80'); }

.event-content, .news-content, .article-content { padding: 24px; }
.date-pill, .article-category {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.date-pill {
  background: rgba(13, 59, 142, 0.08);
  color: var(--blue);
}
.article-category {
  background: rgba(18,138,67,0.10);
  color: var(--green);
}
.event-content h3, .news-content h3, .article-card h4 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--blue-dark);
  line-height: 1.25;
}
.article-card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
}
.article-thumb {
  height: 210px;
}
.article-thumb-default {
  background-image:
    linear-gradient(rgba(8,39,93,0.18), rgba(8,39,93,0.18)),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1000&q=80');
}

.cta {
  background:
    linear-gradient(135deg, rgba(8,39,93,0.95), rgba(13,59,142,0.92)),
    url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: white;
}
.cta-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}
.cta p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  max-width: 700px;
}
.cta .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.35);
  background: transparent;
}
.cta .btn-outline:hover { background: rgba(255,255,255,0.08); }

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(244,180,0,0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(18,138,67,0.10), transparent 22%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 45%, #ffffff 100%);
  padding: 56px 0 42px;
}
.simple-page-hero { padding: 48px 0 34px; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--blue); }

.page-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.search-box {
  flex: 1 1 420px;
  position: relative;
}
.search-box input {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0 18px 0 48px;
  font-size: 15px;
  outline: none;
  transition: 0.2s ease;
  box-shadow: 0 8px 20px rgba(10, 20, 40, 0.05);
}
.search-box input:focus {
  border-color: rgba(13, 59, 142, 0.35);
  box-shadow: 0 0 0 4px rgba(13, 59, 142, 0.08);
}
.search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.toolbar-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-section { padding: 54px 0 80px; }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 360px);
  gap: 30px;
  align-items: start;
}
.narrow-container { max-width: 860px; }

.featured-post {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.featured-post-image {
  height: 360px;
  background:
    linear-gradient(rgba(8,39,93,0.18), rgba(8,39,93,0.18)),
    url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
}
.featured-post-content { padding: 30px; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
}
.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.post-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,59,142,0.08);
  color: var(--blue);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 18px;
}
.featured-post h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: var(--blue-dark);
}
.featured-post p { margin: 0 0 22px; color: #475467; font-size: 17px; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sidebar { display: grid; gap: 22px; }
.widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(10, 20, 40, 0.05);
}
.widget-title, .widget h3 {
  margin: 0 0 18px;
  font-size: 20px;
  color: var(--blue-dark);
}
.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget li { margin-bottom: 10px; }

.category-list, .recent-list, .quick-links { display: grid; gap: 12px; }
.category-list a, .quick-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  transition: 0.2s ease;
}
.category-list a:hover, .quick-links a:hover {
  background: #eef4ff;
  color: var(--blue);
}
.recent-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.recent-thumb {
  width: 82px;
  height: 72px;
  border-radius: 14px;
  flex-shrink: 0;
}
.recent-item h4 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--blue-dark);
}
.recent-item span {
  font-size: 13px;
  color: var(--muted);
}

.author-box {
  background: linear-gradient(135deg, #0d3b8e, #1b62d1);
  color: #fff;
  border: none;
}
.author-box h3 { color: #fff; margin-bottom: 10px; }
.author-box p { margin: 0 0 18px; color: rgba(255,255,255,0.88); }
.author-box .btn-outline {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.24);
  color: #fff;
}
.author-box .btn-outline:hover { background: rgba(255,255,255,0.18); }

.pagination { margin-top: 32px; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
  color: #344054;
  transition: 0.2s ease;
  margin-right: 10px;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.single-article,
.page-content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.single-article-image {
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 18px;
}
.single-article-image img { width: 100%; height: auto; }
.single-meta { margin-bottom: 22px; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 {
  color: var(--blue-dark);
  line-height: 1.2;
}
.article-body p, .article-body li, .article-body blockquote {
  color: #334155;
  font-size: 17px;
}
.article-body a { color: var(--blue); }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 18px;
  margin-left: 0;
}
.related-posts { margin-top: 40px; }

.footer {
  background: #071d44;
  color: rgba(255,255,255,0.90);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 42px;
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer .brand-logo {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: #fff;
}
.footer h3, .footer h4 {
  margin-top: 0;
  color: white;
}
.footer p, .footer li, .footer a {
  color: rgba(255,255,255,0.80);
  font-size: 15px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer i {
  color: var(--gold);
  margin-right: 8px;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 18px 0 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  text-align: center;
}
.copyright a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}
.copyright a:hover { text-decoration: underline; }



/* Pro header polish */
.site-header {
  transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.cc-sticky-enabled .site-header {
  box-shadow: 0 6px 20px rgba(2, 18, 47, 0.06);
}

.cc-theme-dark 
.main-nav ul, .menu-list {
  align-items: center;
  justify-content: flex-end;
}

.main-nav a, .menu-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: #24324a;
  transition: color 0.2s ease;
}

.main-nav a::after,
.menu-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transition: width 0.22s ease;
}

.main-nav a:hover::after,
.menu-list a:hover::after,
.current-menu-item > a::after,
.current_page_item > a::after,
.current-menu-ancestor > a::after {
  width: 100%;
}

.current-menu-item > a,
.current_page_item > a,
.current-menu-ancestor > a {
  color: var(--blue);
}

.main-nav .menu-item-has-children > a::before,
.main-nav .page_item_has_children > a::before {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  margin-right: 6px;
  opacity: 0.7;
}

.main-nav .sub-menu,
.main-nav .children {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(13,59,142,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(10,20,40,0.12);
  padding: 10px;
  z-index: 1001;
}

.main-nav li {
  position: relative;
}

.main-nav li:hover > .sub-menu,
.main-nav li:hover > .children {
  display: block;
}

.main-nav .sub-menu li,
.main-nav .children li {
  width: 100%;
}

.main-nav .sub-menu a,
.main-nav .children a {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
}

.main-nav .sub-menu a::after,
.main-nav .children a::after {
  display: none;
}

.main-nav .sub-menu a:hover,
.main-nav .children a:hover {
  background: #f3f7ff;
  color: var(--blue);
}

/* Sticky shrink effect */
.cc-sticky-enabled .site-header.is-scrolled .nav {
  min-height: 72px;
}
.cc-sticky-enabled .site-header.is-scrolled .brand-logo {
  width: 48px;
  height: 48px;
}
.cc-sticky-enabled .site-header.is-scrolled .brand-text h1 {
  font-size: 17px;
}
.cc-sticky-enabled .site-header.is-scrolled .brand-text span {
  font-size: 10px;
}

.cc-theme-dark .main-nav .sub-menu,
.cc-theme-dark .main-nav .children {
  background: #121c31;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.cc-theme-dark .main-nav .sub-menu a:hover,
.cc-theme-dark .main-nav .children a:hover {
  background: rgba(255,255,255,0.06);
}

/* Header alignment variants refined */
.cc-header-center .nav {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 14px 0;
}
.cc-header-center .brand {
  justify-content: center;
}
.cc-header-center .cc-header-center .brand-text,
.cc-header-center .brand-text h1,
.cc-header-center .brand-text span {
  text-align: center;
  align-items: center;
}
.cc-header-center .main-nav {
  margin-left: 0;
}
.cc-header-center .main-nav .menu,
.cc-header-center .main-nav ul,
.cc-header-center .menu-list {
  justify-content: center;
}

.cc-header-split .brand {
  margin-right: 18px;
}

@media (max-width: 1100px) {
  .content-grid,
  .hero-grid,
  .split-wrap,
  .footer-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .stats-wrap, .hero-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav .menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 6px;
  }
    .mobile-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
  }
  .main-nav.open { display: block; }
  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }
  
.main-nav .menu, .footer-menu, .main-nav .menu > ul, .main-nav .page_item_has_children > ul {
  list-style: none;
}
.main-nav .menu {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav .menu li {
  margin: 0;
}
.footer-menu ul, .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.main-nav ul, .menu-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 6px;
  }
  .articles-grid,
  .content-grid,
  .hero-grid,
  .split-wrap,
  .footer-grid,
  .grid-4,
  .grid-3,
  .stats-wrap,
  .hero-points,
  .mini-stats {
    grid-template-columns: 1fr;
  }
  .featured-post-image { height: 240px; }
}
@media (max-width: 560px) {
  .page-hero { padding: 44px 0 34px; }
  .featured-post-content,
  .widget,
  .article-content,
  .single-article,
  .page-content-card { padding: 20px; }
  .search-box { flex-basis: 100%; }
  .toolbar-actions { width: 100%; }
  .toolbar-actions .btn { width: 100%; }
}


/* Header alignment options */
.cc-header-center .nav {
  flex-direction: column;
  justify-content: center;
  padding: 14px 0;
}
.cc-header-center .brand {
  justify-content: center;
}
.cc-header-center .main-nav,
.cc-header-center .main-nav .menu,
.cc-header-center .main-nav ul,
.cc-header-center .menu-list {
  justify-content: center;
}
.cc-header-split .nav {
  justify-content: space-between;
}
.cc-header-left .nav {
  justify-content: space-between;
}

/* Dark theme */
.cc-theme-dark {
  background: #0b1220;
  color: #e5edf8;
}
.cc-theme-dark body {
  background: #0b1220;
}
.cc-theme-dark .site-header {
  background: rgba(12, 20, 36, 0.96);
  border-bottom-color: rgba(255,255,255,0.08);
}
.cc-theme-dark .brand-text h1,
.cc-theme-dark .hero h2,
.cc-theme-dark .page-hero h2,
.cc-theme-dark .section-head h2,
.cc-theme-dark .card h3,
.cc-theme-dark .article-card h4,
.cc-theme-dark .event-content h3,
.cc-theme-dark .news-content h3,
.cc-theme-dark .featured-post h3,
.cc-theme-dark .widget-title, 
.cc-theme-dark .widget h3,
.cc-theme-dark .recent-item h4,
.cc-theme-dark .article-body h1,
.cc-theme-dark .article-body h2,
.cc-theme-dark .article-body h3,
.cc-theme-dark .article-body h4 {
  color: #f8fbff;
}
.cc-theme-dark .brand-text span,
.cc-theme-dark .hero p,
.cc-theme-dark .page-hero p,
.cc-theme-dark .section-head p,
.cc-theme-dark .card p,
.cc-theme-dark .article-card p,
.cc-theme-dark .post-meta,
.cc-theme-dark .article-body p,
.cc-theme-dark .article-body li,
.cc-theme-dark .article-body blockquote,
.cc-theme-dark .recent-item span,
.cc-theme-dark .copyright {
  color: #c6d3e3;
}
.cc-theme-dark .main-nav a, .cc-theme-dark .menu-list a {
  color: #e5edf8;
}
.cc-theme-dark .hero {
  background:
    radial-gradient(circle at top right, rgba(244,180,0,0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(18,138,67,0.10), transparent 24%),
    linear-gradient(135deg, #0d1628 0%, #111d34 45%, #0b1220 100%);
}
.cc-theme-dark .page-hero,
.cc-theme-dark .split {
  background:
    radial-gradient(circle at top right, rgba(244,180,0,0.10), transparent 24%),
    radial-gradient(circle at bottom left, rgba(18,138,67,0.08), transparent 22%),
    linear-gradient(135deg, #0d1628 0%, #101a2f 45%, #0b1220 100%);
}
.cc-theme-dark .hero-point,
.cc-theme-dark .hero-card,
.cc-theme-dark .stats-wrap,
.cc-theme-dark .card,
.cc-theme-dark .widget,
.cc-theme-dark .featured-post,
.cc-theme-dark .single-article,
.cc-theme-dark .page-content-card,
.cc-theme-dark .search-box input,
.cc-theme-dark .mini-stat {
  background: #121c31;
  border-color: rgba(255,255,255,0.08);
  color: #e5edf8;
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
}
.cc-theme-dark .search-box input {
  color: #e5edf8;
}
.cc-theme-dark .member-logo {
  background: linear-gradient(135deg, #1a2947, #101a2f);
  border-color: rgba(255,255,255,0.08);
  color: #cfe1ff;
}
.cc-theme-dark .article-category {
  background: rgba(18,138,67,0.20);
}
.cc-theme-dark .date-pill,
.cc-theme-dark .post-badge,
.cc-theme-dark .eyebrow {
  background: rgba(27, 98, 209, 0.16);
  color: #b9d3ff;
}
.cc-theme-dark .btn-outline {
  background: transparent;
  color: #d7e6ff;
  border-color: rgba(255,255,255,0.18);
}
.cc-theme-dark .btn-outline:hover {
  background: rgba(255,255,255,0.06);
}
.cc-theme-dark .footer {
  background: #050c18;
}
.cc-theme-dark .topbar {
  background: #06101f;
}

@media (max-width: 860px) {
  .cc-header-center .nav {
    align-items: stretch;
  }
}


@media (max-width: 860px) {
  .nav {
    align-items: center;
  }
  .brand {
    gap: 10px;
  }
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  .brand-text h1 {
    font-size: 16px;
  }
  .main-nav {
    width: 100%;
    margin-left: 0;
  }
  .main-nav ul, .menu-list {
    justify-content: flex-start;
  }
  .main-nav .sub-menu,
  .main-nav .children {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 12px;
    min-width: 0;
  }
  .main-nav li:hover > .sub-menu,
  .main-nav li:hover > .children {
    display: block;
  }
}

@media (max-width: 560px) {
  .brand-text h1 {
    font-size: 15px;
  }
  .brand-text span {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
}


/* Mobile polish v1.4.1 */
@media (max-width: 860px) {
  .topbar {
    display: none !important;
  }

  .site-header {
    top: 0;
  }

  .nav {
    min-height: 68px;
    gap: 10px;
    padding: 10px 0;
  }

  .brand {
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .brand-text {
    min-width: 0;
    overflow: hidden;
  }

  .brand-text h1 {
    font-size: 14px !important;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .brand-text span {
    font-size: 9px !important;
    line-height: 1.1;
    letter-spacing: 0.35px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .mobile-toggle {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 22px;
    padding: 6px 8px;
  }

  .main-nav {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-text h1 {
    font-size: 13px !important;
  }

  .brand-text span {
    font-size: 8px !important;
  }

  .nav {
    min-height: 62px;
  }
}


/* Professional News Page v1.5 */
.news-hero-pro {
  background:
    radial-gradient(circle at top right, rgba(244,180,0,0.14), transparent 22%),
    radial-gradient(circle at bottom left, rgba(18,138,67,0.10), transparent 22%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 45%, #ffffff 100%);
  padding: 58px 0 42px;
}
.news-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 26px;
  align-items: start;
}
.news-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  color: var(--blue-dark);
  letter-spacing: -1.2px;
}
.news-hero-copy p {
  margin: 0 0 20px;
  color: #44516a;
  font-size: 18px;
  max-width: 860px;
}
.news-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.news-hero-actions .search-box {
  min-width: 320px;
  max-width: 520px;
}
.news-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13,59,142,0.08);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s ease;
}
.topic-chip:hover {
  background: rgba(13,59,142,0.14);
  transform: translateY(-1px);
}
.news-hero-panel {
  display: grid;
  gap: 14px;
}
.news-hero-stat {
  background: #fff;
  border: 1px solid rgba(13,59,142,0.08);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.news-hero-stat strong {
  display: block;
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}
.news-hero-stat span {
  color: var(--muted);
  font-weight: 700;
}

.news-page-main {
  padding: 42px 0 80px;
}
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 360px);
  gap: 28px;
  align-items: start;
}
.news-primary {
  min-width: 0;
}
.news-sidebar-pro {
  display: grid;
  gap: 22px;
}

.news-featured-pro {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.news-featured-media {
  height: 380px;
  background-size: cover;
  background-position: center;
}
.news-featured-media-default {
  background-image:
    linear-gradient(rgba(8,39,93,0.18), rgba(8,39,93,0.18)),
    url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1400&q=80');
}
.news-featured-content {
  padding: 30px;
}
.news-featured-content h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  color: var(--blue-dark);
}
.news-featured-content p {
  margin: 0 0 22px;
  color: #475467;
  font-size: 17px;
}
.news-featured-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.news-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}
.news-section-head h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(26px, 3vw, 34px);
}
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.news-card-pro {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(10, 20, 40, 0.05);
  transition: 0.25s ease;
}
.news-card-pro:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(10, 20, 40, 0.10);
}
.news-card-media {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.news-card-media-default {
  background-image:
    linear-gradient(rgba(8,39,93,0.12), rgba(8,39,93,0.12)),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1000&q=80');
}
.news-card-body {
  padding: 22px;
}
.news-card-body h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.22;
  color: var(--blue-dark);
}
.news-card-body p {
  margin: 0 0 16px;
  color: var(--muted);
}

.news-pagination-pro {
  margin-top: 34px;
}

.news-single-pro .article-body > *:first-child {
  margin-top: 0;
}

.cc-theme-dark .news-hero-pro {
  background:
    radial-gradient(circle at top right, rgba(244,180,0,0.10), transparent 22%),
    radial-gradient(circle at bottom left, rgba(18,138,67,0.08), transparent 22%),
    linear-gradient(135deg, #0d1628 0%, #101a2f 45%, #0b1220 100%);
}
.cc-theme-dark .news-hero-copy h1,
.cc-theme-dark .news-section-head h2,
.cc-theme-dark .news-featured-content h2,
.cc-theme-dark .news-card-body h3 {
  color: #f8fbff;
}
.cc-theme-dark .news-hero-copy p,
.cc-theme-dark .news-featured-content p {
  color: #c6d3e3;
}
.cc-theme-dark .topic-chip {
  background: rgba(27, 98, 209, 0.16);
  color: #b9d3ff;
}
.cc-theme-dark .topic-chip:hover {
  background: rgba(27, 98, 209, 0.24);
}
.cc-theme-dark .news-hero-stat,
.cc-theme-dark .news-featured-pro,
.cc-theme-dark .news-card-pro {
  background: #121c31;
  border-color: rgba(255,255,255,0.08);
}
.cc-theme-dark .news-hero-stat span {
  color: #c6d3e3;
}

@media (max-width: 1100px) {
  .news-hero-grid,
  .news-layout,
  .news-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .news-hero-pro {
    padding: 40px 0 28px;
  }
  .news-featured-media {
    height: 240px;
  }
  .news-hero-actions .search-box {
    min-width: 100%;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .news-card-body,
  .news-featured-content,
  .news-hero-stat {
    padding: 18px;
  }
  .news-hero-copy h1 {
    font-size: 30px;
  }
}


/* Gallery Section */
.gallery-section {
  background: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.gallery-item {
  display: block;
}
.gallery-thumb {
  height: 220px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 26px rgba(10,20,40,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item:hover .gallery-thumb {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(10,20,40,0.12);
}
.gallery-thumb-placeholder {
  background-image:
    linear-gradient(rgba(8,39,93,0.12), rgba(8,39,93,0.12)),
    url('https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1000&q=80');
}

/* Membership modal */
.membership-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 34, 0.62);
  z-index: 9998;
}
.membership-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}
.membership-modal-dialog {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  padding: 28px;
  position: relative;
}
.membership-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #f3f7ff;
  color: var(--blue);
  border: none;
  box-shadow: none;
}
.membership-modal-header h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 30px;
}
.membership-modal-header p {
  margin: 0 0 18px;
  color: var(--muted);
}
.membership-modal-form .form-grid,
.contact-form-pro .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.form-field {
  display: grid;
  gap: 8px;
}
.form-field-full {
  grid-column: 1 / -1;
}
.form-field label {
  font-weight: 700;
  color: var(--blue-dark);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
}
.membership-modal-actions {
  margin-top: 18px;
}
.form-status {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-weight: 600;
}
.form-status.success {
  background: rgba(18,138,67,0.12);
  color: #0d6b35;
}
.form-status.error {
  background: rgba(198,40,40,0.10);
  color: #a52323;
}

/* Contact page */
.contact-page-section {
  padding: 54px 0 80px;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 28px;
}
.contact-card,
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-info-list i {
  color: var(--blue);
  margin-top: 5px;
}
.contact-cta-box {
  margin-top: 26px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13,59,142,0.06), rgba(18,138,67,0.06));
}
.contact-cta-box h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
}

/* Directory page */
.directory-page-section {
  padding: 54px 0 80px;
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.directory-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(10,20,40,0.05);
}
.directory-card-media {
  height: 210px;
  background-size: cover;
  background-position: center;
}
.directory-card-media-default {
  background-image:
    linear-gradient(rgba(8,39,93,0.12), rgba(8,39,93,0.12)),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1000&q=80');
}
.directory-card-body {
  padding: 22px;
}
.directory-card-body h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 24px;
}
.directory-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.directory-meta li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.directory-meta i {
  color: var(--blue);
  margin-top: 5px;
}

/* Dark theme support */
.cc-theme-dark .membership-modal-dialog,
.cc-theme-dark .contact-card,
.cc-theme-dark .contact-info-card,
.cc-theme-dark .directory-card {
  background: #121c31;
  border-color: rgba(255,255,255,0.08);
}
.cc-theme-dark .membership-modal-header h3,
.cc-theme-dark .form-field label,
.cc-theme-dark .contact-cta-box h3,
.cc-theme-dark .directory-card-body h3 {
  color: #f8fbff;
}
.cc-theme-dark .membership-modal-header p,
.cc-theme-dark .directory-meta,
.cc-theme-dark .contact-info-list li span {
  color: #c6d3e3;
}
.cc-theme-dark .form-field input,
.cc-theme-dark .form-field textarea {
  background: #0f182c;
  border-color: rgba(255,255,255,0.08);
  color: #f8fbff;
}
.cc-theme-dark .contact-cta-box {
  background: linear-gradient(135deg, rgba(27,98,209,0.12), rgba(18,138,67,0.12));
}
.cc-theme-dark .membership-modal-close {
  background: rgba(255,255,255,0.08);
  color: #d7e6ff;
}

@media (max-width: 1100px) {
  .gallery-grid,
  .directory-grid,
  .contact-page-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .gallery-grid,
  .directory-grid,
  .contact-page-grid,
  .membership-modal-form .form-grid,
  .contact-form-pro .form-grid {
    grid-template-columns: 1fr;
  }
  .membership-modal-dialog {
    padding: 20px;
  }
  .gallery-thumb {
    height: 180px;
  }
}

body.modal-open{overflow:hidden;}


/* v1.6.2 modal and listing fixes */
.membership-modal[hidden],
.membership-modal-backdrop[hidden] {
  display: none !important;
}
.membership-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(7,17,34,0.62) !important;
  z-index: 99998 !important;
}
.membership-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: grid;
  place-items: center;
  padding: 20px;
}
.membership-modal-dialog {
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.contact-form-pro select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
}
.cc-theme-dark .contact-form-pro select {
  background: #0f182c;
  border-color: rgba(255,255,255,0.08);
  color: #f8fbff;
}


/* v1.6.3 cleanup */
.membership-modal-backdrop[hidden],
.membership-modal[hidden] {
  display: none !important;
}
.membership-modal:not([hidden]) {
  display: grid !important;
}

/* v1.9.0 events/media */
.section-link-heading{color:inherit;text-decoration:none}
.featured-front-event{
  display:grid;
  grid-template-columns:minmax(280px,0.9fr) minmax(0,1.1fr);
  gap:0;
  background:#fff;
  border:1px solid var(--border);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
  margin-bottom:28px;
}
.featured-front-event-media{
  min-height:320px;
  background-size:cover;
  background-position:center;
}
.featured-front-event-body{
  padding:28px;
}
.featured-front-event-body h3{
  margin:0 0 10px;
  color:var(--blue-dark);
  font-size:34px;
  line-height:1.12;
}
.event-card-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}
.events-grid-page{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.event-page-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(10,20,40,0.05);
}
.event-page-media{
  height:220px;
  background-size:cover;
  background-position:center;
}
.event-page-media-default{
  background-image:linear-gradient(rgba(8,39,93,0.12), rgba(8,39,93,0.12)),url('https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1000&q=80');
}
.event-page-body{
  padding:22px;
}
.event-page-body h3{
  margin:0 0 10px;
  color:var(--blue-dark);
  font-size:24px;
}
.cc-theme-dark .featured-front-event,
.cc-theme-dark .event-page-card{
  background:#121c31;
  border-color:rgba(255,255,255,0.08);
}
.cc-theme-dark .featured-front-event-body h3,
.cc-theme-dark .event-page-body h3{
  color:#f8fbff;
}
@media (max-width:1100px){
  .featured-front-event,
  .events-grid-page{
    grid-template-columns:1fr;
  }
}

/* v2.0.0 gallery slider + member highlight */
.section-link-heading{color:inherit;text-decoration:none}
.front-gallery-slider{position:relative;overflow:hidden;border-radius:26px}
.front-gallery-track{display:flex;transition:transform 0.35s ease}
.front-gallery-slide{min-width:100%;display:block}
.front-gallery-slide-image{height:420px;background-size:cover;background-position:center;border-radius:26px}
.front-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border:none;border-radius:999px;background:rgba(255,255,255,0.85);color:var(--blue);z-index:2;box-shadow:0 10px 24px rgba(10,20,40,0.12)}
.front-gallery-arrow.prev{left:16px}
.front-gallery-arrow.next{right:16px}

.member-highlight-section{background:#fff}
.member-highlight-card{display:grid;grid-template-columns:minmax(280px,0.8fr) minmax(0,1.2fr);background:#fff;border:1px solid var(--border);border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}
.member-highlight-media{min-height:360px;background-size:cover;background-position:center}
.member-highlight-body{padding:30px}
.member-highlight-body h3{margin:0 0 8px;font-size:34px;line-height:1.12;color:var(--blue-dark)}
.member-highlight-meta{margin:0 0 16px;color:var(--muted);font-weight:700}
.member-highlight-text{color:var(--muted)}

.cc-theme-dark .member-highlight-card{background:#121c31;border-color:rgba(255,255,255,0.08)}
.cc-theme-dark .member-highlight-body h3{color:#f8fbff}
.cc-theme-dark .member-highlight-meta,.cc-theme-dark .member-highlight-text{color:#c6d3e3}

@media (max-width:1100px){.member-highlight-card{grid-template-columns:1fr}}
@media (max-width:860px){
  .front-gallery-slide-image{height:260px}
  .front-gallery-arrow{width:40px;height:40px}
  .member-highlight-media{min-height:260px}
  .member-highlight-body{padding:20px}
  .member-highlight-body h3{font-size:28px}
}


/* v2.0.2 pro polish */
:root{
  --cc-page-max: 1200px;
  --cc-page-pad: 20px;
  --cc-card-radius: 24px;
  --cc-card-shadow: 0 12px 28px rgba(10,20,40,0.06);
  --cc-section-space: 56px;
}

.page-shell,
.members-page-section,
.about-page-section,
.directory-page-section,
.events-page-section,
.contact-page-section,
.news-page-main {
  padding-top: var(--cc-section-space);
  padding-bottom: 80px;
}

.page-content,
.members-page-section .container,
.about-page-section .container,
.directory-page-section .container,
.events-page-section .container,
.contact-page-section .container,
.news-page-main .container,
.simple-page-hero .container,
.page-hero .container {
  max-width: var(--cc-page-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--cc-page-pad);
  padding-right: var(--cc-page-pad);
}

.page-content-card,
.members-page-section .card,
.about-page-section .card,
.directory-card,
.event-page-card,
.contact-card,
.contact-info-card,
.single-article,
.widget,
.news-card-pro,
.news-featured-pro,
.member-highlight-card,
.featured-front-event {
  border-radius: var(--cc-card-radius);
  box-shadow: var(--cc-card-shadow);
}

.members-page-section .card,
.about-page-section .card {
  width: 100%;
}

.page-content-card,
.single-article,
.contact-card,
.contact-info-card {
  border: 1px solid var(--border);
  background: #fff;
}

.page-hero,
.simple-page-hero {
  padding-top: 42px;
  padding-bottom: 34px;
}

.page-hero h2,
.simple-page-hero h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 8px;
}

.page-hero p,
.simple-page-hero p {
  max-width: 820px;
  color: var(--muted);
}

.section-head h2,
.page-content-card h2,
.single-article h2,
.contact-card h2,
.contact-info-card h2 {
  letter-spacing: -0.5px;
}

.directory-page-section .section-head,
.events-page-section .section-head,
.contact-page-section .section-head,
.members-page-section .section-head,
.about-page-section .section-head {
  margin-bottom: 24px;
}

.directory-card,
.event-page-card,
.news-card-pro,
.members-page-section .card,
.about-page-section .card {
  overflow: hidden;
}

.directory-card-body,
.event-page-body,
.news-card-body,
.contact-card,
.contact-info-card,
.page-content-card,
.single-article {
  padding: 24px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cc-theme-dark .page-content-card,
.cc-theme-dark .single-article,
.cc-theme-dark .contact-card,
.cc-theme-dark .contact-info-card {
  background: #121c31;
  border-color: rgba(255,255,255,0.08);
}

.cc-theme-dark .page-hero p,
.cc-theme-dark .simple-page-hero p {
  color: #c6d3e3;
}

@media (max-width: 860px) {
  :root{
    --cc-section-space: 40px;
    --cc-page-pad: 16px;
  }

  .directory-card-body,
  .event-page-body,
  .news-card-body,
  .contact-card,
  .contact-info-card,
  .page-content-card,
  .single-article {
    padding: 18px;
  }

  .page-hero,
  .simple-page-hero {
    padding-top: 28px;
    padding-bottom: 24px;
  }
}


/* v2.0.3 members/about width fix */
.page-content,
.entry-content,
.page-content-card {
  width: 100%;
}

.page-content-card > .member-highlight-section:first-child,
.entry-content > .member-highlight-section:first-child,
.page-content > .member-highlight-section:first-child {
  margin-top: 0;
}

.page-content-card .member-highlight-section,
.entry-content .member-highlight-section,
.page-content .member-highlight-section {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.page-content-card .member-highlight-section .container,
.entry-content .member-highlight-section .container,
.page-content .member-highlight-section .container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.page-content-card .member-highlight-card,
.entry-content .member-highlight-card,
.page-content .member-highlight-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.page-content-card .member-highlight-body,
.entry-content .member-highlight-body,
.page-content .member-highlight-body {
  padding: 32px;
}

.members-page-section .page-content-card,
.about-page-section .page-content-card {
  max-width: var(--cc-page-max);
  margin-left: auto;
  margin-right: auto;
}

.members-page-section .page-content-card h2,
.about-page-section .page-content-card h2 {
  width: 100%;
}

@media (max-width: 860px) {
  .page-content-card .member-highlight-body,
  .entry-content .member-highlight-body,
  .page-content .member-highlight-body {
    padding: 20px;
  }
}


/* v2.0.4 members/about templates */
.fullwidth-page-card{
  width:100%;
  background:#fff;
  border:1px solid var(--border);
  border-radius:28px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.fullwidth-page-content{
  width:100%;
  padding:32px;
}

.about-page-section .container,
.members-page-section .container{
  max-width:var(--cc-page-max);
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--cc-page-pad);
  padding-right:var(--cc-page-pad);
}

.about-page-section .fullwidth-page-card,
.members-page-section .fullwidth-page-card{
  width:100%;
  max-width:100%;
}

.about-page-section .fullwidth-page-content > *:first-child,
.members-page-section .fullwidth-page-content > *:first-child{
  margin-top:0;
}

.about-page-section .member-highlight-section,
.members-page-section .member-highlight-section{
  background:transparent;
  padding-top:0;
  padding-bottom:0;
}

.about-page-section .member-highlight-section .container,
.members-page-section .member-highlight-section .container{
  max-width:none;
  width:100%;
  margin:0;
  padding:0;
}

.about-page-section .member-highlight-card,
.members-page-section .member-highlight-card{
  width:100%;
  max-width:100%;
  margin:0;
  border-radius:28px;
  box-shadow:var(--cc-card-shadow);
}

.about-page-section .section-head,
.members-page-section .section-head{
  margin-bottom:24px;
}

@media (max-width:860px){
  .fullwidth-page-content{
    padding:20px;
  }
}
