/**
 * Audifort Theme - Additional Styles
 *
 * @package Audifort_Theme
 */

/* WordPress Specific */
.custom-logo {
  max-height: 50px;
  width: auto;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 16px;
}

.wp-caption-text {
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
  padding: 8px 0;
}

.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 16px;
}

.alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 16px;
}

.aligncenter {
  display: block;
  margin: 0 auto 16px;
}

/* Post Cards */
.post-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  transition: all 0.2s;
}

.post-card:hover {
  box-shadow: var(--shadow-md);
}

.post-card h2 {
  margin-bottom: 8px;
}

.post-card h2 a {
  color: var(--gray-900);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--blue);
}

.post-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.post-thumb {
  margin-bottom: 16px;
}

.post-thumb img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.post-thumb-large {
  margin-bottom: 24px;
}

.post-thumb-large img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.post-excerpt {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.7;
}

/* Single Post Content */
.page-content,
.post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-700);
}

.page-content h2,
.post-content h2 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.page-content h3,
.post-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-content p,
.post-content p {
  margin-bottom: 20px;
}

.page-content ul,
.post-content ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.page-content li,
.post-content li {
  margin-bottom: 8px;
}

.page-content blockquote,
.post-content blockquote {
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray-600);
}

.page-content img,
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Post Navigation */
.post-navigation {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.post-navigation .nav-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-400);
  display: block;
  margin-bottom: 4px;
}

.post-navigation .nav-title {
  color: var(--gray-800);
  font-weight: 600;
}

.post-navigation a {
  text-decoration: none;
}

.post-navigation a:hover .nav-title {
  color: var(--blue);
}

/* Comments */
.comments-area {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-body {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-meta img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment-meta .comment-author {
  font-weight: 700;
  color: var(--gray-800);
}

.comment-meta .comment-date {
  font-size: 12px;
  color: var(--gray-400);
}

.comment-content {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
}

.reply-link {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

/* Widget Areas */
.widget {
  margin-bottom: 24px;
}

.widget-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
}

.widget li a {
  color: var(--gray-600);
  text-decoration: none;
}

.widget li a:hover {
  color: var(--blue);
}

/* Responsive */
@media (max-width: 768px) {
  .post-navigation .nav-links {
    flex-direction: column;
    gap: 16px;
  }
}
