@font-face {
  font-family: "ArefRuqaa";
  font-style: normal;
  font-weight: normal;
  src: url(../fonts/ArefRuqaa-Regular.ttf);
}
@font-face {
  font-family: "Cardo";
  src: url("Cardo-Regular.ttf");
  font-weight: 400;
}
@font-face {
  font-family: "Cardo";
  src: url("Cardo-Bold.ttf");
  font-weight: 700;
}
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  font-size: 100%;
  margin: 1%;
  padding: 0;
  text-align: justify;
  -ms-hyphens: auto;
  hyphens: auto;
  counter-reset: section;
}
p,
ul,
li {
font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.5;
  margin: 0 0 0.6rem;
}
@media (max-width: 375px) {
  p {
    line-height: 1.35;
    margin-bottom: 0.45rem;
    -ms-hyphens: auto;
    hyphens: auto;
-webkit-hyphens: auto;
   -moz-hyphens: auto;
  }
}
p:last-child {
  margin-bottom: 0;
}
p {
  text-indent: 1rem
}
ul {
    font-family: sans-serif;
  margin-left: -1rem;
  text-align: justify;
  text-indent: 0;
}
:root {
  color-scheme: light;

  --page-bg: #f8fafc;
  --card-bg: #fff8e1;
  --surface-bg: #ffffff;
  --surface-soft: #f7f4e7;
  --text: #222222;
  --muted: #5f5f5f;

  --title: #b91c1c;
  --metric: #b91c1c;
  --accent-red: #9f1d1d;
  --accent-red-strong: #8b0000;
  --accent-alert: #c62828;
  --accent-green: #176b32;
  --accent-green-strong: #14532d;

  --link: #0645ad;
  --link-hover: #003b8f;
  --on-strong: #ffffff;
  --title-box-bg: #176b32;
  --title-box-text: #ffffff;

  --table-bg: lightyellow;
  --table-border: #d8cfae;
  --table-head-bg: #efe4b0;
  --table-head-text: #9f1d1d;
  --grey-head-bg: lightgrey;
  --grey-head-text: #111111;
  --cross-line: #111111;

  --border: rgba(0, 0, 0, 0.12);
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --focus-ring: rgba(37, 99, 235, 0.68);

  --nav-bg: #8b4513;
  --nav-text: #ffffff;
  --nav-panel-bg: #f2e8d8;
  --nav-panel-text: #6b3211;
  --nav-panel-border: #e5d2b0;

  --footer-bg: #ede7d7;
  --footer-text: #320303;

  --button-bg: lightgreen;
  --button-text: #006600;
  --button-hover: #ffc2b3;
  --button-shadow: #999999;
  --button-shadow-active: #666666;

  --dropdown-bg: #e6f4d7;
  --dropdown-text: #14532d;
  --dropdown-border: #5b8c26;
  --dropdown-shadow: 0 8px 16px rgba(91, 140, 38, 0.5);

  --breadcrumb-text: #666666;
  --breadcrumb-separator: #999999;
  --breadcrumb-link: #795a3b;
  --breadcrumb-current: #333333;

  --tile-heading: #34472b;
  --tile-text: #304126;
  --tile-bg-start: rgba(255, 255, 255, 0.75);
  --tile-bg-end: rgba(243, 238, 218, 0.85);
  --tile-bg-base: #f7f4e7;
  --tile-border: #6f7d58;
  --tile-inner-border: rgba(183, 154, 85, 0.38);
  --tile-ornament: #a48743;
  --tile-hover-border: #435833;
  --tile-shadow: 0 8px 18px rgba(48, 65, 38, 0.12), inset 0 0 0 4px rgba(255, 255, 255, 0.48);
  --tile-hover-shadow: 0 13px 24px rgba(48, 65, 38, 0.18), inset 0 0 0 4px rgba(255, 255, 255, 0.5);
  --tile-active-text: #26381f;
  --tile-active-bg-start: rgba(230, 232, 209, 0.96);
  --tile-active-bg-end: rgba(207, 216, 180, 0.96);
  --tile-active-bg-base: #dce3c7;
  --tile-active-border: #3d522d;
  --tile-active-shadow: 0 10px 22px rgba(48, 65, 38, 0.2), inset 0 0 0 4px rgba(255, 255, 255, 0.38);

  --flashcard-yellow-bg: rgb(221, 219, 122);
  --flashcard-yellow-text: #800000;
  --flashcard-front-bg: rgb(218, 237, 222);
  --flashcard-front-text: #800000;
  --flashcard-back-bg: #cde9f2;
  --flashcard-back-text: rgb(8, 48, 107);
  --flashcard-border: hsl(34, 85%, 25%);
  --flashcard-back-border: #800000;
  --flashcard-shadow: 0 7px 15px rgba(80, 152, 160, 0.5);
  --flashcard-yellow-shadow: 0 8px 16px rgba(38, 128, 140, 0.5);

  --test-card-bg: rgb(122, 198, 221);
  --test-card-border: #070581;
  --media-bg: aliceblue;

  --ornament-filter: none;
  --symbol-filter: none;
}
/* Desktop menu */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 30px
}
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.desktop-nav {
  display: flex;
  gap: 1rem;
}
.desktop-nav ul,
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul,
nav ul ul,
nav li {
  list-style: none;
  margin: 0;
}
.desktop-nav li {
  position: relative;
}
.desktop-nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  line-height: 1.2;
  padding: 0.3rem 0.3rem;
  display: block;
}
.desktop-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fbeaca;
  min-width: 180px;
  z-index: 999;
}
.desktop-nav .has-dropdown:hover>.dropdown {
  display: block;
}
.desktop-nav .dropdown .has-dropdown {
  position: relative;
}
.desktop-nav .dropdown .dropdown {
  top: 0;
  left: 100%;
  display: none;
}
.desktop-nav .dropdown .has-dropdown:hover>.dropdown {
  display: block;
}
/* Mobile styles */
@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav {   /* menu rozwijane burgera górnego */
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 50%;
    max-width: 200px;
    background: #f2e8d8;
    z-index: 1000;
    padding: 1rem 0;
  }
  .mobile-nav.open {
    display: flex;
  }
  .mobile-nav li {
    border-bottom: 1px solid #e5d2b0;
  }
  .mobile-nav a {
    padding: 0.2rem 0.2rem;
    margin-left: 1rem;
    text-decoration: none;
    color: saddlebrown;
    font-weight: bold;
    display: block;
    line-height: 1;
  }
  .mobile-nav .dropdown {
    display: none;
    flex-direction: column;
    background: saddlebrown;
  }
  .mobile-nav .has-dropdown.open>.dropdown {
    display: flex;
  }
  .mobile-nav .has-dropdown>a::after {
    content: ' ▼';
    font-size: 0.8em;
  }
}
@media (min-width: 820px) {
  .mobile-nav {
    display: none;
  }
}
:root[data-theme="dark"],
:root.dark-mode,
body.dark-mode {
  color-scheme: dark;

  --page-bg: #0d1117;
  --card-bg: #171b22;
  --surface-bg: #171b22;
  --surface-soft: #20252d;
  --text: #e6edf3;
  --muted: #b7c0cc;

  --title: #fca5a5;
  --metric: #fca5a5;
  --accent-red: #ffaaa2;
  --accent-red-strong: #ffc1bb;
  --accent-alert: #ffb4ab;
  --accent-green: #9bd3a5;
  --accent-green-strong: #b7e5bd;

  --link: #8ab4ff;
  --link-hover: #b8d0ff;
  --on-strong: #ffffff;
  --title-box-bg: #2e5a38;
  --title-box-text: #dff7e4;

  --table-bg: #171b22;
  --table-border: #5a5140;
  --table-head-bg: #3b3425;
  --table-head-text: #ffb4ab;
  --grey-head-bg: #2a2f36;
  --grey-head-text: #f2f5f8;
  --cross-line: #d7dde5;

  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --focus-ring: rgba(147, 197, 253, 0.82);

  --nav-bg: #5b2d18;
  --nav-text: #fff4e8;
  --nav-panel-bg: #251d18;
  --nav-panel-text: #f5d9bd;
  --nav-panel-border: #594637;

  --footer-bg: #211c18;
  --footer-text: #e8ddd3;

  --button-bg: #2e5a38;
  --button-text: #dff7e4;
  --button-hover: #3d6a47;
  --button-shadow: #111820;
  --button-shadow-active: #080c10;

  --dropdown-bg: #1d2a21;
  --dropdown-text: #c2e9c8;
  --dropdown-border: #5f8b65;
  --dropdown-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);

  --breadcrumb-text: #b7c0cc;
  --breadcrumb-separator: #7f8996;
  --breadcrumb-link: #d5b58d;
  --breadcrumb-current: #eef2f7;

  --tile-heading: #d9e8cf;
  --tile-text: #dce8d8;
  --tile-bg-start: rgba(54, 65, 49, 0.96);
  --tile-bg-end: rgba(31, 37, 29, 0.96);
  --tile-bg-base: #20271d;
  --tile-border: #64715a;
  --tile-inner-border: rgba(207, 183, 112, 0.4);
  --tile-ornament: #d2b66f;
  --tile-hover-border: #9aab8b;
  --tile-shadow: 0 10px 22px rgba(0, 0, 0, 0.34), inset 0 0 0 4px rgba(255, 255, 255, 0.04);
  --tile-hover-shadow: 0 14px 26px rgba(0, 0, 0, 0.42), inset 0 0 0 4px rgba(255, 255, 255, 0.06);
  --tile-active-text: #eef8e9;
  --tile-active-bg-start: rgba(68, 84, 59, 0.98);
  --tile-active-bg-end: rgba(46, 59, 42, 0.98);
  --tile-active-bg-base: #2e3b2a;
  --tile-active-border: #9eb18e;
  --tile-active-shadow: 0 12px 24px rgba(0, 0, 0, 0.42), inset 0 0 0 4px rgba(255, 255, 255, 0.06);

  --flashcard-yellow-bg: #4a4524;
  --flashcard-yellow-text: #ffe99b;
  --flashcard-front-bg: #1d3023;
  --flashcard-front-text: #ffb1aa;
  --flashcard-back-bg: #1b2b3b;
  --flashcard-back-text: #bdd8ff;
  --flashcard-border: #9a6544;
  --flashcard-back-border: #c97c75;
  --flashcard-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
  --flashcard-yellow-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);

  --test-card-bg: #173a49;
  --test-card-border: #9fa9ff;
  --media-bg: #111820;

  --ornament-filter: invert(1) brightness(0.88);
  --symbol-filter: invert(1) brightness(0.9);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;

  --page-bg: #0d1117;
  --card-bg: #171b22;
  --surface-bg: #171b22;
  --surface-soft: #20252d;
  --text: #e6edf3;
  --muted: #b7c0cc;

  --title: #fca5a5;
  --metric: #fca5a5;
  --accent-red: #ffaaa2;
  --accent-red-strong: #ffc1bb;
  --accent-alert: #ffb4ab;
  --accent-green: #9bd3a5;
  --accent-green-strong: #b7e5bd;

  --link: #8ab4ff;
  --link-hover: #b8d0ff;
  --on-strong: #ffffff;
  --title-box-bg: #2e5a38;
  --title-box-text: #dff7e4;

  --table-bg: #171b22;
  --table-border: #5a5140;
  --table-head-bg: #3b3425;
  --table-head-text: #ffb4ab;
  --grey-head-bg: #2a2f36;
  --grey-head-text: #f2f5f8;
  --cross-line: #d7dde5;

  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --focus-ring: rgba(147, 197, 253, 0.82);

  --nav-bg: #5b2d18;
  --nav-text: #fff4e8;
  --nav-panel-bg: #251d18;
  --nav-panel-text: #f5d9bd;
  --nav-panel-border: #594637;

  --footer-bg: #211c18;
  --footer-text: #e8ddd3;

  --button-bg: #2e5a38;
  --button-text: #dff7e4;
  --button-hover: #3d6a47;
  --button-shadow: #111820;
  --button-shadow-active: #080c10;

  --dropdown-bg: #1d2a21;
  --dropdown-text: #c2e9c8;
  --dropdown-border: #5f8b65;
  --dropdown-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);

  --breadcrumb-text: #b7c0cc;
  --breadcrumb-separator: #7f8996;
  --breadcrumb-link: #d5b58d;
  --breadcrumb-current: #eef2f7;

  --tile-heading: #d9e8cf;
  --tile-text: #dce8d8;
  --tile-bg-start: rgba(54, 65, 49, 0.96);
  --tile-bg-end: rgba(31, 37, 29, 0.96);
  --tile-bg-base: #20271d;
  --tile-border: #64715a;
  --tile-inner-border: rgba(207, 183, 112, 0.4);
  --tile-ornament: #d2b66f;
  --tile-hover-border: #9aab8b;
  --tile-shadow: 0 10px 22px rgba(0, 0, 0, 0.34), inset 0 0 0 4px rgba(255, 255, 255, 0.04);
  --tile-hover-shadow: 0 14px 26px rgba(0, 0, 0, 0.42), inset 0 0 0 4px rgba(255, 255, 255, 0.06);
  --tile-active-text: #eef8e9;
  --tile-active-bg-start: rgba(68, 84, 59, 0.98);
  --tile-active-bg-end: rgba(46, 59, 42, 0.98);
  --tile-active-bg-base: #2e3b2a;
  --tile-active-border: #9eb18e;
  --tile-active-shadow: 0 12px 24px rgba(0, 0, 0, 0.42), inset 0 0 0 4px rgba(255, 255, 255, 0.06);

  --flashcard-yellow-bg: #4a4524;
  --flashcard-yellow-text: #ffe99b;
  --flashcard-front-bg: #1d3023;
  --flashcard-front-text: #ffb1aa;
  --flashcard-back-bg: #1b2b3b;
  --flashcard-back-text: #bdd8ff;
  --flashcard-border: #9a6544;
  --flashcard-back-border: #c97c75;
  --flashcard-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
  --flashcard-yellow-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);

  --test-card-bg: #173a49;
  --test-card-border: #9fa9ff;
  --media-bg: #111820;

  --ornament-filter: invert(1) brightness(0.88);
  --symbol-filter: invert(1) brightness(0.9);
  }
}
/* ------zielone------- */
    .menu-container {
      position: relative;
    }
/* ------zielone2------- */
    .menu-container {
      position: relative;
    }
    /* Burger menu */
    .burger {
      display: none;
      cursor: pointer;
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }
    @media (max-width: 820px) {
      .bar2 {
        flex-direction: column;
        display: none;
      }
      .bar2.show {
        display: flex;
      }
      .burger {
        display: block;
      }
      .submenu {
        position: static;
        border: none;
        background: none;
      }
      /* submenu w submenu na mobilkach */
      .submenu .submenu {
        left: 0;
      }
    }
        @media (min-width: 821px) {
      #mobileNav {
        display: none !important;
      }
    }
    #mobileNav {
      display: none;
    }
    #mobileNav.open {
      display: block;
    }
    .submenu {
      display: none;
    }
    a.active + .submenu {
      display: block;
    }
@media (max-width: 821px) {
  #main-menu {             /* menu rozwijane burgera dolnego*/
    width: 50vw;         /* 50% szerokości viewportu */
    max-width: 200px;    /* opcjonalnie ogranicz maksymalnie */
    position: absolute;  /* lub fixed — zależnie od projektu */
    top: 100%;           /* pod górnym paskiem */
    left: 0;
    background-color: #f2e8d8;  /* zielone tło */
    z-index: 999;
    display: none;       /* domyślnie ukryte */
  }
  #main-menu.open {      /* np. po kliknięciu burgera */
    display: block;
  }
}
    .bar {
      display: flex;
      gap: 20px;
      list-style-type: none;
      padding-left: 25px;
      padding-top: 5px;
      padding-bottom: 5px;
      margin: 0;
      flex-wrap: wrap;
      background-color:saddlebrown;
    }
    .bar li {
      position: relative;
    }
    .bar a {
      text-decoration: none;
      color: white;
      font-weight: 400;
      display: flex;
      align-items: center;
      cursor: pointer;
    }
    .bar a .arrow {
      font-size: 10px;
      margin-left: 5px;
      transition: transform 0.3s;
    }
    .bar a.active .arrow {
      transform: rotate(180deg);
    }
    .bar2 {
      display: flex;
      gap: 30px;
      list-style-type: none;
      padding-left: 25px;
      padding-top: 3px;
      padding-bottom: 0px;
      margin: 0;
      flex-wrap: wrap;
      /* background-color:saddlebrown; */
    }
    .bar2 li {
      position: relative;
    }
    .bar2 a {
      font-size: 1.2rem;
      text-decoration: none;
      color: saddlebrown;
      font-weight: 700;
      display: flex;
      align-items: center;
      cursor: pointer;
    }
    .bar2 a .arrow {
      font-size: 10px;
      margin-left: 5px;
      transition: transform 0.3s;
    }
    .bar2 a.active .arrow {
      transform: rotate(180deg);
    }
.grammar-menu__link.is-active {
    font-weight: 700;
    color: #7b3f00;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
main {
 max-width: 1200px;
 flex: 1;
  width: 96%;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
  counter-reset: section;
    }
.footer {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.6rem, 0.66rem + 0.14vw, 0.8rem);
  font-style: normal;
  text-align: center;
  background-color: rgb(237, 231, 215);
  color: rgb(50, 3, 3);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 4rem;
  padding-right: 4rem;
  margin-top: 4rem;
}
    article {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: clamp(22px, 4vw, 44px);
      box-shadow: var(--shadow);
    }
article > p,
article > ul {
    font-family: Arial, sans-serif;
    font-size: clamp(1rem, 0.85rem + 0.25vw, 1.125rem);
    line-height: 1.7;
}
    h1 {
  font-size: clamp(2rem, 5vw, 3rem);
      margin: 0 0 22px;
      color: var(--title);
      font-family: Arial, Helvetica, sans-serif;
      font-size: clamp(1.8rem, 1.35rem + 2vw, 3rem);
      line-height: 1.15;
      letter-spacing: -0.03em;
    }
    h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
      margin: 34px 0 12px;
      color: var(--title);
      font-family: Arial, Helvetica, sans-serif;
      font-size: clamp(1.4rem, 1.15rem + 1.15vw, 2.1rem);
      line-height: 1.2;
    }
    h3 {
      margin: 26px 0 10px;
      font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
      line-height: 1.3;
    }
    h4 {
      margin: 26px 0 10px;
      font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
      line-height: 1.3;
    }
header {
  background-color: saddlebrown;
  padding: 0.1rem 1rem;
  position: relative;
  margin-bottom: 6rem;
}
    @media (max-width: 820px) {
      header {
        margin-bottom: 2rem;
        background-color: transparent;
      }
	}
.green {
  color: darkgreen;
}
sup {
  font-size:70%
}
sub {
  font-size:70%
}
.maroon {
  color: maroon;
}
h3.green {
  font-family: sans-serif;
  font-size: clamp(19.95px, 2.7vw, 23.94px);
  color: darkgreen;
  margin-bottom: 0.4rem;
  margin-top: 0.2rem;
  font-weight: bold;
  -ms-hyphens: auto;
  hyphens: auto;
  padding-bottom: 0;
  padding-top: 0.625rem
}
table {
  width: auto;
  table-layout: auto;
  word-break: break-word;  
  border-collapse: collapse;
  font-family: sans-serif;
  font-size: clamp(15px, 2vw, 18px);
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}
table {
  margin-top: 0.625rem;
  margin-bottom: 0.625rem
}
.title {
  width: 300px;
  background-color: green;
  color: white;
  text-align: justify;
  padding: 10px;
  border-radius: 10px;
  font-size: 1rem;
}
.grammar-table {
    font-size: clamp(0.85rem, 0.79rem + 0.25vw, 1rem);
    line-height: 1.5;
}
.tr1 {
  font-size: large;
  padding-bottom: 0.625rem;
  padding-top: 0.625rem;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.tr2 {
  font-weight: bold;
  color: maroon
}
.span2 {
color: green
}
.throwspan2 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.grammar-table th {
    font-size: clamp(0.88rem, 0.81rem + 0.28vw, 1rem);
    line-height: 1.35;
}
table.grammar-table th,
table.grammar-table td,
table.grammar-table td.example {
  text-align: center;
  text-align-last: center;
  -moz-text-align-last: center;
}
.grammar-table .arabic {
    font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
    line-height: 1.5;
}
.grammar-table .transcription {
    font-size: clamp(0.9rem, 0.83rem + 0.28vw, 1.05rem);
    line-height: 1.4;
}
.grammar-content {
    counter-reset: table-counter 0;
}
.grammar-table {
    counter-increment: table-counter;
}
.grammar-table > caption::before {
    content: "Tabela " counter(table-counter);
}
.grammar-table > caption {
    caption-side: bottom;
    text-align: left;
    color: green;
    font-size: clamp(0.8rem, 0.76rem + 0.18vw, 0.9rem);
    font-weight: 600;
}
.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.grammar-table {
    min-width: 680px;
}
.grammar-table {
  width: 680px;
  min-width: 680px;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1rem auto;
  background: transparent;
  border: 0;
}
.grammar-table th {
  border: 1px solid #d8cfae;
  padding: 0.55rem 0.7rem;
  vertical-align: middle;
}
.grammar-table td {
  border: 1px solid #d8cfae;
  padding: 0.1rem 0.7rem;
  vertical-align: middle;
  direction: ltr;
}
.grammar-table th {
  font-weight: 700;
  color: #b91c1c;
  background: #efe4b0;
}
.grammar-table td:first-child,
.grammar-table th:first-child {
  font-weight: 700;
}
.grammar-table th:nth-child(2),
.grammar-table td:nth-child(2),
.grammar-table th:nth-child(4),
.grammar-table td:nth-child(4) {
  width: 4rem;
}
.arabic-alphabet-table tbody tr td:nth-child(-n + 4) {
    font-size: clamp(0.875rem, 0.82rem + 0.22vw, 1rem);
    line-height: 1.45;    direction: rtl;
    text-align: center;
    color: maroon;
}
.grammar-table .example {
  white-space: nowrap;
}
/* Optional: column sizing for readability */
.grammar-table th:first-child,
.grammar-table td:first-child {
  width: 4.5rem;
}
.grammar-table th:nth-child(2),
.grammar-table td:nth-child(2),
.grammar-table th:nth-child(4),
.grammar-table td:nth-child(4) {
  width: 4rem;
}
.arabic-alphabet-table tbody tr td:nth-child(-n + 4) {
    font-size: 20px;
    direction: rtl;
    text-align: center;
    color: firebrick;
}
table td.przekreslone {
  background-image: linear-gradient(to bottom right, transparent calc(50% - 1px), black, transparent calc(50% + 1px));
}
table#t1 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.2rem);
  line-height: 1.5;
}
table#t1a td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
  line-height: 1.5;
}
table#t1a td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
  line-height: 1.5;
}
table#t2 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
  line-height: 1.5;
}
table#t3 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
  line-height: 1.5;
}
table#t4 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
  line-height: 1.5;
}
table#t5 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t6 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t7 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t8 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t9 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t10 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t11 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t12 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t13 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t14 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t15 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t16 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t17 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t18 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
table#t19 td:nth-child(2n+2) {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
.t1 td:nth-child(1n+3) {
  font-style: italic;
font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
    line-height: 1.5;}
.t2 td:nth-child(5n) {
  font-style: italic;
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
  line-height: 1.5;
  color: darkgreen;
}
.t3 td:nth-child(3) {
  font-style: normal;
  font-weight: 400;
  color: darkgreen;
}
    .span {
      color: maroon;
      font-size: 150%;
      font-weight: bold;
    }
    t11 {
  text-decoration: none;
  color: maroon;
}
.img {
	display: block;
	margin-left: auto;
	margin-right: auto;
  width: 100%;         /* Domyślnie: pełna szerokość kontenera */
  max-width: 200px;    /* Maksymalna szerokość */
  height: auto;        /* Zachowaj proporcje */
}
@media (max-width: 820px) {
  .img {
    max-width: 120px;  /* 50% oryginalnej max-szerokości */
    margin-top: 2rem;
  }
}
p.uwaga {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
	text-align: center;
	color: red;
  margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	font-weight: bold;
	font-style: italic;
  hyphens:none
}
    em.red {
      color: darkred;
	    font-style: normal
    }
.button {
  display: inline-block;
  padding: 0.1875rem 7px 3px 7px;
  font-size: 0.8rem;
  line-height: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  outline: none;
  color: #006600;
  background-color: lightgreen;
  border: none;
  border-radius: 0.4375rem;
  box-shadow: 0 3px #999;
  margin-bottom: 0.3125rem
}
.button:hover {
  background-color: #ffc2b3;
}
.button:active {
  background-color: lightgreen;
  box-shadow: 0 4px #666;
  transform: translateY(4px);
}
.dropdown-content {
  display: none;
  position: relative;
  background-color: #e6f4d7;
  margin-top: 0.75rem;
  margin-bottom: 0;
  text-align: justify;
    font-size: clamp(0.875rem, 0.82rem + 0.22vw, 1rem);
    line-height: 1.45;
  text-indent: 1rem;
  color: darkgreen;
  overflow: auto;
  box-shadow: 0 8px 16px 0 rgba(91, 140, 38, 0.5);
  padding: 0.625rem 10px 10px 10px;
  border: 2px solid;
  border-radius: 0.9375rem;
  border-color: #5b8c26;
}
.dropdown-content.is-open {
    display: block;
}
/* .show {
  display:inline-block;
  width: auto;
} */
 .page-breadcrumb {
    margin: 0 0 20px;
    padding: 0;
    text-align: left;
    font-size: 8px;
    line-height: 1.5;
}
.page-breadcrumb ol {
    display:inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.page-breadcrumb li {
    display: flex;
    align-items: center;
    color: #666;
}
.page-breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: #999;
}
.page-breadcrumb a {
    color: #795a3b;
    text-decoration: none;
}
.page-breadcrumb a:hover,
.page-breadcrumb a:focus-visible {
    text-decoration: underline;
}
.page-breadcrumb li[aria-current="page"] {
    color: #333;
    font-weight: 600;
}
.page-breadcrumb,
.page-breadcrumb ol,
.page-breadcrumb li,
.page-breadcrumb a {
    font-size: 14px !important;
}
.parts-of-speech {
    margin-top: 1rem;
}
.verb-tiles {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}
/* Nagłówek */
.verb-tiles__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.verb-tiles__heading h1 {
  margin: 0;
  color: #34472b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.verb-tiles__heading span {
  width: 90px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #b79a55,
    transparent
  );
}
/* Siatka cegiełek */
.verb-tiles__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.25rem;
  margin-top: 50px;
  padding: 0;
  list-style: none;
}
/* Trzy kafelki w rzędzie */
.verb-tiles__grid li {
  flex: 0 1 calc((100% - 4.5rem) / 3);
  min-width: 0;
}
/* Pojedyncza cegiełka */
.verb-tile {
  position: relative;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 155px;
  padding: 1.4rem 1rem;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: #304126;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.75),
      rgba(243, 238, 218, 0.85)
    ),
    #f7f4e7;
  border: 1px solid #6f7d58;
  border-radius: 14px;
  box-shadow:
    0 8px 18px rgba(48, 65, 38, 0.12),
    inset 0 0 0 4px rgba(255, 255, 255, 0.48);
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}
/* Delikatna wewnętrzna ramka */
.verb-tile::before {
  position: absolute;
  inset: 7px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(183, 154, 85, 0.38);
  border-radius: 9px;
}
/* Ornament narożny */
.verb-tile::after {
  position: absolute;
  right: -20px;
  bottom: -27px;
  width: 85px;
  height: 85px;
  content: "";
  opacity: 0.18;
  border: 2px solid #9c813f;
  border-radius: 50%;
  box-shadow:
    0 0 0 8px transparent,
    0 0 0 9px #9c813f,
    0 0 0 17px transparent,
    0 0 0 18px #9c813f;
}
/* Elementy wewnętrzne */
.verb-tile__ornament {
  position: relative;
  z-index: 1;
  color: #a48743;
  font-size: 1.55rem;
  line-height: 1;
}
.verb-tile__title {
  position: relative;
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  line-height: 1.3;
}
.verb-tile__line {
  position: relative;
  z-index: 1;
  display: block;
  width: 75px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #b79a55 25%,
    #b79a55 75%,
    transparent
  );
}
/* Hover i obsługa klawiatury */
.verb-tile:hover {
  transform: translateY(-4px);
  border-color: #435833;
  box-shadow:
    0 13px 24px rgba(48, 65, 38, 0.18),
    inset 0 0 0 4px rgba(255, 255, 255, 0.5);
}
.verb-tile:focus-visible {
  outline: 3px solid rgba(183, 154, 85, 0.65);
  outline-offset: 4px;
}
/* Aktualnie otwarta strona */
.verb-tile.is-active {
  color: #26381f;
  background:
    linear-gradient(
      145deg,
      rgba(230, 232, 209, 0.96),
      rgba(207, 216, 180, 0.96)
    ),
    #dce3c7;
  border-color: #3d522d;
  box-shadow:
    0 10px 22px rgba(48, 65, 38, 0.2),
    inset 0 0 0 4px rgba(255, 255, 255, 0.38);
}
.verb-tile.is-active .verb-tile__ornament {
  color: #435833;
}
/* Tablet — dwa kafelki w rzędzie */
@media (max-width: 850px) {
  .verb-tiles__grid {
    gap: 1.25rem;
  }
  .verb-tiles__grid li {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}
/* Telefon — jeden kafelek w rzędzie */
@media (max-width: 560px) {
  .verb-tiles {
    margin: 1.8rem auto;
  }
  .verb-tiles__heading span {
    width: 45px;
  }
  .verb-tiles__grid {
    gap: 0.9rem;
  }
  .verb-tiles__grid li {
    flex-basis: 100%;
  }
  .verb-tile {
    min-height: 105px;
    padding: 1.1rem;
    flex-direction: row;
  }
  .verb-tile__line {
    display: none;
  }
  .verb-tile__ornament {
    font-size: 1.2rem;
  }
}
.szadda {
  width: 0.7rem;
  margin-bottom: 0.1875rem
}
.tanwin1 {
  width: 0.8rem
}
.tanwin2 {
  width: 0.8rem
}
.hamzaimg {
  width: 0.7rem;
}
.madda {
  width: 0.8rem;
  margin-bottom: 0.3125rem
}
.madda1 {
	width: 1.1rem;
}
.aref {
  font-family: ArefRuqaa;
  line-height: 1.2rem
}
.koranimg {
  width: 40%;
  margin-left: auto;
  margin-right: auto
}
@media (max-width: 100%) {
  .koranimg {
  width: 90%;
  }
}
.keyb {
  display: block;
  max-width: 90%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.625rem;
  margin-bottom: 0.625rem
}
.bibliodiv .bibtext {
    margin-bottom: 0;
    margin-top: 0;
    font-size: clamp(0.85rem, 0.82rem + 0.13vw, 0.90rem);
    line-height: 1.25;
}
/* @media  (width: 100%) {
  .keyb {
    width: 320px; 
    margin-top: 2rem;
  }
} */
.aref {
  font-family: ArefRuqaa;
  line-height: 1.2rem
}
/* ==================================================
   Telefon i tablet
   ================================================== */
@media (max-width: 768px) {
    .grammar-page {
        padding-inline: clamp(0.85rem, 4vw, 0.95rem);
    }
    .grammar-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        margin-bottom: 0;
        padding: 0.75rem 1rem;
        color: inherit;
        font: inherit;
        font-weight: 700;
        text-align: left;
        background: transparent;
        border: 1px solid currentColor;
        border-radius: 6px;
        cursor: pointer;
    }
    .grammar-menu-toggle__icon {
        display: inline-block;
        margin-left: 1rem;
        font-size: 1.25rem;
        line-height: 1;
        transition: transform 0.2s ease;
    }
    .grammar-menu-toggle.is-open .grammar-menu-toggle__icon {
        transform: rotate(90deg);
    }
    .grammar-menu-panel {
        display: none;
        width: 100%;
        margin-top: 0.5rem;
    }
    .grammar-menu-panel.is-open {
        display: block;
    }
  }
@media (max-width: 420px) {
    /*
    .grammar-page {
        padding-inline: 0.75rem;
    }
    .grammar-intro p {
        font-size: 0.8rem;
        line-height: 1.25;
    }
    */
    .bibliodiv .bibtext {
        font-size: 0.75rem;
    }
}
.auto {
  margin-left: auto;
  margin-right: auto;
}
    .center {
      text-align: center;
    }
/* #video-container1,
#video-container2 {
    width: 100%;
    margin-top: 1rem;
}
#video-container1 video,
#video-container2 video {
    display: block;
    width: min(100%, 720px);
    height: auto;
    margin-inline: auto;
} */
.video-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-block: 1rem;
}
.video-trigger {
    padding: 0.4rem 0.7rem;
    color: blue;
    font: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}
a {
	text-decoration: none;
  color: #0000EE;
}
a:hover {
	text-decoration:underline
}
.video-trigger:hover,
.video-trigger:focus-visible {
    text-decoration: underline;
}
.lesson-video {
    display: block;
    width: min(100%, 720px);
    height: auto;
    margin: 1rem auto;
    background: #000;
}
th.zaim {
font-size: 1.1rem;  
font-family: Arial, Helvetica, sans-serif; 
color: firebrick; 
font-weight: 700;
font-style: italic;
}
td.tdno {
  border-top-color: transparent;
  border-left-color: transparent;
}
th.grey {
  	background-color: lightgrey;
    color: black;
}
/* Kolumny 1 i 3 — tekst czerwony */
.adjective-pattern-table tbody td:nth-child(1),
.adjective-pattern-table tbody td:nth-child(3) {
    color: firebrick;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
/* Linki w czwartej kolumnie blue czarny kolor */
.adjective-pattern-table tbody td:nth-child(2) {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    font-style: italic;
}
.adjective-pattern-table tbody td:nth-child(4) a {
    color: #0000FF;
    font-style: italic;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}
/* Kolumny 1 i 3 — tekst czerwony */
.adjective-pattern2-table tbody td:nth-child(2),
.adjective-pattern2-table tbody td:nth-child(4),
.adjective-pattern2-table tbody td:nth-child(6),
.adjective-pattern2-table tbody td:nth-child(8) {
    color: firebrick;
    font-style: normal;
    font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
.adjective-pattern2-table tbody td:nth-child(3),
.adjective-pattern2-table tbody td:nth-child(7) {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    font-style: italic;
}
/* Linki w czwartej kolumnie blue czarny kolor */
.adjective-pattern2-table td:nth-child(5),
.adjective-pattern2-table td:nth-child(9) {
    color: darkgreen;
    font-style: italic;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}
/* Linki w tablach czasownika */
.verb-table tbody td:nth-child(3) a,
.verb-table tbody td:nth-child(5) a,
.verb-table tbody td:nth-child(7) a {
    color: #0000FF;
    font-style: italic;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}
.verb-table tbody td:nth-child(2),
.verb-table tbody td:nth-child(4) {
    color: firebrick;
    font-style: normal;
    font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
.verb-table2 tbody td:nth-child(3) {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    font-style: italic;
}
.verb-table2a tbody td:nth-child(5) a {
    color: #0000FF;
    font-style: italic;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}
/* em {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
} */
.liczebnik tbody td:nth-child(4) a,
.liczebnik tbody td:nth-child(8) a,
.liczebnik tbody td:nth-child(12) a {
    color: #0000FF;
    font-style: italic;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}
.liczebnik tbody td:nth-child(2),
.liczebnik tbody td:nth-child(3),
.liczebnik tbody td:nth-child(6),
.liczebnik tbody td:nth-child(7),
.liczebnik tbody td:nth-child(10),
.liczebnik tbody td:nth-child(11) {
    color: firebrick;
    font-style: normal;
    font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
.liczebnik tbody td:nth-child(1),
.liczebnik tbody td:nth-child(5),
.liczebnik tbody td:nth-child(9) {
    color: black;
    font-style: normal;
    font-weight: normal;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}
.liczebnik2 tbody td:nth-child(1),
.liczebnik2 tbody td:nth-child(4) {
    color: black;
    font-style: normal;
    font-weight: normal;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}
.liczebnik2 tbody td:nth-child(2),
.liczebnik2 tbody td:nth-child(5) {
    color: firebrick;
    font-style: normal;
    font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
.liczebnik2 td:nth-child(3),
.liczebnik2 td:nth-child(6) {
    color: darkgreen;
    font-style: italic;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}
.liczebnik3 tbody td:nth-child(1),
.liczebnik3 tbody td:nth-child(2) {
    color: firebrick;
    font-style: normal;
    font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem);
}
.liczebnik3 tbody td:nth-child(3) {
    font-style: italic;
    /* font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.3rem); */
}
table.ulamki {
  width: 250px;
    min-width: 250px;
}
.red2 {
  color: firebrick;
  font-style: normal
}
.cent {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  font-size: clamp(16.5px, 2.1vw, 19.8px);
  margin-bottom: 0.00em;
  margin-top: 0.00em;
  margin-right: 0.00em;
  margin-left: 0.00em;
  text-indent: 0.00em;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  margin-top: 0.5em
}
.cent_it {
  font-family: serif;
  line-height: 1.5;
  font-size: clamp(16px, 2.1vw, 19.8px);
  margin-bottom: 0.5em;
  margin-top: 0.00em;
  margin-right: 0.00em;
  margin-left: 0.00em;
  text-indent: 0.00em;
  text-align: center;
  font-weight: normal;
  font-style: italic;
}
.mrg {
  margin-left: auto;
}
.spann {
	font-style: normal;
	color: firebrick
}
.spann2 {
	text-align: center;
	font-style: normal;
	font-size: 1rem
}
/* -----------fiszki------------ */
.flashcard-container {
  display: inline-block;
  width: 220px;
  height: 120px;
  margin-left: 25px;
  margin-bottom: 20px;
  perspective: 1000px;
}
.flashcard-front {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding-left: 1px;
  padding-right: 1px;
  align-items: center;
  border-radius: 15px;
  overflow: auto;
  box-shadow: 0 8px 16px 0 rgba(38, 128, 140, 0.5);
  border: 2px solid;
  border-color: #d19d3c;
  background-color: rgb(221, 219, 122);
}
.flashcard {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.face {
  color: maroon;
  font-family: Gentium;
  font-weight: bold;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.7rem;
  text-align: center;
  text-decoration: none;
}
.testy {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
	font-style: italic;
	font-weight: bold;
  color: maroon;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 10px;
	margin-right: 0;
	text-indent: 10px;
	text-align: left;
}
.cent-kolor {
  text-align: center;
  color: maroon;
}
.fiszki-pojemnik {
  display: inline-block;
  width: 290px;
  height: 160px;
  margin-left: 25px;
  margin-bottom: 20px;
  perspective: 1000px;
}
.fiszki-pojemnik2 {
  display: inline-block;
  width: 320px;
  height: 185px;
  margin-left: 25px;
  margin-bottom: 20px;
  perspective: 1000px;
}
.fiszka-con2 {
  display: inline-block;
  width: 350px;
  height: 200px;
  margin-left: 15px;
  margin-bottom: 20px;
  perspective: 1000px;
}
.fiszka-convoc {
  display: inline-block;
  width: 200px;
  height: 120px;
  margin-left: 15px;
  margin-bottom: 20px;
  perspective: 1000px;
}
.fiszka-con3 {
  display: inline-block;
  width: 290px;
  height: 120px;
  margin-left: 20px;
  margin-bottom: 20px;
  perspective: 1000px;
}
.fiszka-con4 {
  display: inline-block;
  width: 350px;
  height: 200px;
  margin-left: 20px;
  margin-bottom: 20px;
  perspective: 1000px;
}
.fiszka-con5 {
  display: inline-block;
  width: 350px;
  height: 450px;
  margin-left: 20px;
  margin-bottom: 20px;
  perspective: 1000px;
}
.fiszka {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  }
.fiszka-front,
.fiszka-tyl {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: grid;
  place-items: center;
  /* display: flex; */
  /* align-items:center; */
  border-radius: 15px;
  overflow: auto;
  box-shadow: 0 7px 15px 0 rgba(80, 152, 160, 0.5);
  border: 2px solid;
  border-color: hsl(34, 85%, 25%);
}
.fiszka-front {
  background-color: rgb(218, 237, 222);
  color: maroon;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1.4rem;
  padding-right: 5px;
  padding-left: 5px;
  text-align: center;
  -ms-hyphens: none;
  hyphens: none;
}
.fiszka-tyl {
  background-color: #cde9f2;
font-size: 1.5rem;
    line-height: 1.9rem;
  color: rgb(8, 48, 107);
  transform: rotateY(180deg);
  border-width: 2px;
  border-color: maroon;
  /* text-align: center; */
  text-indent: 0;
  padding-right: 5px;
  padding-left: 5px;
}
.fiszka-front,
.fiszka-tyl2 {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: grid;
  place-items: center;
  /* display: flex; */
  /* align-items:center; */
  border-radius: 15px;
  overflow: auto;
  box-shadow: 0 7px 15px 0 rgba(80, 152, 160, 0.5);
  border: 2px solid;
  border-color: hsl(34, 85%, 25%);
}
.fiszka-tyl2 {
  background-color: #cde9f2;
font-size: 1.5rem;
    line-height: 1.9rem;
  color: rgb(8, 48, 107);
  transform: rotateY(180deg);
  border-width: 2px;
  border-color: maroon;
  text-indent: 0;
  padding-right: 5px;
  padding-left: 5px;
	direction: rtl;
	text-align: center;
      margin-top: 0px;
      margin-bottom: 0px;

}
.fiszka-tyl .ar1 {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.fiszka-tyl .ar1 li {
  margin: 0;
  padding: 0;
}

.fiszka-convoc.flip .fiszka {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}
.fiszki-pojemnik.flip .fiszka {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}
.fiszki-pojemnik2.flip .fiszka {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}
.fiszka-con2.flip .fiszka {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}
.fiszka-con3.flip .fiszka {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}
.fiszka-con4.flip .fiszka {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}
.fiszka-con5.flip .fiszka {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}
.fiszka-con6.flip .fiszka {
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}
.ar1 {
	list-style-position:inside;
	list-style-type:disc;
/* font-size: 1.5rem; */
    line-height: 1.9; 
	direction: rtl;
	/* text-indent: 5px; */
	text-align: right;
      margin-top: 0px;
      margin-bottom: 0px;
	padding-right: 1px;
	padding-left: 1px;
}
.ar1_bez {
	list-style-position:none;
	list-style-type:none;
/* font-size: 1.5rem; */
    line-height: 1.9; 
	direction: rtl;
	text-indent: 0;
	text-align: center;
      margin-top: 0px;
      margin-bottom: 0px;
	padding-right: 1px;
	padding-left: 1px;
}
.ar2 {
	list-style-type: none;
	font-size: 1.5rem;
	line-height: 2rem;
	/* text-align: center; */
	direction: rtl;
	text-indent: 10px;
	padding-right: 2px;
	padding-left: 2px
}
    .ar3b {
      list-style-type: none;
      list-style-position: outside;
      font-size: 1.5rem;
      line-height: normal;
      text-align: right;
      direction: rtl;
      margin-top: 0px;
      margin-bottom: 0px;
      padding-right: 10px;
      padding-top: 5px;
    }
    .ar3c {
      list-style-type: none;
      font-size: 1.5rem;
      line-height: normal;
      margin-top: auto;
      margin-bottom: auto;
      margin-right: 0;
      direction: rtl;
      text-align: right;
      padding-right: 10px;
    }
    /* .buttn {
      display: block;
      position: absolute;
      left: 5px;
      top: 5px;
      height: 20px;
      padding: 3px 7px 3px 7px;
      font-size: 0.8rem;
      line-height: 0.8rem;
      font-weight: bold;
      cursor: pointer;
      text-align: center;
      outline: none;
      color: #006600;
      background-color: lightgreen;
      border: none;
      border-radius: 7px;
      box-shadow: 0 3px #999;
    }
    .buttn:hover {
      transform: scale(1.05);
    } */
            .btn {
      display: block;
      position:absolute;
      top: 2px;
      margin-right: 2px;
      /* left: 50px;
      width: 18px; */
      height: 18px;
      padding-left: 0;
      padding-right: 0;
      cursor: pointer;
      background-color: transparent;
      border: 0.1px solid transparent;
    }
    .btn:hover {
      transform: scale(1.05);
    }
    .buttn1 {
      height: 20px;
      font-size: 0.8rem;
      line-height: 0.8rem;
      font-weight: bold;
      text-align: center;
      outline: none;
      color: #006600;
      background-color: lightgreen;
      border: none;
      border-radius: 7px;
    }
    .drpdown {
      display: none;
      position: absolute;
      width: 97%;
      background-color: #e6f4d7;
      margin-top: 20px;
      margin-bottom: auto;
      right: 3%;
      line-height: normal;
      color: darkgreen;
      top: 10px;
      box-shadow: 0 8px 16px 0 rgba(91, 140, 38, 0.5);
      padding: 3px;
      border: 1px solid;
      border-radius: 15px;
      border-color: #5b8c26;
    }
   .show {
      display: block;
      width: 90%;
    }
        .fiszka-front1,
    .fiszka-tyl1 {
      position: absolute;
      width: 100%;
      height: 100%;
      cursor: pointer;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      display: flex;
      border-radius: 15px;
      box-shadow: 0 7px 15px 0 rgba(80, 152, 160, 0.5);
      border: 2px solid;
      border-color: hsl(34, 85%, 25%);
    }
    .fiszka-front1 {
      padding-right: -10px;
      padding-left: 5px;
      /* margin-top: 30px; */
      text-align: right;
      justify-content: right;
      background-color: rgb(218, 237, 222);
      color: maroon;
    }
    .fiszka-tyl1 {
      background-color: #cde9f2;
      /* line-height: 2rem; */
      color: rgb(8, 48, 107);
      transform: rotateY(180deg);
      border-width: 2px;
      border-color: maroon;
      text-align: center;
      padding-right: 2px;
      padding-left: 2px;
      padding-top: 5px
    }
        .pol {
      font-size: 1.1rem;
      line-height: 1.4rem;
      list-style-type: none;
      text-align: left;
      -ms-hyphens: auto;
      hyphens: auto;
      /* padding-left: 20px; */
      margin-top: auto;
      margin-bottom: auto;
    }
        .pol1a {
      font-size: 1.1rem;
      line-height: 1.4rem;
      -ms-hyphens: auto;
      hyphens: auto;
      text-indent: 0;
      margin-top: auto;
      margin-bottom: auto;
      padding-left: 0;
    }

  

/* --------testy------------ */
.test-container {
	display: inline-block;
	width: 90px;
	height: 40px;
	margin-left: 25px;
	margin-bottom: 20px;
	perspective: 1000px;
}
.test {
	width: 100%;
	height: 100%;
	transition: transform 0.6s;
	transform-style: preserve-3d;
}
.testyimg {
  background-color: aliceblue; 
  width: 100%
}
.card-test {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	padding-left: 1px;
	padding-right: 1px;
	align-items: center;
	border-radius: 15px;
	overflow: auto;
	box-shadow: 0 8px 16px 0 rgba(38, 128, 140, 0.5);
	border: 2px solid;
	border-color: #070581;
	background-color: rgb(122, 198, 221);
}

/* ==================================================
   Spójne kolory dla trybu jasnego i ciemnego
   Obsługa:
   - automatyczna: prefers-color-scheme
   - ręczna: <html data-theme="dark"> lub <body class="dark-mode">
   ================================================== */

html,
body {
  background-color: var(--page-bg);
  color: var(--text);
}

body,
article,
main,
table {
  color: var(--text);
}

article {
  background-color: var(--card-bg);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

/* Linki */
a,
.video-trigger,
.adjective-pattern-table tbody td:nth-child(4) a,
.adjective-pattern2-table tbody td:nth-child(5) a,
.adjective-pattern2-table tbody td:nth-child(9) a,
.verb-table tbody td:nth-child(3) a,
.verb-table tbody td:nth-child(5) a,
.verb-table tbody td:nth-child(7) a,
.verb-table2a tbody td:nth-child(5) a,
.liczebnik tbody td:nth-child(4) a,
.liczebnik tbody td:nth-child(8) a,
.liczebnik tbody td:nth-child(12) a,
.liczebnik2 tbody td:nth-child(3),
.liczebnik2 tbody td:nth-child(6) {
  color: var(--link);
}

a:hover,
a:focus-visible,
.video-trigger:hover,
.video-trigger:focus-visible {
  color: var(--link-hover);
}

/* Nawigacja */
@media (min-width: 821px) {
  header {
    background-color: var(--nav-bg);
  }
}

@media (max-width: 820px) {
  header {
    background-color: transparent;
  }
}

.bar,
.mobile-nav .dropdown {
  background-color: var(--nav-bg);
}

.desktop-nav a,
.bar a,
.mobile-nav .dropdown a {
  color: var(--nav-text);
}

.desktop-nav .dropdown,
.mobile-nav,
#main-menu {
  background-color: var(--nav-panel-bg);
}

.desktop-nav .dropdown a,
.mobile-nav a,
.bar2 a {
  color: var(--nav-panel-text);
}

.mobile-nav .dropdown a {
  color: var(--nav-text);
}

.mobile-nav li {
  border-bottom-color: var(--nav-panel-border);
}

.grammar-menu__link.is-active {
  color: var(--accent-green-strong);
}

.nav-toggle,
.burger,
.grammar-menu-toggle {
  color: var(--text);
}

/* Stopka */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
}

.footer a {
  color: inherit;
  text-decoration: underline;
}

/* Kolory semantyczne */
.green,
h3.green,
.span2,
.grammar-table > caption,
.t2 td:nth-child(5n),
.t3 td:nth-child(3) {
  color: var(--accent-green);
}

.maroon,
.tr2,
.span,
.red,
.face,
.testy,
.cent-kolor {
  color: var(--accent-red);
}

p.uwaga,
em.red {
  color: var(--accent-alert);
}

.title {
  background-color: var(--title-box-bg);
  color: var(--title-box-text);
}

/* Tabele */
.grammar-table {
  background-color: transparent;
  border-color: var(--table-border);
}

.grammar-table th,
.grammar-table td {
  border-color: var(--table-border);
}

.grammar-table th {
  background-color: var(--table-head-bg);
  color: var(--table-head-text);
}

th.grey {
  background-color: var(--grey-head-bg);
  color: var(--grey-head-text);
}

table td.przekreslone {
  background-image: linear-gradient(
    to bottom right,
    transparent calc(50% - 1px),
    var(--cross-line),
    transparent calc(50% + 1px)
  );
}

.arabic-alphabet-table tbody tr td:nth-child(-n + 4),
table:is(#t1, #t1a, #t2, #t3, #t4, #t5, #t6, #t7, #t8, #t9, #t10, #t11, #t12, #t13, #t14, #t15, #t16, #t17, #t18, #t19) td:nth-child(2n + 2),
th.zaim,
.adjective-pattern-table tbody td:nth-child(1),
.adjective-pattern-table tbody td:nth-child(3),
.adjective-pattern2-table tbody td:nth-child(2),
.adjective-pattern2-table tbody td:nth-child(4),
.adjective-pattern2-table tbody td:nth-child(6),
.adjective-pattern2-table tbody td:nth-child(8),
.verb-table tbody td:nth-child(2),
.verb-table tbody td:nth-child(4),
.liczebnik tbody td:nth-child(2),
.liczebnik tbody td:nth-child(3),
.liczebnik tbody td:nth-child(6),
.liczebnik tbody td:nth-child(7),
.liczebnik tbody td:nth-child(10),
.liczebnik tbody td:nth-child(11),
.liczebnik2 tbody td:nth-child(2),
.liczebnik2 tbody td:nth-child(5),
.liczebnik3 tbody td:nth-child(1),
.liczebnik3 tbody td:nth-child(2),
.red2,
.spann {
  color: var(--accent-red);
}

.liczebnik tbody td:nth-child(1),
.liczebnik tbody td:nth-child(5),
.liczebnik tbody td:nth-child(9),
.liczebnik2 tbody td:nth-child(1),
.liczebnik2 tbody td:nth-child(4) {
  color: var(--text);
}

/* Przyciski oraz rozwijane pola */
.button,
.buttn,
.buttn1 {
  color: var(--button-text);
  background-color: var(--button-bg);
  box-shadow: 0 3px var(--button-shadow);
}

.button:hover,
.buttn:hover,
.buttn1:hover {
  background-color: var(--button-hover);
}

.button:active {
  background-color: var(--button-bg);
  box-shadow: 0 4px var(--button-shadow-active);
}

.button:focus-visible,
.buttn:focus-visible,
.buttn1:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.burger:focus-visible,
.grammar-menu-toggle:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.dropdown-content,
.drpdown {
  background-color: var(--dropdown-bg);
  color: var(--dropdown-text);
  border-color: var(--dropdown-border);
  box-shadow: var(--dropdown-shadow);
}

/* Okruszki nawigacyjne */
.page-breadcrumb li {
  color: var(--breadcrumb-text);
}

.page-breadcrumb li:not(:last-child)::after {
  color: var(--breadcrumb-separator);
}

.page-breadcrumb a {
  color: var(--breadcrumb-link);
}

.page-breadcrumb li[aria-current="page"] {
  color: var(--breadcrumb-current);
}

/* Kafelki działów gramatyki */
.verb-tiles__heading h1 {
  color: var(--tile-heading);
}

.verb-tiles__heading span,
.verb-tile__line {
  background: linear-gradient(
    to right,
    transparent,
    var(--tile-ornament),
    transparent
  );
}

.verb-tile {
  color: var(--tile-text);
  background:
    linear-gradient(145deg, var(--tile-bg-start), var(--tile-bg-end)),
    var(--tile-bg-base);
  border-color: var(--tile-border);
  box-shadow: var(--tile-shadow);
}

.verb-tile::before {
  border-color: var(--tile-inner-border);
}

.verb-tile::after {
  border-color: var(--tile-ornament);
  box-shadow:
    0 0 0 8px transparent,
    0 0 0 9px var(--tile-ornament),
    0 0 0 17px transparent,
    0 0 0 18px var(--tile-ornament);
}

.verb-tile__ornament {
  color: var(--tile-ornament);
}

.verb-tile:hover {
  border-color: var(--tile-hover-border);
  box-shadow: var(--tile-hover-shadow);
}

.verb-tile:focus-visible {
  outline-color: var(--focus-ring);
}

.verb-tile.is-active {
  color: var(--tile-active-text);
  background:
    linear-gradient(145deg, var(--tile-active-bg-start), var(--tile-active-bg-end)),
    var(--tile-active-bg-base);
  border-color: var(--tile-active-border);
  box-shadow: var(--tile-active-shadow);
}

.verb-tile.is-active .verb-tile__ornament {
  color: var(--tile-active-text);
}

/* Fiszki */
.flashcard-front {
  background-color: var(--flashcard-yellow-bg);
  border-color: var(--flashcard-border);
  box-shadow: var(--flashcard-yellow-shadow);
}

.flashcard-front .face,
.flashcard-front .testy,
.flashcard-front .cent-kolor {
  color: var(--flashcard-yellow-text);
}

.fiszka-front,
.fiszka-front1 {
  background-color: var(--flashcard-front-bg);
  color: var(--flashcard-front-text);
  border-color: var(--flashcard-border);
}

.fiszka-tyl,
.fiszka-tyl1,
.fiszka-tyl2 {
  background-color: var(--flashcard-back-bg);
  color: var(--flashcard-back-text);
  border-color: var(--flashcard-back-border);
}

.fiszka-front,
.fiszka-front1,
.fiszka-tyl,
.fiszka-tyl1,
.fiszka-tyl2 {
  box-shadow: var(--flashcard-shadow);
}

.testyimg {
  background-color: var(--media-bg);
}

.card-test {
  background-color: var(--test-card-bg);
  border-color: var(--test-card-border);
  box-shadow: var(--flashcard-yellow-shadow);
}

/* Obrazy i symbole, które na ciemnym tle bywają niewidoczne */
.img[src*="ornament"],
img[src*="ornament"] {
  filter: var(--ornament-filter);
}

.szadda,
.tanwin1,
.tanwin2,
.hamzaimg,
.madda,
.madda1 {
  filter: var(--symbol-filter);
}

/* Czytelniejsze zaznaczenie tekstu */
::selection {
  color: var(--text);
  background-color: color-mix(in srgb, var(--link) 35%, transparent);
}

/* ==================================================
   RESPONSYWNOŚĆ — TELEFONY I MAŁE TABLETY
   Dostosowane m.in. do iPhone SE (320–375 px)
   ================================================== */

img,
video,
svg,
canvas {
  max-width: 100%;
}

.table-wrapper,
.bayt-scroll,
.arabic-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (max-width: 820px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    margin: 0;
  }

  main {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding:
      0.75rem
      max(0.65rem, env(safe-area-inset-right))
      1.5rem
      max(0.65rem, env(safe-area-inset-left));
  }

  article {
    width: 100%;
    padding: clamp(1rem, 4.8vw, 1.5rem);
    border-radius: 16px;
  }

  article > p,
  article > ul,
  p,
  ul,
  li {
    line-height: 1.55;
  }

  p {
    margin-bottom: 0.65rem;
  }

  h1 {
    margin-bottom: 1rem;
  }

  h2 {
    margin-top: 1.65rem;
    margin-bottom: 0.65rem;
  }

  h3,
  h4 {
    margin-top: 1.3rem;
    margin-bottom: 0.55rem;
  }

  header {
    margin-bottom: 1.25rem;
    padding-inline:
      max(0.65rem, env(safe-area-inset-left))
      max(0.65rem, env(safe-area-inset-right));
  }

  .mobile-nav,
  #main-menu {
    width: min(88vw, 320px);
    max-width: calc(100vw - 1rem);
    max-height: min(75vh, 34rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav {
    padding-block: 0.5rem;
  }

  .mobile-nav a,
  #main-menu a,
  .bar2 a {
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    margin-left: 0;
    font-size: 1rem;
    line-height: 1.25;
  }

  .bar2 {
    gap: 0;
    padding: 0.35rem 0;
  }

  .burger,
  .nav-toggle,
  .grammar-menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .grammar-menu-toggle {
    padding: 0.7rem 0.85rem;
  }

  .title {
    width: min(300px, 100%);
  }

  .footer {
    margin-top: 2rem;
    padding: 1rem max(1rem, env(safe-area-inset-right)) 1rem max(1rem, env(safe-area-inset-left));
  }

  .verb-tiles {
    width: 100%;
    margin: 1.5rem auto;
    padding-inline: 0;
  }

  .verb-tiles__grid {
    margin-top: 1.5rem;
  }

  .verb-tile {
    min-width: 0;
  }

  .button,
  .video-trigger {
    min-height: 40px;
    padding: 0.55rem 0.8rem;
    line-height: 1.15;
    touch-action: manipulation;
  }

  .dropdown-content {
    max-width: 100%;
    padding: 0.85rem;
    overflow-wrap: anywhere;
  }

  .bibliodiv .bibtext {
    line-height: 1.4;
  }

  .grammar-table {
    max-width: none;
  }

  .table-wrapper {
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
  }

  .table-wrapper::after,
  .bayt-scroll::after,
  .arabic-table-wrap::after {
    content: "";
    display: block;
    width: 1px;
    height: 1px;
  }

  .flashcard-container,
  .fiszki-pojemnik,
  .fiszki-pojemnik2,
  .fiszka-con2,
  .fiszka-convoc,
  .fiszka-con3,
  .fiszka-con4,
  .fiszka-con5 {
    display: block;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .flashcard-container {
    width: min(220px, 100%);
  }

  .fiszki-pojemnik,
  .fiszka-con3 {
    width: min(290px, 100%);
  }

  .fiszki-pojemnik2 {
    width: min(320px, 100%);
  }

  .fiszka-con2,
  .fiszka-con4,
  .fiszka-con5 {
    width: min(350px, 100%);
  }

  .fiszka-convoc {
    width: min(200px, 100%);
  }

  .fiszka-front,
  .fiszka-tyl,
  .fiszka-tyl2,
  .flashcard-front {
    overflow-wrap: anywhere;
    -webkit-overflow-scrolling: touch;
  }

  .koranimg,
  .keyb,
  .testyimg {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  article {
    padding: 1rem;
    border-radius: 13px;
  }

  .verb-tiles__heading {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  .verb-tiles__heading h1 {
    letter-spacing: 0.07em;
  }

  .verb-tile {
    min-height: 92px;
    padding: 0.9rem;
    gap: 0.65rem;
  }

  .grammar-table th,
  .grammar-table td {
    padding-inline: 0.5rem;
  }

  .dropdown-content {
    border-width: 1px;
    border-radius: 12px;
    box-shadow: none;
  }
}

@media (max-width: 375px) {
  main {
    padding-inline:
      max(0.45rem, env(safe-area-inset-left))
      max(0.45rem, env(safe-area-inset-right));
  }

  article {
    padding: 0.85rem;
    border-radius: 11px;
  }

  article > p,
  article > ul,
  p,
  ul,
  li {
    line-height: 1.48;
  }

  p {
    margin-bottom: 0.5rem;
  }

  h1 {
    letter-spacing: -0.02em;
  }

  .mobile-nav,
  #main-menu {
    width: calc(100vw - 0.75rem);
    max-width: none;
  }

  .footer {
    padding-inline: 0.75rem;
  }

  .button,
  .video-trigger {
    font-size: 0.85rem;
  }
}
  .pionowy-tekst {
  min-width: 0;
}
.pionowy-tekst {
  /* tekst łamany na granicach wyrazów */
  width: 1%;
}

