/*!
 * Bootstrap compatibility layer for al-folio
 * Extracted from Tailwind v4 build, no longer compiled by al_folio_bootstrap_compat
 * Provides: grid, navbar, card, btn, badge, list-group, dropdown, typography utilities
 * Template classes (row/col/navbar/card etc.) continue to work unchanged
 * Future: migrate template classes to native Tailwind utilities and delete this file
 */

.container {
  width: 100%;
  max-width: var(--max-content-width);
  margin-inline: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.row {
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  display: flex;
}
.col,
.col-12,
.col-sm,
.col-md,
.col-lg,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-6,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-6,
.col-md-8,
.col-md-10,
.col-md-12,
.col-xs-2,
.col-xs-10,
.col-xs-12 {
  width: 100%;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
}
.col {
  flex-grow: 1;
  flex-basis: 0;
  max-width: 100%;
}
.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}
@media (min-width: 576px) {
  .col-sm-2 {
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
  }
  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-sm-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-sm-8 {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }
  .col-sm-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-sm-10 {
    flex: 0 0 83.3333%;
    max-width: 83.3333%;
  }
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-sm {
    flex-grow: 1;
    flex-basis: 0;
    max-width: 100%;
  }
  .navbar-expand-sm .navbar-collapse {
    flex-basis: auto;
    width: auto;
    display: flex !important;
  }
  .navbar-expand-sm .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-sm .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-sm .navbar-nav .nav-link {
    padding: 0.5rem;
  }
  .navbar-expand-sm .navbar-toggler {
    display: none;
  }
}
@media (max-width: 575.98px) {
  .navbar-expand-sm > .container {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 768px) {
  .col-md-2 {
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-8 {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }
  .col-md-10 {
    flex: 0 0 83.3333%;
    max-width: 83.3333%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-md {
    flex-grow: 1;
    flex-basis: 0;
    max-width: 100%;
  }
}
.row-cols-1 > * {
  flex: 0 0 100%;
  max-width: 100%;
}
@media (min-width: 768px) {
  .row-cols-md-2 > * {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .row-cols-md-3 > * {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}
.collapse {
  visibility: visible;
  display: none !important;
}
.collapse.show {
  display: block !important;
}
.navbar {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding: 0.5rem 1rem;
  display: flex;
}
.navbar > .container {
  flex-wrap: inherit;
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.navbar-brand {
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
  margin-right: 1rem;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
}
.navbar-collapse {
  flex-grow: 1;
  flex-basis: 100%;
  align-items: center;
  width: 100%;
}
.navbar-nav {
  flex-direction: column;
  margin: 0;
  padding-left: 0;
  list-style-type: none;
  display: flex;
}
.navbar-nav .nav-link {
  padding-left: 0;
  padding-right: 0;
  display: block;
}
.nav-item {
  position: relative;
}
.nav-link {
  padding: 0.5rem 0;
  display: block;
}
.navbar-toggler {
  background-color: #0000;
  border: 0;
  border-radius: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
}
.navbar-toggler:focus,
.navbar-toggler:hover {
  text-decoration: none;
}
.dropdown-menu {
  right: calc(var(--spacing) * 0);
  z-index: 50;
  margin-top: calc(var(--spacing) * 2);
  min-width: calc(var(--spacing) * 48);
  border-radius: var(--radius-md);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: var(--global-divider-color);
  background-color: var(--global-bg-color);
  padding: calc(var(--spacing) * 1);
  --tw-shadow:
    0 1px 3px 0 var(--tw-shadow-color, #0000001a),
    0 1px 2px -1px var(--tw-shadow-color, #0000001a);
  box-shadow:
    var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
    var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  display: none;
  position: absolute;
}
.dropdown-menu-right {
  left: auto;
  right: 0;
}
.dropdown-menu.show {
  display: block;
}
.dropdown-toggle:after {
  vertical-align: 0.255em;
  content: "";
  border: 0.3em solid #0000;
  border-top-color: currentColor;
  border-bottom: 0;
  margin-left: 0.255em;
  display: inline-block;
}
.dropdown-toggle:empty:after {
  margin-left: 0;
}
.dropdown-item {
  padding-inline: calc(var(--spacing) * 3);
  padding-block: calc(var(--spacing) * 2);
  color: var(--global-text-color);
  border-radius: 0.25rem;
  text-decoration-line: none;
  display: block;
}
.dropdown-item:hover {
  background: var(--global-theme-color);
}
@supports (color: color-mix(in lab, red, red)) {
  .dropdown-item:hover {
    background: color-mix(in srgb, var(--global-theme-color) 14%, transparent);
  }
}
.fixed-top {
  top: calc(var(--spacing) * 0);
  right: calc(var(--spacing) * 0);
  left: calc(var(--spacing) * 0);
  z-index: 1030;
  position: fixed;
}
.fixed-bottom {
  z-index: 1030;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
.sticky-top {
  top: calc(var(--spacing) * 0);
  z-index: 1020;
  position: sticky;
}
.font-weight-bold {
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
}
.font-weight-medium {
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
}
.font-weight-lighter {
  font-weight: lighter;
}
.font-weight-light {
  --tw-font-weight: var(--font-weight-light);
  font-weight: var(--font-weight-light);
}
.d-flex {
  display: flex;
}
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
@media print {
  .d-print-inline {
    display: inline !important;
  }
}
@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-block {
    display: block !important;
  }
}
@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-column,
.flex-md-row {
  flex-direction: column;
}
@media (min-width: 768px) {
  .flex-md-row {
    flex-direction: row;
  }
}
.justify-content-between {
  justify-content: space-between;
}
.justify-content-center {
  justify-content: center;
}
@media (min-width: 576px) {
  .justify-content-sm-center {
    justify-content: center;
  }
}
.align-items-center {
  align-items: center;
}
.card {
  background-color: var(--global-card-bg-color);
  background-clip: border-box;
  border: 0;
  border-radius: 0.25rem;
  flex-direction: column;
  min-width: 0;
  display: flex;
  box-shadow:
    0 2px 5px #00000029,
    0 2px 10px #0000001f;
}
.card-body {
  padding: calc(var(--spacing) * 5);
  flex: auto;
}
.card-title {
  margin-bottom: 0.75rem;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
}
.card-text {
  color: #747373;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
}
.card-img,
.card-img-top {
  width: 100%;
  display: block;
}
.card-img-top {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.hoverable {
  transition-property: box-shadow;
  transition-timing-function: var(
    --tw-ease,
    var(--default-transition-timing-function)
  );
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  --tw-duration: 0.2s;
  transition-duration: 0.2s;
}
.hoverable:hover {
  --tw-shadow:
    0 4px 6px -1px var(--tw-shadow-color, #0000001a),
    0 2px 4px -2px var(--tw-shadow-color, #0000001a);
  box-shadow:
    var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
    var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.btn {
  color: var(--global-text-color);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  user-select: none;
  background-color: #0000;
  border: 1px solid #0000;
  border-radius: 0.125rem;
  margin: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  display: inline-block;
}
.btn:hover {
  color: var(--global-text-color);
  text-decoration: none;
}
.btn:focus {
  outline: 0;
}
.btn-sm {
  border-radius: 0.125rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.64rem;
  line-height: 1.5;
}
.btn-outline-primary {
  border-color: var(--global-theme-color);
  color: var(--global-theme-color);
  background: 0 0;
}
.btn-outline-primary:hover {
  background: var(--global-theme-color);
  color: var(--global-hover-text-color);
}
.z-depth-0 {
  --tw-shadow: 0 0 #0000;
  box-shadow:
    var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
    var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.z-depth-1 {
  box-shadow:
    0 2px 5px #00000029,
    0 2px 10px #0000001f;
}
.table {
  color: #212529;
  border-collapse: collapse;
  background-color: #0000;
  width: 100%;
  margin-bottom: 1rem;
}
.table-borderless td,
.table-borderless th,
.table-borderless thead th,
.table-borderless tbody + tbody {
  border: 0 !important;
}
.table th,
.table td {
  vertical-align: top;
  border-top: 1px solid var(--global-divider-color);
  padding: 0.75rem;
}
.table th {
  text-align: inherit;
}
.table-sm td,
.table-sm th {
  padding: 0.6rem 0.3rem;
}
.table-hover tbody tr:hover {
  background: var(--global-theme-color);
}
@supports (color: color-mix(in lab, red, red)) {
  .table-hover tbody tr:hover {
    background: color-mix(in srgb, var(--global-theme-color) 8%, transparent);
  }
}
.table-dark {
  color: #f9fafb;
  background: #1f2937;
}
.table-responsive {
  -webkit-overflow-scrolling: touch;
  width: 100%;
  display: block;
  overflow-x: auto;
}
.badge {
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
}
.badge:empty {
  display: none;
}
.w-100 {
  width: 100% !important;
}
.h-100 {
  height: 100% !important;
}
.rounded-circle {
  border-radius: 9999px;
}
.text-uppercase {
  text-transform: uppercase;
}
.text-lowercase {
  text-transform: lowercase;
}
.g-0,
.no-gutters {
  margin-left: 0;
  margin-right: 0;
}
.g-0 > .col,
.g-0 > [class*="col-"],
.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}
.clearfix:after {
  clear: both;
  content: "";
  display: block;
}
.float-left {
  float: left !important;
}
.mt-md-0 {
  margin-top: 0;
}
.ml-md-4 {
  margin-left: 0;
}
@media (min-width: 768px) {
  .mt-md-0 {
    margin-top: 0 !important;
  }
  .ml-md-4 {
    margin-left: 1.5rem !important;
  }
}
.mt-2 {
  margin-top: 0.5rem !important;
}
.mt-3 {
  margin-top: 1rem !important;
}
.mt-4 {
  margin-top: 1.5rem !important;
}
.mt-5 {
  margin-top: 3rem !important;
}
.mb-2 {
  margin-bottom: 0.5rem !important;
}
.mb-3 {
  margin-bottom: 1rem !important;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.p-3 {
  padding: 1rem !important;
}
.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}
.publications .hidden {
  display: block;
}
/* list-group: structural reset from Bootstrap, missing in the original
   snapshot — without it the CV's <ul class="list-group"> shows browser
   default bullets and indent before every entry */
.list-group {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.list-group-item {
  position: relative;
  display: block;
}
