/* =====================================================================
   رویابلاگ — کپی قالب avval.ir (کتاب اول)
   Custom CSS override layer — serves at /style/t203r223/css.css
   Fonts + paper texture hotlinked from avval.ir (publicly accessible).
   ===================================================================== */

@font-face { font-family: 'iran-sans'; font-weight: 200; src: url('https://avval.ir/fonts/iran-sans/iran-sans_200.woff2?q=1') format('woff2'); }
@font-face { font-family: 'iran-sans'; font-weight: 300; src: url('https://avval.ir/fonts/iran-sans/iran-sans_300.woff2?q=1') format('woff2'); }
@font-face { font-family: 'iran-sans'; font-weight: 400; src: url('https://avval.ir/fonts/iran-sans/iran-sans_normal.woff2?q=1') format('woff2'); }
@font-face { font-family: 'iran-sans'; font-weight: 500; src: url('https://avval.ir/fonts/iran-sans/iran-sans_500.woff2?q=1') format('woff2'); }
@font-face { font-family: 'iran-sans'; font-weight: 700; src: url('https://avval.ir/fonts/iran-sans/iran-sans_bold.woff2?q=1') format('woff2'); }

:root {
  --av-yellow: #ffcd00;
  --av-yellow-dark: #f0b400;
  --av-blue: #2e74b7;
  --av-blue-light: #5a8dee;
  --av-blue-dark: #0d47a1;
  --av-ink: #1a1a2e;
  --av-body: #333333;
  --av-muted: #999999;
  --av-footer: #18181b;
  --av-copyright: #d1d5db;
  --av-bg: #ebebeb;
  --av-bg-1: #f7f8fa;
  --av-bg-2: #f9f9f9;
  --av-bg-3: #f3f4f6;
  --av-radius: 21px;
  --av-pill: 50px;
  --av-container: 1200px;
}

/* ---------------- base reset / override ---------------- */
.av-body * { box-sizing: border-box; }
.av-body {
  margin: 0; padding: 0;
  direction: rtl;
  font-family: 'iran-sans', Tahoma, 'Segoe UI', Arial, sans-serif;
  font-size: 13px; font-weight: 300;
  line-height: 1.8em;
  color: var(--av-body);
  background-color: var(--av-bg);
}
.av-body h1, .av-body h2, .av-body h3, .av-body h4, .av-body h5, .av-body h6 {
  font-family: 'iran-sans', Tahoma, sans-serif;
  font-weight: 700; line-height: 1.5em;
  color: var(--av-ink); margin: 0;
}
.av-body a { text-decoration: none; color: var(--av-blue); transition: all ease 0.25s; }
.av-body a:hover { color: var(--av-ink); }
.av-body img { max-width: 100%; height: auto; }
.av-body ul { margin: 0; padding: 0; list-style: none; }
.av-container { max-width: var(--av-container); margin: 0 auto; padding: 0 20px; }
.av-sec-title { font-size: 22px; font-weight: 700; color: var(--av-ink); }

/* buttons */
.av-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'iran-sans', Tahoma, sans-serif;
  font-size: 14px; font-weight: 600;
  padding: 9px 22px; border-radius: var(--av-pill);
  border: none; cursor: pointer; transition: all ease 0.25s;
  white-space: nowrap;
}
.av-btn-blue, .av-btn-register { background: var(--av-blue); color: #fff; }
.av-btn-blue:hover, .av-btn-register:hover { background: var(--av-blue-dark); color: #fff; transform: translateY(-1px); }
.av-btn-dark { background: var(--av-ink); color: #fff; }
.av-btn-dark:hover { background: #000; color: #fff; }
.av-btn-light { background: #fff; color: var(--av-blue-dark); font-size: 15px; padding: 12px 34px; }
.av-btn-light:hover { background: var(--av-yellow); color: var(--av-ink); }
.av-btn-viewall { font-size: 14px; font-weight: 600; padding: 8px 20px; }

/* pill (read-more, like avval "مشاهده پروفایل") */
.av-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--av-bg-3); color: var(--av-ink);
  font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 9999px;
}
.av-pill:hover { background: var(--av-blue); color: #fff; }

/* ---------------- HEADER ---------------- */
.av-header {
  background: #fff; border-bottom: 1px solid #e5e7eb;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.av-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.av-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--av-ink); flex-shrink: 0; }
.av-logo:hover { color: var(--av-blue); }
.av-logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--av-yellow); color: var(--av-ink); font-size: 18px;
}
.av-logo-text { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.av-nav a, .av-nav .av-nav-link {
  display: inline-block; padding: 8px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: #4b5563;
}
.av-nav a:hover, .av-nav .av-nav-link:hover { background: var(--av-bg-1); color: var(--av-blue); }
.av-nav a[#menu_active#], .av-nav a.active, .av-nav a#homeactive { color: var(--av-blue); background: #eaf1fb; }

/* ---------------- HERO ---------------- */
.av-hero {
  background: var(--av-yellow) url('https://avval.ir/img/homepage/yellow-paper-texture.jpg') repeat fixed 0 0 / 400px;
  padding: 90px 0 100px;
  text-align: center;
  position: relative;
}
.av-hero-inner { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.av-hero-title { font-size: 34px; font-weight: 700; color: var(--av-ink); margin-bottom: 14px; }
.av-hero-desc { font-size: 16px; font-weight: 400; color: #3f3f46; max-width: 640px; margin: 0 auto 34px; }

/* search */
.av-search {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--av-pill);
  padding: 8px 8px 8px 8px; max-width: 620px; margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.av-search-input {
  flex: 1; border: none; outline: none; background: none;
  font-family: 'iran-sans', Tahoma, sans-serif; font-size: 14px;
  color: var(--av-body); padding: 10px 18px; min-width: 0;
}
.av-search-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  background: var(--av-blue); color: #fff; border: none; cursor: pointer;
  font-family: 'iran-sans', Tahoma, sans-serif; font-size: 14px; font-weight: 600;
  padding: 12px 26px; border-radius: var(--av-pill); transition: all ease 0.25s;
}
.av-search-btn:hover { background: var(--av-blue-dark); }

.av-hero-cta { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.av-hero-cta > span { font-size: 15px; font-weight: 500; color: #3f3f46; }

/* ---------------- CATEGORY TILES ---------------- */
.av-cats { background: var(--av-bg-1); padding: 60px 0 70px; }
.av-cats-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.av-cats-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.av-cat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: #fff; border-radius: var(--av-radius);
  padding: 22px 8px 18px; text-align: center; color: var(--av-body);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all ease 0.25s; position: relative;
}
.av-cat:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); color: var(--av-body); }
.av-cat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px; font-size: 26px;
  background: #fdf3f4; color: #f3124a;
}
.av-cat:nth-child(2) .av-cat-icon { background: #fff4e5; color: #ff8a00; }
.av-cat:nth-child(3) .av-cat-icon { background: #eaf1fb; color: #2e74b7; }
.av-cat:nth-child(4) .av-cat-icon { background: #e8f7ec; color: #1c8c4a; }
.av-cat:nth-child(5) .av-cat-icon { background: #f0ecfb; color: #7c3aed; }
.av-cat:nth-child(6) .av-cat-icon { background: #fdf0ec; color: #e3521b; }
.av-cat:nth-child(7) .av-cat-icon { background: #e6f7f6; color: #0e9594; }
.av-cat:nth-child(8) .av-cat-icon { background: #fdf3f4; color: #d81b60; }
.av-cat:nth-child(9) .av-cat-icon { background: #fff4e5; color: #f59e0b; }
.av-cat:nth-child(10) .av-cat-icon { background: #eaf1fb; color: #2563eb; }
.av-cat:nth-child(11) .av-cat-icon { background: #e8f7ec; color: #059669; }
.av-cat:nth-child(12) .av-cat-icon { background: #f0ecfb; color: #8b5cf6; }
.av-cat:nth-child(13) .av-cat-icon { background: #fdf0ec; color: #ea580c; }
.av-cat:nth-child(14) .av-cat-icon { background: #e6f7f6; color: #0891b2; }
.av-cat:nth-child(15) .av-cat-icon { background: #fdf3f4; color: #e11d48; }
.av-cat:nth-child(16) .av-cat-icon { background: #fff4e5; color: #d97706; }
.av-cat-title { font-size: 13.5px; font-weight: 500; color: var(--av-ink); line-height: 1.5em; }
.av-cat-count { font-size: 12px; font-weight: 400; color: var(--av-muted); }
.av-cat-sub { padding: 12px 8px; box-shadow: none; border: 1px solid #e5e7eb; }
.av-cat-sub .av-cat-title { font-size: 12.5px; }

/* ---------------- LAYOUT ---------------- */
.av-main { background: #fff; padding: 70px 0 80px; }
.av-layout { display: flex; align-items: flex-start; gap: 30px; }
.av-content { flex: 1; min-width: 0; }
.av-sidebar { flex-shrink: 0; width: 320px; position: sticky; top: 84px; }

/* ---------------- POST CARD ---------------- */
.av-post {
  display: flex; gap: 0; background: #fff;
  border: 1px solid #e5e7eb; border-radius: var(--av-radius);
  overflow: hidden; margin-bottom: 24px; position: relative;
  transition: all ease 0.25s;
}
.av-post:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.09); border-color: #d1d5db; }
.av-post-thumb { flex-shrink: 0; width: 260px; background: var(--av-bg-1); overflow: hidden; }
.av-post-thumb img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; display: block; transition: transform ease 0.4s; }
.av-post:hover .av-post-thumb img { transform: scale(1.05); }
.av-post-body { flex: 1; min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; }
.av-post-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; line-height: 1.5em; }
.av-post-title a { color: var(--av-ink); }
.av-post-title a:hover { color: var(--av-blue); }
.av-post-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.av-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 400; color: var(--av-muted); }
.av-meta i { font-size: 13px; }
.av-post-cnt { font-size: 13.5px; line-height: 2em; color: var(--av-body); margin-bottom: 14px; }
.av-post-cnt img { border-radius: 10px; margin: 8px 0; }
.av-post-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; font-size: 12.5px; }
.av-post-tags > i { color: var(--av-muted); }
.av-post-tags a { color: var(--av-blue); }
.av-tag-sep { color: var(--av-muted); }
.av-post-foot { display: flex; align-items: center; gap: 16px; margin-top: auto; flex-wrap: wrap; }
.av-meta-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--av-muted); }
.av-meta-link:hover { color: var(--av-blue); }

/* rating */
.av-post-rating { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; background: rgba(255,255,255,0.92); border-radius: 9999px; padding: 6px 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.av-like-up, .av-like-down { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; }
.av-like-up { color: #2563eb; }
.av-like-down { color: #e11d48; }
.av-like-up:hover { color: #1d4ed8; }
.av-like-down:hover { color: #be123c; }

/* slide / messages */
.av-slide { margin-bottom: 24px; border-radius: var(--av-radius); overflow: hidden; border: 1px solid #e5e7eb; }
.av-slide img { width: 100%; display: block; }
.av-message { border-radius: var(--av-radius); padding: 16px 20px; margin-bottom: 24px; background: #fff8e1; border: 1px solid #ffe082; color: #6b4500; font-size: 13.5px; }
.av-message-text { text-align: center; }

/* ---------------- PAGINATION ---------------- */
.av-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 30px 0 10px; flex-wrap: wrap; }
.av-pagination a {
  display: inline-flex; align-items: center; gap: 4px;
  min-width: 40px; height: 40px; padding: 0 14px;
  border-radius: 12px; background: #fff; border: 1px solid #e5e7eb;
  font-size: 14px; font-weight: 500; color: #4b5563;
}
.av-pagination a:hover { background: var(--av-blue); border-color: var(--av-blue); color: #fff; }
.av-pagination a.active, .av-pagination a.current { background: var(--av-blue); border-color: var(--av-blue); color: #fff; }

/* ---------------- COMMENTS ---------------- */
.av-comments { margin-top: 10px; }
.av-comments-none {
  text-align: center; padding: 26px 20px; margin-bottom: 20px;
  background: var(--av-bg-1); border-radius: var(--av-radius);
  color: var(--av-muted); font-size: 14px; font-weight: 500;
}
.av-comment { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--av-radius); padding: 18px 20px; margin-bottom: 14px; }
.av-comment-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.av-comment-avatar img { width: 38px; height: 38px; border-radius: 10px; border: 1px solid #e5e7eb; }
.av-comment-name { font-size: 14px; font-weight: 700; color: var(--av-ink); }
.av-comment-date { font-size: 12px; color: var(--av-muted); }
.av-comment-web, .av-comment-mail { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; color: var(--av-blue); }
.av-comment-web:hover, .av-comment-mail:hover { background: var(--av-bg-1); }
.av-comment-text { font-size: 13.5px; line-height: 2em; color: var(--av-body); border-top: 1px dashed #e5e7eb; padding-top: 12px; }
.av-comment-reply { margin-top: 14px; padding: 14px 16px; background: var(--av-bg-1); border-radius: 14px; border-right: 3px solid var(--av-blue); }
.av-reply-name { font-size: 13px; font-weight: 700; color: var(--av-ink); margin-left: 10px; }
.av-reply-date { font-size: 12px; color: var(--av-muted); }
.av-reply-text { font-size: 13px; margin-top: 8px; line-height: 2em; }
.av-comment-form { margin-top: 26px; background: #fff; border: 1px solid #e5e7eb; border-radius: var(--av-radius); padding: 20px; }

/* ---------------- SIDEBAR ---------------- */
.av-widget {
  background: #fff; border: 1px solid #e5e7eb; border-radius: var(--av-radius);
  padding: 20px; margin-bottom: 20px; overflow: hidden;
}
.av-widget-title {
  font-size: 15px; font-weight: 700; color: var(--av-ink);
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--av-yellow);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.av-widget-cnt { font-size: 13px; line-height: 2em; }
.av-widget-list li { border-bottom: 1px dashed #e5e7eb; }
.av-widget-list li:last-child { border-bottom: none; }
.av-widget-list a { display: flex; align-items: center; gap: 8px; padding: 9px 2px; font-size: 13px; color: #4b5563; }
.av-widget-list a:hover { color: var(--av-blue); }
.av-widget-list a i { color: var(--av-blue); font-size: 12px; flex-shrink: 0; }
.av-about-img { width: 100%; max-height: 150px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; }
.av-about-text { font-size: 13px; line-height: 2em; color: var(--av-body); margin: 0; }

/* tag cloud */
.av-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.av-tagcloud a {
  display: inline-block; padding: 6px 14px; border-radius: 9999px;
  background: var(--av-bg-1); font-size: 12.5px; color: #4b5563; border: 1px solid #e5e7eb;
}
.av-tagcloud a:hover { background: var(--av-blue); color: #fff; border-color: var(--av-blue); }

/* rasawebco banner ads (۳ بنر) */
.av-ads { display: flex; flex-direction: column; gap: 12px; }
.av-banner {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 7px;
  min-height: 104px; padding: 26px 18px 16px; border-radius: var(--av-radius); overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #1b2233 0%, #33405c 55%, #e8590c 130%);
  box-shadow: 0 6px 18px -12px rgba(27, 34, 51, .28); transition: transform .2s, box-shadow .2s;
}
.av-banner:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(27, 34, 51, .4); }
.av-banner.b2 { background: linear-gradient(120deg, #33405c 0%, #1b2233 55%, #2f6bff 130%); }
.av-banner.b3 { background: linear-gradient(120deg, #e8590c 0%, #b03d06 55%, #1b2233 130%); }
.av-banner b { font-size: 13.5px; font-weight: 800; line-height: 1.55; letter-spacing: .2px; }
.av-banner small { font-size: 11px; opacity: .9; direction: ltr; display: block; }
.av-widget-ads .av-banner, .av-widget-ads .av-banner:hover { color: #fff !important; }
.av-widget-ads .av-banner b, .av-widget-ads .av-banner small { color: #fff !important; }
.av-banner .av-bmark {
  position: absolute; top: 9px; left: 10px; font-size: 9px; letter-spacing: 1px; color: #fff;
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 99px; padding: 2px 9px;
}

/* poll */
.av-poll-q { font-size: 13.5px; font-weight: 600; color: var(--av-ink); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #e5e7eb; }
.av-poll-a { display: flex; align-items: center; gap: 8px; padding: 8px 2px; font-size: 13px; cursor: pointer; }
.av-poll-send { margin-top: 10px; width: 100%; justify-content: center; }

/* followers */
.av-follow-count { font-size: 12px; font-weight: 500; color: var(--av-muted); }
.av-followers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.av-followers img { width: 46px; height: 46px; border-radius: 12px; border: 1px solid #e5e7eb; }
.av-follow-btn { width: 100%; justify-content: center; }

/* ---------------- PROMO BAND ---------------- */
.av-promo {
  background: linear-gradient(90deg, var(--av-blue-light), var(--av-blue), var(--av-blue-dark));
  padding: 80px 0; text-align: center;
}
.av-promo-inner { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.av-promo-title { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.av-promo-desc { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.92); line-height: 2em; margin: 0 auto 30px; }

/* ---------------- STATS ---------------- */
.av-stats { background: var(--av-bg-2); padding: 80px 0 90px; }
.av-stats .av-sec-title { text-align: center; margin-bottom: 40px; }
.av-stats-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.av-stat {
  background: #fff; border-radius: var(--av-radius); padding: 30px 20px; text-align: center;
  border: 1px solid #e5e7eb; transition: all ease 0.25s;
}
.av-stat:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.09); }
.av-stat-val { display: block; font-size: 30px; font-weight: 700; color: var(--av-blue); margin-bottom: 6px; }
.av-stat-name { display: block; font-size: 13.5px; font-weight: 500; color: var(--av-muted); }

/* ---------------- FOOTER ---------------- */
.av-footer { background: var(--av-footer); color: #fff; padding: 50px 0 0; }
.av-footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #2b2b30; flex-wrap: wrap; }
.av-footer-brand { flex-shrink: 0; }
.av-footer-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.av-footer-logo:hover { color: var(--av-yellow); }
.av-footer-logo i { color: var(--av-yellow); }
.av-social { display: flex; gap: 10px; }
.av-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: #26262a; color: #fff; font-size: 16px;
}
.av-social a:hover { background: var(--av-blue); color: #fff; }
.av-footer-nav { display: flex; gap: 40px; flex-wrap: wrap; }
.av-foot-col { width: 200px; }
.av-foot-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.av-foot-list a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; color: #9ca3af; }
.av-foot-list a:hover { color: var(--av-yellow); }
.av-foot-list a i { font-size: 11px; color: #4b5563; }
.av-foot-list span { color: #6b7280; font-size: 12px; }
.av-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 26px; flex-wrap: wrap; }
.av-copyright { font-size: 13px; color: var(--av-copyright); }
.av-dashboard { display: flex; gap: 10px; }
.av-dashboard a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #26262a; color: #9ca3af; font-size: 14px;
}
.av-dashboard a:hover { background: var(--av-blue); color: #fff; }

/* ---------------- GO TO TOP ---------------- */
.av-gotop {
  position: fixed; bottom: 24px; left: 24px; z-index: 99;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--av-blue); color: #fff; font-size: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.av-gotop:hover { background: var(--av-blue-dark); color: #fff; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1100px) {
  .av-cats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .av-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .av-layout { flex-direction: column; }
  .av-sidebar { width: 100%; position: static; }
  .av-header-inner { height: auto; padding: 10px 0; flex-wrap: wrap; }
  .av-nav { order: 3; width: 100%; justify-content: flex-start; }
}
@media (max-width: 768px) {
  .av-hero { padding: 60px 0 70px; }
  .av-hero-title { font-size: 25px; }
  .av-hero-desc { font-size: 14px; }
  .av-cats { padding: 44px 0 52px; }
  .av-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-main, .av-stats { padding: 50px 0 60px; }
  .av-post { flex-direction: column; }
  .av-post-thumb { width: 100%; }
  .av-post-thumb img { min-height: 180px; }
  .av-post-body { padding: 18px; }
  .av-post-title { font-size: 17px; }
  .av-promo { padding: 56px 0; }
  .av-promo-title { font-size: 23px; }
  .av-footer-nav { gap: 26px; }
  .av-foot-col { width: 46%; }
  .av-footer-bottom { justify-content: center; text-align: center; }
  .av-search { flex-direction: column; border-radius: 24px; padding: 12px; }
  .av-search-btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .av-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-stats-grid { grid-template-columns: 1fr; }
  .av-foot-col { width: 100%; }
  .av-post-rating { position: static; margin-bottom: 10px; align-self: flex-start; }
}