/*
Theme Name: Lightning-child
Theme URI: https://lightning.nagoya
Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: Vektor,Inc.
Author URI: http://www.vektor-inc.co.jp
Template:lightning
Version:3.0.6
Tags: two-columns, one-column, right-sidebar, custom-colors, custom-menu, editor-style, theme-options
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lightning

Lightning WordPress theme, Copyright (C) 2015-2016 Vektor,Inc.
Lightning WordPress theme is licensed under the GPL.
*/
/*-------------------------------------------*/
/* 機能ファイル読み込み
/*-------------------------------------------*/
require_once get_stylesheet_directory() . '/inc/member-messages.php';
/*----------------------------------------
 * Youtubu動画形式CSS
---------------------------------------*/ 
.video-archive-wrap,
.video-single-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.video-archive-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.video-archive-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
}

.video-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.video-filter-chip {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #222;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  transition: all .2s ease;
}

.video-filter-chip:hover,
.video-filter-chip.is-active {
  background: #111;
  color: #fff;
}

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

.video-card {
  background: transparent;
}

.video-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #e9ecef;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.video-card-link:hover .video-thumb {
  transform: scale(1.03);
}

.video-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: bold;
}

.video-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, .82);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}

.video-featured-corner {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, .92);
  color: #c34a00;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1;
  font-weight: 700;
}

.video-card-body {
  display: flex;
  gap: 12px;
  padding-top: 12px;
}

.video-card-main {
  min-width: 0;
  width: 100%;
}

.video-card-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #666;
  font-size: 13px;
  margin-bottom: 8px;
}

.video-desc {
  margin: 0 0 10px;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-tax-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-tax {
  display: inline-block;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: #284a8a;
}

.video-pagination {
  margin-top: 32px;
}

.video-pagination .page-numbers {
  display: inline-block;
  margin-right: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f2f4f7;
  color: #222;
  text-decoration: none;
}

.video-pagination .page-numbers.current,
.video-pagination .page-numbers:hover {
  background: #111;
  color: #fff;
}

.video-empty {
  padding: 32px 0;
}

.video-single-title {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
}

.video-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 14px;
  color: #555;
  font-size: 14px;
}

.video-featured-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ffefc2;
  color: #7a5300;
  font-weight: 700;
}

.video-player-wrap {
  margin: 24px 0 28px;
}

.video-embed iframe,
.video-embed video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  display: block;
}

.video-section {
  margin-top: 28px;
}

.video-section h2 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.video-description-text {
  line-height: 1.8;
  color: #333;
}

.related-video-grid .video-card-title {
  font-size: 16px;
}

@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .video-archive-title,
  .video-single-title {
    font-size: 24px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .video-archive-wrap,
  .video-single-wrap {
    padding: 20px 14px 32px;
  }

  .video-filter-bar {
    justify-content: flex-start;
  }
}