/* Florence — matches coolgifting.com's original theme: slim top nav, big
   centered logo, single-column article feed beside a right sidebar, grey page
   background with white content cards, Open Sans body + Oswald accents. */

:root {
  --ui-font: "Open Sans", -apple-system, sans-serif;
  --display-font: "Playfair Display", Georgia, serif;
}

body {
  font-family: var(--ui-font);
  font-size: 15px;
  background: #f5f5f5;
  color: #333;
}
h1, h2, h3, h4 { font-family: var(--display-font); font-weight: 400; }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: static;
  background: #fff;
  border-bottom: 1px solid #eee;
  backdrop-filter: none;
}
.header-inner {
  flex-direction: row;
  justify-content: flex-start;
  gap: 0;
  padding: 0 24px;
  min-height: 50px;
  align-items: center;
}
.header-inner .logo { display: none; }
.nav-list { gap: 32px; justify-content: flex-start; }
.nav-list a, .nav-sub-toggle {
  font-family: var(--ui-font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 400;
}
.nav-list a:hover { color: #333; text-decoration: none; }
.sub { border-radius: 0; }
.sub a { font-size: 11px; letter-spacing: 1px; }

.brand-band { text-align: center; padding: 26px 20px; background: #f5f5f5; }
.brand-band img { margin: 0 auto; max-height: 190px; width: auto; }
.brand-band .wordmark {
  font-family: "Oswald", var(--ui-font);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #58585a;
}
.brand-band a:hover { text-decoration: none; }

/* ------------------------------------------------- feed + sidebar grid --- */
.page-blog .page-plain-head, .page-home .page-plain-head { display: none; }
.wrap:has(> .post-grid) { max-width: 1140px; }
.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  margin: 0 0 50px;
}
/* every card spans the feed column; the sidebar is injected as one grid item */
.post-card {
  grid-column: 1;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #eee;
  padding: 34px 40px 30px;
  text-align: center;
  color: inherit;
}
.post-card:hover { transform: none; box-shadow: none; }
.post-card img, .post-card .ph {
  height: auto; max-height: 460px; object-fit: cover;
  margin: 18px 0 0; border-radius: 0; order: 2;
}
.pc-body { padding: 0; order: 1; }
.pc-cats {
  font-family: var(--ui-font); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent);
  margin: 0 0 10px;
}
.pc-body h2 {
  font-family: var(--display-font);
  font-size: 1.65rem; line-height: 1.28; text-transform: uppercase;
  color: #222; margin: 0 0 12px;
}
.pc-excerpt { color: #666; font-size: 0.92rem; }
.post-card .post-meta { display: none; }
.post-card { display: flex; flex-direction: column; }

.site-sidebar {
  grid-column: 2; grid-row: 1 / span 30;
  align-self: start; position: sticky; top: 20px;
}
.site-sidebar .widget { margin-bottom: 34px; }
.site-sidebar .widget-title {
  font-family: var(--ui-font); font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; text-align: center;
  color: #333; margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px; justify-content: center;
}
.site-sidebar .widget-title::before, .site-sidebar .widget-title::after {
  content: ""; height: 1px; flex: 1; background: #ddd;
}
.site-sidebar p { font-size: 0.88rem; color: #555; line-height: 1.65; }
.site-sidebar .sb-links { list-style: none; padding: 0; margin: 0; }
.site-sidebar .sb-links li { border-bottom: 1px solid #eee; }
.site-sidebar .sb-links a {
  display: block; padding: 9px 0; font-size: 0.86rem; color: #444;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.site-sidebar .sb-links a:hover { color: var(--accent); text-decoration: none; }

.pager { grid-column: 1; }

/* ------------------------------------------------------------- single --- */
.page-post .wrap.narrow, .page-plain-head + .wrap {
  background: #fff; padding-top: 10px; padding-bottom: 10px;
}
.post-head { text-align: center; padding: 40px 0 6px; }
.post-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); text-transform: uppercase; line-height: 1.25; }
.page-post .post-meta {
  font-family: var(--ui-font); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent);
}
.page-plain-head { text-align: center; padding: 40px 0 4px; }
.prose img { border-radius: 0; }
.post-hero img { border-radius: 0; }
.rel-card { border-radius: 0; box-shadow: none; border: 1px solid #eee; }
.rel-card img { border-radius: 0; }
.site-footer { background: #58585a; text-align: center; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; }
  .site-sidebar { grid-column: 1; grid-row: auto; position: static; }
  .header-inner { justify-content: space-between; }
  .post-card { padding: 26px 20px; }
}
