/* ==================================================
   AMOX Theme
   Plain and dark: black, white, orange (#C94100 from
   the AMOX crest). Content comes from BYCEPS snippets.
   ================================================== */


/* ==================================================
   01. Tokens
   ================================================== */

:root {
  --amox-bg: #121318;
  --amox-bg-raised: #1a1c22;
  --amox-border: rgba(255, 255, 255, 0.09);
  --amox-text: #e9e9ec;
  --amox-text-muted: #9a9ca5;
  --amox-orange: #c94100;
  /* Lighter orange for text on dark ground (readable contrast). */
  --amox-orange-text: #ff7a33;
  --amox-container: 52rem;
  --amox-gutter: 1rem;
  --amox-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


/* ==================================================
   02. Base
   ================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--amox-bg);
  color: var(--amox-text);
  display: flex;
  flex-direction: column;
  font-family: var(--amox-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0;
  min-height: 100vh;
}

img {
  height: auto;
  max-width: 100%;
}

a {
  color: var(--amox-orange-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--amox-orange-text);
  outline-offset: 3px;
}

.amox-container {
  margin: 0 auto;
  max-width: var(--amox-container);
  padding: 0 var(--amox-gutter);
  width: 100%;
}

@media (min-width: 640px) {
  :root {
    --amox-gutter: 2rem;
  }
}

.amox-main {
  flex: 1 0 auto;
}


/* ==================================================
   03. Top bar (pages other than the front page)
   ================================================== */

.amox-topbar {
  border-bottom: 1px solid var(--amox-border);
  padding: 0.9rem 0;
}

.amox-topbar-logo {
  display: inline-block;
}

.amox-topbar-logo img {
  display: block;
  width: 6.5rem;
}


/* ==================================================
   04. Hero
   ================================================== */

.amox-hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 65, 0, 0.22), transparent 65%),
    var(--amox-bg);
  border-bottom: 3px solid var(--amox-orange);
  padding: clamp(3rem, 10vw, 6rem) 0 clamp(2.5rem, 8vw, 4.5rem);
  text-align: center;
}

.amox-hero-logo {
  margin: 0 auto;
  max-width: min(24rem, 80vw);
}

.amox-hero-logo img {
  display: block;
  filter: drop-shadow(0 0 24px rgba(201, 65, 0, 0.35));
  width: 100%;
}

.amox-hero-text {
  margin-top: 1.25rem;
}

/* Classes for the snippet "amox_hero". */
.amox-tagline {
  color: var(--amox-orange-text);
  font-size: clamp(1rem, 3.2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
}

.amox-since {
  color: var(--amox-text-muted);
  font-size: 0.95rem;
  margin: 0.4rem 0 0;
}


/* ==================================================
   05. Sections
   ================================================== */

.amox-section {
  padding: clamp(2.5rem, 7vw, 4rem) 0;
}

.amox-section + .amox-section {
  border-top: 1px solid var(--amox-border);
}

.amox-section--contact {
  background: var(--amox-bg-raised);
}

/* Text from snippets and CMS pages */
.amox-prose > :first-child {
  margin-top: 0;
}

.amox-prose > :last-child {
  margin-bottom: 0;
}

.amox-prose h1,
.amox-prose h2 {
  color: #ffffff;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.amox-prose h2::after {
  background: var(--amox-orange);
  content: "";
  display: block;
  height: 3px;
  margin-top: 0.6rem;
  width: 2.5rem;
}

.amox-prose h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

.amox-prose p,
.amox-prose ul,
.amox-prose ol {
  margin: 0 0 1rem;
}

.amox-prose ul,
.amox-prose ol {
  padding-left: 1.25rem;
}

.amox-prose li + li {
  margin-top: 0.3rem;
}

.amox-prose strong {
  color: #ffffff;
}

/* CMS pages (imprint, privacy policy): one big title, small sections. */
.amox-section--page .amox-prose h1::after {
  background: var(--amox-orange);
  content: "";
  display: block;
  height: 3px;
  margin-top: 0.6rem;
  width: 2.5rem;
}

.amox-section--page .amox-prose h1 {
  margin-bottom: 1.75rem;
}

.amox-section--page .amox-prose h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.4rem;
}

.amox-section--page .amox-prose h2::after {
  display: none;
}

/* Long words and addresses (e.g. legal pages) must not overflow. */
.amox-prose {
  overflow-wrap: anywhere;
}

/* Classes for the snippet "amox_contact". */
.amox-contact-address {
  background: var(--amox-bg);
  border: 1px solid var(--amox-border);
  border-left: 3px solid var(--amox-orange);
  border-radius: 0.5rem;
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.05rem;
  padding: 0.7rem 1rem;
}

.amox-contact-address a {
  color: #ffffff;
  text-decoration: none;
}

.amox-contact-address a:hover,
.amox-contact-address a:focus-visible {
  color: var(--amox-orange-text);
}


/* ==================================================
   06. Footer
   ================================================== */

.amox-footer {
  border-top: 1px solid var(--amox-border);
  color: var(--amox-text-muted);
  font-size: 0.9rem;
  padding: 1.5rem 0;
}

.amox-footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.amox-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.amox-footer-nav a {
  color: var(--amox-text-muted);
  text-decoration: none;
}

.amox-footer-nav a:hover,
.amox-footer-nav a:focus-visible {
  color: #ffffff;
}

.amox-footer-text p {
  margin: 0;
}
