.how-to-1-2-3-grid.nalino-container-item {
    display: flex;
    flex-direction: row;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

section.how-to-1-2-3-wrapper.nalino-container-group
{
    margin-top: 64px;
	background: transparent;
    border: unset;
	
	padding-left: 0;
    padding-right: 0;
}



video.how-to-video.nalino-image {
    width: 342px;
}

h1.nalino-main-title {
    margin-top: 49px;
    margin-bottom: 55px;
    font-size: 36px;
    font-weight: 700;
    font-family: 'Reem Kufi Fun';
    text-transform: uppercase;
    letter-spacing: 0.078em;
    color: #000;
    text-align: center;
}

video.how-to-video.nalino-image {
    margin-top: 20px;
}

.space-space {
    background: #000;
    height: 1px;
    width: 100%;
    margin-bottom:0.5em;
}

.sep-side {
    border-right: solid 1px #000000;
	margin: 18px 0;
}

section.how-to-1-2-3-wrapper.nalino-container-group p,
.how-to-1-2-3-wrapper.nalino-container-group h3 > span,
section.how-to-1-2-3-wrapper.nalino-container-group h1.nalino-main-title {
    color: #000;
}

.how-to-box.nalino-category:nth-child(4) .space-space {
    width: 1px;
    height: 100%;
}

.how-to-box.nalino-category:nth-child(4) {
	order: 1;
    width: 100% !important;
    display: flex !important;
    margin-right: 0;
    justify-content: flex-end;
}

.how-to-box.nalino-category {
    order: 2;
}

.how-to-box.nalino-category:nth-child(4) > video {
    width: 100%;
    height: 500px;
}



h1.nalino-main-title {
    text-shadow: 1px 1px 1px #f1e4de;
    color:#000;
}

.tutorials-toggles button {
    color: #000;
}

h3.cat-titel-center span {
    color: #000 !important;
    text-shadow: 1px 1px 1px #000;
    
        display:block;
}



    .tutorials-cover {
        position: relative;
        height: 450px;
        min-height: 450px;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
		 margin-left: unset !important;
    }
    .tutorials-cover::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(212, 165, 154, 0.7), rgba(245, 232, 224, 0.3));
        z-index: 1;
    }
    .cover-content {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 20px;
        max-width: 800px;
    }
    .page-title {
        font-family: 'Reem Kufi Fun', sans-serif;
        font-size: 48px;
        color: #fff;
        margin-bottom: 20px;
    }
    .tutorials-intro {
        font-family: 'Poppins', sans-serif;
        font-size: 21px;
        color: #fff;
        margin-bottom: 30px;
        line-height: 1.6;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    }

section#tutorials-section {
      margin-top: calc(var(--height-margin-px) - 64px);
}


.cover-content h1 {
    color: #ffffff !important;
}

.tutorials-toggles {
    padding: 10px 0px;
    background: #fff;
    border-radius: 50px;
    border: solid 1px #ca9588;
}

    .tutorials-toggles {
        display: flex;
        justify-content: space-around;
        gap: 15px;
        flex-wrap: wrap;
    }

    .tutorials-toggles button {
        font-family: 'Poppins', sans-serif;
        font-size: 18px;
        padding: 10px 20px;
        background: transparent;
        /* color: #fff; */
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: transform 0.3s, background 0.3s;
    }


 #site-header-cart > div.nalino > a > span > i {
    display: none;
}



section.tutorials-cover.section-wide {

  
  /* Start state for fade-bounce */
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  animation: bgZoom 15s ease-in-out;

  /* Run fade-bounce once (2.5s), then continuous zoom (15s) */
  animation: 
    bgFadeBounceIn 2.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
    bgZoom 15s ease-in-out 2.5s forwards;
}

/* Fade from black + bounce scale */
@keyframes bgFadeBounceIn {
  0% {
    opacity: 0;
    filter: brightness(0);
    transform: scale(1.04);
    background-size: 105%;
  }
  60% {
    opacity: 1;
    filter: brightness(0.5);
    transform: scale(1.02);
    background-size: 100%;
  }
  80% {
    transform: scale(1);
	  filter: brightness(1);
    background-size: 100.1%;
  }
  100% {
    transform: scale(1);
    background-size: 100%;
  }
}

/* Your original continuous zoom animation */
@keyframes bgZoom {
  0% {
    background-size: 100%;
  }
  50% {
    background-size: 103%;
  }
  100% {
    background-size: 105%;
  }
}





















/* body layout*/

  /* General Styles */
    body {
        background: linear-gradient(135deg, #f5e8e0, #fff);
        color: #333;
        font-family: 'Poppins', sans-serif;
        transition: all 0.3s;
    }

    body.dark-mode {
        background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
        color: #f5e8e0;
    }

    .nalino-container {
        max-width: 1302px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .nalino-container-group {
        padding: 60px 20px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 15px;
        margin-bottom: 40px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    .nalino-main-title {
        font-family: 'Reem Kufi Fun', cursive;
        font-size: 40px;
        color: #d4a59a;
        text-align: center;
        margin-bottom: 40px;
    }

    .cat-title-center {
        font-family: 'Reem Kufi Fun', cursive;
        font-size: 24px;
        color: #d4a59a;
        text-align: center;
        margin: 0;
    }

    .nalino-wrap-about {
        padding: 15px;
        text-align: center;
    }

 

    /* Video Grid Layout */
    .how-to-grid {
	display: flex;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    flex-direction: column-reverse;
    }

    .how-to-subgrid.three-videos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .how-to-featured {
        position: relative;
        overflow: hidden;
        border-radius: 10px;
    }

    .how-to-box {
        background: #fff;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(212, 165, 154, 0.2);
        transition: transform 0.3s ease;
    }

    .how-to-box:hover {
        transform: translateY(-5px);
    }

    .how-to-video {
        width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
    }

    .featured-video {
        height: 400px; /* Wide and prominent fourth video */
    }



    /* Responsive Design */
    @media (max-width: 768px) {
        .how-to-grid {
            grid-template-columns: 1fr;
        }

        .how-to-subgrid.three-videos {
            grid-template-columns: 1fr;
        }

        .how-to-featured .featured-video {
            height: 300px;
        }

        .how-to-video {
            height: 150px;
        }

        .nalino-container-group {
            padding: 30px 10px;
        }
    }

    /* Dark Mode */
    body.dark-mode .nalino-container-group {
        background: rgba(45, 45, 45, 0.9);
    }

    body.dark-mode .how-to-box {
        background: #2d2d2d;
        box-shadow: 0 4px 15px rgba(212, 165, 154, 0.3);
    }

    body.dark-mode .nalino-wrap-about p {
        color: #d1d5db;
    }