/* BAKREKLAM SmartBlog design, option A (Kemal 2026-11-21). Loaded ONLY on SmartBlog pages (linked from
   modules/smartblog/views/templates/front/bak-head.tpl, included by all.tpl / category.tpl / details.tpl).
   Source of truth for the look: blog/smartblog-preview/option-a (index + post). Font = the site font (Inter). */
.bak-sb{--red:#d2392c;--ink:#232323;--link:#282828;--muted:#757575;--line:#e6e6e6;--soft:#f6f6f6;--radius:16px;
--shadow:0 1px 2px rgba(16,24,40,.06),0 4px 16px rgba(16,24,40,.06);--shadow-h:0 2px 4px rgba(16,24,40,.08),0 14px 32px rgba(16,24,40,.12);
color:var(--muted);font-size:16px;line-height:1.65}
.bak-sb *{box-sizing:border-box}
.bak-sb a{color:inherit;text-decoration:none}
.bak-sb img{display:block;max-width:100%;height:auto}

/* page title band of the theme -> preview header (breadcrumb above a large left-aligned H1, white background) */
.page-title{background:#fff !important;background-image:none !important;padding:0 !important;margin:0 !important;border:0;text-align:left}
.page-title .container-parent{display:flex;flex-direction:column-reverse;align-items:flex-start;max-width:1240px;padding:0 20px}
.page-title .axps-breadcrumb{font-size:13px;color:#757575;padding:18px 0 0;margin:0;text-align:left;justify-content:flex-start}
.page-title .axps-breadcrumb a,.page-title .axps-breadcrumb span{color:#757575 !important}
.page-title .axps-breadcrumb a:hover span{color:#d2392c !important}
.page-title .h1{color:#232323 !important;font-size:44px;line-height:1.1;font-weight:800;letter-spacing:-.02em;margin:18px 0 22px;padding:0;text-align:left;text-transform:none}
.page-title .h1 .category-description{display:none}
body#blog-details .page-title .h1{display:none}
#wrapper > .container-parent{max-width:1240px;padding:0 20px}

.bak-sb .chip{display:inline-flex;align-items:center;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--red)}
.bak-sb .date{font-size:13px;color:var(--muted)}
.bak-sb .more{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14px;color:var(--red)}
.bak-sb .more svg{width:16px;height:16px;transition:transform .2s}
.bak-sb .card:hover .more svg,.bak-sb .more:hover svg{transform:translateX(3px)}

/* index / category: pills + card grid */
.bak-sb .cats{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 36px}
.bak-sb .cats a{padding:9px 16px;border-radius:999px;background:var(--soft);color:var(--link);font-size:13.5px;font-weight:600;transition:.15s}
.bak-sb .cats a:hover{background:#fbe9e7;color:var(--red)}
.bak-sb .cats a.on{background:var(--red);color:#fff}
.bak-sb .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.bak-sb .card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s;margin:0}
.bak-sb .card:hover{box-shadow:var(--shadow-h);transform:translateY(-3px)}
.bak-sb .card .thumb{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--soft)}
.bak-sb .card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.bak-sb .card:hover .thumb img{transform:scale(1.04)}
.bak-sb .card .txt{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
/* one layout for every card: category line, date line (never side by side) */
.bak-sb .card .chip{display:block;margin:0 0 4px}
.bak-sb .card .date{display:block;margin:0 0 10px}
.bak-sb .card h3{color:var(--ink);font-size:19px;line-height:1.35;font-weight:700;margin:0 0 10px;text-transform:none;letter-spacing:0}
.bak-sb .card h3 a{color:var(--ink)}
.bak-sb .card h3 a:hover{color:var(--red)}
.bak-sb .card p{margin:0 0 18px;font-size:15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bak-sb .card .more{margin-top:auto}

/* SmartBlog pagination, styled as the preview pager */
.bak-sb .archive-bottom{margin:48px 0 72px}
.bak-sb .pagination{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:0;padding:0;border:0}
.bak-sb .pagination .page-numbers{min-width:42px;height:42px;padding:0 12px;display:inline-grid;place-items:center;border-radius:12px;border:1px solid var(--line);color:var(--link);font-weight:600;background:#fff;line-height:1}
.bak-sb .pagination .page-numbers.current{background:var(--red);border-color:var(--red);color:#fff}
.bak-sb .pagination a.page-numbers:hover{border-color:var(--red);color:var(--red)}

/* post page */
.bak-sb .post{max-width:780px;margin:0 auto;padding:0 20px}
.bak-sb .post header{text-align:center;padding:26px 0 30px}
.bak-sb .post header .meta{display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap}
.bak-sb .post h1{color:var(--ink);font-size:42px;line-height:1.18;font-weight:800;letter-spacing:-.02em;margin:14px 0 0;text-transform:none}
.bak-sb .cover{max-width:1080px;margin:0 auto 40px;padding:0 20px}
.bak-sb .cover img{border-radius:20px;width:100%;box-shadow:var(--shadow)}
.bak-sb .body{color:#4a4a4a;font-size:17px;line-height:1.8}
.bak-sb .body h2{color:var(--ink);font-size:26px;line-height:1.3;font-weight:700;margin:44px 0 14px;letter-spacing:-.01em;text-transform:none}
.bak-sb .body h3{color:var(--ink);font-size:20px;margin:32px 0 10px;text-transform:none}
.bak-sb .body p{margin:0 0 20px}
.bak-sb .body a{color:var(--red);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.bak-sb .body strong{color:var(--ink)}
.bak-sb .body ul,.bak-sb .body ol{padding-left:22px;margin:0 0 22px}
.bak-sb .body li{margin:6px 0}
.bak-sb .body figure{margin:32px 0}
.bak-sb .body figure img{border-radius:var(--radius);width:100%}
.bak-sb .body figcaption{font-size:13px;color:var(--muted);margin-top:10px;text-align:center}

@media (max-width:1024px){.bak-sb .grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){
.page-title .h1{font-size:32px}
.bak-sb .grid{grid-template-columns:1fr;gap:20px}
.bak-sb .cats{flex-wrap:nowrap;overflow-x:auto;margin:0 -20px 28px;padding:0 20px 4px;scrollbar-width:none}
.bak-sb .cats a{white-space:nowrap}
.bak-sb .post h1{font-size:28px}
.bak-sb .cover{padding:0}
.bak-sb .cover img{border-radius:0}
.bak-sb .body{font-size:16.5px}
.bak-sb .body h2{font-size:22px}}
