@font-face {
font-family: "VazirmatnFeed";
src: url(//newpanel.takidea.ir/fonts/vazirmatn/Vazirmatn-variable-4e3fa217d38f.woff2) format("woff2");
font-style: normal;
font-weight: 100 900;
font-display: swap;
}
.tak-recent-cases[data-tak-recent-cases] {
container-type: inline-size;
direction: rtl;
min-width: 0;
max-width: 100%;
color: #193b35;
font: 400 16px/1.8 "VazirmatnFeed", Vazirmatn, sans-serif;
text-align: start;
overflow-wrap: anywhere;
}
.tak-recent-cases *,
.tak-recent-cases *::before,
.tak-recent-cases *::after { box-sizing: border-box; }
.tak-recent-cases h2 {
font: 700 1.25em/1.8 "VazirmatnFeed", Vazirmatn, sans-serif;
margin: 0 0 1.25rem;
}
.tak-recent-cases [data-feed-items] {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 16px;
list-style: none;
counter-reset: tak-case;
margin: 0;
padding: 0;
}
.tak-recent-cases [data-feed-items] > li {
display: grid;
grid-template-columns: 40px minmax(0, 1fr);
grid-template-rows: auto 1fr;
column-gap: 14px;
counter-increment: tak-case;
min-width: 0;
min-height: 152px;
margin: 0;
padding: 22px;
border: 1px solid #dcece7;
border-radius: 18px;
background: linear-gradient(135deg, #fff 35%, #f3fbf8);
box-shadow: 0 4px 18px rgb(21 80 65 / 4%);
text-align: start;
list-style: none;
}
.tak-recent-cases [data-feed-items] > li::before {
content: counter(tak-case, persian);
grid-column: 1;
grid-row: 1 / span 2;
display: grid;
place-items: center;
width: 40px;
height: 40px;
border: 1px solid #c9eade;
border-radius: 12px;
background: #e5f7ef;
color: #086c56;
font-size: 18px;
font-weight: 700;
line-height: 1;
}
.tak-recent-cases .tak-feed-name {
grid-column: 2;
align-self: start;
display: block;
min-width: 0;
margin: 0;
color: #193b35;
font-size: 16px;
font-weight: 650;
line-height: 1.9;
overflow-wrap: anywhere;
}
.tak-recent-cases .tak-feed-meta {
grid-column: 2;
align-self: end;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
min-width: 0;
margin-top: 16px;
color: #536c64;
font-size: 14px;
line-height: 1.8;
}
.tak-recent-cases .tak-feed-meta > span { flex-basis: 100%; }
.tak-recent-cases time {
display: inline-flex;
align-items: center;
gap: 7px;
max-width: 100%;
padding: 4px 10px;
border: 1px solid #dcece7;
border-radius: 999px;
background: #fff;
color: #3e6156;
font-size: 14px;
line-height: 1.7;
font-variant-numeric: tabular-nums;
direction: ltr;
unicode-bidi: isolate;
}
.tak-recent-cases time::before {
content: "";
flex: 0 0 15px;
width: 15px;
height: 15px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23086c56' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v4m10-4v4M3 11h18m-13 5h2m4 0h2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tak-recent-cases [data-feed-status] {
margin: 0;
padding: 24px;
border: 1px solid #dcece7;
border-radius: 18px;
background: #f3fbf8;
color: #536c64;
text-align: center;
font-size: 16px;
}
@container (min-width: 560px) {
.tak-recent-cases [data-feed-items] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (min-width: 900px) {
.tak-recent-cases [data-feed-items] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tak-recent-cases [hidden] { display: none !important; }