/* --------------------- */
/* Base Reset and Layout  */
/* --------------------- */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #f8f8f8;
  color: #333333;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #f8f8f8;
  background-image: url("/images/paper-texture.png");
  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed; /* gives depth */
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: rgba(248, 248, 248, 0.4);
  pointer-events: none;
}
/* --------------------- */
/* CFP Page Header Block  */
/* --------------------- */

.cfp-header {
  background-color: #002147;
  color: #fef6e4;
  padding: 3rem 2rem;
  border-bottom: 1px solid #001a39;
  margin-bottom: 2rem;
}

.cfp-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cfp-header h1,
.cfp-header h2,
.cfp-header p {
  color: #fef6e4;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  margin: 0;
}

.cfp-header h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.cfp-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cfp-header p {
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Optional: modify button inside indigo block */

.cfp-header .button {
  background-color: transparent;
  color: #fef6e4;
  border: 2px solid #fef6e4;
}

.cfp-header .button:hover {
  background-color: #fef6e4;
  color: #002147;
  border-color: #fef6e4;
}
.button {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #002147;  /* navy blue */
  color: #fef6e4;
  padding: 0.5rem 1rem;
  border: 2px solid #002147;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  width: fit-content;
  display: inline-block;
}

.button:hover {
  background-color: #fef6e4;
  color: #002147;
  border-color: #fef6e4;
}

/* --------------------- */
/* Typography             */
/* --------------------- */

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight:400;
  font-style: italic;
  color: #002147;
  margin-top: 2em;
  margin-bottom: 1em;
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 2em;
}

h3   {
  font-size: 1.5em;
}

h4 {
  font-size: 1.2em;
}

p, li {
  font-size: 16px;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* In-text links */
p a, li a {
  color: #003366;
  text-decoration: underline;
  text-underline-offset: 2px;
}

p a:hover, li a:hover {
  color: #8a1538;
  text-decoration-thickness: 2px;
}

/* --------------------- */
/* Lists                  */
/* --------------------- */

ul, ol {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

li {
  position: relative;
  padding-left: 0.75rem;
}

/* Custom bullet for unordered lists */
ul li::before {
  content: "‣";
  position: absolute;
  left: -1rem;
  color: #002147;
  font-weight: bold;
  font-size: 1rem;
}

.masonry{
  display:flex;
  gap: 30px 20px;
  flex-wrap: wrap;
}

.masonry .masonry-block{
  width: 30%;
  border-bottom: #ccc 1px solid;
  padding: 10px;
  box-sizing: border-box;
}

/* --------------------- */
/* Site Branding          */
/* --------------------- */

.site-branding {
  margin-bottom: 0.25rem; /* tighter */
  text-align: left;
}

.site-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.6rem;
  color: #002147;
  text-decoration: none;
  line-height: 1.2;
  margin: 0;
}

.site-title span {
  font-weight: 300;
  font-style: normal;
  color: #333333;
}

.site-subtitle {
  font-size: 0.95rem;
  color: #666666;
  margin: 0.25rem 0 0 0;
  font-family: 'Source Sans Pro', sans-serif;
}


/* --------------------- */
/* Navigation             */
/* --------------------- */

.site-nav {
  border-top: 1px solid #ccc;   /* ✅ Add border above */
  padding-top: 0.75rem;
  margin-bottom: 2rem;          /* ✅ Leave space below */
  display: flex;
  gap: 1rem;
}

.site-nav a {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #002147;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.site-nav a:hover {
  color: #8a1538;
}


/* --------------------- */
/* Main Content           */
/* --------------------- */

main {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.button {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #fef6e4;
  color: #002147;
  padding: 0.5rem 1rem;
  border: 2px solid #002147;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  width: fit-content;
}

.button:hover {
 background-color: transparent;
color: #fef6e4;
border-color: #fef6e4;
}

.tabs { max-width:100%; margin: 2rem auto; font: 16px/1.5 system-ui, sans-serif; }
.tablist { display: flex; gap: .25rem; border-bottom:; }
.tablist [role="tab"] {
  border: 1px solid #ccc; border-bottom: none; padding: .5rem .75rem; background: #003366; color:#fff;
  cursor: pointer; border-top-left-radius: .5rem; border-top-right-radius: .5rem;
}
.tablist [role="tab"][aria-selected="true"] { background: white; font-weight: 600;color:#003366; }
[role="tabpanel"] { border: 1px solid #ccc; padding: 1rem; border-radius: 0 .5rem .5rem .5rem; }
[role="tabpanel"][hidden] { display: none; }
.tabpanel {background-color: #f7f7f7;border-top:0;}
/* --------------------- */
/* Footer                 */
/* --------------------- */

footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #ccc;
  font-size: 0.9rem;
  color: #666666;
}

/* --------------------- */
/* Responsive Adjustments */
/* --------------------- */

@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }
}
