/*
Theme Name: Atnewz
Theme URI: http://example.com/atnewz
Author: Rizatzmi
Author URI: http://example.com
Description: A News & Magazine WordPress Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atnewz
Tags: news, magazine, blog, two-columns, responsive-layout, custom-background, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, translation-ready

This theme, like WordPress, is licensed under the GPL.
*/

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  background-color: #fff;
}

.wp-embedded-content {
  margin: 0;
}

.wp-attachment img {
  width: 100%;
}

.wp-caption {
  width: 100% !important;
}

.hide {
  display: none;
}

/* General styles for the layout */
.main-container {
  display: flex;
  min-height: 100vh;
  flex-wrap: wrap;
}

.site-main {
  display: flex;
  position: relative;
  float: left;
  width: 100%;
  max-width: 956px;
  padding: 0 10px;
}

/* Tooltip container */
a[title] {
  position: relative;
  display: inline-block;
}

a[title]:hover::after,
a[title]:hover::before {
  visibility: visible;
  opacity: 1;
}

.author-container {
  cursor: pointer;
}

.left-banner-ads,
.right-banner-ads {
  flex: 1;
  height: 100vh !important;
  overflow: hidden;
  position: fixed;
  top: 0;
  z-index: 9999;
  background-color: black;
}

.left-banner-ads {
  left: 0;
}

.right-banner-ads {
  right: 0;
}

.content-container {
  max-width: 980px;
  padding: 0 12px;
  margin: 0 auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 768px) {
  .site-main {
    padding: 0;
    display: block;
  }

  .content-container {
    width: 100%;
    flex-shrink: 1;
    margin: 0;
    padding: 0;
  }
}

/*---------------/
/ Top Header Ads /
/---------------*/

.top-header-ads {
  width: 100%;
  height: auto;
}

.top-header-ads img {
  width: 100%;
}

.top-banner-ads {
  width: 100%;
  height: auto;
  margin-top: 50px;
}

.top-banner-ads img {
  width: 100%;
}

.between-posts-ad {
  width: 100%;
  height: auto;
}

.between-posts-ad img {
  width: 100%;
}

.widget-area {
  background: #f4f4f4;
  padding: 1em;
  margin-top: 1em;
}

.entry-title a {
  color: #333;
  text-decoration: none;
}

.entry-title a:hover {
  text-decoration: underline;
}

.entry-content {
  margin-top: 1em;
}

.bottom-single-ads {
  width: 100%;
  margin-top: 20px;
}

.page-breaking-ads {
  width: 100%;
  margin-bottom: 20px;
}

.footer-floating-ads {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 90px;
  z-index: 9999;
  text-align: center;
}

/*-------/
/ Header /
/-------*/

.bottom-bar {
  max-width: 980px;
}

.main-navigation {
  flex-grow: 1;
}

.flex {
  flex-grow: 0.9;
}

.navbar-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: white;
  max-width: 936px;
  margin: auto;
}

.nav-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none;
  position: relative;
  padding: 10px 0;
}

.nav-menu li a {
  color: black;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.nav-menu li a i {
  margin-left: 7px;
}

.search-icon {
  font-size: 11px;
  cursor: pointer;
  display: none;
}

.show {
  display: block !important;
}

.top-bar .logo span {
  color: black;
  font-size: 20px;
  font-weight: 600;
}

.logo {
  width: 45%;
}

.logo img {
  width: 100%;
  height: auto;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  align-items: center;
}

.search-box {
  display: flex;
  align-items: center;
  height: 30px;
}

.search-box .search-field {
  border-radius: 25px;
  width: 400px;
  padding: 10px 15px;
  border: 1px solid #aaaaaa;
}

.search-box .search-submit {
  border-radius: 25px;
  color: white;
  font-weight: 500;
  padding: 12px 35px;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
}

.search-submit {
  border-radius: 25px;
  color: white;
  padding: 10px 15px;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
}

.navbar-wrapper .search-box-hidden {
  display: none;
}

.navbar-wrapper.search-active .nav-menu {
  display: none;
}

.navbar-wrapper.search-active .search-box-hidden {
  display: flex;
  align-items: center;
  width: 100%;
  z-index: 1000;
  background: white;
  padding: 5px 10px 5px 0;
}

.navbar-wrapper.search-active .search-box-hidden .search-field-hidden {
  font-size: 12px;
  line-height: 20px;
  height: 30px;
  border-radius: 8px;
  padding: 11px 10px 9px 10px;
  border: 1px solid #cdcdcd;
  min-width: 900px;
  background-color: #f2f2f2;
}

[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.breaking {
  padding: 10px 20px;
  border-radius: 0 0 5px 5px;
  color: white;
  display: flex;
  align-items: center;
}

.breaking-label {
  background-color: white;
  width: fit-content;
  font-weight: bold;
  font-size: 11px;
  padding: 7px 10px 5px;
  margin: 0;
  border-radius: 12.5px;
  box-shadow: 0 11px 5px -5px rgba(61, 61, 61, 0.16);
}

.breaking-content {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.breaking-content a {
  display: inline-block;
  color: white;
  text-decoration: none;
  padding-left: 50%;
  font-weight: bold;
  animation: marquee 25s linear infinite;
}

.breaking-content a:hover {
  color: white;
}

@keyframes marquee {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.sticky {
  top: 0;
  position: fixed;
  width: 100%;
  z-index: 9999;
  background-color: white;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
  border-bottom-right-radius: 8px;
}

/* Dropdown Styles */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 29px;
  left: auto;
  right: auto;
  background-color: white;
  padding: 10px 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  min-width: 150px;
}

.nav-menu .sub-menu li {
  display: block;
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 15px;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1.5;
  font-weight: 700;
  color: #787878;
}

.nav-menu li:hover > .sub-menu {
  display: block;
}

/* Dropdown Indicator */
.nav-menu li.menu-item-has-children > a::after {
  content: "\f0d7"; /* FontAwesome caret-down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 5px;
}

.nav-menu li:hover > a {
  color: #000; /* Optional: Change color on hover */
}

.logo-mobile {
  display: none;
}

.hamburger-menu {
  display: none;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .sticky {
    top: 0;
    max-width: 100vw;
  }

  .top-bar,
  .breaking {
    display: none;
  }

  .navbar-wrapper {
    flex-direction: row;
    align-items: center;
    width: 100%;
    box-shadow: 0 3px 4px 0 rgba(52, 52, 52, 0.18);
    padding: 0 10px;
    box-sizing: border-box;
  }

  .logo-mobile {
    display: block;
    text-align: center;
    padding: 10px 0;
    order: 2;
    width: 30%;
    flex-grow: 0;
  }

  .logo-mobile img {
    width: 100%;
    height: auto;
  }

  .main-navigation {
    width: 100%;
    display: none;
    order: 1;
  }

  .main-navigation.active {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-menu {
    flex-direction: column;
    text-align: left;
    width: 100%;
    display: block;
  }

  .nav-menu li {
    padding: 10px 15px;
    position: relative;
  }

  .nav-menu li a {
    display: block;
    width: 100%;
  }

  .nav-menu .sub-menu {
    display: block; /* Menampilkan sub-menu di mobile */
    position: static; /* Menghapus posisi absolut di mobile */
    background: none; /* Menghapus background tambahan di mobile */
    box-shadow: none; /* Menghapus box shadow di mobile */
    padding: 0; /* Menambahkan padding kiri untuk indentasi */
  }

  .nav-menu .sub-menu li a {
    color: black;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 0;
  }

  .nav-menu li.menu-item-has-children > a::after {
    content: none; /* Menghapus indikator dropdown di mobile */
  }

  .nav-menu > li:first-child {
    display: none !important;
  }

  .nav-menu .current-menu-item a {
    color: black !important;
  }

  .search-icon {
    display: block;
    margin-top: 10px;
    order: 3;
  }

  .navbar-wrapper.search-active .search-box-hidden .search-field-hidden {
    min-width: auto;
    width: 100%;
    background-color: #f2f2f2;
  }

  .navbar-wrapper .search-box-hidden {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: white;
    display: none;
    z-index: 999;
  }

  .navbar-wrapper.search-active .search-box-hidden {
    display: block;
    box-sizing: border-box;
    padding: 10px;
  }

  .hamburger-menu {
    display: block;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
  }

  .search-icon {
    height: 50px;
    width: 50px;
    text-align: center;
    margin: 0;
  }

  .search-icon i {
    line-height: 50px;
    font-size: 25px;
    color: gray;
  }

  .search-box-hidden {
    box-sizing: border-box;
    padding: 0;
  }
}

/* Fullscreen Navigation */
.fullscreen-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: none;
  flex-direction: column;
}

.fullscreen-nav.active {
  display: flex;
}

.fullscreen-nav-header {
  position: sticky;
  top: 0;
  background: white;
  padding: 10px 20px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

.fullscreen-nav-header span {
  font-size: 14px;
  font-weight: 600;
}

.fullscreen-nav-content {
  overflow-y: auto;
  padding: 0 20px;
}

.fullscreen-nav .nav-menu {
  flex-direction: column;
  text-align: left;
}

.fullscreen-nav .nav-menu li {
  padding: 5px 0;
  font-size: 1.5em;
}

.fullscreen-nav .nav-menu li ul {
  padding-left: 20px;
}

.fullscreen-nav .close-menu {
  font-size: 1.5em;
  cursor: pointer;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .hamburger-menu {
    display: block;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
  }

  .main-navigation {
    display: none;
  }

  .fullscreen-nav {
    display: none;
  }

  .fullscreen-nav.active {
    display: flex;
    max-width: 100vw;
  }
}

/*-----------/
/ Breadcrumb /
/-----------*/

.breadcrumb {
  list-style: none;
  font-size: 14px;
  font-weight: 400;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #6c757d;
}

.breadcrumb li a {
  color: #6c757d;
  text-decoration: none;
}

.breadcrumb li span {
  color: #787878;
}

.breadcrumb li i {
  margin: 0 5px;
  font-size: 10px;
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 12px;
    font-weight: 400;
    margin-top: 20px;
  }
}

/*---------/
/ Headline /
/---------*/

.headline {
  width: 640px;
  border: 1px solid #e5e5e5;
  padding-bottom: 0;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

.headline-main {
  width: 640px;
}

.headline-main-wrapper {
  display: block;
  width: auto;
  padding: 0 10px 0 20px;
  border: none;
}

.headline-main-image-wrapper {
  position: relative;
  margin-bottom: 15px;
  background-color: #ddd;
  padding: 0;
}

.headline-main-image-link {
  height: 360px;
}

.headline-main-image-link img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  vertical-align: middle;
  border: 0;
}

.headline-main-timestamp {
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #787878;
}

.headline-main-title-link {
  color: black;
  text-decoration: none;
}

.headline-main-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px 0;
}

.headline-main-desc {
  font-size: 13px;
  line-height: 1.54;
  color: #666;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 21px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.headline-main-desc p {
  margin: 0;
}

.headline-bottom-slider {
  height: 265px;
  overflow: hidden;
  margin-bottom: 10px;
  padding: 20px 20px 0;
  box-sizing: border-box;
}

.headline-bottom-slider-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 13px;
  text-transform: uppercase;
  color: #444;
}

.headline-bottom-slider-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.headline-bottom-slider-item {
  position: relative;
  vertical-align: top;
  width: 190px;
  margin-left: 15px;
}

.headline-bottom-slider-item:first-child {
  margin-left: 0;
}

.headline-bottom-slider-item-thumbnail {
  border-radius: 8px;
  overflow: hidden;
}

.headline-bottom-slider-item-thumbnail img {
  display: inline-block;
  width: 190px;
  height: 110px;
  vertical-align: middle;
  border: 0;
}

.headline-bottom-slider-item-header {
  padding-top: 5px;
}

.headline-bottom-slider-item-header-time {
  font-size: 10px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.4);
  vertical-align: middle;
  display: inline-block;
}

.headline-bottom-slider-item-header-title {
  font-size: 14px;
  font-weight: 700;
  color: #2e2e2e;
  height: 58px;
  line-height: 1.4;
  margin-top: 3px;
}

.headline-bottom-slider-wrapper {
  position: relative;
}

.chevron-prev {
  left: -20px;
}

.chevron-next {
  right: -20px;
}

.slick-arrow {
  position: absolute;
  background-size: 36px 36px;
  height: 36px;
  z-index: 2;
  width: 36px;
  top: 20%;
  cursor: pointer;
  text-align: center;
  line-height: 36px;
  text-align: center;
  vertical-align: center;
  line-height: 36px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .headline {
    width: 100%;
  }

  .headline-main {
    width: 100%;
  }

  .headline-main-image-link img {
    width: 100%;
    height: 56.25%;
  }

  .headline-bottom-slider {
    display: none;
  }
}

/*----------/
/ Post List /
/----------*/

.article-container {
  margin-right: 320px;
  width: 640px;
  padding: 20px 0;
}

#article-container-indeks {
  margin-left: 20px;
  margin-right: 0px;
}

.featured-post {
  padding: 20px 0;
  border-bottom: solid 1px #e5e5e5;
}

.featured-post .featured-image {
  width: 640px;
  height: 360px;
  background: #ddd;
  border-radius: 8px;
}

.standard-post {
  padding: 20px 0;
  border-bottom: solid 1px #e5e5e5;
  display: flex;
}

.post-thumbnail {
  border-radius: 8px;
  overflow: hidden;
}

.post-thumbnail .standard-image {
  margin-right: 15px;
  width: 200px;
  height: 112px;
  background: #ddd;
  display: inline-block;
  vertical-align: top;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  object-fit: cover;
}

/* No Image Available Styles */
.thumbnail-wrapper {
  position: relative;
}

.no-image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 16px;
  text-align: center;
}

.post-content {
  width: calc(100% - 215px);
  display: inline-block;
  vertical-align: top;
  position: relative;
  height: 112px;
}

.entry-header {
  overflow: hidden;
  margin-bottom: 6px;
}

.post-category {
  font-size: 10px;
  font-weight: 700;
  line-height: 24px;
  margin-right: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.entry-title {
  float: left;
  width: 100%;
  margin: 0;
}

.entry-title a {
  color: #000;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  overflow: hidden;
  display: block;
  max-height: 2.76em;
}

.entry-title a:hover {
  text-decoration: none;
}

.posted-on {
  color: #787878;
  font-size: 10px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.4px;
}

.no-thumbnail-post .entry-header {
  margin-bottom: 10px;
}

.entry-content {
  color: #666;
  font-size: 13px;
  line-height: 20px;
  height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  margin: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.entry-content p {
  margin: 0;
}

.entry-content-single {
  line-height: 1.6;
}

.index-news-btn-wrapper {
  display: block;
  width: 140px;
  background-color: #fff;
  border-radius: 2px;
  margin: 18px auto;
}

.index-news-btn {
  font-size: 12px;
  padding: 10px 20px;
  display: block;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
}

.index-news-btn:hover {
  color: white;
}

@media (max-width: 768px) {
  .article-container {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 10px;
  }

  #article-container-indeks {
    margin: 0;
  }

  .entry-header {
    margin: 0;
  }

  .featured-post {
    display: flex;
    flex-direction: column-reverse;
  }

  .featured-post .entry-title a {
    font-size: 18px;
    line-height: 21px;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
    font-weight: 200;
  }

  .featured-post .posted-on {
    font-weight: 200;
    font-size: 10px;
    color: #787878;
    line-height: 1em;
  }

  .standard-post {
    flex-direction: row-reverse;
    padding: 15px 0;
  }

  .standard-post .post-thumbnail {
    width: 85px;
    height: 85px;
  }

  .post-thumbnail .standard-image {
    width: 85px;
    height: 85px;
    margin: 0;
  }

  .standard-post .entry-content {
    display: none;
  }

  .standard-post .post-content {
    width: calc(100% - 100px);
    height: auto;
    margin-right: 15px;
  }

  .standard-post .posted-on {
    font-weight: 200;
    font-size: 10px;
    color: #787878;
    line-height: 1em;
  }

  .standard-post .entry-title a {
    font-size: 18px;
    line-height: 21px;
    margin-top: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
    font-weight: 200;
    -webkit-text-size-adjust: 100%;
  }

  .featured-post .featured-image {
    width: 100%;
    height: 56.25%;
    aspect-ratio: 16/9;
  }

  .no-image {
    font-size: 10px;
  }
}

/*---------------/
/ Content Single /
/---------------*/

.post-title {
  font-size: 30px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.3;
  letter-spacing: normal;
  color: #000000;
}

.post-subtitle {
  color: #353535;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
  margin: 0;
}

#post.post-thumbnail {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.post-thumbnail img {
  height: auto;
  vertical-align: middle;
}

article .post-thumbnail img {
  width: 640px;
}

.post-thumbnail-caption {
  border-radius: 0 0 5px 5px;
  padding: 10px 0px;
  font-size: 12px;
  line-height: 1.42;
  border-bottom: 1px solid #eee;
}

.single-content {
  font-size: 15px;
  line-height: 23px;
  color: #444;
}

.single-content figure {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.single-content img:not(.readmore-img) {
  width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 8px;
}

.author-vcard {
  display: inline-block;
  width: 300px;
  vertical-align: top;
}

.author-avatar {
  display: inline-block;
  margin-right: 10px;
}

.author-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 20px;
}

.author-info {
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
}

.post-date {
  margin: 5px 0;
  padding: 0;
  height: 45px;
  font-size: 12px;
  line-height: 1;
  color: #999;
  vertical-align: top;
  display: block;
  margin-bottom: 7px;
}

.author-header-mobile {
  display: none;
}

.atnewz-social-share {
  display: inline-block;
  vertical-align: top;
  float: right;
}

.social-share-list {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
  list-style: none;
  vertical-align: top;
}

.social-share-item {
  display: inline-block;
  overflow: hidden;
  text-align: center;
  margin-right: 10px;
  border-radius: 50px;
}

.share-button {
  display: block;
  height: 40px;
  width: 40px;
}

.share-button i {
  font-size: 20px;
  padding: 10px;
}

.share-button.facebook {
  background-color: #3b5998;
  color: white;
}
.share-button.twitter {
  background-color: #000000;
  color: white;
}
.share-button.whatsapp {
  background-color: #25d366;
  color: white;
}

.share-button.copy-link {
  width: 73px;
  height: 40px;
  color: white;
  border: none;
  cursor: pointer;
}

.share-button.copy-link span {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.social-share-count {
  display: inline-block;
  vertical-align: top;
  position: relative;
  text-align: center;
  top: 4px;
}

.social-share-count-label {
  display: block;
  font-size: 12px;
  line-height: 1;
  position: relative;
  color: #000;
  top: 2px;
}
.social-share-count-value {
  display: block;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: #000;
}

/* Styles for mobile */
@media (max-width: 768px) {
  .author-header-desktop {
    display: none;
  }
  .author-header-mobile {
    display: block;
    font-size: 14px;
    color: #999;
  }

  .social-share-count {
    display: none;
  }

  .social-share-item {
    width: 90px;
  }

  .share-button {
    width: 100%;
    height: 100%;
  }

  .share-button.copy-link {
    width: 100%;
  }
}

.page-break {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.page-break hr {
  flex-grow: 1;
  border: none;
  border-top: 1px solid #ddd;
  margin: 0 10px;
}

.page-break span {
  color: #666;
  font-size: 14px;
  white-space: nowrap;
}

.tags-links {
  padding: 0;
  margin: 0;
  margin-bottom: 30px;
}

.tags-links li {
  display: inline-block;
  margin: 0 5px 5px 0;
  list-style: none;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.15);
}

.tags-links a {
  color: #666;
  font-size: 12px;
  line-height: 22px;
  text-decoration: none;
  padding: 0 12px;
  display: block;
}

.tags-links h4 {
  color: #666;
  margin: 0;
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
}

.tags-links li:hover h4 {
  color: white;
}

.footer-credit {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
}

.footer-credit-header {
  color: #000;
  font-size: 12px;
  line-height: 15px;
  text-transform: uppercase;
  display: block;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .content-page.entry-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
  }

  .single-content {
    font-size: 18px;
    color: #222;
    line-height: 1.8;
    font-weight: 400;
  }

  .post-title {
    margin: 10px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
  }

  .post-meta {
    margin: 10px 0;
  }

  .post-thumbnail img {
    width: 100%;
    height: auto;
  }

  .single-content img:not(.readmore-img) {
    width: 100%;
    height: auto;
  }

  .single-content div {
    width: 100% !important;
  }

  .footer-credit {
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .tags-links li {
    margin: 5px 10px 5px 0;
    padding: 0;
    display: inline-block;
  }

  .tags-links h4 {
    font-size: 14px;
  }
}

/*-----------/
/ Posts Grid / 
/-----------*/

.grid-header {
  padding-bottom: 5px;
  text-align: left;
  display: block;
  margin: 20px 0 6px;
  text-transform: uppercase;
  font-weight: 700;
  background: 0 0;
  box-sizing: border-box;
}

.grid-header-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  background: 0 0;
  display: inline-block;
  box-sizing: border-box;
}

.grid-header-title > a {
  color: #000;
}

.grid-posts {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  min-width: 640px;
}

.grid-post {
  display: inline-block;
  vertical-align: top;
  padding: 0;
  margin-bottom: 10px;
  width: 200px;
}

.grid-post-thumbnail {
  overflow: hidden;
  display: block;
  margin: 0;
}

.grid-post-thumbnail-link {
  display: block;
}

.grid-post-thumbnail img {
  width: 200px;
  height: 113px;
  border-radius: 8px;
}

.grid-post-title {
  display: inline-block;
  vertical-align: top;
  width: 200px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.43;
  height: auto;
  text-align: left;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.grid-post-title a {
  text-decoration: none;
  color: #000;
}

@media (max-width: 768px) {
  .grid-posts {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .grid-post {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    border-bottom: solid 1px #e5e5e5;
    padding: 15px 0;
    margin: 0;
  }

  .grid-post-thumbnail {
    width: 85px;
    height: 85px;
  }

  .grid-post-thumbnail img {
    width: 85px;
    height: 85px;
  }

  .grid-post .post-content {
    width: calc(100% - 100px);
    height: auto;
    margin-right: 15px;
  }

  .grid-post .entry-content {
    display: none;
  }

  .grid-post .posted-on {
    font-weight: 200;
    font-size: 10px;
    color: #787878;
    line-height: 1em;
  }

  .grid-post .entry-title a {
    font-size: 18px;
    line-height: 21px;
    margin-top: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
    font-weight: 200;
    -webkit-text-size-adjust: 100%;
  }

  .grid-posts .grid-post:first-child {
    padding-top: 0;
  }
}

/*---------/  
/ Comments / 
/---------*/

.comments-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list li {
  margin-bottom: 20px;
}

.comment-body {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.comment-author {
  margin-right: 10px;
}

.comment-author img {
  border-radius: 50%;
}

.comment-meta {
  font-size: 0.875em;
  color: #555;
}

.reply {
  margin-top: 10px;
}

/* Styles for Comment Form */
.comment-form-author,
.comment-form-email,
.comment-form-comment {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-comment label {
  font-weight: bold;
  margin-bottom: 5px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-comment textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1em;
  margin-bottom: 5px;
}

.comment-form-comment textarea {
  resize: vertical;
}

.comment-notes {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 23px;
  color: #444;
}

.submit.btn.btn-primary {
  color: #fff;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
}

.submit.btn.btn-primary:hover {
  background-color: #c02030;
  border-color: #c02030;
  color: #fff;
}

/* Custom Style for Input Fields */
.comment-form-author input,
.comment-form-email input,
.comment-form-comment textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
}

.circle-avatar {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.comment-body {
  display: flex;
  align-items: flex-start;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.comment-avatar {
  float: left;
  margin-right: 15px;
}

.comment-details {
  flex-grow: 1;
}

.comment-author {
  display: block;
  margin-bottom: 5px;
}

.comment-author-name {
  font-size: 14px;
  font-weight: 700;
  color: black;
}

.comment-time {
  font-size: 12px;
  color: #a9a9a9;
  font-weight: 400;
  margin-top: 3px;
}

.comment-text {
  color: #2a2a2a;
  font-size: 14px;
  font-weight: 400;
  margin-top: 5px;
  flex-grow: 1;
}

.comment-content {
  overflow: hidden;
}

.comment-metadata {
  font-size: 0.875em;
  color: #777;
}

.reply {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
}

/*--------/
/ Archive /
/--------*/

.archive-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.author-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  width: 100%;
  justify-content: space-between;
}

.author-info-wrapper {
  display: flex;
  align-items: center;
}

.author-avatar {
  border-radius: 50%;
  margin-right: 15px;
}

.author-name {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  margin: 0;
}

.author-bio {
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.author-timeline {
  margin-top: 10px;
  font-size: 20px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .author-header {
    width: 100%;
    box-sizing: border-box;
  }

  .archive-title {
    margin-top: 20px;
  }
}

/*-------/
/ Search /
/-------*/

.search-result-header {
  padding-bottom: 10px;
  margin: 0;
  display: block;
}

.search-result-header-text {
  width: 640px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.71em;
  color: #444;
}

.search-not-found-notice {
  font-size: 16px;
  line-height: 16px;
  color: #000;
  margin-bottom: 10px;
}

.search-not-found-tips-header {
  font-size: 14px;
  line-height: 16px;
  color: #444;
  margin: 10px 0 20px;
}

.search-not-found-tips-list {
  margin-left: 14px;
}

.advanced-search-form {
  overflow: hidden;
  display: flex;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
  position: relative;
}

.advanced-search-form select {
  max-width: 130px;
  height: 31px;
}

.form-control {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 20px;
  color: #4a4a4a;
  background-color: #fff;
  vertical-align: middle;
}

.form-input-text {
  display: block;
  padding: 6px 12px;
  width: 100%;
  height: 30px;
  border-radius: 2px;
  background-color: #faf9f9;
  border: solid 1px #d5d5d5;
  color: #787878;
  box-sizing: border-box;
}

.advanced-search-date-range-from {
  float: left;
  margin-right: 5px;
  width: 110px;
}

.advanced-search-date-range-separator {
  float: left;
  margin-right: 5px;
}

.advanced-search-date-range-to {
  width: 110px;
  float: left;
}

.advanced-search-form .search-button {
  width: 133px;
  padding: 0 20px;
  margin-left: 5px;
  font-size: 14px;
  font-weight: 400;
  height: 30px;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}

.advanced-search-item {
  float: left;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .advanced-search-form {
    display: none;
  }

  .search-result-header-text {
    width: 100%;
  }
}

/*----/
/ 404 /
/----*/

.error-container {
  width: 100%;
  margin: 100px 0;
}

.error-404 {
  text-align: center;
  margin: auto;
  height: auto;
}

.error-message-header {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  margin: 0;
  color: #979797;
  text-align: center;
}

.error-message-caption {
  font-size: 14px;
  line-height: 24px;
  margin: 0 0 28px 0;
  color: #979797;
  text-align: center;
}

.error-message-button {
  margin: auto;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  padding: 10px 23px;
  border: 1px solid #cdcdcd;
  background-color: #fff;
  border-radius: 1px;
}

/*--------/
/ Sidebar /
/--------*/

.sidebar-container {
  position: relative;
  float: left;
  width: 300px;
  margin-left: -300px;
  z-index: 1;
  padding: 40px 0;
  gap: 30px;
}

.sidebar-container .widget {
  margin-bottom: 30px;
}

.sidebar-container .widget:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .sidebar-container {
    width: 100%;
    display: block;
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
  }
}

/*-------/
/ Footer /
/-------*/

.site-footer {
  background-color: #f5f5f5;
  padding: 30px 22px 50px 22px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.footer-menus {
  flex-grow: 1;
}

.footer-menu-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-menu-columns {
  display: flex;
  justify-content: flex-start;
}

.footer-menu-column {
  width: 20%;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #444;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 400;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu li a {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 30px;
  color: #565656;
  text-transform: uppercase;
}

.footer-social-text {
  margin: 0;
  padding-bottom: 10px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: red;
  color: #fff;
  font-size: 20px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.footer-social a.facebook {
  background-color: #3b5998;
}

.footer-social a.twitter {
  background-color: #000000;
}

.footer-social a.youtube {
  background-color: #ff0000;
}

.footer-social a.instagram {
  background-color: #e4405f;
}

.footer-social a i {
  color: white;
}

.footer-copyright {
  font-size: 12px;
  color: #1e1e1e;
  text-align: center;
  padding-bottom: 100px;
  padding-top: 50px;
}

.scroll-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  color: white;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  z-index: 9999;
  transition: opacity 0.3s;
  opacity: 0.5;
  border-radius: 8px;
}

.scroll-to-top:hover {
  opacity: 0.7;
  color: white;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 20px;
    padding: 10px;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-menu-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .footer-menu-column {
    flex: 1 1 45%; /* Two columns with 45% width each and some space between */
    margin-bottom: 20px;
  }

  .footer-social a {
    display: block;
    margin: 10px 0;
    text-align: center;
  }

  .footer-social a i {
    line-height: 40px;
  }

  .footer-copyright {
    background-color: #e9e9e9;
  }

  .scroll-to-top {
    height: 20px;
    width: 20px;
    font-size: 12px;
    line-height: 20px;
  }
}

/*-------/
/ Indeks / 
/-------*/

.indeks-channel-filter {
  min-width: 238px;
  position: relative;
  z-index: 2;
  width: 285px;
  border-radius: 3px;
  border: solid 1px #ededed;
  margin: 20px 0;
}

.indeks-channel-filter-header {
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  background-color: #f5f5f5;
  color: #333;
  padding: 17px 20px;
}

.indeks-channel-filter-lists {
  margin: 0;
  padding: 0;
  list-style: none;
}

.indeks-channel-filter-lists-item {
  padding: 0 20px;
}

.indeks-channel-filter-lists-item-title {
  padding: 14px 0 12px;
  display: block;
  margin-bottom: 2px;
  border-bottom: 1px solid #ededed;
  font-size: 14px;
  font-weight: 700;
  color: #444;
}

.indeks-channel-filter-arrow {
  float: right;
  background-size: cover;
  width: 8px;
  height: 12px;
  margin-top: 5px;
}

.indeks-filter {
  overflow: hidden;
  display: flex;
  height: 80px;
  padding: 20px;
  background-color: #f5f5f5;
  border: solid 1px #ededed;
  margin-bottom: 32px;
  box-sizing: border-box;
}

.indeks-filter-form {
  margin-top: 0;
  height: 40px;
  font-size: 14px;
}

.indeks-filter-item {
  display: inline-block;
}

.indeks-filter-date {
  margin-right: 10px;
}

.indeks-filter-date input {
  width: 430px;
  padding: 10px 10px 8px 18px;
}

.indeks-filter .search-button {
  width: 133px;
  padding: 0 20px;
  margin-left: 5px;
  font-size: 14px;
  font-weight: 400;
  height: 40px;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}

.indeks-header-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  margin: 0;
  color: #333;
  border-bottom: 1px solid #ededed;
  padding-bottom: 10px;
  text-transform: uppercase;
}

/* Mobile Filter Form Styles */
.indeks-filter-form-mobile {
  display: none; /* Hide by default */
}

@media (max-width: 768px) {
  .indeks-channel-filter {
    display: none;
  }

  .indeks-filter {
    height: auto;
  }

  .indeks-filter-form {
    display: none; /* Hide desktop form on mobile */
  }

  .indeks-filter-form-mobile {
    display: block; /* Show mobile form on mobile */
  }

  .indeks-filter-item {
    margin-bottom: 10px;
    width: 32%;
  }

  #indeks-filter-item-cat {
    width: 100%;
  }

  .indeks-filter-item select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
  }

  .indeks-filter-button {
    text-align: center;
    width: 100%;
  }

  .indeks-filter-button .search-button {
    width: 100%;
    height: 40px;
    margin: 0;
  }
}

/*-----------------/
/ Internal Linking /
/-----------------*/

.readmore {
  padding: 16px 12px;
  margin: 30px 0;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d9d9d9;
  box-shadow: 0 4px 4px rgba(217, 217, 217, 0.25);
  border-radius: 10px;
}

.readmore-title {
  font-weight: 700;
  margin-bottom: 3px;
  display: inline-block;
  font-size: 15px;
  color: black;
}

.readmore-content {
  display: flex;
  height: 68px;
}

.readmore-img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  margin-right: 24px;
}

.readmore-post-title {
  font-size: 15px;
  font-weight: 600;
  color: #2460aa;
}

.readmore-post-title:hover {
  color: #1e4a85;
}

@media (max-width: 768px) {
  .readmore-content {
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .readmore-img {
    margin-right: 10px;
  }

  .readmore-title {
    margin: 0;
    display: block;
    font-size: 12px;
  }

  .readmore-post-title {
    font-size: 12px;
  }
}

/*-------------/
/ Related Post / 
/-------------*/

.baca-juga {
  width: 100%;
  margin: 19px 0 19px 0;
  padding: 15px 15px 20px;
  background-color: #f1f1f1;
  box-sizing: border-box;
}

.baca-juga-header {
  padding-left: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: #424242;
  display: inline-block;
  text-transform: uppercase;
  margin: 0;
}

.baca-juga-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
}

.baca-juga-list li {
  padding: 0 13px;
  border-right: 1px solid #c7c7c7;
  flex-grow: 1;
  flex-basis: 0;
}

.baca-juga-list li:last-child {
  border-right: none; /* Menghapus border-right pada item terakhir */
}

.baca-juga-list a {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  color: unset;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.baca-juga-list a > h3 {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  color: unset;
}

@media (max-width: 768px) {
  .baca-juga {
    box-sizing: border-box;
  }

  .baca-juga-list {
    display: block;
  }

  .baca-juga-list li {
    border: none;
  }
}

/*--------------/
/ Popular Topic /
/--------------*/

.widget-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  background: 0 0;
}

.widget-title > a {
  color: #000;
}

.popular-topics {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popular-topics li {
  margin-bottom: 6px;
}

.popular-topics li i.fa-hashtag {
  font-size: 14px;
  font-weight: 700;
  padding-right: 23px;
  vertical-align: middle;
}

.popular-topics li a {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 6px;
  display: inline-block;
  width: calc(100% - 40px);
  color: #444;
}

.popular-topics li a > span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
}

/*----------------/
/ Taxonomy Widget /
/----------------*/

.taxonomy-widget-posts {
  margin: 0;
  padding: 0;
  list-style: none;
}
.taxonomy-widget-post.big {
  border-bottom: 1px solid #eee;
  margin-bottom: 0;
  display: block;
}

.taxonomy-widget-post.small {
  border-bottom: 1px solid #ddd;
  padding: 10px 15px 12px;
  margin: 0;
  height: 60px;
}

.taxonomy-widget-post-thumbnail {
  margin: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
  background: #ddd;
}

.taxonomy-widget-post-thumbnail a {
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  display: inline-block;
}

.taxonomy-widget-post-thumbnail img {
  width: 60px;
  height: 60px;
}

.taxonomy-widget-post-thumbnail.big img {
  width: 300px;
  height: 170px;
}

.taxonomy-widget-post-thumbnail.big {
  height: 170px;
  margin: 0;
  display: block;
}

.taxonomy-widget-post-thumbnail.small {
  height: 60px;
}

.taxonomy-widget-post-thumbnail.small a {
  height: 60px;
}

.taxonomy-widget-post-content {
  display: inline-block;
  width: 195px;
  height: 60px;
  vertical-align: middle;
}

.taxonomy-widget-post-content.big {
  display: block;
  width: auto;
}

.taxonomy-widget-post-content-center {
  position: relative;
  transform: translateY(-50%);
  top: 50%;
}

.taxonomy-widget-post-title {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

.taxonomy-widget-post-title a {
  text-decoration: none;
  color: #000;
}

@media (max-width: 768px) {
  .taxonomy-widget-post.mobile {
    display: block;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08),
      0 6px 20px 0 rgba(0, 0, 0, 0.08);
  }

  .taxonomy-widget-post-thumbnail.mobile {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
    border-radius: 0;
  }

  .taxonomy-widget-post-thumbnail.mobile img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .taxonomy-widget-post-content.mobile {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
  }

  .taxonomy-widget-post-content-center {
    display: block;
    transform: none;
  }

  .taxonomy-widget-post-title a {
    width: 100%;
  }
}

/*-------------/
/ Popular Post /
/-------------*/

.popular-posts-widget {
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.popular-post-widget-item {
  padding-bottom: 8px;
  border: 1px solid #eee;
  border-top: 0;
}

.popular-post-widget-content {
  padding: 10px 0;
}

.popular-post-widget-image {
  margin: 0;
  padding: 0;
}

.popular-post-widget-image img {
  height: 168px;
  width: 300px;
  vertical-align: middle;
}

.popular-post-widget-rank {
  display: inline-block;
  letter-spacing: -4.3px;
  text-align: center;
  color: #ddd;
  font-size: 60px;
  font-weight: 600;
  width: 60px;
  margin: 5px 15px;
}

.popular-post-widget-wrapper {
  display: inline-block;
  width: 204px;
  vertical-align: top;
}

.popular-post-widget-category {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
}

.popular-post-widget-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 5px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.popular-post-widget-title a {
  color: #444;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.29;
}

@media (max-width: 768px) {
  .popular-post-widget-image img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 54%;
  }

  .popular-post-widget-content {
    display: flex;
    padding: 10px 5px;
  }

  .popular-post-widget-rank {
    display: block;
  }

  .popular-post-widget-wrapper {
    display: block;
    width: 100%;
  }
}

/*-------------/
/ Recent Posts /
/-------------*/

/* General styles */
.widget-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.recentposts-widget-posts {
  margin: 0;
  padding: 0;
  list-style: none;
}
.recentposts-widget-post.big {
  border-bottom: 1px solid #eee;
  margin-bottom: 0;
  display: block;
}

.recentposts-widget-post.small {
  border-bottom: 1px solid #ddd;
  padding: 10px 15px 12px;
  margin: 0;
  height: 60px;
}

.recentposts-widget-post-thumbnail {
  margin: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
  background: #ddd;
}

.recentposts-widget-post-thumbnail a {
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  display: inline-block;
}

.recentposts-widget-post-thumbnail img {
  width: 60px;
  height: 60px;
}

.recentposts-widget-post-thumbnail.big img {
  width: 300px;
  height: 170px;
}

.recentposts-widget-post-thumbnail.big {
  height: 170px;
  margin: 0;
  display: block;
}

.recentposts-widget-post-thumbnail.small {
  height: 60px;
}

.recentposts-widget-post-thumbnail.small a {
  height: 60px;
}

.recentposts-widget-post-content {
  display: inline-block;
  width: 195px;
  height: 60px;
  vertical-align: middle;
}

.recentposts-widget-post-content.big {
  display: block;
  width: auto;
}

.recentposts-widget-post-content-center {
  position: relative;
  transform: translateY(-50%);
  top: 50%;
}

.recentposts-widget-post-title {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

.recentposts-widget-post-title a {
  text-decoration: none;
  color: #000;
}

.view-all-link {
  color: #787878;
  font-size: 12px;
}

@media (max-width: 768px) {
  .recentposts-widget-post.mobile {
    display: block;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08),
      0 6px 20px 0 rgba(0, 0, 0, 0.08);
  }

  .recentposts-widget-post-thumbnail.mobile {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
  }

  .recentposts-widget-post-thumbnail.mobile img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .recentposts-widget-post-content.mobile {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
  }

  .recentposts-widget-post-content-center {
    display: block;
    transform: none;
  }

  .recentposts-widget-post-title a {
    width: 100%;
  }

  .view-all-link {
    display: none;
  }
}

/*------------------/
/ Popular Post List /
/------------------*/

.list-popular-post-section {
  margin-top: 20px;
  margin-bottom: 92px;
}

.list-popular-post-section-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  color: #000;
  text-align: center;
  margin-bottom: 25px;
  margin-top: 60px;
}

.list-popular-post {
  list-style: none;
}

.list-popular-post-item {
  display: inline-block;
  width: 33%;
  height: 61px;
  margin-bottom: 10px;
}

.list-popular-post-image {
  width: 61px;
  height: 61px;
  margin-right: 10px;
  background-color: #ddd;
  display: inline-block;
  vertical-align: top;
  border-radius: 8px;
}

.list-popular-post-image img {
  width: 61px;
  height: 61px;
  object-fit: cover;
  border-radius: 8px;
}

.list-popular-post-content {
  width: calc(100% - 81px);
  display: inline-block;
  vertical-align: top;
  padding-right: 5px;
}

.list-popular-post-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.33em;
  margin: 0;
  color: #000;
  height: 2.66em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
  .list-popular-post-item {
    display: flex;
    width: 100%;
    height: 85px;
  }

  .list-popular-post-image {
    height: 85px;
    width: 85px;
  }

  .list-popular-post-image img {
    height: 85px;
    width: 85px;
  }

  .list-popular-post-content {
    display: flex;
    align-items: center;
    height: 85px;
  }

  .list-popular-post-title {
    font-size: 14px;
  }
}

/*-----------/
/ Pagination /
/-----------*/

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.pagination ul {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 0;
  padding: 0;
  margin: 10px 0 0 0;
  height: 30px;
}

.pagination li {
  display: inline-block;
  vertical-align: middle;
  line-height: 28px;
  height: 28px;
}

.pagination .page-numbers {
  font-size: 12px;
  position: relative;
  text-decoration: none;
  padding: 8px 12px 7px 12px;
  line-height: 30px;
  color: #444;
}

.pagination .page-numbers.current {
  color: #fff;
  border: none;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  font-size: 12px;
  width: 90px;
  height: 30px;
  text-transform: uppercase;
}

/*----------/
/ Tag Filer /
/----------*/

.tag-filter {
  margin: 30px 0;
}

.tag-filter-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 22px;
  color: #000;
  margin: 0 0 20px 0;
}

.tag-filter-content {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0;
  gap: 9px;
  width: 100%;
}

.tag-filter-item {
  display: -ms-flexbox;
  display: flex;
  background: #f3f3f3;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
}

.tag-filter-item a {
  line-height: 44px;
  width: 44px;
  height: 44px;
  text-align: center;
  color: #444;
}

@media (max-width: 768px) {
  .tag-filter-title {
    font-size: 14px;
  }

  .tag-filter-item a {
    line-height: 41px;
    width: 41px;
    height: 41px;
  }
}

/*---------------/
/ Gallery Widget /
/---------------*/

.atnewz-gallery {
  display: flex;
  overflow: hidden;
  position: relative;
  max-width: 300px;
}

.atnewz-gallery-item {
  flex: 0 0 100%;
  display: none;
}

.atnewz-gallery-item:first-child {
  display: block;
}

.atnewz-gallery-item img {
  max-width: 300px;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1;
}

.gallery-prev {
  left: 0;
}

.gallery-next {
  right: 0;
}

@media (max-width: 768px) {
  .atnewz-gallery {
    max-width: none;
  }

  .atnewz-gallery-item img {
    width: 100%;
    max-width: none;
  }
}

/*---------------/
/ Youtube Widget /
/---------------*/

@media (max-width: 768px) {
  .youtube-video iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 56.25%;
  }
}
