.pkp_brand_footer {
	display: none;
}

body {
    background-color: ##FFFAFA;
}

/* Example of increasing content width */
.container {
    width: 90%; /* Adjust percentage as needed */
    max-width: 1200px; /* Adjust max-width to a desired maximum */
    margin: 0 auto; /* Center container horizontally */
}

.content {
    padding: 20px; /* Adjust padding as needed */
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col {
    flex: 1; /* Make columns flexible */
    max-width: 100%; /* Adjust as needed */
}

/* Basic styling for download counter */
.download-counter {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333; /* Text color */
    padding: 10px;
    border: 1px solid #ccc; /* Border around the counter */
    border-radius: 5px; /* Rounded corners */
    background-color: #f9f9f9; /* Background color */
}

.counter-label {
    font-weight: bold; /* Make label bold */
    margin-right: 5px; /* Space between label and value */
}

.counter-value {
    font-size: 18px; /* Slightly larger text for the counter value */
    color: #007bff; /* Color for the counter value */
}
/* Custom Block Styling */
.custom-statistics-block {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    text-align: center; /* Center align the text */
}

.custom-statistics-item {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.custom-statistics-item:nth-child(3) {
    color: #007bff; /* Example color for visitor counts */
}

.galleys-info {
    margin-top: 20px;
}

.galley-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.galley-item {
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}

.galley-item:last-child {
    border-bottom: none;
}

.galley-label {
    font-weight: bold;
}

.galley-views,
.galley-downloads {
    color: #777;
}

.galley-downloads {
    margin-left: 10px; /* Adds spacing between views and downloads */
}
{if $article}
    <div class="custom-statistics-block">
        <p class="custom-statistics-item">
            Abstract Views: {$article->getViews()}
        </p>
        <p class="custom-statistics-item">
            Downloads: {$article->getDownloads()}
        </p>
        <p class="custom-statistics-item">
            Visitor Counts: {$article->getVisitorCounts()}
        </p>
        
        {if isset($galleys) && $galleys|@count > 0}
            <div class="galleys-info">
                <ul class="galley-list">
                    {foreach from=$galleys item=galley}
                        <li class="galley-item">
                            <span class="galley-label">{$galley->getGalleyLabel()}</span> - 
                            <span class="galley-views">{$galley->getViews()} views</span> - 
                            <span class="galley-downloads">{$galley->getDownloads()} downloads</span>
                        </li>
                    {/foreach}
                </ul>
            </div>
        {/if}
    </div>
{/if}
