/**
 * LIMAS Nusantara — Landing revamp 2026
 * Corporate, formal, high-clarity UI layered over legacy Multi theme.
 */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Serif:ital,wght@0,500;0,600;0,700;1,500&display=swap");

:root {
  --limas-bg: #ffffff;
  --limas-surface: #f6f7f9;
  --limas-surface-2: #eef0f3;
  --limas-ink: #1a1d21;
  --limas-ink-soft: #4b5563;
  --limas-muted: #6b7280;
  --limas-border: #e5e7eb;
  --limas-border-strong: #d1d5db;

  --limas-primary: #9e1b1f;
  --limas-primary-hover: #7f1418;
  --limas-primary-soft: rgba(158, 27, 31, 0.08);
  --limas-primary-ring: rgba(158, 27, 31, 0.22);

  --limas-secondary: #5b6470;
  --limas-secondary-hover: #434a54;
  --limas-secondary-soft: rgba(91, 100, 112, 0.1);

  --limas-warning: #d4a017;
  --limas-warning-hover: #b8870f;
  --limas-warning-ink: #3f2f05;
  --limas-warning-soft: rgba(212, 160, 23, 0.14);

  --limas-radius: 8px;
  --limas-radius-sm: 6px;
  --limas-radius-lg: 14px;
  --limas-shadow: 0 1px 2px rgba(26, 29, 33, 0.06), 0 4px 12px rgba(26, 29, 33, 0.05);
  --limas-shadow-hover: 0 2px 4px rgba(26, 29, 33, 0.08), 0 10px 24px rgba(26, 29, 33, 0.08);
  --limas-header-h: 64px;
  --limas-font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --limas-display: "IBM Plex Serif", Georgia, serif;
  --limas-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --limas-scroll: #005498;
  --limas-scroll-hover: #00437a;
}

/* ---------- Scrollbar ---------- */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--limas-scroll) auto;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-thumb {
  background: var(--limas-scroll);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--limas-scroll-hover);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body#home.homepage,
body {
  padding-top: var(--limas-header-h) !important;
  background: var(--limas-bg) !important;
  color: var(--limas-ink-soft) !important;
  font-family: var(--limas-font) !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Homepage: banner sits under transparent navbar */
body#home.homepage {
  padding-top: 0 !important;
}

h1, h2, h3, h4, h5, h6,
.section-header .section-title,
.column-title {
  font-family: var(--limas-display) !important;
  color: var(--limas-ink) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

a {
  color: var(--limas-primary);
  transition: color 0.2s var(--limas-ease), background-color 0.2s var(--limas-ease),
    border-color 0.2s var(--limas-ease), box-shadow 0.2s var(--limas-ease),
    transform 0.2s var(--limas-ease);
}

a:hover,
a:focus {
  color: var(--limas-primary-hover);
  text-decoration: none;
}

::selection {
  background: var(--limas-primary-soft);
  color: var(--limas-primary-hover);
}

/* ---------- Preloader: white overlay + smooth logo bounce ---------- */
.page-preloader {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
  z-index: 100000;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.page-preloader .limas-preloader-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  opacity: 1;
  transition: opacity 0.45s ease;
}

.page-preloader .sk-folding-cube {
  display: none !important;
}

.page-preloader .limas-preloader-logo,
.page-preloader img.limas-preloader-logo {
  display: block !important;
  position: relative !important;
  z-index: 2;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  width: 104px !important;
  height: 104px !important;
  max-height: none !important;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(0);
  animation: none;
  transition: opacity 0.35s ease;
  will-change: transform, opacity;
}

/* Smooth vertical bounce (~50px) while loading */
.page-preloader.is-ready:not(.is-hiding) .limas-preloader-logo,
.page-preloader.is-ready:not(.is-hiding) img.limas-preloader-logo {
  opacity: 1;
  transition: none;
  animation: limasLoaderBounce 1.35s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* Exit cleanly */
.page-preloader.is-hiding .limas-preloader-overlay {
  opacity: 0;
}

.page-preloader.is-hiding .limas-preloader-logo,
.page-preloader.is-hiding img.limas-preloader-logo,
.page-preloader.is-ready.is-hiding .limas-preloader-logo,
.page-preloader.is-ready.is-hiding img.limas-preloader-logo {
  animation: none;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.4s ease;
}

.page-preloader.is-hiding {
  pointer-events: none;
}

.page-preloader.is-done {
  display: none !important;
}

@keyframes limasLoaderBounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-50px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-preloader,
  .page-preloader .limas-preloader-logo {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .page-preloader.is-hiding,
  .page-preloader.is-done {
    display: none !important;
  }

  body.limas-revamp.is-preloading #header,
  body.limas-revamp.is-preloading #limas-home-banner,
  body.limas-revamp.is-preloading #portfolio,
  body.limas-revamp.is-preloading #contributor,
  body.limas-revamp.is-preloading #footer,
  body.limas-revamp.is-preloading #blog {
    opacity: 1;
  }
}

/* ---------- Header / Nav ---------- */
#header {
  z-index: 1040;
}

#main-menu.navbar-default {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: none !important;
  border-bottom: 1px solid var(--limas-border) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 24px rgba(26, 29, 33, 0.04);
  min-height: var(--limas-header-h) !important;
  height: auto;
  margin-bottom: 0 !important;
  padding: 0 !important;
  transition: box-shadow 0.25s var(--limas-ease), background 0.25s var(--limas-ease), border-color 0.25s var(--limas-ease);
  z-index: 999999;
}

#main-menu.navbar-default.is-scrolled {
  box-shadow: var(--limas-shadow);
}

/* Homepage hero: transparent navbar over banner */
body#home.homepage #main-menu.navbar-default {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

body#home.homepage #main-menu.navbar-default.is-scrolled,
body#home.homepage #main-menu.navbar-default.is-open {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--limas-border) !important;
  box-shadow: var(--limas-shadow) !important;
}

body#home.homepage #main-menu.navbar-default .navbar-brand img {
  filter: brightness(0) invert(1);
  transition: filter 0.25s var(--limas-ease);
}

body#home.homepage #main-menu.navbar-default.is-scrolled .navbar-brand img,
body#home.homepage #main-menu.navbar-default.is-open .navbar-brand img {
  filter: none;
}

body#home.homepage #main-menu.navbar-default .limas-nav-list > li > a {
  color: rgba(255, 255, 255, 0.92) !important;
}

body#home.homepage #main-menu.navbar-default .limas-nav-list > li > a:hover,
body#home.homepage #main-menu.navbar-default .limas-nav-list > li > a:focus {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.85) !important;
}

body#home.homepage #main-menu.navbar-default .limas-nav-list > li.active > a,
body#home.homepage #main-menu.navbar-default .limas-nav-list > li.active > a:hover,
body#home.homepage #main-menu.navbar-default .limas-nav-list > li.active > a:focus {
  color: #fff !important;
  font-weight: 700 !important;
}

body#home.homepage #main-menu.navbar-default.is-scrolled .limas-nav-list > li > a,
body#home.homepage #main-menu.navbar-default.is-open .limas-nav-list > li > a {
  color: var(--limas-ink-soft) !important;
}

body#home.homepage #main-menu.navbar-default.is-scrolled .limas-nav-list > li > a:hover,
body#home.homepage #main-menu.navbar-default.is-scrolled .limas-nav-list > li > a:focus,
body#home.homepage #main-menu.navbar-default.is-open .limas-nav-list > li > a:hover,
body#home.homepage #main-menu.navbar-default.is-open .limas-nav-list > li > a:focus {
  color: var(--limas-ink) !important;
  border-bottom-color: var(--limas-primary) !important;
}

body#home.homepage #main-menu.navbar-default.is-scrolled .limas-nav-list > li.active > a,
body#home.homepage #main-menu.navbar-default.is-scrolled .limas-nav-list > li.active > a:hover,
body#home.homepage #main-menu.navbar-default.is-scrolled .limas-nav-list > li.active > a:focus,
body#home.homepage #main-menu.navbar-default.is-open .limas-nav-list > li.active > a,
body#home.homepage #main-menu.navbar-default.is-open .limas-nav-list > li.active > a:hover,
body#home.homepage #main-menu.navbar-default.is-open .limas-nav-list > li.active > a:focus {
  color: var(--limas-ink) !important;
}

body#home.homepage #main-menu.navbar-default .limas-nav-login {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}

body#home.homepage #main-menu.navbar-default .limas-nav-login:hover,
body#home.homepage #main-menu.navbar-default .limas-nav-login:focus {
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: #fff !important;
  color: #fff !important;
}

body#home.homepage #main-menu.navbar-default.is-scrolled .limas-nav-login,
body#home.homepage #main-menu.navbar-default.is-open .limas-nav-login {
  background: var(--limas-primary) !important;
  border-color: var(--limas-primary) !important;
  color: #fff !important;
}

body#home.homepage #main-menu.navbar-default .navbar-toggle {
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

body#home.homepage #main-menu.navbar-default .navbar-toggle .icon-bar {
  background: #fff !important;
}

body#home.homepage #main-menu.navbar-default.is-scrolled .navbar-toggle,
body#home.homepage #main-menu.navbar-default.is-open .navbar-toggle {
  border-color: var(--limas-border) !important;
  background: var(--limas-surface) !important;
}

body#home.homepage #main-menu.navbar-default.is-scrolled .navbar-toggle .icon-bar,
body#home.homepage #main-menu.navbar-default.is-open .navbar-toggle .icon-bar {
  background: var(--limas-ink) !important;
}

#main-menu .limas-nav-inner {
  /* Keep Bootstrap .container width + horizontal padding so it aligns with page content */
  position: relative;
  float: none !important;
}

/* One horizontal row: brand | centered nav | login */
#main-menu .limas-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: var(--limas-header-h);
  height: var(--limas-header-h);
}

#main-menu .limas-nav-brand {
  position: relative;
  z-index: 2;
  float: none !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

#main-menu .navbar-brand {
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  display: flex !important;
  align-items: center;
  line-height: 1 !important;
}

#main-menu .navbar-brand img {
  height: 34px !important;
  width: auto !important;
  max-width: 168px;
  object-fit: contain;
  display: block;
}

#main-menu .limas-nav-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

#main-menu .limas-nav-login {
  margin: 0 !important;
  min-width: 92px;
  text-align: center;
  text-transform: none;
}

#main-menu .navbar-toggle {
  display: none;
  float: none !important;
  margin: 0 !important;
  padding: 8px 10px;
  border: 1px solid var(--limas-border) !important;
  border-radius: var(--limas-radius-sm) !important;
  background: var(--limas-surface) !important;
}

#main-menu .navbar-toggle .icon-bar {
  background: var(--limas-ink) !important;
}

#main-menu .navbar-toggle:hover,
#main-menu .navbar-toggle:focus {
  background: var(--limas-surface-2) !important;
}

/* Desktop nav: truly centered in the full header width */
#main-menu .limas-nav-list--desktop {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  float: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0 !important;
  padding: 0 !important;
}

#main-menu .limas-nav-list--desktop > li {
  float: none !important;
  display: block;
}

#main-menu.navbar-default .limas-nav-list > li > a {
  font-family: var(--limas-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em;
  text-transform: none !important;
  color: var(--limas-ink-soft) !important;
  padding: 8px 14px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#main-menu.navbar-default .limas-nav-list > li > a:hover,
#main-menu.navbar-default .limas-nav-list > li > a:focus {
  color: var(--limas-ink) !important;
  background: transparent !important;
  border-top: none !important;
  border-bottom-color: var(--limas-primary) !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

#main-menu.navbar-default .limas-nav-list > li.active > a,
#main-menu.navbar-default .limas-nav-list > li.active > a:hover,
#main-menu.navbar-default .limas-nav-list > li.active > a:focus {
  font-weight: 700 !important;
  color: var(--limas-ink) !important;
  background: transparent !important;
  border-top: none !important;
  border-bottom-color: transparent !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Mobile panel hidden on desktop */
#main-menu .limas-nav-mobile {
  display: none !important;
}

#main-menu .nav-search-btn,
#main-menu .search-wrap {
  display: none !important;
}

@media (max-width: 767px) {
  :root {
    --limas-header-h: 60px;
  }

  #main-menu .limas-nav-row {
    height: var(--limas-header-h);
    min-height: var(--limas-header-h);
  }

  #main-menu .navbar-brand img {
    height: 30px !important;
    max-width: 148px;
  }

  #main-menu .limas-nav-list--desktop,
  #main-menu .limas-nav-login--desktop {
    display: none !important;
  }

  #main-menu .navbar-toggle {
    display: block !important;
  }

  #main-menu .limas-nav-mobile.navbar-collapse {
    display: none !important;
    float: none !important;
    width: 100%;
    margin: 0;
    padding: 8px 0 14px;
    border-top: 1px solid var(--limas-border);
    box-shadow: none;
    background: #fff;
  }

  #main-menu .limas-nav-mobile.navbar-collapse.collapsing {
    display: block !important;
  }

  #main-menu .limas-nav-mobile.navbar-collapse.collapse.in {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  #main-menu .limas-nav-list--mobile {
    position: static;
    transform: none;
    float: none !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0 !important;
    width: 100%;
  }

  #main-menu.navbar-default .limas-nav-list--mobile > li > a {
    padding: 12px 2px !important;
  }

  #main-menu .limas-nav-login--mobile {
    display: block;
    width: 100%;
  }
}

@media (min-width: 768px) {
  #main-menu .limas-nav-login--mobile,
  #main-menu .limas-nav-list--mobile {
    display: none !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--limas-font) !important;
  font-weight: 550;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  border-radius: var(--limas-radius-sm) !important;
  border-width: 1px !important;
  border-style: solid !important;
  padding: 10px 18px !important;
  box-shadow: var(--limas-shadow);
  transition: background 0.2s var(--limas-ease), border-color 0.2s var(--limas-ease),
    color 0.2s var(--limas-ease), box-shadow 0.2s var(--limas-ease), transform 0.15s var(--limas-ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm,
.btn.btn-sm {
  padding: 7px 12px !important;
  font-size: 13px;
  border-radius: 5px !important;
}

.btn-lg,
.btn.btn-lg {
  padding: 12px 22px !important;
  font-size: 15px;
}

.btn.btn-primary,
.btn-primary {
  background: var(--limas-primary) !important;
  border-color: var(--limas-primary) !important;
  color: #fff !important;
  box-shadow: 0 1px 2px rgba(158, 27, 31, 0.2), 0 4px 10px rgba(158, 27, 31, 0.12);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn-primary:hover,
.btn-primary:focus {
  background: var(--limas-primary-hover) !important;
  border-color: var(--limas-primary-hover) !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(158, 27, 31, 0.28);
}

.btn.btn-primary.active,
.btn-primary.active {
  background: var(--limas-primary-hover) !important;
  border-color: var(--limas-primary-hover) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
}

.btn.btn-primary.disabled,
.btn-primary.disabled,
.btn.btn-primary.isInMin,
.btn.btn-primary.isInMax {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

.btn-secondary,
.btn.btn-secondary,
.btn-default,
.btn.btn-default {
  background: var(--limas-surface) !important;
  border-color: var(--limas-border-strong) !important;
  color: var(--limas-secondary) !important;
}

.btn-secondary:hover,
.btn.btn-secondary:hover,
.btn-default:hover,
.btn.btn-default:hover {
  background: var(--limas-surface-2) !important;
  border-color: var(--limas-secondary) !important;
  color: var(--limas-secondary-hover) !important;
}

.btn-warning,
.btn.btn-warning {
  background: var(--limas-warning) !important;
  border-color: var(--limas-warning) !important;
  color: var(--limas-warning-ink) !important;
  box-shadow: 0 1px 2px rgba(212, 160, 23, 0.25), 0 4px 10px rgba(212, 160, 23, 0.12);
}

.btn-warning:hover,
.btn.btn-warning:hover {
  background: var(--limas-warning-hover) !important;
  border-color: var(--limas-warning-hover) !important;
  color: #fff !important;
}

.btn-outline-primary {
  background: transparent !important;
  border-color: var(--limas-primary) !important;
  color: var(--limas-primary) !important;
  box-shadow: none;
}

.btn-outline-primary:hover {
  background: var(--limas-primary-soft) !important;
}

/* ---------- Forms / Inputs ---------- */
.form-control,
input.form-control,
textarea.form-control,
select.form-control,
.search-input {
  height: 44px;
  border: 1px solid var(--limas-border-strong) !important;
  border-radius: var(--limas-radius-sm) !important;
  background: #fff !important;
  color: var(--limas-ink) !important;
  font-family: var(--limas-font) !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  box-shadow: none !important;
  transition: border-color 0.2s var(--limas-ease), box-shadow 0.2s var(--limas-ease);
}

textarea.form-control {
  height: auto;
  min-height: 110px;
}

.form-control:focus,
.search-input:focus {
  border-color: var(--limas-primary) !important;
  box-shadow: 0 0 0 3px var(--limas-primary-ring) !important;
  outline: none;
}

.form-control::placeholder,
.search-input::placeholder {
  color: #9ca3af;
}

label {
  font-weight: 500;
  color: var(--limas-ink);
  font-size: 13px;
  margin-bottom: 6px;
}

/* ---------- Section headers ---------- */
.section-header {
  margin-bottom: 28px;
}

.section-header .section-title {
  font-size: 28px !important;
  margin-bottom: 8px;
  text-transform: none !important;
}

.section-header .section-title:before,
.section-header .section-title:after {
  display: none !important;
}

.section-header p,
.section-lead {
  color: var(--limas-muted);
  font-size: 15px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.column-title:after {
  border-bottom-color: var(--limas-primary) !important;
}

/* ---------- Cards / Portfolio ---------- */
#portfolio {
  background: var(--limas-surface);
  padding: 56px 0 72px;
}

#portfolio #pgrid {
  line-height: normal;
}

#portfolio #pgrid .portfolio-item {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 14px !important;
}

#portfolio .portfolio-item {
  padding: 10px !important;
}

#portfolio .portfolio-item .portfolio-item-inner,
.limas-card,
.card,
.podcast-card .card {
  background: #fff;
  border: 1px solid var(--limas-border);
  border-radius: var(--limas-radius-lg) !important;
  overflow: hidden;
  box-shadow: var(--limas-shadow);
  transition: transform 0.25s var(--limas-ease), box-shadow 0.25s var(--limas-ease),
    border-color 0.25s var(--limas-ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

#portfolio .portfolio-item:hover .portfolio-item-inner,
.podcast-card:hover .card,
.limas-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--limas-shadow-hover);
  border-color: #d8dbe1;
}

#portfolio .limas-event-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--limas-surface-2);
  overflow: hidden;
}

#portfolio .limas-event-media img,
#portfolio .portfolio-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

#portfolio .limas-event-media img.limas-img-broken {
  object-fit: contain !important;
  min-height: 0;
}

#portfolio .portfolio-item .portfolio-item-inner .portfolio-info {
  position: relative !important;
  background: #fff !important;
  opacity: 1 !important;
  padding: 14px 16px 16px !important;
  height: auto !important;
  min-height: calc(14px + 16px + (1.45em * 3));
  bottom: auto !important;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
}

#portfolio .portfolio-item .portfolio-item-inner .portfolio-info h3 {
  font-family: var(--limas-font) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  color: var(--limas-ink) !important;
  width: 100%;
}

#portfolio .portfolio-item .portfolio-item-inner .portfolio-info h3 a,
.gallery-info {
  color: var(--limas-ink) !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
  max-height: calc(1.45em * 3);
  min-height: calc(1.45em * 3);
  word-break: break-word;
}

#portfolio .portfolio-item .portfolio-item-inner .portfolio-info h3 a:hover {
  color: var(--limas-primary) !important;
}

.podcast-card {
  margin-bottom: 24px;
}

.podcast-card .card-body {
  padding: 16px !important;
}

.podcast-card h4 {
  font-family: var(--limas-display) !important;
  font-size: 18px;
  margin: 12px 0 8px !important;
  color: var(--limas-ink);
}

/* Podcast page — match homepage section + event cards */
#podcast.limas-podcast {
  background: var(--limas-surface);
  padding: 56px 0 72px;
  min-height: calc(100vh - var(--limas-header-h));
}

#podcast .limas-podcast-banner {
  margin: 0 0 28px;
  border-radius: var(--limas-radius-lg);
  overflow: hidden;
  border: 1px solid var(--limas-border);
  box-shadow: var(--limas-shadow);
  background: #fff;
}

#podcast .limas-podcast-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

#podcast .limas-podcast-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

#podcast .limas-podcast-grid:before,
#podcast .limas-podcast-grid:after {
  display: none !important;
  content: none !important;
}

#podcast .limas-podcast-col {
  display: flex;
  flex-direction: column;
  float: none !important;
  padding: 10px !important;
  margin-bottom: 4px;
}

#podcast .limas-podcast-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  flex: 1 1 auto;
}

#podcast .limas-podcast-media,
#podcast .limas-event-media.limas-podcast-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--limas-surface-2);
  overflow: hidden;
  flex: 0 0 auto;
}

#podcast .limas-podcast-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#podcast .limas-podcast-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(158, 27, 31, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(26, 29, 33, 0.25);
  pointer-events: none;
  transition: transform 0.2s var(--limas-ease), background 0.2s var(--limas-ease);
}

#podcast .limas-podcast-play .fa {
  margin-left: 2px;
  font-size: 15px;
}

#podcast .limas-podcast-card:hover .limas-podcast-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--limas-primary-hover);
}

#podcast .limas-podcast-card .portfolio-info {
  position: relative !important;
  background: #fff !important;
  opacity: 1 !important;
  padding: 12px 14px 14px !important;
  height: auto !important;
  min-height: 0;
  bottom: auto !important;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

#podcast .limas-podcast-card .portfolio-info h3 {
  font-family: var(--limas-font) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  color: var(--limas-ink) !important;
  width: 100%;
  min-height: calc(1.4em * 2);
}

#podcast .limas-podcast-card .portfolio-info h3 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: calc(1.4em * 2);
  min-height: calc(1.4em * 2);
  word-break: break-word;
  color: var(--limas-ink) !important;
}

#podcast .limas-podcast-card .portfolio-info h3 a:hover {
  color: var(--limas-primary) !important;
}

#podcast .limas-podcast-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--limas-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-height: calc(1.4em * 2);
}

#podcast .limas-podcast-desc--empty {
  display: none;
}

#podcast .limas-podcast-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--limas-muted);
}

#podcast .limas-podcast-empty {
  color: var(--limas-muted);
  margin: 24px 0;
}

#podcast .limas-pagination {
  margin-top: 36px;
}

#podcast .limas-pagination .btn.active {
  background: var(--limas-primary-hover) !important;
  border-color: var(--limas-primary-hover) !important;
}

#podcast .limas-pagination .btn.disabled {
  pointer-events: none;
  opacity: 0.45;
}

body.limas-revamp.is-preloading #podcast {
  opacity: 0;
}

body.limas-revamp:not(.is-preloading) #podcast {
  animation: limasContentFadeIn 0.55s ease both;
}

/* ---------- Unggahan / Event all-list (draft) ---------- */
#unggahan.limas-unggahan {
  padding: 40px 0 64px;
  background: var(--limas-bg);
}

.limas-unggahan .limas-filter-bar {
  max-width: 920px;
  margin: 0 auto 28px;
  padding: 16px;
  background: var(--limas-surface);
  border: 1px solid var(--limas-border);
  border-radius: var(--limas-radius-lg);
}

.limas-unggahan .limas-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.limas-unggahan .limas-filter-row + .limas-filter-row {
  margin-top: 10px;
}

.limas-unggahan .limas-filter-search {
  position: relative;
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
}

.limas-unggahan .limas-filter-search .fa-search {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  z-index: 1;
}

.limas-unggahan .limas-filter-search .form-control {
  padding-left: 40px !important;
  width: 100%;
  height: 44px !important;
  box-sizing: border-box;
}

.limas-unggahan .limas-filter-select {
  flex: 0 1 200px;
  min-width: 160px;
  height: 44px !important;
  box-sizing: border-box;
}

.limas-unggahan .limas-filter-author {
  flex: 1 1 240px;
  min-width: 200px;
}

.limas-unggahan .limas-filter-date {
  flex: 1 1 160px;
  min-width: 140px;
}

.limas-unggahan .limas-filter-date label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--limas-muted);
}

.limas-unggahan .limas-filter-date .form-control {
  height: 44px !important;
  box-sizing: border-box;
  width: 100%;
}

.limas-unggahan .limas-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  padding-bottom: 0;
  margin-left: auto;
}

.limas-unggahan .limas-filter-actions .btn {
  height: 44px !important;
  min-height: 44px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1 !important;
}

.limas-unggahan .limas-unggahan-count {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--limas-muted);
}

.limas-unggahan .limas-unggahan-empty {
  margin: 28px 0 8px;
}

.limas-unggahan .limas-unggahan-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.limas-unggahan .limas-unggahan-grid:before,
.limas-unggahan .limas-unggahan-grid:after {
  display: none !important;
  content: none !important;
}

.limas-unggahan .limas-unggahan-col {
  display: flex;
  flex-direction: column;
  float: none !important;
  padding: 10px !important;
  margin-bottom: 4px;
}

.limas-unggahan .limas-unggahan-card {
  width: 100%;
  flex: 1 1 auto;
  height: 100%;
}

.limas-unggahan .limas-event-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--limas-surface-2);
  overflow: hidden;
  flex: 0 0 auto;
}

.limas-unggahan .limas-event-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.limas-unggahan .limas-unggahan-info {
  position: relative !important;
  background: #fff !important;
  opacity: 1 !important;
  padding: 14px 14px 16px !important;
  bottom: auto !important;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.limas-unggahan .limas-unggahan-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--limas-primary);
  background: var(--limas-primary-soft);
  border-radius: 4px;
  padding: 3px 8px;
  line-height: 1.3;
}

.limas-unggahan .limas-unggahan-info h3 {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.limas-unggahan .limas-unggahan-info .gallery-info {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.45em * 3);
  max-height: calc(1.45em * 3);
  color: var(--limas-ink) !important;
}

.limas-unggahan .limas-unggahan-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--limas-muted);
  line-height: 1.35;
}

.limas-unggahan .limas-unggahan-meta .fa {
  margin-right: 4px;
  width: 12px;
  text-align: center;
}

@media (max-width: 640px) {
  .limas-unggahan .limas-filter-actions {
    width: 100%;
    margin-left: 0;
  }

  .limas-unggahan .limas-filter-actions .btn {
    flex: 1 1 auto;
  }
}

body.limas-revamp.is-preloading #unggahan {
  opacity: 0;
}

body.limas-revamp:not(.is-preloading) #unggahan {
  animation: limasContentFadeIn 0.55s ease both;
}

.box-shadow {
  box-shadow: var(--limas-shadow) !important;
  border-radius: var(--limas-radius-lg);
}

/* ---------- Home banner slider (full viewport) ---------- */
.limas-home-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #1a1d21;
}

.limas-home-banner-carousel {
  height: 100vh;
  height: 100dvh;
}

.limas-home-banner .owl-wrapper-outer {
  overflow: hidden !important;
  height: 100% !important;
  position: relative !important;
}

.limas-home-banner .owl-wrapper,
.limas-home-banner .owl-item,
.limas-home-banner .owl-item > .item,
.limas-home-banner .limas-home-banner-item {
  height: 100%;
}

.limas-home-banner .owl-item {
  float: left;
}

/* CSS crossfade (Owl fade transitionStyle locks next/prev) */
.limas-home-banner.is-fade-ready .owl-wrapper {
  transform: none !important;
  -webkit-transform: none !important;
  width: 100% !important;
}

.limas-home-banner.is-fade-ready .owl-item {
  float: none !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.75s var(--limas-ease);
  pointer-events: none;
}

.limas-home-banner.is-fade-ready .owl-item.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.limas-home-banner-item {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.limas-home-banner-copy-inner > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--limas-ease),
    transform 0.55s var(--limas-ease);
}

.limas-home-banner .owl-item.active .limas-home-banner-copy-inner > * {
  opacity: 1;
  transform: translateY(0);
}

.limas-home-banner .owl-item.active .limas-home-banner-title {
  transition-delay: 0.08s;
}

.limas-home-banner .owl-item.active .limas-home-banner-lead {
  transition-delay: 0.18s;
}

.limas-home-banner .owl-item.active .limas-home-banner-cta {
  transition-delay: 0.28s;
}

.limas-home-banner-media {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: none;
  will-change: transform;
  pointer-events: none;
}

.limas-home-banner .owl-item.active .limas-home-banner-media {
  animation: limasBannerKen 14s var(--limas-ease) infinite alternate;
}

@keyframes limasBannerKen {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

.limas-home-banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 18, 22, 0.78) 0%, rgba(15, 18, 22, 0.52) 42%, rgba(15, 18, 22, 0.28) 100%),
    linear-gradient(180deg, rgba(15, 18, 22, 0.35) 0%, rgba(15, 18, 22, 0.22) 50%, rgba(15, 18, 22, 0.55) 100%);
  pointer-events: none;
}

.limas-home-banner-copy {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
}

.limas-home-banner-copy .container {
  pointer-events: none;
}

.limas-home-banner-copy-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 560px;
  pointer-events: auto;
}

.limas-home-banner-title {
  margin: 0;
  max-width: none;
  font-family: var(--limas-display) !important;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff !important;
}

.limas-home-banner-lead {
  margin: 0;
  max-width: 40ch;
  font-family: var(--limas-font);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.limas-home-banner-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.limas-home-banner-cta .btn {
  min-width: 168px;
  pointer-events: auto;
}

.limas-home-banner-cta .btn-secondary,
.limas-home-banner-cta .btn-default {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  color: #fff !important;
}

.limas-home-banner-cta .btn-secondary:hover,
.limas-home-banner-cta .btn-default:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #fff !important;
}

/* Hide Owl built-in controls — we use custom nav/dots */
.limas-home-banner .owl-controls {
  display: none !important;
}

.limas-home-banner-nav {
  position: absolute;
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--limas-ease);
}

.limas-home-banner-nav:hover,
.limas-home-banner-nav:focus {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
  color: #fff;
}

.limas-home-banner-nav--prev {
  left: 18px;
}

.limas-home-banner-nav--next {
  right: 18px;
}

.limas-home-banner-nav i {
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
}

.limas-home-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(-50%);
}

.limas-home-banner-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s var(--limas-ease), background 0.2s var(--limas-ease);
}

.limas-home-banner-dot.is-active {
  width: 22px;
  background: #fff;
}

.limas-home-banner-dot:focus {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .limas-home-banner-copy {
    transform: translateY(-46%);
  }

  .limas-home-banner-copy-inner {
    max-width: none;
  }

  .limas-home-banner-title {
    max-width: none;
  }

  .limas-home-banner-cta {
    margin-top: 16px;
  }

  .limas-home-banner-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .limas-home-banner-nav {
    width: 40px;
    height: 40px;
  }

  .limas-home-banner-nav--prev {
    left: 10px;
  }

  .limas-home-banner-nav--next {
    right: 10px;
  }

  .limas-home-banner-dots {
    bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .limas-home-banner-media,
  .limas-home-banner .owl-item.active .limas-home-banner-media {
    animation: none !important;
    transform: none !important;
  }

  .limas-home-banner-copy-inner > *,
  .limas-home-banner .owl-item.active .limas-home-banner-copy-inner > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Map / contributor sections ---------- */
#contributor {
  padding: 40px 0 48px;
  background: var(--limas-bg);
}

#contributor iframe,
#contributor .limas-map-frame {
  width: 100%;
  height: min(68vh, 640px);
  border: 1px solid var(--limas-border) !important;
  border-radius: var(--limas-radius-lg);
  box-shadow: var(--limas-shadow);
  background: #ffffff;
}

/* Map as landing banner highlight — stacked */
#contributor.limas-map-hero {
  padding: 56px 0 40px;
  background: #ffffff;
}

#contributor.limas-map-hero .limas-map-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 18px;
}

#contributor.limas-map-hero .limas-map-welcome {
  max-width: 640px;
  margin: 0;
  text-align: center;
}

#contributor.limas-map-hero .limas-map-brand {
  margin: 0;
  font-family: var(--limas-display);
  font-size: clamp(2.25rem, 4.4vw, 3.2rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--limas-ink);
}

#contributor.limas-map-hero .limas-map-tagline {
  margin: 8px 0 0;
  font-family: var(--limas-font);
  font-size: clamp(14px, 1.7vw, 17px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--limas-ink-soft);
}

#contributor.limas-map-hero .limas-map-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px 40px;
  margin: 0;
  padding: 0;
  text-align: center;
  border: 0;
  width: 100%;
}

#contributor.limas-map-hero .limas-map-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

#contributor.limas-map-hero .limas-map-stat-value {
  font-family: var(--limas-display);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--limas-primary);
}

#contributor.limas-map-hero .limas-map-stat-label {
  margin-top: 3px;
  font-family: var(--limas-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--limas-ink-soft);
  text-transform: lowercase;
}

#contributor.limas-map-hero .limas-map-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

#contributor.limas-map-hero .limas-map-cta .btn {
  min-width: 168px;
}

#contributor.limas-map-hero .limas-map-visual {
  min-width: 0;
  margin: 0;
  padding: 0;
}

#contributor.limas-map-hero .limas-map-frame {
  width: 100%;
  height: min(56vh, 520px);
  display: block;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent;
  margin: 0;
}

@media (max-width: 640px) {
  #contributor.limas-map-hero {
    padding: 36px 0 28px;
  }

  #contributor.limas-map-hero .limas-map-copy {
    gap: 16px;
    margin-bottom: 14px;
  }

  #contributor.limas-map-hero .limas-map-stats {
    gap: 12px 28px;
  }

  #contributor.limas-map-hero .limas-map-cta .btn {
    width: 100%;
    min-width: 0;
  }

  #contributor.limas-map-hero .limas-map-frame {
    height: min(48vh, 380px);
  }
}

/* Broken image placeholder */
img.limas-img-broken {
  object-fit: contain !important;
  object-position: center center !important;
  background: #f1f3f5 !important;
  border: 1px dashed #d1d5db;
  color: transparent !important;
  text-indent: -9999px;
  font-size: 0 !important;
}

.portfolio-item img.limas-img-broken,
.contributor-logo.limas-img-broken,
.card img.limas-img-broken,
.img-responsive.limas-img-broken,
.img-fluid.limas-img-broken {
  min-height: 140px;
}

.contributor-logo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--limas-radius) !important;
  border: 1px solid var(--limas-border);
  background: #fff;
  transition: transform 0.25s var(--limas-ease), box-shadow 0.25s var(--limas-ease);
}

.client_img:hover .contributor-logo,
.slick-client .contributor-logo:hover {
  box-shadow: var(--limas-shadow);
}

/* Contributor slider — same card language as events */
.limas-contributors {
  padding: 40px 0 56px;
  background: var(--limas-bg);
}

.limas-contrib-slider {
  margin: 0 -7px;
}

.limas-contrib-slider .slick-list {
  padding: 6px 0 12px;
}

.limas-contrib-slider .slick-track {
  display: flex !important;
  align-items: stretch;
}

.limas-contrib-slide {
  padding: 0 7px;
  height: auto;
}

.limas-contrib-slider .slick-slide {
  height: auto;
  float: none;
}

.limas-contrib-slider .slick-slide > div {
  height: 100%;
}

.limas-contrib-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--limas-border);
  border-radius: var(--limas-radius-lg);
  overflow: hidden;
  box-shadow: var(--limas-shadow);
  transition: box-shadow 0.25s var(--limas-ease), border-color 0.25s var(--limas-ease);
  transform: none !important;
}

.limas-contrib-card,
.limas-contrib-card:hover,
.limas-card.limas-contrib-card:hover {
  transform: none !important;
  box-shadow: var(--limas-shadow) !important;
  border-color: var(--limas-border) !important;
}

.limas-contrib-card .limas-event-media img,
.limas-contrib-card:hover .limas-event-media img {
  transform: none !important;
}

.limas-contrib-card .limas-event-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--limas-surface-2);
  overflow: hidden;
  flex: 0 0 auto;
}

.limas-contrib-card .limas-event-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.limas-contrib-card .limas-event-media img.limas-img-broken {
  object-fit: contain !important;
}

.limas-contrib-card .portfolio-info {
  position: relative !important;
  background: #fff !important;
  opacity: 1 !important;
  padding: 14px 14px 16px !important;
  min-height: calc(14px + 16px + (1.45em * 3));
  bottom: auto !important;
  flex: 1 1 auto;
}

.limas-contrib-card .portfolio-info h3 {
  margin: 0 !important;
  font-family: var(--limas-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: var(--limas-ink) !important;
}

.limas-contrib-card .gallery-info {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
  max-height: calc(1.45em * 3);
  min-height: calc(1.45em * 3);
  word-break: break-word;
  color: var(--limas-ink) !important;
}

.limas-contrib-card .gallery-info:hover {
  color: var(--limas-primary) !important;
}

.limas-contrib-slider .slick-prev,
.limas-contrib-slider .slick-next {
  width: 40px;
  height: 40px;
  z-index: 2;
  border-radius: 50%;
  background: #fff !important;
  box-shadow: var(--limas-shadow);
  border: 1px solid var(--limas-border);
}

.limas-contrib-slider .slick-prev {
  left: -8px;
}

.limas-contrib-slider .slick-next {
  right: -8px;
}

.limas-contrib-slider .slick-prev:before,
.limas-contrib-slider .slick-next:before {
  color: var(--limas-ink);
  font-size: 18px;
  opacity: 0.75;
}

/* Pustakawan all-list — search + event-style grid */
.limas-contrib-all .limas-search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 28px;
}

.limas-contrib-all .limas-search-field {
  position: relative;
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
}

.limas-contrib-all .limas-search-field .fa-search {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  font-size: 14px;
  z-index: 1;
}

.limas-contrib-all .limas-search-field .form-control {
  padding-left: 40px !important;
  width: 100%;
  height: 44px !important;
  box-sizing: border-box;
}

.limas-contrib-all .limas-search-bar .btn {
  flex: 0 0 auto;
  height: 44px !important;
  min-height: 44px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1 !important;
}

.limas-contrib-all .limas-contrib-empty {
  margin: 24px 0 8px;
}

.limas-contrib-all .limas-pustakawan-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.limas-contrib-all .limas-pustakawan-grid:before,
.limas-contrib-all .limas-pustakawan-grid:after {
  display: none !important;
  content: none !important;
}

.limas-contrib-all .limas-pustakawan-col {
  display: flex;
  flex-direction: column;
  float: none !important;
  padding: 10px !important;
  margin-bottom: 4px;
}

.limas-contrib-all .limas-pustakawan-col .limas-contrib-card {
  width: 100%;
  flex: 1 1 auto;
}

/* University contributor detail */
.limas-univ-detail .limas-univ-top {
  margin-bottom: 8px;
}

.limas-univ-detail .limas-univ-back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--limas-ink-soft);
  text-decoration: none;
}

.limas-univ-detail .limas-univ-back:hover {
  color: var(--limas-primary);
  text-decoration: none;
}

.limas-univ-detail .limas-univ-header {
  margin-bottom: 22px;
}

.limas-univ-detail .limas-univ-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: var(--limas-radius-lg);
  border: 1px solid var(--limas-border);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--limas-shadow);
}

.limas-univ-detail .limas-univ-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.limas-univ-detail .limas-univ-header .section-title {
  margin-bottom: 8px;
}

.limas-univ-detail .limas-univ-count {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--limas-muted);
}

.limas-univ-detail .limas-univ-people-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.limas-univ-detail .limas-univ-people-list {
  list-style: none;
  margin: 0 auto 36px;
  padding: 0;
  max-width: 720px;
}

.limas-univ-detail .limas-univ-person-row {
  border-bottom: 1px solid var(--limas-border);
}

.limas-univ-detail .limas-univ-person-row a {
  display: block;
  padding: 14px 4px;
  color: var(--limas-ink, #1a1a1a);
  text-decoration: none;
  font-weight: 600;
}

.limas-univ-detail .limas-univ-person-row a:hover {
  color: var(--limas-primary, #0057a8);
}

.limas-univ-detail .limas-univ-people-grid:before,
.limas-univ-detail .limas-univ-people-grid:after {
  display: none !important;
  content: none !important;
}

.limas-univ-detail .limas-univ-people-col {
  display: flex;
  float: none !important;
  width: 33.33333333%;
  padding: 10px !important;
}

.limas-univ-detail .limas-univ-person {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 22px 16px;
  pointer-events: none;
  user-select: none;
  background: #fff;
}

.limas-univ-detail .limas-univ-person:hover {
  transform: none;
  box-shadow: var(--limas-shadow);
  border-color: var(--limas-border);
}

.limas-univ-detail .limas-univ-person-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--limas-surface-2);
  flex-shrink: 0;
}

.limas-univ-detail .limas-univ-person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.limas-univ-detail .limas-univ-person-name {
  margin: 0;
  width: 100%;
  min-height: 2.7em;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--limas-ink);
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

@media (max-width: 991px) {
  .limas-univ-detail .limas-univ-people-col {
    width: 50%;
  }
}

@media (max-width: 575px) {
  .limas-univ-detail .limas-univ-people-col {
    width: 100%;
  }
}

.limas-univ-detail .limas-univ-events {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--limas-border);
}

.limas-univ-detail .limas-person-events-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.limas-univ-detail .limas-person-events-title {
  margin: 0;
  font-family: var(--limas-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--limas-ink);
}

.limas-univ-detail .limas-person-events-count {
  margin: 0;
  font-size: 13px;
  color: var(--limas-muted);
}

.limas-univ-detail .limas-person-events-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.limas-univ-detail .limas-person-events-grid:before,
.limas-univ-detail .limas-person-events-grid:after {
  display: none !important;
  content: none !important;
}

.limas-univ-detail .limas-unggahan-col {
  display: flex;
  flex-direction: column;
  float: none !important;
  padding: 10px !important;
  margin-bottom: 4px;
}

.limas-univ-detail .limas-unggahan-card {
  width: 100%;
  height: 100%;
}

.limas-univ-detail .limas-event-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--limas-surface-2);
  overflow: hidden;
}

.limas-univ-detail .limas-event-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.limas-univ-detail .limas-unggahan-info {
  position: relative !important;
  background: #fff !important;
  opacity: 1 !important;
  padding: 14px 14px 16px !important;
  bottom: auto !important;
}

.limas-univ-detail .limas-unggahan-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--limas-primary);
  background: var(--limas-primary-soft);
  border-radius: 4px;
  padding: 3px 8px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.limas-univ-detail .limas-unggahan-info h3 {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.limas-univ-detail .limas-unggahan-info .gallery-info {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  color: var(--limas-ink) !important;
}

.limas-univ-detail .limas-unggahan-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--limas-muted);
}

.limas-univ-detail .limas-person-events-more {
  margin-top: 24px;
}

/* Contributor person detail */
.limas-person-detail {
  padding-top: 28px;
}

.limas-person-detail .limas-univ-back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--limas-ink-soft);
  text-decoration: none;
}

.limas-person-detail .limas-univ-back:hover {
  color: var(--limas-primary);
  text-decoration: none;
}

.limas-person-detail .limas-person-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px 28px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--limas-border);
}

.limas-person-detail .limas-person-avatar {
  width: 140px;
  height: 140px;
  flex: 0 0 auto;
  border-radius: var(--limas-radius-lg);
  border: 1px solid var(--limas-border);
  overflow: hidden;
  background: var(--limas-surface-2);
  box-shadow: var(--limas-shadow);
}

.limas-person-detail .limas-person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.limas-person-detail .limas-person-meta {
  flex: 1 1 260px;
  min-width: 0;
}

.limas-person-detail .limas-person-meta .section-title {
  text-align: left;
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}

.limas-person-detail .limas-person-library {
  text-align: left;
  margin: 0 0 16px;
}

.limas-person-detail .limas-person-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.limas-person-detail .limas-person-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.limas-person-detail .limas-person-facts span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--limas-muted);
}

.limas-person-detail .limas-person-facts strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--limas-ink);
}

.limas-person-detail .limas-person-events-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.limas-person-detail .limas-person-events-title {
  margin: 0;
  font-family: var(--limas-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--limas-ink);
}

.limas-person-detail .limas-person-events-count {
  margin: 0;
  font-size: 13px;
  color: var(--limas-muted);
}

.limas-person-detail .limas-person-events-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.limas-person-detail .limas-person-events-grid:before,
.limas-person-detail .limas-person-events-grid:after {
  display: none !important;
  content: none !important;
}

.limas-person-detail .limas-unggahan-col {
  display: flex;
  flex-direction: column;
  float: none !important;
  padding: 10px !important;
  margin-bottom: 4px;
}

.limas-person-detail .limas-unggahan-card {
  width: 100%;
  height: 100%;
}

.limas-person-detail .limas-event-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--limas-surface-2);
  overflow: hidden;
}

.limas-person-detail .limas-event-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.limas-person-detail .limas-unggahan-info {
  position: relative !important;
  background: #fff !important;
  opacity: 1 !important;
  padding: 14px 14px 16px !important;
  bottom: auto !important;
}

.limas-person-detail .limas-unggahan-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--limas-primary);
  background: var(--limas-primary-soft);
  border-radius: 4px;
  padding: 3px 8px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.limas-person-detail .limas-unggahan-info h3 {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.limas-person-detail .limas-unggahan-info .gallery-info {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  color: var(--limas-ink) !important;
}

.limas-person-detail .limas-unggahan-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--limas-muted);
}

.limas-person-detail .limas-person-events-more {
  margin-top: 24px;
}

@media (max-width: 640px) {
  .limas-person-detail .limas-person-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .limas-person-detail .limas-person-meta .section-title,
  .limas-person-detail .limas-person-library {
    text-align: center;
  }

  .limas-person-detail .limas-person-facts {
    justify-items: center;
  }
}

/* Detail page still uses static grid of same cards */
.limas-contrib-grid {
  line-height: normal !important;
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  -webkit-column-gap: 14px;
  -moz-column-gap: 14px;
  column-gap: 14px;
}

.limas-contrib-grid .portfolio-item {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  width: 100% !important;
  float: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  position: relative !important;
}

.limas-contrib-grid .portfolio-item-inner.limas-card {
  height: auto;
}

.limas-contrib-grid .limas-event-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--limas-surface-2);
  overflow: hidden;
}

.limas-contrib-grid .limas-event-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.limas-contrib-grid .portfolio-info {
  position: relative !important;
  background: #fff !important;
  opacity: 1 !important;
  padding: 14px 16px 16px !important;
  min-height: calc(14px + 16px + (1.45em * 3));
  bottom: auto !important;
}

.limas-contrib-grid .portfolio-info h3 {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.limas-contrib-grid .gallery-info {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
  max-height: calc(1.45em * 3);
  min-height: calc(1.45em * 3);
  word-break: break-word;
  color: var(--limas-ink) !important;
}

@media (max-width: 1000px) {
  .limas-contrib-grid {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
  }
}

@media (max-width: 800px) {
  .limas-contrib-grid {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .limas-contrib-grid {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}

/* ---------- Pagination ---------- */
.pagination,
.limas-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  text-align: center;
}

.pagination .btn,
.limas-pagination .btn,
a.btn.btn-sm.btn-primary {
  min-width: 36px;
  text-align: center;
}

/* ---------- Popups / modals / prettyPhoto ---------- */
.modal-content,
.mfp-content .modal-box,
.pp_pic_holder {
  border-radius: var(--limas-radius-lg) !important;
  border: 1px solid var(--limas-border);
  box-shadow: var(--limas-shadow-hover) !important;
  overflow: hidden;
}

.modal-header,
.modal-box-header {
  background: var(--limas-surface);
  border-bottom: 1px solid var(--limas-border);
  padding: 16px 20px;
}

.modal-title,
.city_name_modal {
  font-family: var(--limas-display) !important;
  color: var(--limas-ink) !important;
  font-weight: 600;
}

.modal-footer {
  border-top: 1px solid var(--limas-border);
  background: #fff;
}

.pp_details,
.pp_nav {
  font-family: var(--limas-font) !important;
}

/* ---------- Footer ---------- */
#footer {
  background: linear-gradient(165deg, #6f0e11 0%, #9e1b1f 48%, #7a1418 100%) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  padding: 56px 0 28px !important;
  margin-top: 0;
  border-top: 3px solid var(--limas-warning);
}

#footer .footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

#footer .footer-brand img {
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: brightness(1.05);
}

#footer .footer-heading {
  font-family: var(--limas-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

#footer .footer-copy,
#footer p,
#footer li,
#footer span,
#footer div {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.7;
}

#footer a {
  color: #fff !important;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

#footer a:hover {
  color: #f6d56a !important;
  text-decoration-color: #f6d56a;
}

#footer .footer-meta {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

#footer .padbot30 {
  padding-bottom: 0 !important;
}

@media (max-width: 991px) {
  #footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  #footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #footer {
    padding: 40px 0 24px !important;
  }
}

/* ---------- Misc legacy accent overrides ---------- */
ul.nostyle i,
#main-feature .media .pull-left i,
.progress-bar,
.nav-pills > li.active > a,
#portfolio .portfolio-filter > li a:hover,
#portfolio .portfolio-filter > li a.active {
  background-color: var(--limas-primary) !important;
  border-color: var(--limas-primary) !important;
  color: #fff;
}

.media-heading a,
.entry-meta a:hover {
  color: var(--limas-primary) !important;
}

/* ---------- Static CMS pages (e.g. 360 VR) ---------- */
.limas-static-page {
  background: var(--limas-surface);
  padding: 56px 0 72px;
  min-height: calc(100vh - var(--limas-header-h));
}

.limas-static-page .limas-page-body {
  max-width: 100%;
}

.limas-static-page .limas-page-body > p {
  margin: 0;
  text-align: center;
}

.limas-static-page .limas-page-thumb {
  margin: 0 0 20px;
}

.limas-static-page .limas-page-meta {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--limas-border);
  color: var(--limas-muted);
  font-size: 13px;
}

/* 360 VR — hide preview image for now; keep iframe viewer */
#vr360.limas-vr360 .limas-page-body > img {
  display: none;
}

#vr360.limas-vr360 .limas-page-body iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: min(70vh, 650px) !important;
  margin: 0 auto;
  border: 1px solid var(--limas-border) !important;
  border-radius: var(--limas-radius-lg);
  box-shadow: var(--limas-shadow);
  background: #fff;
}

body.limas-revamp.is-preloading #vr360,
body.limas-revamp.is-preloading #blog.limas-static-page {
  opacity: 0;
}

body.limas-revamp:not(.is-preloading) #vr360,
body.limas-revamp:not(.is-preloading) #blog.limas-static-page {
  animation: limasContentFadeIn 0.55s ease both;
}

/* subtle motion for landing sections */
#contributor,
#portfolio {
  animation: limasFadeUp 0.55s var(--limas-ease) both;
}

/* ---------- Event detail ---------- */
.limas-event-detail {
  padding: 28px 0 64px;
}

.limas-event-detail .limas-univ-back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--limas-ink-soft);
  text-decoration: none;
}

.limas-event-detail .limas-univ-back:hover {
  color: var(--limas-primary);
  text-decoration: none;
}

.limas-event-detail .limas-event-head {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--limas-border);
}

.limas-event-detail .limas-event-cat {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--limas-primary);
  background: var(--limas-primary-soft);
  border-radius: 4px;
  padding: 3px 8px;
  line-height: 1.3;
}

.limas-event-detail .limas-event-head .section-title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 700;
  text-align: left;
}

.limas-event-detail .limas-event-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--limas-muted);
}

.limas-event-detail .limas-event-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.limas-event-detail .limas-event-meta .fa {
  color: var(--limas-primary);
  width: 14px;
  text-align: center;
}

.limas-event-detail .limas-event-meta a {
  color: var(--limas-ink-soft);
  font-weight: 500;
}

.limas-event-detail .limas-event-meta a:hover {
  color: var(--limas-primary);
}

.limas-event-detail .limas-event-body {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--limas-ink-soft);
}

.limas-event-detail .limas-event-body p:last-child {
  margin-bottom: 0;
}

.limas-event-detail .limas-event-section {
  margin-bottom: 36px;
}

.limas-event-detail .limas-event-section-title {
  margin: 0 0 14px;
  font-family: var(--limas-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--limas-ink);
}

.limas-event-detail .limas-event-empty {
  margin: 0;
  font-size: 14px;
  color: var(--limas-muted);
  font-style: italic;
}

.limas-event-detail .limas-event-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.limas-event-detail .limas-event-gallery-item {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--limas-radius);
  overflow: hidden;
  background: var(--limas-surface-2);
  border: 1px solid var(--limas-border);
}

.limas-event-detail .limas-event-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s var(--limas-ease);
}

.limas-event-detail .limas-event-gallery-item:hover img {
  transform: scale(1.04);
}

.limas-event-detail .limas-event-docs {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--limas-border);
  border-radius: var(--limas-radius-lg);
  overflow: hidden;
  background: #fff;
}

.limas-event-detail .limas-event-docs li + li {
  border-top: 1px solid var(--limas-border);
}

.limas-event-detail .limas-event-docs a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--limas-ink);
  text-decoration: none;
}

.limas-event-detail .limas-event-docs a:hover {
  background: var(--limas-surface);
  color: var(--limas-primary);
}

.limas-event-detail .limas-event-docs .fa {
  color: var(--limas-primary);
  flex-shrink: 0;
}

.limas-event-detail .limas-event-doc-name {
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}

.limas-event-detail .limas-event-doc-size {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--limas-muted);
  background: var(--limas-surface-2);
  border-radius: 4px;
  padding: 3px 8px;
}

.limas-event-detail .limas-event-login-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 18px;
  background: var(--limas-surface);
  border: 1px solid var(--limas-border);
  border-radius: var(--limas-radius-lg);
}

.limas-event-detail .limas-event-login-hint p {
  margin: 0;
  flex: 1 1 220px;
  color: var(--limas-ink-soft);
  font-size: 14px;
}

.limas-event-detail .limas-event-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 36px;
  padding: 18px 0;
  border-top: 1px solid var(--limas-border);
  border-bottom: 1px solid var(--limas-border);
}

.limas-event-detail .limas-event-like {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.limas-event-detail .limas-event-like.active,
.limas-event-detail .limas-event-like.active:hover,
.limas-event-detail .limas-event-like.active:focus {
  background: var(--limas-primary-hover);
  border-color: var(--limas-primary-hover);
}

.limas-event-detail .shareIcons {
  float: none !important;
  margin: 0 !important;
}

.limas-event-detail .limas-event-comments-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.limas-event-detail .limas-event-comments-head .limas-event-section-title {
  margin: 0;
}

.limas-event-detail .limas-event-comments-all {
  font-size: 13px;
  font-weight: 500;
}

.limas-event-detail .limas-event-comment-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.limas-event-detail .limas-event-comment {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--limas-border);
  border-radius: var(--limas-radius-lg);
}

.limas-event-detail .limas-event-comment-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--limas-surface-2) center / cover no-repeat;
}

.limas-event-detail .limas-event-comment-body {
  flex: 1 1 auto;
  min-width: 0;
}

.limas-event-detail .limas-event-comment-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 4px;
}

.limas-event-detail .limas-event-comment-top strong {
  color: var(--limas-ink);
  font-size: 14px;
}

.limas-event-detail .limas-event-comment-top time {
  font-size: 12px;
  color: var(--limas-muted);
}

.limas-event-detail .limas-event-comment-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--limas-ink-soft);
  word-break: break-word;
}

.limas-event-detail .limas-event-comment-del {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--limas-muted);
}

.limas-event-detail .limas-event-comment-del:hover {
  color: var(--limas-primary);
}

.limas-event-detail .limas-event-comment-form textarea.form-control {
  min-height: 96px;
  resize: vertical;
  margin-bottom: 12px;
}

.limas-event-detail .limas-event-comment-form-actions {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 991px) {
  .limas-event-detail .limas-event-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .limas-event-detail .limas-event-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .limas-event-detail .limas-event-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes limasFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Not found / 404 ---------- */
.limas-notfound-section {
  padding: 72px 0 96px;
  background:
    radial-gradient(1200px 420px at 12% -10%, rgba(158, 27, 31, 0.08), transparent 60%),
    radial-gradient(900px 380px at 90% 0%, rgba(0, 84, 152, 0.06), transparent 55%),
    var(--limas-bg);
}

.limas-notfound {
  display: flex;
  justify-content: center;
  width: 100%;
}

.limas-notfound-card {
  width: min(560px, 100%);
  text-align: center;
  padding: 36px 28px 32px;
  background: #fff;
  border: 1px solid var(--limas-border);
  border-radius: var(--limas-radius-lg);
  box-shadow: var(--limas-shadow);
}

.limas-notfound-code {
  margin: 0 0 8px;
  font-family: var(--limas-display);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--limas-primary);
  opacity: 0.92;
}

.limas-notfound.is-wpanel .limas-notfound-code {
  color: #1d6fd8;
}

.limas-notfound-title {
  margin: 0 0 10px;
  font-family: var(--limas-display) !important;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--limas-ink) !important;
}

.limas-notfound-lead {
  margin: 0 auto 24px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--limas-ink-soft);
}

.limas-notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.limas-notfound-actions .btn {
  min-width: 148px;
}

/* Standalone error layout (exception pages) */
body.limas-error-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: #f6f7f9;
  color: #4b5563;
}

body.limas-error-page.is-landing {
  background:
    radial-gradient(1000px 420px at 10% -20%, rgba(158, 27, 31, 0.1), transparent 60%),
    radial-gradient(800px 360px at 100% 0%, rgba(0, 84, 152, 0.07), transparent 55%),
    #ffffff;
}

body.limas-error-page.is-wpanel {
  background:
    radial-gradient(1000px 420px at 8% -20%, rgba(29, 111, 216, 0.12), transparent 60%),
    #f5f5f5;
}

.limas-error-top {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 12px 20px;
}

.limas-error-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a1d21;
  font-weight: 600;
}

.limas-error-brand img {
  height: 36px;
  width: auto;
  display: block;
}

.limas-error-brand span {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.limas-error-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
}

.limas-error-foot {
  padding: 16px 20px 24px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

body.limas-error-page .limas-notfound-card {
  border: 0;
  box-shadow: 0 10px 40px rgba(26, 29, 33, 0.08);
}

body.limas-error-page.is-landing .btn-primary {
  background: #9e1b1f !important;
  border-color: #9e1b1f !important;
}

body.limas-error-page.is-landing .btn-primary:hover {
  background: #7f1418 !important;
  border-color: #7f1418 !important;
}

body.limas-error-page.is-wpanel .btn-primary {
  background: #1d6fd8 !important;
  border-color: #1d6fd8 !important;
}

body.limas-error-page.is-wpanel .btn-primary:hover {
  background: #1557b0 !important;
  border-color: #1557b0 !important;
}

body.limas-error-page .btn-secondary,
body.limas-error-page .btn-default {
  background: #fff !important;
  border: 1px solid #d1d5db !important;
  color: #1a1d21 !important;
}

@media (max-width: 575px) {
  .limas-notfound-card {
    padding: 28px 18px 24px;
  }

  .limas-notfound-actions .btn {
    width: 100%;
  }
}
