@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-Roman.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-Italic.woff2")
    format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-Medium.woff2")
    format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-MediumItalic.woff2")
    format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-SemiBold.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/*
Theme Name: Partner Theme
Theme URI: https://aquafront.eu/
Author: Aquafront
Author URI: https://aquafront.eu/
Description: Partner Theme for the Nortberg partner program.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: aquafront-test
*/

:root {
  --aft-bg: #1d1d1d;
  --aft-surface: #252525;
  --aft-text: #152126;
  --aft-muted: #5d6970;
  --aft-border: #d7dee2;
  --aft-accent: #0f9fd1;
  --aft-width: 1200px;
  --aft-width-nav: 1900px;
  --aft-radius: 18px;
  --aft-shadow: 0 10px 30px rgba(21, 33, 38, 0.08);
  --aft-font-family: OverusedGrotesk, sans-serif;
}

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: #1d1d1d;
  color: var(--aft-text);
  font-family: var(--aft-font-family);
  line-height: 1.6;
}

a {
  color: var(--aft-accent);
}

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

.aft-site-header,
.aft-site-footer {
  background: var(--aft-surface);
}

.aft-site-header {
  border-bottom: 1px solid var(--aft-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.aft-wrap {
  width: min(100% - 2rem, var(--aft-width));
  margin: 0 auto;
}

.aft-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.aft-branding {
  color: var(--aft-text);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.aft-main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aft-main-nav a {
  color: var(--aft-text);
  text-decoration: none;
  font-weight: 600;
}

.aft-main-nav a:hover,
.aft-main-nav a:focus-visible {
  color: var(--aft-accent);
}

.aft-content {
  min-height: 100vh;
}

.aft-content--carded {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.aft-content--dashboard {
  display: block;
  width: 100%;
  /* padding-bottom: 4rem; */
}

.aft-content--dashboard .aft-entry-content {
  width: 100%;
}

.afp-dashboard-nav-host {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #1d1d1d;
  border-bottom: 1px solid var(--aft-border);
  position: sticky;
  top: 0;
  z-index: 30;
}

.afp-dashboard-nav-host .afp-dashboard-nav {
  position: static;
}

.afp-dashboard-nav-host + .aft-entry-content .afp-dashboard-slider-section {
  margin-top: 0;
}

.aft-card {
  padding: 2rem;
  border: 1px solid var(--aft-border);
  border-radius: var(--aft-radius);
  background: var(--aft-surface);
  box-shadow: var(--aft-shadow);
  margin: 4rem 0;
}

.aft-entry-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.aft-entry-content > :first-child {
  margin-top: 0;
}

.aft-entry-content > :last-child {
  margin-bottom: 0;
}

.aft-site-footer {
  border-top: 1px solid var(--aft-border);
}

.aft-footer-row {
  /* padding: 1.5rem 0 2rem; */
  color: var(--aft-muted);
  font-size: 0.95rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.screen-reader-text:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  clip: auto;
  background: #ffffff;
  color: #000000;
  z-index: 100000;
}

@media (max-width: 782px) {
  .aft-content--dashboard {
    /* padding-bottom: 2rem; */
  }

  .aft-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .aft-card {
    padding: 1rem;
  }
}
