/* === Base Styles === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a3a5c;
  --accent: #c8a84b;
  --text: #2c2c2c;
  --light-bg: #f5f0e8;
  --white: #ffffff;
  --border: #d6cbb8;
  --max-width: 1100px;
}

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.0625rem;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--accent);
}

/* === Header / Nav === */
header {
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

header .site-title {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  color: var(--accent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav ul li a {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

nav ul li a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* === Hero Section === */
.hero {
  position: relative;
  text-align: center;
  background-color: var(--primary);
}

.hero img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.hero-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(160deg, #1a3a5c 0%, #2e5f94 60%, #c8a84b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

.hero-caption {
  background-color: var(--primary);
  color: var(--white);
  padding: 1.2rem 2rem;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-style: italic;
  letter-spacing: 0.03em;
  border-bottom: 4px solid var(--accent);
}

.hero-caption span {
  color: var(--accent);
}

/* === Main Content === */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

section {
  margin-bottom: 3.5rem;
}

h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.4rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

/* === Read More Button === */
.read-more-link {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  color: var(--primary);
  font-style: italic;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
}

.read-more-link:hover {
  color: var(--accent);
}

.about-more-hidden {
  display: none;
}

/* === Explanation Section === */
.explanation {
  background-color: var(--light-bg);
  border-left: 5px solid var(--accent);
  padding: 1.5rem 2rem;
  border-radius: 0 6px 6px 0;
}

.explanation blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--primary);
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

/* === Section Links Cards === */
.section-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.section-card {
  background-color: var(--light-bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 6px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.section-card:hover {
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.15);
  transform: translateY(-3px);
}

.section-card .card-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.section-card h3 {
  margin-bottom: 0.5rem;
}

.section-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.section-card a.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background-color 0.2s;
}

.section-card a.btn:hover {
  background-color: var(--accent);
  text-decoration: none;
  color: var(--primary);
}

/* === Video Grid === */
.video-grid-container {
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  min-width: 300px;
}

.video-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--light-bg);
  transition: box-shadow 0.2s, transform 0.2s;
}

.video-card:hover {
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.18);
  transform: translateY(-3px);
}

.video-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 */
  background-color: #000;
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.video-card:hover .video-thumbnail img {
  opacity: 0.85;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background-color: rgba(200, 168, 75, 0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-icon::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--primary);
  margin-left: 4px;
}

.video-info {
  padding: 0.8rem 1rem;
}

.video-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.video-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.invitation {
  background: linear-gradient(135deg, var(--primary) 0%, #2e5f94 100%);
  color: var(--white);
  border-radius: 10px;
  padding: 2.5rem 2rem;
}

.invitation h2 {
  color: var(--accent);
  border-bottom-color: rgba(255, 255, 255, 0.3);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.invitation p {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 1rem auto;
}

.invitation ul {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 1rem auto;
  padding-left: 2em;
}

.invitation .prize {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.6rem 1.6rem;
  border-radius: 30px;
  margin-top: 0.5rem;
}

.page-hero {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-bottom: 4px solid var(--accent);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
  opacity: 0.88;
}

.schedule {
  padding: 3rem 1rem;
  color: #777;
  font-style: italic;
  font-size: 1.1rem;
}

.silver-dollars {
  display: flex;
  justify-content: center;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
}

footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.95rem;
  margin-top: 2rem;
}

footer a {
  color: var(--accent);
}

@media (max-width: 600px) {
  html {
    font-size: 18px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    gap: 0.8rem;
  }

  .hero-caption {
    font-size: 1.2rem;
    padding: 1rem;
  }

  .explanation {
    padding: 1rem 1.2rem;
  }
}