/*Hide Page Title*/
.page .wp-block-post-title {
  display: none;}

/*Header Text Drop Shadow*/
.header-text {text-shadow: 0 3px 6px rgba(0, 0, 0, 0.65), 0 8px 16px rgba(0, 0, 0, 0.35);}

/* Remove extra space under header */
.mega-menu-wrap { margin-bottom: 0 !important; }
header.wp-block-template-part { padding-bottom: 0 !important; }

/* Style the bullet separately */
ul.custom-bullets li::marker {
  color: red;}

/* Only the text changes, bullets stay default */
ul.custom-text-color li {
  color: gold;}

/* Fade-in group */
.fade-in-group {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-group.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from right */
.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* (Nice-to-have) Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .fade-in-group,
  .slide-in-right {
    transition: none;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Buttons turn purple */
.wp-element-button:hover{background-color: purple; color: white}

/* Bold text turns white */
strong {color: white;}

/* Text fades in */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

.fade-in-section:nth-child(1) {
  transition-delay: 0.1s;
}

.fade-in-section:nth-child(2) {
  transition-delay: 0.3s;
}

.fade-in-section:nth-child(3) {
  transition-delay: 0.5s;
}

.fade-in-section:nth-child(4) {
  transition-delay: 0.7s;
}

.fade-in-section:nth-child(5) {
  transition-delay: 0.9s;
}


/* Portfolio Cards */
.portfolio-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 0 16px 0;
  overflow: hidden;
}

.portfolio-card img.card-thumb {
  width: 100%;
  display: block;
  margin-bottom: 16px;
}

.portfolio-card {
  font-size: 13px;
  color: #555555;
  padding: 0 1px 16px 0;
  margin-bottom: 8px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px;
  margin-bottom: 10px;
}

.tag {
  display: inline-block;
  background: #1f4e79;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
	text-align: center;
}

.portfolio-card h3 {
  font-size: 16px;
  margin: 20px 0 8px;
  padding: 0 16px;
}

a.port-link {color: #ff9c00;}

.portfolio-card .card-desc {
  font-size: 14px;
  color: #444444;
  line-height: 1.7;
  padding: 0 16px;
  margin-bottom: 12px;
}

.portfolio-card .view-study-link {
  font-size: 14px;
  font-weight: 500;
  color: #1a73e8;
  padding: 0 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.portfolio-card .view-study-link:hover {
  text-decoration: underline;
}



/* Case Study Detail Panels */
.case-study-panel {
  display: none;
  margin-top: 24px;
  padding: 24px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.case-study-panel h3 {
  margin-top: 0;
  font-size: 18px;
}

.case-study-panel p {
  font-size: 14px;
  color: #444444;
  line-height: 1.7;
}

.case-study-panel .role-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.case-study-panel ul {
  font-size: 14px;
  color: #444444;
  line-height: 1.8;
  padding-left: 20px;
}

.case-study-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.case-study-screenshots img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  border-radius: 6px;
}

/*Put Case Studies Into Rows*/
.portfolio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .portfolio-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .case-study-panel {
    margin-top: 12px !important;
    margin-bottom: 12px;
  }
}
