/* ==========================================================================
   Jagadguru Kripalu University (JKU) - Event Details Page Stylesheet
   - Standard JKU inner page breadcrumb blue background banner (breadcrumb-bg.jpg)
   - Left Column: Sticky "Explore More Events" sidebar
   - Right Column: Main Event narrative & images
   - Corner multi-dot matrix decorations on the article card
   ========================================================================== */

/* Page Wrapper & Ancestor Overflow Fix for Sticky Positioning */
html, body {
  overflow-x: clip !important;
}

.jku-event-details-page {
  background-color: #FFF4EA !important;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1E293B;
  min-height: 100vh;
  overflow: visible !important;
}

/* ---------------------------------------------
   1. BREADCRUMB HERO (Standard Inner Page Blue Background)
   --------------------------------------------- */
.jku-event-details-page .breadcrumb {
  background: url('../img/breadcrumb-bg.jpg') no-repeat center center !important;
  background-size: cover !important;
  padding: 70px 0 !important;
  margin: 0 !important;
  border-bottom: none !important;
}

.jku-event-details-page .breadcrumb h1 {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 38px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* ---------------------------------------------
   2. MAIN 2-COLUMN CONTAINER & STICKY LAYOUT
   --------------------------------------------- */
.jku-ed-main-section {
  padding: 35px 0 60px;
  overflow: visible !important;
}

.jku-ed-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible !important;
}

.jku-ed-row-sticky {
  align-items: stretch !important;
  position: relative !important;
  overflow: visible !important;
}

.jku-ed-sticky-col {
  position: relative !important;
  overflow: visible !important;
}

/* ---------------------------------------------
   3. LEFT STICKY SIDEBAR: "EXPLORE MORE EVENTS"
   --------------------------------------------- */
.jku-ed-sticky-sidebar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 90px !important;
  z-index: 100 !important;
  align-self: flex-start !important;
  margin-bottom: 25px;
}

/* Event Photo Gallery Slider Card */
.jku-ed-gallery-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(184, 65, 16, 0.12);
  box-shadow: 0 6px 24px rgba(3, 75, 159, 0.06);
  padding: 20px 20px 18px;
  margin-bottom: 20px;
}

.jku-ed-gallery-count-pill {
  background: #FFF4EA;
  color: #C8461E;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(184, 65, 16, 0.2);
}

.jku-ed-gallery-slider-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.jku-ed-gallery-slides-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.jku-ed-gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.jku-ed-gallery-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.jku-ed-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.jku-ed-gallery-slide-num {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  z-index: 3;
}

/* Slider Controls */
.jku-ed-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  border: none;
  color: #034B9F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.jku-ed-gallery-arrow:hover {
  background: #FFFFFF;
  color: #C8461E;
  transform: translateY(-50%) scale(1.1);
}

.jku-ed-gallery-prev {
  left: 10px;
}

.jku-ed-gallery-next {
  right: 10px;
}

.jku-ed-gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.jku-ed-gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.jku-ed-gallery-dot.active {
  width: 18px;
  border-radius: 10px;
  background: #EDB600;
}

.jku-ed-sidebar-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(184, 65, 16, 0.12);
  box-shadow: 0 6px 24px rgba(3, 75, 159, 0.06);
  padding: 22px 20px 16px;
}

.jku-ed-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #FFF4EA;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.jku-ed-sidebar-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #B84110;
  margin: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
}

.jku-ed-sidebar-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  margin-right: 8px;
  vertical-align: middle;
}

.jku-ed-sidebar-all-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #034B9F;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.jku-ed-sidebar-all-link:hover {
  color: #C8461E;
}

.jku-ed-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom Sleek Scrollbar */
.jku-ed-sidebar-list::-webkit-scrollbar {
  width: 4px;
}
.jku-ed-sidebar-list::-webkit-scrollbar-thumb {
  background: #E2E8F0;
  border-radius: 10px;
}
.jku-ed-sidebar-list::-webkit-scrollbar-thumb:hover {
  background: #CBD5E1;
}

.jku-ed-sidebar-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  background: #FFFBF7;
  border: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.25s ease;
}

.jku-ed-sidebar-item:hover {
  background: #FFFFFF;
  border-color: #FCD4C5;
  box-shadow: 0 4px 14px rgba(184, 65, 16, 0.1);
  transform: translateX(3px);
}

.jku-ed-sidebar-thumb-link {
  flex-shrink: 0;
  width: 78px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}

.jku-ed-sidebar-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.jku-ed-sidebar-item:hover .jku-ed-sidebar-thumb {
  transform: scale(1.08);
}

.jku-ed-sidebar-item-info {
  flex: 1;
  min-width: 0;
}

.jku-ed-sidebar-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.jku-ed-sidebar-date {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
}

.jku-ed-sidebar-cat {
  background: #FFF4EA;
  color: #C8461E;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
}

.jku-ed-sidebar-item-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jku-ed-sidebar-item-title a {
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.jku-ed-sidebar-item-title a:hover {
  color: #B84110;
}

/* ---------------------------------------------
   3.0. FACEBOOK FEED CONTAINER
   --------------------------------------------- */
.jku-ed-fb-feed-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  justify-content: center;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}
.jku-ed-fb-feed-wrap iframe {
  max-width: 100%;
  border-radius: 10px;
}

/* ---------------------------------------------
   3.1. STAY TUNED SOCIAL CHANNELS (Circular 3-Icon Grid)
   --------------------------------------------- */
.jku-ed-social-circle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  padding: 4px 0 0;
}

.jku-ed-social-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.jku-ed-social-circle-item:hover {
  transform: translateY(-3px);
}

.jku-ed-social-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
}

.jku-ed-social-circle-btn--fb {
  background: #3B5998;
}

.jku-ed-social-circle-btn--insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.jku-ed-social-circle-btn--yt {
  background: #CC181E;
}

.jku-ed-social-circle-item:hover .jku-ed-social-circle-btn {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.08);
}

.jku-ed-social-circle-name {
  font-size: 12px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.jku-ed-social-circle-item:hover .jku-ed-social-circle-name {
  color: #B84110;
}

.jku-ed-social-circle-sub {
  font-size: 10.5px;
  color: #64748B;
  font-weight: 500;
  margin-top: 1px;
  line-height: 1.2;
}

/* ---------------------------------------------
   4. RIGHT MAIN ARTICLE CARD & CORNER DOT PATTERNS
   --------------------------------------------- */
.jku-ed-article-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(184, 65, 16, 0.12);
  box-shadow: 0 4px 24px rgba(3, 75, 159, 0.06);
  padding: 28px 30px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

/* Dynamic Event Title Directly Above Feature Slider */
.jku-ed-title-wrapper {
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
}

.jku-ed-meta-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.jku-ed-date-badge {
  font-size: 12.5px;
  font-weight: 700;
  color: #034B9F;
  background: #EFF6FF;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(3, 75, 159, 0.18);
  display: inline-flex;
  align-items: center;
}

.jku-ed-cat-badge {
  font-size: 12.5px;
  font-weight: 700;
  color: #B84110;
  background: #FFF4EA;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(184, 65, 16, 0.2);
}

.jku-ed-dynamic-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  margin: 0;
}

@media (max-width: 768px) {
  .jku-ed-dynamic-title {
    font-size: 21px;
  }
}

/* Left Top Dot Matrix Pattern (Very subtle, lightly visible texture) */
.jku-ed-article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 180px;
  background-image: radial-gradient(#B84110 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.07;
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, black 25%, transparent 70%);
  mask-image: radial-gradient(ellipse at 0% 0%, black 25%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Right Top Dot Matrix Pattern (Very subtle, lightly visible texture) */
.jku-ed-article-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 180px;
  background-image: radial-gradient(#034B9F 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.07;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 25%, transparent 70%);
  mask-image: radial-gradient(ellipse at 100% 0%, black 25%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Featured Cover Image Container & Multi-Image Slider */
.jku-ed-featured-img-container {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto 26px;
  padding: 0;
}

.jku-ed-featured-img-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  max-height: 380px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(3, 75, 159, 0.12);
  background: #0f172a;
  border: 3px solid #FFFFFF;
}

.jku-ed-featured-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.jku-ed-featured-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.jku-ed-featured-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.jku-ed-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Featured Slider Navigation Arrows */
.jku-ed-featured-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border: none;
  color: #034B9F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.jku-ed-featured-arrow:hover {
  background: #FFFFFF;
  color: #C8461E;
  transform: translateY(-50%) scale(1.1);
}

.jku-ed-featured-prev {
  left: 14px;
}

.jku-ed-featured-next {
  right: 14px;
}

@media (max-width: 768px) {
  .jku-ed-featured-img-wrap {
    height: 270px;
    max-height: 270px;
  }
}

/* ---------------------------------------------
   5. TINYMCE ARTICLE BODY TYPOGRAPHY & IMAGES
   --------------------------------------------- */
.jku-ed-article-body {
  font-size: 16.5px;
  line-height: 1.75;
  color: #475569;
  overflow: hidden;
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: 100% !important;
}

.jku-ed-article-body [class*="col-"],
.jku-ed-article-body .jku-inaug-content,
.jku-ed-article-body .jku-inaug-paragraphs {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.jku-ed-article-body::after {
  content: "";
  display: table;
  clear: both;
}

.jku-ed-article-body p {
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 18px;
}

.jku-ed-article-body p:last-child {
  margin-bottom: 0;
}

.jku-ed-article-body p strong {
  color: #1E293B;
  font-weight: 700;
}

.jku-ed-article-body h2,
.jku-ed-article-body h3,
.jku-ed-article-body h4 {
  color: #034B9F;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 14px;
  clear: both;
}

.jku-ed-article-body ul,
.jku-ed-article-body ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.jku-ed-article-body li {
  margin-bottom: 6px;
}

/* Single In-Article Image */
.jku-ed-article-body img,
.jku-ed-article-body .jku-single-img-wrap img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 380px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  margin: 18px auto !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08) !important;
  display: block !important;
}

/* Two Images: Left & Right (50% / 50%) */
.jku-ed-article-body .jku-two-imgs-wrap,
.jku-ed-article-body p.jku-two-imgs-wrap,
.jku-ed-article-body p:has(img:nth-of-type(2)) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 22px auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

.jku-ed-article-body .jku-two-imgs-wrap br,
.jku-ed-article-body p:has(img:nth-of-type(2)) br {
  display: none !important;
}

.jku-ed-article-body .jku-two-imgs-wrap img,
.jku-ed-article-body p.jku-two-imgs-wrap img,
.jku-ed-article-body p:has(img:nth-of-type(2)) img {
  width: calc(50% - 8px) !important;
  max-width: calc(50% - 8px) !important;
  min-width: 0 !important;
  height: 250px !important;
  max-height: 250px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
  display: block !important;
  flex: 1 1 calc(50% - 8px) !important;
}

/* Three or More Images: Responsive Grid */
.jku-ed-article-body .jku-multi-imgs-wrap,
.jku-ed-article-body p:has(img:nth-of-type(3)) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 12px !important;
  margin: 22px auto !important;
}

.jku-ed-article-body .jku-multi-imgs-wrap img,
.jku-ed-article-body p:has(img:nth-of-type(3)) img {
  width: 100% !important;
  max-width: 100% !important;
  height: 190px !important;
  max-height: 190px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 0 !important;
}

/* Floated Images */
.jku-ed-article-body img[style*="float: left"],
.jku-ed-article-body img[style*="float:left"] {
  float: left !important;
  margin: 6px 18px 14px 0 !important;
  max-width: 45% !important;
  max-height: 250px !important;
  display: inline-block !important;
  width: auto !important;
}

.jku-ed-article-body img[style*="float: right"],
.jku-ed-article-body img[style*="float:right"] {
  float: right !important;
  margin: 6px 0 14px 18px !important;
  max-width: 45% !important;
  max-height: 250px !important;
  display: inline-block !important;
  width: auto !important;
}

/* Fallback Inline Mid-Article Images Grid */
.jku-ed-mid-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.jku-ed-mid-img-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #F8FAFC;
  height: 220px;
}

.jku-ed-mid-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------------------------------------------
   5.0. RESPONSIVE EMBEDDED VIDEOS (YOUTUBE, SHORTS, VIMEO)
   --------------------------------------------- */
.jku-video-embed {
  position: relative;
  width: 100%;
  margin: 24px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  background: #000000;
}

.jku-ed-article-body iframe,
.jku-video-embed iframe {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}

/* ---------------------------------------------
   5.1. EVENT QUICK INFO & HIGHLIGHTS STRIP
   --------------------------------------------- */
.jku-ed-quick-info-box {
  margin-top: 32px;
  padding: 18px 20px;
  background: #FFFBF7;
  border: 1px solid rgba(184, 65, 16, 0.15);
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.jku-ed-qi-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.jku-ed-qi-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #FFF4EA;
  color: #C8461E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid rgba(184, 65, 16, 0.15);
}

.jku-ed-qi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
  margin-bottom: 2px;
}

.jku-ed-qi-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.35;
  margin: 0;
}

/* ---------------------------------------------
   5.2. SOCIAL SHARE & INTERACTION STRIP (TOP HORIZONTAL POPOVER)
   --------------------------------------------- */
.jku-ed-share-strip {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.jku-ed-share-container {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.jku-ed-share-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.jku-ed-share-container:hover .jku-ed-share-trigger,
.jku-ed-share-container.active .jku-ed-share-trigger {
  background: #FFFFFF;
  border-color: rgba(3, 75, 159, 0.3);
  box-shadow: 0 4px 16px rgba(3, 75, 159, 0.12);
}

.jku-ed-share-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #034B9F;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(3, 75, 159, 0.25);
}

.jku-ed-share-container:hover .jku-ed-share-icon-circle,
.jku-ed-share-container.active .jku-ed-share-icon-circle {
  background: #B84110;
  transform: rotate(20deg) scale(1.06);
  box-shadow: 0 3px 10px rgba(184, 65, 16, 0.35);
}

.jku-ed-share-label-text {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
  letter-spacing: 0.15px;
  transition: color 0.2s ease;
}

.jku-ed-share-container:hover .jku-ed-share-label-text,
.jku-ed-share-container.active .jku-ed-share-label-text {
  color: #034B9F;
}

/* Floating Horizontal Popover directly on TOP */
.jku-ed-share-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.95);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  white-space: nowrap;
}

/* Bottom Triangle Arrow pointing down to the trigger */
.jku-ed-share-popover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 7px 0 7px;
  border-style: solid;
  border-color: #FFFFFF transparent transparent transparent;
}

.jku-ed-share-popover::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: #E2E8F0 transparent transparent transparent;
}

/* Invisible hover bridge */
.jku-ed-share-popover-bridge {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
  pointer-events: auto;
}

/* Hover & Active state to show on top horizontally */
.jku-ed-share-container:hover .jku-ed-share-popover,
.jku-ed-share-container.active .jku-ed-share-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Individual Social Share Button inside top popover */
.jku-ed-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #FFFFFF !important;
  text-decoration: none !important;
  border: none;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.22s ease;
}

.jku-ed-social-btn svg {
  display: block;
  pointer-events: none;
}

.jku-ed-social-btn:hover {
  transform: translateY(-3px) scale(1.15);
}

.jku-ed-social--fb {
  background: #1877F2;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.35);
}
.jku-ed-social--fb:hover {
  box-shadow: 0 5px 14px rgba(24, 119, 242, 0.55);
}

.jku-ed-social--x {
  background: #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.jku-ed-social--x:hover {
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.55);
}

.jku-ed-social--in {
  background: #0A66C2;
  box-shadow: 0 2px 6px rgba(10, 102, 194, 0.35);
}
.jku-ed-social--in:hover {
  box-shadow: 0 5px 14px rgba(10, 102, 194, 0.55);
}

/* Floating Tooltips */
.jku-ed-social-btn[data-label]::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0F172A;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 101;
}

.jku-ed-social-btn[data-label]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: #0F172A transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 101;
}

.jku-ed-social-btn:hover[data-label]::after,
.jku-ed-social-btn:hover[data-label]::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---------------------------------------------
   5.3. MORE NEWS & EVENTS CARD (2-Column Grid)
   --------------------------------------------- */
.jku-ed-more-stories-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(184, 65, 16, 0.12);
  box-shadow: 0 6px 24px rgba(3, 75, 159, 0.06);
  padding: 24px 22px;
  margin-top: 24px;
}

.jku-ed-subcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #FFF4EA;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.jku-ed-subcard-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #B84110;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.jku-ed-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.jku-ed-more-card {
  background: #FFFBF7;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.jku-ed-more-card:hover {
  background: #FFFFFF;
  border-color: #FCD4C5;
  box-shadow: 0 6px 18px rgba(184, 65, 16, 0.1);
  transform: translateY(-3px);
}

.jku-ed-more-img-wrap {
  position: relative;
  width: 100%;
  height: 155px;
  overflow: hidden;
  display: block;
}

.jku-ed-more-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.jku-ed-more-card:hover .jku-ed-more-img {
  transform: scale(1.06);
}

.jku-ed-more-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.jku-ed-more-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.jku-ed-more-date {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748B;
}

.jku-ed-more-cat {
  background: #FFF4EA;
  color: #C8461E;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

.jku-ed-more-title {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jku-ed-more-title a {
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.jku-ed-more-title a:hover {
  color: #B84110;
}

.jku-ed-more-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.jku-ed-more-link {
  font-size: 13px;
  font-weight: 700;
  color: #034B9F;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease, gap 0.2s ease;
  margin-top: auto;
}

.jku-ed-more-link:hover {
  color: #C8461E;
  gap: 8px;
}

/* ---------------------------------------------
   5.4. ADMISSIONS & CAMPUS CALLOUT BANNER
   --------------------------------------------- */
.jku-ed-admissions-banner {
  background: linear-gradient(135deg, #034B9F 0%, #022E64 100%);
  border-radius: 16px;
  padding: 26px 24px;
  margin-top: 24px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(3, 75, 159, 0.18);
}

.jku-ed-admissions-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(237, 182, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.jku-ed-ab-tag {
  display: inline-block;
  background: rgba(237, 182, 0, 0.2);
  border: 1px solid rgba(237, 182, 0, 0.45);
  color: #EDB600;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.jku-ed-ab-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1.35;
  margin: 0 0 10px;
}

.jku-ed-ab-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 680px;
}

.jku-ed-ab-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.jku-ed-btn-admissions {
  background: #EDB600;
  color: #022E64 !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(237, 182, 0, 0.3);
}

.jku-ed-btn-admissions:hover {
  background: #ffffff;
  color: #034B9F !important;
  transform: translateY(-2px);
}

.jku-ed-btn-outline-jku {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.jku-ed-btn-outline-jku:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
}

/* ---------------------------------------------
   6. RESPONSIVE MEDIA QUERIES
   --------------------------------------------- */
@media (max-width: 991.98px) {
  .jku-event-details-page .breadcrumb {
    padding: 50px 0 !important;
  }
  .jku-event-details-page .breadcrumb h1 {
    font-size: 26px !important;
  }
  .jku-ed-sticky-sidebar {
    position: static !important;
    margin-top: 30px;
  }
  .jku-ed-sidebar-list {
    max-height: none !important;
  }
  .jku-ed-article-card {
    padding: 20px 20px;
  }
  .jku-ed-featured-img-wrap {
    height: 320px;
    max-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .jku-ed-article-body .jku-two-imgs-wrap,
  .jku-ed-article-body p:has(img:nth-of-type(2)) {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .jku-ed-article-body .jku-two-imgs-wrap img,
  .jku-ed-article-body p:has(img:nth-of-type(2)) img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 240px !important;
  }
  .jku-ed-article-body,
  .jku-ed-article-body p,
  .jku-ed-article-body div,
  .jku-ed-article-body li,
  .jku-ed-article-body span {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }
  .jku-ed-dynamic-title {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }
  /* Slider navigation arrows smaller on mobile */
  .jku-ed-featured-arrow {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
  }
  .jku-ed-featured-prev {
    left: 8px !important;
  }
  .jku-ed-featured-next {
    right: 8px !important;
  }
  .jku-ed-gallery-arrow {
    width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 575.98px) {
  .jku-event-details-page .breadcrumb {
    padding: 35px 15px !important;
  }
  .jku-event-details-page .breadcrumb h1 {
    font-size: 21px !important;
  }
  .jku-ed-article-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  .jku-ed-dynamic-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
  }
  /* Content text strictly 15px on mobile */
  .jku-ed-article-body,
  .jku-ed-article-body p,
  .jku-ed-article-body div,
  .jku-ed-article-body li,
  .jku-ed-article-body span {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  /* 1. Featured image container aspect-ratio so original image is not cut on left and right */
  .jku-ed-featured-img-wrap {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 16 / 10.5 !important;
    width: 100% !important;
    border-radius: 10px !important;
  }
  .jku-ed-featured-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* 2. Arrow size significantly reduced on mobile */
  .jku-ed-featured-arrow {
    width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
  }
  .jku-ed-featured-prev {
    left: 6px !important;
  }
  .jku-ed-featured-next {
    right: 6px !important;
  }

  /* 3. Explore More Events & Follow Us On Facebook headers on ONE line */
  .jku-ed-sidebar-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  .jku-ed-sidebar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-bottom: 10px !important;
    margin-bottom: 12px !important;
    flex-wrap: nowrap !important;
  }
  .jku-ed-sidebar-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
  }
  .jku-ed-sidebar-title i {
    font-size: 15px !important;
    margin-right: 5px !important;
  }
  .jku-ed-sidebar-all-link {
    font-size: 12.5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* 4. All 4 news sidebar items alignment & styling on mobile */
  .jku-ed-sidebar-list {
    gap: 10px !important;
    padding-right: 0 !important;
  }
  .jku-ed-sidebar-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
  }
  .jku-ed-sidebar-thumb-link {
    width: 66px !important;
    height: 50px !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
  }
  .jku-ed-sidebar-item-info {
    flex: 1 !important;
    min-width: 0 !important;
  }
  .jku-ed-sidebar-item-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    margin-bottom: 3px !important;
    flex-wrap: nowrap !important;
  }
  .jku-ed-sidebar-date {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
  .jku-ed-sidebar-date i {
    font-size: 10px !important;
    margin-right: 2px !important;
  }
  .jku-ed-sidebar-cat {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
  .jku-ed-sidebar-item-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .jku-ed-mid-images-grid {
    grid-template-columns: 1fr;
  }

  /* Share widget responsiveness */
  .jku-ed-share-strip {
    justify-content: flex-end !important;
    margin-top: 20px !important;
    padding-top: 15px !important;
  }
  .jku-ed-share-container {
    padding: 3px 5px !important;
  }
  .jku-ed-share-label-text {
    font-size: 13px !important;
  }
  .jku-ed-share-icon-circle {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
  .jku-ed-social-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
}
