/*
Theme Name: DaudBD Bollyflix
Theme URI: https://daudbd.com
Author: DaudBD.Com
Author URI: https://daudbd.com
Description: DaudBD Bollyflix – a dark movie/blog theme with full Appearance > Customize options (header, footer, sidebar, breadcrumb, posts).
Version: 1.6.9
Requires at least: 6.0
Requires PHP: 8.2
Text Domain: daudbd
License: GNU General Public License v2 or later

--------------------------------------------------------------*/
/* Design By DaudBD.Com  |  https://daudbd.com
 * File: style.css  |  Feature: all theme styles (layout, header, menu & submenu, cards, pagination, footer, mobile).
 * Edit: use Appearance > Customize > Additional CSS for small changes; full guide in DOCUMENTATION.md. */
/*--------------------------------------------------------------
1.0 Normalize
--------------------------------------------------------------*/
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0 }
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
audio:not([controls]) { display: none; height: 0; }
[hidden], template { display: none }
a { background-color: transparent }
a:active, a:hover { outline: 0 }
abbr[title] { border-bottom: 1px dotted }
b, strong { font-weight: bold }
dfn { font-style: italic }
h1 { font-size: 2em }
mark { background: #ff0; color: #000; }
small { font-size: 80% }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em }
sub { bottom: -0.25em }
img { border: 0 }
svg:not(:root) { overflow: hidden }
figure { margin: 1em 40px }
hr { box-sizing: content-box; height: 0; }
pre { overflow: auto }
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; }
button { overflow: visible }
button, select { text-transform: none }
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; }
button[disabled], html input[disabled] { cursor: default }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
input { line-height: normal }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto }
input[type="search"] { -webkit-appearance: textfield; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none }
#commentform .comment-form-cookies-consent label { 
    padding: 0;
    cursor: pointer;
    margin-left: 7px;
    line-height: 18px;
    vertical-align: top;
}
#commentform .comment-form-cookies-consent input {
    width: 18px;
    height: 18px;
    -webkit-appearance: checkbox;
}
fieldset { border: 0; margin: 0; padding: 0; }
legend { border: 0; padding: 0; }
textarea { overflow: auto }
optgroup { font-weight: bold }
table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 0 }
/*--------------------------------------------------------------
2.0 Font Icons
--------------------------------------------------------------*/
@font-face {
  font-family: 'daudbd';
  src: url('fonts/daudbd.eot');
  src: url('fonts/daudbd.eot?#iefix') format('embedded-opentype'),
       url('fonts/daudbd.woff') format('woff'),
       url('fonts/daudbd.ttf') format('truetype'),
       url('fonts/daudbd.svg') format('svg');
  font-weight: normal;
  font-style: normal;
} 
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "daudbd";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-angle-double-right:before { content: '\e800'; }
.icon-angle-double-left:before { content: '\e801'; }
.icon-down-dir:before { content: '\e802'; }
.icon-angle-up:before { content: '\e803'; }
.icon-search:before { content: '\e804'; }
.icon-youtube-play:before { content: '\e805'; }
.icon-clock:before { content: '\e806'; }
.icon-youtube-play-1:before { content: '\e807'; }
.icon-google-plus:before { content: '\e808'; }
.icon-plus:before { content: '\e809'; }
.icon-twitter:before { content: '\e80a'; }
.icon-chat:before { content: '\e80b'; }
.icon-calendar:before { content: '\e80c'; }
.icon-tags:before { content: '\e80d'; }
.icon-star:before { content: '\e80e'; }
.icon-star-empty:before { content: '\e80f'; }
.icon-star-half:before { content: '\e810'; }
.icon-star-half-alt:before { content: '\e811'; }
.icon-facebook:before { content: '\e812'; }
.icon-user:before { content: '\e813'; }
.icon-globe:before { content: '\e814'; }
.icon-menu:before { content: '\e816'; }
/*--------------------------------------------------------------
2.1 Typography
--------------------------------------------------------------*/
body, button, input, select, textarea { font-family: "Roboto", sans-serif; color: #707070; font-size: 16px; font-size: 1rem; line-height: 1.5; }
h1, h2, h3, h4, h5, h6 { margin: 0; clear: both; color: #e7e7e7; font-weight: normal; margin-bottom: 12px; }
h1 { font-size: 38px; line-height: 1.1; }
h2 { font-size: 34px; line-height: 1.2; }
h3 { font-size: 30px; line-height: 1.3; }
h4 { font-size: 28px; line-height: 1.4; }
h5 { font-size: 24px; line-height: 1.4; }
h6 { font-size: 20px; line-height: 1.4; }
p { margin-bottom: 1.5em; margin-top: 0; }
b, strong { font-weight: bold }
dfn, cite, em, i { font-style: italic }
blockquote { margin: 0 1.5em }
address { margin: 0 0 1.5em }
pre { background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; }
code, kbd, tt, var { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 15px; font-size: 0.9375rem; }
abbr, acronym { border-bottom: 1px dotted #666; cursor: help; }
mark, ins { background: #fff9c0; text-decoration: none; }
small { font-size: 75% }
big { font-size: 125% }
/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
html { box-sizing: border-box }
*, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http: //css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ box-sizing: inherit;     }
body { background: #09090b; /* Fallback for when there is no custom background color defined. */ }
blockquote { position: relative; font-style: italic; font-family: Georgia; font-size: 20px; }
blockquote:before, blockquote:after, q:before, q:after { content: "" }
blockquote:before { content: '\e800'; font-family: daudbd; position: absolute; content: '"'; font-size: 58px; top: -14px; left: -40px; }
blockquote, q { quotes: "" "" }
hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.5em 2em; padding: 0; }
ul { list-style: disc; padding: 0; margin: 0; }
ol { list-style: decimal }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; }
dt { font-weight: bold }
dd { margin: 0 1.5em 1.5em }
img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ ; ; ; ; }
table { margin: 0 0 1.5em; width: 100%; }
/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid; border-color: #ccc #ccc #bbb; background: #e6e6e6; color: rgba(0, 0, 0, .8); font-size: 12px; font-size: 0.75rem; line-height: 1; padding: .6em 1em .4em; }
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { box-shadow: none }
button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { box-shadow: none }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { color: #666; border: 1px solid #F0EDE9; background-color: #f0ede9; }
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus { color: #111 }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"] { padding: 3px }
textarea { padding-left: 3px; width: 100%; }
/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a { color: #555; text-decoration: none; -webkit-transition: color 0.25s ease-in; -moz-transition: color 0.25s ease-in; -ms-transition: color 0.25s ease-in; -o-transition: color 0.25s ease-in; transition: color 0.25s ease-in; }
a:hover, a:focus, a:active { color: #555; outline: 0; }
a:hover, .post-info a:hover, .single_post .post-info a:hover, .copyrights a:hover, #footer-navigation.footer-navigation ul li a:hover { color: #F47555 }
/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.primary-navigation { clear: both; display: block; float: left; width: 100%; background:#494949; }
.primary-navigation ul { list-style: none; margin: 0; padding-left: 0; }
.primary-navigation li { float: left; position: relative; }
.primary-navigation a { text-decoration: none }
.primary-navigation ul ul { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; position: absolute; top: 1.5em; left: -999em; z-index: 99999; }
.primary-navigation ul ul ul { left: -999em; top: 0; }
.primary-navigation ul ul a { width: 200px }
.primary-navigation ul li:hover > ul { left: auto }
.primary-navigation ul ul li:hover > ul { left: 100% }
.menu-item-has-children > a:after { content: "\e802"; font-family: daudbd; position: absolute; right: 19px; }
.primary-navigation#navigation .menu-item-has-children > a { padding-right: 38px }
.primary-navigation { display: block; float: right; width: 100%; text-align: left; max-width: 1170px; }
.primary-navigation a { color: #222222; font-weight: bold; text-align: left; text-decoration: none; padding: 8px 25px; -webkit-transition: none; -moz-transition: none; transition: none; }
.primary-navigation a { padding: 15px 30px; font-weight: normal; font-size: 18px; color: #FFF; text-transform: uppercase; }
.primary-navigation#navigation ul li:hover { background: rgba(0, 0, 0, 0.08) }
.primary-navigation#navigation ul li:hover a { color: #fff!important }
.primary-navigation a .sub { font-size: 11px; font-weight: normal; color: #9B9B9B; }
.primary-navigation#navigation { float: left }
.primary-navigation#navigation ul { margin: 0 auto; min-height: 54px; }
.primary-navigation#navigation ul li { float: left; line-height: 24px; position: relative; border-right: 1px solid rgba(255, 255, 255, 0.22); -webkit-transition: background 0.25s ease-in; -moz-transition: background 0.25s ease-in; -ms-transition: background 0.25s ease-in; -o-transition: background 0.25s ease-in; transition: background 0.25s ease-in; }
.primary-navigation#navigation ul li a, .primary-navigation#navigation ul li a:link, .primary-navigation#navigation ul li a:visited { display: inline-block }
.primary-navigation#navigation > ul > .current a { background: transparent; color: #5a5a5a !important; }
.primary-navigation#navigation ul li li { border-bottom: 0 }
.primary-navigation#navigation ul ul { position: absolute; width: 265px; padding: 20px 0 0 0; padding-top: 0; z-index: 400; font-size: 12px; color: #798189; border-top: 1px solid rgba(255, 255, 255, 0.22); display: none; top: 54px; background: #33BCF2; }
.primary-navigation#navigation ul ul li { padding: 0; border-right: 0; width: 100%; }
.primary-navigation#navigation ul ul a, .primary-navigation#navigation ul ul a:link, .primary-navigation#navigation ul ul a:visited { padding: 13px 45px 13px 20px; position: relative; width: 100%; border-left: 0; background: transparent; border-right: 0; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; border-bottom: 0; margin: 0; }
.primary-navigation#navigation ul ul li:last-child a { border-bottom: none }
.primary-navigation#navigation ul ul ul { left: 265px; top: -1px; }
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 25px; float: left; }
.pagination ul { list-style-type: none; padding: 0; margin: 0; }
.nav-next a, .nav-previous a, .pagination a, .pagination .current { float: left; padding: 15px 15px; background: #FFF; -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); line-height: 1; font-size: 18px; text-transform: uppercase; min-width: 48px; text-align: center; margin-bottom: 5px; }
.nav-previous { float: left }
.nav-next { float: right }
.posts-navigation { clear: both; width: 100%; float: left; background: #27272a; padding: 25px;}
.pagination .current { color: #f47555 }
.pagination a, .pagination .current { margin-right: 1px }
.page-numbers.dots { display: none }
.page-links a { min-width: 40px; line-height: 40px; display: inline-block; text-align: center; background-color: #33BCF2; color: #fff; margin-left: 10px; }
/*-[ Sub-menu toggles (mobile drawer + nav widgets) ]---------------------------*/
.submenu-toggle { display: none }
.widget_nav_menu li { position: relative }
.widget_nav_menu ul ul { display: none; margin-left: 12px; }
.widget_nav_menu li.submenu-open > ul { display: block }
.widget_nav_menu .submenu-toggle { display: block; position: absolute; top: 0; right: 0; width: 36px; height: 34px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.widget_nav_menu .submenu-toggle:after { content: ""; display: block; width: 8px; height: 8px; margin: 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.widget_nav_menu li.submenu-open > .submenu-toggle:after { transform: rotate(-135deg) }
/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ }
/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft { display: inline; float: left; margin-right: 1.5em; }
.alignright { display: inline; float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; }
.clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both }
/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget { margin: 0 0 1.5em }
/* Make sure select elements fit in widgets. */
.widget select { max-width: 100% }
/* Search widget. */
.widget_search .search-submit { display: none }
/* Calender Widget */
#wp-calendar { margin-bottom: 0; background-color: #fff; border: 1px solid #F0EDE9; }
#wp-calendar td { text-align: center; padding: 7px 0; border-top: 1px solid #F0EDE9; border-right: 1px solid #F0EDE9; }
#wp-calendar caption { font-size: 16px; padding-bottom: 10px; font-weight: bold; }
#wp-calendar #prev { text-align: left; padding-left: 12px; }
#wp-calendar #next { text-align: right; padding-right: 12px; }
#wp-calendar thead th { padding: 10px 0; text-align: center; }
/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky { display: block }
.hentry { margin: 0 0 1.5em }
.single .byline, .group-blog .byline { display: inline }
.page-content, .entry-content, .entry-summary { margin: 1.5em 0 0 }
.page-links { clear: both; margin: 0 0 1.5em; }
.single_post { background: #27272a; float: left; width: 100%; padding: 25px; box-sizing: border-box; margin-top: 11px; box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); margin-bottom: 30px; }
.breadcrumb { margin: 20px 0 5px 0; font-size: 14px; color: #a4a4a4; }
.breadcrumb a { font-size: 14px; color: #a4a4a4; }
.breadcrumb a:hover { color: #f47555 }
.breadcrumb div { display: inline-block; margin-right: 10px; }
#content_box { width: 67%; float: left; margin-bottom: 10px; padding: 0; }
.single article.post { width: 100%; }
.entry-header > h1 { margin-top: 0; padding-top: 0; }
.single .entry-header > h1 { margin-bottom: 10px; font-size: 30px; font-weight: normal; }
.post-tags { float: left; width: 100%; margin-bottom: 25px; }
.related-posts article.latestpost .entry-title { font-size: 18px; line-height: 24px; margin-bottom: 0; }
.related-posts article.post header { margin-bottom: 0; min-height: 105px; }
.related-posts h4, .related-posts h2.related-heading, #respond h4, #respond h3, .total-comments, .postauthor h4, .postauthor-top, .comments-title { margin-bottom: 25px; font-weight: 500; text-transform: uppercase; font-size: 22px; margin-top: 10px; line-height: 1; }
h1.page-title { margin-bottom: 20px; font-size: 24px; margin-top: -15px; }
/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none }
.sidebar.c-4-12 { float: right; width: 30.7%; line-height: 20px; max-width: 344px; padding: 22px; background-color: #18181b; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
#sidebar .widget { width: 100%; font-size: 16px; color: #707070; margin-bottom: 30px; display: inline-block; }
.widget > h3 { font-size: 18px; color: #555555; line-height: 18px; margin: 0 0 30px 0; padding: 0; text-transform: uppercase; }
.widget .widget-title { font-weight: 500 }
.widget ul { list-style-type: none; margin: 0; padding: 0; }
.widget_categories li, .widget_archive li, .widget_pages li, .widget_meta li, .widget_recent_entries li, .widget_rss li, .widget_nav_menu li { width: 100%; padding: 5px 0; list-style-type: square; margin-left: 18px; }
.oddad { float: left }
.evenad { float: right }
.sidebar.c-4-12 .advanced-recent-posts li.vertical-small { display: inline-block; padding: 0 0 15px 0; margin-bottom: 15px; width: 100%; }
.sidebar.c-4-12 .advanced-recent-posts li.vertical-small:last-of-type { margin: 0; padding: 0; }
.sidebar.c-4-12 .advanced-recent-posts img { float: left }
.sidebar.c-4-12 .advanced-recent-posts .horizontal-container-inner img { margin-right: 15px }
.sidebar.c-4-12 .advanced-recent-posts li.horizontal-small { padding: 15px 0; overflow: hidden; }
.sidebar.c-4-12 .advanced-recent-posts li.horizontal-small:first-of-type { padding-top: 0 }
.sidebar.c-4-12 .advanced-recent-posts li.horizontal-small:last-of-type { padding-bottom: 0 }
.sidebar.c-4-12 .advanced-recent-posts li.horizontal-small .post-data { overflow: hidden }
.sidebar.c-4-12 .advanced-recent-posts li.horizontal-small .post-info { margin-top: 5px }
.widget .vertical-small .post-data { float: left; width: 100%; padding: 15px; box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
#sidebar .widget.vertical-small .post-data { background: #fff }
.widget .vertical-small .post-title { clear: both; margin-bottom: 5px; float: left; width: 100%; font-size: 20px; line-height: 28px; }
.widget .vertical-small .post-info { width: 100%; float: left; margin-bottom: 10px; }
.post-info > span, .widget .vertical-small .post-info > span { margin-right: 35px }
.post-info > span:last-of-type { margin-right: 0 }
.single .thecategory { padding: 8px 15px 8px 12px; margin-left: 0; margin-bottom: 15px; float: left; background-color: #33bcf2; color: #fff; }
.single .thecategory a { color: inherit }
.tagcloud a { background: #f47555; padding: 5px 10px; display: inline-block; color: #ffffff; font-size: 14px !important; margin: 0 0 4px 0; -webkit-transition: background 0.25s ease-in; transition: background 0.25s ease-in; }
.tagcloud a:hover { background: #33bcf2 }
#commentform input#submit { line-height: 1; background-color: #F47555; text-transform: uppercase; padding: 12px 15px; color: #fff; text-decoration: none; float: left; cursor: pointer; display: inline-block; border: none; transition: all 0.2s linear; font-weight: normal; font-size: 18px; margin-top: 5px; text-shadow: none; }
#commentform input#submit:hover { background-color: #33bcf2 }
/*--------------------------------------------------------------
10.21 Author Box
--------------------------------------------------------------*/
.author-wrap { border: 1px solid #E9E9E9; min-height: 162px; padding-right: 20px; margin-bottom: 30px; }
.postauthor img { float: left; margin: 0 20px 0 0; width: 21.968%; }
.postauthor h5 { font-weight: normal; font-size: 20px; padding: 0; margin: 20px 0 0 0; line-height: 1; text-transform: capitalize; color: #555; display: inline-block; }
.postauthor p { overflow: hidden }
.postauthor, .related-posts, #comments { float: left; width: 100%; }
/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a { word-wrap: break-word }
.bypostauthor { display: block }
#comments label { min-width: 80px; display: inline-block; }
.comment-form-comment label { margin-bottom: 5px }
.comment-list { list-style-type: none; padding: 0; margin: 0; }
.comment-list li { margin: 0 0 25px 0; padding-left: 0; float: left; width: 100%; position: relative; }
.comment-list li { list-style-type: none }
.comment-list li .children { margin-top: 20px ;float: left;width: 100%;margin-left: 0;}
#comments .avatar { float: left; margin-right: 20px; margin-top: 7px; }
.comment-meta { position: relative }
.comment-metadata a { color: #a4a4a4; font-size: 12px; text-transform: capitalize; position: absolute; right: 0; top: 0; }
.comment-metadata time { margin-right: 30px }
.comment-metadata a:hover { color: #F47555 }
.comment-content { overflow: hidden }
.comment-content p:last-child { margin-bottom: 0 }
.reply { margin-top: 0px; padding-bottom: 0px; overflow: hidden; float: right; }
.reply a { padding: 0; color: #a4a4a4; font-size: 12px; }
.reply a:hover { color: #F47555 }
.says {display:none;}
/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ display: none;     }
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer { display: block }
/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; }
/* Make sure embeds and iframes fit their containers. */
embed, iframe, object { max-width: 100% }
/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; }
.wp-caption-text { text-align: center }
.wp-caption .wp-caption-text { margin: 0.8075em 0 }
/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery { margin-bottom: 1.5em }
.gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; }
.gallery-columns-2 .gallery-item { max-width: 50% }
.gallery-columns-3 .gallery-item { max-width: 33.33% }
.gallery-columns-4 .gallery-item { max-width: 25% }
.gallery-columns-5 .gallery-item { max-width: 20% }
.gallery-columns-6 .gallery-item { max-width: 16.66% }
.gallery-columns-7 .gallery-item { max-width: 14.28% }
.gallery-columns-8 .gallery-item { max-width: 12.5% }
.gallery-columns-9 .gallery-item { max-width: 11.11% }
.gallery-caption { display: block }
/*-----------------------------------
 404 Page
------------------------------------*/
.error404 .site-content, .search-no-results .site-content { margin-top: 20px; padding-bottom: 100px; }
h1.big { font-size: 100px }
/*-----------------------------------
 Main Content
------------------------------------*/
.main-container { width: 100%; max-width: 1170px; margin: 0 auto; clear: both; display: block; padding: 0; }
.container { max-width: 1170px; margin: 0 auto; }
/*-[header]-----------------------------------*/
#masthead { background: #27272a; -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); text-align: center; margin: 0 0 10px; padding: 0; border-radius: 0 0 10px 10px; }
.single #masthead, .page-template-default #masthead, .page-template-page-blog #masthead { margin-bottom: 0 }
.site-branding { margin: 0 0 0 25px; overflow: hidden; float: left; display: inline-block; }
#logo { float: left; display: inline-block; line-height: 1; position: relative; margin: 12px 0; }
#logo a { float: left; line-height: 1; }
#logo.text-logo { margin: 32px 0; font-size: 2em; }
#masthead .header-search { float: none; width: 100%; max-width: 453px; margin: 12px auto; display: inline-block; text-align: left; }
#masthead #searchform { width: 100%; float: left; }
#masthead #s { margin: 0 !important; width: 100%; background: #EFEBE7; border-color: #EFEBE7; }
.header-social { float: right; display: inline-block; margin: 12px 25px 12px 0; }
.header-social a { padding: 12px 0px 9px; float: left; font-size: 20px; line-height: 1; width: 42px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin-right: 3px; text-align: center; }

.header-social a.header-facebook { background: #375593 }
.header-social a.header-twitter { background: #0eb6f6 }
.header-social a.header-google-plus { background: #dd4b39 }
.header-social a.header-youtube-play { background: #e32c26 }
.header-social a svg { fill: #fff }
.header-social a:last-child { margin-right: 0 }
.header-social a i { color: #fff }
.header-social a i:before { margin-right: 0 }


.post-cards {
    --cards: 2;
    display: grid;
    grid-template-columns: repeat(var(--cards),minmax(0,1fr));
    grid-gap: 20px;
    margin: auto 10px
}
@media screen and (min-width: 480px) {
    .post-cards {
        --cards: 3
    }
}

@media screen and (min-width: 768px) {
    .post-cards {
        --cards: 4
    }

    .related-posts>.clear {
        --cards: 4
    }
}

@media screen and (min-width: 1024px) {
    .post-cards {
        --cards: 5;
        margin: auto 30px!important;
        gap: 24px
    }
}


.latestpost { 
        width: 100%;
    float: left;
    margin-bottom: 30px;
    margin-right: 2.6%;
    background: #27272a;
    box-shadow: 0px 0px 5px 1px rgb(220 20 60);
    border-radius: 10px;
    overflow: hidden;
}

.featured-thumbnail { float: left; max-width: 100%; width: 100%; }
#featured-thumbnail, .featured-thumbnail-link { float: left; max-width: 100%; display: block; position: relative; width: 100%; }
.featured-thumbnail img { margin-bottom: 0; width: 100%; float: left; aspect-ratio: 2/3; object-fit: cover; height: auto; }
.entry-title a{color:#fff}
.latestpost .title { display: block; margin-bottom: 7px; }
.latestpost.featuredpost .title { margin-bottom: 0px }
.latestpost header { padding: 12px 2px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin-bottom: 0; min-height: 118px; overflow: hidden; }
.latestpost.featuredpost header { min-height: 118px }
.post-info { display: block; color: #A4A4A4; float: left; clear: both; width: 100%; font-size: 13px; text-transform: capitalize; line-height: 2; }
.single .post-info { margin-bottom: 20px }
.post-info a, .single_post .post-info a { color: #A4A4A4 }
.post-info > span:last-child { margin-right: 0 }
.post-info i { margin-right: 3px }
.post-info > span { margin-right: 35px }
.post-info > span:first-child i:before { margin-left: 0 }
.post-label { position: absolute; top: 0; right: 0; padding: 0 15px; line-height: 44px; background: #33BCF2; color: #fff; float: left; }
.post-label svg { float: left; fill: #fff; }
.post-label span { margin-left: 5px; line-height: 21px; }
.no-results .page-content { margin-bottom: 50px; float: left; margin-top: 0; }
/*-[ Search Form ]------------------*/
#searchform { padding: 0; float: left; clear: both; width: 100%; position: relative; }
.article #searchform { max-width: 300px }
#searchform .sbutton, #searchform #searchsubmit { right: 0; top: -2px; padding: 9px 0; float: right; border: 0; width: 42px; height: 42px; cursor: pointer; text-align: center; padding-top: 10px; color: #a4a4a4; -webkit-transition: all 0.25s linear; -moz-transition: all 0.25s linear; transition: all 0.25s linear; background: #F47555; fill: #fff; z-index: 10; position: absolute; border: 0; vertical-align: top; text-shadow: none; }
#searchform .icon-search { font-size: 20px; top: 0px; color: #FFF; background: #F47555; position: absolute; right: 0; padding: 0; height: 42px; width: 42px; text-align: center; line-height: 42px; z-index: 100; cursor: pointer; }
#s { width: 100%; background-color: #fff; float: left; padding: 8px 0; text-indent: 10px; color: #a4a4a4; border: 1px solid #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; height: 42px; outline: none; font-size: 14px; }
.site-footer { position: relative; overflow: hidden; clear: both; background: #27272a; -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); }
.site-footer { position: relative; overflow: hidden; clear: both; background: #27272a; -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); }
.site-info.container { width: 100%; clear: both; padding-bottom: 29px; padding-top: 38px; color: #A4A4A4; font-size: 14px; font-weight: normal; overflow: hidden; }
.copyrights a { color: #A4A4A4; border-bottom: 1px dotted; }
a.toplink { font-size: 40px; line-height: 15px; position: absolute; top: 50%; left: 50%; margin-left: -13px; margin-top: -18px; color: #A4A4A4; }
a.toplink i { line-height: 15px }
.copyrights { float: left }
#footer-navigation.footer-navigation { float: right }
#footer-navigation.footer-navigation ul { list-style-type: none }
#footer-navigation.footer-navigation ul.sub-menu { display: none!important }
#footer-navigation.footer-navigation ul li { display: inline-block; padding-right: 12px; padding-left: 12px; border-right: 1px solid #D2D2D2; line-height: 1; }
#footer-navigation.footer-navigation ul li:last-of-type { border-right: 0; padding-right: 0; }
#footer-navigation.footer-navigation ul li:first-child { padding-left: 0 }
#footer-navigation.footer-navigation ul li:last-child { padding-right: 0; border-right: 0; }
#footer-navigation.footer-navigation ul li a { color: #A4A4A4 }
#footer-navigation.footer-navigation ul li a:after { display: none }
.menu-primary-container li { position: relative }
.menu-primary-container ul.sub-menu { margin: 4px 0 -7px 10px }
/*-----------------------------------
 Responsive
------------------------------------*/
@media screen and (max-width: 1230px) {
      .main-container, .site-info.container { width: 96% }
      .oddad, .evenad { width: 45% }
}
/* Tablet & mobile: single column. (Header + menu: see "Mobile header & navigation" at the end of this file.) */
@media screen and (max-width: 980px) {
      article.latestpost .entry-title { font-size: 20px; line-height: 1.4; }
      .post-info > span { margin-right: 10px }
      .single .entry-header > h1 { font-size: 24px; line-height: 1.4; }
      .postauthor img { padding: 20px; padding-right: 0; padding-bottom: 0; box-sizing: content-box; }
      .copyrights { float: none; text-align: center; }
      #footer-navigation.footer-navigation { float: none }
      #footer-navigation.footer-navigation ul { text-align: center; width: 100%; margin-top: 10px; }
      a.toplink { top: 13% }
      #content_box { width: 100%; float: none; margin-bottom: 30px; overflow: hidden; }
      .sidebar.c-4-12 { width: 100%; max-width: none; float: none; margin: 0 auto; }
      #commentform .comment-form-cookies-consent label { clear: both; width: 100%; margin-left: 0; }
}
@media screen and (max-width: 640px) {
      .single_post { padding: 20px 15px }
}
@media screen and (max-width: 550px) {
      .comment-metadata a { position: static }
}
@media screen and (max-width: 420px) {
      .featured-thumbnail { overflow: hidden; }
}


.buttontg:hover {
    background-color: #e7e7e7;
    border: 2px solid #555;
    color: #000;
}
.buttontg {
    background-color: #009de1;
    color: #fff;
    align-items: center;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}
.button {
    color: #fff;
    padding: 8px 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 2px 1px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
}
button {
    color: #fff;
    padding: 8px 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 2px 1px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
}
.button5 {
    background-color: #555;
    color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    margin-bottom: 4px;
}
.button4k {
    background-color: #FFAA2C;
    color: black;
    border-color: #EDBA26;
    align-items: center;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}

.alert {
    padding: 5px;
    background-color: #2d964b;
    margin-bottom: 20px;
    margin-top: 10px;
    width: 90%;
}
.alert {
    border-radius: 5px;
}
.closebtn {
    margin-left: 15px;
    margin-top: 4.5px;
    color: #fff;
    font-weight: 700;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.latestpost .entry-title, .latestpost .entry-title a {
    font-weight: normal;
    font-size: 15px;
    color: #ffffff;
    line-height: 22 px;
}
.latestpost .entry-title {
    display: block;
    margin-bottom: 7px;
    font-weight: 400;
    font-size: 15px !important;
    color: #ffffff;
    line-height: 22px !important;
    text-align: center;
}

.related-posts {
    margin-top: 20px;
    clear: both;
    float: left;
    width: 100%
}

.related-posts>.crd {
    --cards: 2;
    display: grid;
    grid-template-columns: repeat(var(--cards),minmax(0,1fr));
    grid-gap: 20px
}

.related-posts .latestpost .title,.related-posts .latestpost .title a {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 24px
}

.related-posts article header {
    margin-bottom: 0;
    border-top: 0;
    min-height: 120px;
    border-top: 0
}

@media screen and (min-width: 768px){
.related-posts>.crd {
    --cards: 4 ;
}
}
/*ADDITIONAL CSS*/
.button5 {
    background-color: #555555;
    color: white;
    border: 1px solid #e7e7e7;
    border-radius: 10%;
	
}
.button5nt {
    background: linear-gradient(50deg, #db0606, #dd0e35);
    border: 1px solid #e7e7e7;
    border-radius: 10%;
}
/*.button:hover{
    background: linear-gradient(50deg, #db0606, #dd0e35);
    border:1px solid #111;
}*/
.button5:hover{
    background: linear-gradient(80deg, lightskyblue,cyan, violet)!important;
    border:1px solid #111;
	  color: #000;
	font-weight: 400;
	
}
.button5nt:hover{
    background: linear-gradient(80deg, cyan, violet)!important;
    border:1px solid #111 !important;
	color: #000 !important;
}
.buttonanme {
	  background-color: #555555;
    color: white;
    border: 1px solid #e7e7e7;
    border-radius: 10%;
}
.buttonanme:hover{
	background: linear-gradient(75deg,darkorchid,purple)!important;
		border: 1px solid #ffff !important;
}

.button:hover{
    background: linear-gradient(75deg, #db0606, #dd0e35);
    border:1px solid #ffff!important;
}


.button {
    color: white;
    padding: 10px 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    margin: 2px 1px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;

}
.button69:hover{
    background: linear-gradient(80deg, lightskyblue,cyan, violet);
    border:1px solid #111;
	  color: #000;
	font-weight: 400;
}
.button69 {
    background-color: #009DE1;
    color: white;
    border: 1px solid #e7e7e7;
    border-radius: 10%;
    margin-top: 10px;
	  margin-bottom: 10px
} 

.latestpost .entry-title{
	  font-family: alef,'roboto'!important;
    font-size: 15px!important;
    font-weight: 700;
    line-height: 22px!important;
}


#site-header {
    position: relative;
    float: left;
    width: 100%;
    z-index: 99;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0px 1px 2px 0px rgb(0 0 0 / 5%);
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.button6 {
    background-color: #009DE1;
    color: #FFF;
    border-color: #0088cc;
    padding: 8px 6px;
    text-transform: uppercase;
    align-items: center;
    border-radius: 10%;
}


.button18 {
    background-color: #FFAA2C;
    color: #000;
    border-color: #EDBA26;
    padding: 10px 8px;
    text-transform: uppercase;
    align-items: center;
    border-radius: 10%;
}
.button18:hover{
    background: linear-gradient(80deg, violet, red);
    border:1px solid #111;
	color: white;
}
.thecontent a, .post .tags a, #commentform a, .author-posts a:hover, .fn a { color: #494949; }
a { text-decoration: none; color: #33bcf2; -webkit-transition: color .25s ease-in; transition: color .25s ease-in; background-color: unset; }

#searchform .fa-search {
    border-radius: 100%;
    background-color: #34963c;
}
#searchform .icon-search {
    font-size: 20px;
    top: 1px;
    color: #FFF;
    background: #0fc1e9;
    position: absolute;
    right: 0;
    padding: 0;
    height: 42px;
    width: 45px;
    text-align: center;
    line-height: 42px;
    z-index: 100;
    cursor: pointer;
    border-radius: 7px
}
.menu-item-has-children>a:after {
    content: "\f0d7";
    font-family: FontAwesome;
    position: absolute;
    right: 20px;
}


#header .header-search {
    float: none;
    width: 100%;
    max-width: 453px;
    margin-bottom: 23px;
    margin-top: 31px;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    text-align: left;

}	


#icon-search:before {
    content: "\f002";
}
#masthead #s {
margin: 0 !important;
    width: 100%;
    background: #18181b!important;
    border-color: #3f3f46;
    border-radius: 10px;
}
#s {
    width: 100%;
    background-color: #fff;
    float: left;
    padding: 8px 0;
    text-indent: 10px;
    color: #a4a4a4;
    border: 1px solid #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 42px;
    outline: none;
    font-size: 14px;
}
#searchform .icon-search {
    font-size: 20px;
    top: 0px;
    color: #FFF;
    background: #494949;
    position: absolute;
    right: 0;
    padding: 0;
    height: 42px;
    width: 42px;
    text-align: center;
    line-height: 42px;
    z-index: 100;
    cursor: pointer;
    border-radius: 10px;
}
#searchform .sbutton, #searchform #searchsubmit {
    right: 0;
    top: -px;
    padding: 9px 0;
    float: right;
    border: 0;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
    padding-top: 10px;
    color: #a4a4a4;
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    transition: all 0.25s linear;
    background: #494949;
    fill: #fff;
    z-index: 10;
    position: absolute;
    border: 0;
    vertical-align: top;
    text-shadow: none;
    border-radius: 10px;
}
.primary-navigation a {
    padding: 15px 30px;
	  box-sizing: border-box;
    font-weight: normal;
    font-size: 15px;
    color: #FFF;
    text-transform: uppercase;
}

.primary-navigation#navigation {
    float: left;
}
.primary-navigation {
    display: block;
    float: right;
    width: 100%;
    text-align: left;
    max-width: 1170px;

}
ul {
    list-style: disc;
    padding: 0;
    margin: 0;
}
.primary-navigation#navigation ul li {
    float: left;
    line-height: 15px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-transition: background 0.25s ease-in;
    -moz-transition: background 0.25s ease-in;
    -ms-transition: background 0.25s ease-in;
    -o-transition: background 0.25s ease-in;
    transition: background 0.25s ease-in;
    font-family: 'Roboto';
    border-radius: 10px 10px 10px 10px;

	
}


#header {
    background-color: #373737 !important;
    border-radius: 0 0 10px 10px !important;


}

.header-social a {
    padding: 8px;
    float: left;
    font-size: 18px;
    line-height: 1;
    width: 120px;
    box-sizing: border-box;
    margin-right: 3px;
    text-align: center;
    border-radius: 15%;
}
a {
    color: #e4e4e7;
}

.primary-navigation#navigation ul ul {
    position: absolute;
    width: 265px;
    padding: 20px 0 0 0;
    padding-top: 0;
    z-index: 400;
    font-size: 12px;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    display: none;
    top: 54px;
    background: #494949;
}
body, button, input, select, textarea {
    font-family: "Roboto", sans-serif;
    color: #707070;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
}
.primary-navigation#navigation a {
    padding: 15px 30px;
    box-sizing: border-box;
	  

}
.primary-navigation#navigation{
	border-radius: 0 0 10px 10px
}
.primary-navigation{
	margin-top: 0px
}
.alert-danger {
    color: #fff;
    background-color: #F66459;
    border-color: #ebccd1;
}
.alert5 {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}


/*Download Buttons Hover Css Below*/


.latestpost {
    width: 100%;
    float: left;
    margin-bottom: 30px;
    margin-right: 2.6%;
    background: #27272a;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    border-radius: 10px;
    overflow: hidden;
}

@media screen and (max-width:480px){
	div#imbut{
		margin-bottom:25px;
	}
	.primary-navigation#navigation {
    border-radius: 0 0 10px 10px;
}
}
.latestpost{
    border: 1px solid #000;
    box-shadow: 0px 0px 5px #fff;
	-webkit-transition: all .25s linear;
	background: #27272a;
}
.latestpost:hover{
	 box-shadow: 0px 0px 5px cyan; 
	 border: 3px solid lime;
}
img.attachment-full.size-full.wp-post-image:hover {
    filter: brightness(0.5);
}
.entry-title a:hover {
    color: grey;
}

/*post content alerts class*/
.alert-danger {
    color: #fff;
    background-color: #F66459;
    border-color: #ebccd1;
}
.alert {
    padding: 5px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-success {
    color: #fff;
    background-color: #2FB986;
    border-color: #d6e9c6;
}
.alert-warning {
    color: #fff;
    background-color: #FFAA2C;
    border-color: #faebcc;
}
.alert-info {
    color: #fff;
    background-color: #47A8F5;
    border-color: #bce8f1;
}


/* Heading levels used for cards after H1 cleanup */
.entry-header > h2, .entry-header > h3 { margin-top: 0; padding-top: 0; }


/* ==========================================================
   Sidebar widgets (dark): Search, Join Telegram, Categories, Recent Posts
   ========================================================== */
#sidebar { padding: 20px; background: #09090b; }
#sidebar .widget { display: block; width: 100%; margin: 0 0 20px; padding: 0; color: #d4d4d8; }

/* Boxed widgets (everything except search) */
#sidebar .widget:not(.widget_search) { background: #18181b; padding: 0 20px 20px; border-radius: 2px; }
#sidebar .widget:not(.widget_search) > .widget-title,
#sidebar .widget:not(.widget_search) > h3 {
	margin: 0 -20px 20px; padding: 18px 20px 14px;
	font-size: 18px; line-height: 20px; font-weight: 500; text-transform: uppercase;
	color: #52525b; border-bottom: 1px solid #3f3f46;
}

/* Search */
#sidebar .widget_search { padding: 0; }
#sidebar #searchform { position: relative; float: none; display: block; width: 100%; max-width: none; margin: 0; }
#sidebar #searchform fieldset { margin: 0; padding: 0; border: 0; min-width: 0; position: relative; }
#sidebar #searchform #s {
	display: block; float: none; width: 100%; height: 52px; margin: 0;
	padding: 0 64px 0 14px; text-indent: 0;
	background: #18181b; color: #d4d4d8; border: 1px solid #27272a; border-radius: 2px;
	font-size: 15px;
}
#sidebar #searchform #s::placeholder { color: #a1a1aa; opacity: 1; }
#sidebar #searchform #s:focus { border-color: #52525b; }
#sidebar #searchform .sbutton {
	top: 0 !important; right: 0; width: 52px; height: 52px; padding: 0; margin: 0;
	background: #3f3f46; color: #fff; border-radius: 10px;
}
#sidebar #searchform .sbutton:hover { background: #52525b; }
#sidebar #searchform .sbutton .icon-search {
	position: static; display: block; width: 100%; height: 100%;
	background: none; color: #fff; font-size: 24px; line-height: 52px; border-radius: 0;
}

/* Telegram banner */
#sidebar .telegram-banner { display: block; margin-top: 10px; line-height: 0; }
#sidebar .telegram-banner img { display: block; width: 100%; height: auto; max-width: 337px; margin: 0 auto; }
#sidebar .telegram-banner:hover img { opacity: .92; }

/* Categories as tag chips */
#sidebar .widget_categories ul,
#sidebar .widget_categories ul.children { display: block; margin: 0; padding: 0; list-style: none; overflow: hidden; }
#sidebar .widget_categories li {
	display: inline-block; width: auto; margin: 0 6px 10px 0; padding: 0;
	list-style: none; float: left; font-size: 0; color: #a1a1aa; /* hides post-count text */
}
#sidebar .widget_categories li a {
	position: relative; display: inline-block; padding: 6px 12px 6px 26px;
	font-size: 14px; line-height: 20px; color: #fff; text-shadow: 0 1px 1px #000;
	background: linear-gradient(#6b6b6f, #3d3d41);
	border-bottom: 1px solid #222;
	clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
	-webkit-clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
}
#sidebar .widget_categories li a:before {
	content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3px;
	background: #111; border-radius: 50%; box-shadow: 0 1px 0 rgba(255,255,255,.25);
}
#sidebar .widget_categories li a:hover { background: linear-gradient(#7d7d82, #4a4a4f); color: #fff; }
#sidebar .widget_categories li ul { display: none; }

/* Recent posts (core widget) */
#sidebar .widget_recent_entries ul { margin: 0; padding: 0 0 0 18px; list-style: square; }
#sidebar .widget_recent_entries li { display: list-item; width: auto; margin: 0 0 12px; padding: 0; list-style: square; color: #d4d4d8; }
#sidebar .widget_recent_entries li::marker { color: #d4d4d8; }
#sidebar .widget_recent_entries li a { color: #fff; font-size: 16px; line-height: 1.4; }
#sidebar .widget_recent_entries li a:hover { color: #33bcf2; }
#sidebar .widget_recent_entries .post-date { display: block; font-size: 12px; color: #71717a; }

/* Recent posts (MTS widget) on dark */
#sidebar .widget .vertical-small .post-data { background: #18181b; box-shadow: none; padding: 0; }
#sidebar .widget .vertical-small .post-title a { color: #fff; }


/* Sidebar: block-widget markup + final look (matches design screenshots) */
#sidebar .widget_block { background: #18181b; padding: 0 20px 20px; border-radius: 2px; margin: 0 0 20px; }
#sidebar .widget_block h2, #sidebar .widget_block .wp-block-heading {
	margin: 0 -20px 20px; padding: 18px 20px 14px; font-size: 22px; line-height: 24px; font-weight: 500;
	text-transform: uppercase; color: #52525b; border-bottom: 1px solid #3f3f46;
}
#sidebar .wp-block-categories-list { margin: 0; padding: 0; list-style: none; overflow: hidden; }
#sidebar .wp-block-categories-list li { float: left; margin: 0 6px 10px 0; font-size: 0; list-style: none; }
#sidebar .wp-block-categories-list li a {
	position: relative; display: inline-block; padding: 6px 12px 6px 26px; font-size: 14px; line-height: 20px;
	color: #fff; text-shadow: 0 1px 1px #000; background: linear-gradient(#6b6b6f, #3d3d41);
	clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
}
#sidebar .wp-block-categories-list li a:before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3px; background: #111; border-radius: 50%; }
#sidebar .wp-block-latest-posts__list { margin: 0; padding: 0 0 0 18px; list-style: square; }
#sidebar .wp-block-latest-posts__list li { margin: 0 0 12px; color: #c4c4c8; }
#sidebar .wp-block-latest-posts__list a { color: #c4c4c8; font-size: 18px; line-height: 1.4; }
#sidebar .widget:not(.widget_search) > .widget-title { font-size: 22px; }
#sidebar .widget_recent_entries li a { color: #c4c4c8; font-size: 18px; }


/* Home page description block */
.home-description { clear: both; float: left; width: 100%; padding: 20px 0 30px; margin: 0; box-sizing: border-box; }
.home-description p { margin: 0 0 1.2em; }
.home-description h1, .home-description h2, .home-description h3 { color: #d4d4d8; margin: 0 0 .6em; }
.home-description a { text-decoration: underline; }


/* ==========================================================
   Responsive media & content safety (all screen sizes)
   ========================================================== */
img, video, iframe, embed, object { max-width: 100%; }
.entry-summary img { height: auto; }
/* Replaces former inline styles (quick buttons, notice bar, ads, social buttons) */
#imbut { text-align: center; }
.bf-ad { text-align: center; margin: 10px 0; }
.alert { text-align: center; margin-left: auto; margin-right: auto; }
.alert .alert-text { font-size: 16px; }
.alert .alert-link { color: yellow; }
.header-social a { color: #fff; }
.header-social a span { font-size: 13px; }
/* Cards live in a CSS grid: ignore any old float-era margins / clears / widths. */
.post-cards > article.latestpost, .related-posts > .crd > article.latestpost { margin: 0 !important; float: none !important; clear: none !important; width: auto !important; min-width: 0; }
.latestpost .entry-title, .latestpost .entry-title a { overflow-wrap: break-word; word-wrap: break-word; }


/* ==========================================================
   Mobile header & navigation
   Breakpoint: 980px (keep in sync with js/customscripts.js)
   Mobile bar:  [ Menu ]      [ LOGO ]      [ search  hamburger ]
   ========================================================== */

/* Hidden on desktop */
.mobile-left, .mobile-right, .mobile-menu-head, .mobile-menu-backdrop { display: none; }

/* ---- Desktop / laptop header (>= 981px): same look, but wraps gracefully instead of overflowing ---- */
@media screen and (min-width: 981px) {
	#masthead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 14px; }
	#masthead::before, #masthead::after { display: none; }
	#masthead .site-branding { float: none; flex: 0 0 auto; max-width: 100%; }
	#masthead .header-search { flex: 1 1 260px; width: auto; min-width: 0; max-width: 453px; margin-left: auto; margin-right: auto; }
	#masthead .header-social { float: none; flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0 25px 0 0; max-width: 100%; }
	#masthead .header-social a { float: none; }
	#masthead nav#navigation.primary-navigation { flex: 0 0 100%; }
	/* Desktop drop-downs (pure CSS, also opens with keyboard focus) */
	.primary-navigation#navigation li:hover > ul, .primary-navigation#navigation li:focus-within > ul { display: block; }
}
@media screen and (min-width: 981px) and (max-width: 1400px) {
	#masthead .header-social a { width: auto; min-width: 42px; padding: 8px 10px; }
	#masthead .header-social a span { display: none; }
}

/* ---- Tablet & mobile header (<= 980px) ---- */
@media screen and (max-width: 980px) {
	#masthead {
		display: grid;
		grid-template-columns: minmax(72px, 1fr) minmax(0, auto) minmax(72px, 1fr);
		align-items: center;
		position: relative;
		text-align: left;
		padding: 0 6px;
		column-gap: 4px;
	}
	#masthead::before, #masthead::after { display: none; }

	/* Left: the word "Menu" */
	body #masthead .mobile-left { display: flex; grid-column: 1; grid-row: 1; justify-self: start; align-items: center; }
	/* Centre: logo (side columns are equal, so it is exactly centred) */
	body #masthead .site-branding { grid-column: 2; grid-row: 1; justify-self: center; float: none; width: auto; max-width: 100%; min-width: 0; margin: 0 !important; overflow: visible; text-align: center; }
	/* Right: search icon + hamburger */
	body #masthead .mobile-right { display: flex; grid-column: 3; grid-row: 1; justify-self: end; align-items: center; }

	body #masthead .site-branding #logo,
	body #masthead .site-branding #logo.text-logo { float: none; display: block; margin: 8px 0 !important; line-height: 1; text-align: center; }
	body #masthead .site-branding #logo a { float: none; display: inline-block; max-width: 100%; }
	body #masthead .site-branding #logo.text-logo { font-size: clamp(18px, 5.2vw, 28px) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	body #masthead .site-logo-img { width: auto !important; max-width: 100% !important; height: auto !important; max-height: 42px; display: block; margin: 0 auto; }

	/* "Menu" word + icon buttons */
	#masthead .mobile-left button, #masthead .mobile-right button {
		-webkit-appearance: none; appearance: none; margin: 0; border: 0; border-radius: 6px; background: transparent;
		color: #e4e4e7; cursor: pointer; font: inherit; line-height: 1; min-width: 44px; min-height: 44px; padding: 0 8px;
		display: inline-flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent;
	}
	#masthead .mobile-menu-word { font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; padding: 0 10px 0 8px; }
	#masthead .mobile-left button:hover, #masthead .mobile-right button:hover,
	#masthead .mobile-left button:focus-visible, #masthead .mobile-right button:focus-visible { background: rgba(255, 255, 255, .1); outline: 0; }
	#masthead .mobile-search-toggle svg { display: block; }
	#masthead .mobile-hamburger { flex-direction: column; gap: 5px; }
	#masthead .mobile-hamburger .bar { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
	body.mobile-menu-active #masthead .mobile-hamburger .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	body.mobile-menu-active #masthead .mobile-hamburger .bar:nth-child(2) { opacity: 0; }
	body.mobile-menu-active #masthead .mobile-hamburger .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	body.mobile-search-active #masthead .mobile-search-toggle { background: rgba(255, 255, 255, .14); }

	/* Search: its own row under the bar, opened by the search icon */
	body #masthead .header-search { display: none; grid-column: 1 / -1; grid-row: 2; float: none; width: 100%; max-width: none; margin: 0 !important; padding: 2px 8px 12px; box-sizing: border-box; }
	body.mobile-search-active #masthead .header-search { display: block; }
	#masthead .header-search #searchform { float: none; width: 100%; }

	/* Social buttons: own row, wrap & centre */
	body #masthead .header-social { grid-column: 1 / -1; grid-row: 3; float: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 !important; padding: 0 8px 12px; width: auto; }
	#masthead .header-social:empty { display: none; padding: 0; }
	#masthead .header-social a { float: none; flex: 1 1 auto; width: auto; min-width: 96px; margin: 0; padding: 8px 10px; }

	/* ---- Menu drawer ---- */
	html.mobile-menu-lock, html.mobile-menu-lock body { overflow: hidden; }

	body #masthead #navigation.primary-navigation {
		position: fixed; top: 0; right: 0; left: auto; bottom: 0; z-index: 100000;
		display: flex; flex-direction: column; float: none; clear: none;
		width: min(86vw, 340px); max-width: 100%; height: 100%; margin: 0; padding: 0;
		overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
		border: 0; border-left: 1px solid rgba(255, 255, 255, .12); border-radius: 0; box-sizing: border-box;
		box-shadow: -8px 0 30px rgba(0, 0, 0, .5);
		transform: translateX(105%); visibility: hidden;
		transition: transform .3s ease, visibility 0s linear .3s;
	}
	body.mobile-menu-active #masthead #navigation.primary-navigation { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
	body.admin-bar #masthead #navigation.primary-navigation { top: 46px; height: calc(100% - 46px); }
	@media screen and (min-width: 783px) { body.admin-bar #masthead #navigation.primary-navigation { top: 32px; height: calc(100% - 32px); } }

	#navigation .mobile-menu-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; padding: 6px 8px 6px 20px; background: inherit; border-bottom: 1px solid rgba(255, 255, 255, .14); }
	#navigation .mobile-menu-title { color: #fff; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
	#navigation .mobile-menu-close { -webkit-appearance: none; appearance: none; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
	#navigation .mobile-menu-close:hover, #navigation .mobile-menu-close:focus-visible { background: rgba(255, 255, 255, .12); outline: 0; }

	.mobile-menu-backdrop { display: block; position: fixed; inset: 0; z-index: 99999; background: rgba(0, 0, 0, .65); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
	body.mobile-menu-active .mobile-menu-backdrop { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }

	/* Menu list */
	body #masthead #navigation.primary-navigation .menu { display: block !important; float: none; width: 100%; min-height: 0; margin: 0; padding: 0 0 28px; list-style: none; background: transparent; }
	body #masthead #navigation.primary-navigation ul li { position: relative; display: block; float: none; width: 100% !important; margin: 0; padding: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; line-height: 1.3; background: transparent; }
	body #masthead #navigation.primary-navigation ul li:hover { background: rgba(255, 255, 255, .05); }
	body #masthead #navigation.primary-navigation ul li a,
	body #masthead #navigation.primary-navigation ul li a:link,
	body #masthead #navigation.primary-navigation ul li a:visited { display: flex; align-items: center; float: none; width: 100% !important; min-height: 48px; margin: 0; padding: 10px 56px 10px 20px !important; text-indent: 0; box-sizing: border-box; border: 0 !important; border-radius: 0; background: transparent; }
	body #masthead #navigation.primary-navigation ul li a:hover { color: #fff !important; }
	body #masthead #navigation.primary-navigation li.current-menu-item > a,
	body #masthead #navigation.primary-navigation li.current_page_item > a { background: rgba(255, 255, 255, .08); }

	/* Sub-menus: collapsed until the arrow is tapped */
	body #masthead #navigation.primary-navigation ul ul { display: none; position: static; left: auto; top: auto; float: none; width: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; background: rgba(0, 0, 0, .2); }
	body #masthead #navigation.primary-navigation li.submenu-open > ul { display: block; }
	body #masthead #navigation.primary-navigation ul ul li { border-bottom-color: rgba(255, 255, 255, .06); }
	body #masthead #navigation.primary-navigation ul ul a { padding-left: 34px !important; font-size: .93em; }
	body #masthead #navigation.primary-navigation ul ul ul a { padding-left: 48px !important; }
	body #masthead #navigation.primary-navigation ul ul ul ul a { padding-left: 62px !important; }
	#navigation .submenu-toggle { display: block; position: absolute; top: 0; right: 0; z-index: 1; width: 52px; height: 48px; margin: 0; padding: 0; border: 0; border-left: 1px solid rgba(255, 255, 255, .1); background: transparent; color: #fff; cursor: pointer; -webkit-appearance: none; appearance: none; }
	#navigation .submenu-toggle:after { content: ""; display: block; width: 9px; height: 9px; margin: -4px auto 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
	#navigation li.submenu-open > .submenu-toggle:after { transform: rotate(-135deg); margin-top: 2px; }
	#navigation .submenu-toggle:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
}

/* Small phones */
@media screen and (max-width: 360px) {
	#masthead .mobile-menu-word { font-size: 13px; padding: 0 6px 0 4px; }
	#masthead .mobile-left button, #masthead .mobile-right button { min-width: 40px; padding: 0 6px; }
	body #masthead .site-logo-img { max-height: 36px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	body #masthead #navigation.primary-navigation, .mobile-menu-backdrop, #masthead .mobile-hamburger .bar, #navigation .submenu-toggle:after { transition: none !important; }
}


/* ==========================================================
   Mobile "Menu bar" header, single-post category badge
   (all colours / sizes come from Appearance > Customize)
   ========================================================== */
.mobile-menubar { display: none; }

/* Category badge above the post title */
.bf-cat-badge { margin: 0 0 14px; }
.bf-cat-badge a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; margin: 0 6px 6px 0; line-height: 1.2; text-decoration: none; background: #494949; color: #fff; font-size: 16px; border-radius: 3px; }
.bf-cat-badge a:hover { filter: brightness(1.15); color: #fff; }
.bf-cat-badge svg { fill: currentColor; flex: 0 0 auto; display: block; }

@media screen and (max-width: 980px) {
	/* Layout: [ LOGO ] / [ search ] / [ Menu  ☰ ] */
	body.bf-mobile-bar #masthead { display: block; padding: 10px 8px 8px; text-align: center; margin-bottom: 0; }
	body.bf-mobile-bar #masthead .mobile-left,
	body.bf-mobile-bar #masthead .mobile-right { display: none !important; }
	body.bf-mobile-bar #masthead .site-branding { display: block; float: none; width: 100%; margin: 0 !important; text-align: center; }
	body.bf-mobile-bar #masthead .site-branding #logo,
	body.bf-mobile-bar #masthead .site-branding #logo.text-logo { float: none; display: block; margin: 0 0 10px !important; }
	body.bf-mobile-bar #masthead .site-branding #logo a { float: none; display: inline-block; }
	body.bf-mobile-bar #masthead .site-logo-img { margin: 0 auto; }

	/* Search always visible, a little narrower than the menu bar */
	body.bf-mobile-bar #masthead .header-search { width: auto; max-width: none; margin: 0 clamp(12px, 8vw, 40px) 14px !important; padding: 0; }
	body.bf-mobile-bar #masthead .header-search #searchform { float: none; }
	body.bf-mobile-bar #masthead #s { height: 50px; font-size: 16px; text-indent: 12px; padding-right: 64px; border-radius: 14px; }
	body.bf-mobile-bar #masthead #searchform .sbutton { top: 0; right: 0; width: 50px; height: 50px; padding: 0; border-radius: 12px; overflow: hidden; }
	body.bf-mobile-bar #masthead #searchform .sbutton .icon-search { position: static; width: 100%; height: 50px; line-height: 50px; font-size: 22px; background: transparent; }

	/* Full width Menu bar */
	body.bf-mobile-bar #masthead .mobile-menubar {
		display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0; padding: 0 18px;
		border: 0; cursor: pointer; font-family: inherit; font-weight: 500; text-align: left; box-sizing: border-box;
		-webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
	}
	body.bf-mobile-bar #masthead .mobile-menubar:hover { filter: brightness(1.12); }
	body.bf-mobile-bar #masthead .mobile-menubar:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
	body.bf-mobile-bar #masthead .mobile-menubar-icon { flex: 0 0 auto; }

	body.bf-mobile-bar #masthead .header-social { padding-top: 12px; }

	/* Quick buttons: centred, boxed like the screenshot */
	body.bf-mobile-bar #imbut { margin: 22px 6px 20px; }
	body.bf-mobile-bar #imbut .button { display: inline-block; padding: 12px 8px; margin: 2px 1px; line-height: 1.25; }
}


/* ==========================================================
   v1.5.0 - No gap above the header + Quick Navigation bar
   ========================================================== */

/* The header starts at the very top of the screen (desktop, tablet, mobile).
   Uses html:not(.wp-toolbar) so the WordPress admin bar still has its own space when you are logged in. */
html:not(.wp-toolbar) { margin-top: 0 !important; padding-top: 0 !important; }
body { margin: 0 !important; padding-top: 0 !important; }
body > br, body > p:empty, #page > br, #page > p:empty, .main-container > br, .main-container > p:empty { display: none !important; }
body #page.site, body #page .main-container { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
body #page .main-container > #masthead { margin-top: 0 !important; }

/* Quick Navigation (categories ticked in Appearance > Customize > Quick Navigation) */
.bf-quicknav { clear: both; margin: 0 0 10px; padding: 0 6px; }
.bf-quicknav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.bf-quicknav li { margin: 0; padding: 0; list-style: none; max-width: 100%; }
.bf-quicknav a { display: block; padding: 10px 16px; line-height: 1.3; font-size: 16px; font-weight: 500; text-decoration: none; background: #494949; color: #fff; border-radius: 6px; overflow-wrap: anywhere; transition: background-color .2s ease, filter .2s ease; }
.bf-quicknav a:hover, .bf-quicknav a:focus-visible, .bf-quicknav a.is-active { background: #f47555; color: #fff; }
.bf-quicknav a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media screen and (max-width: 640px) {
	/* One swipeable row on phones so a long list never pushes the page down. */
	.bf-quicknav { padding: 0 8px; }
	.bf-quicknav ul { flex-wrap: nowrap; justify-content: flex-start !important; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 0 4px; }
	.bf-quicknav ul::-webkit-scrollbar { display: none; }
	.bf-quicknav li { flex: 0 0 auto; }
	.bf-quicknav a { padding: 9px 14px; white-space: nowrap; }
}

/* Header block: #32373c, boxed at the site width (not full width). A strip behind the top of the header hides any gap above it. */
body { position: relative; }
body::before { content: ""; display: block; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(1170px, 96%); height: 90px; background: #32373c; z-index: -1; pointer-events: none; }
#masthead { background: #32373c; }

/* ==========================================================================
   Pagination (all archive / category / home pages share this one layout)
   ========================================================================== */
.navigation.bf-pagination {
    clear: both;
    float: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 30px 0;
    padding: 16px;
    background: #27272a;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}
.bf-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bf-pagination li {
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    border-radius: 6px;
}
.bf-pagination .bf-page {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    float: none;
    height: 52px;
    min-width: 52px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: #494949;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s linear;
}
.bf-pagination a.bf-page:hover { background: crimson; color: #fff; }
.bf-pagination li.active .bf-page { background: #000; color: #fff; }
@media screen and (max-width: 600px) {
    .navigation.bf-pagination { padding: 12px; }
    .bf-pagination ul { gap: 8px; }
    .bf-pagination .bf-page { height: 42px; min-width: 42px; padding: 0 10px; font-size: 16px; }
}

/* Category / archive page: no breadcrumb above the title any more */
.content-archive h1.page-title { margin-top: 20px; }

/* ==========================================================================
   Category / archive / search layout: grid -> pagination -> footer
   (footer is normal flow, always after the content, never overlapping)
   ========================================================================== */
.site-content,
#primary,
#primary > .site-main { display: flow-root; clear: both; }
#primary { width: 100%; float: none !important; }
.site-main { margin-left: 0; margin-right: 0; }

/* page title: same top space on every archive / search page */
.content-archive h1.page-title,
.search-area h1.page-title { margin-top: 20px; margin-bottom: 20px; }

/* space under the movie grid (this is also the space above the footer
   when there is only one page and so no pagination) */
.post-cards { margin-bottom: 30px !important; }

/* pagination sits directly under the grid, footer comes right after it */
.navigation.bf-pagination { margin: 0 0 30px; clear: both; position: relative; z-index: 1; }

/* footer: never fixed / absolute, always after the content */
.site-footer { position: relative !important; clear: both; margin-top: 0; }

@media screen and (max-width: 768px) {
    .post-cards { margin-bottom: 25px !important; }
    .navigation.bf-pagination { margin-bottom: 25px; }
}
@media screen and (max-width: 480px) {
    .post-cards { margin-bottom: 20px !important; }
    .navigation.bf-pagination { margin-bottom: 20px; }
}

/* ==========================================================================
   Main menu: drop-down submenus (Appearance > Customize > Menus)
   Colours / size / width: Customize > Bollyflix Theme Options > 2. Header & Menu
   ========================================================================== */
/* arrow on items that have a submenu (pure CSS, no icon font needed) */
.primary-navigation#navigation .menu-item-has-children > a { position: relative; padding-right: 38px; }
.primary-navigation#navigation .menu-item-has-children > a:after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    font-family: inherit;
}
.primary-navigation#navigation ul ul .menu-item-has-children > a:after {
    margin-top: -4px;
    transform: rotate(-45deg);
}

@media screen and (min-width: 981px) {
    .primary-navigation#navigation ul li { position: relative; }
    .primary-navigation#navigation ul ul {
        top: 100%;
        left: 0;
        float: none;
        padding: 0;
        border-top: 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
        z-index: 99999;
        text-align: left;
    }
    .primary-navigation#navigation ul ul ul {
        top: 0;
        left: 100%;
        border-radius: 0 10px 10px 10px;
    }
    .primary-navigation#navigation ul ul li {
        float: none;
        display: block;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        border-radius: 0;
    }
    .primary-navigation#navigation ul ul li:last-child { border-bottom: 0; }
    .primary-navigation#navigation ul ul a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        line-height: 1.4;
        box-sizing: border-box;
        white-space: normal;
    }
    .primary-navigation#navigation ul ul .menu-item-has-children > a { padding-right: 38px; }
    /* opens to the left when it would leave the screen (set by js/customscripts.js) */
    .primary-navigation#navigation ul li.bf-sub-left > ul { left: auto; right: 0; }
    .primary-navigation#navigation ul ul li.bf-sub-left > ul { left: auto; right: 100%; border-radius: 10px 0 10px 10px; }
}
/* phones / tablets use the + / arrow buttons of the menu drawer instead */
@media screen and (max-width: 980px) {
    .primary-navigation#navigation .menu-item-has-children > a:after { display: none; }
    .primary-navigation#navigation .menu-item-has-children > a { padding-right: 60px; }
}

/* ==========================================================================
   Footer: copyright | Back to top | footer menu
   The arrow has its own centre column, so it can never sit on top of the
   copyright text or the footer links.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
a.toplink {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    font-size: 36px;
    line-height: 1;
    text-decoration: none;
    border: 0;
    -webkit-tap-highlight-color: transparent;
}
a.toplink i { display: block; line-height: 1; }
a.toplink:hover, a.toplink:focus-visible { color: #fff; }

/* Desktop: copyright left, arrow exactly in the middle, menu right */
@media screen and (min-width: 981px) {
    .site-info.container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        column-gap: 20px;
    }
    .site-info .copyrights { grid-column: 1; grid-row: 1; float: none; justify-self: start; }
    .site-info a.toplink { grid-column: 2; grid-row: 1; position: static; justify-self: center; }
    .site-info #footer-navigation.footer-navigation { grid-column: 3; grid-row: 1; float: none; justify-self: end; }
    .site-info #footer-navigation.footer-navigation ul { margin: 0; padding: 0; text-align: right; }
    .site-info .footer-extra { grid-column: 1 / -1; grid-row: 2; }
}

/* Tablet / phone: one centred column - copyright, arrow (exact centre), menu */
@media screen and (max-width: 980px) {
    .site-info.container{display:flex;flex-direction:column;align-items:center;text-align:center}.site-info .copyrights{order:1;float:none;width:100%;text-align:center}.site-info a.toplink{order:2;position:static;margin:14px auto}.site-info #footer-navigation.footer-navigation{order:3;float:none;width:100%}.site-info .footer-extra{order:4;width:100%}
    .site-info #footer-navigation.footer-navigation ul { margin: 0; padding: 0; text-align: center; }
}

/* 404 page: "404!" is a paragraph now (the page has exactly one h1) - same look as before */
.page-header .big { clear: both; margin: 0 0 12px; font-size: 100px; line-height: 1.1; font-weight: normal; color: #e7e7e7; }
