/*

Theme Name: WMD Theme

*/



/*html :where(img){height:inherit;max-width:none;}*/


 
    :root {
      --bg:#ffffff;
      --text:#111827;
      --muted:#6b7280;
      --accent:#2563eb;
      --border:#e5e7eb;
      --container:1100px;
    }
    * { box-sizing:border-box; }
    html,body { margin:0; padding:0; }
    body {
      background:var(--bg);
      color:var(--text);
      font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
      -webkit-font-smoothing:antialiased;
      text-rendering:optimizeLegibility;
    }
    a { color:var(--accent); text-decoration:none; }
    a:hover { text-decoration:underline; }
    img { max-width:100%; height:auto; }

    .container {
      width:100%;
      max-width:var(--container);
      margin-inline:auto;
  padding:0 20px;
    }

    /* === HEADER LAYOUT === */
    .site-header {
      border-bottom:1px solid var(--border);
      background:#fafafa;
    }
    .site-header .container {
      display:flex;
      align-items:center;
      justify-content:space-between;
      flex-wrap:nowrap;
      gap:24px;
      padding:14px 20px;
    }

    .site-branding {
      display:flex;
      align-items:center;
      gap:10px;
      margin-right:auto;
    }

    .custom-logo, .site-logo {
      /* height:58px; */
      width:250px!important;
      height:auto!important;
     
    }

    .site-title {
      margin:0;
      font-size:clamp(20px,3vw,26px);
      line-height:1.2;
    }

    .site-description {
      margin:0;
      font-size:14px;
      color:var(--muted);
    }

    /* === MENU === */
    .main-navigation {
      flex:0 0 auto;
    }

    .nav-menu {
      list-style:none;
      margin:0;
      padding:0;
      display:flex;
 align-items:center;
      gap:18px;
      flex-wrap:nowrap;
      justify-content: end;
    }

    .nav-menu li {
      margin:0;
      padding:0;
    }

    .nav-menu a {
      color:var(--text);
      text-decoration:none;
      display:inline-block;
      padding:8px 10px;
      border-radius:8px;
      transition:background .2s ease;
    }

    .nav-menu a:hover,
    .nav-menu .current-menu-item > a {
      background:#eef2ff;
      color:var(--accent);
      text-decoration:none;
    }

    /* === CONTENT === */
    .site-content {
      padding:32px 0;
    }

    /* === TABLE STYLING === */
    table {
      width:100%;
      border-collapse:collapse;
      margin:24px 0;
      font-size:15px;
    }
    th, td {
      padding:12px 16px;
      border:1px solid var(--border);
      text-align:left;
    }
    th { background:#f3f4f6; font-weight:600; }
    tr:nth-child(even) { background:#f9fafb; }
    tr:hover { background:#eef2ff; }
    caption {
      text-align:left;
      font-weight:600;
      margin-bottom:8px;
      color:var(--muted);
 }

    /* === RESPONSIVE === */
    @media (max-width:768px) {
      .site-header .container { flex-wrap:wrap; }
      .main-navigation { order:3; width:100%; }
      .nav-menu { flex-wrap:wrap; gap:12px; }
      .custom-logo, .site-logo { height:36px; }
    }

    /* new css */

    
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
/* Add FontAwesome arrow only to top-level menu items with children */
.menu-item-has-children>a::after {
    content: "\f078";
    font-family: "FontAwesome";
    margin-left: 5px;
    color: #000;
    position: absolute;
    top: 9px;
    right: -14px;
    font-size: 10px;
}

/* Hide arrow for nested submenu items */
.sub-menu .menu-item-has-children>a::after {
    display: block;
    right: 0;
}

.navigationcl {
    position: relative;
    left: auto;
    padding-top: 0;
    display: inline-block;
    width: 100%;
}

.navigationcl a {
    display: block;
    position: relative;
    margin: 0;
    height: auto;
    font-size: 17px;
    line-height: 40px;
    color: #000;
    overflow: visible;
    text-decoration: none;

}

.sub-menu li a {
    line-height: 24px;
    margin: 5px 0;
    Color: #000;

}

.navigationcl li {
    position: relative;
    display: inline-block;
}

.nav-select {
    display: inline-block;
    visibility: visible;
    width: 100%;
    text-align: right;
}

.navigationcl a:hover,
.navigationcl a:focus {
    color: #000;
}

.navbar-togglecl {
    display: none;
}

.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    background: #fff;
    width: 180px;
    text-align: left;
    padding: 0;
    box-shadow: 0 0 6px #ddd;
    top: 42px;
    word-break: break-word;
    z-index: 999;
}

.menu-item:hover .sub-menu {
    display: block;
}

.sub-menu li {
    width: 100%;
}

.sub-menu .sub-menu {
    left: auto;
    right: 100%;
    top: -10px;

}

.nav-select .sub-menu>li>.sub-menu {
    display: none;
    position: absolute;

}

.nav-select .menu__list>li:hover>.sub-menu,
.nav-select .sub-menu>li:hover>.sub-menu {
    display: block;
}

.nav-menu li.menu-item-has-children:hover>a::after {
    transform: rotate(-180deg);
}


@media only screen and (max-width: 1599px) {
.sub-menu {
    left: -94px;
}
}

@media only screen and (max-width: 991px) {

    .menu-item-has-children>a::after,
    .sub-menu .menu-item-has-children>a::after {
        display: none;
    }

.navigationcl {
    position: absolute;
    right: 0;
    top: 140px;
    width: 100%;
    cursor: pointer;
    text-align: left;
    background: #fff;
    left: auto;
    box-shadow: 0 0 4px #ddd;
    display: none;
    padding: 14px;
    Z-index: 999;
}

    .navbar-togglecl {
        display: block !important;
    }

    .navbar-togglecl {
       background-color: #050104;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 20px;
        right: 15px;
        text-align: center;
        cursor: pointer;
        border-radius: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: transparent;
    }

    .navbar-togglecl span {
        width: 20px;
        height: 2px;
        background-color: #fff;
        display: inline-block;
        position: relative;
        top: 2px;
        right: 0;
    }

    .navbar-togglecl span::before,
    .navbar-togglecl span::after {
        content: "";
        position: absolute;
        background-color: #fff;
        width: 100%;
        height: 2px;
        left: 0;
        top: -7px;
    }

    .navbar-togglecl span::after {
        top: 7px;
    }

    .navigationcl li {
        position: relative;
        display: inline-block;
        Padding: 0 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;

    }


    .navigationcl a {
        font-size: 15px;
        color: #000;
        height: auto;
        padding: 5px 10px;
        margin: 0;
        line-height: 36px;
        text-align: center;
    }

    .navigationcl ul {
        visibility: visible;
        position: relative;
        display: block;
        left: 0;
        top: 0;
        margin: 0 !important;
        width: 100%;
        padding: 0 !important;
    }

    .navigationcl ul a {
        height: auto;
        width: 100%;
        overflow: visible;
        line-height: 26px;
        background-image: none;
        border-width: 0;
        text-align: left;
    }

    .navigationcl li:hover>ul {
        visibility: visible;
        top: auto;
    }

    .toggle-menu {
        position: absolute;
        right: -7px;
        width: 40px;
        height: 30px;
        font-size: 15px;
        transform: rotate(0deg);
        text-align: center;
        top: 7px;
        cursor: pointer;
        z-index: 999;
        display: block;
        color: #000;
    }
    .toggle-menu i {
        transition: transform 0.3s ease;
    }
 
    .toggle-menu.on i {
        transform: rotate(180deg);
    }
    .sub-menu .toggle-menu {
        top: 10px;
    }

    .nav-select {
        display: inline-block;
        visibility: visible;
        width: 100%;
        text-align: left;
        margin: 0;
    }

    .sub-menu {
        display: block;
        position: relative;
        left: 0;
        background: transparent;
        width: 100%;
        text-align: left;
        padding: 0 !important;
        box-shadow: none;
        top: auto;
    }

    .sub-menu .sub-menu {
        left: 0;
        right: 0;
        top: 0;
    }

    .nav-select .sub-menu>li>.sub-menu {
        display: block;
        position: relative;

    }

    .nav-select .menu__list>li:hover>.sub-menu,
    .nav-select .sub-menu>li:hover>.sub-menu {
        display: block;
    }
    img.custom-logo {
	    max-width: 180px;
	    height: 60px;
	}
.navbar-togglecl {
    top: 74px;
}


}


/*AUTHOR SECTION START*/
.main-title{
    text-align:left;
}
.custom_top_author {
    display: flex;
    align-items: center;
    gap: 16px;
   background: #F2F2F2;
    border-radius: 10px;
    padding: 10px;
    
}
.author_imag img {
    width: 60px;
    min-width:60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}
.name_author_out {
    display: flex;
}
.name_author_out span.lbl {
    margin-right: 5px;
}
.name_author_out h4 {
    margin: 0;
    color: #000;
    line-height: 24px;
    font-size: 18px;
    font-weight: normal;
}
.name_author_out p{
margin:0 !important;
}
 
 
/*AUTHOR SECTION And Page START*/
 
.main-title {
    text-align: left;
}
 
.custom_top_author {
    display: flex;
    align-items: center;
    gap: 16px;
}
 
.author_imag img {
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}
 
.name_author_out {
    display: flex;
    align-items: center;
}
 
.name_author_out span.lbl {
    margin-right: 5px;
}
 
.name_author_out h4,
.name_author_out p {
    margin: 0;
    padding: 0;
    font-weight: normal;
}
 
.name_author_out a p {
    font-weight: 600;
    font-size: 16px;
}
 
.name_author_out a:hover p {
    color: #ea0101;
}
 
.modifyDetails {
    background: #F2F2F2;
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 20px;
}
 
.author_imag img {
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}
 
.author_imag {
    line-height: 0;
}
 
.name_author_out {
    display: flex;
}
 
.name_author_out span.lbl {
    margin-right: 5px;
}
 
.name_author_out a {
    color: inherit;
}
 
/*Author Page css*/
.header-profile-details h2 {
    font-size: 30px;
    margin-bottom: 0;
    margin-top: 0;
}
 
.profile-header-container {
    display: flex;
    align-items: center;
    gap: 30px;
}
 
.header-avatar-container img {
    padding: 0;
    border: 0;
    width: 75px;
    height: 75px;
    object-fit: cover;
}
 
.header-profile-details h2 {
    font-size: 30px;
    margin-bottom: 0;
    margin-top: 0;
}
 
.profile-fields-group.profile-fields-group-1 {
    border: 1px solid #eee;
    margin: 1.5rem 0 0;
    padding: 15px 20px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    letter-spacing: 1px;
}
 
.profile-fields-group.profile-fields-group-1 h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #000;
}
.home-page.author-box-wrapper {
    padding: 30px 0;
    box-shadow: none;
}
 
.author-f-name .label, .author-description-name .label {
    font-weight: 600 !important;
    font-size: inherit;
    line-height: inherit;
    background: transparent;
    color: inherit;
    padding: 0px;
}
 
.author-f-name {
    display: flex;
    gap: 15px;
    font-size: 20px;
}
 
.author-description-name {
    margin-top: 20px;
    font-size: 20px;
}
.name_author_out a:hover,
.name_author_out a:hover p {
    color: #000 ;
    text-decoration-color: #000 ;
}
 
/*AUTHOR SECTION And Page END*/

.site-footer #block-7 p {
    text-align: center!important;
}
.navigationcl, .navigationcl ul {
    background: #7f6aad !important;
}
.navigationcl ul li a{
    color:#000!important;
}
.nav-menu a:hover, .nav-menu .current-menu-item > a {
    background: unset; 
    text-decoration: none!important;
}
  @media only screen and (min-device-width: 768px) and (max-device-width: 1023px) {
    .toplist-techcity__offer-logo:before {
        right: 40px !important;
    }
}