/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  width: 100%;
  height: 100%;
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #af404f; 
  text-decoration: none;
}

a:hover {
  color: #d34155;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p {
  font-family: "Poppins", sans-serif;
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.bubble-button {
  margin: auto;
  padding: auto;
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 999;
  display: flex; /* Ensure it is always displayed */
  flex-direction: column; /* Stack the options vertically */
  opacity: 0; /* Start hidden */
  transition: opacity 0.4s ease; /* Smooth transition for opacity */
}

.toggle-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #af404f;
  color: #fff;
  cursor: pointer;
  transition: all 0.4s;
  z-index: 999;
}

.toggle-button i {
  margin: auto;
  padding: auto;
  transition: transform 0.4s;
}

.bubble-options {
  margin: auto;
  padding: auto;
  display: none; /* Hidden initially */
  opacity: 0;
  transition: opacity 0.4s ease;
  position: absolute;
  right: 0;
  bottom: 40px;
}

.bubble-options a {
  margin: auto;
  padding: auto;
  display: block;
  margin-bottom: 10px;
}

.toggle-button:hover {
  background-color: rgba(19, 20, 27, 0.9);
  color: #fff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.486) !important;
}

#hamburger {
  margin: auto;
  padding: auto;
  font-size: 18px; /* Mengubah ukuran ikon, sesuaikan dengan ukuran yang diinginkan */
}

.bubble-whatsapp i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #00df13;
  color: #fff;
  transition: all 0.4s;
}

.bubble-whatsapp i:hover {
  background-color: #00a00d;
  color: #fff;
}

.bubble-user i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #af404f;
  color: #fff;
  transition: all 0.4s;
}

.bubble-user i:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #af404f;
  color: #fff;
  transition: all 0.2s;
}

.back-to-top i:hover {
  background-color: rgba(19, 20, 27, 0.9);
  color: #fff;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #af404f;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
}

.show-bubble-button { /* Show bubble-button when scrolled to main section */
  display: flex;
}

/* Bubble Notification */
.bubble-whatsapp {
  position: relative; /* Set the context for positioning the notification */
}

.bubble-notification {
  background-color: #f1c40f; /* Color of the bubble */
  color: #333; /* Text color */
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold; /* Make the text bold */
  display: none; /* Hidden by default */
  position: absolute; /* Position it absolutely */
  right: 115%; /* Position it to the left of the WhatsApp button */
  top: 50%;
  transform: translateY(-50%); /* Center it vertically */
  margin-right: 10px; /* Space between notification and WhatsApp button */
  white-space: nowrap; /* Prevent text from wrapping to a new line */
  text-align: center; /* Center-align the text horizontally */
}

.bubble-whatsapp:hover .bubble-notification {
  display: block; /* Show notification when hovering over the WhatsApp button */
}

.bubble-notification::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 6.8rem; /* Adjust based on the position of the notification bubble */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #f1c40f; /* Arrow pointing to the right */
}

@media (max-width: 1090px) {
  .bubble-notification {
    display: block;
  }
}

/*--------------------------------------------------------------
# Bar Progress
--------------------------------------------------------------*/
#bar {
  width: 0;
  height: 4px;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  transition: width 0.3s ease-in-out;
  z-index: 99999;
  border-radius: 50px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  transition: all 0.5s;
  z-index: 997;
  background-color: rgba(19, 20, 27, 0.9);
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

@media (max-width: 560px) {
  #header .logo img {
    padding: 0;
    margin: 0;
    max-height: 30px;
  }
}

@media (max-width: 425px) {
  #header .logo img {
    padding: 0;
    margin: 0;
    max-height: 30px;
  }
}

@media (max-width: 375px) {
  #header .logo img {
    padding: 0;
    margin: 0;
    max-height: 30px;
  }
}

@media (max-width: 320px) {
  #header .logo img {
    padding: 0;
    margin: 0;
    max-height: 30px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding-top: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 15px 7px 15px;
  margin-left: 5px;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
  border-radius: 50px;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-top: 0;
  margin-left: 5px;
}

.navbar .active {
  color: #fff;
  background-color: #af404f;
}

.navbar a:hover,
.navbar li:hover > a {
  color: #fff;
  background-color: #af404f;
}

/* Dropdown Styles */
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 5px;
  top: calc(100% + 30px);
  margin: 5px 0 0 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background-color: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 15px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  color: #14151c;
  margin: 0 5px;
  font-size: 14px;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  background-color: rgba(175, 65, 79, 0.9);
  color: white;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/* Get Started Button */
.get-started-btn {
  margin-left: 25px;
  color: #fff;
  border-radius: 50px;
  padding: 7px 20px 8px 20px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;  
  background-color: transparent;
  border: 2px solid #af404f;
}

.get-started-btn:hover {
  background-color: rgba(175, 65, 79, 0.9);
  color: #fff;
}

@media (max-width: 768px) {
  .get-started-btn {
    margin: 0 48px 0 0;
    padding: 6px 20px 7px 20px;
  }
}

@media (max-width: 580px) {
  .get-started-btn {
    margin-top: 8px;
  }
}

@media (max-width: 425px) {
  .get-started-btn {
    margin-top: -5px;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 1230px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(20, 21, 28, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  margin: 5px;
  font-size: 15px;
  color: #2a2c39;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #fff;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background-color: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #fff;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  background-color: #f3f5fa;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  position: relative;
  font-family: "Jost", sans-serif; 
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  color: #af404f;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background-color: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background-color: #af404f;
  bottom: 0;
  left: calc(50% - 20px);
}

@media (max-width: 1024px) {
  .section-title h2 {
    font-size: 28px;
  }
}

@media (max-width: 990px) {
  .section-title h2 {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 22px;
  }
}

/*--------------------------------------------------------------
# Featured Post
--------------------------------------------------------------*/
.featured {
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 30px;
}

.featured-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: max-content;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: 13px;
}

.featured-thumbnail {
  display: inline-block; 
  position: relative;
  overflow: hidden;
  height: max-content;
}

.featured-thumbnail img {
  display: flex;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 13px;
  border-bottom-left-radius: 13px;
}

.featured-thumbnail a {
  display: inline-block;
  position: absolute;
  padding: 7px 15px;
  bottom: 10px;
  right: 20px;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  color: #af404f;
  background-color: rgb(243 244 246);
  border-radius: 5px;
  backdrop-filter: blur(20px);
}

.featured-thumbnail a:hover {
  color: rgb(243 244 246);
  background-color: #af404f;
}

.featured-info .post-title {  
	line-height: 1;
  padding: 20px;
}

.featured-info .post-title a {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #37517e;
}

.featured-info .post-title a:hover {
  color: #af404f;
}

.featured-info .post-author {
	margin-top: -30px;
	margin-bottom: 10px;
  padding: 20px;
}

.featured-info .post-author-info h6 {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #aaaaaa;
  line-height: 1.5;
}

.featured-info .post-body {
  margin-top: -20px;
	margin-bottom: 30px;
  padding: 0 20px 0 20px; /* Top-Right-Bottom-Left*/
  text-align: justify;
  font-size: 16px;
}

.featured-info .btn {
  display: inline-block;
  cursor: pointer;
  width: fit-content;
  margin-top: -10px;
  margin-left: 18px;
  font-size: 16px;
  text-align: center;
  color: #fff;
  background-color: #37517e;
  border-radius: 5px;
  transition: all 0.5s ease;
}

.featured-info .btn:hover {  
  color: #fff;
  background-color: #af404f;
}

@media (max-width: 1400px) {
  .featured-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;  
    gap: 0; 
  }

  .featured-container .post-title a {
    order: -1; /* Pindahkan thumbnail ke atas */
  }

  .featured-thumbnail img {
    width: 100%;
    height: auto;
    border-top-left-radius: 13px;
    border-bottom-left-radius: 0;
    border-top-right-radius: 13px;
  }

  .featured-info .btn {
    margin-bottom: 20px;
  }
}

@media (max-width: 1024px) {
  .featured-info .post-title a {
    margin-top: 0;
    font-size: 20px;
  }
  
  .featured-info .post-author-info h6 {
    font-size: 13px;
  }

  .featured-info .post-body {
    font-size: 14px;
  }

  .featured-info .btn {
    font-size: 14px; 
  }
}

@media (max-width: 600px) {
  .featured-thumbnail img {
    height: 300px;
  }

  .featured-info .post-title a {
    font-size: 18px;
    line-height: 1.1; 
  }

  .featured-info .post-body {
    font-size: 13px;
  }

  .featured-info .btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/*--------------------------------------------------------------
# Search
--------------------------------------------------------------*/
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-bar {
  padding-top: 50px;
  padding-bottom: 50px;
}

.search-bar-container {
  display: flex;
  position: relative;
  overflow: hidden; 
  align-items: center;
  justify-content: space-between;
  width: 1000px;
  color: #af404f;
  background-color: hsl(352, 46%, 47%, 18%);
  padding: 10px 16px;
  border-radius: 8px;
}

.search-bar-container > div {
  width: 100%;
  display: flex;
  align-items: center;
}

.search-bar input {
  background-color: transparent;
  margin-left: 12px;
  padding: 0 8px 0 0;
  width: 100%;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 20px 20px transparent;
}

.search-bar input::placeholder {
  color: #af404f;
}

* { /* Input Search */
  outline: 0;
  border: 0;
  font-family: 'Poppins', sans-serif;
  background-color: transparent;
}

.btn {
  display: inline-block;
  width: fit-content;
  padding: 8px 13px;
  margin-right: -5px;
  font-size: 14px;
  text-align: center;
  color: #fff;
  background-color: #37517e;
  border-radius: 8px;
  transition: all 0.5s ease;
  cursor: pointer;
}

.btn:hover {  
  color: #fff;
  background-color: #af404f;
}

@media (max-width: 1024px) {
  .search-bar-container {
    width: 100%;
    margin: 0 50px 0 50px; /* Top-Right-Bottom-Left*/
    font-size: 14px;
    padding: 10px 14px;
  }
}

@media (max-width: 990px) {
  .search-bar-container {
    width: 100%;
    margin: 0 150px 0 150px; /* Top-Right-Bottom-Left*/
    padding: 12px 12px;
  }
}

@media (max-width: 900px) {
  .search-bar-container {
    margin: 0 100px 0 100px; /* Top-Right-Bottom-Left*/
    padding: 8px 15px 8px 10px;  /* Top-Right-Bottom-Left*/
  }
}

@media (max-width: 600px) {
  .search-bar-container {
    width: 100%;
    margin: 0 40px 0 40px; /* Top-Right-Bottom-Left*/
    padding: 8px 15px 8px 10px;  /* Top-Right-Bottom-Left*/
  }
}

@media (max-width: 425px) {
  .search-bar-container {
    width: 100%;
    margin: 0 10px 0 10px; /* Top-Right-Bottom-Left*/
    padding: 8px 15px 8px 10px;  /* Top-Right-Bottom-Left*/
  }
}

@media (max-width: 375px) {
  .search-bar-container {
    width: 100%;
    margin: 0 10px 0 10px; /* Top-Right-Bottom-Left*/
    padding: 8px 15px 8px 8px;  /* Top-Right-Bottom-Left*/
  }
}

/*--------------------------------------------------------------
# General Post
--------------------------------------------------------------*/
.general-post {
  padding: 0;
}

.general-post .post-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 0;
}

.posts {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 20px;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: 13px;
}

.posts:hover {
  transform: translateY(5px);
  transition: all 0.5s ease;
}

.posts:hover .post-thumbnail img { 
  filter: saturate(0);
  transition: all 0.5s ease;
}

.posts .post-thumbnail {
  display: block; /* Pastikan container mengikuti grid/layout */
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 13px 13px 0 0; /* TL - TR - BR - BL*/
  overflow: hidden;
  margin-bottom: 10px;
}

.posts .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.posts .post-thumbnail a {
  display: inline-block;
  position: absolute;
  padding: 4px 8px;
  bottom: 8px;
  right: 15px;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  color: #af404f;
  background-color: rgb(243 244 246);
  border-radius: 5px;
  backdrop-filter: blur(20px);
}

.posts .post-thumbnail a:hover {
  color: rgb(243 244 246);
  background-color: #af404f;
}

.posts .post-info .post-title {  
	line-height: 1;
  padding: 10px 20px 0 20px; /* Top-Right-Bottom-Left*/
}

.posts .post-info .post-title a {
  color: #37517e;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.posts .post-info .post-title a:hover {
  color: #af404f;
}

.posts .post-info .post-author {
	margin-top: -5px;
	margin-bottom: 10;
  padding: 20px;
}

.posts .post-info .post-author-info h6 {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #aaaaaa;
  line-height: 1.5;
}

.posts .post-info .post-body {
  margin-top: -10px;
	margin-bottom: 30px;
  padding: 0 20px 0 20px; /* Top-Right-Bottom-Left*/
  text-align: justify;
  font-size: 16px;
}

.posts .post-info .btn {
  display: inline-block;
  cursor: pointer;
  width: fit-content;
  margin-top: -10px;
  margin-left: 18px;
  font-size: 16px;
  text-align: center;
  color: #fff;
  background-color: #37517e;
  border-radius: 5px;
  transition: all 0.5s ease;
}

.posts .post-info .btn:hover {  
  color: #fff;
  background-color: #af404f;
}

@media (max-width: 1399px) {
  .general-post .post-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .posts .post-thumbnail {
    height: 260px;
  }

  .posts .post-info .post-title a {
    font-size: 20px;
  }

  .posts .post-info .post-author-info h6 {
    font-size: 13px;
  }

  .posts .post-info .post-body {
    font-size: 14px;
  }

  .posts .post-info .btn {
    font-size: 14px;
  }
}

@media (max-width: 990px) {
  .general-post .post-container {
    grid-template-columns: 1fr;
  }

  .posts .post-thumbnail {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .posts .post-thumbnail img {
    height: 300px;
  }

  .posts .post-info .post-title a {
    font-size: 18px;
    line-height: 1.1; 
  }

  .posts .post-info .post-body {
    font-size: 13px;
  }

  .posts .post-info .btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination {
  display: flex;
  margin-top: 40px;
  text-align: center;
  justify-content: center;
  gap: 10px;
}

.pagination a, 
.pagination strong {
  padding: 8px 12px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #af404f;
  border: 1px solid #d3d3d3;
  border-radius: 5px;
  background-color: white;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
  background-color: #af404f;
  color: white;
}

.pagination a.active {
  background-color: #af404f;
  color: white;
  border: 1px solid #d3d3d3;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .pagination {
    gap: 8px;
  }

  .pagination a, 
  .pagination strong {
    padding: 7px 10px;
    font-size: 12px;
  }
}

@media (max-width: 990px) {
  .pagination {
    flex-wrap: wrap;
    gap: 5px;
  }

  .pagination a, 
  .pagination strong {
    padding: 6px 8px;
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .pagination {
    gap: 3px;
    flex-direction: column;
    align-items: center;
  }

  .pagination a, 
  .pagination strong {
    padding: 5px 6px; 
    font-size: 10px;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Categories
--------------------------------------------------------------*/
.categories {
  padding: 80px 0 50px 0; /* Top-Right-Bottom-Left*/
  background-color: #f3f5fa;
}

.categories-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.categories-button {
  background-color: hsl(352, 46%, 47%, 18%);
  color: #af404f;
  display: inline-block;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  margin: 8px 0 8px;
}

.categories-button:hover {
  background-color: #af404f;
  color: #fff;
  transition: ease-in-out 0.3s;
}

.alert-message {
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  justify-content: center;
}

.alert-message.error {
  color: #af404f;
}

@media (max-width: 1024px) {
  .categories-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .categories-button {
    font-size: 14px;
    padding: 15px 14px;
  }
}

@media (max-width: 990px) {
  .categories-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .categories-button {
    padding: 12px 12px;
    margin: 2px 0;
  }

  .alert-message {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .categories-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .categories-button {
    padding: 10px 10px;
    margin: 2px 0;
  }
}

/*--------------------------------------------------------------
# Single Post
--------------------------------------------------------------*/
/* Title Banner */
.page-banner {
  width: 100%;
  background-color: #f3f5fa;
}

.page-banner-container {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 30px;
}

.page-banner-container .section-title h2 {
  position: relative;
  font-family: "Jost", sans-serif; 
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  color: #af404f;
}

.page-banner-container .section-title h2::before {
  display: none;
}

.page-banner-container .section-title h2::after {
  display: none;
}

.page-banner-container .breadcrumbs {
  text-align: center;
  margin-top: -50px;
}

@media (max-width: 1024px) {
  .page-banner-container .section-title h2 {
    font-size: 28px;
  }

  .page-banner-container .breadcrumbs {
    font-size: 16px;
  }
}

@media (max-width: 990px) {
  .page-banner-container .section-title h2 {
    font-size: 26px;
  }

  .page-banner-container .breadcrumbs {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .page-banner-container .section-title h2 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .page-banner-container .section-title h2 {
    font-size: 22px;
  }
}

/* Page Container */
.singlepage-container {
  display: flex;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 30px;
  gap: 20px;
  background-color: #fff;
}

.singlepage-container .main-content {
  width: 100%;
}

.singlepost-thumbnail {
  display: inline-block; 
  position: relative;
  overflow: hidden;
}

.singlepost-thumbnail img {
  position: relative;
  width: 100%;
  height: max-content;
  object-fit: cover;
  border-radius: 13px;
}

/* Social Share Icon */
.social-share {
  display: inline-block;
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 7px 15px;
  background-color: rgb(243 244 246);
  border-radius: 5px;
  backdrop-filter: blur(10px);
  font-size: 18px;
  color: #af404f;
  cursor: pointer;
}

.social-share:hover {
  background-color: #af404f;
  color: #fff;
}

.social-bubble {
  display: none;
  position: absolute;
  flex-direction: row; 
  bottom: 50px;
  right: 0;
  gap: 5px; 
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.social-bubble a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #aaaaaa;
  color: #fff;
  transition: background 0.3s ease-in-out;
}

.social-bubble a:hover {
  background-color: #37517e;
  color: #fff;
}

@media (max-width: 1024px) {
  .social-share {
    bottom: 15px;
    right: 15px;
    padding: 5px 12px;
    font-size: 16px;
  }

  .social-bubble {
    bottom: 45px;
    right: 10px;
    gap: 10px;
    padding: 8px;
  }

  .social-bubble a {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 990px) {
  .social-share {
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 14px;
  }

  .social-bubble {
    bottom: 40px;
    right: 5px;
    gap: 8px;
    padding: 7px;
  }

  .social-bubble a {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 600px) {
  .social-share {
    bottom: 10px;
    right: 5px;
    padding: 5px 8px;
    font-size: 14px;
  }

  .social-bubble {
    bottom: 35px;
    right: 5px;
    gap: 6px;
    padding: 6px;
  }

  .social-bubble a {
    width: 28px;
    height: 28px;
  }
}

/* Details Single Post */
.singlepost-details {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

.singlepost-details .singlepost-author-info h6 {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #aaaaaa;
}

.separator::before {
  content: '\205E'; 
  margin: 0 5px;
  color: #aaaaaa;
}

.singlepost-body {
  text-align: justify;
  line-height: 1.7;
  font-size: 16px;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.content-row {
  display: flex;
  justify-content: space-between;
}

.main-content-area {
  flex: 0 0 68%;  /* Takes up 68% of the width */
}

.sidebar-area {
  flex: 0 0 30%;  /* Takes up 30% of the width */
  background-color: #fff;
}

.sidebar-item {
  margin-bottom: 30px;
}

.sidebar-item h4 {
  font-size: 24px;
  font-weight: 800;
  color: #37517e;
  text-transform: uppercase;
  padding-bottom: 20px;
}

/* Search */
.side-search-bar .search-bar-container {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  color: #af404f;
  background-color: hsl(352, 46%, 47%, 18%);
  padding: 10px 16px;
  border-radius: 8px;
}

.side-search-bar .search-bar-container > div {
  display: flex;
  align-items: center;
  width: 100%;
}

.side-search-bar input {
  background-color: transparent;
  color: #af404f;
  padding: 10px 8px;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  border: none; /* Remove border to keep it clean */
  outline: none; /* Remove default outline */
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 20px 20px transparent;
}

.side-search-bar input::placeholder {
  color: #af404f;
}

.side-search-bar .btn {
  display: inline-block;
  width: fit-content;
  padding: 8px 13px;
  margin-right: -5px;
  font-size: 14px;
  text-align: center;
  color: #fff;
  background-color: #37517e;
  border-radius: 8px;
  transition: all 0.5s ease;
  cursor: pointer;
}

.side-search-bar .btn:hover {  
  color: #fff;
  background-color: #af404f;
}

.sidebar-item ul {
  list-style-type: none;
  padding-left: 0;
}

.sidebar-item ul li {
  margin-bottom: 10px;
}

.sidebar-item ul li a {
  text-decoration: none;
  color: #37517e;
}

.sidebar-item ul li a:hover {
  color: #af404f;
}

@media (max-width: 1024px) {
  .content-row {
    flex-direction: column; 
  }

  .main-content-area,
  .sidebar-area {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .sidebar-item h4 {
    font-size: 20px;
  }

  .side-search-bar {
    margin-left: -50px;
    padding-right: 50px;
  }

  .side-search-bar input {
    font-size: 14px;
  }

  .side-search-bar .btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 990px) {
  .content-row {
    flex-direction: column;
  }

  .main-content-area,
  .sidebar-area {
    flex: 0 0 100%;
    margin-top: 20px;
  }

  .sidebar-item h4 {
    font-size: 18px;
  }

  .side-search-bar {
    margin-left: -150px;
    padding-right: 150px;
  }

  .side-search-bar .search-bar-container input {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .side-search-bar {
    margin-left: -100px;
    padding-right: 100px;
  }
}

@media (max-width: 660px) {
  .content-row {
    flex-direction: column;
  }

  .main-content-area,
  .sidebar-area {
    flex: 0 0 100%;
    margin-top: 20px;
  }

  .sidebar-item h4 {
    font-size: 16px;
  }

  .side-search-bar .search-bar-container input {
    width: 100%;
    padding: 8px;
  }

  .sidebar-item ul li {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .side-search-bar {
    margin-left: -40px;
    padding-right: 40px;
  }
}

@media (max-width: 425px) {
  .content-row {
    flex-direction: column;
  }

  .main-content-area,
  .sidebar-area {
    flex: 0 0 100%;
    margin-top: 20px;
  }

  .sidebar-item h4 {
    font-size: 16px;
  }

  .side-search-bar {
    margin-left: -10px;
    padding-right: 10px;
  }

  .side-search-bar .search-bar-container input {
    width: 100%;
    padding: 8px;
  }

  .sidebar-item ul li {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 14px; /* Agar tabel prestasi tidak tumpang tindih */
}

#footer .footer-top {  
  padding: 50px 0 0px 0;
  background-color: #000;
}

#footer .footer-top a img {
  width: 75%; 
  padding: 0 0 20px 0;
}

#footer .footer-top p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;  
  color: #fff;
}

#footer .footer-top h4 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #af404f;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links h4 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #af404f;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #af404f;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1.5;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #af404f;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background-color: #af404f;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background-color: #fff;
  color: #af404f;
  text-decoration: none;
}

#footer .footer-bottom {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 15px;
  background-color: #af404f;
  color: #fff;
}

#footer .copyright {
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
  color: #fff;
  float: center;
}

@media (max-width: 1080px) {
  #footer .footer-top {
    display: none;
  }
  #footer .footer-top .footer-links {
    display: none;
  }
  #footer .copyright {
    text-align: center;
    float: center;
  }
}

/* Scrollbar Width */
::-webkit-scrollbar {
  width: 10px;
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

/* Scrollbar Handle */
::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 50px;
}

/* Scrollbar Handle on Hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}