/* Blog-Specific Styles for PayLoadz WordPress Theme */
/* Airbnb Design System Inspired */

/* Hero Section */
.hero-section {
  background: var(--color-shade-01);
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-heading {
  font-size: 3rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-shade-02);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subheading {
  font-size: 1.125rem;
  color: var(--color-neutral-07);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

/* Hero Search Container */
.hero-search-container {
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Category Chips Container */
.category-chips-container {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.category-chips-container .chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.hero-search-form {
  width: 100%;
}

.hero-search {
  display: flex;
  align-items: center;
  background: #f6f6f6;
  border: 1px solid var(--color-neutral-03);
  border-radius: 2rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  transition: border-color 0.2s ease;
}

.hero-search:hover {
  border-color: var(--color-neutral-05);
}

.hero-search:focus-within {
  border-color: var(--color-shade-02);
}

.hero-search .nav-expanded-section {
  flex: 1;
  padding: 0;
  cursor: text;
  border: none;
  background: transparent;
}

.hero-search-input {
  width: 100%;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  font-size: 0.8125rem;
  font-weight: 590;
  color: var(--color-shade-02);
  font-family: var(--font-family-primary);
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.hero-search-input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

.hero-search-input:hover {
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

.hero-search-input::placeholder {
  color: #222222;
  font-size: 0.8125rem;
  font-weight: 590;
}

.hero-search .nav-expanded-button {
  width: 48px;
  height: 48px;
  background: var(--color-primary-02);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
  min-width: 48px;
  min-height: 48px;
  box-sizing: border-box;
  box-shadow: none;
  filter: none;
  outline: none;
}

.hero-search .nav-expanded-button:hover {
  background: #d63384;
  transform: scale(1.05);
  box-shadow: none;
  filter: none;
}

.hero-search .nav-expanded-button-icon {
  width: 20px;
  height: 20px;
  fill: white;
  color: white;
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem 2rem;
  }
  
  .hero-heading {
    font-size: 2rem;
  }
  
  .hero-subheading {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-search-container {
    max-width: 100%;
  }
  
  .hero-search {
    padding: 0.5rem 0.5rem 0.5rem 1rem;
  }
  
  .hero-search .nav-expanded-button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}

/* Main Content Area */
.site-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
}

/* Homepage Full Width Layout */
body.home .site-content {
  grid-template-columns: 1fr;
  max-width: 1280px;
}

/* Category Sections */
.category-section {
  margin-bottom: 4rem;
}

.category-section:first-of-type {
  margin-top: 1rem;
}

.category-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.category-section-title {
  font-size: 1.75rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-shade-02);
  margin: 0;
  line-height: 1.2;
}

.category-show-all {
  display: inline-flex;
  align-items: center;
  color: #717171;
  text-decoration: underline;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  transition: color 0.2s ease;
}

.category-show-all:hover {
  text-decoration: underline;
  color: #222222;
}

/* Mobile adjustments for category sections */
@media (max-width: 768px) {
  .category-section {
    margin-bottom: 3rem;
  }
  
  .category-section-title {
    font-size: 1.5rem;
  }
  
  .category-show-all {
    font-size: 0.8125rem;
  }
}

/* PayLoadz Services Section */
.payloadz-services-section {
  margin-top: 6rem;
  margin-bottom: 4rem;
}

.services-section-title {
  font-size: 1.75rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-shade-02);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.services-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.service-item {
  width: 632px;
  height: 104px;
}

.service-card {
  background: #f4f4f4;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  transition: background-color 0.2s ease;
  width: 100%;
  height: 100%;
}

.service-card:hover {
  background: #e8e8e8;
}

.service-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.service-content {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.service-icon {
  flex-shrink: 0;
  color: var(--color-primary-02);
}

.service-info {
  flex: 1;
}

.service-title {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-shade-02);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.service-description {
  font-size: 0.875rem;
  color: var(--color-neutral-07);
  line-height: 1.4;
  display: block;
}

/* Mobile Services */
@media (max-width: 768px) {
  .payloadz-services-section {
    margin-top: 4rem;
    margin-bottom: 3rem;
  }
  
  .services-section-title {
    font-size: 1.5rem;
  }
  
  .services-list {
    flex-direction: column;
    gap: 1rem;
    max-width: 632px;
  }
  
  .service-item {
    width: 100%;
    max-width: 632px;
    height: 104px;
  }
  
  .service-content {
    padding: 1.5rem 2rem;
  }
  
  .service-title {
    font-size: 1rem;
  }
  
  .service-description {
    font-size: 0.8125rem;
  }
}

.content-area {
  min-width: 0;
}

/* Full Width Template */
.fullwidth-template .site-content {
  grid-template-columns: 1fr;
  max-width: 1200px;
}

.fullwidth-template .single-post-container {
  max-width: 100%;
}

/* Single Post Layout */
.single-post-container {
  max-width: 800px;
  margin: 0 auto;
}

.single-post-header {
  margin-bottom: 2rem;
}

.single-post-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-shade-02);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  color: var(--color-neutral-07);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-neutral-03);
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.post-meta-item a {
  color: var(--color-neutral-07);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

.post-meta-item a:hover {
  color: var(--color-primary-02);
}

/* Post Content */
.post-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-shade-02);
  margin: 2rem 0;
}

.post-content h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post-content h3 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

.post-content img {
  border-radius: 0.75rem;
  margin: 2rem 0;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid var(--color-primary-02);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-neutral-08);
}

.post-content pre {
  background: var(--color-neutral-01);
  border: 1px solid var(--color-neutral-03);
  border-radius: 0.5rem;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 0.9375rem;
}

.post-content code {
  background: var(--color-neutral-02);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.9375rem;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
}

.post-content pre code {
  background: transparent;
  padding: 0;
}

/* Post Tags */
.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-neutral-03);
}

.post-tags a {
  display: inline-flex;
  padding: 0.375rem 0.875rem;
  background: var(--color-neutral-02);
  color: var(--color-shade-02);
  border-radius: 1.5rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: all 0.2s ease;
}

.post-tags a:hover {
  background: var(--color-primary-02);
  color: var(--color-shade-01);
}

/* Comments Section */
.comments-area {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-neutral-03);
}

.comments-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 2rem;
}

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

.comment {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--color-shade-01);
  border: 1px solid var(--color-neutral-03);
  border-radius: 0.75rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.comment-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.comment-author-name {
  font-weight: var(--font-weight-semibold);
  color: var(--color-shade-02);
}

.comment-date {
  font-size: 0.875rem;
  color: var(--color-neutral-07);
}

.comment-content {
  margin-top: 0.75rem;
  line-height: 1.6;
  color: var(--color-shade-02);
}

.comment-reply-link {
  font-size: 0.875rem;
  color: var(--color-link);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  margin-top: 0.5rem;
  display: inline-block;
}

.comment-reply-link:hover {
  color: var(--color-primary-02);
}

/* Comment Form */
.comment-form {
  margin-top: 3rem;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
  margin-bottom: 1.5rem;
}

.comment-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-shade-02);
  margin-bottom: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--color-neutral-06);
  border-radius: 0.5rem;
  padding: 0.875rem;
  font-family: var(--font-family-primary);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--color-shade-02);
  box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

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

.form-submit {
  margin-top: 1.5rem;
}

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

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0.5rem;
  border: 1px solid var(--color-neutral-03);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-shade-02);
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: var(--color-neutral-01);
  border-color: var(--color-shade-02);
  text-decoration: none;
}

.pagination .current {
  background: var(--color-shade-02);
  color: var(--color-shade-01);
  border-color: var(--color-shade-02);
}

/* Responsive */
@media (max-width: 1024px) {
  .site-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .site-content {
    padding: 2rem 1rem;
  }
  
  .single-post-title {
    font-size: 2rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .post-content {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .single-post-title {
    font-size: 1.5rem;
  }
  
  .comment {
    padding: 1rem;
  }
}

