@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');

a{
    color: #535252;
}

a.news-date {
    font-size: 8pt;
    color: #777777 !important;
}

.btn {
    border-radius: 10px !important;
}
.card{
    border-radius: 10px !important;
}

input.form-control.form-search {
    height: 45px;
    color: #333;
    border-radius: 10px !important;
}

input.form-control.form-search::placeholder {
    color: #333;
    font-size: 14px;
}

select.custom-select.form-control {
    height: 45px;
    color: #333;
    border-radius: 10px !important;
}

.card.news {
    display: flex;
    flex-direction: column;
    height: 90%;
}

.card-body {
    flex-grow: 1;
}

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-img {
    border-radius: 10px !important;
}

.content-wrapper {
    overflow: hidden;
}

h6.card-title.mb-0 {
    font-size: 10pt;
}

a.news-date {
    color: #fff !important;
}
.page-item.active .page-link{
    background-color: #9a2109;
    border-color: #9a2109;
}
h6.sub-headline-title {
    font-size: 9pt;
}

h5.headline-title {
    font-size: 10pt;
}

img.arc-icon {
    float: right;
    width: 30px;
    margin-left: 20px;
    text-align: center;
}


.navbar-red{
    background-color: #9a2109;
    color: #fff;
}

.slider-1 .slides li, .slider-2 .slides li, header.style-4 .top-bar a:hover, footer .widget.most-posts ul.posts li a, .slider-1 .slides li .links a:hover, .notification_ok {
    color: #fff;
}

.flexslider .slides>li, .flexslider4 .slides>li{
    background: #9a2109;
}

.btn-warning {
    color: #fff;
    background-color: #EC9A29;
    border-color: #EC9A29;
}




li.nav-item.parent-menu:hover,
li.nav-item:hover{
    background-color: #e3e3e3;
    color: #fff;
}


.btn-warning:hover {
    color: #fff;
    background-color: #d07b05 !important;
    border-color: #d07b05;
}

.text-warning {
    color: #EC9A29 !important;
}

.pn_title {
    border-bottom: 2px solid #9a2109;
    margin: 0px 0px 10px 0px;
}

.img-responsive, .thumbnail>img, .thumbnail a>img, .carousel-inner>.item>img, .carousel-inner>.item>a>img{
    width: 100%;
}
.carousel-control{
    color: #992109;
    opacity: 1;
}

.carousel-inner>.item>img, .carousel-inner>.item>a>img {
    border-radius: 5px !important;
}

.slider-1 .slides li .contain, .slider-1 .loading, .slider-2 .slides li .contain, .slider-2 .loading{
    min-height: 425px !important;
}

.pn_title > h2 {
    font-size: 11pt;
    font-weight: 500;
    background-color: #9a2109;
    color: #fff;
    display: inline-block;
    padding: 6px 20px 6px 20px;
    position: relative;
    margin-bottom: 0px;
}

.tgl_box {
    background-color: #992109;
    color: #fff;
    width: 100%;
    height: auto;
    font-size: 11px;
    text-align: center;
    padding: 10px;
    border-radius: 15px !important;
    width: 70px;
    float: left;
    margin-right: 15px;
}
span.date_on {
    font-size: 28px;
}

.sidang_box p {
    font-weight: bold;
    font-size: 16px;
    color: #992109;
}

.sidang_box a {
    color:#333;
    text-decoration: none;
    /* font-weight: bold; */
}
.tab-v2 .nav-tabs li a {
    font-size: 14px !important;
}

.tab-v2 .nav-tabs {
    box-shadow: 0 4px 0px 0 rgb(0 0 0 / 20%), 0 4px 10px 0 rgb(0 0 0 / 19%);
    border-radius: 5px 5px 0px 0px !important;
}

.tab-v2 .nav-tabs {
    border-bottom: none;
}

.nav-tabs>li {
    float: left;
    margin-bottom: -1px;
}

.tab-v2 .nav-tabs li a {
    padding: 9px 16px;
    background: none;
    border: none;
}

.nav-tabs>li {
    float: left;
    margin-bottom: -1px;
}

.nav-tabs>li>a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.fade.in {
    opacity: 1;
}

.moto {
    font-size: 30px;
    color: #9a2109 !important;
    text-decoration: none;
    /* font-family: 'Courgette', cursive; */
}

.nav-tabs{
    margin-bottom: 0px;
}
.tab-v2 .nav-tabs li.active a {
    background: #fff;
    padding: 7px 15px 9px;

    border-left: solid 1px #ddd !important;
    border-right: solid 1px #ddd !important;
}

.bg-light {
    background-color: #fff !important;
}

.tab-v2 .nav-tabs li.active a {
    border-top: solid 5px #9a2109 !important;
    border-radius: 5px 5px 0 0 !important;
    color: #9a2109;
    font-weight: bold;
}

.tab-v2 .tab-content {
    background-color: #fff;
    border: solid 1px #ddd !important;
    box-shadow: 0 4px 1px -5px rgb(0 0 0 / 20%), 0 4px 10px 0 rgb(0 0 0 / 10%)
}

.tab-v2 .tab-content {
    padding: 10px 16px;
    border: solid 1px #eee;
}

.navbar-red-footer {
    background-color: #9a2109;
    color: #fff;
}


.navbar-red-footer-2 {
    background-color: #9a2109;
    color: #fff;
}

.dropdown-toggle::after{
    display: none;
}

.nav-link.child {
    padding: 0.4rem 1.25rem !important;
}

li.nav-item.parent-menu.active {
    border-bottom: 3px solid #EFB15D;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-top: 3px solid #9a2109 !important;
}
td.title{
    background-color: #eee;
}



@media (min-width: 768px) {
    .animate {
      animation-duration: 0.3s;
      -webkit-animation-duration: 0.3s;
      animation-fill-mode: both;
      -webkit-animation-fill-mode: both;
    }
  }

  @keyframes slideIn {
    0% {
      transform: translateY(1rem);
      opacity: 0;
    }

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

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

  @-webkit-keyframes slideIn {
    0% {
      -webkit-transform: transform;
      -webkit-opacity: 0;
    }

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

    0% {
      -webkit-transform: translateY(1rem);
      -webkit-opacity: 0;
    }
  }

  .slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
  }

  .has-bg-image:hover {
    /* with animation */
    -webkit-animation: bg-image-hover 0.3s ease-in-out;
    animation: bg-image-hover 0.3s ease-in-out;
    background-color: #9a2109 !important;
    color : #fff !important;

  }

  .has-bg-image:hover h3,
  .has-bg-image:hover span {
    color: #fff !important;
  }



@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

@media only screen and (max-width: 991px) {
    .navbar-hover .show > .dropdown-toggle::after{
        transform: rotate(-90deg);
    }
}
@media only screen and (min-width: 992px) {
    .navbar-hover .collapse ul li{position:relative;}
    .navbar-hover .collapse ul li:hover> ul{display:block; margin-top:0px;  transition: ease-out 0.3s !important;}
    .navbar-hover .collapse ul ul{position:absolute;top:100%;left:0;min-width:250px;display:none}
    .navbar-hover .collapse ul ul ul{position:absolute;top:0;left:100%;min-width:250px;display:none}
    /*.navbar-hover .collapse ul ul ul ul{position:absolute;top:0;left:-100%;min-width:250px;display:none;z-index:1}*/
}

.spinner {
    border: 4px solid rgba(158, 158, 158, 0.5);
    border-radius: 50%;
    border-top: 4px solid #9a2109;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* Place the spinner above the image */
    display: none;

  }

  @keyframes spin {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

/* ===== Header Pin Badges (WBK & WBBM) ===== */
.header-badges {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-pin-badge {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
    flex-shrink: 0;
}

.header-pin-badge:hover {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

.header-berakhlak-img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    margin-left: 4px;
    flex-shrink: 0;
}

/* Responsive: tablet (768px – 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-pin-badge {
        width: 45px;
        height: 45px;
    }
    .header-berakhlak-img {
        max-height: 45px;
    }
    .header-badges {
        gap: 4px;
    }
}

/* Responsive: desktop besar (≥1200px) */
@media only screen and (min-width: 1200px) {
    .header-pin-badge {
        width: 60px;
        height: 60px;
    }
    .header-berakhlak-img {
        max-height: 60px;
    }
}

/* ===== Date Badge (Kalender Pengumuman) ===== */
.date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-height: 52px;
    background-color: #9a2109;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(154, 33, 9, 0.35);
    padding: 6px 6px;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 6px;
}

.date-badge__day {
    display: block;
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: 0;
}

.date-badge__month {
    display: block;
    font-size: 9px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    opacity: 0.92;
}

.date-badge--empty {
    background-color: #ccc;
    box-shadow: none;
}

/* ===== Uniformity for Layanan Digital summary box ===== */
.summary-box {
    min-height: 130px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* =========================================
   RSS BERITA — REDESIGN
   ========================================= */

/* Wrapper */
.rss-section-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
}

/* Header bar: title + pill tabs */
.rss-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 12px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    gap: 12px;
    flex-wrap: wrap;
}

.rss-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.rss-icon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9a2109;
    animation: rss-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes rss-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(154,33,9,0.5); }
    50% { box-shadow: 0 0 0 5px rgba(154,33,9,0); }
}

/* Bootstrap nav-tabs styled as pills inside rss-section-header */
.rss-nav-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f4f4f5;
    border-radius: 10px;
    padding: 4px;
    border: none !important;
    margin-bottom: 0 !important;
    flex-wrap: nowrap;
}

.rss-nav-tabs .nav-item {
    float: none;
    margin-bottom: 0;
}

.rss-nav-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 7px !important;
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.22s ease;
    text-decoration: none !important;
    white-space: nowrap;
    border: none !important;
    background: transparent;
}

.rss-nav-tabs .nav-link svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.rss-nav-tabs .nav-link:hover {
    color: #9a2109;
    background: rgba(154,33,9,0.07);
    border: none !important;
}

.rss-nav-tabs .nav-link:hover svg {
    opacity: 1;
}

.rss-nav-tabs .nav-link.active,
.rss-nav-tabs .nav-link.active:hover {
    background: #9a2109 !important;
    color: #fff !important;
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    box-shadow: 0 3px 10px rgba(154,33,9,0.35);
}

.rss-nav-tabs .nav-link.active svg,
.rss-nav-tabs .nav-link.active:hover svg {
    opacity: 1;
    stroke: #fff;
}

/* Tab body */
.rss-tab-body {
    background: #fff;
    padding: 0;
}

/* Skeleton loader */
.rss-loading-placeholder {
    padding: 8px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rss-skeleton {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: rss-shimmer 1.5s infinite;
    width: var(--w, 70%);
}

@keyframes rss-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* News list */
.rss-news-list {
    display: flex;
    flex-direction: column;
}

/* Individual news item */
.rss-news-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    text-decoration: none !important;
    color: inherit;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.18s ease, transform 0.18s ease;
    position: relative;
}

.rss-news-item:last-child {
    border-bottom: none;
}

.rss-news-item:hover {
    background: #fdf7f6;
    text-decoration: none;
}

.rss-news-item:hover .rss-news-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.rss-news-item:hover .rss-news-title {
    color: #9a2109;
}

/* Date badge inside news item */
.rss-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 48px;
    border-radius: 10px;
    padding: 5px 4px;
    flex-shrink: 0;
    background: linear-gradient(145deg, #9a2109, #c0280b);
    box-shadow: 0 3px 10px rgba(154,33,9,0.28);
    transition: transform 0.2s ease;
}

.rss-news-item:hover .rss-date-badge {
    transform: scale(1.05);
}

/* All badges use the same brand red */
.rss-date-badge--badilum,
.rss-date-badge--bsdk {
    background: linear-gradient(145deg, #9a2109, #c0280b);
    box-shadow: 0 3px 10px rgba(154,33,9,0.28);
}

.rss-date-day {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.rss-date-month {
    display: block;
    font-size: 8px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* News content */
.rss-news-content {
    flex: 1;
    min-width: 0;
}

.rss-news-title {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.18s;
}

.rss-news-source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    color: #a0aec0;
    font-weight: 500;
}

.rss-news-source svg {
    stroke: #a0aec0;
    flex-shrink: 0;
}

/* Arrow icon */
.rss-news-arrow {
    flex-shrink: 0;
    color: #9a2109;
    opacity: 0;
    transition: opacity 0.18s, transform 0.18s;
}

/* View all button */
.rss-view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 12.5px;
    font-weight: 700;
    color: #9a2109 !important;
    text-decoration: none !important;
    background: #fff;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.rss-view-all-btn svg {
    stroke: #9a2109;
    transition: transform 0.2s;
}

.rss-view-all-btn:hover {
    background: #9a2109;
    color: #fff !important;
    text-decoration: none;
}

.rss-view-all-btn:hover svg {
    stroke: #fff;
    transform: translateX(3px);
}

/* All view-all buttons use the same brand red */
.rss-view-all-btn--badilum,
.rss-view-all-btn--bsdk {
    color: #9a2109 !important;
}
.rss-view-all-btn--badilum svg,
.rss-view-all-btn--bsdk svg { stroke: #9a2109; }
.rss-view-all-btn--badilum:hover,
.rss-view-all-btn--bsdk:hover {
    background: #9a2109;
    color: #fff !important;
}
.rss-view-all-btn--badilum:hover svg,
.rss-view-all-btn--bsdk:hover svg { stroke: #fff; }

/* Empty state */
.rss-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    color: #a0aec0;
    gap: 10px;
}

.rss-empty-state p {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .rss-section-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 14px 10px;
    }
    .rss-tab-pills {
        width: 100%;
        overflow-x: auto;
    }
    .rss-tab-pill span {
        display: none;
    }
    .rss-tab-pill {
        padding: 7px 12px;
    }
    .rss-news-item {
        padding: 11px 14px;
        gap: 11px;
    }
    .rss-date-badge {
        width: 38px;
        min-height: 42px;
    }
    .rss-date-day { font-size: 15px; }
    .rss-news-title { font-size: 12px; }
}
