/*
Theme Name: Zia Seoul Radio
Theme URI: https://ziaseoulradio.com/
Author: Abby 💜 (aka the Vibe Architect)
Description: A cozy K-pop playlist theme made with heart, headphones, and a glitter pen.
Version: 1.0
*/

/* ~~~ Zia Seoul Radio Base Styles ~~~ */

body {
  background-color: #211a2a;
  color: #fbf0e1;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: #cfb6a3;
  text-decoration: underline;
}


main,
.site-content,
.page-wrapper,
.page-content,
body.page .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}


a:hover {
  color: #fbf0e1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* HEADER */

.site-header {
  text-align: center;
  padding: 2rem;
  border-bottom: 1px solid #2a2434;
}

.site-title {
  font-size: 2rem;
  color: #cfb6a3;
  margin-top: -1rem;
  margin-bottom: 0rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-logo {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto 0.5rem;
  display: block;
}

.site-tagline {
  font-size: 1rem;
  color: #cfb6a3;
  margin-top: 0rem;
  margin-bottom: 1.5rem;
}

.site-nav .nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1.6rem;
  padding: 0;
  margin: 0;
}

.site-nav .nav-list a {
  font-weight: 600;
  color: #cfb6a3;
  text-decoration: none;
}

.site-nav .nav-list a:hover {
  color: #fbf0e1;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #2a2434;
  margin-top: .5rem;
  font-size: 0.9rem;
  color: #cfb6a3;
}

.footer-visual {
  margin-bottom: 1.5rem;
	margin-top: 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.audio-wave {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 0.5rem;
  display: block;
}

.footer-social a img {
  width: auto;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(84%) sepia(18%) saturate(300%) hue-rotate(345deg);
  transition: transform 0.2s ease, filter 0.3s ease;
  vertical-align: middle;
  opacity: 0.88;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}



.site-credits {
  font-size: 0.8rem;
  opacity: 0.85;
}

.privacy-note {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 1rem;
  color: #cfb6a3;
}


.latest-playlists {
  padding: 3rem 1rem;
  text-align: center;
}

.section-heading {
  font-size: 1.8rem;
  color: #cfb6a3;
  margin-bottom: 2rem;
}



.card {
  background-color: #2a2434;
  color: #fbf0e1;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card img {
  border-radius: 10px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fbf0e1;
}


/* MAIN CONTENT AREA */

.site-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* CARDS / PLAYLISTS */

.card {
  background-color: #2a2434;
  color: #fbf0e1;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* FRONT PAGE PLAYLIST SECTION */

.latest-playlists {
  padding: 3rem 1rem 1rem; /* Top, sides, bottom */

  text-align: center;
}

.section-heading {
  font-size: 1.8rem;
  color: #cfb6a3;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 💫 Here’s the missing grid magic! */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.card {
  background-color: #2a2434;
  color: #fbf0e1;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .playlist-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
  }

  .card {
    width: min(100%, 500px);
  }
}

.card img {
  width: 100%;
  aspect-ratio: 1 / .5; /* Makes height 50% of width */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}


.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fbf0e1;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
}


.playlist-single {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}

.playlist-single h1 {
  font-size: 2rem;
  color: #cfb6a3;
  margin-bottom: 1.25rem;
  margin-top: -2rem;
}

.playlist-desc {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.playlist-table {
  margin: 2rem auto;
  text-align: left;
  max-width: 600px;
}

.playlist-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.playlist-table th,
.playlist-table td {
    background-color: #2a2434;
    border-bottom: 1px solid #211a2a;
    padding: 0.75rem 1rem;
    color: #fbf0e1;
}

.playlist-table th {
  font-weight: bold;
  text-transform: uppercase;
  color: #cfb6a3;
}

.playlist-links {
  margin-top: 2rem;
}

.listen-label {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #cfb6a3;
}

.platform-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.platform-links a {
  padding: 0.5rem 1rem;
  border: 1px solid #cfb6a3;
  border-radius: 6px;
  color: #cfb6a3;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s ease;
}

.platform-links a:hover {
  background-color: #cfb6a3;
  color: #211a2a;
}


/* 💫 Zia Seoul Radio – TablePress Polished Styling */

.tablepress {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem auto;
  background: transparent;
  font-size: 1rem;
  color: #fbf0e1 !important;
}

.tablepress td,
.tablepress th {
  padding: 0.75rem 1.25rem;
  background-color: #2a2434 !important; /* slightly lighter than page bg */
border-bottom: 1px solid #211a2a !important;

  text-align: left;
  color: #fbf0e1 !important;
}

.tablepress thead th {
  background-color: #2a2434 !important;
  border-bottom: 1px solid #211a2a;
  font-weight: 700;
  text-transform: uppercase;
  color: #cfb6a3 !important;
}

.tablepress tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.tablepress caption {
  display: none;
}

/* ✨ Zia Seoul Radio - About Page Styling */

.about-page h1,
h1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
  text-align: center;
  font-size: 2rem;
  color: #cfb6a3;
}

.index-title h1,
h1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
  text-align: center;
  font-size: 2rem;
  color: #cfb6a3;
}

/* Rounded quote boxes */
.about-highlight {
  background-color: transparent;
  border: 1px solid #2a2434;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  color: #fbf0e1;
}

.about-highlight p {
  margin: 0;
}

/* Divider lines */
hr {
  border: none;
  height: 1px;
  background-color: #2a2434;
  margin: 2rem 0;
}

/* Link styles */
.about-highlight a,
.about-page a,
p a {
  color: #cfb6a3;
  text-decoration: underline;
}

.about-highlight {
  background-color: #2a2434 !important;
  border: none;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  color: #fbf0e1;
}

.page-wrapper .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.about-avatar {
  text-align: center;
  margin-bottom: 1rem;
}

.about-avatar img {
  width: 100px;
  height: auto;
  border-radius: 100%;
  border: 2px solid #2a2434;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.about-highlight {
  background-color: #2a2434;
  border: none;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  color: #fbf0e1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.about-highlight img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.about-highlight p {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.not-found {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  color: #fbf0e1;
}

.not-found h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #cfb6a3;
  text-shadow: 0 0 10px rgba(207, 182, 163, 0.3);
}

.not-found p {
  font-size: 1.2rem;
  line-height: 1.8;
}

.playlist-archive {
  padding: 4rem 2rem;
  color: #fbf0e1;
}

.archive-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.archive-wrapper h1 {
  text-align: center;
  font-size: 2rem;
  color: #cfb6a3;
  margin-bottom: 0  !important;
  margin-top: 2.2rem !important;
}


.archive-wrapper h2 {
  font-size: 1.8rem;
  color: #cfb6a3;
  margin: 2rem 0 1.5rem;
  text-align: center;
}

/* ~~~ Playlist Archive Cards ~~~ */

.playlist-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 2rem auto;
}

.playlist-entry {
  background-color: #2a2434;
  border: 1px solid #3a3246;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  text-align: left;
}

.playlist-entry a {
  color: #cfb6a3;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.playlist-description {
  color: #fbf0e1;
  font-size: 1.05rem;
  margin: 0.25rem 0 0.5rem;
}

.playlist-date {
  display: block;
  font-size: 0.9rem;
  color: #bda89a;
  font-style: italic;
  text-align: right;
  margin-top: 0.5rem;
}
/* ~~~ Pagination Styling ~~~ */

.playlist-pagination {
  text-align: center;
  margin: 2rem 0;
}

.page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 0.5rem 0.75rem;
  background-color: #2a2434;
  color: #fbf0e1;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.page-numbers.current {
  background-color: #3b324a;
}

.page-numbers:hover {
  background-color: #cfb6a3;
  color: #211a2a;
}

.card {
    display: flex;
    flex-direction: column;
}

.playlist-added {
    margin-top: auto;
    padding-top: 1rem;
    text-align: right;
    font-size: 0.7rem;
    opacity: 0.65;
}

/* =========================================================
   WORDPRESS-FREE HOMEPAGE — FULL SQUARE PLAYLIST CARDS
   Pass 3: stronger text backing, no repeated title
   ========================================================= */

.latest-playlists {
    padding: 3rem 1rem 1rem;
    text-align: center;
}

.latest-intro {
    margin: -1rem 0 2rem;
    color: #fbf0e1;
}

.playlist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
}

.home-playlist-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #2a2434;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #fbf0e1;
    text-align: left;
    text-decoration: none;
    isolation: isolate;
}

.home-playlist-card:hover {
    color: #fbf0e1;
}

.home-playlist-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
    transition: transform 0.25s ease;
}

.home-playlist-card:hover .home-playlist-cover {
    transform: scale(1.02);
}

/*
 * Darken the lower half enough that cream text stays readable even
 * on pale covers, while leaving most of the artwork untouched.
 */
.home-playlist-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to bottom,
            rgba(20, 15, 27, 0) 42%,
            rgba(20, 15, 27, 0.18) 54%,
            rgba(20, 15, 27, 0.72) 70%,
            rgba(20, 15, 27, 0.96) 100%
        );
    pointer-events: none;
}

/*
 * The text gets its own translucent panel so light cover art can never
 * wash it out. No title here—the artwork already carries the title.
 */
.home-playlist-info {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.7rem 0.8rem;
    border-radius: 9px;
    background: rgba(24, 18, 31, 0.50);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.home-playlist-description,
.home-playlist-date {
    display: block;
}

.home-playlist-description {
    font-size: 0.92rem;
    line-height: 1.4;
    color: #fbf0e1;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-playlist-date {
    margin-top: 0.05rem;
    font-size: 0.72rem;
    line-height: 1.2;
    color: #cfb6a3;
    opacity: 0.95;
}

.home-playlist-card:focus-visible {
    outline: 3px solid #cfb6a3;
    outline-offset: 4px;
}

@media (max-width: 700px) {
    .playlist-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .home-playlist-info {
        left: 0.65rem;
        right: 0.65rem;
        bottom: 0.65rem;
        padding: 0.7rem 0.75rem;
    }

    .home-playlist-description {
        font-size: 0.88rem;
    }
}
