/**
 * Theme Name:         Bansta
 * Theme URI:          https://tsteki.com/bansta
 * Author:             TS 
 * Author URI:         https://tsteki.com/author/tsteki
 * Description:        Bansta is a multipurpose WordPress theme for blogs, news, job listing portal, Elegant, lightweight, SEO-ready, and well-coded for ultra speed performance.
 * Version:            1.0.2
 * Requires at least:  6.5
 * Tested up to:       6.9
 * Requires PHP:       8.0
 * License:            General Public License v2 or later
 * License URI:        http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:        bansta
 * Tags:               grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, threaded-comments, custom-background, custom-colors, custom-header, featured-images, custom-logo, flexible-header,footer-widgets, full-width-template, blog, e-commerce, entertainment, news, theme-options,

 */


/* ===============================================================
   TABLE OF CONTENTS
   ---------------------------------------------------------------
   1.  Custom Properties
   2.  Reset
   3.  Semantic / Block Elements
   4.  Typography
   5.  Utilities & Helpers
   6.  Site Grids
   7.  HTML Forms & Inputs
   8.  Modal
   9.  Accessibility
   10. Global Containers & Body
   11. Top Bar
   12. Site Header
   13. Branding & Logo
   14. Navigation
   15. Sub-menus & Dropdowns
   16. Off-Canvas Menu
   17. Dark Mode Switch
   18. Search
   19. Mobile Menu Icon
   20. Breadcrumbs
   21. Main Content Area
   22. Post Containers (Default / Grid2 / Card1)
   23. Post Header & Meta
   24. Featured Images
   25. Post Excerpt & Read More
   26. Pagination
   27. Sidebar & Widgets
   28. Single Post
   29. Author Box
   30. Tags & Social Share
   31. Prev / Next Post
   32. Related Posts
   33. Comments
   34. Go-to-Top Button
   35. WP Caption & Gallery
   36. Footer
   37. Gutenberg Post Content
   38. Animations
   39. Dark Mode
   =============================================================== */


/* ---------------------------------------------------------------
   1. Custom Properties
--------------------------------------------------------------- */

:root {
    --bansta-header-min-height:    3rem;
    --bansta-header-height-2:      clamp(5rem, 4.5rem + 1.5vw, 5.625rem);
    --bansta-system-font:          system-ui;
    --offcanvas-width-percent:     17.5rem;
}


/* ---------------------------------------------------------------
   2. Reset
--------------------------------------------------------------- */

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-display: optional;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* ---------------------------------------------------------------
   3. Semantic / Block Elements
--------------------------------------------------------------- */

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary,
picture {
    display: block;
    max-width: 100%;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

img {
    border: 0;
    width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
    object-fit: cover;
    content-visibility: auto;
}

li {
    list-style: none;
}


/* ---------------------------------------------------------------
   4. Typography
--------------------------------------------------------------- */

/* Shared overflow */
a,
b,
strong,
li,
td,
th,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
    white-space: normal;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--bansta-secondary-color);
    font-weight: var(--bansta-font-weight);
}

h1 {
    font-size: clamp(1.75rem, 1.4rem + 2vw, 2.25rem);
    margin-block: clamp(0.5rem, 0.5rem + 0.5vw, 0.8rem);
}

h2 {
    font-size: clamp(1.3rem, 1.1rem + 1.5vw, 1.5rem);
    margin-block: clamp(0.4rem, 0.4rem + 0.4vw, 0.7rem);
}

h3 {
    font-size: clamp(1.2rem, 1rem + 1vw, 1.35rem);
    margin-block: clamp(0.39rem, 0.36rem + 0.4vw, 0.6rem);
    line-height: 1.4;
}

h4 {
    font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.05rem);
    margin-block: 0.5rem;
}

h5 {
    font-size: 0.95rem;
    margin-block: 0.4rem;
}

h6 {
    font-size: 0.9rem;
    margin-block: 0.3rem;
}

/* Body text */
p {
    font-size: clamp(0.9rem, 0.9rem + 0.5vw, 1rem);
    margin-bottom: clamp(1rem, 0.8rem + 0.5vw, 1rem);
    line-height: 1.6;
}

/* Links */
a {
    text-decoration: none;
    color: var(--bansta-link-color);
}

a:active,
a:hover {
    outline: 0;
}

b,
strong {
    font-weight: 700;
}

small {
    font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.8rem);
}

dfn {
    font-style: italic;
}

mark {
    background-color: transparent;
    border-bottom: 1px solid #ffcc00;
}

mark:hover {
    border-bottom: 0;
}

sub,
sup {
    font-size: 0.75rem;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup { top: -0.5rem; }
sub { bottom: -0.25rem; }


/* ---------------------------------------------------------------
   5. Utilities & Helpers
--------------------------------------------------------------- */

.active,
.current {
    background-color: var(--bansta-link-color);
}

.active a,
.current span {
    color: #ffffff;
}

.clear::after {
    display: table;
    content: "";
    clear: both;
}

.screen-reader-text {
    border: 0;
    clip: rect(0.0625rem, 0.0625rem, 0.0625rem, 0.0625rem);
    clip-path: inset(50%);
    height: 0.0625rem;
    margin: -0.0625rem;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 0.0625rem;
    word-wrap: normal !important;
}

.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;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 0.3125rem;
    line-height: normal;
    padding: 0.9375rem 1.4375rem 0.875rem;
    text-decoration: none;
    top: 0.3125rem;
    width: auto;
    z-index: 100000;
}

#main-content[tabindex="-1"]:focus {
    outline: none;
}

.mobile-container {
    display: none !important;
}


/* ---------------------------------------------------------------
   6. Site Grids
--------------------------------------------------------------- */

.ts-top-content {
    max-width: 100%;
    display: block;
}

.big-grid-default,
.big-grid-2,
.big-grid-3,
.big-grid-4 {
    max-width: var(--bansta-site-grid-size);
    margin: clamp(1rem, 0.8rem + 0.5vw, 1.25rem) auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    height: auto;
    padding-inline: clamp(0.5rem, 0.3rem + 0.5vw, 0.625rem);
    max-height: none;
}

.big-grid-default a,
.big-grid-2 a,
.big-grid-3 a,
.big-grid-4 a {
    color: #ffffff !important;
}

.big-grid-default .entry-date,
.big-grid-2 .entry-date,
.big-grid-3 .entry-date,
.big-grid-4 .entry-date {
    color: #ccc;
}

[class*="big-grid-"] .entry-post-title a {
    font-weight: 700;
}

.big-grid-2 .tr-grid-big2 .entry-post-title a,
.big-grid-2 .tr-grid-big3 .entry-post-title a,
.big-grid-2 .tr-grid-big2 .grid-metas a,
.big-grid-2 .tr-grid-big3 .grid-metas a,
.big-grid-2 .tr-grid-big2 .entry-date,
.big-grid-2 .tr-grid-big3 .entry-date,
.big-grid-4 .tr-grid-big2 .entry-post-title a,
.big-grid-4 .tr-grid-big2 .grid-metas a,
.big-grid-4 .entry-date {
    font-size: 0.9rem;
}

.tr-grid-big1 {
    display: block;
    flex-basis: 100%;
}

.tr-grid-big2,
.tr-grid-big3 {
    display: flex;
    flex-direction: row;
    flex-basis: 100%;
    gap: 0.25rem;
}

.item-grid-row1,
.item-grid-row2,
.item-grid-big,
.slider-default {
    position: relative;
}

.item-grid-row1 .featured-image img,
.item-grid-row2 .featured-image img {
    max-height: clamp(14rem, 12rem + 5vw, 16.125rem);
}

.big-grid-3 img {
    min-height: clamp(16rem, 14rem + 6vw, 25rem);
}

.big-grid-default img {
    aspect-ratio: 3 / 2 !important;
}

[class*="item-grid-"] {
    overflow: hidden;
}

[class*="item-grid-"] img:not(.big-grid-default img),
.tr-grid-big3 img:not(.big-grid-default img) {
    aspect-ratio: 4 / 3 !important;
}

[class*="item-grid-"] .featured-image::before,
.tr-grid-big3 .featured-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

[class*="item-grid-"] .ts-post-header,
.big-grid-3 .ts-post-header {
    position: absolute;
    padding: 0.625rem 0.9375rem;
    bottom: 4%;
    z-index: 2;
}

[class*="item-grid-"]:not(.item-grid-big) .ts-category a {
    display: none;
}

[class*="item-grid-"]:not(.item-grid-big) .grid-metas {
    display: none;
}

[class*="item-grid-"]:not(.item-grid-big) .entry-post-title {
    font-size: clamp(0.5rem, 0.7rem + 0.5vw, 0.9rem);
}

.item-grid-big .entry-post-title {
    font-size: clamp(0.5rem, 0.9rem + 0.5vw, 1.2rem);
}

.big-grid-default .meta-separator,
.big-grid-2 .meta-separator,
.big-grid-3 .meta-separator,
.big-grid-4 .meta-separator {
    color: #ffffff;
}

/* Grid column helpers */
@media (min-width: 48rem) {
    .col-ts-1  { width: 8.33%; }
    .col-ts-2  { width: 16.66% !important; }
    .col-ts-3  { width: 25%; }
    .col-ts-4  { width: 33.33%; }
    .col-ts-5  { width: 41.66%; }
    .col-ts-6  { width: 50%; }
    .col-ts-7  { width: 58.33%; }
    .col-ts-8  { width: 66.66%; }
    .col-ts-9  { width: 75%; }
    .col-ts-10 { width: 83.33%; }
    .col-ts-11 { width: 91.66%; }
    .col-ts-12 { width: 100%; }

    .big-grid-default,
    .big-grid-2,
    .big-grid-3,
    .big-grid-4 {
        flex-direction: row;
        max-height: 32.5rem;
    }

    .tr-grid-big1 {
        flex-basis: 70%;
    }

    .tr-grid-big2,
    .tr-grid-big3 {
        flex-direction: column;
        flex-basis: 34.6%;
    }

    [class*="item-grid-"]:not(.item-grid-big) .ts-category a {
        display: inline-flex;
    }

    [class*="item-grid-"]:not(.item-grid-big) .grid-metas {
        font-size: clamp(0.3rem, 0.6rem + 1vw, 0.8rem);
        display: inline-flex;
    }
}

@media (min-width: 64rem) {
    .item-grid-big img {
        max-height: 32.5rem;
    }
}

@media (min-width: 90rem) {
    .big-grid-default,
    .big-grid-2,
    .big-grid-3,
    .big-grid-4 {
        gap: 0.375rem;
    }
}


/* ---------------------------------------------------------------
   7. HTML Forms & Inputs
--------------------------------------------------------------- */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 0.125rem;
    padding: 0.35rem 0.625rem 0.75rem;
}

legend {
    border: 0;
    padding: 0 0.625rem;
    width: unset;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: 700;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    word-break: break-word;
    table-layout: fixed;
}

td,
th {
    padding: 0.625rem;
    border-top: 1px solid;
    border-left: 1px solid;
}

tr:last-child th,
tr:last-child td {
    border-bottom: 1px solid;
}

td:last-child,
th:last-child {
    border-right: 1px solid;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
}

button {
    overflow: visible;
    cursor: pointer;
    text-transform: none;
    padding: 0.375rem 0.625rem;
}

button[disabled],
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;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

input[type="file"] {
    padding: 0.625rem;
    max-width: 100%;
}

input[type="password"] {
    padding: 0.5rem;
    width: 100%;
    margin: 0.625rem 0;
}

form {
    display: flex;
    flex-direction: column;
}

form input[type="text"],
form input[type="url"],
form input[type="email"],
form input[type="submit"],
form select,
#comment {
    width: 100%;
    padding: 0.375rem;
    margin: 0.75rem 0;
}

form input[type="submit"],
button[type="button"] {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

/* Search form */
.ts-search-form {
    position: relative;
}

.ts-search-form input[type="text"],
input[type="password"] {
    padding: 0.5rem;
    width: 100%;
}

.ts-search-form button {
    width: 4.375rem;
    position: absolute;
    right: 0;
    background-color: var(--bansta-primary-color);
    border: none;
    height: 2.5rem;
    padding: 0.3125rem;
}

.ts-search-form button .fa {
    color: #fff;
}

.search-icon .ts-search-form::before {
    content: "\f107";
    position: absolute;
    font-family: FontAwesome;
    font-size: 2rem;
    right: 0;
    top: 1.1rem;
}

.ts-search-wrap .ts-search-form::before,
.search-no-results .ts-search-form::before {
    display: none;
}

.ts-search-wrap .ts-search-form input[type="submit"] {
    height: 2.4375rem;
    border: 1px solid;
}

.ts-search-wrap .ts-search-form input[type="text"] {
    width: 94%;
    border: 2px solid #ffffff;
}

.search-form-wrap button,
.no-results button {
    top: 0.76rem;
}

.search-container form {
    max-width: 80%;
}

.search-icon .ts-search-form input[type="text"] {
    position: absolute;
    top: 2.4rem;
    right: 0;
    padding: 0.625rem;
    width: 12.5rem;
    height: 2.55rem;
    transition: width 0.4s ease-in-out;
}

.search-icon .ts-search-form input[type="text"]:focus {
    width: 25rem;
}

.search-icon .ts-search-form button {
    position: absolute;
    right: 0;
    width: 4.375rem;
    height: 2.55rem;
    background-color: var(--bansta-primary-color);
    color: white;
    padding: 0.125rem;
    top: 3.12rem;
}

.search-no-results .ts-search-form:not(:first-child) button {
    top: 0.75rem;
}

@media (max-width: 26.25rem) {
    .search-icon .ts-search-form input[type="text"]:focus {
        width: 18.75rem;
    }
}


/* ---------------------------------------------------------------
   8. Modal
--------------------------------------------------------------- */

#modal-container {
    display: none;
    z-index: 99;
    width: 100%;
    position: fixed;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
    left: 0;
    top: 0;
    padding-top: 3.75rem;
}

.modal-form {
    background-color: #fefefe;
    margin: 0.3125rem auto;
    border: 1px solid #888;
    width: 30%;
}

.form-container {
    padding: 1rem;
}

.form-container em {
    float: right;
}

.form-container input[type="submit"] {
    background-color: var(--bansta-primary-color);
}

.imgcontainer {
    text-align: center;
    margin: 1.5rem 0 0.75rem;
}

.imgcontainer img.avatar {
    width: 40%;
    height: auto;
    border-radius: 50%;
}

span .psw,
.psw a {
    color: var(--bansta-link-color);
}

.cancelbtn {
    width: auto !important;
    padding: 0.625rem 1.125rem !important;
    background-color: var(--bansta-primary-color) !important;
}

.modal-form input[type="text"],
.modal-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.modal-form button {
    background-color: #222;
    color: white;
    padding: 0.875rem 1.25rem;
    margin: 0.5rem 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

.modal-form button:hover {
    opacity: 0.8;
}

#modal-container .close {
    color: #000;
    font-size: 2.1875rem;
    font-weight: bold;
    margin: -4% 0 0 90%;
}

#modal-container .close:hover,
#modal-container .close:focus {
    color: var(--bansta-link-color);
    cursor: pointer;
}

@media (max-width: 48rem) {
    .modal-form {
        width: 80%;
    }

    #modal-container .close {
        right: 22%;
    }
}


/* ---------------------------------------------------------------
   9. Accessibility
--------------------------------------------------------------- */

.animate {
    animation: animatezoom 0.6s;
}

@keyframes animatezoom {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

@-webkit-keyframes animatezoom {
    from { -webkit-transform: scale(0); }
    to   { -webkit-transform: scale(1); }
}


/* ---------------------------------------------------------------
   10. Global Containers & Body
--------------------------------------------------------------- */

.main-wrapper,
.top-bar,
.top-container,
.container,
.main-area {
    max-width: 100%;
    display: block;
}

body {
    line-height: var(--bansta-line-height);
    font-family: var(--bansta-system-font);
    font-weight: 400;
    overflow-x: clip;
}

.container {
    position: relative;
    width: var(--bansta-site-header-size);
    display: flex;
    margin-inline: auto;
    padding-inline: 0.625rem;
    align-items: inherit;
}

@media (min-width: 48rem) {
    .container {
        align-items: center;
    }
}


/* ---------------------------------------------------------------
   11. Top Bar
--------------------------------------------------------------- */

.top-bar,
.top-bar-2,
.top-bar-3 {
    height: 2.1875rem;
    position: relative;
}

[class*="top-bar"] {
    background-color: var(--bansta-top-bar-back-color);
    display: flex;
}

[class*="top-bar"] .fa {
    color: var(--bansta-top-bar-icon-color);
    cursor: pointer;
}

[class*="top-bar"] svg {
    fill: var(--bansta-top-bar-icon-color);
}

.top-bar svg,
.top-bar .fa {
    font-size: 1.3rem;
}

.top-bar-3 .fa {
    color: #0c0c0c;
}

.top-bar-3 svg {
    fill: #0c0c0c;
}

.top-extras {
    display: inline-flex;
    align-self: center;
}

.topbar-left-extras {
    font-family: var(--bansta-system-font);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-flex;
    white-space: nowrap;
    color: var(--bansta-top-bar-icon-color);
}

.top-social {
    display: inline-flex;
    justify-content: flex-end;
    width: 100%;
}

.top-social a {
    display: inline-block;
    padding: 0.3125rem 0.5rem;
}


/* ---------------------------------------------------------------
   12. Site Header
--------------------------------------------------------------- */

.search-no-results header {
    padding: 0;
}

/* Single-row wrapper (styles 1, 4, 5) */
.header-wrapper {
    display: flex;
    border-bottom: 1px solid #ccc;
}

/* Two-row wrapper (styles 2, 3) */
.header-wrapper-2 {
    display: block;
    border-bottom: 1px solid #ccc;
}

.header,
.header-2,
.header-4 {
    background-color: var(--bansta-header-back-color);
}

.header,
.header-2,
.header-4,
.header-5 {
    padding: unset;
}

.header,
.header-4,
.header-5 {
    min-height: var(--bansta-header-min-height);
    max-width: 100%;
    position: relative;
}

/* Branding row for styles 2 & 3 */
.header-2 {
    height: auto;
    min-height: var(--bansta-header-height-2);
    display: flex;
    align-items: center;
    border-bottom: none;
}

.header-2 .container {
    align-items: center;
    flex-wrap: nowrap;
}

/* Nav row for styles 2 & 3 */
.main-nav-2 {
    min-height: 3rem;
    display: flex;
    align-items: center;
}

.main-nav-2 .container {
    align-items: center;
    flex-wrap: nowrap;
}

/* Sticky */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.main-nav-2.sticky-header ~ .header-2 {
    padding-top: 3rem;
}

body.has-sticky-nav .header-wrapper-2 {
    padding-top: 3rem;
}

/* Hidden inputs */
#off-canvas,
#off-canvas-2,
#menu-toga,
#menu-toggle {
    display: none;
}


/* ---------------------------------------------------------------
   13. Branding & Logo
--------------------------------------------------------------- */
.header .site-branding,
.header-4 .site-branding {
    overflow: hidden;
}

.header .site-branding,
.header-4 .site-branding,
.header-5 .site-branding,
.header .site-branding a,
.header-4 .site-branding a,
.header-5 .site-branding a,
.primary-navigation,
.dark-mode-switch,
.search-icon {
    min-height: var(--bansta-header-min-height);
}

.site-branding {
    min-width: 0;
}

/* Single-row headers */
.header .site-branding,
.header-4 .site-branding,
.header-5 .site-branding,
.off-canvas-menu .site-branding {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
}

/* Two-row headers */
.header-2 .site-branding {
    max-height: none;
    flex: 0 1 auto;
    width: 100%;
}

.ts-site-title {
    display: inline-block;
    padding: 0;
    margin: 0;
    line-height: 1.2;
    font-size: var(--bansta-site-identity-font-size);
    font-family: var(--bansta-site-identity-font);
    font-weight: var(--bansta-font-weight);
    max-width: 100%;
}

.header-2 .ts-site-title {
    white-space: normal;
    overflow: visible;
    text-align: left;
}

.ts-site-title a {
    color: var(--bansta-site-title-color);
    display: inline;
    min-width: 0;
}

/* Logo */
.ts-image-logo {
    vertical-align: middle;
}

.ts-image-logo,
.ts-image-logo img,
.header .ts-image-logo img,
.header-4 .ts-image-logo img,
.header-5 .ts-image-logo img {
    max-width: 100%;
}

.ts-image-logo img {
    margin: 0;
    width: var(--bansta-logo-size);
    display: inline-block;
    vertical-align: middle;
}

/* Desktop branding adjustments */
@media (min-width: 48rem) {
    .site-branding {
        position: initial;
        justify-content: flex-start !important;
    }

    .header-4 .ts-site-title {
        text-align: center;
    }
}


/* ---------------------------------------------------------------
   14. Navigation
--------------------------------------------------------------- */

[class*="main-nav"] {
    background-color: var(--bansta-mainnav-back-color);
}

.primary-navigation {
    display: flex;
    align-items: center;
}

.container button {
    border: none;
}

.navigation {
    position: absolute;
    top: 3.4rem;
    left: 0;
    width: 100%;
    background: #454545;
    display: block;
    z-index: 3;
    overflow: hidden;
    height: auto;
    transition: all 0.2s ease-in-out;
}

.main-nav-2 .navigation {
    top: 3rem;
}

.navigation > li {
    position: relative;
}

.select-menu {
    display: none;
}

.navigation li a {
    display: block;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.4s ease;
    padding: 0.875rem 0.75rem;
    font-size: clamp(0.7rem, 0.8rem + 0.5vw, 0.92rem);
    font-weight: var(--bansta-font-weight);
    font-family: var(--bansta-secondary-font);
    color: #fff;
    white-space: nowrap;
}

.main-nav-2 .navigation li a {
    padding: 0.7875rem;
}

/* Menu visibility toggle */
#menu-toggle:not(:checked) ~ .primary-navigation > #main-nav > ul,
#menu-toggle:not(:checked) ~ #main-nav > ul {
    height: 0;
    visibility: hidden;
}

#menu-toggle:checked ~ .primary-navigation > #main-nav > ul,
#menu-toggle:checked ~ #main-nav > ul {
    height: calc(100vh - 3.125rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Desktop navigation */
@media (min-width: 48rem) {
    .navigation {
        position: inherit;
        flex-wrap: wrap;
        display: inline-flex;
        background-color: initial;
        overflow: unset;
        visibility: visible !important;
        height: auto !important;
    }

    .navigation li a {
        color: var(--bansta-menu-link-color);
        padding: 0.9375rem 0.5625rem;
        text-wrap: nowrap;
    }

    .navigation-menu {
        margin-block: auto;
        white-space: nowrap;
    }

    .select-menu {
        display: block;
    }

    .select-menu a {
        color: var(--bansta-secondary-color);
        font-weight: 500;
    }

    .off-canvas-menu .navigation-menu .select-menu {
        color: white;
    }
}


/* ---------------------------------------------------------------
   15. Sub-menus & Dropdowns
--------------------------------------------------------------- */

.sub-menu,
.children {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-top: 1px solid black;
    background-color: var(--bansta-secondary-color);
    z-index: 999;
    transition: opacity 0.3s ease,
                transform 0.3s ease,
                visibility 0.3s;
    pointer-events: none;
}

ul .sub-menu {
    width: 100%;
}

ul .sub-menu li a {
    padding: 0.75rem 1.5rem;
    color: #fff;
}

ul .sub-menu .sub-menu {
    left: 100%;
    top: -0.125rem;
}

.menu-item-has-children {
    position: relative;
}

.menu-item-has-children .fa {
    color: #eeeeee;
    transform: rotate(-90deg);
    font-size: 1rem;
    transition: transform .2s ease;
}

.menu-item-has-children.toggled-on > .sub-menu {
    visibility: visible;
    position: static;
    opacity: 1;
    pointer-events: auto;
}

.toggled-on > a > .dropdown-toggle > .fa {
    transform: rotate(0deg);
}

.toggled-on > .fa {
    transform: translate(0);
}

.dropdown-toggle {
    padding: 0 0.375rem;
    position: absolute;
    right: 8px;
}

.sub-menu .dropdown-toggle {
    float: right;
}

.fa-chevron-down {
    font-size: 0.8125rem;
}

/* Desktop dropdowns */
@media (min-width: 48rem) {
    .header .sub-menu,
    .main-nav-2 .sub-menu,
    .header-4 .sub-menu {
        min-width: 13.75rem;
    }

    .menu-item-has-children.toggled-on > .sub-menu {
        position: absolute;
    }

    .off-canvas-toggle:not(:checked) ~ #site-header > .container ul,
    .header .menu-item-has-children:hover > .sub-menu,
    .main-nav-2 .menu-item-has-children:hover > .sub-menu,
    .header-4 .menu-item-has-children:hover > .sub-menu,
    .navigation-menu:not(.off-canvas-menu .navigation-menu) ul > .focus > .sub-menu {
        visibility: visible;
    }

    .header .menu-item-has-children:hover > .sub-menu,
    .main-nav-2 .menu-item-has-children:hover > .sub-menu,
    .header-4 .menu-item-has-children:hover > .sub-menu,
    .navigation-menu:not(.off-canvas-menu .navigation-menu) ul > .focus > .sub-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .off-canvas-toggle:not(:checked) ~ #site-header > .container ul {
        height: auto;
    }

    .header .menu-item-has-children > a::after,
    .main-nav-2 .menu-item-has-children > a::after,
    .header-4 .menu-item-has-children > a::after {
        content: "\f078";
        font-family: FontAwesome;
        padding-left: .25em;
        font-size: .8em;
        font-weight: lighter;
    }

    .header ul.sub-menu .menu-item-has-children > a::after,
    .main-nav-2 ul.sub-menu .menu-item-has-children > a::after,
    .header-4 ul.sub-menu .menu-item-has-children > a::after {
        content: "\f054";
        position: absolute;
        right: 5%;
        bottom: 22%;
    }

    .header .dropdown-toggle,
    .main-nav-2 .dropdown-toggle,
    .header-4 .dropdown-toggle {
        display: none;
    }

    #off-canvas-2 .toggled-on > .sub-menu,
    #off-canvas-2 .toggled-on > .children {
        visibility: visible;
        position: static;
    }

    .off-canvas-menu .ts-dropdown-btn ~ .sub-menu {
        display: block !important;
    }

    .off-canvas-menu .dropdown-toggle {
        float: right;
    }
}


/* ---------------------------------------------------------------
   16. Off-Canvas Menu
--------------------------------------------------------------- */

.menu-icon-canva {
    display: none;
}

@media (min-width: 48rem) {
    :root {
        --offcanvas-width-percent: 22%;
    }

    .menu-icon-canva {
        display: block;
    }

    #off-canvas-2 {
        width: var(--offcanvas-width-percent);
        z-index: 2;
        display: block;
    }

    #off-canvas-2 .navigation {
        align-items: unset;
        display: initial;
    }

    #off-canvas-2 form {
        flex-direction: row;
    }

    #off-canvas-2 .ts-search-wrap {
        padding: 6px;
        background-color: var(--bansta-mainnav-back-color);
        margin-top: 2rem;
    }

    #off-canvas-2 .ts-search-wrap button {
        top: 0.76rem;
    }

    #off-canvas-2 input[type="text"] {
        border: 1px solid var(--bansta-primary-color);
        border-radius: 5px 0 0 5px;
    }

    /* Off-canvas panel */
    .off-canvas-menu {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        z-index: 2;
        background-color: var(--bansta-primary-color);
        padding-top: 0.9375rem;
        overflow-x: hidden;
        transition: width 0.5s ease;
    }

    .off-canvas-toggle:checked ~ .off-canvas-menu {
        width: var(--offcanvas-width-percent);
    }

    /* Content shift transitions */
    #menu-toga:checked ~ #site-header,
    #menu-toga:checked ~ [class*="big-grid-"],
    #menu-toga:checked ~ .content-wrapper,
    #menu-toga:checked ~ .single-content-wrapper,
    #menu-toga:not(:checked) ~ #site-header,
    #menu-toga:not(:checked) ~ .content-wrapper,
    #menu-toga:not(:checked) ~ .single-content-wrapper,
    .ts-top-content {
        transition: margin-left 0.5s ease-in-out;
    }

    #menu-toga:checked ~ #site-header,
    #menu-toga:checked ~ [class*="big-grid-"],
    #menu-toga:checked ~ .breadcrumbs-container,
    #menu-toga:checked ~ .content-wrapper,
    #menu-toga:checked ~ .single-content-wrapper,
    #menu-toga:checked ~ .ts-top-content,
    #off-canvas-2 ~ .ts-top-content,
    #off-canvas-2 ~ .breadcrumbs-container,
    .off-canvas-wrapper .content-wrapper,
    .off-canvas-wrapper .single-content-wrapper,
    .off-canvas-wrapper .footer-widgets {
        margin-left: var(--offcanvas-width-percent);
    }

    /* Off-canvas inner styles */
    .off-canvas-menu .dark-mode-switch {
        top: 1.6rem;
    }

    .off-canvas-menu .site-branding {
        display: flex;
        padding: 0.3125rem;
        width: 100%;
        justify-content: center;
        align-self: center;
    }

    .off-canvas-menu .ts-site-title a {
        color: #fff;
    }

    .off-canvas-menu ul {
        flex-direction: column;
    }

    .off-canvas-menu #main-nav ul ul {
        position: absolute;
        width: 100%;
        height: auto;
    }

    .off-canvas-menu .top-extras {
        padding: 0.625rem;
    }

    .off-canvas-menu .navigation {
        margin: 1.25rem 0;
    }

    .off-canvas-menu .navigation li a {
        padding: 0.75rem 0.5625rem;
        color: #fff;
        transition: background 0.3s ease;
    }

    .off-canvas-menu .navigation li a:hover {
        background: inherit;
    }

    .off-canvas-menu p {
        font-size: 1rem;
        color: var(--bansta-link-color);
        display: none;
    }

    .off-canvas-menu .select-menu a {
        color: var(--bansta-top-bar-icon-color);
    }

    .off-canvas-menu .top-social {
        justify-content: flex-start;
        border-top: 1px solid #ccc;
        padding: 0.625rem;
    }

    .off-canvas-menu .ts-search-wrap .ts-search-form input[type="submit"] {
        height: 2.8125rem;
    }

    .off-canvas-top {
        display: flex;
    }

    .off-canvas-menu .follow-label {
        color: var(--bansta-menu-link-color);
    }

    .off-canvas-menu .menu-item-has-children .fa {
        color: #ffffff;
        transform: rotate(-90deg);
    }

    /* Off-canvas hamburger animation */
    .off-canvas-toga span:first-child {
        transform: rotate(-45deg) translate(-0.5rem, 0.375rem);
    }

    .off-canvas-toga span:nth-child(2) {
        opacity: 0;
    }

    .off-canvas-toga span:last-child {
        transform: rotate(45deg) translate(-0.5rem, -0.375rem);
    }
}


/* ---------------------------------------------------------------
   17. Dark Mode Switch
--------------------------------------------------------------- */

.dark-mode-switch {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.header .dark-mode-switch,
.header-4 .dark-mode-switch,
.header-5 .dark-mode-switch {
    flex: 0 0 auto;
}

.main-nav-2 .dark-mode-switch {
    flex: 1 1 80%;
    justify-content: flex-end;
}

.off-canvas-menu .dark-mode-switch {
    flex: 1 1 auto;
}

#bansta-dark-mode {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    margin: -0.0625rem;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

#bansta-dark-mode:focus-visible + label,
label:has(#bansta-dark-mode:focus-visible) {
    outline: 2px solid;
    outline-offset: 2px;
    border-radius: 4px;
}

label .slider {
    width: 2.0625rem;
    height: 1.125rem;
    background: #484848;
    display: inline-block;
    cursor: pointer;
    position: relative;
    border-radius: 15px;
    margin: 0.375rem 0;
}

label .slider::before {
    content: "";
    position: absolute;
    bottom: 0.0625rem;
    left: 0.0625rem;
    width: 1rem;
    height: 1rem;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s ease-in-out;
}

.fa-moon-o::before {
    color: #fff;
    font-size: 0.9375rem;
    position: absolute;
    top: 0.0625rem;
    left: 1rem;
    transform: rotate(210deg);
}

@media (min-width: 48rem) {
    .main-nav-2 .dark-mode-switch {
        flex: 0 0 auto;
    }
}


/* ---------------------------------------------------------------
   18. Search
--------------------------------------------------------------- */

.search-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.search-icon {
    z-index: 99;
    display: inline-flex;
    justify-content: flex-end;
}

.header .search-icon,
.header-4 .search-icon,
.header-5 .search-icon {
    flex: 0 0 auto;
    margin-left: 0.625rem;
}

.main-nav-2 .search-icon {
    flex: 0 0 20%;
}

.search-icon .fa-search {
    color: var(--bansta-menu-link-color);
    font-size: 1.2rem;
}

#close {
    position: absolute;
    right: 0.625rem;
    top: 2.0625rem;
    font-size: 2.1875rem;
    font-weight: 600;
    cursor: pointer;
    display: none;
}

.search-results .search-form-wrap {
    margin-bottom: 1.5rem;
}

@media (min-width: 48rem) {
    .main-nav-2 .search-icon {
        flex: 0 0 auto;
    }
}


/* ---------------------------------------------------------------
   19. Mobile Menu Icon
--------------------------------------------------------------- */

.header button,
.header-4 button,
.header-5 button,
.main-nav-2 button {
    width: auto;
}

.mobile-container,
.menu-icon {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.menu-icon {
    left: 0;
    z-index: 1;
}

.header .container,
.header-4 .container,
.header-5 .container {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
}

.menu-icon label {
    cursor: pointer;
    display: inline-block;
    height: 35px;
    width: 35px;
}

.header .menu-icon label,
.header-4 .menu-icon label,
.header-5 .menu-icon label {
    margin-block: 0.3rem 0;
}

.menu-icon label span {
    display: block;
    width: 30px;
    margin: 6px 0;
    border: 2px solid var(--bansta-menu-icon-color);
    background-color: var(--bansta-menu-link-color);
    transition: transform .3s ease, opacity .3s ease;
}

/* Hamburger animation */
#menu-toggle:checked ~ .menu-icon label span:first-child {
    transform: rotate(-45deg) translate(-8px, 6px);
}

#menu-toggle:checked ~ .menu-icon label span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .menu-icon label span:last-child {
    transform: rotate(45deg) translate(-8px, -6px);
}

@media (min-width: 48rem) {
    .header-5,
    .menu-icon:not(.header-4 .menu-icon) {
        display: none;
    }

    #menu-toga,
    .menu-icon {
        display: none;
        visibility: hidden;
    }

    .menu-icon-canva {
        display: inline-flex;
        background-color: transparent;
        padding-left: 0;
        align-items: center;
    }

    .menu-icon-canva label {
        display: inline-block;
        height: 2.1875rem;
        width: 2.1875rem;
        cursor: pointer;
    }

    .menu-icon-canva label span {
        display: block;
        width: 1.875rem;
        margin: 0.375rem 0;
        border: 2px solid var(--bansta-menu-icon-color);
        background-color: var(--bansta-menu-link-color);
        transition: transform 0.6s, opacity 0.6s;
    }
}


/* ---------------------------------------------------------------
   20. Breadcrumbs
--------------------------------------------------------------- */

.breadcrumbs-container {
    width: var(--bansta-site-content-size);
    margin: auto;
    max-width: 100%;
    padding: 0.625rem;
}

.breadcrumbs {
    display: ruby;
    align-items: center;
}

.breadcrumbs .separator {
    padding-inline: 0.25rem;
}

.breadcrumbs li,
.breadcrumbs li a {
    font-size: clamp(0.5rem, 0.8rem + 0.2vw, 0.9rem);
}

.breadcrumbs .item-cat a,
.breadcrumbs .item-home a {
    color: var(--bansta-secondary-color);
    word-break: normal;
}

.breadcrumbs .item-current,
.breadcrumbs .separator:nth-child(4) {
    display: none;
}

#breadcrumbs .item-home,
#breadcrumbs .item-cat,
#breadcrumbs .bread-current {
    font-family: var(--bansta-primary-font);
    font-size: 0.88rem;
}

#breadcrumbs .fa-chevron-right {
    font-size: 0.8125rem;
    color: #3B3B3B;
}

@media (min-width: 48rem) {
    .breadcrumbs .item-current,
    .breadcrumbs .separator:nth-child(4) {
        display: inline;
    }

    .breadcrumbs .item-current i {
        color: #454545;
    }
}


/* ---------------------------------------------------------------
   21. Main Content Area
--------------------------------------------------------------- */

.main-area,
#site-footer .container {
    flex-direction: column;
}

.content-wrapper,
.single-content-wrapper {
    margin-block: 1.25rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    background: transparent;
}

.main-area {
    display: flex;
    width: var(--bansta-site-content-size);
    margin-inline: auto;
    max-width: 100%;
    padding-inline: 0.625rem;
    column-gap: 1.25rem;
}

#main-content {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.left-sidebar .main-area {
    flex-direction: column;
}

@media (min-width: 48rem) {
    .main-area {
        flex-direction: row;
        column-gap: 0.9rem;
    }

    .left-sidebar .main-area {
        flex-direction: row-reverse;
    }
}


/* ---------------------------------------------------------------
   22. Post Containers (Default / Grid2 / Card1)
--------------------------------------------------------------- */

#main-content .default-container,
#main-content .grid2-container,
#main-content .card1-container {
    display: grid;
}

#main-content .default-container,
#main-content .card1-container {
    grid-gap: 1.25rem;
}

#main-content .grid2-container {
    max-width: 100%;
    grid-template-columns: none;
    grid-gap: 1.5625rem 0.9375rem;
}

/* Content entry base */
.content-entry {
    background: #fff;
    width: 100%;
    height: auto;
    float: left;
    max-width: 100%;
    overflow: hidden;
}

/* Default container */
.default-container .content-entry-default,
.card1-container .content-entry-card1 {
    display: flex;
}

.default-container .content-entry-default {
    gap: 0.8rem;
}

.card1-container .content-entry-card1 {
    gap: 0.3rem;
}

.default-container .featured-image,
.card1-container .featured-image {
    flex: 0 0 45%;
}

.card1-container .featured-image {
    flex-basis: 50%;
}

.default-container .ts-content-wrap,
.card1-container .ts-content-wrap {
    flex: 1;
    min-width: 0;
}

.default-container .ts-post-excerpt,
.default-container .read-more {
    display: none;
}

.default-container .ts-category {
    display: none;
}

.default-container .entry-post-title {
    font-size: clamp(1rem, 0.5rem + 1.8vw, 1.1rem);
    line-height: 1.4;
}

.default-container .metas {
    font-family: var(--bansta-secondary-font);
    font-size: clamp(0.7rem, 0.7rem + 0.5vw, 0.94rem);
}

.default-container .ts-post-author-name,
.default-container .meta-separator {
    display: none;
}

/* Card1 container */
.card1-container .type-post {
    position: relative;
    background: #fff;
}

.card1-container .featured-image img {
    min-height: 10.125rem;
}

.card1-container header {
    padding: 0.375rem;
}

.card1-container .entry-post-title {
    font-size: clamp(0.9rem, 0.5rem + 1.8vw, 1rem);
}

.card1-container .metas {
    font-family: var(--bansta-secondary-font);
    font-size: clamp(0.7rem, 0.7rem + 0.5vw, 0.8rem);
}

.card1-container .ts-post-author-name,
.card1-container .meta-separator {
    display: none;
}

/* Grid2 container */
.content-entry-grid_2 header {
    padding: 0.375rem 0;
}

.content-entry-grid_2 .ts-post-excerpt {
    font-size: 0.875rem;
}

.content-entry-grid_2 .read-more a {
    border: none;
}

.content-entry-grid_2 .read-more::after {
    content: "...";
    font-size: 0.75rem;
}

.grid2-container .entry-post-title {
    font-size: 1rem;
    line-height: 1.4;
}

/* Card shadow group */
.card1-container .content-entry-card1,
.inner-card-container,
.card-wrap .comments,
.inner-card-wrap,
.card1 .widget:not(.card1 .footer-widget .widget) {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 6px 20px rgba(0, 0, 0, 0.19);
}

.inner-card-container,
.card-wrap .comments,
.inner-card-wrap,
.card1 .widget:not(.card1 .footer-widget .widget) {
    background: #fff;
}

.inner-card-container,
.card-wrap .comments,
.inner-card-wrap,
.card1 .widget {
    padding: 0.75rem;
}

.ts-prev-next-post.inner-card-wrap,
.card-wrap .comments {
    margin-top: 1.24rem;
}

.card1 .widget {
    margin-bottom: 0.625rem;
}

/* Main pagination */
.main-pagination {
    margin-left: 25%;
}

/* Responsive */
@media (min-width: 30rem) {
    .default-container .ts-post-author-name,
    .default-container .meta-separator:not(:nth-child(4)),
    .card1-container .ts-post-author-name,
    .card1-container .meta-separator {
        display: inline;
    }
}

@media (min-width: 37.5rem) {
    #main-content .grid2-container {
        grid-template-columns: repeat(2, minmax(0, 2fr));
    }

    .card1-container header {
        padding-top: 0.5rem;
    }

    .default-container .ts-category,
    .card1-container .ts-category,
    .default-container .ts-post-excerpt,
    .default-container .read-more {
        display: inline-block !important;
    }

    .default-container .ts-post-excerpt {
        font-size: 90%;
    }

    .no-sidebar .content-entry-default .ts-post-excerpt,
    .no-sidebar .content-entry-grid_2 .ts-post-excerpt {
        font-size: 0.91rem;
    }

    .no-sidebar .content-entry-default .read-more a,
    .no-sidebar .content-entry-grid_2 .read-more a {
        font-size: 0.9rem;
    }
}

@media (min-width: 48rem) {
    .grid2-container .content-entry {
        height: 23.75rem;
    }

    .default-container .entry-post-title,
    .entry-post-title {
        line-height: var(--bansta-line-height);
    }

    .no-sidebar .entry-post-title {
        font-size: clamp(1rem, 1.1rem + 2vw, 1.2rem);
    }

    .no-post-thumb .ts-content-wrap {
        width: 100%;
    }

    [class*="-container"] .featured-image img:not(.single-container img) {
        transition: transform 0.3s ease-in-out;
    }

    [class*="-container"] .featured-image img:hover:not(.single-container img:hover) {
        transform: var(--bansta-img-transform-scale);
    }

    .no-sidebar .default-container .metas,
    .no-sidebar .grid2-container .metas,
    .no-sidebar .card1-container .metas {
        font-size: 1rem;
    }
}

@media (min-width: 64rem) {
    .entry-post-title {
        font-size: 98%;
    }

    .read-more a {
        font-size: 0.6875rem;
    }
}


/* ---------------------------------------------------------------
   23. Post Header & Meta
--------------------------------------------------------------- */

.ts-post-header {
    padding-bottom: 0.5rem;
}

.ts-content-wrap .entry-post-title {
    margin-top: 0;
}

.entry-post-title {
    padding: 0;
    font-size: 1rem;
    line-height: 1.4;
    font-family: var(--bansta-primary-font);
    font-weight: var(--bansta-font-weight);
}

h1.entry-post-title,
h2.entry-post-title,
h3.entry-post-title,
h4.entry-post-title {
    text-transform: capitalize;
}

.entry-post-title a {
    color: var(--bansta-secondary-color);
}

.single-content-wrapper .entry-post-title {
    color: var(--bansta-secondary-color);
}

.ts-category,
.ts-category-2 {
    display: flex;
    margin-left: -0.375rem;
    flex-wrap: wrap;
    z-index: 1;
    padding-bottom: 0.25rem;
}

.default-container .ts-category,
.card1-container .ts-category {
    display: none;
}

.ts-category a,
.ts-category-2 a {
    font-size: 0.8rem;
    font-weight: 500;
    color: aliceblue;
    background: var(--bansta-primary-color);
    padding: 0.22rem 0.4rem;
    margin-left: 0.375rem;
}

.ts-category a:hover,
.ts-category-2 a:hover {
    background: var(--bansta-link-hover-color);
}

.ts-meta-info {
    display: inline-flex;
    width: 100%;
    font-family: var(--bansta-secondary-font);
}

.metas {
    padding: 0.25rem 0.5rem 0.25rem 0;
    display: inline-flex;
    font-size: 0.92rem;
    position: relative;
    color: #535353;
}

.metas a,
.metas .fa,
.ts-author-name a {
    word-break: keep-all;
    color: var(--bansta-secondary-color);
}

.ts-post-author {
    color: #3B3B3B;
}

.ts-post-comments,
.meta-separator:nth-child(4) {
    display: none;
}

.heading-default {
    border-bottom: 4px solid var(--bansta-link-color);
    display: inline;
    padding-bottom: 0.5rem;
}

.heading-default::after {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 1px solid #3B3B3B;
    padding-bottom: 0.5rem;
}

@media (min-width: 37.5rem) {
    article .post-thumbnail img {
        height: auto;
    }

    .ts-meta-info {
        height: auto;
    }

    .widget-title {
        color: #282828;
    }

    .ts-post-comments,
    .meta-separator:nth-child(4) {
        display: inline;
    }

    .ts-post-comments .fa {
        font-size: 1.1rem;
    }
}


/* ---------------------------------------------------------------
   24. Featured Images
--------------------------------------------------------------- */

.featured-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

[class*="-container"] .featured-image img:not(.masonry-container img) {
    aspect-ratio: var(--bansta-aspect-ratio);
}

.featured-image-2 img {
    height: 7.5rem;
}

@media (min-width: 37.5rem) {
    .featured-image-2 img {
        height: 7.5rem;
    }

    .widget li img {
        max-width: 25rem;
    }
}


/* ---------------------------------------------------------------
   25. Post Excerpt & Read More
--------------------------------------------------------------- */

.ts-post-excerpt {
    padding-block: 0.625rem;
    line-height: 1.2;
    font-size: 0.9rem;
    color: #454545;
    font-family: var(--bansta-primary-font);
}

.ts-post-content-entry {
    display: flex;
    flex-direction: column;
}

.read-more a {
    border: 1px solid var(--bansta-secondary-color);
    color: var(--bansta-secondary-color);
    font-weight: 600;
    font-size: 0.8125rem;
}

.default-container .read-more a {
    padding: 0.25rem 0.125rem;
    font-size: 0.75rem;
}

.read-more a:hover {
    border-color: var(--bansta-primary-color);
}

@media (min-width: 37.5rem) {
    .read-more a {
        font-size: 70%;
    }

    .no-sidebar .entry-post-title {
        font-size: 1rem;
    }
}


/* ---------------------------------------------------------------
   26. Pagination
--------------------------------------------------------------- */

.pagination {
    margin-block: 0.625rem;
    display: flex;
    justify-content: center;
}

.pagination a,
.pagination span {
    padding: 0.25rem 0.75rem;
    font-size: 0.9rem;
    font-weight: bold;
    display: block;
    font-family: var(--bansta-secondary-font);
    color: #222;
    white-space: nowrap;
}

.pagination .active,
.pagination .current {
    color: #fff;
    background-color: var(--bansta-primary-color);
}


/* ---------------------------------------------------------------
   27. Sidebar & Widgets
--------------------------------------------------------------- */

#sidebar {
    max-width: 100%;
    height: auto;
}

.sidebar-container {
    top: 3.125rem;
    margin-bottom: 0.625rem;
}

.widget {
    background: transparent;
}

.widget li {
    margin-block: 0.8125rem;
}

.widget li img {
    width: 7.5rem;
    max-height: 6.25rem;
    object-fit: cover;
}

.widget ul {
    flex-direction: column;
}

.widget ul li a {
    line-height: 1.6;
    color: var(--bansta-secondary-color);
    font-family: var(--bansta-primary-font);
    font-weight: var(--bansta-font-weight);
    font-size: clamp(0.98rem, 0.5rem + 1.8vw, 1rem);
}

.widget .entry-header {
    margin: -0.375rem 0 0 0.375rem;
    line-height: 1.3;
}

.widget .metas {
    font-size: 0.75rem;
}

@media (min-width: 48rem) {
    .sidebar-container {
        position: sticky;
    }

    .no-sidebar .sidebars {
        display: none;
    }

    .no-sidebar #main-content {
        width: 100%;
    }

}


/* ---------------------------------------------------------------
   28. Single Post
--------------------------------------------------------------- */

.single-container header {
    padding: 0;
}

.single-container .featured-image img {
    aspect-ratio: 16 / 9 !important;
}

.single-container .ts-post-header {
    padding-bottom: 0.375rem;
    position: relative;
}

.single-container .entry-post-title {
    font-size: clamp(1.2rem, 1.1rem + 1vw, 1.4rem);
}

.single-container h2.wp-block-heading {
    font-size: clamp(1.13rem, 1.15rem + 1vw, 1.3rem);
}

.single-container h3.wp-block-heading {
    font-size: clamp(1.03rem, 1.1rem + 1vw, 1.2rem);
}

.single-container h4.wp-block-heading {
    font-size: clamp(1rem, 1.05rem + 1vw, 1.1rem);
}

.single-container h5.wp-block-heading {
    font-size: clamp(0.94rem, 1rem + 1vw, 1.07rem);
}

.single-container h6.wp-block-heading {
    font-size: clamp(0.9rem, 0.94rem + 0.9vw, 1rem);
}

.single-post-wrap .ts-small-box {
    position: static;
    padding-block: 0.625rem;
}

.single-container .ts-post-comments,
.single-container .meta-separator:nth-child(4) {
    display: inline;
}

.single-container .ts-post-comments .fa {
    font-size: 1rem;
}

.single-page-wrap h2 {
    margin-left: -0.625rem;
}

.inner-card-wrap header {
    padding: 0.5rem 0;
}


/* ---------------------------------------------------------------
   29. Author Box
--------------------------------------------------------------- */

.author-box-wrap {
    display: flex;
    border: 1px solid #ccc;
    padding: 1.25rem 0.625rem;
    margin: 1.24rem 0;
}

.author-box-wrap img.avatar {
    width: 3.75rem;
    height: auto;
    border-radius: 50%;
}

.ts-author-url {
    display: none;
}

.desc > div {
    padding: 0.1875rem 0.375rem;
}


/* ---------------------------------------------------------------
   30. Tags & Social Share
--------------------------------------------------------------- */

.ts-post-tags {
    width: 100%;
    margin-bottom: 10px;
}

.ts-tags {
    width: 100%;
    display: inline-flex;
    flex-wrap: wrap;
}

.ts-tags li:not(:first-child) {
    padding-right: 0.125rem;
}

.ts-tags a {
    color: #121212;
}

.ts-tags a:hover {
    color: #E91E21;
}

.ts-tags-label {
    font-weight: 600;
}

.ts-tags-links a {
    font-size: 0.89rem;
    color: #3B3B3B;
    font-weight: 500;
    text-decoration: none !important;
}

.ts-post-tags ul {
    padding-block: 0.25rem;
    display: inline-flex;
}

.ts-post-tags li {
    margin-left: 0 !important;
    list-style: none !important;
    padding-block: 0.25rem !important;
    font-size: 1rem;
    font-weight: 500;
}

.ts-post-tags li a::before {
    content: "#";
}

.social-share {
    margin-bottom: 10px;
}

.ts-post-content .second-inner {
    display: flex;
    flex-direction: column;
}

@media (min-width: 37.5rem) {
    .ts-post-content .second-inner {
        flex-direction: row;
    }

}


/* ---------------------------------------------------------------
   31. Prev / Next Post
--------------------------------------------------------------- */

.ts-prev-next-post {
    display: flex;
    position: relative;
}

.inner-container-default .ts-prev-next-post {
    margin-bottom: 0.625rem;
}

.ts-prev-next-content {
    display: flex;
    flex-direction: column;
}

.ts-prev-post,
.ts-next-post {
    width: 40%;
}

.ts-prev-next-separator {
    width: 20%;
}

.ts-prev-next-content span {
    font-weight: var(--bansta-font-weight);
    margin-bottom: 0.5rem;
}

.ts-prev-next-content a {
    color: var(--bansta-secondary-color);
    font-weight: var(--bansta-font-weight);
    font-size: clamp(0.4rem, 0.7rem + 0.5vw, 0.85rem);
    line-height: 1.5;
}

.ts-prev-next-content a:hover {
    color: var(--bansta-link-hover-color);
}


/* ---------------------------------------------------------------
   32. Related Posts
--------------------------------------------------------------- */

.related-articles {
    width: 100%;
}

.related-post-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.related-articles-container {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.related-articles-container .featured-image img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.related-articles-container .entry-post-title {
    font-size: clamp(0.7rem, 0.8rem + 0.3vw, 0.9rem);
}

.related-articles-container .metas {
    font-size: clamp(0.5rem, 0.7rem + 0.2vw, 0.9rem);
}

@media (min-width: 37.5rem) {
    .related-post-container {
        flex-direction: row;
        gap: 0.75rem;
    }
}

@media (min-width: 48rem) {
    .related-articles-container {
        flex: 1 1 0;
    }
}


/* ---------------------------------------------------------------
   33. Comments
--------------------------------------------------------------- */

.bypostauthor {
	display: block;
}

.comment-navigation {
    margin: 2rem auto;
    font-weight: bold;
}

.fn a,
.comment-content a,
.reply a {
    color: #0c0c0c;
    font-weight: var(--bansta-font-weight);
}

.comment-form .widget-title {
    padding: 0.625rem 0 0.625rem 0.625rem;
}

.comment-content p {
    font-size: 1rem;
    margin-left: 2.5rem;
    margin-top: 0.625rem;
}

.comment-metadata time {
    margin-left: 2.5rem;
    color: #0c0c0c;
}

.comment-edit-link {
    color: var(--bansta-link-color);
}

.comment-metadata a {
    font-size: 0.8125rem;
}

.reply {
    margin: 0.625rem 0;
}

.reply a {
    text-decoration: underline;
}

.comment-reply-title + .comment-form {
    margin-top: 1.45rem;
}

.comment-reply-title a {
    color: #212121;
    margin-left: 0.5rem;
}

.comment-author.vcard {
    display: inline-flex;
    padding: 0.5rem;
    gap: 0.5rem;
}

.comment-author.vcard img {
    width: 1.5625rem;
    border-radius: 50%;
}

.comment-form input[type="submit"] {
    background-color: var(--bansta-primary-color);
    cursor: pointer;
    border-color: var(--bansta-primary-color);
}


/* ---------------------------------------------------------------
   34. Go-to-Top Button
--------------------------------------------------------------- */

#go-to-top {
    position: fixed;
    bottom: 1.25rem;
    right: 0.625rem;
    z-index: 99;
    background-color: var(--bansta-primary-color);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.625rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#go-to-top:hover {
    background-color: #535353;
}

#go-to-top .fa {
    font-size: 1.875rem;
    color: #fefefe;
}

#go-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ---------------------------------------------------------------
   35. WP Caption & Gallery
--------------------------------------------------------------- */

.wp-caption {
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-inline: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8rem 0;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
}

.gallery {
    margin: -0.3125rem;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
    padding: 0.3125rem;
    margin: 0;
}

.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;
}


/* ---------------------------------------------------------------
   36. Footer
--------------------------------------------------------------- */

#site-footer {
    width: 100%;
    margin-top: 1.5rem;
    background: var(--bansta-footer-back-color);
}

.footer-widgets {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.footer-widget {
    width: 100%;
}

.footer-widgets .widget-title,
.footer-widget .wp-block-heading {
    color: var(--bansta-link-color) !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-widgets .widget ul li a {
    color: var(--bansta-footer-color);
    transition: 0.2s ease;
}

.footer-widgets a:hover {
    color: var(--bansta-link-color);
}

.copyright {
    background: var(--bansta-copy-back-color);
    color: var(--bansta-copy-content-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    text-align: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.copyright h3,
.copyright p {
    font-size: 0.9rem;
    margin: 0;
}

.copyright a {
    color: var(--bansta-copy-link-color);
}

@media (min-width: 37.5rem) {
    .footer-widgets {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        width: min(var(--bansta-site-header-size), 100%);
    }

    .footer-widget {
        flex: 1 1 45%;
    }

    .copyright {
        flex-direction: row;
    }
}

@media (min-width: 64rem) {
    .footer-widget {
        flex: 1 1 13.75rem;
    }
}


/* ---------------------------------------------------------------
   37. Gutenberg Post Content
--------------------------------------------------------------- */

.ts-post-content {
    padding-block: 0.5rem;
}

.ts-post-content button {
    padding: 0.4rem 1rem;
    border-color: var(--bansta-primary-color);
}

.ts-post-content ul,
.ts-post-content ol {
    margin-bottom: 0.5rem;
}

.ts-post-content ul li,
.ts-post-content ol li {
    list-style: inherit;
    margin-left: 1.5rem;
    padding: 0.25rem 0;
    line-height: 1.6;
    font-size: 1rem;
    font-family: var(--bansta-primary-font);
    color: #252525;
}

.ts-post-content ul li:not(:last-child) p,
.ts-post-content ol li:not(:last-child) p {
    margin-bottom: 0;
}

.ts-post-content a,
.comment-content a {
    text-decoration: underline;
}


/* ---------------------------------------------------------------
   38. Animations
--------------------------------------------------------------- */

@keyframes animatezoom {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

@-webkit-keyframes animatezoom {
    from { -webkit-transform: scale(0); }
    to   { -webkit-transform: scale(1); }
}

.animate {
    animation: animatezoom 0.6s;
}


/* ---------------------------------------------------------------
   39. Dark Mode
--------------------------------------------------------------- */

.dark-mode,
.dark-mode #site-header:not(.header-2) {
    background: #000;
}

/* Text */
.dark-mode,
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode p,
.dark-mode input[type="submit"],
.dark-mode button,
.dark-mode #modal-container .close,
.dark-mode .top-bar-3 .fa,
.dark-mode .ts-site-title,
.dark-mode .ts-site-title a,
.dark-mode .entry-post-title,
.dark-mode .entry-post-title a,
.dark-mode #main-nav a,
.dark-mode .wp-block-latest-posts:not(.is-grid) li a,
.dark-mode .wp-block-latest-comments .wp-block-latest-comments__comment a,
.dark-mode .widget ul li a,
.dark-mode .pagination li a,
.dark-mode #site-header .fa,
.dark-mode .ts-post-content li,
.dark-mode .read-more a,
.dark-mode .share-nodes .fa,
.dark-mode .search-icon .fa-search,
.dark-mode #breadcrumbs .fa-chevron-right,
.dark-mode .ts-post-comments .fa,
.dark-mode .metas,
.dark-mode .ts-prev-next-content span,
.dark-mode .ts-related-article-title {
    color: #fff;
}

.dark-mode a {
    color: var(--bansta-link-color);
}

/* Transparent backgrounds */
.dark-mode [class*="main-nav"],
.dark-mode .content-wrapper,
.dark-mode .single-content-wrapper {
    background: transparent;
}

/* Primary color backgrounds */
.dark-mode .ts-search-form input[type="submit"],
.dark-mode input[type="submit"],
.dark-mode button,
.dark-mode .top-bar,
.dark-mode .navigation-menu li.current-menu-item > a,
.dark-mode .navigation-menu .navigation > li:hover > a,
.dark-mode .navigation-menu .navigation > li.focus > a,
.dark-mode .navigation-menu .navigation > li > a:hover,
.dark-mode .navigation-menu .navigation > li > a:focus,
.dark-mode .menu-item-has-children:hover,
.dark-mode .ts-search-form button {
    background: var(--bansta-link-color);
}

/* Form inputs */
.dark-mode input[type="text"],
.dark-mode input[type="email"],
.dark-mode input[type="search"],
.dark-mode input[type="password"],
.dark-mode textarea {
    background: #252525;
    border: 1px solid;
}

.dark-mode select {
    background: #454545;
}

.dark-mode input[type="submit"],
.dark-mode button,
.dark-mode .ts-search-form input[type="text"] {
    border: 1px solid #ccc;
    font-weight: 700;
}

/* Transparent controls */
.dark-mode .dropdown-toggle,
.dark-mode .menu-icon,
.dark-mode .menu-icon-canva,
.dark-mode .search-toggle {
    border: none;
    background: transparent;
}

/* Muted text */
.dark-mode .comment-metadata time,
.dark-mode .ts-post-excerpt,
.dark-mode .comment-ajaxified-placeholder .fa {
    color: #ccc !important;
}

.dark-mode .comment-reply-title a {
    color: orangered;
}

/* Structural backgrounds */
.dark-mode .modal-form { 
    background: #121212; 
}
.dark-mode .main-wrapper { 
    background: #222; 
}
.dark-mode .top-bar-2,
.dark-mode .header-2 { 
    background: var(--bansta-primary-color); 
}
.dark-mode .top-bar-3 { 
    background: var(--bansta-link-color); 
}
.dark-mode .top-bar-3 svg { 
    fill: #fff; 
}
.dark-mode .sticky-header { 
    background: var(--bansta-secondary-color); 
}

/* Menu icon borders */
.dark-mode .menu-icon-canva label span,
.dark-mode #menu-icon label span {
    border: 2px solid;
}

/* Dark mode switch */
.dark-mode .slider,
.dark-mode .ajaxified-comments-container {
    background: #484848;
}

.dark-mode .slider::before {
    transform: translateX(0.9375rem);
    box-shadow: 0 2px 8px 0;
}

.dark-mode .slider::after {
    content: "\263C";
    font-size: 0.9375rem;
    position: absolute;
    top: -0.25rem;
    left: 0;
}

.dark-mode .fa-moon-o::before {
    display: none;
}

/* Categories */
.dark-mode .ts-category a,
.dark-mode .ts-category-2 a {
    background: var(--bansta-link-color);
    color: #fff;
}

/* Cards */
.dark-mode .card1-container .type-post,
.dark-mode .card2-container header,
.dark-mode .card3-container header,
.dark-mode .content-entry,
.dark-mode .inner-card-container,
.dark-mode .card1 .widget,
.dark-mode .inner-card-wrap,
.dark-mode .card-wrap .comments {
    background: #0c0c0c !important;
    box-shadow:
        0 4px 8px rgba(250, 250, 250, 0.2),
        0 6px 20px rgba(250, 250, 250, 0.19);
}

/* Accent links */
.dark-mode .entry-post-title a:hover,
.dark-mode .ts-post-author-name a,
.dark-mode .widget ul li a:hover,
.dark-mode .ts-tags a,
.dark-mode .ts-prev-next-content a,
.dark-mode .fn a,
.dark-mode .comment-metadata a,
.dark-mode .comment-content a,
.dark-mode .reply a,
.dark-mode .breadcrumbs .item-cat a,
.dark-mode .breadcrumbs .item-home a,
.dark-mode .comment-ajaxified-placeholder,
.dark-mode .fn a {
    color: var(--bansta-link-color) !important;
}