﻿/* ===== Recipe ===== */
.recipe {
  width: 100%;
  max-width: 1000px;
  margin: 0 2rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.recipe h2 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.6em;
  border-bottom: 2px solid var(--light-bg);
  padding-bottom: 0.5rem;
}

.recipe h3 {
  margin-top: 1.2rem;
  color: var(--text-color);
  font-size: 1.2em;
}

.recipe .ingredients ul,
.recipe .steps ol {
  margin: 0.5rem 0 1rem 1.2rem;
  padding: 0;
}

.recipe .ingredients ul li,
.recipe .steps ol li {
  margin: 0.4rem 0;
  line-height: 1.5;
  font-size: 1em;
  color: var(--text-color);
}

.recipe .ingredients ul li::marker {
  color: var(--primary-color);
}

.recipe .steps ol li::marker {
  color: var(--accent-color); 
  font-weight: bold;
}

/* Note Box */
.recipe .note-box {
  margin-top: 1rem;
  padding: 12px 16px;
  background: var(--light-bg);
  border-left: 6px solid var(--primary-color);
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-size: 0.95em;
  line-height: 1.5;
}

.recipe .nutrition {
  margin-top: 1.5rem;
  padding: 14px 18px;
  background: var(--light-bg);
  border-left: 6px solid var(--accent-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  color: var(--text-color);
  font-size: 0.95em;
  line-height: 1.6;
}

  
  .note-box {
    margin-top: 12px;
    padding: 12px 16px;
    background: #e8f4fd;
    border-left: 6px solid #2980b9;
    border-radius: 10px;
    color: #1b4f72;
    font-size: 0.95em;
    line-height: 1.5;
  }
  
	/* Shared styles for principle, tips */
	.principle, .tips {
	  margin: 20px 0;
	  padding: 16px 20px;
	  border-radius: 10px;
	}
	
	/* Specific styles */
	.tips {
	  background: #f3f9e8;
	  border-left: 6px solid #7cb518;
	}
	
	.principle {
	  background: #f0fff4;
	  border-left: 6px solid #28a745;
	}
  
  .principle h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #155724;
  }
  .principle ul {
    margin: 0;
    padding-left: 20px;
  }
  

/* Feature Tags */
.recipe-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 25px;
}

.feature-tag {
  background-color: #f0f7ff;
  border: 1px solid #c2e0ff;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85em;
  color: #0066cc;
  display: flex;
  align-items: center;
  gap: 5px;
}

.feature-tag i {
  color: #CC6666;
}

/* Cooking Time */
.cooking-time {
  display: flex;
  justify-content: space-around;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.time-item {
  text-align: center;
  padding: 0 10px;
}

.time-item .time {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--primary-color);
}

.time-item .label {
  font-size: 0.9em;
  color: #666;
  margin-top: 5px;
}


.ingredients-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.ingredients-table th,
.ingredients-table td {
  padding: 10px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.ingredients-table th {
  background-color: #f5f7fa;
  color: var(--primary-color);
  font-weight: 600;
}

.ingredients-table tr:hover {
  background-color: #f9f9f9;
}


.cssVideo {
  display:flex; 
  background :#E9ECCF;
  padding:6px 0;
}
.cssVideo ul {
 display:flex; 
 flex-wrap: wrap;
 margin :0 3px;
}
.cssVideo ul li{float:left;margin:0 6px;display:inline}
.cssVideo ul li a{line-height:2.5;text-align:center;font-size:12px;width:200px;display:block}
.cssVideo ul li .cssPic{height:154px;position:relative;border:1px solid #ccc}
.cssVideo ul li .cssPic:hover{border:1px solid #45a909}
.cssVideo ul li img{height:148px;width:192px;margin:3px}
.cssVideo a{text-decoration:none}
.cssVideo a:hover{text-decoration:underline}

@media (max-width: 767px) {
    .cssVideo {
       flex-direction: column;
    }
}
