#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 6px 12px;
}
main {
    margin-top: 69px;
    min-height: 70vh;
}
.gray-gradient {
    background: radial-gradient(circle at top left,#ebebeb 30%, #cccccc 100%);
}
.gray-bottom-gradient {
    background: radial-gradient(circle at bottom,#e0e0e0 30%,#f0f0f0 70%);
}
.light-gray-gradient {
    background: radial-gradient(circle at top right,#ebebeb 100%, #efefef 30%);
}
.red-gradient {
    background: radial-gradient(circle at top right,#e82626 30%, #b61d1f 100%);
}
.red-gradient-reverse {
    background: radial-gradient(circle at top right,#b61d1f 20%, #e82626 100%);
}

.baca-juga-container {
    border-left: 4px solid #ED1B24;
    background-color: rgb(249 250 251);
    padding: 0 10px;
    padding-top:5px;
    font-weight:600;
    margin: 18px 0;
}
.baca-juga-container span {
    display: block;
}
.baca-juga-container a {
    padding-top:2px; 
    padding-bottom:5px; 
    display:block;
}

@media (max-width: 992px) {    
    #header {
        padding: 4px 12px;
    }
    main {
        margin-top: 58px;
    }
}
.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
}
.post-category {
    color: #ED1B24;
    font-weight: 700;
    text-transform: uppercase;
}
.post-timestamp {
    color: rgb(92, 91, 91);
    font-size: 13px;
    font-weight: 400;
}
.post-content-top {
    display: flex;
    align-items: center;
    gap:8px;
    margin-top: 8px;
}
.post-title {
    font-weight: 500;
    font-size: 22px;
    line-height: 28px;
}
.post-title-lg {
    font-size: 28px; 
    line-height:35px;
}
.post-description {
    font-weight: 400;
    color: rgb(92, 90, 90);
    font-size: 16px;
    line-height: 24px;
}
.post-similar-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}
.search-container {
    position: absolute;
    width: 100%;
    top: 0; /* Overflow ke atas */
    left: 0;
    /* transform: translateX(-50%); */
    background: white;
    /* padding: 10px; */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    display: none; /* Awalnya disembunyikan */
}
.post-similar-home {
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-similar {
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-similar-thumbnail {
    width: 196px; 
    min-width:196px; 
    aspect-ratio:16/11;
}
.post-similar-title {
    font-weight: 400;
    color: rgb(92, 90, 90);
    font-size: 16px;
    line-height: 24px;
}

.category-post-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-top: 8px;
}
.category-post-content-top {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}
.category-post-content-bottom {
    margin-top: 10px;
    margin-bottom: 4px;
}

.video-section-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    padding-top: 8px;
}

@media (max-width: 576px) {
    .post-title-lg {
        font-size: 24px;
        line-height:30px;
    }
    .post-title {
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
    }
    .post-description {
        font-size: 14px;
        line-height: 22px;
    }
    .post-content-top {
        margin-top: 10px;
        margin-bottom: 3px;
    }
    .post-category {
        font-size: 12px;
    }
    .category-post-container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 18px;
    }
    .category-post-content-top {
        margin-top: 8px;
        margin-bottom: 2px;
    }
    .category-post-content-bottom{
        margin-top: -4px;
    }
    .sorotan .post-similar-container { 
        margin-top: 16px;
    }
    .post-similar-home {
        flex-direction: column;
    }
    .post-similar-thumbnail {
        width: 100%;
        min-width: none;
        margin-bottom: -24px;
    }
    .post-similar-home .post-description {
        margin-top: -4px;
    }
    .video-section-container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 22px;
    }
}

.truncate-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;  
}
.truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;  
}
.truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;  
}

.see-more a {
    text-decoration: none;
    display: flex;
    font-weight: 500;
    color: #ED1B24;
}


/* TIME */
.border-section-bottom {
    border-bottom: 1px solid rgb(146, 144, 144);
}
.sidebar-section {
    margin-top:24px;
    border-bottom: 1px solid rgb(146, 144, 144);
    padding-bottom: 22px;
}
.local-time-container {
    /* background-color: rgb(238, 235, 235); */
    padding: 10px 16px;
    padding-bottom: 17px;
    border-radius: 4px;
}
.local-time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid gray;
    padding-bottom: 6px;
}
.local-time-header span {
    font-size: 13px;
    color: rgb(101, 101, 101);
}
.local-time-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.local-time-date {
    font-size: 19px;
    font-weight: 400;
    color: rgb(101, 101, 101);
    line-height: 24px;
}
.local-time-label {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
.local-time-label .clock-number {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(247, 244, 244);
    border-radius: 6px;
}
.clock-number span {            
    font-size: 26px;
    padding: 2px 6px;
    font-stretch: 10%;
    font-weight: 500;
    color: rgb(101, 101, 101);
}
.news-heading h2 {
    font-size: 24px !important;
    font-weight: 500 !important;
    border-bottom: 0px !important;
}
.popular-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* margin-top: -4px; */
}
.popular-tags a {
    font-size: 20px;
    font-weight: 400;
    color: rgb(40, 39, 39);
}
@media (max-width: 576px) {
    /* .popular-tags {
        gap
    } */
    .popular-tags a {
        font-size: 16px;
    }
}

/* FOOTER */
footer {
    /* background-color: #ebebeb; */
    margin-top: 24px;
    padding: 0 16px;
    padding-bottom: 50px;
    padding-top: 1px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    padding-top: 26px !important;
    margin-top: 26px !important;
    /* border: 1px solid black; */
}
.footer-right-content {
    flex-basis: 60%;
    display: flex;
    gap: 20px;
}
.footer-right-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* border: 1px solid black; */
    margin: 0;
    padding: 0;
}
.footer-right-content ul li a {
    text-decoration: none;
    color: #ED1B24;
    font-weight: 500;
    font-size: 15px !important;
}

.footer-left-content {
    flex-basis: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.footer-left-content .address {
    font-size: 17px;
    font-weight: 500;
}
.footer-left-content .copyright {
    font-size: 14px; 
    color: rgb(114, 113, 113);
    font-weight: 500;
}
.footer-left-content .social {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
}
.footer-info {
    margin-top: 8px; 
    text-align: end;
}
.footer-logo img{
    margin-right: 10px; 
    padding-bottom: -24px;
    margin-bottom: -50px;
}
.footer-description {
    width: 400px; 
    font-size: 13px; 
    color: rgb(53, 53, 53); 
    font-weight:400;
}

.social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #ED1B24;
}
.social li a i {
    font-size: 20px;
    color: white;
}

@media (max-width: 1200px) {
    .footer-content {
        flex-direction: column;
    }
    .footer-left-content {
        align-items: center;
        margin-top: 32px;
    }
    .footer-info {
        text-align: center;
    }
    .footer-right-content{
        justify-content: center;
    }
    
}
@media (max-width: 768px) {
    .footer-right-content {
        flex-direction: column;
        gap: 10px;
    }
    .footer-right-content ul {
        margin-top: -12px;
    } 
    .footer-left-content {
        align-items: start;
        margin-top: 26px;
        gap: 8px;
    }
    .footer-info {
        text-align: start;
    }
    .footer-info .address {
        font-size: 15px;
    }
    .footer-description {
        width: 100%;
    }
    .footer-left-content .copyright {
        font-size: 12px; 
    }
}

/* HOME SECTION */

.search-inner {
    margin: 24px 0;
    margin-bottom: 28px;
}

.headline {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 4px 16px;
}
.typing-container {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 600px;
    font-size: 16px !important;
}
.daerah-container {
    padding: 8px 0px;
}
.daerah-container ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    margin: 0;
}
.daerah-container ul a {
    text-decoration: none;
    color: black;
    font-weight: 400;
}
.daerah-content {
    padding: 0 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.daerah-more{
    gap: 10px;
}
.daerah-more span{
    color: #ED1B24;
    font-weight: 400;
}
.daerah-more button {
    border: none;
    background: white;
    aspect-ratio:1/1;
    border-radius: 4px;
}
.headline-container {
    padding: 0px 8px; 
}
.headline-container .headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.headline-label {
    flex-basis: fit-content;
    padding: 8px 18px; 
    border-radius: 2px;
}
.headline-label span {
    display: inline-block;
    font-weight: 400;
    word-spacing: 4px;
    font-size:13px;
}
.headline-post {
    max-width: 50%;
    width: 50%;
    overflow: hidden;
}
.truncate-1 {
    width: 612px;
}
@media (max-width: 992px) {
    .home-content {
        margin-top: 32px;
    }
    .daerah-content {
        padding: 0;
    }
    .headline-container {
        padding: 4px 8px;
    }
    .headline-container .headline {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .headline-post {
        max-width: 100%;
        width: 100%;
    }
    .headline-label{
        padding: 4px 12px;
    }
    .headline-label span {
        font-size: 12px;
    }
    .truncate-1 {
    width: 100%;
    }
}
@media (max-width: 576px) {
    .home-content {
        margin-top: 24px;
    }
    .daerah-container {
        display: none;
    }
}
.date-user-2 {
	display: flex;
	margin-top: 5px;
	margin-bottom: 5px;
}
.date-user-2 .user {
	margin-right: 20px;
	position: relative;
	padding-left: 12px;
	color: #898989;
	font-size: 12px;
}
.date-user-2 .date {
	position: relative;
	padding-left: 12px;
	color: #898989;
	font-size: 12px;
}
.date-user-2 .time {
	position: relative;
	padding-left: 4px;
	color: #898989;
	font-size: 12px;
}
.date-user-2 .user:before,
.date-user-2 .date:before {
	font-family: "Font Awesome 5 Free";
	position: absolute;
	top: 1px;
	left: 0;
	font-size: 10px;
}
.date-user-2 .user a,
.date-user-2 .date a,
.date-user-2 .time a {
	color: #898989;
}
.date-user-2 .user a:hover,
.date-user-2 .date a:hover,
.date-user-2 .time a:hover {
	color: #5374d3;
}
.date-user-2 .user:before {
	content: "\f007";
}
.date-user-2 .date:before {
	content: "\f073";
}

/* Loading Spinner */
.loading-spinner-container {
    display: flex;
    align-items: center;
}
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ED1B24;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    animation: spin 2s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
