html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ev-text);
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; }
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  background: rgba(20,47,102,.97); color: var(--ev-white); border-bottom: 1px solid rgba(255,255,255,.08);
  width: 100%;
}
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:22px; min-height:72px; padding: 0 32px; box-sizing: border-box; }
.brand-link, .footer-logo { display:flex; align-items:center; gap:10px; font-weight:800; }
.brand-mark { color: var(--ev-accent); font-size: 14px; }
.main-nav .menu { list-style:none; display:flex; gap:28px; padding:0; margin:0; }
.main-nav a { color: rgba(255,255,255,.88); font-size:17px; }
.header-cta, .btn {
  display:inline-flex; align-items:center; justify-content:center; border-radius:999px; font-weight:700;
}
.header-cta, .btn-primary { background: var(--ev-accent); color:#fff; padding:13px 22px; box-shadow: var(--ev-shadow); }
.btn-primary:hover, .header-cta:hover { background: var(--ev-accent-dark); }
.btn-secondary { border:1px solid rgba(255,255,255,.8); color:#fff; padding:12px 22px; background: transparent; }
.mobile-nav-toggle { display:none; background:none; border:0; color:#fff; font-size:28px; }
.hero-slider { position: relative; min-height: 760px; overflow:hidden; }
.hero-slider-track, .hero-slide { min-height: 760px; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity:0; transition: opacity .45s ease;
}
.hero-slide.is-active { opacity:1; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg, rgba(9,24,56,.62), rgba(9,24,56,.25)); }
.hero-content { position:relative; z-index:2; display:flex; align-items:center; min-height:760px; }
.hero-copy { max-width: 520px; color:#fff; padding-top:80px; }
.hero-copy h1 { margin:0 0 18px; font-size: 60px; line-height:.95; letter-spacing:-0.04em; }
.hero-copy p { margin:0 0 28px; font-size:20px; color:rgba(255,255,255,.88); }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.hero-dots { position:absolute; bottom:26px; left:50%; transform:translateX(-50%); display:flex; gap:10px; z-index:3; }
.hero-dot { width:28px; height:6px; border-radius:999px; border:0; background:rgba(255,255,255,.35); cursor:pointer; }
.hero-dot.is-active { background: var(--ev-accent); }
.section-intro { text-align:center; margin-bottom:42px; }
.section-intro.left { text-align:left; }
.eyebrow { text-transform:uppercase; color:var(--ev-accent); font-size:12px; font-weight:800; letter-spacing:.11em; display:inline-block; margin-bottom:12px; }
.section-intro h2, .section-intro h1 { margin:0; font-size:52px; line-height:1.05; color: #16253f; }
.events-section { background: #f5f7fb; }
.eduvista-bec-shell .bec-wrapper { max-width: none; }
.eduvista-bec-shell .bec-wrapper { display:grid; grid-template-columns: minmax(320px, 1fr) minmax(360px, 1fr); gap:24px; align-items:start; }
.eduvista-bec-shell .bec-calendar-wrap .bec-calendar,
.eduvista-bec-shell .bec-list-wrap .bec-list,
.eduvista-plugin-notice,
.blog-card { background:#fff; border:1px solid var(--ev-border); border-radius:24px; box-shadow: var(--ev-shadow); }
.eduvista-bec-shell .bec-calendar-wrap .bec-calendar { padding:24px; margin:0; }
.eduvista-bec-shell .bec-list-wrap .bec-list { padding:0 0 24px; overflow:hidden; }
.eduvista-bec-shell .bec-list-title { background:var(--ev-accent); color:#fff; font-weight:700; padding:16px 22px; margin:0 0 16px; font-size:16px; }
.eduvista-bec-shell .bec-back-wrap { padding:16px 22px 0; margin:0; }
.eduvista-bec-shell .bec-card { margin:0 16px 14px; border:1px solid var(--ev-border); border-radius:16px; }
.eduvista-bec-shell .bec-show-all { border-color: var(--ev-border); }
.eduvista-bec-shell .bec-cal-head { margin-bottom:18px; }
.eduvista-bec-shell .bec-cal-title { font-size:28px; color: var(--ev-primary); }
.eduvista-bec-shell .bec-nav { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; padding:0; }
.eduvista-bec-shell .bec-grid { gap:10px; }
.eduvista-bec-shell .bec-col-head { color:var(--ev-muted); font-size:13px; font-weight:700; text-align:center; }
.eduvista-bec-shell .bec-col { aspect-ratio:1; min-height:auto; border-radius:14px; }
.eduvista-bec-shell .bec-daynum { font-size:16px; color: var(--ev-primary); }
.eduvista-bec-shell .bec-day.has-events { box-shadow: inset 0 0 0 1px rgba(32,169,239,.35); background:#f7f9fd; border-color:#e7edf5; }
.eduvista-bec-shell .bec-day.is-selected { background: var(--ev-primary); border-color: var(--ev-primary); }
.eduvista-bec-shell .bec-day.is-selected .bec-daynum,
.eduvista-bec-shell .bec-day.is-selected .bec-count { color:#fff; }
.eduvista-bec-shell .bec-count { left:8px; right:8px; bottom:8px; font-size:10px; }
.eduvista-bec-shell .bec-meta, .event-meta-line { display:flex; gap:12px; flex-wrap:wrap; color:var(--ev-muted); font-size:14px; }
.event-badge { background:#e9f7ff; color:var(--ev-accent-dark); border-radius:999px; padding:4px 10px; font-weight:700; }
.blog-section { background:#eef2f7; }
.blog-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.blog-card { overflow:hidden; }
.blog-thumb img { width:100%; height:240px; object-fit:cover; }
.blog-body { padding:18px 20px 22px; }
.blog-date { color:var(--ev-muted); font-size:13px; margin-bottom:10px; }
.blog-card h3 { margin:0 0 12px; font-size:18px; line-height:1.15; font-weight:400; }
.blog-card p { margin:0 0 16px; color:var(--ev-muted); }
.read-more { color:var(--ev-accent-dark); font-weight:700; }
.simple-content { padding-top:140px; }
.content-narrow { width:min(900px, calc(100% - 48px)); }
.content-with-sidebar { display:grid; grid-template-columns: 300px minmax(0, 1fr); gap:40px; align-items:start; }
.content-main { min-width:0; }
.archive-event-item { margin-bottom:28px; padding-bottom:28px; border-bottom:1px solid var(--ev-border); }
.site-footer { background:var(--ev-primary); color:#d5e0f5; padding-top:76px; }
.footer-top { display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:40px; padding-bottom:40px; }
.footer-title { color:#fff; margin:0 0 18px; font-size:24px; }
.footer-brand p { max-width:340px; }
.footer-logo { color:#fff; margin-bottom:16px; }
.footer-logo-image { max-height:56px; width:auto; }
.footer-links-list { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.footer-socials { display:flex; gap:10px; margin-top:22px; flex-wrap:wrap; }
.footer-socials a, .footer-socials span { width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:grid; place-items:center; overflow:hidden; color:#fff; }
.footer-socials img { width:18px; height:18px; object-fit:contain; }
.footer-bottom { padding:22px 0; border-top:1px solid rgba(255,255,255,.08); display:flex; justify-content:space-between; gap:20px; font-size:13px; color:#a9b9d6; }
.bb-submenu-widget { width:100%; }
.bb-submenu-widget .bb-submenu-list, .bb-submenu-widget .bb-submenu-sublist { list-style:none; margin:0; padding:0; }
.bb-submenu-widget .bb-submenu-parent { border:4px solid #2d9dff; background:#fff; padding:15px; margin:0 0 14px; box-sizing:border-box; }
.bb-submenu-widget .bb-parent-link { display:block; text-decoration:none; font-weight:600; line-height:1.2; color:#0b2a4a; }
.bb-submenu-widget .bb-submenu-item { margin:0; position:relative; }
.bb-submenu-widget .bb-item-row { display:flex; align-items:stretch; }
.bb-submenu-widget .bb-level1 { display:block; flex:1 1 auto; min-width:0; padding:15px; text-decoration:none; background:#fff; color:#111; line-height:1.15; border:1px solid #cfcfcf; box-sizing:border-box; }
.bb-submenu-widget .bb-level1:hover, .bb-submenu-widget .bb-submenu-toggle:hover { background:#f5f7fa; }
.bb-submenu-widget .bb-submenu-item.is-current > .bb-item-row > .bb-level1,
.bb-submenu-widget .bb-submenu-item.is-ancestor > .bb-item-row > .bb-level1 { background:#fff; border-left:4px solid #2d9dff; padding-left:14px; }
.bb-submenu-widget .bb-submenu-toggle { flex:0 0 48px; width:48px; border:1px solid #cfcfcf; border-left:0; background:#fff; cursor:pointer; position:relative; box-sizing:border-box; }
.bb-submenu-widget .bb-toggle-icon { position:absolute; top:50%; left:50%; width:12px; height:12px; transform:translate(-50%, -50%); }
.bb-submenu-widget .bb-toggle-icon::before, .bb-submenu-widget .bb-toggle-icon::after { content:""; position:absolute; background:#0b2a4a; top:50%; left:50%; transform:translate(-50%, -50%); }
.bb-submenu-widget .bb-toggle-icon::before { width:12px; height:2px; }
.bb-submenu-widget .bb-toggle-icon::after { width:2px; height:12px; }
.bb-submenu-widget .bb-submenu-item.open > .bb-item-row .bb-toggle-icon::after { display:none; }
.bb-submenu-widget .bb-submenu-sublist[hidden] { display:none; }
.bb-submenu-widget .bb-submenu-sublist { padding:14px 0; background:#3f4a56; border-left:1px solid #cfcfcf; border-right:1px solid #cfcfcf; border-bottom:1px solid #cfcfcf; box-sizing:border-box; }
.bb-submenu-widget .bb-submenu-subitem > a { display:block; padding:10px; text-decoration:none; color:#fff; line-height:1.25; }
.bb-submenu-widget .bb-submenu-subitem > a:hover,
.bb-submenu-widget .bb-submenu-subitem.is-current > a,
.bb-submenu-widget .bb-submenu-subitem.is-ancestor > a { background:rgba(255,255,255,.10); }
.eduvista-has-submenu nav .sub-menu,
.eduvista-has-submenu .main-navigation .sub-menu,
.eduvista-has-submenu .primary-menu .sub-menu { display:none !important; visibility:hidden !important; opacity:0 !important; height:0 !important; overflow:hidden !important; }
@media (max-width: 1024px) {
  .eduvista-bec-shell .bec-wrapper, .blog-grid, .footer-top, .content-with-sidebar { grid-template-columns:1fr; }
  .front-events-grid { grid-template-columns:1fr; }
  .front-events-items { max-height:none; }
  .main-nav .menu { justify-content:flex-start; gap:18px; }
  .main-nav .menu > li { flex:0 0 auto; text-align:left; }
  .section-intro h2, .section-intro h1 { font-size:42px; }
}
@media (max-width: 768px) {
  .container { width:min(100% - 28px, 1320px); }
  .site-header { position:fixed; }
  .main-nav { display:none; position:fixed; left:0; right:0; top:72px; background:var(--ev-primary); padding:16px 24px; z-index:19; }
  .main-nav.is-open { display:block; }
  .main-nav .menu { flex-direction:column; gap:14px; }
  .mobile-nav-toggle { display:block; }
  .header-cta { display:none; }
  .hero-slider, .hero-slider-track, .hero-slide, .hero-content { min-height:620px; }
  .hero-copy { padding-top:110px; }
  .hero-copy h1 { font-size:56px; }
  .hero-copy p { font-size:18px; }
  .section { padding:72px 0; }
  .blog-card h3 { font-size:18px; }
  .footer-bottom { flex-direction:column; }
  .eduvista-bec-shell .bec-col { min-height:52px; }
}

:root {
  --ev-primary:#173468;
  --ev-accent:#1da9ef;
  --ev-accent-dark:#1292d1;
  --ev-text:#16253f;
  --ev-white:#ffffff;
  --ev-muted:#6f7e95;
  --ev-border:#dfe7f0;
  --ev-shadow:0 18px 45px rgba(12,31,68,.08);
}
.custom-logo-link { display:block; line-height:0; }
.custom-logo { max-height:70px; width:auto; }
.site-branding { flex:0 0 auto; }
.brand-link { gap:0; }
.brand-link .brand-text { color:#fff; font-size:22px; font-weight:800; }
.header-inner { gap:24px; }
.main-nav { flex:1 1 auto; }
.main-nav .menu { width:100%; justify-content:space-evenly; }
.main-nav .menu > li { flex:1 1 auto; text-align:center; }
.main-nav .menu > li > a { display:block; padding:8px 4px; }
.front-events-grid { display:grid; grid-template-columns: minmax(0, 500px) minmax(0,1fr); gap:26px; align-items:start; }
.ed-front-calendar-card, .front-events-list-card, .archive-blog-card, .archive-post-grid .blog-card { background:#fff; border:1px solid var(--ev-border); border-radius:24px; box-shadow:var(--ev-shadow); }
.ed-front-calendar-card { padding:24px; box-sizing:border-box; width:100%; }
.ed-front-calendar-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.ed-front-calendar-title { font-size:28px; font-weight:700; color:var(--ev-primary); }
.ed-front-cal-nav { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--ev-border); color:var(--ev-primary); font-size:24px; }
.ed-front-calendar-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:10px; }
.ed-front-calendar-weekdays { margin-bottom:10px; }
.ed-front-calendar-weekdays span { text-align:center; color:var(--ev-muted); font-size:13px; font-weight:700; }
.ed-front-calendar-days .is-empty { aspect-ratio:1; }
.ed-front-calendar-day { position:relative; aspect-ratio:1; min-height:54px; border:1px solid var(--ev-border); border-radius:14px; background:#fafcff; color:var(--ev-primary); }
.ed-front-calendar-day .num { position:absolute; top:10px; left:10px; font-weight:700; }
.ed-front-calendar-day .count { position:absolute; right:8px; bottom:8px; min-width:20px; height:20px; border-radius:999px; background:var(--ev-accent); color:#fff; font-size:11px; display:grid; place-items:center; }
.ed-front-calendar-day.has-events { box-shadow: inset 0 0 0 1px rgba(29,169,239,.25); }
.ed-front-calendar-day.is-selected, .ed-front-calendar-day:hover { background:var(--ev-primary); color:#fff; }
.ed-front-calendar-day.is-today { outline:2px solid var(--ev-accent); outline-offset:2px; }
.front-events-list-card { overflow:hidden; display:flex; flex-direction:column; min-width:0; }
.front-events-list-title { background:var(--ev-accent); color:#fff; margin:0; padding:16px 22px; font-size:16px; }
.front-events-items { padding:16px 18px 6px; }
.front-event-item { padding:14px 0; border-bottom:1px solid var(--ev-border); }
.front-event-item:last-child { border-bottom:0; }
.front-event-item h4 { margin:0 0 8px; font-size:15px; line-height:1.25; font-weight:400; }
.front-events-footer { padding:0 18px 20px; }
.blog-card h3, .archive-blog-card h3 { font-size:18px; font-weight:400; }
.blog-card h3 a, .archive-blog-card h3 a { text-decoration:none !important; }
.blog-card h3 a:hover, .archive-blog-card h3 a:hover { text-decoration:none !important; }
.archive-post-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; }

/* When the selected content layout includes a sidebar, keep archive/blog cards readable. */
.content-with-sidebar .archive-post-grid,
.content-with-sidebar .blog-archive-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.archive-pagination { margin-top:36px; display:flex; justify-content:center; }
.archive-pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; border:1px solid var(--ev-border); border-radius:999px; margin:0 6px; padding:0 14px; background:#fff; }
.archive-pagination .current { background:var(--ev-primary); color:#fff; border-color:var(--ev-primary); }
.footer-links-list a { color:inherit; }
.footer-links-list a:hover { color:#fff; }
.front-events-items { flex:1 1 auto; overflow-y:auto; max-height:440px; }
/* Loading state for AJAX calendar filter */
.front-events-list-card.is-loading .front-events-items { opacity:0.45; pointer-events:none; }
@media (max-width: 1024px) {
  .archive-post-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .site-branding { max-width:70%; }
  .custom-logo { max-height:44px; }
  .main-nav { flex:none; }
  .main-nav .menu { width:auto; }
  .archive-post-grid { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr; }
}

/* EduVista custom refinements */
.blog-footer { margin-top:32px; text-align:center; }
.site-main .container { box-sizing:border-box; }
.footer-top { grid-template-columns:1.25fr 1fr 1fr 1.25fr; }
.ev-icon { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; flex:0 0 20px; }
.footer-socials a { transition:background .2s ease, border-color .2s ease; }
.footer-socials a:hover { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.45); }
.footer-socials .ev-social-icon { width:18px; height:18px; }
.footer-contact-list { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.footer-contact-list li { display:flex; align-items:flex-start; gap:10px; line-height:1.35; }
.footer-contact-list a { color:inherit; text-decoration:none; }
.footer-contact-list a:hover { color:#fff; }
.screen-reader-text { border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute; width:1px; word-wrap:normal !important; }
@media (max-width: 1024px) { .footer-top { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 768px) { .footer-top { grid-template-columns:1fr; } }


/* EduVista v1.3.1 readability refinements */
.simple-content article,
.simple-content .page,
.simple-content .post,
.entry-content,
.archive-description {
  line-height:1.72;
}
.simple-content article p,
.entry-content p {
  margin-bottom:1.15em;
}
.simple-content article a:not(.btn):not(.button):not(.read-more):not(.blog-thumb),
.entry-content a:not(.btn):not(.button),
.archive-description a,
.blog-body p a {
  color:#1da9ef;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}
.simple-content article a:not(.btn):not(.button):not(.read-more):not(.blog-thumb):hover,
.entry-content a:not(.btn):not(.button):hover,
.archive-description a:hover,
.blog-body p a:hover {
  color:#1292d1;
}
.simple-content table,
.entry-content table {
  width:100%;
  border-collapse:collapse;
  margin:1.6em 0;
  background:#fff;
  border:1px solid var(--ev-border);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(12,31,68,.05);
}
.simple-content th,
.simple-content td,
.entry-content th,
.entry-content td {
  padding:14px 16px;
  border:1px solid var(--ev-border);
  text-align:left;
  vertical-align:top;
}
.simple-content th,
.entry-content th {
  background:#f3f8fd;
  color:var(--ev-primary);
  font-weight:700;
}
.simple-content tr:nth-child(even) td,
.entry-content tr:nth-child(even) td {
  background:#fbfdff;
}
@media (max-width: 640px) {
  .simple-content table,
  .entry-content table {
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
}


/* EduVista v1.3.2 archive, menu and table refinements */
.site-header .main-nav a,
.main-nav .menu > li > a {
  color:rgba(255,255,255,.70);
  font-size:14px;
  font-weight:500;
  line-height:1.25;
  text-decoration:none;
  transition:color .15s cubic-bezier(.4,0,.2,1), opacity .15s cubic-bezier(.4,0,.2,1);
}
.site-header .main-nav a:hover,
.site-header .main-nav .current-menu-item > a,
.site-header .main-nav .current-menu-ancestor > a,
.site-header .main-nav .current_page_item > a {
  color:#fff;
}
.simple-content article,
.simple-content .page,
.simple-content .post,
.entry-content,
.archive-description {
  line-height:1.85;
}
.simple-content article p,
.entry-content p,
.simple-content li,
.entry-content li {
  line-height:1.85;
}
.news-category-filter {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:-18px 0 30px;
}
.news-filter-pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid #dfe7f0;
  background:#fff;
  color:#173468;
  font-size:14px;
  font-weight:700;
  text-decoration:none !important;
  box-shadow:0 8px 22px rgba(12,31,68,.05);
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.news-filter-pill:hover,
.news-filter-pill.is-active {
  background:#1da9ef;
  border-color:#1da9ef;
  color:#fff;
}
.simple-content .wp-block-table,
.entry-content .wp-block-table {
  margin:1.8em 0;
  overflow-x:auto;
}
.simple-content table,
.entry-content table {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:1.8em 0;
  background:#fff;
  border:1px solid #dfe3ea;
  border-radius:0 0 14px 14px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(12,31,68,.08);
  font-size:16px;
}
.simple-content thead th,
.entry-content thead th,
.simple-content tr:first-child th,
.entry-content tr:first-child th {
  background:#f6f8fb;
  color:#0f1f38;
  font-weight:800;
}
.simple-content th,
.simple-content td,
.entry-content th,
.entry-content td {
  padding:18px 22px;
  border:0;
  border-bottom:1px solid #dfe3ea;
  text-align:left;
  vertical-align:middle;
}
.simple-content tr:last-child td,
.simple-content tr:last-child th,
.entry-content tr:last-child td,
.entry-content tr:last-child th {
  border-bottom:0;
}
.simple-content td,
.entry-content td {
  color:#5f6f8a;
  font-weight:500;
}
.simple-content td:first-child,
.entry-content td:first-child {
  color:#071a34;
  font-weight:800;
}
.simple-content td a,
.entry-content td a {
  color:#0099ee;
  text-decoration:none;
}
.simple-content td a:hover,
.entry-content td a:hover {
  text-decoration:underline;
}
.simple-content table .badge,
.entry-content table .badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:24px;
  padding:0 10px;
  border-radius:999px;
  background:#dff4ff;
  color:#0099ee;
  font-size:13px;
  font-weight:800;
}
@media (max-width: 640px) {
  .simple-content table,
  .entry-content table {
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
  .simple-content th,
  .simple-content td,
  .entry-content th,
  .entry-content td {
    padding:14px 16px;
  }
}

/* EduVista v1.3.3 single post and card title refinements */
.blog-card h3 a,
.archive-blog-card h3 a,
.archive-post-grid .blog-card h3 a,
.front-event-item h4 a,
.archive-event-item h2 a,
.eduvista-bec-shell .bec-card-title a,
.eduvista-bec-shell .bec-card h3 a {
  color:#173468 !important;
  text-decoration:none !important;
}
.blog-card h3 a:hover,
.archive-blog-card h3 a:hover,
.archive-post-grid .blog-card h3 a:hover,
.front-event-item h4 a:hover,
.archive-event-item h2 a:hover,
.eduvista-bec-shell .bec-card-title a:hover,
.eduvista-bec-shell .bec-card h3 a:hover {
  color:#173468 !important;
  text-decoration:none !important;
}
.single-post-view {
  max-width:980px;
  margin:0 auto;
}
.single-post-header {
  margin-bottom:28px;
}
.single-post-header h1 {
  margin:0;
  color:#173468;
  font-size:clamp(36px, 5vw, 64px);
  line-height:1.02;
  letter-spacing:-0.045em;
}
.single-post-meta {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
  color:var(--ev-muted);
  font-size:15px;
}
.single-post-meta span {
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:#e9f7ff;
  color:#173468;
  font-weight:700;
}
.single-post-featured {
  margin:0 0 34px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--ev-border);
  box-shadow:var(--ev-shadow);
  background:#fff;
}
.single-post-featured img {
  width:100%;
  max-height:520px;
  object-fit:cover;
}
.single-post-content {
  background:#fff;
  border:1px solid var(--ev-border);
  border-radius:24px;
  box-shadow:0 18px 45px rgba(12,31,68,.06);
  padding:clamp(24px, 4vw, 48px);
}
.single-post-content > :first-child { margin-top:0; }
.single-post-content > :last-child { margin-bottom:0; }
.single-post-footer {
  margin-top:32px;
  text-align:center;
}
@media (max-width: 768px) {
  .single-post-content { padding:22px; }
}

/* EduVista v1.3.4 refinements */
/* Event title links: keep primary theme color and no underline in all event/card list views. */
.front-event-item h4 a,
.archive-event-item h2 a,
.eduvista-bec-shell .bec-card a,
.eduvista-bec-shell .bec-card-title a,
.eduvista-bec-shell .bec-event-title a,
.eduvista-bec-shell .bec-title a,
.bec-list .bec-card a,
.bec-list .bec-card-title a,
.bec-list .bec-event-title a,
.event-card h2 a,
.event-card h3 a,
.event-card-title a,
.event-title a {
  color:#173468 !important;
  text-decoration:none !important;
}
.front-event-item h4 a:hover,
.archive-event-item h2 a:hover,
.eduvista-bec-shell .bec-card a:hover,
.eduvista-bec-shell .bec-card-title a:hover,
.eduvista-bec-shell .bec-event-title a:hover,
.eduvista-bec-shell .bec-title a:hover,
.bec-list .bec-card a:hover,
.bec-list .bec-card-title a:hover,
.bec-list .bec-event-title a:hover,
.event-card h2 a:hover,
.event-card h3 a:hover,
.event-card-title a:hover,
.event-title a:hover {
  color:#173468 !important;
  text-decoration:none !important;
}
/* Preserve button appearance inside event cards if the plugin uses button-like links. */
.eduvista-bec-shell .bec-card a.btn,
.eduvista-bec-shell .bec-card a.button,
.eduvista-bec-shell .bec-card a.wp-block-button__link {
  color:#fff !important;
}

/* Main menu: align items after the logo, not stretched across the whole header. */
.header-inner {
  justify-content:flex-start;
  gap:30px;
}
.main-nav {
  flex:0 1 auto;
}
.main-nav .menu {
  width:auto;
  justify-content:flex-start;
  gap:22px;
}
.main-nav .menu > li {
  flex:0 0 auto;
  text-align:left;
}
.main-nav .menu > li > a {
  display:block;
  padding:8px 0;
}
.header-cta {
  margin-left:auto;
}

/* Slightly smaller single post title. */
.single-post-header h1 {
  font-size:clamp(30px, 4vw, 48px);
  line-height:1.08;
}

@media (max-width: 768px) {
  .header-inner { justify-content:space-between; gap:18px; }
  .main-nav { flex:none; }
  .main-nav .menu { gap:14px; width:auto; }
  .header-cta { margin-left:0; }
}

/* EduVista v1.3.6 refinements */
/* Header menu: logo stays left, menu items aligned to the right with compact spacing. */
.header-inner {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:24px;
}
.site-branding {
  flex:0 0 auto;
  margin-right:auto;
}
.main-nav {
  flex:0 1 auto;
  margin-left:auto;
}
.main-nav .menu {
  width:auto;
  justify-content:flex-end;
  gap:24px;
}
.main-nav .menu > li {
  flex:0 0 auto;
  text-align:left;
}
.header-cta {
  margin-left:0;
}

/* Front page calendar: on mobile/tablet stack events under the calendar and prevent sideways offset. */
@media (max-width: 900px) {
  .front-events-grid {
    grid-template-columns:1fr !important;
    gap:22px;
    width:100%;
  }
  .front-events-calendar,
  .ed-front-calendar-card,
  .front-events-list-card {
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }
  .ed-front-calendar-card {
    padding:18px;
    overflow:hidden;
  }
  .ed-front-calendar-grid {
    gap:8px;
  }
  .ed-front-calendar-day {
    min-height:44px;
    border-radius:12px;
  }
  .ed-front-calendar-title {
    font-size:24px;
  }
  .front-events-list-card {
    order:2;
  }
  .front-events-calendar {
    order:1;
  }
  .front-events-items {
    max-height:none !important;
    overflow:visible;
  }
}
@media (max-width: 480px) {
  .ed-front-calendar-card { padding:14px; }
  .ed-front-calendar-grid { gap:6px; }
  .ed-front-calendar-day { min-height:38px; border-radius:10px; }
  .ed-front-calendar-day .num { top:7px; left:8px; font-size:14px; }
  .ed-front-calendar-day .count { min-width:18px; height:18px; font-size:10px; right:5px; bottom:5px; }
}

/* Sidebar layout: desktop 2 cards, mobile 1 card per row. */
@media (max-width: 768px) {
  .content-with-sidebar .archive-post-grid,
  .content-with-sidebar .blog-archive-grid,
  .archive-post-grid,
  .blog-archive-grid {
    grid-template-columns:1fr !important;
  }
}

@media (max-width: 768px) {
  .site-branding { margin-right:auto; }
  .main-nav { margin-left:0; }
  .main-nav .menu { justify-content:flex-start; }
}
