:root {
  --bg: #121212;
  --bgSoft: #25395e;
  --text: #dee4eb;
  --textSoft: #cbd2d9;

  --darkExplicit: #11203f;
  --softDarkExplicit: #25395e;
  --whiteExplicit: #dee4eb;
  --softWhiteExplicit: #cbd2d9;

  --header-height: 100px;
  --footer-height: 50px;

  --container-size: 1366px;

  --primary: #86d6be;
  --on-primary: #00382c;

  --primary-container: #005141;
  --on-primary-container: #a2f2da;

  --secondary: #b2ccc2;
  --on-secondary: #1d352e;

  --secondary-container: #344c44;
  --on-secondary-container: #cde9de;

  --tertiary: #a9cbe3;
  --on-tertiary: #0f3447;

  --tertiary-container: #294a5e;
  --on-tertiary-container: #c5e7ff;

  --error: #ffb4ab;
  --on-error: #690005;

  --error-container: #93000a;
  --on-error-container: #ffdad6;

  --surface: #0f1513;

  --surface-container-lowest: #090f0d;
  --surface-container-low: #171d1b;
  --surface-container: #1b211f;
  --surface-container-high: #252b29;
  --surface-container-highest: #303634;

  --on-surface: #dee4e0;
  --on-surface-2: #bfc9c4;

  --outline: #89938e;
  --outline-2: #3f4945;

  --inverse-primary: #0e6b58;
  --inverse-surface: #dee4e0;
  --inverse-on-surface: #2b322f;

  --link: var(--tertiary);
  --link-visited: #c7b3dc;
  --link-active: var(--error);

  --code-color: #86d6be;
}

/* base icon */
.icon {
  display: inline-block;
}

/* interactive behavior shared by all icons with interactive=true */
.icon--interactive {
  cursor: pointer;
  border-radius: 0.25rem;
  padding: 0.25rem;

  /* assume icon uses fill="currentColor" or stroke="currentColor" */
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

/* hover: bg is 50% of the icon color */
.icon--interactive:hover {
  /* Modern: use currentColor to derive bg with 50% opacity */
  background-color: color-mix(in srgb, transparent 50%, currentColor 50%);
}

/* Optional: fallback if color-mix isn't supported */
@supports not (background-color: color-mix(in srgb, black 50%, white 50%)) {
  .icon--interactive:hover {
    background-color: rgba(148, 163, 184, 0.5); /* some neutral fallback */
  }
}

* {
  margin: 0;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  background: var(--surface);
  color: var(--on-surface);
  font-family: "Roboto", sans-serif;
}
html,
body {
  overflow-x: hidden;
}
body.light {
  --textSoft: #25395e;
  --bgSoft: #cbd2d9;

  --primary: #0e6b58;
  --on-primary: #ffffff;

  --primary-container: #a2f2da;
  --on-primary-container: #002019;

  --secondary: #4b635b;
  --on-secondary: #ffffff;

  --secondary-container: #cde9de;
  --on-secondary-container: #072019;

  --tertiary: #416277;
  --on-tertiary: #ffffff;

  --tertiary-container: #b1d2eade;
  --on-tertiary-container: #001e2d;

  --error: #ba1a1a;
  --on-error: #ffffff;

  --error-container: #ffdad6;
  --on-error-container: #410002;

  /* --surface: #d6e4e6; */
  --surface: #dae7e9;

  --surface-container-lowest: #ffffff;
  --surface-container-low: #eff5f1;
  --surface-container: #e9efeb;
  --surface-container-high: #e3eae6;
  --surface-container-highest: #dee4e0;

  --on-surface: #171d1b;
  --on-surface-2: #3f4945;

  --outline: #6f7975;
  --outline-2: #bfc9c4;

  --inverse-primary: #ecf2ee;
  --inverse-surface: #2b322f;
  --inverse-on-surface: #86d6be;

  --link: #0000ee;
  --link-visited: #551a8b;
  --link-active: #ff0000;

  --code-color: #86d6be;
}

a {
  color: inherit;
  text-decoration: none;
}

.main.single .singleContent a {
  color: var(--link);
}
.main.single .singleContent a:visited {
  color: var(--link-visited);
}
.main.single .singleContent a:active {
  color: var(--link-active);
}

.container {
  max-width: 1366px;
  /* padding-left: 50px;
    padding-right: 50px; */
  margin: auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.logoText {
  display: flex;
  align-items: center;
  justify-content: center;
}
.authorData {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  /* flex-basis: 100%; */
}
.authorData a {
  color: var(--on-tertiary-container);
  background-color: var(--tertiary-container);
  padding: 5px;
  border-radius: 5px;
}
.sticky .container {
  padding-top: var(--header-height);
}
.container {
  padding-top: var(--header-height) !important;
}
/* NAVBAR START */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  /* backdrop-filter: opacity(50%); */
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  top: 0;
  width: var(--container-size);
  margin: 0 auto;
}
.navbar,
.header {
  z-index: 100;
}
.sticky .header {
  /* position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%; */
  background-color: var(--surface-container);
}
.sticky .navbar {
  /* width: var(--container-size);
margin: 0 auto; */
}

.navbar-left {
  font-weight: bold;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex: 1;
}
.logo {
  display: flex;
  gap: 10px;
  align-self: center;
  justify-content: center;
  padding: 10px 0;
}
.logoIconWrapper {
  display: flex;
  align-items: center;
}

.links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}

.links a {
  /* color: var(--on-tertiary-container);
  background-color: var(--tertiary-container);
  border: 2px solid var(--on-tertiary-container); */
  /* color: var(--primary); */
  /* background-color: var(--secondary); */
  padding: 7px;
  border-radius: 5px;
}
.codeWrapper code {
  white-space: pre; /* This will preserve new lines and spaces */
}
.codeWrapper {
  background-color: #2b322f;
  color: var(--code-color);
  /* --inverse-surface: #2b322f;
  --inverse-on-surface: #86d6be; */
  border-radius: 5px;
  padding: 0 30px;
  margin: 20px 0;
  position: relative;
  width: 100%;
  overflow: auto;
  font-size: 18px;
  letter-spacing: 1px;
}
.codeWrapperCopy {
  position: absolute;
  top: 6px;
  right: 8px;

  margin: 0;
  padding: 0;

  border: none;
  background: none;

  font: inherit;
  color: inherit;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  border-radius: 5px;
    transition: background-color 0.3s ease;

}
.codeWrapperCopy--copied {
  /* for example, briefly change bg or color */
  background-color:var(--code-color);/* green-ish flash */
}
.codeWrapperCopy svg {
  /* fade icon color in/out */
  transition: fill 0.3s ease, color 0.3s ease;
}
.codeWrapperCopy--copied svg{
fill: #2b322f;
}

/* base (hidden) state for the label */
.codeWrapperCopy::after {
  content: "Copied!";       /* always there */
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(0, -50%); /* start closer to button */
  opacity: 0;

  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;

  /* animate opacity + movement both ways */
  transition:
    opacity 1s ease,
    transform 1s ease;
}

/* copied state: visible + slightly offset left */
.codeWrapperCopy--copied::after {
  /* no content change here */
  transform: translate(-2px, -50%);
  opacity: 1;
}


.articleImage {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  border: 2px solid var(--tertiary);
  border-radius: 5px;
  -o-object-fit: contain;
     object-fit: contain;
}
.articleImageWrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  font-style: italic;
  font-size: 12px;
  color: var(--tertiary);
  line-height: 16px;
}
.articleImageFlex {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  width: auto;
}
.imageFocusTopLeft {
  -o-object-position: top left;
     object-position: top left;
}
/* .articleImageCredits{
  text-align: center;
  width: 100%;
  max-width: 100%;
} */
.articleImageWrapper .articleImageCredits a {
  color: var(--tertiary) !important;
  font-style: italic;
  text-decoration: underline;
}

.searchButton {
  position: relative;
  background-color: var(--secondary-container);
  border: 2px solid var(--on-secondary-container);
  padding: 1px;
  /* color: var(--inverse-on-surface); */
  /* padding: 3px 15px 3px 10px; */
  border-radius: 6px;
  margin: 0 auto;
  display: flex;
}

body:not(.light) .darkIconToggle {
  background-color: var(--text);
  border-radius: 100px;
}

/* body.light .searchButton {
  background-color: rgba(	223, 233, 244, 70%);
  color: var(--text);
  border: 2px solid var(--text);
} */

.searchIcon {
  /* position: absolute;
  left: -5px;
  top: -4px; */
  padding: 4px 3px 3px 4px;
  /* border-radius: 5px; */
  /* display: none; */
}
.searchIconBg {
  color: var(--secondary-container);
  background-color: var(--secondary-container);
}
.searchIconLine {
  color: var(--on-secondary-container);
}

.searchField,
.searchField:focus {
  padding-left: 7px;
  background: none;
  border: none;
  color: inherit;
  outline: none;
  font-size: 18px;
  width: 250px;
  /* height: 25px; */
  /* height: 100%; */
  cursor: pointer;
  /* text-transform: uppercase; */
  /* font-weight: 600; */
  font-size: 18px;
}

::-moz-placeholder {
  color: inherit;
  opacity: 1; /* Firefox */
}

::placeholder {
  color: inherit;
  opacity: 1; /* Firefox */
}

.toggle {
  width: 40px;
  height: 20px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: var(--tertiary-container);
  border: 1px solid var(--on-tertiary-container);
  padding: 5px;
  position: relative;
  margin-left: 25px;
}
.toggleIcon {
  color: var(--on-tertiary-container);
}
/* body.light .toggle {
  background-color: #1abc9c;
} */
.ball {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  /* background-color: var(--textSoft);
  border: 1px solid var(--bgSoft); */
  background-color: var(--on-tertiary-container);
  /* border: 1px solid var(--outline); */
}

.light .ball {
  left: unset;
  right: 0;
  /* background-color: var(--textSoft); */
  /* border: none; */
}

/* NAVBAR END */

/* FOOTER START */

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--footer-height);
  font-size: 12px;
  /* color: var(--on-tertiary); */
  /* background-color: var(--secondary); */
}

.social {
  display: flex;
  gap: 10px;
}

/* FOOTER END */

.categoryHeader {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 27px;
  font-weight: 500;
  padding: 35px 0 55px 0;
}

.categoryImage,
.authorImage {
  width: 70px;
  height: 70px;
  -o-object-fit: cover;
     object-fit: cover;
}
.socialMedia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 40px;
  padding-bottom: 20px;
  color: var(--secondary);
}
.mainContent.searchResults {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.searchBarResults {
  /* top: var(--header-height); */
  /* left: 0;
  right: 0; */
  margin: 0 auto;
  /* bottom: var(--footer-height); */
  /* position: absolute; */
  z-index: 99;
  /* background-color: var(--bg); */
  /* color: var(--text); */
  opacity: 1;
  transition: opacity 1s ease-in;
  display: flex;
  /* align-items: center; */
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0;
  font-size: 16px;
  font-weight: 500;
  flex-grow: 1;
}
.searchBarResult {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  justify-self: stretch;
}
.searchBarResult img {
  height: 150px;
  width: 150px;
  -o-object-fit: cover;
     object-fit: cover;
}
/* .searchBarResults.displayNone{
  opacity: 0;
  transition: opacity 0.3s ease-out;
  z-index: -100;
} */
.displayNone {
  display: none !important;
}
.aboutAuthorImage {
  width: 400px;
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid var(--secondary);
  border-radius: 5px;
  z-index: 50;
}
/* body.light .socialMedia svg, body.light .socialMedia svg, body.light .socialMedia svg, body.light .socialMedia g{
  fill: var(--text)!important;
} */
.main.pageAbout {
  flex-direction: row-reverse;
  align-items: center;
  gap: 50px;
}
.aboutBodySubHeader {
  font-weight: 500;
  font-size: 30px;
  color: var(--primary);
  font-weight: 600;
  padding-bottom: 10px;
  padding-top: 40px;
}
.aboutBodyContent {
  font-size: 20px;
  line-height: 1.5;
}
.aboutBodyContent a {
  text-decoration: underline;
  font-style: italic;
}
.authorImage {
  border-radius: 100px;
}
/* LIST START */
.mainContent.pageHome {
  padding-top: 100px;
  flex-direction: column;
  gap: 40px;
}
.mainContent.pageAbout {
  padding: 0;
  flex-direction: column;
  justify-content: center;
}
.mainContent.pageSingle {
  padding: 0;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}
.aboutHeader {
  text-align: center;
  font-weight: 500;
  font-size: 40px;
}
.main {
  display: flex;
  flex-grow: 1;
}
.listItems {
  flex-grow: 1;
}
.sideList {
  flex-basis: 250px;
}
.mainContent.pageCategories,
.mainContent.pageAuthors {
  padding-top: 100px;
}
/* .main, .listItemsTaxonomy{ */
.mainContent {
  z-index: 50;
  position: relative;
  flex-grow: 1;
  flex-shrink: 1;
  display: flex;
}
.mainContent.pageCategory,
.mainContent.pageAuthor {
  flex-direction: column;
}
.listItem {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 50px;
}
.sideListItem {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.listItemImage {
  width: 200px;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}
.pageHome .listItemImage,
.pageCategory .listItemImage,
.pageAuthor .listItemImage,
.searchQueryImage {
  border: 2px solid var(--tertiary);
  border-radius: 5px;
}
.pageCategories .listItemImage {
  margin: 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.pageAuthors .listItemImage {
  margin: 0 auto;
  border-radius: 200px;
  flex-basis: auto;
  height: 200px;
  width: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
.sideListItemImage {
  width: 40px;
  height: 40px;
  -o-object-fit: cover;
     object-fit: cover;
}
.sideListItemTitle {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}
.listItemTitle {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
}
.sideListHeader {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 20px;
}
.sideListItem {
  margin-bottom: 15px;
}
.listItemTexts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-basis: 100%;
}

.listItemDetail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.listItemDetail span {
  display: flex;
  align-items: center;
  gap: 5px;
}
/* .listItemDetail span a{
  color: var(--on-tertiary-container);
  background-color: var(--tertiary-container);
  padding: 2px;
  border-radius: 2px;
} */

.listItemAvatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.listItemCategories {
  display: flex;
  gap: 10px;
}

.listItemCategory {
  padding: 5px;
  border-radius: 5px;
  background-color: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
}

.pagination {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  margin-top: 80px;
  margin-bottom: 30px;
}

.page-item {
  border: 1px solid gray;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.page-item.active {
  background-color: var(--text);
  color: var(--bg);
}
.page-item.disabled {
  background-color: #313845;
  cursor: not-allowed;
}
.bannerWrapperBg {
  /* mask-image: none; */
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 1) 50%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 1) 50%,
    transparent 100%
  );
  height: 1024px;
  max-height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.bannerImageBg {
  width: 100%;
  opacity: 3%;
  /* max-height: 100%;
  height: 100%; */
  max-height: 100%;
  height: 1024px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
body.light .bannerImageBg {
  opacity: 7%;
}

/* LIST END */
.bannerWrapper {
  height: 600px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  /* mask-image: linear-gradient(to top, rgba(0, 0, 0, 1.0) 0, transparent 100%); */
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 1) 50%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 1) 50%,
    transparent 100%
  );
  opacity: 45%;
}
.bannerImage {
  -o-object-fit: cover;
     object-fit: cover;
  /* max-height: 600px; izmena*/
  max-height: 100%;
  height: 100%;
  width: 100%;
}
body:not(.light) .bannerImage,
body:not(.light) .bannerImageBg {
  filter: grayscale(40%);
}

.fourzerofour {
  /* min-height: calc(100dvh - var(--header-height) - var(--footer-height)); */
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.fourzerofourContent {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.fourzerofourContent > * {
  flex-basis: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

/* SINGLE START */

.single {
  /* min-height: calc(100dvh - var(--header-height) - var(--footer-height)); */
  /* flex-grow: 1; */
  padding-top: 120px;
}

.singleHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.singleHeadTexts {
  flex: 1 0 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.singleHeadTitle {
  padding-top: 25px;
  font-size: 48px;
}

.singleHeadDesc {
  padding-top: 15px;
  padding-right: 15px;
  font-size: 20px;
  font-weight: 300;
}

.singleHeadDetail {
  padding-top: 25px;
  /* display: flex; */
  /* align-items: center; */
  /* gap: 15px 25px; */
}
.singleHeadTime {
  padding-top: 10px;
}

.singleAvatarAuthor {
  display: flex;
  gap: 13px;
  /* justify-content: center; */
  /* flex-direction: column; */
}

.singleCategories {
  padding-top: 15px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.singleAvatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.singleCategory {
  padding: 5px;
  border-radius: 5px;
  background-color: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
}
.singleHeadRight {
  flex: 0 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-style: italic;
  font-size: 12px;
  color: var(--secondary);
  /* min-width: 0; */
}
.singleHeadRight a {
  text-decoration: underline;
}
.singleHeadImg {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  height: 100%;
  width: 100%;
  border: 2px solid var(--secondary);
  border-radius: 5px;
}

.singleBottom {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 50px;
}

.singleContent {
  flex: 1 1 0;
  font-size: 20px;
  line-height: 32px;
  min-width: 0;
}
.singleRightBar {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 350px;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  z-index: 99;
}

.singleContent p,
.singleContent h1,
.singleContent h2,
.singleContent h3 {
  margin: 20px 0px;
}

/* .singleContent img {
  width: 100%;
  object-fit: cover;
} */

.singleContent pre {
  width: 100%;
  overflow-x: scroll;
  padding: 20px;
}

/* SINGLE END */

/* RIGHTBAR START */

.rightBar {
  position: sticky;
  top: 100px;
}

.rightBarContent {
  width: 100%;
  height: 100%;
}
.rightBarImg {
  -o-object-fit: cover;
     object-fit: cover;
}

.rightBarHeadings {
  padding: 20px;
  color: var(--textSoft);
  background-color: var(--bgSoft);
}
.rightBarHeadingsTitle {
  font-size: 20px;
  font-weight: 500;
}
.rightBarHeadings ul {
  list-style: none;
}
.rightBarHeadings li {
  font-size: 17px;
  padding: 5px 0;
  text-transform: capitalize;
}
/* RIGHTBAR END */

.featuredArticle {
  height: 350px;
  /* margin-top: 50px; */
  /* background-color: var(--primary); */
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}
/* .main.pageHome{
  flex-direction: column;
} */
.desktopAdBanner {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 350px;
  width: 100%;
  /* height: 100%; -> this defaults to 0px when empty because of flexbox behaviour*/
  min-height: 100%;
  /* background-color: var(--primary); */
  z-index: 99;
}
/* .single .desktopAdBanner{
  min-width: 350px;
} */
.listItem.featuredItem .listItemImage {
  width: 450px;
  height: 300px;
  border: 2px solid var(--primary);
  border-radius: 5px;
}
.listItem.featuredItem {
  height: auto;
  margin: 0;
}

@media (max-width: 1536px) {
  body {
    --container-size: 1366px;
  }
  .container {
    max-width: var(--container-size);
  }
  .sideList {
    flex-basis: 200px;
  }
}
@media (max-width: 1366px) {
  body {
    --container-size: 1150px;
  }
  .container {
    max-width: var(--container-size);
  }
  .listItem.featuredItem .listItemImage {
    width: 300px;
    height: 300px;
  }
  .single {
    padding-top: 100px;
  }
  .sideList {
    flex-basis: 150px;
  }

  .mainContent.pageAbout {
    padding-left: 0;
    padding-right: 0;
    padding-top: 100px;
  }
}
@media (max-width: 1280px) {
  body {
    --container-size: 1024px;
  }
  .container {
    max-width: var(--container-size);
  }
  .single {
    padding-top: 80px;
  }
  .sideList {
    display: none;
  }
  .singleRightBar {
    display: none;
  }
  .singleBottom {
    gap: 0;
  }
  .listItem.featuredItem {
    gap: 30px;
  }
  .bannerWrapper {
    /* mask-image: none; */
    -webkit-mask-image: linear-gradient(
      to top,
      transparent 0%,
      rgba(0, 0, 0, 1) 50%,
      transparent 100%
    );
            mask-image: linear-gradient(
      to top,
      transparent 0%,
      rgba(0, 0, 0, 1) 50%,
      transparent 100%
    );
    max-height: 100%;
    height: 1024px;
  }
  .bannerImage {
    opacity: 10%;
    /* max-height: 100%;
  height: 100%; */
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
  }
  .main.pageAbout {
    gap: 10px;
  }
  /* .bannerImage{
  width: 100%;
  opacity: 5%;
  max-height: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.light .bannerImage{
  opacity: 7%;
} */
  .mainContent.pageHome {
    padding-top: 100px;
  }
  .searchButton {
    margin: 0;
  }
  .navbar-left,
  .links {
    flex: initial;
  }
  .singleAvatarAuthor {
    flex-basis: 100%;
  }
  .singleHeadDetail {
    flex-wrap: wrap;
  }
  /* .singleAvatarAuthor {
    flex-direction: row;
    justify-content: flex-start;
} */
  .single .desktopAdBanner {
    display: none;
  }
}
@media (max-width: 1024px) {
  body {
    --container-size: 768px;
  }
  .container {
    max-width: var(--container-size);
    padding-left: 10px;
    padding-right: 10px;
  }
  .singleHeadDesc {
    padding-right: 0;
  }
  .categoryHeader {
    gap: 15px;
    font-size: 24px;
    padding: 25px 0 40px 0;
  }
  .listItem.featuredItem {
    gap: 50px;
  }
  .featuredArticle {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    height: auto;
    /* margin-top: 25px; */
  }
  .pageHome .desktopAdBanner {
    display: none;
  }
  .mainContent.pageHome {
    padding-top: 50px;
  }
  .single {
    padding-top: 60px;
  }
  .aboutAuthorImage {
    width: 300px;
    height: 450px;
    margin-left: 20px;
  }
  .mainContent.pageAbout {
    justify-content: center;
    flex-grow: 1;
  }
  .mainContent.pageAbout {
    padding-top: 0;
  }
  .aboutBody {
    padding-top: 0;
  }
  .searchField,
  .searchField:focus {
    width: 170px;
  }
  /* .singleHeadRight {
    display: none;
  } */
  .singleHead {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-start;
  }
  .singleHeadTexts,
  .singleHeadRight {
    flex: 0 1 auto;
    width: 100%;
  }
  .singleBottom {
    flex-direction: column-reverse;
  }
  .rightBarContent {
    display: block;
    width: 100%;
  }
  .rightBarImg {
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    height: 200px;
  }
}
@media (max-width: 768px) {
  body {
    --container-size: 640px;
  }
  .container {
    max-width: var(--container-size);
  }
  .categoryHeader {
    gap: 10px;
    font-size: 22px;
    padding: 20px 0 30px 0;
  }
  .aboutAuthorImage {
    margin-left: 0;
    margin-top: 20px;
  }
  .main.pageAbout {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .categoryImage,
  .authorImage {
    width: 60px;
    height: 60px;
  }
  .single {
    padding-top: 50px;
  }
  .mainContent.pageHome {
    padding-top: 50px;
  }
  .links {
    font-size: 14px;
  }
  .listItem,
  .listItem.featuredItem {
    flex-wrap: wrap;
    gap: 30px;
  }
  .listItemImage,
  .listItem.featuredItem .listItemImage {
    /* display: none; */
    /* flex-basis: 100%; */
    height: 400px;
    width: 100%;
  }
  .listItem > * {
    flex-basis: 100%;
  }
  .pageCategories .listItemImage {
    /* display: none; */
    flex-basis: 200px;
    height: 200px;
    -o-object-fit: contain;
       object-fit: contain;
  }

  .pageCategories .listItemTexts,
  .pageAuthors .listItemTexts {
    text-align: center;
  }

  .searchButton span {
    display: none;
  }

  .links {
    display: none;
  }
}
@media (max-width: 640px) {
  body {
    --container-size: 100%;
  }
  .container {
    max-width: var(--container-size);
    padding: 0 20px;
  }
  .navbar-left.toggled {
    display: none;
  }
  .categoryHeader {
    gap: 10px;
    font-size: 20px;
    padding: 20px 0 30px 0;
  }
  /* .listItemImage, .listItem.featuredItem .listItemImage {
      height: 300px;
    } */
  .categoryImage,
  .authorImage {
    width: 50px;
    height: 50px;
  }
  /* .sticky .navbar{ */
  /* .navbar{
      padding-left: 20px;
      padding-right: 20px;
    } */
  /* .searchIcon {
      display: initial;
    } */
  .searchField:not(.toggled) {
    display: none;
  }
  .searchField.toggled {
    width: 100%;
  }
  .single {
    padding-top: 30px;
  }
  .singleHeadTitle {
    padding-top: 0;
    font-size: 36px;
  }
  .listItemImage,
  .listItem.featuredItem .listItemImage {
    height: 250px;
  }
  .navbar {
    flex-wrap: wrap;
    /* height: auto; */
    gap: 40px 0;
    padding: 25px 20px 15px 20px;
  }
  .searchButton:not(.toggled),
  body.light .searchButton:not(.toggled) {
    /* border: none !important; */
    border: none;
  }
  .searchButton.toggled {
    width: 100%;
  }
  .searchIcon:not(.toggled) {
    left: -15px;
    top: -15px;
    border-radius: 5px;
    border: 2px solid var(--on-secondary-container);
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
  .searchIcon {
    cursor: pointer;
  }
  .toggle {
    margin-left: 20px;
  }
  /* .searchField,
.searchField:focus {
    width: 100%;
  } */
  .listItem,
  .listItem.featuredItem {
    gap: 15px;
  }
  .listItemDetail time {
    flex-basis: 100%;
  }
  .listItemDetail {
    flex-wrap: wrap;
  }
  .authorData {
    flex-basis: 100%;
  }
  .singleAvatarAuthor {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .container {
    max-width: var(--container-size);
    padding: 0 10px;
  }
  .categoryHeader {
    gap: 10px;
    font-size: 17px;
    padding: 20px 0 30px 0;
  }
  /* .sticky .navbar{ */
  .navbar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .toggle {
    margin-left: 10px;
  }
  .navbar-left {
    font-size: 25px;
  }
}

