@media (min-width: 751px) {

#article-item{
position:relative;
clear:both;
border-radius:8px; 
box-shadow: 0px 1px 12px 0px rgba(0,0,0,0.1);
width:94%;
overflow:auto;
margin:20px;
padding-top:30px;
padding-left:20px;
padding-right:20px;
padding-bottom:20px;
margin-left:auto;
margin-right:auto;
}
#item-number{
	position:absolute;
	top:27px;
	left:33px;
font-size:75px;
font-weight:bold;
color:#FFF;
text-shadow: 2px 2px 10px black;
}
#recipebox{
float:left;
margin:10px;
background:#fff;
width:25vw;
min-width:172px;
max-width:392px;
min-height:150px;
box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.1);
border-radius:8px;
}
.skeleton-recipe-card {
	border-radius:8px;
float:left;
margin:10px;
background:#fff;
width:25vw;
min-width:172px;
max-width:392px;
min-height:150px;
box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.1);
    opacity: 1;
    transition: opacity 0.5s ease;
}

#cuisinebox{
margin:5px;
float:left;
padding:10px 18px 10px 18px;
box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.2);	
overflow:hidden;
border-radius:10px;
}
#navbox{
float:left;
margin:10px;
width:25vw;
min-width:172px;
max-width:392px;
padding:10px 0px 10px 0px;
border-radius:10px;
text-align:center;
box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.2);	
}
#search{
	margin-top:36px;
float:right;
}
#nav{
display:block;
margin:auto;
}
#mobile-nav{
display:none;
}

#ingredients{
width:50%;
float:right;
}
#instructions{
width:50%;
float:right;
}
#recipe-tile{
width:50%;
float:right;
padding:6px;
margin:10px;
}

.recipe-image{
width:100%;
float:right;
margin-top:-20%;
}
#recipe-tile-text{
padding:2px;
margin:10px;
margin-right:16px;
width: calc(50% - 6px);
float:right;
}
#second-column{
margin:auto;

}
#view-page-img {
  position: relative;
  overflow: hidden;
  height: 480px;
  width: 100%;
  max-width: 1024px;
  margin: auto;
  margin-bottom: 15px;
  border-radius: 4px;
}

.display-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the box cleanly */
  display: block;
}

.introduction {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px 30px;
  border-radius: 8px;
  margin: -180px auto 40px auto; /* Pull it up over image, then push next section */
  max-width: 924px;
  width:84%;
  text-align: center;
  z-index: 2;
  position: relative;
}
.introduction h2 {
  font-size: 1.75rem;
  color: #6b974b;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.3rem;
}
.introduction p {
  font-style: italic;
  color: #444;
	margin-top:0px;
}.why-youll-love h2{
	margin-top:0px;
	padding-top:0px;
}
.why-youll-love {
  width: 100%;
  max-width: 1024px;
  margin: auto;
}
.why-youll-love ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.why-youll-love li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

.why-youll-love li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: #FF8C00; /* Warm orange */
  font-weight: bold;
  font-size: 1.2rem;
}
.view-page-container{
max-width:1024px;
width:100%;
margin:auto;
}
.ingredients-explained p {
  padding: 0px;
  margin:0px;
  text-indent: 1em;
}
.step-by-step p {
	  background-color: #fdf8f4;
  border-left: 4px solid #D2691E;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-indent: 1em;
}
.step-by-step p::first-letter {
}
.tips-tricks ul {
  background: #f1f8f4;
  border: 1px dashed #6b974b;
  padding: 1rem;
  border-radius: 6px;
}
.tips-tricks li {
  margin-bottom: 0.5rem;
  margin-left:15px;
}
.tips-tricks{
}

.serving-suggestions p {
  font-style: italic;
  background: #fffbe6;
  border-left: 4px solid #ffc107;
  padding: 1rem;
  border-radius: 6px;
}
.faqs dt {
  font-weight: bold;
  margin-top: 1rem;
  color: #333;
}
.faqs dd {
  margin: 0 0 1rem 1rem;
  color: #555;
}
.optional-extras {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #555;
}
#ingredient-list{
padding:2px;
width: calc(99% - 6px);
float:left;
}
.split-left{
float:left; width:49%; min-width:300px; margin-right:15px;
}
.split-right{
float:right; width:49%; min-width:300px;
}
}

@media (max-width: 750px) {
	.split-left{

}
.split-right{

}
#view-page-img {
  position: relative;
  overflow: hidden;
  height: 480px;
  width: 97%;
  max-width: 1024px;
  margin: auto;
  margin-bottom: 15px;
  border-radius: 4px;
}

.display-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the box cleanly */
  display: block;
}

.introduction {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px 30px;
  border-radius: 8px;
  margin: -180px auto 40px auto; /* Pull it up over image, then push next section */
  max-width: 924px;
  width:80%;
  text-align: center;
  z-index: 2;
  position: relative;
}
.introduction h2 {
  font-size: 1.75rem;
  color: #6b974b;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.3rem;
}
.introduction p {
  font-style: italic;
  color: #444;
	margin-top:0px;
}
.why-youll-love {
float:left;
}


.why-youll-love ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.why-youll-love li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

.why-youll-love li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: #FF8C00; /* Warm orange */
  font-weight: bold;
  font-size: 1.2rem;
}
.ingredients-explained p {
  background-color: #fdf8f4;
  border-left: 4px solid #6b974b;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
}
.step-by-step p {
	  background-color: #fdf8f4;
  border-left: 4px solid #D2691E;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-indent: 1em;
}
.step-by-step p::first-letter {
}
.tips-tricks ul {
  background: #f1f8f4;
  border: 1px dashed #6b974b;
  padding: 1rem;
  border-radius: 6px;
}
.tips-tricks li {
  margin-bottom: 0.5rem;
  margin-left:15px;
}
.tips-tricks{
}
.serving-suggestions p {
  font-style: italic;
  background: #fffbe6;
  border-left: 4px solid #ffc107;
  padding: 1rem;
  border-radius: 6px;
}
.faqs dt {
  font-weight: bold;
  margin-top: 1rem;
  color: #333;
}
.faqs dd {
  margin: 0 0 1rem 1rem;
  color: #555;
}
.optional-extras {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #555;
}
#ingredient-list{
padding:2px;
width: calc(99% - 6px);
float:left;
}
	#article-item{
position:relative;
clear:both;
border-radius:3px; 
box-shadow: 0px 1px 12px 0px rgba(0,0,0,0.1);
width:84%;
min-width:250px;
overflow:auto;
margin:20px;
padding:15px;
margin-left:auto;
margin-right:auto;
}
#item-number{
	position:absolute;
	top:15px;
	left:25px;
font-size:60px;
font-weight:bold;
color:#FFF;
text-shadow: 2px 2px 10px black;
}
#recipebox{
margin:auto;
margin-bottom:20px;
background:#fff;
width:85vw;
min-width:172px;
max-width:392px;
min-height:150px;
box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.1);
border-radius:8px;
}
.skeleton-recipe-card {
margin:auto;
margin-bottom:20px;
background:#fff;
width:85vw;
min-width:172px;
max-width:392px;
min-height:150px;
box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.1);
    opacity: 1;
    transition: opacity 0.5s ease;
}

#cuisinebox{
margin:5px;
float:left;
padding:10px 18px 10px 18px;
box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.2);	
overflow:hidden;
border-radius:10px;
}

#navbox{
margin:auto;
margin-bottom:20px;
width:85vw;
min-width:172px;
max-width:392px;
padding-top:10px;
padding-bottom:10px;
text-align:center;
border-radius:10px;
box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.1);
}
#search{

display:none;
}
#nav{
display:none;
}
#mobile-nav{
margin-top:102px;
display:block;
float:right;
width:100%;
}
#ingredients{
width:100%;
}
#instructions{
width:100%;
}
#recipe-tile{
width:92%;
padding:6px;
margin:10px;
}
.recipe-image{
width:100%;
margin-top:-10%;
}
#recipe-tile-text{
width:calc(92% - 6px);
padding:2px;
margin:10px;
margin-left:17px;
}
#second-column{
clear:both;
width:calc(92% - 2px);
margin-left:17px;
}


}

#recipe-tile-second{
float:left;
padding:6px;
}
.responsive-text {
  margin: 0;
  transition: font-size 0.3s ease;
  word-break: break-word;
}
body {
    margin: 0;
    padding: 0;
	font-family: Arial;
    box-sizing: border-box;
	background: #fdfdfd;
	font-size:18px;
	line-height: 1.6;
}

#recipeinfo{
width:100%;
min-width:160px;
max-width:380px;
padding:6px;
text-align:left;
margin-top:-50px;
}

#trim-image{
min-height:200px;
max-height:330px;
width:98%;
margin:auto;
overflow:hidden;
}
#trimimg{
height:260px;
width:100%;
min-width:172px;
max-width:392px;
overflow:hidden;
border-top-left-radius:8px;
border-top-right-radius:8px;
}
#trimimg-cuisine{
height:260px;
width:100%;
min-width:172px;
max-width:392px;
overflow:hidden;
}
.boximg{
width:392px;
margin-top:-61px;
}

.left{
float:left;
}

.right{
float:right;
}


.container {
  position: relative;
}


.middle {
  opacity: 0;
  position: relative;
  top: -118px;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  width:82%;
}

.middle-cuisine {
  opacity: 1;
  position: relative;
  top: -118px;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  width:82%;
}

.text-cuisine {
color: white;
font-size: 35px;
    text-shadow: 
        -3px -3px 5px black,
         3px -3px 5px black,
        -3px  3px 5px black,
         3px  3px 5px black,
        0px -3px 5px black,
        0px  3px 5px black,
        -3px 0px 5px black,
         3px 0px 5px black;
}

.text-cuisine:hover {

}


.container:hover .middle {
  opacity: 1;
}
#recipebox:hover .boximg {
  opacity: 0.7;
}

#cuisinebox:hover .boximg {
  opacity: 0.7;
}

.text {
  background-color: #e07224;
  color: white;
  font-size: 20px;
  padding: 16px 32px;
  	box-shadow: 0px 6px 14px 0px rgba(0,0,0,0.15);
border-radius:8px;	
  transition: box-shadow 0.1s ease;
}

.text:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.40);
}

.btn {
background:#F4C430;
}

.nav-btn{
padding:13px;
background-color:#f6f6f6;
border-top-left-radius:5px;
border-top-right-radius:5px;
}
.nav-btn:hover{
background-color:#f1f1f1;
}
#nav a{
text-decoration:none;
}

h1 {
color:#D2691E;
font-size:42px;
margin-bottom:0px;
margin-top:5px;
}

a {
color:#9DC183;
}

h2{
color:#6b974b;

}
#all-container{
width:92%;
margin:auto;
max-width:1280px;
min-width:276px;
}

#all-container-content{
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-wrap: wrap; /* Allow wrapping if children overflow */
	max-width:1280px;
	margin:auto;
	overflow:auto;
	min-height:300px;
	padding-bottom:50px;
}

#infinity-container{
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-wrap: wrap; /* Allow wrapping if children overflow */
	min-width:300px;
	max-width:1280px;
	margin:auto;
overflow: hidden;

}
              
#header-container{
height:120px;
padding-top:15px;
background:#fefefe;
color:#003B39;
width:100%;
margin:auto;

box-shadow:inset 2px 6px 14px 0px rgba(0,0,0,0.2);
}
.recipe-meta-inline {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #444;
  margin-top: 0.75rem;
   margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.recipe-meta-left {
  display: flex;
  justify-content: left;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #444;
  margin-top: 0.75rem;
   margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
  background: #f4f4f4;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}

.meta-item span:first-child {
  font-size: 1.1rem;
  color: #6b974b;
}
#logo{
width:160px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(2px 4px 2px rgba(0, 0, 0, 0.15));
}
#logo:hover{
width:160px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(2px 4px 2px rgba(0, 0, 0, 0.25));
}

#nav{
text-align:center;
}

#search{
margin-top:36px;
float:right;
}

#content-container{
clear:both;
padding-top:15px;
padding-bottom:15px;
overflow:auto;
margin:auto;
}

#content{
min-height:800px;
padding:15px;
overflow:auto;
}

#footer-container{
min-height:600px;
padding:15px;
background:#fefefe;
color:#003B39;
font-size:14px;
}

#footer-container a{
color:#000;
text-decoration:none;
}

#footer-container a:hover{
color:#6b974b;
}
#footer{
text-align:center;
}

	.belowimgcat{
	margin-top:-16px;
	margin-bottom:-8px;
	color:#888888;
	}

.crossed-out {
text-decoration: line-through;
color: gray;
}

#ingredient{
cursor:pointer;
padding:6px 12px 6px 12px;
text-align:left;
background:#eff5eb;
}

#ingredient:hover{
background:#dbe8d1;
}

.activepage{
  background-color: #e07224;
  color:#FFF;
}

#instruction{
padding:20px 12px 20px 12px;
cursor:pointer;
text-align:left;
background:#fbece1;
}
#instruction:hover{
background:#f6d5be;
}

#description{
padding:12px;
text-align:left;
}
    /* Container for the stars */
        .star-rating {
            display: flex;
            flex-direction: row-reverse; /* Ensures the last star is selected first */
            font-size: 3.5rem;
            justify-content: center;
        }

        /* Hide default radio buttons */
        .star-rating input {
            display: none;
        }

        /* Style for each star */
        .star-rating label {
            color: #ccc;
            cursor: pointer;
            transition: color 0.3s;
        }

        /* When hovered, color all previous stars */
        .star-rating label:hover,
        .star-rating label:hover ~ label {
            color: #f5c518; /* Gold color */
        }

        /* When clicked, make it persistent */
        .star-rating input:checked ~ label {
            color: #f5c518;
        }
		
		

        /* Message after submission */
        .message {
            text-align: center;
            font-size: 1.2rem;
            margin-top: 10px;
			margin-bottom:10px;
            color: green;
            display: none;
        }
 /* Rating - Right Overlay */
.ratings-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
}

.display-star-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-count {
  font-size: 12px;
  color: #ddd;
  margin-top: 2px;
  text-align:center;
}
        .display-star-rating {
            display: inline-block;
            font-size: 33px;
            font-family: Arial, sans-serif;
            line-height: 1;
        }

        .display-star-rating .star {
            color: #ccc;
            position: relative;
        }

        .display-star-rating .star.full {
            color: #f5c518; /* Gold color for full star */
        }

        .display-star-rating .star.half::before {
            content: '★';
            color: #f5c518; /* Gold color for half star */
            position: absolute;
            width: 50%;
            overflow: hidden;
        }
		
		#ratings{
		  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  max-width:1024px;
  width:96%;
  margin:auto;
		}
		
/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Hamburger icon container */
.menu-icon {
  display: inline-block;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
  position: relative;
  float:right;
  margin-top:-64px;
  margin-right:-5px;
}

/* Hamburger lines */
.menu-icon span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background-color: #6b974b;
  border-radius: 2px;
  transition: 0.3s ease;
  transform-origin: center;
}

/* Transform to X when menu is open */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile nav (push down) */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: max-height 0.3s ease;
}

/* Menu items */
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  border-bottom: 1px solid #eee;
  text-align:center;
}

.mobile-nav a {
  display: block;
  padding: 14px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background 0.2s;
}

.mobile-nav a:hover {
  background-color: #f6f6f6;
}

/* Expand menu */
#menu-toggle:checked + .menu-icon + .mobile-nav {
  max-height: 300px; /* Adjust as needed */
}
.print-btn {
  text-decoration:none;
  background-color: #6b974b;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.1s ease;
}

.print-btn:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
.btn-pinterest {
  background-color: #e60023;
  color: white;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow 0.1s ease;
}

.btn-pinterest:hover {
  background-color: #c8232c;
  text-decoration: none;
  color: white;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
.jump-btn {
  text-decoration:none;
  background-color: #D2691E;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.1s ease;
}

.jump-btn:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.list-btn {
  text-decoration:none;
  background-color: #6b974b;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.1s ease;
}

.list-btn:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.button:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.fb-share-btn {
  background-color: #1877f2;
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow 0.1s ease;
}

.fb-share-btn:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

#btnbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px; /* spacing between buttons */
  justify-content: center; /* or center, or flex-end */
  align-items: center;
  margin: 10px 6px 16px 6px;
  clear: both;
}

	
/* Skeleton Loader */


.skeleton-block {
    background: linear-gradient(90deg, #eeeeee 25%, #dddddd 50%, #eeeeee 75%);
    background-size: 400% 100%;
    animation: shimmer 5s infinite;
}

.skeleton-image {
    width: 100%;
    height: 260px;
	background: #eee;
}

.skeleton-text {
    width: 70%;
    height: 20px;
	margin:12px;
}

.skeleton-subtext {
    width: 50%;
    height: 16px;
	margin:12px;
}

@keyframes shimmer {
  0% { background-position: -400% 0; }
  100% { background-position: 400% 0; }
}

/* Recipe Card Fade and Pop */
.recipe-card {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.recipe-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Lazy Load Blur */
.lazy-blur {
    filter: blur(20px);
    transition: filter .5s ease, opacity .5s ease;
    opacity: 0.7;
}

.lazy-blur.loaded {
    filter: blur(0);
    opacity: 1;
}
.skeleton-fadeout {
    opacity: 0;
    transition: opacity 0.4s ease;
}

