/* ==================================================
   BASE CSS – KukarHost
   Purpose: Normalize, compatibility, stability
   ================================================== */

/* ========== CSS RESET RINGAN ========== */
:root {
  --font-base: 'Roboto Condensed', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.7;
  font-size: 16px;
  font-family: var(--font-base);
}

/* ========== MEDIA & EMBED ========== */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== TYPOGRAPHY DEFAULT ========== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

small {
  font-size: 85%;
}

/* ========== LINKS ========== */
a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: none;
}

/* ========== LISTS ========== */
ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.4em;
}

/* ========== BLOCK ELEMENTS ========== */
blockquote {
  margin: 1.5em 0;
  padding-left: 1em;
  border-left: 4px solid #dddddd;
  color: #555555;
}

hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 2em 0;
}

/* ========== TABLES (PLUGIN SAFE) ========== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}

th,
td {
  padding: 0.6em;
  border: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}

th {
  font-weight: 600;
  background-color: #f7f7f7;
}

/* ========== FORMS (NETRAL) ========== */
input,
select,
textarea,
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input,
select,
textarea {
  max-width: 100%;
}

textarea {
  resize: vertical;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ========== CODE & PREFORMATTED ========== */
code,
kbd,
pre,
samp {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.95em;
}

pre {
  overflow-x: auto;
  padding: 1em;
  background-color: #f5f5f5;
  margin-bottom: 1.5em;
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
  outline: 2px solid #1e73be;
  outline-offset: 2px;
}

/* Screen reader text (WordPress standard) */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ========== WORDPRESS CORE COMPAT ========== */
.alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
}

.alignright {
  float: right;
  margin: 0 0 1em 1.5em;
}

.aligncenter {
  display: block;
  margin: 0 auto 1em;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.9em;
  color: #666666;
  text-align: center;
  margin-top: 0.5em;
}

/* Clearfix */
.clear::after {
  content: "";
  display: table;
  clear: both;
}

button {
  background-color: transparent;
}

img {
  height: auto;
}

::selection {
  background-color: rgba(0, 0, 0, 0.15);
  color: inherit;
}

[hidden] {
  display: none !important;
}

address {
  font-style: normal;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup { top: -0.4em; }
sub { bottom: -0.2em; }

figure {
  margin: 0 0 1.5em;
}

figcaption {
  font-size: 0.9em;
  color: #666;
  text-align: center;
  margin-top: 0.5em;
}

:disabled {
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}