/*
Theme Name: Palace
Author: WebVIST, Karol
URL: https://github.com/WebVIST-Agencja-Interaktywna/palace
Description: WebVIST's boilerplate theme.
Version: 2.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
*/

.page-simple main {
    min-height: 60vh;
    padding: 60px 0;
}
/* Sekcja główna */
.page-simple main section {
    width: 100%;
}
/* Kontener - ogólny */
.page-simple .container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-simple main section .container h1 {
  font-size: 4.6rem;
  line-height: 1.2;
  font-weight: 700;
  color: #004196;
}
.page-simple main section .container .header-content {
    padding: 40px 0 60px;
}

.page-simple main section .container .entry-content {
    padding: 40px 0 60px;
}

.page-simple .entry-content h2 {
    font-size: 5rem;
    line-height: 6.6rem;
    font-weight: 700;
    color: #004196;
}
.page-simple .entry-content h3 {
    font-size: 3.6rem;
    line-height: 4.6rem;
    font-weight: 700;
    color: #004196;
}
.page-simple .entry-content p {
    font-size: 1.8rem;
    line-height: 3rem;
    color: #657081;
    margin-bottom: 30px;
}
.page-simple .entry-content a {
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}
.page-simple .entry-content a:hover {
    opacity: 0.7;
}
/* Listy */
.page-simple .entry-content ul,
.page-simple .entry-content ol {
    padding-left: 1.6em;
    margin-bottom: 1.4em;
}
.page-simple .entry-content ul {
    list-style: disc;
}
.page-simple .entry-content ol {
    list-style: decimal;
}
.page-simple .entry-content li {
    line-height: 1.8;
    margin-bottom: 0.4em;
}
/* Cytat */
.page-simple .entry-content blockquote {
    border-left: 4px solid currentColor;
    padding: 12px 24px;
    margin: 2em 0;
    opacity: 0.75;
    font-style: italic;
}
/* Obrazki */
.page-simple .entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    margin: 2em 0;
}
/* Tabele */
.page-simple .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 0.95rem;
}
.page-simple .entry-content th,
.page-simple .entry-content td {
    padding: 12px 16px;
    border: 1px solid rgba(0,0,0,0.12);
    text-align: left;
}
.page-simple .entry-content th {
    font-weight: 600;
    background: rgba(0,0,0,0.04);
}
/* Kod */
.page-simple .entry-content code {
    font-family: monospace;
    font-size: 0.9em;
    background: rgba(0,0,0,0.06);
    padding: 2px 6px;
    border-radius: 3px;
}
.page-simple .entry-content pre {
    background: rgba(0,0,0,0.06);
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 2em 0;
}
.page-simple .entry-content pre code {
    background: none;
    padding: 0;
}
/* Separator */
.page-simple .entry-content hr {
    border: none;
    border-top: 2px solid rgba(0,0,0,0.1);
    margin: 3em 0;
}

@media (max-width: 768px) {
    .page-simple main {
        padding: 40px 0;
    }
    .page-simple main section .container h1 {
        font-size: clamp(1.4rem, 5vw, 2rem);
        padding: 32px 0 24px;
    }
    .page-simple .entry-content h2 {
        font-size: 3rem;
        line-height: 4rem;
    }
    .page-simple .entry-content h3 {
        font-size: 2.4rem;
        line-height: 3.2rem;
    }
    .page-simple .entry-content p {
        font-size: 1.6rem;
        line-height: 2.6rem;
        max-width: 100%;
    }
    .page-simple .entry-content {
        padding: 28px 0 40px;
    }
}
@media (max-width: 480px) {
    .page-simple .container {
        padding: 0 16px;
    }
    .page-simple .entry-content h2 {
        font-size: 2.4rem;
        line-height: 3.2rem;
    }
    .page-simple .entry-content h3 {
        font-size: 2rem;
        line-height: 2.8rem;
    }
    .page-simple .entry-content p {
        font-size: 1.5rem;
        line-height: 2.4rem;
    }
}