/* === Bookmark Post Button === */
.module-bookmark {
    position: absolute;
	z-index:9;
    top: -1px;
	left:-1px;
}
.bookmark-post-button-container {
	position:relative;
    display: inline-block;
    margin: 0;
    font-size: 14px;
}
.woocommerce .coauthor-wrapper {
    margin: 0 0 15px 0;
}
.bookmark-post-button:before {
    font-family: 'Material Icons Outlined';
	content: "\e598";
    position: absolute;
	font-size:20px;
    top: 10px;
    left: 6px;
	color:#fff;
	z-index:2;
}
.bookmark-post-button:hover:before {
	color:#fff;
}
.bookmark-post-button {
	position:relative;
    padding: 20px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
	border:0px solid#000;	
    transition: 0.5s;	
}
.bookmark-post-button:hover {
    background-color: #fff;
}
.bookmark-post-button:hover::before {
	color:#000;
}
.sidebarcontent .bookmark-post-button:before {
	color:#333;
}
.sidebarcontent .bookmark-post-button:hover:before {
	color:#fff;
}
.coauthor-wrapper .bookmark-post-button:hover:before {
	color:#fff;
}
.coauthor-wrapper .bookmark-post-button:before {
	color:#333;
}
.bookmark-post-button.bookmarked {
    background-color: #d60000;
    color: #fff;
}
.dark .bookmark-post-button.bookmarked {
    background-color: #d60000;
}
.bookmark-post-button.bookmarked:before {
    font-family: 'Material Icons Outlined';
	content: "\e59a";
    position: absolute;
	font-size:20px;
    top: 10px;
    left: 6px;
	color:#fff;
	z-index:2;
}
.bookmark-post-button.bookmarked:hover {
    background-color: #252525;
}
.bookmark-post-button.bookmarked + .bookmark-count {
    background-color: #d00;
    color: #fff;
}
.bookmark-post-button-wrapper button {
    background-color: #252525;	
	margin-bottom: 0;	
}
.dark .bookmark-post-button-wrapper button  {
	--jkd-bodydark-bg: #252525;
	background-color: var(--jkd-bodydark-bg); 
}
.dark .bookmark-post-button:before {
    color: #fff;
}
.dark .bookmark-post-button-wrapper button:hover  {
	background-color: #fff; 
}
.dark .bookmark-post-button:hover:before {
    color: #252525;
}
.coauthor-wrapper .bookmark-post-button-wrapper button {
    background-color:transparent;	
}
.dark .coauthor-wrapper .bookmark-post-button.bookmarked {
    background-color:transparent;	
}
.coauthor-wrapper .bookmark-post-button:hover:before {
    color: #d60000;
}
.coauthor-wrapper .bookmark-post-button.bookmarked:before {
    color: #d60000;
}
.coauthor-wrapper .bookmark-post-button.bookmarked:hover:before {
    color: #fff;
}
/* === Bookmarks List Button === */
.bookmark-list-button-container {
    position: relative;
    display: inline-block;
}
.bookmark-list-button {
	position:relative;
    border: none;
    padding: 14px 10px;
	margin-bottom:0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    font-size: 14px;
}
.header-borderpolos .bookmark-list-button {
	margin:10px 5px 0 5px;
	border-left:1px solid#000;
}
.dark .header-borderpolos .bookmark-list-button {
	border-left:1px solid#666;
}
.header-borderpolos .bookmark-list-button:before {
    font-size: 20px;
	left:5px;	
}
.header-borderpolos .bookmark-list-dropdown {
    top: calc(100% + 0px);
}

.bookmark-list-button:before {
    font-family: 'Material Icons Outlined';
    content: "\e599";
    position: absolute;
    font-size: 20px;
    top: 4px;
    left: 5px;
    color: #252525;
    z-index: 2;
}
.dark .bookmark-list-button:before {
    color: #ccc;
}
.bookmarks-total {
	position:absolute;
	width:24px;
	height:24px;
	bottom:-20px;
	right:-10px;
	background:#fff;
	border:1px solid#252525;
	text-align:center;
    padding: 4px;
    font-size: 14px;
	line-height:1;
    color: #252525;
	z-index:997;
}
.dark .bookmarks-total {
	background:#252525;
	border:1px solid#666;
    color: #fff;
}
.bookmark-list-dropdown {
    display: none;
    position: absolute;
    left: 0;
	top: calc(100% + 7px);
    background-color: #fff;
	border:1px solid#333;
    min-width: 300px;
    z-index: 996;
    padding: 15px;
    margin-top: 0px;
}
.dark .bookmark-list-dropdown {
    background-color: #000;
}
.bookmark-list-button-container:hover .bookmark-list-dropdown {
    display: block;
}
.view-all-bookmarks {
    text-align: center;
    margin: 15px 0 0;
    font-size: 11px;
	text-transform:uppercase;	
}
/* === Bookmark Posts List === */
.bookmark-posts-list {
	position:relative;
	float:left;
	width:100%;
}
.bookmark-posts-list h3 {
	float:left;
    margin-top: 0;
    margin-bottom: 30px!important;
    font-size: 18px;
}
.bookmark-posts-list ul {
    display: grid;
    float: left;
    width: 100%;
    position: relative;
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
	gap: 30px;
	margin:-21px 0 0!important;
    list-style: none;
    padding: 20px!important;
	list-style-type: none;
	counter-reset: item; 
	border:1px solid#252525;
}
.dark .bookmark-posts-list ul {
	border:1px solid#333;
}
.bookmark-posts-list li {
    padding: 0;
    display: flex;
	margin:0!important;
    justify-content: space-between;
    align-items: center;
	counter-increment: item; 
	position: relative;
}
.bookmarklist-excerpt {
    margin-top: 10px;
    display: block;
}
.bookmark-posts-list li::before {
	content: counter(item) " "; 
	position: absolute;
	left: 0;
	top:0;
	color:#252525;
	font-size:20px;
	font-weight:600;	
	padding:0 10px;
	background:#fff;
	z-index:2;
}
.dark .bookmark-posts-list li::before {
	color:#fff;
	background:#252525;	
}
.bookmark-posts-list li:last-child {
    border-bottom: none;
	margin-bottom:0!important;	
}
.bookmark-posts-list a {
    text-decoration: none!important;
    transition: color 0.2s;
    flex-grow: 1;
}
.bookmark-posts-list li a:hover {
    text-decoration: none!important;
}
.bookmark-posts-list .bookmark-count {
	position:relative;
	padding:3px 5px;
	margin-bottom:5px;
	text-align:center;
    font-size: 10px;
	background: #333;
	text-transform:uppercase;
    color: #fff;
}
/* === Shared Styles === */
.bookmark-list-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dark .bookmark-list-dropdown ul {
	color:#fff;
}
.bookmark-list-dropdown li {
    padding-bottom:10px;
	margin-bottom:10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
}
.dark .bookmark-list-dropdown li {
    border-bottom: 1px solid #333;
}
.bookmark-list-dropdown li:last-child {
    border-bottom: none;
    padding-bottom:0;
	margin-bottom:0;	
}
.bookmark-list-dropdown a {
    text-decoration: none;
	line-height:12px;
	font-weight:500;
}
.bookmark-list-dropdown a:hover {
    text-decoration: underline;
}
.bookmark-list-dropdown .bookmark-count {
    background-color: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: #666;
}
.notice {
    padding: 10px;
    background-color: #f8f8f8;
    border-left: 3px solid #4CAF50;
    margin: 10px 0;
    font-size: 13px;
    color: #555;
}
.dark .notice {
    background-color: transparent;
    color: #ccc;
}
/* === Responsive Styles === */
.bookmarklist-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 15px 15px;
}
.bookmarks-list .bookmarklist-wrapper {
	background:#f9f9f9;
}
.dark .bookmarks-list .bookmarklist-wrapper {
	background:#333;
}
.bookmarklist-thumb {
    width: 100%;
    float: left;
    overflow: hidden;
    position: relative;
}
.bookmarklist-article {
    width: 100%;
    float: left;
}
.bookmarks-list .bookmarklist-article {
	padding:10px 0;
}
.bookmarklist-title{
	line-height:18px;
}
.bookmarklist-title a{
    text-decoration: none;
	font-size:14px;
	font-weight:600;
}
.bookmarklist-title.listpage a{
	font-size:18px;
	font-weight:500;	
}
.bookmarklist-cat{
    text-decoration: none;
	margin-bottom:3px;
	font-size:11px;
	font-weight:500;	
	text-transform:uppercase;
}
