/* ===== SINGLE POST LAYOUT ===== */

/* Single post layout wrapper */
.single-post-layout {
  padding: 0 20px 40px;
}

/* Let parent wrap (site-content) control top spacing so sidebar aligns */
.single .site-content {
  padding-top: 40px;
}

.single-post-content {
  background: #fff;
  padding: 40px;
  margin-bottom: 40px;
}

/* Breadcrumbs */
.post-breadcrumbs {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--text) 60%, #000);
  margin-bottom: 20px;
}

.post-breadcrumbs a {
  color: color-mix(in srgb, var(--text) 60%, #000);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* Post title */
.post-header {
  margin-bottom: 24px;
}

.single-post-content .post-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 24px 0;
}

/* Author meta section - inline with rounded border */
.post-author-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 30px ;
  height: 30px ;
  border-radius: 50% ;
}

.author-info {
  display: flex ;
  align-items: center ;
  gap: 8px ;
  flex-wrap: wrap ;
  font-family: "Inter", sans-serif ;
  font-size: 0.8rem ;
  color: #000 ;
}

.author-name {
  display: flex;
  align-items: center ;
  gap: 4px;
}

.author-label,
.date-label {
  font-weight: 700;
  color: #000;
}

.author-name a {
  font-weight: 400;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.author-name a:hover {
  color: var(--accent);
}

.post-date {
  display: flex;
  align-items: center ;
  gap: 4px;
}

/* Post content wrapper */
.post-content-wrapper {
  font-family: "Lora", serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.post-content-wrapper p {
  margin-bottom: 1.5rem;
}

/* Featured image injected via filter */
.post-featured-image {
  margin: 32px 0;
  text-align: center;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

/* Responsive design */
@media (max-width: 768px) {
  .single-post-layout {
    padding: 0 16px 20px;
  }
  .single .site-content {
    padding-top: 20px;
  }
  
  .single-post-content {
    padding: 24px;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-author-meta {
    flex-direction: row ;
    gap: 12px ;
  }
  
  .author-info {
    flex-direction: row ;
    gap: 2px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.75rem;
  }
  
  .author-avatar img {
    width: 30px;
    height: 30px;
  }
}

/* ===== ABOUT THE AUTHOR WIDGET ===== */

.about-author-widget {
  background: #FFF;
  padding: 40px;
  margin-bottom: 40px;
}

/* Horizontal layout */
.about-author-horizontal {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-author-horizontal .author-image-wrapper {
  flex-shrink: 0;
}

.about-author-horizontal .author-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

.about-author-horizontal .author-content {
  flex: 1;
  text-align: left;
}

/* Vertical layout */
.about-author-vertical {
  text-align: center;
}

.about-author-vertical .author-image-wrapper {
  margin-bottom: 24px;
}

.about-author-vertical .author-name {
    justify-content: center;
}

.about-author-vertical .author-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}

.about-author-vertical .author-content {
  text-align: center;
}

/* Common styles */
.about-author-widget .author-heading {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000;
  margin: 0 0 8px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-author-widget .author-name {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 16px 0;
}

.about-author-widget .author-bio {
  font-family: "Lora", serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
  margin: 0 0 24px 0;
}

.about-author-widget .author-cta-button {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: background 0.3s ease;
}

.about-author-widget .author-cta-button:hover {
  background: var(--accent);
  color: #fff;
}

.about-author-widget .author-social-links {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

.about-author-vertical .author-social-links {
  justify-content: center;
}

.about-author-widget .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.about-author-widget .social-icon:hover {
  transform: scale(1.1);
}

.about-author-widget .social-icon.facebook {
  background-color: #1877f2;
}

.about-author-widget .social-icon.instagram {
  background-color: #e4405f;
}

.about-author-widget .social-icon.pinterest {
  background-color: #bd081c;
}

.about-author-widget .social-icon.tiktok {
  background-color: #000;
}

.about-author-widget .social-icon.youtube {
  background-color: #ff0000;
}

/* Responsive */
@media (max-width: 768px) {
  .about-author-widget {
    padding: 24px;
  }
  
  .about-author-horizontal {
    flex-direction: column;
    gap: 24px;
  }
  
  .about-author-horizontal .author-content {
    text-align: center;
  }
  
  .about-author-horizontal .author-avatar {
    width: 150px;
    height: 150px;
  }
  
  .about-author-horizontal .author-social-links,
  .about-author-vertical .author-social-links {
    justify-content: center;
  }
  
  .about-author-widget .author-name {
    font-size: 1.5rem;
  }
}

/* ===== COMMENTS SECTION ===== */

/* Comments area wrapper */
.comments-area {
  margin-top: 40px;
  padding: 0 !important;
}



/* Comment form styling */
#respond {
  background: #fefefe;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-1);
  position: relative;
}

#respond::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, #ddd 10px, #ddd 11px), repeating-linear-gradient(-45deg, transparent, transparent 10px, #ddd 10px, #ddd 11px);
  border-radius: var(--radius);
  z-index: -1;
}

/* Comment form title */
#respond .comment-reply-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #000;
}

/* Comment notes */
#respond .comment-notes,
#respond .comment-notes-before {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--text) 70%, #000);
  margin-bottom: 24px;
}

/* Comment form fields wrapper */
#respond .comment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Individual form fields */
#respond .comment-form-comment,
#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Labels */
#respond label {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #000;
}

/* Textarea and input fields */
#respond textarea,
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  resize: vertical;
}

#respond textarea:focus,
#respond input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Textarea specific styling */
#respond textarea {
  min-height: 120px;
}

/* Submit button */
#respond .form-submit {
  margin-top: 12px;
}

#respond #submit {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#respond #submit:hover {
  background: var(--accent);
}

/* Cookie consent checkbox */
#respond .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--text) 80%, #000);
  line-height: 1.5;
}

#respond .comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

#respond .comment-form-cookies-consent label {
  font-weight: 400;
}

/* Comments list styling */
#comments {
  margin-top: 40px;
}

#comments .comments-title {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 24px;
}

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

#comments .comment {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  box-shadow: var(--shadow-1);
}

#comments .comment-body {
  display: flex;
  gap: 16px;
}

#comments .comment-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#comments .comment-author {
  font-weight: 600;
}

/* Responsive adjustments for comments */
@media (max-width: 768px) {
  #respond {
    padding: 24px;
  }
  
  #respond .comment-reply-title {
    font-size: 1.5rem;
  }
  
  #comments .comment-body {
    flex-direction: column;
  }
}
