@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&family=Inter:wght@500;600&display=swap');

:root {
  --indigo-950: #1B2440;
  --indigo-800: #2C3A63;
  --marigold:   #D9932E;
  --marigold-soft: #E8B563;
  --vermilion:  #A23E2E;
  --ivory:      #FBF5E9;
  --ivory-dim:  #F3EADA;
  --ink:        #2A2115;
  --ink-soft:   #5A4E3C;

  --font-display: "Fraunces", serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--vermilion);
  text-decoration: none;
  border-bottom: 1px solid rgba(162, 62, 46, 0.35);
  transition: border-color .15s ease, color .15s ease;
}
a:hover, a:focus-visible {
  color: var(--marigold);
  border-color: var(--marigold);
}
a:focus-visible {
  outline: 2px solid var(--marigold);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--indigo-950);
  margin: 0 0 .5em;
}

/* ---------- Header ---------- */
header {
  background: linear-gradient(180deg, var(--indigo-950), var(--indigo-800));
  color: var(--ivory);
  padding: 2.25rem 1.5rem 0;
  border-bottom: 3px solid var(--marigold);
  text-align: center;
}
header h1 {
  color: var(--ivory);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: .3rem;
}
header p {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: .95rem;
  color: var(--marigold-soft);
  margin: 0 0 1.5rem;
}

/* Matches header nav, whether it's a <nav> element or a #nav div */
header nav, #nav {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: .9rem;
  padding-bottom: 1.1rem;
}
header nav ul, header nav ol, #nav ul, #nav ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 0;
  margin: 0;
  padding: 0;
}
header nav li, #nav li { display: flex; align-items: center; }
header nav li:not(:last-child)::after, #nav li:not(:last-child)::after {
  content: "·";
  color: var(--marigold);
  margin: 0 .9rem;
}
header nav a, #nav a {
  color: var(--ivory);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
header nav a:hover, header nav a:focus-visible, #nav a:hover, #nav a:focus-visible { color: var(--marigold-soft); border-color: var(--marigold-soft); }

/* ---------- Main / two-column layout ---------- */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: start;
}

/* Single-column subpages (News, Documents, Facebook, Address, Contact) —
   same header/footer/type system as the homepage, no sidebar grid. */
main.single-column {
  display: block;
  max-width: 760px;
}
.page-intro {
  font-family: var(--font-ui);
  font-size: .95rem;
  color: var(--ink-soft);
  margin: -.3rem 0 1.75rem;
}
.page-content h2 {
  font-size: 1.4rem;
  border-bottom: 2px solid var(--marigold-soft);
  padding-bottom: .4rem;
  margin-top: 2.2rem;
}
.page-content h2:first-child { margin-top: 0; }
.page-content ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.page-content ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
}
.page-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 9px;
  height: 9px;
  background: var(--marigold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(217, 147, 46, .15);
}
.page-content ol.numbered-quotes {
  list-style: none;
  counter-reset: quote;
  margin: 0 0 1.5rem;
  padding: 0;
}
.page-content ol.numbered-quotes li {
  counter-increment: quote;
  position: relative;
  padding: .6rem 0 .6rem 2.4rem;
  border-bottom: 1px dashed rgba(27, 36, 64, .12);
  font-size: .95rem;
}
.page-content ol.numbered-quotes li:last-child { border-bottom: none; }
.page-content ol.numbered-quotes li::before {
  content: counter(quote);
  position: absolute;
  left: 0;
  top: .65rem;
  min-width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--indigo-950);
  color: var(--marigold-soft);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .72rem;
  border-radius: 50%;
}
.page-content .quote-block {
  background: #fff;
  border-left: 4px solid var(--marigold-soft);
  border-radius: 0 4px 4px 0;
  padding: .9rem 1.2rem;
  margin: 0 0 1.5rem 2.4rem;
  font-size: .92rem;
  font-style: italic;
  color: var(--ink-soft);
  box-shadow: 0 1px 3px rgba(27, 36, 64, .06);
}
.page-content .quote-source {
  display: block;
  margin-top: .5rem;
  font-style: normal;
  font-family: var(--font-ui);
  font-size: .78rem;
  color: var(--ink-soft);
  opacity: .8;
}
.page-content .venue-block {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(27, 36, 64, .08);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
}
.page-content .venue-block h3 {
  font-size: 1.05rem;
  margin-bottom: .4rem;
}

/* Contact form */
.contact-form {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(27, 36, 64, .08);
  padding: 1.75rem;
  max-width: 480px;
}
.contact-form label {
  display: block;
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 600;
  color: var(--indigo-950);
  margin: 0 0 .35rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .6rem .75rem;
  border: 1px solid rgba(27, 36, 64, .2);
  border-radius: 4px;
  margin-bottom: 1.1rem;
  background: var(--ivory);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--marigold);
  outline-offset: 1px;
  border-color: var(--marigold);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .honeypot { display: none; }
.contact-form button {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .9rem;
  background: var(--indigo-950);
  color: var(--marigold-soft);
  border: none;
  border-radius: 4px;
  padding: .7rem 1.5rem;
  cursor: pointer;
  transition: background .15s ease;
}
.contact-form button:hover { background: var(--indigo-800); }

.col-left h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid var(--marigold-soft);
  padding-bottom: .4rem;
  margin-top: 2.4rem;
}
.col-left h2:first-child { margin-top: 0; }
.col-left h3 {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 1.6rem;
}

/* Diya (lamp) bullet — the page's one signature motif, used only for
   lecture-series lists so it stays meaningful rather than decorative. */
.col-left ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.col-left ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
}
.col-left ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 9px;
  height: 9px;
  background: var(--marigold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(217, 147, 46, .15);
}

.notice {
  background: #FBEFE9;
  border-left: 4px solid var(--vermilion);
  border-radius: 0 4px 4px 0;
  padding: .9rem 1.2rem;
  margin: 0 0 1.5rem;
  font-family: var(--font-ui);
  font-size: .92rem;
  color: var(--ink);
}
.notice p { margin: 0; }
.notice strong { color: var(--vermilion); }

/* Lecture archive — a real reference sequence (some entries point back to
   others by number), so it keeps numerals instead of the diya bullet. */
.lecture-archive {
  list-style: none;
  counter-reset: lecture;
  margin: 0 0 1.5rem;
  padding: 0;
}
.lecture-archive li {
  counter-increment: lecture;
  position: relative;
  padding: .5rem 0 .5rem 2.4rem;
  border-bottom: 1px dashed rgba(27, 36, 64, .12);
  font-size: .96rem;
}
.lecture-archive li:last-child { border-bottom: none; }
.lecture-archive li::before {
  content: counter(lecture);
  position: absolute;
  left: 0;
  top: .55rem;
  min-width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--indigo-950);
  color: var(--marigold-soft);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .72rem;
  border-radius: 50%;
}

/* Canto grid — four short reference cards, each with a canto illustration.
   Cards (not the diya bullet) carry the visual weight here since the photo
   already anchors each column. */
.canto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1rem 0 1.75rem;
}
.canto-col {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(27, 36, 64, .08);
  display: flex;
  align-items: stretch;
  gap: 0;
}
.canto-photo {
  display: block;
  width: 110px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}
.canto-body {
  padding: .7rem .9rem;
  flex: 1;
  min-width: 0;
}
.canto-col h4 {
  font-size: .95rem;
  margin-bottom: .4rem;
}
.canto-col h4 a { border-bottom: none; }
.canto-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.canto-col ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: .35rem;
  font-size: .84rem;
}
.canto-col ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .4em;
  width: 6px;
  height: 6px;
  background: var(--marigold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
}

@media (max-width: 560px) {
  .canto-grid { grid-template-columns: 1fr; }
}

/* Prabhupada card — the one piece of media reintroduced by request; kept
   quiet and card-like so it doesn't compete with the marigold accents. */
.prabhupada-card {
  margin: 0 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(27, 36, 64, .15);
  text-align: center;
}
.prabhupada-photo {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: 20% center;
  border-radius: 50%;
  border: 3px solid var(--marigold-soft);
  margin: 0 auto .9rem;
}
.prabhupada-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--indigo-950);
  margin-bottom: 1.2rem;
}
.audio-item {
  text-align: center;
  margin-bottom: 1.1rem;
}
.audio-item:last-child { margin-bottom: 0; }
.audio-label {
  font-family: var(--font-ui);
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0 0 .4rem;
}
.audio-item audio {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 34px;
  margin: 0 auto;
}

.col-right-note {
  font-family: var(--font-ui);
  font-size: .8rem;
  color: var(--ink-soft);
  margin: -.3rem 0 .6rem;
}

footer p { margin: 0 0 .4rem; }
footer p:last-child { margin-bottom: 0; }
footer a { border-bottom: 1px solid transparent; }
footer a:hover { border-color: var(--marigold-soft); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.75rem;
  font-family: var(--font-ui);
  font-size: .92rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(27, 36, 64, .08);
}
th, td {
  text-align: left;
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--ivory-dim);
}
th {
  background: var(--indigo-950);
  color: var(--ivory);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .75rem;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--ivory-dim); }

/* ---------- Right column (aside) ---------- */
.col-right {
  background: var(--ivory-dim);
  border: 1px solid rgba(27, 36, 64, .08);
  border-top: 3px solid var(--marigold);
  border-radius: 4px;
  padding: 1.5rem 1.6rem;
  font-size: .95rem;
}
.col-right h3 {
  font-size: 1.05rem;
  margin-top: 1.8rem;
}
.col-right h3:first-child { margin-top: 0; }
.col-right ul {
  list-style: none;
  margin: 0 0 .5rem;
  padding: 0;
}
.col-right li {
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(27, 36, 64, .12);
}
.col-right li:last-child { border-bottom: none; }

/* ---------- Footer ---------- */
footer {
  background: var(--indigo-950);
  color: var(--marigold-soft);
  text-align: center;
  padding: 1.5rem;
  font-family: var(--font-ui);
  font-size: .85rem;
  border-top: 3px solid var(--marigold);
}
footer a { color: var(--marigold-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  main {
    grid-template-columns: 1fr;
  }
  header nav li:not(:last-child)::after, #nav li:not(:last-child)::after { margin: 0 .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none; }
}
