/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a,
a:link,
a:visited,
a:hover,
a:focus,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.gallery img,
a.fl-button {
    transition: all 0.25s ease-in-out !important;
}

p {
	margin-bottom: 25px;
}

.zbump {
	position: relative;
	z-index: 99999;
}



/* ============================================================
   DVRC Team grid — for the [dvrc_team] shortcode
   ============================================================ */

.dvrc-team-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
}
.dvrc-team-grid.cols-3{ grid-template-columns:repeat(3,1fr); }
.dvrc-team-grid.cols-2{ grid-template-columns:repeat(2,1fr); }

.dvrc-member{
  position:relative;
  overflow:hidden;
  background:#fff;
  border-radius:16px;
  padding:30px 24px 26px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  gap:8px;
  box-shadow:0 8px 0 0 #80D0DD, 0 14px 40px rgba(102,76,158,.12);   /* teal shelf + soft shadow */
  transition:transform .3s ease, box-shadow .3s ease;
}
.dvrc-member:hover{
  transform:translateY(-8px);
  box-shadow:0 8px 0 0 #80D0DD, 0 28px 70px rgba(52,38,82,.22);
}
.dvrc-member > *{ position:relative; z-index:1; }

/* brand-mark watermark, bottom-right */
.dvrc-member::after{
  content:"";
  position:absolute;
  right:-20px;
  bottom:-20px;
  width:145px;
  height:145px;
  z-index:0;
  background:url('/wp-content/uploads/2026/06/dvrc-brand-mark.png') center center / contain no-repeat;
  opacity:.05;
  pointer-events:none;
  filter:drop-shadow(0 0 16px rgba(102,76,158,.18));
  transition:opacity .35s ease, transform .35s ease, filter .35s ease;
}
.dvrc-member:hover::after{
  opacity:.1;
  transform:scale(1.08) rotate(-3deg);
  filter:drop-shadow(0 0 30px rgba(102,76,158,.40));
}

/* initials monogram (custom element, so it keeps explicit sizing) */
.dm-mono{
  width:72px;
  height:72px;
  border-radius:50%;
  background:#F2ECF8;
  color:#664C9E;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:'Crimson Text', Georgia, serif;
  font-weight:700;
  font-size:30px;
  line-height:1;
  text-decoration:none;
  margin-bottom:10px;
  transition:background .25s ease;
}
.dvrc-member:hover .dm-mono{ background:#E4D8F3; }

.dvrc-member a.dm-mono,
.dvrc-member a.dm-mono:hover,
.dvrc-member a.dm-mono:focus{
  text-decoration:none;
}

/* name — inherits your theme's h3 size/font */
.dm-name{
  margin:0 0 2px;
  line-height:1.2;
}
.dm-name a{ color:#2B3A63; text-decoration:none; transition:color .25s ease; }
.dvrc-member:hover .dm-name a{ color:#664C9E; }

/* role / job title — inherits your theme's paragraph size */
.dm-role{
  color:#5C5C61;
  margin:0;
  flex:1;               /* pushes "View bio" to the bottom so cards align */
  font-size:16px;
}

/* view bio link — inherits size, keeps its weight/color */
.dm-more{
  font-weight:700;
  color:#664C9E;
  text-decoration:none;
  margin-top:10px;
  transition:color .25s ease;
  font-size:16px;
}
.dvrc-member:hover .dm-more{ color:#4A3678; }

/* responsive */
@media (max-width:960px){ .dvrc-team-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .dvrc-team-grid{ grid-template-columns:repeat(2,1fr); gap:20px; } }
@media (max-width:400px){ .dvrc-team-grid{ grid-template-columns:1fr; } }


/* ---- "Back to Staff & Board" button on bio pages ---- */
.dvrc-team-back{ margin-top:44px; text-align:center; }
.dvrc-team-back a{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-weight:700;
  color:#664C9E;
  border:2px solid #664C9E;
  border-radius:8px;
  padding:.75em 1.6em;
  text-decoration:none;
  transition:background .18s ease, color .18s ease;
}
.dvrc-team-back a:hover{ background:#664C9E; color:#fff; }





/* Responsive Hero Overlay */

/* Tablet — push the purple further before it clears */
@media (max-width:1023px){
  .fl-row.dvrc-hero > .fl-row-content-wrap::after{
    background-image:linear-gradient(
        45deg,
        rgba(102,76,158,0.93) 0%,
        rgba(102,76,158,0.90) 68%,
        rgba(102,76,158,0.70) 100%
    ) !important;
  }
}

/* Phone — near-solid coverage since the text now spans full width */
@media (max-width:768px){
  .fl-row.dvrc-hero > .fl-row-content-wrap::after{
    background-image:linear-gradient(
        45deg,
        rgba(102,76,158,0.90) 0%,
        rgba(102,76,158,0.90) 100%
    ) !important;
  }
}