/**
 * Styles for markup that the pre-compiled Tailwind build does not cover:
 * the paginator, rich-text bodies and a few Blade-only helpers.
 */

/* ------------------------------------------------------------ pagination */
.pagination-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pagination-wrap .page-link,
.pagination-wrap .page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #091426;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

.pagination-wrap .page-link:hover {
  border-color: #fcab03;
  color: #fcab03;
}

.pagination-wrap .page-link.is-active {
  background: #fcab03;
  border-color: #fcab03;
  color: #fff;
}

.pagination-wrap .page-link.is-disabled {
  opacity: .45;
  pointer-events: none;
}

.pagination-wrap .page-dots {
  border-color: transparent;
  background: transparent;
}

.pagination-summary {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

/* --------------------------------------------------------- rich text body */
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 {
  font-weight: 700;
  color: #091426;
  line-height: 1.3;
  margin-top: 1.6em;
  margin-bottom: .6em;
}
.prose h1 { font-size: 1.875rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.075rem; }
.prose p { line-height: 1.85; }
.prose a { color: #fcab03; text-decoration: underline; }
.prose strong { font-weight: 700; color: #091426; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: .4em; line-height: 1.8; }
.prose blockquote {
  border-left: 4px solid #fcab03;
  padding: .25em 0 .25em 1em;
  color: #4b5563;
  font-style: italic;
}
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { border: 1px solid #e5e7eb; padding: 8px 12px; text-align: left; }
.prose th { background: #f9fafb; font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid #e5e7eb; }

.prose-invert, .prose-invert p, .prose-invert li { color: #e5e7eb; }
.prose-invert h1, .prose-invert h2, .prose-invert h3, .prose-invert h4, .prose-invert strong { color: #fff; }

/* -------------------------------------------------------- logo carousels */
.logo-tile {
  width: 100%;
  max-width: 140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(9, 20, 38, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.logo-tile:hover,
a.logo-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(252, 171, 3, 0.45);
  box-shadow: 0 12px 28px rgba(9, 20, 38, 0.1);
}

.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-tile-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff4d2 0%, #fcdb7a 100%);
  color: #091426;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo-swiper {
  overflow: hidden;
  padding: 0.35rem 0 0.75rem;
}

.logo-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ misc */
.rotate-180 { transform: rotate(180deg); }

/* Keep fixed-header pages from hiding content behind the navbar */
#page-root > section:first-child:not(.banner),
#page-root > div:first-child:not(.banner):not(#heroBanner) {
  padding-top: 110px;
}
