/*
Theme Name: WODRAD
Theme URI: https://wodrad.pl
Author: WODRAD
Description: Motyw dla WODRAD – profesjonalne systemy uzdatniania wody. Wygenerowany na bazie makiety front.html (Tailwind CSS + Material Symbols).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wodrad
*/

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined[data-weight="fill"] {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.flow-line {
    background: linear-gradient(90deg, #33c9ff 0%, transparent 100%);
    height: 2px;
    animation: flow 2s infinite linear;
}

@keyframes flow {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.tech-grid {
    background-image: radial-gradient(#d8e3fb 1px, transparent 1px);
    background-size: 24px 24px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.wodrad-faq-item summary {
    list-style: none;
}

.wodrad-faq-item summary::-webkit-details-marker {
    display: none;
}

/* Stylowanie treści z edytora WP (Regulamin, Polityka prywatności itp. przez index.php) */
.wodrad-content {
    color: #41484d;
    font-size: 18px;
    line-height: 1.8;
    max-width: 840px;
}

.wodrad-content > * + * {
    margin-top: 24px;
}

.wodrad-content h2 {
    font-family: Manrope, sans-serif;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    color: #00374e;
    margin-top: 56px;
}

.wodrad-content h3 {
    font-family: Manrope, sans-serif;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    color: #00374e;
    margin-top: 40px;
}

.wodrad-content h2:first-child,
.wodrad-content h3:first-child {
    margin-top: 0;
}

.wodrad-content h2 + *,
.wodrad-content h3 + * {
    margin-top: 16px;
}

.wodrad-content p {
    max-width: 68ch;
}

.wodrad-content ul,
.wodrad-content ol {
    padding-left: 28px;
    max-width: 68ch;
}

.wodrad-content ul {
    list-style: disc;
}

.wodrad-content ol {
    list-style: decimal;
}

.wodrad-content li + li {
    margin-top: 10px;
}

.wodrad-content li {
    padding-left: 4px;
}

.wodrad-content a {
    color: #006685;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wodrad-content a:hover {
    color: #00374e;
}

.wodrad-content strong {
    color: #111c2d;
    font-weight: 600;
}

.wodrad-content blockquote {
    border-left: 4px solid #33c9ff;
    padding-left: 20px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-style: italic;
    color: #41484d;
}

/* Numery stron w archiwum wpisów (home.php) */
.wodrad-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #c0c7ce;
    border-radius: 0.25rem;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.wodrad-pagination a.page-numbers:hover {
    color: #00374e;
    border-color: #00374e;
}

.wodrad-pagination .page-numbers.current {
    background-color: #00374e;
    border-color: #00374e;
    color: #ffffff;
}

.wodrad-pagination .page-numbers.dots {
    border: none;
}

/* Podpisy zdjęć w galerii realizacji: wymuszony zapis „Jak w zdaniu”
   niezależnie od tego, jak wielkość liter wpisano w polu Opis w Bibliotece
   mediów (np. „Montaż Filtra” -> „Montaż filtra”). */
.wodrad-caption {
    text-transform: lowercase;
}

.wodrad-caption::first-letter {
    text-transform: uppercase;
}
