body {
  margin: 0;
  padding: 40px;
  font-family: 'Georgia', serif;
  background: none;
  background-color: #faf7f0;
  color: #2e2e2e;
  position: relative;
  min-height: 90%;
}

.contenedor-principal {
  display: flex;
  padding-top: 40px;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 100%;
  margin: 0 auto;
  flex-wrap: nowrap;
  min-height: 80vh;
  box-sizing: border-box;
}

.main-column {
  flex: 2 1 400px;
  min-width: 320px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #2e2e2e;
}

.side-column {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
  margin-top: 0;
  justify-content: flex-start;
  min-width: 340px;
  max-width: 420px;
}

.side-column:empty {
  display: none;
}

.photo {
  width: 90%;
  margin: 0 auto 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}

.photo img {
  width: 100%;
  max-width: 420px;
  max-height: 520px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  object-fit: cover;
  display: block;
  background: #fff;
}

.contact-column {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: none;
  margin-left: 40px;
  margin-top: 0;
  min-width: 260px;
  max-width: 320px;
}

.contact-column address {
  background: none;
  color: #636262;
  text-align: left;
  padding: 0;
  box-shadow: none;
  font-size: 1em;
  font-family: 'Georgia', serif;
  border-radius: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  height: fit-content;
  width: 100%;
  max-width: 320px;
  align-self: flex-start;
}

address {
  font-style: normal;
  line-height: 1.5;
  word-break: break-all;
  color: #9e9e9e;
  text-align: left;
  margin-left: 0;
  margin-top: 0.5em;
  margin-bottom: 2em;
  font-size: 1em;
}

address h2 {
  color: #636262;
  font-size: 1.5em;
  margin: 0 0 0.5em 0;
  font-weight: bold;
}

address h3 {
  color: #636262;
  font-size: 1.1em;
  margin: 1em 0 0.2em 0;
  font-weight: bold;
}

blockquote {
  font-family: 'Courier New', monospace;
  font-style: italic;
  color: #555555;
  border-left: 4px solid #696969d7;
  padding-left: 15px;
  margin: 0 0 1em 0;
  background: none;
  font-size: 1em;
}

.bio-text {
  background: rgba(255, 255, 255, 0.01);
  padding: 36px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  margin-bottom: 0;
  margin-top: 0;
}

a {
  color: #666;
  text-decoration: none;
}

a:hover {
  color: #333;
  text-decoration: underline;
}

.bio-text h1 {
  font-size: 2.5em;
  margin-bottom: 0.3em;
  font-weight: bold;
}

.bio-text p {
  font-size: 1.15em;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 1em;
}

.menu-secciones {
  width: 100%;
  margin-top: 2em;
  text-align: center;
  background: rgba(247,243,234,0.85);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

.menu-secciones ul {
  display: inline-flex;
  gap: 2em;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu-secciones li {
  display: inline-block;
}

.menu-secciones a {
  color: #2e2e2e;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.25em;
  transition: color 0.2s;
}

.menu-secciones a:hover {
  color: #bfa46a;
  text-decoration: underline;
}

.carousel-container {
  position: relative;
  width: 50%;  /* Changed from 100% to 50% */
  max-width: 400px;  /* Changed from 800px to 400px */
  height: 250px;  /* Changed from 500px to 250px */
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 16px;
  border: none;
  cursor: pointer;
  z-index: 1;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
