
/* ======================================
   TEKNOIF HOMEPAGE BODY
   OJS 3.5.0.5
   Header existing tetap dipertahankan
   ====================================== */

.teknoif-home {
  --teknoif-blue: #1769aa;
  --teknoif-navy: #172b40;
  --teknoif-accent: #8c3444;
  --teknoif-light: #f3f7fb;
  --teknoif-border: #dfe6ee;
  color: #293747;
  margin: 28px 0;
  font-family: inherit;
  line-height: 1.7;
}

/* HERO */
.teknoif-home .teknoif-hero {
  position: relative;
  overflow: hidden;
  padding: 38px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(65, 145, 205, 0.30),
      transparent 35%
    ),
    linear-gradient(120deg, #eef5fc, #ffffff);
  border: 1px solid #e2eaf3;
  border-radius: 7px;
  border-left: 5px solid var(--teknoif-blue);
}

.teknoif-home .teknoif-hero-content {
  max-width: 760px;
}

.teknoif-home .teknoif-eyebrow {
  color: var(--teknoif-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.teknoif-home .teknoif-hero h2 {
  margin: 12px 0 4px;
  color: var(--teknoif-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.25;
}

.teknoif-home .teknoif-hero h3 {
  margin: 0 0 16px;
  color: #36516c;
  font-size: 18px;
}

.teknoif-home .teknoif-hero p {
  max-width: 700px;
  color: #46576a;
  font-size: 15px;
  line-height: 1.8;
}

/* BUTTONS */
.teknoif-home .teknoif-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.teknoif-home .teknoif-btn {
  display: inline-block;
  padding: 11px 17px;
  border: 1px solid var(--teknoif-blue);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s ease;
}

.teknoif-home .teknoif-btn-primary {
  color: #fff !important;
  background: var(--teknoif-blue);
}

.teknoif-home .teknoif-btn-primary:hover {
  background: var(--teknoif-navy);
}

.teknoif-home .teknoif-btn-outline {
  color: var(--teknoif-blue) !important;
  background: #fff;
}

.teknoif-home .teknoif-btn-outline:hover {
  color: #fff !important;
  background: var(--teknoif-blue);
}

/* JOURNAL FACTS */
.teknoif-home .teknoif-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 30px;
}

.teknoif-home .teknoif-fact {
  display: flex;
  flex-direction: column;
  padding: 17px;
  background: var(--teknoif-light);
  border: 1px solid var(--teknoif-border);
  border-radius: 5px;
}

.teknoif-home .teknoif-fact-label {
  margin-bottom: 7px;
  color: #64778b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .7px;
}

.teknoif-home .teknoif-fact strong {
  color: var(--teknoif-navy);
  font-size: 17px;
}

.teknoif-home .teknoif-fact small {
  margin-top: 3px;
  color: #64778b;
  font-size: 12px;
}

/* ABOUT */
.teknoif-home .teknoif-about {
  padding: 25px 0;
  border-bottom: 1px solid var(--teknoif-border);
}

.teknoif-home .teknoif-section-heading > span,
.teknoif-home .teknoif-callout > div > span {
  color: var(--teknoif-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.teknoif-home .teknoif-section-heading h2 {
  margin: 6px 0 12px;
  color: var(--teknoif-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.teknoif-home .teknoif-about p {
  color: #526174;
  font-size: 14px;
}

.teknoif-home .teknoif-about > a {
  color: var(--teknoif-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* AUTHOR CALLOUT */
.teknoif-home .teknoif-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 25px;
  background: #f7f4ef;
  border-left: 4px solid var(--teknoif-accent);
}

.teknoif-home .teknoif-callout > div {
  flex: 1;
}

.teknoif-home .teknoif-callout h2 {
  margin: 7px 0;
  color: var(--teknoif-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.4;
}

.teknoif-home .teknoif-callout p {
  margin-bottom: 0;
  color: #526174;
  font-size: 14px;
}

.teknoif-home .teknoif-callout > a {
  color: var(--teknoif-blue);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .teknoif-home .teknoif-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .teknoif-home {
    margin-top: 16px;
  }

  .teknoif-home .teknoif-hero {
    padding: 24px 20px;
  }

  .teknoif-home .teknoif-facts {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .teknoif-home .teknoif-fact {
    padding: 12px;
  }

  .teknoif-home .teknoif-fact strong {
    font-size: 15px;
  }

  .teknoif-home .teknoif-callout {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .teknoif-home .teknoif-callout > a {
    white-space: normal;
  }
}
