/* The European Literary Circle — editorial theme
   Parchment background, ink text, forest green primary, muted burgundy accent,
   taupe borders, dark green-black footer. Instrument Serif headings, Work Sans body.
   No gradients. No gold/brass. */

.ielc-page, .ielc-page * { box-sizing: border-box; }

:root {
  --ielc-bg: #F6EFDF;
  --ielc-fg: #241F1B;
  --ielc-card: #FBF7EC;
  --ielc-primary: #24402F;
  --ielc-primary-fg: #F6F1E2;
  --ielc-secondary: #ECE1C6;
  --ielc-muted: #EFE7D3;
  --ielc-muted-fg: #6A6153;
  --ielc-accent: #6B2A38;
  --ielc-border: #CBB998;
  --ielc-footer: #12211A;
  --ielc-footer-fg: #EDE7D6;
}

.ielc-page { background: var(--ielc-bg); color: var(--ielc-fg); font-family: "Work Sans", Arial, sans-serif; line-height: 1.55; }
.ielc-page h1, .ielc-page h2, .ielc-page h3, .ielc-brand, .ielc-brand-mark { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: 0; }
.ielc-page h1 { margin: 0 0 .5rem; font-size: clamp(2.3rem, 4.5vw, 3.8rem); line-height: 1.03; }
.ielc-page h2 { margin: 0; font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1; }
.ielc-page h3 { margin: 0; font-size: 1.4rem; line-height: 1.15; }
.ielc-page p { margin: 0 0 .75rem; }
.ielc-page a { color: inherit; text-decoration: none; }
.ielc-page img { max-width: 100%; height: auto; display: block; }
.ielc-page ul { margin: 0; padding: 0; list-style: none; }

.ielc-shell { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }
.ielc-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Buttons */
.ielc-button { display: inline-flex; align-items: center; gap: .4rem; padding: .8rem 1.6rem; border: 1px solid transparent; font-size: .95rem; cursor: pointer; transition: opacity .18s ease, background-color .18s ease; }
.ielc-button-primary { background: var(--ielc-primary); color: var(--ielc-primary-fg); }
.ielc-button-primary:hover { opacity: .88; }
.ielc-button-outline { background: transparent; border-color: var(--ielc-fg); color: var(--ielc-fg); }
.ielc-button-outline-light { background: transparent; border-color: var(--ielc-primary-fg); color: var(--ielc-primary-fg); }
.ielc-button-ivory { background: var(--ielc-primary-fg); color: var(--ielc-primary); }
.ielc-text-link, .ielc-quiet-link { display: inline-flex; align-items: center; gap: .3rem; border-bottom: 1px solid var(--ielc-border); padding-bottom: 2px; font-size: .92rem; }
.ielc-quiet-link { color: var(--ielc-muted-fg); }

/* Header */
.ielc-header { background: var(--ielc-bg); border-bottom: 1px solid var(--ielc-border); position: sticky; top: 0; z-index: 40; }
.ielc-header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; }
.ielc-brand { font-size: 1.4rem; line-height: 1.05; }
.ielc-desktop-nav { display: none; gap: 1.6rem; }
.ielc-desktop-nav a:hover { color: var(--ielc-primary); }
.ielc-header-actions { display: none; align-items: center; gap: 1rem; }
.ielc-header-actions > a:first-child { font-size: .92rem; }
.ielc-menu-button { background: none; border: none; cursor: pointer; padding: .3rem; color: var(--ielc-fg); }
.ielc-mobile-nav { display: flex; flex-direction: column; gap: .1rem; padding: 0 0 1rem; border-top: 1px solid var(--ielc-border); }
.ielc-mobile-nav a { padding: .6rem 0; border-bottom: 1px solid var(--ielc-border); }
.ielc-mobile-nav[hidden] { display: none; }

@media (min-width: 900px) {
  .ielc-desktop-nav { display: flex; }
  .ielc-header-actions { display: flex; }
  .ielc-menu-button { display: none; }
}

/* Hero */
.ielc-hero { position: relative; color: var(--ielc-primary-fg); }
.ielc-hero > img { width: 100%; height: min(78vh, 640px); object-fit: cover; }
.ielc-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,33,26,.86), rgba(18,33,26,.35) 55%, rgba(18,33,26,.15)); }
.ielc-hero-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 3.5rem; }
.ielc-hero-inner h1 { color: var(--ielc-primary-fg); max-width: 30ch; }
.ielc-hero-inner p { max-width: 46ch; }
.ielc-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }

/* Sections */
.ielc-section { padding: 4.2rem 0; }
.ielc-compact-section { padding: 3rem 0; }
.ielc-dark-section { background: var(--ielc-primary); color: var(--ielc-primary-fg); padding: 4.2rem 0; }
.ielc-dark-section h3, .ielc-dark-section .ielc-meta { color: var(--ielc-primary-fg); }
.ielc-soft-section { background: var(--ielc-secondary); padding: 4.2rem 0; }
.ielc-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--ielc-accent); margin: 0 0 .5rem; }
.ielc-eyebrow-light { color: var(--ielc-primary-fg); opacity: .85; }
.ielc-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; }
.ielc-section-intro { max-width: 50ch; color: var(--ielc-muted-fg); }
.ielc-meta { color: var(--ielc-muted-fg); font-size: .9rem; }

/* Page intro banner */
.ielc-page-intro { padding: 3.4rem 0 2.2rem; border-bottom: 1px solid var(--ielc-border); }
.ielc-page-intro p { max-width: 60ch; color: var(--ielc-muted-fg); }

/* Reading shelf / book grids */
.ielc-books-row, .ielc-books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.8rem; }
.ielc-book-tile h3 { margin-top: .8rem; font-size: 1.2rem; }
.ielc-book-cover { position: relative; }
.ielc-book-cover span { position: absolute; top: .6rem; left: .6rem; background: var(--ielc-primary); color: var(--ielc-primary-fg); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; padding: .25rem .6rem; }
.ielc-book-blurb { color: var(--ielc-muted-fg); font-size: .92rem; }

/* Author feature */
.ielc-author-feature { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.ielc-author-feature img { border: 1px solid var(--ielc-border); }
.ielc-featured-line { display: flex; gap: .5rem; margin: .8rem 0 1.2rem; font-size: .9rem; }
.ielc-featured-line span { color: var(--ielc-muted-fg); }
@media (min-width: 800px) { .ielc-author-feature { grid-template-columns: 1fr 1.3fr; } }

/* Stats */
.ielc-stats { background: var(--ielc-primary); color: var(--ielc-primary-fg); padding: 2.4rem 0; }
.ielc-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
.ielc-stats-grid strong { display: block; font-family: "Instrument Serif", serif; font-size: 2.2rem; }
@media (min-width: 700px) { .ielc-stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* Book of the month */
.ielc-featured-book { display: grid; grid-template-columns: 1fr; gap: 2.2rem; align-items: start; }
.ielc-feature-cover img { border: 1px solid var(--ielc-border); }
.ielc-feature-copy { max-width: 60ch; }
.ielc-about-author { border-top: 1px solid var(--ielc-border); padding-top: 1rem; margin: 1rem 0 1.4rem; }
.ielc-about-author span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ielc-accent); margin-bottom: .3rem; }
@media (min-width: 800px) { .ielc-featured-book { grid-template-columns: 1fr 1.6fr; } }

/* World / literary worlds grid */
.ielc-world-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
.ielc-world-grid h3 { margin: 1rem 0 .4rem; }
@media (min-width: 800px) { .ielc-world-grid { grid-template-columns: repeat(3, 1fr); } }

/* Awards */
.ielc-awards-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
.ielc-awards-grid article { border: 1px solid var(--ielc-border); background: var(--ielc-card); }
.ielc-awards-grid article > div { padding: 1.2rem 1.4rem 1.6rem; }
.ielc-award-tag { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ielc-accent); }
.ielc-award-recipient { font-weight: 500; }
.ielc-awards-grid blockquote { margin: .8rem 0; font-style: italic; color: var(--ielc-muted-fg); }
.ielc-award-focus { font-size: .88rem; color: var(--ielc-muted-fg); }
@media (min-width: 800px) { .ielc-awards-grid { grid-template-columns: repeat(3, 1fr); } }

.ielc-awards-history { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.ielc-award-year-row { margin-bottom: 1.4rem; }
.ielc-award-year-row li { padding: .3rem 0; border-bottom: 1px solid var(--ielc-border); }
.ielc-awards-history aside { background: var(--ielc-card); border: 1px solid var(--ielc-border); padding: 1.6rem; align-self: start; }
@media (min-width: 800px) { .ielc-awards-history { grid-template-columns: 1.4fr 1fr; } }
.ielc-award-books-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.8rem; }

/* Events */
.ielc-spotlight-list { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.ielc-spotlight-card { display: grid; grid-template-columns: 1fr; gap: 1.5rem; border: 1px solid var(--ielc-border); background: var(--ielc-card); padding: 1.4rem; }
.ielc-tag-row { display: flex; gap: .6rem; margin-bottom: .5rem; }
.ielc-tag-row span { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; background: var(--ielc-muted); padding: .2rem .55rem; }
.ielc-spotlight-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1.5rem; margin: 1rem 0; font-size: .9rem; }
.ielc-spotlight-details dt { color: var(--ielc-muted-fg); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.ielc-event-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (min-width: 700px) { .ielc-spotlight-card { grid-template-columns: 200px 1fr; } }

/* Journal */
.ielc-journal-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
.ielc-journal-grid h3 { margin: .8rem 0 .3rem; }
.ielc-review-text { color: var(--ielc-muted-fg); font-size: .92rem; }
@media (min-width: 800px) { .ielc-journal-grid { grid-template-columns: repeat(3, 1fr); } }

/* Testimonials */
.ielc-quote-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.ielc-quote-grid blockquote { margin: 0; border-left: 3px solid var(--ielc-accent); padding: .2rem 0 .2rem 1.2rem; }
.ielc-quote-grid footer { margin-top: .7rem; display: flex; gap: .5rem; font-size: .88rem; color: var(--ielc-muted-fg); }
@media (min-width: 800px) { .ielc-quote-grid { grid-template-columns: repeat(3, 1fr); } }

/* Gatherings */
.ielc-gatherings-section { }
.ielc-gathering-head { display: none; }
.ielc-gatherings article { display: grid; grid-template-columns: 1fr; gap: .4rem; padding: 1.2rem 0; border-bottom: 1px solid var(--ielc-border); }
.ielc-gatherings time { color: var(--ielc-muted-fg); font-size: .85rem; }
.ielc-gatherings span { color: var(--ielc-muted-fg); font-size: .85rem; }
.ielc-gatherings a { text-decoration: underline; }
@media (min-width: 900px) {
  .ielc-gathering-head { display: grid; grid-template-columns: 1fr 1.4fr 2fr 1fr .6fr; padding-bottom: .6rem; border-bottom: 2px solid var(--ielc-fg); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ielc-muted-fg); }
  .ielc-gatherings article { grid-template-columns: 1fr 1.4fr 2fr 1fr .6fr; align-items: center; }
}

/* Why join */
.ielc-benefit-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.ielc-icon-benefits .dashicons { color: var(--ielc-accent); font-size: 1.8rem; width: 1.8rem; height: 1.8rem; margin-bottom: .5rem; }
.ielc-icon-benefits h3 { margin: .3rem 0; }
.ielc-why-join-close { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--ielc-border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 800px) { .ielc-benefit-grid { grid-template-columns: repeat(4, 1fr); } }

.ielc-benefit-list.ielc-benefit-columns { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 800px) { .ielc-benefit-list.ielc-benefit-columns { grid-template-columns: repeat(3, 1fr); } }

/* CTAs */
.ielc-author-cta { background: var(--ielc-secondary); padding: 3.4rem 0; }
.ielc-author-cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.ielc-author-cta-inner > div:last-child { display: flex; gap: 1rem; flex-wrap: wrap; }
.ielc-join-section { background: var(--ielc-primary); color: var(--ielc-primary-fg); text-align: center; padding: 4rem 0; }
.ielc-join-section h2 { color: var(--ielc-primary-fg); margin-bottom: .8rem; }
.ielc-join-section p { max-width: 46ch; margin: 0 auto 1.6rem; }

/* Forms */
.ielc-form, .ielc-field { display: flex; flex-direction: column; }
.ielc-form { gap: 1.1rem; max-width: 40rem; }
.ielc-field label { font-size: .85rem; margin-bottom: .35rem; }
.ielc-field label span { color: var(--ielc-muted-fg); font-weight: 400; }
.ielc-field input, .ielc-field textarea { border: 1px solid var(--ielc-border); background: var(--ielc-card); padding: .7rem .8rem; font: inherit; color: var(--ielc-fg); }
.ielc-field input:focus, .ielc-field textarea:focus { outline: 2px solid var(--ielc-primary); outline-offset: 1px; }
.ielc-form-error { color: var(--ielc-accent); font-size: .9rem; }
.ielc-form-success { border: 1px solid var(--ielc-border); background: var(--ielc-card); padding: 1.6rem; }
.ielc-form-benefits { margin-top: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--ielc-border); }
.ielc-form-benefits li { display: flex; gap: .5rem; padding: .3rem 0; }
.ielc-form-benefits .dashicons { color: var(--ielc-primary); }
.ielc-form-layout { display: grid; grid-template-columns: 1fr; gap: 2.4rem; }
@media (min-width: 900px) { .ielc-form-layout { grid-template-columns: 1.4fr 1fr; } }

.ielc-join-page-intro { background: var(--ielc-primary); color: var(--ielc-primary-fg); padding: 3.6rem 0 3rem; }
.ielc-join-page-intro h1 { color: var(--ielc-primary-fg); }
.ielc-join-form-section { padding: 3rem 0 4.5rem; }
.ielc-join-card { width: min(100% - 2.5rem, 40rem); margin-inline: auto; }

/* Article / recap pages */
.ielc-article-page { padding-top: 2.5rem; }
.ielc-article-image { border: 1px solid var(--ielc-border); margin: 1.4rem 0; }
.ielc-article-body { max-width: 65ch; }

/* Prose (privacy/terms) */
.ielc-prose-block { max-width: 68ch; }
.ielc-prose-block h3 { margin-top: 1.6rem; margin-bottom: .4rem; }

/* FAQ */
.ielc-faq-list details { border-bottom: 1px solid var(--ielc-border); padding: 1rem 0; }
.ielc-faq-list summary { cursor: pointer; font-weight: 500; }
.ielc-faq-list p { margin-top: .6rem; color: var(--ielc-muted-fg); }

/* Section link spacing */
.ielc-section-link { margin: 1.6rem 0; }

/* Reviews */
.ielc-review-list article { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--ielc-border); }
.ielc-review-list .ielc-year { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ielc-accent); }
@media (min-width: 700px) { .ielc-review-list article { grid-template-columns: 140px 1fr; } }

/* Authors list */
.ielc-author-list { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.ielc-author-list article { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; align-items: start; }

/* Footer */
.ielc-footer { background: var(--ielc-footer); color: var(--ielc-footer-fg); padding: 3.4rem 0 1.4rem; }
.ielc-footer a { opacity: .9; }
.ielc-footer a:hover { opacity: 1; text-decoration: underline; }
.ielc-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; padding-bottom: 2.4rem; }
.ielc-footer-grid > div { display: flex; flex-direction: column; gap: .5rem; }
.ielc-brand-mark { font-size: 1.3rem; margin-bottom: .3rem; }
.ielc-footer-title { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; opacity: .7; margin: .4rem 0 .2rem; }
.ielc-footer-subtitle { margin-top: 1rem; }
.ielc-newsletter-row { display: flex; gap: .5rem; }
.ielc-newsletter-row input { flex: 1; border: 1px solid rgba(237,231,214,.35); background: transparent; color: var(--ielc-footer-fg); padding: .6rem .7rem; }
.ielc-newsletter-row input::placeholder { color: rgba(237,231,214,.6); }
.ielc-form-note { font-size: .82rem; opacity: .85; margin-top: .4rem; }
.ielc-socials { display: flex; gap: 1rem; margin-top: .6rem; }
.ielc-socials a { display: inline-flex; align-items: center; gap: .4rem; }
.ielc-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(237,231,214,.2); font-size: .85rem; opacity: .8; }
.ielc-footer-legal { display: flex; gap: 1.2rem; }
@media (min-width: 900px) { .ielc-footer-grid { grid-template-columns: repeat(4, 1fr); } }
