{"id":2718,"date":"2026-04-16T05:09:10","date_gmt":"2026-04-16T05:09:10","guid":{"rendered":"https:\/\/finanthropist.in\/academy\/?page_id=2718"},"modified":"2026-04-16T07:13:14","modified_gmt":"2026-04-16T07:13:14","slug":"affirmations","status":"publish","type":"page","link":"https:\/\/finanthropist.in\/academy\/affirmations\/","title":{"rendered":"Affirmations"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2718\" class=\"elementor elementor-2718\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3c8fba1 e-flex e-con-boxed e-con e-parent\" data-id=\"3c8fba1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0a874be elementor-widget elementor-widget-html\" data-id=\"0a874be\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\n  @import url('https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');\n\n  .afw-widget {\n    --accent: #c22526;\n    --accent-light: #c2252612;\n    --accent-mid: #c2252625;\n    --text: #1a1a1a;\n    --text-secondary: #555;\n    --bg: #fafafa;\n    --card-bg: #ffffff;\n    --border: #e8e8e8;\n    --radius: 16px;\n    --shadow: 0 2px 16px rgba(0,0,0,0.06);\n    --shadow-hover: 0 8px 32px rgba(194,37,38,0.12);\n    font-family: 'Inter', -apple-system, sans-serif;\n    max-width: 800px;\n    margin: 0 auto;\n    padding: 32px 20px;\n    color: var(--text);\n    background: var(--bg);\n    border-radius: 24px;\n    position: relative;\n    overflow: hidden;\n  }\n\n  .afw-widget::before {\n    content: '';\n    position: absolute;\n    top: -120px;\n    right: -120px;\n    width: 300px;\n    height: 300px;\n    background: radial-gradient(circle, var(--accent-mid) 0%, transparent 70%);\n    pointer-events: none;\n    z-index: 0;\n  }\n\n  .afw-widget::after {\n    content: '';\n    position: absolute;\n    bottom: -80px;\n    left: -80px;\n    width: 220px;\n    height: 220px;\n    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);\n    pointer-events: none;\n    z-index: 0;\n  }\n\n  .afw-widget * {\n    box-sizing: border-box;\n    position: relative;\n    z-index: 1;\n  }\n\n  .afw-header {\n    text-align: center;\n    margin-bottom: 32px;\n  }\n\n  .afw-badge {\n    display: inline-flex;\n    align-items: center;\n    gap: 6px;\n    background: var(--accent-light);\n    color: var(--accent);\n    font-size: 11px;\n    font-weight: 700;\n    letter-spacing: 1.5px;\n    text-transform: uppercase;\n    padding: 6px 16px;\n    border-radius: 100px;\n    margin-bottom: 16px;\n    border: 1px solid var(--accent-mid);\n  }\n\n  .afw-badge svg {\n    width: 14px;\n    height: 14px;\n  }\n\n  .afw-title {\n    font-family: 'Playfair Display', serif;\n    font-size: 32px;\n    font-weight: 700;\n    color: var(--text);\n    margin: 0 0 8px 0;\n    line-height: 1.2;\n  }\n\n  .afw-title span {\n    color: var(--accent);\n  }\n\n  .afw-subtitle {\n    font-size: 15px;\n    color: var(--text-secondary);\n    margin: 0;\n    font-weight: 400;\n    line-height: 1.5;\n  }\n\n  \/* Language Toggle *\/\n  .afw-lang-toggle {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    gap: 4px;\n    background: var(--card-bg);\n    border: 1.5px solid var(--border);\n    border-radius: 14px;\n    padding: 5px;\n    margin: 0 auto 28px;\n    width: fit-content;\n    box-shadow: 0 1px 4px rgba(0,0,0,0.04);\n  }\n\n  .afw-lang-btn {\n    padding: 10px 28px;\n    border: none;\n    background: transparent;\n    border-radius: 10px;\n    font-family: 'Inter', sans-serif;\n    font-size: 14px;\n    font-weight: 600;\n    color: var(--text-secondary);\n    cursor: pointer;\n    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n    position: relative;\n    letter-spacing: 0.2px;\n  }\n\n  .afw-lang-btn:hover {\n    color: var(--text);\n  }\n\n  .afw-lang-btn.active {\n    background: var(--accent);\n    color: #fff;\n    box-shadow: 0 4px 16px rgba(194,37,38,0.3);\n  }\n\n  \/* Grid *\/\n  .afw-grid {\n    display: grid;\n    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));\n    gap: 16px;\n  }\n\n  @media (max-width: 480px) {\n    .afw-grid {\n      grid-template-columns: 1fr;\n    }\n    .afw-widget {\n      padding: 24px 14px;\n      border-radius: 18px;\n    }\n    .afw-title {\n      font-size: 26px;\n    }\n  }\n\n  \/* Card *\/\n  .afw-card {\n    background: var(--card-bg);\n    border: 1.5px solid var(--border);\n    border-radius: var(--radius);\n    padding: 20px;\n    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);\n    box-shadow: var(--shadow);\n    cursor: default;\n  }\n\n  .afw-card:hover {\n    border-color: var(--accent-mid);\n    box-shadow: var(--shadow-hover);\n    transform: translateY(-2px);\n  }\n\n  .afw-card-top {\n    display: flex;\n    align-items: flex-start;\n    gap: 14px;\n    margin-bottom: 16px;\n  }\n\n  .afw-card-icon {\n    width: 48px;\n    height: 48px;\n    min-width: 48px;\n    border-radius: 14px;\n    background: var(--accent-light);\n    border: 1.5px solid var(--accent-mid);\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    font-size: 22px;\n    transition: all 0.3s ease;\n  }\n\n  .afw-card:hover .afw-card-icon {\n    background: var(--accent);\n    border-color: var(--accent);\n  }\n\n  .afw-card:hover .afw-card-icon svg {\n    color: #fff;\n  }\n\n  .afw-card-icon svg {\n    width: 24px;\n    height: 24px;\n    color: var(--accent);\n    transition: color 0.3s ease;\n  }\n\n  .afw-card-info {\n    flex: 1;\n    min-width: 0;\n  }\n\n  .afw-card-title {\n    font-size: 16px;\n    font-weight: 700;\n    color: var(--text);\n    margin: 0 0 3px 0;\n    line-height: 1.3;\n  }\n\n  .afw-card-desc {\n    font-size: 12.5px;\n    color: var(--text-secondary);\n    margin: 0;\n    line-height: 1.4;\n  }\n\n  \/* Custom Audio Player *\/\n  .afw-player {\n    background: linear-gradient(135deg, #fafafa 0%, #f3f3f3 100%);\n    border: 1px solid var(--border);\n    border-radius: 12px;\n    padding: 12px 14px;\n    display: flex;\n    align-items: center;\n    gap: 12px;\n  }\n\n  .afw-play-btn {\n    width: 40px;\n    height: 40px;\n    min-width: 40px;\n    border-radius: 50%;\n    background: var(--accent);\n    border: none;\n    cursor: pointer;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    box-shadow: 0 4px 14px rgba(194,37,38,0.3);\n    transition: all 0.25s ease;\n    padding: 0;\n  }\n\n  .afw-play-btn:hover {\n    transform: scale(1.08);\n    box-shadow: 0 6px 20px rgba(194,37,38,0.4);\n  }\n\n  .afw-play-btn:active {\n    transform: scale(0.96);\n  }\n\n  .afw-play-btn svg {\n    width: 16px;\n    height: 16px;\n    color: #fff;\n    fill: #fff;\n  }\n\n  .afw-player-body {\n    flex: 1;\n    min-width: 0;\n    display: flex;\n    flex-direction: column;\n    gap: 6px;\n  }\n\n  .afw-progress-bar {\n    width: 100%;\n    height: 5px;\n    background: #ddd;\n    border-radius: 100px;\n    overflow: hidden;\n    cursor: pointer;\n    position: relative;\n  }\n\n  .afw-progress-fill {\n    height: 100%;\n    background: var(--accent);\n    border-radius: 100px;\n    width: 0%;\n    transition: width 0.1s linear;\n    position: relative;\n  }\n\n  .afw-progress-fill::after {\n    content: '';\n    position: absolute;\n    right: -4px;\n    top: 50%;\n    transform: translateY(-50%);\n    width: 12px;\n    height: 12px;\n    background: var(--accent);\n    border-radius: 50%;\n    border: 2px solid #fff;\n    box-shadow: 0 1px 4px rgba(0,0,0,0.2);\n    opacity: 0;\n    transition: opacity 0.2s;\n  }\n\n  .afw-progress-bar:hover .afw-progress-fill::after {\n    opacity: 1;\n  }\n\n  .afw-time-row {\n    display: flex;\n    justify-content: space-between;\n    font-size: 11px;\n    color: var(--text-secondary);\n    font-weight: 500;\n    font-variant-numeric: tabular-nums;\n  }\n\n  .afw-volume-btn {\n    background: none;\n    border: none;\n    cursor: pointer;\n    padding: 4px;\n    color: var(--text-secondary);\n    transition: color 0.2s;\n    display: flex;\n    align-items: center;\n  }\n\n  .afw-volume-btn:hover {\n    color: var(--accent);\n  }\n\n  .afw-volume-btn svg {\n    width: 18px;\n    height: 18px;\n  }\n\n  \/* Playing state *\/\n  .afw-card.playing {\n    border-color: var(--accent);\n    box-shadow: 0 4px 24px rgba(194,37,38,0.15);\n  }\n\n  .afw-card.playing .afw-card-icon {\n    background: var(--accent);\n    border-color: var(--accent);\n    animation: afwPulse 2s infinite;\n  }\n\n  .afw-card.playing .afw-card-icon svg {\n    color: #fff;\n  }\n\n  @keyframes afwPulse {\n    0%, 100% { box-shadow: 0 0 0 0 rgba(194,37,38,0.3); }\n    50% { box-shadow: 0 0 0 8px rgba(194,37,38,0); }\n  }\n\n  \/* Footer *\/\n  .afw-footer {\n    margin-top: 28px;\n    text-align: center;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    gap: 8px;\n    font-size: 12px;\n    color: #aaa;\n    font-weight: 500;\n  }\n\n  .afw-footer svg {\n    width: 14px;\n    height: 14px;\n    color: var(--accent);\n  }\n<\/style>\n\n<div class=\"afw-widget\" id=\"afwWidget\">\n  <!-- Header -->\n  <div class=\"afw-header\">\n    <h2 class=\"afw-title\">Daily <span>Affirmations<\/span><\/h2>\n    <p class=\"afw-subtitle\">Transform your mindset with powerful affirmations.<br>Choose your language and press play.<\/p>\n    <p class=\"afw-subtitle\" style=\"margin-top:6px;font-size:12px;color:#aaa;\">Created by Sammeer Sarang \u2014 for your daily growth<\/p>\n  <\/div>\n\n  <!-- Language Toggle -->\n  <div class=\"afw-lang-toggle\">\n    <button class=\"afw-lang-btn active\" data-lang=\"marathi\" onclick=\"afwSwitchLang('marathi')\">\n      \u092e\u0930\u093e\u0920\u0940\n    <\/button>\n    <button class=\"afw-lang-btn\" data-lang=\"english\" onclick=\"afwSwitchLang('english')\">\n      English\n    <\/button>\n  <\/div>\n\n  <!-- Cards Grid -->\n  <div class=\"afw-grid\" id=\"afwGrid\"><\/div>\n\n<\/div>\n\n<script>\n(function() {\n  const AFW_DATA = [\n    {\n      id: 'allinone',\n      title: 'All-in-One Daily Affirmations',\n      desc: 'Complete daily transformation pack',\n      icon: '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><path d=\"M8 14s1.5 2 4 2 4-2 4-2\"\/><line x1=\"9\" y1=\"9\" x2=\"9.01\" y2=\"9\"\/><line x1=\"15\" y1=\"9\" x2=\"15.01\" y2=\"9\"\/><\/svg>',\n      english: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/All-in-One-Daily-Affirmations-English.mp3',\n      marathi: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/All-in-One-Daily-Affirmations-Marathi.mp3'\n    },\n    {\n      id: 'morning',\n      title: 'Morning Affirmations',\n      desc: 'Start your day with positivity',\n      icon: '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"5\"\/><line x1=\"12\" y1=\"1\" x2=\"12\" y2=\"3\"\/><line x1=\"12\" y1=\"21\" x2=\"12\" y2=\"23\"\/><line x1=\"4.22\" y1=\"4.22\" x2=\"5.64\" y2=\"5.64\"\/><line x1=\"18.36\" y1=\"18.36\" x2=\"19.78\" y2=\"19.78\"\/><line x1=\"1\" y1=\"12\" x2=\"3\" y2=\"12\"\/><line x1=\"21\" y1=\"12\" x2=\"23\" y2=\"12\"\/><line x1=\"4.22\" y1=\"19.78\" x2=\"5.64\" y2=\"18.36\"\/><line x1=\"18.36\" y1=\"5.64\" x2=\"19.78\" y2=\"4.22\"\/><\/svg>',\n      english: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/Morning-Affirmations-English.mp3',\n      marathi: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/Morning-Affirmations-Marathi.mp3'\n    },\n    {\n      id: 'health',\n      title: 'Health Affirmations',\n      desc: 'Nurture your body and mind',\n      icon: '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z\"\/><\/svg>',\n      english: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/Health-Affirmations-English.mp3',\n      marathi: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/Health-Affirmations-Marathi.mp3'\n    },\n    {\n      id: 'money',\n      title: 'Money & Wealth Affirmations',\n      desc: 'Attract abundance and prosperity',\n      icon: '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"12\" y1=\"1\" x2=\"12\" y2=\"23\"\/><path d=\"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6\"\/><\/svg>',\n      english: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/Money-Wealth-Affirmations-English.mp3',\n      marathi: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/Money-Wealth-Affirmations-Marathi.mp3'\n    },\n    {\n      id: 'relationship',\n      title: 'Relationship Affirmations',\n      desc: 'Strengthen love and connection',\n      icon: '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2\"\/><circle cx=\"9\" cy=\"7\" r=\"4\"\/><path d=\"M23 21v-2a4 4 0 0 0-3-3.87\"\/><path d=\"M16 3.13a4 4 0 0 1 0 7.75\"\/><\/svg>',\n      english: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/Relationship-Affirmations-English.mp3',\n      marathi: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/Relationship-Affirmations-Marathi.mp3'\n    },\n    {\n      id: 'sleep',\n      title: 'Sleep Affirmations',\n      desc: 'Drift into peaceful rest',\n      icon: '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z\"\/><\/svg>',\n      english: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/The-Sleep-Affirmations-English.mp3',\n      marathi: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/The-Sleep-Affirmations-Marathi.mp3'\n    },\n    {\n      id: 'golden-pyramid',\n      title: 'Golden Pyramid Meditation',\n      desc: 'Harness the power of the golden pyramid',\n      icon: '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 2L2 20h20L12 2z\"\/><path d=\"M12 2v18\"\/><path d=\"M7 11h10\"\/><\/svg>',\n      english: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/golden-pyramid-english.mp3',\n      marathi: 'https:\/\/finanthropist.in\/academy\/wp-content\/uploads\/2026\/04\/Marathi-golden-pyramin.mp3'\n    }\n  ];\n\n  let currentLang = 'marathi';\n  let currentAudio = null;\n  let currentCard = null;\n  let animFrameId = null;\n\n  const PLAY_SVG = '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M8 5v14l11-7z\"\/><\/svg>';\n  const PAUSE_SVG = '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><rect x=\"6\" y=\"4\" width=\"4\" height=\"16\"\/><rect x=\"14\" y=\"4\" width=\"4\" height=\"16\"\/><\/svg>';\n  const VOL_SVG = '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polygon points=\"11 5 6 9 2 9 2 15 6 15 11 19 11 5\"\/><path d=\"M19.07 4.93a10 10 0 0 1 0 14.14\"\/><path d=\"M15.54 8.46a5 5 0 0 1 0 7.07\"\/><\/svg>';\n  const MUTE_SVG = '<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polygon points=\"11 5 6 9 2 9 2 15 6 15 11 19 11 5\"\/><line x1=\"23\" y1=\"9\" x2=\"17\" y2=\"15\"\/><line x1=\"17\" y1=\"9\" x2=\"23\" y2=\"15\"\/><\/svg>';\n\n  function formatTime(sec) {\n    if (isNaN(sec) || !isFinite(sec)) return '0:00';\n    const m = Math.floor(sec \/ 60);\n    const s = Math.floor(sec % 60);\n    return m + ':' + (s < 10 ? '0' : '') + s;\n  }\n\n  function buildCards() {\n    const grid = document.getElementById('afwGrid');\n    grid.innerHTML = '';\n    AFW_DATA.forEach(item => {\n      const card = document.createElement('div');\n      card.className = 'afw-card';\n      card.id = 'afwCard-' + item.id;\n      card.innerHTML =\n        '<div class=\"afw-card-top\">' +\n          '<div class=\"afw-card-icon\">' + item.icon + '<\/div>' +\n          '<div class=\"afw-card-info\">' +\n            '<p class=\"afw-card-title\">' + item.title + '<\/p>' +\n            '<p class=\"afw-card-desc\">' + item.desc + '<\/p>' +\n          '<\/div>' +\n        '<\/div>' +\n        '<div class=\"afw-player\">' +\n          '<button class=\"afw-play-btn\" data-id=\"' + item.id + '\" onclick=\"afwTogglePlay(\\'' + item.id + '\\')\">' + PLAY_SVG + '<\/button>' +\n          '<div class=\"afw-player-body\">' +\n            '<div class=\"afw-progress-bar\" data-id=\"' + item.id + '\" onclick=\"afwSeek(event, \\'' + item.id + '\\')\">' +\n              '<div class=\"afw-progress-fill\" id=\"afwFill-' + item.id + '\"><\/div>' +\n            '<\/div>' +\n            '<div class=\"afw-time-row\">' +\n              '<span id=\"afwCur-' + item.id + '\">0:00<\/span>' +\n              '<span id=\"afwDur-' + item.id + '\">0:00<\/span>' +\n            '<\/div>' +\n          '<\/div>' +\n          '<button class=\"afw-volume-btn\" data-id=\"' + item.id + '\" onclick=\"afwToggleMute(\\'' + item.id + '\\')\">' + VOL_SVG + '<\/button>' +\n        '<\/div>';\n      grid.appendChild(card);\n    });\n  }\n\n  function getItemById(id) {\n    return AFW_DATA.find(d => d.id === id);\n  }\n\n  window.afwSwitchLang = function(lang) {\n    if (lang === currentLang) return;\n    const wasPlaying = currentAudio && !currentAudio.paused;\n    const wasId = currentCard;\n    if (currentAudio) {\n      currentAudio.pause();\n      currentAudio = null;\n    }\n    currentLang = lang;\n    document.querySelectorAll('.afw-lang-btn').forEach(b => {\n      b.classList.toggle('active', b.getAttribute('data-lang') === lang);\n    });\n    resetAllCards();\n    if (wasPlaying && wasId) {\n      afwTogglePlay(wasId);\n    }\n  };\n\n  function resetAllCards() {\n    document.querySelectorAll('.afw-card').forEach(c => c.classList.remove('playing'));\n    document.querySelectorAll('.afw-play-btn').forEach(b => { b.innerHTML = PLAY_SVG; });\n    document.querySelectorAll('[id^=\"afwFill-\"]').forEach(f => { f.style.width = '0%'; });\n    document.querySelectorAll('[id^=\"afwCur-\"]').forEach(s => { s.textContent = '0:00'; });\n    document.querySelectorAll('[id^=\"afwDur-\"]').forEach(s => { s.textContent = '0:00'; });\n    cancelAnimationFrame(animFrameId);\n    currentCard = null;\n  }\n\n  window.afwTogglePlay = function(id) {\n    const item = getItemById(id);\n    if (!item) return;\n    const src = item[currentLang];\n\n    if (currentCard === id && currentAudio) {\n      if (currentAudio.paused) {\n        currentAudio.play();\n        document.querySelector('.afw-play-btn[data-id=\"' + id + '\"]').innerHTML = PAUSE_SVG;\n        document.getElementById('afwCard-' + id).classList.add('playing');\n        updateProgress();\n      } else {\n        currentAudio.pause();\n        document.querySelector('.afw-play-btn[data-id=\"' + id + '\"]').innerHTML = PLAY_SVG;\n        document.getElementById('afwCard-' + id).classList.remove('playing');\n        cancelAnimationFrame(animFrameId);\n      }\n      return;\n    }\n\n    if (currentAudio) {\n      currentAudio.pause();\n      cancelAnimationFrame(animFrameId);\n      resetAllCards();\n    }\n\n    currentCard = id;\n    currentAudio = new Audio(src);\n    currentAudio.crossOrigin = 'anonymous';\n\n    currentAudio.addEventListener('loadedmetadata', function() {\n      document.getElementById('afwDur-' + id).textContent = formatTime(currentAudio.duration);\n    });\n\n    currentAudio.addEventListener('ended', function() {\n      document.querySelector('.afw-play-btn[data-id=\"' + id + '\"]').innerHTML = PLAY_SVG;\n      document.getElementById('afwCard-' + id).classList.remove('playing');\n      document.getElementById('afwFill-' + id).style.width = '0%';\n      document.getElementById('afwCur-' + id).textContent = '0:00';\n      cancelAnimationFrame(animFrameId);\n      currentCard = null;\n      currentAudio = null;\n    });\n\n    currentAudio.play();\n    document.querySelector('.afw-play-btn[data-id=\"' + id + '\"]').innerHTML = PAUSE_SVG;\n    document.getElementById('afwCard-' + id).classList.add('playing');\n    updateProgress();\n  };\n\n  function updateProgress() {\n    if (!currentAudio || !currentCard) return;\n    const id = currentCard;\n    const pct = (currentAudio.currentTime \/ currentAudio.duration) * 100;\n    document.getElementById('afwFill-' + id).style.width = (isNaN(pct) ? 0 : pct) + '%';\n    document.getElementById('afwCur-' + id).textContent = formatTime(currentAudio.currentTime);\n    if (!currentAudio.paused) {\n      animFrameId = requestAnimationFrame(updateProgress);\n    }\n  }\n\n  window.afwSeek = function(e, id) {\n    if (!currentAudio || currentCard !== id) return;\n    const bar = e.currentTarget;\n    const rect = bar.getBoundingClientRect();\n    const pct = (e.clientX - rect.left) \/ rect.width;\n    currentAudio.currentTime = pct * currentAudio.duration;\n    updateProgress();\n  };\n\n  window.afwToggleMute = function(id) {\n    if (!currentAudio || currentCard !== id) return;\n    currentAudio.muted = !currentAudio.muted;\n    const btn = document.querySelector('.afw-volume-btn[data-id=\"' + id + '\"]');\n    btn.innerHTML = currentAudio.muted ? MUTE_SVG : VOL_SVG;\n  };\n\n  buildCards();\n})();\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Daily Affirmations Transform your mindset with powerful affirmations.Choose your language and press play. Created by Sammeer Sarang \u2014<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"_tutorstarter_page_metadata":[],"footnotes":""},"class_list":["post-2718","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/finanthropist.in\/academy\/wp-json\/wp\/v2\/pages\/2718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/finanthropist.in\/academy\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/finanthropist.in\/academy\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/finanthropist.in\/academy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/finanthropist.in\/academy\/wp-json\/wp\/v2\/comments?post=2718"}],"version-history":[{"count":16,"href":"https:\/\/finanthropist.in\/academy\/wp-json\/wp\/v2\/pages\/2718\/revisions"}],"predecessor-version":[{"id":2752,"href":"https:\/\/finanthropist.in\/academy\/wp-json\/wp\/v2\/pages\/2718\/revisions\/2752"}],"wp:attachment":[{"href":"https:\/\/finanthropist.in\/academy\/wp-json\/wp\/v2\/media?parent=2718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}