/* ArefClinic Blog Archive — loaded only on blog/archive/search contexts */
.aref-blog-page{background:linear-gradient(180deg,#f9fbff 0,#fff 38%);padding-bottom:72px}.aref-blog-hero{position:relative;overflow:hidden;padding:54px 0 34px;border-bottom:1px solid rgba(225,234,244,.7)}.aref-blog-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 30%,rgba(105,82,255,.08),transparent 25%),radial-gradient(circle at 70% 15%,rgba(31,120,230,.06),transparent 28%);pointer-events:none}.aref-blog-hero__grid{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:center;gap:46px;min-height:260px}.aref-blog-hero__copy{max-width:700px}.aref-blog-hero__eyebrow{display:inline-flex;color:var(--c-primary);font-size:12px;font-weight:800;margin-bottom:8px}.aref-blog-hero h1{font-size:clamp(38px,4.4vw,62px);line-height:1.25;margin:0 0 12px;color:var(--c-heading);letter-spacing:-1px}.aref-blog-hero h1 i{display:inline-block;width:10px;height:10px;border-radius:50%;background:#7d5cff;margin-right:10px;vertical-align:middle}.aref-blog-hero__copy>p{margin:0;color:var(--c-muted);font-size:14px;line-height:2}.aref-breadcrumb{display:flex;align-items:center;gap:9px;margin-top:20px;color:#8d9aab;font-size:11px}.aref-breadcrumb a{color:var(--c-text)}.aref-breadcrumb a:hover{color:var(--c-primary)}.aref-blog-hero__media{min-height:230px;display:grid;place-items:center}.aref-blog-hero__media img{width:min(100%,520px);height:auto;max-height:270px;object-fit:contain}.aref-blog-hero__placeholder{position:relative;width:min(100%,460px);height:230px;border-radius:46% 54% 33% 67%/54% 43% 57% 46%;background:linear-gradient(145deg,#f0edff,#eef7ff);display:grid;place-items:center;color:#b8cbda}.aref-blog-hero__placeholder svg{width:115px;height:115px;stroke:#d1dce5;fill:#fff}.aref-blog-hero__placeholder span{position:absolute;border-radius:50%;background:#8068ff;opacity:.12}.aref-blog-hero__placeholder span:nth-child(2){width:14px;height:14px;top:28px;left:52px}.aref-blog-hero__placeholder span:nth-child(3){width:8px;height:8px;bottom:45px;right:62px}.aref-blog-hero__placeholder span:nth-child(4){width:22px;height:22px;bottom:24px;left:90px}
.aref-blog-shell{display:grid;grid-template-columns:minmax(0,1fr) 286px;grid-template-areas:"content sidebar" "bottom bottom";gap:28px;margin-top:34px;padding:28px;border:1px solid var(--c-border);border-radius:28px;background:rgba(255,255,255,.92);box-shadow:0 18px 60px rgba(32,75,118,.07)}.aref-blog-shell--no-sidebar{grid-template-columns:1fr;grid-template-areas:"content" "bottom"}.aref-blog-content{grid-area:content;min-width:0}.aref-blog-sidebar{grid-area:sidebar;display:flex;flex-direction:column;gap:18px;min-width:0}.aref-blog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;min-height:44px}.aref-blog-count{font-size:12px;color:var(--c-muted)}.aref-blog-count strong{color:var(--c-primary);font-weight:900}.aref-blog-toolbar__actions{display:flex;align-items:center;gap:10px}.aref-blog-sort select{height:40px;border:1px solid var(--c-border);border-radius:10px;background:#fff;color:var(--c-text);padding:0 12px 0 32px;font-size:11px;outline:none}.aref-blog-layout-switch{display:flex;gap:5px}.aref-blog-layout-switch button{width:40px;height:40px;border:1px solid var(--c-border);background:#fff;border-radius:9px;color:#8a72ff;padding:9px;display:grid;place-items:center;cursor:pointer}.aref-blog-layout-switch button.is-active{background:#f3efff;border-color:#d9d0ff;color:#6749ee}.aref-blog-layout-switch svg{width:18px;height:18px}
.aref-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.aref-blog-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--c-border);border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(35,64,96,.035);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.aref-blog-card:hover{transform:translateY(-3px);border-color:#cbdced;box-shadow:0 16px 36px rgba(35,64,96,.08)}.aref-blog-card__media{position:relative;display:block;aspect-ratio:32/21;overflow:hidden;background:#f3f8fd}.aref-blog-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.aref-blog-card:hover .aref-blog-card__media img{transform:scale(1.025)}.aref-blog-card__category{position:absolute;right:10px;bottom:10px;padding:5px 9px;border-radius:7px 7px 2px 7px;background:#7658f4;color:#fff;font-size:9px;font-weight:800;box-shadow:0 5px 14px rgba(84,58,197,.2)}.aref-blog-card__placeholder{display:grid;place-items:center;width:100%;height:100%;color:#b7cddd}.aref-blog-card__placeholder svg{width:70px;height:70px}.aref-blog-card__body{display:flex;flex-direction:column;flex:1;padding:17px}.aref-blog-card h2{font-size:15px;line-height:1.75;margin:0 0 10px}.aref-blog-card h2 a{color:var(--c-heading)}.aref-blog-card h2 a:hover{color:var(--c-primary)}.aref-blog-card__body>p{font-size:11px;color:var(--c-muted);line-height:2;margin:0 0 18px}.aref-blog-card__meta{margin-top:auto;padding-top:13px;border-top:1px solid #eef2f6;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#8996a7}.aref-blog-grid[data-layout="list"]{grid-template-columns:1fr}.aref-blog-grid[data-layout="list"] .aref-blog-card{display:grid;grid-template-columns:220px minmax(0,1fr)}.aref-blog-grid[data-layout="list"] .aref-blog-card__media{height:100%;min-height:170px;aspect-ratio:auto}.aref-blog-grid[data-layout="list"] .aref-blog-card__body{padding:20px}.aref-blog-grid[data-layout="list"] .aref-blog-card h2{font-size:18px}.aref-blog-grid[data-layout="list"] .aref-blog-card__body>p{font-size:12px}
.aref-blog-search{display:flex;height:46px;border:1px solid var(--c-border);border-radius:11px;overflow:hidden;background:#fff}.aref-blog-search input{min-width:0;flex:1;border:0;outline:0;padding:0 13px;background:transparent;font-size:11px}.aref-blog-search button{width:46px;border:0;background:#fff;color:#7b61f3;display:grid;place-items:center;cursor:pointer}.aref-blog-search svg{width:18px;height:18px}.aref-sidebar-card{padding:18px;border:1px solid var(--c-border);border-radius:14px;background:#fff}.aref-sidebar-card h2,.aref-sidebar-cta h2{font-size:14px;margin:0 0 14px}.aref-category-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}.aref-category-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:8px;color:var(--c-text);font-size:10px}.aref-category-list li.is-current a,.aref-category-list a:hover{background:#f5f2ff;color:#6849e8}.aref-category-list b{min-width:24px;height:22px;padding:0 6px;display:grid;place-items:center;border-radius:999px;background:#f2f4f7;color:#68778a;font-size:9px}.aref-category-list li.is-current b{background:#e7e0ff;color:#6548df}.aref-sidebar-cta{padding:20px;border:1px solid #e1d9ff;border-radius:14px;background:linear-gradient(145deg,#fbfaff,#f3f0ff);text-align:center}.aref-sidebar-cta p{font-size:10px;line-height:2;color:var(--c-muted);margin:0 0 13px}.aref-sidebar-cta .btn{width:100%;min-height:42px;font-size:11px}.aref-popular-list{display:grid;gap:14px}.aref-popular-list article{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center}.aref-popular-list__image{width:64px;height:54px;border-radius:9px;overflow:hidden;background:#f4f8fb;display:grid;place-items:center}.aref-popular-list__image img{width:100%;height:100%;object-fit:cover}.aref-popular-list__image svg{width:28px;height:28px;color:#bad0df}.aref-popular-list h3{font-size:10px;line-height:1.65;margin:0 0 4px}.aref-popular-list h3 a{color:var(--c-heading)}.aref-popular-list small{font-size:8px;color:#929eac}
.aref-pagination{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:30px;direction:rtl}.aref-pagination .page-numbers{min-width:36px;height:36px;padding:0 9px;border:1px solid var(--c-border);border-radius:8px;background:#fff;display:grid;place-items:center;color:var(--c-text);font-size:10px;font-weight:700}.aref-pagination .page-numbers.current{background:#7053ed;border-color:#7053ed;color:#fff;box-shadow:0 7px 17px rgba(112,83,237,.2)}.aref-pagination a.page-numbers:hover{border-color:#a998f5;color:#6045d9}.aref-blog-bottom-cta{grid-area:bottom;margin-top:4px;padding:22px 26px;border-radius:16px;background:linear-gradient(100deg,#f6f2ff,#f8fbff);border:1px solid #e7e0ff;display:flex;align-items:center;justify-content:space-between;gap:20px}.aref-blog-bottom-cta strong{display:block;font-size:16px;color:var(--c-heading)}.aref-blog-bottom-cta p{font-size:10px;color:var(--c-muted);margin:5px 0 0}.aref-blog-bottom-cta .btn{min-width:140px}.aref-blog-empty{padding:60px 24px;text-align:center;border:1px dashed var(--c-border);border-radius:15px}.aref-blog-empty h2{font-size:22px}.aref-blog-empty p{color:var(--c-muted)}
@media(max-width:1180px){.aref-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aref-blog-shell{grid-template-columns:minmax(0,1fr) 260px}.aref-blog-hero__grid{grid-template-columns:minmax(0,1fr) 360px}}
@media(max-width:900px){.aref-blog-hero{padding-top:36px}.aref-blog-hero__grid{grid-template-columns:1fr;gap:20px}.aref-blog-hero__copy{text-align:center;margin-inline:auto}.aref-breadcrumb{justify-content:center}.aref-blog-hero__media{min-height:180px}.aref-blog-hero__placeholder{height:180px}.aref-blog-shell{grid-template-columns:1fr;grid-template-areas:"content" "sidebar" "bottom";padding:20px}.aref-blog-sidebar{display:grid;grid-template-columns:1fr 1fr;align-items:start}.aref-blog-search{grid-column:1/-1}.aref-sidebar-cta{height:100%}}
@media(max-width:640px){.aref-blog-page{padding-bottom:48px}.aref-blog-hero{padding:28px 0 20px}.aref-blog-hero__grid{min-height:0}.aref-blog-hero h1{font-size:34px}.aref-blog-hero__copy>p{font-size:12px}.aref-blog-hero__media{display:none}.aref-blog-shell{margin-top:20px;padding:14px;border-radius:18px}.aref-blog-toolbar{align-items:flex-start;flex-direction:column}.aref-blog-toolbar__actions{width:100%;justify-content:space-between}.aref-blog-grid{grid-template-columns:1fr;gap:16px}.aref-blog-grid[data-layout="list"] .aref-blog-card{grid-template-columns:1fr}.aref-blog-grid[data-layout="list"] .aref-blog-card__media{aspect-ratio:32/21;min-height:0}.aref-blog-sidebar{grid-template-columns:1fr}.aref-blog-search{grid-column:auto}.aref-blog-bottom-cta{flex-direction:column;text-align:center;padding:20px}.aref-blog-bottom-cta .btn{width:100%}.aref-blog-card h2{font-size:16px}.aref-blog-card__body>p{font-size:12px}.aref-pagination{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.aref-blog-card,.aref-blog-card__media img{transition:none!important}}
