/**********************************************************************
***********************************************************************
____________________________  _____________  __________________________
|   __|  __ \_    _|  ___|  \/  |   _  |  |  |     |_    _|  ___/  ___/
|  |__|  __ < |  | |  ___|      |   ___|  |__|  -  | |  | |  ___|___  \
|__|  |_____/ |__| |_____|__||__|__|   |_____|__|__| |__| |_____/_____/ 

Theme Name: Nemesis
Theme URI: http://fbtemplates.net/html/nemesis/
Description: Minimal Blog HTML Template
Author: fbtemplates
Author URI: http://themeforest.net/user/fbemplates
************************************************************************
************************************************************************/
/* Table of Contents
=====================================
1.  Root
2.  Typography
3.  General
4.  Navbar - Header
5.  Featured Slider
6.  Error 404
7.  Seach Form
8.  Page Settings
    1. Full Page
    2. Four Columns
9.  Posts
10. Blog Pager
11. Footer
12. Back to Top
13. Sidebar
14. Related Posts
15. Share Buttons
16. Comments
17. Magazine
18. Headline
19. Popular Posts
20. Subscribe Form
21. Sidebar Menu
22. Footer Menu
23. Widget Settings
24. Contact Form
25. Magazine Sliders
26. Magazine Newsletter
27. Magazine Blocks
28. Gallery
29. Video Gallery
30. Magazine Related Posts
31. Mega Menu
===================================== */
/* Root
===================================== */
:root {
  --primary:   #ff8c00;
  --secondary: #6c757d;
  --success:   #9adca1;
  --info:      #17a2b8;
  --warning:   #ffc107;
  --danger:    #dc3545;
  --light:     #f1f4f9;
  --dark:      #343a40;
  --white:     #ffffff;
  --black:     #000;
}

.badge-primary,
.bg-primary {
  background-color: var(--primary) !important;
}

.badge-secondary,
.bg-secondary {
  background-color: var(--secondary) !important;
}

.badge-success,
.bg-success {
  background-color: var(--success) !important;
}

.badge-info,
.bg-info {
  background-color: var(--info) !important;
}

.badge-warning,
.bg-warning {
  background-color: var(--warning) !important;
}

.badge-danger,
.bg-danger {
  background-color: var(--danger) !important;
}

.badge-light,
.bg-light {
  background-color: var(--light) !important;
}

/* Custom Contact Link Style */
.contact-link {
  background-color: var(--primary) !important;
  border-radius: 5px !important;
  padding: 4px 10px !important;
  color: var(--white) !important;
  transition: all 0.3s ease;
}

.contact-link:hover {
  opacity: 0.9;
}

.badge-dark,
.bg-dark {
  background-color: var(--dark) !important;
}

.badge-black,
.bg-black {
  background-color: #000 !important;
}

.bg-red {
  background-color: #ff005b !important;
}

.bg-orange {
  background-color: #ff9900 !important;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle,
.btn-primary,
.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary,
.btn-secondary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
.btn-success,
.btn-success:hover {
  background-color: var(--success);
  border-color: var(--success);
}

.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
.btn-info,
.btn-info:hover {
  background-color: var(--info);
  border-color: var(--info);
}

.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
.btn-warning,
.btn-warning:hover {
  background-color: var(--warning);
  border-color: var(--warning);
}

.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
.btn-danger,
.btn-danger:hover {
  background-color: var(--danger);
  border-color: var(--danger);
}

.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
.btn-light,
.btn-light:hover {
  background-color: var(--light);
  border-color: var(--light);
}

.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
.btn-dark,
.btn-dark:hover {
  background-color: var(--dark);
  border-color: var(--dark);
}

.btn-black:not(:disabled):not(.disabled):active, .btn-black:not(:disabled):not(.disabled).active,
.btn-black,
.btn-black:hover {
  background-color: var(--black);
  border-color: var(--black);
}

/* Typography
===================================== */
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: #393939;
  font-weight: 600;
  margin: 0;
}

h1, .h1 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: .3px;
}

h2, .h2 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 25px;
  line-height: 27px;
}

h3, .h3 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 20px;
  line-height: 24px; 
}

h4, .h4 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 20px;
  line-height: 24px;
}

h5, .h5 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 18px;
  line-height: 20px;
}

h6, .h6 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 14px;
  line-height: 17px;
}

/* General
===================================== */
html,
body {
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

@media (min-width: 1442px) {
  .container {
    max-width: 1200px;
  }
  .slider-width {
    margin-left: -80px;
    margin-right: -80px;
  }
}

.card {
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: 0 15px 15px -10px rgba(23, 16, 159, 0.15);
  box-shadow: 0 15px 15px -10px rgba(23, 16, 159, 0.15);
}

body {
  background: #fff;
  color: #333;
  font-size: 14px;
  font-family: "Nimbus Sans", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

.alert-neutral {
  background-color: #f1f1f1;
  color: #000;
  border-color: #f1f1f1;
}

body.dark-mode .alert-neutral {
  background-color: #333333;
  color: #fff;
  border-color: #333333;
}

a {
  color: #007bff;
}

a .fa, a .fab, a .fad, a .fal, a .far, a .fas {
  font-size: calc(14px + 5px);
}

a:hover {
  color: #ff8c00;
  text-decoration: none;
}

p {
  line-height: 1.6em;
}

button:focus,
button:active:focus,
button.active {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn:focus,
.btn.focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn:not(:disabled):not(.disabled):active:focus,
.btn:not(:disabled):not(.disabled).active:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

a.badge:focus {
  outline: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.radius-0 {
  border-radius: 0;
}

.radius-10 {
  border-radius: 15px !important;
  overflow: hidden !important;
}

.radius-25 {
  border-radius: 25px !important;
  overflow: hidden !important;
}

.o-visible {
  overflow: visible !important;
}

.list-unstyled li a {
  padding: .25rem 0;
  display: block;
}

.fbt-resize {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  position: relative;
  background-position: center;
  background-size: cover;
}

:focus {
  outline: 0;
}

.divider {
  position: relative;
}

.divider:before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 80%;
  height: 2px;
  margin-left: -40%;
  content: '';
  background: radial-gradient(ellipse at center, #fff 0, rgba(255, 255, 255, 0) 75%);
  opacity: .6;
}

#page-wrapper {
  background: transparent;
  max-width: 100%;
  margin-top: 25px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  -webkit-box-shadow: 0 0 0px rgba(23, 16, 159, 0.15);
          box-shadow: 0 0 0px rgba(23, 16, 159, 0.15);
  position: relative;
  min-height: calc(100vh - 25px);
  display: flex;
  flex-direction: column;
}

#page-wrapper.full-page {
  margin-top: 0;
}

#page-wrapper.four_columns {
  margin-top: 20px;
}

@media (max-width: 1365.98px) {
  .text-responsive {
    font-size: calc(150% + 1vw + 1vh) !important;
  }
}

.btn:hover {
  opacity: .9;
}

blockquote {
  font-style: italic;
  font-weight: normal;
  font-family: "Nimbus Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6em;
  margin: 10px 0;
}

blockquote .card {
  background-color: var(--dark);
}

blockquote p {
  position: relative;
  font-family: "Nimbus Sans", sans-serif;
  color: var(--white);
}

blockquote p:before {
  content: '\201C';
  color: var(--white);
  font-size: 10em;
  font-weight: 700;
  opacity: .3;
  position: absolute;
  top: 20px;
  left: -55px;
}

blockquote.fbt-shape-container:before {
  display: none;
}

blockquote.fbt-shape-container:after {
  width: 350px;
  height: 350px;
  border-radius: 2000px;
  background: linear-gradient(45deg, rgba(0, 201, 255, 0) 45%, rgba(0, 201, 255, 0.25) 100%);
  right: -110px;
  top: -110px;
}

mark {
  background-color: var(--success);
  color: #fff;
}

@media (min-width: 1200px) {
  .fbt-sticky-content {
    top: 70px;
  }
}

@media (max-width: 1199.98px) {
  .fbt-sticky-content {
    top: 10px;
  }
}

.fbt-bg-white {
  margin: 5px 5px 0 0;
  display: inline;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding: .198em .4em .55em;
  line-height: 1.4em;
  background-size: 100% 80%;
  background-repeat: no-repeat;
  background-image: linear-gradient(transparent calc(13%), #fff 1px);
  position: relative;
  color: #393939;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

a .fbt-bg-white {
  color: #393939 !important;
}

a:hover .fbt-bg-white {
  background-image: linear-gradient(transparent calc(13%), #ff005b 1px);
  color: #fff !important;
}

.border {
  border: 1px solid #eee !important;
}

.border-top {
  border-top: 1px solid #eee !important;
}

.border-right {
  border-right: 1px solid #eee !important;
}

.border-bottom {
  border-bottom: 1px solid #eee !important;
}

.border-left {
  border-left: 1px solid #eee !important;
}

/* Navbar - Header
===================================== */
.navbar {
  margin-bottom: 40px;
}

@media (min-width: 1200px) {
  .navbar {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.navbar .nav-link {
  text-transform: uppercase;
  font-family: "Nimbus Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

@media (min-width: 1200px) {
  .navbar .nav-link {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .navbar .dropdown-menu {
    border-top: 3px solid #ff8c00 !important;
    -webkit-animation: dropdown 0.2s ease forwards;
            animation: dropdown 0.2s ease forwards;
  }
  .navbar .dropdown-menu .nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

.dropdown-toggle::after {
  content: "\f078";
  font-family: fontAwesome;
  border: 0;
  font-size: 7px;
  margin-left: 3px;
  font-weight: normal;
}

@media (min-width: 576px) {
  .nav-mobile-px {
    padding: 0 15px !important;
  }
}

.dropdown .nav-link {
  outline: 0;
}

.dropdown .dropdown-menu {
  -webkit-box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.06);
          box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.06);
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  margin: 0 0 0;
  padding: 0.4rem 0;
  border: 0;
  min-width: 11rem;
}

@media (max-width: 1199.98px) {
  .dropdown .dropdown-menu {
    padding: 0;
    margin: 0;
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

.dropdown .dropdown-menu .dropdown-item {
  position: relative;
  padding: 0.45rem 1rem;
  font-family: "Nimbus Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

@media (max-width: 1199.98px) {
  .dropdown .dropdown-menu .dropdown-item {
    text-transform: uppercase;
    color: black;
  }
}

@media (min-width: 1200px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

@-webkit-keyframes dropdown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(1rem);
    transform: translateY(1rem);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes dropdown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(1rem);
    transform: translateY(1rem);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.header-buttons {
  padding-left: 1rem;
}

@media (min-width: 1200px) {
  .header-buttons {
    min-width: 200px;
    text-align: right;
  }
}

.fbt-sidenav,
.navbar-search {
  font-size: 22px;
  cursor: pointer;
}

.navbar-fbt .fbt-sidenav,
.navbar-fbt .navbar-nav .nav-link,
.navbar-fbt .navbar-search {
  color: #333;
}

.navbar-fbt .fbt-sidenav svg {
  fill: #333;
}

.navbar-fbt .navbar-nav .nav-link:hover,
.navbar-fbt .navbar-nav .nav-link:focus {
  color: #333;
  opacity: 0.85;
}

.navbar-parallax {
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  min-height: 360px;
  margin: 0;
  background-color: #f6d9a2;
  overflow: hidden;
}

.navbar-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
}

.navbar-parallax__content {
  position: relative;
  padding: 0;
  color: #fff;
  text-align: center;
}

@media (max-width: 991.98px) {
  .navbar-parallax {
    background-attachment: fixed;
    min-height: 220px;
    background-position: center top;
    background-size: contain;
  }
}
@media (max-width: 575.98px) {
  .navbar-parallax {
    min-height: 350px;
    height: 350px;
  }
}

.fbt_sticky_nav.nav_offset {
  -webkit-transform: translate3d(0, -100%, 0);
          transform: translate3d(0, -100%, 0);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.fbt_sticky_nav.sticky__nav {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

/* Remove fixed position on mobile */
@media (max-width: 767.98px) {
  .fbt_sticky_nav.sticky__nav {
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.fbt_sticky_nav.sticky__nav.scrolling_nav {
  opacity: 1;
  visibility: visible;
}

.fbt_sticky_nav.scrolling_nav {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

@media (min-width: 1200px) {
  .fbt_sticky_nav.scrolling_nav .nav-item .nav-link {
    padding-top: 1.25rem;
    padding-bottom: 1.2rem;
  }
}

.fbt-nav-skin {
  background-color: #fff;
  -webkit-box-shadow: 0 0 20px rgba(103, 151, 255, 0);
          box-shadow: 0 0 20px rgba(103, 151, 255, 0);
}

.navbar-brand img {
  max-width: 200px;
}

.navbar-fbt .navbar-toggler {
  padding: 0.25rem 0;
  font-size: 1.5rem;
  line-height: 1;
  background-color: transparent;
  border: 0 !important;
  border-color: transparent !important;
  border-radius: 0;
  color: #333;
}

.navbar-fbt .navbar-nav .active > .nav-link,
.navbar-fbt .navbar-nav .nav-link.active,
.navbar-fbt .navbar-nav .nav-link.show,
.navbar-fbt .navbar-nav .show > .nav-link {
  color: #333;
}

.fbt_sticky_nav.sticky__nav.scrolling_nav {
  background: #fff;
  -webkit-box-shadow: 0 0 20px rgba(103, 151, 255, 0.25);
          box-shadow: 0 0 20px rgba(103, 151, 255, 0.25);
}

.navbar-fbt.fbt_sticky_nav.sticky__nav.scrolling_nav .fbt-sidenav,
.navbar-fbt.fbt_sticky_nav.sticky__nav.scrolling_nav .navbar-nav .nav-link,
.navbar-fbt.fbt_sticky_nav.sticky__nav.scrolling_nav .navbar-search {
  color: #333;
}

.logo-img {
    height: 3.125rem; /* 3.125rem ≈ 50px jika root font-size 16px */
    width: auto;
    max-width: 100%;
    display: block;
}

/* Full Page Header */
.full-page .navbar .container {
  max-width: 100%;
}

@media (min-width: 768px) {
  .full-page .navbar {
    padding-left: 1.9rem;
    padding-right: 1.9rem;
  }
}

/* Featured Slider
===================================== */
.slider-container {
  background: transparent;
  padding-left: 5rem!important;
  padding-right: 5rem!important;
  border-radius: 12px;
}

.fbt-shape-title {
  position: relative;
}

.fbt-shape-title .display-4 {
  font-size: 59px;
  font-weight: 700;
  line-height: 1.05;
}

.fbt-shape-title .display-4 a {
  color: #333333;
  -webkit-transition: all ease .2s;
  transition: all ease .2s;
}

.fbt-shape-title .display-4 a:hover {
  color: #000000;
}

.fbt-shape-title .post-meta {
  color: #333333;
}

.fbt-shape-title .post-meta .post-author {
  color: #333333;
}

.fbt-shape-title:before {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  border-radius: 2000px;
  background-color: #ff4ac2;
  right: 0px;
  bottom: 40px;
}

.fbt-shape-container {
  position: relative;
}

.fbt-shape-container:before {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  width: 350px;
  height: 350px;
  border-radius: 2000px;
  background: #ffad00;
  left: -70px;
  top: -80px;
}

.fbt-shape-container:after {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  width: 600px;
  height: 600px;
  border-radius: 2000px;
  background: linear-gradient(135deg, rgba(0, 201, 255, 0) 45%, rgba(0, 201, 255, 0.25) 100%);
  right: -150px;
  bottom: -50px;
}

.fbt-shape-container .fbt-item-thumbnail {
  -webkit-box-shadow: 0 12px 58px 0 rgba(0, 31, 52, 0.35);
          box-shadow: 0 12px 58px 0 rgba(0, 31, 52, 0.35);
  height: 480px;
  background: #ffffff;
}

.fbt-title-right {
  height: 530px;
}

.PopularPosts .fbt-shape-container .fbt-item-thumbnail {
  height: 530px;
}

.PopularPosts .card-img-overlay {
  background-color: rgba(0, 0, 0, 0.05);
  background-image: linear-gradient(-45deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 110%);
}

.PopularPosts .fbt-shape-title:before {
  display: none;
}

.page-view .fbt-shape-container {
  background: transparent;
}

.page-view .fbt-shape-container .fbt-item-thumbnail {
  height: 530px;
}

.page-view .fbt-shape-container .fbt-page-shape-title {
  height: calc(530px - 2.5rem);
}

.page-view .fbt-shape-container .card-img-overlay {
  background-color: rgba(0, 0, 0, 0.05);
  background-image: linear-gradient(-45deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.3) 110%);
}

.carousel-control-next {
  width: 8%;
  opacity: .7;
  z-index: 15;
}

.carousel-control-prev {
  width: 8%;
  opacity: .7;
  z-index: 15;
}

.carousel-control-next-icon {
  width: 30px;
  height: 30px;
}

.carousel-control-prev-icon {
  width: 30px;
  height: 30px;
}

.fbt-page-shape-title .display-4 {
  font-size: 59px;
  font-weight: 700;
  line-height: 1.05;
}

.btn-primary-slider {
  color: #ffffff;
  background-color: #4a42ec;
  border-color: #4a42ec;
}

.btn-primary-slider:hover {
  color: #ffffff;
  background-color: #007bff;
  border-color: #007bff;
}

.carousel-indicators li {
  width: 15px;
  height: 15px;
  border-top: 0;
  border-bottom: 0;
  opacity: .6;
}

.carousel-indicators .active {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.fbt-carousel_container-top .fbt-slider-img {
  height: calc(100vh - 120px);
}

.fbt-carousel_container-top .fbt-slider-img .fbt-resize:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.fbt-featured--slider {
  margin-top: -40px;
  position: relative;
}

.fbt-featured--slider .carousel-caption {
  width: 100%;
  left: 0;
  right: 0;
  top: 45%;
  bottom: auto;
  -webkit-transform: translateY(-45%);
          transform: translateY(-45%);
  padding: 0;
}

.fbt-featured--slider .carousel-indicators {
  bottom: 40px;
  z-index: 16;
}

.fbt-featured--slider h2[class*="display-"] {
  line-height: 1.1;
}

.fbt-featured--slider .slider-title {
  font-size: 72px;
  -webkit-animation-delay: .7s;
          animation-delay: .7s;
}

.fbt-featured--slider .slider-button {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}

.fbt-featured--slider .carousel-control-next {
  opacity: 0;
}

.fbt-featured--slider .carousel-control-prev {
  opacity: 0;
}

.fbt-featured--slider:hover .carousel-control-prev {
  opacity: 1;
}

.fbt-featured--slider:hover .carousel-control-next {
  opacity: 1;
}

@media (max-width: 1199.98px) {
  .page-view .fbt-shape-container .fbt-item-thumbnail {
    height: 430px;
  }
  .page-view .fbt-shape-container .fbt-page-shape-title {
    height: calc(430px - 2.5rem);
  }
  .fbt-shape-container .fbt-item-thumbnail {
    height: 430px;
  }
  .fbt-title-right {
    height: 430px;
  }
  .PopularPosts .fbt-shape-container .fbt-item-thumbnail {
    height: 430px;
  }
  .fbt-page-shape-title .display-4 {
    font-size: 50px;
  }
  .fbt-shape-title .display-4 {
    font-size: 50px;
  }
}

.modern-category-tag {
    background: #ff8c00;
    color: white;
    padding: 4px 10px !important;
    border-radius: 25px;
    font-size: 0.6rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px !important;
    width: auto;
    max-width: fit-content;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.modern-category-tag:hover {
    background: #ff8c00;
    text-decoration: none;
}

/* Ensure category links stay white on hover - override general a:hover rule */
a.modern-category-tag:hover {
    color: white !important;
    text-decoration: none;
}

/* Additional specificity to ensure white color on hover */
a.post-tag.index-post-tag.modern-category-tag:hover {
    color: white !important;
    text-decoration: none;
}

@media (max-width: 991.98px) {
  .page-view .fbt-shape-container .fbt-item-thumbnail {
    height: 350px;
  }
  .page-view .fbt-shape-container .fbt-page-shape-title {
    height: calc(350px - 2.5rem);
  }
  .fbt-title-right {
    height: 350px;
  }
  .PopularPosts .fbt-shape-container .fbt-item-thumbnail {
    height: 350px;
  }
  .fbt-query-error-mode:after {
    display: none;
  }
  .fbt-shape-container:after {
    display: none;
  }
  .fbt-page-shape-title .display-4 {
    font-size: 42px;
  }
  .fbt-shape-title .display-4 {
    font-size: 42px;
  }
}

@media (max-width: 767.98px) {
  .page-view .fbt-shape-container .fbt-item-thumbnail {
    height: 300px;
  }
  .page-view .fbt-shape-container .fbt-page-shape-title {
    height: calc(300px - 2.5rem);
  }
  .fbt-shape-container .fbt-item-thumbnail {
    height: 300px;
  }
  .fbt-page-shape-title .display-4 {
    font-size: 28px;
    line-height: calc(28px + 4px);
  }
  .fbt-shape-title .display-4 {
    font-size: 28px;
    line-height: calc(28px + 4px);
  }
}

/* Error 404
===================================== */
.error-view #main-wrapper {
  position: relative;
}

.error-view #main-wrapper:before {
  content: "";
  display: block;
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 2000px;
  background: #ffad00;
  left: 40px;
  top: -25px;
}

.error-view #main_content:before {
  content: "";
  display: block;
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 2000px;
  background: linear-gradient(120deg, rgba(0, 201, 255, 0) 45%, rgba(0, 201, 255, 0.25) 100%);
  right: -50px;
  top: -80px;
}

.errorWrap .display-4 {
  font-size: 4.5rem;
  font-weight: 700;
}

.errorWrap.mt-5 {
  margin-top: 4.5rem !important;
}

.errorWrap.p-5 {
  padding: 3.5rem !important;
}

/* Seach Form
===================================== */
#search {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
  -webkit-transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1030;
}

#search.active {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
          transform: scale(1);
  z-index: 1031;
  margin: 0;
}

#search .input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 95%;
  height: 100px;
  margin: auto;
  max-width: 1100px;
  z-index: 93;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

#search .input .search {
  float: left;
  width: calc(100% - 120px);
  height: 100px;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 50px;
  color: #fff;
  font-weight: 400;
  line-height: 100px;
  text-indent: 50px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  z-index: 9;
}

#search .input .search:focus {
  color: #fff;
  z-index: 9;
}

#search .input .submit {
  cursor: pointer;
  float: left;
  width: 100px;
  height: 100px;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 40px;
  color: #fff;
  text-align: center;
  line-height: 100px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

#search .input .submit:hover {
  color: #fff;
  z-index: 9;
}

#search #close {
  cursor: pointer;
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 35px;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  background: transparent;
  text-align: center;
  line-height: 20px;
  color: #fff;
}

#search ::-webkit-input-placeholder {
  color: #fff;
}

#search :-ms-input-placeholder {
  color: #fff;
}

#search ::-ms-input-placeholder {
  color: #fff;
}

#search ::placeholder {
  color: #fff;
}

/* Page Settings
===================================== */
/* Full Page */
.full-page .fbt-elastic-container {
  max-width: 100%;
}

@media (min-width: 768px) {
  .full-page .fbt-elastic-container {
    padding: 0 3rem;
  }
}

@media (min-width: 1200px) {
  .full-page .card-columns {
    -webkit-column-count: 5;
            column-count: 5;
  }
}

@media (max-width: 1601.98px) {
  .full-page .fbt-index-post .post-title.h4 {
    font-size: 1rem;
    line-height: calc(1rem + 4px);
  }
}

.full-page .fbt-post-thumbnail {
  height: 210px;
}

.full-page .blog-post:nth-child(6) .fbt-post-thumbnail,
.full-page .blog-post:nth-child(10) .fbt-post-thumbnail {
  height: 416px;
}

.full-page .blog-post:nth-child(2n+2) .card-body .post-excerpt {
  display: none;
}

/* Four Columns */
.four_columns {
  margin-top: 20px;
}

@media (min-width: 1200px) {
  .four_columns .card-columns {
    -webkit-column-count: 4;
            column-count: 4;
  }
}

.four_columns .fbt-post-thumbnail {
  height: 210px;
}

.four_columns .blog-post:nth-child(6) .fbt-post-thumbnail {
  height: 416px;
}

.four_columns .blog-post:nth-child(10) .fbt-post-thumbnail {
  height: 416px;
}

.four_columns .fbt-index-post .post-title.h4 {
  font-size: 1rem;
  line-height: calc(1rem + 4px);
}

.four_columns .blog-post:nth-child(2n+2) .card-body .post-excerpt {
  display: none;
}

.four_columns .radius-10 {
  border-radius: 0 !important;
}

.four_columns .footer-light.pt-4 {
  padding-top: 25px !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2),
.four_columns .fbt-index-post.card {
  background-color: #fff;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2) h3,
.four_columns .fbt-index-post.card h3 {
  color: #333 !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2) h3 a,
.four_columns .fbt-index-post.card h3 a {
  color: #333 !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2) .post-meta,
.four_columns .fbt-index-post.card .post-meta {
  color: #333 !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2) .post-meta a,
.four_columns .fbt-index-post.card .post-meta a {
  color: #333 !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2) .post-meta .post-author,
.four_columns .fbt-index-post.card .post-meta .post-author {
  color: #333 !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2) .card-text,
.four_columns .fbt-index-post.card .card-text {
  color: #333 !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2):nth-child(2n+2) h3,
.four_columns .fbt-index-post.card:nth-child(2n+2) h3 {
  color: #fff !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2):nth-child(2n+2) h3 a,
.four_columns .fbt-index-post.card:nth-child(2n+2) h3 a {
  color: #fff !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2):nth-child(2n+2) .post-meta,
.four_columns .fbt-index-post.card:nth-child(2n+2) .post-meta {
  color: #fff !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2):nth-child(2n+2) .post-meta a,
.four_columns .fbt-index-post.card:nth-child(2n+2) .post-meta a {
  color: #fff !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2):nth-child(2n+2) .post-meta .post-author,
.four_columns .fbt-index-post.card:nth-child(2n+2) .post-meta .post-author {
  color: #fff !important;
}

.four_columns .fbt-index-post.card.blog-post:nth-child(1n+2):nth-child(2n+2) .card-text,
.four_columns .fbt-index-post.card:nth-child(2n+2) .card-text {
  color: #fff !important;
}

.four_columns .card {
  -webkit-box-shadow: 0 15px 25px -5px rgba(23, 16, 159, 0.15);
          box-shadow: 0 15px 25px -5px rgba(23, 16, 159, 0.15);
}

/* Posts
===================================== */
.tooltip {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.feed-view .card-text {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.feed-view .blog-post {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.item-view .card-text {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.item-view .post-body {
  font-family: "Nimbus Sans", sans-serif !important;
  font-size: 17px;
  font-weight: 400;
  line-height: 34px !important;
  letter-spacing: .3px !important;
  color: #222222;
}

.item-view .fbt-post-thumbnail {
  width: 100%;
  height: auto;
}

.post-meta {
  font-family: "Nimbus Sans", sans-serif;
  font-size: calc(14px - 2px);
  font-weight: 400;
}

.post-meta span:not(:last-child):after {
  content: '/';
  margin: 0 3px 0 7px;
}

.post-meta a {
  color: #222222;
}

body.dark-mode .post-meta a {
  color: white;
}

body.dark-mode .post-meta a:hover,
.post-meta a:hover {
  color: #ff8c00;
}

.post-meta .post-author {
  color: #222222;
}

.post-title {
  margin-bottom: 12px;
}

.post-excerpt {
  margin-top: 10px;
  margin-bottom: 0;
}

.fbt-post-thumbnail {
  width: 100%;
  height: 242px;
  overflow: hidden;
  position: relative;
}

.blog-post:nth-child(2) .fbt-post-thumbnail {
  height: 250px;
}

.blog-post:nth-child(4) .fbt-post-thumbnail {
  height: 250px;
}

.blog-post:nth-child(6) .fbt-post-thumbnail {
  height: 434px;
}

.blog-post:nth-child(8) .fbt-post-thumbnail {
  height: 250px;
}

.blog-post:nth-child(10) .fbt-post-thumbnail {
  height: 250px;
}

.blog-post:nth-child(12) .fbt-post-thumbnail {
  height: 250px;
}

.blog-post:nth-child(14) .fbt-post-thumbnail {
  height: 250px;
}

.blog-post:nth-child(2n+2) .card-body {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
  background-color: rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(-45deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 110%);
  pointer-events: none;
}

.blog-post:nth-child(2n+2) h3 {
  color: #fff !important;
}

.blog-post:nth-child(2n+2) h3 a {
  color: #fff !important;
}

.blog-post:nth-child(2n+2) .post-meta {
  color: #fff !important;
}

.blog-post:nth-child(2n+2) .post-meta a {
  color: #fff !important;
}

.blog-post:nth-child(2n+2) .post-meta .post-author {
  color: #fff !important;
}

.blog-post:nth-child(2n+2) .card-text {
  color: #fff !important;
}

.fbt-item-post .post-body img {
  max-width: 100%;
}

.post-thumbnail {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.fbt-index-post.card {
  background-color: #4a42ec;
}

.fbt-index-post.card:nth-child(3) {
  background-color: #ff4274;
}

.fbt-index-post.card:nth-child(5) {
  background-color: #0099cc;
}

.fbt-index-post.card:nth-child(7) {
  background-color: #b5afeb;
}

.fbt-index-post.card:nth-child(11) {
  background-color: #ff9900;
}

.fbt-index-post.card:nth-child(15) {
  background-color: #939ead;
}

.fbt-index-post.card h3 {
  color: #ffffff !important;
}

.fbt-index-post.card h3 a {
  color: #ffffff !important;
}

.fbt-index-post.card .post-meta {
  color: #ffffff !important;
}

.fbt-index-post.card .post-meta a {
  color: #ffffff !important;
}

.fbt-index-post.card .post-meta .post-author {
  color: #ffffff !important;
}

.fbt-index-post.card .card-text {
  color: #ffffff !important;
}

.card-columns .fbt-index-post.card {
  margin-bottom: calc(35px - 5px);
}

@media (min-width: 576px) {
  .card-columns {
    -webkit-column-count: 1;
    column-count: 1;
    -webkit-column-gap: 35px;
    column-gap: 35px;
  }
}

@media (min-width: 768px) {
  .card-columns {
    -webkit-column-count: 2;
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .card-columns {
    -webkit-column-count: 3;
    column-count: 3;
  }
}

/* Pagination
===================================== */
.blog-pager {
  text-align: center;
  margin: 30px 0 30px !important;
  padding: 0;
  font-family: "Nimbus Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.blog-pager-older-link {
  position: relative;
  color: var(--dark);
}

.blog-pager-older-link .fa {
  font-size: 20px;
}

.blog-pager-older-link:before {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  width: calc(150px - 90px);
  height: calc(150px - 90px);
  border-radius: 2000px;
  background: #ffad00;
  left: -50px;
  top: -30px;
}

.blog-pager-older-link:after {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  border-radius: 2000px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(45%, rgba(0, 201, 255, 0)), to(rgba(0, 201, 255, 0.25)));
  background: linear-gradient(180deg, rgba(0, 201, 255, 0) 45%, rgba(0, 201, 255, 0.25) 100%);
  left: 50%;
  top: -80px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

@media (max-width: 575.98px) {
  .blog-pager {
    margin-top: calc(30px + calc(35px - 5px)) !important;
  }
}

/* Footer
===================================== */
#footer-content {
  position: relative;
  margin-top: auto;
  width: 100%;
}

.footer-dark {
  background-color: #4a42ec;
  color: #fff;
}

.footer-dark .title-heading {
  color: #fff;
  height: auto;
  line-height: 1em;
  padding: 0;
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: 700;
}

.footer-dark .container.pb-4 {
  padding-bottom: 16px !important;
}

.footer-dark p {
  color: #fff;
}

.footer-dark .nav-link {
  color: #fff;
}

.footer-dark .nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-dark .list-unstyled li a {
  color: #fff;
}

.footer-dark .list-unstyled li a:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-dark .divider:before {
  background: radial-gradient(ellipse at center, #fff 0, rgba(255, 255, 255, 0) 75%);
}

.footer-dark a {
  color: #fff;
}

.footer-dark a:hover {
  color: #ff8c00;
}

.footer-dark.pt-4 {
  padding-top: 25px !important;
}

.footer-light {
  background-color: #fff;
  color: #111111;
}

.footer-light .title-heading {
  color: #111111;
  height: auto;
  line-height: 1em;
  padding: 0;
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: 700;
}

.footer-light .container.pb-4 {
  padding-bottom: 16px !important;
}

.footer-light p {
  color: #111111;
}

.footer-light .nav-link {
  color: #111111;
}

.footer-light .nav-link:hover {
  color: rgba(17, 17, 17, 0.75);
}

.footer-light .list-unstyled li a {
  color: #111111;
}

.footer-light .list-unstyled li a:hover {
  color: rgba(17, 17, 17, 0.75);
  text-decoration: none;
}

.footer-light .divider:before {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0, rgba(255, 255, 255, 0) 75%);
}

.footer-light.pt-4 {
  padding-top: 80px !important;
}

.footer-black {
  background-color: #000;
  position: relative;
}

.footer-black .divider:before {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 75%);
}

.footer-black .title-heading {
  font-weight: 600;
}

.footer-black .post-meta {
  color: #ccc;
}

.footer-black p {
  color: #ccc;
}

/* Back to Top (Mobile Layout)
===================================== */
#toTop {
  display: none;
}

/* Sidebar
===================================== */
.sidebar-wrapper {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1031;
  top: 0;
  left: -320px;
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  width: 320px;
  color: #333333;
}

.sidebar-wrapper a {
  color: #333333;
}

.sidebar-wrapper .list-unstyled li a {
  color: #333333;
}

.sidebar-wrapper .closebtn {
  cursor: pointer;
  color: #333333;
  font-size: 35px;
  float: right;
  line-height: 18px;
}

.sidebar-wrapper::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.sidebar-wrapper::-webkit-scrollbar-track {
  background: var(--dark);
}

.sidebar-wrapper::-webkit-scrollbar-thumb {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#007bff), to(#ffc107));
  background-image: linear-gradient(to bottom, #007bff, #ffc107);
  border-radius: 16px;
  -webkit-box-shadow: inset 2px 2px 2px rgba(255, 255, 255, 0.25), inset -2px -2px 2px rgba(0, 0, 0, 0.25);
  box-shadow: inset 2px 2px 2px rgba(255, 255, 255, 0.25), inset -2px -2px 2px rgba(0, 0, 0, 0.25);
}

.sidebar-wrapper .Label .badge {
  font-size: 100%;
  font-weight: 400;
}

.openSidebar {
  left: 0;
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.7);
          box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.7);
}

.fbt-sidenav {
  display: none;
}

.fbt-sidenav.active {
  display: inline-block;
}

.navigation-container {
  margin-bottom: 22px;
}

.sidebar-wrapper__content {
  position: relative;
  padding: 20px;
}

#fbt-content-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  z-index: 1031;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 0.3s cubic-bezier(0.16, 0.36, 0, 0.98);
  transition: 0.3s cubic-bezier(0.16, 0.36, 0, 0.98);
  background-color: rgba(0, 0, 0, 0.75);
}

#fbt-content-overlay.activeOverlay {
  opacity: 1;
  visibility: visible;
  cursor: url('data:image/svg+xml;utf8,<svg width="28" height="28" fill="%23ffffff" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 27.8"><path d="M12.66,13.91.27,26.3a.88.88,0,0,0,.62,1.5.86.86,0,0,0,.62-.25L14,15.06,26.49,27.55a.88.88,0,0,0,.62.25.86.86,0,0,0,.62-.25.88.88,0,0,0,0-1.25L15.34,13.91,27.74,1.5a.86.86,0,0,0,0-1.24.86.86,0,0,0-1.24,0L14,12.75,1.51.26A.88.88,0,0,0,.26,1.5Z" transform="translate(0 0)"/></svg>'), auto;
}

/* Related Posts
===================================== */
.fbt-rel-post-wrapper .fbt-shape-title::before {
  right: -30px;
  top: -30px;
  background-color: var(--light);
}

#related-posts .fbt-post-thumbnail {
  height: 250px;
}

#related-posts .card {
  -webkit-box-shadow: 0 8px 20px rgba(0, 31, 52, 0.15);
          box-shadow: 0 8px 20px rgba(0, 31, 52, 0.15);
}

#related-posts h5 a:hover {
  color: var(--dark);
  color: #ff8c00;
}

/* Share Buttons
===================================== */
.post-share {
  float: left;
  width: 100%;
  margin: 0;
}

.post-share li {
  margin: 0 2px 2px 0;
  display: inline-block;
  border-radius: 2px;
}

.post-share li a {
  position: relative;
  margin: 0 0 0 1px;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  font-size: 15px;
  display: inline-block;
  border-radius: 2px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.post-share li a:hover {
  color: #fff;
  opacity: .8;
}

.post-share .fa {
  font-size: 16px;
  position: relative;
  height: 35px;
  width: 35px;
  line-height: 35px;
}

.post-share ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-share .facebook-share {
  background-color: #516eab;
}

.post-share .twitter-share {
  background-color: #29c5f6;
}

.post-share .linkedin-share {
  background-color: #0077b5;
}

.post-share .pinterest-share {
  background-color: #ca212a;
}

.post-share .email.fbt-email {
  background-color: #676869;
}

a.facebook.fbt-share {
  background-color: #516eab;
}

a.twitter.fbt-share {
  background-color: #29c5f6;
}

a.linkedin.fbt-linkedin {
  background-color: #0077b5;
}

a.pinterest.fbt-pinterest {
  background-color: #ca212a;
}

/* Magazine
===================================== */
#page-wrapper.magazine-view {
  margin-top: 0;
}

#page-wrapper.magazine-view h1, #page-wrapper.magazine-view .h1 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 28px;
  line-height: 32px;
}

#page-wrapper.magazine-view h2, #page-wrapper.magazine-view .h2 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 25px;
  line-height: 27px;
}

#page-wrapper.magazine-view h3, #page-wrapper.magazine-view .h3 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 18px;
  line-height: 24px;
}

#page-wrapper.magazine-view h4, #page-wrapper.magazine-view .h4 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 20px;
  line-height: 24px;
}

#page-wrapper.magazine-view h5, #page-wrapper.magazine-view .h5 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 16px;
  line-height: 20px;
}

#page-wrapper.magazine-view h6, #page-wrapper.magazine-view .h6 {
  font-family: "Nimbus Sans", sans-serif;
  font-size: 14px;
  line-height: 17px;
}

.magazine-view .fbt-nav-skin,
.magazine-view .fbt_sticky_nav.sticky__nav.scrolling_nav {
  -webkit-box-shadow: 0 0 40px rgba(103, 151, 255, 0.25);
          box-shadow: 0 0 40px rgba(103, 151, 255, 0.25);
}

@media (min-width: 1200px) {
  .magazine-view .navbar .nav-link {
    padding-top: 25px;
    padding-bottom: 25px;
  }
}

.magazine-view .fbt-index-post {
  margin-bottom: 30px;
}

.magazine-view .fbt-post-thumbnail {
  height: 230px;
  position: relative;
}

.magazine-view .fbt-sep-title h4.title-heading-left {
  font: 600 20px "Barlow Semi Condensed", sans-serif;
  border-bottom: none;
}

.magazine-view .index-post-tag {
  color: #fff;
  background-color: #ff8c00;
  padding: 1px 7px 2px;
  margin-bottom: 5px;
  display: inline-block;
  border-radius: 3px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.date-inline {
  line-height: 1.2;
}
.date-inline i {
  margin-right: 6px;
}
.meta-inline-row .modern-category-tag {
  display: inline-flex;
  align-items: center;
}
.meta-inline-row .post-date {
  display: inline-flex;
  align-items: center;
}

.magazine-view .index-post-tag a {
  color: #fff;
}

.magazine-view .pagenav {
  text-align: left;
  margin: 0;
  padding: 10px 0 0;
  font-size: 14px;
}

.magazine-view .pagenav a {
  padding: 7px 12px;
  margin: 0 0 2px 0;
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  line-height: 1.4;
}

.magazine-view .pagenav a:hover {
  background-color: #343a40;
  color: #fff;
}

.magazine-view .pagenav .fa {
  font-size: 14px;
}

.magazine-view .pagenav .current {
  padding: 7px 12px;
  margin: 0 0 4px 0;
  background-color: #343a40;
  color: #fff;
}

.magazine-view .pagenav .showpageOf {
  float: right;
  padding: 7px 0;
  margin: 0;
}

.magazine-view .pagenav .pages {
  float: right;
  padding: 7px 0;
  margin: 0;
}

.magazine-view .fbt-ad-title {
  font-size: 10.2px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #6c757d;
  position: relative;
  width: 100%;
  display: inline-block;
}

.magazine-view .FeaturedPost .fbt-item-thumbnail {
  height: 230px;
}

.magazine-view h1.post-title {
  font-size: 1.5rem !important;
  line-height: calc(32px + 8px) !important;
  letter-spacing: 0.3px !important;
}

.magazine-view blockquote.fbt-shape-container:after {
  display: none;
}

.magazine-view {
  display: block;
}

/* Magazine Popular Posts - Recent Posts */
.magazine-view .fbt_list_posts .fbt-item-thumbnail {
  width: 100px;
  height: 100px;
}

.magazine-view .fbt_list_posts .fbt-title-caption .post-title {
  font-size: calc(18px - 3px) !important;
  line-height: calc(20px - 1px) !important;
  margin-bottom: 5px;
}

.magazine-view .fbt_list_posts .pp-post-tag {
  color: #fff;
  background: #ff8c00;
  padding: 3px 7px 3px;
  margin-bottom: 5px;
  display: inline-block;
  border-radius: 3px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

@media (min-width: 1442px) {
  .magazine-view.magazine_2 .container {
    max-width: 1290px;
  }
}

.magazine-view.magazine_2 .post-tag {
  border-radius: 0;
  position: relative;
  left: auto;
  top: auto;
  padding: 2px 7px 3px;
}

.magazine-view.magazine_2 .fbt_list_posts .pp-post-tag {
  padding-top: 2px;
  border-radius: 0;
}

.magazine-view.magazine_2 .fbt_list_posts.fbt_small_thumb .fbt-item-thumbnail {
  width: calc(100px - 20px);
  height: calc(100px - 20px);
}

.magazine-view.magazine_2 .fbt-nav-skin {
  background: #111;
}

.magazine-view.magazine_2 .fbt-nav-skin.navbar-fbt .fbt-sidenav,
.magazine-view.magazine_2 .fbt-nav-skin.navbar-fbt .navbar-nav .nav-item > .nav-link,
.magazine-view.magazine_2 .fbt-nav-skin.navbar-fbt .navbar-toggler,
.magazine-view.magazine_2 .fbt-nav-skin.navbar-fbt .navbar-search {
   color: #fff;
}

@media (max-width: 1199.98px) {
  .magazine-view.magazine_2 .fbt-nav-skin.navbar-fbt .dropdown .dropdown-menu .dropdown-item {
    color: #fff !important;
  }
}

@media (min-width: 1200px) {
  .magazine-view.magazine_2 .fbt-nav-skin .nav-link {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .magazine-view.magazine_2 .fbt-nav-skin.fbt_sticky_nav.scrolling_nav .nav-item .nav-link {
    padding-top: 25px;
    padding-bottom: 25px;
  }
}

.magazine-view.magazine_2 .fbt-sep-title h4.title-heading-left {
  text-transform: uppercase;
}

.magazine-view.magazine_2 .fbt-sep-title .title-sep {
  border: 0;
}

.magazine-view.magazine_2 .fbt-magazine-sidebar .card,
.magazine-view.magazine_2 .fbt-main-sidebar .card {
  border-top: 3px solid #007bff;
}

.magazine-view.magazine_2 .fbt-magazine-sidebar .card:nth-child(2),
.magazine-view.magazine_2 .fbt-main-sidebar .card:nth-child(2) {
  border-top-color: #ff9900;
}

.magazine-view.magazine_2 .fbt-magazine-sidebar .card:nth-child(3),
.magazine-view.magazine_2 .fbt-main-sidebar .card:nth-child(3) {
  border-top-color: #000;
}

.magazine-view.magazine_2 .fbt-magazine-sidebar .card:nth-child(4),
.magazine-view.magazine_2 .fbt-main-sidebar .card:nth-child(4) {
  border-top-color: #ff4274;
}

.magazine-view.magazine_2 .fbt-magazine-sidebar .card:nth-child(5),
.magazine-view.magazine_2 .fbt-main-sidebar .card:nth-child(5) {
  border-top-color: #9adca1;
}

.magazine-view.magazine_2 .fbt-magazine-sidebar .fbt-sep-title,
.magazine-view.magazine_2 .fbt-main-sidebar .fbt-sep-title {
  margin-bottom: 5px;
}

.magazine-view.magazine_2 .fbt-magazine-sidebar .fbt-sep-title h4.title-heading-left,
.magazine-view.magazine_2 .fbt-main-sidebar .fbt-sep-title h4.title-heading-left {
  border: 0;
}

.magazine-view.magazine_2 .fbt-magazine-sidebar h4.title-heading h2.title-heading,
.magazine-view.magazine_2 .fbt-main-sidebar h4.title-heading h2.title-heading{
  line-height: 26px !important;
}

.magazine-view.magazine_2 .fbt-post-thumbnail {
  height: calc(230px - 40px);
}

.magazine-view.magazine_2 .fbt_magazine-blog-post.first_post {
  position: relative;
}

.magazine-view.magazine_2 .fbt_magazine-blog-post.first_post .fbt-post-thumbnail {
  height: 480px;
}

@media (max-width: 991.98px) {
  .magazine-view.magazine_2 .fbt_magazine-blog-post.first_post .fbt-post-thumbnail {
    height: 320px;
  }
}

.magazine-view.magazine_2 .fbt_magazine-blog-post.first_post .fbt-post-caption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.magazine-view.magazine_2 .fbt_magazine-blog-post.first_post .fbt-post-caption .title-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  pointer-events: auto;
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0)));
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
}

.magazine-view.magazine_2 .pagenav {
  background: #fff;
  padding: 5px 7px 3px 5px;
}

.magazine-view.magazine_2.item-view .post_single {
  border-top: 3px solid #ffad00;
}

.magazine-view.magazine_2.item-view h1.post-title {
  font-size: calc(28px + 12px) !important;
  line-height: calc(32px + 12px) !important;
}

@media (max-width: 767.98px) {
  .magazine-view.magazine_2.item-view h1.post-title {
    font-size: 28px !important;
    line-height: 32px !important;
  }
}

.magazine-view.magazine_2.item-view .fbt-rel-post-wrapper {
  background-color: #111;
}

.magazine-view.magazine_2.item-view .fbt-rel-post-wrapper .fbt-sep-title h4.title-heading-left {
  color: #fff;
}

.magazine-view.magazine_2.item-view .fbt-rel-post-wrapper #related-posts .rp-item .fbt-post-caption h5 a {
  color: #fff;
}

.magazine-view.magazine_2.item-view .fbt-rel-post-wrapper #related-posts .rp-item .fbt-post-caption h5 a:hover {
  color: #47c3fb;
}

/* Headline
===================================== */
#headline {
  background: #ff8c00;
  color: #fff;
}

.fbt-headline a {
  color: #fff;
}

.fbt-headline a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.fbt-headline .nav-link {
  padding: .5rem .7rem !important;
  line-height: 100%;
}

.fbt-headline li:first-child .nav-link {
  padding-left: 0 !important;
}

.fbt-headline li:last-child .nav-link {
  padding-right: 0 !important;
}

.fbt-headline .fbt-left-headline .nav-link {
  padding: .5rem .3rem !important;
  line-height: 100%;
}

.fbt-headline a .fa, .fbt-headline a .fab, .fbt-headline a .fad, .fbt-headline a .fal, .fbt-headline a .far, .fbt-headline a .fas {
  font-size: calc(14px + 3px);
}

.fbt-left-headline li:not(:first-child) .nav-link:before {
  padding: 0 .6rem 0 0;
}

/* Mobile Responsive for Headline */
@media (max-width: 767.98px) {
  .fbt-headline .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .fbt-headline .row {
    align-items: center !important;
    justify-content: space-between !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .fbt-headline .left-headline-content {
    flex: 0 0 auto;
    max-width: 60%;
    padding-left: 0 !important;
  }
  
  .fbt-headline .right-headline-content {
    flex: 0 0 auto;
    max-width: 40%;
    padding-right: 0 !important;
  }
  
  .fbt-headline .nav-link {
    padding: .25rem .3rem !important;
    font-size: 11px;
  }
  
  .fbt-headline .fbt-left-headline .nav-link {
    padding: .25rem .15rem !important;
    font-size: 11px;
  }
  
  .fbt-headline a .fa, 
  .fbt-headline a .fab, 
  .fbt-headline a .fad, 
  .fbt-headline a .fal, 
  .fbt-headline a .far, 
  .fbt-headline a .fas {
    font-size: 12px;
  }
  
  .fbt-headline .social-icons img {
    width: 12px !important;
    height: 12px !important;
  }
  
  .fbt-headline .social-icons .nav-link {
    padding: .25rem .2rem !important;
  }
}

.fbt-big-title-text {
  font: 900 36px "Montserrat", sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(37, 37, 37, 0.06);
  position: relative;
}

.fbt-big-title-text .main-title {
  position: relative;
}

.fbt-big-title-text .main-title .title-sec-text {
  font: 400 36px "Oswald", sans-serif;
  font-size: calc(65px - 20px);
  color: #393939;
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

@media (min-width: 576px) {
  .fbt-big-title-text {
    font-size: 65px;
  }
}

@media (min-width: 768px) {
  .fbt-big-title-text {
    font-size: 80px;
  }
}

@media (min-width: 992px) {
  .fbt-big-title-text {
    font-size: 95px;
  }
}

@media (min-width: 1200px) {
  .fbt-big-title-text {
    font-size: 120px;
  }
}

@media (min-width: 1440px) {
  .fbt-big-title-text {
    font-size: 130px;
  }
}

@media (max-width: 575.98px) {
  .fbt-big-title-text .main-title .title-sec-text {
    font-size: calc(65px - 40px);
    top: -10px;
  }
}

.dark-form form {
  -webkit-box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15), inset 0 0 calc(22px - 22px) rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15), inset 0 0 calc(22px - 22px) rgba(0, 0, 0, 0.1);
}

.dark-form form input {
  color: #fff;
}

.dark-form form input::-webkit-input-placeholder {
  color: #fff;
}

.dark-form form input:-ms-input-placeholder {
  color: #fff;
}

.dark-form form input::-ms-input-placeholder {
  color: #fff;
}

.dark-form form input::placeholder {
  color: #fff;
}

.dark-form h2.title {
  color: #fff !important;
}

.dark-form .follow-by-email-submit {
  background-color: #111 !important;
}

.dark-form .follow-by-email-submit:hover {
  background-color: #343a40 !important;
}

/* Sidebar Menu
===================================== */
.sidebar-wrapper__content .fbt-sidebar--menu {
  margin-left: -20px;
  margin-right: -20px;
}

.sidebar-wrapper__content .fbt-sidebar--menu .list-group-item {
  border-left: 0 !important;
  border-right: 0 !important;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 0;
  font: 400 13px "Roboto", sans-serif;
  background: transparent;
  letter-spacing: 0.2px;
  border-bottom: 1px solid #eeeeee;
}

.sidebar-wrapper__content .fbt-sidebar--menu .list-group-item:first-child {
  border-top: 1px solid #eeeeee;
}

/* Footer Menu
===================================== */
.socialList .nav-link {
  padding: .5rem .5rem;
}

.footer-menu .socialList .nav-link {
  padding: 0 .5rem;
}

.footer-menu .socialList .nav-item:last-child .nav-link {
  padding-right: 0;
}

.footer-menu .socialList .nav-item:first-child .nav-link {
  padding-left: 0;
}

.footer-menu .socialList ul {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .footer-menu .socialList ul {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    margin-top: 0;
  }
}

/* Widget Settings
===================================== */
.sidebar-wrapper .widget {
  margin: 30px 0;
  line-height: 100%;
}

.sidebar-wrapper .section:first-child .widget:first-child {
  margin-top: 0;
}

.sidebar-wrapper .section:last-child .widget:last-child {
  margin-bottom: 0;
}

#footer-content .widget {
  margin: 30px 0;
  line-height: 100%;
}

#footer-content .section:first-child .widget:first-child {
  margin-top: 0;
}

#footer-content .section:last-child .widget:last-child {
  margin-bottom: 0;
}

.fbt-sep-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 0 15px;
  overflow: hidden;
}

.fbt-sep-title .title-sep-container {
  position: relative;
  height: 30px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.fbt-sep-title .title-sep.sep-double {
  height: 30px;
}

.fbt-sep-title .title-sep {
  position: relative;
  display: block;
  width: 100%;
  border-bottom: 1px solid #eee;
}
body.dark-mode .fbt-sep-title .title-sep {
  border-bottom-color: #444;
}

.fbt-sep-title h4.title-heading-left {
  text-align: left;
  display: block;
  font: 700 17px "Nimbus Sans", sans-serif;
  color: #111111;
  height: 30px;
  line-height: calc(30px - 3px);
  position: relative;
  border-bottom: 1px solid #4a42ec;
}

.fbt-sep-title .view_more {
  background: transparent;
  position: absolute;
  right: -8px;
  bottom: 0px;
  padding: 4px 8px;
  font-size: 13px;
  line-height: 12px;
  color: #393939;
}

/* Contact Form
===================================== */
.contact-form .form-control {
  border-width: 2px;
  border-color: #eee;
}

.fbt-contact-info-box {
  margin-bottom: 30px;
}

/* Magazine Slider 1
===================================== */
.fbt-mag-slider .post-item {
  position: relative;
}

.fbt-mag-slider .post-item.medium .fbt-post-thumbnail, .fbt-mag-slider .post-item.large .fbt-post-thumbnail {
  height: 450px;
}

@media (max-width: 767.98px) {
  .fbt-mag-slider .post-item.medium, .fbt-mag-slider .post-item.large {
    height: calc((450px - .5rem) / 2);
  }
}

.fbt-mag-slider .post-item.small_thumb:first-child {
  margin-bottom: .5rem;
}

.fbt-mag-slider .post-item.small_thumb .fbt-post-thumbnail {
  height: calc((450px - .5rem) / 2);
}

.fbt-mag-slider .fbt-post-caption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.fbt-mag-slider .fbt-post-caption .title-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  pointer-events: auto;
  border-radius: 12px !important;
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.9)), to(rgba(0, 0, 0, 0)));
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}

.fbt-mag-slider .fbt-post-caption .title-caption span,
.fbt-mag-slider .fbt-post-caption .title-caption a,
.fbt-mag-slider .fbt-post-caption .title-caption p {
  color: #fff;
}

.fbt-mag-slider .fbt-post-caption .title-caption a:hover {
  color: #ff8c00
}

.fbt-mag-slider .fbt-post-caption .title-caption .post-title {
  margin: 0;
}

@media (max-width: 767.98px) {
  .fbt-mag-slider .fbt-post-caption .title-caption .post-title {
    font-size: 18px !important;
    line-height: 20px !important;
  }
}

.fbt-mag-slider .post-tag {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  color: #fff;
  background-color: #ff8c00;
  pointer-events: auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.fbt-mag-slider .post-item:hover .post-tag {
  color: #fff;
}

@media (max-width: 767.98px) {
  .grid-padding-left {
    padding-left: .25rem;
  }
  .grid-padding-right {
    padding-right: .25rem;
  }
}

/* Magazine Slider 2
===================================== */
.slider-2 .post-item.large-thumb .fbt-post-thumbnail {
  height: 480px;
}

@media (max-width: 991.98px) {
  .slider-2 .post-item.large-thumb .fbt-post-thumbnail {
    height: 240px;
  }
}

.slider-2 .fbt-post-caption .title-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  pointer-events: auto;
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0)));
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
}

.slider-2 .fbt-post-caption .title-caption .post-title a {
  text-decoration: none;
}

/* Magazine Block 1
===================================== */
.fbt-block-1 {
  margin-bottom: 1.5rem;
}

.fbt-block-1 .fbt-large {
  margin-bottom: 1rem;
}

.fbt-block-1 .fbt-large .fbt-post-thumbnail {
  height: 250px;
}

.fbt-block-1 .fbt-small .post-title {
  margin-bottom: 0 !important;
}

.fbt-block-1 .fbt-small .fbt-post-thumbnail {
  height: 150px;
}

/* Magazine Block 2
===================================== */
.fbt-block-2 {
  margin-bottom: 2rem;
}

.fbt-block-2 .large {
  position: relative;
}

.fbt-block-2 .large .fbt-post-thumbnail {
  height: calc(100px * 4 + 3rem);
}

.fbt-block-2 .large .fbt-post-caption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.fbt-block-2 .large .fbt-post-caption .title-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  pointer-events: auto;
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.9)), to(rgba(0, 0, 0, 0)));
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}

.fbt-block-2 .large .fbt-post-caption .title-caption span,
.fbt-block-2 .large .fbt-post-caption .title-caption a,
.fbt-block-2 .large .fbt-post-caption .title-caption p {
  color: #fff;
}

.fbt-block-2 .large .post-tag {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  color: #fff;
  background-color: #ff8c00;
  pointer-events: auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.fbt-block-2 .large:hover .post-tag {
  color: #fff;
}

/* Magazine Block 3
===================================== */
.fbt-block-3 {
  margin-bottom: 2rem;
}

.fbt-block-3 .post {
  position: relative;
}

.fbt-block-3 .post .fbt-title-caption {
  position: absolute;
  bottom: 10px;
  left: 8px;
}

.fbt-block-3 .post .fbt-title-caption.w-85 {
  width: 90%;
}

.fbt-block-3 .fbt-large .fbt-post-thumbnail {
  height: 350px;
}

.fbt-block-3 .fbt-large .fbt-post-thumbnail .post-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
}

.fbt-block-3 .fbt-large .post-title {
  font-size: calc(20px + 6px) !important;
  line-height: calc(24px + 2px) !important;
}

.fbt-block-3 .fbt-small .fbt-post-thumbnail {
  height: 280px;
}

/* Magazine Block 4
===================================== */
.fbt-block-4 .fbt-large .fbt-item-thumbnail {
  height: 230px;
}

/* Magazine Block 5
===================================== */
.fbt-block-5 {
  margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
  .fbt-block-5 {
    margin-bottom: -1rem;
  }
}

.fbt-block-5 .fbt-large .fbt-post-thumbnail {
  height: 450px;
}

.fbt-block-5 .first_post {
  position: relative;
}

.fbt-block-5 .first_post .fbt-post-caption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.fbt-block-5 .first_post .fbt-post-caption .title-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  pointer-events: auto;
}

.fbt-block-5 .fbt-small .fbt-post-thumbnail {
  position: relative;
  height: 190px;
}

.fbt-block-5 .fbt-small .fbt-post-thumbnail .post-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
}

/* Social Counter
===================================== */
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-list a .fa, .social-list a .fab, .social-list a .fad, .social-list a .fal, .social-list a .far, .social-list a .fas {
  font-size: 14px;
}

.social-list li {
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  margin: 0 0 9px;
}

.social-list li:last-child {
  margin: 0;
}

.social-list li.fb {
  background: #516fc2;
}

.social-list li.fb .soc-ic {
  background: #4c68b3;
}

.social-list li.tw {
  background: #09b2f4;
}

.social-list li.tw .soc-ic {
  background: #00abed;
}

.social-list li.gp {
  background: #f73232;
}

.social-list li.gp .soc-ic {
  background: #eb1212;
}

.social-list li.instg {
  background: radial-gradient(circle at 33% 100%, #fed373 4%, #f15245 30%, #d92e7f 62%, #9b36b7 85%, #515ecf);
}

.social-list li.instg .soc-ic {
  background: rgba(0, 0, 0, 0.1);
}

.social-list li.frss {
  background: #f0771e;
}

.social-list li.frss .soc-ic {
  background: rgba(0, 0, 0, 0.1);
}

.social-list a {
  color: inherit;
  display: block;
  height: 33px;
  padding: 8px 14px 8px 46px;
  position: relative;
  text-decoration: none;
}

.social-list .soc-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  display: block;
  float: right;
  padding: 0 0 0 16px;
}

.social-list .soc-ic {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 33px;
  line-height: 35px;
  text-align: center;
}

.social-list li.dl {
  background: #285da7;
}

.social-list li.dl .soc-ic {
  background: rgba(0, 0, 0, 0.1);
}

.social-list li.fbt-dribble {
  background: #d97aa5;
}

.social-list li.fbt-dribble .soc-ic {
  background: rgba(0, 0, 0, 0.1);
}

.social-list li.fbt-github {
  background: #666666;
}

.social-list li.fbt-github .soc-ic {
  background: rgba(0, 0, 0, 0.1);
}

.social-list li.fbt-youtube {
  background: #bb0000;
}

.social-list li.fbt-youtube .soc-ic {
  background: rgba(0, 0, 0, 0.1);
}

.social-list li.fbt-linkedin {
  background: #006699;
}

.social-list li.fbt-linkedin .soc-ic {
  background: rgba(0, 0, 0, 0.1);
}

.social-list li.fbt-behance {
  background: #1769ff;
}

.social-list li.fbt-behance .soc-ic {
  background: rgba(0, 0, 0, 0.1);
}

.social-list li.fbt-foursquare {
  background: #f94877;
}

.social-list li.fbt-foursquare .soc-ic {
  background: rgba(0, 0, 0, 0.1);
}

.social-list li.fbt-pinterest {
  background: #c8232c;
}

.social-list li.fbt-pinterest .soc-ic {
  background: rgba(0, 0, 0, 0.1);
}

.social-list li.fbt-flickr {
  background: #ff0084;
}

.social-list li.fbt-flickr .soc-ic {
  background: rgba(0, 0, 0, 0.05);
}

/* Gallery
===================================== */
.fbt-gallery {
  background-color: transparent;
  padding: 0 0;
}

.fbt-gallery .fbt-gallery-1 .fbt-post-thumbnail {
  height: 280px;
}

.fbt-gallery .fbt-gallery-1 .fbt-post-thumbnail .post-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
}

.fbt-gallery .fbt-gallery-1 .post-title {
  margin: 0;
}

/* Magazine Related Posts
===================================== */
.magazine-view #related-posts .fbt-post-thumbnail {
  height: 140px;
}

.magazine-view #related-posts h5 a:hover {
  color: #ff8c00;
  text-decoration: none;
}

/* Megamenu
===================================== */
.dropdown.fbt-megamenu {
  position: static;
}

.dropdown.fbt-megamenu .fullwidth {
  width: 100%;
  margin: 0;
  border-top-color: rgba(0, 0, 0, 0.05) !important;
  background-color: #ffffff;
}

.fbt-megamenu .fbt-mega-item .title-caption {
  text-align: center;
}

.fbt-megamenu .fbt-mega-item .fbt-post-thumbnail {
  height: 125px;
}

.fbt-megamenu .fbt-mega-item .title-caption h3 {
  font-size: calc(20px - 3.5px) !important;
  line-height: calc(20px - 3.5px) !important;
}

.fbt-megamenu .sub-mega-category .fbt-childs-cats {
  background: #f7f7f7;
}

.fbt-megamenu .sub-mega-category .fbt-childs-cats .nav-link.fbt-childs-cat {
  color: #000 !important;
}

.mega-category .fbt-mega-item .fbt-post-thumbnail {
  height: 115px;
}

.navbar .navbar-nav .fbt-child-cat {
  color: rgba(0, 0, 0, 0.85);
  border-radius: 0;
  text-align: right;
  padding-top: 0.6rem !important;
  padding-bottom: 0.5rem !important;
}

.navbar .navbar-nav .fbt-child-cat:hover {
  color: #000;
}

.navbar .navbar-nav .fbt-child-cat.active {
  background: #fff;
  color: #000;
  margin-right: -1px;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

/* Navbar Menu Alignment Fix */
.navbar-nav {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  line-height: 1.5;
  vertical-align: middle;
}

/* Dropdown Container */
.navbar-nav .dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Menu Positioning */
.navbar-nav .dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  margin-top: 0;
  min-width: 160px;
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

/* Ensure dropdown toggles align with regular nav links */
.navbar-nav .dropdown .dropdown-toggle {
  display: inline-block;
  vertical-align: middle;
}

/* Fix for navbar-nav flexbox alignment with dropdowns */
.navbar-nav > .dropdown {
  display: flex;
  align-items: center;
}

/* Rounded rectangle images for dashboard */
.post-thumbnail,
.fbt-post-thumbnail img,
.post-item img,
.fbt-item-thumbnail img {
  border-radius: 8px !important;
  overflow: hidden;
}

.fbt-post-thumbnail,
.fbt-item-thumbnail {
  border-radius: 8px !important;
  overflow: hidden;
}

/* Zoom effect for all images on hover */
img {
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1);
}
img:hover {
  transform: scale(1.07);
}

/* Nonaktifkan zoom untuk gambar di dalam <p> */
p img,
p img:hover {
  transform: none !important;
  transition: none !important;
}

/* Header Search Box */
.header-search-box {
    max-width: 300px;
    height: 40px;
}

.search-form .input-group {
    border-radius: 20px;
    overflow: hidden;
    height: 40px;
    border: 1px solid #ff8c00;
}

.search-input {
    border: none;
    padding: 0 15px;
    font-size: 13px;
    background: white;
    border-radius: 20px 0 0 20px;
    height: 40px;
    line-height: 40px;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
    background: #fff;
    border: 1px solid #ff8c00;
}

.btn-search {
    border: none;
    padding: 0 15px;
    color: #ff8c00;
    border-radius: 0 20px 20px 0;
    transition: all 0.3s ease;
    height: 40px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background: #ff8c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,140,0,0.3);
}

.btn-search:focus {
    outline: none;
    box-shadow: none;
}

.input-group-append {
    height: 40px;
}

.input-group-append .btn {
    height: 40px;
}

/* Page Search Input */

.search-form-container .search-form .input-group {
    border: 1px solid #ff8c00;
}

@media (max-width: 768px) {
    .header-search-box {
        max-width: 200px;
        height: 35px;
    }
    
    .search-form .input-group {
        height: 35px;
    }
    
    .search-input {
        padding: 0 12px;
        font-size: 12px;
        height: 35px;
        line-height: normal;
        display: flex;
        align-items: center;
    }
    
    .search-input::placeholder {
        line-height: normal;
    }
    
    .btn-search {
        padding: 0 12px;
        height: 35px;
        width: 40px;
    }
    
    .input-group-append {
        height: 35px;
    }
    
    .input-group-append .btn {
        height: 35px;
    }
}

/* Category Menu */
.category-menu {
    margin-left: 15px;
}

.btn-category {
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    height: 40px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-category:focus {
    outline: none;
    box-shadow: none;
    color: white;
}

.category-menu .dropdown-menu {
    border-radius: 10px;
    border: none;
    margin-top: 5px;
}

.category-menu .dropdown-item {
    padding: 8px 15px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.category-menu .dropdown-item:hover,
.dropdown-item:hover,
.dropdown-menu .dropdown-item:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #ff8c00 !important;
}

/* Multi-column dropdown for categories */
#dropKategori + .dropdown-menu {
    min-width: 600px;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}

.category-column {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.category-column .dropdown-item {
    padding: 6px 12px;
    margin-bottom: 2px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .category-menu {
        margin-left: 10px;
    }
    
    .btn-category {
        padding: 6px 12px;
        font-size: 12px;
        height: 35px;
    }
    
    .category-menu .dropdown-item {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    /* Responsive adjustments for category dropdown */
    #dropKategori + .dropdown-menu {
        min-width: 300px;
        flex-direction: column;
    }
    
    .category-column {
        min-width: 100%;
        margin-bottom: 10px;
    }
}

/* Dark Mode Toggle - Simple Button */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    height: 40px;
}

.btn-dark-toggle {
    background: #ff8c00;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-dark-toggle:hover {
    transform: translateY(-1px);
}

.btn-dark-toggle:focus {
    outline: none;
}

/* Dark mode active state */
body.dark-mode .btn-dark-toggle {
    background: #2d2d2d;
    border: 1px solid #ff8c00;
    color: white;
}

@media (max-width: 768px) {
    .btn-dark-toggle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Dark Mode Styles */
body.dark-mode {
    background: #1a1a1a;
    color: #ffffff;
    transition: all 0.3s ease;
}

body.dark-mode .navbar {
    background: #2d2d2d;
    border-bottom: 1px solid #404040;
}

body.dark-mode .fbt-headline {
    background: #2d2d2d;
    border-bottom: 1px solid #404040;
}

body.dark-mode .search-input {
    background: #2d2d2d;
    color: #ffffff;
    border-color: #555;
}

body.dark-mode .search-input::placeholder {
    color: #ffffff !important;
    opacity: 0.8;
}

body.dark-mode .search-input:focus {
    background: #4a4a4a;
    border-color: #ff8c00;
    color: #ffffff;
}

body.dark-mode .search-input:focus::placeholder {
    color: #ffffff !important;
    opacity: 0.6;
}

body.dark-mode .toggle-container {
    background: #404040;
    border-color: #555;
}

body.dark-mode .toggle-container:hover {
    background: #4a4a4a;
}

body.dark-mode .nav-link {
    color: #ffffff !important;
}

body.dark-mode .nav-link:hover {
    color: #ff8c00 !important;
}

/* Dark mode for sticky navbar when scrolled */
body.dark-mode .fbt_sticky_nav.sticky__nav.scrolling_nav {
    background: #2d2d2d !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .fbt-nav-skin {
    background-color: #2d2d2d !important;
}

body.dark-mode .navbar-fbt.fbt_sticky_nav.sticky__nav.scrolling_nav .fbt-sidenav,
body.dark-mode .navbar-fbt.fbt_sticky_nav.sticky__nav.scrolling_nav .navbar-nav .nav-link,
body.dark-mode .navbar-fbt.fbt_sticky_nav.sticky__nav.scrolling_nav .navbar-search {
    color: #ffffff !important;
}

body.dark-mode .navbar-fbt.fbt_sticky_nav.sticky__nav.scrolling_nav .navbar-nav .nav-link:hover {
    color: #ff8c00 !important;
}

/* Hide navbar elements on mobile - only show logo and search */
@media (max-width: 767.98px) {
    .dark-mode-toggle,
    .navbar-nav {
        display: none !important;
    }
    
    .navbar .container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
    }
    
    .navbar-brand {
        flex-shrink: 0;
        margin-right: 15px !important;
    }
    
    .header-search-box {
        flex: 1 !important;
        max-width: none !important;
        margin: 0 !important;
        min-width: 0 !important;
    }
    
    .header-search-box .search-form .input-group {
        width: 100% !important;
    }
}

/* Ad Block Styling - General */
.fbt-ad-block .fbt_ad img {
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Mobile Ad Block Styling */
@media (max-width: 767.98px) {
    .fbt-ad-block {
        max-width: 80% !important;
        margin: 0 auto 1.5rem auto !important;
        padding: 0 10px !important;
    }
    
    .fbt-ad-block .fbt_ad {
        text-align: center !important;
    }
    
    .fbt-ad-block .fbt_ad img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 1040;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.bottom-nav-item {
    flex: 1;
    text-align: center;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6c757d;
    background: none;
    border: none;
    padding: 5px;
    transition: color 0.3s ease;
    width: 100%;
}

.bottom-nav-link:hover,
.bottom-nav-link:focus {
    color: #ff8c00;
    text-decoration: none;
}

.bottom-nav-link i {
    font-size: 18px;
    margin-bottom: 2px;
}

.bottom-nav-link span {
    font-size: 10px;
    font-weight: 500;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -65%;
    width: 65%;
    height: 100vh;
    background: black;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.4);
    z-index: 1050;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: black;
    backdrop-filter: blur(10px);
}

.sidebar-header h5 {
    margin: 0;
    font-weight: 600;
    color: white;
    text-shadow: none;
}

.sidebar-close {
    border: none;
    background: none;
    font-size: 20px;
    color: white;
    padding: 8px;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    transform: scale(1.1);
}

.sidebar-content {
    padding: 20px;
    background: black;
    color: white;
    margin: 10px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
}

.sidebar-menu-item {
    margin-bottom: 15px;
    color: white;
}

.sidebar-menu-link {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #2d2d2d;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin-bottom: 5px;
}

.sidebar-menu-link:hover {
    background: #ff8c00;
    color: #fff;
}

.sidebar-dropdown-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 20px;
    font-weight: 500;
    color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.sidebar-dropdown-toggle:hover {
    background: #ff8c00;
    color: #fff;
}

.sidebar-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    margin-top: 10px;
    border-radius: 10px;
    border: 1px solid #2d2d2d;
    background: black;
}

.sidebar-dropdown-menu.active {
    max-height: 300px;
}

.sidebar-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 5px;
    font-size: 11px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.sidebar-dropdown-item:hover {
    background: #ff8c00;
    color: #fff;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Dark mode styles for mobile navigation */
body.dark-mode .mobile-bottom-nav {
    background: #2d2d2d;
    border-top-color: #1a1a1a;
    border-top: 1px solid #404040;
}

body.dark-mode .bottom-nav-link {
    color: #bdc3c7;
}

body.dark-mode .bottom-nav-link:hover,
body.dark-mode .bottom-nav-link:focus {
    color: #ff8c00;
}

body.dark-mode .mobile-sidebar {
    background: black;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.4);
}

body.dark-mode .sidebar-header h5 {
    color: #fff;
    text-shadow: none;
}

body.dark-mode .sidebar-content {
    background: black;
    backdrop-filter: blur(15px);
}

body.dark-mode .sidebar-dropdown-toggle {
    color: white;
}

body.dark-mode .sidebar-dropdown-toggle:hover {
    background: #ff8c00;
    color: #fff;
}

body.dark-mode .sidebar-dropdown-menu {
    background: black;
    border: 1px solid #2d2d2d;
}

body.dark-mode .sidebar-dropdown-item {
    color: white;
}

body.dark-mode .sidebar-dropdown-item:hover {
    background: #ff8c00;
    color: #fff;
}

body.dark-mode .sidebar-close {
    color: white;
}

body.dark-mode .sidebar-dropdown-item {
    color: white;
}

body.dark-mode .sidebar-dropdown-item:hover {
    background: black;
    color: #ff8c00;
}

/* Add bottom padding to body on mobile to account for bottom nav */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 70px;
    }
}

body.dark-mode .card {
    background: #2d2d2d;
    border-color: #404040;
}

body.dark-mode .card-body {
    background: #2d2d2d;
    color: #ffffff;
}

body.dark-mode .btn {
    border-color: #555;
}

body.dark-mode .magazine-view .fbt-nav-skin,
body.dark-mode .magazine-view .fbt_sticky_nav.sticky__nav.scrolling_nav {
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* Dark mode for content elements - excluding slider titles */
body.dark-mode .post-meta,
body.dark-mode .post-time,
body.dark-mode .post-date,
body.dark-mode .modern-meta {
    color: #b0b0b0 !important;
}

body.dark-mode .fbt-post-caption .post-meta span,
body.dark-mode .modern-meta span,
body.dark-mode .post-meta span {
    color: #b0b0b0 !important;
}

body.dark-mode .card-title,
body.dark-mode .post-title:not(.slider-container .post-title),
body.dark-mode .title-heading-left,
body.dark-mode h1:not(.slider-container h1),
body.dark-mode h2:not(.slider-container h2),
body.dark-mode h3:not(.slider-container h3),
body.dark-mode h4:not(.slider-container h4),
body.dark-mode h5:not(.slider-container h5),
body.dark-mode h6:not(.slider-container h6) {
    color: #ffffff !important;
}

body.dark-mode .card-title a,
body.dark-mode .post-title:not(.slider-container .post-title) a {
    color: #ffffff !important;
}

body.dark-mode .card-title a:hover,
body.dark-mode .post-title:not(.slider-container .post-title) a:hover {
    color: #ff8c00 !important;
}

body.dark-mode .card-content {
    background: #2d2d2d !important;
    color: #ffffff !important;
}

body.dark-mode .fbt-title-caption {
    background: #1a1a1a !important;
    color: #ffffff !important;
}

body.dark-mode .fbt-post-caption {
  color: white;
}

/* More specific selector for related posts links in dark mode */
body.dark-mode .fbt-rel-post-wrapper #related-posts .rp-item .fbt-post-caption h5 a {
    color: white !important;
}

body.dark-mode .fbt-rel-post-wrapper #related-posts .rp-item .fbt-post-caption h5 a:hover {
    color: #ff8c00 !important;
}

/* General dark mode for all post caption links */
body.dark-mode .fbt-post-caption h5 a,
body.dark-mode .fbt-post-caption a {
    color: white !important;
}

body.dark-mode .fbt-post-caption h5 a:hover,
body.dark-mode .fbt-post-caption a:hover {
    color: #ff8c00 !important;
}

body.dark-mode .view_more {
    color: white !important;
}

body.dark-mode .widget-title,
body.dark-mode .fbt-sep-title h4 {
    color: #ffffff !important;
}

body.dark-mode .sidebar-content,
body.dark-mode .widget {
    color: #ffffff !important;
}

body.dark-mode .list-group-item {
    background: #2d2d2d !important;
    border-color: #404040 !important;
    color: #ffffff !important;
}

body.dark-mode .list-group-item:hover {
    background: #404040 !important;
}

body.dark-mode .list-group-item a {
    color: #ffffff !important;
}

body.dark-mode .list-group-item a:hover {
    color: #ff8c00 !important;
}

body.dark-mode p,
body.dark-mode span:not(.post-tag):not(.modern-category-tag):not(.ray-newsticker-heading):not(.trending-label),
body.dark-mode div:not(.slider-container div) {
    color: #ffffff !important;
}

body.dark-mode .footer {
    background: black;
    border-top: 1px solid #404040;
}

/* Fix scroll behavior for short pages like kodeetik.php */
.kodeetik-page {
    scroll-behavior: auto !important;
}

.kodeetik-page html,
.kodeetik-page body {
    scroll-behavior: auto !important;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Disable UItoTop plugin effects on kodeetik page */
.kodeetik-page #toTop {
    display: none !important;
}

/* Override jQuery easing on kodeetik page */
.kodeetik-page * {
    transition: none !important;
    animation: none !important;
}

/* Ensure normal scroll on containers with min-height 70vh */
.fbt-elastic-container[style*="min-height: 70vh"] {
    scroll-behavior: auto !important;
    overflow: visible !important;
}

/* Mobile Footer Fix - Ensure footer covers entire bottom */
@media (max-width: 768px) {
    body, html {
        height: 100%;
        margin: 0;
        padding: 0;
    }
    
    #page-wrapper {
        min-height: 100vh;
        margin-top: 0;
        display: flex;
        flex-direction: column;
    }
    
    #footer-content {
        margin-top: auto;
        width: 100%;
        padding-bottom: 70px !important; /* Add space for mobile bottom nav */
    }
    
    .footer-dark, .footer-light, .footer-black {
        margin-bottom: 0 !important;
        padding-bottom: 70px !important; /* Add space for mobile bottom nav */
    }
}

@media (max-width: 768px) {
    .dark-mode-toggle {
        margin: 0 8px;
    }
    
    .toggle-container {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .toggle-label {
        font-size: 14px;
    }
    
    .toggle-switch {
        width: 40px;
        height: 20px;
    }
    
    .slider:before {
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
    }
    
    input:checked + .slider:before {
        transform: translateX(20px);
    }
}

/* IMPORTANT: Hamburger Button - Force Display */
button.hamburger-btn {
    background: #ff8c00 !important;
    border: 2px solid #ff8c00 !important;
    padding: 8px !important;
    border-radius: 8px !important;
    height: 40px !important;
    width: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 9999 !important;
    margin-left: 15px !important;
    flex-shrink: 0 !important;
}

button.hamburger-btn:hover {
    background: #ff5500 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(255,140,0,0.4) !important;
}

/* Hamburger Lines - Force Display */
.hamburger-lines {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 20px !important;
    height: 14px !important;
}

.line {
    width: 100% !important;
    height: 2px !important;
    background: white !important;
    border-radius: 1px !important;
    display: block !important;
}

/* Test visibility */
.hamburger-btn::before {
    content: "MENU" !important;
    position: absolute !important;
    top: -25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: red !important;
    color: white !important;
    padding: 2px 6px !important;
    font-size: 10px !important;
    border-radius: 3px !important;
}

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1050;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    background: black;
    color: white;
    border-bottom-color: #2d2d2d;
    display: flex;
    justify-content: between;
    align-items: center;
}

.sidebar-header h5 {
    margin: 0;
    flex-grow: 1;
}

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.close-sidebar:hover {
    background: rgba(255,255,255,0.2);
}

.sidebar-content {
    padding: 0;
}

.sidebar-link {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-link:hover {
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
    padding-left: 25px;
}

.sidebar-link.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-link.dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.sidebar-submenu {
    background: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-submenu.active {
    max-height: 500px;
}

.sidebar-sublink {
    display: block;
    padding: 12px 40px;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.sidebar-sublink:hover {
    background: #e9ecef;
    color: #007bff;
    text-decoration: none;
    padding-left: 45px;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body blur when sidebar open */
body.sidebar-open .container {
    filter: blur(2px);
    transition: filter 0.3s ease;
}

body.sidebar-open .fbt-headline {
    filter: blur(2px);
    transition: filter 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger-btn {
        padding: 6px 10px;
        height: 35px;
        margin-left: 10px;
    }
    
    .hamburger-icon {
        font-size: 14px;
    }
    
    .sidebar-menu {
        width: 280px;
        right: -280px;
    }
    
    .sidebar-header {
        padding: 15px;
    }
    
    .sidebar-link {
        padding: 12px 15px;
    }
    
    .sidebar-sublink {
        padding: 10px 30px;
    }
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #ff8c00;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,140,0,0.3);
    transition: all 0.3s ease;
    display: none;
}
#back-to-top i {
    pointer-events: none;
}

/* Hide back-to-top button on mobile devices */
@media (max-width: 767.98px) {
    #back-to-top {
        display: none !important;
    }
}

/* Footer Menu Vertical Layout */
.footer-menu-section {
    padding: 0;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-item {
    margin-bottom: 10px;
}

.footer-nav-link {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-nav-link:hover {
    color: #ff8c00;
    text-decoration: none;
    padding-left: 10px;
    border-bottom-color: #ff8c00;
}

/* Dark mode footer menu */
body.dark-mode .footer-nav-link {
    color: #ffffff;
}

body.dark-mode .footer-nav-link:hover {
    color: #ff8c00;
}

/* Modern Share Buttons */
.modern-share-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (min-width: 1200px) {
    .modern-share-buttons {
        justify-content: flex-end;
    }
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-right: 15px;
    letter-spacing: 0.5px;
}

.share-buttons-container {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-btn:hover::before {
    opacity: 1;
}

.share-btn i {
    font-size: 16px;
    z-index: 1;
}

/* Platform-specific colors */
.facebook-share {
    background: linear-gradient(135deg, #1877f2, #4267B2);
}

.twitter-share {
    background: linear-gradient(135deg, #000000, #333333);
}

.whatsapp-share {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.linkedin-share {
    background: linear-gradient(135deg, #0077b5, #005885);
}

/* Hover effects */
.facebook-share:hover {
    background: linear-gradient(135deg, #4267B2, #1877f2);
}

.twitter-share:hover {
    background: linear-gradient(135deg, #333333, #000000);
}

.whatsapp-share:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.linkedin-share:hover {
    background: linear-gradient(135deg, #005885, #0077b5);
}

/* Dark mode styles */
body.dark-mode .share-label {
    color: #cccccc;
}

body.dark-mode .share-btn {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .share-btn:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .modern-share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .share-label {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .share-btn {
        width: 45px;
        height: 45px;
    }
    
    .share-btn i {
        font-size: 18px;
    }
}

/* Modern Navigation Links (Next/Previous) */
.modern-nav-link {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    align-items: center;
}

.modern-nav-link:hover {
    border-bottom-color: #ff8c00;
}

.modern-nav-link a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
}

.modern-nav-link a:hover {
    text-decoration: none;
    color: inherit;
}

.modern-nav-link .nav-direction {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    height: 20px;
    line-height: 20px;
}

.modern-nav-link .nav-direction i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.modern-nav-link .nav-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 75px;
    display: flex;
    align-items: center;
    word-wrap: break-word;
    hyphens: auto;
}

/* Previous link (left aligned) */
.previous-link .nav-direction {
    justify-content: flex-start;
    gap: 8px;
}

.previous-link .nav-title {
    text-align: left;
}

.previous-link:hover .nav-direction i {
    transform: translateX(-3px);
}

/* Next link (right aligned) */
.next-link .nav-direction {
    justify-content: flex-end;
    gap: 8px;
}

.next-link .nav-title {
    text-align: right;
}

.next-link:hover .nav-direction i {
    transform: translateX(3px);
}

/* Hover effects */
.modern-nav-link:hover .nav-direction {
    color: #ff8c00;
}

.modern-nav-link:hover .nav-title {
    color: #ff8c00;
}

/* Dark mode styles for navigation */
body.dark-mode .modern-nav-link {
    border-bottom-color: #444;
}

body.dark-mode .modern-nav-link:hover {
    border-bottom-color: #ff8c00;
}

body.dark-mode .modern-nav-link .nav-direction {
    color: #ccc;
}

body.dark-mode .modern-nav-link .nav-title {
    color: #fff;
}

body.dark-mode .modern-nav-link:hover .nav-direction,
body.dark-mode .modern-nav-link:hover .nav-title {
    color: #ff8c00;
}

/* Dark mode styles for mobile slider */
body.dark-mode .mobile-slider-container {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #2d2d2d;
}

body.dark-mode .indicator-dot {
    background: #1a1a1a;
}

body.dark-mode .indicator-dot.active {
    background: #ff8c00;
    transform: scale(1.2);
}

body.dark-mode .indicator-dot:hover {
    background: #ff8c00;
    opacity: 0.8;
}

/* Navigation container to ensure equal heights */
.navigation-container {
    display: flex;
    align-items: stretch;
}

.navigation-container .col-lg-6 {
    display: flex;
}

.navigation-container .modern-nav-link {
    flex: 1;
    display: flex;
    align-items: center;
}

/* Responsive adjustments for navigation */
@media (max-width: 991px) {
    .modern-nav-link {
        padding: 15px 0;
        text-align: center;
        min-height: 100px;
    }
    
    .previous-link .nav-direction,
    .next-link .nav-direction {
        justify-content: center;
    }
    
    .previous-link .nav-title,
    .next-link .nav-title {
        text-align: center;
    }
    
    .navigation-container {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .modern-nav-link .nav-title {
        font-size: 16px;
    }
    
    .modern-nav-link .nav-direction {
        font-size: 13px;
    }
    
    .modern-nav-link {
        min-height: 80px;
    }
}

/* Breadcrumb Styling */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    padding: 0 8px;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ff8c00;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

/* Dark mode breadcrumb */
body.dark-mode .breadcrumb-item a {
    color: #ccc;
}

body.dark-mode .breadcrumb-item a:hover {
    color: #ff8c00;
}

body.dark-mode .breadcrumb-item.active {
    color: #fff;
}

body.dark-mode .breadcrumb-item + .breadcrumb-item::before {
    color: #888;
}

/* Responsive breadcrumb */
@media (max-width: 767px) {
    .breadcrumb {
        font-size: 13px;
    }
    
    .breadcrumb-item.active {
        max-width: 200px !important;
    }
}

/* Kategori Dropdown Multi-Column Layout */
#dropKategori + .dropdown-menu {
    width: auto;
    min-width: 300px;
    max-width: 95vw;
    padding: 15px;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-flow: row;
    grid-gap: 8px;
    max-height: 400px;
    overflow-y: auto;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
}

#dropKategori + .dropdown-menu.show {
    display: grid !important;
}

#dropKategori + .dropdown-menu .dropdown-item {
    margin-bottom: 0;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: block;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
}

#dropKategori + .dropdown-menu .dropdown-item:hover {
    color: #ff8c00;
}

/* Responsive untuk dropdown kategori */
@media (max-width: 991.98px) {
    #dropKategori + .dropdown-menu {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        grid-gap: 6px;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 767.98px) {
    #dropKategori + .dropdown-menu {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        grid-gap: 5px;
        padding: 12px;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 480px) {
    #dropKategori + .dropdown-menu {
        grid-template-columns: 1fr;
        grid-gap: 4px;
        padding: 10px;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Consistent thumbnail size for mobile layout */
@media (max-width: 767.98px) {
    .blog-posts.d-block.d-md-none .fbt-item-thumbnail {
        width: 100px !important;
        height: 100px !important;
        flex-shrink: 0;
    }
    
    .fbt-small.d-block.d-md-none .fbt-item-thumbnail {
        width: 100px !important;
        height: 100px !important;
        flex-shrink: 0;
    }
    
    /* Consistent font size for mobile layout post titles */
    .fbt-small.d-block.d-md-none .post-title {
        font-size: calc(20px - 3px) !important;
        line-height: calc(20px - 1px) !important;
        margin-bottom: 5px !important;
    }

    /* Smaller font size for headline extra items mobile layout */
    .headline-extra-widget .fbt-small.d-block.d-md-none .post-title {
        font-size: 15px !important;
        line-height: 1.4 !important;
        margin-bottom: 5px !important;
    }

    /* Smaller font size for berita utama mobile layout */
    #section-berita-utama .fbt-small.d-block.d-md-none .post-title {
        font-size: 15px !important;
        line-height: 1.4 !important;
        margin-bottom: 5px !important;
    }

    /* Smaller font size for berita terbaru mobile layout */
    #section-berita-terbaru .fbt-small.d-block.d-md-none .post-title {
        font-size: 15px !important;
        line-height: 1.4 !important;
        margin-bottom: 5px !important;
    }
    
    /* Related posts mobile layout thumbnail size */
    #related-posts .d-block.d-md-none .fbt-item-thumbnail {
        width: 100px !important;
        height: 100px !important;
        flex-shrink: 0;
    }
    
    /* Related posts mobile layout post title */
    #related-posts .d-block.d-md-none .post-title {
        font-size: calc(20px - 3px) !important;
        line-height: calc(20px - 1px) !important;
        margin-bottom: 5px !important;
    }
}

/* Custom styling for select fields in indeks_berita.php */
select.form-control {
    border-radius: 12px !important;
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    background-color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

select.form-control:focus {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    background-color: #fff;
}

select.form-control:hover {
    border-color: #ff8c00;
    background-color: #fafafa;
}

/* Dark mode support for select fields */
body.dark-mode select.form-control {
    background-color: #2d2d2d;
    border-color: #404040;
    color: #e2e8f0;
}

body.dark-mode select.form-control:focus {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    background-color: #2d3748;
}

body.dark-mode select.form-control:hover {
    border-color: #ff8c00;
    background-color: #374151;
}

/* Custom styling for submit button in indeks_berita.php */
button.btn.btn-primary {
    border: 2px solid #ff8c00;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff8c00, #ff7700);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 4px rgba(255, 140, 0, 0.2);
}

button.btn.btn-primary:hover {
    background: linear-gradient(135deg, #ff7700, #ff6600);
    border-color: #ff7700;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

button.btn.btn-primary:focus {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    background: linear-gradient(135deg, #ff8c00, #ff7700);
}

button.btn.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 140, 0, 0.2);
}

/* Dark mode support for submit button */
body.dark-mode button.btn.btn-primary {
    background: linear-gradient(135deg, #ff8c00, #ff7700);
    border-color: #ff8c00;
    color: #ffffff;
}

body.dark-mode button.btn.btn-primary:hover {
    background: linear-gradient(135deg, #ff7700, #ff6600);
    border-color: #ff7700;
}

body.dark-mode button.btn.btn-primary:focus {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

/* Custom spacing for redaksi page */
.redaksi-content p {
    margin-bottom: -3px !important;
}

/* Post author styling */
.post-author {
    font-weight: bold !important;
}

/* Dark mode post author styling */
body.dark-mode .post-author {
    color: #ffffff !important;
    font-weight: bold !important;
}

/* News Ticker Styling */
.ray-newsticker-heading {
    background-color: white;
    color: #ff8c00;
    padding: 3px 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    margin: 0;
    position: relative;
    z-index: 2;
    border-radius: 8px;
    width: auto;
    max-width: 120px;
    text-align: center;
    margin-left: 3rem;
}

.newsticker-container {
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: 8px 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.newsticker-single {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    left: 12px;
    right: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.newsticker-single.active {
    opacity: 1;
    animation: slideInOut 5s ease-in-out infinite;
}

.newsticker-single:hover {
    color: #ff8c00;
    text-decoration: none;
}

@keyframes slideInOut {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    10% {
        opacity: 1;
        transform: translateY(-50%);
    }
    90% {
        opacity: 1;
        transform: translateY(-50%);
    }
    100% {
        opacity: 0;
        transform: translateY(-120px);
    }
}

/* Responsive news ticker */
@media (max-width: 768px) {
    .ray-newsticker-heading {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .newsticker-container {
        height: 36px;
        padding: 6px 10px;
    }
    
    .newsticker-single {
        font-size: 13px;
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .ray-newsticker-heading {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .newsticker-container {
        height: 32px;
        padding: 5px 8px;
    }
    
    .newsticker-single {
        font-size: 12px;
        left: 8px;
        right: 8px;
    }
}

/* Mobile responsive adjustments for form elements */
@media (max-width: 768px) {
    .form-control {
        height: 48px;
    }
    
    button.btn {
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    
    .d-flex.align-items-end {
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    .form-control {
        height: 44px;
    }
    
    .search-input {
        padding: 0 12px;
        font-size: 12px;
        height: 35px;
        line-height: normal;
        display: flex;
        align-items: center;
    }
    
    .search-input::placeholder {
        line-height: normal;
    }
    
    button.btn {
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
}

/* Additional styling for button text centering */
button.btn.btn-primary.form-control {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

/* Modern Pagination Styles */
.modern-pagination-wrapper {
    margin: 30px 0;
    text-align: center;
}

.modern-pagination {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.1);
    background: #fff;
    overflow: hidden;
}

.modern-pagination .page-item {
    margin: 0;
}

.modern-pagination .page-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border: none;
    background: #fff;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 48px;
    text-align: center;
    border-right: 1px solid #e0e0e0;
}

.modern-pagination .page-item:last-child .page-link {
    border-right: none;
}

.modern-pagination .page-link:hover {
    background: #fff5e6;
    color: #ff8c00;
    transform: translateY(-1px);
}

.modern-pagination .page-item.active .page-link {
    background: #ff8c00;
    color: #fff;
    font-weight: 600;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-pagination .page-item.first .page-link,
.modern-pagination .page-item.last .page-link {
    font-weight: 600;
    background: #f8f9fa;
}

.modern-pagination .page-item.first .page-link:hover,
.modern-pagination .page-item.last .page-link:hover {
    background: #ff8c00;
    color: #fff;
}

.modern-pagination .page-item.prev .page-link,
.modern-pagination .page-item.next .page-link {
    font-weight: 600;
    background: #f8f9fa;
    color: #666;
}

.modern-pagination .page-item.prev .page-link:hover,
.modern-pagination .page-item.next .page-link:hover {
    background: #ff8c00;
    color: #fff;
}

.pagination-info {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.pagination-info .current-page {
    font-weight: 600;
    color: #ff8c00;
}

.pagination-info .total-pages {
    font-weight: 600;
    color: #333;
}

/* Mobile Responsive Pagination */
@media (max-width: 768px) {
    .modern-pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        box-shadow: none;
        background: transparent;
    }
    
    .modern-pagination .page-item {
        margin: 2px;
    }
    
    .modern-pagination .page-link {
        padding: 10px 12px;
        min-width: 40px;
        border-radius: 6px;
        border: 1px solid #e0e0e0;
        font-size: 14px;
    }
    
    .modern-pagination .page-item.active .page-link {
        border-color: #ff8c00;
    }
    
    .pagination-info {
        margin-top: 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .modern-pagination .page-link {
        padding: 8px 10px;
        min-width: 36px;
        font-size: 13px;
    }
    
    .modern-pagination-wrapper {
        margin: 20px 0;
    }
    
    .pagination-info {
        font-size: 12px;
    }
}

/* Popular detail list */
.popular-list .popular-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0;
}

/* =========================================================
   Content page custom styles (moved from content.php)
   ========================================================= */
/* Non-sticky sidebar khusus halaman ini */
.content-static-sidebar {
  position: static !important;
  top: auto !important;
}
.content-static-sidebar .theiaStickySidebar {
  position: static !important;
  top: auto !important;
  transform: none !important;
}

/* Trending tags */
.trending-bar {
  padding: 10px 0 6px;
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 10px;
}
body.dark-mode .trending-bar {
  border-bottom-color: #444;
}
.trending-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.trending-label {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ff8c00;
  text-transform: uppercase;
  flex-shrink: 0;
  font-size: 14px;
}
.trending-track {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  flex: 1;
  scroll-behavior: smooth;
}
.trending-item {
  color: #1f1f1f;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
}
.trending-item::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: #ddd;
}
body.dark-mode  .trending-item::after {
  background: #555;
}
.trending-item:last-child::after { display: none; }
.trending-item:hover { color: #ff8c00; }
body.dark-mode .trending-label { color: #ff8c00 !important; }
body.dark-mode .trending-item { color: #fff; }
body.dark-mode .trending-item:hover { color: #ff8c00; }
.trending-nav {
  border: none;
  background: #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  flex-grow: 0;
}
.trending-nav:disabled {
  opacity: 0.4;
  cursor: default;
}
body.dark-mode .trending-nav {
  background: #555;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
body.dark-mode .trending-nav svg path {
  stroke: #fff;
}
.trending-nav svg { width: 16px; height: 16px; }
@media (max-width: 767.98px) {
  .trending-label { font-size: 12px; }
  .trending-item { font-size: 13px; }
  .trending-inner { gap: 10px; }
  .trending-nav { width: 32px; height: 32px; }
}

/* Headline slider */
.headline-slider-widget {
  position: relative;
  margin-bottom: 1.5rem;
}
.headline-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #0c1424;
  color: #fff;
}
.headline-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff0 0%, rgba(1, 1, 24, 0.5) 100%);
  pointer-events: none;
  z-index: 2;
}
.headline-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 12, 22, 0.86) 0%, rgba(7, 12, 22, 0.55) 55%, rgba(7, 12, 22, 0.15) 100%);
  pointer-events: none;
  z-index: 1;
}
.headline-slider-inner {
  position: relative;
  min-height: 420px;
}
.headline-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(16px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.headline-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 2;
}
.headline-slide__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.93);
}
.headline-slide__overlay {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 24px;
}
.headline-slide__content {
  max-width: 780px;
}
.headline-category {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  pointer-events: auto;
}
.headline-category .post-tag {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}
.headline-title {
  margin: 12px 0 10px;
  font-size: 28px;
  line-height: 1.25;
}
.headline-title a {
  color: #fff;
  text-decoration: none;
}
.headline-title a:hover {
  color: #ff8c00;
}
.headline-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d7e2ff;
  font-size: 13px;
}
.headline-meta .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.headline-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s ease, transform 0.2s ease;
}
.headline-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.05);
}
.headline-nav:focus {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}
.headline-nav.prev { left: 14px; }
.headline-nav.next { right: 14px; }
.headline-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
  padding: 0 16px;
}
.headline-dot {
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.2s ease;
}
.headline-dot.is-active {
  background: #fff;
  width: 32px;
}
@media (max-width: 991.98px) {
  .headline-slider-inner { min-height: 340px; }
  .headline-title { font-size: 24px; }
}
@media (max-width: 767.98px) {
  .headline-slider {
    border-radius: 14px;
  }
  .headline-slider-inner { min-height: 240px; }
  .headline-slide__overlay { padding: 18px; }
  /* Override global heading sizes for slider titles on mobile */
  #page-wrapper .headline-title { font-size: 14px !important; line-height: 1.3 !important; }
  .headline-meta { font-size: 12px; flex-wrap: wrap; }
  .headline-nav { width: 38px; height: 38px; }
  .headline-category { top: 14px; left: 14px; }
}

/* Latest carousel */
.latest-carousel {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 24px;
  position: relative;
}
.latest-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.latest-carousel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin: 0;
}
.latest-carousel-title::before {
  content: '';
  width: 4px;
  height: 16px;
  border-radius: 3px;
  background: #ff8c00;
  display: inline-block;
}
.latest-carousel-track {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.latest-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  display: grid;
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.latest-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}
.latest-card {
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
}
.latest-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e9ecef;
}
.latest-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.latest-card-body {
  padding: 12px 14px 14px;
}

/* Headline section title accent */
.headline-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.headline-section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  border-radius: 6px;
  background: #ff8c00;
  display: inline-block;
}

.latest-card-title {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #1b1b1b;
}
.latest-card-title a {
  color: inherit;
  text-decoration: none;
}
.latest-card-title .latest-title-mobile {
  display: none;
}
.latest-card-title .latest-title-desktop {
  display: inline;
}
.latest-card-title a:hover {
  color: #ff8c00;
}
.latest-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6c757d;
  font-size: 13px;
  flex-wrap: wrap;
}
.latest-card-meta .bullet {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c0c4c8;
}
.latest-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 5;
}
.latest-carousel-nav:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 12px 34px rgba(0,0,0,0.12);
}
.latest-carousel-nav:focus { outline: 2px solid #ff8c00; }
.latest-carousel-nav:disabled {
  opacity: 0.4;
  cursor: default;
  box-shadow: none;
}
.latest-carousel-nav.prev { left: -12px; }
.latest-carousel-nav.next { right: -12px; }
.latest-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.latest-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d0d4da;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.latest-carousel-dot.is-active {
  background: #ff8c00;
  transform: scale(1.05);
}
body.dark-mode .latest-carousel {
  background: #2D2D2D;
}
body.dark-mode .latest-card {
  background: #2D2D2D;
  border: 1px solid rgba(255,255,255,0.05);
}
body.dark-mode .latest-card-thumb {
  background: #2e2e2e;
}
body.dark-mode .latest-card-title {
  color: #f2f2f2;
}
body.dark-mode .latest-card-title a {
  color: inherit;
}
body.dark-mode .latest-card-title a:hover {
  color: #ffb366;
}
body.dark-mode .latest-card-meta {
  color: #c8cdd2;
}
body.dark-mode .latest-card-meta .bullet {
  background: #7a7f86;
}
body.dark-mode .latest-carousel-nav {
  background: #555555;
  color: #f2f2f2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
body.dark-mode .latest-carousel-dot {
  background: #777;
}
body.dark-mode .latest-carousel-dot.is-active {
  background: #ff8c00;
}
@media (max-width: 991.98px) {
  .latest-slide {
    grid-template-columns: repeat(2, 1fr);
  }
  .latest-carousel-nav.prev { left: -6px; }
  .latest-carousel-nav.next { right: -6px; }
  .latest-carousel-track { min-height: 360px; }
}
@media (max-width: 575.98px) {
  .latest-slide {
    inset: 0 0 auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .latest-carousel {
    padding: 12px;
  }
  .latest-carousel-title {
    font-size: 19px;
  }
  .latest-card-title .latest-title-desktop {
    display: none;
  }
  .latest-card-title .latest-title-mobile {
    display: inline;
  }
  .latest-carousel-track { min-height: 0; }
}

/* Latest video card injected in Berita Terbaru */
.latest-video-card {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 0;
  background: #f7f7f7;
  border-radius: 16px;
  margin: 10px 0 4px;
  overflow: hidden;
}
.latest-video-thumb {
  position: relative;
  flex: 0 0 55%;
  overflow: hidden;
  background: #e9ecef;
}
.latest-video-card {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 0;
  background: #f7f7f7;
  border-radius: 16px;
  margin: 10px 0 4px;
  overflow: hidden;
  max-height: 235px;
}
/* Mobile Video Card - Headline Style */
.video-card-headline-style {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin: 12px 0;
  min-height: 240px;
}
.video-card-headline__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.93);
}
.video-card-headline__category {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
}
.video-card-headline__category .post-tag {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}
.video-card-headline__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.video-card-headline__play:hover {
  background: rgba(255, 140, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.08);
  color: #fff;
}
.video-card-headline__duration {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 4;
}
.video-card-headline__overlay {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  height: 100%;
  min-height: 240px;
  padding: 18px;
}
.video-card-headline__content {
  max-width: 100%;
}
.video-card-headline__title {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}
.video-card-headline__title a {
  color: #fff;
  text-decoration: none;
}
.video-card-headline__title a:hover {
  color: #ff8c00;
}
.video-card-headline__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d7e2ff;
  font-size: 13px;
}
.video-card-headline__meta .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
body.dark-mode .video-card-headline-style {
  border: 1px solid rgba(255,255,255,0.08);
}
body.dark-mode .video-card-headline__play {
  background: rgba(255, 255, 255, 0.2);
}
.latest-video-thumb {
  position: relative;
  flex: 0 0 55%;
  overflow: hidden;
  background: #e9ecef;
  max-height: 235px;
}
.latest-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.latest-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.latest-video-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
}
.latest-video-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
}
.latest-video-body .post-title a {
  color: inherit;
  text-decoration: none;
}
.latest-video-body .post-title a:hover {
  color: #ff8c00;
}
body.dark-mode .latest-video-card {
  background: #2d2d2d;
  border: 1px solid rgba(255,255,255,0.05);
}

body.dark-mode .latest-video-thumb {
  background: #3a3a3a;
}
body.dark-mode .latest-video-play {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
body.dark-mode .latest-video-duration {
  background: rgba(0,0,0,0.7);
}
@media (max-width: 767.98px) {
  .latest-video-card {
    padding: 0;
  }
  .latest-video-body {
    padding: 12px 14px 14px;
  }
}
.popular-list .popular-card:last-child {
    border-bottom: 0;
}
.popular-list .popular-thumb {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}
.popular-list .popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.popular-list .popular-body .post-title {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 8px;
}
.popular-list .popular-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #6c757d;
    font-size: 14px;
}
.popular-list .popular-meta span + span::before {
    content: '•';
    margin: 0 8px 0 0;
    color: #b0b0b0;
}
.popular-list .popular-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 3px;
    background: #ff8c00;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}
.popular-list .popular-tag:hover {
    color: #fff !important;
}
@media (min-width: 768px) {
    .popular-list .popular-card {
        flex-direction: row;
        align-items: center;
    }
    .popular-list .popular-thumb {
        width: 236px;
        min-width: 236px;
    }
}
@media (max-width: 991.98px) {
    .popular-list .popular-thumb {
        width: 220px;
        min-width: 220px;
    }
}
@media (max-width: 767.98px) {
    .popular-list .popular-card {
        flex-direction: row;
        align-items: flex-start;
    }
    .popular-list .popular-thumb {
        width: 150px;
        min-width: 150px;
    }
    .popular-list .popular-body .post-title {
        font-size: 18px;
    }
}
@media (max-width: 575.98px) {
    .popular-list .popular-card {
        flex-direction: column;
    }
    .popular-list .popular-thumb {
        width: 100%;
        min-width: 0;
    }
}
.populer-link-more {
    color: #000 !important;
    text-decoration: none;
}
body.dark-mode .populer-link-more {
    color: #fff !important;
}
body.dark-mode .populer-link-more:hover,
.populer-link-more:hover {
    color: #ff8c00 !important;
    text-decoration: none;
}
.populer-link-more .icoArrow {
    display: inline-block;
    margin-left: 6px;
}
.btn-index-berita {
    display: inline-block;
    background: #ff8c00;
    color: #fff !important;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-index-berita:hover {
    background: #e57d00;
    color: #fff !important;
    text-decoration: none;
}
.widget-international .widget-title {
    color: #ff8c00;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.widget-international .widget-see-all {
    font-weight: 600;
    color: #ff8c00;
    text-decoration: none;
}
.widget-international .widget-see-all:hover {
    text-decoration: underline;
}
.international-list .international-item {
    align-items: flex-start;
}
.cathighlight-thumb img {
    width: 110px;
    height: 82px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
@media (max-width: 575.98px) {
    .cathighlight-thumb img {
        width: 96px;
        height: 72px;
    }
}
.cathighlight-title {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 6px;
}
.cathighlight-title a {
    color: black;
    text-decoration: none;
}
body.dark-mode .cathighlight-title a {
    color: #f2f2f2;
}
body.dark-mode .cathighlight-title a:hover,
.cathighlight-title a:hover {
    color: #ff8c00;
}
.badge-orange {
    display: inline-block;
    background: #ff8c00;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

/* Circle pagination (bootstrap output) */
.pagination.justify-content-center .page-link {
    border-radius: 999px;
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ACACAC;
    color: #333;
    margin: 0 4px;
    background: transparent;
    transition: all 0.2s ease;
    padding: 0 14px;
}
body.dark-mode .pagination.justify-content-center .page-link {
    border-color: #555;
    color: #ccc;
}
body.dark-mode .pagination.justify-content-center .page-link:hover,
.pagination.justify-content-center .page-link:hover {
    border-color: #ff8c00;
    color: #ff8c00;
    text-decoration: none;
}
.pagination.justify-content-center .page-item.active .page-link {
    border-color: #ff8c00;
    color: #ff8c00;
    background: transparent;
    font-weight: 700;
    box-shadow: none;
}
.pagination.justify-content-center .page-item.disabled .page-link {
    border-color: #e6e6e6;
    color: #b0b0b0;
    background: transparent;
}
.pagination.justify-content-center .page-link:focus {
    box-shadow: none;
    outline: none;
}

/* Modern share buttons */
.modern-share-buttons .share-buttons-container {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.modern-share-buttons .share-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}
.modern-share-buttons .facebook-share { background: #1877F2; }
.modern-share-buttons .twitter-share { background: #000000; }
.modern-share-buttons .whatsapp-share { background: #25D366; }
.modern-share-buttons .linkedin-share { background: #0A66C2; }
.modern-share-buttons .share-btn i {
    font-size: 14px;
    color: #ffffff;
}

/* Tag badge (berita & video detail) */
.tag-badge {
    display: inline-block;
    margin: 4px 6px 4px 0;
    padding: 7px 12px;
    background: #e5e7eb;
    color: #6b7280;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease;
}
.tag-badge:hover {
    background: #ff8c00;
    color: #ffffff;
    text-decoration: none;
}
body.dark-mode .tag-badge {
    background: #2d2d2d;
    color: #fff;
}
body.dark-mode .tag-badge:hover {
    background: #ff8c00;
    color: #ffffff;
}

.baca-juga-box {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}
body.dark-mode .baca-juga-box {
    border-color: #444;
    background: #1A1A1A;
}
.baca-juga-box a {
    color: #1b1b1b;
    text-decoration: none;
}
body.dark-mode .baca-juga-box a {
    color: white;
}

.baca-juga-pill {
    background: #e5e7eb;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
}

.sticky-container {
    position: relative;
    --sticky-offset: 20px;
}
.sticky-container .sticky-inner {
    position: sticky;
    top: var(--sticky-offset);
    z-index: 1;
}
.popular-sticky,
.highlight-sticky {
    min-height: 0;
}
.popular-sticky .sticky-inner {
    z-index: 2;
}
@media (max-width: 991.98px) {
    .sticky-container .sticky-inner {
        position: static;
        top: auto;
    }
}
body.dark-mode .baca-juga-pill {
    background: #2d2d2d;
    color: #f2f2f2;
}

.search-filter-tabs .nav-link {
    color: #000;
    font-weight: 600;
    border: none;
}
.search-filter-tabs .nav-link:hover,
.search-filter-tabs .nav-link.active {
    color: #ff8c00;
    border: none;
}
.search-filter-tabs .nav-link.active {
    border-bottom: 2px solid #ff8c00 !important;
    margin-bottom: -1px;
}
.search-filter-tabs {
    border-bottom: 1px solid #dee2e6;
}
body.dark-mode .search-filter-tabs .nav-link {
    color: #e5e5e5;
    background: transparent;
}
body.dark-mode .search-filter-tabs .nav-link.active {
    color: #ff8c00;
    background: #1a1a1a;
    border-bottom-color: #ff8c00 !important;
}
body.dark-mode .search-filter-tabs .nav-link:hover {
    color: #ffb366;
}
body.dark-mode .search-filter-tabs {
    border-bottom-color: #444;
}

body:not(.dark-mode) .video-hero-info {
    background-color: #f3f3f3;
}
body.dark-mode .video-title-link {
    color: #fff !important;
}
.video-title-link:hover,
body.dark-mode .video-title-link:hover {
    color: #ff8c00 !important;
}
