Theme Name: Astra Child
Template: astra
*/

body {
  background-color: #c5b4df !important;
  position: relative;
  overflow-x: hidden;
  /*background: pink url('/wp-content/themes/astra-child/images/bg-stars.png') repeat;*/
  font-family: 'Tahoma', monospace;
	margin-top: 120px
}
/*LAUNCHING ONLY*/
.coming-soon-stars {
  font-family: 'Courier New', Courier, monospace;
  color: #470454; /* albo inny kolor pasujący do retro */
  margin: 10px 0;
}
.sidebar .banner-icons {
  display: flex !important;
  justify-content: center !important;
  gap: 10px;
  width: 100%;
}

.sidebar .banner-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  text-align: center;
}

.sidebar .banner-icon div {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 13px;
  line-height: 1.2;
}
.sidebar .banner-icon a {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*LAUNCHING ONLY*/
.stars-background {
  display: none !important;
}

a {
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

.retro-window {
  border: 2px solid #000;
  background: #fff;
  position: relative;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border-left: 2px solid #ccc;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}

.retro-titlebar {
  height: 26px;
  padding: 0 14px;
  padding-left: 8px !important; /* bardziej na lewo */
  background: linear-gradient(to right, #f9a8d4, #c084fc);
  color: #000;
 font-weight: bold; /* wyłączone */
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  line-height: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #ccc;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.retro-titlebar > div {
  display: flex;
  align-items: center;
  gap: 8px !important; /* większy odstęp ikona - tytuł */
}
.retro-close-btn {
  background: transparent;
  border: none;
  color: #000;
  font-weight: bold;
  font-size: 12px;
  line-height: 16px;
  cursor: default;
  user-select: none;
  font-family: 'Tahoma', sans-serif;
  padding: 0;
  margin: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.retro-close-btn:hover {
  color: #000;
  background: transparent;
  box-shadow: none;
}

.retro-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: #ffffff;
}

.retro-title {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 10px;
  color: #470454;
  font-family: 'Tahoma', sans-serif;
	font-weight: normal !important;
}

.retro-excerpt {
  font-size: 15px;
  line-height: 1.6;
  font-family: 'Tahoma', sans-serif;
}

.retro-thumb {
  flex-shrink: 0;
  width: 200px;
}

.retro-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: none;
  margin-bottom: 0;
}

.retro-text {
  flex: 1;
  position: relative;
  text-align: right;
}
.retro-readmore-btn {
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  padding: 3px 12px;
  color: #000;
  background: #c0c0c0;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  height: 28px;
  box-sizing: border-box;
  white-space: nowrap;
}

.retro-readmore-btn:hover {
  background: #dfdfdf;
  color: #470454;; /* fiolet kolor */
  text-decoration: underline; /* dodaj podkreślenie */
}

.retro-readmore-btn:active {
  border: 1px solid #000;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
  background: #a0a0a0;
  text-decoration: none;
}
#banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #c5b4df;
  padding: 20px 40px;
  font-family: Tahoma, sans-serif;
  border-bottom: 2px solid #470454;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

#banner-logo img,
#banner-logo a img {
  height: 160px !important;
  width: auto !important;
  image-rendering: pixelated;
  display: block;
}

#banner-logo a {
  display: block;
  padding: 4px;
  border: none;
  transition: all 0.2s ease-in-out;
  height: auto;
  width: auto;
}
#banner-logo a:hover {
  border: none;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(1px);
  cursor: pointer;
}

#banner-logo a:hover img {
  filter: grayscale(30%) brightness(1.1);
  transition: filter 0.2s ease-in-out;
}

.banner-icons {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  padding: 0;
}

.banner-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  text-align: center;
}

.banner-icon img {
  width: 48px !important;
  height: 48px !important;
  image-rendering: pixelated;
  display: block;
  margin-bottom: 4px;
}

.banner-icon div {
  font-size: 14px;
  line-height: 1.2;
  color: #000;
}

.banner-icon a {
  display: block;
  padding: 4px;
  border: none;
  transition: all 0.2s ease-in-out;
  border-radius: none;
}

.banner-icon a:hover {
  border: none;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(1px);
}

.banner-icon a:hover img {
  filter: grayscale(30%) brightness(1.1);
  transition: filter 0.2s ease-in-out;
}

.banner-icon a:hover div {
  color: #470454;
  text-decoration: underline;
}
.banner-icon a {
  text-decoration: none;
  color: black;
  font-family: Tahoma, sans-serif;
}
.banner-icon a div {
  text-decoration: none;
  color: black;
  font-family: Tahoma, sans-serif;
}
.main-content {  
  position: relative;
  padding-top: 60px; /*to psoci fest z headerem)
  /*display: flex;
  gap: 20px;*/
}

.posts-area {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.windows-box {
  border: 3px solid #000;
  background: #c0c0c0;
  box-shadow: 5px 5px 0 #000;
  width: 100%;
}

.window-header {
  background: blue;
  color: white;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.star-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  background-size: cover;
  margin-right: 10px;
}

/*.category-fashion { background-image: url('/wp-content/themes/astra-child/images/fashion.png'); }
.category-music { background-image: url('/wp-content/themes/astra-child/images/music.png'); }
.category-lifestyle { background-image: url('/wp-content/themes/astra-child/images/lifestyle.png'); }
.about-icon { background-image: url('/wp-content/themes/astra-child/images/about.png'); }
.contact-icon { background-image: url('/wp-content/themes/astra-child/images/contact.png'); }*/

.window-content {
  padding: 10px;
  background: #e0e0e0;
}

.window-content img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.social-links {
  list-style: none;
  padding: 0;
}

.social-links li a {
  color: blue;
  text-decoration: underline;
}

.category-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
	 display: inline-block;
}

.pagination-container .page-numbers {
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  padding: 3px 12px;
  color: #000;
  background: #c0c0c0;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  height: 28px;
  box-sizing: border-box;
  white-space: nowrap;
}

.pagination-container .page-numbers:hover {
  background: #dfdfdf;
  color: #470454;
  text-decoration: underline;
}

.pagination-container .page-numbers:active {
  border: 1px solid #000;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
  background: #a0a0a0;
  text-decoration: none;
}

.pagination-container .current {
  background: #dfdfdf;
  color: #470454;
  pointer-events: none;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080;
  height: 28px;
  display: inline-block;
  box-sizing: border-box;
  white-space: nowrap;
  padding: 3px 12px;
  text-decoration: underline;
}
.win95-taskbar {
position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  box-shadow: inset 0 1px #808080;
  z-index: 999;
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  height: 36px;
}

.win95-taskbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
  height: 100%;
  box-sizing: border-box;
}

.win95-left,
.win95-right {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: nowrap;
}

.win95-btn {
  display: flex;
  align-items: center;
  background: #c0c0c0;
  border: 2px outset #fff;
  padding: 2px 8px;
  height: 28px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  color: #000;
  box-sizing: border-box;
}

.win95-btn:hover {
  background: #dfdfdf;
}

.win95-btn img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  image-rendering: pixelated;
}

.win95-btn.icon-only {
  padding: 2px 4px;
}

.win95-btn.icon-only img {
  margin-right: 0;
}
.win95-btn.icon-only:hover {
  background: #dfdfdf; /* tak samo jak pozostałe */
  border: 2px outset #fff; /* upewnij się, że ramka się nie zmienia */
  /* lub dopasuj, jeśli chcesz inny efekt */
}
#clock {
  min-width: 50px;
  text-align: center;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.retro-meta {
  border-top: 3px solid #000;
  margin-top: 20px;
  padding-top: 10px;
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  color: #470454;
  display: flex;
  justify-content: space-between;
}

.retro-window-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid #000000;
  padding: 4px 8px;
  font-family: Tahoma, sans-serif;
  font-size: 12px;
  color: #000;
  height: 26px;
  box-sizing: border-box;
}

/*.retro-nav-btn {
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  padding: 3px 12px;
  color: black;
  background: #c0c0c0;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.retro-nav-btn:active {
  border: 1px solid #000;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
  background: #a0a0a0;
}*/
.button {
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  padding: 3px 12px;
  color: #000;
  background: #c0c0c0;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  height: 28px;
  box-sizing: border-box;
  white-space: nowrap;
  border-radius: 0;
}

.button:hover {
  background: #dfdfdf;
  color: #470454;
  text-decoration: underline;
}

.button:active {
  border: 1px solid #000;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
  background: #a0a0a0;
  text-decoration: none;
}
.post-navigation .button,
.single-post-navigation .button {
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  padding: 4px 10px;
  color: #000;
  background: #c0c0c0;
  border: 1px solid #000;
  border-radius: 0;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080;
  text-decoration: none;
  display: inline-block;
  height: auto;               /* zmiana */
  width: auto;                /* zmiana */
  max-width: max-content;     /* zmiana */
  box-sizing: border-box;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.post-navigation .button:hover,
.single-post-navigation .button:hover {
  background: #dfdfdf;
  color: #470454;
  text-decoration: underline;
}

.post-navigation .button:active,
.single-post-navigation .button:active {
  border: 1px solid #000;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
  background: #a0a0a0;
  text-decoration: none;
}
.retro-excerpt {
  color: #000000;          /* czarny tekst */
  font-family: Tahoma, sans-serif;
  font-size: 15px;
  line-height: normal;
  margin: 0;
}

/* Reset stylów dla h2 i p wewnątrz retro-excerpt */
.retro-excerpt h2,
.retro-excerpt p {
  all: unset;
  display: block;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0 0 1em 0;
}
/* Responsive */

/* Tablets: 481px - 1024px — ikonki w 1 rzędzie pod logo */
@media (min-width: 481px) and (max-width: 1024px) {
  #banner {
	position: static !important;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
  }

  #banner-logo {
    margin-bottom: 5px;
    text-align: center;
  }

  #banner-logo img {
    max-height: 120px;
    width: auto !important;
    height: auto !important;
  }

  .banner-icons {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 600px;
  }

  .banner-icon {
    flex: 1 1 auto; /* elastyczna szerokość */
    max-width: 100px;
    min-width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .banner-icon img {
    width: 100%;
    max-width: 64px;
    height: auto !important;
    margin-bottom: 6px;
  }

  .banner-icon div {
    font-size: 14px;
  }
}

/* Phones: max-width: 480px — ikonki w grid 3x2 */
@media (max-width: 480px) {
  #banner {
	position: static !important;
    flex-direction: column;
    align-items: center;
    padding: 8px;
  }

  #banner-logo {
    margin-bottom: 5px;
    text-align: center;
  }

  #banner-logo img {
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
  }

  .banner-icons {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 8px;
    justify-items: center;
    width: 100%;
    max-width: 360px;
    margin-top: 5px;
  }

  .banner-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 80px;
    text-align: center;
  }

  .banner-icon img {
    width: 100%;
    max-width: 48px !important;
    height: auto !important;
    margin-bottom: 4px;
  }

  .banner-icon div {
    font-size: 12px;
  }

 /* body {
    margin-top: 160px !important;
  }*/
}

/* Dodatkowe responsywne style, które już miałaś */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    padding-top: 120px;
  }

  .posts-area, .sidebar {
    width: 100%;
  }

  .retro-body {
    flex-direction: column;
    gap: 10px;
  }

  .retro-text {
    text-align: left;
  }

  .retro-thumb {
    width: 100%;
  }

 /* body {
    margin-top: 140px;
  }*/
}

.footer-desktop {
  display: flex;
}

.footer-mobile {
  display: none;
}

@media (max-width: 768px) {
  .footer-desktop {
    display: none;
  }

  .footer-mobile {
    display: flex;
    justify-content: space-between;
  }
}
/* Przywrócenie odstępu w nawigacji postów */
:root {
  --ast-post-nav-space: 3.33333em !important;
}

/* Dodatkowa poprawka paddingów w nawigacji */
.post-navigation {
  padding-left: var(--ast-post-nav-space) !important;
  padding-right: var(--ast-post-nav-space) !important;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Ulepszenie przycisków nawigacji */
.post-navigation .button,
.post-navigation a {
  width: auto !important;
  max-width: max-content !important;
  padding: 6px 14px !important;
  white-space: nowrap !important;
}
html, body {
  background-color: #c5b4df !important;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .wp-post-image {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
/* Ogólnie – wszystkie obrazy w treści również responsywne */
.entry-content img,
.single-post .wp-post-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Dodatkowo na telefony */
@media (max-width: 768px) {
  .entry-content img,
  .single-post .wp-post-image {
    width: 100%;
    object-fit: contain;
    margin: 0 auto;
  }
}
.single-post .wp-post-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .single-post .wp-post-image {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
  }
}
