/* ===== MINUTES OF MEETING – LEDGER DESIGN ===== */

.mom-section {
  padding: 90px 0;
  background-color: #fdfdfd;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 24px 24px; /* Subtle dot pattern */
}

/* HEADER */
.mom-kicker {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 8px;
  font-weight: 600;
}

.mom-title-main {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 15px;
}

.mom-divider {
  width: 60px;
  height: 4px;
  background: #b45309;
  margin: 0 auto;
  border-radius: 2px;
}

/* LAYOUT CONTAINER */
.mom-ledger-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px; /* Space between years */
}

/* YEAR GROUP (The Layout Magic) */
.mom-year-group {
  display: grid;
  grid-template-columns: 100px 1fr; /* Left column fixed, Right fluid */
  gap: 30px;
  position: relative;
}

/* The Big Year Label */
.mom-year-label {
  font-size: 3rem;
  font-weight: 900;
  color: #e2e8f0; /* Very light grey */
  line-height: 0.8;
  text-align: right;
  padding-top: 10px;
  position: sticky;
  top: 100px; /* Sticks when scrolling */
  height: fit-content;
  font-family: 'Poppins', sans-serif;
  /* Add a gradient text effect */
  background: -webkit-linear-gradient(#cbd5e1, #f1f5f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* THE LIST OF ITEMS */
.mom-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* INDIVIDUAL ROW */
.mom-row {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 15px 25px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid #f3f4f6;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Left accent bar hidden by default */
.mom-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #b45309;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

/* DATE BOX (Square) */
.mom-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  width: 55px;
  height: 55px;
  border-radius: 10px;
  margin-right: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.mom-d {
  font-size: 1.3rem;
  font-weight: 700;
  color: #334155;
  line-height: 1;
}

.mom-m {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 2px;
}

/* INFO TEXT */
.mom-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mom-topic {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.mom-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  width: fit-content;
}

.mom-badge.blue { color: #2563eb; }
.mom-badge.gold { color: #d97706; }

/* ACTION BUTTON (Icon) */
.mom-action {
  color: #cbd5e1;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mom-action span {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

/* ===== HOVER EFFECTS ===== */

.mom-row:hover {
  transform: translateX(5px); /* Slight slide right */
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-color: #fff;
}

.mom-row:hover::before {
  transform: scaleY(1); /* Show orange bar */
}

.mom-row:hover .mom-date-box {
  background: #fff7ed; /* Light orange bg */
  border-color: #fdba74;
}

.mom-row:hover .mom-d {
  color: #c2410c;
}

.mom-row:hover .mom-m {
  color: #ea580c;
}

.mom-row:hover .mom-topic {
  color: #0f172a; /* Darker text */
}

.mom-row:hover .mom-action {
  color: #ea580c;
}

.mom-row:hover .mom-action span {
  opacity: 1;
  transform: translateX(0);
  color: #ea580c;
}

/* AGENDA ROW STYLE (Special) */
.agenda-row {
  border: 1px dashed #bfdbfe; /* Dashed blue border */
  background: #eff6ff;
}
.agenda-row:hover .mom-date-box {
  background: #dbeafe;
  border-color: #93c5fd;
}
.agenda-row:hover .mom-d,
.agenda-row:hover .mom-m {
  color: #2563eb;
}
.agenda-row:hover::before {
  background: #2563eb;
}
.agenda-row:hover .mom-action,
.agenda-row:hover .mom-action span {
  color: #2563eb;
}

/* HIGHLIGHT ROW STYLE (Special) */
.highlight-row {
  background: #fffbeb;
  border-color: #fde68a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .mom-year-group {
    grid-template-columns: 1fr; /* Stack vertical on mobile */
    gap: 10px;
  }
  
  .mom-year-label {
    text-align: left;
    font-size: 2rem;
    padding-left: 10px;
    position: static; /* Don't sticky on mobile */
    margin-bottom: 5px;
  }

  .mom-row {
    padding: 12px 15px;
  }
  
  .mom-action span {
    display: none; /* Hide text on mobile */
  }
}