/*
Theme Name: Ewa Skulska
Theme URI: https://ewaskulska.pl/
Author: Kancelaria Radcy Prawnego Ewa Skulska
Author URI: https://ewaskulska.pl/
Description: Dedykowany, klasyczny motyw WordPress dla Kancelarii Radcy Prawnego Ewy Skulskiej zoptymalizowany pod prawo bankowe, kredyty frankowe i prawo cywilne.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: ewa-skulska
*/

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-bg {
    background-color: #0F192E;
    background-image: linear-gradient(rgba(15, 25, 46, 0.88), rgba(15, 25, 46, 0.95)), url('assets/images/kancelaria_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-transition {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-link.active {
    font-weight: 700;
    color: #0F192E;
}

.nav-link.active::after {
    content: '';
    display: block;
    height: 2px;
    background-color: #D4AF37;
    margin-top: 4px;
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
}

.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ===== ARTICLE TYPOGRAPHY SYSTEM ===== */
.article-content p {
    margin-bottom: 1.25rem !important;
    line-height: 1.8 !important;
    color: #4b5563 !important;
    font-size: 1.0625rem !important;
}

.article-content p.lead {
    font-size: 1.25rem !important;
    color: #374151 !important;
    font-weight: 300 !important;
    line-height: 1.9 !important;
}

.article-content strong {
    color: #0F192E !important;
    font-weight: 700 !important;
}

.article-content em {
    font-style: italic !important;
}

.article-content a {
    color: #D4AF37 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    transition: color 0.2s !important;
}

.article-content a:hover {
    color: #0F192E !important;
}

.article-content h2 {
    color: #0F192E !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    font-size: 1.875rem !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid #E5E7EB !important;
}

.article-content h3 {
    color: #0F192E !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

.article-content h4 {
    color: #0F192E !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
}

.article-content ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    color: #4b5563 !important;
}

.article-content ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    color: #4b5563 !important;
}

.article-content li {
    margin-bottom: 0.5rem !important;
    line-height: 1.7 !important;
}

.article-content blockquote {
    border-left: 4px solid #D4AF37 !important;
    background: #FAFAF5 !important;
    padding: 1.25rem 1.5rem !important;
    margin: 1.5rem 0 !important;
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    color: #374151 !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    border-radius: 0 0.5rem 0.5rem 0 !important;
}

.article-content blockquote cite {
    display: block !important;
    margin-top: 0.75rem !important;
    font-size: 0.875rem !important;
    font-style: normal !important;
    color: #9CA3AF !important;
    font-family: 'Lato', sans-serif !important;
}

.article-content .info-box {
    background: #EFF6FF !important;
    border: 1px solid #BFDBFE !important;
    border-radius: 0.75rem !important;
    padding: 1.25rem 1.5rem !important;
    margin: 1.5rem 0 !important;
    color: #1E40AF !important;
    font-size: 0.9375rem !important;
    line-height: 1.7 !important;
}

.article-content .info-box strong {
    color: #1E40AF !important;
}

.article-content .warning-box {
    background: #FEF3C7 !important;
    border: 1px solid #FDE68A !important;
    border-radius: 0.75rem !important;
    padding: 1.25rem 1.5rem !important;
    margin: 1.5rem 0 !important;
    color: #92400E !important;
    font-size: 0.9375rem !important;
    line-height: 1.7 !important;
}

.article-content .warning-box strong {
    color: #92400E !important;
}

.article-content .accent-block {
    background: #0F192E !important;
    color: white !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem 2rem !important;
    margin: 1.5rem 0 !important;
    font-size: 1rem !important;
    line-height: 1.8 !important;
}

.article-content .accent-block strong {
    color: #D4AF37 !important;
}

.article-content .gold-accent {
    border-left: 4px solid #D4AF37 !important;
    padding-left: 1.25rem !important;
    margin: 1.5rem 0 !important;
}

.article-content hr {
    border: none !important;
    border-top: 2px solid #E5E7EB !important;
    margin: 2.5rem 0 !important;
}

.article-content figure {
    margin: 2rem 0 !important;
}

.article-content figcaption {
    text-align: center !important;
    font-size: 0.875rem !important;
    color: #9CA3AF !important;
    margin-top: 0.75rem !important;
    font-style: italic !important;
}

.article-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1.5rem 0 !important;
    font-size: 0.9375rem !important;
}

.article-content th {
    background: #0F192E !important;
    color: white !important;
    padding: 0.75rem 1rem !important;
    text-align: left !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.article-content td {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #E5E7EB !important;
    color: #4B5563 !important;
}

.article-content tr:hover td {
    background: #F9FAFB !important;
}

.article-content code {
    background: #F3F4F6 !important;
    color: #0F192E !important;
    padding: 0.125rem 0.375rem !important;
    border-radius: 0.25rem !important;
    font-size: 0.875rem !important;
    font-family: 'Courier New', monospace !important;
}

.article-content .meta-info {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid #E5E7EB !important;
    margin-bottom: 2rem !important;
    font-size: 0.875rem !important;
    color: #6B7280 !important;
}

.article-content .meta-info span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
}


/* ===== PAGINATION SYSTEM - STANDALONE CARDS ===== */
.pagination-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.pagination-wrapper .page-numbers,
.pagination .page-numbers,
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    background-color: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s ease-in-out;
}

.pagination-wrapper a.page-numbers:hover,
.pagination a.page-numbers:hover,
a.page-numbers:hover {
    border-color: #D4AF37 !important;
    background-color: #FDFBF0 !important;
    color: #8C6E18 !important;
}

/* Aktywny element paginacji: pogrubiony granat, kasetka w szarej ramce bez kreski po spodem */
.pagination-wrapper .page-numbers.current,
.pagination .page-numbers.current,
.page-numbers.current {
    color: #0F192E !important;
    font-weight: 700 !important;
    background-color: #FFFFFF !important;
    border-color: #E5E7EB !important;
    cursor: default;
}

/* Przyciski Poprzednia / Następna */
.pagination-wrapper a.prev.page-numbers,
.pagination-wrapper a.next.page-numbers,
.pagination a.prev.page-numbers,
.pagination a.next.page-numbers,
a.prev.page-numbers,
a.next.page-numbers {
    font-weight: 600 !important;
    color: #0F192E !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.pagination-wrapper a.prev.page-numbers:hover,
.pagination-wrapper a.next.page-numbers:hover,
.pagination a.prev.page-numbers:hover,
.pagination a.next.page-numbers:hover,
a.prev.page-numbers:hover,
a.next.page-numbers:hover {
    border-color: #D4AF37 !important;
    color: #8C6E18 !important;
    background-color: #FDFBF0 !important;
}

/* Separator / wielokropek (...) */
.pagination-wrapper .page-numbers.dots,
.pagination .page-numbers.dots,
.page-numbers.dots {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #9CA3AF !important;
    min-width: 2rem !important;
    cursor: default;
}
