/* Article Page Styles */
.breadcrumbs {
  background-color: var(--light-bg);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumbs ul {
  display: flex;
  align-items: center;
}

.breadcrumbs li {
  position: relative;
  padding-right: 25px;
  margin-right: 15px;
  color: var(--light-text);
  font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text);
}

.breadcrumbs li:last-child {
  color: var(--primary-color);
  padding-right: 0;
  margin-right: 0;
}

.breadcrumbs a {
  color: var(--light-text);
}

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

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

.article-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.article-content {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-header {
  margin-bottom: 30px;
}

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

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

.article-meta {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: var(--light-bg);
  color: var(--light-text);
  font-size: 0.9rem;
}

.article-header h1 {
  padding: 20px;
  font-size: 2.2rem;
  color: var(--dark-bg);
  font-family: "Playfair Display", serif;
  line-height: 1.3;
}

.article-body {
  padding: 0 20px 30px;
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--dark-bg);
  font-family: "Playfair Display", serif;
}

.article-body p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-color);
}

.article-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.share-buttons {
  display: flex;
  align-items: center;
}

.share-buttons span {
  margin-right: 15px;
  font-weight: 600;
  color: var(--dark-bg);
}

.share-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
  color: white;
}

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

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

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

.share-buttons a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: var(--shadow);
}

.author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.author-image i {
  font-size: 2rem;
  color: var(--primary-color);
}

.author-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-bg);
}

.author-info p {
  color: var(--light-text);
  font-size: 0.95rem;
}

/* Comments Section */
.comments-section {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: var(--shadow);
}

.comments-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark-bg);
  display: flex;
  align-items: center;
}

.comments-section h3 i {
  margin-right: 10px;
  color: var(--primary-color);
}

.comments-list {
  margin-bottom: 30px;
}

.comment-form h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--dark-bg);
}

.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 var(--border-color);
  border-radius: 4px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

/* Article Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: var(--shadow);
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--dark-bg);
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;\
    left 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Related Articles */
.related-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-article {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.related-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-article img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.related-article h4 {
    font-size: 0.95rem;
    transition: var(--transition);
}

.related-article:hover h4 {
    color: var(--primary-color);
}

/* Subscribe Widget */
.subscribe-widget p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.subscribe-form {
    display: flex;
    flex-direction: column;
}

.subscribe-form input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 10px;
    font-family: inherit;
}

.subscribe-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
}

.subscribe-form button:hover {
    background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .article-container {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-image {
        height: 300px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .share-buttons {
        justify-content: center;
    }
}
