﻿@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/Atkinson-Hyperlegible-Regular-102.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

:root {
  /* Colors */
  --primary-color: #001020;
  --border-color: #e0e0e0;
  --text-gray: #666;
  /* Radius */
  --radius-medium: 12px;
  /* Custom */
  --header-height: 48px;
  --dropdown-shadow: 0 2px 10px rgba(0, 0, 0, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.1);
}

html,
body {
  height: 100%;
  margin: 0;
  min-height: 100vh;
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0;
}

html {
  overflow-x: hidden;
}

.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-dots {
  background-color: white;
  background-image: linear-gradient(to bottom, transparent 0%, white 600px),
    radial-gradient(circle, #bbbbbb 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px;
  background-position: 0 0;
}

.content-wrap {
  flex-grow: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 120px;
}

body.mobile-menu-open {
  overflow: auto;
}

button {
  font-size: 1rem;
}

h1 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

h1.stand-out {
  font-family: "Bebas Neue", sans-serif;
  font-size: 6em;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  h1.stand-out {
    font-size: 8em;
  }
}

h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
}

.text-gray {
  color: var(--text-gray);
}

@media (min-width: 768px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  h3 {
    font-size: 2rem;
  }

  p {
    font-size: 1.2rem;
  }
}

/* Buttons */
.btn-primary {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 300;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  background-color: rgb(60, 60, 60);
}

.btn-outline {
  padding: 10px 20px;
  background-color: white;
  color: black;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 300;
  text-decoration: none;
  text-align: center;
}

.btn-outline:hover {
  background-color: rgb(245, 245, 245);
}

/* Button size variants */
.btn-large {
  padding: 16px 32px;
  font-size: 1.2rem;
}

/* Inputs */
.input-field {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
}

/* Feature Icons */
.feature-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.feature-icon:hover {
  transform: translateY(-8px);
}

.feature-icon-container {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background-color: white;
  transition: all 0.3s ease;
}

.feature-icon:hover .feature-icon-container {
  transform: scale(1.1);
}

.feature-icon-container svg,
.feature-icon-container i {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 2;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.feature-icon:hover .feature-icon-container svg,
.feature-icon:hover .feature-icon-container i {
  transform: rotate(5deg) scale(1.1);
}

.feature-icon-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
  transition: color 0.3s ease;
}

.feature-icon-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
  transition: color 0.3s ease;
}

/* Feature icon variants */
.feature-icon-with-subtitle .feature-icon-title {
  margin: 0 0 0.5rem 0;
}

.feature-icon-without-subtitle .feature-icon-title {
  margin: 0;
}

/* Small Feature Icons */
.small-feature-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 80px;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.small-feature-icon:hover {
  transform: translateY(-6px);
}

.small-feature-icon-container {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  background-color: white;
  transition: all 0.3s ease;
}

.small-feature-icon:hover .small-feature-icon-container {
  transform: scale(1.1);
}

.small-feature-icon-container svg,
.small-feature-icon-container i {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 2;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.small-feature-icon:hover .small-feature-icon-container svg,
.small-feature-icon:hover .small-feature-icon-container i {
  transform: rotate(5deg) scale(1.1);
}

.small-feature-icon-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  transition: color 0.3s ease;
}

/* Modal */
.modal-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.modal-form .form-group .input-field {
  box-sizing: border-box;
}

.modal-form .btn-primary {
  width: 100%;
  margin-top: 20px;
}

/* Articles */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.article-container h1 {
  font-size: 2.5rem;
  font-weight: 300;
}

.article-container p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-gray);
}

.article-container hr {
  border: 0.25px solid var(--border-color);
  margin: 40px 0;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: white;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin: 20px 0 0 0;
}

.table-header {
  background-color: #f8f9fa;
  border-bottom: 2px solid var(--border-color);
}

.table-header-cell {
  padding: 16px 20px;
  text-align: left;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--primary-color);
  border-right: 1px solid var(--border-color);
}

.table-header-cell:last-child {
  border-right: none;
}

.table-row {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

.table-row:last-child {
  border-bottom: none;
}

.table-row:hover {
  background-color: #f8f9fa;
}

.table-cell {
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 300;
  color: #333;
  border-right: 1px solid #f0f0f0;
  vertical-align: top;
}

.table-cell:last-child {
  border-right: none;
}

.table-cell-code {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-weight: 500;
  color: var(--primary-color);
  background-color: #f5f5f5;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.table-responsive {
  width: 100%;
  border-radius: var(--radius-medium);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-responsive .table {
  margin: 0;
  box-shadow: none;
}

@media (max-width: 1080px) and (min-width: 769px) {
  /* Medium screens - keep table structure but optimize spacing */
  .table-header-cell,
  .table-cell {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .table-header-cell {
    font-size: 0.8rem;
  }

  .table-cell p {
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0 0 4px 0;
  }

  .table-cell p:last-child {
    margin-bottom: 0;
  }

  .table-cell-code {
    font-size: 0.75rem;
    padding: 3px 6px;
  }

  .table {
    margin: 16px 0 0 0;
  }
}

@media (max-width: 768px) {
  .table-responsive {
    box-shadow: none;
  }

  .table,
  .table-header,
  .table tbody {
    display: block;
  }

  .table-header {
    display: none;
  }

  .table-row {
    display: block;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    margin-bottom: 16px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .table-row:hover {
    background-color: white;
  }

  .table-row:last-child {
    margin-bottom: 0;
  }

  .table-cell {
    display: block;
    border: none;
    padding: 8px 0;
    text-align: left;
    position: relative;
    margin-bottom: 12px;
  }

  .table-cell:last-child {
    margin-bottom: 0;
  }

  .table-cell:before {
    content: attr(data-label);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
  }

  .table-cell:nth-child(2) {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
  }

  .table-cell:nth-child(2):before {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.85rem;
  }

  .table-cell:nth-child(2) p {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--primary-color);
    margin: 0;
  }

  /* Hide empty cells */
  .table-cell:empty,
  .table-cell p:empty {
    display: none;
  }

  .table-cell:has(p:empty) {
    display: none;
  }

  .table-cell:has(p:only-child:empty) {
    display: none;
  }
}

/* Pagination */
.pagination-container {
  margin-top: 8px;
  text-align: center;
}

.pagination {
  display: inline-flex;
  padding: 0;
  margin: 0;
  list-style: none;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pagination li {
  display: inline-block;
}

.pagination .page-link {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  background-color: white;
  border: 1px solid var(--border-color);
  margin-left: -1px;
  color: var(--primary-color);
  font-size: 0.95rem;
  line-height: 1.25;
  transition: all 0.2s ease;
}

.pagination li:first-child .page-link {
  border-top-left-radius: var(--radius-medium);
  border-bottom-left-radius: var(--radius-medium);
}

.pagination li:last-child .page-link {
  border-top-right-radius: var(--radius-medium);
  border-bottom-right-radius: var(--radius-medium);
}

.pagination li.active .page-link {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  z-index: 1;
  position: relative;
}

.pagination li:not(.active) .page-link:hover {
  background-color: #f8f9fa;
  color: var(--primary-color);
}

.pagination li.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  background-color: #fff;
}

@media (max-width: 768px) {
  .pagination .page-link {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* FOOTER */

.footer-container {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  padding-top: 150px;
  padding-bottom: 50px;
  box-sizing: border-box;
  margin-top: 50px;
}

.footer-content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.footer-left p {
  font-weight: 100;
  font-size: 16px;
  margin: 0;
}

.linkedin-link {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.linkedin-link:hover {
  opacity: 0.8;
  color: white;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 20px 0;
}

.footer-left {
  flex: 1;
  max-width: 70%;
}

.footer-link {
  color: white;
  text-decoration: none;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.info {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-container .row:first-child {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .linkedin-link {
    margin-top: 0;
  }
}

/* HEADER */

.header-container {
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header-height);
  font-size: 14px;
  font-weight: 200;
}

.header-link {
  color: white;
  text-decoration: underline;
}

.header-link:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .header-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Tooltip */

.tooltip-container {
  position: absolute;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tooltip-container.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tooltip-content {
  background: #1a1a1a;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  max-width: 300px;
  line-height: 1.4;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  white-space: pre-wrap;
}

.tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #1a1a1a;
}

.tooltip-container.tooltip-below .tooltip-arrow {
  top: -4px;
  border-top-color: transparent;
  border-bottom-color: #1a1a1a;
}

.tooltip-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.tooltip-trigger:hover {
  opacity: 0.7;
}

/* Accordion */

.accordion-header {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.active,
.accordion-header:hover {
  background-color: #ccc;
}

.accordion-content {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.modal-overlay.show {
  opacity: 1;
}

.modal-container {
  background: white;
  border-radius: var(--radius-medium);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.show .modal-container {
  transform: scale(1);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-gray);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

.modal-close:hover {
  background-color: #f5f5f5;
  color: var(--primary-color);
}

.modal-content {
  padding: 48px 24px 24px 24px;
  overflow-y: auto;
  max-height: calc(80vh - 72px);
}

@media (max-width: 768px) {
  .modal-container {
    width: 95%;
    max-height: 90vh;
  }

  .modal-content {
    padding: 44px 20px 20px 20px;
    max-height: calc(90vh - 64px);
  }
}

/* Toast  */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  pointer-events: none;
  max-width: 400px;
}

.toast {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  box-shadow: var(--dropdown-shadow);
  margin-bottom: 12px;
  padding: 16px 20px;
  pointer-events: auto;
  position: relative;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease;
  min-height: 60px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.toast--entering {
  transform: translateY(0);
  opacity: 1;
}

.toast--leaving {
  transform: translateY(-10px);
  opacity: 0;
}

.toast--success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.toast--error {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

.toast--warning {
  background-color: #fff3cd;
  color: #856404;
  border-color: #ffeaa7;
}

.toast--info {
  background-color: #edf1f3;
  color: var(--text-gray);
  border-color: var(--border-color);
}

.toast__content {
  flex: 1;
  min-width: 0;
}

.toast__title {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.toast__message {
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
}

.toast__close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.toast__close:hover {
  opacity: 1;
}

.toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: currentColor;
  opacity: 0.3;
  border-radius: 0 0 var(--radius-medium) var(--radius-medium);
  transition: width linear;
}

@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .toast {
    margin-bottom: 8px;
    padding: 12px 16px;
    min-height: 50px;
  }

  .toast__title {
    font-size: 0.9rem;
  }

  .toast__message {
    font-size: 0.85rem;
  }
}

/* Curl */
.curl-container {
  width: 100%;
  display: flex;
  gap: 20px;
}

.curl-left-box {
  width: 200px;
  height: 500px;
  background-color: rgb(17, 24, 39);
  flex-shrink: 0;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.curl-right-box {
  flex-grow: 1;
  height: 500px;
  background-color: rgb(17, 24, 39);
  padding: 24px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.curl-button-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.curl-nav-button {
  width: 100%;
  background-color: rgb(31, 41, 55);
  border: none;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.curl-nav-button:hover {
  opacity: 0.75;
}

.curl-nav-button.active {
  background-color: rgb(55, 65, 81);
  opacity: 1;
}

.curl-nav-button.inactive {
  opacity: 0.5;
}

.curl-button-title {
  color: rgb(243, 244, 246);
  font-weight: 500;
}

.curl-button-description {
  color: rgb(156, 163, 175);
  font-size: 14px;
  display: none;
}

.curl-nav-button.active .button-description {
  display: block;
}

.curl-more-info {
  margin-top: 48px;
  color: rgb(75, 85, 99);
  padding: 0 12px;
}

.curl-json-content {
  color: rgb(243, 244, 246);
  font-family: monospace;
  font-size: 12px;
  white-space: pre-wrap;
  margin: 0;
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  pointer-events: none;
  background: transparent !important;
}

.curl-right-box pre {
  margin: 0;
  padding: 0;
  background: transparent;
  overflow: auto;
  height: 100%;
}

@media (max-width: 990px) {
  .curl-container {
    flex-direction: column;
    box-sizing: border-box;
  }

  .curl-left-box {
    width: 100%;
    box-sizing: border-box;
  }

  .curl-right-box {
    width: 100%;
    box-sizing: border-box;
  }
}

/* For accountant */
.for-accountant-container {
  background: white;
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

.for-accountant-left {
  background: url("/img/laptop.webp") center/cover no-repeat;
}

.for-accountant-right {
  background: white;
  padding: 100px 50px;
}

.for-accountant-left,
.for-accountant-right {
  flex: 0 0 50%;
  width: 50%;
  box-sizing: border-box;
}

.for-accountant-right form {
  display: flex;
  flex-direction: column;
}

.for-accountant-right input {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 1rem 0;
}

.for-accountant-right a {
  width: 100%;
  box-sizing: border-box;
  display: block;
  margin: 0;
}

.for-accountant-right p {
  margin: 0;
}

.for-accountant-right p:first-of-type {
  font-size: 1.5rem;
  font-weight: 400;
}

.for-accountant-right p:nth-of-type(2) {
  font-size: 1rem;
  color: var(--text-gray);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .for-accountant-left {
    display: none;
  }

  .for-accountant-right {
    width: 100%;
    padding: 20px;
    flex: 1;
  }
}

.for-accountant-form-message {
  padding: 10px;
  margin: 10px 0;
  border-radius: 4px;
  font-size: 0.9rem;
}

.for-accountant-form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.for-accountant-form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.for-accountant-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Page Hero Component */
.page-hero {
  position: relative;
  background-color: transparent;
  padding-bottom: 150px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  margin-top: -30px;
  padding-top: 0px;

  /* CSS custom property for optional background */
  background-image: var(--hero-bg-image, none);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 50% auto;
}

/* Mindre space under ifall vi inte har en hero image */
.page-hero:not([style*="--hero-bg-image"]) {
  padding-bottom: 20px;
}

.page-hero p {
  max-width: 600px;
}

.page-hero h1 {
  max-width: 600px;
}

/* Responsive breakpoints */
@media (max-width: 1120px) {
  .page-hero p {
    max-width: 450px;
  }
}

@media (max-width: 893px) {
  .page-hero {
    background-image: none !important; /* Override custom property */
    padding-bottom: 0;
  }

  .page-hero:not([style*="--hero-bg-image"]) {
    padding-bottom: 0;
  }

  .page-hero p {
    max-width: 800px;
  }
}

/* Content Section Component */
.content-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-section__text {
  order: 1;
}

.content-section__media {
  order: 2;
}

.content-section__media img {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease-in-out;
}

@media (min-width: 768px) {
  .content-section {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }

  .content-section__text {
    flex: 1;
    order: 1;
  }

  .content-section__media {
    flex: 1;
    order: 2;
    cursor: pointer;
  }

  .content-section__media:hover img {
    transform: scale(1.25);
  }

  .content-section--reverse .content-section__text {
    order: 2;
  }

  .content-section--reverse .content-section__media {
    order: 1;
  }
}

/* Section Utilities */
.section--centered {
  text-align: center;
}

.section-spacing {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

@media (max-width: 767px) {
  .section-spacing {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

/* Image overlay styles - consolidated from multiple views */
#image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: pointer;
}

#overlay-image-element {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* Content Section Component */
.content-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-section__text {
  order: 1;
}

.content-section__media {
  order: 2;
}

.content-section__media img {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease-in-out;
}

@media (min-width: 768px) {
  .content-section {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }

  .content-section__text {
    flex: 1;
    order: 1;
  }

  .content-section__media {
    flex: 1;
    order: 2;
    cursor: pointer;
  }

  .content-section__media:hover img {
    transform: scale(1.25);
  }

  .content-section--reverse .content-section__text {
    order: 2;
  }

  .content-section--reverse .content-section__media {
    order: 1;
  }
}

/* Section Utilities */
.section--centered {
  text-align: center;
}

.section-spacing {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

@media (max-width: 767px) {
  .section-spacing {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

.green-text {
    color: #008000;
}