/*
 Theme Name:   Astra Child - Dahlan
 Theme URI:    https://dahlanlaw.com/
 Description:  Child theme for Astra. Site-specific code lives in functions.php.
 Author:       Dahlan & Co
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child-dahlan
*/

/* Custom CSS goes below this line. */
html{
    zoom: 0.8;
}
.rtl .ast-footer-copyright
{
	height:0;
}
ul {
    list-style: none;
	margin: 0;
}
.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row {
    max-width: 1600px;
}
.rtl .footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner {
    text-align: right;
}
a,
a:hover,
a:focus,
a:active,
a:visited{
    text-decoration: none !important;
}
.site-header {
    z-index: 99;
    position: relative;
    zoom: 1.1;
}
.rtl .ast-footer-copyright {
    text-align: right;
}
.rtl .site-header {
   
    direction: ltr;
}
.rtl .main-navigation ul {
   
    direction: rtl;
}
/* Base Menu Item */

.menu-link{
    min-width: 130px;
    height: 68px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    transition: all .35s ease;
    position: relative;
}

/* Hover & Active */
.current-menu-item .menu-link,
.menu-link:hover{
    background: url('https://dahlanlaw.com/wp-content/uploads/2026/06/Link.webp') center center no-repeat;
    background-size: contain;
   color: #fff !important;
	text-decoration:none !important;
}
@media (max-width: 921px) {
            .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link
	{
		background-size:auto;
		 background: url('https://dahlanlaw.com/wp-content/uploads/2026/06/Link.webp') center center no-repeat;
	}
	
	
}
/* Footer Wrapper */
.site-footer {
   background:#FCF9F8;
    padding: 0 30px;
}

/* Top footer area */
.site-above-footer-wrap {
background: #FCF9F8;
    padding: 45px 60px 35px;
    border-bottom: 1px solid #e2ded9;
}

/* Footer grid */
.site-above-footer-inner-wrap {
    display: grid !important;
    grid-template-columns: 1.6fr .6fr .8fr .8fr;
    align-items: flex-start;
    gap: 40px;
}

/* Logo */
.site-footer-above-section-1 img {
    max-width: 270px !important;
    height: auto;
}

/* Remove extra spacer */
.site-footer-above-section-1 .wp-block-spacer {
    display: none !important;
}

/* Footer headings */
.site-footer .wp-block-paragraph,
.site-footer .wp-block-paragraph a {
    margin: 0;
    text-decoration: none;
}

.site-footer-above-section-3 section:first-child p,
.site-footer-above-section-4 section:first-child p,
.site-footer-above-section-4 section:first-child a {
    color: #5b0f0f !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

/* Footer links */
.site-footer a {
    color: #2F300E !important;
    font-size: 15px;
    line-height: 1.8;
    text-decoration: none !important;
    transition: color .3s ease;
}
.site-footer p
{
	 font-size: 15px;
}

.site-footer a:hover {
    color: #8b1e1e !important;
}
 #astra-footer-menu > .menu-item > .menu-link {
	background-image:none;
	color:#8b1e1e !important
}
/* Link spacing */
.site-footer .widget {
    margin-bottom: 14px;
}

/* Bottom copyright */
.site-below-footer-wrap {
    background:#FCF9F8 !important;
    padding: 22px 60px;
}

.site-below-footer-inner-wrap {
    display: block !important;
}
.ast-footer-copyright
{
	height:0;
}
.ast-footer-copyright p {
    color: #2F300E;
    font-size: 13px;
    margin: 0;
	
}



/* menu
/* Responsive Tablet */
/* ==========================================
   MOBILE MENU
========================================== */
/* ===============================
   ASTRA MOBILE MENU RESPONSIVE
================================ */
/* ===============================
   MOBILE MENU - FINAL FIX
================================ */
/* Menu Item */
/*.main-header-menu .menu-link{
    position:relative;
    padding:14px 28px !important;
    z-index:2;
}

.main-header-menu .menu-link::before{
    content:'';
    position:absolute;
    width:120px;
    height:55px;
    background:linear-gradient(
        135deg,
        #5E0D14 0%,
        #7B1B25 50%,
        #5E0D14 100%
    );
    left:50%;
    top:50%;
    transform:translate(-50%,-50%) skewX(-20deg);
    opacity:0;
    transition:.35s ease;
    z-index:-1;
}

.main-header-menu .menu-link:hover::before,
.main-header-menu .current-menu-item .menu-link::before{
    opacity:1;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item .menu-link{
    color:#fff !important;
}*/

.practice-p ,
.sector-p{
  flex-grow: 1; 
	text-align:left !important;
}

.practice-link-div ,
.sector-link{
  margin-top: auto;
}

.popup-extra,
.popup-paragraph{
	text-align:justify;
}