/*
Theme Name: Harkace v7.16
Theme URI: https://harkace.com/
Author: Harkace
Description: Fast, responsive video and movie publishing theme for Harkace.
Version: 7.16.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: harkace
License: GPL-2.0-or-later
*/
:root{--hk-accent:#e45118;--hk-accent-2:#ff7a3d;--hk-bg:#f4f5f7;--hk-surface:#fff;--hk-surface-2:#fafafa;--hk-text:#171a1f;--hk-muted:#707985;--hk-border:#e5e7eb;--hk-shadow:0 10px 35px rgba(20,25,32,.07);--hk-radius:16px;--hk-max:1220px;--hk-header:74px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--hk-bg);color:var(--hk-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}body.hk-dark{--hk-bg:#0c0e12;--hk-surface:#15181e;--hk-surface-2:#111419;--hk-text:#f3f4f6;--hk-muted:#9ba3ae;--hk-border:#292e37;--hk-shadow:0 14px 42px rgba(0,0,0,.28)}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}button,input{font:inherit}button{cursor:pointer}.hk-container{width:min(calc(100% - 36px),var(--hk-max));margin-inline:auto}.hk-site-header{position:sticky;top:0;z-index:100;background:color-mix(in srgb,var(--hk-surface) 92%,transparent);border-bottom:1px solid var(--hk-border);backdrop-filter:blur(16px)}.hk-header-inner{min-height:var(--hk-header);display:flex;align-items:center;gap:12px}.hk-brand{display:inline-flex;align-items:center;font-size:30px;font-weight:900;letter-spacing:-1.8px}.hk-brand-text{display:inline-flex;align-items:center;position:relative;color:var(--hk-text);isolation:isolate}.hk-brand-harka{color:#111}.hk-brand-ce{color:var(--hk-accent)}.hk-dark .hk-brand-harka{color:#fff}.hk-brand-text{overflow:hidden}.hk-brand-text:after{content:"";position:absolute;z-index:2;top:-35%;bottom:-35%;left:-58%;width:34%;border-radius:999px;background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.05) 14%,rgba(255,255,255,.96) 50%,rgba(255,255,255,.05) 86%,transparent 100%);transform:skewX(-18deg) translateX(0);opacity:0;pointer-events:none;mix-blend-mode:screen}.hk-brand-text.hk-shimmer:after{animation:hk-brand-shimmer 2.7s cubic-bezier(.25,.1,.25,1) 1 both}@keyframes hk-brand-shimmer{0%{transform:skewX(-18deg) translateX(0);opacity:0}10%{opacity:1}90%{opacity:1}100%{transform:skewX(-18deg) translateX(520%);opacity:0}}
.hk-global-telegram{background:var(--hk-bg);padding:10px 0 0}.hk-telegram-banner{display:block;background:#1b2732;border-radius:12px;box-shadow:0 8px 28px rgba(20,25,32,.08);overflow:hidden}.hk-telegram-banner>a{min-height:86px;display:flex;align-items:center;gap:14px;padding:18px 24px;color:#f5f7fa}.hk-telegram-bell{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:#df4615;color:#fff;animation:hk-bell-sway 2.4s ease-in-out infinite;transform-origin:50% 10%}.hk-telegram-bell svg{width:23px;height:23px}.hk-telegram-text{position:relative;display:inline-block;font-size:22px;font-weight:650;letter-spacing:-.3px;overflow:hidden}.hk-telegram-text:after{content:"";position:absolute;top:-35%;bottom:-35%;left:-55%;width:28%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.8),transparent);transform:skewX(-18deg);opacity:0;animation:hk-telegram-shimmer 4.8s ease-in-out infinite 1s}@keyframes hk-bell-sway{0%,100%{transform:rotate(0deg)}8%{transform:rotate(9deg)}16%{transform:rotate(-8deg)}24%{transform:rotate(6deg)}32%{transform:rotate(-4deg)}40%{transform:rotate(2deg)}48%{transform:rotate(0deg)}}@keyframes hk-telegram-shimmer{0%,20%{transform:skewX(-18deg) translateX(0);opacity:0}28%{opacity:1}70%{opacity:1}100%{transform:skewX(-18deg) translateX(520%);opacity:0}}
.hk-header-spacer{flex:1}.hk-desktop-nav{display:flex;align-items:center;gap:2px;margin-left:18px}.hk-desktop-nav ul{list-style:none;display:flex;gap:2px;padding:0;margin:0}.hk-desktop-nav li{margin:0}.hk-desktop-nav a{display:block;padding:9px 11px;border-radius:9px;color:var(--hk-muted);font-size:13px;font-weight:750}.hk-desktop-nav a:hover{background:var(--hk-surface-2);color:var(--hk-text)}.hk-icon-btn{width:42px;height:42px;border:1px solid var(--hk-border);background:var(--hk-surface);color:var(--hk-text);border-radius:12px;display:grid;place-items:center;transition:.18s ease}.hk-icon-btn:hover{border-color:var(--hk-accent);color:var(--hk-accent);transform:translateY(-1px)}.hk-icon-btn svg{width:19px;height:19px}.hk-menu-btn{display:none}.hk-main{padding-bottom:45px}.hk-topbar{padding:25px 0 6px}.hk-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--hk-accent);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.11em}.hk-kicker:before{content:"";width:25px;height:3px;border-radius:5px;background:var(--hk-accent)}.hk-page-title{font-size:clamp(30px,5vw,46px);line-height:1.06;letter-spacing:-1.8px;margin:7px 0 5px}.hk-page-subtitle{margin:0;color:var(--hk-muted);max-width:720px}.hk-category-bar{display:flex;gap:8px;overflow:auto;padding:16px 0 5px;scrollbar-width:none}.hk-category-bar::-webkit-scrollbar{display:none}.hk-chip{white-space:nowrap;border:1px solid var(--hk-border);background:var(--hk-surface);color:var(--hk-muted);padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800}.hk-chip:hover,.hk-chip.is-active{color:#fff;background:var(--hk-accent);border-color:var(--hk-accent)}.hk-section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;padding:25px 0 13px}.hk-section-title{font-size:24px;line-height:1.15;letter-spacing:-.7px;margin:0;font-weight:900}.hk-section-link{font-size:12px;font-weight:850;color:var(--hk-accent)}.hk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.hk-card{min-width:0;background:var(--hk-surface);border:1px solid var(--hk-border);border-radius:var(--hk-radius);overflow:hidden;box-shadow:var(--hk-shadow);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.hk-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(20,25,32,.11);border-color:color-mix(in srgb,var(--hk-accent) 25%,var(--hk-border))}.hk-thumb{position:relative;aspect-ratio:16/9;background:#171b21;overflow:hidden}.hk-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.hk-card:hover .hk-thumb img{transform:scale(1.025)}.hk-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#fff;font-size:54px;font-weight:950;background:radial-gradient(circle at 20% 15%,rgba(228,81,24,.85),transparent 40%),linear-gradient(135deg,#252d37,#101319)}.hk-play{position:absolute;left:14px;bottom:14px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.62);color:#fff;border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(6px)}.hk-play svg{width:16px;height:16px;margin-left:2px}.hk-duration{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.78);color:#fff;border-radius:7px;padding:4px 7px;font-size:11px;font-weight:850}.hk-card-body{padding:14px 15px 15px}.hk-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--hk-muted);font-size:11px;font-weight:750;margin-bottom:7px}.hk-cat{color:var(--hk-accent);font-weight:850}.hk-dot{width:3px;height:3px;background:currentColor;border-radius:50%;display:inline-block;flex:0 0 auto}.hk-card-title{font-size:18px;line-height:1.3;margin:0;font-weight:850;letter-spacing:-.35px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hk-card-title a:hover{color:var(--hk-accent)}.hk-card-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:11px;color:var(--hk-muted);font-size:11px;font-weight:650}.hk-pagination{display:flex;justify-content:center;gap:7px;padding:30px 0 5px;flex-wrap:wrap}.hk-pagination a,.hk-pagination span{min-width:42px;height:42px;padding:0 12px;display:grid;place-items:center;border:1px solid var(--hk-border);border-radius:10px;background:var(--hk-surface);font-weight:800;font-size:12px}.hk-pagination .current{background:var(--hk-accent);border-color:var(--hk-accent);color:#fff}.hk-empty{background:var(--hk-surface);border:1px dashed var(--hk-border);border-radius:var(--hk-radius);padding:55px 22px;text-align:center;color:var(--hk-muted);grid-column:1/-1}.hk-single-wrap{padding:34px 0 58px}.hk-single{max-width:940px}.hk-single-title{font-size:clamp(34px,5.5vw,56px);line-height:1.04;letter-spacing:-2.2px;margin:8px 0 15px}.hk-single-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--hk-muted);font-size:12px;font-weight:700;margin-bottom:19px}.hk-featured{border-radius:var(--hk-radius);overflow:hidden;background:#0b0c0f;box-shadow:var(--hk-shadow);margin-bottom:23px}.hk-featured img{width:100%;max-height:690px;object-fit:cover}.hk-content{font-size:17px;line-height:1.82}.hk-content p{margin:0 0 1.1em}.hk-content h2,.hk-content h3{line-height:1.25}.hk-content a{color:var(--hk-accent);text-decoration:underline}.hk-content iframe,.hk-content video{display:block;width:100%;max-width:100%;border:0;border-radius:12px;margin:22px 0;aspect-ratio:16/9}.hk-content img{border-radius:12px;margin:20px 0}.hk-share{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--hk-border);border-bottom:1px solid var(--hk-border);padding:16px 0;margin:25px 0}.hk-share strong{margin-right:5px;font-size:13px}.hk-share a{padding:8px 11px;border:1px solid var(--hk-border);border-radius:9px;background:var(--hk-surface);font-size:12px;font-weight:800}.hk-share a:hover{border-color:var(--hk-accent);color:var(--hk-accent)}.hk-related{margin-top:42px}.hk-related .hk-grid{padding-top:0}.hk-search-results{padding-bottom:45px}.hk-footer{margin-top:20px;border-top:1px solid var(--hk-border);background:var(--hk-surface)}.hk-footer-top{padding:34px 0 28px;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:35px}.hk-footer-brand{font-size:25px;font-weight:900;letter-spacing:-1.3px}.hk-footer-brand span{color:var(--hk-accent)}.hk-footer p{color:var(--hk-muted);font-size:13px;margin:8px 0 0;max-width:390px}.hk-footer h3{font-size:13px;margin:0 0 10px}.hk-footer ul{list-style:none;padding:0;margin:0}.hk-footer li{margin:5px 0}.hk-footer li a{color:var(--hk-muted);font-size:12px}.hk-footer li a:hover{color:var(--hk-accent)}.hk-footer-bottom{border-top:1px solid var(--hk-border);padding:15px 0;color:var(--hk-muted);display:flex;justify-content:flex-start;gap:15px;flex-wrap:wrap;font-size:11px}.hk-drawer{position:fixed;inset:0;z-index:200;visibility:hidden}.hk-drawer.is-open{visibility:visible}.hk-drawer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58);opacity:0;transition:opacity .2s}.hk-drawer.is-open .hk-drawer-backdrop{opacity:1}.hk-drawer-panel{position:absolute;top:0;left:0;height:100%;width:min(390px,90vw);background:var(--hk-surface);transform:translateX(-100%);transition:transform .22s ease;padding:22px 24px;overflow:auto}.hk-drawer.is-open .hk-drawer-panel{transform:none}.hk-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.hk-drawer-title{font-size:23px;font-weight:900}.hk-menu-managed .hk-cat-list{list-style:none;padding:0;margin:0}.hk-menu-managed .hk-cat-list li{border-bottom:1px solid var(--hk-border);margin:0}.hk-menu-managed .hk-cat-list a{display:flex;justify-content:space-between;gap:10px;padding:12px 0;font-weight:750;font-size:14px}.hk-menu-managed .hk-cat-list a:hover{color:var(--hk-accent)}.hk-menu-managed .sub-menu{list-style:none;margin:0;padding:0 0 4px 14px}.hk-menu-managed .sub-menu a{font-size:13px;padding:8px 0;color:var(--hk-muted)}.hk-search{position:fixed;inset:0;z-index:210;background:rgba(8,10,13,.94);display:none;align-items:flex-start;justify-content:center;padding:13vh 20px}.hk-search.is-open{display:flex}.hk-search-inner{width:min(760px,100%)}.hk-search-label{color:#fff;font-size:13px;font-weight:800;margin:0 0 10px}.hk-search-form{display:flex;gap:9px}.hk-search-form input{flex:1;min-width:0;border:0;border-radius:12px;padding:16px 18px;background:#fff;color:#111;outline:0}.hk-search-form button{border:0;border-radius:12px;padding:0 20px;background:var(--hk-accent);color:#fff;font-weight:850}.hk-close-search{color:#fff;border:0;background:transparent;font-size:29px;float:right;margin-bottom:16px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1000px){.hk-desktop-nav{display:none}.hk-menu-btn{display:grid}}@media(max-width:700px){.hk-grid{width:calc(100% - 24px);margin-inline:auto;}.hk-container{width:100%;max-width:none;margin:0}.hk-header-inner{width:100%;max-width:none;min-height:62px;margin:0;padding:0 12px;gap:8px}.hk-brand{font-size:25px;letter-spacing:-1.5px;flex:0 1 auto;min-width:0}.hk-brand-text{white-space:nowrap}.hk-header-spacer{min-width:0;flex:1}.hk-icon-btn{width:40px;height:40px;flex:0 0 40px}.hk-icon-btn svg{width:19px;height:19px}.hk-menu-btn{display:grid}.hk-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hk-card-body{padding:10px 10px 11px}.hk-card-title{font-size:14px;line-height:1.25;letter-spacing:-.2px}.hk-meta{font-size:8.5px;gap:5px;margin-bottom:5px}.hk-card-bottom{font-size:9px;margin-top:8px;gap:5px}.hk-play{width:30px;height:30px;left:8px;bottom:8px}.hk-play svg{width:13px;height:13px}.hk-topbar{padding-top:22px}.hk-page-title{font-size:34px}.hk-single-title{font-size:36px}.hk-footer-top{grid-template-columns:1fr 1fr;gap:25px}.hk-footer-top>div:first-child{grid-column:1/-1}.hk-search-form{display:grid;grid-template-columns:1fr}.hk-search-form button{height:48px}.hk-footer-bottom{display:block}.hk-footer-bottom>div+div{margin-top:5px}}

.hk-related-head{padding-bottom:16px}.hk-related .hk-kicker{margin-bottom:5px}.hk-related .hk-section-title{margin:0}.hk-related{padding-top:4px}


/* Harkace v7.6 mobile spacing refinements — cards intentionally unchanged */
@media(max-width:700px){
  .hk-topbar,
  .hk-home-main > section.hk-container:not(.hk-topbar){
    width:calc(100% - 24px);
    margin-left:auto;
    margin-right:auto;
  }
  .hk-topbar{padding-top:22px;}
  .hk-category-bar{padding-left:0;padding-right:0;}
  .hk-section-head{padding-left:0;padding-right:0;}
  .hk-footer-top,
  .hk-footer-bottom{
    width:calc(100% - 24px);
    margin-left:auto;
    margin-right:auto;
  }
  .hk-footer-top{grid-template-columns:1fr 1fr;gap:25px;}
  .hk-footer-top>div:first-child{grid-column:1/-1;}
}

/* Harkace v7.7 — final mobile spacing polish. Posting card dimensions intentionally untouched. */
@media(max-width:700px){
  .hk-home-main > section.hk-container,
  .hk-home-main > section.hk-container.hk-topbar,
  .hk-footer-top,
  .hk-footer-bottom{
    width:calc(100% - 32px) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Keep the category row inset without changing its chip/card sizing. */
  .hk-category-bar{
    padding-top:14px !important;
    padding-left:0 !important;
    padding-right:0 !important;
    padding-bottom:0 !important;
  }

  /* Bring Latest Videos closer to the category row and align it with the content. */
  .hk-section-head{
    padding-top:10px !important;
    padding-bottom:13px !important;
  }

  /* Slightly tighter hero spacing for a cleaner mobile rhythm. */
  .hk-topbar{
    padding-top:20px !important;
    padding-bottom:0 !important;
  }

  .hk-footer-top{
    padding-top:30px !important;
    padding-bottom:24px !important;
    gap:22px !important;
  }

  .hk-footer-bottom{
    padding-top:14px !important;
    padding-bottom:14px !important;
  }
}

/* Harkace v7.8 — final homepage-only refinement */
@media (max-width:700px){
  /* Homepage: give the two-column posting cards back some width without touching other templates. */
  .hk-home-main > section.hk-container:not(.hk-topbar) .hk-grid{
    width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    gap:12px !important;
  }

  /* Homepage Latest Videos: slightly smaller and less heavy. */
  .hk-home-main .hk-section-title{
    font-size:21px !important;
    font-weight:800 !important;
    letter-spacing:-.45px !important;
  }

  /* Keep single-post videos classic and contained; these rules do not affect the homepage cards. */
  .hk-single .hk-content iframe,
  .hk-single .hk-content video{
    width:100% !important;
    max-width:760px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    border-radius:10px !important;
  }
}


/* Harkace v7.9 — mobile single-post content inset. Homepage cards remain unchanged. */
@media (max-width:700px){
  .hk-single-wrap{
    padding-top:24px !important;
    padding-bottom:42px !important;
  }
  .hk-single{
    width:calc(100% - 32px) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .hk-single-title{
    font-size:32px !important;
    letter-spacing:-1.5px !important;
  }
  .hk-featured{
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .hk-single .hk-content{
    font-size:16px !important;
    line-height:1.72 !important;
  }
  .hk-single .hk-content iframe{
    width:100% !important;
    height:56.25vw !important;
    min-height:180px !important;
    max-height:520px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    border-radius:10px !important;
  }
  .hk-single .hk-content video{
    width:100% !important;
    height:auto !important;
    max-height:520px !important;
    aspect-ratio:16/9 !important;
    object-fit:contain !important;
    margin-left:auto !important;
    margin-right:auto !important;
    border-radius:10px !important;
  }
  .hk-single .hk-content img{
    width:100% !important;
    height:auto !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}


/* Harkace v7.10 — classic single-post reading width and contained media. */
.hk-single-wrap .hk-single{
  width:min(calc(100% - 36px),940px);
  max-width:940px;
  margin-left:auto;
  margin-right:auto;
}
.hk-single .hk-content{
  width:min(100%,820px);
  margin-left:auto;
  margin-right:auto;
  font-size:17px;
  line-height:1.82;
}
.hk-single .hk-content p,
.hk-single .hk-content ul,
.hk-single .hk-content ol,
.hk-single .hk-content blockquote{
  max-width:100%;
}
.hk-single .hk-content h2{
  font-size:clamp(25px,4vw,36px);
  line-height:1.2;
  letter-spacing:-.8px;
  margin:1.35em 0 .55em;
}
.hk-single .hk-content h3{
  font-size:clamp(21px,3vw,29px);
  line-height:1.25;
  margin:1.25em 0 .5em;
}
.hk-single .hk-content iframe,
.hk-single .hk-content video,
.hk-single .hk-content img{
  display:block;
  width:100%;
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}
.hk-single .hk-content iframe,
.hk-single .hk-content video{
  border-radius:12px;
}
.hk-single .hk-content img{
  height:auto;
}
@media(max-width:700px){
  .hk-single-wrap .hk-single{
    width:calc(100% - 32px) !important;
    max-width:none !important;
  }
  .hk-single .hk-content{
    width:calc(100% - 20px) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
    font-size:16px !important;
    line-height:1.78 !important;
  }
  .hk-single .hk-content h2{
    font-size:27px !important;
    line-height:1.22 !important;
    letter-spacing:-.6px !important;
    margin-top:1.25em !important;
    margin-bottom:.55em !important;
  }
  .hk-single .hk-content h3{
    font-size:23px !important;
    line-height:1.25 !important;
  }
  .hk-single .hk-content iframe,
  .hk-single .hk-content video,
  .hk-single .hk-content img{
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .hk-single .hk-content iframe{
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:16/9 !important;
  }
  .hk-single .hk-content video{
    height:auto !important;
    max-height:none !important;
    aspect-ratio:16/9 !important;
    object-fit:contain !important;
  }
  .hk-single .hk-content img{
    border-radius:10px !important;
    margin-top:18px !important;
    margin-bottom:18px !important;
  }
}

/* Harkace v7.11 pagination — clear Previous/Next + page numbers */
.hk-pagination{display:flex;flex-direction:column;align-items:center;gap:9px;padding:30px 0 8px}
.hk-pagination-inner{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.hk-pagination a,.hk-pagination span{min-width:42px;height:42px;padding:0 12px;display:grid;place-items:center;border:1px solid var(--hk-border);border-radius:10px;background:var(--hk-surface);font-weight:800;font-size:12px}
.hk-pagination a:hover{border-color:var(--hk-accent);color:var(--hk-accent)}
.hk-pagination .current{background:var(--hk-accent);border-color:var(--hk-accent);color:#fff}
.hk-pagination .prev,.hk-pagination .next{padding-inline:15px}
.hk-page-count{font-size:11px;font-weight:700;color:var(--hk-muted)}
@media(max-width:700px){
  .hk-pagination{padding-top:24px}
  .hk-pagination-inner{gap:6px}
  .hk-pagination a,.hk-pagination span{min-width:38px;height:38px;padding:0 9px;font-size:11px}
  .hk-pagination .prev,.hk-pagination .next{padding-inline:11px}
}

/* Harkace v7.12 — Telegram banner, mobile classic spacing, and logo shimmer timing */
@media(max-width:700px){
  .hk-global-telegram{padding:8px 16px 0}
  .hk-global-telegram .hk-container{width:100%;}
  .hk-telegram-banner>a{min-height:68px;padding:12px 16px;gap:11px}
  .hk-telegram-bell{width:36px;height:36px;flex-basis:36px}
  .hk-telegram-bell svg{width:20px;height:20px}
  .hk-telegram-text{font-size:17px;letter-spacing:-.25px}
  .hk-home-main .hk-topbar{padding-top:8px !important}
  .hk-home-main .hk-category-bar{padding-top:8px !important}
  .hk-home-main .hk-section-head{padding-top:8px !important;padding-bottom:12px !important}
  .hk-home-main .hk-section-title{font-size:20px !important;font-weight:780 !important}
  .hk-home-main > section.hk-container:not(.hk-topbar) .hk-grid{gap:14px !important}
  .hk-footer-top,.hk-footer-bottom{width:calc(100% - 32px) !important}
}
@media(min-width:701px){
  .hk-home-main .hk-topbar{padding-top:18px}
}


/* Harkace v7.14 — compact classic Telegram CTA */
.hk-global-telegram{padding:12px 0 0;background:var(--hk-bg)}
.hk-global-telegram .hk-container{display:flex;justify-content:center}
.hk-telegram-banner{position:relative;isolation:isolate;display:flex;align-items:center;width:100%;max-width:1120px;min-height:64px;padding:8px 18px 8px 12px;box-sizing:border-box;overflow:hidden;border-radius:18px;background:linear-gradient(135deg,#26aeea 0%,#2196f3 100%);color:#fff;text-decoration:none;box-shadow:0 5px 18px rgba(33,150,243,.16)}
.hk-telegram-banner:after{content:"";position:absolute;z-index:2;top:-70%;bottom:-70%;left:-20%;width:12%;background:linear-gradient(105deg,transparent,rgba(255,255,255,.38),transparent);transform:skewX(-18deg) translateX(-180%);animation:hk-telegram-shimmer 10s ease-in-out infinite;pointer-events:none}
.hk-telegram-icon{position:relative;z-index:3;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#159fe0;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);animation:hk-telegram-float 2.8s ease-in-out infinite}
.hk-telegram-icon:after{content:"";position:absolute;inset:-3px;border:1px solid rgba(255,255,255,.28);border-radius:50%;animation:hk-telegram-ring 2.8s ease-out infinite}
.hk-telegram-icon svg{width:25px;height:25px;display:block}
.hk-telegram-text{position:relative;z-index:3;display:flex;align-items:baseline;justify-content:center;gap:7px;flex:1;min-width:0;padding:0 10px;font-size:21px;line-height:1;font-weight:650;letter-spacing:-.25px;white-space:nowrap;text-align:center}
.hk-telegram-join{font-weight:650}.hk-telegram-on{font-weight:500;opacity:.96}.hk-telegram-word{font-weight:780}
.hk-telegram-arrow{position:relative;z-index:3;flex:0 0 18px;width:18px;height:28px;display:grid;place-items:center;margin-left:auto;color:#fff;font-size:30px;font-weight:400;line-height:1}
@keyframes hk-telegram-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-2px) rotate(-3deg)}}
@keyframes hk-telegram-ring{0%,65%,100%{transform:scale(.92);opacity:0}18%{transform:scale(1.08);opacity:.65}}
@keyframes hk-telegram-shimmer{0%,38%{transform:skewX(-18deg) translateX(-180%);opacity:0}44%{opacity:1}62%{opacity:1}72%,100%{transform:skewX(-18deg) translateX(1050%);opacity:0}}
.hk-dark .hk-telegram-banner{box-shadow:0 6px 22px rgba(0,0,0,.2)}
@media(max-width:700px){
  .hk-global-telegram{padding:9px 16px 0}
  .hk-telegram-banner{max-width:none;min-height:54px;height:54px;padding:6px 11px 6px 9px;border-radius:15px}
  .hk-telegram-icon{flex-basis:34px;width:34px;height:34px}
  .hk-telegram-icon svg{width:20px;height:20px}
  .hk-telegram-text{gap:5px;padding:0 6px;font-size:16px;letter-spacing:-.2px}
  .hk-telegram-arrow{flex-basis:14px;width:14px;font-size:25px}
}
@media(max-width:390px){
  .hk-telegram-banner{min-height:50px;height:50px;padding-left:8px;padding-right:9px}
  .hk-telegram-icon{flex-basis:31px;width:31px;height:31px}
  .hk-telegram-icon svg{width:18px;height:18px}
  .hk-telegram-text{font-size:14px;gap:4px}
  .hk-telegram-arrow{font-size:23px}
}
