/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", "Roboto Fallback";
  background-color: #ffffff;
  color: #0f172a;
  line-height: 1.5;
}

/* === DESIGN TOKENS (same colors) === */
:root {
  --background: #ffffff;
  --secondary: lab(53.3685% -54.3478 21.2344);
  --secondary-10: color-mix(
    in oklab,
    lab(53.3685% -54.3478 21.2344) 10%,
    transparent
  );
  --secondary-5: rgba(30, 58, 95, 0.05);
  --secondary-90: color-mix(
    in oklab,
    lab(53.3685% -54.3478 21.2344) 90%,
    transparent
  );
  --muted-bg: color-mix(
    in oklab,
    lab(96.52% -0.0000298023 0.0000119209) 50%,
    transparent
  );
  --muted-foreground: #475569;
  --border-light: #e2e8f0;
  --primary: #b31b1b;
  --primary-10: rgba(179, 27, 27, 0.1);
  --primary-5: rgba(179, 27, 27, 0.05);
  --primary-20: rgba(179, 27, 27, 0.2);
  --icon-muted: #64748b;
}

/* === SECTION BACKGROUND (gradient) === */
.hero-gradient {
  background: linear-gradient(
    to bottom right,
    var(--secondary-10),
    var(--secondary-5),
    var(--background)
  );
}

/* === SPACING === */
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mt-8 {
  margin-top: 2rem;
}

/* === TYPOGRAPHY === */
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}

.text-muted {
  color: var(--muted-foreground);
}
.text-icon-muted {
  color: var(--icon-muted);
}
.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.text-white {
  color: #ffffff;
}

/* === GRID - RESPONSIVE BY DEFAULT === */
.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}
.gap-8 {
  gap: 2rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-1 {
  gap: 0.25rem;
}

/* === FLEX === */
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-1 {
  flex: 1 1 0%;
}
.min-w-0 {
  min-width: 0;
}

/* === SPACE BETWEEN CHILDREN === */
.space-y-6 > * + * {
  margin-top: 1.5rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}
.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-1 li {
  list-style-type: none;
}

/* === POSITION === */
.sticky {
  position: sticky;
  top: 6rem;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

/* === BORDERS & BACKGROUNDS === */
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
  border-style: solid;
}
.border-border {
  border-color: var(--border-light);
}
.border-primary-20 {
  border-color: var(--primary-20);
}

.bg-muted {
  background-color: var(--muted-bg);
}
.bg-white {
  background-color: #ffffff;
}
.bg-secondary {
  background-color: var(--secondary);
}
.bg-secondary-10 {
  background-color: var(--secondary-10);
}
.bg-primary-5 {
  background-color: var(--primary-5);
}
.bg-primary-10 {
  background-color: var(--primary-10);
}
.bg-primary {
  background-color: var(--primary);
}
.bg-background {
  background-color: var(--background);
}

/* === HOVER EFFECTS === */
.hover-bg-muted:hover {
  background-color: #e9eef3;
}
.hover-bg-secondary-90:hover {
  background-color: var(--secondary-90);
  color: #ffffff;
}
.hover-border-secondary-50:hover {
  border-color: rgba(30, 58, 95, 0.5);
}
.hover-scale-102:hover {
  transform: scale(1.02);
}

.transition-colors {
  transition-property: background-color;
  transition-duration: 150ms;
}
.transition-shadow {
  transition-property: box-shadow;
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-duration: 150ms;
}

.cursor-pointer {
  cursor: pointer;
}
.overflow-hidden {
  overflow: hidden;
}
.object-cover {
  object-fit: cover;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === PADDING === */
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* === ICON SIZES === */
.w-4 {
  width: 1rem;
}
.h-4 {
  height: 1rem;
}
.w-6 {
  width: 1.5rem;
}
.h-6 {
  height: 1.5rem;
}
.w-12 {
  width: 3rem;
}
.h-12 {
  height: 3rem;
}
.w-3 {
  width: 0.75rem;
}
.h-3 {
  height: 0.75rem;
}
.w-2 {
  width: 0.5rem;
}
.h-2 {
  height: 0.5rem;
}

/* === SELECT === */
select {
  background-color: var(--background);
  border: 1px solid var(--border-light);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

a {
  text-decoration: none;
  color: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.h-250 {
  height: 250px;
}
.block {
  display: block;
}
.text-center {
  text-align: center;
}
.max-w-3xl {
  max-width: 48rem;
}

.categories_heading {
  font-size: 16px;
}

.space-y-1 h2 {
  display: none;
}

.space-y-1 ul li {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 0.5rem;
}

.space-y-1 ul li a:hover {
  color: lab(2.75381 0 0) !important;
}

.space-y-1 ul li:hover {
  background-color: lab(96.52% -0.0000298023 0.0000119209);
}

.space-y-1 li span {
  display: flex;
  flex-direction: row !important;
}

.community_board_announcements {
  margin-bottom: 16px;
}

.community_board_announcements:hover {
  border: 1px solid
    color-mix(in oklab, lab(53.3685% -54.3478 21.2344) 50%, transparent);
}

.community_board_announcements p {
  font-weight: 400 !important;
  border: none !important;
  /* margin-bottom: 0px !important; */
}

.community_board_featured {
  margin-bottom: 16px;
}

ul.js-pager__items li:not(:has(a)) {
  background: lab(53.3685% -54.3478 21.2344) !important;
}

.pager__item a {
  border: 1px solid lab(53.3685% -54.3478 21.2344) !important;
}

.pager__item a:hover {
  color: lab(53.3685% -54.3478 21.2344) !important;
}

.announcements_inner_section {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.community_board_featured .flex.items-center {
  display: flex;
  flex-direction: row !important;
  align-items: start;
}

.featured_head {
  display: flex;
  flex-direction: row !important;
  align-items: center !important;
}

.featured-announcements .view--community-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.featured-announcements .view--community-board .views-row article:hover {
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .announcements_inner_section {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 1595px) {
  .announcements_inner_section {
    margin-top: 12px;
  }
}

@media (min-width: 640px) {
  .sm-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .md-text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .md-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .md-col-span-1 {
    grid-column: span 1 / span 1;
  }
  .md-col-span-2 {
    grid-column: span 2 / span 2;
  }
}

@media (min-width: 1024px) {
  .lg-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .lg-col-span-3 {
    grid-column: span 3 / span 3;
  }
}

@media (max-width: 767px) {
  .sticky {
    position: relative;
    top: 0;
  }
  .md-col-span-1,
  .md-col-span-2 {
    grid-column: span 1 / span 1;
  }
  .comu_board_select {
    max-width: 124px;
  }
  .featured-announcements .view--community-board {
  grid-template-columns: repeat(1, 1fr);
  /* gap: 2rem; */
}
}
.name_num a {
  display: inline-flex;
  align-items: center;
  word-spacing: 4px;
  gap: 0;
}