/*
Theme Name:   Yuva Help Child
Theme URI:    https://yuva.help
Description:  GeneratePress Child Theme for Yuva Help
Author:       Aadit Singh
Author URI:   https://yuva.help
Template:     generatepress
Version:      1.0.0
Text Domain:  yuva-help-child
*/

/* ============================================
   Article Custom CSS
   ============================================ */

/* --- 1. Category Badge --- */
.single-post .title-category-badge {
    display: block !important;
    margin-bottom: 8px !important;
    text-align: left;
}
.single-post .title-category-badge a {
    background: #2563eb;
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-decoration: none !important;
    letter-spacing: 0.05em;
    display: inline-block;
}
.single-post .title-category-badge a:hover { background: #1d4ed8; }

/* --- 2. Title --- */
.single-post .entry-header { margin-bottom: 0px !important; }
.single-post .entry-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 10px !important;
    letter-spacing: -0.02em;
}

/* --- 3. Meta Info --- */
.single-post .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px !important;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.single-post .entry-meta span:not(:last-child)::after {
    content: "|";
    margin: 0 10px;
    color: #cbd5e1;
}

/* --- 4. Featured Image --- */
.single-post .featured-image { margin: 10px 0 15px 0 !important; }
.single-post .featured-image img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- 5. Content --- */
.single-post .entry-content {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155;
    line-height: 1.7;
    font-size: 16px;
}
.single-post .entry-content > p { margin-bottom: 1em; }

/* --- 6. H2 Headings --- */
.single-post .entry-content h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
    border-left: 4px solid #2563eb;
    padding-left: 12px;
    margin-top: 1.5em !important;
    margin-bottom: 0.5em !important;
}

/* --- 7. H3 Headings --- */
.single-post .entry-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.2em !important;
    margin-bottom: 0.5em !important;
    padding-left: 10px;
    border-left: 3px solid #60a5fa;
}

/* --- 8. Tables --- */
.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    border: 1px solid #dddddd;
}
.single-post .entry-content table th {
    background-color: #f2f2f2;
    color: #000000;
    font-weight: 600;
    padding: 10px;
    text-align: left;
    border: 1px solid #dddddd;
}
.single-post .entry-content table td {
    padding: 10px;
    border: 1px solid #dddddd;
    color: #333333;
}

/* --- 9. Lists --- */
.single-post .entry-content ul { margin: 12px 0; padding-left: 20px; }
.single-post .entry-content ul li { margin-bottom: 8px; line-height: 1.6; }
.single-post .entry-content ul li::marker { color: #2563eb; }

/* --- 10. Links --- */
.single-post .entry-content a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #dbeafe;
}
.single-post .entry-content a:hover {
    background-color: #f0f7ff;
    border-bottom-color: #2563eb;
}

/* --- 11. FAQ Block --- */
.rank-math-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0 !important;
}
.rank-math-question {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 10px !important;
    display: flex;
    gap: 8px;
}
.rank-math-question::before { content: "Q."; color: #2563eb; font-weight: 800; }
.rank-math-answer {
    padding-left: 25px;
    color: #475569;
    border-left: 2px solid #e2e8f0;
    font-size: 15px;
}

/* --- 12. Strong Text --- */
.single-post .entry-content p strong { color: #0f172a; font-weight: 700; }

/* --- 13. Responsive --- */
@media (max-width: 768px) {
    .single-post .entry-title { font-size: 1.6rem; }
    .single-post .entry-meta { font-size: 12px; }
    .single-post .entry-content h2 { font-size: 1.4rem; }
    .single-post .entry-content h3 { font-size: 1.2rem; }
}


/* ============================================
   SOCIAL SHARE BOX
   ============================================ */

#yuva-premium-share-box {
    margin: 15px 0 30px 0 !important;
    padding: 15px 20px !important;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
.yuva-share-header {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #555 !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.5px !important;
}
.yuva-share-row { display: flex !important; flex-wrap: wrap !important; gap: 12px !important; }
a.yuva-btn-pro {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 10px 18px !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease-in-out !important;
    flex-grow: 1 !important;
    border: none !important;
    line-height: 1 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
.yuva-svg {
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
    fill: currentColor !important;
    display: inline-block !important;
    vertical-align: middle !important;
}
a.yuva-btn-pro:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
}
.wa-pro { background-color: #25D366 !important; }
.tg-pro { background-color: #229ED9 !important; }
.fb-pro { background-color: #1877F2 !important; }
.tw-pro { background-color: #000000 !important; }

@media (max-width: 480px) {
    #yuva-premium-share-box { padding: 12px !important; }
    .yuva-share-row { gap: 8px !important; }
    a.yuva-btn-pro { padding: 10px 12px !important; font-size: 13px !important; flex-basis: 45% !important; }
    .yuva-svg { width: 18px !important; height: 18px !important; margin-right: 6px !important; }
}


/* ============================================
   SIDEBAR BOX
   ============================================ */

#yuva-sidebar-box {
    background: #fff !important;
    padding: 15px !important;
    margin-bottom: 30px !important;
    font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
    box-sizing: border-box !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
}
.yuva-main-logo { text-align: center !important; margin-bottom: 20px !important; padding-top: 5px !important; }
.yuva-main-logo img {
    width: 110px !important; height: 110px !important;
    object-fit: cover !important; border-radius: 50% !important;
    border: 4px solid #fff !important; box-shadow: 0 0 0 2px #e0e0e0 !important;
}
.yuva-social-row { display: flex !important; justify-content: center !important; gap: 12px !important; margin-bottom: 25px !important; }
.yuva-soc-btn {
    width: 42px !important; height: 42px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    border-radius: 8px !important; color: #fff !important;
    text-decoration: none !important; transition: all 0.2s ease !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
}
.yuva-soc-btn:hover { transform: translateY(-3px) !important; box-shadow: 0 5px 10px rgba(0,0,0,0.2) !important; opacity: 0.95 !important; }
.y-insta { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important; }
.y-tele  { background: #229ED9 !important; }
.y-tube  { background: #FF0000 !important; }
.y-wa    { background: #25D366 !important; }

.yuva-sub-box {
    border: 1px solid #e0e0e0 !important; border-radius: 6px !important; padding: 12px !important;
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    margin-bottom: 25px !important; background: #f9f9f9 !important;
}
.y-sub-left { display: flex !important; align-items: center !important; }
.y-sub-icon { margin-right: 12px !important; display: flex !important; align-items: center !important; }
.y-sub-info { display: flex !important; flex-direction: column !important; justify-content: center !important; }
.y-sub-name { font-weight: 700 !important; font-size: 15px !important; color: #222 !important; line-height: 1.2 !important; }
.y-sub-desc { font-size: 11px !important; color: #666 !important; line-height: 1.2 !important; }
.y-sub-btn {
    background: #FF0000 !important; color: #fff !important; font-size: 13px !important;
    font-weight: 600 !important; padding: 8px 14px !important; border-radius: 4px !important;
    text-decoration: none !important; white-space: nowrap !important;
}
.y-sub-btn:hover { background: #cc0000 !important; }

.widget-title {
    font-size: 18px !important; font-weight: 700 !important; margin-bottom: 15px !important;
    padding-bottom: 10px !important; border-bottom: 2px solid #eee !important; color: #222 !important;
    display: block !important; text-transform: uppercase !important; letter-spacing: 0.5px !important;
}
a.yuva-sidebar-item {
    display: flex !important; align-items: flex-start !important;
    text-decoration: none !important; padding: 12px 0 !important; border-bottom: 1px solid #f4f4f4 !important;
}
a.yuva-sidebar-item:last-child { border-bottom: none !important; }
a.yuva-sidebar-item:hover .yuva-sb-title { color: #0073aa !important; }
.yuva-sb-img-wrap {
    width: 90px !important; height: 52px !important; flex-shrink: 0 !important;
    margin-right: 12px !important; border-radius: 4px !important; overflow: hidden !important;
    background: #f0f0f0 !important; border: 1px solid #e0e0e0 !important;
}
.yuva-sb-img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; transition: transform 0.3s !important; }
a.yuva-sidebar-item:hover .yuva-sb-img { transform: scale(1.05) !important; }
.yuva-sb-title {
    font-size: 14px !important; color: #333 !important; font-weight: 500 !important;
    line-height: 1.4 !important; margin-top: -2px !important;
    display: -webkit-box !important; -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important; overflow: hidden !important; transition: color 0.2s !important;
}
@media (max-width: 480px) {
    #yuva-sidebar-box { margin: 0 15px 30px 15px !important; width: auto !important; }
    .yuva-sb-img-wrap { width: 100px !important; height: 58px !important; margin-right: 15px !important; }
    .yuva-sb-title { font-size: 15px !important; }
}


/* ============================================
   JOIN BUTTONS (WhatsApp + Google News)
   ============================================ */

.yuva-join-wrapper {
    display: flex !important; flex-direction: row !important;
    justify-content: space-between !important; gap: 10px !important;
    margin: 20px 0 30px 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
.yuva-join-btn {
    display: flex !important; align-items: center !important; justify-content: center !important;
    border: 1px solid #000 !important; background: #fff !important; padding: 8px 10px !important;
    text-decoration: none !important; border-radius: 4px !important; flex: 1 !important;
    transition: background 0.2s !important; box-shadow: none !important; min-width: 0 !important;
}
.yuva-join-btn:hover { background: #f9f9f9 !important; opacity: 0.9 !important; }
.yuva-join-icon { width: 24px !important; height: 24px !important; margin-right: 8px !important; flex-shrink: 0 !important; }
.yuva-join-text { color: #000 !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.2 !important; text-align: left !important; }

@media (max-width: 600px) {
    .yuva-join-wrapper { gap: 6px !important; }
    .yuva-join-btn { padding: 6px !important; }
    .yuva-join-icon { width: 18px !important; height: 18px !important; margin-right: 5px !important; }
    .yuva-join-text { font-size: 11px !important; line-height: 1.1 !important; }
}


/* ============================================
   AUTHOR BOX (Post ke baad)
   ============================================ */

.yuva-author-box-wrapper {
    all: unset;
    display: block;
    box-sizing: border-box;
    font-family: sans-serif !important;
    margin-top: 50px !important;
    width: 100%;
}
.yuva-author-box {
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid #eee !important;
    border-bottom: 1px solid #eee !important;
    display: flex !important;
    gap: 25px !important;
    align-items: flex-start !important;
    background: transparent !important;
    line-height: 1.6 !important;
}
.yuva-bio-avatar-wrapper { flex-shrink: 0; margin: 0 !important; padding: 0 !important; }
.yuva-author-box img.bio-avatar-img {
    border-radius: 50% !important; width: 90px !important; height: 90px !important;
    object-fit: cover !important; margin: 0 !important; padding: 0 !important;
    box-shadow: none !important; border: none !important;
}
.yuva-bio-content-wrapper { flex: 1; text-align: left; min-width: 0; }
.yuva-author-box h3.yuva-bio-name {
    font-size: 24px !important; font-weight: 800 !important; color: #000 !important;
    margin: 0 0 10px 0 !important; padding: 0 !important; line-height: 1.2 !important;
    border: none !important; text-transform: none !important; letter-spacing: normal !important;
}
.yuva-author-box h3.yuva-bio-name a {
    color: #000 !important; text-decoration: none !important;
    border: none !important; box-shadow: none !important; background: none !important;
}
.yuva-author-box h3.yuva-bio-name a:hover { text-decoration: underline !important; color: #000 !important; }
.yuva-bio-desc { font-size: 15px !important; color: #555 !important; line-height: 1.6 !important; margin-bottom: 15px !important; }
.yuva-bio-desc p { margin: 0 0 10px 0 !important; padding: 0 !important; color: #555 !important; }
.yuva-bio-socials {
    display: flex !important; gap: 15px !important; margin-bottom: 20px !important;
    padding: 0 !important; list-style: none !important; flex-wrap: wrap !important;
}
.yuva-social-icon {
    display: inline-flex !important; align-items: center; justify-content: center;
    text-decoration: none !important; border: none !important; box-shadow: none !important; background: transparent !important;
}
.yuva-social-icon svg { width: 20px !important; height: 20px !important; fill: #333 !important; transition: fill 0.2s; }
.yuva-social-icon:hover svg { fill: #000 !important; }
.yuva-bio-divider { border-top: 1px solid #e0e0e0 !important; margin: 0 0 15px 0 !important; width: 100% !important; height: 0 !important; }
.yuva-bio-expertise { font-size: 14px !important; color: #444 !important; margin: 0 !important; }
.yuva-bio-expertise strong { color: #000 !important; text-transform: uppercase !important; font-weight: 800 !important; margin-right: 5px !important; }

@media (max-width: 600px) {
    .yuva-author-box { flex-direction: row !important; align-items: flex-start !important; text-align: left !important; gap: 15px !important; }
    .yuva-bio-avatar-wrapper { flex-shrink: 0 !important; }
    .yuva-author-box img.bio-avatar-img { width: 70px !important; height: 70px !important; min-width: 70px !important; }
    .yuva-author-box h3.yuva-bio-name { font-size: 18px !important; margin-bottom: 5px !important; }
    .yuva-bio-desc { font-size: 13px !important; line-height: 1.5 !important; margin-bottom: 12px !important; }
    .yuva-bio-socials { justify-content: flex-start !important; gap: 10px !important; margin-bottom: 15px !important; }
    .yuva-social-icon svg { width: 18px !important; height: 18px !important; }
}
