.video-page {
  padding: 64px 7%;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.98)),
    url("/png/miraiNihongo.jpg");
  background-size: cover;
  background-position: center;
}

.video-hero h1 {
  margin: 0;
  font-size: 46px;
  color: #0f1b7a;
}

.video-hero p {
  margin: 18px 0 54px;
  color: #64748b;
  font-weight: 600;
}

.video-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}

.video-sidebar {
  background: rgba(255,255,255,0.95);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}

.video-sidebar h3 {
  margin: 0 0 24px;
  color: #0f1b7a;
}

.video-sidebar h4 {
  margin: 28px 0 12px;
  font-size: 13px;
  color: #64748b;
}

.video-sidebar a {
  display: block;
  padding: 11px 12px;
  text-decoration: none;
  color: #0f274a;
  border-radius: 8px;
  font-weight: 700;
}

.video-sidebar a:hover {
  background: #eff6ff;
  color: #2563eb;
}

.video-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.video-section-title h2 {
  margin: 0;
  padding-left: 12px;
  border-left: 5px solid #2563eb;
  color: #0f1b7a;
  font-size: 22px;
}

.video-section-title a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
}

.featured-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e5e7eb;
}

.video-card {
  text-decoration: none;
  color: #0f274a;
}

.video-thumb {
  position: relative;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  background: #e5e7eb;
}

.video-thumb img,
.latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15,23,42,0.78);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(15,23,42,0.85);
  color: white;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 12px;
}

.video-card h3 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.video-card p,
.latest-info p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.latest-title {
  margin-top: 26px;
}

.latest-video-list {
  background: rgba(255,255,255,0.95);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  overflow: hidden;
}

.latest-video-row {
  display: grid;
  grid-template-columns: 140px 1fr 110px;
  gap: 18px;
  align-items: center;
  padding: 12px;
  text-decoration: none;
  color: #0f274a;
  border-bottom: 1px solid #e5e7eb;
}

.latest-video-row:last-child {
  border-bottom: none;
}

.latest-thumb {
  position: relative;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e7eb;
}

.latest-thumb span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(15,23,42,0.85);
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 11px;
}

.latest-info h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.latest-date {
  text-align: right;
  color: #64748b;
}

.active-menu {
  color: #0f1b7a !important;
}
.video-sidebar a.active-filter {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 900;
}