<section class="article_content">

    <div class="post_content lg:mt-4">
        <div class="discover_button">

    <a href="https://www.google.com/preferences/source?q=hdblog.it" target="_blank" rel="noopener noreferrer"
        style="display: flex; align-items: center; justify-content: center; background-color: #ffffff; border: 1px solid #dadce0; border-radius: 12px; padding: 12px 0; width: 100%; text-decoration: none; font-family: 'Roboto', Arial, sans-serif; box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: all 0.2s ease-in-out;">


        <svg xmlns="http://www.w3.org/2000/svg" height="34" viewBox="0 0 24 24" width="34" style="margin-right: 12px">
            <path
                d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"
                fill="#4285F4"></path>
            <path
                d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"
                fill="#34A853"></path>
            <path
                d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"
                fill="#FBBC05"></path>
            <path
                d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"
                fill="#EA4335"></path>
            <path d="M1 1h22v22H1z" fill="none"></path>
        </svg>

        <div style="display: flex; flex-direction: column;">
            <span
                style="color: #5f6368; font-weight: 500; font-size: 14px; line-height: 1.1; letter-spacing: 0.3px;">Aggiungi
                HDblog come</span>
            <span style="color: #1f1f1f; font-weight: 700; font-size: 18px; line-height: 1.2;">Fonte preferita su
                Google</span>
        </div>
    </a>
</div>

<style>
    .discover_button {
        width: 100%;
        margin: 20px auto;
        padding: 20px;
        background-color: #ededed;
        border-radius: 16px;
        border: 1px solid #e8eaed;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    @media only screen and (max-width: 600px) {
        .discover_button {
            border-radius: 0;
            padding-left: 12px;
            padding-right: 12px;
        }
    }
</style>
        
        
        
    
    
        
        
    
        

    </div>

    

    
        <div class="hidden lg:block mb-4">
    <div class="flex gap-6 items-center justify-center pb-6 lg:mp-0">
    <div>
        <div class="text-center text-sm">
            <div id="post_shares_counter" class="text-2xl font-bold -mb-1 text-primary"></div>
            <div class="text-xs"> CONDIVISIONI</div>
        </div>
        <script>
            // for reference about the math function chosen:
            // https://www.youmath.it/lezioni/analisi-matematica/le-funzioni-elementari-e-le-loro-proprieta/287-radice-con-indice-dispari.html
            const fifthGradeRadix = (timeDiff) => parseFloat(Math.pow(timeDiff, 1 / 5));
        
            const postPubTimestamp = ;
        
            const now = Math.floor(Date.now() / 1000); // Current timestamp in seconds
            const oneDayInSeconds = 86400; // Number of seconds in a day
        
            const postPubDiff = now - postPubTimestamp;
            
            let shares = 0;
            if (postPubDiff < oneDayInSeconds) {
            console.log('intraday');
            shares = parseInt(fifthGradeRadix(postPubDiff) * 200) - 200;
            } else {
            console.log('extraday');
            const now = new Date();
            const startOfDay = new Date(now.getFullYear(), now.getMonth(), now.getDate());
            const secondsSinceStart = Math.floor((now - startOfDay) / 1000);
            shares = (  || 0 ) + ( parseInt(fifthGradeRadix(secondsSinceStart) * 200) - 200 );
            }
        
            console.log('shares', shares);
            // Add thousand separator
            const formatShares = (shares) => shares.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".");

            let formattedShares = formatShares(shares);
        
            document.getElementById('post_shares_counter').innerHTML = formattedShares == 'NaN' ? '0' : formattedShares;
        </script>
    </div>
    <div class="share_buttons">
        <ul class="text-center p-0 flex items-center justify-between gap-1">
            <li class="size-10 flex items-center justify-center bg-[#3b5998] text-white">
                <a 
                class="text-center flex items-center justify-center"
                onclick="window.open(this.href, 'targetWindow', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes, top=400, left=400, width=600, height=300' ); return false;"
                href="https://www.facebook.com/sharer/sharer.php?u=/&amp;quote="
                title="Condividi su Facebook">
                <svg xmlns="http://www.w3.org/2000/svg" height="18px" width="18px" viewBox="0 0 320 512"><path fill="white" d="M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"></path></svg>
                </a>
            </li>
            <li class="size-10 flex items-center justify-center bg-[#333333] text-white">
                <a 
                class="text-center flex items-center justify-center"
                onclick="window.open(this.href, 'targetWindow', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes, top=400, left=400, width=600, height=300' ); return false;"
                href="https://twitter.com/share?text=&url="
                title="Condividi su Twitter">
                <svg xmlns="http://www.w3.org/2000/svg" height="18px" width="18px" viewBox="0 0 512 512"><path fill="white" d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"></path></svg>
                </a>
            </li>
            <li class="size-10 flex items-center justify-center bg-[#25d366] text-white">
                <a class="text-center flex items-center justify-center" target="_blank" href="whatsapp://send?text=: " data-action="share/whatsapp/share" title="Condividi su WhatsApp">
                    <svg xmlns="http://www.w3.org/2000/svg" height="20px" width="20px" viewBox="0 0 448 512"><path fill="white" d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7 .9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"></path></svg>
                </a>
            </li>
            <li class="size-10 flex items-center justify-center bg-[#e23f36] text-white">
                <a class="text-center flex items-center justify-center" target="_blank" href="https://share.flipboard.com/bookmarklet/popout?v=2&amp;title=&amp;url=" title="Condividi su Flipboard">
                    <svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" width="18" height="18" viewBox="0 0 14 14" role="img" focusable="false" aria-hidden="true"><path fill="#ffffff" d="m 6.9999999,0.99982 5.9993001,0 0,1.99835 0,1.99357 -1.993367,0 -1.9980673,0 -0.014998,1.99357 -0.01,1.99835 -1.9980669,0.01 -1.9933674,0.0146 -0.014998,1.99835 -0.01,1.99357 -1.9834686,0 -1.9836686,0 0,-6.00006 0,-5.99994 5.9992001,0 z"/></svg>
                </a>
            </li>
            <li class="h-10 px-2 flex items-center justify-center bg-[#138ae3] text-white">
                <a class="text-center flex items-center justify-center" target="_blank" href="https://www.hdnetwork.it/iscrizione-newsletter-hdblog/" title="Iscriviti alla Newsletter">
                    <svg xmlns="http://www.w3.org/2000/svg" height="20px" width="20px" viewBox="0 0 512 512"><path fill="white" d="M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"></path></svg>
                    
                        <span class="text-sm ml-2">Newsletter</span>    
                    
                </a>
            </li>
        </ul>
    </div>
</div>




                                
</div>

<div class="grid grid-cols-2 items-center my-4 justify-between pb-4">

  
    <div class="relative flex items-center">
        
    </div>


   
    <div class="relative flex items-center justify-end">
        
    </div>

</div>




    


</section>
