:root {
  --accent: #e53935;
  --dark: #111;
  --text: #313131;
  --meta: #888;
  --border: #dedede;
  --head-font: "Rubik", sans-serif;
  --body-font: "Open Sans", sans-serif;
  --container: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 13px/1.8 var(--body-font);
  overflow-x: hidden;
}
a { color: var(--text); text-decoration: none; transition: color .3s; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid #f8c025; outline-offset: 3px; }
img { max-width: 100%; height: auto; border: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--head-font); font-weight: 500; line-height: 1.35; }
.container { width: var(--container); max-width: 100%; margin: 0 auto; padding: 0; }
.container::after, .penci_sidebar::after, .penci-biggrid::after { content: ""; display: table; clear: both; }
.screen-reader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000000; padding: 10px 14px; background: #fff; color: #111; font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* ---------- Icons (inline SVG masks; replaces FontAwesome / penciicon fonts) ---------- */
.ico { display: inline-block; width: 1em; height: 1em; background-color: currentColor; vertical-align: middle;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-angle-left  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256l137.3-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E"); }
.ico-angle-right { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E"); }
.ico-angle-down  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E"); }
.ico-angle-up    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z'/%3E%3C/svg%3E"); }
.ico-search  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M208 48a160 160 0 1 1 0 320 160 160 0 1 1 0-320zm0-48C93.1 0 0 93.1 0 208s93.1 208 208 208c48.7 0 93.4-16.7 128.9-44.8L471 505.1c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L371.2 336.9C399.3 301.4 416 256.7 416 208 416 93.1 322.9 0 208 0z'/%3E%3C/svg%3E"); }
.ico-bars    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M0 96c0-13.3 10.7-24 24-24h400c13.3 0 24 10.7 24 24s-10.7 24-24 24H24C10.7 120 0 109.3 0 96zm0 160c0-13.3 10.7-24 24-24h400c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24zm448 160c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24h400c13.3 0 24 10.7 24 24z'/%3E%3C/svg%3E"); }
.ico-close   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4z'/%3E%3C/svg%3E"); }
.ico-refresh { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8 62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32h128c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2l-17.6-17.6c-87.5-87.5-229.3-87.5-316.8 0-24.4 24.4-42.1 53.1-52.9 83.7-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2-4 4-6.7 8.8-8.1 14-.3 1.2-.6 2.5-.8 3.8-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32v-51.2l17.6 17.6c87.5 87.5 229.3 87.5 316.8 0 24.4-24.4 42.1-53.1 52.9-83.7 5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8-62.5 62.5-163.8 62.5-226.3 0l-.1-.1-45.2-45.1H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2.1-4.8.3-1.5.2-3 .5-4.6 1z'/%3E%3C/svg%3E"); }
.ico-heart   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8v-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3 4.2-4.8 8.7-9.2 13.5-13.3 3.7-3.2 7.5-6.2 11.5-9 32.1-22.6 72.4-31.7 111.8-24.2C462 58.6 512 119.1 512 189.5v3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20-.1-.1c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5v3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7l175.2-162.7c20.9-19.4 32.8-46.7 32.8-75.2v-3.3c0-47.3-33.6-88-80.1-96.9-34-6.5-69 5.4-92 31.2l-.1.1-.1.1-17.8 20c-.3.4-.7.7-1 1.1-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z'/%3E%3C/svg%3E"); }
.ico-facebook { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279.1 288l14.2-92.7h-88.9v-60.1c0-25.4 12.4-50.1 52.2-50.1h40.4V6.3S260.4 0 225.4 0c-73.2 0-121.1 44.4-121.1 124.7v70.6H22.9V288h81.4v224h100.2V288z'/%3E%3C/svg%3E"); }
.ico-twitter  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9L389.2 48zm-24.8 373.8h39.1L151.1 88h-42l255.3 333.8z'/%3E%3C/svg%3E"); }
.ico-pinterest { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z'/%3E%3C/svg%3E"); }
.ico-envelope { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16h384c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128c0-35.3 28.7-64 64-64h384c35.3 0 64 28.7 64 64v256c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z'/%3E%3C/svg%3E"); }
.ico-plus { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32v144H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h144v144c0 17.7 14.3 32 32 32s32-14.3 32-32V288h144c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z'/%3E%3C/svg%3E"); }

/* ---------- Top bar / album ticker ---------- */
.penci-top-bar { background: #000; height: 32px; color: #fff; }
.penci-top-bar .container { height: 32px; }
.penci-headline { position: relative; height: 32px; overflow: hidden; white-space: nowrap; }
.headline-title { float: left; height: 32px; padding: 0 15px; background: var(--accent); color: var(--dark); font: 500 12px/32px var(--head-font); text-transform: uppercase; position: relative; z-index: 10; }
.penci-trending-nav { float: left; margin-left: 8px; }
.penci-trending-nav button { display: inline-block; padding: 0 5px; height: 32px; border: 0; background: transparent; line-height: 32px; color: #999; font-size: 16px; vertical-align: top; cursor: pointer; }
.penci-trending-nav button:hover { color: #fff; }
.penci-trending-nav .ico { width: 14px; height: 16px; }
.penci-headline-list { display: inline-block; vertical-align: top; margin-left: 10px; height: 32px; position: relative; width: calc(100% - 200px); }
.penci-headline-list a { position: absolute; left: 0; top: 0; display: inline-block; color: #fff; font: 500 12px/32px var(--head-font); white-space: nowrap; opacity: 0; transform: translateY(100%); transition: transform .4s, opacity .4s; }
.penci-headline-list a.active { opacity: 1; transform: none; }
.penci-headline-list a.leave { opacity: 0; transform: translateY(-100%); }
.penci-headline-list a:hover { color: var(--accent); }

/* ---------- Navigation ---------- */
#header { position: relative; z-index: 1000; }
#navigation { background: var(--dark); border-top: 1px solid #212121; border-bottom: 1px solid #212121; height: 82px; }
#navigation .container { position: relative; height: 80px; }
#logo { float: left; height: 80px; display: flex; align-items: center; padding: 12px 0; }
.brand { display: inline-block; position: relative; padding: 2px 10px 4px; background: #f8c025; border: 2px solid #111; border-radius: 6px 8px 6px 8px; color: #111; font: italic 900 26px/1 var(--head-font); letter-spacing: -1px; transform: rotate(-1.5deg); box-shadow: 1px 1px 0 #111; }
.brand:hover { color: #111; }
#menu-main { float: right; margin-right: 30px; }
#menu-main > li { float: left; position: relative; }
#menu-main > li > a { display: inline-block; height: 80px; padding: 0 15px; color: #fff; font: 500 12px/80px var(--head-font); text-transform: uppercase; }
#menu-main > li > a .ico { width: 8px; height: 8px; margin-left: 6px; vertical-align: 0; }
#menu-main > li:hover > a, #menu-main > li.current-menu-item > a, #menu-main > li.current-menu-ancestor > a { color: var(--accent); }
#menu-main .sub-menu { position: absolute; left: 0; top: 80px; width: 240px; margin-top: -1px; padding: 8px 0; background: #fff; border-top: 4px solid #e0e0e0; box-shadow: 0 3px 3px 0 rgba(190,190,190,.6); opacity: 0; visibility: hidden; transform: rotateX(-90deg); transform-origin: top; transition: transform .27s ease-in-out, opacity .27s ease-in-out, visibility .27s ease-in-out; z-index: 9999; }
#menu-main .sub-menu::before { content: ""; position: absolute; top: -4px; left: 0; width: 60px; height: 4px; background: var(--accent); }
#menu-main > li:hover > .sub-menu, #menu-main > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
#menu-main .sub-menu li a { display: block; margin: 0 20px; padding: 8px 0; color: var(--text); font: 500 12px/1.4 var(--head-font); text-transform: uppercase; border-bottom: 1px solid #f2f2f2; }
#menu-main .sub-menu li:last-child a { border-bottom: 0; }
#menu-main .sub-menu li a:hover { color: var(--accent); }
#top-search { float: right; height: 80px; }
#top-search .search-click { display: inline-block; width: 30px; height: 80px; padding: 0; border: 0; background: transparent; line-height: 80px; color: #fff; text-align: center; cursor: pointer; }
#top-search .ico { width: 14px; height: 14px; }
.button-menu-mobile { display: none; float: left; width: 40px; height: 60px; padding: 0; border: 0; background: transparent; line-height: 60px; color: #fff; font-size: 18px; text-align: left; cursor: pointer; }
.button-menu-mobile .ico { width: 18px; height: 18px; }

/* search overlay */
.show-search { position: fixed; inset: 0; z-index: 999999; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center; }
.show-search.active { display: flex; }
.show-search form { width: 90%; max-width: 640px; display: flex; gap: 15px; }
.show-search input { flex: 1; height: 50px; padding: 0 15px; border: 1px solid var(--border); font: 400 13px var(--body-font); color: var(--text); outline: 0; background: #fff; }
.show-search button { height: 50px; padding: 0 25px; border: 0; background: var(--accent); color: #fff; font: 500 12px var(--head-font); text-transform: uppercase; cursor: pointer; }
.show-search .close-search { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 22px; cursor: pointer; }
.search-results { padding: 30px 0; }

/* mobile sidebar nav */
#sidebar-nav { position: fixed; top: 0; left: 0; height: 100%; width: 270px; padding: 30px 20px 20px; background: #fff; z-index: 99997; overflow-y: auto; transform: translateX(-270px); transition: transform .5s; }
.open-sidebar-nav #sidebar-nav { transform: none; }
#sidebar-nav .menu li { border-bottom: 1px solid var(--border); }
#sidebar-nav .menu li a { display: block; padding: 12px 0; color: var(--text); font: 500 12px/1.4 var(--head-font); text-transform: uppercase; }
#sidebar-nav .menu > li { position: relative; }
#sidebar-nav .menu .sub-menu-toggle { position: absolute; top: 0; right: 0; width: 40px; padding: 12px 0; border: 0; background: transparent; text-align: center; cursor: pointer; }
#sidebar-nav .menu .sub-menu-toggle .ico { transition: transform .2s; }
#sidebar-nav .menu li.sub-open .sub-menu-toggle .ico { transform: rotate(180deg); }
#sidebar-nav .menu .sub-menu { display: none; }
#sidebar-nav .menu li.sub-open > .sub-menu { display: block; }
#sidebar-nav .menu li li a { padding-left: 15px; font-weight: 400; }
.not-found { padding: 80px 0; text-align: center; }
.not-found h1 { font: 700 60px/1 var(--head-font); color: var(--dark); margin: 0 0 15px; }
.not-found p { color: var(--meta); margin: 0 0 20px; }
.not-found a { color: var(--accent); text-transform: uppercase; font: 600 12px/1 var(--head-font); }
#sidebar-nav .menu li li:last-child { border-bottom: 0; }
#sidebar-nav .menu > li.current-menu-item > a { color: var(--accent); }
#close-sidebar-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.6); z-index: 99996; opacity: 0; visibility: hidden; transition: opacity .3s; }
#close-sidebar-nav { border: 0; padding: 0; }
.open-sidebar-nav #close-sidebar-nav { opacity: 1; visibility: visible; }
.open-sidebar-nav, .open-sidebar-nav body { overflow: hidden; }

/* ---------- Homepage ---------- */
.container-single-page { padding-top: 10px; }
.home-content { padding: 0 10px; }

/* featured slider */
.featured-area { position: relative; height: 513px; overflow: hidden; margin-bottom: 20px; }
.featured-area .slide { position: absolute; top: 0; left: 0; width: 900px; height: 100%; margin: 0 5px; background: #f5f5f5; transition: transform .6s ease; will-change: transform; overflow: hidden; }
.featured-area .slide-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-area .slide.no-anim { transition: none; }
.featured-area .slide a.slide-link { position: absolute; inset: 0; }
.penci-featured-content { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 0 25px; z-index: 9; text-align: center; opacity: 0; transition: opacity .4s .2s; }
.slide.is-active .penci-featured-content { opacity: 1; }
.feat-text { position: relative; max-width: 480px; margin: 0 auto; padding: 23px 10px 21px; }
.featured-slider-overlay { position: absolute; inset: 0; background: #000; opacity: .5; z-index: 1; }
.featured-cat, .feat-text h3 { position: relative; z-index: 2; }
.featured-cat a { display: inline-block; margin-bottom: 5px; color: var(--accent); font-size: 13px; line-height: 1.2; text-transform: uppercase; }
.feat-text h3 a { color: #fff; font: 500 24px/1.35 var(--head-font); }
.feat-text h3 a:hover { color: var(--accent); }
.owl-prev, .owl-next { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #010101; text-align: center; line-height: 40px; opacity: .8; z-index: 10; cursor: pointer; transition: .3s; }
.owl-prev { left: 20px; } .owl-next { right: 20px; }
.owl-prev:hover, .owl-next:hover { opacity: 1; }
.owl-prev .ico, .owl-next .ico { width: 10px; height: 12px; vertical-align: -1px; }

/* divider */
.pc-divider { padding: 15px 0 0; }
.pc-divider-separator { display: flex; align-items: center; height: 20px; text-align: center; }
.pc-divider-separator::before, .pc-divider-separator::after { content: ""; flex: 1; height: 20px; background: radial-gradient(circle, #000 2.6px, transparent 3px) 0 50% / 13px 20px repeat-x; }
.pc-divider-text { flex: 0 0 auto; margin: 0 10px; color: #54595f; font: 400 15px/15px "Roboto Slab", serif; }

/* telegram notice */
.notice-ticker-wrap { position: relative; padding: 2px 0 12px; text-align: center; }
.notice-ticker-telegram-link { display: inline-block; }
.notice-ticker-telegram-text { display: inline-block; margin-bottom: 10px; padding: 0 15px; color: #00e5ff; font-size: 18px; font-weight: 700; line-height: 24px; }
.notice-ticker-telegram-icon img { display: block; width: 200px; height: 46px; margin: 0 auto; }

/* big grid */
.penci-biggrid-wrapper { margin: 20px 0 20px; }
.penci-biggrid { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.penci-bgitem { flex: 0 0 16.6667%; max-width: 16.6667%; padding: 0 10px; margin-bottom: 20px; }
.penci-bgitin { position: relative; border-radius: 30px; overflow: hidden; padding-top: 135.3%; background: #f5f5f5; -webkit-mask-image: -webkit-radial-gradient(#fff, #000); }
.pcbg-thumb { position: absolute; inset: 0; }
.pcbg-thumbin { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #f5f5f5; transform: scale3d(1.1,1.1,1) translateY(4%); transition: transform .5s ease-out; }
.penci-bgitem:hover .pcbg-thumbin { transform: scale3d(1.1,1.1,1) translateY(-4%); }
.pcbg-bgoverlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, #000 100%); opacity: .7; transition: opacity .3s; }
.penci-bgitem:hover .pcbg-bgoverlay { opacity: .9; }
.pcbg-content { position: absolute; inset: 0; display: flex; align-items: flex-end; z-index: 1; }
.pcbg-content-inner { position: relative; width: 100%; padding: 20px; z-index: 5; }
.pcbg-title { font-size: 18px; line-height: 1.35; }
.pcbg-title a { color: #fff; }
.pcbg-title a:hover { color: var(--accent); }
.pcbg-thumb .pcbg-link { position: absolute; inset: 0; z-index: 2; }
.pcbg-paging { text-align: center; }
.penci-ajax-more-button { display: inline-block; width: 100%; max-width: 400px; padding: 11px 10px; border: 1px solid var(--border); background: #fff; color: #999; font: 500 12px/1.4 var(--head-font); text-transform: uppercase; text-align: center; transition: .25s; cursor: pointer; }
.penci-ajax-more-button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.penci-ajax-more-button .ico { width: 12px; height: 12px; margin-left: 6px; vertical-align: -1px; }
.penci-ajax-more-button.loading .ico { animation: spin 1s linear infinite; }
.penci-ajax-more-button.disabled { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
#footer-section { min-height: 0; }

/* go to top + promo */
.penci-go-to-top-floating { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; padding: 0; border: 0; line-height: 44px; background: var(--accent); color: #fff; text-align: center; z-index: 99999; cursor: pointer; transform: translate3d(0,80px,0); transition: transform .5s cubic-bezier(.55,0,.05,1.1), opacity .3s; }
.penci-go-to-top-floating.show-up { transform: none; }
.penci-go-to-top-floating:hover { opacity: .85; }
.penci-go-to-top-floating .ico { width: 16px; height: 16px; vertical-align: -3px; }
.promo-widget { display: none; position: fixed; bottom: 30px; right: 30px; z-index: 99999; width: 210px; max-width: calc(100vw - 40px); border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,.2); transition: opacity .5s ease-out, transform .2s ease; opacity: 1; }
.promo-widget:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,.25); }
.promo-widget a { display: block; line-height: 0; }
.promo-widget img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 4/5; border-radius: 10px; background: #f5f5f5; }
.promo-close { position: absolute; top: -12px; right: -12px; z-index: 10; width: 32px; height: 32px; background: #ef4444; color: #fff; border: 2px solid #fff; border-radius: 50%; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,.3); transition: transform .2s, background .2s; }
.promo-close:hover { background: #dc2626; transform: scale(1.15); }

/* ---------- Archive / category ---------- */
.container-archive { padding-top: 25px; }
.penci-breadcrumb { margin: 0 0 20px; line-height: 1.4; color: var(--meta); }
.penci-breadcrumb a, .penci-breadcrumb .last, .penci-breadcrumb .separator { color: var(--meta); }
.penci-breadcrumb .separator { margin: 0 15px; }
.penci_sidebar #main { float: left; width: calc(100% - 340px); padding-right: 50px; }
#sidebar { float: right; width: 340px; }
.archive-box { margin-bottom: 30px; text-align: center; }
.title-bar span, .title-bar h1 { display: inline-block; font: 500 24px/1.2 var(--head-font); text-transform: uppercase; color: var(--text); }
.title-bar h1 { color: var(--accent); margin-left: 6px; }
.penci-grid { display: flex; flex-wrap: wrap; gap: 0 30px; }
.penci-grid li { width: calc(50% - 15px); margin-bottom: 30px; text-align: center; }
.penci-grid .thumbnail { display: block; position: relative; padding-top: 66.67%; background: #f5f5f5; overflow: hidden; }
.penci-grid .archive-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.penci-grid .thumb-link { position: absolute; inset: 0; z-index: 1; }
.penci-grid .no-posts { width: 100%; padding: 40px 0; color: var(--meta); }
.content-typography { position: absolute; inset: 20px; z-index: 2; pointer-events: none; }
.content-typography a { pointer-events: auto; }
.overlay-typography { position: absolute; inset: 0; background: #000; opacity: .3; transition: opacity .3s; }
.overlay-typography::before, .overlay-typography::after { content: ""; position: absolute; inset: 5px; opacity: 0; transition: opacity .35s, transform .35s; }
.overlay-typography::before { border-top: 1px solid #fff; border-bottom: 1px solid #fff; transform: scale(0,1); }
.overlay-typography::after { border-left: 1px solid #fff; border-right: 1px solid #fff; transform: scale(1,0); }
.penci-grid li:hover .overlay-typography { opacity: .7; }
.penci-grid li:hover .overlay-typography::before, .penci-grid li:hover .overlay-typography::after { opacity: 1; transform: scale(1); }
.main-typography { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 5; }
.main-typography .cat { margin-bottom: 8px; }
.main-typography .cat a { display: inline-block; margin-bottom: 5px; color: var(--accent); font-size: 13px; line-height: 1.2; text-transform: uppercase; }
.grid-title a { color: #fff; font: 500 18px/1.35 var(--head-font); }
.grid-title a:hover { color: var(--accent); }
.grid-post-box-meta { display: none; }
.penci-pagination { margin: 0 0 40px; }
.penci-pagination::after { content: ""; display: table; clear: both; }
.page-numbers li { float: left; width: 30px; height: 30px; margin-right: 10px; }
.page-numbers li a, .page-numbers li span { display: inline-block; width: 30px; height: 30px; border: 1px solid var(--border); color: var(--meta); font: 500 14px/28px var(--head-font); text-align: center; text-transform: uppercase; }
.page-numbers li a:hover, .page-numbers li .current { border-color: var(--accent); background: var(--accent); color: #fff; }
.page-numbers li .dots { font-family: var(--body-font); font-weight: 400; }
.page-numbers .ico { width: 8px; height: 12px; vertical-align: -1px; }

/* sidebar widgets */
.widget { margin-bottom: 40px; }
.widget-title { margin-bottom: 30px; border-bottom: 3px solid var(--text); }
.widget-title .inner-arrow { position: relative; display: block; padding-bottom: 8px; color: var(--dark); font: 500 14px/1.3 var(--head-font); text-transform: uppercase; }
.widget-title .inner-arrow::before { content: ""; position: absolute; left: 0; bottom: -3px; width: 40px; height: 3px; background: var(--accent); }
.penci-feed { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.penci-feed:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.side-item::after { content: ""; display: table; clear: both; }
.side-image { float: left; width: 120px; height: 80px; margin-right: 20px; }
.side-image a { display: block; width: 100%; height: 100%; background: #f5f5f5; overflow: hidden; }
.side-image img { width: 100%; height: 100%; object-fit: cover; }
.side-item-text { overflow: hidden; }
.side-title-post a { color: var(--text); font: 500 16px/1.4 var(--head-font); }
.side-title-post a:hover { color: var(--accent); }
.wp-block-tag-cloud { margin: 0; line-height: 23px; }
.wp-block-tag-cloud a { display: inline; margin-right: 8px; color: var(--accent); font-size: 12px; text-transform: uppercase; white-space: nowrap; }
.wp-block-tag-cloud a:hover { color: var(--text); }
.wp-block-tag-cloud .tag-link-count { color: var(--text); }

/* ---------- Single post ---------- */
.penci-post-image-wrapper { background: var(--dark); padding: 40px 0; margin-bottom: 40px; }
.single-breadcrumb { margin: -5px 0 20px; color: var(--meta); line-height: 1.4; }
.single-breadcrumb a, .single-breadcrumb span { color: var(--meta); }
.single-breadcrumb .ico { width: 6px; height: 13px; margin: 0 15px 0 19px; vertical-align: -2px; }
.post-format-entry-header::after { content: ""; display: table; clear: both; }
.penci-single-s10-content { float: left; width: calc(100% - 340px); padding-right: 50px; }
.penci-single-featured-img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f5f5f5; }
.single-header { float: right; width: 340px; margin-bottom: 26px; }
.single-post-title { color: #fff; font-size: 24px; line-height: 1.35; }
.single-post-meta { margin: 12px 0 0; color: #aaa; font-size: 12px; }
.single-post-meta a { color: #fff; }
.post-entry { margin-bottom: 33px; line-height: 1.8; }
.post-entry p { margin: 0 0 23px; }
.post-entry .post-meta-list { text-align: center; }
.post-entry .post-meta-list p { margin: 0 0 23px; }
.post-contact { text-align: center; margin: 12px 0 47px; line-height: 0; }
.post-contact img { display: block; width: 200px; height: 46px; margin: 0 auto; }
.post-contact a + a img { margin-top: 0; }
.post-gallery { display: flex; flex-wrap: wrap; margin-right: -13px; }
.post-gallery .gallery-item { width: calc(33.333% - 13px); margin: 0 13px 13px 0; }
.post-gallery figure { margin: 0; }
.gallery-lightbox-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: inherit; cursor: zoom-in; }
.post-gallery .gallery-item img { display: block; width: 100%; aspect-ratio: 2/3; object-fit: cover; background: #f5f5f5; }
.featured-lightbox-trigger { cursor: zoom-in; }
.post-gallery-empty { padding: 40px 15px; border: 1px dashed var(--border); text-align: center; color: var(--meta); }
.post-videos { display: grid; gap: 16px; margin-top: 20px; }
.post-videos video { display: block; width: 100%; max-height: 80vh; background: #000; }
.ai-desc { margin-top: 30px; padding: 20px; border-top: 1px dashed #ccc; font-size: 13px; }
.ai-desc p:last-child { margin-bottom: 0; }
.post-tags { position: relative; margin-top: 31px; z-index: 10; }
.post-tags a { display: inline-block; margin: 0 8px 8px 0; padding: 5px 12px; border: 1px solid var(--border); color: var(--meta); font-size: 11px; line-height: 1.2; text-transform: uppercase; transition: .3s; }
.post-tags a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.tags-share-box { position: relative; display: block; padding: 15px 0; border-top: 1px solid var(--border); text-align: center; font-size: 14px; z-index: 1; }
.post-share { display: inline-flex; align-items: center; }
.post-share-item { position: relative; display: inline-block; margin-right: 8px; color: var(--text); line-height: 19px; }
.post-share-item .ico { width: 14px; height: 14px; vertical-align: -2px; }
.post-share-expand { padding: 0; border: 0; background: transparent; cursor: pointer; }
.dt-share { position: absolute; left: 50%; bottom: -45px; width: 60px; margin-left: -30px; height: 20px; line-height: 20px; background: var(--text); color: #fff; font: 400 9px/20px var(--head-font); text-align: center; white-space: nowrap; opacity: 0; visibility: hidden; transition: all .2s ease-in-out; z-index: 20; }
.dt-share::before { content: ""; position: absolute; top: -7px; left: 50%; margin-left: -4px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 7px solid var(--text); }
.post-share-item:hover .dt-share { opacity: 1; visibility: visible; bottom: -30px; }
.post-pagination { padding: 15px 0; border-top: 1px solid var(--border); }
.post-pagination::after { content: ""; display: table; clear: both; }
.post-pagination .prev-post { float: left; width: 50%; }
.post-pagination .next-post { float: right; width: 50%; text-align: right; }
.prev-post-title span { display: inline-block; color: var(--meta); font-size: 13px; line-height: 18px; }
.pagi-text h5 { font: 500 14px/1.4 var(--head-font); color: var(--text); }
.pagi-text h5:hover { color: var(--accent); }
.post-related { padding: 36px 0; border-top: 1px solid var(--border); text-align: center; }
.post-related .post-title-box { margin-bottom: 30px; }
.post-related .post-box-title { display: inline-block; padding: 0 10px; font: 500 18px/1.35 var(--head-font); text-transform: uppercase; }
.related-items { display: flex; margin: 0 -10px; }
.item-related { flex: 0 0 33.333%; padding: 0 10px; }
.item-related .penci-image-holder { display: block; aspect-ratio: 3 / 2; margin-bottom: 17px; background: #f5f5f5; overflow: hidden; }
.item-related .penci-image-holder img { width: 100%; height: 100%; object-fit: cover; }
.item-related h3 a { font: 500 14px/1.4 var(--head-font); color: var(--text); }
.item-related h3 a:hover { color: var(--accent); }

/* ---------- Gallery lightbox ---------- */
body.gallery-lightbox-open { overflow: hidden; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 1000001; background: rgba(0,0,0,.94); color: #fff; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.gallery-lightbox.is-active { opacity: 1; visibility: visible; }
.gallery-lightbox-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 70px 90px 88px; cursor: zoom-out; }
.gallery-lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 12px 45px rgba(0,0,0,.55); cursor: default; user-select: none; opacity: 1; transition: opacity .15s ease; }
.gallery-lightbox.is-loading .gallery-lightbox-image { opacity: .28; }
.gallery-lightbox-close, .gallery-lightbox-nav { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(20,20,20,.72); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.gallery-lightbox-close:hover, .gallery-lightbox-nav:hover { background: var(--accent); transform: scale(1.06); }
.gallery-lightbox-close { top: 18px; right: 18px; }
.gallery-lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox-prev:hover, .gallery-lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
.gallery-lightbox .ico { width: 18px; height: 20px; }
.gallery-lightbox-close .ico { width: 17px; height: 17px; }
.gallery-lightbox-meta { position: absolute; left: 70px; right: 70px; bottom: 22px; z-index: 2; display: flex; justify-content: center; gap: 12px; color: rgba(255,255,255,.86); font-size: 12px; line-height: 1.4; text-align: center; pointer-events: none; }
.gallery-lightbox-counter { flex: 0 0 auto; font-weight: 700; }
.gallery-lightbox-caption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-lightbox.is-single .gallery-lightbox-nav { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  :root { --container: 100%; }
  .container { padding: 0 20px; }
}
@media (max-width: 1024px) {
  .penci-bgitem { flex: 0 0 33.333%; max-width: 33.333%; }
  .featured-area .slide { width: 100%; margin: 0; }
  .penci_sidebar #main, .penci-single-s10-content { float: none; width: 100%; padding-right: 0; }
  #sidebar, .single-header { float: none; width: 100%; }
  .single-header { margin-top: 20px; }
  #menu-main > li > a { padding: 0 10px; }
}
@media (max-width: 767px) {
  .penci-top-bar { display: none; }
  #navigation { height: 62px; }
  #navigation .container { height: 60px; }
  .button-menu-mobile { display: block; }
  #menu-main { display: none; }
  #logo { position: absolute; left: 50%; top: 0; transform: translateX(-50%); height: 60px; padding: 8px 0; float: none; }
  .brand { font-size: 22px; padding: 2px 8px 3px; }
  #top-search { height: 60px; }
  #top-search .search-click { height: 60px; line-height: 60px; }
  .featured-area { height: calc((100vw - 20px) * .57); }
  .feat-text h3 a { font-size: 18px; }
  .notice-ticker-telegram-text { font-size: 14px; }
  .penci-bgitem { flex: 0 0 100%; max-width: 100%; }
  .penci-bgitin { padding-top: 143%; }
  .pcbg-content-inner { padding: 15px; }
  .penci-ajax-more-button { max-width: none; }
  .penci-grid li { width: 100%; }
  .post-gallery .gallery-item { width: calc(50% - 13px); }
  .gallery-lightbox-stage { padding: 62px 10px 84px; }
  .gallery-lightbox-close, .gallery-lightbox-nav { width: 44px; height: 44px; }
  .gallery-lightbox-close { top: 10px; right: 10px; }
  .gallery-lightbox-prev { left: 8px; }
  .gallery-lightbox-next { right: 8px; }
  .gallery-lightbox-meta { left: 16px; right: 16px; bottom: 18px; }
  .related-items { flex-wrap: wrap; }
  .item-related { flex: 0 0 100%; margin-bottom: 20px; }
  .post-pagination .prev-post, .post-pagination .next-post { float: none; width: 100%; text-align: left; margin-bottom: 10px; }
  .promo-widget { width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
