/* =========================
   Layout Artikel (Wrapper)
========================= */

.tulisan_singel {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.2rem 3rem;
  background: #fff;
  position: relative;
}


/* Garis tipis aesthetic kiri */
.tulisan_singel::before {
  content: "";
  position: absolute;
  top: 0;
  left: -12px;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    #1a73e8,
    transparent
  );
  opacity: 0.3;
}



/* =========================
   Paragraf (Lebih Enak Baca)
========================= */

.tulisan_singel p {
  margin-bottom: 1.3rem;
  letter-spacing: 0.01em;
}


/* Paragraf pembuka (lead) */
.tulisan_singel p:first-of-type {
  font-size: 1.05rem;
  color: #374151;
  font-weight: 500;
}



/* =========================
   Heading Editorial Style
========================= */

.tulisan_singel h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 1.8rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tulisan_singel h2 {
  font-size: 1.9rem;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border-left: 5px solid #1a73e8;
  background: linear-gradient(
    to right,
    rgba(26,115,232,0.05),
    transparent
  );
}

.tulisan_singel h3 {
  font-size: 1.55rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 0.5rem;
}

.tulisan_singel h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: #1a73e8;
  border-radius: 50%;
}

.tulisan_singel h4 {
  font-size: 1.25rem;
  margin-top: 2rem;
  font-weight: 700;
}

.tulisan_singel h5 {
  font-size: 1.05rem;
  margin-top: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #374151;
}

.tulisan_singel h6 {
  font-size: 0.95rem;
  margin-top: 1.4rem;
  font-weight: 600;
  color: #6b7280;
  font-style: italic;
}



/* =========================
   Quote Premium
========================= */

.tulisan_singel blockquote {
  position: relative;
  border-left: none;
  padding: 1.5rem 2rem;
  background: linear-gradient(
    135deg,
    #f9fafb,
    #eef2ff
  );
  border-radius: 12px;
  margin: 2rem 0;
}

.tulisan_singel blockquote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 4rem;
  color: #1a73e8;
  opacity: 0.15;
  font-family: serif;
}



/* =========================
   List Modern
========================= */

.tulisan_singel ul li,
.tulisan_singel ol li {
  padding-left: 0.2rem;
  line-height: 1.7;
}

.tulisan_singel ul li::marker {
  color: #1a73e8;
}

.tulisan_singel ol li::marker {
  color: #1a73e8;
  font-weight: 600;
}



/* =========================
   Table Clean
========================= */

.tulisan_singel table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tulisan_singel tr:hover td {
  background: #f9fafb;
}



/* =========================
   Image Hover Effect
========================= */

.tulisan_singel img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tulisan_singel img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}



/* =========================
   Code Block Premium
========================= */

.tulisan_singel pre {
  position: relative;
  background: #0f172a;
  color: #e5e7eb;
  padding: 1.5rem;
}

.tulisan_singel pre::before {
  content: "Code";
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 0.7rem;
  opacity: 0.5;
}



/* =========================
   Mobile Optimization
========================= */

@media (max-width: 640px) {

  .tulisan_singel {
    padding: 1rem 1rem 2rem;
  }

  .tulisan_singel h1 {
    font-size: 1.7rem;
  }

  .tulisan_singel h2 {
    font-size: 1.4rem;
  }

  .tulisan_singel h3 {
    font-size: 1.2rem;
  }

}
