/* Global */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #cfe1e9 !important; /* pilih salah satu warna */
  color: #333; /* warna teks */
}

/* Header */
header {
  background-color: #1d2656;
  color: white;
  padding: 20px 50px;
}

.header-text h1 {
  margin: 0;
  font-size: 1.8rem;
}

.header-text p {
  margin: 4px 0 0;
  font-size: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 1px;
  padding: 20px;
}

@media screen and (max-width: 768px){
    .container{
        display: flex;
        flex-direction: column;
    }
    label p{
        font-size: 14px;
    }
    .sidebar-widget, .recent-comments {
        max-width: 280px;
      }
}

.main-content {
  flex: 3;
}

.sidebar {
  flex: 1;
}

.activity-item {
  background-color: white;
  padding: 30px;
  margin-bottom: 35px;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.activity-image {
  margin-bottom: 10px;
}

.activity-image img {
  width: 100%;
  height: auto;
  max-height: 275px;
  object-fit: cover;
  border-radius: 8px;
}

.activity-meta {
  color: #444;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.activity-meta span {
  margin-right: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.activity-meta i {
  color: #1d2656;
  font-size: 16px;
}

.activity-title {
  color: #1d2656;
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
}

.activity-excerpt {
  margin-bottom: 15px;
  color: #555;
}

.read-more {
  display: inline-block;
  color: rgb(14, 13, 13);
  background-color: #f1b800;
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.read-more:hover {
  background-color: #c69300;
}

.sidebar-widget {
  background-color: white;
  padding: 40px 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 100%;
  margin: 0 auto;
}

.recent-comments {
  background-color: white;
  padding: 40px 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 100%;
  margin: 0 auto;
}

.recent-comments-title {
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1b800;
  color: #1d2656;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.recent-comments p {
  font-size: 14px;
  line-height: 1.6;
  color: #1d2656;
}

.recent-comments strong {
  color: #1d2656;
}

.recent-comments a {
  color: #1d2656;
  font-weight: bold;
  text-decoration: none;
}

.recent-comments a:hover {
  text-decoration: underline;
  color: #070c49;
}

.widget-title {
  font-size: 20px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1b800;
  color: #1d2656;
  font-weight: bold;
  text-transform: uppercase;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.custom-search {
  display: flex;
  margin-top: 10px;
}

.custom-search input[type="text"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  outline: none;
  font-size: 14px;
}

.custom-search button {
  background-color: #f1b800;
  color: rgb(0, 0, 0);
  border: none;
  padding: 10px 18px;
  border-radius: 0 5px 5px 0;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-search button:hover {
  background-color: #c69300;
}

.recent-posts {
  list-style: none;
  padding: 0;
}

.recent-posts li {
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.recent-posts li:hover {
  background-color: #fdf5d2;
  padding-left: 8px;
  border-left: 4px solid #f1b800;
  border-radius: 4px;
}

.recent-posts li::before {
  content: "\f15c"; /* icon file-alt dari Font Awesome */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #6c75c7;
  font-size: 14px;
}

.recent-posts li:last-child {
  border-bottom: none;
}

.recent-posts a {
  color: #1d2656;
  text-decoration: none;
  transition: color 0.2s;
}

.recent-posts a:hover {
  color: #070c49;
  text-decoration: underline;
}

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

.post-navigation {
  margin-top: 40px;
}

.prev-post {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.prev-post:hover {
  text-decoration: underline;
}

.comment-section form input,
.comment-section form textarea {
  width: 100%;
  padding: 8px;
  margin: 8px 0;
  box-sizing: border-box;
}

.comment-section form button {
  padding: 10px 20px;
  background-color: #007bff;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

.comment-section form button:hover {
  background-color: #0056b3;
}

footer {
  background-color: #2c2f74;
  color: white;
  display: flex;
  justify-content: space-around;
  padding: 20px;
  padding-bottom: 80px;
  font-size: 20px;
  width: auto;
}

.footer-bottom {
  background-color: #5e74c7;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 17px;
}

.search input[type="text"] {
  margin-top: 10px;
  padding: 10px;
  width: 295px;
}

.search button {
  padding: 5px 10px;
}


.post-navigation {
  margin-top: 40px;
}

.prev-post {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

.prev-post:hover {
  text-decoration: underline;
}

.comment-section form input,
.comment-section form textarea {
  width: 100%;
  padding: 8px;
  margin: 8px 0;
  box-sizing: border-box;
}

.comment-section form button {
  padding: 10px 20px;
  background-color: #f5a623;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

.comment-section form button:hover {
  background-color: #94641c;
}

.checkbox-label {
  display: flex;
  flex-direction: row; /* ← Ganti dari row-reverse */
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.checkbox-label p{
    margin-bottom: 0;
}