/* theme.css */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');

/* --- General Slide Styles --- */
.reveal .slides {
  font-family: 'Assistant', 'Inter', sans-serif;
}
  

/* --- Cover Slide Specific Styles --- */
.title-slide {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center the content blocks */
  align-items: left;
  text-align: left;
  height: 100%;
}

/* --- Logo Container --- */
.logo-container {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-wrap: nowrap;
}

.logo-container img {
  max-height: 80px; /* Control the height of the logos */
  margin: 0 0.25em; /* Space between logos */
}


/* Style for the main title (h1) */
.title-slide h1 {
  font-size: 10em;
  font-weight: 800;
  color: white;
  margin: 0 0 0.25em 0;
  line-height: 1.1;
}

/* Style for the subtitle (h2) */
.title-slide h2 {
  font-size: 1.5em;
  color: #e9d8a6; /* Soft gold color */
  margin: 0 0 0.25em 0;
  font-weight: 400;
  text-transform: none;
  border-bottom: none;
}

.title-slide .author {
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.7);
}

.title-slide .date {
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.7);
}

/*text highlight*/

.highlight-blue-big {
  color: #2A6083;
  font-weight: bold;
  font-size: 1.5em;    /* tweak this as needed */
}

.highlight-blue {
  color: #2A6083;
  font-weight: bold;
  font-size: 1em;    /* tweak this as needed */
}

.highlight-big {
  font-size: 1.5em;    /* tweak this as needed */
}

.highlight-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 1.5em;
}


.ch-icon {
color: #2A6083; 
font-size: 36px;
vertical-align: middle;
margin-right: 0.6rem;
}


/* Optional: smaller icon on very small screens */
@media (max-width: 560px) {
.ch-icon { font-size: 26px; }
}

.step {
  display: flex;
  align-items: center;
  margin: 2rem 0;
}

.step::before {
  content: attr(data-step);
  font-size: 3rem;
  font-weight: bold;
  margin-right: 1.5rem;
  color: #333;
  flex: 0 0 auto;
}

.step .step-content {
  flex: 1;
  background-color: #f7f7f7;
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
}

.step .step-content h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 2.3rem;
  color: #222;
  margin-right: 1rem;
}

.step .step-content p {
  margin: 0;
  font-size: 1 rem;
  color: #555;
}


/* --- Minimalistic Box for Columns --- */

/* This wrapper makes the columns align and stretch */
.stretch-cols .columns {
  display: flex;
  align-items: stretch; /* This is the key for the columns */
}

/* This makes the column a flex container too */
.stretch-cols .column {
  display: flex;
  flex-direction: column;
}

.minimal-box {
  background-color: #f7f7f7 ;  /* A very light gray background */
  border: 1px solid #D9D9D9;  /* A light, subtle border */
  border-radius: 12px;         /* Rounded corners */
  padding: 1.5em;              /* Space inside the box */
  flex-grow: 1;               /* This makes both boxes the same height! */
}

/* --- Minimalist Table Style (Zebra) --- */

/* This is the class from kable_styling(..., position = "left") */
/* It wraps the table and left-aligns it */
.kable_wrapper {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* This is the .table-custom class you set in kbl() */
.table-custom {
  width: auto !important; /* Overrides kableExtra's 100% width */
  font-size: 20px;       /* Smaller font, more readable */
  border-collapse: collapse !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  border-radius: 8px; /* Rounded corners for the container */
  overflow: hidden;   /* Clips the contents to the rounded corners */
}

/* Table Header */
.table-custom th {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 0.9em;
  color: #ffffff; /* White text */
  background-color: #2A6083; /* Dark blue/gray from example */
  text-align: left; /* Headers should be left aligned */
  padding: 14px 18px; /* A bit more padding */
  border: none; /* Remove all borders */
}

/* Table Body Cells */
.table-custom td {
  padding: 14px 18px;
  /* text-align is removed, kbl(align=...) will now control this */
  border: none; /* Remove all borders */
  background-color: #ffffff; /* Default row color */
}

/* Zebra Striping for even rows */
.table-custom tr:nth-child(even) td {
  background-color: #f7f7f7; /* Light blue from example */
}

/* Remove all vertical borders (redundant, but good to keep) */
.table-custom th,
.table-custom td {
  border-left: none;
  border-right: none;
}

/* Remove default kableExtra borders */
.table-custom tr {
  border: none;
}
.table-custom tr:last-child td {
  border-bottom: none;
}
