/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
/* ================================
   GLOBAL COMPONENTS - COREY'S BOOKSHOP
   Section dividers, blockquotes, literary motifs
   ================================ */

/* ================================
   SECTION DIVIDERS
   Classical book chapter heading style
   ─────────  Section Title  ─────────
   ================================ */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.section-heading h2::before,
.section-heading h2::after {
  content: '';
  flex: 0 0 60px;
  height: 1px;
  background-color: var(--color-gilded);
}

.section-heading p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  margin-top: 0.75rem;
  max-width: var(--max-line-width);
  margin-left: auto;
  margin-right: auto;
}

/* ================================
   BLOCKQUOTE / LITERARY QUOTE
   Large Cormorant Garamond italic
   Left border in gold
   ================================ */
blockquote,
.quote {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--text-secondary);
  border-left: 3px solid var(--color-gilded);
  padding-left: 1.5rem;
  margin: 2rem 0;
  max-width: var(--max-line-width);
  line-height: var(--line-height-subheading);
}

.quote-attribution {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--text-muted);
  margin-top: 0.75rem;
  letter-spacing: var(--letter-spacing-wide);
}

/* ================================
   ABOUT TEASER - Image + Text Side by Side
   Shared component: homepage, about, book-club
   ================================ */
.about-teaser {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.about-teaser-image img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  border: 1px solid var(--color-old-paper);
}

.about-teaser-text h2 {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .about-teaser {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-teaser-image {
    max-width: 240px;
    margin: 0 auto;
  }
}

/* ================================
   HORIZONTAL RULE
   Thin, warm divider
   ================================ */
hr {
  border: none;
  height: 1px;
  background-color: var(--border-light);
  margin: 2rem 0;
}

/* ================================
   BADGE / TAG
   For categories, labels
   ================================ */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  background-color: var(--color-old-paper);
  color: var(--text-secondary);
}

.badge-gold {
  background-color: var(--color-gilded);
  color: var(--color-warm-white);
}

.badge-leather {
  background-color: var(--color-leather);
  color: var(--color-warm-white);
}

/* ================================
   SKIP LINK (Accessibility)
   ================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background-color: var(--color-gilded);
  color: var(--color-warm-white);
  padding: 8px 16px;
  font-size: var(--text-sm);
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ================================
   VISUALLY HIDDEN (Screen Reader Only)
   ================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
