/* Hide "Read more" links on the Board team page */
.sc_team_item_button { display: none !important; }

/* Board page: make member names plain text, not clickable */
.sc_team_item_title a {
  pointer-events: none;
  cursor: default;
  color: #7F1D1D;
  text-decoration: none;
}

/* Priest photos: identical size (only widgets with class priest-photo) */
.elementor-element.priest-image img {
  width: 220px !important;     /* same width for all */
  height: 290px !important;    /* same height for all */
  max-width: none !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Photos: scale down but stay identical */
@media (max-width: 600px) {
  .elementor-element.priest-image img {
    width: 180px !important;
    height: 240px !important;
  }
}


/* Past events in Home page carousels */
.elementor-widget .htcc-past-event {
  position: relative;
}
.elementor-widget .htcc-past-event::before {
  content: "Past Event";
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: #7a1f1f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.elementor-widget .htcc-past-event img {
  filter: grayscale(100%);
  opacity: 0.7;
}


.htcc-no-events {
  background: #f8efe1;
  border-left: 4px solid #7a1f1f;
  color: #4a2a1a;
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 16px;
}
.htcc-no-events a {
  color: #7a1f1f;
  font-weight: 600;
  text-decoration: underline;
}



/* ==========================================================
   HTCC Iowa – Custom CSS
   Section: Theme share menu – hide X (Twitter)
   Added:   Oct 2026
   ----------------------------------------------------------
   WHY:
   The theme's "Share" dropdown on event cards (homepage
   "Events at HTCC" carousel) lists Twitter-New, Facebook,
   Email, Link. The theme has no option to remove X, so we
   hide it here with CSS.

   HOW IT WORKS:
   Targets only SHARE links (twitter.com/intent, /share and
   x.com/intent). Normal profile links such as a footer
   "follow us on X" icon are NOT affected.

   NOTE:
   This is separate from the Jetpack share buttons on single
   event pages. Those are managed in Jetpack → Sharing
   Settings (X was removed there by dragging it back to
   "Available Services").

   TO UNDO:
   Delete this whole block and click Publish.
   ========================================================== */

/* 1. Hide the X / Twitter share link itself */
a[href*="twitter.com/intent"],
a[href*="twitter.com/share"],
a[href*="x.com/intent"] {
  display: none !important;
}

/* 2. Hide the list item that wraps the link, so no empty
      row or gap is left behind in the dropdown.
      (:has() works in all current browsers.) */
li:has(> a[href*="twitter.com/intent"]),
li:has(> a[href*="twitter.com/share"]),
li:has(> a[href*="x.com/intent"]) {
  display: none !important;
}

/* ===================== END: hide X ======================= */