/* =========================================================================
   Mekong Youth Initiative — styles.css
   Aesthetic: boomer church bulletin, circa 2005-2007.
   Keep it simple; no preprocessors, no frameworks.
   ========================================================================= */

html, body {
  margin: 0;
  padding: 0;
  background: #e8dcc0;
  color: #2c1810;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.55;
}

/* Barber-pole "under construction" banner ---------------------------------- */
.construction-banner {
  background: repeating-linear-gradient(
    45deg,
    #ead9a7 0,
    #ead9a7 16px,
    #c9b079 16px,
    #c9b079 32px
  );
  padding: 6px 0;
  text-align: center;
  border-bottom: 1px solid #b8860b;
}
.construction-banner .inner {
  display: inline-block;
  background: #f4ecd6;
  color: #7a2038;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 4px 18px;
  border: 1px solid #b8860b;
  text-transform: uppercase;
  font-size: 13px;
}

/* Marquee ------------------------------------------------------------------ */
.top-marquee {
  background: #1e3a5f;
  color: #f4ecd6;
  font-family: "Courier New", monospace;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid #2c1810;
}
.top-marquee marquee {
  color: #f4ecd6;
}

/* Page container (the classic centered ~780px column) --------------------- */
.page {
  width: 780px;
  margin: 0 auto;
  background: #f4ecd6;
  border-left: 1px solid #8a7a5a;
  border-right: 1px solid #8a7a5a;
  padding: 0;
  box-shadow: 0 0 0 1px #d4c49a inset;
}

/* Header ------------------------------------------------------------------- */
.site-header {
  padding: 24px 32px 16px 32px;
  text-align: center;
  border-bottom: 3px double #7a2038;
  background:
    radial-gradient(circle at 50% 140%, #ead9a7 0%, #f4ecd6 60%);
}
.site-header .wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: bold;
  color: #1e3a5f;
  letter-spacing: 1px;
  margin: 0;
  font-variant: small-caps;
  text-shadow: 1px 1px 0 #d4c49a;
}
.site-header .wordmark .amp {
  color: #7a2038;
  font-style: italic;
}
.site-header .tagline {
  font-style: italic;
  color: #2c1810;
  margin: 6px 0 4px 0;
  font-size: 15px;
}
.site-header .stamp {
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: #6a5230;
  margin-top: 10px;
}

/* Nav bar (table-ish feel) ------------------------------------------------- */
.site-nav {
  background: #1e3a5f;
  border-top: 1px solid #0d2340;
  border-bottom: 2px solid #0d2340;
  text-align: center;
  padding: 0;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li {
  display: inline-block;
  border-right: 1px solid #3a5a80;
}
.site-nav li:last-child { border-right: none; }
.site-nav a,
.site-nav a:link,
.site-nav a:visited {
  display: inline-block;
  padding: 8px 14px;
  color: #f4ecd6;
  text-decoration: none;
  font-size: 14px;
  font-variant: small-caps;
  letter-spacing: 1px;
}
.site-nav a:hover {
  background: #7a2038;
  color: #f5d547;
  text-decoration: underline;
}

/* Content ------------------------------------------------------------------ */
.content {
  padding: 24px 32px 32px 32px;
}

section {
  margin-bottom: 28px;
}

h2.section-title {
  font-family: Georgia, serif;
  font-size: 22px;
  color: #7a2038;
  margin: 0 0 4px 0;
  padding: 0 0 4px 0;
  border-bottom: 1px solid #b8860b;
  font-variant: small-caps;
  letter-spacing: 1px;
}

h3 {
  font-size: 17px;
  color: #1e3a5f;
  margin: 14px 0 6px 0;
}

p { margin: 8px 0; }

a { color: #0000ee; }
a:visited { color: #551a8b; }
a:hover { color: #7a2038; }

/* Hero --------------------------------------------------------------------- */
.hero table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.hero td {
  vertical-align: top;
  padding: 8px;
}
.hero .hero-photo {
  width: 300px;
  padding-right: 24px;
}
.hero .hero-photo img {
  width: 100%;
  height: auto;
  border: 4px solid #2c1810;
  box-shadow: 3px 3px 0 #b8860b;
  display: block;
}
.hero .hero-photo .caption {
  font-size: 11px;
  font-style: italic;
  color: #6a5230;
  text-align: center;
  margin-top: 4px;
}
.hero .hero-copy p.lead {
  font-size: 16px;
}
.launch-callout {
  margin-top: 14px;
  padding: 10px 14px;
  border: 2px dashed #7a2038;
  background: #fffbe8;
  font-weight: bold;
  color: #7a2038;
  text-align: center;
  font-size: 15px;
}
.launch-callout .date {
  display: block;
  font-size: 18px;
  color: #1e3a5f;
  margin-top: 2px;
}

/* Generic photo box -------------------------------------------------------- */
.photo-box {
  border: 3px solid #2c1810;
  box-shadow: 3px 3px 0 #b8860b;
  padding: 0;
  display: inline-block;
  background: #fff;
}
.photo-box img {
  display: block;
  width: 100%;
  height: auto;
}
.photo-box .caption {
  font-size: 11px;
  font-style: italic;
  color: #2c1810;
  background: #ead9a7;
  padding: 4px 8px;
  border-top: 1px solid #2c1810;
}

/* About section (two-col table) ------------------------------------------- */
.about table {
  width: 100%;
  border-collapse: collapse;
}
.about td {
  vertical-align: top;
  padding: 8px;
}
.about .portrait {
  width: 240px;
  padding-right: 24px;
}
.about .portrait img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: 42% 35%;
  border: 4px solid #2c1810;
  box-shadow: 3px 3px 0 #b8860b;
  display: block;
}
.about .portrait .caption {
  font-size: 11px;
  font-style: italic;
  color: #6a5230;
  text-align: center;
  margin-top: 4px;
}

/* Mission grid ------------------------------------------------------------- */
.mission-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px;
  margin-top: 10px;
}
.mission-grid td {
  width: 33.33%;
  vertical-align: top;
  text-align: center;
}
.mission-grid td img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 3px solid #2c1810;
  box-shadow: 3px 3px 0 #b8860b;
  display: block;
}
.mission-grid .country-name {
  margin-top: 6px;
  font-weight: bold;
  color: #1e3a5f;
  font-variant: small-caps;
  letter-spacing: 1px;
}
.mission-grid .country-note {
  font-size: 12px;
  color: #2c1810;
}

.scripture {
  margin: 16px auto;
  padding: 12px 18px;
  background: #ead9a7;
  border-left: 4px solid #7a2038;
  border-right: 4px solid #7a2038;
  font-style: italic;
  text-align: center;
  max-width: 620px;
  color: #2c1810;
}
.scripture .ref {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  color: #6a5230;
  font-variant: small-caps;
}

/* Course section ----------------------------------------------------------- */
.course-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.badge-new {
  display: inline-block;
  background: #f5d547;
  color: #7a2038;
  border: 2px solid #7a2038;
  font-weight: bold;
  font-size: 11px;
  padding: 2px 8px;
  letter-spacing: 1px;
  transform: rotate(-6deg);
  font-variant: small-caps;
  box-shadow: 2px 2px 0 #2c1810;
}

.curriculum {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  background: #fffbe8;
  border: 1px solid #b8860b;
}
.curriculum th,
.curriculum td {
  border: 1px solid #d4c49a;
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.curriculum th {
  background: #1e3a5f;
  color: #f4ecd6;
  font-variant: small-caps;
  letter-spacing: 1px;
}
.curriculum td.mod-num {
  width: 64px;
  font-family: "Courier New", monospace;
  color: #7a2038;
  font-weight: bold;
  text-align: center;
}

.course-disclaimer {
  font-size: 12px;
  color: #6a5230;
  font-style: italic;
  margin-top: 8px;
}

.more-courses {
  margin-top: 10px;
  padding: 10px 14px;
  background: #ead9a7;
  border: 1px dashed #7a2038;
  font-size: 14px;
}

/* Resources ---------------------------------------------------------------- */
.resources-cols {
  width: 100%;
  border-collapse: collapse;
}
.resources-cols td {
  vertical-align: top;
  padding: 6px 10px;
  width: 33.33%;
}
.resources-cols h3 {
  margin-top: 0;
  font-size: 14px;
  font-variant: small-caps;
  letter-spacing: 1px;
  color: #7a2038;
  border-bottom: 1px dotted #b8860b;
  padding-bottom: 2px;
}
.resources-cols ul {
  margin: 6px 0;
  padding-left: 18px;
  font-size: 13px;
}
.resources-cols li { margin-bottom: 3px; }

/* Support / Donate --------------------------------------------------------- */
.support-box {
  background: #fffbe8;
  border: 2px solid #b8860b;
  padding: 14px 18px;
  text-align: center;
}
.support-box .coming-soon {
  display: inline-block;
  background: #7a2038;
  color: #f5d547;
  padding: 3px 10px;
  font-variant: small-caps;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #2c1810;
}
.support-box ul {
  display: inline-block;
  text-align: left;
  margin: 10px auto;
  padding-left: 20px;
}

/* Contact ------------------------------------------------------------------ */
.contact-grid {
  width: 100%;
  border-collapse: collapse;
}
.contact-grid td {
  vertical-align: top;
  padding: 8px;
}
.contact-grid .contact-left {
  width: 45%;
}
.contact-grid .contact-right {
  width: 55%;
}

.contact-form label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-variant: small-caps;
  letter-spacing: 1px;
  color: #1e3a5f;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font-family: Georgia, serif;
  font-size: 14px;
  padding: 4px 6px;
  border: 1px solid #8a7a5a;
  background: #fffbe8;
  box-sizing: border-box;
}
.contact-form textarea { min-height: 80px; resize: vertical; }
.contact-form button {
  margin-top: 10px;
  background: #1e3a5f;
  color: #f4ecd6;
  border: 2px outset #3a5a80;
  padding: 6px 18px;
  font-family: Georgia, serif;
  font-size: 14px;
  font-variant: small-caps;
  letter-spacing: 1px;
  cursor: pointer;
}
.contact-form button:hover {
  background: #7a2038;
}

.email-line {
  font-size: 16px;
  font-weight: bold;
}
.email-line a { color: #7a2038; }

.socials {
  margin-top: 12px;
  font-size: 13px;
}
.socials .icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 6px;
  background: #d4c49a;
  border: 1px solid #8a7a5a;
  color: #6a5230;
  text-align: center;
  line-height: 36px;
  font-weight: bold;
  font-family: Georgia, serif;
  font-size: 18px;
  cursor: not-allowed;
  opacity: 0.65;
  font-variant: small-caps;
}
.socials .note {
  font-size: 11px;
  font-style: italic;
  color: #6a5230;
  margin-top: 4px;
}

/* Footer ------------------------------------------------------------------- */
.site-footer {
  border-top: 3px double #7a2038;
  padding: 16px 32px 22px 32px;
  text-align: center;
  background: #ead9a7;
  color: #2c1810;
}
.site-footer .verse {
  font-style: italic;
  font-size: 14px;
  max-width: 560px;
  margin: 0 auto 8px auto;
}
.site-footer .verse .ref {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #6a5230;
  font-variant: small-caps;
  margin-top: 2px;
}
.site-footer .util {
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: #2c1810;
  margin-top: 10px;
}
.site-footer .util .counter {
  display: inline-block;
  background: #2c1810;
  color: #5cff5c;
  padding: 2px 8px;
  font-weight: bold;
  border: 1px solid #000;
  letter-spacing: 2px;
  margin: 0 4px;
}
.site-footer .copy {
  font-size: 11px;
  margin-top: 8px;
  color: #6a5230;
}

/* Horizontal rules --------------------------------------------------------- */
hr.fancy {
  border: 0;
  border-top: 1px solid #b8860b;
  border-bottom: 1px solid #b8860b;
  height: 3px;
  background: transparent;
  margin: 18px 0;
}

/* Small screen fallback (we don't really do responsive in 2005, but...) ---- */
@media (max-width: 820px) {
  .page { width: 100%; border-left: none; border-right: none; }
  .site-header, .content, .site-footer { padding-left: 16px; padding-right: 16px; }
  .hero table, .about table, .contact-grid { display: block; }
  .hero td, .about td, .contact-grid td { display: block; width: 100% !important; }
  .hero .hero-photo, .about .portrait { width: 100%; }
  .mission-grid td { display: inline-block; width: 46%; }
  .resources-cols td { display: block; width: 100%; }
}
