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

/* Variables */
:root {
  --max-width: 1200px;
  --spacers-l24: 24px;
  --spacers-l16: 16px;
  --spacers-l12: 12px;
  --link-color: #1a73e8;
  --primary-color: #333;
  --background-color: #f9fafb;
  --border-color: #e5e7eb;
  --hover-color: #2563eb;
}

.site-main {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-mw-heading {
  padding-left: 0.7rem;
}
@media (max-width: 900px) {
  .content-area {
    width: 100%;       /* full width on mobile */
    padding: 0 1rem;   /* optional side padding */
    margin: auto;
  }

  .about-mw-heading {
    padding-left: 0;   /* remove extra indent */
  }
}


/* Container: grow with content & align with footer */
.about-mw-container {
  display: flex;
  max-width: var(--max-width);
  margin: var(--spacers-l24) auto;
  gap: var(--spacers-l24);
  box-sizing: border-box;
  min-height: auto !important;
}

/* Sidebar navigation */
.about-mw-nav {
    /* flex: 0 0 240px; */
    background-color: #fff;
    padding: var(--spacers-l24);
    border-radius: 8px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
    border: 1px solid var(--border-color);
    min-width: 300px;
    max-width: 280px;
    font-weight: 400;
    overflow: visible;
    font-size: 16px;
    font-family: 'inter', sans-serif;
}
.about-mw-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.about-mw-nav li + li {
  margin-top: var(--spacers-l12);
}
.about-mw-nav a {
  display: block;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--primary-color);
  padding: var(--spacers-l12) var(--spacers-l16);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
}
.about-mw-nav a:hover {
  background-color: var(--border-color);
  color: var(--hover-color);
}
.about-mw-nav .is-active a {
  color: var(--link-color);
  font-weight: 700;
  background-color: rgba(26, 115, 232, 0.1);
}

/* Content: make it squeezable */
.about-mw-content {
  flex: 1 1 auto;
  min-width: 0; /* allow shrink */
  background-color: #fff;
  padding: var(--spacers-l24);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  overflow-wrap: break-word;
}

/* Mobile dropdown wrapper */
.amw-mobile-select {
  display: none; /* hidden on desktop */
  width: 100%;
  margin-bottom: var(--spacers-l24);
  text-align: center;
}
.amw-mobile-select select {
  width: 100%;
  padding: var(--spacers-l12);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--primary-color);
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--spacers-l16) center;
  cursor: pointer;
}
.amw-mobile-select select:focus {
  outline: none;
  border-color: var(--link-color);
  box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
}

/* Heading style */
.about-mw-heading  {
  font-size: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 350;
  color: var(--primary-color);
  text-transform: uppercase;
  margin: 0 0 var(--spacers-l24);
}
h2.about-mw-heading {
  font-size: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 350;
  color: var(--primary-color);
  text-transform: uppercase;
  margin: var(--spacers-l24) auto;
}

/* Responsive: swap sidebar ↔ select on mobile */
@media (max-width: 768px) {
  .about-mw-container {
    flex-direction: column;
  }
  .about-mw-nav {
    display: none !important;
  }
  .amw-mobile-select {
    display: block;
  }
}
@media (min-width: 769px) {
  .amw-mobile-select {
    display: none;
  }
}
.privacy-policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Headings */
.privacy-policy-content h1,
.privacy-policy-content h2 {
  margin: 1.5rem 0 0.75rem;
  line-height: 1.25;
  font-weight: 400;
}

.privacy-policy-content h1 {
  font-size: 1.75rem;
  margin-top: 0;
}

.privacy-policy-content h2 {
  font-size: 1.25rem;
}

/* Paragraphs */
.privacy-policy-content p {
  margin: 0 0 1rem;
}

/* Lists */
.privacy-policy-content ul {
  margin: 0 0 1rem 1.5rem;
  list-style-type: disc;
}

.privacy-policy-content li {
  margin-bottom: 0.5rem;
}
.terms-conditions-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
}

/* Headings */
.terms-conditions-content h1,
.terms-conditions-content h2,
.terms-conditions-content h3 {
  margin: 1.5rem 0 0.75rem;
  line-height: 1.25;
  font-weight: 400;
}

.terms-conditions-content h1 {
  font-size: 1.75rem;
  margin-top: 0;
}

.terms-conditions-content h2 {
  font-size: 1.25rem;
}

.terms-conditions-content h3 {
  font-size: 1.1rem;
}

/* Paragraphs */
.terms-conditions-content p {
  margin: 0 0 1rem;
}

/* Definition list */
.terms-conditions-content dl {
  margin: 0 0 1rem;
}

.terms-conditions-content dt {
  font-weight: 600;
  margin-top: 1rem;
}

.terms-conditions-content dd {
  margin: 0 0 0.5rem 1.5rem;
}

/* Lists */
.terms-conditions-content ul {
  margin: 0 0 1rem 1.5rem;
  list-style-type: disc;
}

.terms-conditions-content li {
  margin-bottom: 0.5rem;
}

/* Links */
.terms-conditions-content a {
  color: inherit;
  text-decoration: underline;
}
.about-mw-heading {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 1200px;
  max-width: var(--max-width);
  margin: var(--spacers-l24) auto; /* дополнительный перенос */
}
.privacy-policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
}

/* Headings */
.privacy-policy-content h1,
.privacy-policy-content h2 {
  margin: 1.5rem 0 0.75rem;
  font-weight: 400;
  line-height: 1.25;
}

.privacy-policy-content h1 {
  font-size: 1.75rem;
  margin-top: 0;
}

.privacy-policy-content h2 {
  font-size: 1.25rem;
}

/* Paragraphs */
.privacy-policy-content p {
  margin: 0 0 1rem;
}

/* Definition list */
.privacy-policy-content dl {
  margin: 0 0 1rem;
}

.privacy-policy-content dt {
  font-weight: 600;
  margin-top: 1rem;
}

.privacy-policy-content dd {
  margin: 0 0 0.5rem 1.5rem;
}

/* Lists */
.privacy-policy-content ul {
  margin: 0 0 1rem 1.5rem;
  list-style-type: disc;
}

.privacy-policy-content li {
  margin-bottom: 0.5rem;
}

/* Links */
.privacy-policy-content a {
  color: inherit;
  text-decoration: underline;
}
