html {box-sizing: border-box;}
*, *::before, *::after {
    box-sizing: inherit;}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  background: #fff; /* change for debugging */
  color: #333;}

.toparticles a:link {text-decoration: none; font-weight: 700; color: #3378ac;}
.toparticles a:visited {text-decoration: none; font-weight: 700; color: #3378ac;}
.toparticles a:hover {text-decoration: none; font-weight: 700; color: #C5C5C5;}
.toparticles a:active {text-decoration: none; font-weight: 700; color: #3378ac;}
a:link {text-decoration: underline; color: #3378ac;}
a:visited {text-decoration: underline; color: #3378ac;}
a:hover {text-decoration: underline; color: #C5C5C5;}
a:active {text-decoration: underline; color: #3378ac;}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;}

.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;  /* was ccc */
  padding: 1rem 2rem;}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1124px;
  margin: 0 auto;
  position: relative;}

.header-search-container {
  display: block;
  margin-left: 1.25em;}

.logo {
  text-align: center;
  flex: 1;}

.logo-img {
  max-width: 100%;
  height: auto;}

.desktop-logo {
  display: block;}

.mobile-logo {
  display: none;}

.nav {
  display: flex;}

.nav a:hover {
  color: #C5C5C5 !important;}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;}

.menu > li {
  position: relative;}

.menu > li > a {
  text-decoration: none;
  color: #3378ac;  /* blue */
  padding: 0.5rem;
  font-weight: bold;
  font-family: 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.05em;}

.submenu {
  display: none;
  position: absolute;
  top: 100%; /* so that submenu doesnt disappear when try to click it */
  left: 0;
  background: #fff;
  list-style: none;
  border: 1px solid #ddd;
  padding: 0.5rem 0;
  min-width: 150px;
  z-index: 1000;}

.submenu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #3378ac;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.05em;}

.menu > li:hover .submenu {
  display: block;}

/* Hide submenu toggle buttons on desktop */
.submenu-toggle {
  display: none;}

.hamburger {
  display: none;
  font-size: 2rem;
  font-weight: 900;
  background: none;
  border: none;
  cursor: pointer;}

.container {
  flex: 1 0 auto;
  display: flex;
  width: 100%;
  max-width: 1024px;
  margin: 2rem auto;
  gap: 2rem;
  padding: 0 2rem;}

.main-content {
  flex: 3;
  background: #fff;
  padding: 0rem;
  max-width: 100%;}

img.floatRight,
img.floatRightORno {
  float: right;
  margin: 0.2em 0 1em 1em;}

img.floatLeft,
img.floatLeftORno {
  float: left;
  margin: 0.2em 1em 1em 0;}

.centering {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 1.5em;
  margin-bottom: 1.5em;}

.main-content ul li,
.main-content ol li {
    margin-bottom: 0.8em;}

.index-container-ccc {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;}

.productboxL ul,
.index-container-ccc ul,
.sidebar-a ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;}

.productboxL li,
.index-container-ccc li,
.sidebar-a li {
    position: relative; 
    padding-left: 1.5em;
    margin-bottom: 0.5rem;}

.productboxL li::before,
.index-container-ccc li::before,
.sidebar-a li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: inherit;}

.index-leftcolumn,
.index-rightcolumn {
  flex: 1 1 45%;
  padding: 0.6rem 0 0 0;
  background-color: #fff;}

.sidebar-a {
  flex: 0 0 300px;
  max-width: 100%;
  background: #fff;
  padding: 0rem;}

/* makes sure ads etc dont overgrow */
.sidebar-a img,
.main-content img {
  max-width: 100%;
  height: auto;
  display: block;}

/* makes sure non img ads etc dont overgrow */
.sidebar-a ins,
.main-content ins {
  display: block;
  width: 100%;}

.teaser {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 0.9rem;
  line-height: 1.3;
  align-items: flex-start;}

.teaser img {
  width: 4.75rem;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;}

.teaser-text {
  flex: 1;}

.teaser-title {
  display: block;
  font-weight: bold;
  color: #3378ac;
  text-decoration: none;
  margin-bottom: 0.25rem;}

.teaser-title:hover {
  text-decoration: underline;}

.teaser-description {
  margin: 0;
  color: #333;}

.sidebar-focus-box {
  border: 1px solid #ddd; /* gray */
  padding: 1em;
  margin: 1rem 0;}

h1 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #333;}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.3em;
  margin-top: 1.2em;
  color: #333;}

h2.titleforbox, h4.titleforbox {
  margin-top: 0;}

.recibox h2,.recibox h4,.reciboxtwo h2,.reciboxtwo h3,.reciboxtwo h4 {
  margin-top: 0;}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3em;
  margin-top: 1em;
  color: #333;}

h4 {
  font-size: 1rem;
  font-family: 'Arial Black', Arial, sans-serif;
  margin-top: 2.8em;
  margin-bottom: 0.2em;
  color: #0F8018;  /* dark green */
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.05em;}

.topguide {
font-size: 0.85rem;
padding: 0 0 0.5rem;}

p.summary {
  font-size: 1.3rem;
  line-height: 1.4;}

.servsize {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0;
  padding: 0.4rem 0;}

.smallgraytext {
  font-size: 0.7rem;
  line-height: 1.2;
  padding-top: 0.6rem;}

.recibox, .reciboxtwo {
    margin: 1.3rem 0;
    overflow: auto;}

.recibox img {
  float: left;
  max-width: 40%;
  height: auto;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  display: block;}

.reciboxtwo img {
  max-width: 40%;
  height: auto;
  display: block;}

.greenfill {
  background-color: #cff1a6;   
  padding: 1.2rem;  /* adds padding when eg recibox gets a filler color, works cause greenfill AFTER recibox in this file */
  margin: 1.5rem 0;
}

.borderbox {
  border: 1px solid #ddd;
  padding: 1.2rem;  /* adds padding when eg recibox gets a border, works cause borderbox AFTER recibox in this file */
}

.productboxL {
    max-width: 50%; 
    display: flex;
    flex-direction: column;
    align-items: left;
    float: right;
    margin: 0 0 1.5em 1.8em;
    min-width: 12.5em;}

.productbox {
    max-width: 50%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    float: right;
    margin: 0 0 1.5em 1.8em;
    min-width: 12.5em;}

.productbox img {
    max-width: 100%;
    height: auto;
    display: block;}

.producttext {
  text-align: center;
  margin-top: 0.6em;}

.site-footer {
  background: #3378ac; /* blue */
  padding: 2rem 1rem;
  font-size: 0.9rem;
  text-align: center;}

.footer-container {
  max-width: 1024px;
  margin: 0 auto;}

.footer-links a {
  margin: 0 1rem;
  color: #fff !important;
  font-weight: 500;}

.footer-links a:hover {
  color: #DCDCDC !important;}

.footer-copyright {
  font-size: 0.7rem;
  color: #ddd;
  margin-top: 1rem;}

.centeringAd,.nativeAd {
  display: block;
  margin: 0 auto;}

img[src="/images/usflag.png"],
img[src="/images/caflag.png"],
img[src="/images/uscaflag.png"],
img[src="/images/ukflag.png"] {
  display: inline-block;
  padding-top: 0.3em;
  padding-right: 0.1em;}

.relatedline {
  border-top: solid #ddd 1px;
  margin: 2rem 0 2rem;
  width: auto;}

.recipe-grid-container {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: column;
  gap: 1.5rem;
  margin: 1.5rem 0;}

.recipe-grid-item {
  background-color: #CF9;
  display: flex;
  align-items: center;}

.recipe-grid-item img:first-of-type {
  width: 78px;
  height: 48px;
  margin-right: 1rem; /* Space between image and text */
  flex-shrink: 0;}

.recipe-grid-item strong {
  display: flex;
  align-items: center;
  flex-grow: 1;
  font-size: 1.1rem;
  line-height: 1.3;}

.recipe-grid-item .recipe-bullet-icon {
  color: #3378ac;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  line-height: 1;}

.recipe-grid-item strong a {
  text-decoration: none;
  flex-grow: 1;}

.recipe-grid-item strong a:hover {
  text-decoration: underline;}

.previousnext,.buyhere,.foodpictextbox {
  text-align: center;}

.previousnext,.previousnextcontainer {
  height: 2rem;
  line-height: 2rem;}

.previousnext {
  font-size: 1rem;
  color: #C5C5C5;
  font-weight: 700;
  width: 60%;
  margin: 2rem auto; 
  display: flex;
  justify-content: center;
  gap: 1rem;}

.previousnextcontainer {
  vertical-align: middle;
  width: 100%;}

.buyhere {
  font-size: 1rem;
  padding: 0.32rem 0;
  font-weight: 700;
  text-decoration: none;}

.foodpictextbox {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.25rem;
  padding: 0.32rem 0;
  border-top: 1px solid #d4e6fc;
  border-bottom: 1px solid #d4e6fc;
  width: auto;}

.foodpictext {
  padding: 0.32rem 0;}

.foodpicleft,.foodpicright {
  padding: 1.5rem;
  text-align: center;
  width: 100%;
  max-width: 14rem;
  margin: 0.6rem;}

.foodpicleft {
  float: left;}

.foodpicright {
  float: right;}

.reciboxHome, .reciboxHomeN {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid #ddd;
  margin-bottom: 1.25rem;}

.reciboxLbigHome img, .reciboxLbigHomeN img {
  height: auto;
  display: block;
  float: none;} /* safety mechanism */

.reciboxLbigHome img {max-width: 135px;}
.reciboxLbigHomeN img {max-width: 200px;}

.ingredientbox {
  display: flex;
  gap: 1.9rem;
  align-items: flex-start;
  margin-bottom: 1.9rem;}

.ingredientbox img {
  flex-shrink: 0;
  max-width: 100%;
  height: auto;
  display: block;}

.ingredientboxright { 
  flex-grow: 1;}

.floatRighti {
  float: right;
  margin: 0.7rem 0 0.7rem 0.7rem;}

.floatLefti {
  float: left;
  margin: 0.7rem 0.7rem 0.7rem 0;}

.responsiveAd {
  display: block;
  margin: 1.4rem auto;
  max-width: 100%;}

.floatRightiBigRec,
.floatRightiSky {
  float: right;
  padding: 0.25rem 0 1.0625rem 1.0625rem;}

.floatLeftiBigRec,
.floatLeftiSky {
  float: left;
  padding: 0.25rem 1.0625rem 1.0625rem 0;}

.floatRightiBigRec,
.floatLeftiBigRec {
  width: 373px;}

.floatLeftiSky,
.floatRightiSky {
  width: 197px;}


/* Mobile Styles */
@media (max-width: 992px) {

.nav-container {
    flex-direction: column;
    align-items: center;}

.site-header {
    background: #3378ac;
    padding: 0.5rem 1rem;}  /* keeps nav bar slim and burger left enough */ 

.container {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 1rem auto;}

.sidebar {
    order: 2;}

.hamburger {
    display: block;
    position: absolute;
    left: 0rem; /* deleting might mess up design */
    top: 0rem; /* deleting might mess up design */
    z-index: 1001;
    color: #fff;}

.logo {
    flex: 1;
    text-align: center;}

.desktop-logo {
    display: none;}

.mobile-logo {
    display: inline-block;
    max-width: 75%;
    height: auto;
    margin-top: 0.3rem;}

.nav {
    display: none;
    flex-direction: column;
    background: #3378ac;
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;}

.nav.active {
    display: flex;}

.header-search-container {
    display: none;}

.index-container-ccc {
    flex-direction: column;}

.index-leftcolumn,
.index-rightcolumn {
    flex: 1 1 100%;}

.menu {
    flex-direction: column;
    gap: 1rem;}

.menu > li > a {
    color: #fff;}

.submenu {
    position: static;
    border: none;
    background: none;
    padding-left: 1rem;}

.submenu li a {
    color: #fff;}

.menu > li:hover .submenu {
    display: none;}

/* Show submenu toggle buttons only on mobile */
.submenu-toggle {
    display: inline-block;
    color: #ccc; /* plus signs */
    font-weight: bold;
    font-size: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0.3rem;
    margin-left: 0.3rem;
    user-select: none;}

img.floatRight,img.floatLeft {
    max-width: 30%;
    height: auto;}

img.floatLeftORno,
img.floatRightORno {
    float: none;
    display: block;
    margin: 0.9rem auto;
    max-width: 100%;
    width: auto;
    height: auto;}

.floatRighti,.floatLefti {
    float: none;
    display: block;
    margin: 0.9rem auto;
    max-width: 100%;
    width: auto;
    height: auto;}

.floatLeftiBigRec,
.floatLeftiSky,
.floatRightiBigRec,
.floatRightiSky {
    float: none;
    width: 100%;
    margin: 0.625rem 0 2.19rem;
    padding: 0;}

.productboxL {
    display: block;
    max-width: 100%; 
    float: none;
    width: 100%;
    margin: 1.45em auto;
    padding: 0.4em 0;}

.productbox {
    display: block;
    max-width: 100%; 
    float: none;
    width: 100%;
    margin: 1.45em auto;
    padding-top: 0.75em;
    border: 1px solid #ddd;}

.productbox img {
    margin: 0 auto;}

.producttext {
    display: block;
    text-align: center;
    margin: 0 0 0.9em;
    padding: 0.3em;}

.foodpictextbox {
    float: none;
    width: auto;}

.foodpictext {
    margin: 0 auto;
    padding-bottom: 1.375rem;
    width: 70%;}

.foodpicleft,.foodpicright {
    float: none;
    padding: 0;
    width: 100%;
    margin: 0.625rem auto;}

.reciboxHome, .reciboxHomeN {
    grid-template-columns: 25% 1fr;
    align-items: start;
    gap: 23px;}

.reciboxLbigHome,
.reciboxRbigHome,
.reciboxLbigHomeN,
.reciboxRbigHomeN {
    margin: 0;
    padding: 0;}

.reciboxLbigHome img, .reciboxLbigHomeN img {
    max-width: 100%;
    height: auto;
    display: block;}

.recipe-grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
    gap: 1rem;
    padding: 0;
    margin: 1rem auto;}

.recipe-grid-item {
    padding: 0;
    min-height: auto;}

.recipe-grid-item img:first-of-type {
    width: 78px; /* Consistent image size on mobile */
    height: 48px; /* Consistent image size on mobile */
    margin-right: 0.5rem;}

.ingredientbox {
    flex-direction: column; 
    gap: 20px;}

.ingredientbox img {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;}

}    /* closes mobile */

/* Submenu open state controlled by JS */
.submenu.open {
  display: block !important;
}