/* ======================= ZMIENNE I USTAWIENIA GLOBALNE ======================= */
:root {
    --dark-blue: #0A192F;
    --primary-blue: #2B6CB0;
    --accent-red: #E53E3E;
    --accent-red-hover: #C53030;
    --text-dark: #2D3748;
    --text-light: #718096;
    --bg-white: #FFFFFF;
    --bg-light-gray: #F7FAFC;
    --border-color: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-family: 'Poppins', sans-serif;
    --transition-fast: all 0.2s ease-in-out;
    --transition-smooth: all 0.4s ease-in-out;
}
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: var(--font-family); background-color: var(--bg-white); color: var(--text-dark); overflow-x: hidden; transition: font-size 0.3s ease-in-out; }
#page-wrapper { transition: filter 0.3s ease-in-out; }
main { overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: var(--primary-blue); }
ul { list-style-type: none; }
section { padding: 80px 0; }
.section-bg { background-color: var(--bg-light-gray); }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 600; margin-bottom: 50px; color: var(--dark-blue); }
.primary-btn { background-color: var(--accent-red); color: white; padding: 12px 24px; border-radius: 8px; font-weight: 500; transition: var(--transition-fast); display: inline-block; border: none; cursor: pointer; box-shadow: var(--shadow); }
.primary-btn:hover { background-color: var(--accent-red-hover); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
#main-header { position: fixed; width: 100%; top: 0; left: 0; z-index: 1000; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: var(--transition-fast); }
#main-header.scrolled { border-bottom-color: var(--border-color); box-shadow: var(--shadow); }
#main-header .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: 600; color: var(--dark-blue); }
.logo-icon { width: 35px; height: 35px; margin-right: 5px; stroke-width: 2.5; transform: translateY(-1px); }
.logo-text-wrapper { position: relative; top:4px;}
.logo-typewriter { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 3px solid var(--dark-blue); letter-spacing: 0.5px; animation: typing 2.5s steps(11, end) 1s 1 normal both, blink 1s steps(1, end) 3.5s infinite; }
.logo-i, .logo-dot { color: var(--accent-red); }
@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink { 0%, 100% { border-color: transparent; } 50% { border-color: var(--dark-blue); } }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; gap: 30px; }
.nav-list a { color: var(--text-dark); font-weight: 500; position: relative; padding: 5px 0; }
.nav-list a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-red); transition: width 0.3s ease; }
.nav-list a:hover::after { width: 100%; }
.nav-actions-desktop { display: flex; align-items: center; gap: 15px; }
.login-icon-btn { color: var(--text-dark); padding: 8px; display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); }
.login-icon-btn:hover { color: var(--accent-red); }
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; margin: 5px 0; background-color: var(--dark-blue); transition: var(--transition-smooth); }
.nav-actions-mobile { display: none; }
.hero-section { min-height: 70vh; padding-top: 110px; padding-bottom: 50px; display: flex; align-items: center; text-align: center; background-image: url('hero4.webp'); background-size: cover; background-position: center center; position: relative; z-index: 1; }
.hero-section::after { content: ''; display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(255,255,255,0.04) 0%, rgba(247,250,252,0.60) 90%); z-index: 2; pointer-events: none; }
.hero-content { position: relative; z-index: 3; }
.hero-title { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 14px; }
.hero-title-row { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.hero-title-main { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; color: var(--dark-blue); letter-spacing: -1px; line-height: 1.12; }
.hero-title-bar { display: inline-block; width: 3.5px; height: 46px; background: var(--primary-blue); border-radius: 7px; margin: 0 10px; }
.hero-title-secondary { font-size: clamp(1.4rem, 2.7vw, 2.2rem); color: var(--dark-blue); font-weight: 600; letter-spacing: -0.5px; line-height: 1.1; margin-top: 5px; }
.search-module { background-color: var(--bg-white); padding: 25px; border-radius: 12px; box-shadow: var(--shadow-lg); max-width: 800px; margin: 40px auto 0; }
.toggle-container { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 25px; }
.toggle-label { font-weight: 500; cursor: pointer; color: var(--text-light); transition: color 0.3s ease; }
.toggle-label.active { color: var(--dark-blue); }
.switch { position: relative; display: inline-block; width: 50px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--border-color); transition: .4s; border-radius: 28px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
input:checked + .slider { background-color: var(--accent-red); }
input:checked + .slider:before { transform: translateX(22px); }
.search-form { display: flex; gap: 10px; align-items: center; }
.input-group { flex-grow: 1; display: flex; align-items: center; background-color: var(--bg-light-gray); border-radius: 8px; padding: 0 15px; border: 1px solid var(--border-color); transition: var(--transition-fast); }
.input-group:focus-within { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.2); }
.input-group i { color: var(--text-light); }
.input-group input { width: 100%; padding: 15px 10px; background: none; border: none; outline: none; color: var(--text-dark); font-size: 1rem; }
.search-button { display: flex; align-items: center; justify-content: center; gap: 8px; }
.offers-section { background: var(--bg-white); margin: 0 auto; max-width: 1100px; box-shadow: var(--shadow-lg); border-radius: 16px; padding: 40px 32px 32px 32px; margin-bottom: 60px; margin-top: 32px; position: relative; z-index: 10; }
.offers-section-header { font-size: 1.4rem; font-weight: 600; color: var(--dark-blue); margin-bottom: 24px; text-align: left; }
.tabs-wrapper { display: flex; gap: 10px; margin-bottom: 0; flex-wrap: wrap; position: relative; border-bottom: none; }
.tabs-underline { position: relative; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, var(--primary-blue), var(--accent-red)); border-radius: 2px; margin-top: 0; margin-bottom: 22px; opacity: 0.23; z-index: 0; }
.tab-btn { padding: 10px 22px; border: none; background: var(--bg-light-gray); color: var(--primary-blue); font-weight: 500; font-size: 1rem; border-radius: 24px 24px 0 0; cursor: pointer; transition: background 0.2s, color 0.2s; position: relative; outline: none; white-space: nowrap; }
.tab-btn.active,.tab-btn:focus-visible { background: var(--primary-blue); color: #fff; z-index: 2; }
.tab-btn .tab-dot { width: 7px; height: 7px; background: var(--accent-red); border-radius: 50%; display: inline-block; margin-left: 7px; vertical-align: middle; }
.tab-panel { display: none; animation: fadein 0.3s; }
.tab-panel.active { display: block; }
@keyframes fadein { 0% { opacity: 0; transform: translateY(16px);} 100% { opacity: 1; transform: translateY(0);} }
.offers-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.offer-card { background: var(--bg-light-gray); padding: 18px 18px 16px 18px; border-radius: 10px; box-shadow: 0 1px 5px rgba(43, 108, 176, 0.04); border: 1px solid var(--border-color); transition: box-shadow 0.2s; display: flex; flex-direction: column; gap: 7px; }
.offer-card .offer-title { font-size: 1.07rem; font-weight: 600; color: var(--dark-blue); }
.offer-card .offer-meta { font-size: 0.95rem; color: var(--text-light); display: flex; gap: 14px; }
.offer-card .offer-desc { color: var(--text-dark); font-size: 0.97rem; margin-top: 2px; }
.show-more-btn { grid-column: 1 / -1; margin: 24px auto 0 auto; display: block; padding: 11px 28px; font-size: 1rem; font-weight: 500; border: none; border-radius: 8px; background: var(--accent-red); color: #fff; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; box-shadow: var(--shadow); text-align: center; }
.show-more-btn:hover { background: var(--accent-red-hover);}
.steps-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.step-card { background-color: var(--bg-white); padding: 40px 30px; border-radius: 12px; transition: var(--transition-fast); border: 1px solid var(--border-color); }
.step-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.step-card:hover .step-icon { background-color: var(--primary-blue); color: white; transform: rotate(15deg) scale(1.1); }
.step-icon { width: 60px; height: 60px; background-color: #E2E8F0; color: var(--primary-blue); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: var(--transition-fast); }
.step-card h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--dark-blue); }
.step-card p { color: var(--text-light); line-height: 1.6; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { background-color: var(--bg-light-gray); padding: 30px; border-radius: 12px; text-align: center; cursor: pointer; transition: var(--transition-fast); border: 1px solid var(--border-color); }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary-blue); }
.category-card:hover i { color: var(--accent-red); transform: scale(1.1); }
.category-card i { width: 36px; height: 36px; color: var(--primary-blue); margin-bottom: 15px; transition: var(--transition-fast); }
.category-card span { font-size: 1.1rem; font-weight: 500; display: block; color: var(--text-dark); }
.main-footer { background-color: var(--dark-blue); color: var(--bg-light-gray); padding-top: 60px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col .logo { color: white; display: block; }
.footer-col .logo .logo-icon, .footer-col .logo .logo-text-wrapper { display: none; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 20px; color: white; }
.footer-col p, .footer-col a { color: var(--text-light); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a:hover { color: var(--accent-red); }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 20px; border-top: 1px solid #1A202C; color: var(--text-light); font-size: 0.9rem; }
.crafted-by a { color: var(--text-light); font-weight: 500; transition: var(--transition-fast); }
.crafted-by a:hover { color: var(--accent-red); }
.reveal-up, .reveal-fade, .reveal-left, .reveal-right { opacity: 0; transition: all 0.8s cubic-bezier(0.6, 0.2, 0.1, 1); transition-delay: var(--delay, 0s); }
.reveal-up { transform: translateY(40px); }
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-fade { transform: scale(0.95); }
.reveal-fade.visible { opacity: 1; transform: scale(1); }
.reveal-left { transform: translateX(-40px); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.accessibility-btn { background-color: transparent; border: none; cursor: pointer; color: var(--text-dark); padding: 8px; display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); border-radius: 50%; }
.accessibility-btn:hover { color: var(--accent-red); background-color: #F7FAFC; }
.accessibility-btn svg { width: 22px; height: 22px; }
.accessibility-btn-mobile { color: var(--text-dark); font-weight: 500; font-size: 1.2rem; padding: 5px 10px; border: 1px solid var(--border-color); border-radius: 8px; }
.access-widget { position: fixed; bottom: 20px; right: 20px; width: 300px; background-color: var(--bg-white); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 1001; font-family: var(--font-family); transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; transform: translateY(20px) scale(0.95); opacity: 0; visibility: hidden; }
.access-widget.active { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.widget-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--border-color); }
.widget-header h2 { font-size: 1.1rem; margin: 0; color: var(--dark-blue); }
#widget-close-btn { background: none; border: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--text-light); padding: 0; }
.widget-options { list-style: none; padding: 10px 0; margin: 0; }
.widget-options li { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.widget-options li span { color: var(--text-dark); font-size: 0.95rem; }
.widget-options li button { background-color: var(--bg-light-gray); border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 12px; cursor: pointer; font-weight: 500; transition: background-color 0.2s; }
.widget-options li button:hover { background-color: #e2e8f0; }
html.high-contrast { background-color: #000 !important; }
html.high-contrast body { background-color: #000 !important; color: #fff !important; }
html.high-contrast a, html.high-contrast a:visited { color: #FFFF00 !important; }
html.high-contrast h1, html.high-contrast h2, html.high-contrast h3, html.high-contrast h4, html.high-contrast span, html.high-contrast p { color: #fff !important; }
html.high-contrast #main-header, html.high-contrast .search-module, html.high-contrast .step-card, html.high-contrast .category-card, html.high-contrast .main-footer { background: #000 !important; border-color: #FFFF00 !important; }
html.high-contrast .input-group { background-color: #111 !important; border-color: #FFFF00 !important; }
html.high-contrast input { background-color: #111 !important; color: #fff !important; }
html.high-contrast .access-widget { background-color: #fff !important; border-color: #000 !important; }
html.high-contrast .access-widget h2, html.high-contrast .access-widget span, html.high-contrast .access-widget button { color: #000 !important; }
html.high-contrast .access-widget button { background-color: #eee !important; border-color: #999 !important; }
html.underline-links a { text-decoration: underline !important; }
.make-grayscale { filter: grayscale(100%); }
@media (max-width: 992px) {
    .nav-actions-desktop { display: none; }
    .hamburger { display: block; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 70%; max-width: 300px; height: 100vh; background-color: var(--bg-white); flex-direction: column; justify-content: center; align-items: center; box-shadow: var(--shadow-lg); transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1); }
    .nav-menu.active { right: 0; }
    .nav-list { flex-direction: column; text-align: center; gap: 20px; }
    .nav-list a { font-size: 1.5rem; }
    .nav-actions-mobile { display: flex; flex-direction: column; margin-top: 30px; gap: 20px; align-items: center; }
    .login-btn-mobile { color: var(--text-dark); font-weight: 500; font-size: 1.2rem; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    .steps-container { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
}
@media (max-width: 768px) {
    .section-title { font-size: 1.9rem; }
    section { padding: 60px 0; }
    .hero-title-row { flex-direction: column; gap: 8px; }
    .hero-title-bar { display: none; }
    .search-form { flex-direction: column; align-items: stretch; gap: 15px; }
    .search-button { padding: 15px; }
    .offers-section { padding: 24px 16px; }
    .offers-list { grid-template-columns: 1fr; }
    .tabs-wrapper { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; margin-bottom: 5px; -ms-overflow-style: none; scrollbar-width: none; }
    .tabs-wrapper::-webkit-scrollbar { display: none; }
    .tabs-underline { margin-bottom: 15px; }
    .tab-btn { font-size: 0.95rem; padding: 8px 16px; }
    .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .section-title { font-size: 1.7rem; }
    .search-button-text { display: none; }
    .search-button i { margin: 0; }
    .categories-grid { grid-template-columns: 1fr; }
}
.subheader { background-color: var(--bg-light-gray); padding: 110px 0 30px 0; border-bottom: 1px solid var(--border-color); text-align: center; }
.breadcrumbs { display: flex; justify-content: center; align-items: center; gap: 8px; list-style: none; padding: 0; margin-top: 10px; font-size: 0.9rem; }
.breadcrumbs li a { color: var(--text-light); transition: var(--transition-fast); }
.breadcrumbs li a:hover { color: var(--accent-red); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--text-light); font-weight: 300; }
.breadcrumbs li.current { color: var(--text-dark); font-weight: 500; }
.page-title { font-size: 2.5rem; font-weight: 600; color: var(--dark-blue); margin: 0; }
.auth-section { padding: 60px 0; }
.auth-container { max-width: 500px; margin: 0 auto; background: var(--bg-white); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.auth-tabs { display: flex; }
.auth-tab-btn { flex: 1; padding: 18px; font-size: 1.1rem; font-weight: 500; border: none; background-color: var(--bg-light-gray); color: var(--text-light); cursor: pointer; transition: var(--transition-fast); border-bottom: 3px solid transparent; }
.auth-tab-btn.active { background-color: var(--bg-white); color: var(--primary-blue); border-bottom-color: var(--primary-blue); }
.auth-form-panel { display: none; padding: 30px; animation: fadein 0.5s; }
.auth-form-panel.active { display: block; }
.auth-form-panel form { display: flex; flex-direction: column; gap: 20px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.forgot-password { font-size: 0.9rem; color: var(--text-light); }
.form-check { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; }
.offer-details-section { padding: 60px 0; }
.offer-details-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.offer-main-content h2 { font-size: 1.8rem; margin-top: 30px; margin-bottom: 15px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
.offer-main-content h3 { font-size: 1.3rem; margin-top: 25px; margin-bottom: 10px; }
.offer-main-content p, .offer-main-content ul li { line-height: 1.7; color: var(--text-dark); }
.offer-main-content ul { list-style-type: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.offer-meta-icons { display: flex; flex-wrap: wrap; gap: 20px; font-size: 1rem; color: var(--text-light); padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.offer-meta-icons span { display: flex; align-items: center; gap: 8px; }
.offer-sidebar { display: flex; flex-direction: column; gap: 30px; }
.sidebar-card { background: var(--bg-light-gray); padding: 25px; border-radius: 12px; border: 1px solid var(--border-color); }
.sidebar-card h4 { font-size: 1.2rem; margin-bottom: 20px; color: var(--dark-blue); }
.user-info { display: flex; flex-direction: column; gap: 5px; margin-bottom: 20px; }
.user-name { font-weight: 600; font-size: 1.1rem; }
.user-status { font-size: 0.9rem; color: #38A169; }
.primary-btn.full-width { display: block; text-align: center; width: 100%; }
.map-placeholder { width: 100%; height: 200px; background-color: #E2E8F0; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-style: italic; }
@media (max-width: 992px) {
    .offer-details-layout { grid-template-columns: 1fr; }
    .offer-sidebar { grid-row: 1; }
}
.add-offer-section { padding: 60px 0; }
.add-offer-form { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.form-section { background-color: var(--bg-light-gray); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); }
.form-section-title { font-size: 1.5rem; color: var(--dark-blue); margin-bottom: 25px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 500; font-size: 1rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; font-family: var(--font-family); background-color: var(--bg-white); transition: var(--transition-fast); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.2); }
.form-group textarea { resize: vertical; }
.form-submit-area { text-align: center; }
.form-submit-area p { color: var(--text-light); margin-bottom: 20px; }
.primary-btn.large-btn { padding: 15px 40px; font-size: 1.2rem; }
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
}
.blog-section { padding: 60px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.blog-card { background: var(--bg-white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; transition: var(--transition-fast); border: 1px solid var(--border-color); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card-link { display: block; color: inherit; text-decoration: none; }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-content { padding: 25px; }
.blog-card-category { display: inline-block; background-color: var(--accent-red); color: white; padding: 4px 10px; font-size: 0.8rem; font-weight: 500; border-radius: 20px; margin-bottom: 15px; }
.blog-card-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; color: var(--dark-blue); }
.blog-card-excerpt { color: var(--text-light); line-height: 1.6; margin-bottom: 20px; }
.blog-card-readmore { font-weight: 600; color: var(--primary-blue); transition: var(--transition-fast); }
.blog-card-link:hover .blog-card-readmore { color: var(--accent-red); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; }
.page-link { padding: 10px 15px; border: 1px solid var(--border-color); border-radius: 8px; color: var(--primary-blue); font-weight: 500; transition: var(--transition-fast); }
.page-link:hover, .page-link.active { background-color: var(--primary-blue); color: white; border-color: var(--primary-blue); }
.page-link.disabled { color: var(--text-light); pointer-events: none; background-color: var(--bg-light-gray); }
.page-link-dots { color: var(--text-light); padding: 10px 5px; }
.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 25, 47, 0.7); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-content { background: var(--bg-white); padding: 30px; border-radius: 12px; box-shadow: var(--shadow-lg); width: 90%; max-width: 500px; transform: scale(0.95); transition: transform 0.3s ease; }
.popup-overlay.active .popup-content { transform: scale(1); }
.popup-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.popup-header h3 { margin: 0; font-size: 1.5rem; color: var(--dark-blue); }
.popup-close-btn { background: none; border: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--text-light); }
.popup-body textarea { width: 100%; min-height: 120px; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; font-family: var(--font-family); resize: vertical; }
.popup-body .primary-btn { margin-top: 20px; width: 100%; text-align: center; }
.article-section { padding: 60px 0; }
.article-container { max-width: 800px; margin: 0 auto; }
.article-header { margin-bottom: 30px; }
.article-image-container { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow-lg); }
.article-image-container img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; gap: 20px; font-size: 0.9rem; color: var(--text-light); margin-top: 15px; }
.article-meta span { display: flex; align-items: center; gap: 8px; }
.article-content { font-size: 1.1rem; line-height: 1.8; color: var(--text-dark); }
.article-content h2, .article-content h3 { margin-top: 40px; margin-bottom: 15px; color: var(--dark-blue); line-height: 1.4; }
.article-content p { margin-bottom: 20px; }
.article-content a { color: var(--primary-blue); text-decoration: underline; }
.article-content blockquote { margin: 30px 0; padding-left: 20px; border-left: 4px solid var(--primary-blue); font-style: italic; color: var(--text-light); }
   /* 3 kolumny na desktopie, jedna kolumna na mobile */
        .form-grid.grid-3 {
            display: grid;
            gap: 16px;
            grid-template-columns: 1fr;
        }
        @media (min-width: 900px) {
            .form-grid.grid-3 {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
        .form-hint.error {
            color: #b91c1c; /* czerwony */
            font-size: 0.9rem;
            margin-top: 6px;
        }
        /* Blok zakończenia - wygaszony gdy nieaktywny */
        .end-block.disabled {
            opacity: 0.6;
            pointer-events: none;
            filter: grayscale(0.2);
        }
        .inline-checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 8px 0 10px;
        }
        .inline-checkbox input[type="checkbox"] {
            width: 18px; height: 18px;
        }
 .offer-details-section { position: relative; }

        /* META pod tytułem */
        .offer-meta-icons{
            display:flex;
            gap:12px;
            align-items:center;
            flex-wrap:wrap;
            margin-bottom: 12px;
        }
        .offer-meta-icons > span{
            display:inline-flex;
            align-items:center;
            gap:6px;
            white-space:nowrap;
            font-size: 14px;
            padding:6px 10px;
            border-radius: 999px;
            background: rgba(0,0,0,.04);
        }
        .offer-meta-icons i{ width:16px; height:16px; }

        /* Karta w sidebarze: Termin zlecenia */
        .sidebar-card.term-card {
            display: grid;
            gap: 14px;
        }
        .term-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }
        @media (min-width: 520px) {
            .term-grid { grid-template-columns: 1fr 1fr; }
        }
        .term-cell {
            background: #fff;
            border: 1px solid rgba(0,0,0,.08);
            border-radius: 12px;
            padding: 10px 12px;
            box-shadow: 0 1px 6px rgba(0,0,0,.06);
            display: grid;
            gap: 6px;
        }
        .term-cell .label {
            display:flex;
            align-items:center;
            gap:8px;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: .04em;
            opacity:.8;
            font-weight: 700;
        }
        .term-cell .value { display:grid; gap:2px; }
        .term-cell .date { font-weight: 700; font-size: 16px; }
        .term-cell .time { font-size: 14px; opacity:.85; }
        .term-secondary {
            font-size: 13px;
            opacity: .75;
            margin-top: -2px;
        }

        /* PRZYCISKI w 2 kolumnach */
        .term-actions{
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }
        .btn-outline {
            appearance: none;
            border: 1px solid rgba(0,0,0,.10);
            background: #fff;
            padding: 10px 14px;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: transform .12s ease, box-shadow .12s ease;
            box-shadow: 0 1px 6px rgba(0,0,0,.06);
            text-decoration: none;
            color: inherit;
            white-space: normal;
            flex-wrap: wrap;
            text-align: center;
            line-height: 1.25;
            min-height: 42px;
            max-width: 100%;
            box-sizing: border-box;
            justify-content: center;
        }
        .btn-outline:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
        .btn-outline i { width: 18px; height: 18px; opacity: .85; flex: 0 0 auto; }

        .muted { opacity: .6; }
        
        .offers-grid--2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:900px){.offers-grid--2{grid-template-columns:1fr}}
.offer-card .offer-meta{display:flex;flex-wrap:wrap;gap:10px;margin:.35rem 0 .5rem}
.offer-card .offer-meta i{width:16px;height:16px}
html, body { height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.main-footer { margin-top: auto; }
