/* ==========================================================
   PROČ FACEBOOK NESTAČÍ – BLOG ARTICLE
========================================================== */

main {
  background: #f2f4f7;
  color: #121417;
}

/* ==========================================================
   GLOBAL
========================================================== */

.fbweb-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.fbweb-hero h1,
.fbweb-hero p,
.fbweb-hero span,
.fbweb-intro h2,
.fbweb-intro p {
  text-align: center;
}

/* ==========================================================
   HERO
========================================================== */

.fbweb-hero {
    width: 98%;
    max-width: 1680px;

    margin: 0 auto 30px;
    padding: 30px 0;

    background: linear-gradient(
        135deg,
        #f4f6f9 0%,
        #e7ebf0 100%
    );

    border-radius: 0 0 24px 24px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.fbweb-hero-inner {
    width: 90%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 42px;
}

/* ==========================================================
   HERO CONTENT
========================================================== */

.fbweb-hero-content {
    width: 100%;
    max-width: 1680px;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0 auto;
}

.fbweb-hero-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    margin-bottom: 18px;
    padding: 8px 15px;

    border-radius: 999px;

    background: rgba(0, 68, 204, 0.1);
    color: #0044cc;

    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

.fbweb-hero h1 {
    width: 100%;
    max-width: 760px;

    margin: 0 auto 18px;

    color: #0044cc;

    font-size: clamp(2.1rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.fbweb-hero p {
    width: 100%;
    max-width: 700px;

    margin: 0 auto;

    color: #444b52;

    font-size: 1.12rem;
    line-height: 1.78;
}
/* ==========================================================
   HERO IMAGE
========================================================== */

.fbweb-hero-image {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: visible;
  border-radius: 28px;
}

.fbweb-hero-image::before {
  content: "";

  position: absolute;
  inset: -12px;

  border-radius: 34px;

  background:
    linear-gradient(
      135deg,
      rgba(0, 68, 204, 0.28),
      rgba(255, 204, 0, 0.48),
      transparent 68%
    );

  filter: blur(20px);
  opacity: 0.68;
  z-index: 0;
}

.fbweb-hero-image img {
  position: relative;
  z-index: 1;

  display: block;

  width: 100%;
  height: auto;
  max-height: 520px;

  object-fit: cover;
  object-position: center;

  border-radius: 28px;
  border: 1px solid rgba(0, 68, 204, 0.16);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.12);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.fbweb-hero-image:hover img {
  transform: translateY(-6px) scale(1.02);

  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.27),
    0 14px 30px rgba(0, 0, 0, 0.14);
}

/* ==========================================================
   INTRO
========================================================== */

.fbweb-intro {
  padding: 30px 0 30px;
}

.fbweb-intro .fbweb-container {
  max-width: 940px;
}

.fbweb-intro h2 {
  max-width: 820px;
  margin: 0 auto 24px;

  color: #0044cc;

  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;

  text-shadow:
    0 4px 18px rgba(0, 68, 204, 0.12);
}

.fbweb-intro p {
  max-width: 830px;
  margin: 0 auto 18px;

  color: #42484e;

  font-size: 1.06rem;
  line-height: 1.85;
}

.fbweb-intro p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   ODKAZY V ČLÁNKU
========================================================== */

.fbweb-intro a {
    color: #0044CC;
    font-weight: 700;
    text-decoration: none;
    transition: color .25s ease;
}

.fbweb-intro a:hover {
    color: #003399;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

body.dark .fbweb-intro a {
    color: #ffcc00;
}

body.dark .fbweb-intro a:hover {
    color: #ffe372;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* ==========================================================
   INTRO CONTENT PANEL
========================================================== */

.fbweb-intro .fbweb-container {
  position: relative;

  padding: 30px 30px;

  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 26px;

  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.07);
}

.fbweb-intro .fbweb-container::before {
  content: "";

  position: absolute;
  top: 0;
  left: 50%;

  width: 120px;
  height: 4px;

  transform: translateX(-50%);

  border-radius: 0 0 999px 999px;

  background:
    linear-gradient(
      90deg,
      #0044cc,
      #ffcc00
    );
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

  .fbweb-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .fbweb-hero-content {
    order: 1;
  }

  .fbweb-hero-image {
    order: 2;
    max-width: 760px;
    margin: 0 auto;
  }

  .fbweb-hero h1 {
    max-width: 820px;
  }

  .fbweb-hero p {
    max-width: 760px;
  }

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

  .fbweb-hero {
    width: 94%;
    margin-bottom: 20px;
    padding: 32px 0;

    border-radius: 0 0 20px 20px;
  }

  .fbweb-hero-inner {
    width: 88%;
    gap: 28px;
  }

  .fbweb-hero-tag {
    margin-bottom: 15px;
    padding: 7px 13px;

    font-size: 0.73rem;
    letter-spacing: 0.04em;
  }

  .fbweb-hero h1 {
    margin-bottom: 15px;

    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.18;
  }

  .fbweb-hero p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .fbweb-hero-image,
  .fbweb-hero-image img {
    border-radius: 20px;
  }

  .fbweb-hero-image::before {
    inset: -7px;
    border-radius: 24px;
    filter: blur(14px);
  }

  .fbweb-hero-image:hover img {
    transform: none;
  }

  .fbweb-intro {
    padding: 30px 0 30px;
  }

  .fbweb-intro .fbweb-container {
    width: 92%;
    padding: 32px 24px;

    border-radius: 22px;
  }

  .fbweb-intro h2 {
    margin-bottom: 20px;

    font-size: 1.75rem;
    line-height: 1.28;
  }

  .fbweb-intro p {
    margin-bottom: 16px;

    font-size: 1rem;
    line-height: 1.76;
  }

}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

  .fbweb-hero {
    width: 96%;
    padding: 27px 0 30px;
  }

  .fbweb-hero-inner {
    width: 89%;
  }

  .fbweb-hero h1 {
    font-size: 1.72rem;
  }

  .fbweb-hero p {
    font-size: 0.97rem;
  }

  .fbweb-intro .fbweb-container {
    width: 94%;
    padding: 28px 19px;
  }

  .fbweb-intro h2 {
    font-size: 1.55rem;
  }

}

/* ==========================================================
   DARK MODE
========================================================== */

body.dark main {
  background: #1a001f;
  color: #f2f2f2;
}

body.dark .fbweb-hero {
  background:
    linear-gradient(
      145deg,
      rgba(30, 0, 45, 0.96),
      rgba(15, 0, 30, 0.98)
    );

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid transparent;

  border-image:
    linear-gradient(
      180deg,
      #a832d6,
      #ffcc00
    ) 1;

  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5);
}

body.dark .fbweb-hero-tag {
  background: rgba(255, 204, 0, 0.16);
  color: #ffcc00;
}

body.dark .fbweb-hero h1,
body.dark .fbweb-intro h2 {
  color: #ffcc00;

  text-shadow:
    0 0 14px rgba(255, 204, 0, 0.25);
}

body.dark .fbweb-hero p,
body.dark .fbweb-intro p {
  color: #dddddd;
}

body.dark .fbweb-hero-image img {
  border: 2px solid rgba(255, 255, 255, 0.16);

  box-shadow:
    0 0 60px rgba(255, 255, 255, 0.14),
    0 0 120px rgba(168, 50, 214, 0.18);
}

body.dark .fbweb-hero-image::before {
  background:
    linear-gradient(
      135deg,
      rgba(168, 50, 214, 0.5),
      rgba(255, 204, 0, 0.4),
      transparent 68%
    );
}

body.dark .fbweb-intro .fbweb-container {
  background:
    linear-gradient(
      145deg,
      rgba(30, 0, 45, 0.92),
      rgba(15, 0, 30, 0.96)
    );

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.5);
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .fbweb-hero-image img {
    transition: none;
  }

  .fbweb-hero-image:hover img {
    transform: none;
  }

}

/* ==========================================================
   HLAVNÍ DŮVODY – PROČ FACEBOOK NESTAČÍ
========================================================== */

.fbweb-reasons {
  padding: 30px 0 30px;
}

.fbweb-reasons .fbweb-container {
  width: 90%;
  max-width: 1380px;
  margin: 0 auto;
}

/* ==========================================================
   HLAVIČKA SEKCE
========================================================== */

.fbweb-section-label {
  display: block;
  width: fit-content;

  margin: 0 auto 18px;
  padding: 8px 15px;

  border-radius: 999px;

  background: rgba(0, 68, 204, 0.1);
  color: #0044cc;

  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
}

.fbweb-reasons > .fbweb-container > h2 {
  max-width: 920px;
  margin: 0 auto 18px;

  color: #0044cc;

  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
  text-align: center;

  text-shadow:
    0 4px 18px rgba(0, 68, 204, 0.13);
}

.fbweb-section-intro {
  max-width: 820px;
  margin: 0 auto 30px;

  color: #42484e;

  font-size: 1.06rem;
  line-height: 1.82;
  text-align: center;
}

/* ==========================================================
   JEDNOTLIVÉ ŘÁDKY
========================================================== */

.fbweb-reason-row {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(38px, 5vw, 78px);

  margin-bottom: 30px;
  padding: 38px;

  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;

  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.07);

  overflow: hidden;
}

.fbweb-reason-row:last-child {
  margin-bottom: 0;
}

.fbweb-reason-row::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      #0044cc 0%,
      #4f82eb 50%,
      #ffcc00 100%
    );
}

/* ==========================================================
   STŘÍDÁNÍ POŘADÍ
========================================================== */

.fbweb-reason-row-reverse .fbweb-reason-image {
  order: 2;
}

.fbweb-reason-row-reverse .fbweb-reason-content {
  order: 1;
}

/* ==========================================================
   OBRÁZEK
========================================================== */

.fbweb-reason-image {
  position: relative;
  min-width: 0;

  border-radius: 24px;
}

.fbweb-reason-image::before {
  content: "";

  position: absolute;
  inset: -9px;

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      rgba(0, 68, 204, 0.24),
      rgba(255, 204, 0, 0.38),
      transparent 68%
    );

  filter: blur(17px);
  opacity: 0.62;
  z-index: 0;
}

.fbweb-reason-image img {
  position: relative;
  z-index: 1;

  display: block;

  width: 100%;
  height: 420px;

  object-fit: cover;
  object-position: center;

  border-radius: 24px;
  border: 1px solid rgba(0, 68, 204, 0.14);

  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.1);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.fbweb-reason-row:hover .fbweb-reason-image img {
  transform: translateY(-5px) scale(1.018);

  box-shadow:
    0 30px 68px rgba(0, 0, 0, 0.25),
    0 12px 26px rgba(0, 0, 0, 0.13);
}

/* ==========================================================
   TEXTOVÝ OBSAH
========================================================== */

.fbweb-reason-content {
  min-width: 0;
}

.fbweb-reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;

  margin-bottom: 18px;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      #0044cc,
      #2766dc
    );

  color: #ffffff;

  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;

  box-shadow:
    0 10px 24px rgba(0, 68, 204, 0.24);
}

.fbweb-reason-content h3 {
  max-width: 620px;
  margin: 0 0 18px;

  color: #0044cc;

  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;

  text-align: left;
}

.fbweb-reason-content p {
  max-width: 680px;
  margin: 0 0 15px;

  color: #42484e;

  font-size: 1.02rem;
  line-height: 1.78;
  text-align: left;
}

.fbweb-reason-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   ODKAZY V DŮVODECH
========================================================== */

.fbweb-reason-content a {
  color: #0044cc;
  font-weight: 700;
  text-decoration: none;

  transition:
    color 0.25s ease,
    text-decoration-color 0.25s ease;
}

.fbweb-reason-content a:hover {
  color: #003399;

  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ==========================================================
   SPECIÁLNÍ OBRÁZKY
========================================================== */

/* Facebook nevlastníte */
.fbweb-reason-image img.facebook-owner-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

  .fbweb-reasons {
    padding: 30px 0 30px;
  }

  .fbweb-section-intro {
    margin-bottom: 30px;
  }

  .fbweb-reason-row {
    grid-template-columns: 1fr;
    gap: 30px;

    margin-bottom: 30px;
    padding: 30px;
  }

  .fbweb-reason-row-reverse .fbweb-reason-image,
  .fbweb-reason-row-reverse .fbweb-reason-content {
    order: initial;
  }

  .fbweb-reason-image {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }

  .fbweb-reason-image img {
    height: auto;
    aspect-ratio: 9 / 7;
  }

  .fbweb-reason-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fbweb-reason-content h3,
  .fbweb-reason-content p {
    max-width: 760px;
    text-align: center;
  }

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

  .fbweb-reasons {
    padding: 30px 0 30px;
  }

  .fbweb-reasons .fbweb-container {
    width: 92%;
  }

  .fbweb-section-label {
    margin-bottom: 15px;
    padding: 7px 13px;

    font-size: 0.73rem;
    letter-spacing: 0.04em;
  }

  .fbweb-reasons > .fbweb-container > h2 {
    margin-bottom: 16px;

    font-size: 1.8rem;
    line-height: 1.27;
  }

  .fbweb-section-intro {
    margin-bottom: 30px;

    font-size: 1rem;
    line-height: 1.72;
  }

  .fbweb-reason-row {
    gap: 25px;

    margin-bottom: 30px;
    padding: 24px 20px 28px;

    border-radius: 22px;
  }

  .fbweb-reason-image,
  .fbweb-reason-image img {
    border-radius: 18px;
  }

  .fbweb-reason-image::before {
    inset: -6px;

    border-radius: 22px;

    filter: blur(12px);
  }

  .fbweb-reason-row:hover .fbweb-reason-image img {
    transform: none;
  }

  .fbweb-reason-number {
    width: 50px;
    height: 50px;

    margin-bottom: 15px;

    border-radius: 16px;
  }

  .fbweb-reason-content h3 {
    margin-bottom: 15px;

    font-size: 1.5rem;
    line-height: 1.3;
  }

  .fbweb-reason-content p {
    margin-bottom: 14px;

    font-size: 1rem;
    line-height: 1.72;
  }

}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

  .fbweb-reasons .fbweb-container {
    width: 94%;
  }

  .fbweb-reasons > .fbweb-container > h2 {
    font-size: 1.58rem;
  }

  .fbweb-reason-row {
    padding: 20px 17px 24px;
  }

  .fbweb-reason-content h3 {
    font-size: 1.34rem;
  }

  .fbweb-reason-content p {
    font-size: 0.97rem;
  }

}

/* ==========================================================
   DARK MODE – HLAVNÍ DŮVODY
========================================================== */

body.dark .fbweb-section-label {
  background: rgba(255, 204, 0, 0.16);
  color: #ffcc00;
}

body.dark .fbweb-reasons > .fbweb-container > h2 {
  color: #ffcc00;

  text-shadow:
    0 0 14px rgba(255, 204, 0, 0.25);
}

body.dark .fbweb-section-intro {
  color: #dddddd;
}

body.dark .fbweb-reason-row {
  background:
    linear-gradient(
      145deg,
      rgba(30, 0, 45, 0.92),
      rgba(15, 0, 30, 0.96)
    );

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5);
}

body.dark .fbweb-reason-row::before {
  background:
    linear-gradient(
      90deg,
      #a832d6,
      #ffcc00
    );
}

body.dark .fbweb-reason-number {
  background:
    linear-gradient(
      135deg,
      #a832d6,
      #6f1b9e
    );

  color: #ffffff;

  box-shadow:
    0 10px 28px rgba(168, 50, 214, 0.3);
}

body.dark .fbweb-reason-content h3 {
  color: #ffcc00;

  text-shadow:
    0 0 10px rgba(255, 204, 0, 0.2);
}

body.dark .fbweb-reason-content p {
  color: #dddddd;
}

body.dark .fbweb-reason-content a {
  color: #ffcc00;
}

body.dark .fbweb-reason-content a:hover {
  color: #ffe372;

  text-decoration-color: #ffe372;
}

body.dark .fbweb-reason-image img {
  border: 2px solid rgba(255, 255, 255, 0.16);

  box-shadow:
    0 0 50px rgba(255, 255, 255, 0.11),
    0 0 100px rgba(168, 50, 214, 0.16);
}

body.dark .fbweb-reason-image::before {
  background:
    linear-gradient(
      135deg,
      rgba(168, 50, 214, 0.48),
      rgba(255, 204, 0, 0.34),
      transparent 68%
    );
}

/* ==========================================================
   REDUCED MOTION – HLAVNÍ DŮVODY
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .fbweb-reason-image img {
    transition: none;
  }

  .fbweb-reason-row:hover .fbweb-reason-image img {
    transform: none;
  }

}

/* ==========================================================
   FACEBOOK VS FIREMNÍ WEB – SROVNÁVACÍ TABULKA
========================================================== */

.fbweb-compare {
  padding: 30px 0;
}

.fbweb-compare .fbweb-container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

.fbweb-compare > .fbweb-container > h2 {
  max-width: 860px;
  margin: 0 auto 18px;

  color: #0044cc;

  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;

  text-shadow: 0 4px 18px rgba(0, 68, 204, 0.13);
}

.fbweb-compare .fbweb-section-intro {
  max-width: 820px;
  margin: 0 auto 30px;

  color: #42484e;

  font-size: 1.06rem;
  line-height: 1.82;
  text-align: center;
}

/* ==========================================================
   ODKAZ V ÚVODU TABULKY
========================================================== */

.fbweb-compare .fbweb-section-intro a {
  color: #0044cc;
  font-weight: 700;
  text-decoration: none;

  transition:
    color 0.25s ease,
    text-decoration-color 0.25s ease;
}

.fbweb-compare .fbweb-section-intro a:hover {
  color: #003399;

  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ==========================================================
   TABLE WRAPPER
========================================================== */

.fbweb-table-wrap {
  width: 100%;
  overflow-x: auto;

  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 26px;

  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.08);

  -webkit-overflow-scrolling: touch;
}

/* ==========================================================
   TABLE
========================================================== */

.fbweb-table {
  width: 100%;
  min-width: 680px;

  border-collapse: collapse;
  border-spacing: 0;
}

.fbweb-table th,
.fbweb-table td {
  padding: 18px 22px;

  border-bottom: 1px solid rgba(0, 0, 0, 0.07);

  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.fbweb-table th:first-child,
.fbweb-table td:first-child {
  width: 48%;
  text-align: left;
}

.fbweb-table thead th {
  background:
    linear-gradient(
      135deg,
      #0044cc,
      #245fd0
    );

  color: #ffffff;

  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.fbweb-table thead th:first-child {
  border-radius: 24px 0 0 0;
}

.fbweb-table thead th:last-child {
  border-radius: 0 24px 0 0;
}

.fbweb-table tbody td {
  color: #42484e;
  background: #ffffff;

  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.fbweb-table tbody tr:nth-child(even) td {
  background: #f7f9fc;
}


.fbweb-table tbody td:first-child {
  color: #1d2630;
  font-weight: 700;
}

.fbweb-table tbody td:nth-child(2),
.fbweb-table tbody td:nth-child(3) {
  font-weight: 700;
}

.fbweb-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ==========================================================
   NEJČASTĚJŠÍ CHYBY FIREM
========================================================== */

.fbweb-mistakes {
  padding: 30px 0;
}

.fbweb-mistakes .fbweb-container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ==========================================================
   NADPIS SEKCE
========================================================== */

.fbweb-mistakes > .fbweb-container > h2 {
  max-width: 880px;
  margin: 0 auto 18px;

  color: #0044cc;

  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;

  text-shadow:
    0 4px 18px rgba(0, 68, 204, 0.13);
}

.fbweb-mistakes .fbweb-section-intro {
  max-width: 820px;
  margin: 0 auto 30px;

  color: #42484e;

  font-size: 1.06rem;
  line-height: 1.82;
  text-align: center;
}

/* ==========================================================
   GRID KARET
========================================================== */

.fbweb-mistakes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* ==========================================================
   KARTA
========================================================== */

.fbweb-mistake-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;
  padding: 30px 24px;

  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;

  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.07);

  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.fbweb-mistake-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      #0044cc,
      #ffcc00
    );
}

.fbweb-mistake-card:hover {
  transform: translateY(-5px);

  border-color: rgba(0, 68, 204, 0.14);

  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.11);
}

/* ==========================================================
   IKONA
========================================================== */

.fbweb-mistake-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  margin-bottom: 18px;

  border-radius: 16px;

  background: rgba(220, 38, 38, 0.08);

  font-size: 1.45rem;
  line-height: 1;

  box-shadow:
    inset 0 0 0 1px rgba(220, 38, 38, 0.1);
}

/* ==========================================================
   TEXT
========================================================== */

.fbweb-mistake-card h3 {
  margin: 0 0 12px;

  color: #0044cc;

  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.fbweb-mistake-card p {
  margin: 0;

  color: #42484e;

  font-size: 0.98rem;
  line-height: 1.7;
  text-align: center;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

  .fbweb-mistakes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

  .fbweb-mistakes {
    padding: 30px 0;
  }

  .fbweb-mistakes .fbweb-container {
    width: 92%;
  }

  .fbweb-mistakes > .fbweb-container > h2 {
    font-size: 1.8rem;
  }

  .fbweb-mistakes .fbweb-section-intro {
    font-size: 1rem;
    line-height: 1.72;
  }

  .fbweb-mistakes-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fbweb-mistake-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .fbweb-mistake-card:hover {
    transform: none;
  }

}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

  .fbweb-mistakes .fbweb-container {
    width: 94%;
  }

  .fbweb-mistakes > .fbweb-container > h2 {
    font-size: 1.58rem;
  }

  .fbweb-mistake-card {
    padding: 24px 18px;
  }

  .fbweb-mistake-card h3 {
    font-size: 1.1rem;
  }

  .fbweb-mistake-card p {
    font-size: 0.95rem;
  }

}

/* ==========================================================
   DARK MODE – NEJČASTĚJŠÍ CHYBY
========================================================== */

body.dark .fbweb-mistakes > .fbweb-container > h2 {
  color: #ffcc00;

  text-shadow:
    0 0 14px rgba(255, 204, 0, 0.25);
}

body.dark .fbweb-mistakes .fbweb-section-intro {
  color: #dddddd;
}

body.dark .fbweb-mistake-card {
  background:
    linear-gradient(
      145deg,
      rgba(30, 0, 45, 0.92),
      rgba(15, 0, 30, 0.96)
    );

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5);
}

body.dark .fbweb-mistake-card::before {
  background:
    linear-gradient(
      90deg,
      #a832d6,
      #ffcc00
    );
}

body.dark .fbweb-mistake-card > span {
  background: rgba(255, 204, 0, 0.1);

  box-shadow:
    inset 0 0 0 1px rgba(255, 204, 0, 0.16);
}

body.dark .fbweb-mistake-card h3 {
  color: #ffcc00;

  text-shadow:
    0 0 10px rgba(255, 204, 0, 0.18);
}

body.dark .fbweb-mistake-card p {
  color: #dddddd;
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .fbweb-mistake-card {
    transition: none;
  }

  .fbweb-mistake-card:hover {
    transform: none;
  }

}

/* ==========================================================
   CTA
========================================================== */

.fbweb-cta {
  padding: 30px 0 30px;
}

.fbweb-cta .fbweb-container {
  position: relative;

  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 34px;

  display: flex;
  flex-direction: column;
  align-items: center;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #eef3fb 100%
    );

  border: 1px solid rgba(0, 68, 204, 0.1);
  border-radius: 28px;

  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.08);

  overflow: hidden;
}

.fbweb-cta .fbweb-container::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      #0044cc,
      #4f82eb,
      #ffcc00
    );
}

.fbweb-cta h2 {
  max-width: 780px;
  margin: 0 auto 18px;

  color: #0044cc;

  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;

  text-shadow:
    0 4px 18px rgba(0, 68, 204, 0.12);
}

.fbweb-cta p {
  max-width: 760px;
  margin: 0 auto 30px;

  color: #42484e;

  font-size: 1.06rem;
  line-height: 1.8;
  text-align: center;
}

.fbweb-conclusion + .cta-consult{
    width:60% !important;
    max-width:1680px !important;
    margin:30px auto !important;
    padding:0 !important;
}

.fbweb-conclusion + .cta-consult .cta-consult-box{
    width:100%;
    max-width:100%;
}

/* ==========================================================
   CTA BUTTON
========================================================== */

.fbweb-cta .btn-primary {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 50px;
  padding: 14px 30px;

  color: #0044cc;
  background: transparent;

  border: 2px solid #0044cc;
  border-radius: 50px;

  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.fbweb-cta .btn-primary:hover {
  color: #ffffff;
  background: #0044cc;
  border-color: #0044cc;

  transform: translateY(-3px);

  box-shadow:
    0 10px 28px rgba(0, 68, 204, 0.35);
}

.fbweb-cta .btn-primary:focus-visible {
  outline: 3px solid rgba(0, 68, 204, 0.28);
  outline-offset: 4px;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

  .fbweb-compare,
  .fbweb-cta {
    padding-top: 30px;
  }

  .fbweb-table th,
  .fbweb-table td {
    padding: 16px 18px;
  }

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

  .fbweb-table-wrap {
    overflow: visible;
    border-radius: 22px;
    background: transparent;
    box-shadow: none;
    border: 0;
  }

  .fbweb-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .fbweb-table thead {
    display: none;
  }

  .fbweb-table,
  .fbweb-table tbody,
  .fbweb-table tr,
  .fbweb-table td {
    display: block;
    width: 100%;
  }

  .fbweb-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;

    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .fbweb-table tbody td {
    padding: 14px 12px;
    border: 0;
    background: transparent;
    text-align: center;
  }

  .fbweb-table tbody td:first-child {
    grid-column: 1 / -1;

    width: 100%;
    padding: 15px 14px;

    color: #313436;
    background: #0044cc;

    font-weight: 800;
    text-align: center;
  }

  .fbweb-table tbody td:nth-child(2)::before {
    content: "Facebook";
    display: block;
    margin-bottom: 6px;

    color: #667085;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .fbweb-table tbody td:nth-child(3)::before {
    content: "Firemní web";
    display: block;
    margin-bottom: 6px;

    color: #667085;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .fbweb-table tbody td:nth-child(2) {
    border-right: 1px solid rgba(0, 0, 0, 0.07);
  }

  .fbweb-conclusion + .cta-consult {
        width: 92%;
    }

  /* ==========================
     DARK MODE
  ========================== */

  body.dark .fbweb-table tbody tr {
    background: linear-gradient(
      145deg,
      rgba(30, 0, 45, 0.94),
      rgba(15, 0, 30, 0.98)
    );

    border-color: rgba(255, 255, 255, 0.1);
  }

  body.dark .fbweb-table tbody td:first-child {
    color: #111111;
    background: #ffcc00;
  }

  body.dark .fbweb-table tbody td:nth-child(2),
  body.dark .fbweb-table tbody td:nth-child(3) {
    color: #dddddd;
    background: transparent;
  }

  body.dark .fbweb-table tbody td:nth-child(2) {
    border-right-color: rgba(255, 255, 255, 0.1);
  }

  body.dark .fbweb-table tbody td:nth-child(2)::before,
  body.dark .fbweb-table tbody td:nth-child(3)::before {
    color: #ffcc00;
  }

}
/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

  .fbweb-compare .fbweb-container,
  .fbweb-cta .fbweb-container {
    width: 94%;
  }

  .fbweb-compare > .fbweb-container > h2 {
    font-size: 1.58rem;
  }

  .fbweb-table {
    width: 100%;
    min-width: 0;
  }

  .fbweb-table th,
  .fbweb-table td {
    padding: 14px 10px;
    font-size: 0.9rem;
  }

  .fbweb-cta .fbweb-container {
    padding: 30px 18px;
  }

  .fbweb-cta h2 {
    font-size: 1.55rem;
  }

  .fbweb-conclusion + .cta-consult {
        width: 94%;
    }

}

/* ==========================================================
   DARK MODE – COMPARISON
========================================================== */

body.dark .fbweb-compare > .fbweb-container > h2,
body.dark .fbweb-cta h2 {
  color: #ffcc00;

  text-shadow:
    0 0 14px rgba(255, 204, 0, 0.25);
}

body.dark .fbweb-compare .fbweb-section-intro,
body.dark .fbweb-cta p {
  color: #dddddd;
}

body.dark .fbweb-compare .fbweb-section-intro a {
  color: #ffcc00;
}

body.dark .fbweb-compare .fbweb-section-intro a:hover {
  color: #ffe372;
  text-decoration-color: #ffe372;
}

body.dark .fbweb-table-wrap {
  background:
    linear-gradient(
      145deg,
      rgba(30, 0, 45, 0.94),
      rgba(15, 0, 30, 0.98)
    );

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5);
}

body.dark .fbweb-table thead th {
  background:
    linear-gradient(
      135deg,
      #6f1b9e,
      #a832d6
    );

  color: #ffffff;
}

body.dark .fbweb-table tbody td {
  color: #dddddd;
  background: rgba(255, 255, 255, 0.025);

  border-bottom-color: rgba(255, 255, 255, 0.09);
}

body.dark .fbweb-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.05);
}


/* ==========================================================
   DARK MODE – CTA
========================================================== */

body.dark .fbweb-cta .fbweb-container {
  background:
    linear-gradient(
      145deg,
      rgba(30, 0, 45, 0.94),
      rgba(15, 0, 30, 0.98)
    );

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5);
}

body.dark .fbweb-cta .fbweb-container::before {
  background:
    linear-gradient(
      90deg,
      #a832d6,
      #ffcc00
    );
}

body.dark .fbweb-cta .btn-primary {
  color: #ffcc00;
  background: transparent;
  border-color: #ffcc00;
}

body.dark .fbweb-cta .btn-primary:hover {
  color: #111111;
  background: #ffcc00;
  border-color: #ffcc00;

  transform: translateY(-3px);

  box-shadow:
    0 0 25px rgba(255, 204, 0, 0.4);
}

body.dark .fbweb-cta .btn-primary:focus-visible {
  outline-color: rgba(255, 204, 0, 0.35);
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .fbweb-cta .btn-primary {
    transition: none;
  }

  .fbweb-cta .btn-primary:hover {
    transform: none;
  }

}

/* ==========================================================
   MOBILNÍ TABULKA – FINÁLNÍ OPRAVA
========================================================== */

@media (max-width: 768px) {

  .fbweb-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .fbweb-table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .fbweb-table tbody,
  .fbweb-table tr,
  .fbweb-table td {
    min-width: 0;
    max-width: 100%;
  }

  .fbweb-table tbody tr {
    width: 100%;
  }

  .fbweb-table tbody td {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body.dark .fbweb-table tbody td:first-child {
    color: #ffffff;
    background: #ffcc00;
  }

  body.dark .fbweb-table tbody td:nth-child(2),
  body.dark .fbweb-table tbody td:nth-child(3) {
    background: transparent;
  }
}

/* ==========================================================
   ZÁVĚR
========================================================== */

.fbweb-conclusion{
    padding:30px 0;
}

.fbweb-conclusion .fbweb-container{
    max-width:940px;
}

.fbweb-conclusion h2{
    max-width:760px;
    margin:0 auto 22px;

    color:#0044CC;

    font-size:clamp(1.9rem,3vw,2.4rem);
    font-weight:800;
    line-height:1.25;
    letter-spacing:-0.02em;
    text-align:center;

    text-shadow:0 4px 18px rgba(0,68,204,.12);
}

.fbweb-conclusion p{
    max-width:820px;
    margin:0 auto 18px;

    color:#42484e;

    font-size:1.05rem;
    line-height:1.8;
    text-align:center;
}

.fbweb-conclusion p:last-child{
    margin-bottom:0;
}

/* ==========================================================
   DARK MODE – ZÁVĚR
========================================================== */

body.dark .fbweb-conclusion h2{
    color:#ffcc00;

    text-shadow:0 0 14px rgba(255,204,0,.25);
}

body.dark .fbweb-conclusion p{
    color:#dddddd;
}

/* ==========================================================
   MOBILE – ZÁVĚR
========================================================== */

@media (max-width:768px){

    .fbweb-conclusion{
        padding:30px 0;
    }

    .fbweb-conclusion h2{
        font-size:1.75rem;
    }

    .fbweb-conclusion p{
        font-size:1rem;
        line-height:1.72;
    }

}

@media (max-width:480px){

    .fbweb-conclusion h2{
        font-size:1.55rem;
    }

}