/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* 20250429 Customs - Main Button Environ Background */


#btn_sitemap {
	content: url('https://thinkwallsweb.com/wp-content/uploads/2025/04/btn_sitemap_light.png');
	max-width:100%;
  }

@media (prefers-color-scheme: dark) {
	#btn_sitemap {
		content: url('https://thinkwallsweb.com/wp-content/uploads/2025/04/btn_sitemap_dark.png');
	}
}
  

/* 20250422 Customs - Music DB CSS */

/*.music-info-box {
}*/

.music-info-box ul {
    list-style: none;
    padding: 0;
}
.music-info-box li {
    margin-bottom: 0.5rem;
}
#tracklist-area {
		margin-block-start:-4px;
}
.track-tabs{
		margin-block-start: 12px;
}

.tracklist-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.track-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 6px 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.track-card.current-track {
    background: #f0f0f0;
    border-left: 4px solid #007acc;
}
.track-card.current-track .track-meta {
    font-weight: bold;
    color: #007acc;
}

.track-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}
.track-title a {
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    color: #111;
    word-break: keep-all;
    line-height: 1.4;
}


/* 탭 배지 */
	.track-tabs {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 0 16px 12px 16px;
	margin-bottom: 8px;
	scrollbar-width: thin;
	scrollbar-color: #ccc transparent;
	-webkit-overflow-scrolling: touch;
	}
	.track-tabs::-webkit-scrollbar {
		display:none;
	}
	
	.track-tabs::-webkit-scrollbar {
	height: 6px;
	}
	.track-tabs::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
	}
	
	.track-tab-btn {
	white-space: nowrap;
	padding: 0.5rem 1rem;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 16px;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
	box-shadow: 0 4px 3px 0 rgba(0, 0, 0, -0.8), 0 2px 4px 0 rgba(0, 0, 0, 0.19);
	}
	
	.track-tab-btn:hover {
	border-color: #888;
	}
	
	.track-tab-btn.active {
	background: #007acc;
	color: #fff;
	border-color: #007acc;
	}

/* 플레이어 붙박이 (모바일용) */

	/* PC일 때 모바일용 UI 안나오게 */
	.track-bottom-bar {
		display: none;
	}

@media (max-width: 768px) {
	#MusicDashBoard {
	  position: fixed;
	  bottom: 0;
	  left: 0;
	  width: 100%;
	  background: #fff;
	  border-top-left-radius: 24px;
	  border-top-right-radius: 24px;
	  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
	  transform: translateY(calc(100% - 80px)); /* 기본: 하단 80px만 보이게 */
	  transition: transform 0.3s ease-in-out;
	  z-index: 999;
	}

	#MusicDashBoard.active {
	  transform: translateY(0); /* 슬라이드업된 상태 */
	}
  
	#MusicDashBoard .music-tracklist {
	  max-height: 40vh;
	  overflow-y: auto;
	  padding: 0 1rem 1rem 1rem;
	}
  
	#MusicDashBoard .music-info-box {
	  padding: 0 1rem;
	  border-bottom: 1px solid #eee;
	}
  #tracklist-area {
		height:12em;
	}
	.music-tracklist {
    	margin-top: 0;
	}

	.music-info-box ul {
		font-size:10pt;
	}


	  
  
	
	/* 모바일 전용 붙박이 영역 */
  
	.track-slideup {
	  position: fixed;
	  bottom: -100%;
	  left: 0;
	  width: 100%;
	  height: 60vh;
	  background: #f9f9f9;
	  border-top-left-radius: 24px;
	  border-top-right-radius: 24px;
	  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
	  transition: bottom 0.3s ease;
	  z-index: 998;
	  overflow: hidden;
	}
  
	.track-slideup.active {
	  bottom: 0;
	}
  
	.track-slide-header {
	  text-align: center;
	  padding: 0.8rem;
	  font-weight: 500;
	  cursor: pointer;
	  background: #eaeaea;
	  border-top-left-radius: 24px;
	  border-top-right-radius: 24px;
	}
  
	.track-slide-content {
	  height: calc(100% - 50px);
	  overflow-y: auto;
	  padding: 1rem;
	}


	.track-bottom-bar {
		bottom: 0;
		left: 0;
		width: 100%;
		box-sizing: border-box;
		background: #ffffff;
		border-top: 1px solid #ddd;
		padding: 1rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
		box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
		font-size: 0.95rem;
		z-index: 999;
		cursor: pointer;
	}
	
	.track-bottom-info {
		flex-direction: column;
		gap: 2px;
	}
	
	.track-info-main {
		font-weight: 600;
		line-height: 1.2;
	}
	
	.track-info-sub {
		font-size: 0.85rem;
		color: #888;
	}
	
	.track-toggle-icon {
		font-size: 1.2rem;
		transition: transform 0.3s ease;
	}
	
	/* 회전 효과 */
	#MusicDashBoard.active #trackToggleIcon {
		transform: rotate(180deg);
	}
	


  }



