/*
Theme Name: lawgel child
Tags: one-column, flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, sticky-post, threaded-comments, translation-ready
Template: lawgel
Version: 1.0.0
*/

/*---------------------------------
      write your css from here
------------------------------------*/
/* Blog titles: tan, hover black */
.wblogtitle a {
  color: #A4864A !important;
  transition: color .3s ease;
}
.wblogtitle a:hover,
.wblogtitle a:focus {
  color: #000000 !important;
}

/* Blog Details Page: Title tan, hover black */
h2.blog_title {
    color: #A4864A !important;
    transition: color 0.3s ease;
}

h2.blog_title:hover {
    color: #000000 !important;
}

/* Read More button: tan bg + white text, hover black bg + white text */
.wblogbtn a.btnallt,
.wblogbtn a.btnall {
  background-color: #A4864A !important;
  color: #ffffff !important;
  border-color: #A4864A !important;
  transition: all .3s ease;
}
.wblogbtn a.btnallt:hover,
.wblogbtn a.btnall:hover,
.wblogbtn a.btnallt:focus,
.wblogbtn a.btnall:focus {
  background-color: #242329 !important;
  color: #ffffff !important;
  border-color: #242329 !important;
}

/* Footer Icons change  */

footer i,
footer i:before,
.footer-sociala-icon i,
.footer-sociala-icon i:before {
  color: #000000 !important;
}

/* Header Icons change */

.ti-home,
.ti-mobile,
.ti-email,
.ti-time {
  color: #A4864a !important;
}

/* ===== Image box: same size ===== */
.tteamimg {
    position: relative !important;
    overflow: hidden;
}

.tteamimg img {
    width: 100% !important;
    height: 280px !important;          /* same height for all image boxes */
    object-fit: cover !important;      /* crop image instead of stretching */
    object-position: center top;       /* keeps faces visible */
    display: block;
}

/* ===== Black opaque bar across entire bottom ===== */
.tteamimg .txbdcon {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    padding: 14px 20px !important;
    background: rgba(0, 0, 0, 0.85) !important;
    z-index: 2;
}

.tteamimg .teamtit {
    margin: 0 !important;
}

.tteamimg .teamtit a {
    color: #fff !important;
}

/* ===== NEW (Link fix): make the whole image box clickable ===== */
/* The title link is stretched over the entire image box,
   so clicking anywhere on the image opens the page. */
.tteamimg .teamtit a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 280px;                     /* keep same as image height above */
    z-index: 5;
}

/* Theme overlay layers should not block clicks */
.tteamimg::before,
.tteamimg::after {
    pointer-events: none !important;
}

/* ===== Text boxes (tan box + 6th box): exact same height as image boxes ===== */
.practice-box-text {
    height: 280px !important;          /* fixed: same as image height */
    min-height: 280px !important;
    box-sizing: border-box !important; /* padding is included in the 280px */
    padding-top: 0px !important;      /* top spacing */
    padding-bottom: 0px !important;   /* bottom spacing */
    justify-content: center;           /* centers content vertically */
    overflow: hidden;                  /* nothing can push the box taller */
}

.practice-box-text.dark-box {
    background-color: #A4864A !important;
	 
}

/* ===== NEW: Contact us button - black background (6th box only) ===== */
.dark-box a {
    display: inline-block;
    background: #000 !important;       /* black button background */
    color: #fff !important;            /* white button text */
    padding: 12px 28px;                /* button size */
    text-decoration: none;             /* removes underline */
}

/* Slightly lighter black on hover */
.dark-box a:hover {
    background: #222 !important;
}

/* ===== 6th box: compact content so it fits inside 280px ===== */
.dark-box .elementor-icon {
    font-size: 28px;                   /* smaller map marker icon */
}

.dark-box .elementor-widget {
    margin-bottom: 8px !important;     /* smaller gap between icon, title, text, button */
}

.dark-box p,
.dark-box .elementor-icon-box-description {
    font-size: 14px;                   /* slightly smaller paragraph text */
    line-height: 1.45;
    margin-bottom: 8px;
}

.dark-box a {
    padding: 10px 24px;                /* slightly smaller button */
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
    .tteamimg img { height: 220px !important; }
    .practice-box-text {
    height: auto !important;           /* let the box grow with text on mobile */
    min-height: 220px !important;
    overflow: visible;
}

    /* NEW: link overlay height must match mobile image height */
    .tteamimg .teamtit a::after { height: 220px; }
}


/* =====================================================
   ATTORNEY CARDS (Meet the Attorneys section)
   Works only on widgets with the class "attorney-team"
   ===================================================== */

/* a) Space between the designation text and the MORE button */
.attorney-team .witr_btn {
    display: inline-block;            /* lets margin and centering work */
    margin: 18px auto 0 !important;   /* 18px gap above the button */
    float: none !important;           /* cancels any theme float */
    position: relative;
    left: 0 !important;
    transform: none !important;
}

/* b) Center the button exactly under the text */
.attorney-team .tteamcon,
.attorney-team .tteamcon2,
.attorney-team .elementor-widget-container {
    text-align: center !important;    /* title, designation and button share the same center */
}

/* Extra bottom space so the button does not touch the card edge */
.attorney-team .witr_btn {
    margin-bottom: 20px !important;
}

/* c) Image hover overlay: lighter, tan colour */
.attorney-team .tteamimg::before,
.attorney-team .tteamimg::after,
.attorney-team .tteamimg:hover::before,
.attorney-team .tteamimg:hover::after {
    background: rgba(168, 134, 74, 0.35) !important;  /* tan, 35% opacity (lower = lighter) */
    opacity: 1 !important;
}

/* =====================================================
   TESTIMONIAL STARS - solid white
   Replaces the outline star icon with a filled star.
   ===================================================== */
.ti-star:before {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", "FontAwesome" !important;
    font-weight: 900 !important;      /* 900 = solid style (needed for filled star) */
    content: "\f005" !important;      /* Font Awesome filled star */
    color: #fff !important;           /* solid white */
}


/* Tan strip between the attorneys (like footer colour, 65% opacity) */
/* .tan-strip {
    background-color: rgba(168, 134, 74, 0.65) !important;  /* tan #A8864A at 65% opacity */
    padding: 40px 0 !important;                              /* height of the strip */
} */

/* =====================================================================
   BLOG PAGES Changes ONLY:  
   ===================================================================== */

h2.blog_title {
 font-size: 22px!important;
}  
 
html body:not(.page) *:has(> .lawgel-header-top) {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    background: #1b1b1e !important;     /* dark behind both top bar and nav */
}

/* ---------------------------------------------------------------------
   1) TOP BAR (address, phone, email, open hours)
   --------------------------------------------------------------------- */
html body:not(.page) .lawgel-header-top {
    display: block !important;
    position: relative !important;
    z-index: 1000 !important;
    background: #1b1b1e !important;     /* dark bar */
    background-image: none !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Inner layers transparent so the dark colour shows */
html body:not(.page) .lawgel-header-top .container,
html body:not(.page) .lawgel-header-top .row,
html body:not(.page) .lawgel-header-top .col,
html body:not(.page) .lawgel-header-top .top-address,
html body:not(.page) .lawgel-header-top .top-right-menu {
    background: transparent !important;
}

/* Text white, icons tan */
html body:not(.page) .lawgel-header-top a,
html body:not(.page) .lawgel-header-top span,
html body:not(.page) .lawgel-header-top p {
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html body:not(.page) .lawgel-header-top i {
    color: #A8864A !important;
}

/* ---------------------------------------------------------------------
   2) MAIN NAV AREA (logo + menu): dark, in normal flow
   --------------------------------------------------------------------- */
html body:not(.page) .mainmenu_width_tx,
html body:not(.page) .mainmenu_width_tx .lawgel-main-menu,
html body:not(.page) .mainmenu_width_tx .lawgel_nav_area {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    background: #1b1b1e !important;
}

html body:not(.page) .mainmenu_width_tx {
    z-index: 999 !important;
    margin-bottom: 40px !important;     /* space between nav and blog title */
}

html body:not(.page) .mainmenu_width_tx .lawgel_nav_area {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

body:not(.page) .lawgel_theme_harea {
    position: relative !important;
    z-index: 999;
    margin-bottom: 30px;
}

/* ---------------------------------------------------------------------
   3) LOGO (show one logo only)
   --------------------------------------------------------------------- */
html body:not(.page) .mainmenu_width_tx .logo img {
    display: block;
    max-height: 70px;
    width: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

html body:not(.page) .mainmenu_width_tx .logo a.main_sticky_l {
    display: none !important;
}

/* ---------------------------------------------------------------------
   4) MENU LINKS: white, tan on hover / active page
   --------------------------------------------------------------------- */
html body:not(.page) #menu-main-menu-1 > li > a {
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html body:not(.page) #menu-main-menu-1 > li > a:hover,
html body:not(.page) #menu-main-menu-1 > li.current-menu-item > a {
    color: #A8864A !important;
}

/* ---------------------------------------------------------------------
   5) DROPDOWN (Practice Areas)
   --------------------------------------------------------------------- */
html body:not(.page) #menu-main-menu-1 li ul.sub-menu {
    background: #1b1b1e !important;
}

html body:not(.page) #menu-main-menu-1 li ul.sub-menu li a {
    color: #fff !important;
}

html body:not(.page) #menu-main-menu-1 li ul.sub-menu li a:hover {
    color: #A8864A !important;
}

/* ---------------------------------------------------------------------
   6) SEARCH ICON + CONTACT US BUTTON
   --------------------------------------------------------------------- */
html body:not(.page) .mainmenu_width_tx .em-quearys-menu i {
    color: #fff !important;
}

html body:not(.page) .mainmenu_width_tx .dtbtn {
    background-color: #A8864A !important;
    color: #fff !important;
}

/* ---------------------------------------------------------------------
   7) STICKY NAV while scrolling: solid dark + shadow
   --------------------------------------------------------------------- */
html body:not(.page) .lawgel-main-menu.sticky {
    background: #1b1b1e !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    z-index: 9999 !important;
}

/* =====================================================================
   HOME PAGE: "Meet the Attorneys" (2 attorneys now, ready for 3)
   Parent container class: attorney-row
   Only affects the container that has this class.
   ===================================================================== */

/* 1) LAYOUT: 3-column spacing, cards centered.
      With 2 attorneys they sit in the middle.
      A 3rd attorney fits in automatically, no CSS change needed. */
.attorney-row,
.attorney-row > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;   /* centers the cards */
    align-items: flex-start !important;
    gap: 30px !important;
}

/* Each card = 1/3 width (minus gaps), never wider than 380px.
   Change 380px to make the images larger or smaller. */
.attorney-row > .elementor-widget,
.attorney-row > .e-con,
.attorney-row > .e-con-inner > .elementor-widget,
.attorney-row > .e-con-inner > .e-con {
    flex: 0 0 calc((100% - 60px) / 3) !important;   /* 3 columns, 2 gaps of 30px */
    width: calc((100% - 60px) / 3) !important;
    max-width: 380px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* 2) IMAGE: full width of the card, clear in the normal state */
.attorney-row .tteamimg {
    position: relative;
    overflow: hidden;
}

.attorney-row .tteamimg img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

/* 3) TAN OVERLAY: hidden normally, visible only on mouseover */
.attorney-row .tteamimg::before,
.attorney-row .tteamimg::after {
    background: rgba(168, 134, 74, 0.35) !important;   /* tan, 35% (lower = lighter) */
    opacity: 0 !important;                             /* invisible normally */
    transition: opacity 0.3s ease;
    pointer-events: none !important;
}

.attorney-row .tteamimg:hover::before,
.attorney-row .tteamimg:hover::after {
    opacity: 1 !important;                             /* shows only on hover */
}

/* 4) NAME / DESIGNATION / MORE BUTTON: centered, with space above button */
.attorney-row .tteamcon,
.attorney-row .tteamcon2,
.attorney-row .elementor-widget-container {
    text-align: center !important;
}

.attorney-row .witr_btn {
	color:#fff;
	background: #a4864a !important;
    display: inline-block;
	padding: 12px 35px;
	border-radius: 30px;
    margin: 18px auto 20px !important;   /* gap above the button, space below */
    float: none !important;
    position: relative;
    left: 0 !important;
    transform: none !important;
}

/* 5) TABLET: 2 cards per row, centered */
@media (max-width: 1024px) {
    .attorney-row > .elementor-widget,
    .attorney-row > .e-con,
    .attorney-row > .e-con-inner > .elementor-widget,
    .attorney-row > .e-con-inner > .e-con {
        flex: 0 0 calc((100% - 30px) / 2) !important;
        width: calc((100% - 30px) / 2) !important;
    }
}

/* 6) MOBILE: 1 card per row */
@media (max-width: 767px) {
    .attorney-row > .elementor-widget,
    .attorney-row > .e-con,
    .attorney-row > .e-con-inner > .elementor-widget,
    .attorney-row > .e-con-inner > .e-con {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 420px !important;
    }
}
/* =====================================================================
   HOME VIDEO SECTION: remove the play button completely
   (icon, circle and the rings drawn by ::before / ::after)
   Targets only the play link: <a class="... video-vemo-icon venobox ...">
   The image behind it is NOT touched.
   ===================================================================== */
a.video-vemo-icon,
a.video-vemo-icon::before,
a.video-vemo-icon::after,
a.videowh.venobox,
a.videowh.venobox::before,
a.videowh.venobox::after {
    display: none !important;
    content: none !important;
}