/* site.css — the handful of Tailwind utilities the JSON-rendered containers
 * need that the site's compiled (JIT) bundle never emitted, because the
 * original markup did not use them.  Same semantics as Tailwind; main colour
 * taken from the bundle's own .bg-main-color (rgb(28 66 120)). */

.shrink-0 { flex-shrink: 0; }
.object-contain { -o-object-fit: contain; object-fit: contain; }
.uppercase { text-transform: uppercase; }

.pl-3 { padding-left: .75rem; }
.pl-5 { padding-left: 1.25rem; }
.pr-1 { padding-right: .25rem; }
.pt-\[104px\] { padding-top: 104px; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-16 { margin-bottom: 4rem; }
.gap-y-12 { row-gap: 3rem; }

.w-32 { width: 8rem; }
.h-32 { height: 8rem; }
.w-72 { width: 18rem; }
.max-w-3xl { max-width: 48rem; }
.max-h-\[70vh\] { max-height: 70vh; }

.text-slate-500 { --tw-text-opacity: 1; color: rgb(100 116 139 / var(--tw-text-opacity)); }
.text-slate-600 { --tw-text-opacity: 1; color: rgb(71 85 105 / var(--tw-text-opacity)); }
.text-white\/90 { color: rgba(255, 255, 255, .9); }

.border-gray-100 { --tw-border-opacity: 1; border-color: rgb(243 244 246 / var(--tw-border-opacity)); }
.border-white\/20 { border-color: rgba(255, 255, 255, .2); }
.border-main-color\/30 { border-color: rgba(28, 66, 120, .3); }

.ring-black\/5 { --tw-ring-color: rgba(0, 0, 0, .05); }

.hover\:bg-\[\#EAF1FA\]:hover { --tw-bg-opacity: 1; background-color: rgb(234 241 250 / var(--tw-bg-opacity)); }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:w-72 { width: 18rem; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:pt-8 { padding-top: 2rem; }
}

/* ---- beranda news lists + news detail (todo 6528) ---- */
.ely-news-top { display: flex; flex-direction: column; gap: 1.5rem; }
.ely-news-main { width: 100%; }
.ely-news-side { width: 100%; }
@media (min-width: 1024px) { .ely-news-top { flex-direction: row; } .ely-news-main { width: 75%; } .ely-news-side { width: 25%; } }
.ely-news-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 1024px) { .ely-news-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.ely-latest-card { display: flex; gap: .75rem; background: #fff; border-radius: .5rem; padding: .5rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.ely-latest-img { position: relative; flex-shrink: 0; width: 120px; height: 120px; border-radius: .5rem; overflow: hidden; background: #EAF1FA; }
@media (min-width: 768px) { .ely-latest-img { width: 200px; height: 200px; } }
.ely-latest-img img, .ely-photo-img img, .ely-tv-img img, .ely-pop-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ely-latest-body { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.ely-card-date { display: block; font-size: .875rem; color: rgb(51 65 85); }
.ely-card-title { display: block; font-weight: 700; padding-top: .25rem; color: #1a1a1a; }
@media (min-width: 1024px) { .ely-latest-card .ely-card-title { font-size: 1.125rem; } }
.ely-card-link { display: block; color: rgb(28 66 120); font-weight: 700; padding-top: .5rem; }
.ely-clamp-2, .ely-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.ely-clamp-2 { -webkit-line-clamp: 2; } .ely-clamp-3 { -webkit-line-clamp: 3; }
.ely-news-popular { display: flex; flex-direction: column; justify-content: space-evenly; gap: 1rem; padding: 1rem 0; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); border-radius: .75rem; background: #fff; }
@media (min-width: 1024px) { .ely-news-popular { min-height: 464px; } }
.ely-pop-item { display: flex; align-items: center; gap: 1rem; padding: 0 1rem; font-size: .95rem; }
.ely-pop-thumb { position: relative; flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 9999px; overflow: hidden; background: #e5e7eb; }
.ely-pop-item:hover .ely-clamp-2, .ely-latest-card:hover .ely-card-title, .ely-photo-card:hover .ely-card-title, .ely-tv-card:hover .ely-card-title { text-decoration: underline; }
.ely-news-more { display: inline-block; border: 2px solid rgb(28 66 120); color: rgb(28 66 120); font-weight: 700; padding: .5rem 1.5rem; border-radius: .5rem; }
.ely-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1rem; }
@media (min-width: 1024px) { .ely-photo-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.ely-photo-card, .ely-tv-card { display: flex; flex-direction: column; background: #fff; border-radius: .5rem; padding: .5rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.ely-photo-img { position: relative; display: block; width: 100%; padding-top: 66%; border-radius: .5rem; overflow: hidden; background: #EAF1FA; margin-bottom: .5rem; }
.ely-tv-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .ely-tv-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.ely-tv-img { position: relative; display: block; width: 100%; padding-top: 56.25%; border-radius: .5rem; overflow: hidden; background: #1C4278; margin-bottom: .75rem; }
.ely-tv-img img { opacity: .85; }
.ely-tv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: rgba(255,255,255,.9); color: rgb(28 66 120); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.ely-news-article .ely-news-hero { width: 100%; max-height: 520px; object-fit: cover; border-radius: .5rem; }
.ely-news-article .fr-element p { margin-bottom: 1rem; }
.ely-news-article .fr-element img { max-width: 100%; height: auto; margin: 1rem auto; border-radius: .5rem; }
.ely-news-hero-box { min-height: 120px; height: auto; padding-bottom: 1.25rem; }
.ely-news-h1 { font-size: 1.25rem; line-height: 1.35; text-align: center; padding: .75rem 1rem 0; max-width: 60rem; }
@media (min-width: 1024px) { .ely-news-h1 { font-size: 2rem; } }
[data-ely-html^="article.berita-"] .ely-article-title, [data-ely-html^="article.tv-"] .ely-article-title { display: none; }
