/* === Base Styles === */

html {
  position: relative;
  min-height: 100%;
}

body {
  padding-top: 56px; /* Space for Navbar */
  margin-bottom: 60px; /* Footer Height */
  color: #333;
  background-color: #fff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* === Sections & Typography === */

section {
  padding: 150px 0;
}

img {
  max-width: 100%;
  height: auto;
}

h1.title,
h2.title {
  font-size: 2.0rem;
  margin-bottom: 1rem;
}

blockquote {
  padding: 10px 20px;
  margin: 0 0 20px 20px;
  border-left: 5px solid #eee;
  font-style: italic;
  background-color: #f8f8f8;
}

/* === Code Blocks === */

pre,
code {
  background: #f8f8f8;
  color: #333;
  font-family: 'Courier New', Courier, monospace;
}

pre {
  border-left: 2px solid #ccc;
  padding: 10px;
  overflow: auto;
}

code {
  display: inline-block;
  padding: 0 0.5em;
  border-radius: 3px;
  line-height: 1.4;
}

/* === Tables === */

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #cbcbcb;
  font-size: 0.9em;
  margin-bottom: 1rem;
}

thead {
  background-color: #e0e0e0;
  color: #000;
  text-align: left;
}

th,
td {
  padding: 0.5em 1em;
  border-bottom: 1px solid #ddd;
}

/* === Navbar === */

.nav-link {
  font-size: 0.9em;
}

img.nav-svg-icon {
  width: 1rem;
  height: 1rem;
  vertical-align: text-bottom;
}

/* === Footer === */

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
  font-size: 0.9em;
  background-color: #222;
  color: #fff;
  text-align: center;
}

.mini-logo {
  height: 22px;
  vertical-align: middle;
}

/* === Plugin Styles === */

.plugin {
  margin-top: 3rem;
}

.plugin-label {
  font-size: 1em;
  text-transform: uppercase;
  font-weight: bold;
}

.plugin ul {
  list-style: none;
  padding-left: 10px;
}

.bi {
  margin-right: 0.5rem !important;
  vertical-align: text-bottom;
}

/* === Custom Read More Button === */


/* Card Enhancement */
.card {
  border-radius: 5px;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* Social Share Buttons */
.social-share .share-label {
  font-size: 1rem;
  color: #555;
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons .icon {
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  transition: opacity 0.3s;
}

.social-icons .icon:hover {
  opacity: 0.8;
}

.icon.facebook { background-color: #1877f2; }
.icon.twitter { background-color: #1da1f2; }
.icon.linkedin { background-color: #0077b5; }
.icon.whatsapp { background-color: #25d366; }

.social-icons .icon i {
  font-size: 16px;
}

/* Enhanced Category Sidebar */
.plugin-categories .plugin-label {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #444;
  border-bottom: 2px solid #4a90e2;
  padding-bottom: 4px;
}

.sidebar-category-list {
  list-style: none;
  padding-left: 0;
}

.sidebar-category-list li {
  margin-bottom: 6px;
}

.sidebar-category-list .sidebar-cat-link {
  display: block;
  background-color: #f4fdf6;
  color: #2d7a38;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 0.9rem;
}

.sidebar-category-list .sidebar-cat-link:hover {
  background-color: #d9f4e2;
  color: #145c2f;
}

.sidebar-category-list .count {
  color: #666;
  font-size: 0.85rem;
  float: right;
}

.plugin-search .search-box-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}

.plugin-search .search-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
  width: 100%;
}

.plugin-search .search-button {
  padding: 8px 12px;
  background-color: #4a90e2;
  border: none;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.plugin-search .search-button:hover {
  background-color: #337acc;
}

.custom-post-box {
  background: #fdfbfb;
  background: linear-gradient(145deg, #f5f7fa, #e4e7ec);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

/* Image Hover Effect */
.hover-effect-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.hover-effect-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}
  /* Add this in your style.css */
.card-body img,
.post-content img,
.page-content img {
  transition: all 0.3s ease-in-out;
  transform: scale(1);
  display: block;
  margin: auto;
  border-radius: 12px;
}

.card-body img:hover,
.post-content img:hover,
.page-content img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
/* === Post Content Typography === */
.card-body,
.post-content,
.page-content {
  font-size: 1.15rem;     /* Adjust as needed (e.g., 1.2rem or 18px) */
  line-height: 1.75;
  color: #222;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}