/*
 Theme Name: Bricks Child
 Template:   bricks
*/

/* ============================================================
   DD COUNSEL - GLOBAL
   ============================================================ */
* {
  box-sizing: border-box !important;
}

/* ============================================================
   DD COUNSEL - ADMIN BAR OFFSET
   ============================================================ */
html {
  margin-top: 0 !important;
}

/* ============================================================
   DD COUNSEL - TOPBAR SECTION
   ============================================================ */
#brxe-rhbgcy {
  background: #1e2d40 !important;
  padding: 6px 0 !important;
  width: 100% !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1000 !important;
}
#brxe-umywvx {
  width: 100% !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 24px !important;
}
#brxe-pdwfqe,
#brxe-lgyzdu {
  font-size: 12px !important;
  color: rgba(255,255,255,0.85) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}
#brxe-pdwfqe svg,
#brxe-lgyzdu svg {
  color: rgba(255,255,255,0.85) !important;
  flex-shrink: 0 !important;
  margin-right: 4px !important;
}
@media (max-width: 600px) {
  #brxe-lgyzdu {
    display: none !important;
  }
}

/* ============================================================
   DD COUNSEL - NAV BAR SECTION
   ============================================================ */
#brxe-mxkymc {
  background: #f7f5f1 !important;
  border-bottom: 1px solid #e0e0e0 !important;
  padding: 0 !important;
  width: 100% !important;
  position: fixed !important;
  top: 32px !important;
  left: 0 !important;
  z-index: 999 !important;
  overflow: hidden !important;
}
#brxe-buyrsa {
  width: 100% !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 72px !important;
}
#brxe-buyrsa.brxe-container {
  align-items: center !important;
  flex-direction: row !important;
}
#brxe-dfuzcd {
  width: 488px !important;
  height: auto !important;
  flex-shrink: 0 !important;
}
#brxe-dfuzcd img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}
#brxe-hzewcg {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 28px !important;
  margin: 0 !important;
}
#brxe-hzewcg a {
  font-size: 13px !important;
  color: #444444 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
#brxe-hzewcg a:hover {
  color: #4a6b8a !important;
}
#brxe-hzewcg .current-menu-item a {
  color: #4a6b8a !important;
}

/* ============================================================
   DD COUNSEL - NAV BAR RESIZE (LOGO SHRINK, NO STACK YET)
   ============================================================ */
@media (max-width: 1135px) and (min-width: 601px) {
  #brxe-dfuzcd {
    width: 360px !important;
  }
}

/* ============================================================
   DD COUNSEL - NAV BAR STACKED LAYOUT (LOGO OVER HAMBURGER)
   ============================================================ */
@media (max-width: 600px) {
  #brxe-mxkymc {
    height: 78px !important;
  }
  #brxe-buyrsa,
  #brxe-buyrsa.brxe-container {
    justify-content: space-between !important;
    height: 78px !important;
    padding: 12px 20px !important;
  }
  #brxe-dfuzcd {
    width: 300px !important;
    height: auto !important;
    align-self: center !important;
  }
  #brxe-inoxqu,
  #brxe-inoxqu.brxe-section {
    margin-top: 110px !important;
  }
}

/* ============================================================
   DD COUNSEL - MOBILE NAV MENU — FULL SCREEN OVERLAY
   ============================================================ */
.bricks-mobile-menu-wrapper {
  position: fixed !important;
  z-index: 1100 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.bricks-mobile-menu-overlay {
  z-index: 1099 !important;
}
#brxe-hzewcg .bricks-mobile-menu {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
  gap: 28px !important;
}
#brxe-hzewcg .bricks-mobile-menu a {
  color: #ffffff !important;
  font-size: 20px !important;
}
.bricks-mobile-menu-toggle {
  position: fixed !important;
  top: calc(32px + (72px / 2) - 12px) !important;
  right: 24px !important;
  z-index: 1200 !important;
  color: #1e2d40 !important;
}
[aria-expanded="true"].bricks-mobile-menu-toggle {
  color: #ffffff !important;
}
@media (max-width: 600px) {
  .bricks-mobile-menu-toggle {
    top: calc(32px + (78px / 2) - 12px) !important;
  }
}

/* ============================================================
   HERO SECTION OFFSET
   ============================================================ */
#brxe-inoxqu,
#brxe-inoxqu.brxe-section {
  margin-top: 104px !important;
  padding-top: 0 !important;
}

/* ============================================================
   DD BADGE LOGOS — SIZE OVERRIDE
   ============================================================ */
#dd-badges img {
  height: 50px !important;
}

/* ============================================================
   DD ATTORNEYS PAGE
   ============================================================ */
#brxe-6675a3,
#brxe-6675a3.brxe-section {
  padding: 0 !important;
  margin: 0 !important;
}
#brxe-2efbca,
#brxe-2efbca.brxe-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}
#dd-attorneys {
  width: 100%;
}
#dd-att-hero {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
#dd-att-hero-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#dd-att-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,60,120,0.75) 0%, rgba(15,28,50,0.95) 100%);
}
#dd-att-hero-text {
  position: relative;
  z-index: 2;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 36px;
}
#dd-att-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
#dd-att-hero-title {
  font-size: 36px;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
}
#dd-att-content {
  width: 90%;
  margin: 0 auto;
  padding: 56px 0 80px;
}
.dd-section-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a6b8a;
  margin-bottom: 12px;
}
.dd-section-rule {
  width: 40px;
  height: 2px;
  background: #4a6b8a;
  margin-bottom: 40px;
}
#dd-att-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dd-att-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dd-att-card:hover {
  border-color: #4a6b8a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.dd-att-photo-wrap {
  flex-shrink: 0;
}
.dd-att-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid #e0e0e0;
  display: block;
}
.dd-att-card:hover .dd-att-photo {
  border-color: #4a6b8a;
}
.dd-att-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.dd-att-name {
  font-size: 15px;
  font-weight: 600;
  color: #1e2d40;
  line-height: 1.3;
}
.dd-att-email a {
  font-size: 12px;
  color: #4a6b8a;
  text-decoration: none;
}
.dd-att-email a:hover {
  text-decoration: underline;
}
.dd-att-bio-link {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4a6b8a;
  margin-top: 4px;
}
.dd-att-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  height: 40px;
  width: auto;
  display: block;
}
#dd-att-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  padding: 60px 20px;
}
#dd-att-lb.is-open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: dd-lb-fade 0.3s ease forwards;
}
#dd-con-att-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  padding: 60px 20px;
}
#dd-con-att-lb.is-open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: dd-lb-fade 0.3s ease forwards;
}
@keyframes dd-lb-fade {
  from { background: rgba(10,15,28,0); }
  to   { background: rgba(10,15,28,0.85); }
}
#dd-att-lb-inner,
#dd-con-att-lb-inner {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 760px;
  border-radius: 8px;
  padding: 48px;
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: flex-start;
  animation: dd-lb-rise 0.3s ease forwards;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
@keyframes dd-lb-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
#dd-att-lb-close,
#dd-con-att-lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  color: #999999;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
#dd-att-lb-close:hover,
#dd-con-att-lb-close:hover {
  color: #1e2d40;
}
#dd-att-lb-photo-wrap,
#dd-con-att-lb-photo-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
#dd-att-lb-photo,
#dd-con-att-lb-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid #e0e0e0;
  display: block;
}
.dd-att-lb-badge {
  height: 52px;
  width: auto;
  display: block;
}
#dd-att-lb-body,
#dd-con-att-lb-body {
  flex: 1;
  min-width: 0;
}
#dd-att-lb-name,
#dd-con-att-lb-name {
  font-size: 24px;
  font-weight: 600;
  color: #1e2d40;
  margin-bottom: 6px;
  line-height: 1.2;
}
#dd-att-lb-email,
#dd-con-att-lb-email {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}
#dd-att-lb-email a,
#dd-con-att-lb-email a {
  font-size: 13px;
  color: #4a6b8a;
  text-decoration: none;
}
#dd-att-lb-email a:hover,
#dd-con-att-lb-email a:hover {
  text-decoration: underline;
}
#dd-att-lb-bio p,
#dd-con-att-lb-bio p {
  font-size: 15px;
  line-height: 1.8;
  color: #444444;
  margin: 0 0 16px;
}
#dd-att-lb-bio p:last-child,
#dd-con-att-lb-bio p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  #dd-att-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #dd-att-lb-inner,
  #dd-con-att-lb-inner {
    flex-direction: column;
    padding: 36px 24px;
  }
  #dd-att-hero {
    height: 220px;
  }
  #dd-att-hero-title {
    font-size: 28px;
  }
}
@media (max-width: 648px) {
  #dd-att-grid {
    grid-template-columns: 1fr;
  }
  #dd-att-hero {
    height: 180px;
  }
  #dd-att-hero-title {
    font-size: 24px;
  }
}

/* ============================================================
   DD CONTENT IMAGES — ROUNDED CORNERS
   ============================================================ */
.dd-ourfirm-photo img,
#dd-disc-photo img,
#dd-con-photo img,
#dd-aop-photo img {
  border-radius: 6px !important;
}

/* ============================================================
   DD CONTACT PAGE
   ============================================================ */
#brxe-363436 {
  padding: 0 !important;
  margin: 0 !important;
}
#brxe-84a84c {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
#dd-contact {
  width: 100%;
}
#dd-con-hero {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
#dd-con-hero-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center center;
}
#dd-con-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 60, 120, 0.75) 0%,
    rgba(15, 28, 50, 0.95) 100%
  );
}
#dd-con-hero-text {
  position: relative;
  z-index: 2;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 36px;
}
#dd-con-hero-eyebrow {
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
  margin-bottom: 8px !important;
}
#dd-con-hero-title {
  font-size: 36px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
#dd-con-content {
  width: 90%;
  margin: 0 auto;
  padding: 60px 0 72px;
}
#dd-con-top {
  display: flex;
  flex-direction: row;
  gap: 52px;
  align-items: stretch;
}
#dd-con-photo {
  flex: 0 0 340px;
}
#dd-con-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  min-height: 320px !important;
}
#dd-con-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dd-ourfirm-label {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #4a6b8a !important;
  margin-bottom: 10px !important;
}
.dd-ourfirm-rule {
  width: 40px;
  height: 2px;
  background: #4a6b8a;
  margin-bottom: 20px;
}
#dd-con-intro p {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #444444 !important;
  margin: 0 0 24px !important;
}
#dd-con-details {
  display: flex;
  flex-direction: row;
  gap: 48px;
}
.dd-con-detail-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dd-con-detail-label {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #4a6b8a !important;
  margin-bottom: 4px !important;
}
.dd-con-detail-value {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #444444 !important;
}
#dd-contact .dd-con-directions,
#dd-contact .dd-con-directions:link,
#dd-contact .dd-con-directions:visited {
  display: inline-block !important;
  width: fit-content !important;
  margin-top: 10px !important;
  padding: 8px 18px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  background: #4a6b8a !important;
  text-decoration: none !important;
  border-radius: 3px !important;
  transition: background 0.2s !important;
}
#dd-contact .dd-con-directions:hover {
  background: #1e2d40 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.dd-ourfirm-divider {
  border-top: 1px solid #e0e0e0;
  margin: 52px 0;
}
#dd-con-attorneys {
  width: 100%;
}
#dd-con-att-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  #dd-con-hero { height: 220px; }
  #dd-con-hero-title { font-size: 28px !important; }
  #dd-con-top {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  #dd-con-photo { flex: none; width: 100%; }
  #dd-con-photo img { min-height: 240px !important; }
  #dd-con-details { flex-direction: column; gap: 20px; }
  #dd-con-att-grid { grid-template-columns: repeat(2, 1fr); }
  #dd-con-content { padding: 40px 0 52px; }
}
@media (max-width: 648px) {
  #dd-con-hero { height: 180px; }
  #dd-con-hero-title { font-size: 24px !important; }
  #dd-con-att-grid { grid-template-columns: 1fr; }
}