/* Brand Variables */
:root {
  --brand-beige: #F9F7F2;
  --brand-teal: #4E8D99;
  --brand-purple: #6C3959;
  --brand-orange: #f89026;
  --brand-purple-20: rgba(108, 57, 89, 0.2);
  --brand-purple-30: rgba(108, 57, 89, 0.3);
}

/* Global Styles */
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-purple) transparent;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: var(--brand-purple);
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #5a2e47;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #374151;
}

.bg-brand-beige {
  background-color: #FEFBEB;
}

.bg-navbar {
  background-color: #FEFBEB;
}

.font-sans {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.font-serif {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  margin: 0 0 1rem 0;
}

p {
  color: #4B5563;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

/* Navigation Styles */
.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.border-b {
  border-bottom: 1px solid var(--brand-purple-30);
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

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

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s ease;
}

.no-underline {
  text-decoration: none !important;
}

.no-underline:hover {
  text-decoration: none !important;
}

/* Fix brand alignment */
.flex.items-center a h1 {
  line-height: 1;
  margin: 0;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--brand-purple);
}

.nav-link-active {
  color: var(--brand-purple);
}

.gradient-button {
  background-color: var(--brand-purple);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.gradient-button:hover {
  background-color: #5A2E4A;
  box-shadow: 0 2px 8px rgba(108, 57, 89, 0.2);
  transform: translateY(-1px);
}

.mobile-menu-button {
  background: none;
  border: none;
  padding: 0.5rem;
  color: #374151;
  cursor: pointer;
}

.mobile-nav-link {
  display: block;
  padding: 1rem 1.25rem;
  margin: 0.25rem 0.5rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--brand-purple);
  background-color: rgba(108, 57, 89, 0.1);
}

.mobile-nav-link-active {
  color: var(--brand-purple);
  background-color: rgba(108, 57, 89, 0.15);
  font-weight: 600;
}

.hidden {
  display: none;
}

/* Hero Background */
.hero-background {
  background-image: url('https://res.cloudinary.com/dmkqheogn/image/upload/v1754241771/Group_13_2_caapvp.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1024px) {
  .hero-background {
    background-image: url('https://res.cloudinary.com/dmkqheogn/image/upload/v1754242218/Group_19_jmbp4s.png');
  }
}

.border-brand-purple-20 {
  border: 1px solid var(--brand-purple-20);
}

.border-brand-purple-30 {
  border-top: 1px solid var(--brand-purple-30);
}

.text-brand-purple {
  color: var(--brand-purple);
}

/* Blog Container */
.blog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .blog-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .blog-container {
    padding: 0 2rem;
  }
}

/* Blog Grid Layout */
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Blog Card Styles */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #E5E7EB;
}

.blog-card:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-decoration: none;
}

.blog-card-title:hover {
  color: var(--brand-purple);
}

.blog-card-excerpt {
  color: #6B7280;
  margin-bottom: 1rem;
  line-height: 1.6;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
}

.blog-card-date {
  font-size: 0.875rem;
  color: #9CA3AF;
}

.blog-card-link {
  background-color: var(--brand-purple);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.blog-card-link:hover {
  background-color: #5A2E4A;
}

/* Blog Post Content */
.blog-post-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .blog-post-sidebar {
    display: block;
  }
}

.blog-post-body {
  line-height: 1.8;
  color: #374151;
}

.blog-post-body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.875rem;
  font-weight: 700;
}

.blog-post-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.blog-post-body p {
  margin-bottom: 1.25rem;
}

.blog-post-body ul,
.blog-post-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-post-body li {
  margin-bottom: 0.5rem;
}
.blog-post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.blog-post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .blog-post-title {
    font-size: 2rem;
  }
}

.blog-post-meta {
  color: #6B7280;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.blog-post-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.blog-post-content {
  font-size: 1.1875rem;
  line-height: 1.8;
  color: #374151;
}

.blog-post-content h2 {
  font-size: 1.875rem;
  margin: 2rem 0 1rem 0;
}

.blog-post-content h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.75rem 0;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
}

.blog-post-content ul, 
.blog-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

.blog-post-content a {
  color: #6C3959 !important;
  text-decoration: underline;
}

.blog-post-content a:hover {
  text-decoration: none;
}

.blog-post-content blockquote {
  border-left: 4px solid var(--brand-purple);
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
  color: #4B5563;
}

.blog-post-content pre {
  background-color: #F3F4F6;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.blog-post-content code {
  background-color: #F3F4F6;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
}

/* Navigation Pagination */
.blog-navigation {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.blog-nav-link {
  background-color: var(--brand-purple);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-nav-link:hover {
  background-color: #5A2E4A;
}

.blog-nav-link:disabled {
  background-color: #D1D5DB;
  color: #9CA3AF;
  cursor: not-allowed;
}

/* No Posts Message */
.no-posts {
  text-align: center;
  padding: 4rem 1rem;
  color: #6B7280;
}

.no-posts h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.no-posts p {
  font-size: 1rem;
}

/* Responsive Utilities */
@media (min-width: 640px) {
  .sm\\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .sm\\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .sm\\:text-5xl {
    font-size: 3rem;
  }
  
  .sm\\:text-lg {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .lg\\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg\\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .lg\\:text-6xl {
    font-size: 3.75rem;
  }
}

/* Grid utilities for footer */
.grid {
  display: grid;
}

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

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

.gap-8 {
  gap: 2rem;
}

/* Utility Classes */
.max-w-7xl {
  max-width: 80rem;
}

.max-w-3xl {
  max-width: 48rem;
}

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

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

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

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

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

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

.mt-6 {
  margin-top: 1.5rem;
}

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

.mt-12 {
  margin-top: 3rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

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

.text-4xl {
  font-size: 2.25rem;
}

.text-base {
  font-size: 1rem;
}

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

.text-xs {
  font-size: 0.75rem;
}

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

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

.font-semibold {
  font-weight: 600;
}

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

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

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

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

/* Remove link underlines in footer */
footer a {
  text-decoration: none !important;
  color: #4B5563;
}

footer a:hover {
  color: #111827;
  text-decoration: none !important;
}

.text-gray-900 {
  color: #111827;
}

.text-black {
  color: #000000;
}

.text-white {
  color: #ffffff;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

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

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

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

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

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

/* Footer list styling */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Footer grid columns fix */
@media (min-width: 768px) {
  footer .grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Blog post two-column layout */
.blog-post-layout {
  display: grid;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 1024px) {
  .blog-post-layout {
    grid-template-columns: 2fr 1fr;
    padding: 4rem 2rem;
  }
}

.blog-post-content {
  max-width: 800px;
}

.blog-post-cta {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.border-t {
  border-top: 1px solid #D1D5DB;
}

.border-gray-300 {
  border-color: #D1D5DB;
}

.border-gray-400 {
  border-color: #9CA3AF;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hover_text-gray-900:hover {
  color: #111827;
}

.h-16 {
  height: 4rem;
}

.h-8 {
  height: 2rem;
}

.h-6 {
  height: 1.5rem;
}

.h-5 {
  height: 1.25rem;
}

.h-4 {
  height: 1rem;
}

.h-3 {
  height: 0.75rem;
}

.w-auto {
  width: auto;
}

.w-6 {
  width: 1.5rem;
}

.w-5 {
  width: 1.25rem;
}

.w-4 {
  width: 1rem;
}

.w-3 {
  width: 0.75rem;
}

@media (min-width: 768px) {
  .md\\:hidden {
    display: none;
  }
  
  .md\\:block {
    display: block;
  }
  
  .md\\:flex {
    display: flex;
  }
}

/* Updated blog post layout with narrower content and wider gap */
.blog-post-layout-updated {
  display: grid;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

@media (min-width: 1024px) {
  .blog-post-layout-updated {
    grid-template-columns: 1.75fr 1fr;
    gap: 4rem;
    padding: 2rem 2rem;
  }
}

/* Narrower content column */
.blog-post-content-narrow {
  max-width: 700px;
}

/* Wider sidebar with more space */
.blog-post-sidebar-wider {
  display: none;
}

@media (min-width: 1024px) {
  .blog-post-sidebar-wider {
    display: block;
  }
}

/* Breadcrumb navigation */
.blog-breadcrumb {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E5E7EB;
}

.breadcrumb-link {
  color: var(--brand-purple);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: #9CA3AF;
}

/* Left-aligned header */
.blog-post-header-left {
  text-align: left;
  margin-bottom: 2rem;
}

.blog-post-title-left {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: left;
}

@media (max-width: 768px) {
  .blog-post-title-left {
    font-size: 2rem;
  }
}

/* Left-aligned meta information */
.blog-post-meta-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.blog-meta-date {
  color: #6B7280;
  font-size: 0.875rem;
}

/* Author badge */
.blog-author-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #F9FAFB;
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  border: 1px solid #E5E7EB;
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

/* CTA image styling */
.cta-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid #E5E7EB;
}

/* Tick-only list items */
.tick-item {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* Fix CTA list formatting */
.blog-post-cta ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.blog-post-cta ul li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* CTA badge styling */
.cta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #F3F4F6;
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #E5E7EB;
}

.cta-badge-logo {
  width: 20px;
  height: 20px;
}

.cta-badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6B7280;
}

/* Larger CTA title */
.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}