@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
/* Custom Plugin Frontend Styles mimicking Tailwind Utilities */

.custom-plugin-wrapper {
  box-sizing: border-box;
}

.custom-plugin-wrapper * {
  box-sizing: border-box;
}

/* Layout */
.max-w-lg {
  max-width: 32rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.block {
  display: block;
}

.w-full {
  width: 100%;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Spacing */
.p-4 {
  padding: 1rem;
}

.p-8 {
  padding: 2rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.-ml-1 {
  margin-left: -0.25rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

/* Typography */
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-800 {
  color: #1f2937;
}

.text-white {
  color: #ffffff;
}

.text-green-700 {
  color: #047857;
}

.text-green-400 {
  color: #34d399;
}

.text-red-700 {
  color: #b91c1c;
}

.text-red-400 {
  color: #f87171;
}

.placeholder-gray-400::placeholder {
  color: #9ca3af;
}

/* Borders */
.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-gray-100 {
  border-color: #f3f4f6;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.border-green-500 {
  border-color: #10b981;
}

.border-red-500 {
  border-color: #ef4444;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

/* Shadows */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


/* Card Post List 1 */
.card-post-list-1-title {
  margin: 0px;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.57;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-post-list-1-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-post-list-1:hover .card-post-list-1-title a {
  color: #202f5b !important;
}

.card-post-list-1-author a {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgb(90, 90, 90) !important;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.card-post-list-1-date {
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgb(90, 90, 90);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.card-post-list-1-image {
  /* Removed styles that belong to the wrapper */
}

.card-post-list-1-img-wrapper {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  width: 100%;
  height: 100%;
}

.card-post-list-1-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-post-list-1:hover .card-post-list-1-img {
  transform: scale(1.1);
}

/* Colors */
.bg-white {
  background-color: #ffffff;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-green-50 {
  background-color: #ecfdf5;
}

.bg-red-50 {
  background-color: #fef2f2;
}

.bg-blue-600 {
  background-color: #2563eb;
}

.hover\:bg-blue-700:hover {
  background-color: #1d4ed8;
}

/* Interactivity & Transitions */
.appearance-none {
  appearance: none;
}

.transition {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
}

.duration-150 {
  transition-duration: 150ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(37, 99, 235, 0.5); /* simplified ring */
}

.focus\:ring-blue-500:focus {
  --tw-ring-color: #3b82f6;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 0 0 0 3px var(--tw-ring-color, rgba(59, 130, 246, 0.5));
}

.focus\:border-blue-500:focus {
  border-color: #3b82f6;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

/* Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.h-5 {
  height: 1.25rem;
}

.w-5 {
  width: 1.25rem;
}

.opacity-25 {
  opacity: 0.25;
}

.opacity-75 {
  opacity: 0.75;
}

/* Card Post List 2 */
.card-post-list-2-img-wrapper {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  width: 100%;
  height: 100%;
}

.card-post-list-2-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-post-list-2:hover .card-post-list-2-img {
  transform: scale(1.1);
}

.card-post-list-2-category a {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  color: #000 !important;
  border-bottom: 2px solid #202f5b;
  text-decoration: none;
}

.card-post-list-2-title a {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.334;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -moz-box-orient: vertical;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-post-list-2:hover .card-post-list-2-title a {
  color: #202f5b !important;
}

.card-post-list-2-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-post-list-2-author-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.card-post-list-2-author a {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgb(90, 90, 90) !important;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -moz-box-orient: vertical;
}

.card-post-list-2-date {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgb(90, 90, 90) !important;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -moz-box-orient: vertical;
}

.icon-group {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgb(90, 90, 90) !important;
  font-weight: 400;
}

/* Bootstrap Compatibility Helpers */
.d-flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.d-block { display: block; }
.text-start { text-align: left; }
.bg-secondary { background-color: #6c757d; }

/* Grid system simplified */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.col-8, .col-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}
.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.carousel-hero .slick-arrow {
  height: 100px !important;
  background-color: rgba(225,225,225,0.3);
  border-radius: 5px;
}
.carousel-hero .slick-prev {
  left:10px !important;
}
.carousel-hero .slick-next {
  right: 10px !important;
}
.carousel-hero .slick-dots {
  position: absolute !important;;
  bottom: 10px ;
}

/* ==========================================================================
   MOVED STYLES FROM TEMPLATES (AUTO-GENERATED)
   ========================================================================== */

/* =========================================
   Source: templates/frontend/card-opinion.php
   ========================================= */
.card-opinion-author-thumb {
    display: flex;
    align-items: center;
}

.card-opinion-author-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 8px;
    overflow: hidden;
}

.card-opinion-author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-opinion:hover .card-opinion-author-img {
    transform: scale(1.05);
}

.card-opinion-content {
    text-align: start;
}

.card-opinion-author-name a {
    font-size: 0.875rem;
    line-height: 1.57;
    color: rgb(90, 90, 90) !important;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
}

.card-opinion-title {
    font-size: 1.125rem;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* =========================================
   Source: templates/frontend/card-post-cat.php
   ========================================= */
.card-post-cat-thumb {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.card-post-cat-thumb-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    width: 100%;
    transition: transform 0.3s ease;
}

.card-post-cat:hover .card-post-cat-thumb-img {
    transform: scale(1.05);
}

.card-post-cat-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 8px;
    background-color: rgba(245, 73, 39, 0.8);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.66;
    color: #fff;
}

.card-post-cat-category a {
    color: #fff;
    text-decoration: none;
}

.card-post-cat-thumb-category-link {
    color: #fff;
    text-decoration: none;
}

.card-post-cat-content {
    text-align: start;
}

.card-post-cat-title a {
    margin-top: 10px;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.2;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: calc(1.2em * 2);
}

.card-post-cat-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.card-post-cat-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-post-cat-author-img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50%;
    object-fit: cover;
}

.card-post-cat-author a,
.card-post-cat-date {
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgb(90, 90, 90) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.card-post-cat-author a {
    font-weight: 600;
    text-decoration: none;
}

.card-post-cat-meta .divider {
    width: 1px;
    height: 14px;
    background: #000;
    flex-shrink: 0;
}

/* =========================================
   Source: templates/frontend/card-post-carousel.php
   ========================================= */
.card-post-carousel {
    position: relative;
    overflow: hidden;
}

.card-post-carousel img.img-fluid {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.card-post-carousel:hover img.img-fluid {
    transform: scale(1.05);
}

.card-post-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    text-align: start;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.card-post-carousel:hover .card-post-carousel-content {
    opacity: 1;
}

.card-post-carousel-author {
    display: flex;
    align-items: center;
}

.card-post-carousel-author-wrap {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-post-carousel-author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-post-carousel-author-name {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #fff !important;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-decoration: none;
}

.card-post-carousel-date {
    font-weight: 400;
    line-height: 1.66;
    color: #fff;
    font-size: 10px;
    margin-top: 2px;
}

/* =========================================
   Source: templates/frontend/card-post-video-hero.php
   ========================================= */
.card-post-video-hero {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.card-post-video-hero-thumb {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    overflow: hidden;
}

.card-post-video-hero-thumb img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-post-video-hero:hover .card-post-video-hero-thumb img {
    transform: scale(1.05);
}

.card-post-video-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px 48px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff !important;
}

.card-post-video-hero-content-title {
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.334;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-post-video-hero-content-meta {
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.66;
    color: white;
    font-style: italic;
}

.card-post-video-hero-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    z-index: 10;
    transition: transform 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card-post-video-hero:hover .card-post-video-hero-play-icon {
    transform: translate(-50%, -50%) scale(1.2);
}

/* =========================================
   Source: templates/frontend/card-post-video-list.php
   ========================================= */
.card-post-video-list {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.card-post-video-list-thumb {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.card-post-video-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-post-video-list:hover .card-post-video-list-thumb img {
    transform: scale(1.05);
}

.card-post-video-list-content-title {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.43;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
body.home .card-post-video-list-content-title {
    color: #fff;
}
.card-post-video-list-content-meta {
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.66;
    color: #333;
    font-style: italic;
}
body.home .card-post-video-list-content-meta {
    color: #fff;
}

/* =========================================
   Source: templates/frontend/five-post-hero.php
   ========================================= */
.five-post-hero-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.five-post-hero-thumb-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    width: 100%;
    transition: transform 0.3s ease;
}

/* =========================================
   Source: templates/frontend/five-post-list.php
   ========================================= */
.five-post-list-item .card-post-list-1-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.five-post-list-item .card-post-list-1-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
}

.five-post-list-item:hover .card-post-list-1-img {
    transform: scale(1.05);
}

.five-post-list-item .card-post-list-1-title a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   Source: templates/frontend/section-post-video.php
   ========================================= */
.section-post-video {
    margin-bottom: 24px;
    cursor: pointer;
}

.section-post-video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16/9;
}

.section-post-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-post-video:hover .section-post-video-thumb img {
    transform: scale(1.05);
}

/* =========================================
   Source: templates/frontend/card-post-video.php
   ========================================= */
.video-card {
    cursor: pointer;
}

/* wrapper gambar */
.video-thumb {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

/* gambar */
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

/* durasi (pojok bawah kiri) */
.video-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    z-index: 3;
}

/* icon play */
.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: 0.3s ease;
    z-index: 2;
}

/* icon */
.video-play i {
    font-size: 70px;
    color: white;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: 0.3s ease;
}

/* efek hover */
.video-thumb:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.video-thumb:hover .video-play {
    opacity: 1;
}

.video-thumb:hover .video-play i {
    transform: scale(1);
}

.five-post-hero:hover .five-post-hero-thumb-img {
    transform: scale(1.05);
}

.five-post-hero-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 8px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    font-size: 0.75rem;
    line-height: 1.66;
    color: #000;
}

.five-post-hero-thumb-category-link {
    color: #000;
    text-decoration: none;
}

.five-post-hero-title a {
    margin-top: 10px;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.2;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: calc(1.2em * 2);
}

.five-post-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.five-post-hero-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.five-post-hero-author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.five-post-hero-author a,
.five-post-hero-date {
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgb(90, 90, 90) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.five-post-hero-author a {
    font-weight: 600;
    text-decoration: none;
}

.five-post-hero-meta .divider {
    width: 1px;
    height: 14px;
    background: #000;
    flex-shrink: 0;
}

/* =========================================
   Source: templates/frontend/five-post-by-category.php
   ========================================= */
.heading-right-side {
    border-bottom: solid 2px #202f5b;
}

.heading {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.334;
    text-transform: uppercase;
}

.link {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    background-color: transparent;
    outline: 0;
    border: 0;
    margin: 0;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    -webkit-appearance: none;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1.75;
    padding: 4px 5px;
    border-radius: var(--mui-shape-borderRadius);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    color: #5A5A5A;
    text-transform: none;
}

/* =========================================
   Source: templates/frontend/card-post-list-1.php
   ========================================= */
.card-post-list-1-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.card-post-list-1-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
}

.card-post-list-1:hover .card-post-list-1-img {
    transform: scale(1.05);
}

.card-post-list-1-title a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-post-list-1-meta {
    font-size: 0.8rem;
    color: #666;
}

.card-post-list-1-author a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
}

.card-post-list-1-meta .divider {
    width: 1px;
    height: 12px;
    background: #ccc;
}

/* =========================================
   Source: templates/frontend/card-post-list-2.php
   ========================================= */
.card-post-list-2-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.card-post-list-2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
}

.card-post-list-2:hover .card-post-list-2-img {
    transform: scale(1.05);
}

.card-post-list-2-category a {
    color: #F54927;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.card-post-list-2-title a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-post-list-2-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.card-post-list-2-author-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.card-post-list-2-author a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
}

.card-post-list-2-date {
    color: #888;
    font-size: 0.75rem;
}

.icon-group {
    color: #888;
    font-size: 0.8rem;
}

/* =========================================
   Source: templates/frontend/card-post-hero.php
   ========================================= */
/* Card Post Hero */
.card-post-hero {
  position: relative;
  height: 500px;
  overflow: hidden; /* Ensure overlay doesn't spill out */
  border-radius: 10px; /* Round corners for container */
}

@media screen and (max-width: 768px) {
  .card-post-hero {
    height: 300px;
  }
  
}

/* Dark Overlay */
.card-post-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 40% dark overlay */
  z-index: 1;
  pointer-events: none;
}

.card-post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-post-hero:hover .card-post-hero-img {
  transform: scale(1.1);
}

.card-post-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 48px;
  color: #fff !important;
  text-align: left;
  z-index: 2; /* Ensure content is above overlay */
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%); /* Make bottom gradient darker */
}

.card-post-hero-category a {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff !important;
  border-bottom: 2px solid rgb(56, 142, 109);
  text-decoration: none;
}

.card-post-hero-title a {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.334;
  color: #fff !important;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-post-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.card-post-hero-author {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between image and name */
}

.card-post-hero-author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.card-post-hero-author a,
.card-post-hero-date {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #fff !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.card-post-hero-author a {
  font-weight: 600;
  text-decoration: none;
}

.card-post-hero-meta .divider {
  width: 1px;
  height: 14px;
  background: #fff;
  flex-shrink: 0;
}


header .header-mid .menu-mid {
  display: none !important;
}

header.fl-theme-builder-header-scrolled .header-top {
  display: none !important;
}

header.fl-theme-builder-header-scrolled .header-mid .fl-module-uabb-search{
  display: none !important;
}

header.fl-theme-builder-header-scrolled .header-mid .menu-mid{
  display: block !important;
}
header.fl-theme-builder-header-scrolled .header-bottom{
  display: none !important;
}

@media (max-width: 800px){

  /* 1) Pastikan wrapper boleh scroll */
  .frame-nav-menu{
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  /* 2) Menu di dalamnya jangan menyusut & jangan wrap */
  .frame-nav-menu ul,
  .frame-nav-menu .menu{
    display: inline-flex !important;     /* inline-flex = lebar mengikuti konten */
    flex-wrap: nowrap !important;
    width: max-content !important;       /* PENTING: bikin lebih lebar dari container */
    min-width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 8px;
  }

  /* 3) Item jangan shrink */
  .frame-nav-menu li{
    flex: 0 0 auto !important;
  }

  .frame-nav-menu li a{
    display: inline-flex;
    padding: 10px 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* 4) Hide scrollbar (opsional) */
  .frame-nav-menu::-webkit-scrollbar{
    display: none;
  }
}

.tags-trending a {
  text-align: start;
  width: 100%;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-bottom: 1px solid #202f5b;
  text-decoration: none;
  background-color: transparent;  
}

.iframe-yt iframe{
  border-radius: 10px;
  height: 350px;
}

[data-bs-theme="dark"] header .header-mid .fl-row-content-wrap,
[data-bs-theme="dark"] header .header-bottom .fl-row-content-wrap,
[data-bs-theme="dark"] header .menu-mobile .fl-row-content-wrap{
  background-color: #111 !important;
}

[data-bs-theme="dark"] header .fl-row-content-wrap a,
[data-bs-theme="dark"] header span{
  color: rgba(255, 255, 255, 0.67) ;
}


[data-bs-theme="dark"] body {
  color: rgba(255,255,255,0.60);
}
[data-bs-theme="light"] body {
  color: rgba(0,0,0,0.60);
}

[data-bs-theme="dark"] h1, h2, h3, h4, h5, h6 {
  color: rgba(255,255,255,0.87);
}

[data-bs-theme="light"] h1, h2, h3, h4, h5, h6 {
  color: rgba(0,0,0,0.87);
}

[data-bs-theme="dark"] a {
  color: rgba(255,255,255,0.87);
}
[data-bs-theme="light"] a {
  color: rgba(0,0,0,0.87);
}

[data-bs-theme="dark"] .fl-menu .sub-menu,
[data-bs-theme="dark"] .fl-menu-mobile-flyout {
  background-color: rgba(0,0,0,0.87) !important;
}

[data-bs-theme="dark"] .heading-right-side .heading {
  color: rgba(255,255,255,0.87);
}
[data-bs-theme="dark"] .five-post-list-item .card-post-list-1-title a {
  color: rgba(255,255,255,0.87);
}
[data-bs-theme="dark"] .card-post-list-2-title a,
[data-bs-theme="dark"] .card-post-list-2-category a {
  color: rgba(255,255,255,0.87) !important;
}

[data-bs-theme="dark"] .sosmed-card .fl-col-content {
  background-color: rgba(0,0,0,0.87) !important;
}

[data-bs-theme="dark"] .vd-share-indsmart{
  background-color: rgba(0,0,0,0.87) !important;
}
[data-bs-theme="dark"] .vd-share-indsmart .vd-share-head{
  color: rgba(225,225,225,0.87) !important;
}
[data-bs-theme="dark"] .vd-share-indsmart .vd-share-head{
  color: rgba(225,225,225,0.87) !important;
}
[data-bs-theme="dark"] .vd-share-indsmart a,
[data-bs-theme="dark"] .vd-share-indsmart button
{
  background: rgba(225,225,225,0.67) !important;
}

[data-bs-theme="dark"] .card-post-video-list-content-title {
  color:rgba(255,255,255,0.87);
}

[data-bs-theme="dark"] .card-post-video-list-content-meta {
  color:rgba(255,255,255,0.67);
}