/* Modern theme (2026): dark glass, high-contrast, UX-first */
:root{
  --bg: #000000;
  --bg-2: #0a0a0a;
  --surface: #111111;
  --surface-2: #151515;
  --border: #1f1f1f;
  --text: #f2f2f2;
  --muted: #bdbdbd;
  --accent: #e50914;
  --accent-2: #ff2a35;
  --shadow-lg: 0 30px 60px rgba(0,0,0,.4);
  --shadow-md: 0 18px 40px rgba(0,0,0,.3);
  --glow: 0 0 0 1px rgba(255,45,85,.35), 0 16px 45px rgba(255,45,85,.25);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
}

*{ box-sizing: border-box; }

html, body { height: 100%; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::before,
body::after{
  content: "";
  position: fixed;
  z-index: -1;
  inset: auto;
  width: 520px;
  height: 520px;
  filter: blur(120px);
  opacity: .45;
  pointer-events: none;
}
body::before{
  background: radial-gradient(circle, rgba(255,45,85,.55), rgba(255,45,85,0) 70%);
  top: -160px;
  right: -120px;
}
body::after{
  background: radial-gradient(circle, rgba(255,45,85,.25), rgba(255,45,85,0) 70%);
  bottom: -200px;
  left: -120px;
}

/* Page loader */
.page-loader{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.page-loader.is-visible{
  opacity: 1;
  pointer-events: none;
}
.loader-inner{
  display: inline-flex;
  gap: 10px;
}
.loader-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(229,9,20,.45);
  animation: loaderPulse 1s infinite ease-in-out;
}
.loader-dot:nth-child(2){ animation-delay: .15s; }
.loader-dot:nth-child(3){ animation-delay: .3s; }
@keyframes loaderPulse{
  0%, 80%, 100%{ transform: scale(.6); opacity: .5; }
  40%{ transform: scale(1.2); opacity: 1; }
}

main{ flex: 1 0 auto; }

a{ color: var(--accent); text-decoration: none; }
a:hover{ color: var(--accent-2); }

h1,h2,h3,h4,h5,h6,
.display-6,.display-5,.display-4,.display-3,.display-2,.display-1{
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: .2px;
}

.text-secondary,
.text-muted,
small.text-muted,
.small.text-muted{
  color: var(--muted) !important;
}

.form-text{
  color: #ffffff !important;
}

/* Navbar */
.nav-lcs{
  background: rgba(0,0,0,.9);
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(10px);
}
.nav-lcs .nav-shell{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-lcs .navbar-brand{ margin-right: 0; }
.nav-lcs .navbar-collapse{ flex: 0 0 auto; }
.nav-lcs .navbar-brand{
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
}
.nav-lcs .nav-link{
  color: #e0e0e0;
  font-weight: 600;
  position: relative;
}
.nav-lcs .nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(255,45,85,0));
  transition: width .2s ease;
}
.nav-lcs .nav-link:hover::after{ width: 100%; }
.nav-lcs .nav-link:hover{ color: #fff; }

.nav-lcs .brand-logo{
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.nav-lcs .brand-text{
  color: #bfbfbf;
  font-size: 1rem;
  letter-spacing: .2px;
  margin-left: 8px;
}
.nav-lcs .brand-text .brand-strong{
  color: #d9d9d9;
  font-weight: 500;
}

.nav-lcs .navbar-toggler{
  border-color: var(--border);
}
.nav-lcs .navbar-toggler:focus{
  box-shadow: 0 0 0 .2rem rgba(255,45,85,.25);
  border-color: var(--accent);
}
.nav-lcs .navbar-toggler-icon{
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero */
.hero{
  background:
    linear-gradient(135deg, rgba(255,45,85,.18), rgba(0,0,0,.9) 45%, rgba(0,0,0,1) 70%),
    radial-gradient(1200px 500px at 10% -20%, rgba(255,45,85,.22), rgba(255,45,85,0) 70%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero::after{
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), rgba(255,255,255,0) 65%);
  opacity: .8;
}
.hero .eyebrow{
  font-size: .85rem;
  letter-spacing: .18rem;
  text-transform: uppercase;
  color: #cfcfcf;
  margin-bottom: .75rem;
}
.hero .lead{
  color: #d6d6d6;
  font-size: 1.1rem;
}
.search-card{
  background: #0b0b0b;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.search-card .input-group{
  box-shadow: 0 8px 26px rgba(0,0,0,.35);
}
.quick-chips{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: #0b0b0b;
  color: #d6d6d6;
  font-size: .85rem;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.chip:hover{
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* Cards & containers */
.content-card,
.card{
  background: #0b0b0b;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.card{ color: #e6e6e6; }

/* Buttons */
.btn-primary{
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-2);
  --bs-btn-hover-border-color: var(--accent-2);
  --bs-btn-active-bg: var(--accent-2);
  --bs-btn-color: #fff;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn-primary:hover{ transform: none; box-shadow: var(--glow); }

.btn-outline-secondary{
  color: #e6eaf2;
  border-color: var(--border);
  background: transparent;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .12s ease;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus{
  color: #fff;
  border-color: var(--accent);
  background: linear-gradient(90deg, rgba(255,45,85,.2), rgba(255,45,85,.05));
  text-decoration: none;
}
.btn-outline-secondary:active{ transform: translateY(1px); }

.btn-outline-primary{
  color: #fff;
  border-color: var(--border);
  background: transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus{
  color: #fff;
  border-color: var(--accent);
  background: linear-gradient(90deg, rgba(255,45,85,.18), rgba(255,45,85,.08));
  box-shadow: var(--glow);
  transform: translateY(-1px);
}
.btn-outline-primary:active{ transform: translateY(1px); }

.btn-cta{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  border: 1px solid rgba(255,45,85,.6);
  background: transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn-cta:hover{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(255,45,85,.25);
}

/* Forms */
.form-control, .input-group-text, .form-select{
  background: #0b0b0b;
  color: #fff;
  border-color: var(--border);
}
.form-control::placeholder{ color: #8f97a6; }
.form-control:focus, .form-select:focus{
  color: #fff;
  background: #0b0b0b;
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(255,45,85,.18);
}
.input-group-text{ color: #d0d0d0; }

/* Remove/neutralize blue search clear icon */
input[type="search"]::-webkit-search-cancel-button{
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><line x1='3' y1='3' x2='13' y2='13' stroke='white' stroke-width='2' stroke-linecap='round'/><line x1='13' y1='3' x2='3' y2='13' stroke='white' stroke-width='2' stroke-linecap='round'/></svg>") no-repeat center;
  opacity: .9;
}
input[type="search"]::-webkit-search-cancel-button:hover{
  opacity: 1;
}

/* Tiles */
.tile{
  position: relative;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
  min-height: 110px;
}
.tile::after{
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,45,85,.12), rgba(255,45,85,0) 70%);
  opacity: .5;
  pointer-events: none;
}
.tile:hover{
  transform: translateY(-4px);
  border-color: rgba(229,9,20,.6);
  box-shadow: var(--shadow-md);
}
.tile-icon{
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 22px;
  border: 1px solid rgba(255,255,255,.08);
  flex: 0 0 52px;
}
.badge.bg-primary-subtle{
  background: rgba(255,45,85,.18) !important;
  color: #ffd6df !important;
}

/* List group */
.list-group-item{
  background: #0a0a0a;
  border: 1px solid var(--border);
  color: #e7e7e7;
  transition: border-color .2s ease, background-color .2s ease;
  position: relative;
  overflow: hidden;
}
.list-group-item-action:hover{
  border-color: var(--border);
  background: #0f0f0f;
}
.list-group-item-action:hover h3,
.list-group-item-action:hover .h6{
  color: #fff !important;
}
.list-group-item-action::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width .2s ease;
}
.list-group-item-action:hover::before{ width: 3px; }

.list-group-flush .list-group-item{
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}
.list-group-flush .list-group-item:first-child{ border-top: 0; }
.list-group-flush .list-group-item:last-child{ border-bottom: 0; }

.list-icon{
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  flex: 0 0 44px;
}
.list-group-item .chev{
  color: #8f97a6;
  margin-left: 8px;
  transition: transform .2s ease, color .2s ease;
}
.list-group-item-action:hover .chev{
  transform: translateX(2px);
  color: #fff;
}

/* Article */
.kb-article{
  max-width: 100%;
  margin: 0;
}
.kb-content{
  color: #e6e6e6;
  line-height: 1.75;
}
.kb-content p{ margin-bottom: 1.1rem; }
.kb-content h2, .kb-content h3{
  margin-top: 1.8rem;
  margin-bottom: .75rem;
}
.kb-content code{
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: .1rem .3rem;
  border-radius: .35rem;
}
.kb-content pre{
  background: #0b0b0b;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow: auto;
}
.kb-content img,
.kb-content iframe,
.kb-content video,
.kb-content table{
  max-width: 100%;
  height: auto;
}
.kb-content table{
  display: block;
  overflow-x: auto;
}

/* Badges */
.badge.bg-success{ background: var(--accent) !important; color:#fff; }
.badge.bg-secondary{ background:#3a3a3a !important; color:#fff; }

/* Pagination */
.pagination .page-link{
  background: #0b0b0b;
  color: #fff;
  border-color: var(--border);
}
.pagination .page-link:hover{
  border-color: var(--accent);
}
.pagination .page-item.active .page-link{
  background: var(--accent);
  border-color: var(--accent);
}

/* Tables */
.table{
  color: #e8e8e8;
  --bs-table-bg: #0b0b0b;
  background-color: #0b0b0b !important;
  border-color: var(--border);
}
.table thead th{
  background: #111111 !important;
  color: #fff !important;
  border-bottom: 1px solid var(--border) !important;
}
.table-striped>tbody>tr:nth-of-type(odd)>*{
  background: #0e0e0e !important;
}
.table-striped>tbody>tr:hover>*{
  background: #121212 !important;
}
.table td, .table th{
  border-color: var(--border) !important;
}

/* Breadcrumb */
.breadcrumb{
  --bs-breadcrumb-divider-color: #9a9a9a;
}
.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a{
  color: #cfcfcf;
}
.breadcrumb .breadcrumb-item.active{ color: #fff; }

/* Footer */
footer{
  background: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,1));
  border-top: 1px solid var(--border);
  color: #c2c2c2;
}

/* Alerts (search empty state) */
.alert{
  background: #0b0b0b;
  border: 1px solid #1f1f1f;
  color: #ffffff;
  border-radius: 12px;
}
.alert a{ color: var(--accent); }
.alert-warning{
  border-color: rgba(229,9,20,.5);
}
.alert-danger{
  background: #e50914;
  border-color: #ff2a35;
  color: #ffffff;
}

/* CTA */
.cta-help{
  background: linear-gradient(135deg, rgba(255,45,85,.22), rgba(255,45,85,.05));
  border: 1px solid rgba(255,45,85,.35);
  position: relative;
  box-shadow: var(--shadow-md);
}
.cta-help::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,45,85,.9), rgba(255,45,85,.2) 70%, rgba(255,45,85,0));
}
.cta-help .cta-icon{
  width: 64px;
  height: 64px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  background:
    radial-gradient(120px 120px at 30% 30%, rgba(255,45,85,.22), rgba(255,45,85,0) 60%),
    rgba(255,255,255,.02);
}
.cta-help .cta-icon i{ font-size: 1.4rem; }

/* Upload dropzone */
.upload-drop{
  background: #0b0b0b;
  border: 1px dashed rgba(255,45,85,.55);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
  position: relative;
}
.upload-drop .icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.15);
  background:
    radial-gradient(120px 120px at 30% 30%, rgba(255,45,85,.18), rgba(255,45,85,0) 60%),
    rgba(255,255,255,.02);
  color: #fff;
  margin-bottom: .75rem;
}
.upload-drop .title{ color: #fff; font-weight: 600; margin-bottom: .25rem; }
.upload-drop .hint{ color: #9aa0a6; font-size: .9rem; }
.upload-drop:hover,
.upload-drop.dragover{
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.upload-list{ list-style: none; padding-left: 0; margin: .75rem 0 0; }
.upload-item{
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .5rem .75rem;
  border: 1px solid rgba(255,255,255,.08);
  background: #0b0b0b;
  border-radius: .75rem; margin-bottom: .5rem;
}
.upload-item .meta{ color: #dfe1e6; font-size: .9rem; }
.upload-item .size{ color: #9aa0a6; font-size: .8rem; margin-left: .5rem; }
.upload-remove{
  border: 1px solid rgba(255,45,85,.6);
  background: transparent; color: #fff; border-radius: .5rem;
  padding: .25rem .5rem; font-size: .8rem;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.upload-remove:hover{
  background: var(--accent); border-color: var(--accent);
  transform: translateY(-1px); box-shadow: 0 8px 18px rgba(255,45,85,.25);
}

/* Utilities */
.page-title{ margin-top: 1.25rem; }
@media (min-width: 992px){
  .page-title{ margin-top: 1.75rem; }
}
.list-clean{ padding-left: 0; margin: 0; list-style: none; }
.list-clean li{ position: relative; padding-left: 1.2rem; margin: .25rem 0; }
.list-clean li::before{
  content: ""; position: absolute; left: 0; top: .55em;
  width: .45rem; height: .45rem; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 2px rgba(255,45,85,.15);
}

/* Admin tweaks */
.navbar-dark.bg-dark{
  background: rgba(0,0,0,.92) !important;
  border-bottom: 1px solid var(--border);
}
.card.shadow-sm{ background: #0b0b0b; border: 1px solid var(--border); box-shadow: none !important; }

/* Admin login */
.admin-login{
  background: #000000;
  color: #fff;
}

/* Admin: tables and header */
.admin-page-header .h4{ color: #fff; }
.admin-table th, .admin-table td{ vertical-align: middle; color: #fff; }
.admin-table td a{ color: #fff; }
.admin-table td a:hover{ color: #fff; }
.content-card .table-responsive{
  border-radius: 12px;
  overflow: hidden;
}
.admin-table thead th{
  background: #111111 !important;
}

/* Categories: icon preview + picker modal */
.icon-preview{
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.icon-picker-modal .modal-content{
  background: #0b0b0b !important;
  color: #f5f5f5 !important;
  border: 1px solid #1f1f1f;
}
.icon-picker-modal .modal-header{
  border-bottom-color: #1f1f1f;
}
.icon-picker-modal .btn-close{ filter: invert(1); }

.modal-content{
  background: #0b0b0b;
  color: #fff;
  border: 1px solid #1f1f1f;
}
.modal-header{
  border-bottom: 1px solid #1f1f1f;
}
.modal-footer{
  border-top: 1px solid #1f1f1f;
}

/* Toasts */
.toast{
  background: #e50914 !important;
  border: 1px solid #ff2a35 !important;
  color: #fff;
  box-shadow: 0 16px 34px rgba(0,0,0,.55), 0 0 0 1px rgba(229,9,20,.55);
}
.toast-body{
  font-weight: 600;
  letter-spacing: .2px;
}
#iconSearch{
  background:#0d0d0d;
  border-color:#262626;
  color:#f5f5f5;
}
#iconSearch::placeholder{ color:#9a9a9a; }
.icon-option{
  background: #0d0d0d;
  border-color: #262626;
  color: #eaeaea;
  transition: border-color .18s ease, background .18s ease, transform .12s ease;
  font-size: .8rem;
}
.icon-option i{
  font-size: 2rem;
  color: #ffffff !important;
  display: block;
  line-height: 1;
}
.icon-option:hover,
.icon-option:focus{
  border-color: var(--accent);
  background: #151515;
  transform: translateY(-1px);
}
.icon-option small{ color:#cfcfcf; }
.table-actions .btn{ margin-left: .25rem; }

/* Draft notice */
#draftNotice{
  background: #0b0b0b;
  border: 1px solid var(--border);
  color: #fff;
}
#draftNotice .btn-outline-secondary{
  color: #fff;
  border-color: #fff;
}
#draftNotice .btn-outline-secondary:hover{
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Quill editor */
.quill-toolbar{
  border: 1px solid var(--border);
  border-radius: 8px 8px 0 0;
  background: #0b0b0b;
}
.quill-toolbar .ql-formats{ margin-right: 12px; }
.ql-toolbar.ql-snow{
  border: none;
  padding: .5rem;
}
.ql-container.ql-snow{
  border: 1px solid var(--border);
  border-top: 0;
  background: #0b0b0b;
  color: #fff;
  border-radius: 0 0 8px 8px;
  min-height: 360px;
}
.ql-editor{
  min-height: 320px;
  font-size: 15px;
}
.ql-toolbar .ql-stroke{ stroke: #ffffff; }
.ql-toolbar .ql-fill{ fill: #ffffff; }
.ql-toolbar .ql-picker,
.ql-toolbar .ql-picker-label,
.ql-toolbar .ql-picker-item{
  color: #ffffff;
}
.ql-toolbar .ql-picker-options .ql-picker-item{
  color: #ffffff;
}
.ql-toolbar.ql-snow *{
  color: #ffffff !important;
}
.ql-toolbar.ql-snow .ql-stroke{
  stroke: #ffffff !important;
}
.ql-toolbar.ql-snow .ql-fill{
  fill: #ffffff !important;
}
.ql-toolbar.ql-snow .ql-picker-label,
.ql-toolbar.ql-snow .ql-picker-item{
  color: #ffffff !important;
}
.ql-toolbar.ql-snow .ql-picker-options{
  background: #000000;
  border-color: #1f1f1f;
}
.ql-toolbar.ql-snow .ql-picker-label:hover,
.ql-toolbar.ql-snow button:hover{
  color: #ffffff !important;
}
.ql-toolbar .ql-picker-options{ background: #0b0b0b; border: 1px solid var(--border); }
.ql-snow .ql-picker.ql-expanded .ql-picker-label{
  border-color: var(--accent);
}
.ql-snow .ql-picker.ql-expanded .ql-picker-options{
  border-color: var(--accent);
}
.ql-toolbar button:hover .ql-stroke,
.ql-toolbar button:focus .ql-stroke{ stroke: var(--accent); }
.ql-toolbar button:hover .ql-fill,
.ql-toolbar button:focus .ql-fill{ fill: var(--accent); }
.ql-toolbar button:hover,
.ql-toolbar button:focus{ color: var(--accent); }


/* Focus visibility */
:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}

/* Responsive */
@media (max-width: 768px){
  .hero{ padding: 2rem 1.5rem; }
  .search-card{ padding: 1.25rem; }
}

@media (max-width: 576px){
  .nav-lcs .brand-logo{
    width: 64px;
    height: 64px;
  }
  .nav-lcs .brand-text{
    font-size: .95rem;
  }
  .nav-lcs .navbar-collapse{
    display: flex;
    justify-content: flex-end;
  }
  .nav-lcs .navbar-nav{
    flex-direction: row;
  }
  .nav-lcs .nav-link{
    padding-left: .5rem;
    padding-right: 0;
  }
  .nav-lcs .nav-link-external{
    font-size: .9rem;
    line-height: 1.1;
    text-align: right;
    white-space: normal;
  }
  .nav-lcs .nav-link-sub{
    display: block;
    font-size: .9rem;
    font-weight: 600;
  }
  .search-card .form-control::placeholder{
    font-size: .85rem;
  }
}
