/* Styles for src/pages/advanced_masterclass.html. */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background-color: #f0e4c7;
  background-image: linear-gradient(315deg, #f0e4c7 0%, #d4bb81 74%);
  background-attachment: fixed;
}

.page-wrapper {
  min-height: 100vh;
  padding: 2.5rem 1.5rem;
  display: flex;
  justify-content: center;
}

.masterclass-container {
  width: 100%;
  max-width: 960px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
  .masterclass-container {
    padding: 1.75rem 1.25rem;
  }
}

h1,
h3 {
  margin: 0;
  text-align: center;
}

h1 {
  font-size: 2rem;
  letter-spacing: 0.03em;
}

h3 {
  font-size: 1.1rem;
  margin-top: 0.75rem;
  color: #5a4520;
  font-weight: 500;
}

.application-link-wrapper {
  margin-top: 1.75rem;
  text-align: center;
}

.application-link {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: #b3832f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease,
    background-color 0.2s ease;
}

.application-link:hover,
.application-link:focus-visible {
  background: #955f14;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.application-link:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.flex-container {
  display: flex;
  flex-direction: row;
  gap: 1.75rem;
  margin-top: 2.25rem;
  align-items: flex-start;
}

.artist-photo {
  flex: 0 0 260px;
  max-width: 260px;
}

.artist-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.artist-bio {
  flex: 1 1 0;
  color: #2c1c08;
}

.artist-bio p {
  margin: 0 0 1rem;
}

.artist-bio h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: #5a4520;
}

@media (max-width: 800px) {
  .flex-container {
    flex-direction: column;
  }

  .artist-photo {
    flex-basis: auto;
    width: 260px;
    max-width: 100%;
  }
}

.responsive-iframe {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-top: 56.25%;
  margin-top: 2rem;
}

.responsive-iframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
