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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f9ff 0%, #bae6fd 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== Layout ========== */
.max-w-7xl {
  max-width: 80rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-sm {
  max-width: 24rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-10 {
  padding: 2.5rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.pt-28 {
  padding-top: 7rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.h-12 {
  height: 3rem;
}

.w-auto {
  width: auto;
}

/* ========== Header ========== */
.fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.top-0 {
  top: 0;
}

.right-0 {
  right: 0;
}

.z-50 {
  z-index: 50;
}

.z-0 {
  z-index: 0;
}

.bg-white\/80 {
  background: rgba(255, 255, 255, 0.8);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.flex-1 {
  flex: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

/* ========== Navigation ========== */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul li a {
  color: #4b5563;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1rem;
}

nav ul li a:hover {
  color: #0369a1;
}

/* ========== Typography ========== */
.text-5xl {
  font-size: 3rem;
  line-height: 1.1;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 1.2;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 1.3;
}

.text-xl {
  font-size: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-extrabold {
  font-weight: 800;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.text-center {
  text-align: center;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

/* ========== Colors ========== */
.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-800 {
  color: #1f2937;
}

.text-green-600 {
  color: #16a34a;
}

.text-red-600 {
  color: #dc2626;
}

.text-white {
  color: #fff;
}

.bg-gray-50 {
  background: #f9fafb;
}

.bg-white {
  background: #fff;
}

.bg-white\/90 {
  background: rgba(255, 255, 255, 0.9);
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-gray-100 {
  border-color: #f3f4f6;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.overflow-hidden {
  overflow: hidden;
}

/* ========== Buttons & Links ========== */
button, .btn {
  cursor: pointer;
}

.hover\:bg-white:hover {
  background: #fff;
}

.hover\:bg-gray-50:hover {
  background: #f9fafb;
}

.hover\:border-\[\#7dd3fc\]:hover {
  border-color: #7dd3fc;
}

.transition {
  transition: all 0.2s ease;
}

.transition-colors {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.transition-all {
  transition: all 0.2s ease;
}

/* ========== Drop shadow ========== */
.drop-shadow-lg {
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06));
}

/* ========== Grid ========== */
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* ========== Content styles (from TipTap editor) ========== */
.content-styles p {
  margin-bottom: 0.5rem;
}

.content-styles h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0c4a6e;
}

.content-styles h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0c4a6e;
}

.content-styles h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0c4a6e;
}

.content-styles ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-styles ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-styles blockquote {
  border-left: 4px solid #7dd3fc;
  padding-left: 1rem;
  font-style: italic;
  margin: 0.5rem 0;
  color: #4b5563;
}

.content-styles pre {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: 'Courier New', monospace;
  overflow-x: auto;
  margin-bottom: 0.5rem;
}

.content-styles code {
  background: #f3f4f6;
  padding: 0 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.content-styles a {
  color: #0284c7;
  text-decoration: underline;
}

.content-styles a:hover {
  color: #0369a1;
}

/* ========== Pagination ========== */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.75rem;
  color: #0369a1;
  font-weight: 500;
  transition: all 0.2s ease;
  margin: 0 0.25rem;
}

.page-numbers:hover {
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.page-numbers.current {
  background: #0369a1;
  color: #fff;
}

.page-numbers .next,
.page-numbers .prev {
  padding: 0 0.75rem;
}

/* ========== Responsive ========== */
@media (min-width: 640px) {
  .sm\:text-6xl {
    font-size: 3.75rem;
  }
  .sm\:text-4xl {
    font-size: 2.25rem;
  }
  .sm\:p-12 {
    padding: 3rem;
  }
  .sm\:p-10 {
    padding: 2.5rem;
  }
}

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

/* ========== Image aspect ratio ========== */
.aspect-\[3\/4\] {
  aspect-ratio: 3 / 4;
}

.object-cover {
  object-fit: cover;
}

.cursor-pointer {
  cursor: pointer;
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:bg-black\/20 {
  background: rgba(0, 0, 0, 0.2);
}

/* ========== WordPress admin bar offset ========== */
.admin-bar .pt-28 {
  padding-top: calc(7rem + 32px);
}

/* ========== Skip link ========== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
