body {
    font-family: Arial, Ubuntu, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    background-size: 100% auto; /* Adjusted background size */
    background-image: url('/images/daytime-kids-search1.webp?ver1'); /* Add your image URL here */
    background-size: cover; /* Ensure the image covers the entire background */
    background-repeat: no-repeat; /* Prevent the background image from repeating */
    background-attachment: fixed; /* Fix the background image */
    background-position: top center; /* Center the background image */
    overflow-x: hidden;

 
}

.kids-h1 {
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    border: none;
}
.kids-h1 img {
    display: block;
}


p {
  margin-bottom: 15px;
  line-height: 2;
letter-spacing: 0.5px;
font-size: 20px;

}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


    .menu-wrapper {
        position: fixed;
        top: 5px;
        right: 5px;
        z-index: 9999;
    }

  .menu-icon {
    cursor: pointer;
    width: 50px; /* Default size */
    max-width: 100%;
    height: auto;
}
    .menu-content {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        background: #43CEC7;
        width: 280px;
        height: 100%;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        z-index: 10000;
        padding: 20px;
		text-align: left;
    }

    .menu-content.active {
        transform: translateX(0);
        display: block;
    }

    .menu-content .close-icon {
        cursor: pointer;
        width: 30px;
        float: right;
    }

    .background-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 9998;
    }

    .background-overlay.active {
        display: block;
    }

    .menu-list {
        list-style: none;
        padding: 0;
        margin-top: 20px;
    }

    .menu-list > li {
        margin: 20px 0;
    }

    .menu-list > li > a {
        text-decoration: none;
        color: #fff;
        font-size: 24px;
    }

    .submenu ul {
        display: none;
        margin-top: 14px;
        list-style: none;
        padding-left: 20px;
    }

.submenu ul.active {
    display: block;
}

    .submenu ul li a {
        font-size: 20px;
        color: #555;
    }


.menu-content a {
    text-decoration: none;
    color: #fff;
}

.menu-content a:hover {
    color: #ffd223;
}

.submenu ul li a {
    color: #fff;
    text-decoration: none;
}

.submenu ul li a:hover {
    color: #ffd223;
}
.submenu ul li {
    margin-bottom: 10px; /* Adjust the value as needed */
}


.bottom-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.bottom-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    color: white;
    background-color: #ff6f61;
    border: none;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Comic Sans MS', 'sans-serif';
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 80px; /* Adjust this value to set the space below the button */
}

.bottom-button:hover {
    background-color: #ff4c3b;
    transform: scale(1.05);
}

.bottom-button:active {
    background-color: #e04333;
    transform: scale(0.98);
}

.bottom-button:focus {
    outline: none;
}



@media (max-width: 700px) {
    body::after {
        display: none; /* Hide the image */
    }
}

@media (min-width: 701px) {
    body::after {
        background-image: url('/images/football.png'); /* Path to your image */
        background-size: contain; /* Adjust as needed */
        background-repeat: no-repeat;
        position: fixed;
        bottom: 47px;
        right: 3px;
        width: 52px; /* Adjust size as needed */
        height: 35px; /* Adjust size as needed */
        z-index: 999; /* Ensure it's above other content */
        display: block; /* Show the image */
        content: '';
    }
}


#search {
  text-align: center;
}

    body {
      font-family: Inter, Ubuntu, Helvetica, Arial, sans-serif; /* Adjust font family here if desired */
      font-size: 16px; /* Adjust font size here if desired */
    }
    h2 {
      margin-top: 20px;
line-height: 2;
color: #e67e22;

    }

body .gs-webResult.gs-result a.gs-title:visited, .gs-webResult.gs-result a.gs-title:visited b, .gs-imageResult a.gs-title:visited, .gs-imageResult a.gs-title:visited b {
    color: #fa6f57 !important;
}




#___gcse_0 .gsc-tabHeader.gsc-tabhActive, 
#___gcse_0 .gsc-refinementHeader.gsc-refinementhActive {
    color: #ffffff !important;
    border-color: #54c2e8 !important;
    background-color: #54c2e8 !important;
    font-size: 18px !important; /* Larger text for better readability */
    border-radius: 12px !important; /* Rounded corners for a playful look */
   
    padding: 10px 20px !important; /* More padding for a bold, friendly style */
    
    text-transform: capitalize !important; /* Make the text easier to read */
   
}



#___gcse_0 .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
    border-color: #54c2e8;
    background-color: #54c2e8;
    color: #ffffff;
	border-radius: 12px !important;
	
}

#___gcse_0 .gsc-results .gsc-cursor-box .gsc-cursor-page:not(.gsc-cursor-current-page) {
    cursor: pointer;
    color: #666;
    margin-right: 8px;
    display: inline;
    border-radius: 12px !important;
}






h3 {
margin-top: 20px;
line-height: 2;

}

body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh; /* Set the body height to the full viewport height */
    margin: 0; 
}

.wrapper {
    max-width: 1200px; /* Adjust the maximum width of your website */
    width: 100%; /* Make sure the wrapper spans the full width of its container */
background-color: transparent;

}

#___gcse_0 .gsc-webResult .gsc-result {
    border-bottom: 0px solid transparent;
    word-break: break-word;
background-color: transparent;
}

#___gcse_0 .gsc-webResult.gsc-result {
    border: none;
}

#___gcse_0 .gsc-webResult.gsc-result, .gsc-results .gsc-imageResult {
    border-color: transparent !important;
    background-color: transparent !important;
	border-bottom: 1px solid #ebebeb !important;
}

body .gsc-webResult.gsc-result, .gsc-results .gsc-imageResult {
    border-color: transparent !important;
    background-color: transparent !important;
}

#___gcse_0 .gsc-tabHeader.gsc-tabhInactive, .gsc-refinementHeader.gsc-refinementhInactive {
    color: #666666;
    border-color: #666666;
    background-color: transparent !important;
	font-size: 18px !important; /* Larger text for better readability */
	
}

#___gcse_0 .gsc-tabsArea {
    clear: both;
    margin-top: 6px;
    border-bottom: none !important;
}

#___gcse_0 .gsc-refinementsArea {
    clear: both;
    margin: 6px 0 4px 0;
    border-bottom: none !important;
}


.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
background-color: transparent;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #fa6f57;
font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
text-transform: uppercase;
 
}

.title a {
    text-decoration: none; /* Remove underline from the link */
    color: inherit; /* Inherit the color from the parent element */
    /* Add any other styles for the link here */
}

.search-prompt {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 20px;
font-weight: 570;
}

* {
    margin: 0;
   
}


        .h1-wrapper {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin: 0px;
        }

        .h1-wrapper h1 {
            margin: 0;
            font-size: 24px;
        }
		



        .small-search-container {
            flex-shrink: 0;
            margin-top: 10px;
        }

        .small-search-box {
            position: relative;
            width: 100%;
            max-width: 700px;
        }

        .small-search-box input[type="text"] {
            width: 100%;
            height: 60px;
            padding: 0 40px 0 10px;
            font-size: 18px;
            font-family: GeoBrandBold, Arial, sans-serif;
            border: 5px solid #35b9f5;
            border-radius: 4px;
            outline: none;
            box-sizing: border-box;
			  text-align: left !important; /* Force text alignment to the left */
    direction: ltr !important;  /* Ensure left-to-right text flow */
        }
		

        .small-search-box button {
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
            width: 30px;
            height: 40px;
            border: none;
            background: none;
            padding: 0;
            cursor: pointer;
        }

        .small-search-box button img {
            width: 20px;
            height: 20px;
        }
		
		
		
		
.h1-wrapper h1 {
    margin: 0; /* Remove margin to avoid layout issues */
    font-size: 2em; /* Reset the font size to your desired value */
    font-weight: bold; /* Reset the font weight */
    font-family: Arial, sans-serif; /* Specify the font family explicitly */
    line-height: 1.2; /* Set an appropriate line height */
	color: #262d8f;
}



/* Adjustments to search results layout */
.gcse-search-result {
    min-width: 300px;
    overflow: hidden;
    min-height: 200px;
    height: auto !important;
    width: 100% !important;
    float: left;
    border: none;
}

body .gcsc-control-cse {
    padding: 0px;
    background-color: transparent;
    border: none;
}

body .gcsc-find-more-on-google {
    display: none;
}



#___gcse_0 .gsc-refinementHeader {
    position: static;
    margin-right: 2px;
    padding: 2px 8px 0 20px;
}




#___gcse_0 .gs-webResult .gs-snippet {
    font-size: 15px;
    margin-top: 8px;
    font-weight: normal !important;

}
#___gcse_0 .gcsc-more-maybe-branding-box {
    border: none;
    border-radius: 0px;
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

.gsc-cursor-page {
        font-size: 1.1em;
        padding: 11px 22px;
        border: 2px solid #fa6f57;
	float: left;
	font-weight:bold;
	
    }




#___gcse_0 .gs-webResult.gs-result a.gs-title:visited, .gs-webResult.gs-result a.gs-title:visited b, .gs-imageResult a.gs-title:visited, .gs-imageResult a.gs-title:visited b {
    color: #fa6f57;
}



#___gcse_0 .gs-webResult .gs-snippet {
    font-size: 20px;
    margin-top: 8px;
    font-weight: normal !important;
    letter-spacing: 0.8px;
    
    padding-bottom: 15px;

}

.gs-webResult.gs-result a.gs-title:link, .gs-webResult.gs-result a.gs-title:link b, .gs-imageResult a.gs-title:link, .gs-imageResult a.gs-title:link b {
    color: #009933;
font-size: 20px;

}

.gs-webResult div.gs-visibleUrl {
    color: #F84608;
font-size: 20px;

}


/* Original styles */
body .gsc-search-button-v2 {
    font-size: 0;
    padding: 6px 12px; /* Adjusted padding */
    width: auto;
    vertical-align: middle;
    border: 1px solid #666;
    border-radius: 2px;
    border-color: #3079ed;
    background-color: #069c64;
    background-image: linear-gradient(top, #4d90fe, #4787ed);
    border: 0 none;
    background-image: -webkit-linear-gradient(top, #069c64, #3c8703);
    background-image: -moz-linear-gradient(top, #069c64, #3c8703);
    background-image: -ms-linear-gradient(top, #069c64, #3c8703);
    background-image: -o-linear-gradient(top, #069c64, #3c8703);
    background-image: linear-gradient(to bottom, #069c64, #3c8703);
    -webkit-border-radius: 19px;
    -moz-border-radius: 19px;
    border-radius: 19px;
    font-family: Inter, Ubuntu, Helvetica, Arial, sans-serif;
    color: #ffffff;
    font-size: 20px; /* Adjusted font size */
    padding: 6px 8px; /* Adjusted padding */
    text-decoration: none;
    width: 50px; /* Adjusted width */
    height: 40px; /* Adjusted height */
    margin-left: 8px;
}

/* Hover styles */
body .gsc-search-button-v2:hover {
    background-color: #3c8703;
    cursor: pointer;
}

body .gsc-control-cse {
    border: none;
padding: 15px;

}
body .gsc-control-cse, .gsc-control-cse .gsc-table-result {
    width: auto;
    font-family: Inter, Ubuntu, Helvetica, Arial, sans-serif;
font-size: 13px;
background-color: transparent !important;
   
}



.gs-bidi-start-align {
    text-align: left;
font-size: 16px;
font-family: Inter, Ubuntu, Helvetica, Arial, sans-serif;
}
body .gcsc-more-maybe-branding-box {
    border: none;
    border-radius: 0px;
    margin: 0px;
    padding: 0px;
    display: none;
}

 .gsc-branding-img, .gsc-branding-img-noclear, .gcsc-branding-img, .gcsc-branding-img-noclear {
    margin: 0 0 0 0;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    display: none;
}


#___gcse_0 .gsc-input-box {
    border: 2px solid #009933; /* Set border color to green and increase border width */
    border-radius: 10px; /* Add rounded corners */
    background: #fff; /* Set background color to white */
    padding: 10px 20px; /* Add padding for spacing */
    font-size: 16px; /* Adjust font size */

}

body .gsc-control-cse.gsc-control-cse-en {
    padding: 0px;

}


.top-fixed-footer {
  background-color: transparent; /* Set background color to transparent */
  background-image: url('/images/Kids-Search-Grass.png'); /* Set background image */
  background-repeat: repeat-x; /* Repeat the image horizontally */
  background-size: auto 39px; /* Ensure the image height is maintained and only width repeats 
  min-height: 40px; /* Adjusted to match the background image height */
  color: #ffffff; /* White text color */
  text-align: center; /* Center the content horizontally */
  bottom: 40px; /* Set the bottom position above the existing footer */
  left: 0; /* Set the left position to 0 (full width) */
  width: 100%; /* Set the width to 100% */
  min-height: 52px; /* Set minimum height to ensure visibility of the background image */
  position: fixed; /* Fixed positioning */
  z-index: 1; /* Ensure the top footer is above the existing footer */
  border: none !important;  /* Remove border */
  margin: 0 !important; /* Remove any margins */
  padding: 0 !important;  /* Remove any padding */




}


.footer {
  background-color: #007a4d; /* Background color */
  color: #ffffff; /* White text color */
  text-align: center; /* Center the content horizontally */
  min-height: 53px; 
  bottom: 0; /* Set the bottom position to 0 */
  left: 0; /* Set the left position to 0 (full width) */
  width: 100%; /* Set the width to 100% */
  position: fixed; /* Fixed positioning */
  z-index: 0; /* Ensure the existing footer is below the top footer */
  border: none; /* Remove border */
  margin: 0 !important; /* Remove any margins */
  padding: 0 !important;  /* Remove any padding */

  

}

.footer .copyright img {
  vertical-align: middle; /* Align the image vertically */
  max-width: 100%; /* Ensure the image is responsive */
  height: auto; /* Maintain aspect ratio */
}

.footer .copyright {
  margin: 0; /* Remove default margin */
  font-family: Inter, Ubuntu, Helvetica, Arial, sans-serif; /* Specific font for the footer */
  line-height: 1.5rem; /* Adjust line-height for readability */
  font-size: 14px; /* Use a smaller font size for the footer */
  color: #ffffff; /* Ensure text is white */
  text-align: center; /* Center the text */
}


.container {
  max-width: 1000px; /* Limit the container width for better responsiveness */
  margin: 0 auto; /* Center the container horizontally */
border: none;
}

  .copyright {
    margin: 0; /* Remove default margin */
    font-family: Inter, Ubuntu, Helvetica, Arial, sans-serif;
    line-height: 1rem;
font-size:17px;
  }

  .privacy {
    text-decoration: none; /* Remove underline from the link */
    color: #fff;
font-size:17px;
  }

li {
           
letter-spacing: 0.5px;
font-size: 20px;



        }

a.privacy:hover {
    font-weight: bold;
}

 .top-bar {
    height: 5px;
    width: 100%;
    background-image: url('/bar.png'); /* Path to your background image */
    background-size: cover;
    background-repeat: repeat-x;
    position: fixed;
    z-index: 999;
    top: 0;
}

.wrapper {
    padding-top: 5px; /* Adjust to match the height of the top bar */

flex: 1;

}

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


body .responsive-image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* Default ratio (replace with your image's ratio) */
}

/* Optional: Add this for modern browsers */
@supports (aspect-ratio: 1) {
    body .responsive-image {
        aspect-ratio: auto; /* Uses width/height attributes if available */
    }
}


.responsive-image {
  display: block;
  max-width: 100%; /* Allows image to be responsive, but won't stretch beyond the container */
  aspect-ratio: 16 / 9;
  object-fit: contain;
  margin: 0 auto;
  background: transparent;
height: auto; 
}






body .horizontal-line {
  border: none;
  border-top: 1px solid #cccccc; /* Change color as needed */
  width: 100%;
}


    /* Styling for the search form */
    .search-form {
        display: flex; /* Use flexbox layout */
        align-items: center; /* Align items vertically */
        max-width: 900px; /* Maximum width of the search form */
        margin: 0 auto; /* Center the search form horizontally */
        font-size: 16px; /* Set font size to 16 */
        font-family: Arial, sans-serif; /* Set font family to Arial */
        color: #000000; /* Set font color to black */
    }

    /* Styling for the search input */
    .search-form #search {
        flex: 1; /* Allow the search input to grow and fill available space */
        border: 4px solid #069c64 !important; /* Green border */
        border-radius: 15px; /* Rounded corners */
        padding: 5px; /* Add some padding */
        width: 100%; /* Full width by default */
        max-width: 800px; /* Maximum width */
        height: 50px; /* Adjust height */
		font-weight: 700 !important;
		color: #5c5c5c;
      

    }

.search-form #search:focus {
    border-color: #069c64 !important; /* Change border color to black on focus */
outline: none;

}
    /* Styling for the search button */
    .search-form .search-button {
        background-color: #007a4d; /* Same green background as input */
        color: white; /* White text */
        border: none; /* No border */
        border-radius: 15px; /* Rounded corners */
        padding: 5px 25px; /* Add padding */
        cursor: pointer; /* Show pointer on hover */
        height: 65px; /* Adjust height */
        margin-left: 10px; /* Add margin to separate button from input */
  font-size: 16px; /* Set font size to 16 pixels */
  font-family: Arial, sans-serif; /* Use Arial font, fallback to sans-serif */

    }

  .centered-container {
    text-align: center;
   display: block;
    margin: 0 auto;
    width: 100%;
    text-align: center;
margin-top: 10px; /* Adjust the value as needed */
  
  }



  /* Making the image responsive */



/* Media query for smaller screen sizes */
@media screen and (max-width: 768px) {
    body .gs-result .gs-image, .gs-result .gs-promotion-image {
        max-width: 200px; /* Adjust the max-width for smaller screens */
    }
}

}
/* Modal (Search Box) */
.kids-search-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Positioning the modal above the image */
  bottom: 80px; /* Position the modal slightly above the bottom of the viewport */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Center the modal horizontally */
  z-index: 100; /* Ensure it's above other elements */
  background-color: #f9f9f9; /* Light background color */
  padding: 20px;
  border-radius: 20px; /* Rounded corners */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Shadow effect */
  width: 80%; /* Responsive width */
  max-width: 500px; /* Maximum width */
}

/* Search Input Container */
.kids-search-container {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between the input and button */
  justify-content: center; 
}

/* Search Input */
.kids-search-container input.kids-search-input {
  flex: 1; /* Grow to fill available space */
  padding: 15px;
  font-size: 18px; /* Kid-friendly font size */
  border: 2px solid #ffcc00; /* Bright yellow border */
  border-radius: 10px; /* Rounded edges */
  background-color: #fff3cd; /* Light yellow background */
  box-sizing: border-box; /* Ensure padding doesn't affect width */
  font-family: 'Arial', cursive, sans-serif; /* Kid-friendly font */
  height: 50px; /* Same height as button */
  outline: none; /* Remove focus border */
}

/* Input field style on focus */
.kids-search-container input.kids-search-input:focus {
}

/* Go Button */
.kids-search-container button.kids-search-button {
  padding: 0 20px; /* Padding inside the button */
  border: none; /* No border */
  background-color: #ff6f61; /* Fun color for the button */
  color: white; /* White text */
  font-size: 16px; /* Match the input font size */
  font-family: 'Arial', cursive, sans-serif; /* Kid-friendly font */
  border-radius: 10px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  height: 50px; /* Same height as input */
  box-sizing: border-box; /* Ensure padding doesn't affect the height */
  outline: none; /* Remove focus border */
  white-space: nowrap; /* Prevent text from wrapping */
  max-width: 100px;
}

/* Go button hover effect */
.kids-search-container button.kids-search-button:hover {
  background-color: #ff4c41; /* Darker red on hover */
}

/* Image that triggers the modal */
#kids-search-icon {
  cursor: pointer;
  width: 28px; /* Adjust size as needed */
  height: 28px; /* Maintain aspect ratio */
  
  margin: 0 auto; /* Center the image */
}

/* Responsive Design */
@media (max-width: 600px) {
  .kids-search-modal {
    width: 90%; /* Modal adjusts for small screens */
  }

  .kids-search-container input.kids-search-input {
    font-size: 16px; /* Adjust font size */
    padding: 10px; /* Smaller padding */
  }

  .kids-search-container button.kids-search-button {
    padding: 0 10px; /* Smaller padding for button */
    font-size: 14px; /* Smaller font size */
  }
}





.gs-promotion-image-box, 
.gs-image-box.gs-web-image-box.gs-web-image-box-portrait, 
.gs-image-box.gs-web-image-box.gs-web-image-box-landscape {
    float: left !important; /* Images float left */
    margin-right: 20px; /* Increased spacing for better layout */
    margin-left: 0 !important; /* Reset any left margin */
    width: 250px !important; /* Larger size for better visibility */
    height: auto !important; /* Maintain aspect ratio */
}

.gs-web-image-box, 
.gs-promotion-image-box {
    float: left !important; /* Consistent left alignment */
    padding: 10px 15px 10px 0 !important; /* Increased padding for spacing */
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    width: 250px !important; /* Uniform larger size */
}

.gs-promotion-image-box img, 
.gs-image-box.gs-web-image-box.gs-web-image-box-portrait img, 
.gs-image-box.gs-web-image-box.gs-web-image-box-landscape img {
    max-width: 100% !important; /* Ensures images fit their container */
    width: 100% !important; /* Make the image width fill its container */
    max-height: 300px !important; /* Maintain aspect ratio */
    border-radius: 15px; /* More rounded corners for a friendly look */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow for visual appeal */
}

/* Media Query for Small Screens (Mobile) */
@media screen and (max-width: 600px) {
    .gs-promotion-image-box, 
    .gs-image-box.gs-web-image-box.gs-web-image-box-portrait, 
    .gs-image-box.gs-web-image-box.gs-web-image-box-landscape,
    .gs-web-image-box, 
    .gs-promotion-image-box {
        width: 100% !important; /* Images and containers take up the full width on smaller screens */
        float: none !important; /* Remove float to stack elements vertically */
        margin-right: 0 !important; /* Remove margin */
        margin-bottom: 15px !important; /* Add some space between images and text */
    }

    .gs-promotion-image-box img, 
    .gs-image-box.gs-web-image-box.gs-web-image-box-portrait img, 
    .gs-image-box.gs-web-image-box.gs-web-image-box-landscape img {
        max-width: 100% !important; /* Prevent images from exceeding container width */
        width: 100% !important; /* Make images fit container width */
        max-height: 300px !important; /* Maintain aspect ratio */
    }
}


/* Overriding Google styles */
.gs-promotion-image-box img.gs-promotion-image,
.gs-web-image-box-portrait img.gs-image,
.gs-web-image-box-landscape img.gs-image {
    height: 100% !important;  /* Use !important to override existing styles */
}





.gs-promotion .gs-snippet, .gs-promotion .gs-title .gs-promotion-title-right, .gs-promotion .gs-title .gs-promotion-title-right * {
    color: #333333;
    font-size: 20px !important;
}


.gs-promotion a.gs-title:visited, .gs-promotion a.gs-title:visited *, .gs-promotion .gs-snippet a:visited {
    color: #1152cc;
	font-size: 20px !important;
}


.gs-promotion .gs-visibleUrl, .gs-promotion .gs-visibleUrl-short {
    color: #725f7d;
	font-size: 20px !important;
}


.gsc-control-cse .gs-spelling, .gsc-control-cse .gs-result .gs-title, .gsc-control-cse .gs-result .gs-title * {
    font-size: 20px !important;
	font-weight: 500;
}


 .article-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      grid-gap: 20px;
    }
 .article-card {
      background-color: #f5f5f5;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: all 0.2s ease-in-out;
    }
 .article-card:hover {
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transform: translateY(-2px);
    }
 .article-card h2 {
      margin-top: 0;
      margin-bottom: 10px;
    }
 .article-card a {
      text-decoration: none;
      color: black;
    }
.article-card a:hover {
      color: #007bff;
    }
 .article-card p {
      font-size: 0.8em;
      color: gray;
      line-height: 1.5;
    }
.article-card-image {
      width: 100%;
      height: 150px;
      object-fit: cover;
      margin-bottom: 10px;
    }

.inqueue-wrapper {
  font-family: 'Arial', 'Baloo 2', cursive, sans-serif;
  background: transparent;
  padding: 20px;
}

.inqueue-cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.inqueue-card {
  background: #f3e8ff;
  border-radius: 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  text-decoration: none;
  color: #333;
  width: 250px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inqueue-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}

.inqueue-card-emoji {
  font-size: 48px;
  text-align: center;
  margin-bottom: 10px;
}

.inqueue-card-title {
  font-size: 20px;
  text-align: center;
  margin: 6px 0 4px;
  color: #ff6f61;
  line-height: 1.2; /* tighter line spacing */
  word-wrap: break-word; /* ensures long words wrap properly */
}

.inqueue-card-snippet {
  font-size: 14px;
  text-align: center;
  color: #555;
  line-height: 1.3; /* keeps multi-line snippets close together */
  margin: 0 10px 8px; /* consistent inner spacing */
  word-wrap: break-word;
  max-height: 2.6em; /* keeps two lines max if needed */
  overflow: hidden;
}



/* ============================================
   KidsSearch Trivia Styles
   Add this section to your existing style.css
   ============================================ */

.kts-trivia-question { 
    font-size: 22px; 
    font-weight: bold; 
    color: #0055cc; 
    margin: 20px 0; 
}

.kts-trivia-options { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    margin-bottom: 15px; 
}

.kts-trivia-options button { 
    background-color: #ffcc00; 
    border: none; 
    border-radius: 8px; 
    padding: 10px 15px; 
    font-size: 18px; 
    cursor: pointer; 
    transition: background-color 0.3s ease;
    text-align: left;
}

.kts-trivia-options button:hover { 
    background-color: #ff9900; 
}

.kts-trivia-options button:disabled {
    cursor: not-allowed;
}

.kts-trivia-result { 
    font-size: 20px; 
    font-weight: bold; 
    margin-top: 10px; 
}

.kts-correct { 
    color: green; 
}

.kts-wrong { 
    color: red; 
}

.kts-next-question { 
    display: inline-block; 
    margin-top: 20px; 
    padding: 10px 18px; 
    background-color: #00cc66; 
    color: white; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: bold; 
}

.kts-next-question:hover { 
    background-color: #009944; 
}

.kts-category-badge { 
    display: inline-block; 
    padding: 5px 12px; 
    background-color: #e0e0e0; 
    border-radius: 15px; 
    font-size: 14px; 
    margin-bottom: 15px; 
    color: #333; 
}

.kts-category-badge a {
    color: #0055cc;
    text-decoration: none;
}

.kts-category-badge a:hover {
    text-decoration: underline;
}

/* ============================================
   KidsSearch Trivia Progress & Navigation
   ============================================ */

/* Progress Bar Container */
.kts-progress-bar-container {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.kts-progress-text {
    font-size: 16px;
    font-weight: bold;
    color: #495057;
    text-align: center;
    margin-bottom: 10px;
}

.kts-progress-bar {
    width: 100%;
    height: 25px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.kts-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #81C784 100%);
    transition: width 0.5s ease;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

/* Navigation Buttons Container */
.kts-navigation-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
    justify-content: center;
}

/* Back to Categories Button */
.kts-back-to-categories {
    display: inline-block;
    padding: 12px 24px;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kts-back-to-categories:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Back to Category Index Button */
.kts-back-to-category {
    display: inline-block;
    padding: 12px 24px;
    background-color: #17a2b8;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kts-back-to-category:hover {
    background-color: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .kts-navigation-buttons {
        flex-direction: column;
    }
    
    .kts-back-to-categories,
    .kts-back-to-category {
        width: 100%;
        text-align: center;
    }
    
    .kts-progress-text {
        font-size: 14px;
    }
    
    .kts-progress-bar {
        height: 20px;
    }
}

.trivia-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 40px;
}
.trivia-hero h1 {
    font-size: 42px;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.trivia-hero p {
    font-size: 20px;
    margin: 0;
    opacity: 0.95;
}
.stats-banner {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}
.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 3px solid;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}
.category-emoji {
    font-size: 64px;
    display: block;
    margin-bottom: 15px;
}
.category-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
.category-count {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}
.category-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: white;
    color: inherit;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid;
}


/**
 * Memory Game CSS - All classes prefixed with mg- to avoid conflicts
 * Responsive design for mobile and desktop
 */

/* Game Description */
.mg-game-description {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* Breadcrumbs */
.mg-breadcrumbs {
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 0.95em;
    color: #666;
}

.mg-breadcrumbs a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s;
}

.mg-breadcrumbs a:hover {
    color: #45a049;
    text-decoration: underline;
}

.mg-breadcrumbs span {
    color: #999;
}

/* Game Container */
.mg-game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Game Header */
.mg-game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.mg-move-counter-container {
    background: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mg-counter-label {
    font-weight: bold;
    color: #333;
    margin-right: 8px;
}

.mg-counter-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #4CAF50;
}

/* Game Button */
.mg-game-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.mg-game-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.mg-game-btn:active {
    transform: translateY(0);
}

/* Game Board */
.mg-game-board {
    display: grid;
    gap: 10px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    max-width: 100%;
    margin: 0 auto;
}

/* Memory Cards */
.memory-card {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.memory-card:hover {
    transform: scale(1.05);
}

.memory-card.flipped {
    transform: rotateY(180deg);
}

.memory-card.matched {
    cursor: default;
    pointer-events: none;
    transform: rotateY(180deg);
}

.memory-card.matched .card-back {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

/* Card Faces */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    border-radius: 10px;
    font-size: 2em;
}

.card-front {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
    font-size: 3em;
}

.card-back {
    background: #fff;
    transform: rotateY(180deg);
    font-size: 2.5em;
}

/* Win Modal */
.mg-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}

.mg-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: mg-modalSlideIn 0.3s ease-out;
}

@keyframes mg-modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mg-modal-content h2 {
    color: #4CAF50;
    margin-bottom: 20px;
    font-size: 2em;
}

.mg-modal-content p {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 25px;
}

#final-moves {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2em;
}

/* Related Games Section */
.mg-related-games {
    margin-top: 40px;
    padding: 30px 20px;
    background: #f5f5f5;
    border-radius: 15px;
}

.mg-related-games h3 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.mg-game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.mg-game-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mg-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.mg-card-emoji {
    font-size: 4em;
    margin-bottom: 15px;
}

.mg-card-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.mg-card-difficulty {
    color: #4CAF50;
    font-size: 0.9em;
    text-transform: capitalize;
}

/* Category Index Cards */
.mg-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}

.mg-category-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mg-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.mg-category-emoji {
    font-size: 5em;
    margin-bottom: 15px;
}

.mg-category-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.mg-category-desc {
    font-size: 0.95em;
    color: #666;
    line-height: 1.4;
}

/* Difficulty Buttons */
.mg-difficulty-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.mg-difficulty-btn {
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
    display: inline-block;
}

.mg-difficulty-btn.mg-easy {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.mg-difficulty-btn.mg-medium {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.mg-difficulty-btn.mg-hard {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.mg-difficulty-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Main Index Intro */
.mg-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.mg-intro h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.mg-intro p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mg-game-board {
        gap: 8px;
        padding: 15px;
    }
    
    .card-front,
    .card-back {
        font-size: 1.5em;
    }
    
    .card-front {
        font-size: 2em;
    }
    
    .mg-game-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .mg-move-counter-container {
        text-align: center;
    }
    
    .mg-game-btn {
        width: 100%;
    }
    
    .mg-modal-content {
        padding: 30px 20px;
    }
    
    .mg-modal-content h2 {
        font-size: 1.5em;
    }
    
    .mg-modal-content p {
        font-size: 1.1em;
    }
    
    .mg-game-cards {
        grid-template-columns: 1fr;
    }
    
    .mg-category-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .mg-game-board {
        gap: 5px;
        padding: 10px;
    }
    
    .card-front,
    .card-back {
        font-size: 1.2em;
    }
    
    .card-front {
        font-size: 1.5em;
    }
    
    .mg-counter-value {
        font-size: 1.2em;
    }
    
    .mg-card-emoji,
    .mg-category-emoji {
        font-size: 3em;
    }
}



.menu-content {
    max-height: 100vh;        /* lock height to screen */
    overflow-y: auto;         /* allow vertical scroll */
}
.submenu ul {
    max-height: 200px;        /* optional: limit submenu height */
    overflow-y: auto;         /* scroll if too many items */
}


.menu-content,
.submenu ul {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}


.kids-buttons-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 30px auto;
  max-width: 900px;
}

.kids-btn {
  display: inline-block;
  padding: 14px 22px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  min-width: 150px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Hover animations (subtle + kid friendly) */
.kids-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Colour themes matching your Kids Search logo */
.kids-btn.word {
  background-color: #FF8A65; /* soft orange */
}

.kids-btn.trivia {
  background-color: #9575CD; /* soft purple */
}

.kids-btn.memory {
  background-color: #4FC3F7; /* soft sky blue */
}

.kids-btn.tools {
  background-color: #81C784; /* soft green */
}

/* Mobile-friendly */
@media (max-width: 600px) {
  .kids-btn {
    min-width: 100%;
    padding: 16px;
    font-size: 1.1rem;
  }
}


@media (max-width: 600px) {
  .kids-buttons-main {
    gap: 4px;
  }

  .kids-btn {
    min-width: 100%;
    padding: 16px;
    font-size: 1.1rem;
  }
}


