/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.site-footer:not(.footer-bar-active) .copyright-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.site-footer:not(.footer-bar-active) .copyright-bar .copyright p{margin-bottom:0; font-size:14px}
.site-footer:not(.footer-bar-active) .copyright-bar .copyright p a{text-decoration:none; font-size:14px}
.site-footer:not(.footer-bar-active) .copyright-bar .off p a{    color: #c1c1c1; font-size:14px}
.site-footer:not(.footer-bar-active) .copyright-bar .off p {    color: #c1c1c1; font-size:14px}

.site-footer{position:relative}
.video-flex-row .video-wrapper .vertical-reel iframe{height: 206px; width:100% !important}
.site-footer .pattern-layer .pattern-2 {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 229px;
    height: 261px;
    background-repeat: no-repeat;
}

.site-footer .pattern-layer .pattern-3 {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 260px;
    height: 269px;
    background-repeat: no-repeat;
}


.site-footer .pattern-layer .pattern-4 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px;
    width: 229px;
    height: 261px;
    background-repeat: no-repeat;
}


.site-footer .footer-widget-1 #block-8 img{    max-width: 203px;}

.site-footer .footer-widget-1 #block-8 {margin-bottom:16px}
.site-footer .footer-widget-1 #block-10 .social-links li {
    position: relative;
    display: inline-block;
    float: left;
    margin-right: 30px;
}

.site-footer .menu-links-container ul li a, .site-footer .menu-specialities-container ul li a {
    display: inline-block;
    color: #fff; text-decoration:none;
}

.site-footer .menu-links-container ul li, .site-footer .menu-specialities-container ul li {position: relative;
    display: block;
    font-size: 16px;

    letter-spacing: 0.05em;
    margin-bottom: 10px;}
.site-footer .footer-widget-1 #block-10 .social-links li a {
    position: relative;
    display: inline-block;
    font-size: 18px;
    color: #fff;
}

.site-footer .footer-widgets .widget-title {
   font-size: 24px;
    line-height: 34px;
        margin-bottom: 15px;
    font-weight: 700;
}

.site-footer  .info-list li {
    position: relative;
    display: block;
    margin-bottom: 10px;
    padding-left: 37px;
    font-size: 16px;
    color: #fff;
}
.site-footer  .info-list li a{text-decoration:none}
.site-footer  .info-list li img {
    position: absolute;
    left: 0px;
    filter: brightness(0) invert(1);
    top: 6px;
}
.site-header .grid-container {
    max-width: 1380px;
}

.main-navigation ul ul li{border-bottom: 1px solid rgba(255, 255, 255, 0.1);}
.main-navigation .main-nav ul li a {font-size: 16px;
    line-height: 20px;

    letter-spacing: 0.05em;
    opacity: 1;

    font-weight: 500;
    text-transform: uppercase;}
.main-navigation .main-nav ul ul li a{padding: 10px 25px;
    line-height: 24px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;}

.top-bar .info-list li {
    position: relative;
    display: inline-block;
    float: left;
    padding-left: 32px;  margin-bottom:0;
    margin-right: 15px;
    font-size: 14px;
    line-height: 26px;
    font-family:'Source Sans Pro';
    color: #fff;
    font-weight: 600;
}
.top-bar .info-list li:last-child{margin-right:0}
.top-bar .grid-container {max-width: 1380px;}
.top-bar .info-list li a{text-decoration:none}
.top-bar .info-list li .fa {
    position: absolute;
    left: 0px;
    top: 3px;
    font-size: 20px;
   
}
.button, .wp-block-button .wp-block-button__link {border-radius:25px}

.rank-math-breadcrumb{width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;  padding: 30px 0px 30px 0px;
    background-image: url(https://drdhruvmehta.com/blog/wp-content/uploads/2025/11/page-title.jpg);}


.rank-math-breadcrumb .grid-container .page-banner-content h2 {
  position: relative;
    display: block;
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
    margin-bottom: 0px; text-align: center;
    text-transform: uppercase;
}

.rank-math-breadcrumb .grid-container .page-banner-content ul li {
    position: relative;
    display: inline-block;
    font-size: 20px;
    line-height: 25px;
    color: #f3a952;
   
    font-family: 'Source Sans Pro';
}
.rank-math-breadcrumb .grid-container .page-banner-content ul {
    display: flex;
    list-style: none; margin:0;
    justify-content: center;
    column-gap: 5px;
    font-size: 18px;
    text-decoration: none;
}
.rank-math-breadcrumb .grid-container .page-banner-content ul li a{color:#111111; text-decoration:none}

.video-flex-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: start;
}

.video-flex-row .video-wrapper {
    width: 385px;
}
#sp-wp-tabs-wrapper_115 > .sp-tab__nav-tabs .sp-tab__nav-link.sp-tab__active .sp-tab__tab_title, #sp-wp-tabs-wrapper_115.sp-tab__lay-default .sp-tab__nav-link > .sp-tab__card-header {
    color: #ffffff;
}
#sp-wp-tabs-wrapper_115.sp-tab__lay-default > ul .sp-tab__nav-item .sp-tab__nav-link:hover .sp-tab__tab_title, #sp-wp-tabs-wrapper_115.sp-tab__lay-default > ul .sp-tab__nav-item a:hover .sp-tab__tab_title, #sp-wp-tabs-wrapper_115.sp-tab__lay-default .sp-tab__nav-link.collapsed .sp-tab__card-header:hover{ color: #ffffff;}

#sp-wp-tabs-wrapper_115.sp-tab__lay-default > ul .sp-tab__nav-item:not(.sp-tab__active):hover, #sp-wp-tabs-wrapper_115.sp-tab__lay-default .sp-tab__nav-link.collapsed > .sp-tab__card-header:hover{background-color: #105abf;}

#sp-wp-tabs-wrapper_115 > .sp-tab__nav-tabs > .sp-tab__nav-item.show .sp-tab__nav-link, #sp-wp-tabs-wrapper_115 > .sp-tab__nav-tabs > .sp-tab__nav-item .sp-tab__nav-link.sp-tab__active, #sp-wp-tabs-wrapper_115.sp-tab__lay-default .sp-tab__nav-link > .sp-tab__card-header {
    background-color: #105abf;
}

.video-flex-row .video-wrapper .video-title {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
    display: block;
    background-color: #064acb;
    margin-top: 7px;
    font-size: 18px !important;
    margin-left: 4px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff !important;
    padding: 7px 5px;
}



.sp-tab__lay-default>.sp-tab__tab-content span:not(.sp-tab__nav-link)

 {
    display: block;
    background-color: #064acb;
    margin-top: 7px;
    font-size: 18px !important;
    margin-left: 4px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
    padding: 7px 5px;
}

.sidebar ul li a{text-decoration:none}

@media (max-width: 1024px), (min-width: 1025px) {
    .main-navigation.sticky-navigation-transition .main-nav > ul > li > a, .sticky-navigation-transition .menu-toggle, .main-navigation.sticky-navigation-transition .menu-bar-item > a, .sticky-navigation-transition .navigation-branding .main-title
 {
        line-height: 74px;
    }
}


.ngg-caption-view-wrapper {
    justify-content: space-between !important; row-gap: 20px;
}




@media only screen and (max-width: 768px) {
    .main-navigation .main-nav ul li a {line-height: 48px; padding-left: 30px; padding-right: 30px; background: #3976e9; color:white;}
	.inside-footer-widgets>div:not(:last-child) {
        margin-bottom: 20px;
    }
	    .main-navigation.sticky-navigation-transition .main-nav > ul > li > a{ background: #3976e9; color:white; line-height: 48px; padding-left: 30px; padding-right: 30px;}
	.has-inline-mobile-toggle .inside-header{padding-left: 0;
        padding-right: 0; padding-bottom:0;}
	.site-logo{padding-left: 30px; padding-bottom: 25px;}
	.main-navigation .menu-toggle {
    
    margin-top: -20px;
}
	
.site-footer:not(.footer-bar-active) .copyright-bar

 {
   
    display: block;
    
	}	 .has-inline-mobile-toggle .mobile-menu-control-wrapper{margin-right:30px}
	.is_stuck .menu-toggle{margin-top:inherit}
	
}




@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
.main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .menu-bar-item > a {
    padding-left: 6px;
    padding-right: 6px;
}
	  .main-navigation .main-nav ul li a {font-size:12px}
}




/* Author Box Container */
.author-box {
    display: flex;
    align-items: center; /* Vertically align center */
    background-color: #f8f9fa; /* Light gray background */
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 5px;
    border: 1px solid #e2e2e2;
}

/* Avatar Image */
.author-box-avatar {
    margin-right: 30px;
    flex-shrink: 0; /* Prevents image from shrinking on mobile */
}

.author-box-avatar img {
    border-radius: 50%; /* Makes image circular */
    display: block;
}

/* Title and Bio */
.author-box-title {
    margin-bottom: 10px;
    font-size: 20px;
}

.author-box-bio {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.author-box-link {
    font-size: 14px;
    font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-box-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}


/* =========================================
   AUTHOR PAGE SPECIFIC FIXES
   ========================================= */

/* 1. FIX COLUMN CONFLICT
   Override GeneratePress grid classes ONLY on Author Page.
   GP adds width: 50% to .generate-columns, but since we are already 
   inside a 33% custom column, we must force the card to be 100% of that space.
*/
.author .custom-post-card.generate-columns {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. FIX BACKGROUND EDGE-TO-EDGE
   Remove default margins from the main container so background colors touch edges.
*/
.author .site-main {
    margin: 0 !important;
}

/* 3. LAYOUT SPACING
   Add padding since we removed the default container margins.
*/
.author-bio-wrapper,
.author-posts-wrapper {
    padding: 80px 0;
    width: 100%;
}

.bg-light {
    background-color: #f6f6f6;
}

/* 4. CUSTOM GRID SYSTEM
   Ensures your columns work independently of GeneratePress grid.
*/
.custom-flex-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    margin-left: -20px;
}

.vertical-center {
    align-items: center;
}

.custom-col-100, .custom-col-70, .custom-col-30, .custom-col-33 {
    padding-right: 20px;
    padding-left: 20px;
    box-sizing: border-box;
}

.custom-col-100 { width: 100%; }
.custom-col-70  { width: 70%; }
.custom-col-30  { width: 30%; }
.custom-col-33  { width: 33.33%; margin-bottom: 40px; }

/* 5. CARD STYLING & IMAGE FIX */
.custom-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee; /* Optional border for definition */
}

/* Ensure image fills the card width */
.card-image img {
    width: 100%; 
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-excerpt {
    margin-bottom: 20px;
    flex-grow: 1;
}

/* 6. MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .custom-col-70, 
    .custom-col-30, 
    .custom-col-33 {
        width: 100%;
    }
    
    .author-bio-wrapper {
        text-align: center;
    }
    
    .vertical-center {
        flex-direction: column-reverse;
    }
    
    .author-avatar-box {
        margin-bottom: 25px;
    }
}

.custom-flex-row .card-title a{text-decoration:none;}

.custom-col-100 .section-heading {margin-bottom:30px;}