body {
	margin: 0;
	padding: 0;
	color: #000;
}


H1 a {
	color: inherit; /* set in body */
	text-decoration: none; /* no underline */
}

code {
  white-space: pre-wrap;
}


/* ---- Header container ---- */

/* Style the header with a grey background and some padding */
.header {
  overflow: visible;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12);
  height: 60px;
  width: 100%;
  position: fixed;
  z-index: 1000;
  top: 0;

}

.header-container {
	margin-left: 50px !important;
	margin-right: 50px !important;
}

.header .logo {
	font-size: 1.5rem;
	font-weight: bold;
}

#dropdown-container {
	padding: 0;
}

.h2-block#horizontal-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Reusables */

/* awarded_badge_block */

.badge_block {
	height: 30px;
	width: 40px;
	margin: 10px;
	align-items: center;
}

.badge_block img {
	height: 30px;
	width: 30px;
}

/* project_block.html */

.project_list .project_block {
	margin-bottom: 16px; /* add margin between child divs */
}

#calendar-container {
	width: max-content !important;
	max-width: 300px;
/*	white-space: nowrap;*/
overflow: auto;
display: inline-flex;
}

/*#ch-container {
	display:inline-block;
}*/


/* list_project_release_block */

.list_project_release_block {
	width: max-content !important;
}

.single-release-container#horizontal-item{
	display: flex;
	justify-content: start;
}

/* Blog post */
.blog_post p:not(strong) {
  color: #505050;
}

/* User blog posts  */
.author_post img {
	width: 100%;
}

/* Block Quote Styles */
blockquote {
  padding: 0.5rem 1rem;
  margin: 0 0 1rem;
  border-left: 0.25rem solid #505050;
  background-color: #f8f9fa;
  color: #505050;
  font-style: italic;
}

blockquote p {
  margin-bottom: 0;
}


.text-shadow {
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  color: white;
}


/* Cabin scene */

#cozy_scene {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.scene {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 1vw;
}

.cabin-group,
.forest {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 1.0rem;
}

/* Responsive spacing between cabin area and forest */
.spacer {
  width: clamp(4rem, 15vw, 14rem);
}

/* Image styling */
.cabin,
.tree {
  height: 20px;
  width: auto;
  object-fit: contain;
  image-rendering: auto;
  user-select: none;
}

/* Optional: make the tree near the cabin smaller */
.small-tree {
  transform: scale(0.85);
  transform-origin: bottom center;
}

/* Gradient button */
.btn-gradient {
  background: linear-gradient(90deg, #667eea 25%, #f2775c 100%);
  color: #fff !important;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gradient:hover {
  transform: translateY(-2px);
  color: #fff;
}


:root {
    --cream: #FFF8F0;
    --warm-white: #FFFBF7;
    --soft-peach: #FFE4D6;
    --terracotta: #E8735C;
    --forest: #4A5D4F;
    --gold: #D4A574;
    --shadow: rgba(74, 93, 79, 0.08);
}

body {
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
}

/* Search & Sidebar Styling */
.search-container {
    background: white;
    margin-bottom: 1.5rem;
}

.search-container input {
    border: 2px solid var(--cream);
    border-radius: 40px 0 0 40px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.search-container input:focus {
    border-color: var(--terracotta);
    box-shadow: none;
}

.search-container button {
    border-radius: 0 40px 40px 0;
    padding: 0.75rem 1.0rem;
    background: var(--terracotta);
    border: none;
    font-weight: 600;
}

.search-container button:hover {
    background: #D4634D;
}

.sidebar-section {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 1.5rem;
}

.sidebar-section h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.sidebar-section .text-muted {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.genre-badge {
    background: var(--soft-peach) !important;
    color: var(--forest) !important;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.genre-badge:hover {
    background: var(--terracotta) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 115, 92, 0.3);
}

.review-mini {
    padding: 0.5rem;
    background: var(--cream);
    border-radius: 15px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.review-mini:hover {
    background: var(--soft-peach);
    transform: translateX(5px);
}

.review-mini img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quick-action-btn {
    background: white;
    color: var(--forest);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 2px solid var(--cream);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.quick-action-btn:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.quick-action-btn.primary {
    background: var(--terracotta);
    color: white;
    border-color: var(--terracotta);
}

.quick-action-btn.primary:hover {
    background: #D4634D;
    color: white;
}

/* Alert Banners */
.cozy-alert {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFE4D6 100%);
    border: 2px solid var(--soft-peach);
    border-radius: 20px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.cozy-alert strong {
    color: var(--terracotta);
}

/* Genre Hero Cards */
.genre-hero-section {
    margin-bottom: 2rem;
}

.genre-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.genre-hero-subtitle {
    font-size: 1.1rem;
    color: #6B7A6E;
    margin-bottom: 1rem;
}

.genre-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
    height: 200px;
}

.genre-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(74, 93, 79, 0.2);
}

.genre-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.genre-card:hover img {
    transform: scale(1.05);
}

.genre-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1rem 0.75rem 0.75rem;
}

.genre-card-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Book Shelf Sections */
.bookshelf-section {
    margin-bottom: 2rem;
}

.bookshelf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bookshelf-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--forest);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bookshelf-icon {
    font-size: 1.25rem;
}

.shelf-wrapper {
    position: relative;
    padding: 1rem 0;
}

/* View All Button */
.view-all-section {
    text-align: center;
    padding: 1.5rem 0;
}

.view-all-btn {
    background: var(--forest);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74, 93, 79, 0.3);
}

.view-all-btn:hover {
    background: #3a4d3f;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(74, 93, 79, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .genre-hero-title {
      font-size: 1.75rem;
  }

  .bookshelf-title {
      font-size: 1.25rem;
  }

  .genre-card {
      height: 150px;
  }

  .book-card-link {
      color: inherit;
  }

  .book-card {
      border: none;
      border-radius: 0.5rem;
      overflow: hidden;
      background-color: #fff;
  }

  .book-card:hover {
      transform: translateY(-4px);
  }

  .book-card img {
      border: none;
      object-fit: cover;
      height: 100%;
  }

  .book-card .badge {
      border: none;

      font-size: 0.75rem;
      letter-spacing: 0.3px;
      text-transform: capitalize;
  }

}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}