/* ============================================================
   YOU DEFEND YOU — Custom CSS
   Brand: Navy (#0F1726 primary) + Gold (#F8D369 accent)
   ============================================================ */

/* ----- Buttons ----- */
.btn-primary {
  display: inline-block;
  background-color: #F8D369;
  color: #0F1726;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-primary:hover {
  background-color: #F5C234;
  color: #0F1726;
}

.btn-outline {
  display: inline-block;
  border: 2px solid #F8D369;
  color: #F8D369;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-outline:hover {
  background-color: #F8D369;
  color: #0F1726;
}

/* ----- Form Elements ----- */
.form-input {
  display: block;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #111827;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus {
  outline: none;
  border-color: #F8D369;
  box-shadow: 0 0 0 3px rgba(248, 211, 105, 0.25);
}
.form-input::placeholder {
  color: #9ca3af;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

/* ----- Section Typography ----- */
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #F8D369;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}

.section-title-light {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #F5F7FA;
}

/* ----- Filter Pills ----- */
.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid #354763;
  color: #9ca3af;
  background-color: transparent;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
  text-decoration: none;
}
.filter-pill:hover {
  border-color: #F8D369;
  color: #F8D369;
}

.filter-pill-active {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid #F8D369;
  color: #0F1726;
  background-color: #F8D369;
  cursor: pointer;
  text-decoration: none;
}

/* ----- Navigation Links ----- */
.nav-link {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover {
  color: #F8D369;
  background-color: rgba(248, 211, 105, 0.08);
}

.nav-link-active {
  color: #F8D369 !important;
  background-color: rgba(248, 211, 105, 0.1);
}

/* ----- Footer Links ----- */
.footer-link {
  display: inline-block;
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-link:hover {
  color: #F8D369;
}

/* ----- Card Styles ----- */
.card {
  background-color: #F5F7FA;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* ----- Quill / Rich Text Content ----- */
.quill-content {
  color: #111827;
  line-height: 1.75;
  font-size: 1rem;
}
.quill-content h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0F1726;
}
.quill-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0F1726;
}
.quill-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #21314B;
}
.quill-content p {
  margin-bottom: 1rem;
}
.quill-content ul,
.quill-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.quill-content ul {
  list-style-type: disc;
}
.quill-content ol {
  list-style-type: decimal;
}
.quill-content li {
  margin-bottom: 0.25rem;
}
.quill-content a {
  color: #5C6F8A;
  text-decoration: underline;
}
.quill-content a:hover {
  color: #F8D369;
}
.quill-content blockquote {
  border-left: 4px solid #F8D369;
  padding-left: 1rem;
  margin: 1.25rem 0;
  color: #58585F;
  font-style: italic;
}
.quill-content strong {
  font-weight: 700;
}
.quill-content em {
  font-style: italic;
}
.quill-content code {
  background-color: #f3f4f6;
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.875em;
  font-family: ui-monospace, monospace;
}
.quill-content pre {
  background-color: #1e293b;
  color: #e2e8f0;
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

/* ----- Region / Type Badges ----- */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-gold {
  background-color: rgba(248, 211, 105, 0.15);
  color: #F8D369;
}
.badge-navy {
  background-color: rgba(53, 71, 99, 0.4);
  color: #d1d5db;
}
.badge-green {
  background-color: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.badge-red {
  background-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* ----- Hero Sections ----- */
.page-hero {
  background-color: #0F1726;
  padding: 4rem 0;
}

/* ----- Table Styles ----- */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table thead th {
  background-color: #21314B;
  color: #F8D369;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  text-align: left;
}
.data-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #354763;
  font-size: 0.875rem;
  color: #374151;
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}
.data-table tbody tr:hover td {
  background-color: #f9fafb;
}

/* Tablet (768-1023px): the full nav row is ~820px wide and overflowed, so use the hamburger menu here too. */
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-desktop { display: none !important; }
  .nav-burger { display: block !important; }
  #mobile-menu:not(.hidden) { display: block !important; }
}
