/* header */
#sp-main-body {
  padding: 40px 0;
}

#sp-header {
  background: #ffffff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.shadow-text {
  text-shadow: 0 2px 2px #3e3e3e;
}

/* logo */
.header.header-sticky .logo img {
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
}

.article-list {
  margin-top: 20px;
}

.article-details .article-info {
  margin: 1rem;
}

.sp-page-title {
  background-color: #8a0000 !important;
}

/* Stylowanie listy artykułów */
.article-info {
  margin-bottom: 0px;
}

.article-list .article {
  position: relative;
  padding: 20px;

  margin-bottom: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-list .article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Stylowanie obrazków w artykułach */
.article-list .article .article-intro-image img,
.article-list .article .article-featured-video img,
.article-list .article .article-featured-audio img,
.article-list .article .article-feature-gallery img {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  object-fit: cover;

  transition: transform 0.3s ease-in-out;
}

.article-list .article .article-intro-image img:hover,
.article-list .article .article-featured-video img:hover,
.article-list .article .article-featured-audio img:hover,
.article-list .article .article-feature-gallery img:hover {
  transform: scale(1.05);
}

/* Stylowanie nagłówków artykułów */
.article-list .article .article-header h2 a {
  color: #333333;
  font-size: 1.3rem;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.article-list .article .article-header h2 a:hover {
  color: #cc0000;
}

/* Stylizacja przycisków w artykułach */
.article-list .article .read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #cc0000;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.article-list .article .read-more:hover {
  background-color: #a00000;
  transform: translateY(-3px);
}

/* Stylowanie nagłówków artykułów i elementów tekstowych */
.article-list .article .article-body p {
  color: #666666;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Stylizacja dla metadanych artykułów */
.article-list .article .article-meta {
  font-size: 0.9rem;
  color: #999999;
  margin-bottom: 10px;
}

.article-list .article .article-meta span {
  margin-right: 15px;
}

/* Stylizacja dla pojedynczego artykułu */
.view-article .article-details {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 5px 20px;
}

/* Stylizacja dla elementów w artykule pojedynczym */
.view-article .article-header {
  color: #cc0000;
}

.view-article .article-body p {
  color: #333333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.latest img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.latest img:hover {
  transform: scale(1.05);
}

/* ########################### zajawki artykułów ########################################## */
/*data*/
.sppb-meta-date {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  --f: 0.5em;
  --r: 0.8em;
  position: absolute;
  left: 20px;
  top: calc(-1 * var(--f) - 6px);
  padding: 0.2em;
  background: #c60606;
  border-left: var(--f) solid #0005;
  border-bottom: var(--r) solid #0000;
  clip-path: polygon(
    var(--f) 0,
    100% 0,
    100% 100%,
    calc(50% + var(--f) / 2) calc(100% - var(--r)),
    var(--f) 100%,
    var(--f) var(--f),
    0 var(--f)
  );
}

/* obrazy zajawki */
.sppb-addon-articles .sppb-addon-article-layout-content img {
  width: 100%;
  max-height: 320px;
  display: block;
  object-fit: cover;
  object-position: top;
  padding: 18px;
}

.sppb-addon-articles .sppb-addon-article-layout-content {
  border-top: 1px solid #ccc;
  border-bottom: none;
  border-left: none;
  border-right: none;
  position: relative;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 10px;
}

.sppb-addon-articles .sppb-addon-article-layout-content::before,
.sppb-addon-articles .sppb-addon-article-layout-content::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0px;
  height: 100%;
  background: linear-gradient(to bottom, #ccc, transparent);
}

.sppb-addon-articles .sppb-addon-article-layout-content::before {
  left: 0;
}

.sppb-addon-articles .sppb-addon-article-layout-content::after {
  right: 0;
}

.sppb-addon-articles .sppb-addon-article-layout-content:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Menu Styles */
.sp-megamenu-parent {
  --active-color: #c60606;
  --hover-color: #ec430f;
  --border-color: lightgray;
  --arrow-color: #800000;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  padding: 0 10px;
}

.sp-megamenu-parent > li {
  position: relative;
  text-decoration: none;
}

.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active:hover > a {
  color: var(--active-color);
  font-weight: bold;
  padding: 0 10px;
}

.sp-megamenu-parent > li::before,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--hover-color) 50%,
    transparent
  );
  transform: translateX(-50%);
  transition: width 0.4s ease-in-out, background 0.4s ease-in-out;
}

.sp-megamenu-parent > li:hover::before,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover::before {
  width: 100%;
}

/* Style rozwijane menu */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  background: #ffffff;
  border-bottom: 3px solid var(--active-color);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item {
  position: relative;
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
}

/* Animowana ikona i odsuwający się link dla elementów submenu */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
  position: relative;
  padding-left: 25px;
  /* Miejsce na ikonę z lewej */
  transition: padding 0.3s ease;
  display: inline-block;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a::before {
  content: "⮞";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--arrow-color);
  transition: transform 0.3s ease;
  font-size: 10px;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a {
  padding-left: 30px;
  /* Odsunięcie linku */
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a::before {
  animation: moveLeftRight 0.6s ease-in-out infinite;
}

@keyframes moveLeftRight {
  0%,
  100% {
    transform: translate(0, -50%);
  }

  50% {
    transform: translate(-3px, -50%);
  }
}

/* ############################### V MENU ########################################## */

.vmenu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.vmenu li {
  position: relative;
  padding-bottom: 5px;
  text-align: left;
  list-style: none;
}

.vmenu li::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #444, transparent);
}

.vmenu li:last-child {
  border-bottom: none;
}

.vmenu a {
  position: relative;
  display: flex;
  align-items: center;
  color: #c60000;
  padding: 5px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
  list-style: none;
}

.vmenu a i {
  margin-right: 10px;
  transition: transform 0.3s;
}

.vmenu a:hover {
  background: linear-gradient(
    to right,
    rgba(245, 245, 245, 0.1),
    rgba(87, 87, 87, 0)
  );
  color: #8a0000;
  transform: translateX(10px);
}

.vmenu a:hover i {
  transform: rotate(20deg);
}

.vmenu a.active {
  background-color: #575757;
  color: #fff;
}

.vmenu a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background-color: #ec430f;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.vmenu a:hover::before {
  opacity: 1;
  animation: bounce 0.5s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  50% {
    transform: translateY(-100%) scale(1.2);
  }
}

/*############################ ACMENU ############################################# */

/* ##########################PRAWA LEWA KOLUMNA ################################### */
#sp-left .sp-module,
#sp-right .sp-module {
  margin-top: 50px;
  border: 0px solid #f3f3f3;
  padding: 5px;
  border-radius: 0px;
}

/* ##########################EFEKTY#################################################*/
/* ribbon */
.ribbon {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  z-index: 10;
}

.ribbon {
  --f: 0.5em;
  position: absolute;
  top: 0;
  right: 0;
  line-height: 1.8;
  padding-inline: 1lh;
  padding-bottom: var(--f);
  border-image: conic-gradient(#0008 0 0) 51% / var(--f);
  clip-path: polygon(
    100% calc(100% - var(--f)),
    100% 100%,
    calc(100% - var(--f)) calc(100% - var(--f)),
    var(--f) calc(100% - var(--f)),
    0 100%,
    0 calc(100% - var(--f)),
    999px calc(100% - var(--f) - 999px),
    calc(100% - 999px) calc(100% - var(--f) - 999px)
  );
  transform: translate(calc((1 - cos(45deg)) * 100%), -100%) rotate(45deg);
  transform-origin: 0% 100%;
  background-color: #c60606;
}

/* pozioma kreska */
.underline {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.underline::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background: linear-gradient(to right, transparent, #c60606 50%, transparent);
  transition: all 0.3s ease;
}

/* pionowa kreska */
.vertical-line {
  display: inline-block;
  position: relative;
  padding-left: 5px;
  /* Odstęp od kreski do tekstu */
  text-decoration: none;
  color: inherit;
}

.vertical-line::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 2px;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, transparent, #2484e1 50%, transparent);

  transition: all 0.3s ease;
}

/* footer module header */
.footer-header {
  color: #c61700;
  margin-bottom: 25px;
  font-size: 20px;
  position: relative;
  padding-bottom: 5px;
  text-align: center;
}

.footer-header::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;

  transform: translateX(-50%);

  width: 100%;

  height: 2px;
  background: linear-gradient(to right, transparent, #c61700, transparent);
}

/* module left right header */
.right-header {
  color: #c60000;
  margin-bottom: 25px;
  font-size: 20px;
  position: relative;
  padding-bottom: 5px;
  text-align: left;
  display: inline-block;
}

.right-header::before {
  content: "";
  display: inline-block;
  background: url("../../../images/DiabloDesign/logo/favicon_new.png") no-repeat
    center center;
  background-size: contain;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.right-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #c60000, transparent);
}

/* underline */
.underline-sek {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.underline-sek::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 1px;
  bottom: 0;
  left: 15%;
  background: linear-gradient(to right, transparent, #c60606 50%, transparent);
  transition: all 0.3s ease;
}

.underline-sek-gray {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.underline-sek-gray::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 1px;
  bottom: 0;
  left: 15%;
  background: linear-gradient(to right, transparent, #d8d8d8 50%, transparent);
  transition: all 0.3s ease;
}

/* update color font td */

.infotd {
  color: #c61700;
  font-weight: 600;
}

/* Dla przeglądarek WebKit (Chrome, Safari, itp.) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #8b0000;
  /* Ciemniejszy odcień czerwonego */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #660000;
  /* Jeszcze ciemniejszy odcień przy najechaniu */
}

/* Dla przeglądarek Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #8b0000 #f1f1f1;
}

/* Główny kontener menu */
.offcanvas-menu .offcanvas-inner ul.menu {
  position: relative;
  padding: 0.25rem 0;
}

/* Jasna linia po lewej stronie */
.offcanvas-menu .offcanvas-inner ul.menu::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #f0f0f0;
}

/* Style dla elementów menu */
.offcanvas-menu .offcanvas-inner ul.menu > li {
  position: relative;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > div,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
  display: block;
  padding: 15px;
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.offcanvas-menu .offcanvas-inner ul.menu > li:hover > a,
.offcanvas-menu .offcanvas-inner ul.menu > li:hover > div,
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a {
  color: #c60606;
}

/* Czerwona kreska - widoczna tylko dla aktywnego elementu i przy hover */
.offcanvas-menu .offcanvas-inner ul.menu > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #c60606;
  transform: scaleY(0);
  transition: transform 0.2s ease-in-out;
}

.offcanvas-menu .offcanvas-inner ul.menu > li:hover::before,
.offcanvas-menu .offcanvas-inner ul.menu > li.active::before {
  transform: scaleY(1);
}

/* Style dla elementów z submenu */
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.offcanvas-menu
  .offcanvas-inner
  ul.menu
  > li.menu-parent
  > div
  > span:last-child {
  color: #888888;
}

/* Submenu */
.offcanvas-menu .offcanvas-inner ul.menu ul {
  display: none;
  padding-left: 1rem;
  background-color: #f9f9f9;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent:hover > ul,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent:focus-within > ul {
  display: block;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li {
  position: relative;
  padding-left: 12px;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li > a {
  padding: 0.25rem 0.5rem;
  color: #555555;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li:hover > a {
  color: #c60606;
}

/* Strzałki dla submenu */
.offcanvas-menu .offcanvas-inner ul.menu ul > li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #888888;
  font-size: 0.8em;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li:hover::before {
  color: #c60606;
}

/* Usunięcie obramowania */
.offcanvas-menu.border-menu .offcanvas-inner ul.menu > li {
  border-bottom: 0;
}

/* menu vmenu */

.vmenu-1 h3 {
  color: #333;
  margin: 0;
  padding: 5px 5px;
  font-size: 24px;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

.vmenu-1 h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 60%;
  height: 1px;
  background-color: #ff8c00;
}

.vmenu-1 {
  overflow: hidden;
}

.vmenu-1 ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.vmenu-1 li {
  font-size: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.vmenu-1 li:last-child {
  border-bottom: none;
}

.vmenu-1 a {
  color: #5e5e5e!important;
  display: flex;
  align-items: center;
  padding: 5px 20px 5px 35px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.vmenu-1 a:hover,
.vmenu-1 a.active {
  /* background-color: #131313e0; */
  color: #ff3c00 !important;
  transform: translateX(5px);
}

.vmenu-1 a.active {
  border-left: 0px solid #ff8c00;
}

.vmenu-1 ul ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f9f9f9;
}

.vmenu-1 ul ul a {
  padding-left: 50px;
  font-size: 0.9em;
  color: #666666;
}

.vmenu-1 > ul > li > a::before {
  content: "⮞";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff0000;
  transition: all 0.3s ease;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.vmenu-1 > ul > li > a:hover::before {
  color: #8a0000;
}

.vmenu-1 > ul > li > a:not(:only-child)::before {
  content: "⮟";
  transition: transform 0.3s ease, color 0.3s ease;
}

.vmenu-1 > ul > li.open > a:not(:only-child)::before {
  transform: translateY(-50%) rotate(-180deg);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.vmenu-1 > ul > li.open > ul {
  max-height: 1000px;
}

.vmenu-1 ul ul a::before {
  content: "⮞";
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #fd0000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.vmenu-1 ul ul a:hover::before {
  color: #ff8c00;
  left: 35px;
}

.vmenu-2 li {
  font-size: 20px;
  border-bottom: 1px solid #83000081;
}

.vmenu-2 a:hover,
.vmenu-2 a.active {
  background-color: #2868a805;
  color: #ff0000;
}

/* artykuły blog zdięcia */
.article-list .article-intro-image img,
.article-list .article-full-image img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  object-position: top;
  padding: 18px;
}

.article-full-image img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

/* test styl info o szablonie */
.button-margin {
  margin-bottom: 2px;
}

.grid-container {
  display: flex;
  width: 100%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.column {
  flex: 1;
  padding: 20px;
}

.info-action-column {
  display: flex;
  flex-direction: column;
  background-color: #f1f1f17e;
}

.info-action-row {
  display: flex;
  gap: 20px;
}

.separator {
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    #cccccc 20%,
    #cccccc 80%,
    transparent
  );
  margin: 0 10px;
}

.horizontal-separator {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #cc0000 20%,
    #cc0000 80%,
    transparent
  );
  margin: 4px 0;
}

.info-section,
.action-section {
  flex: 1;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  color: #8a0000;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #8a0000;
}

.info-table {
  margin-bottom: 15px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.info-label {
  color: #000000;
  font-weight: bold;
}

.info-value {
  color: #cc0000;
  text-align: right;
}

.additional-info {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 5px;
  padding: 10px 0 10px 20px;
  width: 100%;
  position: relative;
  line-height: 1.4;
}

.additional-info::before {
  content: "\2139";
  color: red;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  width: 25px;
  text-align: center;
}

.template-action-button {
  display: block;
  background-color: rgb(145, 0, 0);
  border: 1px solid #cc0000;
  color: #ffffff;
  padding: 4px;
  margin-bottom: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}

.template-action-button:hover {
  background-color: #ffffff;
  color: rgb(172, 0, 0);
}

.sample-text {
  line-height: 1.6;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .grid-container {
    flex-direction: column;
  }

  .separator {
    width: auto;
    height: 1px;
    margin: 10px 0;
    background: linear-gradient(
      to right,
      transparent,
      #cccccc 20%,
      #cccccc 80%,
      transparent
    );
  }
}

@media (max-width: 768px) {
  .info-action-row {
    flex-direction: column;
  }
}

.category-desc {
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  color: #333333;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-desc p {
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.category-desc strong {
  color: #8b0000;
  font-weight: 600;
}

/* tabela */
.info-panel-container {
  width: 100%;
  margin: 0 auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.info-panel-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.info-panel-info-section {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.info-panel-item {
  background-color: #f8f8f8;
  padding: 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

.info-panel-label {
  font-size: 0.75em;
  color: #666;
  margin-bottom: 2px;
}

.info-panel-value {
  font-weight: bold;
  color: #333;
}

.info-panel-button-section {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: 15px;
}

.info-panel-button-link {
  display: inline-block;
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  font-size: 0.9em;
  transition: background-color 0.3s, transform 0.3s;
}

.info-panel-button-link:hover {
  transform: scale(1.05);
}

.info-panel-button {
  background-color: #fff;
  border: 1px solid #c60000;
  color: #8b0000;
}

.info-panel-button:hover {
  background-color: #f3f3f3;

  color: #c60000;
}

@media (max-width: 768px) {
  .info-panel-wrapper {
    flex-direction: column;
  }

  .info-panel-button-section {
    padding-left: 0;
    margin-top: 15px;
  }

  .info-panel-info-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* maszyna do pisania */
.typewriter {
  overflow: hidden;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  opacity: 0;
  position: relative;
}

.typewriter.visible {
  opacity: 1;
  animation: typing 2s steps(40, end);
}

.typewriter::after {
  content: "|";
  position: absolute;
  right: -0.2em;
  animation: blink-caret 0.75s step-end infinite;
}

.typewriter.finished::after {
  display: none;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    color: transparent;
  }

  50% {
    color: black;
  }
}

/* test */
#background-container,
#foreground-container {
  position: absolute;
  top: 0;

  overflow: hidden;
}

#background-container {
  left: 0;
  width: 100%;
  /* opacity: 0.4; */
  z-index: 9999;
}

#foreground-container {
  left: 15%;
  width: 70%;
  z-index: 2;
}

.code-line {
  position: absolute;
  font-size: 14px;
  white-space: nowrap;
  color: #00000025;
}

.keyword {
  color: #569cd669;
}

.property {
  color: #9cdcfe75;
}

.value {
  color: #ce907849;
}

.punctuation {
  color: #d4d4d449;
}

/* box-8 */
.box-8 {
  position: relative;
  width: 100%;
  /* padding: 15px; */
}

.box-8::before,
.box-8::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  z-index: 3;
}

.box-8::before {
  top: -27px;
  left: -27px;
  background-image: url("/images/tlg.webp");
}

.box-8::after {
  bottom: -27px;
  right: -27px;
  background-image: url("/images/tpd.webp");
}

/* tutorials */
:root {
  --jt-primary-color: #c61700;
  --jt-secondary-color: #ffd7d2;
  --jt-text-color: #333;
  --jt-background-color: #fff;
  --jt-light-gray: #f5f5f5;
}

.jt-tutorial {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--jt-text-color);
  background-color: var(--jt-light-gray);
  margin: 0;
  padding: 0;
}

.jt-container {
  max-width: 100%;
  margin: 0px auto;
  background-color: var(--jt-background-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
}

.jt-content {
  padding: 40px;
}

.jt-heading {
  color: var(--jt-primary-color);
  border-bottom: 2px solid var(--jt-secondary-color);
  padding-bottom: 10px;
  margin-top: 40px;
  font-weight: 500;
}

.jt-heading:first-child {
  margin-top: 0;
}

.jt-subheading {
  color: var(--jt-primary-color);
  margin-top: 0;
}

.jt-paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.jt-note {
  background-color: #fff9c4;
  border-left: 5px solid #ffd54f;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 4px;
}

.jt-step {
  background-color: var(--jt-light-gray);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.jt-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.jt-list {
  margin-bottom: 20px;
  padding-left: 0;
}

.jt-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
  list-style-type: none;
}

.jt-list.jt-ordered {
  counter-reset: item;
}

.jt-list.jt-ordered li::before {
  content: counter(item) ".";
  counter-increment: item;
  color: var(--jt-primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 600px) {
  .jt-content {
    padding: 20px;
  }
}

/* extension style*/
.dd-unique-extensions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.dd-unique-intro {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border: 0px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
}

.dd-unique-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.dd-unique-left-column {
  background-color: #ffffff;
  border: 0px solid #ddd;
  border-radius: 5px;
}

.dd-unique-right-column img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dd-unique-right-column img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.dd-unique-bottom-column {
  background-color: #ffffff;
  border-radius: 5px;
  padding: 20px;
}

.dd-unique-right-column {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
}

.dd-unique-info-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  border: 1px solid #ccc;
  padding: 20px 5px;
  border-radius: 5px;
  background-color: #fafafa;
}

.dd-unique-extensions h2 {
  color: #8b0000;
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #8b0000;
  font-size: 1.2em;
}

.dd-unique-info-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  border-bottom: 1px solid #e0e0e0;
}

.dd-unique-info-row:last-child {
  border-bottom: none;
}

.dd-unique-info-label {
  font-weight: bold;
}

.dd-unique-info-value {
  color: #8b0000;
}

.dd-unique-action-button {
  background-color: #8b0000;
  color: white;
  padding: 5px 15px;
  text-align: center;
  text-decoration: none;
  display: block;
  border-radius: 5px;
  margin-top: 6px;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.3s, transform 0.1s;
}

.dd-unique-action-button:hover {
  background-color: #a50000;
  color: #fff;
}

.dd-unique-action-button:active {
  transform: scale(0.98);
  background-color: #7a0000;
}

/* Stylowanie list */
.dd-unique-extensions ul,
.dd-unique-extensions ol,
.jt-container ul,
.jt-container ol {
  padding-left: 30px;
  margin: 15px 0;
  list-style: none;
  counter-reset: list-counter;
}

/* Stylowanie list nienumerowanych (ul) */
.dd-unique-extensions ul li, .jt-container ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.dd-unique-extensions ul li::before, .jt-container ul li::before {
  content: "•";
  color: #8b0000;
  /* Kolor kropki */
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: 0;
}

/* Stylowanie list numerowanych (ol) */
.dd-unique-extensions ol, .jt-container ol {
  counter-reset: item-counter;
}

.dd-unique-extensions ol li, .jt-container ol li{
  position: relative;
  padding-left: 35px;
  margin-bottom: 10px;
  counter-increment: item-counter;
}

.dd-unique-extensions ol li::before, .jt-container ol li::before {
  content: counter(item-counter);
  color: #ffffff;
  /* Kolor cyfr */
  background-color: #8b0000;
  /* Kolor kółeczka */
  font-weight: bold;
  font-size: 0.9em;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s;
}

/* Ripple effect on hover */
.dd-unique-extensions ol li:hover::before,  .jt-container ol li:hover::before{
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 0, 0, 0.4);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(139, 0, 0, 0);
    transform: scale(1.2);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(139, 0, 0, 0);
    transform: scale(1);
  }
}

@media (min-width: 768px) {
  .dd-unique-content {
    grid-template-columns: 1fr 1fr;
  }

  .dd-unique-info-actions {
    grid-template-columns: 1fr 1fr;
  }

  .dd-unique-bottom-column {
    grid-column: 1 / -1;
  }
}

.info-templates {
  background-color: #f8f9fc;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* font-family: 'Arial', sans-serif; */
  color: #333;
  margin-bottom: 30px;
}

.info-templates h2 {
  font-size: 28px;
  color: #c61700;
  margin-bottom: 15px;
}

.sppb-article-introtext {
  margin: 0px 0px 0px 0px;
  padding: 5px;
  color: #252525;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 5px;
  
  
}

.vmenu-contener {
  margin: 20px auto;
  padding: 10px;
  background-color: #ffffff;
  color: #333333;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #d4d4d4;
  border-radius: 5px;
}
