/* =========================================================
   SEI International School — Design System
   Theme: Dark Blue (#0A1F44), Yellow (#FFC107), Orange (#F47B20)
   ========================================================= */

/* ---- CSS Variables ---- */
:root {
  --primary:       #0A1F44;
  --primary-light: #1A3A6E;
  --primary-dark:  #06122A;
  --secondary:     #FFC107;
  --accent:        #F47B20;
  --accent-dark:   #D4610A;
  --text:          #1A1A2E;
  --text-muted:    #5A6272;
  --border:        #DDE3EE;
  --bg-subtle:     #F4F6FA;
  --white:         #FFFFFF;
  --success:       #198754;
  --danger:        #DC3545;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---- Utility ---- */
.section-gap { padding: 72px 0; }
.bg-subtle    { background: var(--bg-subtle); }
.text-primary-c { color: var(--primary) !important; }
.text-accent-c  { color: var(--accent) !important; }

/* ---- Section Heading ---- */
.section-heading { margin-bottom: 32px; }
.section-heading h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-heading p { color: var(--text-muted); margin-top: 8px; font-size: .93rem; }
.divider {
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn-primary-sei {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff !important;
  padding: 11px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .88rem;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  letter-spacing: .3px;
}
.btn-primary-sei:hover { opacity: .88; transform: translateY(-1px); color: #fff !important; }

.btn-accent-sei {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary) !important;
  padding: 11px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .88rem;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.btn-accent-sei:hover { opacity: .88; transform: translateY(-1px); }

.btn-outline-sei {
  display: inline-block;
  background: transparent;
  color: var(--primary) !important;
  padding: 10px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .88rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-outline-sei:hover {
  background: var(--primary);
  color: #fff !important;
}

/* ---- Top Bar ---- */
#top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  font-size: .76rem;
  padding: 7px 0;
}
#top-bar a { color: rgba(255,255,255,.75); }
#top-bar a:hover { color: var(--secondary); }
#top-bar i { margin-right: 4px; color: var(--secondary); }

/* ---- Header ---- */
#main-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(10,31,68,.10);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}
.school-logo { height: 60px; }
.school-name-wrap h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}
.school-name-wrap p {
  font-size: .72rem;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: .4px;
}

/* ---- Navbar ---- */
.navbar { padding: 0; }
.navbar-nav .nav-link {
  font-size: .93rem;
  font-weight: 700;
  color: var(--primary) !important;
  padding: 8px 13px !important;
  border-radius: 3px;
  transition: color .2s, background .2s;
  letter-spacing: .2px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--accent) !important; }

/* Dropdown */
.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 0;
  box-shadow: 0 8px 24px rgba(10,31,68,.12);
  min-width: 200px;
}
.dropdown-item {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  padding: 9px 20px;
}
.dropdown-item:hover {
  background: var(--bg-subtle);
  color: var(--accent);
}
.dropdown-item i { width: 18px; color: var(--accent); margin-right: 6px; }

/* ---- Hero Slider ---- */
#hero-slider { overflow: hidden; }
#hero-slider .carousel-item img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
#hero-slider .carousel-caption {
  background: rgba(6,18,42,.55);
  padding: 32px 40px;
  border-radius: 6px;
  max-width: 680px;
  text-align: left;
  bottom: 60px;
  left: auto;
}
#hero-slider .carousel-caption h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
#hero-slider .carousel-caption p { color: rgba(255,255,255,.9); margin-bottom: 18px; font-size: .97rem; }

/* ---- Quick Links Bar ---- */
.quick-links-bar {
  background: var(--primary);
  padding: 0;
}
.ql-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.8) !important;
  font-size: .72rem;
  font-weight: 600;
  padding: 14px 10px;
  transition: color .2s, background .2s;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.ql-item i {
  font-size: 1.1rem;
  color: var(--secondary);
  display: block;
}
.ql-item:hover {
  color: var(--secondary) !important;
  background: rgba(255,255,255,.07);
}

/* ---- Stats Bar ---- */
#stats-bar {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 32px 0;
}
.stat-item {
  text-align: center;
  padding: 12px 0;
  border-right: 1px solid rgba(255,255,255,.2);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.stat-label {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-top: 4px;
  display: block;
}

/* ---- About Section ---- */
.about-img { border-radius: 6px; }

/* ---- Cards ---- */
.sei-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  height: 100%;
}
.sei-card:hover { box-shadow: 0 6px 24px rgba(10,31,68,.10); transform: translateY(-3px); }
.sei-card img { height: 160px; width: 100%; object-fit: cover; }
.card-body { padding: 18px; }
.card-date { font-size: .74rem; color: var(--text-muted); margin: 0; }
.card-title { font-size: .95rem; font-weight: 700; margin: 6px 0 6px; color: var(--primary); }
.card-text  { font-size: .82rem; color: var(--text-muted); margin: 0 0 12px; line-height: 1.6; }
.card-footer-link {
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card-footer-link:hover { color: var(--accent-dark); }

/* Badges */
.badge-news  { background: var(--secondary); color: var(--primary); font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 2px; }
.badge-event { background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 2px; }

/* ---- Notice Board ---- */
#notice-board { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.notice-header {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  font-size: .82rem;
  font-weight: 700;
}
.notice-list { max-height: 380px; overflow-y: auto; }
.notice-item {
  display: flex;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  line-height: 1.5;
}
.notice-item:last-child { border-bottom: none; }
.notice-icon { color: var(--accent); flex-shrink: 0; }
.urgent-tag { background: #DC3545; color: #fff; font-size: .65rem; font-weight: 800; padding: 2px 6px; border-radius: 2px; margin-right: 5px; letter-spacing: .3px; }

/* ---- Gallery Grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.g-item { position: relative; overflow: hidden; aspect-ratio: 1; cursor: pointer; border-radius: 4px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.g-item:hover img { transform: scale(1.07); }
.g-overlay {
  position: absolute; inset: 0;
  background: rgba(10,31,68,.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
  color: #fff; font-size: 1.4rem;
}
.g-item:hover .g-overlay { opacity: 1; }

/* ---- Management Message ---- */
.msg-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 32px; }
.msg-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--secondary); flex-shrink: 0; }
.msg-name  { font-size: 1.05rem; font-weight: 800; color: var(--primary); margin: 0; }
.msg-desig { font-size: .8rem; color: var(--text-muted); margin: 0; }
.msg-quote { font-size: .88rem; color: var(--text-muted); line-height: 1.9; font-style: italic; border-left: 3px solid var(--secondary); padding-left: 16px; }

/* ---- Achievements ---- */
.achievement-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  transition: box-shadow .2s;
  height: 100%;
}
.achievement-item:hover { box-shadow: 0 4px 16px rgba(10,31,68,.09); }
.ach-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem; color: var(--primary);
}
.ach-text h5 { font-size: .88rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.ach-text p  { font-size: .78rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ---- Page Banner ---- */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 52px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
}
.page-banner h1 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.page-banner .breadcrumb { margin: 0; background: transparent; padding: 0; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: rgba(255,255,255,.7); font-size: .82rem; }
.page-banner .breadcrumb-item.active { color: var(--secondary); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---- Footer ---- */
#main-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-brand h4 { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand p  { font-size: .8rem; line-height: 1.8; }
.footer-heading  { color: var(--secondary); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a  { color: rgba(255,255,255,.7); font-size: .8rem; transition: color .2s; }
.footer-links a:hover { color: var(--secondary); }
.footer-links a i { width: 14px; color: var(--accent); }
.footer-contact li { font-size: .8rem; margin-bottom: 8px; display: flex; gap: 8px; align-items: flex-start; }
.footer-contact i { color: var(--secondary); flex-shrink: 0; margin-top: 3px; }
.social-links { display: flex; gap: 8px; margin-top: 12px; }
.social-links a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: background .2s, color .2s;
}
.social-links a:hover { background: var(--accent); color: #fff; }
.footer-bottom {
  background: rgba(0,0,0,.25);
  margin-top: 40px;
  padding: 16px 0;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-align: center;
}

/* ---- Lightbox Overlay ---- */
#lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
}
#lightbox-overlay.active { display: flex; }
#lightbox-overlay img { max-width: 90vw; max-height: 85vh; border-radius: 4px; }
#lightbox-close {
  position: absolute; top: 20px; right: 28px;
  color: #fff; font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---- Animations ---- */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-in-up.visible { opacity: 1; transform: none; }

/* ---- Facilities Page ---- */
.facility-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.facility-section:last-child { border-bottom: none; }
.facility-section:nth-child(even) { background: var(--bg-subtle); }

.facility-intro-img {
  width: 100%; height: 260px; object-fit: cover;
  border-radius: 6px;
  border: 3px solid var(--secondary);
}

.facility-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  background: var(--white);
}
.facility-card:hover { box-shadow: 0 6px 20px rgba(10,31,68,.10); transform: translateY(-2px); }
.facility-card-img { width: 100%; height: 180px; object-fit: cover; }
.facility-card-body { padding: 16px; }
.facility-card-title {
  font-size: 1rem; font-weight: 800;
  color: var(--primary); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .4px;
}
.facility-card-text { font-size: .82rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }

.btn-info-sei {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff !important;
  padding: 9px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .5px;
  transition: opacity .2s, transform .15s;
}
.btn-info-sei:hover { opacity: .85; transform: translateY(-1px); color: #fff !important; }

/* Facility detail page */
.facility-detail-hero { height: 340px; object-fit: cover; width: 100%; border-radius: 6px; }
.facility-image-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 24px; }
.facility-image-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; border: 2px solid var(--border); transition: transform .25s; cursor: pointer; }
.facility-image-grid img:hover { transform: scale(1.02); }
.facility-description { font-size: .93rem; color: var(--text-muted); line-height: 1.9; }

/* ---- Admin Panel ---- */
.admin-wrapper { min-height: 100vh; background: #F0F2F7; }

.admin-sidebar {
  width: 240px;
  min-width: 240px;
  background: var(--primary);
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.sidebar-brand span {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  margin-top: 8px;
  line-height: 1.3;
}
.admin-sidebar nav .nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.78) !important;
  padding: 10px 20px;
  font-size: .82rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
  border-radius: 0;
}
.admin-sidebar nav .nav-link i { width: 18px; font-size: .9rem; color: var(--secondary); }
.admin-sidebar nav .nav-link:hover,
.admin-sidebar nav .nav-link.active {
  background: rgba(255,255,255,.10);
  color: #fff !important;
  border-left-color: var(--accent);
}
.admin-sidebar nav .nav-link.active { font-weight: 700; }

.admin-content { padding: 28px; min-width: 0; }

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--white);
  border-radius: 6px;
  margin-bottom: 24px;
  box-shadow: 0 1px 6px rgba(10,31,68,.07);
}
.admin-topbar h4 { font-size: 1rem; font-weight: 800; color: var(--primary); margin: 0; }

.admin-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
}
.panel-title {
  font-size: .88rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--secondary);
  display: flex;
  align-items: center;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 48px; height: 48px; border-radius: 8px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--primary); flex-shrink: 0;
}
.stat-val { font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-lbl { font-size: .72rem; color: var(--text-muted); font-weight: 500; margin-top: 3px; }

/* Admin forms */
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,31,68,.12);
}
.form-label { font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }

/* Table */
.table thead th {
  background: var(--bg-subtle);
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .4px;
  border-bottom: 2px solid var(--border);
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .facility-image-grid { grid-template-columns: 1fr; }
  #hero-slider .carousel-item img { height: 300px; }
  .section-gap { padding: 48px 0; }
}

/* =========================================================
   LATEST NEWS TICKER
   ========================================================= */
#news-ticker-box {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  height: 320px;
  display: flex;
  flex-direction: column;
}
.ticker-header {
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  flex-shrink: 0;
}
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  flex-direction: column;
  animation: tickerScroll 18s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.ticker-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  line-height: 1.5;
}
.ticker-item a {
  color: var(--text);
  font-weight: 500;
  transition: color .2s;
}
.ticker-item a:hover { color: var(--accent); }
.ticker-icon {
  color: var(--accent);
  font-size: .7rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* =========================================================
   QUICK LINKS CARDS (8-card 4x2 grid)
   ========================================================= */
.ql-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 20px 20px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.ql-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(10,31,68,.1);
  border-color: var(--accent);
}
.ql-card-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(244,123,32,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.ql-card-icon-wrap i {
  font-size: 1.7rem;
  color: var(--accent);
}
.ql-card-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.ql-card-subtitle {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.ql-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 9px 22px;
  border-radius: 30px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .4px;
  transition: background .2s;
  text-decoration: none;
  margin-top: auto;
}
.ql-card-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* =========================================================
   EVENTS AND ENGAGEMENTS SLIDER
   ========================================================= */
.events-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.events-slider-viewport {
  flex: 1;
  overflow: hidden;
}
.events-slider-track {
  display: flex;
  gap: 20px;
  transition: transform .4s ease;
}
.event-slide-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (max-width: 891px) {
  .event-slide-card { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 575px) {
  .event-slide-card { flex: 0 0 calc(100% - 0px); }
}
.event-slide-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.event-slide-placeholder {
  height: 190px;
  background: linear-gradient(135deg,var(--primary),var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-slide-placeholder i {
  font-size: 2.5rem;
  color: rgba(255,255,255,.3);
}
.event-slide-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.event-slide-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1.4;
}
.event-slide-text {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.event-slide-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-decoration: none;
  align-self: flex-start;
  transition: background .2s;
}
.event-slide-btn:hover {
  background: var(--primary);
  color: #fff;
}
.events-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background .2s;
  z-index: 2;
}
.events-arrow:hover { background: var(--primary); }
.events-arrow:disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; }
