:root {
  --cyan: #00ffff;
  --teal: #008080;
  --teal-700: #006b6b;
  --deep: #073f42;
  --ink: #16383d;
  --muted: #5d7478;
  --ice: #f3f8fa;
  --ice-2: #e8f1f4;
  --line: #d8e7ea;
  --shadow: 0 22px 58px rgba(0, 80, 86, .12);
  --shadow-sm: 0 9px 26px rgba(0, 80, 86, .075);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
}

.adel-blogpage * { box-sizing: border-box; }
.adel-blogpage {
  color: var(--ink);
  background: #fff;
  font-family: "IRANSansX", "Vazirmatn", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
.adel-blogpage a { color: inherit; text-decoration: none; }
.adel-container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
a.adel-blogpage.skip { position: fixed; z-index: 100; top: 12px; inset-inline-start: 16px; padding: 9px 15px; border-radius: 10px; color: #fff; background: var(--deep); transform: translateY(-150%); }
a.adel-blogpage.skip:focus { transform: none; }

.adel-blog-hero {
  padding: 54px 0 40px;
  background: radial-gradient(circle at 88% -10%, rgba(0, 255, 255, .24), transparent 26rem), linear-gradient(180deg, #fbfefe, var(--ice));
}
.adel-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--teal-700); font-size: .76rem; font-weight: 800; }
.adel-eyebrow:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(0, 128, 128, .13); }
.adel-blog-hero h1 { max-width: 670px; margin: 11px 0 10px; color: var(--deep); font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.3; letter-spacing: -.045em; }
.adel-blog-hero p { max-width: 620px; margin: 0; color: #536d72; font-size: .85rem; }
.adel-blog-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 45px; }
.adel-format-list { display: flex; gap: 9px; }
.adel-format-pill { min-width: 102px; padding: 14px 13px; display: grid; justify-items: center; gap: 7px; border: 1px solid rgba(188, 220, 222, .9); border-radius: 18px; color: var(--deep); background: rgba(255, 255, 255, .82); box-shadow: var(--shadow-sm); font-size: .7rem; font-weight: 800; }
.adel-format-pill svg { color: var(--teal); }

.adel-blog-content { padding: 30px 0 60px; }
.adel-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.adel-blog-filters {
  position: sticky; z-index: 20; top: 12px; margin-bottom: 28px; padding: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px solid rgba(205, 226, 228, .95); border-radius: 20px; background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 34px rgba(0, 80, 86, .09); backdrop-filter: blur(14px);
}
.adel-type-filters { display: flex; align-items: center; gap: 7px; overflow-x: auto; }
.adel-filter-btn { flex: 0 0 auto; min-height: 44px; padding: 8px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 12px; color: #4d696e; background: transparent; font-size: .75rem; font-weight: 800; transition: .18s var(--ease); }
.adel-filter-btn svg { color: var(--teal); }
.adel-filter-btn:hover { color: var(--deep); background: #eefafa; }
.adel-filter-btn.is-active { color: #fff; background: var(--teal); box-shadow: 0 8px 19px rgba(0, 128, 128, .2); }
.adel-filter-btn.is-active svg { color: var(--cyan); }
.adel-filter-side { display: flex; align-items: center; gap: 10px; }
.adel-select-wrap { position: relative; min-width: 190px; }
.adel-select-wrap svg { position: absolute; top: 50%; inset-inline-start: 13px; color: var(--teal); pointer-events: none; transform: translateY(-50%); }
.adel-category-select { width: 100%; min-height: 44px; padding: 7px 13px 7px 38px; border: 1px solid var(--line); border-radius: 12px; color: var(--deep); background: #f8fbfb; appearance: none; cursor: pointer; font-size: .72rem; font-weight: 700; font-family: inherit; }
.adel-result-count { min-width: 82px; color: #667d81; font-size: .67rem; white-space: nowrap; }

.adel-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.adel-blog-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 23px; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.adel-blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.adel-card-type { display: inline-flex; align-items: center; gap: 6px; font-size: .64rem; font-weight: 800; }
.adel-blog-media { position: relative; display: block; aspect-ratio: 1.55; overflow: hidden; background: var(--ice-2); }
.adel-blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.adel-blog-card:hover .adel-blog-media img { transform: scale(1.035); }
.adel-blog-media .adel-card-type { position: absolute; top: 13px; right: 13px; padding: 5px 10px; border-radius: 99px; color: var(--teal-700); background: rgba(255, 255, 255, .93); backdrop-filter: blur(8px); }
.adel-blog-body { flex: 1; padding: 19px; display: flex; flex-direction: column; gap: 9px; }
.adel-blog-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: #678085; font-size: .63rem; }
.adel-blog-title { margin: 0; color: var(--deep); font-size: 1rem; line-height: 1.7; }
.adel-blog-title a:hover { color: var(--teal-700); }
.adel-blog-excerpt { display: -webkit-box; overflow: hidden; margin: 0; color: #5d757a; font-size: .71rem; line-height: 1.85; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.adel-blog-link { margin-top: auto; padding-top: 9px; display: inline-flex; align-items: center; gap: 6px; border-top: 1px solid #edf3f4; color: var(--teal-700); font-size: .7rem; font-weight: 800; }
.adel-blog-link svg { transition: transform .18s; }
.adel-blog-link:hover svg { transform: translateX(-3px); }

/* ===== کارت پادکست ===== */
.adel-podcast-card {
  position: relative; padding: 0; color: var(--ink); border-color: var(--line);
  background: #fff; box-shadow: var(--shadow-sm);
}
.adel-podcast-top { position: absolute; z-index: 3; top: 13px; right: 13px; display: flex; align-items: center; }
.adel-podcast-card .adel-card-type { padding: 6px 11px; border: 1px solid rgba(0, 107, 107, .13); border-radius: 99px; color: var(--teal-700); background: rgba(255, 255, 255, .94); box-shadow: 0 5px 16px rgba(0, 66, 71, .1); backdrop-filter: blur(8px); }
.adel-podcast-art { position: relative; margin: 0; display: block; overflow: hidden; aspect-ratio: 1.55; background: var(--ice-2); }
.adel-podcast-art:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(4, 61, 65, .02), rgba(4, 61, 65, .15)); }
.adel-podcast-cover { position: absolute; inset: 0; overflow: hidden; border: 0; border-radius: 0; background: #dbeff0; }
.adel-podcast-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.adel-podcast-card:hover .adel-podcast-cover img { transform: scale(1.035); }
.adel-play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 56px; height: 56px; display: grid; place-items: center; border: 3px solid rgba(255, 255, 255, .88); border-radius: 50%; color: #fff; background: var(--teal); box-shadow: 0 10px 27px rgba(0, 70, 76, .3); transition: transform .2s var(--ease), background .2s var(--ease); }
.adel-play:hover { background: var(--teal-700); transform: scale(1.06); }
.adel-play svg { margin-right: -2px; }
.adel-wave { display: none; }
.adel-podcast-card .adel-blog-title { color: var(--deep); }
.adel-podcast-card .adel-blog-excerpt { color: #5d757a; }
.adel-podcast-card .adel-blog-meta { color: #678085; }
.adel-podcast-card .adel-blog-link { color: var(--teal-700); border-top-color: #e5eff0; }
.adel-podcast-card .adel-blog-body { padding: 19px; }

/* ===== کارت ویدئوکست ===== */
.adel-video-card { position: relative; min-height: 340px; display: flex; align-items: flex-end; border: 1px solid #c7dddf; background: #153f42; }
.adel-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adel-video-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 40, 43, .08) 25%, rgba(4, 39, 42, .9) 100%); }
.adel-video-top { position: absolute; z-index: 2; top: 14px; right: 14px; }
.adel-video-top .adel-card-type { padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; color: #fff; background: rgba(5, 59, 63, .72); backdrop-filter: blur(9px); }
.adel-video-play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; color: var(--deep); background: rgba(255, 255, 255, .92); box-shadow: 0 10px 28px rgba(0, 0, 0, .18); }
.adel-video-play svg { margin-right: -3px; }
.adel-video-body { position: relative; z-index: 2; width: 100%; padding: 21px; display: flex; flex-direction: column; gap: 9px; color: #fff; }
.adel-video-card .adel-blog-title { color: #fff; }
.adel-video-card .adel-blog-meta { color: #cee0e1; }
.adel-video-card .adel-blog-link { color: var(--cyan); border-top: 0; padding-top: 0; }

.adel-blog-empty { margin: 30px auto; padding: 35px; max-width: 560px; border: 1px dashed #a9cfd1; border-radius: 21px; text-align: center; background: var(--ice); }
.adel-blog-empty svg { margin: 0 auto 10px; color: var(--teal); }
.adel-blog-empty h2 { margin: 0 0 5px; color: var(--deep); font-size: 1.1rem; }
.adel-blog-empty p { margin: 0; color: var(--muted); font-size: .74rem; }

.adel-blog-pagination { margin-top: 30px; display: flex; justify-content: center; }
.adel-blog-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.adel-blog-pagination li { display: block; }
.adel-blog-pagination a, .adel-blog-pagination span {
  min-width: 40px; min-height: 40px; padding: 0 10px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 11px; color: var(--teal-700); background: #fff; font-size: .72rem; font-weight: 700;
}
.adel-blog-pagination a:hover { border-color: var(--teal); background: #effafa; }
.adel-blog-pagination span.current { color: #fff; background: var(--teal); border-color: var(--teal); }
.adel-blog-pagination span.dots { border-color: transparent; background: transparent; }

.adel-blog-cta {
  margin: 34px 0 0; padding: 25px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px;
  border: 1px solid #9bd7d8; border-radius: 24px;
  background: radial-gradient(circle at 8% 40%, rgba(0, 255, 255, .16), transparent 18rem), linear-gradient(135deg, #eaffff, #f5fbfb);
  box-shadow: 0 15px 40px rgba(0, 91, 95, .1);
}
.adel-blog-cta-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--teal-700); font-size: .64rem; font-weight: 900; }
.adel-blog-cta-kicker:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 128, 128, .14); }
.adel-blog-cta h2 { margin: 5px 0 3px; color: var(--deep); font-size: clamp(1.25rem, 2.5vw, 1.8rem); line-height: 1.5; }
.adel-blog-cta p { max-width: 650px; margin: 0; color: #526e72; font-size: .7rem; }
.adel-blog-cta-actions { display: flex; align-items: center; gap: 8px; }
.adel-cta-primary, .adel-cta-secondary { min-height: 48px; padding: 9px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 13px; font-size: .7rem; font-weight: 800; white-space: nowrap; transition: .18s; }
.adel-cta-primary { color: #fff; background: var(--teal); box-shadow: 0 9px 22px rgba(0, 128, 128, .22); }
.adel-cta-primary:hover { background: var(--teal-700); transform: translateY(-2px); }
.adel-cta-secondary { border: 1px solid #abd4d6; color: var(--teal-700); background: #fff; }
.adel-cta-secondary:hover { border-color: var(--teal); background: #f4ffff; }

@media (max-width: 980px) {
  .adel-blog-hero-inner { grid-template-columns: 1fr; }
  .adel-format-list { display: none; }
  .adel-blog-filters { position: static; align-items: stretch; flex-direction: column; }
  .adel-filter-side { justify-content: space-between; }
  .adel-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adel-blog-cta { grid-template-columns: 1fr; }
  .adel-blog-cta-actions { justify-content: flex-start; }
}
@media (max-width: 650px) {
  .adel-container { width: min(calc(100% - 28px), var(--container)); }
  .adel-blog-hero { padding: 38px 0 30px; }
  .adel-blog-content { padding-top: 20px; }
  .adel-blog-filters { top: 7px; padding: 9px; border-radius: 17px; }
  .adel-filter-btn { min-height: 43px; padding-inline: 14px; }
  .adel-filter-side { align-items: center; }
  .adel-select-wrap { min-width: 0; flex: 1; }
  .adel-result-count { min-width: auto; }
  .adel-blog-grid { grid-template-columns: 1fr; gap: 17px; }
  .adel-video-card { min-height: 300px; }
  .adel-blog-cta { margin: 25px 0; padding: 22px 19px; }
  .adel-blog-cta-actions { align-items: stretch; flex-direction: column; }
  .adel-cta-primary, .adel-cta-secondary { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .adel-blogpage *, .adel-blogpage *:before, .adel-blogpage *:after { animation: none !important; transition: none !important; }
}
