/* ===============================
   Global Kannada Typography
================================ */

body {
  font-family: 'Noto Sans Kannada',
               system-ui,
               -apple-system,
               'Segoe UI',
               Roboto,
               'Helvetica Neue',
               Arial,
               sans-serif;
  line-height: 1.6;
  color: #212529;
}

/* Headings consistency */
h1, h2, h3, h4, h5, h6,
.section-title {
  font-weight: 700;
}

/* Prevent logo from breaking mobile layout */
.site-logo {
  max-height: 36px;     /* slightly smaller for mobile safety */
  width: auto;
  max-width: 100%;
  display: inline-block;
}


/* ===============================
   Global Theme Variables
================================ */
:root {
  --brand: #0d6efd;
  --accent: #198754;
  --text: #212529;
  --muted: #6c757d;
  --bg-light: #f8f9fa;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  letter-spacing: 0.2px;
}

h1 {
  font-weight: 700;
}

h2 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ===============================
   Navbar (if used)
================================ */
.navbar .nav-link.active {
  color: var(--brand) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--brand);
}

/* ===============================
   Card Styles
================================ */
.card {
  border-radius: 12px;
}

.card-img-top {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* ===============================
   Section Utility
================================ */
section {
  scroll-margin-top: 80px;
}

/* ===============================
   Footer
================================ */
footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===============================
   Images
================================ */
img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   Utilities
================================ */
.lead {
  color: #495057;
}

/* ===============================
   Events Table – Theme Matched
================================ */

/* Card wrapper */
.events-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Table base */
.events-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

/* Header */
.events-table thead th {
  background-color: var(--brand);
  color: #ffffff;
  font-weight: 600;
  border: none;
  padding: 14px 16px;
  font-size: 0.95rem;
}

/* Rounded header corners */
.events-table thead th:first-child {
  border-top-left-radius: 8px;
}

.events-table thead th:last-child {
  border-top-right-radius: 8px;
}

/* Body cells */
.events-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bg-light);
  color: var(--text);
  vertical-align: middle;
}

/* Hover effect */
.events-table tbody tr:hover {
  background-color: var(--bg-light);
}

/* Date column styling */
.events-table td:first-child {
  white-space: nowrap;
  font-weight: 500;
  color: var(--muted);
}

/* Mobile spacing */
@media (max-width: 576px) {
  .events-card {
    padding: 1rem;
  }
}