/* GŁÓWNE USTAWIENIA */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    background: linear-gradient(180deg, #4b2c5e 0%, #000000 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* NAGŁÓWEK */
.main-header {
    text-align: center;
    padding: 50px 0;
}

.main-header h1 {
    font-size: 4rem;
    color: #ffffff;
    text-shadow: none;
    margin: 0;
}

.subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    margin-top: 10px;
    opacity: 0.8;
}

/* UKŁAD STRONY */
.full-page-grid {
    display: grid;
    grid-template-columns: 350px 1fr 1fr 1fr; 
    gap: 20px;
    padding: 0 20px 50px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* PUDEŁKA (BOXES) */
.box {
    background-color: rgba(0, 0, 0, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffffff;
}

.title {
    text-align: center;
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 12px;
    margin-top: 0;
}

/* MENU */
.menu-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.menu-list li {
    margin: 12px 0;
}

/* LISTY WPISÓW - TU BYŁ BŁĄD */
.entry-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.entry-list li {
    display: flex !important;      /* Wymuszenie układu elastycznego */
    justify-content: space-between; /* To wypycha datę na prawo */
    align-items: center;
    width: 100%;                   /* Musi zajmować 100% szerokości boxa */
    margin: 15px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    box-sizing: border-box;
}

.entry-date {
    font-size: 0.75rem;
    opacity: 0.5;
    text-align: right;
    white-space: nowrap;           /* Żeby data nie przeskoczyła do nowej linii */
}

/* LINKI */
a {
    color: #ffffff;
    text-decoration: underline;
    transition: 0.3s;
}

a:hover {
    color: #ffffff;
    opacity: 0.6;
    text-shadow: none;
}

/* STYL PODSTRON */
.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.post-content p {
    margin-bottom: 25px;
    line-height: 1.7;
    text-align: justify;
}

.poem-content {
    text-align: center;
}

.poem-content p {
    margin-bottom: 50px;
    line-height: 1.8;
    font-size: 1.2rem;
}

.line {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.blog-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 40px auto;
}

@media (max-width: 1200px) {
    .full-page-grid { grid-template-columns: 1fr; }
}