/* ================================= */
/* RECEPTEN PAGINA LAYOUT EN STIJL */
/* ================================= */

/* Stijl voor de noot onder de titel */
.recipe-subtitle {
    font-style: italic;    
    color: #4a3e36;        
    font-size: 0.95em;     
    margin-top: -10px;     
    margin-bottom: 20px;   
    font-weight: 500;
}

/* === PRINTKNOP STYLING === */
#print-button {
    background-color: #f7e9c5;
    border: 1px solid #e5b263;
    color: #4a3e36;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

#print-button:hover {
    background-color: #e5b263;
}

/* ==================================================== */
/* INGREDIËNTEN EN AFBEELDING NAAST ELKAAR (SCHERM)    */
/* ==================================================== */

.ingredients-section {
    display: flex;
    align-items: flex-start; /* Lijn de bovenkant van de lijst en de foto netjes op gelijke hoogte uit */
    flex-wrap: wrap;       /* Zorgt dat het onder elkaar klapt als het scherm te smal is */
    gap: 20px;             /* Ruimte tussen ingrediënten en de afbeelding */
    margin-bottom: 20px;
    width: 100%;
}

/* De ingrediëntenlijst krijgt de nodige basisruimte */
.ingredients-list {
    flex: 1 1 250px;       /* Pakt de nodige breedte, maar geeft de foto ruimte als het kan */
}

.ingredients-list h3 {
    margin-top: 0;
}

/* Het "frame" / container voor de foto */
.recipe-image {
    flex: 0 1 280px;       /* Vaste/flexibele basisgrootte */
    max-width: 310px;      /* Nette maximale breedte voor schermweergave */
    margin: 0;
    box-sizing: border-box;
    
    border: 1px solid #ccc;
    padding: 6px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* De afbeelding schaalt automatisch mee binnen de beschikbare ruimte */
.recipe-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* ================== */
/* STIJL VOOR DE INHOUD */
/* ================== */

.recipe-content {
    background-color: #f5f5dc; 
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 15px;           
}

.recipe-content h2 {
    font-size: 1.6em;          
    color: #000;
}

.recipe-content h3 {
    font-size: 1.1em;          
    color: #000;
    margin-top: 15px;
}

.recipe-content ul, 
.recipe-content ol {
    margin-bottom: 20px;
}

/* ==================================================== */
/* AFDRUK INSTELLINGEN (PRINT MEDIA)                   */
/* ==================================================== */

@media print {
    /* Verberg de printknop en overige niet-relevante elementen op papier */
    #print-button,
    .no-print {
        display: none !important;
    }
}