/* Blog Styles for Hellas Calculator */

/* Blog Header */
.blog-header {
  background: white;
  box-shadow: 0 2px 10px rgba(13, 71, 161, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.blog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #0d47a1;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: #263238;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #0d47a1;
}

.lang-toggle {
  display: flex;
  gap: 0.25rem;
  background: #eceff1;
  padding: 0.25rem;
  border-radius: 8px;
}

.lang-btn {
  padding: 0.375rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  color: #546e7a;
  transition: all 0.2s;
}

.lang-btn.active {
  background: #0d47a1;
  color: white;
}

/* Blog Main Content */
.blog-main {
  padding: 2rem 1rem;
  min-height: calc(100vh - 200px);
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: #546e7a;
}

.breadcrumb li::after {
  content: '/';
  margin-left: 0.5rem;
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb a {
  color: #0d47a1;
  text-decoration: none;
}

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

/* Article Header */
.article-header {
  margin-bottom: 2.5rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.category {
  background: #e3f2fd;
  color: #0d47a1;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.read-time {
  color: #546e7a;
  font-size: 0.875rem;
}

.article-header h1 {
  font-family: 'Fraunces', serif;
  font-size: 2.25rem;
  color: #0d47a1;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-excerpt {
  font-size: 1.125rem;
  color: #546e7a;
  line-height: 1.7;
}

/* Article Content */
.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #263238;
}

.article-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: #0d47a1;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: 1.25rem;
  color: #263238;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

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

.article-content strong {
  color: #0d47a1;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-left: 4px solid #0d47a1;
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin: 0;
  color: #0d47a1;
  font-weight: 500;
}

/* Calculator CTA */
.calculator-cta {
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 3rem;
}

.calculator-cta h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.calculator-cta p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: white;
  color: #0d47a1;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Related Articles */
.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eceff1;
}

.related-articles h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: #0d47a1;
  margin-bottom: 1rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 12px;
  text-decoration: none;
  color: #263238;
  transition: background 0.2s;
}

.related-card:hover {
  background: #e3f2fd;
}

.related-card .icon {
  font-size: 1.5rem;
}

/* Blog Footer */
.blog-footer {
  background: #263238;
  color: #b0bec5;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

/* Blog Listing Page */
.blog-listing-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-listing-header h1 {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  color: #0d47a1;
  margin-bottom: 0.5rem;
}

.blog-listing-header p {
  color: #546e7a;
  font-size: 1.125rem;
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
}

.blog-card-link {
  text-decoration: none;
  display: block;
}

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13, 71, 161, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(13, 71, 161, 0.15);
}

.blog-card-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: #0d47a1;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-content p {
  color: #546e7a;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #78909c;
}

/* Responsive */
@media (max-width: 640px) {
  .blog-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .article-header h1 {
    font-size: 1.75rem;
  }

  .blog-listing-header h1 {
    font-size: 2rem;
  }
}
