/* Basic Reset & Body Styles */
body {
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --color-primary: #C2006B;
  --color-background-light: #FBEAE4;
  --color-background-dark: #212121;
  --color-foreground-light: #212121;
  --color-foreground-dark: #FBEAE4;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-500: #6b7280;
  --color-gray-700: #374151;
  --color-white: #ffffff;
}

/* Base link styles */
a {
    color: var(--color-primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Dark Mode */
.dark body {
  background-color: var(--color-background-dark);
  color: var(--color-foreground-dark);
}

/* General Layout */
.container { width: 100%; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

.mx-auto { margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-2 { padding: 0.5rem; }
.pl-8 { padding-left: 2rem; }
.pr-16 { padding-right: 4rem; }
.pr-6 { padding-right: 1.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* Flexbox & Grid */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .md\:hidden { display: none; } .md\:flex { display: flex; } .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .md\:justify-start {justify-content: flex-start;} .md\:text-left { text-align: left;} }
@media (min-width: 1024px) { .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lg\:py-12 { padding-top: 3rem; padding-bottom: 3rem; } .lg\:text-5xl { font-size: 3rem; line-height: 1; } }

/* Typography */
.font-display { font-family: 'Poppins', sans-serif; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.text-foreground-light { color: var(--color-foreground-light); }
.dark .text-foreground-dark { color: var(--color-foreground-dark); }
.text-foreground-light\/80 { color: rgba(33, 33, 33, 0.8); }
.dark .text-foreground-dark\/80 { color: rgba(251, 234, 228, 0.8); }
.text-foreground-light\/60 { color: rgba(33, 33, 33, 0.6); }
.dark .text-foreground-dark\/60 { color: rgba(251, 234, 228, 0.6); }
.leading-relaxed { line-height: 1.625; }

/* Sizing & Borders */
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-full { width: 100%; }
.h-64 { height: 16rem; }
.h-32 { height: 8rem; }
.w-32 { width: 8rem; }
.rounded-sm { border-radius: 0.125rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; }
.border-transparent { border-color: transparent; }
.border-gray-200 { border-color: var(--color-gray-200); }
.border-gray-300 { border-color: var(--color-gray-300); }
.dark .border-gray-600 { border-color: #4b5563; }
.dark .border-gray-700 { border-color: var(--color-gray-700); }
.border-primary { border-color: var(--color-primary); }
.dark .border-gray-600 { border-color: #4b5563; }
.dark .border-gray-300 { border-color: #d1d5db; }


/* Backgrounds & Colors */
.bg-white { background-color: var(--color-white); }
.dark .dark\:bg-background-dark { background-color: var(--color-background-dark); }
.dark .dark\:bg-background-dark\/50 { background-color: rgba(33, 33, 33, 0.5); }
.bg-background-light { background-color: var(--color-background-light); }
.bg-primary { background-color: var(--color-primary); }
.hover\:bg-primary:hover { background-color: var(--color-primary); }
.hover\:bg-primary\/90:hover { background-color: rgba(194, 0, 107, 0.9); }
.bg-gray-100 { background-color: var(--color-gray-100); }
.dark .dark\:bg-background-dark\/50 { background-color: rgba(33, 33, 33, 0.5); }
.dark .bg-transparent { background-color: transparent; }
.text-gray-500 { color: var(--color-gray-500); }
.dark .text-gray-400 { color: #9ca3af; }

/* Effects & Transitions */
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.opacity-50 { opacity: 0.5; }
.cursor-not-allowed { cursor: not-allowed; }

/* Interactivity & Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-primary:focus { --tw-ring-color: var(--color-primary); }
.focus\:ring-offset-2:focus { --tw-ring-offset-width: 2px; }
.focus\:ring-offset-white:focus { --tw-ring-offset-color: var(--color-white); }
.dark .focus\:ring-offset-background-dark:focus { --tw-ring-offset-color: var(--color-background-dark); }
.dark .focus\:ring-offset-background-dark\/50:focus { --tw-ring-offset-color: rgba(33, 33, 33, 0.5); }
.focus\:border-transparent:focus { border-color: transparent; }
.focus\:ring-inset:focus { --tw-ring-inset: inset; }


/* Components */
[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 700;
}

.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:text-white:hover { color: var(--color-white); }

.hidden { display: none; }
.block { display: block; }

.relative { position: relative; }
.absolute { position: absolute; }
.inset-y-0 { top: 0; bottom: 0; }
.right-0 { right: 0; }

/* Prose styles for article content */
.prose {
    color: var(--color-foreground-light);
}
.dark .dark\:prose-invert {
    color: var(--color-foreground-dark);
}
.prose h2, .prose h3, .prose h4 {
    color: var(--color-foreground-light);
    font-weight: 700;
}
.dark .dark\:prose-invert h2, .dark .dark\:prose-invert h3, .dark .dark\:prose-invert h4 {
    color: var(--color-foreground-dark);
}
.prose h2 { font-size: 1.5em; margin-top: 2em; margin-bottom: 1em; }
.prose h3 { font-size: 1.25em; margin-top: 1.6em; margin-bottom: 0.6em; }
.prose p { margin-top: 1.25em; margin-bottom: 1.25em; }

/* WordPress Core CSS */
.alignwide {
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
}
.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
}
.pagination .page-numbers {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 0.25rem;
    transition: all 0.2s ease-in-out;
}
.pagination .page-numbers:hover {
    background-color: var(--color-background-light);
    border-color: var(--color-primary);
}
.pagination .page-numbers.current {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}