/* ----------------------------- */
/* RESET & BASE STYLES           */
/* ----------------------------- */
@font-face {
  font-family: YoungSerif;
  src: url(resources/fonts/YoungSerif-Regular.otf);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ----------------------------- */
/* HEADER                        */
/* ----------------------------- */

header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  
}

header hr {
  width: 85%;
  margin-left: 7.5%;
  color: #bcbcbc;
  background-color: #bcbcbc;
  border: none;
  height: 1px;
}

header a {
  text-decoration: none;
  color: #333;
}

.logo {
  font-family: 'YoungSerif', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  user-select: none;
  -webkit-user-select: none;
}

.logo span {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-left: 1.05rem;
  margin-bottom: 20px;
}

nav {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  
}

nav a {
  font-family: "din-2014", sans-serif;
  font-variant-ligatures: none;
  color: #222;
  font-size: 1.05rem;
  font-weight: 400;
  transition: opacity 300ms ease-in-out;
  user-select: none;
  -webkit-user-select: none;
}

nav a:hover {
  opacity: 0.6;
}

nav a.active {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* ----------------------------- */
/* SECTION TITLE                 */
/* ----------------------------- */


.section-title-wrapper {
  text-align: center;
  margin: 3rem 0 2rem;
}

.section-title {
  font-family: "din-2014", sans-serif;
  font-weight: 700; 
  display: inline-block;
  font-size: 2.8rem;
  color: #333;
  border: 2px solid #555;
  padding: 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}


/* ----------------------------- */
/* MUSIC GRID                    */
/* ----------------------------- */

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.album {
  text-align: center;
}

.album img {
  width: 100%;
  border-radius: 6px 25px;
  user-select: none;
  -webkit-user-select: none;
}

.album h3 {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.25rem;
  color: #333;
}

.album h3 span {
  font-weight: 700;
}

.album p {
  font-size: 0.7rem;
  color: #777;
  margin-top: 0.25rem;
}

section article hr {
  margin-top: 5px;
}

section article a {
  text-decoration: none;
}

/* ----------------------------- */
/* INTERVIEW LIST                */
/* ----------------------------- */

.interview-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(490px, 1fr));
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.interview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: start;
  gap: 1.5rem;
  border-bottom: 1px solid #000;
  padding-bottom: 1.5rem;
  position: relative;
}

.interview:first-child {
  border-top: none;
}

.interview img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
}

.interview .text h3 {
  font-size: 1.03rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: #222;
}

.interview .text .label {
  font-size: .85rem;
  line-height: 1.3rem;
  margin-bottom: 1rem;
  color: #222;
  overflow: hidden; /* Hides any overflowing content */
  text-overflow: ellipsis; /* Adds an ellipsis (...) to indicate truncated text */
  display: -webkit-box; /* Enables the flexible box model for line clamping */
  line-clamp: 7;
  -webkit-line-clamp: 7; /* Specifies the maximum number of lines to display */
  -webkit-box-orient: vertical; /* Sets the box orientation to vertical */
}

.interview .meta {
  font-size: 0.75rem;
  color: #777;
  position: absolute;
  bottom: 2px;
  left: 0;
}

/* ----------------------------- */
/* About Page                    */
/* ----------------------------- */

.about-text h2 {
  color: #333;
}

.about-text p a {
  color: seagreen;
  text-underline-offset: 2px;
  font-weight: 600;

}

@media (max-width: 700px) {

  nav {
    gap: 1em;
  }

  .interview-list {
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }

  .interview {
    grid-template-columns: 1fr;
  }

  .interview img {
    width: 100%;
  }

  .interview .text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: #222;
  }

  .interview .text .label {
    margin-bottom: 0rem;
  }

  .interview .text {
    width: 100%;
    margin-bottom: none;
  }

}

/* ----------------------------- */
/* ABOUT PAGE                    */
/* ----------------------------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 3rem;
  width: 90%;
  max-width: 1000px;
  margin: 4rem auto;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about-img {
    margin-bottom: 2rem;
  }
}

/* ===========================
   PUBLISHING PAGE STYLES
=========================== */

.publishing {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.publishing-header {
    margin-bottom: 4rem;
}



.publishing-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #222;
}

.grid-title {
    font-family: "din-2014", sans-serif;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-top: 3rem;
    margin-bottom: 2rem;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.grid article {
    text-align: center;
}

.grid img {
    width: 100%;
    height: auto;
}

.grid p {
    font-size: 0.8rem;
    padding-bottom: .25rem;
    border-bottom: 1px solid #000;
    padding-top: .3rem;
    letter-spacing: 0.03em;
}

/* ----------------------------- */
/* FOOTER                        */
/* ----------------------------- */

footer {
  margin-top: auto;
  text-align: center;
  padding: 2rem 1rem;
}

footer hr {
  width: 75%;
  margin-left: 12.5%;
  color: #bcbcbc;
  background-color: #bcbcbc;
  border: none;
  height: 1px;
  margin-bottom: 1rem;
}

.footer-links {
  font-family: "din-2014", sans-serif;
  display: flex; 
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #000;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  transition: opacity 300ms ease-in-out;
  user-select: none;
  -webkit-user-select: none;
}

.footer-links a:hover {
  opacity: 0.6;
}

.credits {
  font-size: 0.8rem;
  color: #444;
}