/*
Theme Name: JJO PRO Fixed
Author: Aneta
Version: 1.0
Description: Motyw Jeszcze Jeden Odcinek PL
Text Domain: jjo-pro-fixed
*/
body {
    background: #fcf5f0;
    font-family: Arial, sans-serif;
}
	.jjo-page a { text-decoration: none; color: inherit; }
	.jjo-page ul { list-style: none; margin: 0; padding: 0; }

	/* Hero banner */
	.jjo-hero { width: 100%; line-height: 0; background: #000; }
.jjo-hero img {
    width: 100%;
    height: auto;
    display: block;
}
	/* Nav */
	.jjo-nav { width: 100%; background: #fffaf7; border-bottom: 1px solid #f0dcd4; position: relative; z-index: 5; }
	.jjo-nav__inner {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 12px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}
	.jjo-nav__logo img { width: 56px; height: 56px; border-radius: 50%; display: block; }
.jjo-nav__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex: 1;
}
.jjo-nav__menu .menu{
    display:flex;
    justify-content:center;
    flex:1;
}
.jjo-nav__menu > ul{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;
    list-style:none;
    margin:0;
    padding:0;
}

.jjo-nav__menu li{
    margin:0;
    padding:0;
}
.jjo-nav__menu a {
		display: flex; flex-direction: column; align-items: center; gap: 4px;
		font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #3a2c2c;
		text-transform: uppercase; white-space: nowrap;
	}
	.jjo-nav__menu a:hover { color: #b3273f; }
	.jjo-nav__menu .jjo-ico { font-size: 18px; }
.jjo-nav__search {
    font-size: 26px;
    margin-left: auto;
}
	/* Layout */
	.jjo-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
	@media (max-width: 900px) { .jjo-wrap { grid-template-columns: 1fr; } .jjo-nav__menu { gap: 16px; } }

	.jjo-card { background: #fffaf7; border-radius: 16px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }

	/* Section header */
	.jjo-section-header { display: flex; align-items: center; gap: 12px; background: #fffaf7; border-radius: 16px; padding: 18px 22px; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
	.jjo-section-header .jjo-flower-badge { background: #fbdcdc; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
	.jjo-section-header h2 { margin: 0 0 4px; font-size: 18px; letter-spacing: .03em; color: #b3273f; }
	.jjo-section-header p { margin: 0; font-size: 13px; color: #7a7a7a; }
.jjo-section-header .jjo-branch {
    margin-left: auto;
    font-size: 22px;
    opacity: .7;
    flex-shrink: 0;
}
	.jjo-branch img {
    width: 140px;
    height: auto;
    display: block;
}
	/* Post cards */
	.jjo-posts { display: flex; flex-direction: column; gap: 18px; }
	.jjo-post-card { background: #fffaf7; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 220px 1fr; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
	@media (max-width: 640px) { .jjo-post-card { grid-template-columns: 1fr; } }
	.jjo-post-card__media { position: relative; }
	.jjo-thumb-img, .jjo-thumb-placeholder { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
	.jjo-thumb-placeholder { background: linear-gradient(135deg,#f3d9d9,#e9c7d8); display: flex; align-items: center; justify-content: center; font-size: 34px; }
	.jjo-ribbon { position: absolute; left: 0; bottom: 14px; background: #8b1e2e; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 5px 12px 5px 10px; border-radius: 0 6px 6px 0; text-transform: uppercase; }
	.jjo-post-card__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
	.jjo-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; width: fit-content; }
	.jjo-post-card__body h3 { margin: 2px 0 0; font-size: 18px; color: #241c1c; }
	.jjo-post-card__meta { font-size: 12px; color: #9a8f8f; font-weight: 600; }
	.jjo-post-card__desc { font-size: 13px; color: #6b6b6b; line-height: 1.5; margin: 2px 0 6px; }
	.jjo-post-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
	.jjo-post-card__stats { font-size: 12px; color: #9a8f8f; display: flex; gap: 14px; }
	.jjo-btn { font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 20px; }

	.jjo-more-wrap { text-align: center; margin-top: 22px; }
	.jjo-btn-outline { display: inline-block; border: 1.5px solid #e7b9b9; background: #fdeceb; color: #a5233a; font-weight: 700; font-size: 13px; padding: 10px 22px; border-radius: 24px; }

	/* Sidebar */
	.jjo-sidebar { display: flex; flex-direction: column; gap: 18px; }
	.jjo-card h4 { margin: 0 0 14px; font-size: 14px; letter-spacing: .04em; color: #b3273f; display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
	.jjo-cat-list li a { display: flex; align-items: center; gap: 10px; padding: 10px 4px; font-size: 14px; font-weight: 600; color: #3a2c2c; border-bottom: 1px solid #f4e9e6; }
	.jjo-cat-list li:last-child a { border-bottom: none; }
	.jjo-cat-list li a .jjo-chevron { margin-left: auto; color: #cbb; }

	.jjo-pop-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 10px; }
	.jjo-pop-item { display: flex; align-items: center; gap: 12px; }
	.jjo-pop-item .jjo-thumb-img, .jjo-pop-item .jjo-thumb-placeholder { width: 56px; height: 44px; min-height: 44px; border-radius: 8px; flex-shrink: 0; font-size: 16px; }
	.jjo-pop-item .jjo-pop-title { font-size: 13px; font-weight: 700; color: #241c1c; line-height: 1.3; }
	.jjo-pop-item .jjo-pop-meta { font-size: 12px; color: #9a8f8f; }
	.jjo-see-more { font-size: 12px; font-weight: 700; color: #b3273f; }

	.jjo-join { text-align: left; }
	.jjo-fb { width: 46px; height: 46px; border-radius: 50%; background: #1877f2; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.jjo-fb i { color: #fff !important; }

	/* Footer */
	/* Footer */
.jjo-footer {
    position: relative;
    overflow: hidden;
    background: #f8ece4;
    border-top: 2px dotted #e9c9c0;
    padding: 26px 24px;
    text-align: center;
}
	.jjo-footer__links { font-size: 12px; font-weight: 700; color: #6b5757; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
	.jjo-footer__links span { color: #d9b8b8; }
	.jjo-footer__copy { font-size: 12px; color: #9a8f8f; }
	.footer-left {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 180px;
    height: auto;
    pointer-events: none;
}

.footer-right {
    position: absolute;
    right: 0;
    bottom: -18px;
    width: 180px;
    height: auto;
    pointer-events: none;
}
	.jjo-nav__login {
    margin-left: 0px;
    margin-right: 18px;
    font-size: 20px;
    color: #3a2c2c;
    text-decoration: none;
    line-height: 1;
	align-self: center;
}
.jjo-nav__search {
    font-size: 20px;
    color: #3a2c2c;
    text-decoration: none;
    line-height: 1;
    align-self: center;
	margin-right: 15px;
}
	.jjo-join-text {
    margin: 10px 0 15px;
    font-size: 12px;
    line-height: 1.4;
    color: #6b5757;
    text-align: left;
}
	.jjo-nav__actions{
    display:flex;
    align-items:center;
    gap:18px;
    margin-left:30px;
}
.jjo-nav__menu > ul{
    display:flex !important;
    gap:60px !important;
}

.jjo-nav__menu li{
    position:relative;
}

.jjo-nav__menu .sub-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:220px;
    background:#fffaf7;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    padding:10px 0;
    z-index:999;
}

.jjo-nav__menu li:hover > .sub-menu{
    display:block;
}

.jjo-nav__menu .sub-menu li{
    display:block;
}

.jjo-nav__menu .sub-menu a{
    display:block;
    padding:10px 16px;
    text-align:left;
}
.jjo-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .jjo-wrap { grid-template-columns: 1fr; } }

.jjo-thumb-img, .jjo-thumb-placeholder { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
.jjo-thumb-placeholder { background: linear-gradient(135deg,#f3d9d9,#e9c7d8); display: flex; align-items: center; justify-content: center; font-size: 34px; }

.jjo-sidebar { display: flex; flex-direction: column; gap: 18px; }

.jjo-cat-list li a { display: flex; align-items: center; gap: 10px; padding: 10px 4px; font-size: 14px; font-weight: 600; color: #3a2c2c; border-bottom: 1px solid #f4e9e6; }
.jjo-cat-list li:last-child a { border-bottom: none; }
.jjo-cat-list li a .jjo-chevron { margin-left: auto; color: #cbb; }

.jjo-pop-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 10px; }
.jjo-pop-item { display: flex; align-items: center; gap: 12px; }
.jjo-pop-item .jjo-thumb-img, .jjo-pop-item .jjo-thumb-placeholder { width: 56px; height: 44px; min-height: 44px; border-radius: 8px; flex-shrink: 0; font-size: 16px; }
.jjo-pop-item .jjo-pop-title { font-size: 13px; font-weight: 700; color: #241c1c; line-height: 1.3; }
.jjo-pop-item .jjo-pop-meta { font-size: 12px; color: #9a8f8f; }
.jjo-see-more { font-size: 12px; font-weight: 700; color: #b3273f; }

.jjo-join { text-align: left; }
.jjo-join-text { margin: 10px 0 15px; font-size: 12px; line-height: 1.4; color: #6b5757; text-align: left; }
.jjo-fb { width: 46px; height: 46px; border-radius: 50%; background: #1877f2; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
/* ===== Wyszukiwarka na żywo w menu ===== */
.jjo-nav__search-wrap { position: relative; }
.jjo-nav__search { background: none; border: none; font-size: 20px; cursor: pointer; line-height: 1; padding: 0; }

.jjo-search-panel {
    display: none; position: absolute; top: 100%; right: 0; width: 320px;
    background: #fffaf7; border: 1px solid #f0dcd4; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12);
    padding: 14px; z-index: 999;
}
.jjo-nav__search-wrap:hover .jjo-search-panel,
.jjo-nav__search-wrap.is-open .jjo-search-panel {
    display: block;
}

.jjo-search-input {
    width: 100%; box-sizing: border-box; padding: 10px 14px; border-radius: 999px; border: 1px solid #f0dcd4;
    background: #fff; font-size: 14px; font-family: inherit; color: #3a2c2c;
}

.jjo-search-results { margin-top: 10px; max-height: 360px; overflow-y: auto; }
.jjo-search-group h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #b3273f; margin: 10px 0 6px; }
.jjo-search-group:first-child h5 { margin-top: 0; }

.jjo-search-item { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 8px; }
.jjo-search-item:hover { background: #fbeee8; }
.jjo-search-item img, .jjo-search-item .jjo-search-noimg {
    width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0; display: flex;
    align-items: center; justify-content: center; background: #f1e4e4; font-size: 16px;
}
.jjo-search-item-title { display: block; font-size: 13px; font-weight: 700; color: #3a2c2c; }
.jjo-search-item-sub { display: block; font-size: 11px; color: #8a7268; }

.jjo-search-empty { font-size: 13px; color: #8a7268; margin: 6px 4px; }

@media (max-width: 480px) {
    .jjo-search-panel { position: fixed; top: 90px; left: 12px; right: 12px; width: auto; }
}
/* ===== Komentarze (domyślny wp_list_comments / comment_form) ===== */
#comments, .comments-area { color: #3a2c2c; }
.comments-title, #reply-title { font-size: 18px; color: #b3273f; margin: 0 0 16px; }

.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.commentlist .children { list-style: none; margin: 0; padding-left: 40px; }

.comment-list li.comment { margin-bottom: 16px; }
.comment-body {
    background: #fffaf7; border: 1px solid #f0dcd4; border-radius: 12px;
    padding: 14px 16px;
}

.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-author .avatar {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #f1e4e4;
}
.comment-author .fn { font-weight: 700; font-size: 14px; color: #3a2c2c; font-style: normal; }
.comment-author .fn a { color: #3a2c2c; }
.comment-author .says { display: none; }

.comment-metadata { font-size: 12px; color: #a99189; margin-bottom: 8px; }
.comment-metadata a { color: #a99189; }

.comment-content p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; }

.reply { margin-top: 8px; }
.comment-reply-link {
    display: inline-block; font-size: 12px; font-weight: 700; color: #b3273f;
    border: 1px solid #f0dcd4; border-radius: 999px; padding: 5px 14px;
}
.comment-reply-link:hover { background: #fbeee8; }

.comment-edit-link { font-size: 12px; color: #a99189; margin-left: 8px; }

#respond {
    background: #fffaf7; border-radius: 16px; padding: 20px; margin-top: 20px;
}
.comment-notes, .comment-form label { font-size: 13px; color: #8a7268; }
.comment-form label { display: block; font-weight: 700; color: #3a2c2c; margin: 12px 0 6px; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px;
    border: 1px solid #f0dcd4; background: #fff; font-family: inherit; font-size: 14px; color: #3a2c2c;
}
.comment-form textarea { min-height: 100px; resize: vertical; }

.comment-form .form-submit { margin-top: 14px; }
#submit, .comment-form input[type="submit"] {
    background: #b3273f; color: #fff; border: none; padding: 10px 22px; border-radius: 999px;
    font-weight: 700; font-size: 14px; cursor: pointer;
}
#submit:hover { background: #93172e; }

.no-comments { font-size: 14px; color: #8a7268; }
#comments ol, #comments ul,
.comment-list, .comment-list ol, .comment-list ul,
ol.comment-list, ul.comment-list {
    list-style: none !important;
    list-style-type: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
#comments ol,
.comments-area ol,
#comments *,
.comments-area * {
    list-style-type: none !important;
}
.comment-list li::marker,
.comment-list li::before {
    content: none !important;
}
.commentlist {
    list-style: none !important;
    list-style-type: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.commentmetadata {
    font-size: 12px;
    color: #a99189;
    margin-bottom: 8px;
}
.commentmetadata a {
    color: #a99189;
}
.jjo-nav__toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: #3a2c2c; padding: 0 8px; }

@media (max-width: 900px) {
    .jjo-nav__inner { flex-wrap: wrap; }
    .jjo-nav__toggle { display: block; order: 2; }
    .jjo-nav__actions { order: 3; margin-left: auto; }

    .jjo-nav__menu {
        display: none;
        width: 100%;
        order: 10;
    }
    .jjo-nav__menu.is-open { display: block; }

    .jjo-nav__menu > ul {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }
    .jjo-nav__menu > ul > li { width: 100%; }
    .jjo-nav__menu > ul > li > a { padding: 12px 4px; }

    .jjo-nav__menu .sub-menu {
        display: none;
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        background: #fbeee8;
        padding: 0 0 0 16px !important;
    }
    .jjo-nav__menu li.is-expanded > .sub-menu { display: block; }
}