/*
Theme Name: Envo Royal Child
Theme URI: https://envothemes.com/envo-royal-free-wp-theme/
Template: envo-royal
Description: Child theme for Envo Royal
Author: Your Name
Author URI: https://yourwebsite.com
Version: 1.0.0
Text Domain: envo-royal-child
*/

/* Import parent theme styles */
@import url("../envo-royal/style.css");

/* Add your custom CSS below this line */
/* Remove Bootstrap width constraints inside your Canvas-with-Header template */
#site-content.container.main-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Remove extra row spacing inside Canvas template */
.elementor-template-canvas .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
	margin-bottom: 0 !important;
}


 .site-branding-text h1.site-title, .site-branding-text .site-title, .site-branding-text h1.site-title a, .site-branding-text .site-title a {
    font-family: Americana;
    font-size: 32px;
	 font-weight: bold;
}
.site-branding-text {
    padding: 0 0 0 10px;
}

/* Sticky header - preserves all existing styling */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    transition: all 0.75s ease !important;
}

/* Adjust for WordPress admin bar */
.admin-bar .site-header {
    top: 32px !important;
}

/* Default gradient (fallback) */
.site-header {
    background: #fff!important;
}

/* Page-specific gradients */
.postid-1194 .site-header, .postid-1211 .site-header {
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 30%, rgba(215, 212, 207, 1) 65%, rgba(135, 126, 110, 1) 100%) !important;
	border-bottom: none;
}
.postid-1121 .site-header {
   background: linear-gradient(180deg,rgba(255, 255, 255, 1) 30%, rgba(243, 218, 188, 1) 65%, rgba(217, 142, 50, 1) 100%) !important;
	border-bottom: none;
}

.page-id-1615 .site-header {
   background: linear-gradient(180deg,rgba(255, 255, 255, 1) 23%, rgba(223, 220, 216, 1) 49%, rgba(122, 109, 93, 1) 100%)!important;
	border-bottom: none;
}

.page-id-1923 .site-header {
   background: linear-gradient(180deg,rgba(255, 255, 255, 1) 30%, rgba(239, 233, 228, 1) 50%, rgba(116, 64, 24, 1) 100%)!important;
	border-bottom: none;
}

.page-id-2241 .site-header {
  background: linear-gradient(180deg,rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 1)50%, rgba(234, 171, 101, 1) 100%)!important;
	border-bottom: none;
}
#EAAB65

.woocommerce-page .site-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 40%, rgba(200, 240, 200, 1) 100%) !important;
	border-bottom: none;
}

/* Add your specific page IDs here */
.page-id-123 .site-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 40%, rgba(240, 240, 200, 1) 100%) !important;
}

/* Scrolled state - always solid white */
.site-header.shrink-header {
    background: #FFF !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(10px) !important;
    padding-bottom: 15px;
}

.e-con-inner .hometup, .e-con .blog-image, .e-con .post-image,  .e-con .quote-image  {
	  border: 3px solid #EB6A44;
    border-radius: 7px 7px 7px 7px;
     box-shadow: 2px 4px 7px 1px rgba(0, 0, 0, 0.5);
}

@media only screen and (min-width: 768px) { 
.wrapit { float: left;
              margin-right: 50px; 
              margin-bottom:30px;
}
.wrapit2 { float: right;
              margin-left: 50px; 
              margin-bottom:30px;
}
	.hometup {
            margin-top: -100px; 
}
}

@media only screen and (min-width: 1024px) { .e-con-inner .hometup {
	width:47.5%;
}
	.e-con .blog-image {
	width:50%;
}
	 .e-con .quote-image {
	width:42%;
}
	.home .site-header {
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 30%, rgba(188, 211, 236, 1) 100%) !important;
	border-bottom: none;
}
	.home .site-header.shrink-header {
    background: #FFF !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(10px) !important;
}
}

@media only screen and (max-width: 1024px) and (min-width: 768px){ .e-con-inner .hometup {
	width:47%;
}
	.e-con .blog-image,  .e-con .quote-image {
	width:50%;
}
}

@media only screen and (max-width: 1200px) {.welcome, .blog-text {
	padding-right: 10px;
}
	.blog-text2 {
	padding-left: 10px;
}
}

@media only screen and (max-width: 1024px) and (min-width: 768px) 
{
.wrapit {
	margin-bottom:30px;
	padding-right: 0px;
}
.wrapit2 {
	margin-bottom:30px;
	padding-left: 0px;
}
	.home .site-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 30%, rgba(187, 211, 235, 1) 100%) !important;
    border-bottom: none;
}
		.home .site-header.shrink-header {
    background: #FFF !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(10px) !important;
	}
}

@media only screen and (max-width: 767px) {
	.e-con-inner .hometup {
	width: 80%;
	margin: -50px auto 20px auto;
		text-align:center;
}
	.wrapit, 	.wrapit2 { 
float: none;
}
 .welcome, .blog-text {
	padding-top:20px; 
	padding-right: 0px;
}
.blog-text2 {
	padding-top:20px; 
	padding-left: 0px;
}
	 .e-con .blog-image , .e-con .quote-image, .e-con .post-image, figcaption.post-cap  {
		 max-width:95%;
		 margin:15px auto;
		 text-align:center;
		 clear: both;
		 font-size: 0.9rem;
	}
	.version-tabs {
	text-align:center;
	}
	.home .site-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 30%, rgba(173, 203, 233, 1) 100%) !important;
    border-bottom: none;
    padding-bottom: 20px;
}
		.home .site-header.shrink-header {
    background: #FFF !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(10px) !important;
    padding-bottom: 15px;
}
}

.navbar-default .navbar-nav > li > a {
  color: #33240e;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #BA5E06;
	background: linear-gradient(180deg,rgba(255, 255, 255, 1) 1%, rgba(255, 255, 255, 0.15) 100%);
border:1px solid #BA5E06;}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #144576;
  background-color:transparent;
	border:1px solid #144576
}

/*Anwp Classic Slider - Homepage */
.page-id-795 {
.anwp-pg-read-more__btn {   
     text-align: left;
    color: #4b1b04;
}
	.anwp-pg-read-more__btn:hover {   
		 color: #c97300;
	}
.anwp-pg-wrap .mt-3, .anwp-pg-wrap .my-3 
{
    margin-top: 1rem !important;
}
.anwp-pg-post-teaser__title .anwp-font-heading mt-2
{
display:none;
}
.anwp-pg-wrap .anwp-pg-post-teaser--layout-d .anwp-pg-post-teaser__top-meta
{
left:auto;
}
.anwp-pg-post-teaser__excerpt mb-2
{
margin-top: -10px;
}
div.anwp-pg-post-teaser__bottom-meta.d-flex.flex-wrap
{
visibility: hidden;
}
.anwp-pg-wrap .mt-auto, .anwp-pg-wrap .my-auto 
{
    margin-top: -15px!important;
}
.anwp-pg-wrap .pr-2, .anwp-pg-wrap .px-2 {
    padding-right: .75rem !important;
    padding-left: .75rem !important;
}
.anwp-pg-wrap .anwp-pg-post-teaser__category-wrapper {
font-weight: 500;
}
.anwp-pg-wrap .pt-1, .anwp-pg-wrap .py-1 {
    padding-top: 0 !important;
    margin-top: -10px !important;
}
.elementor-795 .elementor-element.elementor-element-92ba568 .anwp-pg-post-teaser__title {
    display: none;
}
}
	.anwp-pg-wrap .anwp-pg-post-teaser__category-wrapper {
    font-size:1em;
    text-shadow: 2px 3px 2px #40240a;
}

/*Responsive Code*/
@media (min-width: 768px) and (max-width: 991px) {
    .site-branding-text h1.site-title a:hover, .site-branding-text .site-title a:hover, .site-branding-text h1.site-title, .site-branding-text .site-title, .site-branding-text h1.site-title a, .site-branding-text .site-title a {margin-right: -20px;
    }
	#site-navigation .dropdown-menu > li > a, a.dropdwon-item {
    font-size: 14px !important;
    font-weight: 500 !important;
	text-align: center;
}
}
@media (max-width: 1200px) and (min-width: 992px) {
    .container {
        width: 1170px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1300px;
    }
	#site-navigation .dropdown-menu > li > a, a.dropdwon-item {
    font-size: 15px !important;
    font-weight: 600 !important;
	text-align: center;
}
}

@media (max-width: 767px) {
   .site-branding-logo img {
        width: 100px;    }
.wrapit2.blog-image {
      text-align:center;
      width: 90%;    }
.blkqt1 {
    width: 80%;   }
	.anwp-pg-category-parent-0 {
    font-size: 0.6em!important;
}
	.etww-grid-excerpt {
      display:none;
	}
}

@media (max-width:992px) {
    .blkqt1 {
       width: 70%;     }
	.site-branding-logo img {
        width: 75px;    }
	.navbar-nav > li > a {
        line-height: 18px;
        padding: 8px 10px;
	}
	.anwp-pg-category-parent-0 {
    font-size: 0.8em!important;}
}


/* Apply to your main content wrapper instead */
.site-main, .content-area, main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Let the chevron and profile live outside this constraint */
.scroll-to-top, 
.account-widget {
    position: fixed;
    z-index: 9999;
    /* Ensure they're not clipped */
    transform: translateZ(0);
}

/* Fix the header row to prevent wrapping */
.heading-row.row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    margin: 0;
}

/* Remove fixed pixel widths, use percentages instead */
@media (min-width: 768px) {
    .container {
        width: 95%; /* 90% of viewport on tablets */
        max-width: 992px; /* Optional: cap maximum width */
    }
}

@media (min-width: 992px) {
    .container {
        width: 85%; /* Slightly narrower on desktops */
        max-width: 1200px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 80%; /* Even narrower on large screens */
        max-width: 1400px; /* Adjust as needed */
    }
}


#site-navigation, #site-navigation .navbar-nav > li > a, #site-navigation .dropdown-menu > li > a {
    text-transform: uppercase;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { 
	color:#8A5E06;
	border:1px solid #8A5E06;
}
.navbar-default .navbar-nav > li {border: 2px solid #FFFFFF00;}

#site-navigation .dropdown-menu > li {
	border: 2px solid #FFFFFF00;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    background-color: #e5dac9;
	color: #211d18;
}