/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BASE */
body {
  background: #ffffff;
  font-family: 'Quicksand', sans-serif;
  color: #5a4a52;
}

/* LAYOUT */
.blog-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  min-height: 100vh;
}

/* LEFT PANEL */
.entry-panel {
  flex: 2;
  padding: 60px;

  background-image: url("https://www.dropbox.com/scl/fi/jn3dytr8wuheysskynjp6/IMG_0201.png?rlkey=s7223n9mga70bo0afe8wsxq7y&raw=1");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  display: flex;
  flex-direction: column;

  height: 100vh; 
}

/* TITLE */
#entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  text-align: center;
  color: #b46b82;
  letter-spacing: 1px;
  margin-bottom: 28px;

  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.7);
}

/* SCROLLABLE ENTRY TEXT */
.entry-content {
  max-width: 580px;
  margin: 0 auto;

  font-size: 16px;
  line-height: 1.9;
  color: #6a4f57;

  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.8);

  overflow-y: auto;     
  max-height: 80vh;     
  padding-right: 8px;   

}

/* RIGHT PANEL — DESKTOP */
.entry-list {
  flex: 1;
  padding: 60px 40px;
  background: #ffffff;
}

.entry-list h2 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  text-align: center;
  color: #b46b82;
  margin-bottom: 22px;
}

.entry-list ul {
  list-style: none;
}

.entry-list li {
  padding: 8px 0;
  font-size: 14px;
  cursor: pointer;
  color: #7a5b63;
  transition: color 0.2s ease;
}

.entry-list li:hover {
  color: #b46b82;
}

/* MOBILE TOGGLE BUTTON */
.mobile-toggle {
  display: none;
}

/* MOBILE */
@media (max-width: 900px) {

  .blog-container {
    flex-direction: column;
  }

  /* Show toggle button */
  .mobile-toggle {
    display: block;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1001;

    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 10px 14px;

    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: #b46b82;
    cursor: pointer;
  }

  /* Sidebar */
  .entry-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;

    background: #ffffff;
    padding: 40px 30px;

    transition: right 0.3s ease;
    z-index: 1000;
  }

  .entry-list.open {
    right: 0;
  }

  .entry-panel {
    padding: 40px 25px;
    min-height: 100vh;
  }

  #entry-title {
    font-size: 28px;
  }

  .entry-content {
    font-size: 15px;
    max-height: 65vh; 
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  #entry-title {
    font-size: 24px;
  }

  .entry-content {
    font-size: 14px;
  }
}