/* Author Advanced Management Public Styles */

/* Author Box Styles */
.aam-author-box {
    margin: 30px 0;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(182deg, #323232 -14.69%, #838383 116.96%), #FFF;
}

.my-social-btn {
    display: flex !important;
    gap: 15px !important;
}

.aam-author {
    display: flex;
    margin-bottom: 20px;
}

.aam-author:last-child {
    margin-bottom: 0;
}

.aam-author-avatar {
    flex: 0 0 80px;
    margin-right: 20px;
}

.aam-author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.aam-author-info {
    flex: 1;
}

.aam-author-name {
    margin: 0 0 5px;
    font-size: 1.2em;
    color: #FFF;
    font-weight: 600;
}

.aam-author-job,
.aam-author-company {
    margin: 0 0 10px;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    color: #FFF;
    margin-top: -15px;
}

.aam-author-company {
    margin-bottom: 20px;
}

.aam-author-bio {
    margin-bottom: 0;
    padding: 0;
    line-height: 1;
}

.aam-author-bio p {
    color: #FFF;
    font-family: "Roboto", sans-serif;
    line-height: 1.4;
    font-size: 16px;
}

.aam-author-email {
    margin-bottom: 15px;
}

.aam-author-email a {
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    text-decoration: none;
}

.aam-author-email a:hover{
	font-size: 15px !important;
    font-family: "Roboto", sans-serif !important;
    text-decoration: none !important;

}

.aam-author-social {
    margin-bottom: 25px;
}

.aam-social-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    opacity: 0.7;
    transition: opacity 0.2s;
    vertical-align: middle;
}

.aam-social-icon:hover {
    opacity: 1;
}

.aam-author-links a {
    display: inline-block;
    background: #FFF;
    color: #000;
    border-radius: 5px;
    padding: 10px 30px;
    font-family: 'Montserrat';
    text-decoration: none;
    transition: background-color 0.2s;
    font-weight: 600;
}

.aam-author-links a:hover {
    background-color: #FFF;
}

/* LinkedIn Icon Specific */
i.fa.fa-linkedin-square {
    font-size: 30px;
    color: #fcb900;
}

/* Author Page Styles */
.aam-author-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.aam-author-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.aam-author-header .aam-author-avatar {
    flex: 0 0 150px;
    margin-right: 30px;
}

.aam-author-header .aam-author-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.aam-author-header .aam-author-info {
    flex: 1;
}

.aam-author-header .aam-author-name {
    font-size: 2em;
    margin-bottom: 10px;
}

.aam-author-header .aam-author-job,
.aam-author-header .aam-author-company {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.aam-author-header .aam-author-email {
    margin-bottom: 10px;
}

.aam-author-header .aam-author-email a {
    color: #0073aa;
    text-decoration: none;
}

.aam-author-header .aam-author-email a:hover {
    text-decoration: underline;
}

.aam-author-posts h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

/* Author Archive Styles */
.aam-authors-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.aam-authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.aam-author-card {
    border: 1px solid #eaeaea;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease;
}

.aam-author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.aam-author-card .aam-author-avatar {
    height: 150px;
    overflow: hidden;
}

.aam-author-card .aam-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aam-author-card .aam-author-info {
    padding: 15px;
}

.aam-author-card .aam-author-name {
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.aam-author-card .aam-author-name a {
    color: #333;
    text-decoration: none;
}

.aam-author-card .aam-author-name a:hover {
    color: #0073aa;
}

.aam-author-card .aam-author-job,
.aam-author-card .aam-author-company {
    margin: 0 0 5px 0;
    font-size: 0.9em;
    color: #666;
}

/* Error Messages */
.aam-error,
.aam-no-posts,
.aam-no-authors {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    color: #666;
}

header.elementor.elementor-13.elementor-location-header {
    background: #897f4f3d !important;
 }


/* Hero Section */
.aam-hero-section {
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0;
    text-align: center;
    position: relative;
    background-position: top center;
    height: 600px !important;
    align-items: center;
    text-align: center;
    display: flex;
    margin-top: -100px;
    z-index:99;
}

.aam-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background-color: rgb(0 0 0 / 0%) !important;
}

.aam-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.aam-hero-content h1 {
    color: #fff;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    font-family: "Montserrat", Sans-serif;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Linear Gradient for Author Name - Static gradient without animation */
.aam-author-name-gradient {
    /* Static gradient colors */
    background: linear-gradient(90deg, #fcfcfd 0%, #ffcb48 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    
    /* Text style settings */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Additional styling */
    font-size: 1.2em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    padding: 5px 0;
}

/* Posts Section */
.aam-posts-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    background-color: #f9f9f9;
}

.aam-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.aam-post-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aam-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.aam-post-thumbnail {
    height: 150px;
    overflow: hidden;
}

.aam-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.aam-post-item:hover .aam-post-thumbnail img {
    transform: scale(1.05);
}

.aam-post-content {
    padding: 20px;
}

.aam-post-title {
    margin: 0 0 12px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.aam-post-title a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.aam-post-title a:hover {
    color: #000;
}

.aam-post-excerpt {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
}

.aam-post-meta {
    font-size: 0.85rem;
    color: #888;
}

/* Pagination */
.aam-pagination {
    text-align: center;
    margin-top: 30px;
}

.aam-pagination .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #666;
}

.aam-pagination .page-numbers.current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.aam-pagination .page-numbers:hover {
    background-color: #f0f0f0;
}

/* Load More Button */
.aam-load-more-container {
    text-align: center;
    margin-top: 20px;
}

.aam-load-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #FFF;
    color: #000;
    text-decoration: none;
    font-family: "Montserrat", Sans-serif;
    border-radius: 50px;
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0px 4px 0px 0px #ffcb48;
    cursor: pointer;
    border: none;
}

.aam-load-more-btn:hover{
background-color: #FFF;
color: #000;
}


.aam-load-more-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    /* Ensure menu toggle is clickable */
    .menu-toggle, 
    .mobile-menu-toggle, 
    .navbar-toggle, 
    .hamburger,
    .mobile-nav-button {
        position: relative;
        z-index: 10000 !important;
        cursor: pointer;
        pointer-events: auto !important;
    }
    
    /* Ensure mobile menu is above all content */
    .mobile-menu, 
    .main-navigation, 
    .site-navigation,
    .nav-menu,
    .header-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        z-index: 9999 !important;
        display: none;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu.active, 
    .main-navigation.active, 
    .site-navigation.active,
    .nav-menu.active,
    .header-navigation.active {
        display: block;
        transform: translateX(0);
    }
    
    /* Fix for menu items being unclickable */
    .mobile-menu ul li a,
    .main-navigation ul li a,
    .site-navigation ul li a,
    .nav-menu ul li a,
    .header-navigation ul li a {
        position: relative;
        z-index: 1;
        pointer-events: auto !important;
    }
    
    /* Ensure hero section doesn't overlap menu */
    .aam-hero-section {
        z-index: 1;
        position: relative;
    }
    
    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Menu Toggle Button */
    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        position: relative;
        z-index: 10001;
    }
    
    .menu-toggle .menu-toggle-icon {
        display: block;
        width: 25px;
        height: 20px;
        position: relative;
    }
    
    .menu-toggle .menu-toggle-icon:before,
    .menu-toggle .menu-toggle-icon:after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #333;
        transition: transform 0.3s ease;
    }
    
    .menu-toggle .menu-toggle-icon:before {
        top: 0;
    }
    
    .menu-toggle .menu-toggle-icon:after {
        bottom: 0;
    }
    
    .menu-toggle .menu-toggle-icon span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #333;
        top: 50%;
        transform: translateY(-50%);
        transition: opacity 0.3s ease;
    }
    
    .menu-toggle.active .menu-toggle-icon:before {
        transform: rotate(45deg);
        top: 50%;
    }
    
    .menu-toggle.active .menu-toggle-icon:after {
        transform: rotate(-45deg);
        top: 50%;
    }
    
    .menu-toggle.active .menu-toggle-icon span {
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .aam-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .aam-author {
        flex-direction: column;
    }
    
    .aam-author-avatar {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .aam-author-avatar img {
        margin: 0 auto;
        float: left;
    }
    
    
    .aam-author-header {
        flex-direction: column;
        text-align: center;
    }
    
    .aam-author-header .aam-author-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .aam-hero-content h1 {
        font-size: 2rem;
    }
    
    .aam-author-name-gradient {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }
    
    .aam-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aam-authors-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    
    
 }
 
 @media screen and (max-width: 600px) {
  .aam-hero-section{
		height: 250px !important;
	}
    
    .aam-post-thumbnail img{
    		height: 93% !important;
    }
    
    .aam-hero-section{
    margin-top: -20px !important;
    }
}
 

@media (max-width: 480px) {
    .aam-hero-section {
        padding: 60px 0;
    }
    
    .aam-hero-content h1 {
        font-size: 1.5rem;
    }
    
    .aam-author-name-gradient {
        font-size: 1.3rem;
        letter-spacing: 0.2px;
    }
    
    .aam-posts-grid {
        grid-template-columns: 1fr;
    }
}



/* Mobile Header for Author Posts Page */
.aam-mobile-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10000;
    width: 100%;
    visibility: visible !important;
}

.aam-mobile-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.aam-mobile-header .site-branding img {
    max-height: 40px;
    width: auto;
}

.aam-mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 10001;
    position: relative;
}

.aam-menu-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.aam-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 9999;
    max-height: 80vh;
    overflow-y: auto;
}

.aam-mobile-menu.active {
    display: block !important;
}

/* Menu animation */
.aam-mobile-menu-toggle.active .aam-menu-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.aam-mobile-menu-toggle.active .aam-menu-icon:nth-child(2) {
    opacity: 0;
}

.aam-mobile-menu-toggle.active .aam-menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hide regular header on mobile author pages */
body.author-page-mobile .site-header:not(.aam-mobile-header) {
    display: none !important;
}

/* Adjustments for the mobile menu */
.aam-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aam-mobile-menu-list li {
    border-bottom: 1px solid #eee;
    position: relative;
}

.aam-mobile-menu-list li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.aam-mobile-menu-list li a:hover {
    background-color: #f5f5f5;
}

/* Ensure mobile menu is above all content */
.aam-mobile-menu {
    z-index: 99999 !important;
}

/* Body scroll lock when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Make sure the hero section doesn't overlap the mobile header */
.author-page-mobile .aam-hero-section {
    margin-top: 0;
    padding-top: 70px;
}

/* Force visibility of mobile header elements */
.aam-mobile-header * {
    visibility: visible !important;
}

/* Override any theme styles that might hide our menu */
.aam-mobile-menu {
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
}

/* Ensure menu items are clickable */
.aam-mobile-menu-list li a {
    pointer-events: auto !important;
    cursor: pointer !important;
}



.elementor-398 .elementor-element.elementor-element-e923f1f .elementor-heading-title{
    color: #ffcb48;
}