/**
 * EntarNews Features Stylesheet
 * 10 Block Styles, Social Stories (WA/FB/IG/Snapchat), and Hide & Show Floating Widget
 *
 * @package EntarNews
 * @author Rifan Muazin (https://gig.web.id)
 */

/* =========================================================================
   VARIABLES & DESIGN TOKENS
   ========================================================================= */
:root {
  --en-primary: #e63946;
  --en-primary-dark: #c1121f;
  --en-secondary: #1d3557;
  --en-accent: #f4a261;
  --en-card-bg: #ffffff;
  --en-card-border: #e9ecef;
  --en-card-hover-border: #d3d7dc;
  --en-text-main: #1a1a1a;
  --en-text-muted: #6c757d;
  --en-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --en-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --en-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --en-radius-sm: 0px;
  --en-radius-md: 0px;
  --en-radius-lg: 0px;
  --en-radius-full: 0px;
  --en-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.aft-dark-mode {
  --en-card-bg: #1c2025;
  --en-card-border: #2c323b;
  --en-card-hover-border: #3d4552;
  --en-text-main: #f1f3f5;
  --en-text-muted: #9aa0a6;
  --en-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --en-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --en-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
}

/* Base Wrapper */
.entarnews-frontpage-wrapper,
.authorpress-frontpage-wrapper {
  margin: 15px 0 65px;
  padding-bottom: 35px;
}

.entarnews-blocks-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.entarnews-block-section {
  position: relative;
  width: 100%;
}

/* =========================================================================
   BLOCK HEADERS
   ========================================================================= */
.entarnews-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--en-card-border);
  position: relative;
}

.entarnews-block-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--en-primary);
  border-radius: var(--en-radius-full);
}

.entarnews-block-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.entarnews-header-pill {
  width: 5px;
  height: 24px;
  background: var(--en-primary);
  border-radius: var(--en-radius-full);
  display: inline-block;
}

.entarnews-block-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--en-text-main);
  line-height: 1.2;
}

.entarnews-block-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--en-transition);
}

.entarnews-block-title a:hover {
  color: var(--en-primary);
}

.entarnews-style-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(230, 57, 70, 0.1);
  color: var(--en-primary);
  padding: 3px 8px;
  border-radius: var(--en-radius-full);
}

.entarnews-view-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--en-text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--en-transition);
}

.entarnews-view-all:hover {
  color: var(--en-primary);
  transform: translateX(3px);
}

/* =========================================================================
   COMMON CARD ELEMENTS
   ========================================================================= */
.entarnews-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--en-primary);
  margin-bottom: 6px;
}

.entarnews-kicker-small {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--en-primary);
  margin-bottom: 4px;
}

.entarnews-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--en-text-muted);
  margin-top: 10px;
}

.meta-time-compact {
  font-size: 0.72rem;
  color: var(--en-text-muted);
  display: block;
}

.entarnews-badge-floating {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--en-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--en-radius-sm);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* =========================================================================
   GAYA 1: GuardPress Lead + 4 Subgrid
   ========================================================================= */
.entarnews-style-guardpress-lead .gp-lead-card {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--en-shadow-sm);
  transition: var(--en-transition);
}

.entarnews-style-guardpress-lead .gp-lead-card:hover {
  box-shadow: var(--en-shadow-md);
  border-color: var(--en-primary);
}

.entarnews-style-guardpress-lead .gp-lead-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.entarnews-style-guardpress-lead .gp-lead-content {
  padding: 30px;
}

.entarnews-style-guardpress-lead .gp-lead-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 8px 0 12px;
  color: var(--en-text-main);
}

.entarnews-style-guardpress-lead .gp-lead-title a {
  color: inherit;
  text-decoration: none;
}

.entarnews-style-guardpress-lead .gp-lead-title a:hover {
  color: var(--en-primary);
}

.entarnews-style-guardpress-lead .gp-lead-excerpt {
  color: var(--en-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 15px;
}

.entarnews-style-guardpress-lead .gp-lead-thumb {
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.entarnews-style-guardpress-lead .gp-lead-thumb a {
  display: block;
  height: 100%;
}

.entarnews-style-guardpress-lead .gp-lead-thumb:hover .img-cover {
  transform: scale(1.05);
}

.entarnews-style-guardpress-lead .gp-subgrid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.entarnews-style-guardpress-lead .gp-sub-card {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-md);
  overflow: hidden;
  box-shadow: var(--en-shadow-sm);
  transition: var(--en-transition);
  display: flex;
  flex-direction: column;
}

.entarnews-style-guardpress-lead .gp-sub-card:hover {
  box-shadow: var(--en-shadow-md);
  transform: translateY(-3px);
  border-color: var(--en-primary);
}

.entarnews-style-guardpress-lead .gp-sub-thumb {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.entarnews-style-guardpress-lead .gp-sub-thumb a {
  display: block;
  height: 100%;
}

.entarnews-style-guardpress-lead .gp-sub-thumb:hover .img-cover {
  transform: scale(1.06);
}

.entarnews-style-guardpress-lead .gp-sub-body {
  padding: 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.entarnews-style-guardpress-lead .gp-sub-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--en-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entarnews-style-guardpress-lead .gp-sub-title a {
  color: inherit;
  text-decoration: none;
}

.entarnews-style-guardpress-lead .gp-sub-title a:hover {
  color: var(--en-primary);
}

/* =========================================================================
   GAYA 2: GuardPress Magazine Split
   ========================================================================= */
.entarnews-style-guardpress-split .gp-split-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.entarnews-style-guardpress-split .gp-split-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.entarnews-style-guardpress-split .gp-split-card {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-md);
  overflow: hidden;
  box-shadow: var(--en-shadow-sm);
  transition: var(--en-transition);
}

.entarnews-style-guardpress-split .gp-split-card:hover {
  box-shadow: var(--en-shadow-md);
  border-color: var(--en-primary);
}

.entarnews-style-guardpress-split .gp-split-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.entarnews-style-guardpress-split .gp-split-thumb a {
  display: block;
  height: 100%;
}

.entarnews-style-guardpress-split .gp-split-thumb:hover .img-cover {
  transform: scale(1.05);
}

.entarnews-style-guardpress-split .gp-split-content {
  padding: 16px;
}

.entarnews-style-guardpress-split .gp-split-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--en-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entarnews-style-guardpress-split .gp-split-title a {
  color: inherit;
  text-decoration: none;
}

.entarnews-style-guardpress-split .gp-split-title a:hover {
  color: var(--en-primary);
}

.entarnews-style-guardpress-split .gp-split-excerpt {
  font-size: 0.85rem;
  color: var(--en-text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.entarnews-style-guardpress-split .gp-mini-list {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-md);
  padding: 14px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.entarnews-style-guardpress-split .gp-mini-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--en-card-border);
}

.entarnews-style-guardpress-split .gp-mini-item:last-child {
  border-bottom: none;
}

.entarnews-style-guardpress-split .gp-mini-index {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--en-primary);
  line-height: 1;
}

.entarnews-style-guardpress-split .gp-mini-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
  color: var(--en-text-main);
}

.entarnews-style-guardpress-split .gp-mini-title a {
  color: inherit;
  text-decoration: none;
}

.entarnews-style-guardpress-split .gp-mini-title a:hover {
  color: var(--en-primary);
}

/* =========================================================================
   GAYA 3: GuardPress 4-Column Opinion Row
   ========================================================================= */
.entarnews-style-guardpress-opinion .gp-opinion-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.entarnews-style-guardpress-opinion .gp-opinion-card {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-md);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--en-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--en-transition);
}

.entarnews-style-guardpress-opinion .gp-opinion-card:hover {
  box-shadow: var(--en-shadow-md);
  transform: translateY(-4px);
  border-color: var(--en-primary);
}

.entarnews-style-guardpress-opinion .gp-opinion-border-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--en-primary), var(--en-accent));
}

.entarnews-style-guardpress-opinion .gp-opinion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.entarnews-style-guardpress-opinion .gp-opinion-quote {
  font-size: 1.2rem;
  color: var(--en-primary);
  opacity: 0.3;
}

.entarnews-style-guardpress-opinion .gp-opinion-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--en-text-main);
}

.entarnews-style-guardpress-opinion .gp-opinion-title a {
  color: inherit;
  text-decoration: none;
}

.entarnews-style-guardpress-opinion .gp-opinion-title a:hover {
  color: var(--en-primary);
}

.entarnews-style-guardpress-opinion .gp-opinion-excerpt {
  font-size: 0.84rem;
  color: var(--en-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.entarnews-style-guardpress-opinion .gp-opinion-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--en-card-border);
}

.entarnews-style-guardpress-opinion .gp-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--en-radius-full);
  object-fit: cover;
  border: 2px solid var(--en-card-border);
}

.entarnews-style-guardpress-opinion .gp-author-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--en-text-main);
  display: block;
}

.entarnews-style-guardpress-opinion .gp-author-meta {
  font-size: 0.72rem;
  color: var(--en-text-muted);
}

/* =========================================================================
   GAYA 4: GenerateNew 3-Column Modern Grid
   ========================================================================= */
.entarnews-style-generatenew-grid .gn-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.entarnews-style-generatenew-grid .gn-card {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-lg);
  overflow: hidden;
  box-shadow: var(--en-shadow-sm);
  transition: var(--en-transition);
  display: flex;
  flex-direction: column;
}

.entarnews-style-generatenew-grid .gn-card:hover {
  box-shadow: var(--en-shadow-md);
  transform: translateY(-4px);
  border-color: var(--en-primary);
}

.entarnews-style-generatenew-grid .gn-card-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.entarnews-style-generatenew-grid .gn-card-thumb a {
  display: block;
  height: 100%;
}

.entarnews-style-generatenew-grid .gn-card-thumb:hover .img-cover {
  transform: scale(1.06);
}

.entarnews-style-generatenew-grid .gn-card-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--en-radius-sm);
  border-left: 3px solid var(--en-primary);
}

.entarnews-style-generatenew-grid .gn-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.entarnews-style-generatenew-grid .gn-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--en-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entarnews-style-generatenew-grid .gn-card-title a {
  color: inherit;
  text-decoration: none;
}

.entarnews-style-generatenew-grid .gn-card-title a:hover {
  color: var(--en-primary);
}

.entarnews-style-generatenew-grid .gn-card-excerpt {
  font-size: 0.88rem;
  color: var(--en-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.entarnews-style-generatenew-grid .gn-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--en-text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--en-card-border);
}

/* =========================================================================
   GAYA 5: GenerateNew Overlay Hero Showcase
   ========================================================================= */
.entarnews-style-generatenew-showcase .gn-showcase-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
}

.entarnews-style-generatenew-showcase .gn-giant-hero {
  position: relative;
  min-height: 380px;
  border-radius: var(--en-radius-lg);
  overflow: hidden;
  box-shadow: var(--en-shadow-md);
}

.entarnews-style-generatenew-showcase .gn-hero-bg-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.entarnews-style-generatenew-showcase .gn-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.entarnews-style-generatenew-showcase .gn-giant-hero:hover .gn-hero-bg-img {
  transform: scale(1.05);
}

.entarnews-style-generatenew-showcase .gn-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.entarnews-style-generatenew-showcase .gn-hero-overlay a {
  pointer-events: auto;
}

.entarnews-style-generatenew-showcase .gn-hero-badge {
  display: inline-block;
  background: var(--en-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--en-radius-sm);
  margin-bottom: 12px;
}

.entarnews-style-generatenew-showcase .gn-hero-title {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #fff;
}

.entarnews-style-generatenew-showcase .gn-hero-title a {
  color: #fff;
  text-decoration: none;
}

.entarnews-style-generatenew-showcase .gn-hero-title a:hover {
  color: var(--en-accent);
}

.entarnews-style-generatenew-showcase .gn-hero-excerpt {
  font-size: 0.92rem;
  color: #e0e0e0;
  line-height: 1.45;
  margin-bottom: 12px;
}

.entarnews-style-generatenew-showcase .gn-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #b0b0b0;
}

.entarnews-style-generatenew-showcase .gn-showcase-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.entarnews-style-generatenew-showcase .gn-side-card {
  position: relative;
  height: calc(50% - 8px);
  min-height: 180px;
  border-radius: var(--en-radius-md);
  overflow: hidden;
  box-shadow: var(--en-shadow-sm);
}

.entarnews-style-generatenew-showcase .gn-side-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.entarnews-style-generatenew-showcase .gn-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.entarnews-style-generatenew-showcase .gn-side-card:hover .gn-side-img {
  transform: scale(1.06);
}

.entarnews-style-generatenew-showcase .gn-side-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  color: #fff;
  z-index: 2;
}

.entarnews-style-generatenew-showcase .gn-side-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 6px 0 4px;
  color: #fff;
}

.entarnews-style-generatenew-showcase .gn-side-title a {
  color: #fff;
  text-decoration: none;
}

.entarnews-style-generatenew-showcase .gn-side-title a:hover {
  color: var(--en-accent);
}

.entarnews-style-generatenew-showcase .gn-side-meta {
  font-size: 0.72rem;
  color: #bbb;
}

/* =========================================================================
   GAYA 6: GenerateNew 2-Column Focus
   ========================================================================= */
.entarnews-style-generatenew-focus .gn-focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.entarnews-style-generatenew-focus .gn-focus-card {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-lg);
  overflow: hidden;
  box-shadow: var(--en-shadow-sm);
  display: grid;
  grid-template-columns: 140px 1fr;
  transition: var(--en-transition);
}

.entarnews-style-generatenew-focus .gn-focus-card:hover {
  box-shadow: var(--en-shadow-md);
  border-color: var(--en-primary);
  transform: translateY(-3px);
}

.entarnews-style-generatenew-focus .gn-focus-thumb {
  height: 100%;
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.entarnews-style-generatenew-focus .gn-focus-thumb a {
  display: block;
  height: 100%;
}

.entarnews-style-generatenew-focus .gn-focus-thumb:hover .img-cover {
  transform: scale(1.06);
}

.entarnews-style-generatenew-focus .gn-focus-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.entarnews-style-generatenew-focus .gn-focus-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--en-text-main);
}

.entarnews-style-generatenew-focus .gn-focus-title a {
  color: inherit;
  text-decoration: none;
}

.entarnews-style-generatenew-focus .gn-focus-title a:hover {
  color: var(--en-primary);
}

.entarnews-style-generatenew-focus .gn-focus-excerpt {
  font-size: 0.84rem;
  color: var(--en-text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

.entarnews-style-generatenew-focus .gn-focus-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.entarnews-style-generatenew-focus .gn-read-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--en-primary);
  text-decoration: none;
}

/* =========================================================================
   GAYA 7: WeHope Viral Grid Feed (Hipwee Style)
   ========================================================================= */
.entarnews-style-wehope-viral .wh-viral-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.entarnews-style-wehope-viral .wh-viral-card {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: var(--en-transition);
  display: flex;
  flex-direction: column;
}

.entarnews-style-wehope-viral .wh-viral-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  border-color: #ff5722;
}

.entarnews-style-wehope-viral .wh-viral-thumb {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.entarnews-style-wehope-viral .wh-viral-thumb a {
  display: block;
  height: 100%;
}

.entarnews-style-wehope-viral .wh-viral-thumb:hover .img-cover {
  transform: scale(1.08);
}

.entarnews-style-wehope-viral .wh-pill-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff5722, #ff9800);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--en-radius-full);
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

.entarnews-style-wehope-viral .wh-viral-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.entarnews-style-wehope-viral .wh-viral-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 14px;
  color: var(--en-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entarnews-style-wehope-viral .wh-viral-title a {
  color: inherit;
  text-decoration: none;
}

.entarnews-style-wehope-viral .wh-viral-title a:hover {
  color: #ff5722;
}

.entarnews-style-wehope-viral .wh-viral-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--en-card-border);
}

.entarnews-style-wehope-viral .wh-author-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.entarnews-style-wehope-viral .wh-avatar {
  width: 26px;
  height: 26px;
  border-radius: var(--en-radius-full);
}

.entarnews-style-wehope-viral .wh-author-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--en-text-main);
}

.entarnews-style-wehope-viral .wh-read-time {
  font-size: 0.7rem;
  color: var(--en-text-muted);
}

/* =========================================================================
   GAYA 8: WeHope Modern Numbered Listicle
   ========================================================================= */
.entarnews-style-wehope-listicle .wh-listicle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.entarnews-style-wehope-listicle .wh-listicle-item {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--en-shadow-sm);
  transition: var(--en-transition);
}

.entarnews-style-wehope-listicle .wh-listicle-item:hover {
  box-shadow: var(--en-shadow-md);
  transform: translateX(4px);
  border-color: var(--en-primary);
}

.entarnews-style-wehope-listicle .wh-listicle-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--en-primary);
  opacity: 0.85;
  font-family: inherit;
  min-width: 38px;
  text-align: center;
}

.entarnews-style-wehope-listicle .wh-listicle-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--en-radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.entarnews-style-wehope-listicle .wh-listicle-thumb a {
  display: block;
  height: 100%;
}

.entarnews-style-wehope-listicle .wh-listicle-content {
  flex-grow: 1;
}

.entarnews-style-wehope-listicle .wh-listicle-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--en-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entarnews-style-wehope-listicle .wh-listicle-title a {
  color: inherit;
  text-decoration: none;
}

.entarnews-style-wehope-listicle .wh-listicle-title a:hover {
  color: var(--en-primary);
}

.entarnews-style-wehope-listicle .wh-listicle-meta {
  font-size: 0.72rem;
  color: var(--en-text-muted);
  display: flex;
  gap: 6px;
}

/* =========================================================================
   GAYA 9: HypePress Magazine Highlight
   ========================================================================= */
.entarnews-style-hypepress-hero .hp-hero-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.entarnews-style-hypepress-hero .hp-hero-card {
  position: relative;
  min-height: 280px;
  border-radius: var(--en-radius-lg);
  overflow: hidden;
  box-shadow: var(--en-shadow-md);
}

.entarnews-style-hypepress-hero .hp-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.entarnews-style-hypepress-hero .hp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.entarnews-style-hypepress-hero .hp-hero-card:hover .hp-card-img,
.entarnews-style-hypepress-hero .hp-bottom-card:hover .hp-card-img {
  transform: scale(1.06);
}

.entarnews-style-hypepress-hero .hp-card-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  color: #fff;
  z-index: 2;
}

.entarnews-style-hypepress-hero .hp-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--en-accent);
  margin-bottom: 8px;
}

.entarnews-style-hypepress-hero .hp-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #fff;
}

.entarnews-style-hypepress-hero .hp-card-title a,
.entarnews-style-hypepress-hero .hp-card-title-sm a {
  color: #fff;
  text-decoration: none;
}

.entarnews-style-hypepress-hero .hp-card-title a:hover,
.entarnews-style-hypepress-hero .hp-card-title-sm a:hover {
  color: var(--en-accent);
}

.entarnews-style-hypepress-hero .hp-card-meta {
  font-size: 0.74rem;
  color: #bbb;
}

.entarnews-style-hypepress-hero .hp-hero-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.entarnews-style-hypepress-hero .hp-bottom-card {
  position: relative;
  min-height: 190px;
  border-radius: var(--en-radius-md);
  overflow: hidden;
  box-shadow: var(--en-shadow-sm);
}

.entarnews-style-hypepress-hero .hp-card-title-sm {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================================
   GAYA 10: HypePress Trending Rank Grid
   ========================================================================= */
.entarnews-style-hypepress-rank .hp-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.entarnews-style-hypepress-rank .hp-rank-card {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-lg);
  overflow: hidden;
  box-shadow: var(--en-shadow-sm);
  transition: var(--en-transition);
}

.entarnews-style-hypepress-rank .hp-rank-card:hover {
  box-shadow: var(--en-shadow-md);
  transform: translateY(-4px);
  border-color: var(--en-primary);
}

.entarnews-style-hypepress-rank .hp-rank-thumb {
  height: 170px;
  position: relative;
  overflow: hidden;
}

.entarnews-style-hypepress-rank .hp-rank-thumb a {
  display: block;
  height: 100%;
}

.entarnews-style-hypepress-rank .hp-rank-thumb:hover .img-cover {
  transform: scale(1.06);
}

.entarnews-style-hypepress-rank .hp-rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--en-radius-sm);
  color: #fff;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.entarnews-style-hypepress-rank .hp-rank-badge.rank-top-3 {
  background: linear-gradient(135deg, #ff1744, #ff9100);
}

.entarnews-style-hypepress-rank .hp-rank-badge.rank-other {
  background: rgba(33, 37, 41, 0.85);
  backdrop-filter: blur(4px);
}

.entarnews-style-hypepress-rank .hp-rank-flame {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #ff9100;
  width: 28px;
  height: 28px;
  border-radius: var(--en-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.entarnews-style-hypepress-rank .hp-rank-body {
  padding: 16px;
}

.entarnews-style-hypepress-rank .hp-rank-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--en-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entarnews-style-hypepress-rank .hp-rank-title a {
  color: inherit;
  text-decoration: none;
}

.entarnews-style-hypepress-rank .hp-rank-title a:hover {
  color: var(--en-primary);
}

.entarnews-style-hypepress-rank .hp-rank-meta {
  font-size: 0.74rem;
  color: var(--en-text-muted);
  display: flex;
  gap: 8px;
}

/* =========================================================================
   SOCIAL STORIES BAR (WA / FB / IG / SNAPCHAT)
   ========================================================================= */
.entarnews-stories-section {
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-lg);
  padding: 16px 20px;
  margin-bottom: 30px;
  box-shadow: var(--en-shadow-sm);
}

.entarnews-stories-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.entarnews-stories-live-dot {
  width: 9px;
  height: 9px;
  background: #25d366;
  border-radius: var(--en-radius-full);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: en-pulse-dot 1.8s infinite;
}

@keyframes en-pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.entarnews-stories-heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--en-text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.entarnews-stories-heading i {
  color: #ff9800;
}

.entarnews-stories-sub {
  font-size: 0.75rem;
  color: var(--en-text-muted);
  margin-left: auto;
}

.entarnews-stories-scroller {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 6px;
}

.entarnews-stories-scroller::-webkit-scrollbar {
  display: none;
}

.entarnews-stories-track {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.entarnews-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  width: 76px;
  flex-shrink: 0;
  text-align: center;
  transition: transform 0.25s ease;
}

.entarnews-story-item:hover {
  transform: translateY(-3px);
}

.entarnews-story-ring,
.authorpress-story-ring {
  width: 68px;
  height: 68px;
  border-radius: 0 !important;
  transform: skewX(-4deg) !important; /* Gubug Penceng */
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 3px;
  position: relative;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}

.entarnews-story-item:hover .entarnews-story-ring,
.authorpress-story-item:hover .authorpress-story-ring {
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.45);
}

.entarnews-story-avatar-wrap,
.authorpress-story-avatar-wrap {
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  overflow: hidden;
  background: var(--en-card-bg);
  border: 2px solid var(--en-card-bg);
}

.entarnews-story-avatar,
.authorpress-story-avatar {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: 0 !important;
  transform: skewX(4deg) scale(1.05) !important;
  transition: none !important;
}

/* Ketika Gambar dikenai Mouse jangan dibuat Kayak Ngezoom */
.entarnews-story-item:hover .entarnews-story-avatar,
.authorpress-story-item:hover .authorpress-story-avatar,
.entarnews-story-item:hover img,
.authorpress-story-item:hover img {
  transform: skewX(4deg) scale(1.05) !important;
}

.entarnews-story-badge,
.authorpress-story-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: #ff007f;
  color: #fff;
  border-radius: 0 !important;
  transform: skewX(-4deg) !important;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--en-card-bg);
}

.entarnews-story-badge i,
.authorpress-story-badge i {
  transform: skewX(4deg);
  display: inline-block;
}

.entarnews-story-name {
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--en-text-main);
  line-height: 1.25;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================================
   STORY MODAL VIEWER (90% Screen - Gubug Penceng Sharp - No Zoom)
   ========================================================================= */
.entarnews-story-modal,
.authorpress-story-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  box-sizing: border-box;
}

.entarnews-story-backdrop,
.authorpress-story-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(12px);
}

.entarnews-story-viewer,
.authorpress-story-viewer {
  position: relative;
  width: 90vw !important;
  max-width: 410px !important;
  height: 90vh !important;
  max-height: 90vh !important;
  background: #050508;
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  margin: auto;
  animation: en-zoom-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes en-zoom-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Top Progress Bars */
.entarnews-story-progress-container,
.authorpress-story-progress-container {
  display: flex;
  gap: 5px;
  padding: 12px 14px 6px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.entarnews-story-progress-bar,
.authorpress-story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 !important;
  overflow: hidden;
}

.entarnews-story-progress-fill,
.authorpress-story-progress-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 0 !important;
}

/* Header inside story */
.entarnews-story-modal-header,
.authorpress-story-modal-header {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
}

.entarnews-story-header-left,
.authorpress-story-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.entarnews-modal-author-img,
.authorpress-modal-author-img {
  width: 34px;
  height: 34px;
  border-radius: 0 !important;
  transform: skewX(-4deg) !important;
  border: 2px solid #fff;
  object-fit: cover;
}

.entarnews-modal-meta,
.authorpress-modal-meta {
  display: flex;
  flex-direction: column;
}

.entarnews-modal-cat,
.authorpress-modal-cat {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.entarnews-modal-time,
.authorpress-modal-time {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.entarnews-story-header-right,
.authorpress-story-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.entarnews-modal-btn,
.authorpress-modal-btn {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 0 !important;
  transform: skewX(-4deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: var(--en-transition);
}

.entarnews-modal-btn:hover,
.authorpress-modal-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-4deg); /* NO scale zoom */
}

.entarnews-modal-btn i,
.authorpress-modal-btn i {
  transform: skewX(4deg);
  display: inline-block;
}

/* Media Area */
.entarnews-story-media-area,
.authorpress-story-media-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* KETIKA GAMBAR DIKENAI MOUSE JANGAN DIBUAT KAYAK NGEZOOM:
   Hilangkan animasi ken-burns scale dan hover scale pada background story */
.entarnews-story-bg-img,
.authorpress-story-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: none !important;
  transform: none !important;
}

.entarnews-story-viewer:hover .entarnews-story-bg-img,
.authorpress-story-viewer:hover .authorpress-story-bg-img,
.entarnews-story-bg-img:hover,
.authorpress-story-bg-img:hover {
  transform: none !important;
}

.entarnews-story-media-overlay,
.authorpress-story-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.5) 100%);
}

/* Tap Areas */
.entarnews-story-tap-prev,
.entarnews-story-tap-next,
.authorpress-story-tap-prev,
.authorpress-story-tap-next {
  position: absolute;
  top: 70px;
  bottom: 140px;
  width: 35%;
  z-index: 8;
  cursor: pointer;
}

.entarnews-story-tap-prev,
.authorpress-story-tap-prev {
  left: 0;
}

.entarnews-story-tap-next,
.authorpress-story-tap-next {
  right: 0;
}

/* Footer Content */
.entarnews-story-footer,
.authorpress-story-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 30px;
  z-index: 10;
  color: #fff;
  text-align: left;
}

.entarnews-modal-headline,
.authorpress-modal-headline {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.entarnews-modal-desc,
.authorpress-modal-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
  margin-bottom: 18px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.entarnews-modal-cta,
.authorpress-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, var(--en-primary), #ff007f);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 13px 20px;
  border-radius: 0 !important;
  transform: skewX(-4deg) !important; /* Gubug Penceng */
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.45);
  transition: var(--en-transition);
}

.entarnews-modal-cta:hover,
.authorpress-modal-cta:hover {
  background: linear-gradient(135deg, #c1121f, #d6006c);
  transform: skewX(-4deg) translateY(-2px) !important;
  color: #fff;
}

.entarnews-modal-cta span,
.entarnews-modal-cta i,
.authorpress-modal-cta span,
.authorpress-modal-cta i {
  display: inline-block;
  transform: skewX(4deg);
}

/* External Desktop Arrows */
.entarnews-story-arrow-btn,
.authorpress-story-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) skewX(-4deg);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 0 !important;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  z-index: 12;
  transition: var(--en-transition);
}

.entarnews-story-arrow-btn:hover,
.authorpress-story-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) skewX(-4deg); /* NO scale zoom */
}

.entarnews-story-arrow-btn i,
.authorpress-story-arrow-btn i {
  transform: skewX(4deg);
  display: inline-block;
}

.entarnews-story-arrow-btn.arrow-prev,
.authorpress-story-arrow-btn.arrow-prev {
  left: -60px;
}

.entarnews-story-arrow-btn.arrow-next,
.authorpress-story-arrow-btn.arrow-next {
  right: -60px;
}

@media (max-width: 600px) {
  .entarnews-story-arrow-btn,
  .authorpress-story-arrow-btn {
    display: none !important;
  }
}

/* =========================================================================
   HIDE & SHOW FLOATING WIDGET (WIDGET MELAYANG)
   ========================================================================= */
.entarnews-floating-widget-wrapper {
  position: fixed;
  bottom: 25px;
  z-index: 99999;
}

.entarnews-floating-widget-wrapper.pos-right {
  right: 25px;
}

.entarnews-floating-widget-wrapper.pos-left {
  left: 25px;
}

/* Floating Trigger Button */
.entarnews-floating-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--en-primary), #ff2a6d);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--en-radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.45);
  transition: var(--en-transition);
  position: relative;
}

.entarnews-floating-trigger:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.6);
}

.entarnews-pulse-ring {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid var(--en-primary);
  border-radius: var(--en-radius-full);
  animation: en-pulse-border 2s infinite;
  pointer-events: none;
}

@keyframes en-pulse-border {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.entarnews-trigger-icon {
  font-size: 1rem;
  color: #ffeb3b;
}

.entarnews-trigger-badge {
  background: #ffeb3b;
  color: #111;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: var(--en-radius-full);
}

/* Floating Card Drawer */
.entarnews-floating-drawer {
  position: absolute;
  bottom: 55px;
  width: 330px;
  background: var(--en-card-bg);
  border: 1px solid var(--en-card-border);
  border-radius: var(--en-radius-lg);
  box-shadow: var(--en-shadow-lg);
  overflow: hidden;
  animation: en-slide-up 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.entarnews-floating-widget-wrapper.pos-right .entarnews-floating-drawer {
  right: 0;
}

.entarnews-floating-widget-wrapper.pos-left .entarnews-floating-drawer {
  left: 0;
}

@keyframes en-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.entarnews-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--en-primary), var(--en-primary-dark));
  color: #fff;
}

.entarnews-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.entarnews-drawer-icon {
  color: #ffeb3b;
  font-size: 0.95rem;
}

.entarnews-drawer-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.entarnews-drawer-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: var(--en-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: var(--en-transition);
}

.entarnews-drawer-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.entarnews-drawer-body {
  padding: 10px 14px;
  max-height: 340px;
  overflow-y: auto;
}

.entarnews-drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--en-card-border);
}

.entarnews-drawer-item:last-child {
  border-bottom: none;
}

.entarnews-drawer-thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--en-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.entarnews-drawer-thumb a {
  display: block;
  height: 100%;
}

.entarnews-drawer-info {
  flex-grow: 1;
}

.entarnews-drawer-cat {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--en-primary);
  display: block;
  margin-bottom: 2px;
}

.entarnews-drawer-headline {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 3px;
  color: var(--en-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entarnews-drawer-headline a {
  color: inherit;
  text-decoration: none;
}

.entarnews-drawer-headline a:hover {
  color: var(--en-primary);
}

.entarnews-drawer-time {
  font-size: 0.68rem;
  color: var(--en-text-muted);
}

.entarnews-drawer-footer {
  padding: 8px 14px;
  background: var(--en-card-border);
  font-size: 0.72rem;
  color: var(--en-text-muted);
  text-align: center;
}

.entarnews-drawer-footer a {
  color: var(--en-primary);
  font-weight: 700;
  text-decoration: none;
}

/* =========================================================================
   RESPONSIVE QUERIES
   ========================================================================= */
@media (max-width: 1024px) {
  .entarnews-style-guardpress-lead .gp-lead-inner {
    grid-template-columns: 1fr;
  }
  .entarnews-style-guardpress-lead .gp-subgrid-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .entarnews-style-guardpress-split .gp-split-grid {
    grid-template-columns: 1fr;
  }
  .entarnews-style-guardpress-opinion .gp-opinion-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .entarnews-style-generatenew-grid .gn-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .entarnews-style-generatenew-showcase .gn-showcase-wrap {
    grid-template-columns: 1fr;
  }
  .entarnews-style-wehope-viral .wh-viral-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .entarnews-style-hypepress-hero .hp-hero-bottom-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .entarnews-style-hypepress-rank .hp-rank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .entarnews-story-arrow-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .entarnews-block-title {
    font-size: 1.15rem;
  }
  .entarnews-style-guardpress-lead .gp-lead-content {
    padding: 20px;
  }
  .entarnews-style-guardpress-lead .gp-lead-title {
    font-size: 1.25rem;
  }
  .entarnews-style-guardpress-split .gp-split-left {
    grid-template-columns: 1fr;
  }
  .entarnews-style-generatenew-focus .gn-focus-grid {
    grid-template-columns: 1fr;
  }
  .entarnews-style-wehope-listicle .wh-listicle-grid {
    grid-template-columns: 1fr;
  }
  .entarnews-style-hypepress-hero .hp-hero-top-row {
    grid-template-columns: 1fr;
  }
  .entarnews-style-hypepress-hero .hp-hero-bottom-row {
    grid-template-columns: 1fr;
  }
  .entarnews-story-viewer,
  .authorpress-story-viewer {
    width: 90vw !important;
    max-width: 90vw !important;
    height: 90vh !important;
    max-height: 90vh !important;
    border-radius: 0 !important;
    margin: auto;
  }
  .entarnews-floating-drawer {
    width: 290px;
  }
}

@media (max-width: 480px) {
  .entarnews-style-guardpress-lead .gp-subgrid-row {
    grid-template-columns: 1fr;
  }
  .entarnews-style-guardpress-opinion .gp-opinion-row {
    grid-template-columns: 1fr;
  }
  .entarnews-style-generatenew-grid .gn-grid-3 {
    grid-template-columns: 1fr;
  }
  .entarnews-style-wehope-viral .wh-viral-grid {
    grid-template-columns: 1fr;
  }
  .entarnews-style-hypepress-rank .hp-rank-grid {
    grid-template-columns: 1fr;
  }
  .entarnews-style-generatenew-focus .gn-focus-card {
    grid-template-columns: 1fr;
  }
  .entarnews-style-generatenew-focus .gn-focus-thumb {
    height: 160px;
  }
  .entarnews-floating-trigger .entarnews-trigger-text {
    display: none;
  }
}

/* =========================================================================
   FEATURED IMAGE SHARE MENU (Glassmorphism & Interactive)
   ========================================================================= */
.entarnews-featured-img-wrap {
  position: relative !important;
  overflow: hidden;
  border-radius: var(--en-radius-md, 10px);
}

.entarnews-featured-share-bar {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 15;
  background: rgba(18, 22, 28, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 5px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.entarnews-featured-share-bar:hover {
  background: rgba(18, 22, 28, 0.92);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.entarnews-share-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.entarnews-share-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px 4px 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  user-select: none;
}

.entarnews-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.22s ease;
  padding: 0;
  outline: none;
}

.entarnews-share-btn:hover {
  transform: scale(1.15);
  color: #ffffff;
}

.entarnews-share-btn.share-wa:hover {
  background: #25D366;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.6);
}

.entarnews-share-btn.share-fb:hover {
  background: #1877F2;
  box-shadow: 0 0 12px rgba(24, 119, 242, 0.6);
}

.entarnews-share-btn.share-x:hover {
  background: #000000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.entarnews-share-btn.share-tg:hover {
  background: #229ED9;
  box-shadow: 0 0 12px rgba(34, 158, 217, 0.6);
}

.entarnews-share-btn.share-pin:hover {
  background: #E60023;
  box-shadow: 0 0 12px rgba(230, 0, 35, 0.6);
}

.entarnews-share-btn.share-copy-btn:hover {
  background: var(--en-primary, #e63946);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.6);
}

.entarnews-copy-tooltip {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #111;
  color: #25D366;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.entarnews-share-btn.copied .entarnews-copy-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 576px) {
  .entarnews-featured-share-bar {
    bottom: 8px;
    right: 8px;
    left: 8px;
    border-radius: 12px;
    justify-content: center;
  }
  .entarnews-share-pills {
    justify-content: space-around;
    width: 100%;
  }
  .entarnews-share-badge span {
    display: none;
  }
}

/* =========================================================================
   IN-CONTENT RELATED POST ("READ ALSO" / "BACA JUGA" - DISTINCT LIST FORMAT)
   ========================================================================= */
/* =========================================================================
   IN-CONTENT RELATED POST ("READ ALSO" / "BACA JUGA" - SANGAT MENCOLOK)
   ========================================================================= */
.entarnews-intext-related {
  margin: 36px 0;
  padding: 22px 24px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-left: 6px solid var(--en-primary, #e63946);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.aft-dark-mode .entarnews-intext-related {
  background: #1e293b;
  border-color: #334155;
  border-left-color: var(--en-primary, #e63946);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.entarnews-intext-related:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

body.aft-dark-mode .entarnews-intext-related:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.entarnews-intext-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

body.aft-dark-mode .entarnews-intext-topbar {
  border-bottom-color: #334155;
}

.entarnews-intext-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--en-primary, #e63946);
  padding: 5px 14px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  box-shadow: 0 3px 10px rgba(230, 57, 70, 0.35);
}

.entarnews-intext-subtag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

body.aft-dark-mode .entarnews-intext-subtag {
  color: #64748b;
}

.entarnews-intext-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entarnews-intext-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  margin: 0 !important;
  padding: 8px 0 !important;
  border-bottom: 1px dashed #e2e8f0;
  transition: all 0.2s ease;
}

.entarnews-intext-item:last-child {
  border-bottom: none;
  padding-bottom: 0 !important;
}

body.aft-dark-mode .entarnews-intext-item {
  border-bottom-color: #334155;
}

.entarnews-intext-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #f1f5f9;
  color: var(--en-primary, #e63946);
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

body.aft-dark-mode .entarnews-intext-num {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

.entarnews-intext-item:hover .entarnews-intext-num {
  background: var(--en-primary, #e63946);
  color: #ffffff;
  border-color: var(--en-primary, #e63946);
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.4);
}

.entarnews-intext-link {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

body.aft-dark-mode .entarnews-intext-link {
  color: #f8fafc;
}

.entarnews-intext-item:hover .entarnews-intext-link {
  color: var(--en-primary, #e63946);
  transform: translateX(4px);
}

/* =========================================================================
   SINGLE POST MULTI-PAGE PAGINATION (SANGAT MENCOLOK & JELAS)
   ========================================================================= */
.entarnews-single-pagination {
  margin: 40px 0 30px;
  padding: 22px 24px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.aft-dark-mode .entarnews-single-pagination {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.entarnews-pag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

body.aft-dark-mode .entarnews-pag-header {
  border-bottom-color: #334155;
}

.entarnews-pag-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: var(--en-primary, #e63946);
  padding: 5px 14px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(230, 57, 70, 0.35);
}

.entarnews-pag-desc {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

body.aft-dark-mode .entarnews-pag-desc {
  color: #94a3b8;
}

.entarnews-pag-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.entarnews-pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 0 !important;
  transform: skewX(-14deg);
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.entarnews-pag-btn > *,
.entarnews-pag-btn i {
  display: inline-block;
  transform: skewX(14deg);
}

body.aft-dark-mode .entarnews-pag-btn {
  background: #0f172a;
  color: #f1f5f9;
  border-color: #475569;
}

.entarnews-pag-btn:hover {
  background: var(--en-primary, #e63946);
  color: #ffffff;
  border-color: var(--en-primary, #e63946);
  transform: skewX(-14deg) translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35);
}

.entarnews-pag-btn.is-active {
  background: var(--en-primary, #e63946);
  color: #ffffff;
  border-color: var(--en-primary, #e63946);
  font-weight: 900;
  cursor: default;
  transform: skewX(-14deg);
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.45);
}

.entarnews-pag-btn.entarnews-pag-all {
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  gap: 7px;
  padding: 0 18px;
  background: #f1f5f9;
  border-color: #94a3b8;
}

body.aft-dark-mode .entarnews-pag-btn.entarnews-pag-all {
  background: #334155;
  border-color: #64748b;
  color: #f8fafc;
}

.entarnews-pag-btn.entarnews-pag-all.is-active {
  background: var(--en-primary, #e63946);
  border-color: var(--en-primary, #e63946);
  color: #ffffff;
}

.entarnews-pag-prev,
.entarnews-pag-next {
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
}

/* =========================================================================
   ARTICLE RELATED POSTS (DI BAWAH ARTIKEL - 5 GAYA RAPI & MODERN)
   ========================================================================= */
.entarnews-article-related-wrap {
  margin-top: 45px;
  padding-top: 30px;
  border-top: 2px solid var(--en-card-border, #e9ecef);
}

.entarnews-related-header {
  margin-bottom: 24px;
}

/* GAYA 1: 3-Column Modern Grid */
.entarnews-rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 991px) {
  .entarnews-rel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .entarnews-rel-grid {
    grid-template-columns: 1fr;
  }
}

.entarnews-rel-card {
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.aft-dark-mode .entarnews-rel-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.entarnews-rel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

body.aft-dark-mode .entarnews-rel-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  border-color: #475569;
}

.entarnews-rel-card-thumb {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #0f172a;
}

.entarnews-rel-card-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.entarnews-rel-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.entarnews-rel-card:hover .entarnews-rel-card-thumb img {
  transform: scale(1.08);
}

.entarnews-rel-kicker {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--en-primary, #e63946);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.entarnews-rel-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 12px;
}

.entarnews-rel-card-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
}

.entarnews-rel-card-title a {
  color: var(--en-text-main, #0f172a);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.aft-dark-mode .entarnews-rel-card-title a {
  color: #f8fafc;
}

.entarnews-rel-card-title a:hover {
  color: var(--en-primary, #e63946);
}

.entarnews-rel-card-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.aft-dark-mode .entarnews-rel-card-meta {
  color: #94a3b8;
}

/* GAYA 2: 2-Column Horizontal Focus Cards */
.entarnews-rel-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 680px) {
  .entarnews-rel-horizontal-grid {
    grid-template-columns: 1fr;
  }
}

.entarnews-rel-horizontal-card {
  display: flex;
  gap: 14px;
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.aft-dark-mode .entarnews-rel-horizontal-card {
  background: #1e293b;
  border-color: #334155;
}

.entarnews-rel-horizontal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.rel-h-thumb {
  position: relative;
  width: 140px;
  height: 105px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

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

.entarnews-rel-horizontal-card:hover .rel-h-thumb img {
  transform: scale(1.08);
}

.rel-h-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: var(--en-primary, #e63946);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
}

.rel-h-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.rel-h-title {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
}

.rel-h-title a {
  color: var(--en-text-main, #0f172a);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.aft-dark-mode .rel-h-title a {
  color: #f8fafc;
}

.rel-h-title a:hover {
  color: var(--en-primary, #e63946);
}

.rel-h-excerpt {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.rel-h-meta {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* GAYA 3: Magazine Split Layout */
.entarnews-rel-split-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}

@media (max-width: 768px) {
  .entarnews-rel-split-layout {
    grid-template-columns: 1fr;
  }
}

.rel-lead-card {
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.aft-dark-mode .rel-lead-card {
  background: #1e293b;
  border-color: #334155;
}

.rel-lead-thumb-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: block;
}

.rel-lead-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rel-lead-card:hover .rel-lead-thumb-wrap img {
  transform: scale(1.08);
}

.rel-lead-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--en-primary, #e63946);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.rel-lead-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.rel-lead-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.rel-lead-title a {
  color: var(--en-text-main, #0f172a);
  text-decoration: none;
}

body.aft-dark-mode .rel-lead-title a {
  color: #f8fafc;
}

.rel-lead-title a:hover {
  color: var(--en-primary, #e63946);
}

.rel-lead-excerpt {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.rel-lead-meta {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rel-split-stacked {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rel-stacked-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: 10px;
  transition: transform 0.2s ease;
}

body.aft-dark-mode .rel-stacked-item {
  background: #1e293b;
  border-color: #334155;
}

.rel-stacked-item:hover {
  transform: translateX(4px);
}

.rel-stacked-thumb {
  width: 90px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.rel-stacked-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rel-stacked-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rel-stacked-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--en-primary, #e63946);
}

.rel-stacked-title {
  margin: 2px 0 4px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.rel-stacked-title a {
  color: var(--en-text-main, #0f172a);
  text-decoration: none;
}

body.aft-dark-mode .rel-stacked-title a {
  color: #f8fafc;
}

.rel-stacked-title a:hover {
  color: var(--en-primary, #e63946);
}

.rel-stacked-time {
  font-size: 11px;
  color: #94a3b8;
}

/* GAYA 4: Minimal Compact List */
.entarnews-rel-minimal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rel-minimal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

body.aft-dark-mode .rel-minimal-item {
  background: #1e293b;
  border-color: #334155;
}

.rel-minimal-item:hover {
  transform: translateX(4px);
  border-color: var(--en-primary, #e63946);
}

.rel-minimal-thumb {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.rel-minimal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rel-minimal-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rel-minimal-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--en-primary, #e63946);
}

.rel-minimal-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
}

.rel-minimal-title a {
  color: var(--en-text-main, #0f172a);
  text-decoration: none;
}

body.aft-dark-mode .rel-minimal-title a {
  color: #f8fafc;
}

.rel-minimal-title a:hover {
  color: var(--en-primary, #e63946);
}

.rel-minimal-meta {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* GAYA 5: Modern Numbered Listicle */
.entarnews-rel-numbered-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rel-num-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

body.aft-dark-mode .rel-num-item {
  background: #1e293b;
  border-color: #334155;
}

.rel-num-item:hover {
  transform: translateX(4px);
  border-color: var(--en-primary, #e63946);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.rel-num-counter {
  font-size: 26px;
  font-weight: 900;
  color: var(--en-primary, #e63946);
  line-height: 1;
  min-width: 38px;
  text-align: center;
  opacity: 0.85;
}

.rel-num-thumb {
  width: 76px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.rel-num-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rel-num-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rel-num-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--en-primary, #e63946);
}

.rel-num-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
}

.rel-num-title a {
  color: var(--en-text-main, #0f172a);
  text-decoration: none;
}

body.aft-dark-mode .rel-num-title a {
  color: #f8fafc;
}

.rel-num-title a:hover {
  color: var(--en-primary, #e63946);
}

.rel-num-meta {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =========================================================================
   ARCHIVE & SEARCH FEATURE BLOCKS (TOP & BOTTOM)
   ========================================================================= */
.entarnews-archive-featured-wrap {
  margin-bottom: 35px;
}

.entarnews-archive-bottom-blocks {
  margin-top: 40px;
}

.entarnews-archive-block-item {
  margin-bottom: 30px;
}

.entarnews-archive-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 30px 0 24px;
}

.entarnews-archive-divider-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--en-text-muted, #6c757d);
  white-space: nowrap;
}

.entarnews-archive-divider-line {
  flex: 1;
  height: 2px;
  background: var(--en-card-border, #e9ecef);
  border-radius: var(--en-radius-full, 9999px);
}

/* =========================================================================
   RELATED POSTS - 5 DISTINCT STYLE VARIATIONS
   ========================================================================= */

/* --- Style 2: 2-Column Horizontal Cards --- */
.entarnews-rel-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.entarnews-rel-horizontal-card {
  display: flex;
  gap: 15px;
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: var(--en-radius-md, 10px);
  overflow: hidden;
  padding: 12px;
  box-shadow: var(--en-shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
  transition: var(--en-transition);
}

.entarnews-rel-horizontal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--en-shadow-md, 0 6px 18px rgba(0,0,0,0.08));
}

.rel-h-thumb {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  height: 110px;
  border-radius: var(--en-radius-sm, 6px);
  overflow: hidden;
}

.rel-h-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.entarnews-rel-horizontal-card:hover .rel-h-thumb img {
  transform: scale(1.08);
}

.rel-h-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--en-primary, #e63946);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.rel-h-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.rel-h-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.rel-h-title a {
  color: var(--en-text-main, #1a1a1a);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rel-h-title a:hover {
  color: var(--en-primary, #e63946);
}

.rel-h-excerpt {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--en-text-muted, #6c757d);
  line-height: 1.4;
}

.rel-h-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--en-text-muted, #6c757d);
}

/* --- Style 3: Magazine Split (Lead + Stacked) --- */
.entarnews-rel-split-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}

.rel-lead-card {
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: var(--en-radius-md, 10px);
  overflow: hidden;
  box-shadow: var(--en-shadow-sm, 0 2px 8px rgba(0,0,0,0.05));
  transition: var(--en-transition);
}

.rel-lead-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--en-shadow-md, 0 8px 24px rgba(0,0,0,0.1));
}

.rel-lead-thumb-wrap {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
}

.rel-lead-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rel-lead-card:hover .rel-lead-thumb-wrap img {
  transform: scale(1.06);
}

.rel-lead-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--en-primary, #e63946);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.rel-lead-body {
  padding: 16px;
}

.rel-lead-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}

.rel-lead-title a {
  color: var(--en-text-main, #1a1a1a);
  text-decoration: none;
}

.rel-lead-title a:hover {
  color: var(--en-primary, #e63946);
}

.rel-lead-excerpt {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--en-text-muted, #6c757d);
  line-height: 1.45;
}

.rel-lead-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--en-text-muted, #6c757d);
}

.rel-split-stacked {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rel-stacked-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: var(--en-radius-md, 10px);
  padding: 10px;
  transition: var(--en-transition);
}

.rel-stacked-item:hover {
  transform: translateX(4px);
  border-color: var(--en-card-hover-border, #d3d7dc);
}

.rel-stacked-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 65px;
  border-radius: 6px;
  overflow: hidden;
}

.rel-stacked-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rel-stacked-content {
  flex: 1;
  min-width: 0;
}

.rel-stacked-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--en-primary, #e63946);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rel-stacked-title {
  margin: 2px 0 4px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.rel-stacked-title a {
  color: var(--en-text-main, #1a1a1a);
  text-decoration: none;
}

.rel-stacked-title a:hover {
  color: var(--en-primary, #e63946);
}

.rel-stacked-time {
  font-size: 0.72rem;
  color: var(--en-text-muted, #6c757d);
}

/* --- Style 4: Minimal Compact List --- */
.entarnews-rel-minimal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rel-minimal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: var(--en-radius-md, 10px);
  transition: var(--en-transition);
}

.rel-minimal-item:hover {
  background: rgba(230, 57, 70, 0.02);
  border-color: var(--en-primary, #e63946);
  transform: translateX(4px);
}

.rel-minimal-thumb {
  flex-shrink: 0;
  width: 75px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
}

.rel-minimal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rel-minimal-details {
  flex: 1;
  min-width: 0;
}

.rel-minimal-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--en-primary, #e63946);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rel-minimal-title {
  margin: 2px 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.rel-minimal-title a {
  color: var(--en-text-main, #1a1a1a);
  text-decoration: none;
}

.rel-minimal-title a:hover {
  color: var(--en-primary, #e63946);
}

.rel-minimal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--en-text-muted, #6c757d);
}

/* --- Style 5: Numbered Listicle --- */
.entarnews-rel-numbered-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rel-num-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: var(--en-radius-md, 10px);
  transition: var(--en-transition);
}

.rel-num-item:hover {
  border-color: var(--en-primary, #e63946);
  transform: translateX(4px);
  box-shadow: var(--en-shadow-sm, 0 2px 8px rgba(0,0,0,0.05));
}

.rel-num-counter {
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--en-primary, #e63946);
  line-height: 1;
  min-width: 32px;
  text-align: center;
  font-family: inherit;
}

.rel-num-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
}

.rel-num-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rel-num-content {
  flex: 1;
  min-width: 0;
}

.rel-num-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--en-text-muted, #6c757d);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rel-num-title {
  margin: 2px 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.rel-num-title a {
  color: var(--en-text-main, #1a1a1a);
  text-decoration: none;
}

.rel-num-title a:hover {
  color: var(--en-primary, #e63946);
}

.rel-num-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--en-text-muted, #6c757d);
}

@media (max-width: 768px) {
  .entarnews-rel-horizontal-grid {
    grid-template-columns: 1fr;
  }
  .entarnews-rel-split-layout {
    grid-template-columns: 1fr;
  }
  .rel-lead-thumb-wrap {
    height: 180px;
  }
}

/* =========================================================================
   EntarNews Responsive Logo Boundary Safeguards
   ========================================================================= */
.site-branding .custom-logo-link,
.logo-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  vertical-align: middle;
  text-decoration: none;
}

.site-branding img.custom-logo,
.logo-brand img.custom-logo,
.main-header .logo-brand img {
  max-width: 100%;
  width: auto;
  height: auto !important;
  max-height: none;
  object-fit: contain;
  box-sizing: border-box;
  display: block;
}

@media (max-width: 991px) {
  .site-branding img.custom-logo,
  .logo-brand img.custom-logo,
  .main-header .logo-brand img {
    max-width: min(220px, 100%);
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 640px) {
  .logo-brand {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .site-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  .site-branding img.custom-logo,
  .logo-brand img.custom-logo,
  .main-header .logo-brand img {
    max-width: min(180px, 100%) !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
  }
}

/* =========================================================================
   EntarNews Homepage 1-Row 5 Headlines (No Images) & Pagination
   ========================================================================= */
.entarnews-homepage-latest-section,
.authorpress-homepage-latest-section {
  margin: 55px 0 75px;
  padding-bottom: 25px;
  position: relative;
  clear: both;
}

.entarnews-latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--en-card-border, #e9ecef);
  position: relative;
  flex-wrap: wrap;
  gap: 12px;
}

.entarnews-latest-head::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 2px;
  background: var(--en-primary, #e63946);
  border-radius: var(--en-radius-full, 9999px);
}

.entarnews-latest-title-wrap {
  display: flex;
  flex-direction: column;
}

.entarnews-latest-head .entarnews-block-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--en-text-main, #1a1a1a);
  display: flex;
  align-items: center;
  gap: 8px;
}

.entarnews-latest-head .entarnews-block-title i {
  color: var(--en-primary, #e63946);
  font-size: 1.2rem;
}

.entarnews-latest-head .entarnews-block-subtitle {
  font-size: 0.82rem;
  color: var(--en-text-muted, #6c757d);
  margin-top: 4px;
  font-weight: 500;
}

.entarnews-latest-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(230, 57, 70, 0.1);
  color: var(--en-primary, #e63946);
  padding: 4px 12px;
  border-radius: var(--en-radius-full, 9999px);
  border: 1px solid rgba(230, 57, 70, 0.25);
}

/* 5 Media Cards Per Row (Image + Title Only) */
.entarnews-latest-headlines-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  row-gap: 28px;
  margin-bottom: 30px;
}

.entarnews-headline-card,
.authorpress-latest-media-card {
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #e9ecef);
  border-radius: var(--en-radius-md, 8px);
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--en-shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.entarnews-headline-card:hover,
.authorpress-latest-media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--en-shadow-md, 0 10px 24px rgba(0,0,0,0.08));
  border-color: var(--en-primary, #e63946);
}

.entarnews-headline-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

body.aft-dark-mode .entarnews-headline-media {
  background: #1e293b;
}

.entarnews-headline-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.entarnews-headline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.entarnews-headline-card:hover .entarnews-headline-img {
  transform: scale(1.08);
}

.entarnews-headline-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(230,57,70,0.1), rgba(29,53,87,0.1));
  color: var(--en-text-muted, #94a3b8);
  font-size: 2.2rem;
}

.entarnews-headline-title {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 8px 8px 10px !important;
  color: var(--en-text-main, #1a1a1a);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  flex-grow: 1;
}

.entarnews-headline-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.entarnews-headline-card:hover .entarnews-headline-title a {
  color: var(--en-primary, #e63946);
}

/* Homepage Pagination Bar (Proper Spacing & Slanted Edgy Boxes) */
.entarnews-homepage-pagination-wrapper,
.authorpress-homepage-pagination-wrapper {
  margin-top: 60px;
  margin-bottom: 50px;
  padding-top: 38px;
  border-top: 1px solid var(--en-card-border, #e9ecef);
  text-align: center;
  width: 100%;
  clear: both;
  position: relative;
  z-index: 5;
}

body.aft-dark-mode .entarnews-homepage-pagination-wrapper,
body.aft-dark-mode .authorpress-homepage-pagination-wrapper {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.entarnews-frontpage-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ALL PAGINATION: Kotak Agak Menceng (Slanted Parallelogram) Bukan Bulat */
.entarnews-frontpage-pagination .page-numbers {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 16px;
  border-radius: 0 !important; /* Bukan Bulat */
  transform: skewX(-14deg) !important; /* Kotak Agak Menceng */
  background: var(--en-card-bg, #ffffff);
  border: 1px solid var(--en-card-border, #cbd5e1);
  color: var(--en-text-main, #1e293b);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--en-shadow-sm, 0 2px 6px rgba(0,0,0,0.05));
  transition: all 0.22s ease;
  box-sizing: border-box;
}

.entarnews-frontpage-pagination .page-numbers > *,
.entarnews-frontpage-pagination .page-numbers i {
  display: inline-block;
  transform: skewX(14deg);
}

.entarnews-frontpage-pagination .page-numbers:hover {
  background: var(--en-primary, #e63946) !important;
  border-color: var(--en-primary, #e63946) !important;
  color: #ffffff !important;
  transform: skewX(-14deg) translateY(-3px) !important;
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35) !important;
}

.entarnews-frontpage-pagination .page-numbers.current {
  background: var(--en-primary, #e63946) !important;
  border-color: var(--en-primary, #e63946) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.38) !important;
  pointer-events: none;
  cursor: default;
  transform: skewX(-14deg) !important;
}

.entarnews-frontpage-pagination .page-numbers.dots {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--en-text-muted, #6c757d) !important;
  font-weight: 800;
  min-width: 24px;
  padding: 0;
  transform: none !important;
}

body.aft-dark-mode .entarnews-frontpage-pagination .page-numbers {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .entarnews-latest-headlines-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .entarnews-latest-headlines-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .entarnews-headline-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .entarnews-latest-headlines-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* =========================================================================
   AUTHORPRESS 6 SIDEBAR WIDGETS STYLING
   ========================================================================= */

.abp-widget-title-icon {
  color: var(--abp-color-blue-600, #2563eb);
  margin-right: 6px;
  display: inline-block;
}

/* Featured Card in Sidebar */
.ap-widget-featured-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--abp-color-slate-200, #e2e8f0);
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ap-widget-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.ap-widget-featured-thumb {
  position: relative;
  height: 165px;
  overflow: hidden;
  background: #0f172a;
}

.ap-widget-featured-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.ap-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ap-widget-featured-card:hover .ap-featured-img {
  transform: scale(1.05);
}

.ap-widget-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 9999px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.ap-badge-latest {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.ap-badge-random {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.ap-widget-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  z-index: 2;
}

.ap-widget-fire {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  z-index: 2;
}

.ap-widget-featured-body {
  padding: 14px 16px;
}

.ap-widget-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--abp-color-blue-600, #2563eb);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.ap-widget-featured-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 700;
}

.ap-widget-featured-title a {
  color: var(--abp-color-slate-900, #0f172a);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ap-widget-featured-title a:hover {
  color: var(--abp-color-blue-600, #2563eb);
}

.ap-widget-featured-excerpt {
  font-size: 0.82rem;
  color: var(--abp-color-slate-600, #475569);
  margin: 0 0 10px;
  line-height: 1.5;
}

.ap-widget-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--abp-color-slate-500, #64748b);
}

/* Sub-List in Sidebar Widgets */
.ap-widget-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ap-widget-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--abp-color-slate-100, #f1f5f9);
}

.ap-widget-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ap-widget-list-thumb {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
}

.ap-widget-list-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

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

.ap-widget-list-item:hover .ap-list-img {
  transform: scale(1.08);
}

.ap-widget-list-content {
  min-width: 0;
  flex: 1;
}

.ap-widget-kicker-sm {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--abp-color-blue-600, #2563eb);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.ap-widget-list-title {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 4px;
}

.ap-widget-list-title a {
  color: var(--abp-color-slate-900, #0f172a);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ap-widget-list-title a:hover {
  color: var(--abp-color-blue-600, #2563eb);
}

.ap-widget-time-sm,
.ap-widget-meta-sm {
  font-size: 0.72rem;
  color: var(--abp-color-slate-400, #94a3b8);
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Popular Rank List */
.ap-popular-rank-num {
  font-size: 1.15rem;
  font-weight: 800;
  min-width: 26px;
  text-align: center;
  color: var(--abp-color-slate-300, #cbd5e1);
  font-family: inherit;
  flex-shrink: 0;
}

.ap-popular-rank-num.rank-top {
  color: #f59e0b;
}

/* =========================================================================
   4. SIDEBAR SLIDER WIDGET
   ========================================================================= */
.authorpress-sidebar-slider {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background: #0f172a;
}

.ap-slider-slides {
  position: relative;
  width: 100%;
  height: 250px;
}

.ap-slider-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease-in-out, transform 0.45s ease-in-out;
  transform: scale(0.98);
}

.ap-slider-item.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.ap-slider-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ap-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(15, 23, 42, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
  z-index: 3;
}

.ap-slider-badge {
  background: var(--abp-color-blue-600, #2563eb);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  align-self: flex-start;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ap-slider-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.ap-slider-title a {
  color: #ffffff;
  text-decoration: none;
}

.ap-slider-title a:hover {
  color: #93c5fd;
}

.ap-slider-meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  display: flex;
  gap: 6px;
  align-items: center;
}

.ap-slider-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.ap-slider-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  padding: 0;
}

.ap-slider-btn:hover {
  background: var(--abp-color-blue-600, #2563eb);
  color: #ffffff;
  border-color: transparent;
}

.ap-slider-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0 4px;
}

.ap-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.ap-slider-dot.is-active {
  width: 16px;
  border-radius: 4px;
  background: var(--abp-color-blue-600, #2563eb);
}

/* =========================================================================
   5. QUOTE TODAY WIDGET
   ========================================================================= */
.authorpress-quote-box {
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ap-quote-decorative-icon {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 3.8rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

.ap-quote-content-wrap {
  position: relative;
  z-index: 2;
}

.ap-quote-text {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 16px;
  color: #f1f5f9;
  min-height: 54px;
  transition: opacity 0.25s ease;
}

.ap-quote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.ap-quote-author {
  font-size: 0.84rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

.ap-quote-name {
  color: #38bdf8;
}

.ap-quote-shuffle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #e2e8f0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.ap-quote-shuffle-btn:hover {
  background: var(--abp-color-blue-600, #2563eb);
  color: #ffffff;
  transform: rotate(180deg);
}

/* =========================================================================
   6. AUTHOR PROFILE BOX WIDGET
   ========================================================================= */
.authorpress-author-widget-card {
  background: #ffffff;
  border: 1px solid var(--abp-color-slate-200, #e2e8f0);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ap-author-card-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
}

.ap-author-widget-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: block;
}

.ap-author-verified {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  background: #0284c7;
  color: #ffffff;
  border-radius: 50%;
  border: 2px solid #ffffff;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-author-widget-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--abp-color-slate-900, #0f172a);
}

.ap-author-widget-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--abp-color-blue-600, #2563eb);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 10px;
}

.ap-author-widget-bio {
  font-size: 0.84rem;
  color: var(--abp-color-slate-600, #475569);
  line-height: 1.55;
  margin: 0 0 16px;
}

.ap-author-social-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.ap-author-soc-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--abp-color-slate-100, #f1f5f9);
  color: var(--abp-color-slate-600, #475569);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ap-author-soc-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.ap-author-soc-btn.fb:hover {
  background: #1877f2;
}

.ap-author-soc-btn.tw:hover {
  background: #000000;
}

.ap-author-soc-btn.ig:hover {
  background: #e1306c;
}

.ap-author-soc-btn.in:hover {
  background: #0a66c2;
}

.ap-author-soc-btn.web:hover {
  background: #0284c7;
}

.ap-author-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--abp-color-slate-900, #0f172a);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ap-author-cta-btn:hover {
  background: var(--abp-color-blue-600, #2563eb);
  color: #ffffff;
}

/* =========================================================================
   MASTER RULES: KOTAK TAJAM MENCENG (SEMUA KOTAK, 10 BLOCKS, CATEGORY, TAGS, AUTHOR)
   ========================================================================= */

/* 1. All Cards & Article Boxes: Kotak Tajam (Sharp Corners, No Rounding) */
.entarnews-post-card,
.entarnews-block-card,
.entarnews-block-item,
.entarnews-headline-card,
.authorpress-latest-media-card,
.gp-lead-card,
.gp-subgrid-card,
.gennews-lead-card,
.gennews-card,
.wehope-card,
.hypepress-card,
.entarnews-hero-card,
.authorpress-story-item,
.authorpress-story-circle,
.authorpress-story-avatar,
.authorpress-story-img,
.authorpress-story-card,
.entarnews-header-pill,
.entarnews-block-header::after,
.entarnews-post-thumb,
.read-single,
.read-img,
.color-pad,
.read-bg-img,
.abp-card,
.abp-article-card,
.abp-grid-post,
.abp-promo-banner,
.authorpress-author-box,
.ap-widget-card,
.widget,
.abp-widget,
.author-header-box,
.archive-header-box,
.category-header-box,
.entarnews-block-section,
.authorpress-floating-widget,
.entarnews-incontent-readalso,
.abp-marquee-card,
.abp-comment-item,
article.post {
  border-radius: 0 !important;
}

/* Sharp Media Containers: Gubuk Penceng (-4deg namun ga penceng amat) */
.entarnews-headline-media,
.entarnews-post-thumb,
.gp-lead-media,
.gp-subgrid-media,
.gennews-lead-media,
.gennews-card-media,
.wehope-card-media,
.hypepress-card-media,
.read-img,
.read-bg-img,
.color-pad .read-img,
.entarnews-hero-media,
.abp-article-card__media,
.abp-post-card__media,
.entry-media,
.post-thumbnail,
.abp-marquee-card-media,
.ap-widget-thumb,
.entarnews-story-ring,
.authorpress-story-ring,
.entarnews-story-avatar-wrap,
.authorpress-story-avatar-wrap {
  border-radius: 0 !important;
  transform: skewX(-4deg) !important; /* Gubuk Penceng halus */
  overflow: hidden !important;
  position: relative;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.entarnews-headline-media img,
.entarnews-post-thumb img,
.gp-lead-media img,
.gp-subgrid-media img,
.gennews-lead-media img,
.gennews-card-media img,
.wehope-card-media img,
.hypepress-card-media img,
.read-img img,
.read-bg-img img,
.color-pad .read-img img,
.entarnews-hero-media img,
.abp-article-card img,
.abp-grid-post img,
.abp-article-card__media img,
.abp-post-card__media img,
.entry-media img,
.post-thumbnail img,
.abp-marquee-card-media img,
.abp-marquee-card-img,
.ap-widget-thumb img,
.entarnews-story-avatar,
.authorpress-story-avatar {
  border-radius: 0 !important;
  transform: skewX(4deg) scale(1.08) !important;
  transition: opacity 0.3s ease !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* KETIKA GAMBAR DIKENAI MOUSE JANGAN DIBUAT KAYAK NGEZOOM:
   Pertahankan posisi/skala tetap 1.08 tanpa membesar/zoom */
.entarnews-headline-card:hover .entarnews-headline-media img,
.gp-lead-card:hover .gp-lead-media img,
.gp-subgrid-card:hover .gp-subgrid-media img,
.gennews-card:hover .gennews-card-media img,
.wehope-card:hover .wehope-card-media img,
.hypepress-card:hover .hypepress-card-media img,
.abp-article-card:hover .abp-article-card__media img,
.abp-post-card:hover .abp-post-card__media img,
.abp-marquee-card:hover .abp-marquee-card-media img,
.abp-marquee-card:hover .abp-marquee-card-img,
.entarnews-story-item:hover .entarnews-story-avatar,
.authorpress-story-item:hover .authorpress-story-avatar,
.ap-widget-item:hover .ap-widget-thumb img,
.entarnews-post-thumb:hover img,
article:hover .read-img img,
article.post:hover .entry-media img,
article.post:hover .post-thumbnail img {
  transform: skewX(4deg) scale(1.08) !important; /* NO ZOOM ON HOVER! */
}

/* 2. All Badges, Category Tags, Kickers & Labels: Kotak Tajam Menceng */
.entarnews-post-cat,
.entarnews-kicker,
.entarnews-headline-kicker,
.abp-badge,
.abp-cat-badge,
.category-badge,
.ap-cat-badge,
.abp-marquee-card-cat,
.abp-marquee-badge-tag,
.entarnews-block-badge,
.entarnews-latest-badge,
.entarnews-pag-badge,
.author-badge,
.abp-tag-pill,
.abp-footer-tag-pill,
.tag-cloud-link,
.wp-block-tag-cloud a {
  border-radius: 0 !important;
  transform: skewX(-14deg);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.entarnews-post-cat > *,
.entarnews-kicker > *,
.entarnews-headline-kicker > *,
.abp-badge > *,
.abp-cat-badge > *,
.category-badge > *,
.ap-cat-badge > *,
.abp-marquee-card-cat > *,
.abp-marquee-badge-tag > *,
.entarnews-block-badge > *,
.entarnews-latest-badge > *,
.entarnews-pag-badge > *,
.author-badge > *,
.abp-tag-pill > *,
.tag-cloud-link > * {
  display: inline-block;
  transform: skewX(14deg);
}

/* 3. All Buttons & CTA Elements: Kotak Tajam Menceng */
.abp-btn,
.btn-authorpress,
.entarnews-btn,
.ap-author-cta-btn,
.authorpress-quote-shuffle-btn,
.abp-read-more,
.abp-hero-btn {
  border-radius: 0 !important;
  transform: skewX(-14deg);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
}

.abp-btn > *,
.btn-authorpress > *,
.entarnews-btn > *,
.ap-author-cta-btn > *,
.authorpress-quote-shuffle-btn > *,
.abp-read-more > * {
  display: inline-block;
  transform: skewX(14deg);
}

.abp-btn:hover,
.btn-authorpress:hover,
.entarnews-btn:hover,
.ap-author-cta-btn:hover {
  transform: skewX(-14deg) translateY(-2px);
}

/* 4. All Pagination Across Theme (Category, Tag, Author, Archive, Frontpage): Kotak Tajam Menceng */
.page-numbers,
.entarnews-frontpage-pagination .page-numbers,
.abp-pagination .page-numbers,
.navigation.pagination .page-numbers,
.entarnews-pag-btn,
.authorpress-single-pagination .entarnews-pag-btn,
.authorpress-split-pagination .page-numbers,
.post-page-numbers,
.page-links a,
.page-links > span {
  border-radius: 0 !important;
  transform: skewX(-14deg) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
}

.page-numbers > *,
.page-numbers i,
.page-numbers svg,
.entarnews-pag-btn > *,
.entarnews-pag-btn i {
  display: inline-block;
  transform: skewX(14deg);
}

.page-numbers:hover:not(.current):not(.dots),
.entarnews-pag-btn:hover {
  transform: skewX(-14deg) translateY(-2px) !important;
}

.page-numbers.current,
.entarnews-pag-btn.is-active {
  transform: skewX(-14deg) !important;
}

.page-numbers.dots {
  transform: none !important;
}

/* 5. Seamless Footer Style (Warna Menyatu, Tidak Kontras) */
.abp-site-footer {
  background-color: var(--en-card-bg, #ffffff) !important;
  color: var(--en-text-muted, #64748b) !important;
  border-top: 1px solid var(--en-card-border, #e2e8f0) !important;
}

body.aft-dark-mode .abp-site-footer {
  background-color: #0b1120 !important;
  color: #94a3b8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* =========================================================================
   SINGLE POST: RELATED ARTICLES & STORIES (KOTAK KECIL - 1 ROW 3 LIST)
   ========================================================================= */
.authorpress-single-related-section {
  margin-top: 36px;
  margin-bottom: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--en-card-border, #e2e8f0);
}

.authorpress-single-related-section .authorpress-block-header {
  margin-bottom: 16px;
}

.authorpress-single-related-section .entarnews-block-title {
  font-size: 1.05rem;
  font-weight: 800;
}

/* 1 Row 3 List: Grid 3 Kolom Sejajar */
.authorpress-related-row-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 14px !important;
}

/* Kotak Kecil */
.authorpress-related-card {
  background: var(--en-card-bg, #ffffff) !important;
  border: 1px solid var(--en-card-border, #e2e8f0) !important;
  border-radius: 0 !important; /* Kotak tajam Gubug Penceng */
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  padding: 0 !important;
}

.authorpress-related-card:hover {
  border-color: var(--en-primary, #e63946) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

/* Thumbnail Kecil Gubug Penceng */
.authorpress-related-thumb {
  height: 110px !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  transform: skewX(-4deg) !important; /* Gubug Penceng */
  margin: 6px 6px 0 !important;
  background: #f1f5f9;
}

.authorpress-related-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
  transform: skewX(4deg) scale(1.08) !important;
  transition: opacity 0.3s ease !important;
}

/* Ketika Gambar dikenai Mouse jangan dibuat Kayak Ngezoom */
.authorpress-related-card:hover .authorpress-related-img,
.authorpress-related-thumb:hover .authorpress-related-img {
  transform: skewX(4deg) scale(1.08) !important; /* NO ZOOM ON HOVER */
}

/* Category Badge Kecil */
.authorpress-related-cat {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  color: #fff !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 2px 6px !important;
  border-radius: 0 !important;
  transform: skewX(-4deg) !important;
  line-height: 1.2 !important;
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* Body Kotak Kecil */
.authorpress-related-body {
  padding: 10px 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

/* Judul Artikel Kecil & Rapi */
.authorpress-related-title {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  color: var(--en-text-main, #0f172a) !important;
}

.authorpress-related-title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.authorpress-related-title a:hover {
  color: var(--en-primary, #e63946) !important;
}

/* Footer / Meta Compact */
.authorpress-related-footer {
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.68rem !important;
  color: var(--en-text-muted, #94a3b8) !important;
  padding-top: 6px !important;
  border-top: 1px dashed rgba(0, 0, 0, 0.07) !important;
}

body.aft-dark-mode .authorpress-related-footer {
  border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
}

/* Responsive Handling */
@media (max-width: 680px) {
  .authorpress-related-row-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .authorpress-related-thumb {
    height: 80px !important;
    margin: 4px 4px 0 !important;
  }
  .authorpress-related-body {
    padding: 6px !important;
  }
  .authorpress-related-title {
    font-size: 0.72rem !important;
    -webkit-line-clamp: 2 !important;
    margin-bottom: 4px !important;
  }
  .authorpress-related-footer {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .authorpress-related-row-3 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .authorpress-related-card {
    flex-direction: row !important;
    align-items: center !important;
  }
  .authorpress-related-thumb {
    width: 90px !important;
    height: 75px !important;
    flex-shrink: 0 !important;
    margin: 6px 0 6px 6px !important;
  }
  .authorpress-related-footer {
    display: flex !important;
  }
}



