.collepe-check {
  display: none;
}
.collepe-check+li+ul {
  max-height: 0vh;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.collepe-check:checked+li+ul {
  max-height: calc(var(--height) * 32px);
}
.user-decription {
  font-style: italic;
  color: #aaa;
  text-align: center;
}
.user-title {
  font-size: 24px;
  font-weight: 800;
  color: #080808;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  text-align: left;
}
/* P2 Layout */
.p2-content-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1400px; /* Wider to accommodate 3 columns */
  margin: 0 auto;
  padding: 60px 40px;
  background: rgba(255,255,255,0.7); /* Semi-transparent white background */
  backdrop-filter: blur(10px); /* Add blur effect for better readability */
  min-height: 100vh;
  box-sizing: border-box;
  position: relative;
  z-index: 1; /* Ensure it covers P1 */
  transition: transform 0.1s ease-out; /* Smooth movement */
}
.section-col {
  display: flex;
  flex-direction: column;
}
.content-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.content-list li {
  margin-bottom: 10px;
}
.content-list li a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  padding: 5px 0;
  border-bottom: 1px dashed #eee;
}
.content-list li a:hover {
  color: #000;
  border-bottom-color: #ccc;
}
/* Character Showcase - P2 */
.img-list-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.role-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.2s;
  text-align: left;
  margin: 0;
  width: 100%;
  border: none; /* No over-design */
}
.role-item:hover {
  background: #f9f9f9;
  border: none;
}
.role-img-link {
  display: flex;
  align-items: center;
  border-bottom: none !important;
}
.role-item img {
  width: 60px;
  height: 60px;
  margin: 0;
  object-fit: cover;
  border-radius: 4px; /* Slight rounded corners for elegance */
  margin-right: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.role-name-link {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  border-bottom: none !important;
}
.role-name-link:hover {
  color: #000;
}
.site-meta {
  font-size: 18px;
  margin-bottom: 15px;
}
.site-title {
  font-weight: 800;
  margin: 3px 0px;
}
.categories-list {
  width: 80%;
  margin: auto;
  text-align: left;
}
.site-meta {
  position: relative;
}
.site-meta img.logo {
  display: inline-block;
  vertical-align: top;
}
/* Hide default theme elements on home */
.page-home .header,
.page-home .footer,
.page-home .headband {
  display: none;
}
/* Ensure sidebar is hidden by default but visible when active */
/* Specific override: When sidebar is active, ensure it displays correctly */
.page-home .sidebar-active .sidebar {
  display: block;
  z-index: 1000;
}
/* Also ensure the toggle button is visible */
.page-home .site-nav-toggle {
  display: block; /* Make sure toggle button is there */
}
.page-home .main {
  padding: 0;
}
.page-home .main-inner {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
}
/* P1 Cover */
.p1-cover {
  position: sticky; /* Keep it sticky so it stays put */
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
/* Darker Grey to Black gradient, Top to Bottom, Black starts at 30% (70% black) */
  background: linear-gradient(180deg, #3f3f3f 0%, #242424 30%, #000 100%);
  z-index: 0;
/* Parallax effect base */
  transform-style: preserve-3d;
  will-change: transform;
}
.p1-cover::before {
  content: '';
  position: absolute;
  inset: -35%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 35%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 65%);
  transform: translateX(-60%) translateY(-20%);
  animation: p1-shine 7s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
.p1-cover-img {
  position: absolute;
  inset: 0; /* Cover full screen */
  height: 100%;
  width: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.p1-cover-img img {
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 0;
  width: auto;
  height: 90%; /* Occupy from 10% top to bottom */
  max-width: 100%;
  object-fit: contain;
  object-position: right bottom; /* Align to bottom right */
  margin: 0;
  opacity: 0.6;
/* animation: p1-float-img 12s ease-in-out infinite; */
/* Disabled to avoid conflict with JS parallax */
  mix-blend-mode: screen;
  filter: contrast(1.2) brightness(1.1);
/* Ensure hardware acceleration for smooth movement */
  will-change: transform;
  transform: translateZ(0);
}
.p1-cover-inner {
  position: relative;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(22px, 5vw, 72px);
  z-index: 2; /* Ensure text is above image */
}
/* Silver Text Gradient */
.silver-text,
.p1-cover-title,
.p1-cover-desc {
  background: linear-gradient(180deg, #f6f7ff 0%, #b8bdc9 28%, #fff 50%, #9ea3af 72%, #f6f7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(255,255,255,0.12);
}
.p1-cover-title {
  position: absolute;
  left: clamp(20px, 5vw, 60px);
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: clamp(64px, 10vh, 100px);
  line-height: 1.2;
/* Vertical Arrangement */
  writing-mode: vertical-rl;
  text-orientation: mixed; /* Rotated text for English */
/* If user wants upright letters: text-orientation: upright; letter-spacing: -0.1em; */
  white-space: nowrap;
}
.p1-cover-desc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(30px, 8vh, 80px);
  text-align: center; /* Center horizontally */
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(18px, 2.5vh, 30px);
  line-height: 1.6;
  font-style: normal;
  letter-spacing: 0.05em;
}
.page-home .main-inner.index.posts-expand {
  background: transparent;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .p2-content-wrapper {
    grid-template-columns: 1fr; /* Stack vertically on mobile */
    padding: 40px 20px;
  }
  .p1-cover-title {
    writing-mode: horizontal-tb; /* Horizontal on mobile maybe? Or keep vertical? */
/* Keeping vertical as requested, but maybe smaller */
    font-size: 40px;
    left: 20px;
  }
}
/* P3 Role Network */
.role-network-section {
  position: relative;
  padding: 60px 40px;
  background: rgba(255,255,255,0.7); /* Match P2 semi-transparent */
  backdrop-filter: blur(10px); /* Match P2 blur */
  min-height: 80vh;
  text-align: center;
  z-index: 1;
  max-width: 1400px;
  margin: 40px auto; /* Add margin to separate from P2 */
  box-sizing: border-box; /* Fix width issue */
  border-radius: 8px; /* Optional: Consistent with cards */
}
.network-selector {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.network-btn {
  padding: 8px 16px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
  font-size: 14px;
  color: #333;
}
.network-btn:hover {
  background: #e0e0e0;
  border-color: #bbb;
  color: #000;
}
#role-network-chart {
  border: 1px solid #eee; /* Optional border */
  border-radius: 8px;
  background: #fafafa;
  margin: 0 auto;
}
@-moz-keyframes p1-float-img {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@-webkit-keyframes p1-float-img {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@-o-keyframes p1-float-img {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@keyframes p1-float-img {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@-moz-keyframes p1-shine {
  0% {
    transform: translateX(-65%) translateY(-20%);
    opacity: 0.55;
  }
  50% {
    transform: translateX(65%) translateY(10%);
    opacity: 0.75;
  }
  100% {
    transform: translateX(-65%) translateY(-20%);
    opacity: 0.55;
  }
}
@-webkit-keyframes p1-shine {
  0% {
    transform: translateX(-65%) translateY(-20%);
    opacity: 0.55;
  }
  50% {
    transform: translateX(65%) translateY(10%);
    opacity: 0.75;
  }
  100% {
    transform: translateX(-65%) translateY(-20%);
    opacity: 0.55;
  }
}
@-o-keyframes p1-shine {
  0% {
    transform: translateX(-65%) translateY(-20%);
    opacity: 0.55;
  }
  50% {
    transform: translateX(65%) translateY(10%);
    opacity: 0.75;
  }
  100% {
    transform: translateX(-65%) translateY(-20%);
    opacity: 0.55;
  }
}
@keyframes p1-shine {
  0% {
    transform: translateX(-65%) translateY(-20%);
    opacity: 0.55;
  }
  50% {
    transform: translateX(65%) translateY(10%);
    opacity: 0.75;
  }
  100% {
    transform: translateX(-65%) translateY(-20%);
    opacity: 0.55;
  }
}
