html,
body {
  min-height: 100%;
  margin: 0;
}

:root {
  --imfp-sidebar-width: 280px;
}

/* whole right-side page area */
.imfp-content-shell {
  margin-left: var(--imfp-sidebar-width);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* main content grows and pushes footer down */
.imfp-main-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* footer stays at page bottom, not fixed */
.imfp-footer {
  margin-top: auto;
  flex-shrink: 0;
  position: relative;
}

@media (max-width: 991px) {
  .imfp-content-shell {
    margin-left: 0;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 78px;
  }
}

:root {
  --sidebar-width: 280px;
  --sidebar-bg: rgba(8, 16, 34, 0.96);
  --sidebar-border: rgba(255, 255, 255, 0.10);
  --sidebar-text: #e8eefc;
  --sidebar-muted: rgba(232, 238, 252, 0.72);
  --sidebar-hover: rgba(255, 255, 255, 0.08);
  --sidebar-accent: #60a5fa;
  --sidebar-accent-soft: rgba(96, 165, 250, 0.14);
  --sidebar-danger: #f87171;
  --sidebar-danger-soft: rgba(248, 113, 113, 0.14);
  --sidebar-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

/* =========================
   SIDEBAR
========================= */
.site-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  box-shadow: var(--sidebar-shadow);
  z-index: 1000;
  overflow-y: auto;
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.sidebar-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
}

/* =========================
   LOGO
========================= */
.sidebar-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 28px;
  padding: 10px 8px 18px;
  border-bottom: 1px solid var(--sidebar-border);
}

.sidebar-logo-image {
  width: 78px;
  height: auto;
  display: block;
}

.sidebar-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-align: center;
}

/* =========================
   NAV LINKS
========================= */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--sidebar-text);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.sidebar-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sidebar-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  z-index: 0;
}

.sidebar-link:hover::before,
.sidebar-link:focus-visible::before {
  transform: scaleX(1);
}

.sidebar-link:hover,
.sidebar-link:focus-visible {
  transform: translateX(4px);
  color: #ffffff;
  outline: none;
}

.sidebar-link > * {
  position: relative;
  z-index: 1;
}

.sidebar-icon {
  width: 22px;
  min-width: 22px;
  text-align: center;
  font-size: 1.1rem;
}

.sidebar-icon-image {
  width: 22px;
  height: 22px;
  -o-object-fit: contain;
     object-fit: contain;
}

.sidebar-link span {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.2;
}

/* =========================
   AUTH AREA
========================= */
.sidebar-auth {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--sidebar-border);
}

.sidebar-link-accent {
  background: var(--sidebar-accent-soft);
}

.sidebar-link-accent:hover,
.sidebar-link-accent:focus-visible {
  color: #ffffff;
}

.sidebar-link-danger {
  background: var(--sidebar-danger-soft);
}

.sidebar-link-danger:hover,
.sidebar-link-danger:focus-visible {
  color: #ffffff;
}

/* =========================
   PAGE CONTENT SHIFT
   apply this class to your main wrapper
========================= */
.has-sidebar {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

/* =========================
   MOBILE TOGGLE BUTTON
========================= */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(8, 16, 34, 0.92);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 1101;
  box-shadow: var(--sidebar-shadow);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* =========================
   OVERLAY
========================= */
.sidebar-overlay {
  display: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {
  .site-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .site-sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, 0.48);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    display: block;
  }

  .sidebar-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }

  .has-sidebar {
    margin-left: 0;
  }
}

@media (max-width: 575px) {
  .site-sidebar {
    width: 86%;
    max-width: 320px;
  }

  .sidebar-inner {
    padding: 20px 14px;
  }

  .sidebar-link {
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 12px;
  }

  .sidebar-logo-image {
    width: 68px;
  }

  .sidebar-logo-text {
    font-size: 1rem;
  }
}

/* =========================
   LAYOUT
========================= */

.wf-force-outline-none[tabindex='-1']:focus {
  outline: none;
}

:root {
  --imfp-sidebar-width: 280px;
}

.imfp-content-shell {
  margin-left: var(--imfp-sidebar-width);
}

@media (max-width: 991px) {
  .imfp-content-shell {
    margin-left: 0;
    padding-top: 78px;
  }
}

.wf-force-outline-none[tabindex='-1']:focus {
  outline: none;
}

:root {
  --imfp-sidebar-width: 280px;
}

/* ========================================
   PAGE LAYOUT
======================================== */
html,
body {
  min-height: 100%;
}

.imfp-content-shell {
  margin-left: var(--imfp-sidebar-width);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #08192e;
}

.imfp-main-content {
  flex: 1 0 auto;
  min-width: 0;
}

/* ========================================
   CONTACT SWITCH
======================================== */
.contact-lg {
  display: block;
}

.contact-responsive {
  display: none;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 991px) {
  .imfp-content-shell {
    margin-left: 0;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 78px;
  }

  .db-mobile-fixed-nav {
    padding: 18px 16px 24px;
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .db-mobile-fixed-nav {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .db-mobile-fixed-nav .copyright,
  .db-mobile-fixed-nav .photo-credit {
    width: 100%;
  }

  .contact-lg {
    display: none;
  }

  .contact-responsive {
    display: block;
  }

  .db-mobile-fixed-nav .photo-credit {
    height: auto !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
  }
}

/* FOOTER IMAGE LINK */
.photo-credit {
  height: auto;
  margin-right: 20px;
  padding-top: 10px;
  margin-bottom: 5px;
}


/* ========================================
   HERO SECTION 2026
======================================== */
.hero-section-2026 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 48px 32px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(3, 8, 18, 0.3), rgba(7, 18, 36, 0.365)),
    radial-gradient(circle at top right, rgba(98, 155, 255, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.03), transparent 28%),
    url(/assets/imfp2026/imfp2026_bg3-ad0c2cd4f6f00b3824b3c1a456a6ee1981bd87f9b1b50ef2f28fcca8859bf700.webp) center center / cover no-repeat;
}


.hero-section-2026::before {
  width: 260px;
  height: 260px;
  top: 8%;
  right: 10%;
  background: rgba(96, 165, 250, 0.18);
}

.hero-section-2026::after {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: 8%;
  background: rgba(255, 255, 255, 0.08);
}

.hero-section-2026 .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-section-2026 .row {
  margin: 0;
}

.perfik-intro-wrapper {
  width: 100%;
  min-height: calc(100vh - 96px);
  min-height: calc(100dvh - 96px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================================
   HERO CARD
======================================== */
.imfp-hero-card {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.464);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.imfp-hero-card .inner {
  position: relative;
  padding: 56px 52px;
}

.imfp-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

/* ========================================
   TITLE BLOCK
======================================== */
.perfik-title-section {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #f8fbff;
}

.perfik-title,
.perfik-title-2,
.perfik-title-3,
.perfik-title-4,
.perfik-title-5,
.perfik-title-6 {
  margin-left: 0;
  margin-right: 0;
}

.perfik-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
}

.perfik-title-2 {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  line-height: 1.25;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.perfik-title-3 {
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 192, 34, 0.82);
}

.perfik-title-4 {
  display: inline-block;
  margin: 0 0 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.22);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.3;
  font-weight: 700;
  color: #dbeafe;
}

.perfik-title-5 {
  margin: 0 0 18px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.5;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.perfik-title-6 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.85;
  font-weight: 400;
  color: rgba(230, 238, 250, 0.78);
}

/* ========================================
   MOBILE / TABLET
======================================== */
@media (max-width: 991px) {
  .hero-section-2026 {
    min-height: auto;
    padding: 28px 18px 40px;
  }

  .perfik-intro-wrapper {
    min-height: auto;
  }

  .imfp-hero-card .inner {
    padding: 36px 28px;
  }
}

@media (max-width: 767px) {
  .hero-section-2026 {
    padding: 20px 14px 32px;
  }

  .imfp-hero-card {
    border-radius: 20px;
  }

  .imfp-hero-card .inner {
    padding: 28px 18px;
  }

  .perfik-title {
    margin-bottom: 12px;
  }

  .perfik-title-3 {
    margin-bottom: 22px;
  }

  .perfik-title-4 {
    padding: 8px 14px;
  }

  .perfik-title-6 {
    line-height: 1.7;
  }
}


/* ========================================
   IMFP FOOTER
======================================== */
.imfp-footer {
  position: relative;
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
  background: rgba(4, 10, 24, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.imfp-footer__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
}

.imfp-footer__block {
  min-width: 0;
}

.imfp-footer__brand,
.imfp-footer__contact,
.imfp-footer__credit {
  flex: 1 1 0;
}

.imfp-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.imfp-footer__copyright {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(236, 243, 255, 0.84);
}

.imfp-footer__copyright strong {
  color: #ffffff;
  font-weight: 700;
}

.imfp-footer__logo-wrap {
  margin-top: 12px;
}

.imfp-footer__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.imfp-footer__logo {
  width: 250px;
  max-width: 100%;
  height: auto;
  display: block;
}

.imfp-footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.imfp-footer__heading {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.imfp-footer__heading i {
  font-size: 0.95rem;
}

.imfp-footer__contact-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(236, 243, 255, 0.8);
}

.imfp-footer__divider {
  display: inline-block;
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.32);
}

.imfp-footer__contact-mobile {
  display: none;
}

.imfp-footer__credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.imfp-footer__credit-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.imfp-footer__credit-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.imfp-footer__credit-label {
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(236, 243, 255, 0.66);
}

.imfp-footer__credit-name {
  margin: 4px 0 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* ========================================
   TABLET
======================================== */
@media (max-width: 991px) {
  .imfp-footer__inner {
    padding: 20px 18px 24px;
    gap: 20px;
    flex-wrap: wrap;
  }

  .imfp-footer__brand,
  .imfp-footer__contact,
  .imfp-footer__credit {
    flex: 1 1 100%;
  }

  .imfp-footer__brand {
    align-items: center;
    text-align: center;
  }

  .imfp-footer__contact {
    justify-content: center;
    text-align: center;
  }

  .imfp-footer__credit {
    justify-content: center;
  }

  .imfp-footer__credit-link {
    align-items: center;
    text-align: center;
  }

  .imfp-footer__logo {
    width: 220px;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 767px) {
  .imfp-footer__inner {
    padding: 18px 14px 22px;
    gap: 18px;
  }

  .imfp-footer__copyright {
    font-size: 0.9rem;
  }

  .imfp-footer__heading {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .imfp-footer__contact-text {
    font-size: 0.9rem;
  }

  .imfp-footer__contact-desktop {
    display: none;
  }

  .imfp-footer__contact-mobile {
    display: block;
  }

  .imfp-footer__logo {
    width: 190px;
  }

  .imfp-footer__credit-label {
    font-size: 0.8rem;
  }

  .imfp-footer__credit-name {
    font-size: 0.95rem;
  }
}



/* ========================================
   GLOBAL
======================================== */
.wf-force-outline-none[tabindex='-1']:focus {
  outline: none;
}

/* ========================================
   PAGE MAIN
======================================== */
.imfp-page-main {
  flex: 1 0 auto;
  min-width: 0;
}

/* ========================================
   INFO PAGE
======================================== */
.info-section {
  position: relative;
  padding: 40px 28px 56px;
  min-height: 100%;
}

.info-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.info-card {
  width: 100%;
  border-radius: 28px;
  padding: 28px;
  background: rgba(10, 20, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.info-header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 8px;
}

.info-page-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.info-divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.info-body {
  padding: 4px 0;
}

.info-news {
  padding: 4px 0;
}

/* ========================================
   MARKDOWN CONTENT
======================================== */
.markdown-css {
  color: rgba(236, 243, 255, 0.88);
  font-size: 1rem;
  line-height: 1.8;
  word-break: break-word;
}

.markdown-css > *:first-child {
  margin-top: 0;
}

.markdown-css > *:last-child {
  margin-bottom: 0;
}

.markdown-css h1,
.markdown-css h2,
.markdown-css h3,
.markdown-css h4,
.markdown-css h5,
.markdown-css h6 {
  margin-top: 1.4em;
  margin-bottom: 0.6em;
  color: #ffffff;
  line-height: 1.25;
  font-weight: 700;
}

.markdown-css h1 {
  font-size: 2rem;
}

.markdown-css h2 {
  font-size: 1.6rem;
}

.markdown-css h3 {
  font-size: 1.3rem;
}

.markdown-css p {
  margin: 0 0 1em;
}

.markdown-css ul,
.markdown-css ol {
  margin: 0 0 1.2em 1.4em;
  padding: 0;
}

.markdown-css li {
  margin-bottom: 0.45em;
}

.markdown-css a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.markdown-css a:hover {
  color: #bfdbfe;
}

.markdown-css strong {
  color: #ffffff;
  font-weight: 700;
}

.markdown-css em {
  font-style: italic;
}

.markdown-css blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  border-left: 4px solid rgba(96, 165, 250, 0.55);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  color: rgba(236, 243, 255, 0.84);
}

.markdown-css code {
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.95em;
}

.markdown-css pre {
  margin: 1.4em 0;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: 14px;
  background: rgba(2, 6, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.markdown-css pre code {
  padding: 0;
  background: transparent;
}

.markdown-css img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.2em auto;
  border-radius: 16px;
}

.markdown-css table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.markdown-css th,
.markdown-css td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.markdown-css th {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

/* ========================================
   TABLET
======================================== */
@media (max-width: 991px) {
  .info-section {
    padding: 28px 18px 40px;
  }

  .info-card {
    border-radius: 22px;
    padding: 22px;
  }

  .info-divider {
    margin: 18px 0;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 767px) {
  .info-section {
    padding: 20px 14px 30px;
  }

  .info-card {
    border-radius: 18px;
    padding: 18px 14px;
  }

  .info-page-title {
    font-size: 1.45rem;
  }

  .markdown-css {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .markdown-css h1 {
    font-size: 1.6rem;
  }

  .markdown-css h2 {
    font-size: 1.35rem;
  }

  .markdown-css h3 {
    font-size: 1.15rem;
  }

  .markdown-css th,
  .markdown-css td {
    padding: 10px 10px;
    font-size: 0.92rem;
  }
}


.info-section {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  padding: 40px 28px 56px;
  background:
    linear-gradient(135deg, rgba(2, 6, 14, 0.86), rgba(5, 14, 28, 0.82)),
    url(/assets/imfp2026/imfp2026_bg3-ad0c2cd4f6f00b3824b3c1a456a6ee1981bd87f9b1b50ef2f28fcca8859bf700.webp) center center / cover no-repeat;
}

.info-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
}

.info-card {
  width: 100%;
  min-height: 100%;
  border-radius: 28px;
  padding: 28px;
  background: rgba(10, 20, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}


/* ========================================
   GLOBAL
======================================== */
.wf-force-outline-none[tabindex='-1']:focus {
  outline: none;
}

/* ========================================
   PAGE MAIN
======================================== */
.imfp-page-main {
  flex: 1 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ========================================
   VENUE PAGE
======================================== */
.venue-section {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  padding: 40px 28px 56px;
  background:
    linear-gradient(135deg, rgba(2, 6, 14, 0.86), rgba(5, 14, 28, 0.5)),
    radial-gradient(circle at top right, rgba(98, 155, 255, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.03), transparent 28%),
    url(/assets/imfp2026/imfp2026_bg1-586061c430654f6e6bc107fc7912e9f0ebaa75d91e57c250870526d6b770c704.webp) center center / cover no-repeat;
}

.venue-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
}

.venue-card {
  width: 100%;
  border-radius: 28px;
  padding: 28px;
  background: rgba(10, 20, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.venue-header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 8px;
}

.venue-page-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.venue-divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.venue-image-wrap {
  width: 100%;
  padding: 18px 0 24px;
}

.venue-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.venue-content {
  color: rgba(236, 243, 255, 0.88);
  text-align: center;
}

/* ========================================
   MARKDOWN
======================================== */
.markdown-css {
  font-size: 1rem;
  line-height: 1.8;
  word-break: break-word;
}

.markdown-css > *:first-child {
  margin-top: 0;
}

.markdown-css > *:last-child {
  margin-bottom: 0;
}

.markdown-css h1,
.markdown-css h2,
.markdown-css h3,
.markdown-css h4,
.markdown-css h5,
.markdown-css h6 {
  margin-top: 1.4em;
  margin-bottom: 0.6em;
  color: #ffffff;
  line-height: 1.25;
  font-weight: 700;
}

.markdown-css h1 {
  font-size: 2rem;
}

.markdown-css h2 {
  font-size: 1.6rem;
}

.markdown-css h3 {
  font-size: 1.3rem;
}

.markdown-css p {
  margin: 0 0 1em;
}

.markdown-css ul,
.markdown-css ol {
  margin: 0 0 1.2em 1.4em;
  padding: 0;
  text-align: left;
}

.markdown-css li {
  margin-bottom: 0.45em;
}

.markdown-css a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.markdown-css a:hover {
  color: #bfdbfe;
}

.markdown-css strong {
  color: #ffffff;
  font-weight: 700;
}

.markdown-css em {
  font-style: italic;
}

.markdown-css blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  border-left: 4px solid rgba(96, 165, 250, 0.55);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  color: rgba(236, 243, 255, 0.84);
  text-align: left;
}

.markdown-css code {
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.95em;
}

.markdown-css pre {
  margin: 1.4em 0;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: 14px;
  background: rgba(2, 6, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.markdown-css pre code {
  padding: 0;
  background: transparent;
}

.markdown-css img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.2em auto;
  border-radius: 16px;
}

.markdown-css table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.markdown-css th,
.markdown-css td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.markdown-css th {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

/* ========================================
   TABLET
======================================== */
@media (max-width: 991px) {
  .venue-section {
    padding: 28px 18px 40px;
  }

  .venue-card {
    border-radius: 22px;
    padding: 22px;
  }

  .venue-divider {
    margin: 18px 0;
  }

  .venue-image-wrap {
    padding: 12px 0 20px;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 767px) {
  .venue-section {
    padding: 20px 14px 30px;
  }

  .venue-card {
    border-radius: 18px;
    padding: 18px 14px;
  }

  .venue-page-title {
    font-size: 1.45rem;
  }

  .venue-image {
    border-radius: 14px;
  }

  .markdown-css {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .markdown-css h1 {
    font-size: 1.6rem;
  }

  .markdown-css h2 {
    font-size: 1.35rem;
  }

  .markdown-css h3 {
    font-size: 1.15rem;
  }

  .markdown-css th,
  .markdown-css td {
    padding: 10px 10px;
    font-size: 0.92rem;
  }
}

/* ========================================
   GLOBAL
======================================== */
.wf-force-outline-none[tabindex='-1']:focus {
  outline: none;
}

/* ========================================
   PAGE MAIN
======================================== */
.imfp-page-main {
  flex: 1 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ========================================
   SCOPE PAGE
======================================== */
.scope-section {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  padding: 40px 28px 56px;
  background:
    linear-gradient(135deg, rgba(2, 6, 14, 0.86), rgba(5, 14, 28, 0.82)),
    radial-gradient(circle at top right, rgba(98, 155, 255, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.03), transparent 28%),
    url(/assets/imfp2026/imfp2026_bg3-ad0c2cd4f6f00b3824b3c1a456a6ee1981bd87f9b1b50ef2f28fcca8859bf700.webp) center center / cover no-repeat;
}

.scope-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
}

.scope-card {
  width: 100%;
  border-radius: 28px;
  padding: 28px;
  background: rgba(10, 20, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.scope-header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 8px;
}

.scope-page-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.scope-divider {
  margin: 20px 0 24px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* ========================================
   GRID
======================================== */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.scope-item {
  min-width: 0;
}

.scope-item__inner {
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.scope-item__inner:hover {
  transform: translateY(-6px);
  border-color: rgba(147, 197, 253, 0.28);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.scope-image {
  width: 100%;
  height: 190px;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  background: rgba(255, 255, 255, 0.03);
}

.scope-title {
  margin: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px 20px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
  color: #ffffff;
}

/* ========================================
   LARGE TABLET
======================================== */
@media (max-width: 1199px) {
  .scope-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ========================================
   TABLET
======================================== */
@media (max-width: 991px) {
  .scope-section {
    padding: 28px 18px 40px;
  }

  .scope-card {
    border-radius: 22px;
    padding: 22px;
  }

  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .scope-image {
    height: 180px;
  }

  .scope-title {
    min-height: 74px;
    font-size: 0.98rem;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 767px) {
  .scope-section {
    padding: 20px 14px 30px;
  }

  .scope-card {
    border-radius: 18px;
    padding: 18px 14px;
  }

  .scope-page-title {
    font-size: 1.45rem;
  }

  .scope-divider {
    margin: 18px 0 20px;
  }

  .scope-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scope-item__inner {
    border-radius: 16px;
  }

  .scope-image {
    height: 200px;
  }

  .scope-title {
    min-height: auto;
    padding: 16px 12px 18px;
    font-size: 0.96rem;
  }
}

/* ========================================
   SCHEDULE PAGE
======================================== */
.schedule-section {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  padding: 40px 28px 56px;
  background:
    linear-gradient(135deg, rgba(2, 6, 14, 0.86), rgba(5, 14, 28, 0.82)),
    radial-gradient(circle at top right, rgba(98, 155, 255, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.03), transparent 28%),
    url(/assets/imfp2026/imfp2026_bg3-ad0c2cd4f6f00b3824b3c1a456a6ee1981bd87f9b1b50ef2f28fcca8859bf700.webp) center center / cover no-repeat;
}

.schedule-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
}

.schedule-card {
  width: 100%;
  border-radius: 28px;
  padding: 28px;
  background: rgba(10, 20, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.schedule-header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 8px;
}

.schedule-page-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.schedule-divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.schedule-body {
  color: rgba(236, 243, 255, 0.88);
}

/* generic content styling inside rendered partial */
.schedule-body h1,
.schedule-body h2,
.schedule-body h3,
.schedule-body h4,
.schedule-body h5,
.schedule-body h6 {
  color: #ffffff;
  line-height: 1.25;
  font-weight: 700;
}

.schedule-body p,
.schedule-body li,
.schedule-body td,
.schedule-body th,
.schedule-body span,
.schedule-body div {
  color: rgba(236, 243, 255, 0.88);
}

.schedule-body a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.schedule-body a:hover {
  color: #bfdbfe;
}

.schedule-body hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin: 20px 0;
}

.schedule-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

.schedule-body table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
}

.schedule-body th,
.schedule-body td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-body th {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

/* ========================================
   TABLET
======================================== */
@media (max-width: 991px) {
  .schedule-section {
    padding: 28px 18px 40px;
  }

  .schedule-card {
    border-radius: 22px;
    padding: 22px;
  }

  .schedule-divider {
    margin: 18px 0;
  }

  .schedule-body th,
  .schedule-body td {
    padding: 10px 12px;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 767px) {
  .schedule-section {
    padding: 20px 14px 30px;
  }

  .schedule-card {
    border-radius: 18px;
    padding: 18px 14px;
  }

  .schedule-page-title {
    font-size: 1.45rem;
  }

  .schedule-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .schedule-body th,
  .schedule-body td {
    font-size: 0.92rem;
    padding: 10px 10px;
  }
}

/* ===== SPEAKER SECTION ===== */
.speaker-section {
  position: relative;
  width: 100%;
  padding: 40px 0 60px;
  background:
    linear-gradient(135deg, rgba(3, 8, 18, 0.3), rgba(7, 18, 36, 0.365)),
    radial-gradient(circle at top right, rgba(98, 155, 255, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.03), transparent 28%),
    url(/assets/imfp2026/imfp2026_bg2-1cf73f1af13d69dd505a1969745bbe46f116e5f38f2818aae692aa8f2c2d09e2.webp) center center / cover no-repeat;
}

.speaker-section .container {
  position: relative;
}

.speaker-section section {
  width: 100%;
}

.speaker-section .box {
  width: 100%;
}

.speaker-section .glass-container {
  width: 100%;
  padding: 28px 24px 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.speaker-section .speaker-title-wrap {
  margin-bottom: 10px;
}

.speaker-section .row-center {
  justify-content: center;
  text-align: center;
}

.speaker-section .scope-page-title {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.speaker-section hr {
  border: 0;
  height: 1px;
  margin: 18px 0 24px;
  background: rgba(255, 255, 255, 0.12);
}

.speaker-section .speaker-list-wrap {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* ===== GRID ===== */
.speaker-section .speaker-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.speaker-section .speaker-col {
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.bio {
  width: 100%;
  color: white;
  text-align: center;
}

/* ===== CARD ===== */
.speaker-section .nft {
  position: relative;
  display: block;
  height: 100%;
  padding: 14px;
  border-radius: 18px;
  cursor: pointer;
  background: rgba(241, 248, 255, 0.89);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.speaker-section .nft:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.speaker-section .main-speaker {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.speaker-section .tokenImage {
  display: block;
  width: 100%;
  aspect-ratio: 240 / 186;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.speaker-section .speaker-name {
  margin: 14px 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.speaker-section .creator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 44px;
}

.speaker-section .speaker-affiliation {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 500;
  text-align: center;
  opacity: 0.92;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.modal[hidden] {
  display: none !important;
}

.modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 15, 30, 0.72);
}

/* popup above overlay */
.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  max-height: calc(100vh - 56px);
  margin: 0 auto;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: calc(100vh - 56px);
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.modal-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.45;
  font-weight: 700;
  color: #0f172a;
}

.btn-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-close:hover {
  background: rgba(15, 23, 42, 0.12);
  transform: scale(1.04);
}

.modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 22px;
}

.modal-markdown-wrap {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.modal-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.modal-speaker-img {
  display: block;
  width: min(356px, 100%);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  margin: 0 auto;
  border-radius: 18px;
  background: #f8fafc;
}

.modal-bio-col {
  width: 100%;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #334155;
  overflow-wrap: break-word;
  word-break: break-word;
}

.modal-bio-col p:last-child {
  margin-bottom: 0;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 22px 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 9999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal-close-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

body.modal-open {
  overflow: hidden;
}

/* ===== TABLET ===== */
@media (max-width: 991.98px) {
  .speaker-section {
    padding: 32px 0 48px;
  }

  .speaker-section .glass-container {
    padding: 24px 20px 28px;
  }

  .speaker-section .speaker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .modal {
    padding: 22px;
  }

  .modal-dialog,
  .modal-content {
    max-height: calc(100vh - 44px);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 767.98px) {
  .speaker-section {
    padding: 24px 0 36px;
  }

  .speaker-section .glass-container {
    padding: 20px 14px 22px;
    border-radius: 18px;
  }

  .speaker-section .speaker-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .speaker-section .nft {
    padding: 12px;
    border-radius: 16px;
  }

  .speaker-section .speaker-name {
    font-size: 1rem;
  }

  .speaker-section .speaker-affiliation {
    font-size: 0.9rem;
  }

  .modal {
    padding: 14px;
    align-items: center;
  }

  .modal-dialog {
    width: 100%;
    max-height: calc(100vh - 28px);
  }

  .modal-content {
    max-height: calc(100vh - 28px);
    border-radius: 16px;
  }

  .modal-header {
    padding: 14px 14px 12px;
  }

  .modal-title {
    font-size: 1rem;
    line-height: 1.4;
  }

  .btn-close {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  .modal-body {
    padding: 14px;
  }

  .modal-footer {
    padding: 12px 14px 14px;
  }

  .modal-close-btn {
    width: 100%;
  }
}


/* ========================================
   SPONSOR PAGE
   styled to match VENUE PAGE
======================================== */
.sponsor-section {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  padding: 40px 28px 56px;
  background:
    linear-gradient(135deg, rgba(2, 6, 14, 0.86), rgba(5, 14, 28, 0.5)),
    radial-gradient(circle at top right, rgba(98, 155, 255, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.03), transparent 28%),
    url(/assets/imfp2026/imfp2026_bg1-586061c430654f6e6bc107fc7912e9f0ebaa75d91e57c250870526d6b770c704.webp) center center / cover no-repeat;
}

.sponsor-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
}

.sponsor-section section,
.sponsor-section .box {
  width: 100%;
}

.sponsor-section .glass-container {
  width: 100%;
  border-radius: 28px;
  padding: 28px;
  background: rgba(10, 20, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ========================================
   HEADER
======================================== */
.sponsor-page-title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 8px;
}

.sponsor-title-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.sponsor-title-row h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sponsor-divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* ========================================
   TIER TITLE
======================================== */
.sponsor-tier-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platinum-title {
  color: #ffffff;
}

.gold-title {
  color: #f6d365;
}

.silver-title {
  color: #dbe4ee;
}

.others-title {
  color: rgba(236, 243, 255, 0.88);
}

/* ========================================
   GRID
======================================== */
.sponsor-tier-container {
  width: 100%;
}

.sponsor-row.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
}

.sponsor-col {
  min-width: 0;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* ========================================
   CARD
======================================== */
.sponsor-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sponsor-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  border-color: rgba(255, 255, 255, 0.14);
}

.sponsor-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.sponsor-logo-frame {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.sponsor-img {
  display: block;
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
  margin: 0 auto;
}

.sponsor-name {
  margin: 14px 0 0;
  text-align: center;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
  word-break: break-word;
}

/* platinum slightly larger emphasis */
.platinum-title + .sponsor-tier-container .sponsor-logo-frame {
  min-height: 200px;
}

.platinum-title + .sponsor-tier-container .sponsor-img {
  max-height: 136px;
}

/* ========================================
   TABLET LARGE
======================================== */
@media (max-width: 1199px) {
  .sponsor-row.sponsor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ========================================
   TABLET
======================================== */
@media (max-width: 991px) {
  .sponsor-section {
    padding: 28px 18px 40px;
  }

  .sponsor-section .glass-container {
    border-radius: 22px;
    padding: 22px;
  }

  .sponsor-divider {
    margin: 18px 0;
  }

  .sponsor-row.sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .sponsor-item {
    padding: 16px;
    border-radius: 18px;
  }

  .sponsor-logo-frame {
    min-height: 160px;
    padding: 16px;
    border-radius: 16px;
  }

  .platinum-title + .sponsor-tier-container .sponsor-logo-frame {
    min-height: 175px;
  }

  .sponsor-img {
    max-height: 108px;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 767px) {
  .sponsor-section {
    padding: 20px 14px 30px;
  }

  .sponsor-section .glass-container {
    border-radius: 18px;
    padding: 18px 14px;
  }

  .sponsor-title-row h1 {
    font-size: 1.45rem;
  }

  .sponsor-tier-title {
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .sponsor-row.sponsor-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sponsor-item {
    padding: 14px;
    border-radius: 16px;
  }

  .sponsor-logo-frame,
  .platinum-title + .sponsor-tier-container .sponsor-logo-frame {
    min-height: 145px;
    padding: 14px;
    border-radius: 14px;
  }

  .sponsor-img,
  .platinum-title + .sponsor-tier-container .sponsor-img {
    max-height: 96px;
  }

  .sponsor-name {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

.info-head {
  color: gold;
}

.icon-white {
  filter: brightness(0) invert(1);
}

/* ===== full page layout ===== */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
}

.imfp-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.imfp-main {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

/* navbar and footer stay in normal flow */
.imfp-page > * {
  flex-shrink: 0;
}

.imfp-main > .sponsor-section,
.imfp-main > .scope-section,
.imfp-main > .venue-section {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  align-items: stretch;
}

/* make inner section structure stretch */
.imfp-main > .sponsor-section > .container,
.imfp-main > .scope-section > .container,
.imfp-main > .venue-section > .container {
  width: 100%;
  display: flex;
}

.imfp-main > .sponsor-section section,
.imfp-main > .scope-section section,
.imfp-main > .venue-section section,
.imfp-main > .sponsor-section .box,
.imfp-main > .scope-section .box,
.imfp-main > .venue-section .box,
.imfp-main > .sponsor-section .glass-container,
.imfp-main > .scope-section .glass-container,
.imfp-main > .venue-section .glass-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* footer stays at bottom when content is short */
.imfp-page footer,
.imfp-footer {
  margin-top: auto;
}


/* ========================================
     COMMITTEE PAGE
     matched to venue / sponsor styling
  ======================================== */

  .committee-section {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    padding: 40px 28px 56px;
    background:
      linear-gradient(135deg, rgba(2, 6, 14, 0.86), rgba(5, 14, 28, 0.5)),
      radial-gradient(circle at top right, rgba(98, 155, 255, 0.08), transparent 34%),
      radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.03), transparent 28%),
      url(/assets/imfp2026/imfp2026_bg1-586061c430654f6e6bc107fc7912e9f0ebaa75d91e57c250870526d6b770c704.webp) center center / cover no-repeat;
  }

  .committee-section > .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
  }

  .committee-section section,
  .committee-section .box {
    width: 100%;
  }

  .committee-section .glass-container {
    width: 100%;
    border-radius: 28px;
    padding: 28px;
    background: rgba(10, 20, 40, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* ===== title ===== */
  .committee-section .info-title.container {
    margin-bottom: 0 !important;
    padding-left: 0;
    padding-right: 0;
  }

  .committee-section .info-title .row {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
  }

  .committee-section .info-title h1 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
  }

  .committee-section hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    opacity: 1;
  }

  /* ===== content wrapper ===== */
  .committee-section .container.text-center {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .committee-section .container.text-center > .row {
    margin-left: 0;
    margin-right: 0;
  }

  /* ===== committee group title ===== */
  .committee-section h2 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    line-height: 1.3;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
  }

  .committee-section h2 u {
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 8px;
  }

  .committee-section .col-lg-12.mb-4.pb-4.mt-5.pt-5 {
    margin-top: 2.25rem !important;
    margin-bottom: 0.5rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* ===== card row ===== */
  .committee-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding-left: 0;
    padding-right: 0;
  }

  .committee-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0;
  }

  /* ===== profile card ===== */
  .profile-card {
    position: relative;
    width: 220px;
    min-height: 290px;
    margin: 0;
    padding: 18px 16px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
  }

  .profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    border-color: rgba(255, 255, 255, 0.14);
  }

  /* ===== image area ===== */
  .profile-card .img {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 16px;
    transform: none;
    z-index: 1;
    flex: 0 0 auto;
  }

  .profile-card .img img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    border: 3px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.96);
  }

  /* remove old conflicting rule */
  .profile-card img {
    border-radius: 9999px;
  }

  /* ===== caption ===== */
  .caption {
    width: 100%;
    text-align: center;
    transform: none;
    opacity: 1;
    transition: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 auto;
  }

  .profile-card .caption {
    opacity: 1;
  }

  .caption h5 {
    margin: 0 !important;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
    color: #ffffff;
  }

  .caption hr {
    width: 52px;
    margin: 12px auto 10px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .caption h6 {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 500;
    color: rgba(236, 243, 255, 0.88);
  }

  .caption p,
  .caption .social-links,
  .caption .social-links a {
    color: rgba(236, 243, 255, 0.88);
  }

  /* ===== spacing between position groups ===== */
  .committee-section .container.text-center > .row + .row {
    margin-top: 8px;
  }

  /* ========================================
     TABLET
  ======================================== */
  @media (max-width: 991px) {
    .committee-section {
      padding: 28px 18px 40px;
    }

    .committee-section .glass-container {
      border-radius: 22px;
      padding: 22px;
    }

    .committee-row {
      gap: 18px;
    }

    .profile-card {
      width: calc(50% - 9px);
      max-width: 240px;
      min-height: 280px;
    }

    .committee-section .col-lg-12.mb-4.pb-4.mt-5.pt-5 {
      margin-top: 1.9rem !important;
    }
  }

  /* ========================================
     MOBILE
  ======================================== */
  @media (max-width: 767px) {
    .committee-section {
      padding: 20px 14px 30px;
    }

    .committee-section .glass-container {
      border-radius: 18px;
      padding: 18px 14px;
    }

    .committee-section .info-title h1 {
      font-size: 1.45rem;
    }

    .committee-section h2 {
      font-size: 1.05rem;
    }

    .committee-section .col-lg-12.mb-4.pb-4.mt-5.pt-5 {
      margin-top: 1.5rem !important;
      margin-bottom: 0.25rem !important;
    }

    .committee-row {
      gap: 16px;
    }

    .profile-card {
      width: 100%;
      max-width: 320px;
      min-height: 270px;
      padding: 16px 14px 14px;
      border-radius: 16px;
    }

    .profile-card .img {
      width: 116px;
      height: 116px;
      margin-bottom: 14px;
    }

    .caption h5 {
      font-size: 0.98rem;
    }

    .caption h6 {
      font-size: 0.9rem;
    }
  }
