/* ============================================
   PolandPulse.com — Front Page Styles
   Newspaper-style collage layout
   ============================================ */

.pp-frontpage-wrapper {
    max-width: 100%;
    float: left;
    width: 73%;
    padding-right: 30px;
}

/* --- HERO Section --- */
.pp-hero {
    margin-bottom: 30px;
    border-bottom: 3px solid #181818;
    padding-bottom: 25px;
}
.pp-hero-inner {
    position: relative;
}
.pp-hero-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.pp-hero-content {
    padding: 15px 0 0;
}
.pp-hero-cat {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-decoration: none;
}
.pp-hero-cat:hover {
    background: #181818;
    color: #fff;
    text-decoration: none;
}
.pp-hero-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 900;
    margin: 10px 0;
}
.pp-hero-title a {
    color: #181818;
    text-decoration: none;
}
.pp-hero-title a:hover {
    color: #c0392b;
}
.pp-hero-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}
.pp-hero-meta {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pp-hero-meta span {
    margin-right: 15px;
}

/* --- Category Blocks --- */
.pp-cat-block {
    margin-bottom: 25px;
}
.pp-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #181818;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.pp-cat-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pp-cat-title a {
    color: #181818;
    text-decoration: none;
}
.pp-cat-title a:hover {
    color: #c0392b;
}
.pp-view-all {
    font-size: 12px;
    color: #c0392b;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.pp-view-all:hover {
    color: #181818;
    text-decoration: none;
}

/* Post cards */
.pp-post {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.pp-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.pp-post-featured .pp-thumb-link img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}
.pp-post-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 5px;
}
.pp-post-title a {
    color: #181818;
    text-decoration: none;
}
.pp-post-title a:hover {
    color: #c0392b;
}
.pp-post-title-big {
    font-size: 20px;
    line-height: 1.3;
}
.pp-post-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 5px 0;
}
.pp-post-date {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Grid Rows --- */
.pp-row {
    display: flex;
    gap: 30px;
    margin-bottom: 10px;
}
.pp-row-2col .pp-col {
    flex: 1;
    min-width: 0;
}
.pp-row-3col .pp-col {
    flex: 1;
    min-width: 0;
}

/* --- Ad Banner Slots --- */
.pp-ad-slot {
    margin: 20px 0;
    text-align: center;
    clear: both;
}
.pp-ad-widget {
    display: inline-block;
}
.pp-ad-placeholder {
    background: #f8f8f8;
    border: 1px dashed #ddd;
    padding: 15px;
    border-radius: 4px;
}
.pp-ad-placeholder-inner {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pp-ad-placeholder-inner span {
    color: #ccc;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.pp-ad-label {
    display: none; /* hide widget title for ads */
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .pp-frontpage-wrapper {
        width: 100%;
        padding-right: 0;
    }
}
@media (max-width: 768px) {
    * { box-sizing: border-box !important; }
    .pp-frontpage-wrapper,
    .pp-category-page,
    .single2-wrapper,
    #primary,
    #content,
    .index-wrapper,
    .pp-row,
    .pp-cat-block,
    .pp-hero,
    .pp-cat-ad,
    .pp-ad-slot,
    article {
        max-width: 100vw !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow-x: hidden !important;
    }
    .sidebar,
    .sidebar1-insidewrapper {
        max-width: 100vw !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    .pp-row {
        flex-direction: column;
        gap: 15px;
    }
    .pp-hero-title {
        font-size: 26px;
    }
    .pp-cat-title {
        font-size: 18px;
    }
}

/* ============================================
   iGaming Category — Banner Styles
   ============================================ */

.pp-igaming-header {
    border-bottom: 3px solid #181818;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.pp-igaming-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 900;
    margin: 0 0 8px;
}
.pp-igaming-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
}
.pp-ig-banner {
    text-align: center;
    margin: 20px 0;
    clear: both;
    width: 100%;
    float: left;
}
.pp-ig-banner img {
    display: inline-block;
}
.pp-ig-banner-mid {
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.pp-ig-sidebar-banner {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px 0;
}
.pp-ig-sidebar-banner img {
    display: inline-block;
}

/* iGaming Sidebar Related Articles */
.pp-ig-related {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pp-ig-related li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.pp-ig-related li:last-child {
    border-bottom: none;
}
.pp-ig-related li a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    color: #181818;
    text-decoration: none;
    display: block;
    line-height: 1.3;
}
.pp-ig-related li a:hover {
    color: #c0392b;
}
.pp-ig-related .pp-post-date {
    display: block;
    margin-top: 3px;
}

/* ============================================
   Category Pages — Universal Styles
   ============================================ */
.pp-cat-page-header {
    border-bottom: 3px solid #181818;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.pp-cat-page-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 900;
    margin: 0 0 8px;
}
.pp-cat-page-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
}
.pp-cat-ad {
    text-align: center;
    margin: 20px 0;
    clear: both;
    width: 100%;
    float: left;
}
.pp-cat-ad-2,
.pp-cat-ad-3 {
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.pp-cat-sidebar-ad {
    margin-top: 20px;
}



/* ====== DARK MODE (theme toggle) ====== */
body.dark .javapaperlogo img,
body.dark .logo img {
    filter: invert(1) !important;
}

/* ====== DARK MODE borders & separators ====== */
body.dark .pp-cat-block {
    border-bottom: 1px solid #333;
}
body.dark .pp-cat-header {
    border-bottom: 1px solid #333;
}
body.dark .pp-post-small {
    border-bottom: 1px solid #333;
}
body.dark .pp-row {
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}
body.dark .pp-hero {
    border-bottom: 1px solid #333;
}
body.dark .pp-ad-slot {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
body.dark .pp-cat-ad {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
body.dark .pp-cat-page-header {
    border-bottom: 1px solid #333;
}
body.dark .pp-ig-related li {
    border-bottom: 1px solid #333;
}
body.dark .pp-ad-placeholder {
    border: 1px solid #333;
}

/* ====== DARK MODE sidebar text fix ====== */
body.dark .sidebar a,
body.dark .sidebar li,
body.dark .sidebar p,
body.dark .sidebar span,
body.dark .sidebar .widget,
body.dark .sidebar1-insidewrapper a,
body.dark .sidebar1-insidewrapper li,
body.dark .sidebar1-insidewrapper p,
body.dark .sidebar1-insidewrapper span,
body.dark .sidebar1-insidewrapper .widget,
body.dark .sidebar .wp-block-latest-posts a,
body.dark .sidebar .wp-block-latest-comments a,
body.dark .sidebar .wp-block-categories a,
body.dark .sidebar .wp-block-tag-cloud a,
body.dark .sidebar .wp-block-search label,
body.dark .sidebar .wp-block-group h2,
body.dark .sidebar .wp-block-latest-posts__post-date,
body.dark .pp-ig-related a,
body.dark .pp-ig-related .pp-post-date,
body.dark .pp-category-sidebar a,
body.dark .pp-category-sidebar h3,
body.dark .pp-category-sidebar span,
body.dark .pp-category-sidebar div {
    color: #d0d0d0 !important;
}
body.dark .sidebar .widget-title,
body.dark .sidebar h2,
body.dark .sidebar1-insidewrapper h2,
body.dark .sidebar1-insidewrapper .widget-title {
    color: #f0f0f0 !important;
}

/* ====== MOBILE width fix ====== */
@media (max-width: 991px) {
    .pp-frontpage-wrapper {
        width: 100% !important;
        padding-right: 0 !important;
        float: none !important;
    }
    .pp-category-page {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    .pp-category-content {
        flex-direction: column !important;
    }
    .pp-category-sidebar {
        width: 100% !important;
    }
    .pp-cat-ad img,
    .pp-ad-slot img,
    .pp-ig-banner img {
        max-width: 100% !important;
        height: auto !important;
    }
}
@media (max-width: 768px) {
    * { box-sizing: border-box !important; }
    .pp-frontpage-wrapper,
    .pp-category-page,
    .single2-wrapper,
    #primary,
    #content,
    .index-wrapper,
    .pp-row,
    .pp-cat-block,
    .pp-hero,
    .pp-cat-ad,
    .pp-ad-slot,
    article {
        max-width: 100vw !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow-x: hidden !important;
    }
    .sidebar,
    .sidebar1-insidewrapper {
        max-width: 100vw !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    .pp-row-2col,
    .pp-row-3col {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .pp-col {
        width: 100% !important;
    }
    body {
        overflow-x: hidden !important;
    }
}

/* ====== Language Switcher ====== */
.pp-lang-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    background: #181818;
    border: 1px solid #666;
    float: left;
    margin-left: 8px;
    cursor: pointer;
    text-align: center;
    line-height: 22px;
    z-index: 999;
}
.pp-lang-active {
    color: #f0f0f0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    user-select: none;
}
.pp-lang-dropdown {
    display: none;
    position: absolute;
    top: 24px;
    left: -1px;
    background: #181818;
    border: 1px solid #666;
    width: 40px;
    z-index: 1000;
}
.pp-lang-dropdown a {
    display: block;
    color: #ccc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    padding: 5px 0;
    text-decoration: none;
    line-height: 1;
}
.pp-lang-dropdown a:hover,
.pp-lang-dropdown a.pp-lang-selected {
    background: #333;
    color: #fff;
}
.pp-lang-switch.open .pp-lang-dropdown {
    display: block;
}
/* Light theme */
body:not(.dark) .pp-lang-switch {
    background: #fff;
    border-color: #ccc;
}
body:not(.dark) .pp-lang-active {
    color: #181818;
}
body:not(.dark) .pp-lang-dropdown {
    background: #fff;
    border-color: #ccc;
}
body:not(.dark) .pp-lang-dropdown a {
    color: #333;
}
body:not(.dark) .pp-lang-dropdown a:hover {
    background: #f0f0f0;
}

/* ====== Burger Menu — Vertical Navigation ====== */
.pp-burger-nav {
    padding: 15px 0;
}
.pp-burger-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pp-burger-menu-list li {
    border-bottom: 1px solid #333;
}
.pp-burger-menu-list li a {
    display: block;
    padding: 12px 20px;
    color: #f0f0f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.pp-burger-menu-list li a:hover,
.pp-burger-menu-list li.current-menu-item a {
    background: #333;
    color: #fff;
}
/* Light theme burger */
body:not(.dark) .pp-burger-menu-list li {
    border-bottom: 1px solid #eee;
}
body:not(.dark) .pp-burger-menu-list li a {
    color: #333;
}
body:not(.dark) .pp-burger-menu-list li a:hover,
body:not(.dark) .pp-burger-menu-list li.current-menu-item a {
    background: #f5f5f5;
    color: #000;
}

/* ====== Hide horizontal menu bar ====== */
.pp-hide-horizontal-menu-disabled {
    display: none !important;
}

/* ====== Disable burger button ====== */
a.btn.btn-customized.open-menu {
    display: none !important;
}
