/* Love Buzz - Main Stylesheet */

:root {
  --primary-color: #e91e63;
  --secondary-color: #9c27b0;
  --accent-color: #ff4081;
  --text-primary: #333;
  --text-secondary: #666;
  --background: #f5f5f5;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-hover: 0 4px 8px rgba(0,0,0,0.15);
}

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global list reset to prevent square marks */
ul, ol {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
}

li {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
}

/* Remove default button styles that might cause issues */
button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 9999;
  min-height: 60px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: inline-block;
}

.logo-img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-primary);
  font-weight: 500;
}

.language-switch {
  display: flex;
  gap: 0.5rem;
}

.language-switch a {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.875rem;
}

.language-switch a.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-title {
  font-family: 'Pacifico', cursive;
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: normal;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  font-weight: 400;
}

.hero-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.hero-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

/* Article Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.article-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 1.5rem;
}

.article-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.article-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* Single Article */
.article-single {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

.article-header {
  text-align: center;
  margin-bottom: 2rem;
}

.article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-body img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 8px;
}

.article-body h2 {
  margin: 2rem 0 1rem;
  color: var(--primary-color);
}

.article-body p {
  margin-bottom: 1.5rem;
}

/* Sidebar */
.sidebar {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-section h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Writer Profile */
.writer-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--background);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.writer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.writer-info h4 {
  margin-bottom: 0.25rem;
}

.writer-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Section Title */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 3rem 0 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* View All Articles */
.view-all-articles {
  text-align: center;
  margin: 4rem 0 2rem;
}

.view-all-articles .button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.view-all-articles .button:hover {
  background: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-nav a {
  color: var(--white);
  opacity: 0.8;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 1;
}

/* Footer Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-section ul {
  list-style: none;
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
  list-style: none;
  list-style-type: none;
  padding-left: 0;
}

.footer-section a {
  color: var(--white);
  opacity: 0.8;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
}

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

/* Mobile Responsive Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Google AdSense Slots */
.ad-slot {
  background: var(--background);
  border: 1px dashed var(--border-color);
  padding: 1rem;
  text-align: center;
  margin: 2rem 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  background: var(--primary-color);
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 10000;
  border-radius: 4px;
  min-width: 40px;
  min-height: 40px;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 2rem;
}

.mobile-nav a {
  display: block;
  color: var(--white);
  font-size: 1.5rem;
  margin: 1.5rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary-color);
}

.mobile-language-switch {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.mobile-language-switch a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--white);
  border-radius: 25px;
  font-size: 1rem;
  margin: 0;
}

.mobile-language-switch a.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }
  
  .nav-menu {
    display: none;
  }
  
  .language-switch {
    display: none;
  }
  
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .article-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .content-with-sidebar {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Sidebar moves to bottom on mobile */
  .sidebar {
    margin-top: 2rem;
    width: 100%;
  }
  
  /* Main content takes full width */
  .main-content {
    width: 100%;
    max-width: 100%;
  }
  
  /* Article single page adjustments */
  .article-single {
    padding: 1rem;
  }
  
  .article-body {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  /* Author box mobile optimization */
  .author-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .author-icon {
    margin: 0 auto 1rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  /* Container padding adjustment */
  .container {
    padding: 0 15px;
  }
  
  /* Article cards mobile optimization */
  .article-card {
    margin-bottom: 1.5rem;
  }
  
  .article-content {
    padding: 1rem;
  }
  
  .article-title {
    font-size: 1.1rem;
  }
  
  .article-excerpt {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }
  
  /* Page header mobile */
  .page-header {
    padding: 2rem 0;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  /* Share buttons mobile */
  .share-buttons {
    margin: 2rem 0;
    padding: 1rem;
  }
  
  .share-button {
    font-size: 0.875rem;
    padding: 0.4rem 1rem;
    margin: 0.25rem 0.15rem;
  }
  
  /* Footer mobile optimization */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-grid {
    gap: 1.5rem;
  }
  
  /* Hide ad slots on mobile for better UX */
  .ad-slot {
    margin: 1rem 0;
    min-height: 50px;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Content with Sidebar Layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  margin: 2rem 0;
}

.main-content {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure images don't overflow */
.main-content img {
  max-width: 100%;
  height: auto;
}

/* Category List */
.category-list {
  list-style: none;
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.5rem;
  list-style: none;
  list-style-type: none;
  padding-left: 0;
}

.category-list a {
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.category-list a:hover {
  background: var(--background);
}

/* Writers List */
.writers-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.writer-link {
  display: block;
  padding: 1rem;
  background: var(--background);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.writer-link:hover {
  transform: translateX(4px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
}

.pagination a {
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  transition: background 0.3s ease;
}

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

.page-numbers {
  font-weight: 500;
}

/* Article Detail Page */
.article-header {
  margin-bottom: 2rem;
}

.article-main-image {
  margin: 2rem 0;
}

.article-main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-sub-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 1rem 0;
  border-radius: 8px;
}


.share-buttons {
  margin: 3rem 0;
  padding: 1.5rem;
  background: var(--background);
  border-radius: 8px;
  text-align: center;
}

.share-buttons h4 {
  margin-bottom: 1rem;
}

.share-button {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  margin: 0.25rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: var(--text-primary);
}

.share-button:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--secondary-color);
}

.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

/* Author Profile Box */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--background);
  border-radius: 12px;
  margin-top: 3rem;
  box-shadow: var(--shadow);
}

.author-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: block;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-info h4 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-size: 1.25rem;
  display: inline-block;
}

.author-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0;
}

/* Article Inline Images */
.article-image-inline {
  margin: 2rem 0;
  text-align: center;
}

.article-image-inline img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Writer Profile Page */
.writer-profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

.writer-profile-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.writer-profile-info {
  flex: 1;
}

.writer-profile-info h1 {
  margin-bottom: 0.5rem;
  color: var(--white);
}

.writer-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.writer-bio {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.writer-stats {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.writer-introduction {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 3rem;
}

.writer-introduction h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-title {
  margin: 2rem 0;
  text-align: center;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .writer-profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .writer-stats {
    justify-content: center;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  /* Article images full width on mobile */
  .article-image-inline img {
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
    max-width: none;
  }
  
  /* Force sidebar to bottom on mobile */
  .content-with-sidebar {
    display: block !important;
  }
  
  .sidebar {
    display: block !important;
    margin-top: 3rem;
    width: 100%;
  }
  
  /* Article images responsive */
  .article-main-image img,
  .article-sub-image {
    width: 100% !important;
    height: auto !important;
  }
}

/* Fix for hero to content spacing */
.hero + main .section-title:first-child {
  margin-top: 2rem;
}

/* Fix for potential font rendering issues */
body, button, input, select, textarea {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Ensure no empty content is shown */
.share-buttons button {
  font-family: inherit;
}

/* Category list fix */
.category-list li,
.footer-section ul li {
  position: relative;
}

/* Remove any potential pseudo-elements that might cause squares */
.category-list li::before,
.category-list li::after,
.footer-section ul li::before,
.footer-section ul li::after,
.share-buttons::before,
.share-buttons::after,
.article-main-image::before,
.article-main-image::after {
  content: none !important;
  display: none !important;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Google AdSense */
.ad-slot {
    margin: 30px 0;
    text-align: center;
    min-height: 100px; /* 広告が読み込まれるまでのスペース確保 */
}

.adsense-container {
    margin: 20px 0;
    text-align: center;
}

/* 記事内の広告の余白調整 */
.article-content .ad-slot {
    margin: 40px 0;
}

/* サイドバーの広告 */
.sidebar .ad-slot {
    margin: 20px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .ad-slot {
        margin: 20px 0;
    }
}

/* Related Articles Section */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e5e7eb;
}

.related-articles .section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #1a202c;
}

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

.related-articles .article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.related-articles .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-articles .article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-articles .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-articles .article-content {
    padding: 20px;
}

.related-articles .article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #1a202c;
}

.related-articles .article-content p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-articles .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #718096;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .related-articles .article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-articles {
        margin-top: 40px;
        padding-top: 30px;
    }
}