body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.wrapper {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.page-heading {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.iframe-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.video-tile {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 1.5rem;
    gap: 1rem;
}

.video-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
}

.video-tile h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}


.video-tile h2 a {
    color: #222;
    text-decoration: none;
}

.video-tile h2 a:hover {
    color: var(--accent-color);
}

iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.video-id p,
.video-id h2,
.video-id ul,
.video-id li {
    margin-bottom: 1em;
}


.ingredient-container {
    margin: 10px 15px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ingredient-container span {
    background-color: #e0f7fa; /* Light teal for ingredients */
    color: #00796b;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    white-space: nowrap;
}
