/*
Theme Name: Vuvale Samaj
Theme URI: https://vuvalesamaj.org
Author: Vuvale Samaj Engineering
Description: Fast, mobile-first Fijian Diaspora Community Hub theme with built-in Schema.org JSON-LD (AEO/GEO), Keyword Moderation Filter, AI Moderation Advisor, AI Tag Recommender, and Weekly/Monthly AI Reports. Zero plugins required.
Version: 3.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.1
Text Domain: vuvale-samaj
*/

/* ==========================================================================
Vuvale Samaj - Production Stylesheet (Zero-CDN, Core Web Vitals Optimized)
Save to: wp-content/themes/vuvale-samaj/assets/css/main.css
========================================================================== */

:root {
--fiji-ocean: #0080C8;
--fiji-ocean-dark: #005D96;
--fiji-ocean-light: #E8F4FC;
--fiji-clay: #7A4722;
--fiji-clay-dark: #4A2A14;
--fiji-clay-light: #F7EDE2;
--fiji-bark-heavy: #381D0B;
--fiji-sand: #FAF8F5;
}

*, *::before, *::after {
box-sizing: border-box;
border-color: #e7e5e4;
}

html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
margin: 0;
background-color: var(--fiji-sand);
color: var(--fiji-bark-heavy);
min-height: 100vh;
display: flex;
flex-direction: column;
-webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
font-family: inherit;
font-size: 100%;
}

button {
cursor: pointer;
background: transparent;
border: 0;
}

img, svg {
display: block;
max-width: 100%;
}

/* Custom Logo Sizing inside Header */
.custom-logo-link img {
width: 100%;
height: 100%;
object-fit: contain;
}

/* Brand Colors */
.text-fiji-ocean { color: var(--fiji-ocean); }
.text-fiji-oceanDark { color: var(--fiji-ocean-dark); }
.text-fiji-clay { color: var(--fiji-clay); }
.text-fiji-clayDark { color: var(--fiji-clay-dark); }
.text-fiji-barkHeavy { color: var(--fiji-bark-heavy); }
.text-fiji-sand { color: var(--fiji-sand); }

.bg-fiji-ocean { background-color: var(--fiji-ocean); }
.bg-fiji-oceanDark { background-color: var(--fiji-ocean-dark); }
.bg-fiji-oceanLight { background-color: var(--fiji-ocean-light); }
.bg-fiji-clay { background-color: var(--fiji-clay); }
.bg-fiji-clayDark { background-color: var(--fiji-clay-dark); }
.bg-fiji-clayLight/70 { background-color: rgba(247, 237, 226, 0.7); }
.bg-fiji-barkHeavy { background-color: var(--fiji-bark-heavy); }
.bg-fiji-sand { background-color: var(--fiji-sand); }
.bg-fiji-sand/50 { background-color: rgba(250, 248, 245, 0.5); }
.bg-fiji-sand/60 { background-color: rgba(250, 248, 245, 0.6); }

.hover:bg-fiji-oceanDark:hover { background-color: var(--fiji-ocean-dark); }
.hover:bg-fiji-oceanLight:hover { background-color: var(--fiji-ocean-light); }
.hover:bg-fiji-clay:hover { background-color: var(--fiji-clay); }
.hover:bg-fiji-clayDark:hover { background-color: var(--fiji-clay-dark); }
.hover:bg-fiji-sand:hover { background-color: var(--fiji-sand); }
.hover:text-fiji-ocean:hover { color: var(--fiji-ocean); }
.hover:text-fiji-oceanDark:hover { color: var(--fiji-ocean-dark); }
.hover:text-fiji-clay:hover { color: var(--fiji-clay); }
.hover:text-fiji-barkHeavy:hover { color: var(--fiji-bark-heavy); }
.hover:border-fiji-ocean:hover { border-color: var(--fiji-ocean); }
.group:hover .group-hover:text-fiji-ocean { color: var(--fiji-ocean); }

.border-fiji-ocean/40 { border-color: rgba(0, 128, 200, 0.4); }
.from-fiji-ocean { --tw-gradient-from: #0080C8; }
.to-fiji-oceanDark { --tw-gradient-to: #005D96; }

/* Standard Palette */
.bg-white { background-color: #ffffff; }
.bg-white/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-stone-50 { background-color: #fafaf9; }
.bg-stone-100 { background-color: #f5f5f4; }
.bg-black/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-amber-50/90 { background-color: rgba(255, 251, 235, 0.9); }
.bg-amber-600 { background-color: #d97706; }
.bg-rose-50 { background-color: #fff1f2; }

.text-white { color: #ffffff; }
.text-white/80 { color: rgba(255, 255, 255, 0.8); }
.text-stone-400 { color: #a8a29e; }
.text-stone-500 { color: #78716c; }
.text-stone-600 { color: #57534e; }
.text-stone-700 { color: #44403c; }
.text-stone-800 { color: #292524; }
.text-emerald-700 { color: #047857; }
.text-emerald-900 { color: #064e3b; }
.text-amber-950 { color: #451a03; }
.text-rose-500 { color: #f43f5e; }
.text-rose-600 { color: #e11d48; }
.text-rose-900 { color: #881337; }
.fill-rose-500 { fill: #f43f5e; }
.hover:text-rose-500:hover { color: #f43f5e; }
.hover:text-white:hover { color: #ffffff; }

.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }
.border-stone-100 { border-color: #f5f5f4; }
.border-stone-200 { border-color: #e7e5e4; }
.border-stone-200/50 { border-color: rgba(231, 229, 228, 0.5); }
.border-stone-200/60 { border-color: rgba(231, 229, 228, 0.6); }
.border-stone-200/80 { border-color: rgba(231, 229, 228, 0.8); }
.border-stone-300 { border-color: #d6d3d1; }
.border-emerald-100 { border-color: #d1fae5; }
.border-emerald-200 { border-color: #a7f3d0; }
.border-amber-300 { border-color: #fcd34d; }
.border-rose-200 { border-color: #fecdd3; }

/* Gradients */
.bg-gradient-to-b {
background-image: linear-gradient(to bottom, #ffffff, rgba(232, 244, 252, 0.25), #FAF8F5);
}
.bg-gradient-to-r {
background-image: linear-gradient(to right, #0080C8, #005D96);
}

/* Layout & Flexbox / Grid */
.sticky { position: sticky; }
.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.left-0 { left: 0; }
.bottom-6 { bottom: 1.5rem; }
.right-6 { right: 1.5rem; }
.top-0 { top: 0; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.self-end { align-self: flex-end; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-1.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.25rem; }
.space-x-1.5 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.375rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-2.5 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.625rem; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }

/* Sizing & Spacing */
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.w-4 { width: 1rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.h-4 { height: 1rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-16 { height: 4rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-7xl { max-width: 80rem; }
.max-h-[90vh] { max-height: 90vh; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.-ml-1 { margin-left: -0.25rem; }
.mr-1 { margin-right: 0.25rem; }
.ml-4 { margin-left: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-3.5 { margin-bottom: 0.875rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-1.5 { padding: 0.375rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-1.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-0.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-4 { padding-right: 1rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-3.5 { padding-left: 0.875rem; }
.pl-10 { padding-left: 2.5rem; }

/* Typography */
.text-[9px] { font-size: 9px; }
.text-[10px] { font-size: 10px; }
.text-[11px] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.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-2xl { font-size: 1.5rem; line-height: 2rem; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.text-center { text-align: center; }
.list-none { list-style: none; }

.line-clamp-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}

/* Radius, Shadows, Effects & Transitions */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.shadow-xs { box-shadow: 0 1px 2px 0 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); }
.hover:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.ring-1 { box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.4); }

.backdrop-blur-xs { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.resize-none { resize: none; }
.pointer-events-none { pointer-events: none; }
.opacity-0 { opacity: 0; }
.translate-y-20 { transform: translateY(5rem); }
.transition, .transition-all, .transition-colors { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.duration-300 { transition-duration: 300ms; }
.hover:underline:hover { text-decoration: underline; }
.active:scale-95:active { transform: scale(0.95); }

.focus:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus:ring-2:focus { box-shadow: 0 0 0 2px var(--fiji-ocean); }
.focus:bg-white:focus { background-color: #ffffff; }

/* Screen Reader Only */
.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;
}

/* WordPress Pagination Links Styling */
.page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.45rem 0.85rem;
border-radius: 0.75rem;
border: 1px solid #e7e5e4;
background-color: #ffffff;
color: #57534e;
transition: all 150ms ease;
}
.page-numbers.current {
background-color: var(--fiji-ocean);
border-color: var(--fiji-ocean);
color: #ffffff;
}
.page-numbers:hover:not(.current) {
border-color: var(--fiji-ocean);
color: var(--fiji-ocean);
}

/* Responsive Breakpoints (sm: 640px, md: 768px, lg: 1024px) */
@media (min-width: 640px) {
.sm:w-12 { width: 3rem; }
.sm:h-12 { height: 3rem; }
.sm:w-auto { width: auto; }
.sm:block { display: block; }
.sm:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.sm:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.sm:text-2xl { font-size: 1.5rem; line-height: 2rem; }
.sm:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.sm:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.sm:p-8 { padding: 2rem; }
.sm:mx-4 { margin-left: 1rem; margin-right: 1rem; }
.sm:ml-6 { margin-left: 1.5rem; }
.sm:pl-4 { padding-left: 1rem; }
.sm:gap-4 { gap: 1rem; }
.sm:space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:justify-between { justify-content: space-between; }
  .md\:w-auto { width: auto; }
}


@media (min-width: 1024px) {
.lg:inline { display: inline; }
.lg:flex-row { flex-direction: row; }
.lg:items-center { align-items: center; }
.lg:self-center { align-self: center; }
.lg:px-8 { padding-left: 2rem; padding-right: 2rem; }
.lg:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}