/* 
Theme Name: IFYA-Theme
Theme URI: https://internationalfrozenyogurt.com/
Description: Child theme for internationalfrozenyogurt.com built. Includes custom styling, Post Types, and performance tweaks tailored for IFYA.
Author: Webbester Studios
Author URI: https://webbester.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/



/* ----------------------------------------------------------
   Custom Reset Overrides
   Description: Adjusts or replaces specific reset.css rules 
   from the Hello Elementor theme for better consistency with 
   the IFYA child theme’s design.
---------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600;700&family=Lato:wght@300;400;700;900&display=swap");

/* Font stacks */
:root{
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
}


a {
    background-color: transparent;
    color: #2e9c1c;
    text-decoration: none!important;
}

a:hover {
    background-color: transparent;
    color: #68d94c;
    text-decoration: none;
}
/* ----------------------------------------------------------
   End of Custom Reset Overrides
*/




/* Elementor Specific designs default: blue */
.circle-img{
  width:90px !important;
  aspect-ratio:1/1 !important;     /* force square */
  border-radius:50% !important;
  background:#50bbe9 !important;
  display:inline-grid !important;
  place-items:center !important;
  padding:0 !important;
  margin:auto;
  flex:0 0 auto !important;        /* stop flex grow/shrink */
  align-self:center !important;     /* stop cross-axis stretch */
}

.circle-img img{
  width:60px !important;
  height:60px !important;           /* make the icon square */
  display:block !important;
  border-radius:50% !important;
  background:inherit !important;
  border:2px solid #fff !important;
  object-fit:contain;
}

/* green variant */
.circle-img.green{ background:#52cc2f !important; }

.elementor-element.elementor-element-8f8d45c.e-grid.e-con-full.wpr-particle-no.wpr-jarallax-no.wpr-parallax-no.wpr-sticky-section-no.e-con.e-child {
  margin: 60px 0px;
  padding: 0px 0px;
}

/* Outer white circle with blue ring + shadow */
.sup-img,
.sup-img .elementor-widget-container{
  background:#fff;
  border-radius:50%;
  border:2px solid #50bbe9;        /* was border-left */
  width:470px;
  aspect-ratio:1/1;                 /* perfect circle */
  display:grid;
  place-items:center;
  margin:auto;
  box-shadow:0 5px 10px #757575;
  margin-left:0;
}

/* Inner image ring */
.sup-img img,
.sup-img .elementor-widget-container img{
  background:#fff;
  border-radius:50%;
  border:4px solid #50bbe9;
  width:440px;                      /* keep image inside circle */
  height:auto;
}
/* keep image inside circle 
.sup-img .elementor-widget-container img{
  background:#fff;
  border-radius:50%;
  border:4px solid #50bbe9;
  width:440px;                      
  height:auto;
}*/

.news-mail input {
  border-radius: 50px;
  border: none;
  padding: 10px 20px;
  height: 54px;
  width: 30%;
  margin: 0px 5px;
}

input.btn.learn-btn {
  background-color: #ffdd37;
  font-family: "Josefin Sans", Sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  fill: #000000;
  color: #000000;
  border-radius: 50px 50px 50px 50px;
  box-shadow: 3px 5px 10px 0px
    rgba(145.45625, 142.6103668478261, 142.6103668478261, 0.5);
  padding: 11px 30px 11px 30px;
  height: auto;
}

body:not(.rtl) .elementor-14 .elementor-element.elementor-element-d061b54 {
  left: 0px;
  right: 0;
}

body:not(.rtl) .elementor-10 .elementor-element.elementor-element-38005b5 {
  left: 0px;
  right: 0px;
}

.news-mail {
  text-align: center;
}

figure.swiper-slide-inner img {
  text-align: center;
  margin: auto;
  vertical-align: middle;
  align-content: center;
}

.elementor-element-b2f8865 {
  display: none;
}

.elementor-element .swiper .elementor-swiper-button svg {
  fill: #fff !important;
  height: 30px !important;
  width: 30px !important;
  background: #e0e0e0 !important;
  border-radius: 50% !important;
  padding: 4px !important;
}

.elementor-swiper-button.elementor-swiper-button-prev {
  right: 45px !important;
  left: auto !important;
  top: -110% !important;
}

.elementor-swiper-button.elementor-swiper-button-next {
  right: 0px !important;
  left: auto !important;
  top: -110% !important;
}

.elementor-element .swiper .elementor-swiper-button svg:hover {
  background: #50bbe9 !important;
}

.elementor-14
  .elementor-element.elementor-element-c76876d:not(
    .elementor-motion-effects-element-type-background
  ),
.elementor-14
  .elementor-element.elementor-element-c76876d
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer {
  background-position: 570px;
}

footer .premium-bullet-list-wrapper {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #fff;
  vertical-align: middle;
  align-content: center;
  align-items: center;
  align-self: center;
  text-align: center;
  padding: 5px;
}

footer .premium-drawable-icon svg {
  border-radius: 0px !important;
  background-color: transparent !important;
}

.elementor-10
  .elementor-element.elementor-element-e5058ba
  .premium-bullet-list-wrapper
  svg,
.elementor-10
  .elementor-element.elementor-element-e5058ba
  .premium-bullet-list-wrapper
  img {
  width: 17px !important;
  height: 17px !important;
}

.elementor-element.elementor-element-a685679 {
  display: none;
}

/* ============================= */
/*     Responsive Breakpoints    */
/*   -------------------------   */
/*   Define media queries here   */
/*     for adaptive layouts      */
/* ============================= */
@media screen and (max-width: 3840px) {
  .elementor-14
    .elementor-element.elementor-element-c76876d:not(
      .elementor-motion-effects-element-type-background
    ),
  .elementor-14
    .elementor-element.elementor-element-c76876d
    > .elementor-motion-effects-container
    > .elementor-motion-effects-layer {
    background-position: 280px !important;
  }
}

@media screen and (max-width: 1990px) {
  .elementor-14
    .elementor-element.elementor-element-c76876d:not(
      .elementor-motion-effects-element-type-background
    ),
  .elementor-14
    .elementor-element.elementor-element-c76876d
    > .elementor-motion-effects-container
    > .elementor-motion-effects-layer {
    background-position: center left !important;
  }
}

@media screen and (max-width: 1279px) {
  ul#menu-1-15416173 li a {
    padding: 25px 14px;
    
  }

  .elementor-element.elementor-element-1c6c46c {
    margin-top: 40px;
  }

  .header-top {
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
  }

  .header-logo {
    position: absolute;
    left: 0;
    right: 0;
    top: -65px;
  }

  .elementor-element.elementor-element-84cb23c {
    margin-left: 20px;
  }

  .elementor-element.elementor-element-ca95cb9 {
    margin-top: 10px;
    margin-left: 20px;
  }

  .elementor-element.elementor-element-1c6c46c {
    margin-left: 30px;
  }

  .elementor-element.elementor-element-0fadc2f {
    margin-top: 40px;
  }
}

@media screen and (max-width: 1180px) {
  .elementor-element.elementor-element-84cb23c {
    margin-left: 30px;
    margin-top: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .elementor-element.elementor-element-1c6c46c {
    margin-top: -10px !important;
  }

  .elementor-element.elementor-element-84cb23c {
    margin-left: 30px;
    margin-top: 40px;
  }

  .elementor-element.elementor-element-1c6c46c {
    margin-left: 30px;
    margin-top: 0px;
  }

  .sup-img .elementor-widget-container {
    background: #fff;
    border-radius: 50%;
    border: 0px solid #50bbe9;
    width: 310px;
    height: 310px !important;
    border-radius: 50% !important;
    align-content: center;
  }

  ul#menu-1-13dcd72 li a {
    padding: 25px 14px;
  }
}

@media screen and (max-width: 1081px) {
  #desktop-main-menu {
    margin-top: 0px;
  }

  .header-logo {
    position: absolute;
    left: 0;
    right: 0;
    top: -75px;
    width: 150px;
    height: 150px !important;
    border-radius: 50% !important;
    align-content: center;
    margin: auto;
  }

  ul#menu-1-15416173 li a,ul#menu-1-3233b948 li a {
  font-size: 14px !important ;
  }
}

@media screen and (max-width: 1038px) {
  .header-logo {
    position: absolute;
    left: 0;
    right: 0;
    top: -75px;
    width: 130px;
    height: 130px !important;
    border-radius: 50% !important;
    align-content: center;
    margin: auto;
  }

  ul#menu-1-15416173 li a,ul#menu-1-3233b948 li a {
  font-size: 12px !important ;
  }
}

@media screen and (max-width: 949px) {
  .header-logo {
    position: absolute;
    left: 0;
    right: 0;
    top: -75px;
    width: 120px;
    height: 120px !important;
    border-radius: 50% !important;
    align-content: center;
    margin: auto;
  }

  ul#menu-1-15416173 li a,ul#menu-1-3233b948 li a {
  font-size: 10px !important ;
  }
}

@media screen and (max-width: 900px) {
  ul#menu-1-13dcd72 li a {
    padding: 25px 7px;
  }

  .elementor-element.elementor-element-1c6c46c {
    margin-top: 20px;
    left: 10px;
  }

  .elementor-element.elementor-element-84cb23c {
    margin-left: 0px;
    margin-top: 20px;
  }

  .elementor-element.elementor-element-ca95cb9 {
    margin-top: 0px;
    margin-left: 0px;
  }

  .elementor-element.elementor-element-1c6c46c {
    margin-top: 20px;
    left: 0px;
    margin-left: 0px;
    margin-top: 0px !important;
  }

  .circle-img .elementor-widget-container {
    background: #50bbe9;
    border-radius: 50%;
    border: 0px solid #fff;
    width: 70px;
    height: 70px !important;
    border-radius: 50% !important;
    align-content: center;
    margin: auto;
  }

  .elementor-element.elementor-element-84cb23c {
    margin-left: 20px;
    margin-top: 40px;
  }

  .elementor-element.elementor-element-ca95cb9 {
    margin-top: -30px;
    margin-left: 20px;
  }

  .elementor-element.elementor-element-1c6c46c {
    margin-top: 20px;
    left: 0px;
    margin-left: 30px;
    margin-top: -30px !important;
  }

  .elementor-element.elementor-element-c8274f6 {
    margin-top: -30px;
  }
}

@media screen and (max-width: 767px) {
  .news-post .premium-blog-post-time.premium-blog-meta-data {
    position: absolute;
    top: 62%;
    right: 0;
    background-color: #52bce9;
    padding: 20px;
  }

  .elementor-14
    .elementor-element.elementor-element-f88a559
    .premium-blog-wrap
    .slick-arrow.carousel-prev {
    background-color: #50bbe9;
    color: #fff;
    border-radius: 50%;
    top: -35px !important;
    right: 50px !important;
    left: auto !important;
  }

  .elementor-14
    .elementor-element.elementor-element-f88a559
    .premium-blog-wrap
    .slick-arrow.carousel-next {
    background-color: #50bbe9;
    color: #fff;
    border-radius: 50%;
    top: -35px !important;
    right: 0px !important;
    left: auto !important;
  }

  .news-mail input {
    width: 100%;
    margin: 4px 0px;
  }

  .elementor-element-b2f8865 {
    display: block;
  }

  .sup-img .elementor-widget-container {
    background: #fff;
    border-radius: 50%;
    border: 0px solid #50bbe9;
    width: 310px;
    height: 310px !important;
    border-radius: 50% !important;
    align-content: center;
    margin: auto;
    padding: 6px;
  }

  .elementor-14
    .elementor-element.elementor-element-c76876d:not(
      .elementor-motion-effects-element-type-background
    ),
  .elementor-14
    .elementor-element.elementor-element-c76876d
    > .elementor-motion-effects-container
    > .elementor-motion-effects-layer {
    background-position: center right !important;
  }

  .elementor-swiper-button.elementor-swiper-button-prev {
    top: -20% !important;
  }

  .elementor-swiper-button.elementor-swiper-button-next {
    top: -20% !important;
  }

  .elementor-element.elementor-element-a685679 {
    display: block;
  }
}
/* ============================= */
/*   End Responsive Breakpoints  */
/* ============================= */

/********************************************************/
/**************  HEADER ---  Main menu    ***************/
/************* LEFT & RIGHT --- Main menu ***************/
/********************************************************/
.header-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

#main-menu-grid {
  margin-top: 60px;
  height: 70px;

}

#main-menu-grid .menu-item a {
  /*display: flex;/*centers the text vertically*/
  /*align-items: center;/*centers the text vertically*/
  position: relative;
  align-items: center;
  /*height: 70px;  
  margin-bottom: 150px; */
  
}

.header-logo {
  position: absolute;
  left: 0;
  right: 0;
  top: -97px;
}

.login-button{padding-top:0px;margin-top: -10px;}

ul#menu-1-15416173 li:first-child a {
  border-radius: 30px 0px 0px 30px;
}

/*ul#menu-1-15416173 li a {
  padding: 25px 16px;
}*/

.main-menu-left ul.elementor-nav-menu > li:first-child > a.elementor-item {
  border-radius: 30px 0 0 30px;
}

/*Main menu right most element -- left side 
Last child for the main menu*/
.main-menu-left ul.elementor-nav-menu > li:last-child > a.elementor-item {
  border-radius: 0 0px 00px 0;
}

/* Hover + active background with smooth fade */
.main-menu-left ul.elementor-nav-menu > li > a.elementor-item {
  transition: background 0.25s ease, color 0.25s ease;
}

.main-menu-left ul.elementor-nav-menu > li > a.elementor-item:hover,
.main-menu-left ul.elementor-nav-menu > li.current-menu-item > a.elementor-item,
.main-menu-left
  ul.elementor-nav-menu
  > li.current_page_item
  > a.elementor-item {
  background: #52cc2f;
  color: #fff !important;
}

/* Padding on all links */
.main-menu-left .elementor-nav-menu > li > a,
.main-menu-right .elementor-nav-menu > li > a {
  padding: 25px 16px;
}

/*sub-menu elementor-nav-menu--dropdown sm-nowrap*/
.elementor-nav-menu--dropdown {
  background-color: #fff;
  
}

#sm-17596651319219514-2 ul li {
  color: #000000 !important;
  font-weight: 700 !important;
  padding: 0 !important;
  margin-top: -20 !important;
  line-height: 1.2 !important;
}

/*Sub menu edits*/

/* Style submenu items */
.elementor-nav-menu--dropdown li a {
  padding: 15px 15px !important;   /* adjust spacing */
  margin: 0 !important;
  line-height: 1.2 !important;
  height: auto !important;
  font-family: lato, sans-serif !important;
  font-size: 15px !important;
  background-color: #fff;
  border-radius: 0px !important;
}

.elementor-nav-menu--dropdown li a:hover {
background-color: #52cc2f;
}

/**************************************************/
/*********** CENTRIZED PAGE CONTENT ***************/
/**************************************************/
/*#inner-content {
  max-width: 1100px;           /* pick your content width */
 /* width: min(1100px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}*/

/**********************************************/
/*********** Search Box Styling ***************/
/**********************************************/
.main-menu-right-search-side {
  position: relative;
  
}
/* Expanded state – slides leftwards under icon */


/* Hidden state (collapsed, invisible, no clicks) */
#search-6bca64eb,
#search-270a8f8 {
display: inline-block !important;
position: absolute !important;
right: 40px !important;

min-height: 27px !important;
width: 0 !important;                /* collapsed by default */
opacity: 0 !important;
pointer-events: none !important;    /* stops blocking links */

border: 1px solid #d6d6d6 !important;
border-radius: 3px !important;
background-color: #f1f1f1 !important;
color: #868686 !important;

font-size: 15px !important;
font-weight: 500 !important;
line-height: 20px !important;

box-sizing: border-box !important;
z-index: 1000 !important;
cursor: pointer !important;
outline: none !important;

/* Smooth slide animation */
transform: translateX(0px);
transition: 
  width 0.7s ease,
  opacity 0.3s ease,
  transform 0.7s ease,
  border-color 0.3s ease,
  box-shadow 0.3s ease !important;
}

#search-6bca64eb {
  right: -12px !important;bottom: -13px;
  padding: 5px 5px 5px 5px !important;
}

#search-270a8f8 {
  right: -12px !important;bottom: -13px;
  padding: 5px 5px 5px 5px !important;
}

/* Expanded (active/visible) */
.custom-search-pro{padding-top: 11px !important;}
.custom-search-pro.active #search-6bca64eb,
.custom-search-pro:focus-within #search-6bca64eb,
.custom-search-pro.active #search-270a8f8,
.custom-search-pro:focus-within #search-270a8f8 {
  width: 200px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  /* re-enable typing */
}

.custom-search-pro .e-search-label {
  cursor: pointer !important;
}

.elementor-post__title a{
  font-family: "Josefin Sans", Sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color:#000 !important;
}

/* === Homepage Posts Custom News Style === */
.news-pro-style .elementor-post {
  position: relative;
  border: none;
  box-shadow: none;
  margin-bottom: 25px;
}

/* Date badge overlay */
.news-pro-style .elementor-post-date {
  position: absolute;
  background-color: #52bce9;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  top: 65.59%;
  right: 0;
  padding: 21px;
}

/* Rounded thumbnail */
.news-pro-style .elementor-post__thumbnail img {
  border-radius: 25px;
  display: block;
  width: 100%;
  height: auto;
}

/* angled ribbon edge */
.news-pro-style .elementor-post-date::before {
  content: "\f073"; /* Font Awesome calendar */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.news-pro-style .elementor-post-date::after {
  content: "";
  position: absolute;
  top: 20;
  left: -12px; /* how far it sticks out */
  width: 0;
  height: 0;
  border-top: 0 solid transparent;
  border-bottom: 58px solid #52bce9; 
  border-left: 12px solid transparent;
  font-family: lato, sans-serif !important;
}

/* Title */
.news-pro-style .elementor-post__title {
  margin-top: 2px;
  font-size: 14px;
}

/* Hide author/comments */
.news-pro-style .elementor-post-avatar,
.news-pro-style .elementor-post__read-more {
  display: none !important;
}

/* Title truncation */
.news-pro-style.elementor-widget-posts .elementor-post__title > a {
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 140ch;      /* ~140 characters;*/
  
}

/* Container alignment */
.news-pro-style .elementor-posts-container {
  display: grid;
  grid-gap: 25px;
}

#ifya-main-nav .menu-item {
  position: relative;
  border: 8px solid #fff;
  border-radius: 50%;
  display: inline-flex;
  background: #52cc2f; /* green */
  width: 113px;
  height: 113px;   /* <-- THIS sets the menu item height */
  cursor: pointer;
}
#ifya-main-nav .menu-item {
  width: 90px !important;   /* try 90–95px */
  height: 90px !important;  /* reduce until it matches */
}