/* ============================================
   IJBCR — HOMEPAGE IMAGE SLIDER
   ============================================ */
.bmj-slider-wrapper {
  max-width: 1200px;
  margin: 0 auto 25px auto;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f5f5f5;
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

.bmj-slider {
  position: relative;
  width: 100%;
  height: 320px; /* change if needed */
  overflow: hidden;
}

.bmj-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  animation: bmjSlideShow 18s infinite;
}

/* 3-slide timing */
.bmj-slide:nth-child(1) { animation-delay: 0s; }
.bmj-slide:nth-child(2) { animation-delay: 6s; }
.bmj-slide:nth-child(3) { animation-delay: 12s; }

/* Fade animation */
@keyframes bmjSlideShow {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  28%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}

.bmj-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bmj-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 18px 26px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #ffffff;
}

.bmj-caption-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bmj-caption-subtitle {
  font-size: 1rem;
  opacity: 0.9;
}



/* ============================================
   IJBCR — BOTTOM ANNOUNCEMENT TICKER
   ============================================ */
.bmj-ticker-wrapper {
  max-width: 1200px;
  margin: 15px auto 0 auto;
  background: #00324f;
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 0.95rem;
  height: 38px;
}

.bmj-ticker-label {
  flex: 0 0 auto;
  padding: 8px 12px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(0,0,0,0.28);
  letter-spacing: 0.04em;
}

.bmj-ticker-viewport {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
}

.bmj-ticker-track {
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: bmjTicker 35s linear infinite;
}

@keyframes bmjTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.bmj-ticker-item {
  display: inline-block;
  padding: 0 1.7rem;
}

.bmj-ticker-sep {
  opacity: 0.5;
  padding-right: 1.7rem;
}



/* ============================================
   FIX GREY GRID LINES ON OJS LAYOUT
   ============================================ */
.pkp_structure_content,
.pkp_structure_sidebar,
.pkp_page_content {
  border: none !important;
  box-shadow: none !important;
}

/* Remove vertical grid line */
.pkp_structure_content {
  border-right: none !important;
}

/* Remove accidental outlines */
* {
  outline: none !important;
}
/* =====================================================
   ATTRACTIVE CFP BOX + VERTICAL TICKER FOR SIDEBAR
   ===================================================== */

.cfp-ticker-box {
  background: linear-gradient(135deg, #00324f, #005c84);
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  font-family: Arial, sans-serif;
}

.cfp-header {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  letter-spacing: 0.03em;
}

.cfp-icon {
  font-size: 1.3rem;
  margin-right: 8px;
}

/* ---------------------------
   Vertical Ticker Container
--------------------------- */
.cfp-ticker-viewport {
  height: 60px; /* ticker window height */
  overflow: hidden;
  position: relative;
  margin-bottom: 15px;
}

.cfp-ticker-track {
  display: flex;
  flex-direction: column;
  animation: cfpTickerScroll 16s linear infinite;
}

.cfp-item {
  padding: 5px 0;
  font-size: 0.88rem;
  line-height: 1.3rem;
  opacity: 0.95;
}

/* Ticker Animation */
@keyframes cfpTickerScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

/* Submit Button */
.cfp-btn {
  display: block;
  background: #ffd27f;
  color: #00324f;
  text-align: center;
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.cfp-btn:hover {
  background: #ffca52;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* =========================================
   🔕 HIDE ANNOUNCEMENT DATES (OJS 3.3)
========================================= */

/* Announcement list & full view */
.obj_announcement_summary .date,
.obj_announcement_summary .published,
.obj_announcement_full .date {
    display: none !important;
}
