/*
Tailwind CSS is loaded via CDN in header.php. Custom styles below are for retro/90s look and override as needed.
*/
/*
Theme Name: Miks6Piks
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A 90s-style retro WordPress theme with guestbook and visitor counter.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: miks6piks
Tags: retro, 90s, fun, blog
*/

body {
  font-family: 'Comic Relief', sans-serif;
  background-image: url('https://www.transparenttextures.com/patterns/black-felt.png');
  background-color: #0000FF;
  color: #FFFF00;
  text-align: center;
}
.marquee {
  font-size: 24px;
  color: #FF0000;
  font-weight: bold;
}
.guestbook, .hit-counter {
  margin: 20px auto;
  width: 300px;
  border: 2px dashed #00FF00;
  padding: 10px;
  background-color: #000000;
}
.guestbook textarea {
  width: 100%;
  height: 60px;
}
.guestbook button {
  margin-top: 10px;
}
.clipart, .gif {
  margin: 10px;
}
.under-construction {
  margin-top: 30px;
}

/* Retro/Bootstrap override styles moved from inline */
.post-retro-style {
  border: 2px dashed #00FF00;
  background: #000;
  color: #FFFF00;
  border-radius: 0.5rem;
  padding: 1rem;
}
.post-title-link {
  color: #FF0000;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
}
.post-title-link:hover {
  text-decoration: underline;
}
.post-meta {
  color: #00FF00;
}
.page-retro-style {
  border: 2px dashed #00FF00;
  background: #000;
  color: #FFFF00;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 2rem 0;
}
.page-retro-style h1 {
  color: #FF0000;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.sidebar-retro-style {
  border: 2px dashed #00FF00;
  background: #000;
  color: #FFFF00;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 2rem auto;
  max-width: 350px;
}
.sidebar-retro-style h3 {
  color: #FF0000;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.sidebar-retro-style a {
  color: #00FF00;
}
.list-item-guestbook-style {
  border: 2px dashed #00FF00;
  background: #000;
  color: #FFFF00;
  border-radius: 0.5rem;
  padding: 1rem;
  min-height: 120px;
}
.list-item-guestbook-style h4 {
  color: #FF0000;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-align: left;
}
.guestbook-retro-style {
  border: 2px dashed #00FF00;
  background: #000;
  color: #FFFF00;
  border-radius: 0.5rem;
  padding: 1rem;
  max-width: 400px;
}
.recent-posts-title {
  color: #FF0000;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

ol {
  text-align: center;
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
}

.retro-flash {
  animation: flash-colors 1s infinite steps(1);
  font-family: 'Comic Relief', sans-serif;
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 #000;
}

@keyframes flash-colors {
  0%   { color: #ff0000; }
  20%  { color: #00ff00; }
  40%  { color: #0000ff; }
  60%  { color: #ffff00; }
  80%  { color: #ff00ff; }
  100% { color: #00ffff; }
} 

.post-content {
  h2 {
    margin: 40px 0 20px;
  }
}

.post-featured-16-9 {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 12px;
  background: #eee;
  max-width: 100%;
  height: auto;
}

@supports not (aspect-ratio: 16 / 9) {
  .post-featured-16-9 {
    height: 0;
    padding-bottom: 56.25%; /* 16:9 ratio fallback */
    position: relative;
    overflow: hidden;
  }
  .post-featured-16-9 img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}