/* CSS Document */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Top Bar ===== */
.top-bar {
  background: #222;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.top-bar a {
  color: #eb8702;
  margin: 0 8px;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

.top-social i {
  margin-right: 10px;
  color: #eb8702;
}

/* ===== Header ===== */
/* General Styles for Header */
header {
  background: #101010;
  color: #fff;
  padding: 1rem;
  text-align: center;
  position: relative;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 5px;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.5rem;
  padding: 5px;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.4rem;
  padding: 5px;
}

header p {
  margin-top: 0.5rem;
  font-size: 1rem;
  padding: 5px;
}

p {
	padding: 5px;
}

/* Logo Styles */
header .logo {
  max-width: 100%;  /* Makes the logo responsive */
  height: auto;     /* Maintains the aspect ratio */
  width: 360px;     /* Default size for larger screens */
  margin-bottom: 0.5rem;
}

/* For tablets (screen width between 600px and 1024px) */
@media (max-width: 1024px) {
  header .logo {
    width: 180px; /* Adjust logo size for tablets */
  }

  header p {
    font-size: 0.9rem;
  }
}

/* For mobile devices (screen width between 480px and 768px) */
@media (max-width: 768px) {
  header .logo {
    width: 150px; /* Adjust logo size for mobile */
  }

  header p {
    font-size: 0.8rem;
  }
}

/* For mobile devices (screen width between 320px and 600px) */
@media (max-width: 600px) {
  header .logo {
    width: 150px; /* Adjust logo size for mobile */
  }

  header p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  header .logo {
    width: 130px; /* Adjust logo size for smaller mobile screens */
  }

  header p {
    font-size: 0.75rem;
  }
}

/* ===== Nav Bar ===== */
nav {
  background: #4a9cb7;
  position: relative;
}

.menu-toggle {
  display: none;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 5px 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  display: inline-block;
}

nav ul li a:hover {
  background: #eb8702;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
}

nav ul li a.active {
  font-weight: bold;
  color: #fff; /* or your theme color */
  background: #eb8702;
  text-decoration: none;
}


/* ===== Slider ===== */
.slider {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  height: 360px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 16px;
  border-radius: 8px;
}

.caption-link {
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
}

.caption-link:hover {
  color: #eb8702;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 10;
  border-radius: 10%;
}

.slider-arrow.left {
  left: 10px;
}

.slider-arrow.right {
  right: 10px;
}


/* Optional: Hide arrows on small screens */
@media (max-width: 600px) {
  .slider-arrow {
    font-size: 2rem;
    padding: 4px 10px;
  }
}


/* ===== Articles Section ===== */
.container {
/*max-width: 1000px;*/
max-width: 1200px;
margin: auto;
padding: 1rem;
}

.container-admin {
/*max-width: 1000px;*/
max-width: 100%;
margin: auto;
padding: 1rem;
}

.intro-section {
  background: linear-gradient(to right, #f0f4f8, #ffffff);
  padding: 40px 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  margin: 30px 0;
}

.intro-content h1 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 15px;
  font-weight: 600;
}

.intro-content p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}


.article-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
}

@media (max-width: 768px) {
.article-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 480px) {
.article-grid {
  grid-template-columns: 1fr;
}
}

article {
background: #fff;
padding: 1rem;
border-radius: 8px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

article img {
max-width: 100%;
height: auto;
border-radius: 8px;
}

.custom-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto auto;
gap: 1rem;
}


.feature-article {
grid-column: span 2;
grid-row: span 2;
position: relative;
cursor: pointer;
}

/* For tablets and smaller screens */
@media (max-width: 768px) {
.custom-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto auto;
}

.feature-article {
  grid-column: span 2; /* full width */
  grid-row: auto;      /* reset row span */
}
}

/* For mobile phones */
@media (max-width: 480px) {
.custom-grid {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}

.feature-article {
  grid-column: span 1;
  grid-row: auto;
}
}


.video-thumbnail {
position: relative;
}

.video-thumbnail img {
width: 100%;
height: auto;
display: block;
}

.play-button {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 3rem;
color: white;
background: rgba(0,0,0,0.6);
border-radius: 50%;
padding: 0.5rem 1rem;
}

.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}

.modal-content {
background: #fff;
padding: 1rem;
max-width: 700px;
width: 90%;
position: relative;
border-radius: 8px;
}

.close-btn {
position: absolute;
top: -10px;
right: 0;
font-size: 2rem;
cursor: pointer;
}



/* ===== Ad Container ===== */
.ad-container {
text-align: center;
margin: 2rem 0;
}

/* ===== Reciprocal Links ===== */
.reciprocal-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.reciprocal-block {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  width: calc(33.333% - 1rem); /* Default: 3 per row */
  box-sizing: border-box;
}

.reciprocal-block h4 {
  color: #4a9cb7;
  margin-bottom: 0.8rem;
}

.reciprocal-block ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.reciprocal-block li {
  margin-bottom: 6px;
}

.reciprocal-block a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.reciprocal-block a:hover {
  color: #4a9cb7;
}

.affiliate-block {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  margin-top: 2rem;
}

.affiliate-block h3 {
  color: #4a9cb7;
  margin-bottom: 1.5rem;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.affiliate-item {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.affiliate-item:hover {
  transform: scale(1.02);
}

.affiliate-item img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.product-price {
  color: #388e3c;
  font-weight: bold;
}


/* Tablet (≤ 768px): 2 per row */
@media (max-width: 768px) {
  .reciprocal-block {
    width: calc(50% - 1rem);
  }
}

/* Small Mobile (≤ 468px): 1 per row */
@media (max-width: 468px) {
  .reciprocal-block {
    width: 100%;
  }
}


/* ===== Footer ===== */
footer {
background: #101010;
color: #fff;
padding: 1rem;
text-align: center;
}

.social-icons a {
color: #eb8702;
margin: 0 10px;
font-size: 1.2rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
.menu-toggle {
  display: block;
  font-size: 1.8rem;
  color: #eb8702;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: 12%;
  right: 5px;
}

nav ul {
  display: none;
  flex-direction: column;
  align-items: center;
  background: #4a9cb7;
  width: 100%;
}

nav ul.show {
  display: flex;
}

nav ul li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

nav ul li:last-child {
  border-bottom: none;
}
}

@media (max-width: 468px) {
.menu-toggle {
  top: 0%;
}
}

/* category styles */
.container-category {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

@media (min-width: 768px) {
  .container-category {
    flex-direction: row;
    align-items: flex-start;
  }
}

.article-section {
  flex: 2;
}

.sidebar {
  flex: 1;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.card-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.card-image {
  flex-shrink: 0;
  width: 150px;
  height: 100px;
  overflow: hidden;
  border-radius: 8px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-text {
  flex: 1;
}

.article-card h3 {
  margin-top: 0;
}

.article-card p {
  margin-bottom: 0.5rem;
  color: #555;
}
@media (max-width: 768px) {
.card-content {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-image {
  width: 100%;
  height: auto;
}

.card-image img {
  height: auto;
}

.card-text {
  width: 100%;
}
}



/* Responsive stacking on small screens */
@media (max-width: 768px) {
  .card-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-image {
    max-width: 100%;
  }
}


.sidebar h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 2px solid #eb8702;
  padding-bottom: 0.5rem;
}

.popular-article {
  margin-bottom: 1rem;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 0.5rem;
}

.popular-article:last-child {
  border-bottom: none;
}

.popular-article a {
  font-weight: bold;
  color: #333;
  font-size: 0.95rem;
}

.ad-container {
  margin: 2rem 0;
  text-align: center;
}

.pagination {
  text-align: center;
  margin-top: 2rem;
}

.pagination a {
  margin: 0 5px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #333;
  font-size: 0.95rem;
}

.pagination a:hover {
  background-color: #4a9cb7;
  color: #fff;
  border-color: #4a9cb7;
}

.pagination a.active {
  background: #eb8702;
  color: #fff;
  border-color: #eb8702;
  pointer-events: none;
}

/* article page styles */

.main-content {
  display: flex;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
  gap: 2rem;
}

.concept-media {
  /*margin: 2rem 0;
  padding: 1rem;*/
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.concept-media h3 {
  color: #4a9cb7;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.concept-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.concept-images img {
  width: 48%;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.concept-images-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.concept-images-inner img {
  width: 48%;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.concept-video {
  margin-top: 2rem;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.concept-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
.concept-images {
	flex-wrap: wrap;
	justify-content: center;
}

.concept-images img {
	width: 48%; /* side-by-side with some gap */
	max-width: 100%;
}
}

	  
@media (max-width: 480px) {
.concept-media {
  padding: 1rem 0.5rem;
}

.concept-media h3 {
  font-size: 1.1rem;
}

.concept-images {
  flex-direction: row; /* make it row instead of column */
  flex-wrap: wrap;
  justify-content: center;
}

.concept-images img {
  width: 46%;
  max-width: 100%;
}

.concept-video {
  padding-bottom: 56.25%; /* Maintain video ratio */
}
}

.cat-article-content {
  line-height: 1.8;
  font-size: 0.95rem;
  color: #333;
  text-align: justify;
  padding: 15px;
}

.cat-article-content p {
  margin-bottom: 1rem;
  text-align: left;
}

.cat-article-content b,
.cat-article-content strong {
  font-weight: bold;
}

.cat-article-content i,
.cat-article-content em {
  font-style: italic;
}

.cat-article-content ul,
.cat-article-content ol {
  margin: 1rem 0 1rem 2rem;
  padding-left: 1.2rem;
}

.cat-article-content li {
  margin-bottom: 0.5rem;
}

.cat-article-content a {
  color: #4a9cb7;
  text-decoration: underline;
}

.cat-article-content a:hover {
  color: #357e95;
}

.cat-article-content h1,
.cat-article-content h2,
.cat-article-content h3,
.cat-article-content h4,
.cat-article-content h5,
.cat-article-content h6 {
  font-weight: bold;
  margin: 0rem 0.5rem;
  line-height: 1;
  color: #2c3e50;
  text-align: left;
}

.cat-article-content h1 { font-size: 1.6rem; }
.cat-article-content h2 { font-size: 1.3rem; }
.cat-article-content h3 { font-size: 1.2rem; }
.cat-article-content h4 { font-size: 1.1rem; }
.cat-article-content h5 { font-size: 1rem; }
.cat-article-content h6 { font-size: .9rem; }

.cat-article {
  flex: 2;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.cat-article p {
	padding: 10px 12px;
}

.cat-article-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.cat-article-meta {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.cat-article-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.article-navigation {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cat-sidebar {
  flex: 1;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.cat-sidebar h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

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

  .cat-sidebar {
    order: 2;
    width: 100%;
    margin-top: 2rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
.cat-sidebar {
  padding: 1rem 0.5rem;
  margin-top: 1.5rem;
  border-radius: 8px;
}

.cat-sidebar h3 {
  font-size: 1.1rem;
}

.related-article img {
  width: 70px;
  height: 50px;
}

.related-article a {
  font-size: 0.9rem;
}
}


.related-article {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 10px;
}

.related-article img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}

.related-article a {
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
}

.review-section {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.06);
  margin-top: 3rem;
}

.review-section h3 {
  font-size: 1.5rem;
  color: #4a9cb7;
  margin-bottom: 1rem;
}

.review-section textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
  font-size: 1rem;
  font-family: inherit;
}

.review-section button {
  background-color: #4a9cb7;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.review-section button:hover {
  background-color: #3a86a0;
}

.review-section p a {
  color: #eb8702;
  font-weight: bold;
}

.existing-reviews {
  margin-top: 2rem;
}

.existing-reviews h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.existing-reviews div {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.existing-reviews strong {
  color: #222;
  font-weight: 600;
}

.existing-reviews span {
  color: #888;
  font-size: 0.9rem;
  margin-left: 6px;
}

.existing-reviews p {
  margin: 5px 0 0 0;
  color: #444;
}

.breadcrumb a {
  color: #4a9cb7;
  text-decoration: none;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #666;
}

.article-tags {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.tag-item {
  display: inline-block;
  background-color: #f2f8fb;
  color: #4a9cb7;
  padding: 5px 10px;
  border-radius: 20px;
  margin: 0 5px 5px 0;
  text-decoration: none;
  transition: background 0.3s;
}

.tag-item:hover {
  background-color: #e1f0f7;
}


/* contact page styles */
.feedback-form,
.reciprocal-links {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.feedback-form h2,
.reciprocal-links h3 {
  color: #4a9cb7;
  margin-top: 0;
}

.feedback-form form {
  display: flex;
  flex-direction: column;
}

.feedback-form label {
  margin: 10px 0 5px;
  font-weight: bold;
}

.feedback-form input,
.feedback-form textarea,
.feedback-form select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.feedback-form button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #4a9cb7;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.feedback-form button:hover {
  background: #eb8702;
}

.reciprocal-links ul {
  padding-left: 20px;
  list-style: disc;
  margin-top: 10px;
}

/* login page styles */
/* login page styles */
.login-container {
  max-width: 800px;
  margin: auto;
  padding: 1rem;
}
.login-form {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
  color: #4a9cb7;
  text-align: center;
}

.login-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.login-form button {
  width: 100%;
  padding: 10px;
  background: #4a9cb7;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.login-form button:hover {
  background: #eb8702;
}

.login-form .links {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 1rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-wrap: wrap;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 5px;
  flex-shrink: 0;
}

.checkbox-row label {
  flex: 1;
  margin: 0;
}

.form-error {
	color: red; margin-top: 5px;
}

.form-blur-wrapper {
  position: relative;
}

.form-blur-wrapper form {
  /*filter: blur(4px);*/
  pointer-events: none;
  user-select: none;
  opacity: 0.9;
}

.blur-overlay-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3em;
  color: #333;
  font-weight: bold;
  z-index: 10;
  text-align: center;
  padding: 20px;
}


/*rss page styles */
.sitemap-section {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.sitemap-section h2 {
  color: #4a9cb7;
  margin-top: 0;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.sitemap-list ul {
  list-style: none;
  padding-left: 0;
}

.sitemap-list li {
  margin: 8px 0;
}

/* ===== Dashboard Boxes ===== */
.admin-dashboard {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

/* Sidebar */
.sidebar-menu {
  width: 220px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.sidebar-menu h3 {
  margin-bottom: 1rem;
  color: #4a9cb7;
}

.sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu ul li {
  margin: 10px 0;
}

.sidebar-menu ul li a {
  color: #333;
  padding: 0.5rem;
  display: block;
  border-radius: 6px;
  transition: background 0.3s;
}

.sidebar-menu ul li a:hover {
  background: #eb8702;
  color: #fff;
}

/* Dashboard Content */
.dashboard-content {
  flex: 1;
}

.dashboard-section {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 0 12px rgba(0,0,0,0.06);
}

.dashboard-section h3 {
  margin-bottom: 1rem;
  color: #4a9cb7;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-section h3 i {
  margin-right: 8px;
}

.dashboard-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 0.5rem;
}

.more-link {
  font-size: 0.9rem;
  color: #eb8702;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-dashboard {
    flex-direction: column;
  }

  .sidebar-menu {
    width: 100%;
  }
}

.table-wrapper {
  overflow-x: auto;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  margin-top: 1rem;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.article-table th,
.article-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  font-size: 0.95rem;
}

.article-table th:nth-child(1),
.article-table td:nth-child(1) {
  width: 54%; /* ⬅️ Increase width for title */
}

.article-table th {
  background: #4a9cb7;
  color: #fff;
}

.article-table td i {
  color: #4a9cb7;
  font-size: 1rem;
}

.article-table td i:hover {
  color: #eb8702;
  cursor: pointer;
}

.pagination {
  margin-top: 1.5rem;
  text-align: center;
}

.pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 12px;
  background: #4a9cb7;
  color: #fff;
  border-radius: 5px;
  font-size: 0.9rem;
  text-decoration: none;
}

.pagination a.active,
.pagination a:hover {
  background: #eb8702;
}

.settings-section {
  background: #fff;
  padding: 2rem;
  margin-top: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.settings-section h2 {
  color: #4a9cb7;
  margin-bottom: 1rem;
}

.settings-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.settings-form input,
.settings-form select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.settings-form button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #4a9cb7;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.settings-form button:hover {
  background: #eb8702;
}

/* Small devices */
@media (max-width: 480px) {
  .settings-section {
    padding: 1rem;
  }

  .settings-form input,
  .settings-form select,
  .settings-form button {
    font-size: 0.95rem;
  }
}

.post-article-section {
  background: #fff;
  padding: 2rem;
  margin-top: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.post-article-section h2 {
  color: #4a9cb7;
  margin-bottom: 1rem;
}

.post-article-form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
}

.post-article-form input[type="text"],
.post-article-form input[type="url"],
.post-article-form input[type="file"],
.post-article-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.post-article-form button {
  margin-top: 20px;
  /*padding: 10px 20px;*/
  padding: 5px 15px;
  background: #4a9cb7;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.post-article-form button:hover {
  background: #eb8702;
}

.image-preview {
  margin-top: 10px;
  max-width: 200px;
  height: auto;
}

.image-preview img {
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.post-article-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,0 140,0 70,80' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}


/* Mobile responsive */
@media (max-width: 480px) {
  .post-article-section {
    padding: 1rem;
  }

  .post-article-form button {
    font-size: 0.95rem;
  }
}

.form-group {
  margin-bottom: 20px;
}
.error-msg {
  color: red;
  font-size: 0.875rem;
  margin-top: 4px;
}
