/**
* Theme Name:         Bansta
* Theme URI:          https://tsteki.com/bansta
* Author:             TS
* Author URI:         https://tsteki.com/author/tsteki
* Description:        Bansta is multipurpose WordPress theme mainly for blog/magazine category. The theme is elegante, well coded for speed performance and SEO ready.
* Version:            1.5.4
* Requires at least:  6.0
* Tested up to:       6.9.1
* Requires PHP:       8.0
* License:            GNU General Public License v3 or later
* License URI:        https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain:        bansta
* Tags:               blog, grid-layout, one-column, two-columns, left-sidebar, right-sidebar
*/


/* Global Defaults
---------------------------------------------------------------
*/
:root {
    --bansta-red: #DF1417;
    --bansta-header-height-1: clamp(3rem, 2.6rem + 1vw, 3.375rem);
    --bansta-header-height-2: clamp(5rem, 4.5rem + 1.5vw, 5.625rem);
    --bansta-system-font: system-ui;
}
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;
}
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; 
}
a {
    text-decoration: none;
    color: var(--bansta-red);
}
a:active,
a:hover {
    outline: 0;
}
a,
li,
td,
th,
p,
h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
h1 {
    font-size: clamp(1.75rem, 1.4rem + 2vw, 2rem);
    padding-block: clamp(0.4rem, 0.3rem + 0.5vw, 0.5rem);
}
h2 {
    font-size: clamp(1.4rem, 1.1rem + 1.5vw, 1.6rem);
    padding-block: clamp(0.3rem, 0.2rem + 0.4vw, 0.35rem);
    text-transform: capitalize;
    word-spacing: 0.15rem;
}
h3 {
    font-size: clamp(1.2rem, 1rem + 1vw, 1.35rem);
    padding-block: clamp(0.25rem, 0.2rem + 0.3vw, 0.3rem);
    line-height: 1.4;
    word-spacing: 0.15rem;
    color: #252525;
}
h4 {
    font-size: clamp(1rem, 0.9rem + 0.6vw, 1.125rem);
    padding-block: 0.2rem;
}
h5 {
    font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
    padding-block: 0.15rem;
}

h6 {
    font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.875rem);
    padding-block: 0.125rem;
}
p {
    font-size: clamp(0.7rem, 0.8rem + 0.3vw, 0.94rem);
    margin-bottom: clamp(1rem, 0.8rem + 0.5vw, 1.3rem);
    line-height: 1.6;
    word-spacing: -0.003rem;
}
b,
strong {
    font-weight: 700;
    overflow-wrap: break-word;
}
small {
    font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.8rem);
}
dfn { 
    font-style: italic; 
}
mark {
    background-color: transparent;
    border-bottom: 0.0625rem 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; 
}
.active,
.current {
    background-color: var(--bansta-link-color);
}
.active a,
.current span {
    color: #ffffff;
}
.clear::after {
    display: table;
    content: "";
    clear: both;
}
.avatar {
    border-radius: clamp(1.25rem, 1rem + 0.5vw, 1.5625rem);
}
@media (min-width: 48rem) { /* 768px */
    h1 { 
        font-size: clamp(2rem, 1.6rem + 1.5vw, 2.2rem); 
    }
    h2 { 
        font-size: clamp(1.6rem, 1.3rem + 1vw, 1.75rem); 
    }
    h3 { 
        font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.5rem); 
    }
    p { 
        line-height: 1.65; 
    }
}
@media (min-width: 64rem) { /* 1024px */
    h1 { 
        font-size: 2.1875rem; 
    }
    h2 { 
        font-size: 1.5625rem; 
    }
    h3 { 
        font-size: 1.3125rem; 
    }
    p { 
        line-height: 1.7; 
    }
}
@media (min-width: 90rem) { /* 1440px */
    h1 { 
        font-size: 2.4rem; 
    }
    h2 { 
        font-size: 1.75rem; 
    }
}

/* 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,.9), transparent);
    pointer-events: none;
}
[class*="item-grid-"] .ts-post-header,
.big-grid-3 .ts-post-header {
    position: absolute;
    padding: 0.625rem 0.9375rem;
    bottom: 4%;
}
[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;
}
@media (min-width: 48rem) { /* ~ 768px */
    .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) { /* ~ 1024px */

    .item-grid-big img {
        max-height: 32.5rem;
    }
}
@media (min-width: 90rem) { /* ~ 1440px */
    .big-grid-default,
    .big-grid-2,
    .big-grid-3,
    .big-grid-4 {
        gap: 0.375rem;
    }
}


/* HTML Forms
--------------------------------------------------------------
*/
fieldset {
    border: 0.0625rem 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: 0.0625rem solid;
    border-left: 0.0625rem solid;
}
tr:last-child th,
tr:last-child td {
    border-bottom: 0.0625rem solid;
}
td:last-child,
th:last-child {
    border-right: 0.0625rem 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%;
}
.ts-search-form {
    position: relative;
}
.ts-search-form::before {
    content: "\f107";
    position: absolute;
    font-family: FontAwesome;
    font-size: 2rem;
    right: 0;
    top: 1.1875rem;
}
.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: 0.0625rem solid;
}
.ts-search-wrap .ts-search-form input[type="text"] {
    width: 94%;
    border: 0.125rem solid #ffffff;
}
.ts-search-form input[type="text"],
input[type="password"] {
    padding: 0.5rem;
    width: 100%;
}
input[type="password"] {
    margin: 0.625rem 0;
}
.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-container form {
    max-width: 80%;
}
.search-icon .ts-search-form input[type="text"] {
    position: absolute;
    top: 2.6875rem;
    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.4375rem;
}
.search-no-results .ts-search-form:not(:first-child) button {
    top: 0.75rem;
}
.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;
}
form {
    display: flex;
    flex-direction: column;
}
form input[type="text"],
form input[type="email"],
form input[type="submit"],
#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;
}
.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 a {
    color: #212121;
    margin-left: 0.5rem;
}
#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: 0.0625rem 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,
.author-box-wrap img.avatar {
    height: auto;
    border-radius: 50%;
}
.imgcontainer img.avatar {
    width: 40%;
}
.author-box-wrap img.avatar {
    width: 3.75rem;
}
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: 0.0625rem 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;
}
.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); }
}
@media (max-width: 26.25rem) { /* 420px */
    .search-icon .ts-search-form input[type="text"]:focus {
        width: 18.75rem;
    }
}
@media (max-width: 48rem) { /* 767px */
    .modal-form {
        width: 80%;
    }
    #modal-container .close {
        right: 22%;
    }
}
#go-to-top {
    position: fixed;
    bottom: 1.25rem;      /* 20px */
    right: 0.625rem;       /* 10px */
    z-index: 99;
    background-color: var(--bansta-link-color);
    cursor: pointer;
    padding: 0.25rem;       /* 4px */
    border-radius: 0.25rem;  /* 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; /* 30px */
}
#go-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.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;
}
.gallery {
    margin: -0.3125rem; /* -5px */
}
.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;
}

/* Global Containers
--------------------------------------------------
*/
.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);
    background-color: var(--bansta-background-color);
}
.container {
    position: relative;
    width: var(--bansta-site-header-size);
    display: flex;
    margin-inline: auto;
    padding-inline: 0.625rem; /* 10px */
    align-items: inherit;
}

.mobile-container {
    display: none !important;
}

.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: 0.1875rem; /* 3px */
    box-shadow: 0 0 0.125rem 0.125rem 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;
}

@media (min-width: 48rem) {
    .container {
        align-items: center;
    }
    .main-wrapper {
        overflow-x: clip;
    }
}

/* top bar
----------------------------------------------------------------------
*/
.top-bar,
.top-bar-2,
.top-bar-3 {
    height: 2.1875rem; /* 35px */
    position: relative;
}
[class*="top-bar"] {
    background-color: var(--bansta-top-bar-back-color);
}
[class*="top-bar"] .fa {
    color: var(--bansta-top-bar-icon-color);
    cursor: pointer;
}
.profile-icon .fa {
    display: inline-block;
    margin-block: 8px 0;
    cursor: pointer;
}
[class*="top-bar"] svg {
    fill: var(--bansta-top-bar-icon-color);
}
.top-bar-3 .fa {
    color: #0c0c0c;
}
.top-bar-3 svg {
    fill: #0c0c0c;
}
.top-social {
    display: flex;
    justify-content: flex-end;
    width: 91.66%;
}
.top-social a {
    display: inline-block;
    padding: 0.3125rem 0.5rem; /* 5px 8px */
}

/* Site Header
------------------------------------------------------------------
*/

.search-no-results header {
    padding: 0;
}

.header-wrapper,
.header-wrapper-2 {
    border-bottom: 0.0625rem solid #ccc;
}

.header-wrapper {
    display: flex;
}

.header-wrapper-2 {
    display: block;
}

/* =====================================================
   HEADER VARIANTS
===================================================== */

.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 {
    height: var(--bansta-header-height-1);
    max-width: 100%;
    position: relative;
}

.header-2 {
    height: var(--bansta-header-height-2);
    display: flex;
    align-items: center;
    border-bottom: none;
}

/* =====================================================
   STICKY
===================================================== */

.sticky-header {
    position: fixed;
    top: 0;
    z-index: 999;
    background-color: #fff;
    max-width: 100%;
}

/* =====================================================
   OFF CANVAS
===================================================== */

#off-canvas,
#off-canvas-2,
#menu-toga,
#menu-toggle {
    display: none;
}

/* =====================================================
   BRANDING
===================================================== */

.site-branding,
.site-branding a,
.site-branding img,
.primary-navigation,
.dark-mode-switch,
.search-icon {
    max-height: var(--bansta-header-height-1);
}

.site-branding {
    width: 100%;
    position: absolute;
    top: 0;
    display: inline-flex;
    justify-content: center;
}

.ts-site-title {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.ts-site-title a {
    font-size: var(--bansta-site-identity-font-size);
    font-family: var(--bansta-site-identity-font);
    font-weight: var(--bansta-font-weight);
    color: var(--bansta-site-title-color);
}

/* Logo */

.header .ts-image-logo img,
.header-4 .ts-image-logo img,
.header-5 .ts-image-logo img {
    max-height: 3.3125rem;
}

.ts-image-logo img {
    margin: 0;
    width: var(--bansta-logo-size);
    display: inline-flex;
    vertical-align: middle;
}

/* =====================================================
   NAVIGATION
===================================================== */

[class*="main-nav"] {
    background-color: var(--bansta-mainnav-back-color);
}

.primary-navigation {
    display: flex;
    align-items: center;
}

.primary-navigation button,
.menu-icon-canva {
    border: none;
    background: transparent;
}

.navigation {
    position: absolute;
    top: 2.9375rem;
    left: 0;
    width: 100%;
    background: #454545;
    display: block;
    z-index: 2;
    overflow: hidden;
    height: auto;
    transition: all 0.2s ease-in-out;
}

.navigation > li {
    position: relative;
}

.navigation li a {
    display: block;
    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 {
    height: 3rem;
    display: flex;
}

.main-nav-2 .navigation li a {
    padding: 0.6875rem;
}

/* =====================================================
   SUB MENUS
===================================================== */

.sub-menu,
.children {
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-top: 0.125rem solid black;
    background-color: var(--bansta-secondary-color);
    z-index: 999;
}

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;
}

.sub-menu.toggled-on,
.children.toggled-on {
    visibility: visible;
    position: static;
}

/* =====================================================
   DROPDOWN
===================================================== */

.menu-item-has-children {
    position: relative;
}

.menu-item-has-children .fa {
    color: #eeeeee;
    transform: rotate(-90deg);
    font-size: 1rem;
    transition: transform .2s ease;
}

.toggled-on .menu-item-has-children > .fa {
    transform: rotate(0deg);
}

.dropdown-toggle {
    padding: 0 0.375rem;
    position: absolute;
    right: 8px;
}

.sub-menu .dropdown-toggle {
    float: right;
}

.fa-chevron-down {
    font-size: 0.8125rem;
}

/* =====================================================
   DARK MODE SWITCH
===================================================== */

.dark-mode-switch {
    position: absolute;
    left: 78%;
    top: 0.6875rem;
    margin: auto;
    display: inline-flex;
    justify-content: flex-end;
}

#switch {
    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;
}

label .slider {
    width: 2.0625rem;
    height: 1.125rem;
    background: #484848;
    display: inline-block;
    cursor: pointer;
    position: relative;
    border-radius: 0.9375rem;
    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);
}

/* =====================================================
   SEARCH
===================================================== */

.search-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.search-icon {
    position: absolute;
    top: 0.875rem;
    right: 0.625rem;
    z-index: 99;
    display: inline-flex;
    justify-content: flex-end;
}

.search-icon .fa-search {
    color: var(--bansta-menu-link-color);
}

#close {
    position: absolute;
    right: 0.625rem;
    top: 2.0625rem;
    font-size: 2.1875rem;
    font-weight: 600;
    cursor: pointer;
    display: none;
}

/* =====================================================
   MOBILE MENU ICON
===================================================== */

.mobile-container,
.menu-icon {
    display: inline-block;
}

.menu-icon {
    position: absolute;
    left: 0;
    z-index: 1;
}

.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 #353535;
    background-color: var(--bansta-menu-link-color);
    transition: transform .3s ease, opacity .3s ease;
}

/* Toggle 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);
}

/* Menu visibility */

#menu-toggle:not(:checked) ~ #main-nav > ul {
    height: 0;
    visibility: hidden;
}

#menu-toggle:checked ~ #main-nav > ul {
    height: calc(100vh - 3.125rem);
}

/* =====================================================
   UTILITIES
===================================================== */

.container {
    align-items: inherit;
}

.toggled-on > .fa {
    transform: translate(0);
}

.select-menu a {
    color: var(--bansta-secondary-color);
    font-weight: 500;
}

/* =====================================================
   TABLET & DESKTOP (768px+)
===================================================== */

@media (min-width: 48rem) {

    :root {
        --offcanvas-width-percent: 22%;
        --offcanvas-width-rem-small: 12.5rem;
    }

    .header-5 {
        display: none;
    }

    #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 input[type="submit"] {
        width: 40%;
    }

    /* ================= OFF CANVAS ================= */

    .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;
    }

    #menu-toga:checked ~ .off-canvas-menu {
        width: var(--offcanvas-width-percent);
    }

    /* ================= ICON (.fa) RESTORED ================= */

    .off-canvas-menu .menu-item-has-children .fa {
        color: #ffffff;
        transform: rotate(-90deg);
    }

    .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);
    }

    /* ================= 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;
    }

    /* ================= CONTENT SHIFT ================= */

    #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-wrapper .content-wrapper,
    .off-canvas-wrapper .single-content-wrapper,
    .off-canvas-wrapper .footer-widgets {
        margin-left: var(--offcanvas-width-percent);
    }

    /* Smaller override preserved (same behavior) */
    #menu-toga:checked ~ #site-header,
    #menu-toga:checked ~ .content-wrapper {
        margin-left: var(--offcanvas-width-rem-small);
    }

    /* ================= MENU ICON ================= */

    #menu-toga,
    .menu-icon {
        display: none;
        visibility: hidden;
    }

    .menu-icon-canva {
        display: inline-flex;
        background-color: transparent;
        padding-left: 0;
    }

    .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: 0.125rem solid var(--bansta-menu-icon-color);
        background-color: var(--bansta-menu-link-color);
        transition: transform 0.6s, opacity 0.6s;
    }

    /* ================= OFF CANVAS CONTENT ================= */

    .off-canvas-menu .dark-mode-switch {
        top: 1.6rem;
    }

    .off-canvas-menu .site-branding {
        margin: 0.3125rem;
        width: 100%;
        justify-content: 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 .profile-icon {
        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-link-color);
    }

    .off-canvas-menu .top-social {
        justify-content: flex-start;
        border-top: 0.0625rem 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;
    }

    /* ================= DESKTOP NAV ================= */

    .site-branding {
        position: initial;
        justify-content: flex-start;
    }

    .navigation {
        position: inherit;
        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;
    }

    /* ================= DROPDOWN ICONS (.fa) ================= */

    .header .sub-menu,
    .main-nav-2 .sub-menu,
    .header-4 .sub-menu {
        min-width: 13.75rem;
    }

    .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 ul > .focus > .sub-menu {
        visibility: visible;
        pointer-events: 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%;
    }

    #off-canvas-2 .sub-menu.toggled-on,
    #off-canvas-2 .children.toggled-on {
        visibility: visible;
        position: static;
    }

    .header .dropdown-toggle,
    .main-nav-2 .dropdown-toggle,
    .header-4 .dropdown-toggle {
        display: none;
    }

    .off-canvas-menu .ts-dropdown-btn ~ .sub-menu {
        display: block !important;
    }

    .off-canvas-menu .dropdown-toggle {
        float: right;
    }
}


/* =====================================================
   LARGE DESKTOP (1025px+)
===================================================== */

@media (min-width: 64.0625rem) {

    :root {
        --offcanvas-width-percent: 17.5rem;
    }

    #menu-toga:checked ~ .off-canvas-menu {
        width: var(--offcanvas-width-percent);
    }

    #menu-toga:checked ~ #site-header,
    #menu-toga:checked ~ .content-wrapper {
        margin-left: var(--offcanvas-width-percent);
    }
}

/* Main Content
------------------------------------------------------------------------
*/
.breadcrumbs-container {
    width: var(--bansta-site-content-size);
    margin: auto;
    max-width: 100%;
    padding: 0.625rem; /* 10px */
}
.breadcrumbs {
    display: inline-flex;
    align-items: center;
}
.breadcrumbs .separator {
    padding-inline: 0.25rem; /* 4px */
}
.breadcrumbs li,
.breadcrumbs li a {
    font-size: clamp(0.3rem, 0.6rem + 0.2vw, 0.9rem);
}
.breadcrumbs .item-cat a,
.breadcrumbs .item-home a {
    color: #454545;
    word-break: normal
}
#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; /* 13px */
    color: #3B3B3B;
}
.main-area,
#site-footer .container {
    flex-direction: column;
}
#main-content .grid2-container {
    grid-template-columns: none;
}
.left-sidebar .main-area {
    flex-direction: column;
}
.ts-post-header {
    padding-bottom: 0.5rem; /* 8px */
}
.default-container .ts-post-excerpt,
.default-container .read-more {
    display: none;
}
.default-container .entry-post-title {
    line-height: 1.3;
    font-weight: var(--bansta-font-weight);
}
.default-container .entry-post-title,
.card1-container .entry-post-title {
    font-size: 0.98rem;
    font-size: clamp(0.3rem, 0.48rem + 1.8vw, 0.98rem);
}
.default-container .ts-category {
    display: none;
}
.card1-container .featured-image img {
    min-height: 8.125rem; /* 130px */
}
.default-container .metas,
.card1-container .metas {
    font-size: 0.78rem;
    padding-right: 0.25rem; /* 4px */
    font-family: var(--bansta-secondary-font);
}
.card1-container header {
    padding: 0.375rem; /* 6px */
}
.main-pagination {
    margin-left: 25%;
}
.content-wrapper,
.single-content-wrapper {
    margin-block: 1.25rem; /* 20px */
}
.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; /* 10px */
    column-gap: 1.25rem; /* 20px */
}
#main-content {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}
#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; /* 20px */
}
#main-content .grid2-container {
    max-width: 100%;
    grid-gap: 1.5625rem 0.9375rem; /* 25px 15px */
}
.card1-container .type-post {
    position: relative;
    background: #fff;
    box-shadow: 
        0 0.25rem 0.5rem rgba(0,0,0,0.2),
        0 0.375rem 1.25rem rgba(0,0,0,0.19);
}
.card1-container header {
    padding-top: 0.5rem; /* 8px */
}
.default-container .content-entry-default,
.card1-container .content-entry-card1 {
    display: flex;
    gap: 0.8rem;
}
.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;
}
.entry-post-title {
    padding: 0;
    font-size: 1rem;
    line-height: 1.4;
    font-family: var(--bansta-primary-font);
    font-weight: var(--bansta-font-weight);
}
.single-content-wrapper .entry-post-title {
    color: var(--bansta-secondary-color);
}
.ts-post-excerpt {
    padding-block: 0.625rem; /* 10px */
    line-height: 1.2;
    font-size: 0.9rem;
    color: #454545;
    font-family: var(--bansta-primary-font);
}
[class*="-container"] .featured-image img:not(.masonry-container img) {
    aspect-ratio: var(--bansta-aspect-ratio);
}
.read-more a {
    border: 0.0625rem solid var(--bansta-secondary-color);
    color: var(--bansta-secondary-color);
    font-weight: 600;
    font-size: 0.8125rem; /* 13px */
}
.default-container .read-more a {
    padding: 0.25rem 0.125rem; /* 4px 2px */
    font-size: 0.75rem; /* 12px */
}
.read-more a:hover {
    border-color: #E91E21;
}
.pagination {
    margin-block: 0.625rem; /* 10px */
}
.pagination ul {
    display: flex;
    justify-content: center;
}
.pagination a,
.pagination span {
    padding: 0.25rem 0.75rem; /* 4px 12px */
    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-link-color);
}
#sidebar {
    max-width: 100%;
    height: auto;
}
.sidebar-container {
    top: 3.125rem; /* 50px */
    margin-bottom: 0.625rem; /* 10px */
}
.content-entry {
    background: #fff;
    width: 100%;
    height: auto;
    float: left;
    max-width: 100%;
    overflow: hidden;
}
.content-entry-grid_2 header {
    padding: 0.375rem 0; /* 6px */
}
.content-entry-grid_2 .ts-post-excerpt {
    font-size: 0.875rem; /* 14px */
}
.content-entry-grid_2 .read-more a {
    border: none;
}
.content-entry-grid_2 .read-more::after {
    content: "...";
    font-size: 0.75rem; /* 12px */
}
.featured-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}
.single-container header {
    padding: 0;
}
.single-container .featured-image img {
    aspect-ratio: 16 / 9 !important;
}
.single-container .ts-post-header {
    padding-bottom: 0.375rem; /* 6px */
    position: relative;
}
.single-container .entry-post-title {
    font-size: 1.2rem;
}
.single-post-wrap .ts-small-box {
    position: static;
    padding-block: 0.625rem; /* 10px */
}
.inner-card-container,
.card-wrap .comments {
    padding: 0.75rem; /* 12px */
    background: #fff;
    box-shadow:
        0 0.25rem 0.5rem rgba(0,0,0,0.2),
        0 0.375rem 1.25rem rgba(0,0,0,0.19);
}
.card1 .widget {
    padding: 0.75rem;
    margin-bottom: 0.625rem; /* 10px */
    background: #fff;
    box-shadow:
        0 0.25rem 0.5rem rgba(0,0,0,0.2),
        0 0.375rem 1.25rem rgba(0,0,0,0.19);
}

.entry-post-title a {
    color: var(--bansta-secondary-color);
}
.default-container .entry-post-title,
.card1-container .entry-post-title {
    padding: 0;
}
.grid2-container .entry-post-title {
    font-size: 1rem;
    line-height: 1.4;
}
.ts-category,
.ts-category-2 {
    display: flex;
    margin-left: -0.375rem; /* -6px */
    flex-wrap: wrap;
    z-index: 1;
    padding-bottom: 0.25rem; /* 4px */
}
.ts-category a,
.ts-category-2 a {
    font-size: 0.8rem;
    font-weight: 500;
    color: aliceblue;
    background: var(--bansta-primary-color);
    padding: 0.2rem 0.4rem; /* 4px 8px */
    margin-left: 0.375rem; /* 6px */
}
.ts-category a:hover,
.ts-category-2 a:hover {
    background: var(--bansta-link-hover-color);
}
.ts-meta-info {
    display: inline-flex;
    width: 100%;
    margin-bottom: 0.3125rem; /* 5px */
    font-family: var(--bansta-secondary-font);
}
.metas {
    padding: 0.25rem 0.5rem 0.25rem 0;
    display: inline-flex;
    font-size: 0.8rem;
    position: relative;
}
.metas {
    color: #535353;
}
.metas a,
.metas .fa,
.ts-author-name a {
    word-break: keep-all;
    color: var(--bansta-secondary-color);
} 
.ts-post-author {
    color: #3B3B3B;
}
.heading-default {
    border-bottom: 0.25rem solid var(--bansta-link-color); /* 4px */
    display: inline;
    padding-bottom: 0.5rem; /* 8px */
}
.heading-default::after {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 0.0625rem solid #3B3B3B;
    padding-bottom: 0.5rem;
}
.widget {
    background: transparent;
}
.widget li {
    margin-block: 0.8125rem; /* 13px */
}
.widget li img {
    width: 7.5rem; /* 120px */
    max-height: 6.25rem; /* 100px */
    object-fit: cover;
}
.widget ul {
    flex-direction: column;
}

.widget ul li a {
    line-height: 1.6;
    font-weight: 600;
    color: var(--bansta-secondary-color);
    font-family: var(--bansta-primary-font);
    font-weight: var(--bansta-font-weight);
}

.widget .entry-header {
    margin: -0.375rem 0 0 0.375rem; /* -6px 0 0 6px */
    line-height: 1.3;
}

.widget .metas {
    font-size: 0.75rem; /* 12px */
}
.author-box-wrap {
    display: flex;
    border: 0.0625rem solid #ccc;
    padding: 1.25rem 0.625rem; /* 20px 10px */
    margin: 1.24rem 0;
}
.ts-author-url {
    display: none;
}

.desc > div {
    padding: 0.1875rem 0.375rem; /* 3px 6px */
}

.ts-tags-label {
    font-weight: 600;
}

.ts-tags-links a {
    font-size: 0.89rem;
    color: #3B3B3B;
    font-weight: 500;
    text-decoration: none !important;
}

.single-page-wrap h2 {
    margin-left: -0.625rem; /* -10px */
}

.ts-post-content .second-inner {
    display: flex;
    flex-direction: column;
}

.ts-post-tags,
.social-share {
    margin-bottom: 10px;
}

.ts-prev-next-post {
    display: flex;
    position: relative;
}

.inner-container-default .ts-prev-next-post {
    margin-bottom: 0.625rem; /* 10px */
}

.ts-prev-next-content {
    display: flex;
    flex-direction: column;
}

.ts-prev-post,
.ts-next-post {
    width: 40%;
}

.ts-next-post {
    position: absolute;
}

.ts-prev-next-separator {
    width: 20%;
}

.ts-prev-next-content span {
    font-weight: 600;
    margin-bottom: 0.5rem; /* 8px */
    color: #282828;
}

.ts-prev-next-content a {
    color: var(--bansta-secondary-color);
    font-weight: 600;
    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);
}

.related-articles {
    width: 100%;
}

/* Mobile */
.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 header {
    padding: 0.5rem;
}

.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);
}

.comment-author.vcard {
    display: inline-flex;
    padding: 0.5rem; /* 8px */
    gap: 0.5rem;
}
.comment-author.vcard img {
    width: 1.5625rem; /* 25px */
}
.comment-form input[type="submit"] {
    background-color: var(--bansta-primary-color);
    cursor: pointer;
}

@media (min-width: 37.5rem) { /* 600px */

    #main-content .grid2-container {
        grid-template-columns: repeat(2, minmax(0, 2fr));
    }

    .default-container .ts-category,
    .default-container .ts-post-excerpt, 
    .default-container .read-more {
        display: inline-block;
    }

    article .post-thumbnail img {
        height: auto;
    }

    .ts-meta-info {
        height: auto;
    }

    .default-container .ts-post-excerpt {
        font-size: 90%;
    }

    .card1-container .entry-post-title {
        font-size: 92%;
    }

    .widget-title {
        color: #282828;
    }

    .widget li img {
        max-width: 25rem; /* 400px */
    }

    .default-container .metas {
        font-size: 0.8rem;
    }
    .read-more a {
        font-size: 70%;
    }

    .featured-image-2 img {
        height: 7.5rem; /* 120px */
    }

    .default-container .entry-post-title,
    .card1-container .entry-post-title {
        line-height: 1.3;
    }

    .ts-post-content .second-inner {
        flex-direction: row;
    }

    .ts-post-tags,
    .social-share {
        margin-bottom: 0;
    }

    .no-sidebar .entry-post-title a {
        font-size: 1rem;
    }
    .related-post-container {
        flex-direction: row;
        gap: 0.75rem;
    }
}


@media (min-width: 48rem) {
    .main-area {
        flex-direction: row;
    } 
    .grid2-container .content-entry {
        height: 23.75rem; /* 380px */
    }

    .default-container .entry-post-title, 
    .entry-post-title {
        line-height: var(--bansta-line-height);
    }

    .no-sidebar .entry-post-title a {
        font-size: 1.1rem;
    }

    .no-post-thumb .ts-content-wrap {
        width: 100%;
    }

    .sidebar-container {
        position: sticky;
    }

    .no-sidebar .sidebars {
        display: none;
    }

    .no-sidebar #main-content {
        width: 100%;
    }
    .left-sidebar .main-area {
        flex-direction: row-reverse;
    }
    [class*="-container"] .featured-image img:hover {
        transform: var(--bansta-img-transform-scale);
    }

    .main-area {
        column-gap: 0.9rem; 
    }

    .card1-container .entry-post-title {
        font-size: 94%;
    }

    .related-articles-container {
        flex: 1 1 0;
    }

}

@media (min-width: 64rem) { /* 1024px */

    .entry-post-title {
        font-size: 98%;
    }

    .widget ul li a {
        font-size: 96%;
    }

    .read-more a {
        font-size: 0.6875rem; /* 11px */
    }
}
.ts-post-tags {
    width: 100%;
}

.ts-tags {
    width: 100%;
    display: inline-flex;
    flex-wrap: wrap;
}

.ts-tags li:not(:first-child) {
    padding-right: 0.125rem; /* 2px */
}

.ts-tags a {
    color: #121212;
}

.ts-tags a:hover {
    color: #E91E21;
}

.ts-post-tags ul {
    padding-block: 0.25rem; /* 4px */
    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: "#";
}

/* ==========================================================
   FOOTER
========================================================== */

/* =========================================
   MOBILE FIRST FOOTER SYSTEM
=========================================*/

/* ===== Base = Mobile ===== */

#site-footer {
    width: 100%;
    margin-top: 1.5rem;
    background: var(--bansta-footer-back-color);
}

/* Stack widgets vertically on mobile */
.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%;
}

/* Titles */
.footer-widgets .widget-title,
.footer-widget .wp-block-heading {
    color: var(--bansta-red) !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Links */
.footer-widgets a {
    color: #fff !important;
    transition: 0.2s ease;
}

.footer-widgets a:hover {
    color: var(--bansta-link-color);
}

/* ===== Copyright (Mobile) ===== */

.copyright {
    background: var(--bansta-primary-color);
    color: var(--bansta-copy-content-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    text-align: center;
    gap: 0.25rem;
}

.copyright h3,
.copyright p {
    font-size: 0.9rem;
    margin: 0;
}

.copyright a {
    color: var(--bansta-link-color);
}

/* =========================================
   GUTENBERG CLEANUP (Mobile First)
=========================================*/

.ts-post-content {
    padding-block: 0.5rem;
}

.ts-post-content button {
    padding: 0.4rem 1rem;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
}

.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 a,
.comment-content a {
    text-decoration: underline;
}

/* =========================================
   TABLET UP (600px+)
=========================================*/

@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;
    }
}

/* =========================================
   DESKTOP UP (1024px+)
=========================================*/

@media (min-width: 64rem) {

    .footer-widget {
        flex: 1 1 220px;
    }

}

/* Dark Mode 
------------------------------------------------------------------------------
*/
/* =====================================================
   DARK MODE (Optimized — No Selector Removed)
===================================================== */

/* Base background */
.dark-mode,
.dark-mode #site-header:not(.header-2) {
    background: #000;
}

/* -----------------------------------------------------
   TEXT COLOR WHITE GROUP
----------------------------------------------------- */
.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;
}

/* Links */
.dark-mode a {
    color: var(--bansta-red);
}

/* Transparent wrappers */
.dark-mode [class*="main-nav"],
.dark-mode .content-wrapper,
.dark-mode .single-content-wrapper {
    background: transparent;
}

/* -----------------------------------------------------
   PRIMARY 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);
}

/* 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: 0.0625rem solid;
}

.dark-mode select {
    background: #454545;
}

.dark-mode input[type="submit"],
.dark-mode button,
.dark-mode .ts-search-form input[type="text"] {
    border: 0.0625rem solid #ccc;
    font-weight: 700;
}

/* Icon buttons */
.dark-mode .dropdown-toggle,
.dark-mode .menu-icon,
.dark-mode .menu-icon-canva,
.dark-mode .search-toggle {
    border: none;
    background: transparent;
}

/* Secondary 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;
}

/* Layout 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-red); }
.dark-mode .top-bar-3 svg { fill: #fff; }

.dark-mode .sticky-header {
    background: var(--bansta-secondary-color);
}

.dark-mode .menu-icon-canva label span,
.dark-mode #menu-icon label span {
    border: 0.125rem solid ;
}

/* -----------------------------------------------------
   SWITCH (Your Original Working Logic)
----------------------------------------------------- */
.dark-mode .slider,
.dark-mode .ajaxified-comments-container {
    background: #484848;
}

.dark-mode .slider::before {
    transform: translateX(0.9375rem);
    box-shadow: 0 0.125rem 0.5rem 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;
    box-shadow:
        0 0.25rem 0.5rem rgba(250,250,250,0.2),
        0 0.375rem 1.25rem 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;
}
