body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background-color: #e5e8ed;
}

header {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #282b30 !important;
  padding: 0.5rem 10px;
}
@media (min-width: 768px) {
  header {
    padding: 10px;
  }
}

/* Header logo – adaptive size */
.header-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.header-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
  vertical-align: middle;
}
@media (min-width: 768px) {
  .header-logo {
    max-height: 52px;
  }
}
.col-logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* Hero / Banner – banner.webp, overlay, content inside block */
.banner {
  position: relative;
  background-image: url(../img/banner.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 380px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 2rem 0;
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40, 43, 48, 0.85) 0%, rgba(40, 43, 48, 0.6) 50%, rgba(40, 43, 48, 0.75) 100%);
  z-index: 0;
}
.banner .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.banner .row {
  margin-left: 0;
  margin-right: 0;
}
.banner h1 {
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  max-width: 100%;
}
.banner h1.mb-3 {
  margin-bottom: 1rem;
}
.banner p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  max-width: 100%;
  word-wrap: break-word;
}
.banner .col-12 {
  min-width: 0;
}
.banner .buttonreg,
.banner .buttonlog {
  flex-shrink: 0;
}
.banner img.img-fluid {
  max-height: 320px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 767px) {
  .banner {
    min-height: 0;
    padding: 1.5rem 0;
    align-items: flex-start;
  }
  .banner .text-center {
    display: none;
  }
  .banner h1 {
    font-size: 1.35rem;
  }
  .banner p {
    font-size: 0.9rem;
  }
}
@media (min-width: 768px) {
  .banner {
    min-height: 420px;
    padding: 3rem 0;
  }
}
@media (min-width: 992px) {
  .banner {
    min-height: 440px;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-outline-primary {
  color: #007bff;
  border-color: #007bff;
}

footer {
  background-color: #333;
}
.nav-link {
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 768px) {
  .headermobile {
      display: none;
  }
}
@media (max-width: 767px) {
  .headerdesktop {
    display: none;
  }
}

.logo {
  max-width: 150px;
}
.page {
  background-color: #fff;
  border-radius: 10px;
  padding: 10px 10px;
  margin-top: 25px;
  margin-bottom: 25px;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 28px;
}
h3 {
  font-size: 24px;
}
.footerimage {
  display: flex;
  gap: 15px;
  margin-left: 25px;
}
.footerimage svg {
  height: 50px;
  width: 50px;
  color: #fff;
  fill: currentColor;
}
.footerimage .dmca svg {
  width: 120px !important;
}
.buttonlog {
  background: linear-gradient(180deg, #ff4303 0%, #fd6a35 100%);
  padding: 8px 16px;
  border-radius: 185px;
  font-size: 16px;
  font-weight: 500;
  font-style: normal !important;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  margin-right: 15px;
}
.buttonreg {
  background: #9e2b86;
  padding: 8px 16px;
  border-radius: 185px;
  font-size: 16px;
  font-weight: 500;
  font-style: normal !important;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  margin-right: 15px;
}
.nav-link:focus,
.nav-link:hover {
  color: #eee;
}
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  font-family: "Roboto", sans-serif;
}

th {
  background-color: #007bff;
  color: white;
  font-weight: bold;
  padding: 12px;
  text-align: left;
}

td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
  background-color: #f8f9fa;
}

tr:hover {
  background-color: #e9ecef;
}

table {
  border-radius: 8px;
  overflow: hidden;
}

@media (max-width: 767px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
.btpage {
  display: flex;
  margin-top: 10px;
  margin-bottom: 10px;
  justify-content: center;
}
.page img {
  display: block;
  margin: 0 auto;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
}

/* Table responsive wrapper */
.table-responsive-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin-bottom: 1.25rem;
  border-radius: 8px;
}

.table-responsive-wrapper table {
  min-width: 480px;
}

/* Table header – in tune with site (header #282b30) */
.table-responsive-wrapper th,
.page th {
  background-color: #282b30;
  color: #fff;
  font-weight: 600;
  padding: 12px;
  text-align: left;
  border: none;
}

/* Expert quote (Expertcommentaar) */
blockquote.expert-quote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem 1rem 1.5rem;
  border-left: 4px solid #9e2b86;
  background: #f5f0f5;
  border-radius: 0 8px 8px 0;
  font-style: normal;
}

blockquote.expert-quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: #282b30;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

blockquote.expert-quote p {
  margin: 0;
  color: #333;
}

blockquote.expert-quote p:last-child {
  margin-bottom: 0;
}

/* Pros/cons block */
.pros-cons-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.25rem 0;
}

@media (max-width: 767px) {
  .pros-cons-block {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.pros-cons-block .pros-col,
.pros-cons-block .cons-col {
  padding: 1rem;
  border-radius: 8px;
  background: #f8f9fa;
}

.pros-cons-block .pros-col {
  border-left: 4px solid #2d8a4e;
}

.pros-cons-block .cons-col {
  border-left: 4px solid #c75050;
}

.pros-cons-block .pros-col p:first-child,
.pros-cons-block .cons-col p:first-child {
  margin-top: 0;
  font-weight: 600;
  color: #282b30;
}

/* Author bio section */
.author-bio-section {
  padding: 2rem 0;
  background: #f0f1f3;
}

.author-bio-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.author-bio-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio-name {
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
}

.author-bio-name a {
  color: #282b30;
  text-decoration: none;
  font-weight: 600;
}

.author-bio-name a:hover {
  color: #9e2b86;
}

.author-bio-title {
  font-size: 0.9rem;
  color: #666;
}

.author-bio-content p {
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.author-bio-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .author-bio-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

/* 404 page */
.error-404-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}
.error-404-text {
  font-size: 120px;
  font-weight: 700;
  color: #333;
}
@media (max-width: 768px) {
  .error-404-text {
    font-size: 80px;
  }
}
@media (max-width: 480px) {
  .error-404-text {
    font-size: 60px;
  }
}
