/*
 Theme Name:   Attorna Child
 Theme URI:    http://demo.goodlayers.com/attorna
 Description:  Goodlayers Attorna Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     attorna
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  attorna-child

 START YOUR CHILD THEME CSS HERE
*/

/* -- Header CSS -- */
.menu-item-7270 ul {
    margin-top: -30px;
}
.attorna-fixed-navigation .menu-item-7270 ul {
    margin-top: -10px;
}
@media only screen and (min-width: 1141px) {
	.attorna-fixed-navigation .attorna-navigation {
		text-align: right !important;
    	padding-right: 80px;
		padding-top: 30px !important;
	}
	.attorna-animate-fixed-navigation .attorna-header-style-plain .attorna-navigation-top {
		top: 30px !important;
	}
	.attorna-fixed-navigation .attorna-header-background {
		background: #1F6935;
	}
	.attorna-fixed-navigation .sf-menu > li.current-menu-item > a {
		color: #ffffff;
	}
	.attorna-fixed-navigation .sf-menu > li > a {
		color: #cccccc;
	}
	.attorna-fixed-navigation .sf-menu > li > a:hover {
		color: #ffffff;
	}
	.attorna-fixed-navigation .attorna-main-menu-search i {
		color: #ffffff;
	}
}

/* -- Footer CSS -- */
.attorna-footer-wrapper .widget {
	margin-bottom: 0 !important;
}
.attorna-footer-wrapper #text-1 {
	padding-right: 80px;
}

/* -- Home CSS -- */
.wccu_container .gdlr-core-counter-item-bottom-text {
	color: #b1a17d !important;
}
/* -- Practice Area Sidebar CSS -- */
.menu-item-7406, .menu-item-7407, .menu-item-7408 {
	margin-left: 20px;
}
#menu-cordoba-legal-practice-areas .menu-item {
	display: flex;
}
.gdlr-core-pbf-background-frame {
    z-index: -1;
}
.contact-links a {
	color: #ffffff !important;
}
.contact-links a:hover {
	color: #b1976b !important;
}

/* -- Temporarry hide home founders section-- */
.home-founders-section {
	display: none !important;
}

.custom-personnel-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:40px;
}

.custom-personnel-card{
    display:flex;
    flex-direction:column;
    height:100%;
    text-decoration:none;
    color:inherit;
    background:#fff;
    border-radius:4px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
    transition:all .35s ease;
}

.custom-personnel-card:hover{
    box-shadow:0 18px 45px rgba(0,0,0,.14);
    color:inherit;
}

/* Image */

.custom-personnel-image{
    overflow:hidden;
    aspect-ratio:1 / 1;
    background:#f5f5f5;
}

.custom-personnel-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .6s ease, filter .6s ease;
	object-position: 0 -40px;
}

.custom-personnel-card:hover .custom-personnel-image img{
    transform:scale(1.08);
}

/* Content */

.custom-personnel-content{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:28px;
}

.custom-personnel-title{
    margin:0 0 8px;
    font-size:22px;
    font-weight:700;
    line-height:1.3;
    color:#202020;
    transition:color .3s;
}

.custom-personnel-card:hover .custom-personnel-title{
    color:#b1976b; 
}

.custom-personnel-position{
    margin-bottom:18px;
    font-size:13px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#b1976b;
}

.custom-personnel-excerpt{
    color:#666;
    line-height:1.8;
    font-size:15px;
    flex:1;
}

/* Optional read more arrow */

.custom-personnel-content::after{
    content:"→";
    margin-top:25px;
    font-size:20px;
    color:#b1976b;
    transition:transform .3s ease;
}

.custom-personnel-card:hover .custom-personnel-content::after{
    transform:translateX(8px);
}

/* Tablet */

@media (max-width:1024px){

    .custom-personnel-grid{
        grid-template-columns:repeat(2,1fr);
        gap:30px;
    }

}

/* Mobile */

@media (max-width:767px){

    .custom-personnel-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

    .custom-personnel-content{
        padding:22px;
    }

    .custom-personnel-title{
        font-size:20px;
    }

}

.attorna-sidebar-area #block-9,
.attorna-sidebar-area #block-10{
    margin-bottom: 0 !important;
}
.attorna-sidebar-area #block-9 h4 a:hover,
.attorna-sidebar-area #block-10 h4 a:hover{
    color: #b1976b !important;
}
.practice_areas_list img {
	aspect-ratio: 3 / 2 !important;
}

/* imp buttons */

/* Convert Attorna buttons into text links */

.imp_buttons .gdlr-core-button {
	margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: inherit;
    font-weight: 600;
    text-decoration: none;

    transition: color .25s ease;
}

/* Remove any theme pseudo backgrounds */

.imp_buttons .gdlr-core-button::before,
.gdlr-core-button::after {
    display: none !important;
}

/* Arrow */

.imp_buttons .gdlr-core-button .gdlr-core-content::after {
    content: "→";
    display: inline-block;
    margin-left: 8px;
    transition: transform .25s ease;
}

/* Hover */

.imp_buttons .gdlr-core-button:hover .gdlr-core-content::after {
    transform: translateX(5px);
}

/* Optional underline animation */
.imp_buttons .gdlr-core-button .gdlr-core-content {
    position: relative;
}
.imp_buttons {
	display: flex !important;
	gap: 40px !important
}
.imp_buttons .gdlr-core-button:hover span {
	color: #b1976b !important;
}
.imp_buttons .gdlr-core-button .gdlr-core-content::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #b1976b;
    transition: width .25s ease;
}


.imp_buttons .gdlr-core-button:hover .gdlr-core-content::before {
    width: 100%;
}
.gdlr-core-pbf-sidebar-left .menu-criminal-defence-container ul li {
	display: flex !important;
}
.subpages_menu ul li {
	display: flex !important;
}
.pa-hero img {
	width: 100% !important;
    aspect-ratio: 5 / 2 !important;
    object-fit: cover !important;
}

.selected-personnel-grid {
	display: flex;
	justify-content: center;
}
.selected-personnel-grid .custom-personnel-card {
	flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    box-sizing: border-box;
}
.attorna-footer-container > div:last-child {
    padding: 0 !important;
}
.sidebar-link {
	color: #ffffff !important;
}
.sidebar-link:hover {
	color: #b1976b !important;
}
@media (max-width:767px){

	.attorna-footer-container > div:last-child {
		padding: 0 20px !important;
	}

}

.single-post .attorna-blog-info-wrapper {
	display: none;
}