/*
Theme Name: CameKart
Theme URI: https://camekart.com
Author: CameKart
Description: Professional photography marketplace theme — CameKart v66 & Auth compatible.
Version: 1.1.0
License: GPL-2.0-or-later
Text Domain: camekart-theme
*/
/* ═══ GOOGLE FONTS ═══ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Syne:wght@700;800;900&display=swap');

/* ═══ DARK MODE TOKENS (default) ═══ */
:root,[data-theme="dark"]{
--bg:#0d0d14;--bg-2:#111119;--surface:#191922;--surface-2:#1e1e2a;
--border:rgba(255,255,255,.07);--border-2:rgba(255,255,255,.12);
--text:#e6e6f2;--text-2:#8080a0;--text-3:#404055;--white:#ffffff;
--accent:#f5a623;--accent-2:#e07c10;--accent-glow:rgba(245,166,35,.22);
--indigo:#6366f1;--indigo-2:#4f46e5;--indigo-glow:rgba(99,102,241,.22);
--green:#10b981;--red:#ef4444;
--radius:14px;--radius-sm:8px;
--shadow:0 8px 32px rgba(0,0,0,.5);--shadow-sm:0 2px 12px rgba(0,0,0,.3);
--header-h:64px;
--font-body:'DM Sans',system-ui,sans-serif;
--font-head:'Syne',system-ui,sans-serif;
}

/* ═══ LIGHT MODE TOKENS ═══ */
[data-theme="light"]{
--bg:#f2f3f8;--bg-2:#e8eaf2;--surface:#ffffff;--surface-2:#f7f7fc;
--border:rgba(0,0,0,.08);--border-2:rgba(0,0,0,.13);
--text:#18182c;--text-2:#52527a;--text-3:#9090b0;--white:#18182c;
--accent:#d97310;--accent-2:#b85e00;--accent-glow:rgba(217,115,16,.15);
--indigo:#5558ee;--indigo-2:#4346d4;--indigo-glow:rgba(85,88,238,.12);
--shadow:0 4px 20px rgba(0,0,0,.09);--shadow-sm:0 2px 8px rgba(0,0,0,.06);
}

/* ═══ RESET ═══ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);background:var(--bg);color:var(--text);line-height:1.65;font-size:15px;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column;transition:background .3s,color .3s}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:none;transition:color .18s}
a:hover{color:var(--accent-2)}
p{margin-bottom:1em}p:last-child{margin-bottom:0}
h1,h2,h3,h4,h5,h6{font-family:var(--font-head);font-weight:700;line-height:1.2;color:var(--white)}

/* ═══ LAYOUT ═══ */
.ck-wrap{max-width:1200px;margin:0 auto;padding:0 28px}
.ck-main{flex:1;padding-top:var(--header-h)}
.ck-page-content{padding:40px 0 80px}

/* ═══ HEADER ═══ */
.ck-header{
position:fixed;top:0;left:0;right:0;height:var(--header-h);z-index:999;
background:rgba(13,13,20,.86);backdrop-filter:blur(20px) saturate(1.6);
-webkit-backdrop-filter:blur(20px) saturate(1.6);
border-bottom:1px solid var(--border);transition:background .3s,box-shadow .3s}
[data-theme="light"] .ck-header{background:rgba(255,255,255,.92);border-bottom:1px solid rgba(0,0,0,.1)}
.ck-header.scrolled{box-shadow:var(--shadow-sm)}
.ck-header__inner{display:flex;align-items:center;justify-content:space-between;height:100%;max-width:1200px;margin:0 auto;padding:0 28px;gap:20px}

/* Logo */
.ck-logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
.ck-logo__mark{width:36px;height:36px;background:linear-gradient(135deg,var(--accent),var(--accent-2));border-radius:10px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 12px var(--accent-glow);flex-shrink:0}
.ck-logo__mark svg{color:#fff}
.ck-logo__text{font-family:var(--font-head);font-size:19px;font-weight:800;color:var(--white);letter-spacing:-.3px}
.ck-logo__text span{color:var(--accent)}

/* Nav */
.ck-nav{display:flex;align-items:center;gap:2px;flex:1}
.ck-nav a{font-size:14px;font-weight:500;color:var(--text-2);padding:7px 13px;border-radius:var(--radius-sm);transition:all .18s;text-decoration:none;white-space:nowrap}
.ck-nav a:hover,.ck-nav a.current-menu-item{color:var(--text);background:var(--surface)}
[data-theme="light"] .ck-nav a:hover{color:var(--indigo);background:rgba(85,88,238,.07)}

/* Header Actions */
.ck-header__actions{display:flex;align-items:center;gap:10px;flex-shrink:0}

/* ── THEME TOGGLE ── */
.ck-theme-toggle{
width:38px;height:38px;border-radius:50%;
background:var(--surface);border:1px solid var(--border-2);
display:flex;align-items:center;justify-content:center;
cursor:pointer;color:var(--text-2);transition:all .2s;flex-shrink:0}
.ck-theme-toggle:hover{color:var(--accent);border-color:rgba(245,166,35,.35);background:var(--surface-2)}
.ck-theme-toggle .icon-moon{display:block}
.ck-theme-toggle .icon-sun{display:none}
[data-theme="light"] .ck-theme-toggle .icon-moon{display:none}
[data-theme="light"] .ck-theme-toggle .icon-sun{display:block}

/* Buttons */
.ck-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 18px;border-radius:var(--radius-sm);font-family:var(--font-body);font-size:13.5px;font-weight:600;cursor:pointer;text-decoration:none;transition:all .2s;border:none;white-space:nowrap;line-height:1}
.ck-btn--ghost{background:var(--surface);color:var(--text) !important;border:1px solid var(--border-2)}
.ck-btn--ghost:hover{background:var(--surface-2);border-color:var(--indigo);color:var(--white) !important}
.ck-btn--primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff !important;box-shadow:0 3px 14px var(--accent-glow)}
.ck-btn--primary:hover{transform:translateY(-1px);box-shadow:0 6px 22px var(--accent-glow);color:#fff !important}

/* User Menu */
.ck-user-menu{position:relative}
.ck-user-toggle{display:flex;align-items:center;gap:8px;padding:5px 10px 5px 5px;border-radius:50px;background:var(--surface);border:1px solid var(--border-2);cursor:pointer;transition:all .18s;color:var(--text);font-size:13.5px;font-weight:600;font-family:var(--font-body)}
.ck-user-toggle:hover{background:var(--surface-2);border-color:var(--indigo)}
.ck-user-avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,var(--indigo),#8b5cf6);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;flex-shrink:0;overflow:hidden}
.ck-user-avatar img{width:100%;height:100%;object-fit:cover}
.ck-user-name{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ck-chevron{transition:transform .2s;opacity:.5;flex-shrink:0}
.ck-user-menu.open .ck-chevron{transform:rotate(180deg)}
.ck-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:200px;background:var(--surface);border:1px solid var(--border-2);border-radius:var(--radius);box-shadow:var(--shadow);padding:6px;opacity:0;visibility:hidden;transform:translateY(-6px) scale(.98);transition:all .18s cubic-bezier(.34,1.56,.64,1);z-index:200}
.ck-user-menu.open .ck-dropdown{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.ck-dropdown__item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:var(--radius-sm);color:var(--text-2);font-size:13.5px;font-weight:500;text-decoration:none;transition:all .15s;cursor:pointer;background:none;border:none;width:100%;text-align:left;font-family:var(--font-body);line-height:1}
.ck-dropdown__item:hover{background:var(--surface-2);color:var(--text)}
.ck-dropdown__item--danger{color:#f87171}
.ck-dropdown__item--danger:hover{background:rgba(239,68,68,.1);color:#fca5a5}
.ck-dropdown__divider{height:1px;background:var(--border);margin:4px 0}

/* Hamburger */
.ck-hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:6px;background:none;border:none;color:var(--text)}
.ck-hamburger span{display:block;width:22px;height:2px;background:currentColor;border-radius:2px;transition:all .2s}

/* ═══ MOBILE NAV ═══ */
.ck-mobile-nav{display:none;position:fixed;inset:0;background:var(--bg-2);z-index:998;flex-direction:column;padding:80px 32px 40px;gap:4px;overflow-y:auto}
.ck-mobile-nav.open{display:flex}
.ck-mobile-nav a{font-family:var(--font-head);font-size:20px;font-weight:700;color:var(--text-2);padding:14px 0;border-bottom:1px solid var(--border);text-decoration:none;transition:color .18s}
.ck-mobile-nav a:hover{color:var(--accent)}
.ck-mobile-close{position:absolute;top:18px;right:20px;background:var(--surface);border:1px solid var(--border-2);border-radius:50%;width:36px;height:36px;color:var(--text-2);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:18px}

/* ═══ HERO ═══ */
.ck-hero{min-height:88vh;display:flex;align-items:center;position:relative;overflow:hidden;padding:80px 0 60px}
.ck-hero__bg{position:absolute;inset:0;background:radial-gradient(ellipse 70% 55% at 65% 35%,rgba(99,102,241,.13) 0%,transparent 65%),radial-gradient(ellipse 45% 35% at 15% 75%,rgba(245,166,35,.08) 0%,transparent 55%),var(--bg)}
[data-theme="light"] .ck-hero__bg{background:radial-gradient(ellipse 70% 55% at 65% 35%,rgba(99,102,241,.06) 0%,transparent 65%),radial-gradient(ellipse 45% 35% at 15% 75%,rgba(245,166,35,.04) 0%,transparent 55%),var(--bg)}
.ck-hero__grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:52px 52px;mask-image:radial-gradient(ellipse 85% 85% at 50% 50%,black 25%,transparent 100%)}
[data-theme="light"] .ck-hero__grid{background-image:linear-gradient(rgba(0,0,0,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.035) 1px,transparent 1px)}
.ck-hero__inner{position:relative;z-index:1;max-width:1200px;margin:0 auto;padding:0 28px}
.ck-hero__badge{display:inline-flex;align-items:center;gap:8px;background:rgba(245,166,35,.1);border:1px solid rgba(245,166,35,.22);border-radius:50px;padding:6px 16px 6px 10px;font-size:12px;font-weight:600;color:var(--accent);margin-bottom:26px;letter-spacing:.05em}
.ck-hero__badge-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);animation:pulse-dot 2s infinite}
@keyframes pulse-dot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.65)}}
.ck-hero__title{font-size:clamp(34px,5.5vw,68px);font-weight:900;line-height:1.06;letter-spacing:-1.5px;margin-bottom:22px;max-width:680px}
.ck-hero__title em{font-style:normal;background:linear-gradient(130deg,var(--accent) 0%,#f87c35 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.ck-hero__sub{font-size:17px;color:var(--text-2);max-width:500px;margin-bottom:36px;line-height:1.75}
.ck-hero__actions{display:flex;gap:12px;flex-wrap:wrap}
.ck-hero__actions .ck-btn{padding:12px 26px;font-size:14.5px}
.ck-hero__stats{display:flex;gap:40px;margin-top:52px;padding-top:36px;border-top:1px solid var(--border);flex-wrap:wrap}
.ck-hero__stat-num{font-family:var(--font-head);font-size:26px;font-weight:800;color:var(--white)}
.ck-hero__stat-label{font-size:13px;color:var(--text-3);margin-top:2px}

/* ═══ SECTIONS ═══ */
.ck-section{padding:72px 0}
.ck-section-tag{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:12px;display:block}
.ck-section-title{font-size:clamp(24px,3.5vw,40px);font-weight:800;letter-spacing:-.5px;margin-bottom:14px}
.ck-section-sub{color:var(--text-2);font-size:16px;max-width:500px;line-height:1.7}
.ck-features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:44px}
.ck-feat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:26px;transition:border-color .2s,transform .2s,box-shadow .2s}
.ck-feat-card:hover{border-color:rgba(245,166,35,.28);transform:translateY(-2px);box-shadow:0 8px 28px rgba(0,0,0,.18)}
.ck-feat-icon{width:42px;height:42px;border-radius:11px;background:rgba(245,166,35,.1);border:1px solid rgba(245,166,35,.15);display:flex;align-items:center;justify-content:center;margin-bottom:16px;color:var(--accent)}
.ck-feat-title{font-size:15px;font-weight:700;color:var(--white);margin-bottom:7px}
.ck-feat-text{font-size:13.5px;color:var(--text-2);line-height:1.65}

/* CTA */
.ck-cta{background:linear-gradient(135deg,rgba(99,102,241,.09) 0%,rgba(245,166,35,.06) 100%);border:1px solid rgba(99,102,241,.16);border-radius:20px;padding:56px 40px;text-align:center}
.ck-cta__title{font-size:clamp(22px,3.5vw,36px);font-weight:800;margin-bottom:12px}
.ck-cta__sub{color:var(--text-2);font-size:15.5px;margin-bottom:30px}

/* ═══ PAGE CONTENT ═══ */
.ck-entry-header{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--border)}
.ck-entry-title{font-size:clamp(26px,4vw,44px);font-weight:800;letter-spacing:-.4px;margin-bottom:8px}
.ck-entry-meta{font-size:13px;color:var(--text-3)}
.ck-entry-content{color:var(--text-2);line-height:1.8;max-width:720px}
.ck-entry-content h2,.ck-entry-content h3{color:var(--white);margin:28px 0 10px;font-size:1.2em}
.ck-entry-content ul,.ck-entry-content ol{padding-left:20px;margin-bottom:1em}
.ck-entry-content li{margin-bottom:5px}

/* Contact */
.ck-contact-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:48px;align-items:start}
.ck-contact-info-item{display:flex;align-items:flex-start;gap:14px;margin-bottom:24px}
.ck-contact-info-icon{width:40px;height:40px;border-radius:10px;background:rgba(245,166,35,.08);border:1px solid rgba(245,166,35,.18);display:flex;align-items:center;justify-content:center;color:var(--accent);flex-shrink:0}
.ck-contact-info-label{font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--text-3);margin-bottom:3px}
.ck-contact-info-val{font-size:14.5px;color:var(--text);font-weight:500}
.ck-form-field{margin-bottom:16px}
.ck-form-label{display:block;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-3);margin-bottom:6px}
.ck-form-input,.ck-form-textarea{width:100%;background:var(--surface);border:1px solid var(--border-2);border-radius:var(--radius-sm);padding:11px 14px;font-size:14px;font-weight:500;color:var(--text);font-family:var(--font-body);transition:border-color .18s,box-shadow .18s;outline:none}
.ck-form-input:focus,.ck-form-textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow)}
.ck-form-input::placeholder,.ck-form-textarea::placeholder{color:var(--text-3)}
.ck-form-textarea{resize:vertical;min-height:120px}

/* ═══ FOOTER ═══ */
.ck-footer{background:var(--bg-2);border-top:1px solid var(--border);margin-top:auto}
.ck-footer__top{padding:56px 0 40px}
.ck-footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:44px}
.ck-footer__brand p{font-size:13.5px;color:var(--text-3);margin-top:12px;line-height:1.7;max-width:255px}
.ck-footer__col-title{font-family:var(--font-head);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-3);margin-bottom:14px}
.ck-footer__col ul{list-style:none}
.ck-footer__col ul li{margin-bottom:9px}
.ck-footer__col ul li a{font-size:13.5px;color:var(--text-2);text-decoration:none;transition:color .15s}
.ck-footer__col ul li a:hover{color:var(--accent)}
.ck-footer__bottom{border-top:1px solid var(--border);padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.ck-footer__copy{font-size:13px;color:var(--text-3)}
.ck-footer__bottom-links{display:flex;gap:18px;flex-wrap:wrap}
.ck-footer__bottom-links a{font-size:13px;color:var(--text-3);text-decoration:none;transition:color .15s}
.ck-footer__bottom-links a:hover{color:var(--accent)}

/* ═══ PLUGIN PAGE OVERRIDES ═══ */
/* Dashboard — full viewport width */
.pmd-wrap{min-height:calc(100vh - var(--header-h)) !important;width:100% !important;background:var(--bg) !important}

/* Search / Directory — centered with max-width */
.pm-wrap.pm-directory,.pm-search-page{max-width:1200px;margin:0 auto;padding:24px 28px !important}

/* Edit Profile */
.pm-edit-profile{max-width:1000px !important;margin:0 auto !important;padding:24px 28px !important}

/* Profile View */
.pm-profile-view{max-width:1000px !important;margin:0 auto !important;padding:24px 28px !important}

/* ═══ WP CORE ═══ */
#wpadminbar{position:fixed !important}
.admin-bar .ck-header{top:32px}
.admin-bar .ck-main{padding-top:calc(var(--header-h) + 32px)}
.admin-bar .ck-mobile-nav{top:32px}
.admin-bar .pmd-wrap{min-height:calc(100vh - var(--header-h) - 32px) !important}
.admin-bar .pmd-sidebar{top:calc(var(--header-h) + 32px) !important;height:calc(100vh - var(--header-h) - 32px) !important}
@media screen and (max-width:782px){
.admin-bar .ck-header{top:46px}
.admin-bar .ck-main{padding-top:calc(var(--header-h) + 46px)}}

/* ═══ RESPONSIVE ═══ */
@media(max-width:1024px){
.ck-footer__grid{grid-template-columns:1fr 1fr;gap:28px}
.ck-features-grid{grid-template-columns:1fr 1fr}}
@media(max-width:768px){
:root{--header-h:58px}
.ck-nav{display:none}
.ck-hamburger{display:flex}
.ck-hero{min-height:auto;padding:56px 0 36px}
.ck-hero__stats{gap:24px}
.ck-features-grid{grid-template-columns:1fr}
.ck-contact-grid{grid-template-columns:1fr}
.ck-footer__grid{grid-template-columns:1fr;gap:24px}
.ck-footer__brand p{max-width:100%}
.ck-footer__bottom{flex-direction:column;text-align:center}
.ck-cta{padding:36px 20px}
.ck-section{padding:52px 0}
.pm-wrap.pm-directory,.pm-search-page,.pm-edit-profile,.pm-profile-view{padding:16px !important}}
@media(max-width:480px){
.ck-hero__actions{flex-direction:column}
.ck-hero__actions .ck-btn{width:100%;justify-content:center}
.ck-wrap{padding:0 16px}
.ck-header__inner{padding:0 16px}}

/* ═══ BLOG STYLES ═══ */

/* Header */
.ck-blog-header { text-align:center; padding:48px 0 40px; border-bottom:1px solid var(--border); margin-bottom:48px; }
.ck-blog-header__title { font-size:clamp(28px,4vw,44px); font-weight:900; letter-spacing:-.5px; margin-bottom:10px; }
.ck-blog-header__sub { color:var(--text-2); font-size:16px; max-width:480px; margin:0 auto; }

/* Meta row */
.ck-blog-meta { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.ck-blog-cat { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); background:rgba(245,166,35,.1); border:1px solid rgba(245,166,35,.2); border-radius:50px; padding:3px 10px; }
.ck-blog-date { font-size:13px; color:var(--text-3); }
.ck-blog-read { font-size:13px; color:var(--text-3); display:flex; align-items:center; gap:4px; }
.ck-blog-read::before { content:'·'; }

/* Featured post */
.ck-blog-featured {
    display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;
    background:var(--surface); border:1px solid var(--border); border-radius:20px;
    overflow:hidden; margin-bottom:48px;
}
.ck-blog-featured__img { height:320px; overflow:hidden; }
.ck-blog-featured__img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.ck-blog-featured:hover .ck-blog-featured__img img { transform:scale(1.03); }
.ck-blog-featured__body { padding:36px; }
.ck-blog-featured__title { font-size:clamp(20px,2.5vw,28px); font-weight:800; margin-bottom:14px; letter-spacing:-.3px; line-height:1.25; }
.ck-blog-featured__title a { color:var(--white); text-decoration:none; transition:color .18s; }
.ck-blog-featured__title a:hover { color:var(--accent); }
.ck-blog-featured__excerpt { color:var(--text-2); font-size:15px; line-height:1.7; margin-bottom:22px; }

/* Blog grid */
.ck-blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:48px; }

/* Blog card */
.ck-blog-card {
    background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
    overflow:hidden; display:flex; flex-direction:column;
    transition:border-color .2s, transform .2s, box-shadow .2s;
}
.ck-blog-card:hover { border-color:rgba(245,166,35,.28); transform:translateY(-3px); box-shadow:0 10px 32px rgba(0,0,0,.2); }
.ck-blog-card__img { height:180px; overflow:hidden; flex-shrink:0; }
.ck-blog-card__img img { width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.ck-blog-card:hover .ck-blog-card__img img { transform:scale(1.05); }
.ck-blog-card__img--placeholder { background:var(--surface-2); display:flex; align-items:center; justify-content:center; color:var(--text-3); }
.ck-blog-card__body { padding:20px 20px 0; flex:1; }
.ck-blog-card__title { font-size:16px; font-weight:700; line-height:1.35; margin-top:8px; margin-bottom:10px; }
.ck-blog-card__title a { color:var(--white); text-decoration:none; transition:color .18s; }
.ck-blog-card__title a:hover { color:var(--accent); }
.ck-blog-card__excerpt { font-size:13.5px; color:var(--text-2); line-height:1.6; }
.ck-blog-card__footer { padding:16px 20px; border-top:1px solid var(--border); margin-top:auto; }
.ck-blog-card__link { display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:600; color:var(--accent); text-decoration:none; transition:gap .18s; }
.ck-blog-card__link:hover { gap:8px; color:var(--accent-2); }

/* Pagination */
.ck-pagination { display:flex; justify-content:center; gap:8px; padding:16px 0 32px; }
.ck-pagination .nav-links { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.ck-pagination .page-numbers { display:inline-flex; align-items:center; gap:5px; padding:8px 16px; border-radius:var(--radius-sm); background:var(--surface); border:1px solid var(--border-2); color:var(--text-2); font-size:13.5px; font-weight:600; text-decoration:none; transition:all .18s; }
.ck-pagination .page-numbers:hover { border-color:var(--accent); color:var(--accent); }
.ck-pagination .page-numbers.current { background:var(--accent); border-color:var(--accent); color:#fff; }

/* Empty state */
.ck-blog-empty { text-align:center; padding:80px 24px; }
.ck-blog-empty__icon { color:var(--text-3); margin:0 auto 20px; }
.ck-blog-empty h2 { font-size:22px; margin-bottom:10px; }
.ck-blog-empty p { color:var(--text-2); max-width:400px; margin:0 auto; }

/* ═══ SINGLE POST ═══ */
.ck-blog-back { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:var(--text-2); text-decoration:none; margin-bottom:28px; padding:7px 14px 7px 10px; background:var(--surface); border:1px solid var(--border-2); border-radius:var(--radius-sm); transition:all .18s; }
.ck-blog-back:hover { color:var(--accent); border-color:rgba(245,166,35,.3); }

.ck-single-post { max-width:740px; margin:0 auto; }
.ck-single-post__title { font-size:clamp(26px,4vw,40px); font-weight:900; letter-spacing:-.5px; line-height:1.15; margin-bottom:24px; }
.ck-single-post__author { display:flex; align-items:center; gap:12px; margin-bottom:28px; padding-bottom:24px; border-bottom:1px solid var(--border); }
.ck-single-post__author-avatar { width:36px; height:36px; border-radius:50%; overflow:hidden; flex-shrink:0; }
.ck-single-post__author-avatar img { width:100%; height:100%; object-fit:cover; }
.ck-single-post__author-name { font-size:14px; font-weight:600; color:var(--text); }
.ck-single-post__author-label { font-size:12px; color:var(--text-3); }
.ck-single-post__thumb { border-radius:var(--radius); overflow:hidden; margin-bottom:36px; max-height:420px; }
.ck-single-post__thumb img { width:100%; height:100%; object-fit:cover; }
.ck-single-post__content { color:var(--text-2); line-height:1.85; font-size:16px; }
.ck-single-post__content h2,.ck-single-post__content h3 { color:var(--white); margin:36px 0 12px; }
.ck-single-post__content h2 { font-size:22px; }
.ck-single-post__content h3 { font-size:18px; }
.ck-single-post__content p { margin-bottom:1.2em; }
.ck-single-post__content ul,.ck-single-post__content ol { padding-left:22px; margin-bottom:1.2em; }
.ck-single-post__content li { margin-bottom:7px; }
.ck-single-post__content a { color:var(--accent); }
.ck-single-post__content strong { color:var(--text); font-weight:600; }
.ck-single-post__content blockquote { border-left:3px solid var(--accent); padding:12px 20px; margin:24px 0; background:var(--surface); border-radius:0 var(--radius-sm) var(--radius-sm) 0; font-style:italic; color:var(--text-2); }
.ck-single-post__tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:36px; padding-top:24px; border-top:1px solid var(--border); }
.ck-tag { font-size:12px; font-weight:600; padding:4px 12px; border-radius:50px; background:var(--surface); border:1px solid var(--border-2); color:var(--text-2); text-decoration:none; transition:all .18s; }
.ck-tag:hover { border-color:var(--accent); color:var(--accent); }

/* Related posts */
.ck-related { margin-top:56px; padding-top:40px; border-top:1px solid var(--border); }
.ck-related__title { font-size:20px; font-weight:800; margin-bottom:24px; }

/* Responsive blog */
@media(max-width:900px) {
    .ck-blog-featured { grid-template-columns:1fr; }
    .ck-blog-featured__img { height:240px; }
    .ck-blog-featured__body { padding:24px; }
    .ck-blog-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:600px) {
    .ck-blog-grid { grid-template-columns:1fr; }
    .ck-blog-header { padding:32px 0 28px; margin-bottom:32px; }
}

/* ═══ CUSTOM LOGO ═══ */
.ck-logo__custom {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
.ck-logo__custom--footer {
    height: 34px;
}
