/*
Theme Name: Icons Paradise Custom Theme
Theme URI: http://iconsparadise.com
Author: Icons Paradise
Description: Custom WordPress theme matching the original Icons Paradise design
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-theme
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

a {
    color: #FF6347;
    text-decoration: none;
}

a:hover {
    color: #E24932;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 15px;
}

.row-fluid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.span8 {
    width: 66.66%;
    padding-right: 20px;
}

.span4 {
    width: 33.33%;
}

.span12 {
    width: 100%;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Header Styles */
#header {
    background: #fff;
}

#mainmenu-block-bg {
    background: #FF6347;
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

.navigation {
    margin: 0;
}

#menu {
    display: flex;
    align-items: center;
}

#megaMenu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

#megaMenu li {
    list-style: none;
    margin: 0 10px;
    position: relative;
}

#megaMenu li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: 400;
}

#megaMenu li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

#megaMenu .menu-item-home img {
    max-height: 40px;
}

/* Content Area */
#content {
    background: #fff;
    padding: 40px 0;
    margin-top: 20px;
}

#blog-entry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Post Blocks */
.masonry-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.post-block {
    display: flex;
    flex-direction: column;
}

.entry-header {
    background: #f8f8f8;
    padding: 15px 20px;
}

.entry-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.entry-title a {
    color: #333;
}

.entry-title a:hover {
    color: #FF6347;
}

.entry-thumb {
    padding: 0;
    text-align: center;
    overflow: hidden;
}

.entry-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-meta {
    padding: 15px 20px;
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 15px;
    align-items: center;
}

.entry-meta i {
    margin-right: 5px;
}

.entry-date {
    color: #999;
}

.meta-views,
.meta-likes {
    color: #999;
}

/* Sidebar */
#secondary {
    padding-left: 20px;
}

.widget {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF6347;
    color: #333;
}

.widget img {
    max-width: 100%;
    height: auto;
}

.tagcloud {
    line-height: 1.8;
}

.tagcloud a {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    background: #f0f0f0;
    color: #666;
    font-size: 12px;
    border-radius: 3px;
}

.tagcloud a:hover {
    background: #FF6347;
    color: #fff;
}

/* Pagination */
.container-pagination {
    background: #fff;
    padding: 20px 0;
    margin-top: 20px;
}

.pagination {
    text-align: center;
    padding: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background: #f0f0f0;
    color: #333;
    border-radius: 3px;
}

.pagination a:hover,
.pagination .current {
    background: #FF6347;
    color: #fff;
}

/* Footer */
#footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 40px;
}

#footer a {
    color: #FF6347;
}

#footer a:hover {
    color: #fff;
}

.copyright-info {
    font-size: 13px;
    line-height: 1.8;
}

.add-info {
    font-size: 13px;
    line-height: 1.8;
    text-align: right;
}

/* Single Post Styles */
.single-post-content {
    background: #fff;
    padding: 40px;
    margin-bottom: 20px;
}

.single-post-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.single-post-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.single-post-content .entry-content {
    font-size: 15px;
    line-height: 1.8;
}

.single-post-content .entry-content p {
    margin-bottom: 15px;
}

.single-post-content .entry-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .span8,
    .span4 {
        width: 100%;
        padding: 0;
    }

    #blog-entry {
        grid-template-columns: 1fr;
    }

    #secondary {
        padding-left: 0;
        margin-top: 20px;
    }

    .add-info {
        text-align: left;
        margin-top: 20px;
    }

    #megaMenu {
        flex-direction: column;
    }
}
