/* ===== Typography ===== */
h1 {
  font-size: 3em;
  font-weight: bold;
  color: #777777;
  margin: 40px 0px 40px;
  text-align: center;
}
h1.index {
  font-size: 2em;
  font-weight: bold;
  color: #777777;
  margin: 0px 0px 8px;
  text-align: center;
}
h2 {
  font-size: 2em;
  font-weight: bold;
  color: #777777;
}
p {
  color: #777777;
}

/* ===== Layout ===== */
html, body {
  height: 100%;
}
div#header {
  text-align: center;
  height: 80px;
  border-bottom: 1px solid #AAAAAA;
}
div#header_inner {
  margin: 0 auto;
  width: 1340px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
div#main {
  margin: 0 auto;
  height: auto;
  width: 1340px;
}
div#footer {
    clear: both;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
    padding: 20px 0 28px;
    margin-top: 40px;
    border-top: 1px solid #e1e4e8;
    background: #f7f8fa;
    color: #5a6470;
  }
div#header_ceneter {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
div#header_logo {
  text-align: left;
  flex: 0 0 auto;
}
div#header_logo img {
  display: block;
}
div#header_search {
  position: static;
  width: auto;
  margin: 0;
  text-align: center;
}
div#header_search form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
div#header_search .header-search-input {
  width: 420px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid #cfd3d8;
  border-radius: 999px;
  background: #ffffff;
  font-size: 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: border-color .2s, box-shadow .2s;
}
div#header_search .header-search-input:focus {
  outline: none;
  border-color: #4a90d9;
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.2);
}
div#header_search .header-search-button {
  height: 38px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #3a7bd5, #00d2ff);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(58, 123, 213, 0.25);
  transition: transform .1s, box-shadow .2s, filter .2s;
}
div#header_search .header-search-button:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 18px rgba(58, 123, 213, 0.32);
}
div#header_search .header-search-button:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(58, 123, 213, 0.22);
}
div#footer_links {
    text-align: center;
    margin: 8px auto 0;
    font-size: 12px;
    color: #6b737c;
    max-width: 1100px;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
  }
div#footer_links span {
    margin: 0;
  }
  div#footer_links a {
    color: inherit;
    text-decoration: none;
  }
  div#footer_links a:hover {
    text-decoration: underline;
  }
div.view_mode {
  margin-bottom: 10px;
  font-size: 150%;
  margin: 10px auto;
  text-align: center;
  width: 1340px;
}
div.clear {
  clear: both;
  overflow: hidden;
}
div.name {
  width: 1340px;
}
div.center_content {
  width: 1000px;
  height: 100%;
  float: left;
}
div.right_content {
  vertical-align: top;
  float: left;
  text-align: right;
}

/* ===== Breadcrumbs ===== */
div#breadcrumbs {
  color: #777777;
  margin-top: 5px;
  margin-bottom: 5px;
  position: relative;
}

/* ===== Navigation Bar ===== */
.navBar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 12px 0;
}
.navBar span {
  display: inline-block;
}
.navBar a, .navBar strong.selected {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.navBar a {
  color: #555;
  background: #f0f0f0;
  border: 1px solid #ddd;
}
.navBar a:hover {
  background: #e0e0e0;
  color: #333;
}
.navBar strong.selected {
  background: #4a90d9;
  color: #fff;
  border: 1px solid #4a90d9;
}

/* ===== Instrument Filter ===== */
#instrumentnavigate {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 12px 0;
  padding: 8px 0;
}
#instrumentnavigate span {
  display: inline-block;
}
#instrumentnavigate a, #instrumentnavigate strong.selected {
  display: inline-block;
  min-width: 28px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
}
#instrumentnavigate a {
  color: #555;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}
#instrumentnavigate a:hover {
  background: #4a90d9;
  color: #fff;
}
#instrumentnavigate strong.selected {
  background: #4a90d9;
  color: #fff;
  border: 1px solid #4a90d9;
}

/* ===== Generic Centering ===== */
div.center {
  text-align: center;
}

/* ===== Search/Filter Form ===== */
.chosen-container {
  text-align: left;
}
.search-filter {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
  }
  .search-filter form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
.search-filter input[type="text"] {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}
.search-filter input[type="submit"], .search-filter input[type="button"] {
  padding: 6px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  background: #f0f0f0;
  transition: background .2s;
}
.search-filter input[type="submit"]:hover, .search-filter input[type="button"]:hover {
  background: #e0e0e0;
}

/* ===== Tile Grid ===== */
div.index_tile_container {
  margin: 0 auto;
  margin-top: 20px;
  margin-left: 1px;
}
div.index_tile_elem {
  text-align: center;
  float: left;
  width: 200px;
  height: 240px;
  padding-top: 5px;
  margin-left: -1px;
  margin-bottom: -1px;
  border: 1px solid #CCCCCC;
}
div.index_tile_elem h3 {
  margin-top: -0.1em;
  margin-bottom: -0.1em;
}
div.index_tile_dummy_box {
  width: 110px;
  height: 115px;
  border: 1px solid #CCCCCC;
  margin: auto;
}
.tiles-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 1212px;
  margin: 0 auto;
}
.tiles-wrapper .index_tile_container {
  margin: 0;
}
.tiles-wrapper .index_tile_elem {
  float: none;
  border-radius: 8px;
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.tiles-wrapper .index_tile_elem:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transform: translateY(-3px);
  border-color: #bbb;
}
.tiles-wrapper .index_tile_elem h3 {
  font-size: 14px;
  margin: 4px 8px;
  line-height: 1.3;
}
.tiles-wrapper .index_tile_elem a {
  color: #333;
  text-decoration: none;
}
.tiles-wrapper .index_tile_elem a:hover {
  color: #4a90d9;
}
.tiles-wrapper .index_tile_dummy_box {
  border: none;
  background: linear-gradient(135deg, #e8eaf6, #f5f5f5);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tiles-wrapper .index_tile_dummy_box::after {
  content: "\266B";
  font-size: 40px;
  color: #bbb;
  position: absolute;
}
.tiles-wrapper .index_tile_dummy_box img {
  opacity: 0;
}

/* ===== Pagination ===== */
.pagenation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding-top: 20px;
  clear: both;
  font-size: 100%;
}
.pagenation a {
  display: inline-block;
  min-width: 32px;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  color: #555;
  background: #fff;
  transition: background .2s;
}
.pagenation a:hover {
  background: #e8e8e8;
}
.pagenation .linkPage {
  width: auto;
}
.pagenation .selectedPage {
  min-width: 32px;
  padding: 6px 10px;
  border: 1px solid #4a90d9;
  border-radius: 4px;
  text-align: center;
  background: #4a90d9;
  color: #fff;
  font-size: 100%;
  font-weight: bold;
  width: auto;
}

/* ===== Artist Detail - Amazon Section ===== */
.amazon-section {
  background: linear-gradient(135deg, #fef9f0 0%, #fff5e6 100%);
  border: 1px solid #f0d9a8;
  border-radius: 8px;
  padding: 24px;
  margin: 30px 0;
}
.amazon-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #FF9900;
}
.amazon-section-header h2 {
  margin: 0;
  font-size: 18px;
  color: #232F3E;
}
.amazon-badge {
  display: inline-block;
  background: #232F3E;
  color: #FF9900;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .5px;
}
.amazon-products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.amazon-product-card {
  width: 150px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.amazon-product-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.amazon-product-card img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
}
.amazon-product-card .product-title {
  font-size: 12px;
  line-height: 1.4;
  color: #0066c0;
  text-decoration: none;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.amazon-product-card .product-title:hover {
  color: #c45500;
  text-decoration: underline;
}
.amazon-cta-btn {
  display: inline-block;
  background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
  border: 1px solid #a88734;
  border-radius: 3px;
  color: #111;
  font-size: 12px;
  padding: 5px 10px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}
.amazon-cta-btn:hover {
  background: linear-gradient(to bottom, #f5d78e, #eeb933);
}

/* ===== Artist Detail - YouTube Section ===== */
.yt-section {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}
.yt-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #c00;
}
.yt-section-header h2 {
  margin: 0;
  font-size: 18px;
  color: #333;
}
.yt-badge {
  display: inline-block;
  background: #c00;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
}
#am-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
#am-container div {
  float: none;
  margin-left: 0;
}
#am-container .video {
  width: calc(50% - 8px);
  box-sizing: border-box;
  float: none;
  height: auto;
}
#am-container .video .video_body {
  cursor: pointer;
  position: relative;
}
#am-container .video .video_body img {
  width: 100%;
  height: auto;
  display: block;
}
#am-container .video .video_body iframe {
  width: 100%;
  aspect-ratio: 4/3;
  display: block;
}
#am-container .video .video_title {
  width: auto;
  height: auto;
  margin-top: 0;
  clear: none;
  font-size: 15px;
}
#am-container .video .video_body span.play {
  right: calc(50% - 40px);
  top: calc(50% - 40px);
}

/* ===== Artist Detail - Side Menu ===== */
h2.side_menu {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 0;
  padding: 10px 14px;
  color: #fff;
  background: #4a90d9;
  border-radius: 8px 8px 0 0;
  text-align: left;
}
h2.side_menu a {
  color: #fff;
  text-decoration: none;
}
div.side_menu {
  margin-top: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  text-align: left;
}
div.side_title {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  color: #555;
  background: #f8f9fa;
  border: none;
  border-bottom: 1px solid #e8e8e8;
  cursor: pointer;
  transition: background .2s, color .2s;
  user-select: none;
}
div.side_title:hover, div.side_title.over {
  background: #eef1f8;
  color: #4a90d9;
}
div.side_title.selected {
  background: #4a90d9;
  color: #fff;
}
div.side_artist {
  padding-left: 0;
  max-height: 400px;
  overflow-y: auto;
  border-bottom: 1px solid #e8e8e8;
}
div.side_artist div a {
  display: block;
  padding: 7px 14px 7px 24px;
  color: #555;
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid #f5f5f5;
  transition: background .2s, color .2s;
}
div.side_artist div:last-child a {
  border-bottom: none;
}
div.side_artist div a:hover {
  background: #f5f7ff;
  color: #4a90d9;
}

/* ===== Best Artists Section ===== */
.best-artists-section {
  background: linear-gradient(135deg, #fef9f0 0%, #fff5e6 100%);
  border: 1px solid #f0d9a8;
  border-radius: 8px;
  padding: 24px;
  margin-top: 20px;
}
.best-artists-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #FF9900;
}
.best-artists-header .badge-amazon {
  display: inline-block;
  background: #232F3E;
  color: #FF9900;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
}
.best-artists-header span:last-child {
  font-size: 14px;
  color: #555;
}

/* ===== Amazon Product Iframe (Best Artists Cards) ===== */
.amazon-iframe-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow .2s;
}
.amazon-iframe-card:hover {
  box-shadow: 0 3px 12px rgba(0,0,0,.1);
}
.amazon-iframe-thumb {
  flex-shrink: 0;
}
.amazon-iframe-thumb img {
  border-radius: 4px;
}
.amazon-iframe-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.amazon-iframe-body .recommend_description {
  float: none;
  width: 100%;
  margin: 0;
}
.amazon-iframe-cta {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
  border: 1px solid #a88734;
  border-radius: 3px;
  color: #111;
  font-size: 14px;
  padding: 8px 20px;
  text-decoration: none;
  font-weight: bold;
}
.amazon-iframe-cta:hover {
  background: linear-gradient(to bottom, #f5d78e, #eeb933);
}

/* ===== Social Links ===== */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #555;
  text-decoration: none;
  font-size: 13px;
  transition: background .2s;
}
.social-link:hover {
  background: #f5f5f5;
}

/* ===== Recommend ===== */
div#recommend_product {
  margin-left: 1em;
}
div.recommend_comment {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  display: inline-block;
  vertical-align: top;
  width: 160px;
  height: 160px;
  border: 1px solid #CCCCCC;
}
h2.recommend_artist_name {
  font-size: 130%;
  font-weight: bold;
  margin-bottom: 4px;
  color: black;
}
div.recommend_description {
  display: inline-block;
  max-width: 480px;
  word-break: break-all;
  vertical-align: top;
}
div.recommend_artists {
  border: 1px solid #e8e8e8;
  width: 1024px;
  margin-left: auto;
  margin-right: auto;
}
.product-thumb {
  width: 160px;
  float: left;
  margin-right: -20px;
}

/* ===== Roles ===== */
p.role strong {
  position: relative;
  bottom: 6px;
}

/* ===== Media ===== */
img.pointer {
  cursor: pointer;
}
div.amazon_item {
  float: left;
  min-height: 270px;
  width: 165px;
}
p.amazon_title {
  width: 160px;
  margin-top: -1px;
  text-align: center;
}
div.video {
  float: left;
  height: 430px;
}
div.video_title {
  margin-top: -18px;
  width: 480px;
  height: 30px;
  clear: left;
}
div.video span.play {
  background: url(../images/common/play.png?20210222) no-repeat;
  position: absolute;
  width: 80px;
  height: 80px;
  right: 200px;
  top: 140px;
}
div.video_body {
  cursor: pointer;
  position: relative;
}
