/* CSS variables — defaults; override via Elementor “Colors & Radius”. */
.alphauzi-post-comment-shell {
  --alphauzi-pc-shell-bg: transparent;
  --alphauzi-pc-field-bg: transparent;
  --alphauzi-pc-field-border: #000000;
  --alphauzi-pc-list-divider: rgba(0, 0, 0, 0.1);
  --alphauzi-pc-comment-gap: 1.25rem;
  --alphauzi-pc-comment-separator-pad: 1rem;
  --alphauzi-pc-comment-separator-width: 1px;
  --alphauzi-pc-comment-separator-style: solid;
  --alphauzi-pc-comment-children-gap: 1rem;
  --alphauzi-pc-muted: #6b6b6b;
  /* Shared by textarea + name/email/url so panel “Comment box radius” matches all fields. */
  --alphauzi-pc-radius-textarea: 15px;
  --alphauzi-pc-radius-button: 50px;

  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background-color: var(--alphauzi-pc-shell-bg);
  font-family:
    "Source Sans 3",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

.alphauzi-post-comment__heading {
  margin: 0 0 1.5rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 600;
  line-height: 1.15;
  color: #2c2c2c;
}

.alphauzi-post-comment__placeholder,
.alphauzi-post-comment__closed {
  margin: 0;
  padding: 12px 0;
  color: var(--alphauzi-pc-muted);
  font-size: 15px;
  line-height: 1.5;
}

.alphauzi-post-comment__none {
  margin: 0;
  padding: 0;
  color: var(--alphauzi-pc-muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.alphauzi-post-comment__visually-hidden-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.alphauzi-post-comment__visually-hidden-title:focus-within {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 1rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.alphauzi-post-comment__list-wrap {
  margin: 0 0 1.5rem;
}

.alphauzi-post-comment__list-wrap .comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alphauzi-post-comment__list-wrap .children {
  list-style: none;
  margin: var(--alphauzi-pc-comment-children-gap) 0 0;
  padding-left: 1.25rem;
}

/* Jarak antar item komentar (semua kedalaman; :not(:last-child) per induk ul/ol). */
.alphauzi-post-comment__list-wrap li:not(:last-child) {
  margin-bottom: var(--alphauzi-pc-comment-gap);
}

.alphauzi-post-comment__list-wrap .comment-body {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding-bottom: var(--alphauzi-pc-comment-separator-pad);
  border-bottom-width: var(--alphauzi-pc-comment-separator-width);
  border-bottom-style: var(--alphauzi-pc-comment-separator-style);
  border-bottom-color: var(--alphauzi-pc-list-divider);
  border-top: none;
  border-left: none;
  border-right: none;
}

.alphauzi-post-comment__list-wrap .comment-list > li:last-child .comment-body {
  border-bottom-width: 0;
  border-bottom-style: none;
  padding-bottom: 0;
}

.alphauzi-post-comment__list-wrap .avatar {
  border-radius: 50%;
  flex-shrink: 0;
}

.alphauzi-post-comment__list-wrap .comment-meta {
  flex: 1 1 0;
  min-width: 0;
}

.alphauzi-post-comment__list-wrap .comment-author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.25rem;
  font-size: 1rem;
  line-height: 1.3;
}

.alphauzi-post-comment__list-wrap .comment-author .fn,
.alphauzi-post-comment__list-wrap .comment-author b.fn {
  display: inline;
  font-style: normal;
  font-weight: 600;
}

.alphauzi-post-comment__list-wrap .comment-author .avatar {
  margin: 0;
}

.alphauzi-post-comment__list-wrap .comment-metadata {
  font-size: 0.8125rem;
  color: var(--alphauzi-pc-muted);
}

.alphauzi-post-comment__list-wrap .comment-metadata a {
  color: inherit;
}

.alphauzi-post-comment__list-wrap .comment-content {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.alphauzi-post-comment__list-wrap .comment-content > *:first-child {
  margin-top: 0;
}

.alphauzi-post-comment__list-wrap .comment-content > *:last-child {
  margin-bottom: 0;
}

.alphauzi-post-comment__list-wrap .reply {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.alphauzi-post-comment__nav {
  margin: 0 0 1.5rem;
}

.alphauzi-post-comment__nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.alphauzi-post-comment__form-wrap {
  margin-top: 0;
}

.alphauzi-post-comment-shell #respond.comment-respond {
  margin: 0;
  padding: 0;
}

.alphauzi-post-comment-shell
  .comment-reply-title:not(.alphauzi-post-comment__visually-hidden-title) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1.25rem;
  row-gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--alphauzi-pc-list-divider);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #3d3d3d;
}

.alphauzi-post-comment-shell
  .comment-reply-title.alphauzi-post-comment__reply-title-bar:has(
    #cancel-comment-reply-link[style*="display:none"]
  ),
.alphauzi-post-comment-shell
  .comment-reply-title.alphauzi-post-comment__reply-title-bar:has(
    #cancel-comment-reply-link[style*="display: none"]
  ) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.alphauzi-post-comment-shell
  .comment-reply-title
  .alphauzi-post-comment__cancel-wrap {
  flex-shrink: 0;
  margin-inline-start: auto;
  padding-inline-start: clamp(0.75rem, 3vw, 1.5rem);
  border-inline-start: 1px solid var(--alphauzi-pc-list-divider);
}

.alphauzi-post-comment-shell .comment-reply-title small {
  font-size: 100%;
  font-weight: inherit;
}

.alphauzi-post-comment-shell #cancel-comment-reply-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 24px;
  margin: 2px 0;
  font-family:
    "Source Sans 3",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none !important;
  color: var(--alphauzi-pc-field-border) !important;
  background-color: transparent !important;
  border: 1px solid var(--alphauzi-pc-field-border) !important;
  border-radius: var(--alphauzi-pc-radius-button);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.alphauzi-post-comment-shell #cancel-comment-reply-link:hover,
.alphauzi-post-comment-shell #cancel-comment-reply-link:focus-visible {
  color: #ffffff !important;
  background-color: var(--alphauzi-pc-field-border) !important;
  border-color: var(--alphauzi-pc-field-border) !important;
  outline: none;
}

.alphauzi-post-comment-shell li #respond.comment-respond {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 1.35rem;
  margin-left: 0;
  margin-right: 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--alphauzi-pc-list-divider);
  clear: both;
}

.alphauzi-post-comment-shell .comment-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.25rem;
  align-items: start;
}

.alphauzi-post-comment-shell .comment-form .logged-in-as,
.alphauzi-post-comment-shell .comment-form .must-log-in {
  grid-column: 1 / -1;
}

.alphauzi-post-comment-shell .comment-form .comment-form-comment {
  grid-column: 1 / -1;
}

.alphauzi-post-comment-shell .comment-form .comment-form-cookies-consent {
  grid-column: 1 / -1;
}

.alphauzi-post-comment-shell .comment-form .form-submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.25rem;
}

.alphauzi-post-comment-shell .comment-form p {
  margin: 0;
}

.alphauzi-post-comment-shell .comment-form .comment-notes {
  grid-column: 1 / -1;
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  color: var(--alphauzi-pc-muted);
  line-height: 1.5;
}

.alphauzi-post-comment-shell .comment-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d3d3d;
}

.alphauzi-post-comment-shell .comment-form .comment-form-cookies-consent label {
  display: inline;
  margin-bottom: 0;
  margin-left: 0.35rem;
  font-weight: 400;
}

/* Field chrome: same vars for textarea + author inputs. !important beats theme/Kit rules that zero borders or force white inputs. */
.alphauzi-post-comment-shell .comment-form input[type="text"],
.alphauzi-post-comment-shell .comment-form input[type="email"],
.alphauzi-post-comment-shell .comment-form input[type="url"],
.alphauzi-post-comment-shell .comment-form textarea {
  background-color: var(--alphauzi-pc-field-bg) !important;
  background-image: none !important;
  border: 1px solid var(--alphauzi-pc-field-border) !important;
  border-radius: var(--alphauzi-pc-radius-textarea);
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
  background-clip: padding-box !important;
}

.alphauzi-post-comment-shell .comment-form input[type="text"],
.alphauzi-post-comment-shell .comment-form input[type="email"],
.alphauzi-post-comment-shell .comment-form input[type="url"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 18px 25px;
  font-size: 1rem;
  line-height: 1.55;
  font-family: inherit;
  color: #2c2c2c;
}

.alphauzi-post-comment-shell .comment-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 180px;
  padding: 18px 25px;
  font-size: 1rem;
  line-height: 1.55;
  font-family: inherit;
  color: #2c2c2c;
  resize: vertical;
}

/* Chrome autofill: tint + keep border visible (inset fill + 1px ring). */
.alphauzi-post-comment-shell .comment-form input[type="text"]:-webkit-autofill,
.alphauzi-post-comment-shell .comment-form input[type="email"]:-webkit-autofill,
.alphauzi-post-comment-shell .comment-form input[type="url"]:-webkit-autofill,
.alphauzi-post-comment-shell
  .comment-form
  input[type="text"]:-webkit-autofill:hover,
.alphauzi-post-comment-shell
  .comment-form
  input[type="email"]:-webkit-autofill:hover,
.alphauzi-post-comment-shell
  .comment-form
  input[type="url"]:-webkit-autofill:hover,
.alphauzi-post-comment-shell
  .comment-form
  input[type="text"]:-webkit-autofill:focus,
.alphauzi-post-comment-shell
  .comment-form
  input[type="email"]:-webkit-autofill:focus,
.alphauzi-post-comment-shell
  .comment-form
  input[type="url"]:-webkit-autofill:focus {
  -webkit-text-fill-color: currentColor;
  caret-color: currentColor;
  border: 1px solid var(--alphauzi-pc-field-border) !important;
  transition: background-color 99999s ease-out 0s;
  box-shadow:
    0 0 0 1px var(--alphauzi-pc-field-border) inset,
    0 0 0 1000px var(--alphauzi-pc-field-bg) inset !important;
}

.alphauzi-post-comment-shell .comment-form input::placeholder,
.alphauzi-post-comment-shell .comment-form textarea::placeholder {
  color: var(--alphauzi-pc-muted);
  opacity: 1;
}

.alphauzi-post-comment-shell
  .comment-form
  input[type="submit"].alphauzi-post-comment__submit {
  cursor: pointer;
  padding: 12px 30px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
  background-color: transparent;
  border: 1px solid #000000;
  border-radius: var(--alphauzi-pc-radius-button);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.alphauzi-post-comment-shell
  .comment-form
  input[type="submit"].alphauzi-post-comment__submit:hover,
.alphauzi-post-comment-shell
  .comment-form
  input[type="submit"].alphauzi-post-comment__submit:focus-visible {
  color: #ffffff;
  background-color: #000000;
  border-color: #000000;
}

@media (max-width: 767px) {
  .alphauzi-post-comment-shell .comment-form {
    grid-template-columns: 1fr;
  }
}
