/* AIT-2366: v2 inner page design layer for cvwzory.pl.
   Scoped to body.v2/.v2-root so the homepage and generator remain isolated. */
body.v2 {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #334155;
}

body.v2,
body.v2 * {
  box-sizing: border-box;
}

body.v2 .v2-root {
  font-family: 'Inter', sans-serif;
  color: #334155;
}

body.v2 .v2-root #content {
  width: auto;
  max-width: 100%;
  float: none;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
}

.v2-root main > div {
  width: 100%;
}

.v2-root article {
  overflow: hidden;
}

.v2-root #content h1 {
  font-family: 'Sora', 'Inter', sans-serif;
  letter-spacing: 0;
  font-weight: 800;
  color: #0f172a;
  font-size: 2rem;
  line-height: 1.12;
  margin: 0 0 1rem;
}

@media (min-width: 1024px) {
  .v2-root #content h1 {
    font-size: 2.5rem;
  }
}

.v2-root #content h2 {
  font-family: 'Sora', 'Inter', sans-serif;
  letter-spacing: 0;
  font-weight: 700;
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 2.2rem 0 .8rem;
}

.v2-root #content h3 {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.2rem;
  margin: 1.6rem 0 .6rem;
}

.v2-root #content p {
  color: #334155;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.v2-root #content p.big,
.v2-root #content .lead {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.75;
  max-width: 68ch;
}

.v2-root #content a {
  color: #1e3fcc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.v2-root #content a:hover {
  color: #17329e;
}

.v2-root #content ul,
.v2-root #content ol {
  margin: 1rem 0 1.25rem;
  padding-left: 0;
}

.v2-root #content ul li {
  background-image: none !important;
  padding-left: 1.4em;
  position: relative;
  margin: .35rem 0;
  line-height: 1.6;
}

.v2-root #content ul li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.v2-root #content .box,
.v2-root #content .contact-card,
.v2-root #content .trust-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.v2-root #content .box p:last-child,
.v2-root #content .contact-card p:last-child,
.v2-root #content .trust-panel p:last-child {
  margin-bottom: 0;
}

.v2-root #content .contact-card {
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .05);
}

.v2-root #content .contact-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(15rem, .85fr);
  gap: 1rem;
  align-items: stretch;
  margin: 1.35rem 0 1.6rem;
}

.v2-root #content .contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: 0;
}

.v2-root #content .contact-detail {
  background: #eef3ff;
  border: 1px solid #dce5ff;
  border-radius: .9rem;
  padding: .95rem 1rem;
}

.v2-root #content .contact-detail strong {
  display: block;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: .2rem;
}

.v2-root #content .contact-detail span,
.v2-root #content .contact-detail a {
  color: #334155;
  font-size: .95rem;
}

.v2-root #content .contact-trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.25rem 0 1.6rem;
}

.v2-root #content .contact-trust-list div {
  border: 1px solid #e2e8f0;
  border-radius: .85rem;
  padding: .85rem;
  background: #fff;
  color: #334155;
  font-weight: 600;
}

.v2-root #content table {
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
}

.v2-root #content table th,
.v2-root #content table td {
  border: 1px solid #e2e8f0;
  padding: .6rem .8rem;
  text-align: left;
}

.v2-root #content table th {
  background: #eef3ff;
  color: #17329e;
  font-weight: 700;
}

.v2-root #content img {
  max-width: 100%;
  height: auto;
}

.v2-root #content .info-ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  border-radius: .75rem;
  padding: .85rem 1.1rem;
  margin: 1rem 0;
}

.v2-root #content .info-ko {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: .75rem;
  padding: .85rem 1.1rem;
  margin: 1rem 0;
}

.v2-root #content form.kontakt {
  width: 100%;
  max-width: 100%;
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.5rem 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06), 0 2px 6px rgba(15, 23, 42, .04);
}

.v2-root #content form.kontakt label {
  display: block;
  float: none;
  width: auto;
  max-width: 100%;
  margin: 1rem 0 .4rem;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.35;
}

.v2-root #content input.text,
.v2-root #content textarea,
.v2-root #content input[type=text] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: .6rem;
  padding: .72rem .85rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #0f172a;
  background: #fff;
}

.v2-root #content textarea {
  min-height: 10rem;
  resize: vertical;
}

.v2-root #content input.smallest,
.v2-root #content #antispambox input.text {
  display: inline-block;
  width: 5.5rem;
  max-width: calc(100% - 5.2rem);
  margin-left: .45rem;
  vertical-align: middle;
}

.v2-root #content #antispambox {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.v2-root #content .clr {
  clear: both;
}

.v2-root #content pre {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  max-width: 100%;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: .9rem;
  line-height: 1.55;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: 1rem 1.1rem;
  margin: 0;
}

.v2-root #content img.fr-dib,
.v2-root #content .tretina img {
  max-width: 100%;
  height: auto;
}

.v2-root #content a.bigbutton,
.v2-root #content a.smallbutton,
.v2-root #content input[type=submit] {
  display: inline-block;
  width: auto;
  max-width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff !important;
  font-weight: 700;
  padding: .75rem 1.5rem;
  border: 0;
  border-radius: .85rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(16, 185, 129, .40);
  cursor: pointer;
}

.v2-root footer ul {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.v2-root footer li {
  background: none !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.v2-root footer li:before {
  content: none !important;
  display: none !important;
}

@media (max-width: 640px) {
  .v2-root #content .cvw-top-ad-slot {
    display: none !important;
  }

  .v2-root #content h1 {
    font-size: 1.85rem;
  }

  .v2-root #content p.big,
  .v2-root #content .lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .v2-root #content .box,
  .v2-root #content .contact-card,
  .v2-root #content .trust-panel {
    padding: 1rem;
    border-radius: .85rem;
  }

  .v2-root #content .contact-intro {
    grid-template-columns: 1fr;
    margin: 1.1rem 0 1.35rem;
  }

  .v2-root #content .contact-details,
  .v2-root #content .contact-trust-list {
    grid-template-columns: 1fr;
  }

  .v2-root #content form.kontakt {
    padding: 1rem;
    border-radius: .85rem;
  }

  .v2-root #content input[type=submit] {
    width: 100%;
    text-align: center;
  }
}
