/*
Theme Name: Consultant Child
Template: twentytwentyfive
Version: 1.0
*/

/* =========================================================
   RESET
========================================================= */
html, body{
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* =========================================================
   GLOBAL TOKENS
========================================================= */
:root{
  --bg: #f6f5f2;
  --card: #ffffff;
  --text: #121212;
  --muted: #5a5a5a;
  --hairline: rgba(0,0,0,0.10);
  --shadow: 0 12px 30px rgba(0,0,0,0.08);
  --radius: 18px;
  --max: 1120px;
  --gutter: 22px;
}

/* =========================================================
   HEADER
========================================================= */
.dp-site-header{
  position: sticky;
  top: 0;
  z-index: 99999;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.admin-bar .dp-site-header{
  top: 32px;
}

.dp-header-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dp-logo{
  display:flex;
  align-items:center;
  text-decoration:none;
  color:#111;
}

.dp-logo-text{
  font-weight: 700;
  font-size: 16px;
}

/* NAV */
.dp-nav{
  display: flex;
}

.dp-nav-list{
  list-style:none;
  display:flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.dp-nav-list li{
  position: relative;
}

.dp-nav-list a{
  text-decoration:none;
  color:#111;
  font-size: 14px;
}

/* DROPDOWN */
.dp-nav-list .sub-menu{
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 10px;
  min-width: 260px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.dp-nav-list li:hover > .sub-menu{
  display: block;
}

/* MOBILE */
.dp-menu-toggle{
  display: none;
}

@media (max-width: 800px){

  .dp-menu-toggle{
    display: block;
  }

  .dp-site-header .dp-nav{
    display: none !important;
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    background: #fff;
    border-radius: 18px;
    padding: 16px;
  }

  .dp-site-header .dp-nav.is-open{
    display: block !important;
  }

  .dp-nav-list{
    flex-direction: column;
  }

  .dp-nav-list .sub-menu{
    position: static;
    display: block;
  }
}

/* =========================================================
   CONTENT WIDTH FIX
========================================================= */
.dp-content-wrap{
  padding: 60px 22px 80px;
  background: #fff;
}

.dp-content-inner{
  max-width: 1100px;
  margin: 0 auto;
}

.dp-post-title{
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 32px;
}

/* =========================================================
   FEATURED IMAGE FIX
========================================================= */
.dp-content-inner .dp-featured-image{
  width: 100%;
  margin: 0 0 48px;
  border-radius: 18px;
  overflow: hidden;
}

.dp-content-inner .dp-featured-image img{
  width: 100%;
  height: auto;
}

/* =========================================================
   HOMEPAGE FIX (REMOVE GAP)
========================================================= */
.dc-wrap{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--bg);
  padding: 56px 0 0; /* removed bottom padding */
}

.dc-container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================================
   FOOTER FIX (REMOVE GAP)
========================================================= */
.site-footer{
  margin-top: 0;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.site-footer-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}