/* ========================================
   THE BULLETIN - Literary Magazine
   Style Reference: nplusonemag.com
   ======================================== */

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1a1a1a;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: #c75000; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ----- Variables ----- */
:root {
  --accent: #c75000;
  --accent-light: #e86820;
  --accent-bg: #fdf6f0;
  --dark: #111;
  --gray-100: #f4f4f4;
  --gray-200: #e0e0e0;
  --gray-300: #ccc;
  --gray-500: #777;
  --gray-700: #444;
  --navy: #1a2332;
  --container: 1080px;
  --content-max: 700px;
}

/* ----- Container ----- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ========================================
   HEADER - Clean & Editorial
   ======================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.3px; color: var(--dark);
  display: flex; align-items: center; gap: 10px;
}
.site-logo .logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: var(--accent); border-radius: 4px;
  font-size: .85rem; font-weight: 700; color: #fff;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .8px; color: var(--gray-700);
  padding: 8px 14px; border-radius: 4px; transition: .15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); background: var(--accent-bg); }
.nav-search {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); cursor: pointer; transition: .15s; border-radius: 50%;
  font-size: .85rem; margin-left: 6px;
}
.nav-search:hover { color: var(--accent); background: var(--accent-bg); }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 4px; cursor: pointer;
  padding: 6px; background: none; border: none;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; }

/* ========================================
   HERO / FEATURED ARTICLE
   ======================================== */
.featured-article {
  padding: 60px 0 48px; border-bottom: 1px solid var(--gray-200);
}
.featured-article .featured-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--accent); margin-bottom: 16px;
}
.featured-article h1 {
  font-size: 2.4rem; font-weight: 400; line-height: 1.2;
  max-width: 800px; margin-bottom: 14px; letter-spacing: -.3px;
}
.featured-article .featured-excerpt {
  font-size: 1.05rem; line-height: 1.6; color: var(--gray-700);
  max-width: 650px; margin-bottom: 16px;
}
.featured-article .featured-meta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .78rem; color: var(--gray-500);
}
.featured-article .featured-meta .author { color: var(--gray-700); font-weight: 600; }

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  margin-bottom: 28px; padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.section-header h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gray-700);
}

/* ========================================
   ARTICLE GRID - Clean List Layout
   ======================================== */
.articles-grid {
  display: flex; flex-direction: column; gap: 32px; margin-bottom: 48px;
}
.article-item {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--gray-100);
  align-items: start;
}
.article-item .article-content h3 {
  font-size: 1.25rem; font-weight: 400; line-height: 1.3;
  margin-bottom: 8px; letter-spacing: -.2px;
}
.article-item .article-content h3 a:hover { color: var(--accent); }
.article-item .article-content p {
  font-size: .92rem; color: var(--gray-500); line-height: 1.55;
}
.article-item .article-meta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .75rem; color: var(--gray-500);
  margin-top: 10px; text-align: right;
}
.article-item .article-meta .author { color: var(--gray-700); font-weight: 600; }
.article-item .article-img {
  width: 100%; aspect-ratio: 16/10;
  background: var(--gray-100); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gray-300);
}

/* ========================================
   ARTICLES LIST (no sidebar image)
   ======================================== */
.articles-list {
  display: flex; flex-direction: column; gap: 24px;
}
.articles-list .list-item {
  padding-bottom: 20px; border-bottom: 1px solid var(--gray-100);
}
.articles-list .list-item h3 {
  font-size: 1.15rem; font-weight: 400; line-height: 1.3;
  margin-bottom: 6px;
}
.articles-list .list-item h3 a:hover { color: var(--accent); }
.articles-list .list-item .list-meta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .75rem; color: var(--gray-500);
}
.articles-list .list-item .list-meta .author { color: var(--gray-700); font-weight: 600; }
.articles-list .list-item .list-category {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--accent); margin-bottom: 6px;
}

/* ========================================
   ISSUE / COLLECTION SPOTLIGHT
   ======================================== */
.issue-spotlight {
  background: var(--navy); color: rgba(255,255,255,.85);
  padding: 48px 0; margin: 32px 0 48px;
}
.issue-spotlight h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--accent-light); margin-bottom: 16px;
}
.issue-spotlight h3 {
  font-size: 1.8rem; font-weight: 400; color: #fff;
  margin-bottom: 12px; letter-spacing: -.3px;
}
.issue-spotlight p {
  font-size: .95rem; max-width: 600px; line-height: 1.6;
}

/* ========================================
   PAGE HEADER (inner pages)
   ======================================== */
.page-header {
  border-bottom: 1px solid var(--gray-200);
  padding: 36px 0 28px; margin-bottom: 48px;
}
.page-header h1 {
  font-size: 2rem; font-weight: 400; letter-spacing: -.5px;
}
.page-header .breadcrumb {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .78rem; color: var(--gray-500); margin-top: 6px;
}
.page-header .breadcrumb a { color: var(--accent); }
.page-header .breadcrumb a:hover { text-decoration: underline; }

/* ========================================
   MAIN LAYOUT
   ======================================== */
.main-content { padding: 0 0 60px; }
.content-section { margin-bottom: 48px; }
.content-body {
  max-width: var(--content-max);
}

/* ========================================
   ABOUT & CONTENT PAGES
   ======================================== */
.content-article {
  max-width: var(--content-max);
}
.content-article h2 {
  font-size: 1.5rem; font-weight: 400; margin: 36px 0 14px; letter-spacing: -.3px;
}
.content-article h2:first-of-type { margin-top: 0; }
.content-article p {
  font-size: 1rem; line-height: 1.7; color: var(--gray-700);
  margin-bottom: 16px;
}
.content-article blockquote {
  border-left: 3px solid var(--accent); padding-left: 20px;
  margin: 24px 0; color: var(--gray-700); font-style: italic;
}

/* Contact Form */
.contact-form { max-width: 540px; }
.contact-form .form-group { margin-bottom: 22px; }
.contact-form label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--gray-200);
  border-radius: 3px; font-family: Georgia, serif; font-size: .95rem;
  background: #fff; transition: .15s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(199,80,0,.08);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.btn {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  display: inline-block; padding: 10px 28px; border: none; border-radius: 3px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; cursor: pointer; transition: .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a84400; }
.btn-outline {
  background: transparent; color: var(--accent); border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.contact-info { margin-top: 36px; }
.contact-info h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 12px;
}
.contact-info p { font-size: .9rem; color: var(--gray-500); margin-bottom: 6px; }

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
  display: flex; justify-content: center; gap: 4px; margin-top: 48px;
}
.pagination a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  display: flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; border-radius: 3px;
  font-size: .78rem; font-weight: 600; color: var(--gray-500);
  border: 1px solid var(--gray-200); transition: .15s;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination a.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ========================================
   FOOTER - Clean & Minimal
   ======================================== */
.site-footer {
  border-top: 1px solid var(--gray-200); padding: 40px 0 32px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 32px;
}
.footer-col h4 {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gray-700); margin-bottom: 14px;
}
.footer-col p { font-size: .82rem; color: var(--gray-500); line-height: 1.65; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { font-size: .82rem; color: var(--gray-500); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--gray-100); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--gray-500);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--gray-500); font-size: .82rem; transition: .15s; }
.footer-social a:hover { color: var(--accent); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .article-item { grid-template-columns: 1fr; }
  .article-item .article-meta { text-align: left; margin-top: 8px; }
  .article-item .article-img { display: none; }
  .featured-article h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px;
    border-bottom: 1px solid var(--gray-200); box-shadow: 0 4px 12px rgba(0,0,0,.06);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 16px; }
  .nav-search { display: none; }
  .featured-article { padding: 36px 0 28px; }
  .featured-article h1 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .page-header h1 { font-size: 1.5rem; }
  .issue-spotlight h3 { font-size: 1.4rem; }
  .content-article h2 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .featured-article h1 { font-size: 1.25rem; }
  .site-logo { font-size: 1.1rem; }
  .container { padding: 0 16px; }
}

/* ========================================
   UTILITY
   ======================================== */
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.subscribe-bar {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 3px;
  padding: 4px 12px; transition: .15s;
}
.subscribe-bar:hover { background: var(--accent); color: #fff; }
