/*========================================
Brand Section
========================================*/

.ih-brand-section{
    width:100%;
    background:#1b3e38 ;
    padding:70px 20px;
	margin-top:103px;
}


/*========================================
Container
========================================*/

.ih-brand-container{
    max-width:600px;
    margin:0 auto;
}


/*========================================
Brand Box
========================================*/

.ih-brand-box{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:22px;

}


/*========================================
Logo
========================================*/

.ih-brand-logo{

    width:180px;
    height:100px;

    background:#17382D;

    border-radius:18px 18px 18px 0 ;
	padding:0 10px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

}


.ih-brand-logo img{

    width:100%;
    height:auto;
    display:block;

}


/*========================================
Content
========================================*/

.ih-brand-content{

    color:#dcc171 ;

}


.ih-brand-content h2{

    margin:0;

    font-size:2rem;

    font-weight:700;

    line-height:1.2;

}


.ih-brand-content p{

    margin:8px 0 0;

    font-size:1rem;

    opacity:.9;

    line-height:1.6;

}


/*========================================
Mobile
========================================*/

@media(max-width:576px){

    .ih-brand-box{

        gap:16px;

    }

    .ih-brand-logo{

        width:150px;
        height:80px;

    }

    .ih-brand-logo img{

        width:100%;

    }

    .ih-brand-content h2{

        font-size:1.6rem;

    }

    .ih-brand-content p{

        font-size:.9rem;

    }

}



.ih-single-main {
    width: 100%;
    padding: 60px 0 0 0;
	box-sizing: border-box;	
}

.ih-content-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 30px; 
    max-width: 1280px; 
    margin: 0 auto;
    padding: 0 5px;
    box-sizing: border-box;
    width: 100%;
}

.ih-single-card {
    background: #fff;
    padding: 20px 15px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    flex: 1 1 calc(70% - 30px); 
    min-width: 0; 
}
.ih-post-title {
    margin: 0 0 20px 0;
    font-size: 1.8rem;
    line-height: 1.4;
    position: relative;
    padding-bottom: 15px;
}

.ih-post-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;	
    height: 2px;
	width:95%;
    background:#e0e0e0;
}


.ih-post-title a {
    text-decoration: none;
    color: #1b1b1b;
    transition: color 0.3s ease;
}
.ih-post-title a:hover {
    color: #1F4E3D;
}



.ih-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 40px; 
}
.ih-edit-meta a {
    color: #1F4E3D;
    text-decoration: none;
    margin-inline-start: 5px;
}

.ih-post-body {
    line-height: 2;
    color: #333;
    margin-bottom: 50px;	
}
.ih-post-body p {
	text-align:justify;}

.ih-post-body * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.ih-post-body ul {
    padding-right: 2rem; 
}
.ih-post-body a:hover{color:#48b09e ;}


.ih-post-footer {
    border-top: 1px solid #eee;
    padding-top: 30px;
}
.ih-metalinks strong {
    display: block;
    margin-bottom: 15px;
    color: #1b1b1b;
}
.ih-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ih-tags-wrap a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}
.ih-tags-wrap a:hover {
    border-color: #1F4E3D;
    color: #1F4E3D;
    background-color: rgba(31, 78, 61, 0.05);
}
	
	.ih-single-sidebar {
    flex: 1 1 30%; 
    min-width: 280px; 
		box-sizing: border-box;
/* margin-top:100px; */
}

@media (max-width: 768px) {
    .ih-single-main {
        padding: 30px 0;
		margin-top:100px;
    }
    .ih-single-card {
        padding: 25px 20px;
        border-radius: 12px;
    }
}
	@media (max-width: 992px) {
    .ih-single-sidebar {
        flex: 1 1 100%; 
        width: 100% !important;
        position: static; 
        margin-top: 10px; 
    }

    .ih-post-title {
        font-size: 1.6rem;
    }
    .ih-post-body {
        font-size: 1rem;
        margin-bottom: 35px;
    }
}



/* ==========================================================================
     (Sidebar)
   ========================================================================== */
.ih-sidebar {
    width: 100%;
    max-width: 520px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 22px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    clear: both;
    box-sizing: border-box;
}

.ih-sidebar-title {
    color: #1b1b1b;
    padding-inline: 10px;
    margin-bottom: 14px;
}

.ih-sidebar-line {
    width: 90%;
    height: 2px;
    background-color: #e0e0e0;
    margin-inline-start: 10px;
    margin-bottom: 30px;
}

.ih-sidebar-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================================================
    (Cards)
   ========================================================================== */
.ih-sidebar-card {
    display: block;
    text-decoration: none;
    background-color: #fffdf2;
    border: 1px solid #f0ebd4;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ih-sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
}

.ih-card-thumb img {
    width: 100%;
    height: 220px; 
    object-fit: cover;
    display: block;
}

.ih-card-content {
    padding: 15px 12px;
}

.ih-card-title {
    font-size: 1rem;
    color: #1b1b1b;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 2.8rem;
    overflow: hidden;
}

.ih-card-line {
    width: 80%;
    height: 1px;
    background-color: #e8e3cc;
    margin-bottom: 12px;
}

.ih-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ih-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.ih-meta-item.location {
    color: #666666;
}

.ih-meta-item.price {
    color: #1F4E3D;
    font-weight: 600;
}

.ih-meta-item i {
    width: 16px;
    text-align: center;
}

/* ==========================================================================
     (Responsive Fix)
   ========================================================================== */
@media (max-width: 480px) {
    .ih-sidebar {
        max-width: 100%;
        width: 100%;
        margin-inline: auto;
        border-radius: 0;
        padding: 15px 10px;
    }

    .ih-card-thumb img {
        height: 200px;
    }
}



.related-posts-section {
  margin-top: 40px;
  padding: 40px 20px 50px 20px;
  width: 100%;
  background: linear-gradient(to bottom, #f6f0d9 0%, #ffffff 100%);
  margin-inline: auto;
}

.related-title {
  font-size: 2rem;
  margin-bottom: 35px;
  color: #333;
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-inline: auto;
  width: 100%;
  max-width: 1280px;
}

.related-post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.related-post-card:hover {
  transform: translateY(-5px);
}

.related-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* عکس پست */
.related-post-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* اطلاعات پست */
.related-post-info {
  padding: 15px;
}

.related-post-title {
  font-size: 0.95rem;
  margin: 0 0 10px 0;
  line-height: 1.6;
  color: #222;
}

/* ==========================================
   iHomes Tables
========================================== */
.ih-table-wrap {
  width: 100%;
  overflow-x: hidden;
  margin: 30px 0;
  border-radius: 16px;
}

.ih-table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Header */
.ih-table thead th {
  background: #dcc171;
  color: #1b3e38;
  padding: 18px 16px;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid #d3b867;
}

.ih-table thead th:not(:last-child) {
  border-inline-end: 1px solid rgba(27, 62, 56, 0.18);
}

/* Cells */
.ih-table tbody td {
  padding: 16px;
  color: #444;
  border-bottom: 1px solid #ececec;
}

.ih-table tbody td:not(:last-child) {
  border-inline-end: 1px solid #ececec;
}

.ih-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.ih-table tbody tr:nth-child(even) {
  background: #faf8f2;
}

/* Hover */
.ih-table tbody tr {
  transition: 0.25s;
}

.ih-table tbody tr:hover {
  background: #eef6f4;
}

.ih-table tbody tr:hover td {
  color: #1b3e38;
}

.ih-table tbody tr:last-child td {
  border-bottom: none;
}

.ih-table thead th:first-child {
  border-top-right-radius: 16px;
}

.ih-table thead th:last-child {
  border-top-left-radius: 16px;
}

/* Mobile */
@media (max-width: 768px) {
  .ih-table {
    min-width: 420px;
  }

  .ih-table thead th,
  .ih-table tbody td {
    padding: 14px 12px;
    font-size: 0.95rem;
  }
}

blockquote {
  border-inline-start: 3px solid #b08b3c;
  background: #fafafa;
  padding: 30px 28px 22px;
  border-radius: 7px;
  font-style: italic;
  color: #555;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

blockquote::before {
  content: "“";
  position: absolute;
  top: -10px;
  inset-inline-start: 20px;
  font-size: 100px;
  font-family: Georgia, serif;
  color: #b08b3c;
  opacity: 0.25;
  line-height: 1;
}