/*stories new file css*/

.sexual_education_list_box
{

	background: #FFFFFF;
	box-shadow: 0px 30px 20px rgba(0, 0, 0, 0.05);
	border-radius: 4px;
	padding:40px;
	margin-bottom:32px;
}

.sexual_education_list_box_header
{
	font-family: 'Roboto', Arial, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 13px;
	line-height: 16px;
	/* identical to box height, or 123% */

	letter-spacing: 1.95px;
	text-transform: uppercase;
	color: #6663FB;
}

.sexual_education_list_box_article_title
{
	font-family: 'Roboto', Arial, sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 20px;
	line-height: 32px;
	/* or 133% */

	letter-spacing: 0.08px;

	color: #4D4D4D !important;
	margin-top:20px;
}
.footer-head {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 0.02em;
	color: #333333;
}
a.new_week {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.02em;
	color: #1B61F1;
}

a.read-all {
	font-family: "Roboto", sans-serif;
	letter-spacing: 1px;
	font-style: normal;
	font-weight: 700;
	font-size: 12px;
	line-height: 16px;
	text-align: right;
	text-transform: uppercase;
	color: #1B61F1;
	margin-left: 5px;
	text-decoration: underline;
}
p.posted-by-cat {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.02em;
	color: #a3a3a3;
}

button.add-story-button.btn.btn-lg.btn-block.mt-3 {
    background: #2F63E8;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
}

.more-content{
	display: none;
}


/*stories V2 file css*/

   .sexual_education_list_box
   {

   	background: #FFFFFF;
   	box-shadow: 0px 30px 20px rgba(0, 0, 0, 0.05);
   	border-radius: 4px;
   	padding:40px;
   	margin-bottom:32px;
   }

   .sexual_education_list_box_header
   {
   	font-family: 'Roboto', Arial, sans-serif;
   	font-style: normal;
   	font-weight: normal;
   	font-size: 13px;
   	line-height: 16px;
   	/* identical to box height, or 123% */

   	letter-spacing: 1.95px;
   	text-transform: uppercase;
   	color: #6663FB;
   }

   .sexual_education_list_box_article_title
   {
   	font-family: 'Roboto', Arial, sans-serif;
   	font-style: normal;
   	font-weight: bold;
   	font-size: 20px;
   	line-height: 32px;
   	letter-spacing: 0.08px;
   	color: #4D4D4D !important;
   	margin-top:20px;
   }
   .category-bar-area {
   	background: #8368EC;
   	display: flex;
   	align-items: center;
   	justify-content: space-between;
   	padding: 15px;
   	margin-bottom: 40px;
   }
   .category-bar-area p {
   	margin: 0;
   	font-style: normal;
   	font-weight: 600;
   	font-size: 14px;
   	line-height: 30px;
   	color: #fff;
   	letter-spacing: 0.1em;
   	text-transform: uppercase;
   }
   .strait-storie-area {
   	display: flex;
   	align-items: center;
   	justify-content: space-between;
   	width: 100%;
   	border-bottom: 1px solid #E2E2E2;
   	padding: 20px 0;
   }
   .strait-storie-area-left p {
   	margin: 0;
   	font-style: normal;
   	font-weight: 600;
   	font-size: 13px;
   	letter-spacing: 0.1em;
   	text-transform: uppercase;
   	color: #A3A3A3;
   }
   .strait-add-area {
   	width: 100%;
   	display: flex;
   	align-items: center;
   	justify-content: space-between;
   	background: #8368EC;
   	padding: 40px;
   }

   .strait-add-area p {
   	color: #fff;
   	margin: 0;
   	font-style: normal;
   	font-weight: 700;
   	font-size: 24px;
   }
   .strait-add-area a {
   	font-family: 'Montserrat', Arial, sans-serif;
   	font-style: normal;
   	font-weight: 700;
   	font-size: 14px;
   	line-height: 150%;
   	color: #000;
   	background: #fff;
   	padding: 10px;
   	border: 2px solid #E2E2E2;
   	border-radius: 6px;
   }
   .strait-last {
   	margin-top: 57px;
   }
   .strait-last ul {
   	list-style: decimal;
   }
   .strait-last ul li {
   	font-family: 'Roboto', Arial, sans-serif;
   	font-style: normal;
   	font-weight: 400;
   	font-size: 16px;
   	line-height: 24px;
   	letter-spacing: 0.02em;
   	color: #7A7A7A;
   	margin: 15px 0;
   }

   /*pagination*/
   .bottom-pagination-area {
   	display: flex;
   	align-items: center;
   	justify-content: space-between;
   	gap: 16px;
   	margin: 30px 0;
   	width: 100%;
   	color: #BCBCBC;
   }
   .pagination-pages {
   	display: flex;
   	flex-direction: row;
   	gap: 10px;
   }
   .pagination-page {
   	height: 35px;
   	width: 45px;
   	border-radius:6px;
   	cursor: pointer;
   	display: flex;
   	align-items: center;
   	justify-content: center;
   	border: 1px solid #BCBCBC;
   	color: #8D8D8D;
   }
   .pagination-active {
   	border:1px solid #3579F7;
   	color: #3579F7;
   }
   .pagination-btn-prime {
   	color: #3579F7;
   	background: transparent;
   	border: 1px solid #3579F7;
   	height: 35px;
   	line-height: 1;
   	font-family: 'Roboto', Arial, sans-serif;
   	font-style: normal;
   	font-weight: 600;
   	font-size: 12px;
   	letter-spacing: 0.1em;
   	text-transform: uppercase;
   	padding: 0 10px;
   	width: 100px;
   	border-radius: 6px;
   	display: inline-flex;
   	align-items: center;
   	justify-content: center;
   	text-decoration: none;
   }
   .pagination-btn-prime:hover {
   	background: #3579F7;
   	color: #fff;
   	text-decoration: none;
   }
   .pagination-btn {
   	font-family: 'Roboto', Arial, sans-serif;
   	font-style: normal;
   	font-weight: 600;
   	font-size: 12px;
   	height: 35px;
   	border-radius: 6px;
   	letter-spacing: 0.1em;
   	text-transform: uppercase;
   	padding: 0 10px;
   	width: 100px;
   	background: #3579F7;
   	color: #fff;
   	border: 1px solid #3579F7;
   	display: inline-flex;
   	align-items: center;
   	justify-content: center;
   	text-decoration: none;
   }
   .pagination-btn:hover {
   	background: #2563EB;
   	color: #fff;
   	text-decoration: none;
   }
   .pagination-page.dots {
   	font-size: 30px;
   	border:none
   }
   .pagination-btn a {
   	color: #fff;
   }
   button.pagination-btn a {
   	padding: 0;
   }
   .bottom-pagination-btn {
   	display: flex;
   	gap: 5px;
   }
   .strait-last p {
   	padding-left: 20px;
   }
  .stories-go-button{
		line-height: 0;
    	height: 46px;
   }
   .dl-add-btn {
	    line-height: 0;
	 }

	 .story-layout{
    font-family: "Roboto", sans-serif;
}
.story-layout .container-sm{
    max-width: 720px;
    margin: 0 auto;
}
.story-layout .container-md{
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}
.s-section-title h1{
    font-size: 40px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    text-align: center;
}
.s-section-title h2 {
    font-size: 30px;
    margin-bottom: 20px;
    font-family: "Roboto", sans-serif;
}
.s-section-title p{
    font-size: 16px;
    color: #7A7A7A;
    margin-bottom: 20px;
}
.s-section-title p:last-child{
    margin-bottom: 0;
}
.ams-btn {
    background-color: #3579F7;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 6px;
}
.story-layout hr{
    border-color: #e2e2e2;
}
.stories-btn {
    background-color: #F2F4F5;
    display: block;
    color: #000000;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    padding: 15px 30px 15px 15px;
    border-radius: 7px;
    background-image: url(/assets/images/right-arrow-dark.svg);
    background-repeat: no-repeat;
    background-position: 95% center;
}
.faq-content p{
	color: #a3a3a3;
}
.share-erotic-stories {
    background-color: #F2F6FA;
    border-radius: 30px;
    padding: 70px 30px;
}
.share-erotic-stories .s-section-title{
	max-width: 720px;
	margin: 0 auto;
}
.how-to-share-content{
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}
.how-to-share-content ul {
    margin: 0 0 3rem;
    padding: 0;
    list-style: none;
    counter-reset: hts-counter;
}
.how-to-share-content ul li {
    border-bottom: 1px solid #E2E2E2;
    padding: 15px 0 15px 30px;
    position: relative;
    color: #707784;
    font-size: 16px;
}
.how-to-share-content ul li:before{
	counter-increment: hts-counter;
  	content: counter(hts-counter);
  	background: #3579F7;
    font-size: 14px;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    color: #ffffff;
    line-height: 20px;
    position: absolute;
    top: 17px;
    left: 0;
}
.how-to-share-content p{
	color: #707784;
   font-size: 16px;
}
.stories-form-block {
    border: 2px solid #E2E2E2;
    border-radius: 12px;
    padding: 30px;
}
.stories-form-block p{
	text-align: center;
	font-weight: 700;
}
.kind-stories-form-area {
    max-width: 600px;
    margin: 0 auto;
}
.kind-stories-form-area select.form-control:not([size]):not([multiple]) {
    height: calc(2.75rem + 2px);
}
.kind-stories-form-area select.form-control {
    font-size: 14px!important;
    font-weight: 700!important;
    font-family: "Roboto", sans-serif;
    border-color: #C4C4C4;
}
.stories-go-button{
	background-color: #3579F7;
	min-width: 68px;
}
.storyLink-btn{
	font-size: 14px; 
	font-weight: 500;
	font-family: 'Roboto', sans-serif;
	text-transform: uppercase;
}
.storyLink-btn .listen_link{
	font-size:15px;
	padding:4px 10px 4px 0;
	border-right: 1px solid #E2E2E2;
	line-height: 1;
}
.storyLink-btn .story_link{
	font-size:15px;
	padding:4px 0 4px 10px;
	line-height: 1;
}
.story-sortby span{
	color: #ffffff;
	font-size: 14px;
	margin-right: 10px;
}
.story-sortby select{
	width: auto;
	cursor: pointer;
	margin-right: 10px;
	border: none!important;
	box-shadow: none!important;
	color: #000000;
	background-color: #ffffff;
	background-image: url(/assets/images/down-arrow.png);
	background-size: 12px;
	background-position: right 7px center;
	background-repeat: no-repeat;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 6px 28px 6px 12px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	height: 38px;
}
.story-sortby .btn-sort{
	background-color: transparent;
	border-color: #ffffff;
	height: 38px;
	width: 38px;
	line-height: 1;
}
.story-sortby .btn-sort svg{
	vertical-align: middle;
}
.story-sortby .btn-sort.sort-active{
	background-color: #ffffff;
}
.story-sortby .btn-sort.sort-active svg path{
	fill: #8368EC;
}
@media screen and (max-width: 767px){
	.category-bar-area{
		margin-left: -15px;
    	margin-right: -15px;
	}
	.category-bar-area p{
		letter-spacing: 0;
	}
	.bottom-pagination-area {
		display: block;
	}
	.pagination-pages {
		gap: 4px;
		margin-bottom: 30px;
	}
	.bottom-pagination-btn {
		display: flex;
		justify-content: center;
		width: 100%;
		gap: 7px;
	}

	button.pagination-btn-prime {
		margin-bottom: 20px;
	}
	.strait-add-area {
		display: block;
		text-align: center;
	}
	.strait-add-area p {
		margin-bottom: 20px;
	}
	.pagination-pages{
		justify-content: center;
	}
	.strait-last h4 {
		padding-left: 0 !important;
	}
	.strait-last p {
		padding-left: 0;
	}
	.strait-last ul {
		padding-left: 20px;
	}
	.dl-category-heading {
	   margin: 20px 0 0 0 !important;
 		text-align: justify !important;
	}

	button.add-story-button.btn.btn-lg.btn-block.mt-3 {
	    margin-top: 0 !important;
	}
	.dl-add-btn {
	    margin-top: 25px;
	}
	.s-section-title h1{
		font-size: 32px;
	}
	.s-section-title h2{
		font-size: 24px;
	}
	.how-to-share-content p{
		text-align: center;
	}
}

@media (max-width: 480px){
	.dl_story_interest_table_data ul li a {
	    justify-content: center;
	    height: 70px;
	    padding: 10px 10px;
	    text-align: center;
	    font-size: 14px;
	}
	.ddl-frame-col.col-md-6.col-6 {
	    padding: 0 5px;
	}
	.strait-storie-area {align-items: start;}
	.strait-storie-area-left {
	    height: auto;
	}
}

/* ===== Dark Mode Style Start ===== */
.dark-mode-body .story-layout hr{
	border-color: #686D77;
}
.dark-mode-body .s-section-title p, .dark-mode-body .how-to-share-content ul li, 
.dark-mode-body .how-to-share-content p, .dark-mode-body .faq-content p{
	color: #B2B8C5;
}
/* Stories category buttons — refined dark surface with brand-blue accent on hover */
.dark-mode-body .stories-btn{
	background-color: #252525;
	background-image: url(/assets/images/hookup/right-arrow.svg);
	border: 1px solid #3a3a3a;
	color: #9bc2ff;
	transition: background-color 0.2s ease, border-color 0.2s ease,
	            color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.dark-mode-body .stories-btn:hover{
	background-color: #2e2e2e;
	border-color: #4a4a4a;
	color: #c2dbff;
	transform: translateY(-1px);
	text-decoration: none;
}
/* Active filter pill — inline style sets bg/color, we add glow + border refinement */
.dark-mode-body .stories-btn.active{
	background-color: #3579F7 !important;
	border-color: #3579F7;
	color: #fff !important;
	box-shadow: 0 0 0 3px rgba(53, 121, 247, 0.18),
	            0 4px 14px -4px rgba(53, 121, 247, 0.45);
}
.dark-mode-body .share-erotic-stories{
	background-color: #494848;
}
.dark-mode-body .how-to-share-content ul li strong{
	color: #ffffff;
}
.dark-mode-body .stories-form-block{
	background-color: #494848;
	border-color: #494848;
}
.dark-mode-body .kind-stories-form-area select.form-control{
	border-color: #DDD7D7!important;
}
/* ─────────────────────────────────────────────────────────────────
   Sort bar — Dark-mode refinement
   The light-mode purple (#8368EC) clashes with the dark canvas.
   Replace with a tiered dark surface (#2a2a2a) framed by a 1px border,
   and treat the dropdown + toggle as quiet controls that only "light up"
   in brand blue when active. Soft glow on focus = premium feel.
   ───────────────────────────────────────────────────────────────── */
.dark-mode-body .category-bar-area{
	background: #2a2a2a;
	border: 1px solid #3a3a3a;
	border-radius: 6px;
}
.dark-mode-body .category-bar-area p{
	color: #d8d8d8;
}
.dark-mode-body .category-bar-area p span{
	color: #fff;
	font-weight: 700;
}
.dark-mode-body .story-sortby span{
	color: #aaa;
}
/* Sort dropdown */
.dark-mode-body .story-sortby select{
	background-color: #1a1a1a;
	color: #fff;
	background-image: url(/assets/images/down-arrow-light.png);
	border: 1px solid #3a3a3a !important;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.dark-mode-body .story-sortby select:hover,
.dark-mode-body .story-sortby select:focus{
	border-color: #5a5a5a !important;
	box-shadow: 0 0 0 3px rgba(53, 121, 247, 0.14);
}
/* Sort order toggle button */
.dark-mode-body .story-sortby .btn-sort{
	background-color: #1a1a1a;
	border-color: #3a3a3a;
	transition: background-color 0.18s ease, border-color 0.18s ease,
	            box-shadow 0.18s ease;
}
.dark-mode-body .story-sortby .btn-sort:hover{
	background-color: #232323;
	border-color: #5a5a5a;
}
.dark-mode-body .story-sortby .btn-sort svg path{
	fill: #c0c0c0;
}
.dark-mode-body .story-sortby .btn-sort.sort-active{
	background-color: #3579F7;
	border-color: #3579F7;
	box-shadow: 0 0 0 3px rgba(53, 121, 247, 0.18);
}
.dark-mode-body .story-sortby .btn-sort.sort-active svg path{
	fill: #fff;
}

/* ── Author page wider container ── */
#stories-author-page .container-sm {
	max-width: 1000px;
}

/* ── Similar Authors widget (author page) ── */
#similar-authors-widget {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid #e0e0e0;
}
#similar-authors-widget .similar-authors-heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
	color: #1a1a1a;
}
#similar-authors-widget .similar-authors-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
#similar-authors-widget .similar-author-link {
	display: block;
	padding: 15px 30px 15px 15px;
	border-radius: 10px;
	background-color: #E1EBFE;
	background-image: url(/assets/images/hookup/right-arrow.svg);
	background-repeat: no-repeat;
	background-position: 90% center;
	color: #3579F7;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s;
}
#similar-authors-widget .similar-author-arrow {
	display: none;
}
#similar-authors-widget .similar-author-link:hover {
	background-color: #d0e0fd;
	text-decoration: none;
	color: #3579F7;
}
.dark-mode-body #similar-authors-widget {
	border-top-color: #444;
}
.dark-mode-body #similar-authors-widget .similar-authors-heading {
	color: #fff;
}
.dark-mode-body #similar-authors-widget .similar-author-link {
	background-color: #494848;
	color: #7db4ff;
}
.dark-mode-body #similar-authors-widget .similar-author-link:hover {
	background-color: #5a5a5a;
	color: #99c6ff;
}

/* ── Top Authors widget (stories pages) ── */
#top-authors-widget {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid #e0e0e0;
}
#top-authors-widget .top-authors-heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
	color: #1a1a1a;
}
#top-authors-widget .top-authors-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
#top-authors-widget .top-author-link {
	display: block;
	padding: 15px 30px 15px 15px;
	border-radius: 10px;
	background-color: #E1EBFE;
	background-image: url(/assets/images/hookup/right-arrow.svg);
	background-repeat: no-repeat;
	background-position: 90% center;
	color: #3579F7;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s;
}
#top-authors-widget .top-author-link:hover {
	background-color: #d0e0fd;
	text-decoration: none;
	color: #3579F7;
}
.dark-mode-body #top-authors-widget {
	border-top-color: #444;
}
.dark-mode-body #top-authors-widget .top-authors-heading {
	color: #fff;
}
.dark-mode-body #top-authors-widget .top-author-link {
	background-color: #494848;
	color: #7db4ff;
}
.dark-mode-body #top-authors-widget .top-author-link:hover {
	background-color: #5a5a5a;
	color: #99c6ff;
}

/* ── More by author section (story page) ── */
#more-by-section {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #e0e0e0;
}
#more-by-section .more-by-heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
	color: #1a1a1a;
}
#more-by-section .more-by-heading a {
	color: #3579F7;
	text-decoration: none;
}
#more-by-section .more-by-heading a:hover {
	text-decoration: underline;
}
#more-by-section .more-by-slider {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
}
#more-by-section .more-by-slider::-webkit-scrollbar {
	height: 4px;
}
#more-by-section .more-by-slider::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 2px;
}
#more-by-section .more-by-card {
	display: flex;
	flex-direction: column;
	min-width: 220px;
	max-width: 260px;
	padding: 16px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	flex-shrink: 0;
	transition: border-color 0.15s, box-shadow 0.15s;
}
#more-by-section .more-by-card:hover {
	border-color: #3579F7;
	box-shadow: 0 2px 8px rgba(53, 121, 247, 0.15);
	text-decoration: none;
}
#more-by-section .more-by-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
#more-by-section .more-by-card-excerpt {
	font-size: 13px;
	color: #777;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4;
}
#more-by-section .more-by-card-meta {
	font-size: 12px;
	color: #999;
	margin-top: auto;
}
/* Dark mode */
.dark-mode-body #more-by-section {
	border-top-color: #444;
}
.dark-mode-body #more-by-section .more-by-heading {
	color: #fff;
}
.dark-mode-body #more-by-section .more-by-card {
	background: #2a2a2a;
	border-color: #444;
}
.dark-mode-body #more-by-section .more-by-card:hover {
	border-color: #3579F7;
	box-shadow: 0 2px 8px rgba(53, 121, 247, 0.25);
}
.dark-mode-body #more-by-section .more-by-card-title {
	color: #eee;
}
.dark-mode-body #more-by-section .more-by-card-excerpt {
	color: #999;
}
.dark-mode-body #more-by-section .more-by-card-meta {
	color: #777;
}

/* Sprint 5: Mobile responsive fixes */
/* width: 100% pins .posted-stories-box to its .container parent's width
   regardless of children's intrinsic min-content. Without this, the
   "More by author" flex slider (5 cards × 180px min-width ≈ 900px) was
   forcing the box to grow beyond the viewport on mobile, pushing the
   entire box off-screen left. */
.posted-stories-box {
	width: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
h1.class_4 {
	word-wrap: break-word;
	overflow-wrap: break-word;
}
.about-posted-straight p {
	word-wrap: break-word;
	overflow-wrap: break-word;
}
@media (max-width: 767px) {
	#more-by-section .more-by-card {
		min-width: 180px;
		max-width: 200px;
	}
	.story-sortby {
		flex-wrap: wrap;
		gap: 8px;
	}
}