/* Genel Stil */
:root {
  --primary-color: #006369;
  /* Petrol yeşili */
  --secondary-color: #00474b;
  /* Koyu petrol yeşili */
  --accent-color: #8da399;
  /* Açık ton */
  --light-color: #f2f7f5;
  /* Açık arka plan rengi */
  --dark-color: #1a2c2c;
  /* Koyu metin rengi */
  --text-color: #333333;
  --border-color: #e1e8e3;
  --shadow-color: rgba(0, 99, 105, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", "Times New Roman", serif;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

section {
  padding: 20px 0;
}

/* Header Stili */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 20px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: "Merriweather", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.menu {
  display: flex;
  list-style: none;
}

.menu li {
  margin-left: 30px;
}

.menu a {
  font-family: "Merriweather", "Times New Roman", serif;
  color: var(--dark-color);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 0;
  position: relative;
}

.menu a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.menu a:hover:after,
.menu a.active:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Bölümü */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  margin-top: 80px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  color: white;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Uzmanlık Alanları */
.practice-areas {
  background-color: var(--light-color);
  text-align: center;
}

.practice-areas h2 {
  margin-bottom: 50px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.area-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.area-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.area-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.area-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
  position: relative;
}

.read-more:after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover:after {
  transform: translateX(5px);
}

/* Hakkımızda Önizleme */
.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
}

/* Hakkımızda Sayfası - Resim Galerisi */
.about-image-gallery {
  position: relative;
  width: 90%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px var(--shadow-color);
  margin: 0 auto;
  margin-top: 30px;
}

.gallery-slider {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.gallery-item {
  width: 33.333%;
  height: 100%;
  flex-shrink: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-navigation {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.gallery-arrow:hover {
  background-color: var(--primary-color);
  color: white;
}

.gallery-prev {
  left: 15px;
}

.gallery-next {
  right: 15px;
}

/* Müvekkil Görüşleri */
.testimonials {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.testimonials h2 {
  color: white;
  margin-bottom: 50px;
}

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

.testimonial {
  padding: 0 30px;
}

.quote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 20px;
}

.author {
  font-weight: 600;
}

/* Makaleler */
.latest-articles h2 {
  text-align: center;
  margin-bottom: 50px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.article-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.article-image {
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-content {
  padding: 25px;
}

.date {
  display: block;
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.article-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.see-all {
  text-align: center;
  margin-top: 30px;
}

/* İletişim Bilgileri */
.contact-info {
  background-color: var(--light-color);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}

.contact-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
  text-align: center;
}

.contact-card i {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-card h3 {
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 70px 0 20px;
}

.footer-social .social-icons {
  justify-content: flex-start;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 15px;
}

footer h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: rgba(255, 255, 255, 0.7);
}

footer ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Tasarım */
@media (max-width: 992px) {
  section {
    padding: 30px 0;
  }

  .hero h1 {
    font-size: 40px;
  }

  .about-preview .container {
    grid-template-columns: 1fr;
  }

  .about-content {
    order: 2;
  }

  .about-image {
    order: 1;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu li {
    margin: 0;
  }

  .menu a {
    display: block;
    padding: 10px 15%;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .areas-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

.member-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: contain;
}

/* İletişim Sayfası Düzeni */
.contact-section {
  padding: 70px 0;
}

.contact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.contact-info-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.contact-card {
  background-color: #f9f9f9;
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.contact-card i {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-card p,
.contact-card a {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--text-color);
}

.contact-card a:hover {
  color: var(--primary-color);
}

.contact-social {
  background-color: #f9f9f9;
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
  text-align: center;
  grid-column: 1 / -1;
}

.contact-social h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-social .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.contact-social .social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.contact-social .social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.contact-form-box {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px var(--shadow-color);
}

.contact-form-box h3 {
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-group.checkbox label {
  font-size: 14px;
  font-weight: normal;
}

/* Responsive düzen */
@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-info-box {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .contact-info-box {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .contact-info-box {
    grid-template-columns: 1fr;
  }
}

/* FAQ Bölümü */
.faq-section {
  background-color: var(--light-color);
  padding: 70px 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.faq-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px var(--shadow-color);
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: var(--dark-color);
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.faq-question:hover h3 {
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
}

.faq-answer p {
  margin: 0;
  line-height: 1.7;
}

/* Map Bölümü */
.map-section {
  padding: 70px 0;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
}

@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 16px;
  }
}

/* İletişim Sayfası */
.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.contact-info-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.contact-card {
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 15px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px var(--shadow-color);
}

.contact-card i {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.contact-card p {
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
}

.contact-social {
  grid-column: span 2;
  background-color: var(--primary-color);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 15px var(--shadow-color);
}

.contact-social h3 {
  color: white;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.social-icons i {
  font-size: 20px;
  color: white;
}

.contact-form {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 3px 15px var(--shadow-color);
}

.contact-form h3 {
  margin-bottom: 20px;
  color: var(--dark-color);
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--dark-color);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
}

@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-form {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .contact-info-box {
    grid-template-columns: 1fr;
  }

  .contact-social {
    grid-column: span 1;
  }
}

/* Makaleler sayfası filtre butonları */
.articles-filter {
  margin-bottom: 40px;
  text-align: center;
}

.articles-filter h3 {
  margin-bottom: 20px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.filter-buttons button {
  background-color: white;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-buttons button:hover,
.filter-buttons button.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Makale öğeleri */
.article-item {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.article-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.article-item .article-image {
  height: 240px;
  overflow: hidden;
}

.article-item .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-item:hover .article-image img {
  transform: scale(1.1);
}

.article-item .article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-item .category {
  display: inline-block;
  background-color: var(--light-color);
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 10px;
}

.article-item .date {
  display: inline-block;
  font-size: 14px;
  color: #777;
}

.article-item h3 {
  margin: 15px 0;
  font-size: 20px;
}

.article-item h3 a {
  color: var(--dark-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.article-item h3 a:hover {
  color: var(--primary-color);
}

.article-item p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-author {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.article-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.article-author span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .filter-buttons button {
    width: 100%;
    max-width: 200px;
  }
}

/* ===== Article Detail Page ===== */
.article-detail-header {
  position: relative;
  padding: 150px 0 50px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  margin-top: -80px;
}

.article-detail-header > .container {
  background-color: #00000050;
  backdrop-filter: blur(8px);
  border-radius: 8px;
}

.article-detail-header > .container > h1 {
  color: white;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 14px;
}

.article-meta .author {
  display: flex;
  align-items: center;
}

.article-meta .author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

.article-content {
  padding: 60px 0;
}

.article-detail-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.article-detail-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.article-detail-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.article-detail-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.article-detail-content ul,
.article-detail-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-detail-content li {
  margin-bottom: 10px;
}

.article-detail-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  font-style: italic;
  margin: 30px 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.article-tags a {
  display: inline-block;
  background-color: var(--light-color);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.article-tags a:hover {
  background-color: var(--primary-color);
  color: white;
}

.related-articles {
  background-color: var(--light-color);
  padding: 60px 0;
}

.related-articles h2 {
  text-align: center;
  margin-bottom: 40px;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.share-section {
  margin-top: 40px;
  text-align: center;
}

.share-section h3 {
  margin-bottom: 15px;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.share-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.share-buttons a.facebook {
  background-color: #3b5998;
}

.share-buttons a.twitter {
  background-color: #1da1f2;
}

.share-buttons a.linkedin {
  background-color: #0077b5;
}

.share-buttons a.whatsapp {
  background-color: #25d366;
}

.share-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* ===== Ghost Integration ===== */
.ghost-state {
  width: 100%;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  background-color: var(--light-color);
  color: var(--dark-color);
}

.ghost-state.loading {
  border: 1px dashed var(--accent-color);
}

.ghost-state.error {
  border: 1px solid #d9534f;
  color: #8a1f1c;
  background-color: #fdf2f2;
}

.ghost-state.empty {
  border: 1px dashed var(--border-color);
}

.article-image-fallback {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--light-color), #e7efeb);
  color: var(--primary-color);
  text-align: center;
  padding: 20px;
}

.article-image-fallback i {
  font-size: 38px;
}

.article-image-fallback span {
  font-weight: 600;
  line-height: 1.4;
}

.author-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--primary-color);
  font-weight: 700;
}

.article-tags span {
  display: inline-block;
  background-color: var(--light-color);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.article-detail-content figure {
  margin: 24px 0;
}

.article-detail-content figure img {
  width: 100%;
  border-radius: 8px;
}

.article-detail-content figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.article-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  overflow-x: auto;
  display: block;
}

.article-detail-content th,
.article-detail-content td {
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  text-align: left;
}

.article-detail-content th {
  background-color: var(--light-color);
}

.article-detail-content hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 24px 0;
}

@media (max-width: 768px) {
  .article-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .article-detail-content {
    max-width: 100%;
  }
}
