/* Experimental Blog Design - Strong Typography & Out-of-the-Box Layout */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #0a0a0a;
  line-height: 1.5;
  font-size: 16px;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.blog-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header - Bold Typography */
.blog-header {
  border-bottom: 4px solid #0a0a0a;
  padding: 40px 0 20px 0;
  margin-bottom: 60px;
  position: relative;
}

.blog-header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 15px;
  line-height: 0.9;
}

.blog-header h1 a {
  color: #0a0a0a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-header h1 a:hover {
  color: #2563eb;
}

.blog-header nav {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-header nav a {
  color: #0a0a0a;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.blog-header nav a:hover {
  border-bottom-color: #0a0a0a;
}

/* Main Content */
.blog-main {
  margin-bottom: 80px;
}

.blog-main h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 50px;
  line-height: 1.1;
  text-transform: uppercase;
  border-bottom: 4px solid #0a0a0a;
  padding-bottom: 15px;
}

/* Blog Post Listing - Experimental Grid */
.blog-post-item {
  border: 3px solid #0a0a0a;
  padding: 30px;
  margin-bottom: 30px;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.blog-post-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #2563eb;
  opacity: 0.05;
  transition: left 0.5s ease;
  z-index: 0;
}

.blog-post-item:hover::before {
  left: 0;
}

.blog-post-item:hover {
  transform: translateX(8px) translateY(-4px);
  box-shadow: 12px 12px 0 0 #0a0a0a;
}

.blog-post-item>* {
  position: relative;
  z-index: 1;
}

.blog-post-date {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #666666;
  margin-bottom: 12px;
  font-family: 'Courier New', monospace;
}

.blog-post-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
}

.blog-post-title a {
  color: #0a0a0a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-post-title a:hover {
  color: #2563eb;
}

.blog-post-excerpt {
  font-size: 1.125rem;
  color: #333333;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 15px;
}

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.post-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  background: #0a0a0a;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid #0a0a0a;
  transition: all 0.2s ease;
  display: inline-block;
}

.post-tag:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Post Type Indicator */
.post-type-indicator {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  background: #0a0a0a;
  color: #ffffff;
  margin-bottom: 12px;
}

.post-type-indicator.gallery {
  background: #2563eb;
}

/* Full Blog Post */
.blog-post-nav {
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-post-nav a {
  color: #0a0a0a;
  text-decoration: none;
  border-bottom: 2px solid #0a0a0a;
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.blog-post-nav a:hover {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 3px solid #0a0a0a;
  gap: 20px;
  flex-wrap: wrap;
}

.post-navigation a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0a0a0a;
  text-decoration: none;
  border: 2px solid #0a0a0a;
  padding: 12px 24px;
  transition: all 0.2s ease;
  display: inline-block;
}

.post-navigation a:hover {
  background: #0a0a0a;
  color: #ffffff;
  transform: translateY(-2px);
}

.post-navigation .nav-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.blog-post-full {
  border: 4px solid #0a0a0a;
  padding: 0;
  margin-bottom: 40px;
  background: #ffffff;
  overflow: hidden;
}

.blog-post-full .post-date {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #666666;
  margin: 40px 40px 15px 40px;
  font-family: 'Courier New', monospace;
}

.blog-post-full .post-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  margin: 0 40px 40px 40px;
  padding-bottom: 30px;
  border-bottom: 4px solid #0a0a0a;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0a0a0a;
}

/* Feature Image - Bold and Big */
.blog-post-full .post-feature-image {
  width: 100%;
  margin: 0 0 50px 0;
  background: #0a0a0a;
  overflow: hidden;
}

.blog-post-full .post-feature-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 500px;
  max-height: 700px;
}

/* Post Content - Optimized for Long Reads */
.blog-post-full .post-content {
  font-size: 19px;
  line-height: 1.85;
  color: #1a1a1a;
  padding: 0 40px 50px 40px;
  max-width: 100%;
}

.blog-post-full .post-content {
  max-width: 70ch;
  margin: 0 auto;
}

.blog-post-full .post-content p {
  margin-bottom: 1.6em;
  font-weight: 400;
}

.blog-post-full .post-content p:first-of-type {
  font-size: 1.3em;
  line-height: 1.9;
  color: #333333;
  margin-bottom: 2em;
  font-weight: 500;
}

.blog-post-full .post-content a {
  color: #0a0a0a;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
  font-weight: 600;
}

.blog-post-full .post-content a:hover {
  color: #2563eb;
}

/* Headings in Content */
.blog-post-full .post-content h2 {
  font-size: 2.2em;
  font-weight: 900;
  margin-top: 2.5em;
  margin-bottom: 1em;
  line-height: 1.2;
  color: #0a0a0a;
  border-bottom: 3px solid #0a0a0a;
  padding-bottom: 0.5em;
  letter-spacing: -0.02em;
}

.blog-post-full .post-content h3 {
  font-size: 1.6em;
  font-weight: 800;
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.3;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}

.blog-post-full .post-content h4 {
  font-size: 1.3em;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.4;
  color: #0a0a0a;
}

/* Lists */
.blog-post-full .post-content ul,
.blog-post-full .post-content ol {
  margin: 2em 0;
  padding-left: 2.5em;
  line-height: 1.9;
}

.blog-post-full .post-content ul {
  list-style-type: disc;
}

.blog-post-full .post-content ol {
  list-style-type: decimal;
}

.blog-post-full .post-content li {
  margin-bottom: 0.8em;
  padding-left: 0.5em;
}

.blog-post-full .post-content ul li::marker {
  color: #0a0a0a;
  font-weight: 900;
}

.blog-post-full .post-content ol li::marker {
  color: #0a0a0a;
  font-weight: 900;
}

/* Code Blocks */
.blog-post-full .post-content pre {
  background: #0a0a0a;
  color: #f0f0f0;
  padding: 2em;
  margin: 2.5em 0;
  border: 3px solid #0a0a0a;
  overflow-x: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
  line-height: 1.7;
}

.blog-post-full .post-content code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
  background: #f5f5f5;
  color: #0a0a0a;
  padding: 0.2em 0.5em;
  border: 2px solid #0a0a0a;
}

.blog-post-full .post-content pre code {
  background: transparent;
  color: #f0f0f0;
  padding: 0;
  border: none;
  font-size: 1em;
}

/* Article Gallery */
.blog-post-full .post-content .article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 3em 0;
  padding: 20px 0;
}

.blog-post-full .post-content .article-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border: 3px solid #0a0a0a;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.blog-post-full .post-content .article-gallery img:hover {
  transform: scale(1.02);
}

/* Photography Gallery - Full Width Grid */
.photography-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 4px solid #0a0a0a;
  border-top: none;
}

.photography-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-right: 4px solid #0a0a0a;
  border-bottom: 4px solid #0a0a0a;
}

.photography-gallery-item:last-child {
  border-right: none;
}

.photography-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photography-gallery-item:hover img {
  transform: scale(1.1);
}

/* Single Image in Content */
.blog-post-full .post-content img:not(.article-gallery img) {
  width: 100%;
  height: auto;
  display: block;
  margin: 2.5em 0;
  border: 3px solid #0a0a0a;
}

/* Blockquotes */
.blog-post-full .post-content blockquote {
  border-left: 4px solid #0a0a0a;
  padding-left: 2em;
  margin: 2.5em 0;
  font-style: italic;
  color: #333333;
  font-size: 1.2em;
  line-height: 1.8;
}

/* Footer */
.blog-footer {
  border-top: 4px solid #0a0a0a;
  padding-top: 30px;
  margin-top: 80px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666666;
}

/* Tag Page */
.tag-header {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 4px solid #0a0a0a;
}

.tag-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  line-height: 1.1;
  text-transform: uppercase;
}

.tag-count {
  font-size: 1rem;
  font-weight: 600;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* All Tags Page */
.all-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
}

.all-tags a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 24px;
  background: #ffffff;
  color: #0a0a0a;
  border: 3px solid #0a0a0a;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.all-tags a:hover {
  background: #0a0a0a;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .blog-container {
    padding: 0 15px;
  }

  .blog-header {
    padding: 30px 0 15px 0;
    margin-bottom: 40px;
  }

  .blog-post-full .post-date,
  .blog-post-full .post-title,
  .blog-post-full .post-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-post-full .post-date {
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .blog-post-full .post-title {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 2rem;
    padding-bottom: 20px;
  }

  .blog-post-full .post-content {
    padding: 0 20px 40px 20px;
    font-size: 18px;
  }

  .blog-post-full .post-feature-image img {
    min-height: 300px;
    max-height: 400px;
  }

  .blog-post-full .post-content .article-gallery,
  .photography-gallery {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .photography-gallery-item {
    border-right: none;
  }

  .blog-post-full .post-content pre {
    padding: 1.5em;
    font-size: 0.85em;
  }

  .post-navigation {
    flex-direction: column;
    align-items: stretch;
  }

  .post-navigation a {
    text-align: center;
  }
}