:root{
  --eb-primary:#071d49;
  --eb-primary-2:#0a356f;
  --eb-accent:#d7a62a;
  --eb-button:#0a356f;
  --eb-bg:#f5f7fb;
  --eb-surface:#fff;
  --eb-surface-soft:#f8fafc;
  --eb-text:#10213d;
  --eb-muted:#64748b;
  --eb-border:#dfe6ef;
  --eb-shadow:0 14px 42px rgba(7,29,73,.09);
  --eb-radius:18px;
}
.eduboard-portal,.eduboard-wrap,.eduboard-upcoming,.eduboard-countdown,.eduboard-ticker{
  box-sizing:border-box;
  font-family:Inter,"Noto Sans Devanagari","Segoe UI",Roboto,Arial,sans-serif;
  font-size:15px;
  line-height:1.55;
  color:var(--eb-text);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-synthesis:none;
}
.eduboard-portal *,.eduboard-wrap *,.eduboard-upcoming *,.eduboard-countdown *,.eduboard-ticker *{box-sizing:border-box}
.eduboard-portal h1,.eduboard-portal h2,.eduboard-portal h3,.eduboard-wrap h2,.eduboard-wrap h3{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:700;
  letter-spacing:-.025em;
  text-rendering:optimizeLegibility;
}
.eduboard-portal a,.eduboard-wrap a{text-decoration:none}
.eduboard-portal button,.eduboard-portal input,.eduboard-portal select,.eduboard-wrap button,.eduboard-wrap input,.eduboard-wrap select{font:inherit}
.eduboard-portal{width:100%;max-width:1440px;margin:0 auto;background:var(--eb-bg);border:1px solid rgba(7,29,73,.08);border-radius:22px;overflow:hidden;box-shadow:0 20px 65px rgba(7,29,73,.12)}
.eduboard-theme-dark{--eb-bg:#07152d;--eb-surface:#0d2347;--eb-surface-soft:#102a55;--eb-text:#f7f9fc;--eb-muted:#b9c6d9;--eb-border:#1f3a66}
@media(prefers-color-scheme:dark){.eduboard-theme-auto{--eb-bg:#07152d;--eb-surface:#0d2347;--eb-surface-soft:#102a55;--eb-text:#f7f9fc;--eb-muted:#b9c6d9;--eb-border:#1f3a66}}

/* Ticker */
.eduboard-ticker{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-height:42px;background:linear-gradient(90deg,#061a43,#0a315f);color:#fff;border:0;border-radius:0;overflow:hidden}
.eduboard-ticker-label{display:flex;align-items:center;gap:8px;padding:0 18px;font-size:11px;font-weight:800;letter-spacing:.09em;color:#071d49;background:var(--eb-accent);align-self:stretch}
.eduboard-ticker-label span{font-size:9px}
.eduboard-ticker-window{overflow:hidden;white-space:nowrap;padding:0 12px}
.eduboard-ticker-track{display:inline-flex;align-items:center;gap:28px;min-width:max-content;animation:ebTicker 28s linear infinite}
.eduboard-ticker-track a{display:inline-flex;align-items:center;gap:9px;color:#fff;font-size:13px;font-weight:600}
.eduboard-ticker-track time{color:#f1d071;font-size:11px;font-weight:800;text-transform:uppercase}
.eduboard-ticker-toggle{width:42px;height:42px;border:0;background:transparent;color:#fff;cursor:pointer;font-weight:800}
.eduboard-ticker.is-paused .eduboard-ticker-track{animation-play-state:paused}
@keyframes ebTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Hero */
.eb-portal-hero{position:relative;min-height:350px;background-image:linear-gradient(90deg,rgba(3,18,48,.97) 0%,rgba(3,24,62,.88) 48%,rgba(3,24,62,.36) 100%),var(--eb-hero-image,linear-gradient(135deg,#061b46,#0d4b83));background-size:cover;background-position:center;isolation:isolate}
.eb-portal-hero-overlay{position:absolute;inset:0;background:radial-gradient(circle at 75% 20%,rgba(215,166,42,.16),transparent 34%);z-index:-1}
.eb-portal-hero-content{max-width:1260px;margin:0 auto;min-height:350px;padding:62px 48px;display:flex;align-items:center;justify-content:space-between;gap:54px}
.eb-portal-hero-copy{max-width:700px;color:#fff}
.eb-portal-eyebrow,.eb-section-header>div>span,.eb-side-card-head>div>span{display:block;color:var(--eb-accent);font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.eb-portal-hero h1{font-size:clamp(42px,5vw,70px);line-height:1.02;margin:12px 0 18px;color:#fff}
.eb-portal-hero p{max-width:660px;margin:0;color:rgba(255,255,255,.88);font-size:17px;line-height:1.65}
.eb-portal-jump-nav{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.eb-portal-jump-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;background:var(--eb-accent);color:#091b3b;font-weight:800;font-size:13px;box-shadow:0 8px 22px rgba(0,0,0,.16)}
.eb-portal-jump-nav a:last-child{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.35);box-shadow:none}
.eb-portal-school-mark{width:240px;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;border:1px solid rgba(255,255,255,.22);border-radius:22px;background:rgba(3,18,48,.48);backdrop-filter:blur(8px);color:#fff}
.eb-portal-school-mark img{width:92px;height:92px;object-fit:contain;margin-bottom:14px}
.eb-portal-logo-fallback{display:grid;place-items:center;width:86px;height:86px;border:2px solid var(--eb-accent);border-radius:50%;color:var(--eb-accent);font-family:Georgia,serif;font-size:28px;font-weight:700;margin-bottom:14px}
.eb-portal-school-mark strong{font-family:Georgia,serif;font-size:18px;line-height:1.25}
.eb-portal-school-mark small{color:#f3cf6b;margin-top:7px;line-height:1.4}

/* Main layout */
.eb-portal-body{max-width:1320px;margin:0 auto;padding:38px 34px 44px}
.eb-portal-section{scroll-margin-top:25px}
.eb-notices-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}
.eb-portal-section-main,.eb-calendar-main,.eb-side-card,.eb-featured-event{background:var(--eb-surface);border:1px solid var(--eb-border);border-radius:var(--eb-radius);box-shadow:var(--eb-shadow)}
.eb-portal-section-main{padding:26px}
.eb-section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:20px}
.eb-section-header h2{font-size:30px;line-height:1.15;margin:5px 0 0;color:var(--eb-primary)}
.eduboard-theme-dark .eb-section-header h2,.eduboard-theme-auto .eb-section-header h2{color:var(--eb-text)}
.eb-portal-search{display:flex;align-items:center;gap:8px;width:min(320px,100%);height:44px;padding:0 13px;border:1px solid var(--eb-border);border-radius:10px;background:var(--eb-surface-soft);color:var(--eb-muted)}
.eb-portal-search input{width:100%;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--eb-text)!important;padding:0!important;min-height:0!important}
.eb-category-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.eduboard-filter-button{border:1px solid var(--eb-border);background:var(--eb-surface);color:var(--eb-text);padding:8px 13px;border-radius:999px;font-size:12px;font-weight:750;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,color .2s ease}
.eduboard-filter-button:hover,.eduboard-filter-button.is-active{background:var(--eb-primary);border-color:var(--eb-primary);color:#fff}
.eb-mobile-category{display:none;width:100%;height:44px;border:1px solid var(--eb-border);border-radius:10px;background:var(--eb-surface);color:var(--eb-text);padding:0 12px;margin-bottom:20px}
.eduboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.eduboard-notice-results.is-loading,.eduboard-calendar-shell.is-loading{opacity:.45;pointer-events:none}
.eduboard-notice-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:255px;padding:18px;border:1px solid var(--eb-border);border-radius:14px;background:var(--eb-surface);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;overflow:hidden}
.eduboard-notice-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:#cbd5e1}
.eduboard-notice-card.priority-important:before{background:var(--eb-accent)}
.eduboard-notice-card.priority-urgent:before{background:#dc3a4b}
.eduboard-notice-card:hover{transform:translateY(-2px);border-color:rgba(10,53,111,.3);box-shadow:0 14px 30px rgba(7,29,73,.09)}
.eduboard-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.eduboard-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eaf3ff;color:#0a5ea8;font-size:10px;font-weight:800;line-height:1.2}
.eduboard-status-badges{display:flex;align-items:center;gap:5px}
.eduboard-pin,.eduboard-new{display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 7px;border-radius:999px;background:#fff4cf;color:#8b6400;font-size:9px;font-weight:850;text-transform:uppercase}
.eduboard-date{display:block;margin-top:14px;color:var(--eb-muted);font-size:11px;font-weight:700}
.eduboard-notice-card h3{font-family:Inter,"Noto Sans Devanagari","Segoe UI",sans-serif;font-size:16px;line-height:1.42;letter-spacing:-.01em;margin:8px 0 8px}
.eduboard-notice-card h3 a{color:var(--eb-primary)}
.eduboard-theme-dark .eduboard-notice-card h3 a,.eduboard-theme-auto .eduboard-notice-card h3 a{color:var(--eb-text)}
.eduboard-notice-card p{margin:0;color:var(--eb-muted);font-size:12.5px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.eduboard-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:16px}
.eduboard-link{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:8px;background:var(--eb-button);color:#fff!important;font-size:11px;font-weight:800}
.eduboard-download{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;border:1px solid var(--eb-border);color:var(--eb-primary)!important;font-size:17px}
.eduboard-empty{grid-column:1/-1;margin:0;padding:22px;border:1px dashed var(--eb-border);border-radius:12px;color:var(--eb-muted);text-align:center;background:var(--eb-surface-soft)}

/* Side cards */
.eb-portal-sidebar,.eb-calendar-sidebar{display:grid;gap:18px}
.eb-side-card{padding:20px}
.eb-side-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.eb-side-card-head h3{font-size:21px;line-height:1.15;margin:4px 0 0;color:var(--eb-primary)}
.eb-side-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#eef4fb;color:var(--eb-primary);font-weight:900}
.eb-holiday-list,.eb-compact-event-list{display:grid}
.eb-holiday-list a,.eb-compact-event-list a{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--eb-border);color:var(--eb-text)}
.eb-holiday-list a:last-child,.eb-compact-event-list a:last-child{border-bottom:0}
.eb-holiday-list time,.eb-compact-event-list time{display:flex;flex-direction:column;align-items:center;justify-content:center;width:48px;height:50px;border-radius:10px;background:#f2f6fb;color:var(--eb-primary);font-size:10px;font-weight:800;text-transform:uppercase}
.eb-holiday-list time b,.eb-compact-event-list time b{font-size:18px;line-height:1}
.eb-holiday-list strong,.eb-compact-event-list strong{display:block;font-size:12.5px;line-height:1.4;color:var(--eb-text)}
.eb-holiday-list small,.eb-compact-event-list small{display:block;margin-top:3px;color:var(--eb-muted);font-size:10.5px}
.eb-side-button{display:flex;align-items:center;justify-content:center;min-height:42px;margin-top:16px;border-radius:9px;background:var(--eb-primary);color:#fff!important;font-size:12px;font-weight:800}

/* Calendar */
.eb-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start;margin-top:24px}
.eb-calendar-main{padding:26px;min-width:0}
.eduboard-calendar-wrap{min-width:0}
.eduboard-calendar-shell{transition:opacity .2s ease}
.eduboard-calendar-head{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;margin-bottom:14px}
.eduboard-calendar-head>div{text-align:center}
.eduboard-calendar-head strong{display:inline-block;color:var(--eb-primary);font-family:Georgia,"Times New Roman",serif;font-size:22px}
.eduboard-month-nav,.eduboard-today-button{border:1px solid var(--eb-border);background:var(--eb-surface);color:var(--eb-primary);border-radius:9px;cursor:pointer;font-weight:800}
.eduboard-month-nav{width:42px;height:40px;font-size:17px}
.eduboard-today-button{margin-left:10px;padding:6px 10px;font-size:10px}
.eduboard-calendar-scroll{overflow-x:auto;padding-bottom:4px}
.eduboard-calendar{min-width:720px;border:1px solid var(--eb-border);border-radius:12px;overflow:hidden;background:var(--eb-surface)}
.eduboard-weekdays{display:grid;grid-template-columns:repeat(7,1fr);background:var(--eb-primary);color:#fff}
.eduboard-weekdays>div{padding:10px;text-align:center;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.eduboard-days{display:grid;grid-template-columns:repeat(7,1fr)}
.eduboard-day{position:relative;min-height:104px;padding:8px;border-right:1px solid var(--eb-border);border-bottom:1px solid var(--eb-border);background:var(--eb-surface)}
.eduboard-day:nth-child(7n){border-right:0}
.eduboard-day.is-empty{background:var(--eb-surface-soft)}
.eduboard-day.is-weekend{background:#fbfcff}
.eduboard-day.is-today .day-number{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--eb-primary);color:#fff}
.day-number{display:inline-flex;color:var(--eb-text);font-size:12px;font-weight:800}
.eduboard-day-events{display:grid;gap:4px;margin-top:6px}
.eduboard-event-pill{display:block;min-width:0;padding:5px 6px;border-radius:6px;background:#e7f1ff;color:#0b5695!important;font-size:9px;line-height:1.25;overflow:hidden}
.eduboard-event-pill time{display:block;font-size:8px;font-weight:800;opacity:.75}
.eduboard-event-pill span{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:750}
.eduboard-event-pill.type-holiday{background:#e9f8df;color:#3e7c1f!important}.eduboard-event-pill.type-exam{background:#fff1c9;color:#8a6100!important}.eduboard-event-pill.type-meeting{background:#f5e6ff;color:#7a3ca8!important}
.eduboard-calendar-legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:12px;color:var(--eb-muted);font-size:10px;font-weight:700}
.eduboard-calendar-legend span:before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#72aee6}.eduboard-calendar-legend .type-holiday:before{background:#7bcf54}.eduboard-calendar-legend .type-exam:before{background:#f2bd28}.eduboard-calendar-legend .type-meeting:before{background:#b273d6}

/* Featured event */
.eb-featured-event{display:block;overflow:hidden;color:var(--eb-text)!important}
.eb-featured-image{display:block;height:170px;background:linear-gradient(135deg,#0a356f,#1a6aa3)}
.eb-featured-image img{display:block;width:100%;height:100%;object-fit:cover}
.eb-featured-image.is-empty{display:grid;place-items:center;color:#f4cd67;font-size:44px}
.eb-featured-body{display:block;padding:18px}
.eb-featured-body em{display:block;color:var(--eb-accent);font-size:9px;font-style:normal;font-weight:850;letter-spacing:.12em}
.eb-featured-body>strong{display:block;margin-top:6px;color:var(--eb-primary);font-family:Georgia,serif;font-size:19px;line-height:1.25}
.eb-featured-body small{display:block;margin-top:7px;color:var(--eb-muted);font-size:10px}
.eb-featured-body>span{display:block;margin-top:10px;color:var(--eb-muted);font-size:11.5px;line-height:1.55}
.eb-featured-body>b{display:inline-block;margin-top:12px;color:var(--eb-primary);font-size:11px}

/* Feature strip */
.eb-portal-feature-strip{display:grid;grid-template-columns:repeat(5,1fr);background:linear-gradient(90deg,#061b46,#0a315f);color:#fff}
.eb-portal-feature-strip>div{display:flex;align-items:center;justify-content:center;gap:10px;min-height:78px;padding:14px;border-right:1px solid rgba(255,255,255,.12);text-align:center}
.eb-portal-feature-strip>div:last-child{border-right:0}
.eb-portal-feature-strip span{color:var(--eb-accent);font-size:23px}
.eb-portal-feature-strip strong{font-size:11.5px;line-height:1.35}

/* Legacy widgets and single posts */
.eduboard-wrap,.eduboard-upcoming,.eduboard-countdown{max-width:1240px;margin:24px auto;background:var(--eb-bg);border:1px solid var(--eb-border);border-radius:20px;overflow:hidden;box-shadow:var(--eb-shadow)}
.eduboard-hero{padding:52px 36px;background:linear-gradient(135deg,var(--eb-primary),var(--eb-button));color:#fff}
.eduboard-hero>span,.eduboard-section-heading span,.eduboard-countdown-copy>span{color:var(--eb-accent);font-size:11px;font-weight:850;letter-spacing:.13em}
.eduboard-hero h2{font-size:42px;line-height:1.1;color:#fff;margin:8px 0}
.eduboard-hero p{margin:0;color:rgba(255,255,255,.85)}
.eduboard-toolbar{display:grid;grid-template-columns:1fr 260px;gap:12px;padding:22px;background:var(--eb-surface)}
.eduboard-search-wrap{display:flex;align-items:center;gap:8px;border:1px solid var(--eb-border);border-radius:10px;padding:0 12px;background:var(--eb-surface-soft)}
.eduboard-search-wrap input,.eduboard-toolbar select{width:100%;height:44px;border:0;background:transparent;color:var(--eb-text);outline:0}
.eduboard-wrap>.eduboard-grid{padding:22px}
.eduboard-upcoming{padding:28px}.eduboard-section-heading h2{margin:4px 0 18px;color:var(--eb-primary)}
.eduboard-upcoming-list{display:grid;gap:10px}.eduboard-upcoming-item{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--eb-border);border-radius:12px;background:var(--eb-surface);color:var(--eb-text)!important}.event-date{display:flex;flex-direction:column;align-items:center}.event-date strong{font-size:21px}.event-summary em,.event-summary strong,.event-summary small{display:block}.event-summary em{color:var(--eb-accent);font-size:9px;font-style:normal;font-weight:800}.event-summary small{color:var(--eb-muted)}
.eduboard-countdown{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:36px;background:linear-gradient(135deg,var(--eb-primary),#0a315f);color:#fff}.eduboard-countdown h2{margin:6px 0;color:#fff}.eduboard-countdown-units{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.eduboard-countdown-units div{text-align:center;padding:16px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.07)}.eduboard-countdown-units strong,.eduboard-countdown-units span{display:block}.eduboard-countdown-units strong{font-size:28px}.eduboard-countdown-units span{font-size:10px;color:#dce7f4}
.eduboard-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:9px;background:var(--eb-accent);color:#071d49!important;font-weight:800}.eduboard-button.is-outline{background:transparent;color:var(--eb-primary)!important;border:1px solid var(--eb-primary)}.eduboard-single-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.eduboard-event-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.eduboard-event-meta>div{padding:16px;border:1px solid var(--eb-border);border-radius:12px;background:var(--eb-surface)}.eduboard-event-meta span,.eduboard-event-meta strong{display:block}.eduboard-event-meta span{color:var(--eb-muted);font-size:10px;text-transform:uppercase}.eduboard-event-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.eduboard-event-gallery img{display:block;width:100%;height:220px;object-fit:cover;border-radius:12px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(max-width:1120px){
  .eduboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eb-notices-layout,.eb-calendar-layout{grid-template-columns:minmax(0,1fr) 280px}
  .eb-portal-feature-strip{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .eb-portal-hero-content{padding:52px 28px}.eb-portal-school-mark{display:none}
  .eb-notices-layout,.eb-calendar-layout{grid-template-columns:1fr}
  .eb-portal-sidebar,.eb-calendar-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eb-holiday-card{grid-column:1/-1}
  .eduboard-countdown{grid-template-columns:1fr}
}
@media(max-width:680px){
  .eduboard-portal{border-radius:0;border-left:0;border-right:0}
  .eduboard-ticker{grid-template-columns:auto 1fr}.eduboard-ticker-toggle{display:none}.eduboard-ticker-label{padding:0 12px}.eduboard-ticker-window{padding-right:0}
  .eb-portal-hero{min-height:300px}.eb-portal-hero-content{min-height:300px;padding:44px 20px}.eb-portal-hero h1{font-size:39px}.eb-portal-hero p{font-size:14px}.eb-portal-jump-nav a{min-height:40px;padding:0 14px;font-size:11px}
  .eb-portal-body{padding:22px 14px 28px}.eb-portal-section-main,.eb-calendar-main,.eb-side-card{padding:18px;border-radius:14px}
  .eb-section-header{align-items:stretch;flex-direction:column}.eb-section-header h2{font-size:25px}.eb-portal-search{width:100%}
  .eb-category-filters{display:none}.eb-mobile-category{display:block}
  .eduboard-grid{grid-template-columns:1fr}.eduboard-notice-card{min-height:235px}
  .eb-portal-sidebar,.eb-calendar-sidebar{grid-template-columns:1fr}
  .eb-calendar-layout{margin-top:16px}.eb-calendar-main{min-width:0}
  .eb-portal-feature-strip{grid-template-columns:1fr 1fr}.eb-portal-feature-strip>div{min-height:64px}.eb-portal-feature-strip>div:last-child{grid-column:1/-1}
  .eduboard-toolbar{grid-template-columns:1fr}.eduboard-event-meta,.eduboard-event-gallery{grid-template-columns:1fr}.eduboard-countdown-units{grid-template-columns:repeat(2,1fr)}
}
@media(prefers-reduced-motion:reduce){.eduboard-ticker-track{animation:none}.eduboard-notice-card{transition:none}}

/* Make the automatic portal page full-width across common WordPress themes. */
body.eduboard-portal-page .entry-title,
body.eduboard-portal-page .page-title,
body.eduboard-portal-page .page-header{display:none!important}
body.eduboard-portal-page .site-content,
body.eduboard-portal-page .content-area,
body.eduboard-portal-page .site-main,
body.eduboard-portal-page .entry-content,
body.eduboard-portal-page main#primary{width:100%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body.eduboard-portal-page .entry-content>.eduboard-portal{margin-top:0;margin-bottom:0}

/* ==========================================================================\n   EduBoard Pro 4.1 — portal layout and typography repair layer\n   ========================================================================== */
.eduboard-portal{
  position:relative;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  border-left:0;
  border-right:0;
  border-radius:0;
  overflow-x:clip;
  container-type:inline-size;
  container-name:ebportal;
  font-family:"Segoe UI Variable","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Noto Sans Devanagari",Arial,sans-serif!important;
  -webkit-font-smoothing:auto;
  -moz-osx-font-smoothing:auto;
  text-rendering:auto;
}
.eduboard-portal :where(h1,h2,h3,h4,p,a,span,strong,small,button,label,input,select){
  font-family:inherit!important;
  text-transform:none;
}
.eduboard-portal :where(h1,h2,h3,h4,p,a,span,strong,small){
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
  white-space:normal;
}
.eb-portal-hero-content{max-width:1280px;padding:54px 40px;gap:38px}
.eb-portal-hero-copy{min-width:0}
.eb-portal-hero h1{
  max-width:720px;
  font-size:clamp(36px,4.6vw,60px)!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.eb-portal-school-mark{flex:0 0 230px;min-width:0}
.eb-portal-body{max-width:1280px;padding:34px 28px 44px}
.eb-notices-layout,.eb-calendar-layout{grid-template-columns:minmax(0,1fr) minmax(260px,300px)}
.eb-portal-section-main,.eb-calendar-main,.eb-side-card,.eb-featured-event{min-width:0}
.eduboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.eduboard-notice-card h3,.eduboard-notice-card h3 a,.eb-compact-event-list strong,.eb-featured-body>strong,.eb-holiday-list strong{
  overflow-wrap:anywhere;
  word-break:break-word;
}
.eb-compact-event-list a,.eb-holiday-list a{grid-template-columns:48px minmax(0,1fr) auto}
.eb-compact-event-list a>span,.eb-holiday-list a>span{min-width:0}
.eduboard-calendar{min-width:680px}

body.eduboard-portal-page :where(.site-content,.content-area,.site-main,.entry-content,main#primary){
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

@container ebportal (min-width:1180px){
  .eduboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container ebportal (max-width:980px){
  .eb-portal-hero-content{padding:46px 28px}
  .eb-portal-school-mark{display:none}
  .eb-notices-layout,.eb-calendar-layout{grid-template-columns:1fr}
  .eb-portal-sidebar,.eb-calendar-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .eb-holiday-card{grid-column:1/-1}
  .eduboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container ebportal (max-width:680px){
  .eb-portal-hero{min-height:285px}
  .eb-portal-hero-content{min-height:285px;padding:38px 18px}
  .eb-portal-hero h1{font-size:clamp(32px,10vw,42px)!important}
  .eb-portal-body{padding:20px 12px 30px}
  .eb-portal-section-main,.eb-calendar-main,.eb-side-card{padding:17px;border-radius:14px}
  .eb-section-header{align-items:stretch;flex-direction:column}
  .eb-portal-search{width:100%}
  .eduboard-grid{grid-template-columns:1fr}
  .eb-portal-sidebar,.eb-calendar-sidebar{grid-template-columns:1fr}
  .eduboard-calendar-scroll{margin-inline:-6px}
  .eduboard-calendar{min-width:640px}
}
@container ebportal (max-width:460px){
  .eb-portal-hero h1{font-size:32px!important}
  .eb-portal-jump-nav{display:grid;grid-template-columns:1fr 1fr}
  .eb-portal-jump-nav a{min-width:0;padding-inline:10px}
  .eb-portal-feature-strip{grid-template-columns:1fr}
  .eb-portal-feature-strip>div:last-child{grid-column:auto}
}


/* ==========================================================================
   EduBoard Pro 4.2 — cleaner portal UI, sidebar layout options and header-gap fix
   ========================================================================== */
.eduboard-portal{
  background:#f3f6fb;
  box-shadow:none;
}
.eduboard-portal .eb-portal-hero{min-height:320px}
.eduboard-portal .eb-portal-hero-content{max-width:1360px;padding:46px 32px 42px}
.eduboard-portal .eb-portal-hero h1{font-size:clamp(34px,4.3vw,58px)!important;margin-bottom:14px!important}
.eduboard-portal .eb-portal-hero p{max-width:760px;font-size:16px}
.eduboard-portal .eb-portal-body{max-width:1360px;padding:26px 22px 36px}
.eduboard-portal .eb-portal-section{margin-top:0}
.eduboard-portal .eb-notices-layout,
.eduboard-portal .eb-calendar-layout{gap:18px}
.eduboard-portal .eb-notices-layout{grid-template-columns:minmax(0,1fr) 250px}
.eduboard-portal .eb-calendar-layout{grid-template-columns:minmax(0,1fr) 250px}
.eduboard-portal .eb-portal-section-main,
.eduboard-portal .eb-calendar-main,
.eduboard-portal .eb-side-card,
.eduboard-portal .eb-featured-event{border-radius:16px;box-shadow:none;border-color:#d9e2ee}
.eduboard-portal .eb-portal-section-main,
.eduboard-portal .eb-calendar-main{padding:22px}
.eduboard-portal .eb-section-header{margin-bottom:16px}
.eduboard-portal .eb-section-header h2{font-size:22px;line-height:1.18;font-weight:800;letter-spacing:-.02em}
.eduboard-portal .eb-portal-search{height:42px;border-radius:10px}
.eduboard-portal .eduboard-grid{gap:12px}
.eduboard-portal .eduboard-notice-card{min-height:220px;padding:16px;border-radius:12px}
.eduboard-portal .eduboard-notice-card h3{font-size:15px;line-height:1.35}
.eduboard-portal .eduboard-date{margin-top:10px}
.eduboard-portal .eb-side-card{padding:16px}
.eduboard-portal .eb-side-card-head h3{font-size:18px}
.eduboard-portal .eb-compact-event-list a,
.eduboard-portal .eb-holiday-list a{align-items:start;gap:10px}
.eduboard-portal .eb-compact-event-list strong,
.eduboard-portal .eb-holiday-list strong{font-size:12px;line-height:1.35}
.eduboard-portal .eb-compact-event-list small,
.eduboard-portal .eb-holiday-list small{font-size:10px}
.eduboard-portal .eb-featured-image{height:120px}
.eduboard-portal .eb-featured-body{padding:16px}
.eduboard-portal .eb-featured-body>strong{font-size:17px}
.eduboard-portal .eduboard-calendar{min-width:100%;width:100%}
.eduboard-portal .eduboard-calendar-scroll{overflow:visible}
.eduboard-portal .eduboard-day{min-height:90px;padding:8px 7px}
.eduboard-portal .eduboard-event-pill{padding:6px 7px;font-size:10px;border-radius:7px}
.eduboard-portal .eduboard-event-pill span{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.22}
.eduboard-portal .eduboard-event-pill time{font-size:8px;margin-bottom:2px}
.eduboard-portal .eb-portal-feature-strip{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:10px}
.eduboard-portal .eb-portal-feature-strip>div{min-height:64px;padding:12px}
.eduboard-portal .eb-portal-feature-strip strong{font-size:11px}

.eduboard-portal.eb-portal-sidebar-without .eb-notices-layout,
.eduboard-portal.eb-portal-sidebar-without .eb-calendar-layout,
.eduboard-portal .eb-notices-layout.is-no-sidebar,
.eduboard-portal .eb-calendar-layout.is-no-sidebar{grid-template-columns:1fr}
.eduboard-portal.eb-portal-sidebar-without .eduboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.eduboard-portal.eb-portal-sidebar-without .eb-portal-section-main,
.eduboard-portal.eb-portal-sidebar-without .eb-calendar-main{padding:24px}

body.eduboard-portal-page :where(.site-content,.content-area,.site-main,.entry-content,main#primary,#primary,.ast-container,.container,.content-wrapper,.site-main .entry-content),
body.eduboard-events-page-v4 :where(.site-content,.content-area,.site-main,.entry-content,main#primary,#primary,.ast-container,.container,.content-wrapper),
body.eduboard-calendar-page-v4 :where(.site-content,.content-area,.site-main,.entry-content,main#primary,#primary,.ast-container,.container,.content-wrapper){
  margin-top:0!important;
  padding-top:0!important;
}
body.eduboard-portal-page article,
body.eduboard-events-page-v4 article,
body.eduboard-calendar-page-v4 article{margin-top:0!important;padding-top:0!important}
body.eduboard-portal-page .entry-content>.eduboard-portal,
body.eduboard-events-page-v4 .entry-content>.eb4-app,
body.eduboard-calendar-page-v4 .entry-content>.eb4-app{margin-top:0!important}

.eb-layout-grid{padding:18px 20px 0}
.eb-layout-grid select{width:100%;min-height:42px;border:1px solid var(--eba-border);border-radius:8px;padding:8px 10px;box-shadow:none}

@container ebportal (max-width:1160px){
  .eduboard-portal .eb-notices-layout,
  .eduboard-portal .eb-calendar-layout{grid-template-columns:minmax(0,1fr) 230px}
}
@container ebportal (max-width:980px){
  .eduboard-portal .eb-notices-layout,
  .eduboard-portal .eb-calendar-layout{grid-template-columns:1fr}
  .eduboard-portal .eb-portal-sidebar,
  .eduboard-portal .eb-calendar-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container ebportal (max-width:760px){
  .eduboard-portal .eb-portal-body{padding:18px 12px 26px}
  .eduboard-portal .eb-portal-hero-content{padding:34px 18px}
  .eduboard-portal .eb-portal-search{width:100%}
  .eduboard-portal .eb-portal-sidebar,
  .eduboard-portal .eb-calendar-sidebar{grid-template-columns:1fr}
  .eduboard-portal.eb-portal-sidebar-without .eduboard-grid{grid-template-columns:1fr}
  .eduboard-portal .eduboard-calendar-scroll{overflow-x:auto}
  .eduboard-portal .eduboard-calendar{min-width:640px}
}


/* ==========================================================================
   EduBoard Pro 4.3 — premium layout controls and interaction polish
   ========================================================================== */
body.eduboard-calendar-open{overflow:hidden!important}
.eduboard-portal.eb-portal-width-boxed{width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important;margin:18px auto 36px!important;border:1px solid #dbe3ed!important;border-radius:20px!important;overflow:hidden}
.eduboard-portal.eb-portal-width-wide{width:min(1540px,100%)!important;max-width:1540px!important;margin-left:auto!important;margin-right:auto!important}
.eduboard-portal.eb-portal-width-full{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
.eduboard-portal.eb-hero-height-compact .eb-portal-hero,.eduboard-portal.eb-hero-height-compact .eb-portal-hero-content{min-height:250px}
.eduboard-portal.eb-hero-height-compact .eb-portal-hero-content{padding-top:34px;padding-bottom:32px}
.eduboard-portal.eb-hero-height-tall .eb-portal-hero,.eduboard-portal.eb-hero-height-tall .eb-portal-hero-content{min-height:420px}
.eduboard-portal.eb-hero-height-tall .eb-portal-hero-content{padding-top:72px;padding-bottom:66px}
.eduboard-portal.eb-density-compact .eb-portal-body{padding-top:18px;padding-bottom:28px}
.eduboard-portal.eb-density-compact .eb-portal-section-main,.eduboard-portal.eb-density-compact .eb-calendar-main{padding:17px}
.eduboard-portal.eb-density-compact .eduboard-day{min-height:74px}
.eduboard-portal.eb-density-compact .eduboard-notice-card{min-height:198px;padding:14px}
.eduboard-portal.eb-density-spacious .eb-portal-body{padding-top:38px;padding-bottom:56px}
.eduboard-portal.eb-density-spacious .eb-portal-section-main,.eduboard-portal.eb-density-spacious .eb-calendar-main{padding:30px}
.eduboard-portal.eb-density-spacious .eduboard-day{min-height:112px}
.eduboard-portal.eb-density-spacious .eduboard-notice-card{min-height:275px;padding:21px}
.eduboard-portal .eduboard-grid{align-items:stretch;justify-content:start}
.eduboard-portal .eduboard-notice-card{width:100%;max-width:380px}
.eduboard-portal.eb-portal-sidebar-without .eduboard-notice-card{max-width:none}
.eduboard-portal .eb-calendar-view-actions{display:flex;align-items:center;gap:8px}
.eduboard-portal .eb-calendar-view-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid var(--eb-border);border-radius:9px;background:var(--eb-surface);color:var(--eb-primary);font-size:11px;font-weight:800;cursor:pointer}
.eduboard-portal .eb-calendar-view-actions button:hover{border-color:var(--eb-primary);background:#f3f7fc}
.eduboard-portal .eb-calendar-main.is-eb-fullscreen{position:fixed!important;inset:12px!important;z-index:999999!important;overflow:auto!important;background:var(--eb-bg)!important;border-radius:18px!important;padding:24px!important;box-shadow:0 25px 90px rgba(0,0,0,.32)!important}
.eduboard-portal .eb-calendar-main.is-eb-fullscreen .eduboard-day{min-height:120px}
.eduboard-portal .eb-calendar-main.is-eb-fullscreen .eduboard-calendar{min-width:900px}
.eduboard-portal.eb-sticky-filters .eb-category-filters{position:sticky;top:0;z-index:20;margin-inline:-8px;padding:10px 8px;background:color-mix(in srgb,var(--eb-surface) 94%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid transparent}
.eduboard-portal .eduboard-event-pill{transition:transform .15s ease,box-shadow .15s ease}
.eduboard-portal .eduboard-event-pill:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(7,29,73,.12)}
@media(max-width:760px){
  .eduboard-portal.eb-portal-width-boxed{width:100%!important;margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important}
  .eduboard-portal .eb-calendar-view-actions button span{display:none}
  .eduboard-portal .eb-calendar-main.is-eb-fullscreen{inset:0!important;border-radius:0!important;padding:14px!important}
  .eduboard-portal.eb-sticky-filters .eb-mobile-category{position:sticky;top:0;z-index:20;background:var(--eb-surface)}
}

/* ==========================================================================
   EduBoard Pro 4.4 — mobile-first calendar, sharp type and contrast shield
   ========================================================================== */
.eduboard-portal,
.eduboard-wrap,
.eduboard-upcoming,
.eduboard-countdown,
.eduboard-ticker{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans Devanagari",Arial,sans-serif!important;
  font-synthesis:none!important;
  font-kerning:normal;
  text-rendering:auto!important;
  -webkit-font-smoothing:auto!important;
  -moz-osx-font-smoothing:auto!important;
}
.eduboard-portal :where(h1,h2,h3,h4,strong,b,button,a),
.eduboard-wrap :where(h1,h2,h3,h4,strong,b,button,a){font-synthesis:none!important}
.eduboard-portal :where(h1,h2,h3,h4){font-weight:800!important;letter-spacing:-.02em!important}
.eduboard-portal :where(button,a,.eduboard-badge,.eduboard-new,.eduboard-pin){font-weight:700!important}
.eduboard-portal .eduboard-notice-card:hover,
.eduboard-portal .eduboard-event-pill:hover{transform:none!important}

/* Explicit colour states prevent themes from making text disappear on hover. */
.eduboard-portal .eduboard-link,
.eduboard-portal .eduboard-link:visited,
.eduboard-portal .eduboard-link:hover,
.eduboard-portal .eduboard-link:focus,
.eduboard-portal .eb-side-button,
.eduboard-portal .eb-side-button:visited,
.eduboard-portal .eb-side-button:hover,
.eduboard-portal .eb-side-button:focus{background:var(--eb-primary)!important;color:#fff!important;text-decoration:none!important}
.eduboard-portal .eduboard-link:hover,
.eduboard-portal .eb-side-button:hover{background:#0b3974!important;border-color:#0b3974!important}
.eduboard-portal .eduboard-download,
.eduboard-portal .eduboard-download:visited{background:#fff!important;color:var(--eb-primary)!important}
.eduboard-portal .eduboard-download:hover,
.eduboard-portal .eduboard-download:focus{background:var(--eb-primary)!important;color:#fff!important;border-color:var(--eb-primary)!important}
.eduboard-portal .eduboard-filter-button:hover,
.eduboard-portal .eduboard-filter-button:focus,
.eduboard-portal .eduboard-filter-button.is-active{background:var(--eb-primary)!important;color:#fff!important;border-color:var(--eb-primary)!important}
.eduboard-portal .eb-portal-jump-nav a:first-child,
.eduboard-portal .eb-portal-jump-nav a:first-child:visited{background:var(--eb-accent)!important;color:#071d49!important}
.eduboard-portal .eb-portal-jump-nav a:first-child:hover,
.eduboard-portal .eb-portal-jump-nav a:first-child:focus{background:#f0c34c!important;color:#071d49!important}
.eduboard-portal .eb-portal-jump-nav a:last-child,
.eduboard-portal .eb-portal-jump-nav a:last-child:visited{color:#fff!important}
.eduboard-portal .eb-portal-jump-nav a:last-child:hover,
.eduboard-portal .eb-portal-jump-nav a:last-child:focus{background:#fff!important;color:var(--eb-primary)!important;border-color:#fff!important}
.eduboard-portal .eb-calendar-view-actions button:hover,
.eduboard-portal .eb-calendar-view-actions button:focus{background:var(--eb-primary)!important;color:#fff!important;border-color:var(--eb-primary)!important}
.eduboard-portal :where(a,button,input,select):focus-visible{outline:3px solid color-mix(in srgb,var(--eb-accent) 72%,#fff)!important;outline-offset:2px!important}

/* Hero logo auto-fit and true hide support. */
.eduboard-portal .eb-portal-school-mark{overflow:hidden}
.eduboard-portal .eb-portal-logo-frame{display:grid;place-items:center;width:100px;height:100px;margin-bottom:14px;overflow:hidden}
.eduboard-portal .eb-portal-logo-frame img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important}
.eduboard-portal .eb-portal-school-copy{display:block;min-width:0}
.eduboard-portal .eb-portal-school-copy strong,
.eduboard-portal .eb-portal-school-copy small{display:block;overflow-wrap:anywhere}
.eduboard-portal .eb-logo-size-compact{width:190px;min-height:180px;padding:18px}
.eduboard-portal .eb-logo-size-compact .eb-portal-logo-frame{width:68px;height:68px}
.eduboard-portal .eb-logo-size-large{width:275px;min-height:250px}
.eduboard-portal .eb-logo-size-large .eb-portal-logo-frame{width:122px;height:122px}

/* Mobile agenda for the portal mini-calendar. */
.eduboard-mobile-agenda,.eduboard-mobile-event-count{display:none}
.eduboard-mobile-agenda{gap:10px}
.eduboard-mobile-agenda-day{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--eb-border)}
.eduboard-mobile-agenda-day:last-child{border-bottom:0}
.eduboard-mobile-agenda-day>time{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:56px;border-radius:11px;background:#edf3fb;color:var(--eb-primary);font-size:10px;font-weight:700;text-transform:uppercase;text-align:center}
.eduboard-mobile-agenda-day>time b{display:block;font-size:21px;line-height:1}
.eduboard-mobile-agenda-day>div{display:grid;gap:8px;min-width:0}
.eduboard-mobile-agenda-day a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:10px 12px;border:1px solid var(--eb-border);border-left:4px solid #4f8dcc;border-radius:10px;background:#fff;color:var(--eb-text)!important;text-decoration:none!important}
.eduboard-mobile-agenda-day a.type-holiday{border-left-color:#63b843}.eduboard-mobile-agenda-day a.type-exam{border-left-color:#d8a514}.eduboard-mobile-agenda-day a.type-meeting{border-left-color:#9a66c8}
.eduboard-mobile-agenda-day a:hover,.eduboard-mobile-agenda-day a:focus{background:#f6f9fd!important;color:var(--eb-text)!important;border-color:#afc3da}
.eduboard-mobile-agenda-day strong{display:block;font-size:13px;line-height:1.35;color:var(--eb-text)!important}
.eduboard-mobile-agenda-day small{display:block;margin-top:4px;color:var(--eb-muted);font-size:11px}
.eduboard-mobile-agenda-day i{color:var(--eb-primary);font-style:normal;font-weight:800}

@media(max-width:980px){
  .eduboard-portal.eb-has-hero-logo .eb-portal-hero-content{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px}
  .eduboard-portal.eb-has-hero-logo .eb-portal-school-mark{display:flex!important;order:-1;width:auto!important;min-height:0!important;max-width:min(100%,420px);flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;padding:10px 14px;border-radius:14px;text-align:left}
  .eduboard-portal.eb-has-hero-logo .eb-portal-logo-frame{flex:0 0 54px;width:54px!important;height:54px!important;margin:0}
  .eduboard-portal.eb-has-hero-logo .eb-portal-logo-fallback{flex:0 0 52px;width:52px;height:52px;margin:0;font-size:18px}
  .eduboard-portal.eb-has-hero-logo .eb-portal-school-copy strong{font-size:14px!important}
  .eduboard-portal.eb-has-hero-logo .eb-portal-school-copy small{font-size:10px}
}

@media(max-width:760px){
  .eduboard-portal .eduboard-calendar-head{grid-template-columns:40px minmax(0,1fr) 40px;gap:7px}
  .eduboard-portal .eduboard-calendar-head strong{display:block;font-size:19px!important;line-height:1.2}
  .eduboard-portal .eduboard-today-button{display:block;margin:6px auto 0;min-height:30px}
  .eduboard-portal.eb-mobile-calendar-agenda .eduboard-calendar-scroll,
  .eduboard-portal.eb-mobile-calendar-agenda .eduboard-calendar-legend{display:none!important}
  .eduboard-portal.eb-mobile-calendar-agenda .eduboard-mobile-agenda{display:grid}

  .eduboard-portal.eb-mobile-calendar-month .eduboard-mobile-agenda{display:none!important}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-calendar-scroll{display:block;overflow:visible;margin:0}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-calendar{min-width:0!important;width:100%!important;border-radius:10px}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-weekdays{grid-template-columns:repeat(7,minmax(0,1fr))}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-weekdays>div{padding:8px 2px;font-size:8px;letter-spacing:0}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-days{grid-template-columns:repeat(7,minmax(0,1fr))}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-day{display:block;min-height:54px!important;padding:5px 3px!important;text-align:center}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-day.is-empty{display:block}
  .eduboard-portal.eb-mobile-calendar-month .day-number{font-size:10px;justify-content:center}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-day.is-today .day-number{width:23px;height:23px;margin:auto}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-day-events{display:none!important}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-mobile-event-count{display:grid;place-items:center;width:17px;height:17px;margin:4px auto 0;border-radius:50%;background:#dbeafe;color:#0a4c91;font-size:9px;font-weight:800}
  .eduboard-portal.eb-mobile-calendar-month .eduboard-calendar-legend{display:flex;font-size:9px;gap:9px}

  .eduboard-portal .eb-calendar-sidebar{display:none!important}
  .eduboard-portal .eb-calendar-view-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .eduboard-portal .eb-calendar-view-actions button{width:100%;min-height:42px}
}

@media(max-width:430px){
  .eduboard-portal.eb-has-hero-logo .eb-portal-school-copy small{display:none}
  .eduboard-portal.eb-has-hero-logo .eb-portal-school-mark{max-width:100%}
  .eduboard-mobile-agenda-day{grid-template-columns:52px minmax(0,1fr);gap:9px}
  .eduboard-mobile-agenda-day a{padding:9px 10px}
}
.eduboard-toolbar.is-search-only{grid-template-columns:1fr}
