/*
Theme Name: Garden Peninsula Historical Society
Theme URI: https://wordpress.org/
Author: OpenAI
Description: A warm, community-focused starter theme for the Garden Peninsula Historical Society, with pages for history, digitized archives, gallery, and events.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garden-peninsula-history
Tags: custom-logo, custom-menu, featured-images, editor-style, wide-blocks
*/

:root {
  --gph-ink: #24362f;
  --gph-forest: #315447;
  --gph-moss: #66765b;
  --gph-paper: #f7f3e9;
  --gph-cream: #fffdf7;
  --gph-rust: #a85e3d;
  --gph-gold: #d7b778;
  --gph-muted: #68736b;
  --gph-line: #e5ddcc;
  --gph-radius: 16px;
  --gph-shadow: 0 16px 42px rgba(36, 54, 47, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--gph-cream); color: var(--gph-ink);
  font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--gph-forest); text-underline-offset: 3px; }
a:hover { color: var(--gph-rust); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--gph-rust); outline-offset: 3px; }
.gph-sans, nav, .eyebrow, .button, .site-tagline, .meta, .site-footer, .notice, .wp-block-button__link, .wp-block-search__button {
  font-family: Arial, Helvetica, sans-serif;
}
.site-header { background: var(--gph-cream); border-bottom: 1px solid var(--gph-line); }
.header-inner { max-width: 1160px; margin: auto; padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--gph-ink); min-width: 0; }
.brand-mark { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; background: var(--gph-forest); display: grid; place-items: center; color: var(--gph-paper); border: 3px solid var(--gph-gold); }
.brand-mark svg { width: 34px; height: 34px; }
.brand-name { display: block; font-size: 18px; font-weight: bold; line-height: 1.2; letter-spacing: -.25px; }
.site-tagline { display: block; color: var(--gph-muted); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; margin-top: 5px; }
.primary-nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 9px 11px; color: var(--gph-ink); text-decoration: none; font-size: 13px; font-weight: 700; border-radius: 999px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: var(--gph-paper); color: var(--gph-forest); }
.menu-toggle { display: none; }
.hero { position: relative; overflow: hidden; background: var(--gph-forest); color: var(--gph-cream); }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(215,183,120,.35); border-radius: 50%; width: 480px; height: 480px; right: -80px; top: -190px; }
.hero::after { width: 330px; height: 330px; right: 0; top: -115px; }
.hero-inner { max-width: 1160px; margin: auto; padding: 92px 26px 88px; position: relative; z-index: 1; }
.eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.4px; color: var(--gph-gold); margin: 0 0 17px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -1.8px; max-width: 760px; margin: 0 0 23px; font-weight: 500; }
.hero p { max-width: 660px; color: #f2ead9; font-size: 20px; line-height: 1.65; margin: 0 0 30px; }
.button, .wp-block-button__link { display: inline-block; border: 0; border-radius: 999px; background: var(--gph-rust); color: #fffdf7; padding: 13px 21px; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .2px; transition: transform .15s ease, background .15s ease; }
.button:hover, .wp-block-button__link:hover { color: #fff; background: #8d4b30; transform: translateY(-1px); }
.button-light { background: var(--gph-paper); color: var(--gph-ink); }
.button-light:hover { background: #fff; color: var(--gph-ink); }
.hero-links { display: flex; gap: 12px; flex-wrap: wrap; }
.section { padding: 76px 26px; }
.section-paper { background: var(--gph-paper); }
.section-inner { max-width: 1100px; margin: auto; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading h2, .content h2 { color: var(--gph-ink); font-size: clamp(29px, 4vw, 43px); font-weight: 500; line-height: 1.16; letter-spacing: -.8px; margin: 0 0 14px; }
.section-heading p { color: var(--gph-muted); margin: 0; font-size: 18px; }
.eyebrow-dark { color: var(--gph-rust); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { border: 1px solid var(--gph-line); border-radius: var(--gph-radius); overflow: hidden; background: var(--gph-cream); box-shadow: 0 6px 20px rgba(36,54,47,.035); }
.card-art { height: 132px; background: linear-gradient(135deg, #d7b778 0%, #efe2c4 44%, #c6d0b7 44%, #7c9379 100%); position: relative; overflow: hidden; }
.card-art::after { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid rgba(49,84,71,.35); border-radius: 50%; right: -24px; top: -62px; box-shadow: 0 0 0 18px rgba(255,253,247,.13), 0 0 0 38px rgba(255,253,247,.13); }
.card-body { padding: 23px 24px 25px; }
.card-body h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.25; font-weight: 500; }
.card-body p { color: var(--gph-muted); font-size: 15px; margin: 0 0 17px; }
.text-link { font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 700; text-decoration: none; }
.quote-band { background: #e9e2d2; padding: 48px 26px; text-align: center; }
.quote-band blockquote { max-width: 800px; margin: auto; color: var(--gph-forest); font-size: clamp(24px, 3.5vw, 36px); line-height: 1.35; font-style: italic; }
.quote-band p { margin: 14px 0 0; color: var(--gph-muted); font: 12px Arial, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.cta-band { background: var(--gph-rust); color: #fffdf7; padding: 54px 26px; }
.cta-inner { max-width: 1100px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.cta-inner h2 { font-size: clamp(27px, 4vw, 38px); line-height: 1.15; font-weight: 500; margin: 0 0 8px; }
.cta-inner p { color: #f8e9de; margin: 0; max-width: 660px; }
.page-hero { background: var(--gph-paper); border-bottom: 1px solid var(--gph-line); padding: 55px 26px 48px; }
.page-hero-inner { max-width: 1100px; margin: auto; }
.page-hero h1 { font-size: clamp(35px, 5vw, 55px); line-height: 1.08; letter-spacing: -1px; font-weight: 500; margin: 0; }
.page-wrap { max-width: 1100px; margin: auto; padding: 54px 26px 82px; }
.content { max-width: 820px; }
.content > *:first-child { margin-top: 0; }
.content h2 { margin-top: 1.6em; }
.content h3 { font-size: 25px; font-weight: 500; line-height: 1.25; }
.content p, .content li { color: #46544b; }
.content .wp-block-image img, .content .wp-block-gallery img { border-radius: 10px; }
.content .wp-block-quote { border-left: 4px solid var(--gph-gold); margin-left: 0; padding-left: 22px; color: var(--gph-forest); }
.content input[type="search"], .content input[type="text"], .content input[type="email"], .content textarea { border: 1px solid #cfc7b8; background: white; padding: 12px 14px; border-radius: 7px; max-width: 100%; }
.content .wp-block-search__button { border-radius: 999px; background: var(--gph-forest); color: white; padding: 11px 16px; border: 0; }
.notice { border-left: 4px solid var(--gph-gold); background: var(--gph-paper); padding: 16px 18px; font-size: 13px; color: var(--gph-muted); margin: 25px 0; }
.archive-tools { padding: 20px; background: var(--gph-paper); border-radius: 12px; margin: 22px 0 32px; }
.archive-tools form { display: flex; flex-wrap: wrap; gap: 10px; }
.archive-tools input[type="search"] { flex: 1; min-width: 190px; border: 1px solid var(--gph-line); border-radius: 999px; padding: 12px 16px; }
.archive-tools input[type="submit"] { background: var(--gph-forest); color: white; border: 0; border-radius: 999px; padding: 11px 18px; cursor: pointer; }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.post-card { padding: 24px; border: 1px solid var(--gph-line); border-radius: var(--gph-radius); }
.post-card h2 { font-size: 25px; margin: 7px 0 10px; }
.post-card h2 a { text-decoration: none; }
.meta { font-size: 11px; color: var(--gph-rust); text-transform: uppercase; letter-spacing: 1.1px; font-weight: 700; }
.site-footer { background: #20382f; color: #eae4d7; padding: 43px 26px 22px; font-size: 13px; }
.footer-inner { max-width: 1100px; margin: auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; }
.footer-title { color: white; font-family: Georgia, serif; font-size: 20px; margin: 0 0 8px; }
.site-footer p { color: #c9d0c8; max-width: 520px; margin: 0; }
.site-footer a { color: #f0d7a2; }
.footer-bottom { max-width: 1100px; margin: 28px auto 0; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.17); color: #b9c4bb; font-size: 11px; }
.pagination { display: flex; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span { padding: 7px 13px; border: 1px solid var(--gph-line); border-radius: 99px; text-decoration: none; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute !important; width: 1px; white-space: nowrap; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-wrap: wrap; }
  .primary-nav { width: 100%; }
  .primary-nav ul { justify-content: flex-start; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-inner { padding: 16px 18px; gap: 15px; }
  .brand-mark { width: 45px; height: 45px; flex-basis: 45px; }
  .brand-name { font-size: 16px; }
  .site-tagline { font-size: 9px; letter-spacing: 1px; }
  .primary-nav ul { gap: 2px; }
  .primary-nav a { padding: 7px 9px; font-size: 12px; }
  .hero-inner { padding: 67px 21px 64px; }
  .hero p { font-size: 17px; }
  .section { padding: 54px 20px; }
  .card-grid, .post-list { grid-template-columns: 1fr; }
  .cta-inner, .footer-inner { display: block; }
  .cta-inner .button { margin-top: 20px; }
  .footer-inner > div + div { margin-top: 24px; }
  .page-hero { padding: 42px 20px 35px; }
  .page-wrap { padding: 36px 20px 60px; }
}
