.rehman{background-color:red;}

/* Base body styling */
body {
  /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
  font-family: 'poppins',sans-serif;
  font-size:24px;              /* Uniform readable font size */
  line-height: 1.5;             /* Ample line spacing */
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #222222;
}

/* Layout wrapper for content */
.layout-content, .container, .content, .item-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 100px;             /* 100px side margins */
  box-sizing: border-box;
}

h1{
    font-weight: bold;
    color: black;
}

/* Paragraph spacing */
p {
  margin: 0 0 1.5em 0;          /* Space between paragraphs */
}

 a{
     color: #751236 !important;
 }


/* Custom news feed style starts */
.substack-feed-grid .row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
  justify-content: space-between;
}

.substack-post-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  width: 30%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.substack-post-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.substack-post-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.substack-post-title {
  font-size: 18px;
  margin: 0;
}

.substack-post-title a {
  text-decoration: none;
  color: #111;
}

.substack-post-title a:hover {
  text-decoration: underline;
}

.substack-post-date {
  font-size: 14px;
  color: #888;
}

.substack-post-excerpt {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

.substack-post-readmore {
  font-size: 14px;
  color: #0056b3;
  margin-top: auto;
  text-decoration: none;
}

.substack-post-readmore:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .substack-post-card {
    width: 48%;
  }
}

@media (max-width: 600px) {
  .substack-post-card {
    width: 100%;
  }
}

/* Custom news feed style ends */

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
  .layout-content, .container, .content, .item-page {
    padding: 0 50px;
  }
}

@media (max-width: 600px) {
  .layout-content, .container, .content, .item-page {
    padding: 0 20px;
    font-size: 16px;            /* Slightly smaller font on mobile */
  }
}
