body {
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  background-color: #fff6e9;
}

/* Minimal animation for visitor count update - keeping original UI */
@keyframes countUpdate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.visitor-count-updating {
  animation: countUpdate 0.3s ease-in-out;
}

/* style fo header */

/* Responsive Header Styling */
.header-color {
  background-color: #28282b;
  color: white;
}

.nav-background {
  background-color: #ff6700;
}

.logo-img {
  max-height: 100px;
  width: auto;
}

.navbar-nav .nav-link.active {
  font-weight: bold;
  color: #0d6efd !important;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  color: white !important;
}

.header-text {
  color: #fffa8d;
}

.title-color {
  color: #ff6700;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background-color: #28282b;
}

.marquee-content {
  display: inline-block;
  padding-left: 100vw;
  animation: marquee 30s linear infinite;
  font-size: 20px;
  color: #ffffff;
  font-weight: bold;
}

/* Pause animation on hover */
.marquee-content:hover {
  animation-play-state: paused;
}

/* Define the marquee animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .marquee-content {
    font-size: 16px;
  }
}
@media (max-width: 1024px) {
  .custom-padding-1024 {
    padding-left: 20px; /* or any padding you want */
    padding-right: 20px;
  }
}
/* *********************************************************************s */

/* header css */
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.container {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.col-9,
.col-3 {
  padding: 0;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.layout {
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.content {
  display: flex;
  align-items: center;
  padding: 20px;
  color: #000000;
  background-color: #fff6e9;
}

.content-below-border {
  background-image: url("/assets/images/verticleBorder.svg");
  background-repeat: repeat-x;
  height: 30px;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
  display: block;
  border: none;
}

.journal-image {
  flex: 0 0 30%;
  padding: 10px;
}

.journal-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.journal-info {
  flex: 1;
  padding: 20px;
  font-size: 20px;
}

.journal-info h2 {
  color: #333;
  border-bottom: 2px solid #8fd14f;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.journal-meta {
  margin-bottom: 15px;
}

.journal-meta dt {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  text-align: left;
}

.journal-meta dd {
  margin-bottom: 15px;
  color: #555;
  position: relative;
  padding-left: 15px;
  text-align: left;
}

.journal-meta dd::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 1px;
  background-color: #8fd14f;
}

.additional-info {
  padding: 20px;
  background-color: #fff6e9;
  margin: 20px 0;
  text-align: justify;
}

.additional-info h3 {
  color: #333;
  border-bottom: 2px solid #8fd14f;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.background-current-issue {
  background-color: #fff6e9;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.background-current-issue h5 {
  color: #333;
  border-bottom: 2px solid #ff6f61;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.background-current-issue .btn {
  transition: all 0.3s ease;
}

.background-current-issue .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#currentIssueLoading {
  padding: 40px 0;
}

#issueStats {
  font-size: 0.9rem;
  font-weight: 500;
}

.sidebar {
  padding: 20px;
  background-color: #fdf1e7;
  border-left: 3px solid #c27b7f;
  border-bottom: 3px solid #c27b7f;
  height: 100%;
}

.flicker-text {
  font-size: 20px;
  font-weight: bold;
  animation: flicker 5s infinite alternate;
 padding: auto;

}

@keyframes flicker {
  0% {
    color: #ff0000;
  }
  20% {
    color: #ff7f00;
  }

  60% {
    color: #00ff00;
  }
  80% {
    color: #0000ff;
  }
  100% {
    color: #9400d3;
  }
}

@media screen and (max-width: 1440px) {
  .flicker-text {
    font-size: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .flicker-text {
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
  .col-9,
  .col-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .content {
    flex-direction: column;
  }

  .journal-image,
  .journal-info {
    width: 100%;
    padding: 10px;
  }

  .flicker-text {
    font-size: 12px;
  }
}
/* Sidebar should fill height but scroll only if content overflows */
html,
body {
  margin: 0;
  padding: 0;
}

.sidebar-wrapper {
  position: sticky;
  top: 0;
  /* Keeps it in view */
  overflow: auto; /* Prevents separate scroll */
}

.sidebar {
  background-color: #fdf1e7;
  border-bottom: 3px solid #c27b7f;
  border-right: 3px solid #c27b7f;
  padding: 20px;
}

.main-content {
  padding: 2rem;
  background-color: #fff6e9;
}
.modal-backdrop {
  backdrop-filter: blur(5px);
}
/* Hide recent articles widget by default */
.sidebar-widget.current-issue {
  display: none;
}

/* Show recent articles widget on index.html */
.index-page .sidebar-widget.current-issue {
  display: block;
}
.submit-icon-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff6700;
  color: white;
  font-size: 18px;
  padding: 10px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1050;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.submit-icon-btn:hover {
  background-color: #c82333;
  transform: scale(1.05);
  color: white;
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.visitor-badge {
  background: #fff;
  border-radius: 50px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  font-weight: 500;
  gap: 10px;
}

.rotating-ring {
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: #fff;
  animation: rotate 2s linear infinite;
  box-shadow: 0 0 0 5px rgba(255, 103, 0, 0.3),
    0 0 0 10px rgba(255, 103, 0, 0.15);
}

.static-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background-color: #ff6700;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.ring-indicator {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: #ff6700;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.live-icon {
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  border: 2px solid #ff6700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ff6700; /* match count color */
}
