/* === BASE LAYOUT & TYPOGRAPHY === */

body {
  background-color: #f9f3ed;
  color: #000000;
}

/* Balanced heading sizes */
h1 { font-size: 1.8em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }
h6 { font-size: 0.9em; }

/* Standard headings */
h1, h2, h4, h5, h6 {
  font-family: "Google Sans Code", serif;
  font-weight: 700;
  color: #012f4a; /* dark blue for titles */
  margin-bottom: 0.6em;
  line-height: 1.3;
}

/* Highlighted ### heading with yellow background */
h3 {
  font-family: "Google Sans Code", serif;
  font-weight: 700;
  color: #012f4a; /* dark blue */
  display: inline-block;
  padding: 0 4px;
  margin-bottom: 0.6em;
  line-height: 1.3;
  background: linear-gradient(180deg, transparent 60%, #fff6a2 60%);
}

/* Page title */
h1.title {
  font-size: 2.2em;
  color: #012f4a;
  font-family: "Google Sans Code", serif;
  letter-spacing: 0.4px;
  margin-bottom: 0.8em;
}

/* Lists */
ul, ol {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

/* === LINKS & EMPHASIS === */

a {
  color: #4a86e8;          /* light blue for clickable things */
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: #4a86e8;
  text-decoration: underline;
}

/* Bold text in dark blue (non-links) */
strong,
b {
  color: #012f4a;
  font-weight: 700;
}

/* If bold text is inside a link, keep it light blue */
a strong,
a b {
  color: #4a86e8;
}

/* === NAVBAR === */

.navbar-nav .nav-link {
  margin: 0 18px;
  padding-bottom: 6px;
  position: relative;
  font-family: "Google Sans Code", serif;
  font-weight: 600;
  color: #012f4a; /* dark blue */
}

/* Yellow underline highlight on hover / active */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #fff6a2;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Keep color stable on hover */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #012f4a;
  text-decoration: none;
}

/* Navbar background aligned with site */
.navbar {
  background-color: #f9f3ed !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* === FOOTER === */

footer {
  background-color: #f9f3ed;
  color: #012f4a;
  padding: 1em 0;
  text-align: center;
  font-size: 0.9em;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* === CLEAN GRID LAYOUT (no boxes, just alignment) === */

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 30px;
  margin: 40px 0;
  justify-items: center;
  align-items: start;
}

.profile-card {
  background: none;
  border: none;
  box-shadow: none;
  text-align: center;
  padding: 0;
}

/* Profile photos */
.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Name styling */
.profile-card h2 {
  font-family: "Google Sans Code", serif;
  font-weight: 700;
  color: #012f4a;
  font-size: 1.1em;
  margin: 5px 0;
}

/* Affiliation styling */
.profile-card .affiliation {
  font-size: 0.95em;
  color: #000000;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Hover effect only on photo */
.profile-card:hover .profile-photo {
  transform: scale(1.03);
  transition: transform 0.25s ease;
}

/* About images responsiveness */
.about-img-right + p,
.about-img-left + p {
  margin-top: 0;
}

@media (max-width: 700px) {
  .about-img-right,
  .about-img-left {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
  }
}

/* === HERO SECTION === */

#hero-intro {
  position: relative;
  z-index: 100;
}

#hero-intro h1 {
  color: #012f4a;
}

body.scrolled #hero-intro {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

/* === 2x2 WORKSHOP SCHEDULE GRID === */

.schedule-grid-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 35px 40px;
  margin: 40px 0;
  justify-items: stretch;
  align-items: start;
}

/* Day blocks */
.schedule-column {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  padding: 18px 22px;
}

/* Column heading */
.schedule-column h3 {
  font-family: "Google Sans Code", serif;
  font-weight: 700;
  font-size: 1em;
  color: #012f4a;
  margin-bottom: 0.7em;
  border-bottom: 2px solid #f9f3ed;
  padding-bottom: 0.3em;
}

/* Table styling */
.schedule-column table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Helvetica", sans-serif;
  font-size: 0.88em;
}

.schedule-column th,
.schedule-column td {
  border-bottom: 1px solid #eee;
  padding: 0.35em 0.5em;
  vertical-align: top;
}

.schedule-column th {
  width: 7rem;
  text-align: center;
  color: #4a86e8; /* accent for times */
}

.schedule-column td {
  text-align: left;
  color: #000000;
}

.schedule-column em {
  color: #000000;
  font-size: 0.85em;
}

/* Responsive schedule: stack vertically */
@media (max-width: 820px) {
  .schedule-grid-table {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
}


/* =========================================
   GLOBAL – COLLAPSIBLE CALLOUTS (LIGHT YELLOW)
   ========================================= */

.callout-note {
  border: 1px solid hsla(54, 60%, 88%, 1) !important;   /* amarillo muy claro */
  border-radius: 14px !important;
  background-color: #fffdf4 !important;               /* blanco cálido */
  padding-top: 0 !important;

  max-width: 890px;                                   /* más estrecho */
  margin-left: auto;
  margin-right: auto;
}

/* Header area (clickable title) */
.callout-note.callout .callout-header {
  background-color: rgb(255, 255, 255) !important;  /* amarillo muy suave */
  color: #4a86e8 !important;                           /* gris-azulado oscuro */
  font-family: "Google Sans Code", serif !important;
  font-weight: 1000 !important;

  border-radius: 12px 12px 0 0 !important;
  padding: 10px 14px !important;
  margin: 0 !important;

  border-bottom: 1px solid rgb(250, 237, 122) !important;
}

/* Remove default note icon */
.callout-note.callout .callout-icon {
  display: none !important;
}
/* =========================================
   GLOBAL – CODE BLOCKS (VERY LIGHT GREY)
   ========================================= */

pre,
pre code {
  background-color: #f8f8f8 !important;   /* gris casi blanco */
  border: 1px solid #eeeeee !important;
  border-radius: 6px;
}
