:root {
    --color-main: #002366;
    --color-second: #85479c;
    /* --color-main: #50004b;      
    --color-second: #008b00;      */
}

img {
    max-width: 100%;
}

.main-nav {
    background: -webkit-linear-gradient(70deg, var(--color-main) 0%, var(--color-second) 100%);
    background: -o-linear-gradient(70deg, var(--color-main) 0%, var(--color-second) 100%);
    background: linear-gradient(20deg, var(--color-main) 0%, var(--color-second) 100%);
}

.newsletter-area {
    background: -webkit-linear-gradient(70deg, var(--color-main) 0%, var(--color-second) 100%);
    background: -o-linear-gradient(70deg, var(--color-main) 0%, var(--color-second) 100%);
    background: linear-gradient(20deg, var(--color-main) 0%, var(--color-second) 100%);
}

/* color main  */
.block-title,
.trending-title .tsicon,
.featured-tab .nav-tabs .nav-link.active .tab-head>span.tab-text-title,
.post-title a:hover,
.single-post .post-meta li a:hover,
.ts-social li a:hover, .post-meta .post-author a:hover {
    color: var(--color-main)
}

/* color second */
.post-cat-color,
a,
.single-post .post-navigation .post-next a:hover span,
.single-post .post-navigation .post-previous a:hover span {
    color: var(--color-second);
}

/* background main  */
.featured-tab .nav-tabs .nav-link.active:before,
.post-tab .nav-tabs .nav-item .nav-link.active::after,
.post-tab .nav-tabs .nav-item .nav-link.active::before,
.post-tab .list-post .post-block-style .post-thumb .tab-post-count,
.backto,
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.block.style2,
.author-box .author-counter span {
    background-color: var(--color-main);
}

/* background second  */
.block-title .title-angle-shap::before,
.block-title .title-angle-shap::after,
.navbar-toggler,
.backto:hover,
.post-cat {
    background-color: var(--color-second);
}



/* Style sticky dengan animasi turun */
.main-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    animation: slideDown 0.4s ease forwards;
}

.ts-footer,
.ts-footer .widget-title span {
    background-color: #111;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Placeholder agar tidak loncat */
.nav-placeholder {
    display: none;
    /* default tidak terlihat */
}



.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* jarak antar kotak */
}

.tag {
    background-color: var(--color-main);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 0;
}
.tag a{color: #fff;}

.tag:hover {
    background-color: var(--color-main-hover);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: var(--color-second);
}

.paxvideo .post-thumb a {
    display: block;
}

.inivideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.inivideo i {
    font-size: 3rem;
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
}


.max2row {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ts-category-list li a {
    font-size: 18px;
}

.post-tab .list-post .post-block-style .post-thumb .tab-post-count {
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    font-size: 18px;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paxside {
    margin-bottom: 30px;
}

.paxmain {
    margin-bottom: 30px;
}

.paxside ul.list-post {
    margin-bottom: 0;
}

.paxeditor.post-tab .list-post .post-block-style .post-thumb {
    width: 50px;
    height: 50px;
    margin: 0 20px 0 0;
}

.paxeditor.post-tab .list-post .post-block-style .post-thumb img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.paxeditor .post-block-style.media {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.load-more-btn .btn{
  background-color: var(--color-main);
  color: #fff;
}
.load-more-btn .btn:hover {
    color:var(--color-main);
    background-color: #fff;
    border-color: var(--color-main);
}

.paxfootmenu ul {
    display: flex;
    flex-wrap: wrap;
}

.paxfootmenu ul li {
    width: 50%;
}

.paxfootmenu ul li a {
    display: block;
    color: #fff;
    padding: 2px;
    margin-bottom: 4px;
}

.logo img {
    max-width: 150px;
}

.logo {
    padding: 10px 0;
}

.header {
    padding: 15px 0;
}

.menubottom {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menubottom ul {
    display: flex;
    padding-left: 0;
    margin: 0;
}

.menubottom-col a {
    color: #fff;
    padding: 5px;
    margin: 5px;
}

.list-post-block .list-post .post-block-style .grid-category .post-cat {
    padding: 0px 10px;
}

.post-meta .post-author a {
    color: #999999;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.single-post .post-meta li {
    color: #777;
    margin: 0;
    padding: 0;
    margin-right: 15px;
}

.post-meta li a .fa {
    margin-right: 5px;
    font-size: 18px;
}

.single-post .post-meta li.social-share .shareicon {
    width: 40px;
    height: 40px;
    background: var(--color-main);
    padding: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.author-info h2 {
    line-height: 1.5;
}

.author-info a {
    color: var(--color-main) !important;
    margin: 10px 0;
    display: block;
}

.author-info p {
    margin-bottom: 8px;
}

.breadcrumb li i {
    padding-right: 10px;
}

.author-social {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.author-social span {
    font-size: 14px;
}

.author-counter {
    margin-bottom: 7px;
}

.author-info h2 {
    font-size: 24px;
    margin-bottom: 3px;
}

.ts-category-list li a h3 {
    position: relative;
    white-space: nowrap;
    color: #fff;
    font-size: 20px;
    margin: 0;
}


.title-static {
    font-size: 1.4rem;
    color: #222;
}

.paxkanaltop .post-overaly-style {
    min-height: 500px;
}

.paxkanaltop .col-lg-6.col-md-6:first-child {
    padding-right: 7px;
}

.paxkanaltop .col-lg-6.col-md-6:last-child {
    padding-left: 7px;
}

.gallery-popup img {
    width: 100%;
    border-radius: 10px;
}

.post-content-area p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #383838;
}

.post-content-area > img {
    max-width: 550px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
    margin-bottom: 15px;
}

.image-caption {
    color: gray;
    line-height: 1.4;
    font-size: 13px;
    max-width: 550px;
    margin: -5px auto 20px;
    text-align: center;
}

.social img, .ts-social img{
    max-width: 16px;
    object-fit: contain;
}

 .social-list img{
    max-width: 25px;
    object-fit: contain;
 }

.paxdate {
    margin: 12px 0 10px;
    color: gray;
}

.single-post .post-meta li.social-share .social-list{min-width: 210px;}
li.logosticky img {
	width: 95px;
    padding-right: 15px;
	display: none;
}

li.logosticky {
	display: flex;
	align-items: center;
	justify-content: center;
}


.main-nav.sticky li.logosticky img {
	display: block;
}

.logostick-mobile {
	display: none;
}

.trending-slider {
    overflow: hidden;
}


/* popup  */
/* Animasi popup */
@keyframes popup-zoom-in {0%{transform:scale(0.7);opacity:0;}100%{transform:scale(1);opacity:1;}}
@keyframes popup-zoom-out {0%{transform:scale(1);opacity:1;}100%{transform:scale(0.6);opacity:0;}}
@keyframes overlay-fade-in {0%{background:rgba(255,255,255,0);backdrop-filter:blur(0px);}100%{background:rgba(0, 0, 0, 0.7);backdrop-filter:blur(3px);}}
@keyframes overlay-fade-out {0%{background:rgba(0, 0, 0, 0.7);backdrop-filter:blur(3px);}100%{background:rgba(255,255,255,0);backdrop-filter:blur(0px);}}

/* Animasi border glow */
@keyframes borderGlow {
  0% { 
    border-color: rgba(255, 0, 0, 0.6);   /* Merah */
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
  }
  25% { 
    border-color: rgba(0, 255, 0, 0.6);   /* Hijau */
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
  }
  50% { 
    border-color: rgba(0, 0, 255, 0.6);   /* Biru */
    box-shadow: 0 0 20px rgba(0, 0, 255, 0.6);
  }
  75% { 
    border-color: rgba(255, 0, 255, 0.6); /* Ungu / Magenta */
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
  }
  100% { 
    border-color: rgba(255, 0, 0, 0.6);   /* Balik ke Merah */
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
  }
}

/* Overlay */
.ads-popup {
  position:fixed;inset:0;display:flex;align-items:center;justify-content:center;
  z-index:9999;animation:overlay-fade-in .4s ease forwards;
}
.ads-popup.closing {animation:overlay-fade-out .4s ease forwards;}
.ads-popup__overlay {position:absolute;inset:0;display:block;z-index:1;}

/* Box dengan glow */
.ads-popup__inwrap {
  position:relative;max-width:500px;border-radius:20px;overflow:visible; margin: 5px 10px;
  animation:popup-zoom-in .4s ease forwards;
  z-index:2;background:#fff;
}
.ads-popup.closing .ads-popup__inwrap {animation:popup-zoom-out .4s ease forwards;}
.ads-popup__inwrap img {display:block;width:100%;border-radius:17px;}

/* Border glow effect */
.glow-border {
  border: 3px solid rgba(255,255,255,0.3);
  animation: borderGlow 3s infinite ease-in-out;
}

/* Badge */
.ads-popup__badge {
  position:absolute;top:12px;left:-6px;background:#ff9800;color:white;
  font-size:13px;font-weight:bold;padding:4px 12px;border-radius:4px 4px 4px 0;
  box-shadow:0 2px 6px rgba(0,0,0,.2);z-index:10;
}

/* Tombol Close */
.modalpop__close {
  color:#333;background:rgba(255,255,255,.8);font-size:20px;font-weight:bold;
  width:32px;height:32px;display:flex;align-items:center;justify-content:center;
  border-radius:50%;cursor:pointer;position:absolute;top:10px;right:10px;
  transition:all .3s ease;z-index:10;text-decoration:none;
}
.modalpop__close:hover {background:#ff4757;color:#fff;}



.main-nav ul.navbar-nav > li.logosticky > a {
    padding: 0;
}
.main-nav ul.navbar-nav > li.logosticky > a:before,
.main-nav ul.navbar-nav > li.logosticky > a:after{
  content: none;
}
.headline-more:after{
  content: none;
}

.post-media div > img {
    width: 100%;
    border-radius: 10px;
}

.list-post-block .list-post .post-block-style .post-thumb img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    border-radius: 10px;
}
.single-post .post-navigation .post-next img, .single-post .post-navigation .post-previous img{
  object-fit: cover;
}

.related-post .post-thumb img.img-fluid {
    height: 120px;
    object-fit: cover;
    width: 100%;
}

.post-content-area .image-content {
    margin-bottom: 12px;
    text-align: center;
}

.post-content-area .image-content img {
    border: 1px solid #c8c8c8;
    padding: 7px;
    border-radius: 15px;
    box-shadow: 0 0px 6px #ccc;
}

			.logoanimate {
  position: relative;
  width: 170px;      /* lebar logo container */
  /* overflow: hidden;   */
}

.taglinenya {
    position: absolute;
    bottom: -2px;
    left: 20px;
    line-height: 0;
    width: 100%;
    overflow: hidden;
    max-width: 125px;
}

.taglinenya img {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 8s linear infinite; /* speed bisa diganti */
}

/* Animasi marquee dari kanan ke kiri */
@keyframes marquee {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.post-meta .post-author > a {
    display: flex;
}


.single-post .post-meta {
    padding: 15px 0;
    display: flex;
    align-items: center;
}

.list-post-block .list-post .post-block-style .post-content .post-title, .post-title{line-height: 1.3;}
.post-footer .author-box{padding: 10px 0 5px;}
.author-box.d-flex.mt-0 {
    padding-top: 15px;
}

.list-post-block > .list-post > li{
  margin-bottom: 10px;
}
.post-footer .author-info a {
    margin: 0;
}
.single-post .paxdate {
    margin-bottom: 0;
}
.post-title.title-lg{margin-top: 5px;}
.post-author i.fa.fa-user {
    margin-top: -3px;
    margin-right: 10px;
}
.post-title.title-md {
    margin-bottom: 5px;
    line-height: 1.3;
}

.popularside ul li .post-block-style {
    display: flex;
    align-items: center;
}
.popularside ul li .post-block-style .tab-post-count {
    background: #85479c;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    display: flex
;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #fff;
    font-size: 20px;
}
/* ========================== RESPONSIVE  ===============================*/
@media screen and (max-width:991px) {
    .menubottom {
        flex-direction: column;
    }

    .menubottom-col {
        margin-bottom: 10px;
    }

    .menubottom ul {
        flex-wrap: wrap;
        justify-content: center;
        border-bottom: 1px solid #212121;
        padding-bottom: 10px;
    }

    .menubottom ul li {
        margin-bottom: 10px;
    }

}

@media screen and (max-width:767px) {
    .single-post .paxdate {
      font-size: 12px;
    }
    .paxlist .post-block-style .col-md-6:first-child {
        width: 40%;
        padding-right: 2px;
    }

    .paxlist .post-block-style .col-md-6:last-child {
        width: 60%;
    }


    .paxlist .post-block-style .col-md-6 .post-title.title-md {
        font-size: 16px;
        line-height: 1.3;
        margin: 3px 0 0 0;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    .paxlist .post-block-style .col-md-6 p.max2row {
        display: none;
    }

    .paxlist2 .post-block-style {
        display: flex;
        margin-bottom: 15px;
    }

    .paxlist2 .post-block-style .post-thumb {
        width: 100px;
        flex-shrink: 0;
    }

    .paxlist2 .post-content {
        padding-left: 25px;
    }

    .paxlist2 .post-title {
        margin: 0 0 7px 0;
        font-size: 16px;
        line-height: 1.5;
    }
    .list-post-block .list-post .post-block-style .post-content .post-title{line-height: 1.4; margin: 5px 0 5px;} 

    .post-title.title-lg {
        font-size: 24px;
        line-height: 1.2;
    }

    .ts-footer .widget-title {
        font-size: 18px;
        line-height: 1.2;
        padding-left: 0;
        position: relative;
        margin-bottom: 10px;
    }

    .ts-footer .footer-widtet {
        margin-bottom: 0;
    }

    .paxkanaltop .post-overaly-style {
        min-height: 400px;
    }

    .single-post .post-navigation .post-next, .single-post .post-navigation .post-previous {
        width: auto;
        border: none;
        margin: 15px 0;
    }
    .logo img{max-width: 105px;}
    .logo{padding: 0;}
    .main-nav{padding-right: 0;}
    .top-social{display: none;}
    .nav-search{border: none; background: transparent;}
    .backto {
    right: 15px;
    bottom: 15px;}
    ul.navbar-nav>li.logosticky {
		display: none;
	}

	.logostick-mobile {
		display: none;
		position: absolute;
    z-index: 99;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		max-width: 100px;
	}

	.main-nav.sticky .logostick-mobile {
		display: block;
	}
    .paxkanaltop .col-lg-6.col-md-6:first-child{padding-right:15px ;}
    .paxkanaltop .col-lg-6.col-md-6:last-child{padding-left: 15px;}
    .related-post .post-thumb img.img-fluid{height: 80px;}
    .related-post.paxlist2 .post-block-style .post-thumb{width: 130px;}
    .paxside .post-block-style.media .post-title {font-size: 16px;}
    .logoanimate{margin: 0 auto; width: 105px;}
  	.taglinenya{width: 80px;}
    .taglinenya img {width: 105px; max-width: unset; }

    .post-content .post-meta .post-author a {
    font-size: 13px;
    color: #6e6e6e;
    display: block;
    margin: 7px 0 7px;
  }
  .post-meta .post-author a{font-size: 14px;}
  .post-content-area p{font-size: 1.02rem;}
  .author-box .author-info a {
    margin-top: 2px;
    font-size: 13px;
  }
  .author-info h2 {
    font-size: 16px;
  }

}


 


/* =============+++============ RATINE NEW =========++==================== */
.single-chart {
  width: 130px;
  margin: 0 auto;
}

.circular-chart {
  display: block;
  margin: 0px auto 5px auto;
  max-width: 100%;
  width: 100%;
}

.circular-chart path {
  transform: scale(3.6);
}

.circular-chart text {
  transform: scale(3.6);
}

.artikel-ci .circular-chart path {
  transform: scale(1);
}

.artikel-ci .circular-chart text {
  transform: scale(1);
}

.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 1.3;
}

.circle {
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
  transform: rotate(197deg) translate(-113%, -83%);
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

.circular-chart.maincolor .circle {
  stroke: #002366; /* ganti $colorMain */
}

.percentage {
  fill: #002366; /* ganti $colorMain */
  font-weight: bold;
  font-size: 0.8em;
  text-anchor: middle;
}

.ratingnew {
  padding: 24px;
  border-radius: 6px;
  background: #f2f5f9;
  margin-bottom: 25px;
}

.ratingnew__row {
  display: flex;
  justify-content: space-between;
}

.ratingnew__left {
  width: 35%;
  padding: 24px;
  border-radius: 8px;
  background: #ffffff; /* ganti $colorWhite */
  box-sizing: border-box;
}

.ratingnew__score {
  max-width: 220px;
  margin: 0 auto 20px auto;
}

.ratingnew__brand {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
}

.ratingnew__right {
  border-radius: 8px;
  width: 63%;
  background: #ffffff; /* ganti $colorWhite */
  display: flex;
  justify-content: space-between;
}

.ratingnew__col {
  width: 48%;
  padding: 24px 16px;
}

.ratingnew__coltitle {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.ratingnew__coltitle span {
  font-size: 18px;
  font-weight: bold;
}

.ratingnew__icon {
  margin: 0 10px 0 0;
  width: 24px;
  height: 24px;
}

.ratingnew__iplus {
  background: url('https://assets.tek.id/v1/assets/img/rating-plus.png') no-repeat;
  background-size: contain;
}

.ratingnew__iminus {
  background: url('https://assets.tek.id/v1/assets/img/rating-minus.png') no-repeat;
  background-size: contain;
}

.ratingnew__list {
  list-style-type: disc;
  margin-left: 55px;
}

.ratingnew__list li {
  margin-bottom: 16px;
}

.artikel__content img.ratingnew__icon {
  margin: 0 10px 0 0;
  width: 24px;
  height: 24px;
}

@media screen and (max-width: 991px) {
  .ratingnew__row {
    flex-direction: column;
  }

  .ratingnew__left {
    width: 100%;
    margin-bottom: 17px;
    display: flex;
    align-items: center;
  }

  .ratingnew__right {
    width: 100%;
    flex-direction: column;
  }

  .ratingnew__col {
    width: 100%;
  }

  .ratingnew__col:first-child {
    padding-bottom: 0;
  }

  .ratingnew__list li:last-child {
    margin-bottom: 0;
  }

  .ratingnew__score {
    width: 40%;
  }

  .ratingnew__brand {
    width: 60%;
    padding-left: 10px;
    text-align: left;
  }

  .circular-chart {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .ratingnew__left {
    padding: 10px 15px 10px 10px;
  }

  .ratingnew {
    padding: 12px;
  }

  .ratingnew__coltitle span {
    font-size: 16px;
    font-weight: bold;
  }


}
