/*
Theme Name: Obelisk Stamps
Theme URI: https://obelisk-stamps.com
Author: Obelisk Stamps
Description: Custom theme matching the Obelisk Stamps brand — warm parchment & burgundy, Playfair Display + Lora, article-card layout. Reuses the original site's stylesheet.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
*/

/* Theme-specific tweaks on top of the original assets/styles.css */

/* Sticky footer fix: the original main{flex:1} (flex-basis 0) lets the footer
   float over content; flex:1 0 auto sizes main to its content then grows. */
body.site-public { display: flex; flex-direction: column; min-height: 100vh; }
body.site-public main { flex: 1 0 auto !important; min-height: 0; }
body.site-public footer { position: static !important; flex-shrink: 0; }

/* Hero */
.ob-hero h1 { font-weight: 700; margin-bottom: .25rem; }
.ob-hero .lead { color: var(--text-muted); max-width: 60rem; }

/* Home carousel (horizontal scroll) */
.collection-slider { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .75rem;
  scroll-snap-type: x mandatory; }
.collection-slider .collection-card { flex: 0 0 320px; min-width: 320px; scroll-snap-align: start; }
.collection-slider .card { position: relative; }
.collection-slider .card-img-top { height: 220px; object-fit: cover; width: 100%; }
.collection-slider::-webkit-scrollbar { height: 8px; }
.collection-slider::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 4px; }
#scrollLeft, #scrollRight { width: 34px; height: 34px; line-height: 1; padding: 0; }

/* Article cards grid */
.card-philatelic .card-img-top { height: 220px; object-fit: cover; width: 100%; }
.card-philatelic .card-title { font-family: 'Playfair Display', Georgia, serif; }
.card-philatelic .card-title a { color: var(--text); text-decoration: none; }
.card-philatelic .card-title a:hover { color: var(--accent); }
.card-philatelic .card-footer { background: transparent; color: var(--text-muted);
  font-size: .85rem; border-top: 1px dashed rgba(0,0,0,.08); }

/* Single article: comfortable reading column */
.ob-article { max-width: 760px; margin: 0 auto; }
.ob-article .ob-article-content { font-size: 1.08rem; line-height: 1.8; }
.ob-article .ob-article-content img { max-width: 100%; height: auto; border-radius: 6px;
  margin: 1rem 0; }
.ob-article .ob-meta { color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; }

.footer-link { color: #cdd2d6; text-decoration: none; }
.footer-link:hover { color: #fff; }

/* Articles page filters (dropdowns) */
.ob-filters { border-bottom: 1px dashed rgba(0,0,0,.12); padding-bottom: 1rem; }
.ob-filter-label { display: block; font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600; font-size: .85rem; margin-bottom: .25rem; color: var(--text); }
.ob-filters .form-select { border-color: rgba(0,0,0,.15); }
