body {
  font-family: Arial, sans-serif;
  padding: 20px;
  margin: auto;
}

.breadcrumb-section {
  font-size: 14px;
  margin-top: 100px;
  margin-left: 460px;
  margin-bottom: 20px;
}

.breadcrumb-section a {
  text-decoration: none;
  color: #0077cc;
}

.breadcrumb-section a:hover {
  text-decoration: underline;
}

.breadcrumb-section span {
  color: #777;
}

.blog-image {
  text-align: center;
}

.blog-image img {
  width: 100%;
  max-width: 1000px;
  border-radius: 10px;
  margin-left: 220px;
}

.blog-content {
  margin-top: 20px;
}

.blog-content h2 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-left: 460px;
  max-width: 450px;
}

.blog-meta {
  font-size: 14px;
  color: gray;
  margin-left: 460px;
}


.containerr{
    width: 1000px;
    padding-left: 450px;
}

.containerr a{
    color: palevioletred;
}

.container a:hover{
    color: violet;
}


.content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 2200px;
}



/* .trending-posts-section{
    width: 200px;
} */

.trending-posts-section {
  flex: 1;
  max-width: 400px; /* increase from 350px if needed */
}


.trending-posts {
  max-width: 500px;
  margin: auto;
}

.post-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  transform: scale(1.03);
}

.post-image {
  width: 100%;           /* Adjust to container width */
  height: auto;          /* Automatically set height based on image ratio */
  display: block;
  object-fit: contain;   /* Show full image without cutting */
  transition: transform 0.3s ease;
}

.post-card:hover .post-image {
  transform: scale(1.05);
}

.card-content {
  padding: 15px;
}

.categories a {
  display: inline-block;
  background: #f84d63;
  color: white;
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 5px;
  font-size: 12px;
  text-decoration: none;
}

h3 a {
  display: inline-block;
  margin: 10px 0;
  font-size: 18px;
  text-decoration: none;
  color: #000;
}

h3 a:hover,
.categories a:hover,
.meta a:hover {
  text-decoration: underline;
  color: black;
}

.meta {
  font-size: 14px;
  color: #555;
}

.meta a {
  color: #000;
  text-decoration: none;
}


/* ////Sidebar button */
.sidebar-section {
  margin-bottom: 30px;
}

.sidebar-section h3 {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 15px;
}

.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin-bottom: 8px;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  background: #eee;
  padding: 8px 12px;
  border-radius: 4px;
  color: #000;
  transition:  0.3s ease;
}

.categories-list a:hover {
  background-color: #ccc;
}

.categories-list span {
  background: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; /* Added 'px' */
}

.gallery-grid img {
  height: 150px;
  width: 150px;
  transition: transform 0.3s ease; /* Smooth transition */
  border: none;
  border-radius: 10px;
}

.gallery-grid img:hover {
  transform: scale(0.9); /* Zoom out to 90% */
}







.comment-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.comment-form h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.comment-form p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
}

.full-width {
    width: 100%;
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
}

textarea {
    width: 100%;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.submit-btn {
    background-color: #6c63ff;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #5848e3;
}


.related-posts-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}

.related-posts-section h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #111;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns */
  gap: 30px;
}

.related-post-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.related-post-card a{
    text-decoration: none;

}
.related-post-card a:hover{
     color: #5848e3;
}

.related-post-card:hover {
  transform: translateY(-5px);
}

.related-post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-post-card .tags {
  padding: 10px 20px 0;
}

.related-post-card .tag {
  display: inline-block;
  background-color: #e63946;
  color: #fff;
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 4px;
  margin-right: 6px;
  text-transform: uppercase;
}

.related-post-card h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 10px 20px 5px;
  color: #222;
}

.related-post-card p {
  font-size: 0.9rem;
  margin: 0 20px 15px;
  color: #555;
}

.related-post-card .meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #888;
  padding: 0 20px 15px;
}

.related-post-card .meta i {
  margin-right: 5px;
}




