:root {
  --bg: #ffffff;
  --text: #102027;
  --muted: #667080;
  --blue: #01579B;
  --blue-soft: #3A6EA5;
  --blue-dark-ui: #69BAFF;
  --blue-link:    #1E88E5;  
  --header-height: 50px; 

/* Shadow system
   hero: strong enough to survive dark imagery
   nav: visible separation without elevation
   card: calm editorial grounding
   Do not retune casually.
*/  
  --shadow-hero: drop-shadow(0 6px 12px rgba(0,0,0,0.42));
  --shadow-nav:  drop-shadow(0 6px 6px rgba(0,0,0,0.28));
  --shadow-card: 0 4px 10px rgba(0,0,0,0.16);
  --shadow-test: drop-shadow(10px 20px 0px rgba(255,0,0,0.95));

}

/* ---------------- Base ---------------- */

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: rgba(6,30,44,0.35);
  
  color: var(--text);
  margin: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  height: auto;
  overflow-y: auto;   /* allow browser scrollbar */
}

a {
  color: var(--blue-link);
  text-decoration: none;
}

.muted {
	color: var(--muted);
}

a:hover {
  color: #1565C0;
}

h1, h2, h3, h4, h5 {
  margin-top: 4px;
  color: #0f2630;
  font-weight:500;
}

.tleft {
	text-align:left !important;
}

.tright {
	text-align:right !important;
}

.tcenter {
	text-align:center !important;
}


.tright {
	text-align:right !important;
}

.tright {
	text-align:right !important;
}

.fw400 {
	font-weight:400 !important;
}

.fw500 {
	font-weight:500 !important;
}

.fw600 {
	font-weight:600 !important;
}

.fw700 {
	font-weight:700 !important;
}

.f20 {
	font-size:20px !important;
}

.f18 {
	font-size:18px !important;
}

.f16 {
	font-size:16px !important;
}

.c-blue-soft {
  color: var(--blue-soft);
}


/* ---------------- Layout ---------------- */

.page-wrap {
  max-width: 640px;
  margin: 64px auto 0 auto;

  height: auto;          /* allow natural document flow */
  overflow: visible;    /* no internal scroll */
  
  overscroll-behavior: auto;
  
}

/* ---------------- Header ---------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent; 
  margin-bottom: 18px;
  overflow: visible !important;
  
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;

}

.header-inner {
  max-width: 640px;
  margin: 0 auto;
  height: 50px;
}

.banner-wrap {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  filter: var(--shadow-hero);
  
}


.banner-full {
  margin-left: -8px;
  margin-right: -8px;

  width: calc(100% + 16px);
  max-width: none;

  margin-top: -4px;
  margin-bottom: 12px;

  border-radius: 8px;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.site-nav {
  max-width: 640px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 15px;
  background: #263238;
  border-radius: 6px;
  margin: 0 auto;
  overflow:hidden;
  filter: var(--shadow-nav);
}

.site-nav .nav-item {
  color: #f1f5f6;
  padding: 6px 10px;
  font-size: 16px;
  font-weight: 500;
}

.site-nav .nav-item.selected {
  color: var(--blue-dark-ui);
}

.site-nav .nav-item:hover,
.site-nav .nav-item:focus 
{
  background: rgba(255,255,255,0.03);
  border-radius:4px;
  outline: none;
  color:#3FA7FF;
}



/* ---------------- Cards ---------------- */

.card {
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 5px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Generic content cards */
.gen-card {
  padding: 10px 16px;
}

/* ---------------- Page Heading ---------------- */

.page-heading h1 {
  /*margin: 0 0 4px 0;*/
  padding: 0 0 4px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--muted);
}

/* ---------------- Page Heading (with language switch) ---------------- */

.page-heading-flex {
  display: flex;
  align-items: baseline;      /* aligns text nicely */
  justify-content: space-between;
  gap: 12px;
}

/* Language switch inline with heading */
.lang-switch {
  font-size: 15px;
  white-space: nowrap;        /* prevent awkward wrapping on desktop */
  color: var(--muted);
}

.lang-switch a {
  color: var(--blue-link);
  font-weight: 400;
}

.lang-switch a:hover {
  text-decoration: underline;
}

.lang-switch .sep {
  margin: 0 1px;
  opacity: 0.6;
}



/* ---------------- General Content ---------------- */

.gen-content {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;	
  padding: 0px 15px;
  font-size: 18px;
  line-height: 1.65;
  color: #2E2E2E;
}

.gen-content p {
  margin: 0 0 22px 0;
}

.gen-content ul {
  margin: 16px 0 22px 22px;
  padding: 0;
}

.gen-content li {
  margin-bottom: 12px;
}

.gen-content hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 32px 0;
}

/* ---------------- Manifesto / Titles ---------------- */

.title-box {
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 20px;
  margin: 0px;
  border: 1px solid #ADC8E3;
  display:inline-block;
}

.manifesto-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.3px;
  color: var(--text);
  margin-bottom: 12px;
}

.manifesto-sub {
  color: var(--blue-soft);
  letter-spacing: 0.2px;
}

.manifesto-tilde {
  font-weight: 400;
  font-size: 0.95em;
  margin: 0 0.15em;
  opacity: 0.85;
  color: var(--blue-soft);
}

/* legacy visibility classes (safe defaults) */
.desktop-only,
.mobile-only {
  display: block;
}

/* ---------------- Tagline ---------------- */

.tagline {
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 24px;
  padding-left:2px;
}

/* ---------------- Track Cards ---------------- */

.cover {
  width: 85%;
  flex: 0 0 auto;
  margin: 10px auto 10px auto;
  border-radius: 10px;
  overflow: hidden;
  filter: var(--shadow-hero);
}

.cover img {
  width: 100%;
  height: auto;
  display: block;
  
}

/* ---------------- Song Tiles Grid (Home) ---------------- */

.song-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
  width:90%;
  margin:auto auto;
}

.song-tile {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  
}

.song-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
}

.song-tile img {
  width: 100%;
  height: auto;
  display: block;
}

article {
  scroll-margin-top: var(--header-height);
}

.title {
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0;
  color: var(--text);
}

/* ---------------- Shared Song Titles ---------------- */

.gen-title {
  font-size: 22px;
  font-weight: 500;
  margin:0;
  color: var(--text);
}

.gen-title-translation {
  display: block;
  font-family: "Eczar", serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--blue);
  margin-top: 0;
}

/* ---------------- Metadata (Tracks) ---------------- */

.track-meta
{
	padding:10px 0px 0px 40px;	
}

.details.stacked {
  display: block;
  margin-top: 12px;
  line-height: 1.65;
}

.details.stacked div {
  display: flex;
  gap: 10px;
  margin: 6px 0;
}

.details dt {
  width: 110px;
  font-weight: 400;
  color: #37474F;
}

.details dd {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

/* ----------- Contact & Metadata ----------- */

.details.single-column {
  grid-template-columns: 1fr;
  padding-left:20px;
}

.details.single-column dt {
  width:100%;
  line-height:1.65;
}

.details.single-column dd {
  margin-bottom:10px;
  line-height:1.65;
}


/* ---------------- Listen On ---------------- */

.listen-on {
  margin: 16px 0px 0px 28px;
}

.listen-on .label {
  font-weight: 600;
  color: var(--muted);
  padding-left:4px;
}

.badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  /*padding-left: 10px;*/   
  /*border: 1px solid #F00;*/
}

.badge {
  flex: 0 0 25%;
  display: flex;              /* key */
  align-items: center;        /* vertical center */
  justify-content: left;    /* horizontal center */
  min-height: 20px;           /* uniform row height */
}

.badge img {
  width: auto;
  display: block;
  height: 20px;
}



/* per-logo overrides */
.height30 img { height: 30px !important; }
.height20 img { height: 20px !important; }
.height22 img { height: 22px !important; }
.height26 img { height: 26px !important; }
.height28 img { height: 28px !important; }
.height18 img { height: 18px !important; }
.height16 img { height: 16px !important; }




.place-holder{
  width: auto;
  height: auto;
  display: block;
  margin:auto;
  text-align:center;
  color:var(--blue);
}

/* ---------------- Lyrics ---------------- */

.lyrics {
  
  font-family: "Eczar", serif !Important;
  font-size: 18px;
  line-height: 1.65;
  color: #111;
  padding: 20px 0px 10px 32px;
}

.lyrics p {
  margin: 0 0 22px 0;
}

/* ---------------- Poetry / Blockquotes ---------------- */

.font-Eczar {
  font-family: "Eczar", serif;
}

.poetry {
  font-family: "Eczar", serif;
  font-size: 18px;
  margin: 28px 0;
  padding-left: 10px;  
  font-style: normal;
  color: #4A4A4A;
  font-style: italic;
  border-left: 3px solid #ADC8E3;
}


.poetry .line {
  display: block;
  line-height: 1.65;
  word-break: keep-all;
}

.poetry .ellipsis {
  opacity: 0.6;
}



/* ---------------- About-specific helpers ---------------- */

.poet-intro {
  padding-top: 28px;
  font-weight: 500;
}

.concept-era {
  font-variant: small-caps;
  letter-spacing: 0.5px;
}

.text-center {
  text-align: center;
}

/* ---------------- credits ---------------- */


.credits {
	font-size: 20px;
	font-weight: 600;
	margin: 8px 0;
	color: var(--text);
	padding-left:10px;
}

.title2 {
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  display:block;
  margin-top:6px;
}

.title3 {
  font-weight: 500;
  font-size: 20px !important;
  display:block;
}

.emoji {
  display: inline-block;   /* ← REQUIRED */
  font-size: 0.9em;
  vertical-align: middle;
  opacity: 0.85;
}

.emoji-music {
  display: inline-block;   /* ← REQUIRED */
  font-size: 0.75em;
  vertical-align: middle;
  opacity: 0.85;
}


@media (max-width: 760px) {

:root {
    --header-height: 50px;
  }
  	
.gen-content {
  padding: 5px 10px;
  font-size: 18px;
  line-height: 1.65;
  color: #2E2E2E;
}	

.track-meta
{
	padding:10px 0px 0px 20px !important;
}

.song-tiles {
    gap: 8px;
  }
  
.listen-on {
  margin: 16px 0px 0px 15px;
}
	
  .emoji.flip-x {
    transform: scaleX(-1);
    opacity: 0.88;
  }
  
  .emoji-music.flip-x {
    transform: scaleX(-1);
    opacity: 0.88;
  }
  
  .page-wrap {
    padding-bottom: 80px;
  }  
  
  .lyrics {
    padding: 20px 0px 10px 10px;
}
  
  
.page-heading-flex {
  text-align:right;
}


.lang-switch {
  width: 100%;
  margin-top: 4px;
  font-size: 15px;
}

  
}

/* ---------------- Footer ---------------- */

.site-footer {
  max-width: 640px;
  margin: 0 auto;
  text-align:center;
}

.footer-text {
  font-size: 13px;
  letter-spacing: 0.3px;
}

/* share buttons */

.share-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: system-ui, sans-serif;
  /*padding-left:25px;*/
}

.share-label {
  font-size: 18px;
  color: #444;
  width: auto;
}


.share-label img {
  width: auto;
  height: 14px;
  vertical-align: middle;
 }

.gen-icon {
  font-size: 18px;
  color: #444;
}

.gen-icon img {
  width: auto;
  height: 18px;
  vertical-align: middle;
}


.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.share-btn img {
  width: 18px;
  height: 18px;
}

.share-btn:hover {
  background: #e9e9e9;
}

.share-page-content {
	padding:10px 20px;
}