/* Custom Design for mahadalirs.com - Style: solana-green */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  --custom-primary: #00FFA3;
  --custom-secondary: #0A1A14;
  --custom-accent: #142820;
  --custom-bg: #050F0A;
  --custom-card: #0A1A14;
  --custom-text: #C0F0D0;
  --custom-radius: 20px;
  --custom-heading-font: 'Syne', sans-serif;
  --custom-body-font: 'Work Sans', sans-serif;
}

/* Base overrides */
body {
  font-family: var(--custom-body-font);
  background: #050F0A;
  color: var(--custom-text);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--custom-heading-font);
  color: var(--custom-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 1.8rem; line-height: 1.2; margin-top: 2rem; }
h3 { font-size: 1.4rem; line-height: 1.3; }

/* Links */
a {
  color: var(--custom-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Header/Navigation */
.wp-site-header, header {
  background: #0A1A14;
  border-bottom: 1px solid #00FFA320;
  padding: 1rem 0;
}

/* Navigation links */
.wp-site-header a, header a, nav a {
  color: var(--custom-text);
  font-family: var(--custom-heading-font);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cards/Articles */
article, .wp-block-post, .entry-content {
  background: var(--custom-card);
  border: 1px solid #00FFA315;
  border-radius: var(--custom-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  
}

/* Post titles in cards */
article h2, .wp-block-post-title {
  font-family: var(--custom-heading-font);
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

/* Featured images */
article img, .wp-post-image, .featured-image {
  border-radius: calc(var(--custom-radius) - 4px);
  overflow: hidden;
  filter: brightness(0.9);
}

/* Buttons */
.wp-element-button, button, input[type="submit"] {
  background: var(--custom-primary);
  color: #FFFFFF;
  border: none;
  border-radius: calc(var(--custom-radius) - 4px);
  padding: 0.8rem 1.8rem;
  font-family: var(--custom-heading-font);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
}
.wp-element-button:hover, button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px #00FFA340;
}

/* Sidebar */
aside, .wp-sidebar, .widget-area {
  background: var(--custom-card);
  border-radius: var(--custom-radius);
  padding: 1.5rem;
  border: 1px solid #00FFA315;
}

/* Footer */
.wp-site-footer, footer {
  background: #0A1A14;
  border-top: 1px solid #00FFA315;
  padding: 3rem 0;
  margin-top: 3rem;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid var(--custom-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #00FFA308;
  border-radius: 0 var(--custom-radius) var(--custom-radius) 0;
  font-style: italic;
}

/* Code blocks */
pre, code {
  background: #0A1A14;
  border-radius: calc(var(--custom-radius) - 4px);
  padding: 1rem;
  font-size: 0.9rem;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  border-radius: var(--custom-radius);
  overflow: hidden;
}
th {
  background: var(--custom-primary);
  color: #FFFFFF;
  font-family: var(--custom-heading-font);
  font-weight: 600;
  padding: 0.8rem;
}
td {
  padding: 0.8rem;
  border-bottom: 1px solid #00FFA315;
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--custom-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--custom-primary);
  border-radius: 4px;
}

/* Selection */
::selection {
  background: #00FFA340;
  color: var(--custom-text);
}

/* Smooth animations */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Read more links */
.more-link, .read-more {
  color: var(--custom-primary);
  font-family: var(--custom-heading-font);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.more-link::after {
  content: '→';
  transition: transform 0.3s ease;
}
.more-link:hover::after {
  transform: translateX(4px);
}

/* Card hover effect */
article:hover { transform: translateY(-4px); box-shadow: 0 12px 40px #00FFA325; }
