﻿/* Patine Osta - blog articles on homepage, V17 / UTF-8 RTL
   Desktop: three horizontal cards, like the approved reference. */
.html-home-page .po-stories {
  direction: rtl;
  margin-top: 4px;
  padding-top: 37px;
  padding-bottom: 24px;
  font-family: PatineYekan, iranyekan, IRANSans, Tahoma, sans-serif;
}
.html-home-page .po-stories .po-journal-head {
  direction: rtl;
  align-items: center;
  margin: 0 0 21px;
  padding: 0;
}
.html-home-page .po-stories .po-journal-head h2 {
  color: #182820;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0;
}
.html-home-page .po-stories .po-journal-head a {
  color: #326f50;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.html-home-page .po-stories .po-journal-head a:hover {color: #16472e;}
.html-home-page .po-stories-feed,
.html-home-page .po-stories .po-journal-grid {
  display: block;
  min-width: 0;
}
.html-home-page .po-stories .po-journal-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 26px;
  direction: rtl;
}
.html-home-page .po-stories .po-journal-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) 112px;
  gap: 14px;
  align-items: stretch;
  direction: rtl;
  text-align: right;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
.html-home-page .po-stories .po-journal-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: right;
}
.html-home-page .po-stories .po-journal-title {
  color: #1d2c23;
  font-size: 14px !important;
  font-weight: 800;
  line-height: 1.8;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.html-home-page .po-stories .po-journal-title a {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit;
}
.html-home-page .po-stories .po-journal-title a:hover {color: #247356 !important;}
.html-home-page .po-stories .po-journal-excerpt {
  font-size: 11.5px !important;
  font-weight: 400;
  line-height: 1.9;
  color: #858b85;
  margin: 0 0 9px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.html-home-page .po-stories .po-journal-date {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  direction: rtl;
  gap: 6px;
  margin-top: auto;
  padding-top: 7px;
  color: #577960;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
}
.html-home-page .po-stories .po-journal-date svg {
  width: 15px;
  height: 15px;
  color: #427963;
  flex: 0 0 auto;
}
.html-home-page .po-stories .po-journal-date time {white-space: nowrap;}
.html-home-page .po-stories .po-journal-image-link {
  display: block;
  width: 112px;
  height: 117px;
  border-radius: 9px;
  overflow: hidden;
  background: #f1efe8;
  align-self: start;
  transition: box-shadow .2s ease;
}
.html-home-page .po-stories .po-journal-image-link:hover {
  box-shadow: 0 8px 18px rgba(21,59,40,.13);
}
.html-home-page .po-stories .po-journal-image-link img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  border-radius: 9px;
  object-fit: cover;
  transition: transform .28s ease;
}
.html-home-page .po-stories .po-journal-image-link:hover img {transform: scale(1.045);}
@media (max-width: 1120px) {
  .html-home-page .po-stories .po-journal-grid {gap: 17px;}
  .html-home-page .po-stories .po-journal-item {grid-template-columns: minmax(0,1fr) 96px; gap: 10px;}
  .html-home-page .po-stories .po-journal-image-link {width:96px;height:110px;}
  .html-home-page .po-stories .po-journal-title {font-size:13px!important;}
}
@media (max-width: 820px) {
  .html-home-page .po-stories .po-journal-grid {grid-template-columns: repeat(2,minmax(0,1fr));row-gap:20px;}
}
@media (max-width: 600px) {
  .html-home-page .po-stories {padding-top: 27px;padding-bottom:15px;}
  .html-home-page .po-stories .po-journal-head {margin-bottom:17px;gap:12px;align-items:center;}
  .html-home-page .po-stories .po-journal-head h2 {font-size:18px!important;}
  .html-home-page .po-stories .po-journal-head a {font-size:10px!important;}
  .html-home-page .po-stories .po-journal-grid {grid-template-columns:1fr;gap:17px;}
  .html-home-page .po-stories .po-journal-item {grid-template-columns:minmax(0,1fr) 105px;gap:12px;}
  .html-home-page .po-stories .po-journal-image-link {width:105px;height:111px;}
  .html-home-page .po-stories .po-journal-title {font-size:13px!important;}
}
@media (prefers-reduced-motion: reduce) {
  .html-home-page .po-stories .po-journal-image-link,
  .html-home-page .po-stories .po-journal-image-link img {transition:none!important;}
}
