/*
Theme Name: Kemal Dalkıran
Theme URI: https://kemaldalkiran.com
Author: Kemal Dalkıran
Author URI: https://kemaldalkiran.com
Description: Edebiyat, felsefe ve düşünce üzerine kişisel blog teması. Artistic ve modern tasarım.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kemaldalkiran
Tags: blog, literary, custom-menu, featured-images, translation-ready
*/

/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #F5F1E8;
  --cream-dark: #EBE5D9;
  --charcoal: #2C2C2C;
  --charcoal-light: #4A4A4A;
  --burgundy: #8B3A3A;
  --gold: #D4AF37;
  --ivory: #FFFFF0;
  --ivory-dark: #F5F5E6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', serif;
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== TEXT SELECTION ===== */
::selection {
  background-color: var(--gold);
  color: var(--charcoal);
}

::-moz-selection {
  background-color: var(--gold);
  color: var(--charcoal);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--burgundy);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== HEADER ===== */
.site-header {
  background-color: var(--cream);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 10px rgba(44, 44, 44, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo:hover .logo-text h1 {
  color: var(--burgundy);
}

.logo-icon {
  background: linear-gradient(135deg, var(--burgundy), var(--charcoal));
  padding: 0.625rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.site-logo:hover .logo-icon {
  transform: rotate(15deg);
}

.logo-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  transition: color 0.3s ease;
  margin: 0;
  line-height: 1.2;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--charcoal-light);
  font-style: italic;
  margin: 0;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.desktop-nav a {
  position: relative;
  padding: 0.5rem 0.75rem;
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--charcoal);
  border-radius: 0.375rem;
  transition: color 0.3s ease;
}

.desktop-nav a:hover {
  color: var(--burgundy);
}

.desktop-nav a.active {
  color: var(--burgundy);
}

.desktop-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  color: var(--charcoal);
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--burgundy);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  font-family: 'Lora', serif;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background-color: var(--cream-dark);
}

.mobile-nav a.active {
  background-color: var(--burgundy);
  color: var(--ivory);
}

@media (max-width: 1023px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(139, 58, 58, 0.9), rgba(44, 44, 44, 0.85), rgba(139, 58, 58, 0.9));
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 56rem;
  padding: 0 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content .hero-subtitle {
  font-size: 1.5rem;
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: var(--gold);
  color: var(--charcoal);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--ivory);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.btn-primary svg {
  margin-left: 0.5rem;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 2px solid var(--ivory);
  color: var(--ivory);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--ivory);
  color: var(--charcoal);
  transform: scale(1.05);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  width: 100%;
  height: 6rem;
  color: var(--cream);
  display: block;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  .hero-content .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-divider {
  width: 6rem;
  height: 4px;
  background: linear-gradient(to right, var(--burgundy), var(--gold));
  margin: 0 auto;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--charcoal-light);
  font-family: 'Lora', serif;
  max-width: 42rem;
  margin: 1.5rem auto 0;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 3rem;
  }
}

/* ===== ARTICLE CARD ===== */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.5s ease-out forwards;
}

.article-card:hover {
  box-shadow: 0 12px 40px rgba(44, 44, 44, 0.15);
  border-color: var(--gold);
  transform: translateY(-8px);
}

.article-card .card-header {
  padding: 1.5rem;
  border-bottom: 3px solid;
}

.article-card .card-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.article-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0;
  line-height: 1.3;
}

.article-card .card-title a {
  color: var(--charcoal);
  transition: color 0.3s ease;
}

.article-card .card-title a:hover {
  color: var(--burgundy);
}

.article-card .card-body {
  padding: 1.5rem;
  flex: 1;
}

.article-card .card-excerpt {
  color: var(--charcoal-light);
  font-family: 'Lora', serif;
  font-size: 0.875rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-card .card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--charcoal-light);
  font-family: 'Lora', serif;
}

.article-card .card-meta svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.article-card .card-read-more {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.article-card .card-read-more:hover {
  color: var(--gold);
}

.article-card .card-read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.article-card .card-read-more:hover svg {
  transform: translateX(4px);
}

/* Card animation delay */
.article-card:nth-child(1) { animation-delay: 0s; }
.article-card:nth-child(2) { animation-delay: 0.1s; }
.article-card:nth-child(3) { animation-delay: 0.2s; }
.article-card:nth-child(4) { animation-delay: 0.3s; }
.article-card:nth-child(5) { animation-delay: 0.4s; }
.article-card:nth-child(6) { animation-delay: 0.5s; }

/* ===== CATEGORIES SECTION ===== */
.categories-section {
  background: linear-gradient(to bottom, var(--cream), var(--ivory));
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  display: block;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.category-card:hover {
  box-shadow: 0 12px 40px rgba(44, 44, 44, 0.15);
  border-color: var(--gold);
  transform: translateY(-8px);
}

.category-card .cat-banner {
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.category-card .cat-banner h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ivory);
  transition: transform 0.3s ease;
}

.category-card:hover .cat-banner h3 {
  transform: scale(1.1);
}

.category-card .cat-link {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card .cat-link span {
  color: var(--charcoal-light);
  font-family: 'Lora', serif;
}

.category-card .cat-link svg {
  width: 20px;
  height: 20px;
  color: var(--burgundy);
  transition: transform 0.3s ease;
}

.category-card:hover .cat-link svg {
  transform: translateX(8px);
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--burgundy), var(--charcoal), var(--burgundy));
}

.quote-section blockquote {
  font-size: 1.875rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--ivory);
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 1.5rem;
  line-height: 1.4;
}

.quote-section .quote-author {
  color: var(--gold);
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .quote-section blockquote {
    font-size: 2.25rem;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--charcoal);
  color: var(--ivory);
  border-top: 4px solid var(--gold);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand .brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand .brand-icon {
  background: linear-gradient(135deg, var(--burgundy), var(--gold));
  padding: 0.625rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .brand-icon svg {
  width: 24px;
  height: 24px;
  color: var(--ivory);
}

.footer-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-brand .brand-subtitle {
  font-size: 0.875rem;
  color: var(--ivory-dark);
  font-style: italic;
}

.footer-brand .brand-desc {
  color: var(--ivory-dark);
  font-family: 'Lora', serif;
  line-height: 1.7;
}

.footer-links h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--ivory-dark);
  font-family: 'Lora', serif;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-contact .email-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ivory-dark);
  font-family: 'Lora', serif;
  transition: color 0.3s ease;
}

.footer-contact .email-link:hover {
  color: var(--gold);
}

.footer-contact .email-link svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.social-links {
  margin-top: 1.5rem;
}

.social-links span {
  font-size: 0.875rem;
  font-family: 'Lora', serif;
  color: var(--ivory-dark);
  display: block;
  margin-bottom: 0.75rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  background-color: var(--charcoal-light);
  padding: 0.625rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--gold);
  transform: scale(1.1);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  color: var(--ivory);
  transition: color 0.3s ease;
}

.social-icon:hover svg {
  color: var(--charcoal);
}

.footer-bottom {
  border-top: 1px solid var(--charcoal-light);
  padding: 2rem 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--ivory-dark);
  font-family: 'Lora', serif;
  font-size: 0.875rem;
}

.footer-bottom .footer-note {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* ===== SINGLE ARTICLE ===== */
.single-article {
  max-width: 56rem;
  margin: 0 auto;
  background-color: var(--ivory);
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(44, 44, 44, 0.1);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
}

.article-header {
  background-color: var(--charcoal);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 58, 58, 0.2), rgba(212, 175, 55, 0.1));
  pointer-events: none;
}

.article-header .article-category-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 1.5rem;
  position: relative;
  transition: transform 0.3s ease;
}

.article-header .article-category-tag:hover {
  transform: scale(1.05);
}

.article-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
}

.article-header .article-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ivory-dark);
  font-family: 'Lora', serif;
  position: relative;
}

.article-header .article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-header .article-meta svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

@media (min-width: 768px) {
  .article-header {
    padding: 3rem;
  }
  .article-header h1 {
    font-size: 3rem;
  }
  .article-header .article-meta {
    flex-direction: row;
    gap: 2rem;
  }
}

.article-content {
  padding: 2rem;
}

.article-content p {
  font-family: 'Lora', serif;
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 65ch;
}

.article-content strong {
  color: var(--charcoal);
  font-weight: 700;
}

.article-content em {
  color: var(--burgundy);
}

.article-content a {
  color: var(--burgundy);
  transition: color 0.3s ease;
}

.article-content a:hover {
  color: var(--gold);
}

@media (min-width: 768px) {
  .article-content {
    padding: 4rem;
  }
}

.article-footer-bar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.article-footer-bar .tag-info {
  display: flex;
  align-items: center;
  color: var(--charcoal-light);
  font-size: 0.875rem;
  font-family: 'Lora', serif;
  gap: 0.5rem;
}

.article-footer-bar .tag-info svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.article-footer-bar .tag-info a {
  color: var(--burgundy);
  font-weight: 500;
  margin-left: 0.25rem;
}

.article-footer-bar .tag-info a:hover {
  color: var(--gold);
}

.article-footer-bar .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--charcoal);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  transition: color 0.3s ease;
}

.article-footer-bar .back-link:hover {
  color: var(--burgundy);
}

.article-footer-bar .back-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.article-footer-bar .back-link:hover svg {
  transform: translateX(-4px);
}

@media (min-width: 768px) {
  .article-footer-bar {
    flex-direction: row;
  }
}

/* ===== CATEGORY PAGE ===== */
.category-hero {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out;
}

.category-hero .category-badge {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.category-hero .category-badge span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ivory);
}

.category-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.category-hero .article-count {
  font-size: 1.25rem;
  color: var(--charcoal-light);
  font-family: 'Lora', serif;
}

/* Sort Controls */
.sort-controls {
  max-width: 56rem;
  margin: 0 auto 3rem;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
  padding: 1.5rem;
  border: 1px solid var(--cream-dark);
}

.sort-controls .sort-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.sort-controls .sort-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--charcoal);
}

.sort-controls .sort-label svg {
  width: 20px;
  height: 20px;
  color: var(--burgundy);
}

.sort-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sort-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-family: 'Lora', serif;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  background-color: var(--cream);
  color: var(--charcoal);
}

.sort-btn:hover {
  background-color: var(--cream-dark);
}

.sort-btn.active {
  background-color: var(--burgundy);
  color: var(--ivory);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sort-btn svg {
  width: 16px;
  height: 16px;
}

.no-articles {
  text-align: center;
  padding: 6rem 0;
  background-color: rgba(255, 255, 240, 0.5);
  border-radius: 1rem;
  border: 2px dashed var(--cream-dark);
}

.no-articles p {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--charcoal-light);
}

/* ===== ABOUT PAGE ===== */
.about-page {
  background: linear-gradient(to bottom, var(--cream), var(--ivory));
  min-height: 100vh;
}

.about-hero {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease-out;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.about-photo {
  max-width: 56rem;
  margin: 0 auto 4rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.about-photo .photo-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(44, 44, 44, 0.15);
  overflow: hidden;
  border: 4px solid var(--gold);
}

.about-photo .photo-banner {
  background: linear-gradient(135deg, var(--burgundy), var(--charcoal), var(--burgundy));
  position: relative;
  padding: 4rem 2rem;
}

.about-photo .photo-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
}

.about-photo .photo-icon svg {
  width: 128px;
  height: 128px;
  color: var(--gold);
}

.about-photo .photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo .photo-text {
  text-align: center;
  color: var(--ivory);
  position: relative;
}

.about-photo .photo-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about-photo .photo-text p {
  font-size: 1.25rem;
  font-family: 'Lora', serif;
  font-style: italic;
}

.biography-section {
  max-width: 56rem;
  margin: 0 auto 4rem;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.biography-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(44, 44, 44, 0.1);
  padding: 2rem;
  border-left: 4px solid var(--gold);
}

.biography-card h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.biography-card h2 svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.biography-card p {
  color: var(--charcoal-light);
  font-family: 'Lora', serif;
  line-height: 1.8;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .biography-card {
    padding: 3rem;
  }
}

.interests-section {
  max-width: 72rem;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.interests-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 2rem;
}

.interests-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .interests-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .interests-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.interest-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
  padding: 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}

.interest-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
}

.interest-card .interest-icon {
  background: linear-gradient(135deg, var(--burgundy), var(--charcoal));
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.interest-card .interest-icon svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.interest-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.interest-card p {
  color: var(--charcoal-light);
  font-family: 'Lora', serif;
  font-size: 0.875rem;
}

.about-quote {
  max-width: 56rem;
  margin: 4rem auto 0;
  animation: fadeInUp 0.6s ease-out 1s both;
}

.about-quote .quote-box {
  background: linear-gradient(to right, var(--burgundy), var(--charcoal));
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(44, 44, 44, 0.15);
  padding: 2rem;
  text-align: center;
}

.about-quote blockquote {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.about-quote .quote-author {
  color: var(--gold);
  font-family: 'Lora', serif;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .about-quote .quote-box {
    padding: 3rem;
  }
  .about-quote blockquote {
    font-size: 1.875rem;
  }
}

/* ===== 404 PAGE ===== */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
}

.page-404 .error-box {
  text-align: center;
  padding: 2rem;
  background-color: var(--ivory);
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(44, 44, 44, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.page-404 h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.page-404 p {
  color: var(--charcoal-light);
  font-family: 'Lora', serif;
  margin-bottom: 1.5rem;
}

.page-404 .back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--burgundy);
  font-weight: 700;
  transition: color 0.3s ease;
}

.page-404 .back-home:hover {
  color: var(--gold);
}

/* ===== FOCUS STYLES ===== */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== WORDPRESS SPECIFIC ===== */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-family: 'Lora', serif;
  font-size: 0.875rem;
  color: var(--charcoal-light);
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

/* WordPress admin bar offset */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-family: 'Lora', serif;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.pagination a {
  background-color: var(--cream);
  color: var(--charcoal);
}

.pagination a:hover {
  background-color: var(--burgundy);
  color: var(--ivory);
}

.pagination .current {
  background-color: var(--burgundy);
  color: var(--ivory);
}

/* ===== GENERAL PAGE ===== */
.page-content {
  min-height: 60vh;
  padding: 4rem 0;
}

.page-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 1rem;
}
