/*
Theme Name: 20CF
Theme URI: https://example.com/
Description: Child theme for Blocksy
Author: Your Name
Template: blocksy
Version: 1.0
*/

/* Typography + Base Styles */
body {
  font-family: 'EB Garamond', serif;
  background-color: #FAF9F7;
  color: #1F1F1F;
  line-height: 1.6;
}

a {
  color: #2A4D3B;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: 'EB Garamond', serif;
  letter-spacing: 0.5px;
  text-transform: none;
}

h1 { font-size: 52px; font-weight: 600; }
h2 { font-size: 36px; font-weight: 500; }
h3 { font-size: 28px; font-weight: 500; }
h4 { font-size: 22px; font-weight: 500; font-style: italic; }

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  h4 { font-size: 18px; }
  body { font-size: 16px; }
}

/* Layout */
.single-item-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.item-left {
  flex: 1 1 300px;
  max-width: 400px;
}

.item-right {
  flex: 2 1 600px;
}

/* Featured Image */
.item-featured img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Gallery */
.item-gallery {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.item-gallery img {
  max-height: 80px;
  width: auto;
  cursor: pointer;
}

/* Details */
.item-details {
  margin: 1rem 0;
}

/* Description */
.item-description {
  margin-top: 1rem;
}

/* Horizontal Scroll (if needed elsewhere) */
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
}

.stamp-item {
  flex: 0 0 auto;
}

.item-featured img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ccc;  /* subtle border */
  padding: 4px;            /* padding inside border */
  max-height: 500px;       /* cap height */
  object-fit: contain;     /* ensure image scales nicely */
}