@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');

.reveal {
  font-family: 'Lora', serif;
}



/* Headings */
.reveal h1,
.reveal .slides h1 {
  font-size: 42pt !important;
  font-weight: 900 !important;
  color: #003366 !important;
  text-align: center !important;
  margin-bottom: 12px;
}

.reveal h2,
.reveal .slides h2 {
  font-size: 30pt !important;
  font-weight: 600 !important;
  color: #004080 !important;
  text-align: left !important;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc; /* Adds the horizontal line */
  padding-bottom: 5px;           /* Adds a little space between text and line */
}


.reveal h3,
.reveal .slides h3 {
  font-size: 24pt;
  font-weight: 500;
  color: #0055aa;
  text-align: left;
  margin-bottom: 8px;
}

/* Paragraphs */
.reveal p,
.reveal .slides p {
  font-size: 26pt;
  line-height: 1.5;
  color: #333;
  margin-bottom: 12px;
}

/* Unordered Lists */
.reveal ul {
  padding-left: 25px;
  font-size: 24pt;
  line-height: 1.5;
  color: #222831;
  list-style-type: square;
  margin-bottom: 16px;
}

.reveal ul li {
  margin-bottom: 12px;
}

.reveal ul ul {
  padding-left: 10px;
  font-size: 22pt;
  color: #555;
  list-style-type: circle;
}

.reveal ul ul li {
  margin-bottom: 6px;
}

/* Ordered Lists */
.reveal ol {
  padding-left: 30px;
  font-size: 22pt;
  line-height: 1.5;
  color: #222831;
  list-style-type: decimal;
  margin-bottom: 16px;
}

.reveal ol li {
  margin-bottom: 8px;
}

.reveal ol ol {
  padding-left: 20px;
  font-size: 18pt;
  color: #555;
  list-style-type: lower-alpha;
}

.reveal ol ol li {
  margin-bottom: 6px;
}

/* Blockquotes */
.reveal blockquote {
  font-size: 20pt;
  font-style: italic;
  color: #444;
  padding: 12px 16px;
  border-left: 4px solid #0055aa;
  background: #f0f4f8;
  margin: 20px 0;
}

/* Tables */
.reveal table {
  width: 90%;
  font-size: 18pt;
  border-collapse: collapse;
  margin: 24px auto;
}

.reveal table th {
  background: #0055aa;
  color: white;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
}

.reveal table td {
  padding: 10px 14px;
  border-bottom: 1px solid #ddd;
}

/* Buttons */
.reveal .button {
  padding: 10px 20px;
  background: #0055aa;
  color: white;
  font-size: 16pt;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
  display: inline-block;
}

.reveal .button:hover {
  background: #0077cc;
}

/* Slide Alignment and Layout */
.reveal .slides {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  padding-top: 30px;
}

.reveal .slides section {
  margin: 0 auto;
  width: 95%;
}

/* === Prompt box with left question-mark icon === */
.reveal .prompt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff8e1;        /* soft yellow background */
  border-left: 6px solid #ffb300;   /* bold yellow border */
  border-radius: 6px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
  padding: 20px 24px;
  font-size: 26pt;
  font-weight: 500;
  margin: 24px 0;
  color: #6d4c00;                   /* warm brown text */
}

/* SVG question mark icon on the left */
.reveal .prompt::before {
  content: "";
  flex: 0 0 72px;                   /* fixed width for the icon */
  height: 72px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'>\
    <circle cx='64' cy='64' r='60' fill='%23ffb300'/>\
    <path d='M64 28c-16 0-28 9-28 23h14c0-7 6-11 14-11 8 0 14 4 14 11 0 6-4 9-10 12-8 4-12 9-12 18v4h14v-3c0-6 2-8 9-12 9-5 15-11 15-22 0-14-12-23-30-23zM64 98a8 8 0 1 0 0 16 8 8 0 0 0 0-16z' fill='white'/>\
  </svg>");
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Prompt text itself */
.reveal .prompt p {
  margin: 0;
  line-height: 1.3;
}

/* Optional: tweak for dark-mode slides */
.reveal .slide.dark .prompt {
  background-color: rgba(255,255,255,0.08);
  border-left-color: #ffb300;
  color: #f6f6f6;
}



.reveal .quote {
  font-size: 22pt;
  font-style: italic;
  color: #002244;
  margin: 28px 0;
  padding-left: 20px;
  border-left: 4px solid #99aabb;
  background: linear-gradient(to right, #f2f4f8 0%, #ffffff 100%);
  text-align: center;
}


.reveal .point {
  background-color: #dbeeff;
  border-left: 8px solid #1a73e8;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 44pt !important;
  font-weight: 700;
  color: #00264d;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.reveal .segue {
  background-color: #f5f8fa;
  border-left: 6px solid #7aa8d9;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 36pt !important;
  font-weight: 500;
  color: #2c3e50;
  font-style: italic;
  text-align: center;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
}

.word-box {
  background-color: #f1f5f9;
  border: 2px solid #94a3b8;
  border-radius: 12px;
  padding: 10px;
  font-size: 30pt;
  margin: 10px; /* or margin-left/right for fine control */
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}


.word-connection {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 32px 0;
}

.word-connection .box {
  background-color: #f1f5f9;
  border: 2px solid #94a3b8;
  border-radius: 12px;
  padding: 20px 30px;
  font-size: 32pt;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  min-width: 160px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

.word-connection .arrow {
  font-size: 36pt;
  color: #64748b;
}


.word-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 48px 0;
  position: relative;
}

.word-hub .hub-box {
  background-color: #fef3c7;
  border: 2px solid #f59e0b;
  border-radius: 12px;
  padding: 20px 30px;
  font-size: 28pt;
  font-weight: 600;
  color: #78350f;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08);
}

.word-hub .targets {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
  position: relative;
}

.word-hub .target-box {
  background-color: #e0f2fe;
  border: 2px solid #38bdf8;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 22pt;
  font-weight: 500;
  color: #075985;
  text-align: center;
  min-width: 140px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.06);
}

.word-hub .arrow-down {
  font-size: 36pt;
  color: #94a3b8;
  margin-top: -12px;
}

/* Two-box flow: left box → right box */
.reveal .flow-row {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 3.5rem;              /* space between boxes (arrow spans this gap) */
  flex-wrap: nowrap;
  margin-top: 2.5rem;       /* space above the row */
  margin-bottom: 2.5rem;    /* space below the row */
  overflow: visible;        /* ensures arrows don't get clipped */
}

/* Base box + colour variables (with fallbacks) */
.reveal .flow-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--box-border, #333);
  border-radius: 16px;
  background: var(--box-bg, #fff);
  color: var(--box-fg, #111);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  font-weight: 400;
}

/* Connector line */
.reveal .flow-box:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -2rem;             /* reaches into the gap */
  top: 50%;
  width: 2rem;              /* line length into the gap */
  height: 0;
  border-top: 2px solid var(--box-border, #333);
}

/* Arrowhead ▷ */
.reveal .flow-box:not(:last-child)::before {
  content: "";
  position: absolute;
  right: -2rem;             /* same anchor as the line */
  top: calc(50% - 6px);
  border-width: 6px 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--box-border, #333);
}

/* Handy colour presets */
.reveal .box-plum  { --box-bg:#f3e8ff; --box-border:#6A1B9A; --box-fg:#3b0764; }
.reveal .box-amber { --box-bg:#fff7e6; --box-border:#ffb300; --box-fg:#7a4a00; }
.reveal .box-teal  { --box-bg:#e6fffb; --box-border:#14b8a6; --box-fg:#0f766e; }
.reveal .box-steel { --box-bg:#eef2f7; --box-border:#64748b; --box-fg:#1f2937; }

/* Size helper (optional) */
.reveal .flow-pair .flow-box {
  font-size: 1.15em;
  padding: 1.1rem 1.3rem;
}


.term-box {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  border-left: 6px solid #007acc;
  border-radius: 10px;
  padding: 0.5em 0.5em;
  margin: 0.7em 0;
  font-size: 1.0em;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.term-box:first-of-type {
  margin-top: 0.5em;
}

