 body {
  margin: 0;
  font-family: sans-serif;
  background-color: beige;
}

.container {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 200px;
  background-color: #f0e6d2;
  padding: 20px;
  height: 100vw;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar a {
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  color: #333;
}

.navbar {
  display: none;
}


.content {
  flex: 1;
  padding: 40px;
}
.site-header {
  display: flex;
  align-items: center;
  background-color: #fdf6e3; /* light beige */
  padding: 20px;
  border-bottom: 2px solid #ddd;
}

.portrait {
  width: 120px;
  height: auto;
  border-radius: 10px;
  margin-right: 20px;
}

.header-text h1 {
  margin: 0;
  font-size: 1.8em;
}

.quote {
  font-style: italic;
  color: #555;
}
.main-layout {
  display: flex;
  min-height: 100vh; /* ensures full screen */
    align-items: stretch; /* forces both columns to equal height */
}

.sidebar {
  width: 220px;
  background-color: #eee1c6;
  padding: 20px;
  border-right: 1px solid #ccc;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
}


.sidebar li {
  margin-bottom: 10px;
}
.sidebar-flower {
  margin-top: auto;        /* Push to bottom */
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.sidebar-flower img {
  max-width: 80%;
  height: auto;
  opacity: 0.9;
}
.sidebar a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.sidebar a:hover {
  color: #6b4f1d;
}

.content {
  flex: 1;
  padding: 30px;
}
.quote-box {
  background-color: #fffaf3;
  border: 3px solid #8c7b6f;
  padding: 30px;
  margin: 40px auto;
  max-width: 600px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}


.quote-box p {
  font-style: italic;
  color: #444;
  margin: 0;
}

.quote-box .author {
  text-align: right;
  margin-top: 20px;
  font-weight: bold;
}

/* Ensure header is positioned */
header {
  position: relative;
}

/* Language switcher: absolute in bottom-right corner */
.lang-switch {
  position: absolute;
  bottom: 10px;
  right: 15px;
  z-index: 10;
}

.lang-switch button {
  margin-left: 5px;
  padding: 5px 10px;
  background-color: #eee;
  border: 1px solid #ccc;
  font-size: 0.9em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lang-switch button:hover {
  background-color: #ddd;
}

.content {
  flex: 1;
  display: flex;
  justify-content: center; /* center the column */
  padding: 30px;
  background-image: url('images/parchment.jpg'); 
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: center top;
  /*padding: 40px;*/
}

.cards-column {
  max-width: 700px;
  width: 100%;
}
.card {
  display: block;
  width: 90%; /* or your desired responsive width */
  max-width: 600px; /* optional: prevents it from stretching too wide on desktop */
  margin: 10px auto; /* centers the card with vertical spacing */
  padding: 10px;
  box-sizing: border-box; /* ensures padding is included within width calculation */
  background-color: #fefefe;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-decoration: none; /* removes link underlining */
  color: inherit; /* uses default text colour */
}


.card:hover {
  transform: translateY(-2px);
  box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.15);
  background-color: #fff3dc;
}

.card h3 {
  margin-top: 0;
  font-size: 1.2em;
  color: #3b2e20;
}

.card p {
  color: #5a4633;
  font-size: 0.95em;
}

.card a {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #6b4f1d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card a:hover {
  color: #3d2b1f;
  text-decoration: underline;
}
.cards-column {
  max-width: 640px;
  margin: 0 auto;
  padding: 30px;
}
.article-body {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 30px;
  background-color: #fffdf8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 1.05em;
  line-height: 1.7;
  color: #3d2b1f;
}

.article-body h1,
.article-body h2 {
  color: #2f2417;
}

.article-body blockquote {
  margin: 30px 0;
  padding: 15px 20px;
  background-color: #f4eee4;
  border-left: 4px solid #a88d64;
  font-style: italic;
  color: #4a3a2b;
}

.article-footer {
  margin-top: 40px;
}

.article-footer a {
  color: #6b4f1d;
  text-decoration: none;
  font-weight: bold;
}
.sidebar a.active {
  color: #a05c1f;
  text-decoration: underline;
}

.menu {
  display: none;
  background: rgb(148, 148, 83); /* Diagnostic background for visibility */
}


@media (max-width: 768px) {
  .sidebar, .quote-box, .header-symbol {
    display: none;
  }

  .menu {
  display: flex;
  gap: 10px; /* spacing between menu links */
}


  .navbar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center; /* spread items out */
    align-items: center; /* vertically center items within navbar */
    background: #eee;
    padding: 10px;
    gap: 10px;
  }
  .navbar a {
  font-size: 14px;
}

.logo {
  font-size: 16px;
}

.search {
  font-size: 14px;
}

.avatar {
  font-size: 12px;
}

}
  .menu {
    display: flex;
    justify-content: space-around;
    background-color: yellow; /* Diagnostic background */
    padding: 10px;
  }

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-layout {
  display: flex;
  flex: 1;
}

.line-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #a0522d;
  margin: 1rem 0;
}

.line-divider::before,
.line-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #a0522d;
  margin: 0 1rem;
}

.line-divider span {
  font-size: 1.2rem;
  letter-spacing: 0.5rem;
}

.header-symbol {
  width: 175px; /* Adjust size as needed */
  height: auto;
  margin-left: auto; /* pushes it to far right in flex layout */
}

/*.card-icon {
  width: 60px;
  height: auto;
  margin-right: 16px;
  flex-shrink: 0;
}*/

.card-content {
  flex: 1;
}
.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.card-icon {
  width: 60px;
  height: auto;
  margin-right: 12px;
  border-radius: 4px;
}

.article-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.article-icon {
  width: 120px;
  height: auto;
  margin-right: 12px;
  border-radius: 4px;}