/* ==========================================================================
   Site-wide shared styles for Jekyll pages
   Uses the same color palette as the main index.html
   ========================================================================== */

:root {
  --catholic-red: #B21F2C;
  --catholic-blue: #0A3255;
  --bright-red: #E82F35;
  --bright-blue: #2459A9;
  --light-red: #E96955;
  --light-blue: #6DACDE;
  --yellow: #FFD65C;
  --light-blue-green: #B5E1E1;
  --text: #333;
  --bg: #fff;
  --max-width: 1100px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(135deg, var(--catholic-blue) 0%, var(--bright-blue) 100%);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-title {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}

.site-title:hover {
  color: var(--yellow);
}

.site-tagline {
  font-family: 'Crimson Text', serif;
  font-size: 1.4rem;
  opacity: 0.95;
  margin: 0.6rem 0 0;
}

.site-hero-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0.75rem auto 0;
  max-width: 680px;
  line-height: 1.6;
}

/* ---------- Navigation ---------- */
.site-nav {
  background-color: var(--catholic-red);
  padding: 0.6rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  max-width: var(--max-width);
  justify-content: center;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--yellow);
}

/* ---------- Home local anchor nav (distinct from global nav) ---------- */
.home-local-nav {
  background-color: var(--catholic-blue);
  padding: 0.45rem 1rem;
}

.home-local-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  max-width: 1200px;
  justify-content: center;
}

.home-local-nav a {
  color: var(--light-blue-green);
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.home-local-nav a:hover {
  color: #fff;
  border-bottom-color: var(--yellow);
}

/* ---------- Main content ---------- */
.site-content {
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 0 1.25rem;
}

/* ---------- Hub / index pages ---------- */
.hub-intro {
  margin-bottom: 2rem;
}

.hub-intro h1 {
  font-family: 'Oswald', sans-serif;
  color: var(--catholic-blue);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hub-intro p {
  font-family: 'Crimson Text', serif;
  font-size: 1.15rem;
  color: #555;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 1.25rem 0;
}

.post-list-item:last-child {
  border-bottom: none;
}

.post-list-item h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  margin: 0 0 0.25rem;
}

.post-list-item h2 a {
  color: var(--catholic-blue);
  text-decoration: none;
}

.post-list-item h2 a:hover {
  color: var(--bright-red);
  text-decoration: underline;
}

.post-meta {
  font-size: 0.85rem;
  color: #777;
  margin: 0.2rem 0 0.5rem;
}

.post-category {
  color: var(--catholic-red);
  text-decoration: none;
}

.post-category:hover {
  text-decoration: underline;
}

.post-tag {
  display: inline-block;
  background: var(--light-blue-green);
  color: var(--catholic-blue);
  border-radius: 3px;
  padding: 0 0.4em;
  font-size: 0.8rem;
}

.post-excerpt {
  margin: 0;
  color: #555;
}

/* ---------- Post page ---------- */
.post-header {
  margin-bottom: 1.5rem;
}

.post-title {
  font-family: 'Oswald', sans-serif;
  color: var(--catholic-blue);
  font-size: 2rem;
  margin: 0 0 0.35rem;
}

.post-content h2,
.post-content h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--catholic-blue);
  margin-top: 2rem;
}

.post-content a {
  color: var(--bright-blue);
}

.post-content details {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
  background: #f9f9f9;
}

.post-content details summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--catholic-blue);
}

.post-content details[open] summary {
  margin-bottom: 0.75rem;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Post navigation ---------- */
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  font-size: 0.9rem;
}

.post-nav a {
  color: var(--bright-blue);
  text-decoration: none;
}

.post-nav a:hover {
  text-decoration: underline;
}

/* ---------- Podcast embed placeholder ---------- */
.podcast-embed-placeholder {
  border: 2px dashed var(--light-blue);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  color: #777;
  margin: 1.5rem 0;
}

/* ---------- Embed details wrapper ---------- */
details.embed {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
  background: #f9f9f9;
}

details.embed summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--catholic-blue);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  list-style: none;
}

details.embed summary::-webkit-details-marker {
  display: none;
}

details.embed summary::before {
  content: '▶ ';
  font-size: 0.75rem;
}

details.embed[open] summary::before {
  content: '▼ ';
}

details.embed[open] summary {
  margin-bottom: 0.75rem;
}

/* ---------- SSRN / CTA link ---------- */
.cta-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--catholic-blue) 0%, var(--bright-blue) 100%);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 50, 85, 0.3);
  color: var(--yellow);
}

/* ---------- Contact form ---------- */
.contact-page-grid {
  max-width: 800px;
  margin: 2rem auto;
}

.contact-form-box {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 2px solid var(--light-blue);
  margin-bottom: 2rem;
}

.contact-form-box h2 {
  font-family: 'Oswald', sans-serif;
  color: var(--catholic-blue);
  margin: 0 0 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--catholic-blue);
  margin-bottom: 0.5rem;
  font-family: 'Oswald', sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bright-blue);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(135deg, var(--catholic-red) 0%, var(--bright-red) 100%);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(178, 31, 44, 0.3);
}

.contact-info-box {
  background: linear-gradient(135deg, var(--catholic-blue) 0%, var(--bright-blue) 100%);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.contact-info-box h3 {
  font-family: 'Oswald', sans-serif;
  color: white;
  margin: 0 0 1rem;
}

/* ---------- Lectures hub ---------- */
.lectures-toc {
  background: #f8f9fa;
  border-left: 4px solid var(--catholic-red);
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0 2.5rem;
}

.lectures-toc h2 {
  font-family: 'Oswald', sans-serif;
  color: var(--catholic-blue);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 0.75rem;
}

.lectures-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.lectures-toc a {
  color: var(--bright-blue);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
}

.lectures-toc a:hover {
  color: var(--catholic-red);
  text-decoration: underline;
}

.lectures-topic {
  margin: 3rem 0;
  scroll-margin-top: 120px;
}

.lectures-topic h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--catholic-blue);
  border-bottom: 3px solid var(--catholic-red);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.lectures-topic h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--bright-blue);
  font-size: 1.4rem;
  margin: 1.5rem 0 0.75rem;
}

.lectures-topic p {
  color: #555;
  line-height: 1.7;
}

/* Responsive podcast embed (non-16:9; fixed height) */
.podcast-embed {
  margin: 1.5rem 0;
  border-radius: 6px;
  overflow: hidden;
}

.podcast-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ---------- Scholarship placeholder ---------- */
.scholarship-intro {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 5px solid var(--catholic-red);
  padding: 2rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
}

.scholarship-intro h1 {
  font-family: 'Oswald', sans-serif;
  color: var(--catholic-blue);
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.scholarship-intro p {
  font-family: 'Crimson Text', serif;
  font-size: 1.15rem;
  color: #444;
  margin: 0;
}

.scholarship-coming-soon {
  text-align: center;
  padding: 3rem 1rem;
  color: #777;
}

.scholarship-coming-soon p {
  font-family: 'Crimson Text', serif;
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

.scholarship-coming-soon a {
  color: var(--bright-blue);
}

/* ---------- Post kind badge ---------- */
.post-kind-badge {
  display: inline-block;
  background: var(--catholic-blue);
  color: #fff;
  border-radius: 3px;
  padding: 0 0.45em;
  font-size: 0.75rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 0.4em;
}

/* ---------- Explore Library callout ---------- */
.explore-library-callout {
  background: #f0f4fa;
  border-left: 4px solid var(--bright-blue);
  padding: 0.75rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 2rem;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  color: #444;
}

.explore-library-callout a {
  color: var(--bright-blue);
  font-weight: 500;
  text-decoration: none;
}

.explore-library-callout a:hover {
  text-decoration: underline;
}

/* ---------- Library tile grid ---------- */
.library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.library-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid #d0d8e4;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.library-tile:hover {
  border-color: var(--catholic-blue);
  box-shadow: 0 8px 18px rgba(10, 50, 85, 0.12);
  transform: translateY(-3px);
}

.library-tile-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.library-tile-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: var(--catholic-blue);
  margin: 1rem 1.25rem 0.5rem;
}

.library-tile-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0 1.25rem 1.25rem;
  line-height: 1.5;
}

.topic-bucket-hero {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 0.8rem;
}

.browse-area-strip {
  margin: 0 0 2rem;
}

.browse-area-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: var(--catholic-blue);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.browse-area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.browse-area-item {
  text-decoration: none;
  color: var(--text);
  text-align: center;
}

.browse-area-thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d0d8e4;
  display: block;
  margin: 0 auto;
}

.browse-area-name {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-family: 'Oswald', sans-serif;
  color: #4e5f77;
  font-variant: small-caps;
  letter-spacing: 0.6px;
}

/* ---------- Topic tile grid ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.topic-tile {
  display: block;
  border: 1px solid #d0d8e4;
  border-top: 3px solid var(--catholic-blue);
  border-radius: 0 0 6px 6px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  transition: border-top-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.topic-tile:hover {
  border-top-color: var(--catholic-red);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.topic-tile-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--catholic-blue);
  margin: 0 0 0.4rem;
}

.topic-tile-desc {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Breadcrumb ---------- */
.topic-breadcrumb {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.topic-breadcrumb a {
  color: var(--bright-blue);
  text-decoration: none;
}

.topic-breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- Back to library link ---------- */
.back-to-library {
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

.back-to-library a {
  color: var(--bright-blue);
  text-decoration: none;
}

.back-to-library a:hover {
  text-decoration: underline;
}

/* ---------- No-posts notice ---------- */
.no-posts-notice {
  color: #888;
  font-style: italic;
}

/* ---------- Post tags expandable ---------- */
.post-tags-detail {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
}

.post-tags-detail summary {
  cursor: pointer;
  color: var(--bright-blue);
}

.post-tags-detail summary:focus-visible {
  outline: 2px solid var(--bright-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--catholic-blue);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 1.25rem 1rem;
  font-size: 0.85rem;
  margin-top: 3rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .site-header {
    padding: 2.5rem 1.25rem;
  }
  .site-title {
    font-size: 1.75rem;
  }
  .site-tagline {
    font-size: 1.1rem;
  }
  .hub-intro h1,
  .post-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 992px) {
  .library-grid,
  .browse-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .library-grid,
  .browse-area-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Home-page section styles (extracted from index.html)
   ========================================================================== */

/* ---------- Local "On this page" nav ---------- */
.local-nav {
  background-color: var(--catholic-blue);
  padding: 0.6rem 1rem;
  position: sticky;
  top: 46px; /* sit below the red global nav */
  z-index: 99;
}

.local-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  max-width: var(--max-width);
  justify-content: center;
}

.local-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.local-nav a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.local-nav-label {
  color: rgba(255,255,255,0.5);
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 0.5rem;
}

/* ---------- Home page sections ---------- */
.site-content section {
  margin: 4rem 0;
  scroll-margin-top: 100px;
}

.site-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  color: var(--catholic-blue);
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--catholic-red);
  padding-bottom: 0.5rem;
}

.site-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  color: var(--bright-blue);
  margin: 2rem 0 1rem 0;
}

.site-content h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  color: var(--catholic-red);
  margin: 1.5rem 0 0.75rem 0;
  font-weight: 500;
}

/* ---------- Bio grid ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.bio-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-blue-green) 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.positions {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-left: 4px solid var(--catholic-red);
  margin: 1.5rem 0;
}

.positions h4 {
  margin-top: 0;
}

.positions ul {
  list-style: none;
  padding-left: 0;
}

.positions li {
  padding: 0.5rem 0;
  color: #555;
}

/* ---------- Book grid ---------- */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.book-card {
  background: white;
  border: 2px solid var(--light-blue);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.book-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--catholic-blue);
  margin-bottom: 0.5rem;
}

.book-publisher {
  color: #666;
  font-size: 0.95rem;
}

/* ---------- Article list (expandable) ---------- */
.article-list {
  list-style: none;
  padding: 0;
}

.article-list li {
  padding: 1rem;
  margin: 1rem 0;
  background-color: #f8f9fa;
  border-left: 4px solid var(--bright-blue);
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
  position: relative;
}

.article-list li:hover {
  background-color: #e9ecef;
  transform: translateX(5px);
}

.article-abstract {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-list li.expanded .article-abstract {
  display: block;
}

.expand-indicator {
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: var(--bright-blue);
  font-weight: bold;
}

.article-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--catholic-blue);
}

.article-journal {
  color: #666;
  font-style: italic;
  margin-top: 0.25rem;
}

/* ---------- Commentary grid ---------- */
.commentary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.commentary-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.commentary-card:hover {
  border-color: var(--catholic-red);
}

.commentary-title {
  font-weight: 500;
  color: var(--catholic-blue);
  margin-bottom: 0.5rem;
}

.commentary-source {
  color: var(--catholic-red);
  font-size: 0.9rem;
  font-weight: 500;
}

.commentary-date {
  color: #666;
  font-size: 0.85rem;
}

/* ---------- Teaching section ---------- */
.teaching-photo {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.teaching-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-caption {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.award-box {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffe89c 100%);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.award-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.award-box h4 {
  color: var(--catholic-blue);
  margin-top: 0;
}

.award-list {
  list-style: none;
  padding: 0;
}

.award-list li {
  padding: 0.5rem 0;
  color: #333;
}

/* ---------- Contact section ---------- */
.contact-grid {
  max-width: 800px;
  margin: 2rem auto;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 2px solid var(--light-blue);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--catholic-blue);
  margin-bottom: 0.5rem;
  font-family: 'Oswald', sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bright-blue);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(135deg, var(--catholic-red) 0%, var(--bright-red) 100%);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(178, 31, 44, 0.3);
}

.contact-info-box {
  background: linear-gradient(135deg, var(--catholic-blue) 0%, var(--bright-blue) 100%);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 2rem;
}

/* ---------- Lectures / Podbean embed ---------- */
.lectures-embed {
  margin: 2rem 0;
}

.lectures-embed iframe {
  width: 100%;
  border: none;
  border-radius: 6px;
}

/* ---------- Scholarship page ---------- */
.scholarship-intro {
  font-family: 'Crimson Text', serif;
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 2rem;
}

/* ---------- Responsive (home page) ---------- */
@media (max-width: 768px) {
  .bio-grid {
    grid-template-columns: 1fr;
  }

  .award-box {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .local-nav {
    top: 0;
    position: static;
  }
}
