/* Wandering & Washing Custom Styles */

/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --color-background: #FAF9F7;
  --color-foreground: #2A2826;
  --color-primary: #A0675B;
  --color-primary-hover: #8D5A4F;
  --color-secondary: #D4B5A7;
  --color-accent: #C17A5F;
  --color-muted: #E8E4DF;
  --color-muted-foreground: #6B6561;
  --color-border: #EFEBE6;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Container */
  --container-max-width: 1152px;
  --container-padding: 1.5rem;
}

@media (min-width: 768px) {
  :root {
    --container-padding: 3rem;
  }
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Layout ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 5rem 0;
}

/* ===== Navigation ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-padding);
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

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

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 200ms ease;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-foreground);
  transition: all 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: var(--color-background);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    gap: 1rem;
    z-index: 55;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: background-color 200ms ease;
  }

  .nav-menu a:hover {
    background-color: var(--color-muted);
  }
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(to bottom, rgba(212, 181, 167, 0.3), var(--color-background));
  padding: 5rem 0 8rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  color: var(--color-foreground);
}

.hero-title .highlight {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.hero-stat-value {
  font-weight: 700;
  color: var(--color-foreground);
  display: block;
}

.hero-image {
  position: relative;
  height: 20rem;
}

@media (min-width: 768px) {
  .hero-image {
    height: 24rem;
  }
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  transition: all 200ms ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  opacity: 0.9;
  color: #FFFFFF;
}

.btn-secondary {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-secondary:hover {
  background-color: rgba(160, 103, 91, 0.05);
  color: var(--color-primary);
}

/* ===== Featured Posts Section ===== */
.posts-section {
  background-color: var(--color-background);
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
}

.posts-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  cursor: pointer;
  transition: transform 200ms ease;
}

.post-card:hover .post-title {
  color: var(--color-primary);
}

.post-image-container {
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--color-muted);
  height: 12rem;
}

.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.post-card:hover .post-image {
  transform: scale(1.05);
}

.post-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.post-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(212, 181, 167, 0.2);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.post-read-time {
  color: var(--color-muted-foreground);
  font-size: 0.75rem;
}

.post-title {
  font-size: 1.25rem;
  transition: color 200ms ease;
}

.post-excerpt {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
}

.post-date {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

.section-cta {
  text-align: center;
  padding-top: 2rem;
}

/* ===== Categories Section ===== */
.categories-section {
  background-color: rgba(212, 181, 167, 0.1);
}

.categories-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-card {
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all 200ms ease;
  cursor: pointer;
  background-color: var(--color-background);
}

.category-card-link:hover .category-card {
  border-color: var(--color-primary);
  background-color: rgba(160, 103, 91, 0.05);
}

.category-icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: transform 200ms ease;
}

.category-card-link:hover .category-icon {
  transform: scale(1.1);
}

.category-icon svg {
  width: 2rem;
  height: 2rem;
}

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

.category-description {
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}

.category-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--color-primary);
  color: #FFFFFF;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section p {
  opacity: 0.9;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-tagline {
  opacity: 0.75;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.875rem;
  transition: opacity 200ms ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #FFFFFF;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
  font-size: 0.875rem;
  transition: opacity 200ms ease;
}

.footer-contact a:hover {
  opacity: 1;
  color: #FFFFFF;
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  opacity: 0.75;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  transition: opacity 200ms ease;
}

.footer-legal a:hover {
  opacity: 1;
  color: #FFFFFF;
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

/* ===== Individual Post Page ===== */
.post-page {
  padding: 3rem 0;
}

.post-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.post-meta-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.post-page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.post-author-info {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
}

.post-featured-image {
  max-width: 1000px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-content-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-foreground);
}

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

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

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

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

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

.post-content-body strong {
  font-weight: 600;
  color: var(--color-foreground);
}

.post-content-body em {
  font-style: italic;
}

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

.post-content-body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.post-content-body a:hover {
  color: var(--color-primary-hover);
}

.post-content-body hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 3rem 0;
}

.post-footer-nav {
  max-width: 800px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* ===== Posts Archive Page ===== */
.posts-archive-header {
  background: linear-gradient(to bottom, rgba(212, 181, 167, 0.2), var(--color-background));
  padding: 4rem 0 3rem;
  text-align: center;
}

.archive-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.archive-subtitle {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
}

.post-card a {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* ===== Blog Archive / Search Page ===== */
.blog-controls {
  background-color: var(--color-background);
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.search-filter-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .search-filter-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-foreground);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--color-background);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(160, 103, 91, 0.1);
}

.category-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  color: var(--color-foreground);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.results-count {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
}

.results-count span {
  font-weight: 600;
  color: var(--color-foreground);
}

/* Blog Archive Section */
.blog-archive-section {
  padding-top: 2rem;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.post-list-item {
  transition: transform 200ms ease;
}

.post-list-link {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all 200ms ease;
  background-color: var(--color-background);
}

.post-list-link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(160, 103, 91, 0.1);
  transform: translateY(-2px);
}

.post-list-image {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-muted);
}

.post-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.post-list-link:hover .post-list-image img {
  transform: scale(1.05);
}

.post-list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.post-list-title {
  font-size: 1.5rem;
  margin: 0;
  transition: color 200ms ease;
}

.post-list-link:hover .post-list-title {
  color: var(--color-primary);
}

.post-list-excerpt {
  color: var(--color-muted-foreground);
  line-height: 1.6;
  margin: 0;
}

.read-more-link {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.875rem;
  margin-top: auto;
}

.post-list-link:hover .read-more-link {
  text-decoration: underline;
}

/* No Results State */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--color-muted-foreground);
}

.no-results svg {
  margin-bottom: 1rem;
  opacity: 0.3;
}

.no-results h3 {
  font-size: 1.5rem;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}

.no-results p {
  max-width: 400px;
  margin: 0;
}

/* ===== Legal Pages (Privacy, Terms) ===== */
.legal-page {
  padding: 4rem 0;
  min-height: 60vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.legal-content h2:first-of-type {
  border-top: none;
  margin-top: 2rem;
}

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

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .nav-menu {
    gap: 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .post-content-body {
    font-size: 1rem;
  }

  .post-header {
    text-align: left;
  }

  .post-meta-info {
    justify-content: flex-start;
  }

  .post-list-link {
    flex-direction: column;
    gap: 1rem;
  }

  .post-list-image {
    width: 100%;
    height: 200px;
  }

  .search-box {
    max-width: 100%;
  }

  .category-filter {
    width: 100%;
  }

  .filter-btn {
    flex: 1;
    min-width: fit-content;
  }
}

/* ===== Post Type Specific Styles ===== */

/* Post Type Badges */
.post-type-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.video-badge {
  background-color: #E3F2FD;
  color: #1565C0;
}

.gallery-badge {
  background-color: #F3E5F5;
  color: #6A1B9A;
}

.rant-badge {
  background-color: #FFEBEE;
  color: #C62828;
}

.howto-badge {
  background-color: #E8F5E9;
  color: #2E7D32;
}

/* ===== Video Post Styles ===== */

.video-post .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin: var(--space-xl) 0;
  background-color: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-post .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-md);
  background-color: var(--color-muted);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.video-chapters {
  background-color: var(--color-background);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.video-chapters h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-foreground);
  margin-bottom: var(--space-md);
}

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

.video-chapters li {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.video-chapters li:last-child {
  border-bottom: none;
}

.chapter-time {
  font-family: monospace;
  font-weight: 600;
  color: var(--color-primary);
  min-width: 60px;
}

.chapter-title {
  color: var(--color-foreground);
}

/* ===== Gallery Post Styles ===== */

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-muted);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: var(--space-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.gallery-caption p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.5;
  margin: 0;
}

.photo-details {
  background-color: var(--color-muted);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.photo-details h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-foreground);
  margin-bottom: var(--space-md);
}

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

.photo-details li {
  padding: var(--space-sm) 0;
  color: var(--color-muted-foreground);
}

/* ===== Rant Post Styles ===== */

.rant-post .rant-header {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-md);
}

.rant-warning {
  background-color: #FFF3E0;
  border-left: 4px solid #F57C00;
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.rant-content {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.rant-content h2 {
  color: var(--color-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.rant-content h3 {
  color: var(--color-foreground);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.rant-content strong {
  color: var(--color-primary);
  font-weight: 600;
}

.rant-disclaimer {
  background-color: var(--color-muted);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-muted-foreground);
}

/* ===== How-To Post Styles ===== */

.howto-meta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.difficulty {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
}

.difficulty-easy {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.difficulty-medium {
  background-color: #FFF3E0;
  color: #F57C00;
}

.difficulty-hard {
  background-color: #FFEBEE;
  color: #C62828;
}

.time-required {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-muted);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.howto-supplies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.supplies-section {
  background-color: var(--color-background);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.supplies-section h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-foreground);
  margin-bottom: var(--space-md);
}

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

.supplies-list li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  color: var(--color-foreground);
  line-height: 1.6;
}

.supplies-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.howto-content h2 {
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.howto-content h3 {
  color: var(--color-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.howto-tips, .howto-mistakes {
  background-color: var(--color-background);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.howto-mistakes {
  border-left-color: var(--color-accent);
}

.howto-tips h3, .howto-mistakes h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-foreground);
  margin-bottom: var(--space-md);
}

.howto-tips ul, .howto-mistakes ul {
  list-style: none;
  padding: 0;
}

.howto-tips li, .howto-mistakes li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  color: var(--color-foreground);
  line-height: 1.6;
}

.howto-tips li:before {
  content: "💡";
  position: absolute;
  left: 0;
}

.howto-mistakes li:before {
  content: "⚠️";
  position: absolute;
  left: 0;
}

/* ===== Responsive Adjustments for New Post Types ===== */

@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }

  .howto-supplies {
    grid-template-columns: 1fr;
  }

  .video-info {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .howto-content h2 {
    font-size: 1.25rem;
  }
}
