

@import url("css_files/layout.css");
@import url("css_files/fonts/ubuntu_bold_macroman/stylesheet.css");
@import url("css_files/fonts/ubuntutitling_bold_macroman/stylesheet.css");
@import url("css_files/fonts/ubuntutitling_regular_macroman/stylesheet.css");   

.layout-container {
  display: flex;
  flex-wrap: wrap; /* Allows stacking on smaller screens */
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
}
.intro-section {
  background-color: var(--blush);
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.intro-content {
  font-family: var(--body-font);
 /* font-size: 1.05rem;*/
  line-height: 1.6;
  text-align: center;
}

.intro-visible {
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
}

.intro-label {
  display: inline-block;
  margin: 0.5rem 0;
  font-weight: bold;
  color: var(--green-deep);
  cursor: pointer;
  text-decoration: underline;
}

.intro-toggle {
  display: none;
}

.intro-hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}

.intro-toggle:checked ~ .intro-hidden {
  max-height: 500px;
  opacity: 1;
}
.recipe-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
}

.tile {
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--paper);
}

.tile {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tile-content {
  padding: var(--space-3);
}

.recipe-title-b {
  margin-bottom: var(--space-2);
}

.recipe-description {
  margin-bottom: var(--space-3);
  line-height: 1.55;
  text-align: center;
} 
.recipe-title-b {
  font-family: var(--title-font);
  font-size: 1.5rem;
  text-align: center;
}

.recipe-image {
  min-height: 200px;
 background-size: cover;
  background-position: center; 
}


/* Global or component-level variables */
:root {
  --thumb-gap: 1.25rem;
  --thumb-min: 180px; /* minimum thumbnail width */
}

/* Reusable grid container */
.thumbnail-grid {
  display: grid;
  gap: var(--thumb-gap);
  grid-template-columns: repeat(auto-fit, minmax(var(--thumb-min), 1fr));
  align-items: start;
}

@media screen and (max-width: 916px) and (min-aspect-ratio: 4/3) {
    ol.fw-thumbnail-display {
        display: flex;
        flex-wrap: wrap;
        gap: 3%;
    }

    ol.fw-thumbnail-display li {
        flex: 1 1 clamp(28%, 30%, 32%);
    }
}
.thumbnail-grid li {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumbnail-grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.recipe-description {
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}