/* Subtle attention glow for important headings */
.advisory-heading {
  color: #cc0000;            /* deep red */
  text-align: center;
  font-weight: bold;
  text-shadow: 0 0 4px #ff3333, 0 0 8px #ff6666;
  animation: advisory-glow 2s ease-in-out infinite alternate;
}

@keyframes advisory-glow {
  from { text-shadow: 0 0 4px #ff3333, 0 0 8px #ff6666; }
  to   { text-shadow: 0 0 8px #ff3333, 0 0 16px #ff6666, 0 0 24px #ff9999; }
}

/* Accessibility: respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .advisory-heading { animation: none; }
}


.founding-vision-box {
  position: relative;
  background: #ffffff;
  border: 2px solid #3a7bd5;    /* crisp blue border */
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
  color: #111111;
  box-shadow: none;             /* glow handled by overlay */
}

/* Glow overlay (doesn't affect text) */
.founding-vision-box::before {
  content: "";
  position: absolute;
  inset: -6px;                  /* slightly outside the box */
  border-radius: 14px;
  pointer-events: none;
  box-shadow:
    0 0 10px rgba(0,115,170,0.35),
    0 0 20px rgba(0,115,170,0.35),
    0 0 32px rgba(0,115,170,0.35);
  animation: vision-glow 3s ease-in-out infinite alternate;
}

@keyframes vision-glow {
  from { opacity: 0.55; }
  to   { opacity: 1;    }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .founding-vision-box::before { animation: none; }
}



/* Heading inside Founding Vision box with matching blue glow */
.founding-vision-box h2,
.founding-vision-box h3 {
  color: #003366;   /* strong navy text */
  font-weight: 700;
  text-align: center;
  text-shadow:
    0 0 4px #66ccff,
    0 0 8px #3399ff,
    0 0 12px #0066cc;
}



/* Gold glowing effect for Bill & Fran Burdett */
#burdett-highlight {
  font-weight: bold;
  color: #ffd700; /* gold text */
  text-shadow: 
    0 0 4px #ffd700,
    0 0 8px #ffcc33,
    0 0 12px #ffcc33;
  animation: burdett-glow 2.5s ease-in-out infinite alternate;
}

/* Highlight the July 22 TOC line (red, subtle glow, left bar) */
.wp-block-table-of-contents__entry[href$="#july-22-2025-medical-emergency-and-hospitalization"] {
  font-weight: 700 !important;
  color: #cc0000 !important;                 /* red text */
  text-shadow: 0 0 6px #ff6666 !important;   /* soft red glow */
  border-left: 3px solid #cc0000 !important; /* red accent bar */
  padding-left: 6px !important;
}

/* Optional: hover effect */
.wp-block-table-of-contents__entry[href$="#july-22-2025-medical-emergency-and-hospitalization"]:hover {
  text-shadow: 0 0 10px #ff6666 !important;
}


.wp-block-table-of-contents__entry[href$="#july-22-2025-medical-emergency-and-hospitalization"],
.wp-block-table-of-contents__entry[href$="#august-10-2025-passing-of-william-bill-burdett"] {
  font-weight: 700 !important;
  color: #cc0000 !important;
  text-shadow: 0 0 6px #ff6666 !important;
  border-left: 3px solid #cc0000 !important;
  padding-left: 6px !important;
}


/* Latest Posts: show date before the title */
.wp-block-latest-posts li {
  display: flex;
  flex-direction: row;        /* normal left-to-right flow */
  align-items: center;
  gap: 8px;                   /* space between date and title */
}

.wp-block-latest-posts__post-date {
  order: -1;                  /* force date to come first */
  font-weight: bold;
  color: #00bfff;             /* highlight color */
  margin: 0;
}

/* Spinning + sparkling diamond icon */
.spark-diamond {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  background: linear-gradient(135deg, #b2ebf2 0%, #ffffff 50%, #80eaff 100%);
  /* diamond shape with points vertical & horizontal */
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: diamond-spin 3s linear infinite;
  box-shadow: 0 0 10px rgba(173, 216, 230, 0.9);
  position: relative;
}

/* soft sparkle glow */
.spark-diamond::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
              rgba(255,255,255,0.9) 0%,
              rgba(255,255,255,0.2) 40%,
              transparent 70%);
  border-radius: 50%;
  animation: diamond-sparkle 1.2s infinite ease-in-out;
}

/* Optional: auto-prepend diamond before any element with .with-diamond */
.with-diamond::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  margin-right: 6px;
  background: linear-gradient(135deg, #b2ebf2 0%, #ffffff 50%, #80eaff 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: diamond-spin 3s linear infinite;
  box-shadow: 0 0 10px rgba(173, 216, 230, 0.9);
  position: relative;
}

@keyframes diamond-spin {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}
@keyframes diamond-sparkle {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.25); }
}

/* GOLD diamond (important) */
.spark-diamond--gold,
.with-diamond--gold::before {
  background: linear-gradient(135deg, #ffd700 0%, #fff8dc 50%, #ffb400 100%);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.9);
}

/* RED diamond (alert/warning) */
.spark-diamond--alert,
.with-diamond--alert::before {
  background: linear-gradient(135deg, #ff4d4d 0%, #ffcccc 50%, #b20000 100%);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.8);
}
