/* Bukharalia.shop - Unique Custom Styles (Sage/Mint Green Theme, Magazine Blog Style)
   Fully unique layout: Asymmetric grid cards, sticky sidebar, large typography, generous spacing
   No images - pure color, typography and CSS shapes
*/

:root {
  --green-950: #052E16;
  --green-900: #14532D;
  --green-800: #166534;
  --green-700: #15803D;
  --green-600: #16A34A;
  --green-500: #22C55E;
  --green-400: #4ADE80;
  --green-300: #86EFAC;
  --green-200: #BBF7D0;
  --green-100: #DCFCE7;
  --green-50: #F0FDF4;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --bg-light: #F8FAFC;
}

/* Base enhancements for magazine feel */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* Large magazine-style headings */
h1.magazine-title {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Asymmetric / Magazine card grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
  
  .article-card:nth-child(1) { grid-column: span 7; }
  .article-card:nth-child(2) { grid-column: span 5; }
  .article-card:nth-child(3) { grid-column: span 4; }
  .article-card:nth-child(4) { grid-column: span 8; }
  .article-card:nth-child(5) { grid-column: span 6; }
  .article-card:nth-child(6) { grid-column: span 6; }
}

/* Card styles - unique rounded + soft shadow + border accent */
.article-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--green-200);
  box-shadow: 0 10px 15px -3px rgb(16 185 129 / 0.08), 0 4px 6px -4px rgb(16 185 129 / 0.08);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.4, 0.0, 0.2, 1),
              border-color 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgb(16 185 129 / 0.1), 0 8px 10px -6px rgb(16 185 129 / 0.1);
  border-color: var(--green-300);
}

.article-card .card-header {
  height: 8px;
  background: linear-gradient(to right, var(--green-600), var(--green-400));
}

.article-card .card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 0.875rem;
}

.article-card p.excerpt {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
  flex: 1;
}

.article-card .meta {
  font-size: 0.8rem;
  color: var(--green-700);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--green-100);
}

/* Sidebar - sticky, clean */
.sidebar {
  position: sticky;
  top: 2rem;
}

.category-list a {
  display: block;
  padding: 0.65rem 1.1rem;
  border-radius: 9999px;
  color: var(--green-800);
  font-weight: 500;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.category-list a:hover {
  background-color: var(--green-100);
  border-color: var(--green-200);
  color: var(--green-900);
  transform: translateX(3px);
}

/* Buttons - pill style, modern green */
.btn-primary {
  background-color: var(--green-600);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background-color: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgb(16 185 129 / 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green-700);
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  border: 2px solid var(--green-300);
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--green-50);
  border-color: var(--green-400);
  color: var(--green-800);
}

/* Hero section - split feel with color block */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Section spacing unique */
.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (max-width: 768px) {
  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Long form content styling for privacy/terms */
.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-900);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green-100);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-800);
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.legal-content p, .legal-content li {
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  margin-bottom: 0.4rem;
}

/* Thank you page accent */
.thankyou-accent {
  background: linear-gradient(to bottom right, var(--green-50), white);
}

/* Form styles */
input, textarea, select {
  border: 1.5px solid var(--green-200);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--green-400);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

/* Footer unique */
footer {
  background-color: var(--green-950);
  color: var(--green-200);
}

footer a {
  color: var(--green-300);
  transition: color 0.15s ease;
}

footer a:hover {
  color: var(--green-100);
}

/* Responsive adjustments for asymmetric grid on smaller screens */
@media (max-width: 1023px) {
  .article-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
  .article-card:nth-child(n) { grid-column: span 1 !important; }
}

/* Pure CSS decorative elements (no images) */
.decorative-line {
  height: 3px;
  background: linear-gradient(to right, var(--green-400), var(--green-600));
  border-radius: 9999px;
  width: 72px;
}

/* 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;
}
