/* =============================================
   CUSTOM CSS - MediaPark Theme (Mobile First)
   0-992px = mobile, 992px+ = desktop
   ============================================= */

/* ---- MARGIN CLASSES ---- */
.mt-none { margin-top: 0 !important; }
.mt-small { margin-top: 20px !important; }
.mt-default { margin-top: 40px !important; }
.mt-large { margin-top: 60px !important; }

.mb-none { margin-bottom: 0 !important; }
.mb-small { margin-bottom: 20px !important; }
.mb-default { margin-bottom: 40px !important; }
.mb-large { margin-bottom: 60px !important; }

@media (min-width: 992px) {
    .mt-small { margin-top: 40px !important; }
    .mt-default { margin-top: 80px !important; }
    .mt-large { margin-top: 120px !important; }

    .mb-small { margin-bottom: 40px !important; }
    .mb-default { margin-bottom: 80px !important; }
    .mb-large { margin-bottom: 120px !important; }
}

/* ---- HERO VIDEO BACKGROUND ---- */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- OBRAZ TEKST - INSIDE CONTAINER ---- */
.ot-inside-container .feature_box {
    display: flex;
    flex-direction: column;
}
.ot-inside-container .image_feature_box_right {
    position: relative;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
}

@media (min-width: 992px) {
    .ot-inside-container .feature_box {
        flex-direction: row;
    }
    .ot-inside-container .image_feature_box_right {
        width: 50%;
        height: auto;
        min-height: 400px;
    }
    .ot-inside-container .container {
        width: 50%;
    }
}

/* ---- FAQ SECTION ---- */
.faq-section {
    padding: 40px 0;
}
.faq-section .section_header {
    margin-bottom: 30px;
    text-align: center;
}
.faq-section .section_header h2 {
    color: #111;
}
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e0e0e0;
}
.faq-item:first-child {
    border-top: 1px solid #e0e0e0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}
.faq-question h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #111;
    padding-right: 20px;
}
.faq-question:hover h4 {
    color: #555;
}
.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #111;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    padding: 0 0 20px 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

@media (min-width: 992px) {
    .faq-section {
        padding: 80px 0;
    }
    .faq-question h4 {
        font-size: 18px;
    }
    .faq-answer p,
    .faq-answer ul,
    .faq-answer ol {
        font-size: 16px;
    }
}

/* ---- CENNIK SECTION ---- */
.cennik-section {
    padding: 40px 0;
}
.cennik-section .section_header {
    margin-bottom: 30px;
    text-align: center;
}
.cennik-section .section_header h2 {
    color: #111;
}
.cennik-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.cennik-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cennik-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.cennik-highlighted {
    border-color: #111;
    position: relative;
}
.cennik-highlighted::before {
    content: 'Polecany';
    position: absolute;
    top: 0;
    right: 20px;
    background: #111;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cennik-card-header {
    padding: 30px 25px 20px;
    text-align: center;
}
.cennik-card-header h3 {
    margin: 0 0 15px;
    font-size: 20px;
    color: #111;
}
.cennik-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}
.price-value {
    font-size: 36px;
    font-weight: 700;
    color: #111;
}
.price-period {
    font-size: 14px;
    color: #888;
}
.cennik-card-body {
    padding: 0 25px 20px;
}
.cennik-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cennik-features li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cennik-features li::before {
    content: '✓';
    color: #111;
    font-weight: 700;
}
.cennik-features li.inactive {
    color: #ccc;
    text-decoration: line-through;
}
.cennik-features li.inactive::before {
    content: '✕';
    color: #ccc;
}
.cennik-card-footer {
    padding: 0 25px 30px;
    text-align: center;
}
.cennik-card-footer .btn {
    display: inline-block;
    width: 100%;
}

@media (min-width: 992px) {
    .cennik-section {
        padding: 80px 0;
    }
    .cennik-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .cennik-card-header h3 {
        font-size: 22px;
    }
    .price-value {
        font-size: 42px;
    }
}

/* ---- BLOG SECTION ---- */
.blog-section {
    padding: 40px 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}
.blog-card-content {
    padding: 20px;
}
.blog-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.blog-date {
    font-size: 13px;
    color: #888;
}
.blog-category {
    font-size: 13px;
    color: #111;
    font-weight: 500;
    text-decoration: none;
}
.blog-tag {
    font-size: 13px;
    color: #666;
    text-decoration: none;
}
.blog-tag:hover {
    color: #111;
}
.blog-card-title {
    font-size: 18px;
    margin: 0 0 10px;
    color: #111;
    line-height: 1.4;
}
.blog-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px;
}
.blog-card .btn-link {
    font-size: 14px;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 40px;
    text-align: center;
}
.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #111;
    font-size: 14px;
    transition: all 0.3s ease;
}
.blog-pagination .page-numbers.current {
    background: #111;
    color: #fff;
    border-color: #111;
}
.blog-pagination .page-numbers:hover:not(.current) {
    background: #f5f5f5;
}
.blog-pagination .prev,
.blog-pagination .next {
    width: auto;
    padding: 0 15px;
}

/* Blog Single */
.blog-single-section {
    padding: 40px 0;
}
.blog-single-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.blog-single-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
}
.blog-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
    color: #111;
    margin-top: 30px;
}
.blog-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}
.blog-single-content blockquote {
    border-left: 3px solid #111;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f9f9f9;
    font-style: italic;
}
.blog-single-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}
.blog-single-share span {
    font-weight: 500;
    color: #111;
}
.blog-single-share a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.blog-single-share a:hover {
    color: #111;
}

/* Blog Related */
.blog-related {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}
.blog-related h3 {
    font-size: 22px;
    color: #111;
    margin-bottom: 25px;
}

/* Archive Description */
.archive-description {
    margin-bottom: 30px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* No Posts */
.no-posts {
    text-align: center;
    font-size: 16px;
    color: #888;
    padding: 40px 0;
}

@media (min-width: 992px) {
    .blog-section {
        padding: 80px 0;
    }
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .blog-card-image {
        height: 220px;
    }
    .blog-card-title {
        font-size: 20px;
    }
    .blog-single-section {
        padding: 80px 0;
    }
    .blog-single-content {
        font-size: 17px;
    }
    .blog-related {
        margin-top: 80px;
        padding-top: 60px;
    }
}

/* ---- SEO BLOCK ---- */
.seo-block .key_words {
    padding: 20px 0;
}
.seo-block .key_words p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}
