/* Precise finishing for the site's enquiry and utility pages. */

/* A returned Whois source belongs to the same grid as its search and guidance. */
.ah-inner #main .domain-whois-results { padding: 32px 0 0; }
.ah-inner #main .domain-whois-results > .container-fluid {
  width: calc(100% - 80px);
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 0;
}
.ah-inner #main .domain-reference-result { padding: 32px; }
.ah-inner #main .domain-reference-result h2 { margin: 0 0 16px; }
.ah-inner #main .domain-reference-result p {
  max-width: 76ch;
  margin: 0;
  font-family: var(--secondary-font);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--inner-copy);
}
.ah-inner #main .domain-reference-result .button-row { margin-top: 24px; gap: 12px; }
.ah-inner #main .domain-reference-result .theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  white-space: normal;
  box-shadow: none;
}

/* Supporting guidance stays subordinate to the current choice. */
.ah-inner #main .planner-progress > p + p { margin-top: 12px; }
.ah-inner #main .planner-form .planner-feedback,
.ah-inner #main .planner-result-grid .planner-note {
  font-size: 14px;
  line-height: 1.8;
}
.ah-inner #main .planner-option input:checked + span { box-shadow: none; }

/* Keep field focus crisp and consent easy to target with mouse or touch. */
.ah-inner #main:has(> [data-hero-path="/contact"], > [data-hero-path="/abuse"]) .field :is(input, select, textarea):focus {
  box-shadow: none;
}
.ah-inner #main:has(> [data-hero-path="/contact"], > [data-hero-path="/abuse"]) .checkbox-label {
  min-height: 44px;
  padding-block: 8px;
  margin: 0;
}

/* The two connection tools share a calm empty state and readable test steps. */
.ah-inner #main:has(> [data-hero-path="/ping-test"]) .test-placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 10px;
  overflow: hidden;
}
.ah-inner #main:has(> [data-hero-path="/ping-test"]) .test-placeholder p {
  max-width: 40ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}
.ah-inner #main:has(> [data-hero-path="/ping-test"]) .test-placeholder:has(iframe) { padding: 0; }
.ah-inner #main:has(> [data-hero-path="/ping-test"]) .test-placeholder iframe { display: block; }
.ah-inner #main:has(> [data-hero-path="/ping-test"]) .card > ol {
  margin: 0;
  padding-left: 23px;
  font-family: var(--secondary-font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--inner-copy);
}
.ah-inner #main:has(> [data-hero-path="/ping-test"]) .card > ol > li { padding-left: 5px; }
.ah-inner #main:has(> [data-hero-path="/ping-test"]) .card > ol > li + li { margin-top: 12px; }
.ah-inner #main:has(> [data-hero-path="/ping-test"]) .card > ol > li::marker {
  color: var(--inner-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Align the next step across channels without stretching the text itself. */
.ah-inner #main:has(> [data-hero-path="/destek"]) > .section:first-of-type .grid-3 > .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ah-inner #main:has(> [data-hero-path="/destek"]) > .section:first-of-type .grid-3 > .card > .text-link {
  margin-top: auto;
  padding-top: 16px;
}
.ah-inner #main:has(> [data-hero-path="/destek"]) .content-support-route > div > .text-link + p {
  margin-top: 8px;
}

/* Recovery cards are whole links; their boundary confirms that affordance. */
.ah-inner #main:has(> [data-hero-path="/404"]) a.card:is(:hover, :focus-visible) {
  border-color: var(--primary);
}

@media (max-width: 1199px) {
  .ah-inner #main .domain-whois-results > .container-fluid { width: calc(100% - 64px); }
}
@media (max-width: 767px) {
  .ah-inner #main .domain-whois-results { padding-top: 24px; }
  .ah-inner #main .domain-whois-results > .container-fluid { width: calc(100% - 40px); }
  .ah-inner #main .domain-reference-result { padding: 24px; }
  .ah-inner #main .domain-reference-result h2 { font-size: 23px; }
  .ah-inner #main .domain-reference-result .theme-btn { width: 100%; }
}
@media (max-width: 359px) {
  .ah-inner #main .domain-whois-results > .container-fluid { width: calc(100% - 32px); }
  .ah-inner #main .domain-reference-result { padding: 20px; }
}
