/* === Calculator Page Styles for lommeregner.io === */
/* Header/navigation provided by WordPress theme CSS */

/* === Compatibility variables for calculator widgets === */
:root {
  --color-accent: var(--color-primary);
  --color-accent-hover: var(--color-primary-dark);
  --color-bg: var(--color-gray-200);
  --color-border: var(--color-gray-300);
  --color-text: var(--color-dark);
  --color-text-light: var(--color-gray-600);
  --font-stack: var(--font-primary);
  --max-width: 960px;
  --radius: var(--radius-sm);
  --radius-pill: 9999px;
  --shadow: var(--shadow-sm);
  --transition: var(--transition-fast);
}

/* === Body === */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === Page Layout === */
.page-wrapper {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  width: 100%;
}

/* === Breadcrumb === */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--color-gray-600);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

/* === Description === */
.description {
  font-size: 1.1rem;
  color: var(--color-gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* === Content sections === */
.content-section {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section ul,
.content-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.35rem;
}

/* === Footer === */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 1.5rem;
  margin-top: auto;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.2rem 0;
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.8rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .page-wrapper {
    padding: 1rem 1rem 2rem;
  }
  .content-section {
    padding: 1.25rem;
  }
  .footer-inner {
    flex-direction: column;
  }
}
