/* ================= BASE VARIABLES ================= */

:root {
  --brand-red: #da251d;
  --brand-gray: #f5f5f5;
  --text-main: #222222;
  --text-muted: #666666;
}

body {
  font-family: "Mukta", sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
}

/* ================= GLOBAL ELEMENTS ================= */

a {
  text-decoration: none;
  color: inherit;
}

/* ================= LAYOUT ================= */

.max-w-7xl {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= COLORS ================= */

.bg-brand-red {
  background-color: var(--brand-red) !important;
}

.text-brand-red {
  color: var(--brand-red) !important;
}

.text-text-muted {
  color: var(--text-muted) !important;
}

.bg-whatsapp {
  background-color: #25d366 !important;
}

.bg-whatsapp:hover {
  background-color: #1ebd5a !important;
}

.bg-google-box {
  background-color: #d45d58 !important;
}

/* ================= FONT SIZES ================= */

.font-8 {
  font-size: 8px;
}

.font-10 {
  font-size: 10px;
}

.font-11 {
  font-size: 11px;
}

.font-13 {
  font-size: 13px;
}

.font-14 {
  font-size: 14px;
}

.font-15 {
  font-size: 15px;
}

.font-18 {
  font-size: 18px;
}

/* ================= TEXT CLAMP ================= */

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================= IMAGE RATIO ================= */

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-9-16 {
  aspect-ratio: 9 / 16;
}

.object-cover {
  object-fit: cover;
}

/* ================= NAV SCROLLBAR ================= */

.nav-scroll::-webkit-scrollbar {
  height: 4px;
}

.nav-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

/* ================= GRADIENTS ================= */

.bg-gradient-black-80 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, transparent);
}

.bg-gradient-black-60 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, transparent);
}

.bg-gradient-black-40 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent, transparent);
}

.bg-gradient-black-90 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2), transparent);
}

.cubes-pattern {
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
}

/* ================= TRANSITIONS ================= */

.group:hover .group-hover-scale {
  transform: scale(1.05);
}

.group:hover .group-hover-scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover-red {
  color: var(--brand-red) !important;
}

.transition-300 {
  transition: all 0.3s ease;
}

.transition-500 {
  transition: all 0.5s ease;
}

.transition-700 {
  transition: all 0.7s ease;
}

/* ================= BLUR ================= */

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.backdrop-blur-custom {
  backdrop-filter: blur(10px);
}

.backdrop-blur-strong {
  backdrop-filter: blur(12px);
}

/* ================= ANIMATION ================= */

@keyframes pulse-live {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.animate-pulse-live {
  animation: pulse-live 2s infinite;
}

.live-dot {
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  animation: ping 1s infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* ================= MODAL SCROLL LOCK ================= */

body.modal-open-lock {
  overflow: hidden !important;
  height: 100vh;
  padding-right: 0 !important;
}

/* ================= LOGIN MODAL ================= */

#loginModal {
  z-index: 2000 !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
}

/* ================= Z INDEX ================= */

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.z-2000 {
  z-index: 2000 !important;
}

header {
  z-index: 1060 !important;
}

nav.sticky-top {
  z-index: 1050 !important;
}

/* ================= FOOTER ================= */

.footer-dot {
  width: 6px;
  height: 6px;
  background-color: #6c757d;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ================= ARTICLE PAGE ================= */

.author-meta-bar {
  top: 52px;
  z-index: 35;
}

.reaction-btn {
  width: 44px;
  height: 44px;
  background-color: white;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.reaction-btn:hover {
  transform: scale(1.1);
  background-color: #f8fafc;
}

.article-body-text {
  font-size: 17px;
  line-height: 2;
  font-weight: 500;
}

@media (min-width: 768px) {
  .article-body-text {
    font-size: 18px;
  }
}

/* ================= REPORTER PAGE ================= */

.breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  color: #9ca3af;
}

.reporter-avatar {
  width: 80px;
  height: 80px;
  border: 4px solid #f8f9fa;
}

.btn-load-more {
  border: 2px solid var(--brand-red);
  color: var(--brand-red);
  font-weight: 700;
  background: transparent;
}

.btn-load-more:hover {
  background-color: var(--brand-red);
  color: #fff;
}

/* ================= SIDEBAR ================= */

.sidebar-sticky {
  position: sticky;
  top: 80px;
  z-index: 10;
}

/* Anchor transition */
a {
  transition: 0.3s;
}

/* Aspect ratio 9:16 */
.aspect-9-16 {
  aspect-ratio: 9 / 16;
}

/* Hover scale 110 */
.group:hover .group-hover-scale-110 {
  transform: scale(1.10);
}

/* Gradient backgrounds */
.bg-gradient-black-80 {
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent, transparent);
}

.bg-gradient-black-60 {
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, transparent);
}

.bg-gradient-black-90 {
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2), transparent);
}

/* Background pattern */
.cubes-pattern {
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
}

/* ================= soft stories ================= */


/* Text muted color */
.text-text-muted {
  color: var(--text-muted) !important;
}

/* Video aspect ratio */
.aspect-video {
  aspect-ratio: 16 / 9;
}

/* Transition 500 */
.transition-500 {
  transition: all 0.5s ease;
}


/* ================= bulletin  ================= */

/* Font 18 */
.font-18 {
  font-size: 18px;
}

/* Image aspect ratio 4:3 */
.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

/* Breadcrumb arrow */
.breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  color: #9ca3af;
}

/* Pagination buttons */
.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dee2e6;
  background: #fff;
  color: #495057;
  font-weight: 700;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background-color: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

.pagination-btn.active {
  background-color: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
  shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}