/* Formula 1 Calendar - Design System & Styling */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,700;0,900;1,700;1,900&family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
  --f1-red: #e10600;
  --f1-red-hover: #b80500;
  --f1-red-alpha: rgba(225, 6, 0, 0.15);
  
  --bg-dark-base: #0f0f14;
  --bg-dark-card: #15151e;
  --bg-dark-card-hover: #1e1e28;
  --bg-dark-accent: #252530;
  
  --text-white: #ffffff;
  --text-gray: #9494a6;
  --text-light-gray: #d2d2d9;
  
  --border-color: #2b2b3c;
  --border-light: rgba(255, 255, 255, 0.08);
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --session-practice: #39c15c;
  --session-qualifying: #00b0f0;
  --session-sprint: #e28743;
  --session-race: #e10600;
  --session-test: #9494a6;
  
  --shadow-main: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-red: 0 0 20px rgba(225, 6, 0, 0.4);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark-base);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 80px; /* Space for the sticky selection drawer */
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-base);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--f1-red);
}

/* Layout Utilities */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  border-bottom: 4px solid var(--f1-red);
  background-color: var(--bg-dark-card);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
  justify-self: start;
}

.logo-icon {
  background-color: var(--f1-red);
  color: var(--text-white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  font-style: italic;
  padding: 4px 12px;
  border-radius: 4px;
  transform: skewX(-12deg);
  letter-spacing: -1px;
  display: inline-block;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--f1-red);
}

/* Top Banner / Broadcaster Control */
.broadcaster-bar {
  background-color: var(--bg-dark-accent);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.broadcaster-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.broadcaster-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.broadcaster-pill {
  background-color: var(--f1-red-alpha);
  border: 1px solid var(--f1-red);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-display);
}

.broadcaster-desc {
  font-size: 14px;
  color: var(--text-light-gray);
}

.broadcaster-desc a {
  color: var(--f1-red);
  text-decoration: none;
  font-weight: 500;
}

.broadcaster-desc a:hover {
  text-decoration: underline;
}

.selector-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.selector-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
}

select.country-select {
  background-color: var(--bg-dark-card);
  color: var(--text-white);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
}

select.country-select:focus {
  border-color: var(--f1-red);
}

/* Hero Section / Next Race */
.hero {
  padding: 30px 0 40px 0;
  background: radial-gradient(circle at top right, rgba(225, 6, 0, 0.15) 0%, rgba(15, 15, 20, 0) 60%);
}

.home-newsletter-banner {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.newsletter-link-btn {
  background-color: var(--bg-dark-accent);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.newsletter-link-btn:hover {
  background-color: var(--f1-red-alpha);
  border-color: var(--f1-red);
  color: var(--text-white);
  box-shadow: 0 0 10px rgba(225, 6, 0, 0.15);
}

.newsletter-link-btn span {
  font-size: 13px;
}

.next-race-card {
  background-color: var(--bg-dark-card);
  border-left: 5px solid var(--f1-red);
  border-radius: 8px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  box-shadow: var(--shadow-main);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .next-race-card {
    grid-template-columns: 1fr;
  }
}

.next-race-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.02) 40%);
  pointer-events: none;
}

.badge-live-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--f1-red);
  color: var(--text-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.badge-live-label.testing {
  background-color: var(--session-test);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 1; }
}

.hero-gp-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-gp-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-gray);
  font-size: 16px;
  margin-bottom: 20px;
}

.flag-icon {
  font-size: 20px;
}

.countdown-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.countdown-label {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-gray);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.countdown-timer {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.countdown-item {
  background-color: var(--bg-dark-accent);
  padding: 10px 16px;
  border-radius: 6px;
  min-width: 70px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.countdown-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--text-white);
  line-height: 1.1;
}

.countdown-unit {
  font-size: 11px;
  color: var(--text-gray);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

.hero-session-highlight {
  background-color: var(--bg-dark-accent);
  border-radius: 6px;
  padding: 16px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-session-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-white);
}

.hero-session-times {
  font-size: 14px;
  color: var(--text-light-gray);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Controls / Filter Section */
.controls-section {
  margin-bottom: 30px;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background-color: var(--bg-dark-card);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.filter-tab {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-light-gray);
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-tab:hover {
  border-color: var(--text-gray);
  color: var(--text-white);
}

.filter-tab.active {
  background-color: var(--f1-red);
  border-color: var(--f1-red);
  color: var(--text-white);
}

.search-and-toggles {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
}

.search-input {
  background-color: var(--bg-dark-accent);
  color: var(--text-white);
  border: 1px solid var(--border-color);
  padding: 10px 16px 10px 40px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  width: 250px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  border-color: var(--f1-red);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  pointer-events: none;
}

.timezone-toggle-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-dark-accent);
  padding: 4px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.timezone-toggle-btn {
  background: none;
  border: none;
  color: var(--text-gray);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.timezone-toggle-btn.active {
  background-color: var(--f1-red);
  color: var(--text-white);
}

/* Bulk Season Export Panel */
.season-actions-card {
  background-color: var(--bg-dark-card);
  border: 1px dashed var(--f1-red);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.season-actions-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.season-actions-text p {
  color: var(--text-gray);
  font-size: 14px;
}

.season-actions-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 10px 20px;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--f1-red);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--f1-red-hover);
  box-shadow: var(--shadow-red);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-small {
  padding: 6px 12px;
  font-size: 11px;
}

/* Calendar Card Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
}

@media (max-width: 480px) {
  .calendar-grid {
    grid-template-columns: 1fr;
  }
}

.gp-card {
  background-color: var(--bg-dark-card);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.gp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.4);
}

.gp-card.live-gp {
  border-color: var(--f1-red);
  box-shadow: 0 0 20px rgba(225, 6, 0, 0.15);
}

.gp-card.past-gp {
  opacity: 0.6;
}

.gp-card-header {
  padding: 20px;
  background-color: var(--bg-dark-accent);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.gp-card-round {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  color: var(--f1-red);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.gp-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.gp-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1.2;
}

.gp-card-circuit {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 4px;
}

.gp-card-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 10px;
  display: inline-block;
  background-color: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: 4px;
}

.gp-card-sprint-badge {
  background-color: var(--session-sprint);
  color: #000;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-left: 6px;
}

/* SVG circuit graphic wrapper */
.gp-card-circuit-visual {
  height: 60px;
  position: absolute;
  right: 20px;
  bottom: 15px;
  opacity: 0.15;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.gp-card:hover .gp-card-circuit-visual {
  opacity: 0.35;
}

/* GP Session List */
.gp-card-sessions {
  padding: 16px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background-color: rgba(255,255,255,0.02);
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.session-row:hover {
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255, 255, 255, 0.05);
}

.session-row.session-active {
  border-color: var(--f1-red-alpha);
  background-color: rgba(225, 6, 0, 0.04);
}

.session-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
}

/* Session Pill Tag */
.session-pill {
  width: 32px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  color: #000;
  text-transform: uppercase;
}

.pill-practice { background-color: var(--session-practice); }
.pill-qualifying { background-color: var(--session-qualifying); color: #fff; }
.pill-sprint { background-color: var(--session-sprint); }
.pill-race { background-color: var(--session-race); color: #fff; }
.pill-test { background-color: var(--session-test); }

.session-info {
  display: flex;
  flex-direction: column;
}

.session-name-text {
  font-size: 13px;
  font-weight: 700;
}

.session-time-text {
  font-size: 11px;
  color: var(--text-gray);
}

.session-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Custom Checkbox for Calendar Export */
.custom-checkbox {
  position: relative;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-mark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--bg-dark-accent);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.custom-checkbox:hover input ~ .checkbox-mark {
  border-color: var(--text-gray);
}

.custom-checkbox input:checked ~ .checkbox-mark {
  background-color: var(--f1-red);
  border-color: var(--f1-red);
}

.checkbox-mark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkbox-mark:after {
  display: block;
}

.custom-checkbox .checkbox-mark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Quick Export Popover Button */
.session-quick-btn {
  background: none;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.session-quick-btn:hover {
  color: var(--text-white);
  background-color: rgba(255,255,255,0.08);
}

/* Card Actions Footer */
.gp-card-footer {
  padding: 16px 20px;
  background-color: var(--bg-dark-accent);
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
}

.gp-card-footer button {
  flex: 1;
}

/* Floating / Sticky Export Selection Drawer */
.selection-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-dark-card);
  border-top: 3px solid var(--f1-red);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.selection-drawer.open {
  transform: translateY(0);
}

.drawer-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.drawer-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.drawer-count-badge {
  background-color: var(--f1-red);
  color: var(--text-white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-red);
}

.drawer-text h4 {
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.drawer-text p {
  color: var(--text-gray);
  font-size: 13px;
}

.drawer-buttons {
  display: flex;
  gap: 12px;
}

/* Empty State / Not found */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--bg-dark-card);
  border-radius: 8px;
  border: 1px dashed var(--border-color);
  grid-column: 1 / -1;
}

.empty-state-icon {
  font-size: 40px;
  color: var(--f1-red);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-gray);
  font-size: 14px;
}

/* Quick export options popup/menu */
.quick-menu-container {
  position: relative;
}

.quick-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  background-color: var(--bg-dark-accent);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: var(--shadow-main);
  padding: 6px 0;
  z-index: 50;
  display: none;
  min-width: 150px;
  margin-bottom: 8px;
}

.quick-menu.show {
  display: block;
}

.quick-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--text-white);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  white-space: nowrap;
}

.quick-menu-item:hover {
  background-color: rgba(255,255,255,0.06);
}

.quick-menu-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Footer Section */
footer.main-footer {
  margin-top: 80px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-dark-card);
  padding: 40px 0 60px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-gray);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-copyright {
  color: var(--text-gray);
  font-size: 12px;
  margin-top: 20px;
  text-align: center;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

/* Page Navigation Tabs */
.page-nav {
  display: flex;
  gap: 10px;
  justify-self: center;
}

#header-tz-toggle {
  justify-self: end;
}

.nav-tab {
  background: none;
  border: none;
  color: var(--text-gray);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.nav-tab:hover {
  color: var(--text-white);
}

.nav-tab.active {
  color: var(--f1-red);
  border-bottom-color: var(--f1-red);
}

@media (max-width: 768px) {
  .header-content {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 15px 0;
    gap: 12px;
  }
  .page-nav {
    width: 100%;
    justify-content: center;
  }
  #header-tz-toggle {
    display: none !important; /* Hide timezone toggle in header on mobile to save space */
  }
}

/* Page Section Display */
.page-section {
  display: none;
}

.page-section.active {
  display: block;
  animation: pageFadeIn 0.35s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* News Article Card styles */
.news-tag {
  align-self: flex-start;
  background-color: var(--f1-red-alpha);
  border: 1px solid var(--f1-red);
  color: var(--text-white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.news-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-summary {
  font-size: 13px;
  color: var(--text-light-gray);
  line-height: 1.4;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-gray);
}

.news-card-author {
  font-weight: 700;
  color: var(--text-white);
}

/* Admin Dashboard Specific Styles */
.form-group-vertical {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-vertical label {
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-gray);
}

/* Form selects overrides */
.form-group-vertical select {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--text-white);
  outline: none;
}

.admin-tab-content {
  animation: pageFadeIn 0.25s ease-out;
}

/* Admin Table Custom Overrides */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

tr:hover td {
  background-color: rgba(255, 255, 255, 0.015);
}

.admin-action-btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Settings pass edit field */
#change-pass-form input {
  height: 42px;
}

