@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Deep Audiobooks – inner pages (How it works, FAQ, Contact, Press, Blogs, policies)
   Additions only: the template CSS is not edited. Uses the template theme variables
   so light / dark theme both work.
   ========================================================================== */

/* the fixed player bar (~92px) must never cover the last footer bar */
.section2_bottom_wrapper { margin-bottom: 100px; }

/* ---------- page banner (template placeholder photo replaced by a brand gradient) ---------- */
.indx_title_main_wrapper { background: linear-gradient(135deg, #1b1a4a 0%, #04031d 55%, #fa5b41 140%); padding-top: 70px; padding-bottom: 60px; }
.title_img_overlay { background: rgba(0, 0, 0, 0.25); }
.indx_title_left_wrapper h2 { font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; font-weight: 600; font-size: 42px; letter-spacing: .5px; margin-bottom: 14px; }
.indx_title_left_wrapper ul li { font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; font-size: 15px; }

/* ---------- page body ---------- */
.info_page { font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; padding: 80px 0 100px; }
.info_page h1, .info_page h2, .info_page h3, .info_page h4, .info_page p, .info_page li,
.info_page a, .info_page label, .info_page input, .info_page textarea, .info_page button { font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; }

.info_head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.info_head h1 { font-size: 34px; font-weight: 600; line-height: 1.35; text-transform: none; color: var(--heading-color); margin: 0 0 22px; }
.info_head .info_updated { display: inline-block; font-size: 13px; padding: 6px 18px; border-radius: 50px; margin-bottom: 24px;
    background: var(--box-color); border: 1px solid var(--border-color); color: var(--para-color); }
.info_head .info_line { font-size: 17px; margin-bottom: 8px; }

.info_body { max-width: 820px; margin: 0 auto; }
.info_wide { max-width: 1080px; margin: 0 auto; }

/* one sentence per line */
.info_line { margin: 0 0 14px; font-size: 16px; line-height: 1.9; color: var(--para-color); }
.info_line a, .info_list a, .info_card a:not(.info_btn) { color: var(--hover-color); }
.info_line strong, .info_list strong, .info_card strong { color: var(--heading-color); font-weight: 600; }

/* sections */
.info_section { padding: 40px 0; border-top: 1px solid var(--border-color); }
.info_section:first-child { border-top: 0; padding-top: 0; }
.info_section h3 { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; font-size: 22px; font-weight: 600; line-height: 1.4;
    text-transform: none; color: var(--heading-color); padding: 0; }
.info_section h3 .num, .info_card .info_icon { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #fa5b41, #ff8a50); color: #fff; font-size: 15px; font-weight: 600; }
.info_section.centered { text-align: center; }
.info_section.centered h3 { justify-content: center; }

/* bullet lists – one point per line */
.info_list { list-style: none; margin: 0; padding: 0; }
.info_list li { position: relative; padding-left: 32px; margin: 0 0 16px; font-size: 16px; line-height: 1.85; color: var(--para-color); }
.info_list li:before { content: ""; position: absolute; left: 5px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--hover-color); }
.info_list li:last-child { margin-bottom: 0; }

/* cards */
.info_grid { margin-left: -15px; margin-right: -15px; }
.info_grid > [class*="col-"] { padding-left: 15px; padding-right: 15px; margin-bottom: 30px; }
.info_card { height: 100%; padding: 34px 28px; background: var(--box-color); border: 1px solid var(--border-color); border-radius: 16px; text-align: left; }
.info_card .info_icon { width: 54px; height: 54px; flex-basis: 54px; font-size: 20px; margin-bottom: 22px; }
.info_card h4 { margin: 0 0 16px; font-size: 19px; font-weight: 600; line-height: 1.4; text-transform: none; color: var(--heading-color); }
.info_card .info_line { margin-bottom: 8px; font-size: 15px; line-height: 1.8; }
.info_card .info_line:last-child { margin-bottom: 0; }
.info_card.center { text-align: center; }
.info_card.center .info_icon { margin-left: auto; margin-right: auto; }

/* buttons */
.info_actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.info_btn { display: inline-block; padding: 13px 34px; border-radius: 50px; border: 2px solid transparent; font-size: 14px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; cursor: pointer;
    background: linear-gradient(135deg, #fa5b41, #ff8a50); color: #fff; }
.info_btn:hover { color: #fff; opacity: .9; }
.info_btn.alt { background: transparent; border-color: var(--hover-color); color: var(--hover-color); }
.info_btn.alt:hover { background: var(--hover-color); color: #fff; opacity: 1; }

/* call-to-action band */
.info_cta { margin-top: 20px; padding: 48px 30px; text-align: center; background: var(--box-color); border: 1px solid var(--border-color); border-radius: 16px; }
.info_cta h3 { display: block; margin: 0 0 18px; font-size: 24px; font-weight: 600; text-transform: none; color: var(--heading-color); }

/* FAQ accordion */
.faq_item { margin-bottom: 18px; overflow: hidden; background: var(--box-color); border: 1px solid var(--border-color); border-radius: 14px; }
.faq_item > a { display: block; position: relative; padding: 22px 64px 22px 28px; font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--heading-color); }
.faq_item > a:after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--hover-color); }
.faq_item > a[aria-expanded="true"] { color: var(--hover-color); }
.faq_item > a[aria-expanded="true"]:after { content: "\2212"; }
.faq_item .faq_body { padding: 4px 28px 26px; }
.faq_item .faq_body .info_line { margin-bottom: 10px; }
.faq_item .faq_body .info_line:last-child { margin-bottom: 0; }

/* contact form */
.info_form label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 500; color: var(--heading-color); }
.info_form .form_row { margin-bottom: 22px; }
.info_form input, .info_form textarea { width: 100%; padding: 14px 18px; font-size: 15px; color: var(--font-color); background: var(--bg-color);
    border: 1px solid var(--border-color); border-radius: 10px; outline: 0; transition: border-color .2s; }
.info_form input:focus, .info_form textarea:focus { border-color: var(--hover-color); }
.info_form textarea { min-height: 170px; resize: vertical; }
.info_form .form_msg { min-height: 24px; margin-bottom: 14px; font-size: 14px; }

/* empty state (Blogs) */
.info_empty { padding: 60px 30px; text-align: center; }
.info_empty .info_icon { margin: 0 auto 24px; }

/* ---------- responsive ---------- */
@media (max-width: 767px) {
    .indx_title_main_wrapper { padding-top: 50px; padding-bottom: 40px; }
    .indx_title_left_wrapper h2 { font-size: 30px; }
    .info_page { padding: 50px 0 70px; }
    .info_head { margin-bottom: 40px; }
    .info_head h1 { font-size: 26px; }
    .info_section { padding: 30px 0; }
    .info_section h3 { font-size: 19px; gap: 12px; }
    .info_card { padding: 28px 22px; }
    .faq_item > a { padding: 18px 54px 18px 20px; font-size: 16px; }
    .faq_item .faq_body { padding: 2px 20px 22px; }
}

/* ==========================================================================
   Side player: chapters + "Up next" (js/story_player.js)
   ========================================================================== */
.sp_head, .sp_upnext { padding: 14px 20px 6px; font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; }
.sp_label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--hover-color, #fa5b41); }
.sp_story { display: block; margin-top: 4px; font-size: 14px; color: var(--heading-color, #222); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp_upnext { margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--border-color, #e6e6e6); padding-bottom: 30px; }
.sp_empty { margin: 12px 0 0; font-size: 14px; color: var(--para-color, #777); }
.sp_next_item { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 10px; border-radius: 12px; background: var(--box-color, #fff); border: 1px solid var(--border-color, #e6e6e6); transition: transform .15s; }
.sp_next_item:hover { transform: translateX(3px); }
.sp_next_item img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.sp_next_meta { flex: 1 1 auto; min-width: 0; display: block; }
.sp_next_title, .sp_next_author { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp_next_title { font-size: 15px; font-weight: 500; color: var(--heading-color, #222); }
.sp_next_author { margin-top: 3px; font-size: 13px; color: var(--para-color, #777); }
.sp_next_item > i { flex: 0 0 auto; color: var(--hover-color, #fa5b41); font-size: 20px; }

/* loading / error message for the player */
#sp_toast { position: fixed; left: 50%; bottom: 110px; z-index: 99999; max-width: 90%; padding: 10px 20px; border-radius: 8px; background: #222; color: #fff;
    font-size: 14px; opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .2s, transform .2s; }
#sp_toast.show { opacity: 1; transform: translate(-50%, 0); }

/* chapter rows in the side player: [poster | title + story/narrator | duration] */
#adonis-playlist .jp-playlist ul li.item { padding: 4px 20px; list-style: none; }
#adonis-playlist .jp-playlist .playlist-item { display: grid; grid-template-columns: 55px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
    padding: 8px 10px; border-radius: 12px; }
#adonis-playlist .jp-playlist li.item:hover .playlist-item { background: var(--box-color, #fff); }
#adonis-playlist .jp-playlist .song-poster { grid-column: 1; grid-row: 1 / span 2; width: 55px; height: 55px; float: none; }
#adonis-playlist .jp-playlist .song-poster img { width: 55px; height: 55px; border-radius: 8px; object-fit: cover; }
#adonis-playlist .jp-playlist a.jp-playlist-item { grid-column: 2; grid-row: 1; align-self: end; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--heading-color, #222); }
#adonis-playlist .jp-playlist li.jp-playlist-current a.jp-playlist-item { color: var(--hover-color, #fa5b41); }
#adonis-playlist .jp-playlist .jp-artist { grid-column: 2; grid-row: 2; align-self: start; margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; font-size: 13px; color: var(--para-color, #777); }
#adonis-playlist .jp-playlist .jp-artist a { color: inherit; }
#adonis-playlist .jp-playlist .meta { grid-column: 3; grid-row: 1 / span 2; float: none; width: auto; display: flex; align-items: center; gap: 8px; }
#adonis-playlist .jp-playlist .jp-time { font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; font-size: 12px; color: var(--para-color, #777); }
.sp_head { padding-bottom: 12px; }


/* ==========================================================================
   Featured Author -> all stories of the clicked author (js/home_data.js)
   ========================================================================== */
.author_stories_wrap { padding-top: 10px; }
.author_stories_head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 10px 0 30px; padding: 22px 26px;
    background: var(--box-color); border: 1px solid var(--border-color); border-left: 5px solid var(--hover-color); border-radius: 16px; font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; }
.author_stories_title { display: flex; align-items: center; gap: 18px; }
.author_stories_title h1 { margin: 0 0 2px; font-size: 24px; font-weight: 600; text-transform: none; color: var(--heading-color); }
.author_stories_title span { font-size: 14px; color: var(--para-color); }
.author_stories_btns { display: flex; gap: 12px; }
.author_stories_btns .info_btn { padding: 10px 26px; font-size: 13px; }
.author_stories_btns .info_btn i { margin-right: 6px; }
.author_stories_empty { padding: 30px 15px; color: var(--para-color); }
.author_stories_wrap { animation: author_in .5s ease; }
@keyframes author_in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
