/* ======== GLOBAL STYLES ======== */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; line-height:1.6; color:#333; background:#f8f9fa; }
img { max-width:100%; height:auto; display:block; }
a { color:#B00000; text-decoration:none; transition:color .3s ease; }
a:hover { color:#990000; }
hr { border: 0; height: 1px; background: #e9ecef; margin: 40px 0; }
h1 { font-size:36px; color:#2d2d2d; margin-bottom:20px; line-height:1.3; }
h2 { font-size:28px; color:#2d2d2d; margin:40px 0 20px; padding-bottom:10px; border-bottom:3px solid #B00000; }
h3 { font-size:22px; color:#2d2d2d; margin:30px 0 15px; }
p { margin-bottom:15px; line-height:1.8; }
ul, ol { margin:20px 0; padding-left:25px; }
li { margin-bottom:10px; line-height:1.8; }
blockquote { background-color: #fff3cd; padding: 20px; border-left: 5px solid #ffc107; margin: 25px 0; font-style: italic; }

/* ======== HEADER & MENU ======== */
header { background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.1); position:sticky; top:0; z-index:1000; padding:0.5rem 0; }
.header-container { max-width:1200px; margin:0 auto; padding:0 20px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.logo img { width:150px; height:auto; }
.menu ul { list-style:none; display:flex; gap:0; margin:0; padding:0; }
.menu li { position:relative; }
.menu a { display:block; padding:8px 15px; color:#333; font-weight:600; font-size:13px; text-transform:uppercase; border-bottom:3px solid transparent; transition:all .3s ease; }
.menu a span { display:block; font-size:11px; font-weight:400; text-transform:none; color:#666; }
.menu a:hover, .menu .active a { color:#B00000; border-bottom-color:#B00000; }
.mobile-menu { display:none; width:100%; padding:10px; font-size:16px; border:1px solid #ddd; border-radius:5px; margin-top:10px; }

/* ======== BREADCRUMBS BAR ======== */
.main-title { background:#2d2d2d; color:#fff; padding:10px 0; text-align:center; }
.main-title-ct { max-width:1200px; margin:0 auto; }
.title-text { margin-bottom:8px; }
.title-text p { font-size:28px; font-weight:700; margin:0; text-transform:uppercase; }
.breadcrumbs ul { list-style:none; display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin:0; padding:0; }
.breadcrumbs li { color:rgba(255,255,255,.8); font-size:13px; }
.breadcrumbs li:not(:last-child)::after { content:'›'; margin-left:10px; color:rgba(255,255,255,.5); }
.breadcrumbs a { color:rgba(255,255,255,.9); }
.breadcrumbs a:hover { color:#fff; }
.breadcrumbs .active { color:#fff; font-weight:600; }

/* ======== LAYOUT & CONTENT ======== */
#main { max-width:1200px; margin:40px auto; padding:0 20px; }
/* Single Column Layout */
.main-content { display:grid; grid-template-columns:1fr; gap:40px; }
/* Two Column Layout */
.main-content-sidebar { display:grid; grid-template-columns:1fr 320px; gap:40px; }
.left-container { background:#fff; border-radius:10px; padding:40px; box-shadow:0 2px 10px rgba(0,0,0,.05); }

/* Sidebar */
.right-container { position:sticky; top:100px; align-self:start; }
.sidebar { background:#fff; border-radius:10px; padding:30px; box-shadow:0 2px 10px rgba(0,0,0,.05); }
.widget { margin-bottom:40px; }
.widget:last-child { margin-bottom:0; }
.widget-title { font-size:18px; color:#2d2d2d; margin:0 0 20px; padding-bottom:10px; border-bottom:3px solid #B00000; text-transform:uppercase; font-weight:700; }
.widget-title span { color:#B00000; } /* Added from original */
.widget ul.desc { list-style:none; padding:0; }
.widget ul.desc li { padding:12px 0; border-bottom:1px solid #e9ecef; margin:0; }
.widget ul.desc li:last-child { border-bottom:none; }
.widget ul.desc p { font-size:15px; margin:0; padding:0; border:none; color:#333; font-weight:600; }
.widget ul.desc img { margin:10px 0; border-radius:5px; }
.sidebar > p { margin-top:20px; }
.sidebar > p img { border-radius:10px; box-shadow:0 2px 10px rgba(0,0,0,.1); }

/* ======== SLIDER / BANNER ======== */
.bannercontainer { 
  position:relative; 
  margin-bottom:40px; 
  border-radius:10px; 
  overflow:hidden; 
  box-shadow:0 4px 20px rgba(0,0,0,.1);
}
.swiper { position:relative; width:100%; }
.swiper-wrapper { display:flex; transition:transform .5s ease; }
.swiper-slide { flex-shrink:0; width:100%; }
.swiper-slide img {
  width: 100%;
  height: auto; /* Uses the image's original aspect ratio */
  display: block;
}
.swiper-button-prev, .swiper-button-next { 
  position:absolute; top:50%; transform:translateY(-50%); 
  width:50px; height:50px; background:rgba(255,255,255,.9); 
  border-radius:50%; display:flex; align-items:center; justify-content:center; 
  cursor:pointer; z-index:10; transition:all .3s ease; box-shadow:0 2px 10px rgba(0,0,0,.2); 
}
.swiper-button-prev:hover, .swiper-button-next:hover { background:#fff; box-shadow:0 4px 15px rgba(0,0,0,.3); }
.swiper-button-prev { left:20px; }
.swiper-button-next { right:20px; }
.swiper-button-prev svg, .swiper-button-next svg { width:12px; height:20px; fill:#333; }
.swiper-button-prev svg { transform:rotate(180deg); }
.swiper-pagination { 
  position:absolute; bottom:20px; left:0; right:0; 
  display:flex; justify-content:center; gap:10px; z-index:10; 
}
.swiper-pagination-bullet { 
  width:12px; height:12px; background:rgba(255,255,255,.5); 
  border-radius:50%; cursor:pointer; transition:all .3s ease; 
}
.swiper-pagination-bullet-active { background:#fff; width:30px; border-radius:6px; }
.swiper-notification { position:absolute; left:-9999px; }

/* ======== CONTENT ELEMENTS (LAMINAT.HTML) ======== */
.lead { font-size:18px; line-height:1.8; color:#555; margin-bottom:30px; }
.cta { text-align:center; margin:30px 0; }
.btn { display:inline-block; padding:14px 32px; font-size:16px; font-weight:600; text-align:center; border-radius:8px; transition:all .3s ease; border:none; cursor:pointer; }
.btn-primary { background:#B00000; color:#fff; box-shadow:0 4px 15px rgba(176,0,0,.3); }
.btn-primary:hover { background:#990000; transform:translateY(-2px); box-shadow:0 6px 20px rgba(176,0,0,.4); }

.category-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:25px; margin:40px 0; list-style:none; padding:0; }
.card { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.08); transition:all .3s ease; border:1px solid #e9ecef; display:block; }
.card:hover { transform:translateY(-5px); box-shadow:0 8px 25px rgba(0,0,0,.15); }
.card img { width:100%; height:200px; object-fit:cover; }
.card h3 { font-size:20px; margin:20px 20px 10px; padding:0; border:none; color:#2d2d2d; }
.card p { padding:0 20px 20px; margin:0; font-size:14px; color:#666; }

.benefits { background:#f8f9fa; padding:25px; border-radius:10px; border-left:4px solid #B00000; }
.benefits li { margin-bottom:12px; }

.faq { margin:30px 0; }
.faq h3 { color:#2d2d2d; font-size:20px; margin-top:25px; margin-bottom:10px; }
.faq p { color:#555; padding-left:20px; border-left:3px solid #e9ecef; }

/* ======== CONTENT ELEMENTS (OTHER PAGES) ======== */
.price-table { width:100%; margin:25px 0; border-collapse:collapse; }
.price-table th, .price-table td { padding:12px 15px; border:1px solid #e9ecef; text-align:left; }
.price-table thead { background:#f8f9fa; font-weight:600; }
.price-table tbody tr:nth-child(even) { background:#f8f9fa; }
.price-table strong { color: #B00000; }

.cta-block { background-color: #f8f9fa; padding: 20px; border-radius: 8px; border-left: 5px solid #B00000; margin: 25px 0; }
.cta-block p { margin-bottom: 0; }

.bonus-box { background-color: #f8f9fa; padding: 20px; border-radius: 8px; border-left: 5px solid #B00000; margin-bottom: 20px; }
.bonus-box h3 { margin-top: 0; }
.bonus-box ul { list-style: none; padding-left: 0; }
.bonus-box li { padding-left: 25px; position: relative; }
.bonus-box li::before { content: '🎁'; position: absolute; left: 0; }

.comparison-grid { display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; margin: 20px 0; }
.comparison-grid > div { width:100%; }
@media (min-width: 768px) { .comparison-grid > div { width: 48%; } }
.comparison-grid h3 { font-size: 20px; }

/* FAQ Styles (details/summary) */
details { border: 1px solid #e9ecef; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
summary { padding: 15px 20px; font-weight: 600; cursor: pointer; position: relative; }
summary::after { content: '+'; position: absolute; right: 20px; font-size: 20px; color: #B00000; transition: transform 0.2s; }
details[open] summary { border-bottom: 1px solid #e9ecef; background-color: #f8f9fa; }
details[open] summary::after { content: '–'; }
details > p { padding: 20px; margin:0; }

/* FAQ Styles (h3/p) */
.faq-section h3 { font-size: 18px; font-weight: 600; margin-top: 25px; margin-bottom: 10px; }
.faq-section h3::before { content: '❓'; margin-right: 8px; }
.faq-section p { color: #555; padding-left: 20px; border-left: 3px solid #e9ecef; margin-bottom: 20px; }

.why-us ul { list-style: none; padding-left: 0; }
.why-us li { position: relative; padding-left: 30px; }
.why-us li::before { content: '✓'; position: absolute; left: 0; color: #B00000; font-weight: bold; font-size: 20px; }

/* Buttons (CTA) */
.btn-cta-group { text-align: center; margin: 30px 0; }
.btn-cta, .btn-cta-secondary { display:inline-block; padding: 12px 25px; color: #fff; text-decoration: none; border-radius: 5px; font-weight: bold; margin: 5px; transition: all 0.3s ease; }
.btn-cta { background-color: #B00000; }
.btn-cta:hover { background-color: #990000; transform: translateY(-2px); }
.btn-cta-secondary { background-color: #6c757d; }
.btn-cta-secondary:hover { background-color: #5a6268; transform: translateY(-2px); }

/* ======== FOOTER ======== */
footer { background:#2d2d2d; color:#ecf0f1; margin-top:60px; }
.footer-top { padding:50px 20px; }
.footer-top-ct { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:3fr 1fr; gap:40px; }
.left-box { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:40px; }
.footer-top .widget .widget-title { color:#fff; font-size:20px; border-bottom-color: #B00000;}
.footer-top ul { list-style:none; padding:0; }
.footer-top ul.info li { margin-bottom:15px; color:#bdc3c7; }
.footer-top ul.info a { color:#ecf0f1; }
.footer-top ul.info a:hover { color:#B00000; }
.footer-top ul.tags { display:flex; flex-wrap:wrap; gap:10px; }
.footer-top ul.tags li { margin:0; padding:0; border:none; }
.footer-top ul.tags a { display:block; padding:8px 15px; background:#444; color:#ecf0f1; border-radius:5px; font-size:13px; transition:all .3s ease; }
.footer-top ul.tags a:hover { background:#B00000; color:#fff; }
.footer-top ul.tweets li { font-size:14px; color:#bdc3c7; line-height:1.5; padding-left:25px; position:relative; margin:0 0 15px; }
.footer-top ul.tweets li::before { content: '“'; font-family:georgia,serif; font-size:28px; color:#B00000; position:absolute; left:0; top:0; }
.footer-top ul.tweets span { display:block; font-size:12px; color:#777; margin-top:5px; }

.right-box { text-align:center; }
/* This rule styles the empty div logo from laminat.html */
.right-box .logo[aria-hidden="true"] { width:100px; height:100px; background:#444; border-radius:50%; margin:0 auto 20px; }
/* This rule styles the img logo from the template */
.right-box .logo img { margin:0 auto 20px; }
.right-box h3 { color:#ecf0f1; font-size:16px; line-height:1.8; margin:0; font-weight:400; }

.footer-bottom { background:#1e1e1e; padding:20px; text-align:center; }
.footer-bottom p { margin:0; color:#95a5a6; font-size:14px; }
.footer-bottom .copyright span { color:#B00000; }

/* ======== STICKY CTA (LAMINAT.HTML) ======== */
.sticky-cta { position:fixed; left:0; right:0; bottom:0; display:none; background:#fff; border-top:1px solid rgba(0,0,0,.08); padding:10px 12px; z-index:9999; box-shadow:0 -8px 18px rgba(0,0,0,.08); }
.sticky-cta .grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.sticky-cta a { text-align:center; text-decoration:none; padding:12px 10px; border-radius:10px; font-weight:600; border:1px solid rgba(0,0,0,.12); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px; }
.sticky-cta a.cta-primary { background:#B00000; color:#fff; border-color:#B00000; }
.sticky-cta a.cta-secondary, .sticky-cta a.cta-outline { background:#fff; color:#111; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ======== AKSESOARI PAGE STYLES ======== */
.jumplinks {
  font-size: 0.9em;
  font-weight: 600;
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 5px;
  margin: 0 0 16px 0;
}
.jumplinks a {
  margin: 0 5px;
}
.jumplinks strong {
  color: #333;
}

.grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
  align-items: center; /* Vertically aligns items */
}

.definition-list {
  margin: 20px 0;
  border-left: 3px solid #B00000;
  padding-left: 20px;
}
.definition-list dt {
  font-weight: bold;
  color: #2d2d2d;
  font-size: 1.1em;
}
.definition-list dd {
  margin-left: 0;
  margin-bottom: 15px;
  color: #555;
}

.note {
  background: #f8f9fa;
  border-left: 3px solid #B00000;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 0.95em;
  margin: 20px 0;
}
.note strong {
  color: #333;
}

.anchor-link {
  /* This is for the jump-links like #podlozhki */
  position: relative;
  top: -90px; /* Adjust this value based on your sticky header height */
  display: block;
}

/* Styles for the ordered-list FAQ */
.faq-section-ol {
  margin-top: 30px;
  border-top: 1px solid #e9ecef;
  padding-top: 10px;
}
.faq-section-ol h2 {
  border-bottom: none;
}
.faq-section-ol ol {
  padding-left: 20px;
}
.faq-section-ol li {
  margin-bottom: 15px;
  padding-left: 10px;
}
.faq-section-ol li::marker {
  font-weight: bold;
  color: #B00000;
}

.ext-sources {
  font-size: 0.9em;
  color: #666;
  list-style-type: disc;
  margin-top: 30px;
  border-top: 1px solid #e9ecef;
  padding-top: 20px;
}
.ext-sources li {
  margin-bottom: 5px;
}

.jumplinks {
  font-size: 0.9em;
  font-weight: 600;
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 5px;
  margin: 0 0 16px 0;
}
.jumplinks a {
  margin: 0 5px;
}
.jumplinks strong {
  color: #333;
}

/* ======== SPC-NASTILKI PAGE STYLES ======== */
/* ======== SPC-NASTILKI PAGE STYLES ======== */
.article-image {
  margin: 20px auto; /* 'auto' on the left/right centers the block */
  border-radius: 8px; 
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* "TL;DR" Box */
.tldr {
  background: #fff3cd;
  border: 1px solid #ffe08a;
  color: #6b5900;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.tldr ul {
  padding-left: 20px;
  margin: 10px 0 0 0;
}
.tldr li {
  margin-bottom: 5px;
}

/* Table of Contents Box */
.toc {
  background: #f1f3f5;
  border: 1px solid #e9ecef;
  padding: 16px;
  border-radius: 8px;
  margin: 20px 0;
}
.toc strong {
  color: #333;
}
.toc ul {
  padding-left: 20px;
  margin: 10px 0 0 0;
}
.toc a {
  color: #333;
  text-decoration: underline;
}

/* Accessibility class */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
/* ======== ADD TO RESPONSIVE SECTION ======== */
/* You need to add this rule INSIDE your existing @media (max-width:768px) block */

@media (max-width:768px){
  .grid-cols-2 {
    grid-template-columns: 1fr; /* Stacks the 2-column grid on mobile */
  }
}

/* ======== RESPONSIVE ======== */
@media (max-width:1024px){ 
  .main-content-sidebar { grid-template-columns:1fr; } 
  .right-container { position:static; }
}
@media (max-width:768px){ 
  body { padding-bottom:92px; } /* Added for sticky-cta */
  .menu { display:none; } 
  .mobile-menu { display:block; } 
  .header-container { justify-content:center; } 
  .title-text p { font-size:24px; } 
  .left-container { padding:25px; } 
  h1 { font-size:28px; } 
  h2 { font-size:24px; } 
  .category-grid { grid-template-columns:1fr; } /* Added for laminat.html */
  .footer-top-ct { grid-template-columns:1fr; } 
  .left-box { grid-template-columns:1fr; } 
  .comparison-grid { flex-direction: column; } 
  .comparison-grid > div { width: 100%; }
  .sticky-cta { display:block; } /* Added for laminat.html */
}


table{width:100%;border-collapse:collapse;margin:12px 0}

th,td{border:1px solid #e6e6e6;padding:8px;text-align:left}

.note{background:#f7f7f7;padding:15px;border-left:5px solid #007bff;border-radius:8px}

.btn{display:inline-block;padding:10px 20px;border-radius:6px;text-decoration:none;color:#fff;font-weight:600}

.btn-primary{background:#28a745}

.btn-secondary{background:#6c757d}

.last-updated{font-size:.9em;color:#666;margin:8px 0}

.proscons td:first-child{width:50%}

figure{margin:16px 0}

figcaption{font-size:.9em;color:#555}

#author-box {
  display: flex;
  flex-wrap: wrap; /* Allows text to drop below image on small screens */
  gap: 16px;
  align-items: center;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 24px;
}

#author-box div { 
  flex: 1; /* Allows the text to fill the remaining space */
  min-width: 200px; /* Helps with wrapping on narrow screens */
}

/* ======== FIGURE & FIGCAPTION STYLES ======== */
figure {
  max-width: 600px; /* Or whatever max-width you prefer */
  margin: 25px auto; /* This centers the whole block */
}
figure img {
  border-radius: 8px; /* Optional: adds nice rounded corners */
  box-shadow: 0 2px 10px rgba(0,0,0,.08); /* Optional: adds a subtle shadow */
}
figcaption {
  font-size: 0.9em;
  color: #666;
  text-align: center; /* This centers the caption text */
  margin-top: 10px;
}
/* ======== KONTAKTI PAGE STYLES ======== */
.hero {
  text-align: center;
  padding: 10px 0 20px 0;
}
.hero p {
  font-size: 1.1em;
  color: #555;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.card.nap ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.card.nap li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  font-size: 1.05em;
}
.card.nap li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #B00000;
  font-weight: bold;
}
/* Specific icons for list items */
.card.nap li:nth-of-type(1)::before { content: '🏢'; }
.card.nap li:nth-of-type(2)::before { content: '📍'; }
.card.nap li:nth-of-type(3)::before { content: '📞'; }
.card.nap li:nth-of-type(4)::before { content: '✉️'; }
.card.nap li:nth-of-type(5)::before { content: '🕒'; }

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.map-iframe {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 8px;
}

.meta {
  font-size: 0.9em;
  color: #666;
  margin-top: 20px;
  margin-bottom: 0;
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.card.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}
.card.form input[type="text"],
.card.form input[type="tel"],
.card.form input[type="email"],
.card.form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  font-family: inherit;
}
.card.form textarea {
  min-height: 120px;
  resize: vertical;
}
.card.form .consent {
  display: block;
  margin: 20px 0;
  font-weight: normal;
}
.card.form .consent input {
  margin-right: 8px;
  transform: translateY(1px);
}
.card.form button.btn-cta {
  font-size: 1.1em;
  padding: 12px 28px;
}

/* Accessibility class for honeypot */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

/* ======== RESPONSIVE FIXES (ADD TO END OF CSS FILE) ======== */

/* Add these inside your existing @media (max-width:768px) block */
.grid {
  grid-template-columns: 1fr;
}
.form-row {
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 0;
}
/* This adds a gap between form fields on mobile */
.form-row > div {
  margin-bottom: 20px;
}