* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

.body {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url("../images/BulSU.jpg");
  background-position: center;
  background-size: cover;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.bulsu-logo {
  width: 100px;
  height: auto;
  margin-right: 10px;
}

.site-name {
  font-size: 30px;
  font-weight: bold;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 2px;
}

nav {
  display: flex;
  padding: 15px 6%;
  justify-content: space-between;
  align-items: center;
  background-color: #a60212;
}

nav image {
  width: 150px;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #f5ab29;
  display: block;
  margin: auto;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.menu {
  list-style-type: none;
  display: flex;
  padding: 10px;
  justify-content: center;
}

.menu li {
  position: relative;
}

.menu li a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  display: block;
}

/* Dropdown menu style */
.dropdown {
  position: relative;
  z-index: 999;
}

.dropdown .dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #444;
  min-width: 200px;
  max-width: 90vw;
  z-index: 1;
  border-radius: 5px;
  padding: 10px;
}

.dropdown-content .dropdown-section {
  margin-bottom: 10px;
  z-index: 1;
}

.dropdown-content h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: bold;
}

.dropdown-content ul {
  list-style-type: none;
}

.dropdown-content ul li a {
  color: white;
  padding: 8px 0;
  text-decoration: none;
  display: block;
  padding-left: 10px;
  font-size: 16px;
}

.dropdown-content ul li a:hover {
  background-color: #555;
}

/* Show the dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* publication header */
.publication-header {
  text-align: center;
  padding: 20px 0;
}

.publication-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
}

.back-link {
  text-decoration: none;
  /* Removes underline */
  color: black;
  /* Changes default blue color */
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  transition: color 0.3s ease-in-out;
}

.back-link:hover {
  color: #a60212;
  /* Changes color on hover (BulSU red theme) */
}

.article-container {
  margin-left: 5%;
  margin-right: 5%;
}

.article-meta {
  font-family: "Open Sans" sans-serif;
  margin-left: 5%;
  margin-right: 5%;
  text-align: justify;
}

.title-container {
  text-align: center;
}

img {
  max-width: 100%;
}

img.center {
  display: block;
  margin: 0 auto;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 700px;
}

/* comment section */
.comment-section {
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
  padding: 15px;
  background: #f4f4f4;
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.comment-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.comment-section textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
  /* Prevents resizing */
}

.comment-section button {
  width: 100%;
  padding: 10px;
  background: #a60212;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.comment-section button:hover {
  background: #8c0210;
}

.comment-item {
  background: white;
  padding: 10px;
  border-radius: 5px;
  margin: 5px 0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  word-wrap: break-word;
}

.like-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #555;
}

.like-btn:hover {
  color: #a60212;
}

.comment {
  border: 1px solid #ddd;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
  background: #f9f9f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.comment strong {
  display: block;
  font-weight: bold;
  color: #333;
}

.comment em {
  font-size: 0.9em;
  color: #666;
}

.comment p {
  margin: 8px 0;
  font-size: 1em;
}

.like-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 0.9em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.like-btn:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 600px) {
  .comment-section {
    width: 95%;
  }

  .comment-section button {
    font-size: 14px;
    padding: 8px;
  }
}

#iconmenu,
#collapseBtn {
  width: 1.5rem;
  display: none;
  cursor: pointer;
}

#collapseBtn {
  rotate: 180deg;
}

@media screen and (max-width: 700px) {
  #iconmenu, #collapseBtn {
    display: block;
  }
}