/*
Theme Name: Free Predictz Clone
Theme URI: https://free-predictz.blogspot.com/
Author: AI Developer
Description: Exact replica theme of Free Predictz Blogger template structured for WordPress.
Version: 1.0.0
License: GNU General Public License v2 or later
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;
    font-size: 10px;
    color: #cccccc;
    background: #444444 none repeat scroll top left;
    padding: 0 40px 40px 40px;
    line-height: 1.45;
}

a:link {
    text-decoration: none;
    color: #d52c1f;
}

a:visited {
    text-decoration: none;
    color: #dd7700;
}

a:hover {
    text-decoration: underline;
    color: #ededed;
}

/* Page Frame Structure */
#page-wrapper {
    max-width: 1060px;
    margin: 0 auto;
    background-color: #242424;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
}

/* Header System */
#site-header {
    background: #000000;
    padding: 30px;
    text-align: left;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #333333;
}

#site-header h1 {
    font-family: Arial, Tahoma, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 18px;
	
}

#site-header h1 a {
    color: #ffffff;
	
}

#site-header p.description {
    font-size: 14px;
    color: #aaaaaa;
}

/* Navigation / Menu System */
#primary-nav {
    background-color: #222222;
    border-bottom: 1px solid #333333;
}

#primary-nav ul {
    list-style: none !important;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

#primary-nav ul li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

#primary-nav ul li a {
    display: block;
    padding: 6px 18px;
    background: #676;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #444;
    font-size: 14px;
}

#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item > a,
#primary-nav ul li.selected > a {
    background: #8B0000;
    color: #fff;
    text-decoration: none;
}

/* Grid Layout Columns (3-Column Free Predictz Structure) */
#main-container {
    display: flex;
    padding: 30px 15px;
    gap: 15px;
}

.sidebar-left {
    width: 200px;
    flex-shrink: 0;
}

.sidebar-right {
    width: 260px;
    flex-shrink: 0;
}

#main-content {
    flex-grow: 1;
    min-width: 0;
    padding: 0 15px;
}

/* Widgets Styling */
.widget-area h2, 
.widget-area h2.widgettitle,
.widget-area h2.title {
    font-size: 12px;
    font-weight: bold;
    color: #ededed;
    margin-bottom: 1em;
    text-transform: uppercase;
}

.widget-area .widget {
    margin-bottom: 25px;
}

.widget-area ul {
    list-style: none;
}

.widget-area ul li {
    padding: 6px 0;
    border-bottom: 1px dashed #404040;
}

/* Prediction Tables (Exact match style) */
table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

table th:nth-child(1),
table td:nth-child(1) {
    width: 30px;
}

table th:nth-child(2),
table td:nth-child(2) {
    width: 330px;
}

table th:nth-child(3),
table td:nth-child(3) {
    width: 110px;
    text-align: center;
}

table th:nth-child(4),
table td:nth-child(4) {
    width: 80px;
    text-align: center;
}

table td img {
    vertical-align: middle;
    display: inline-block;
    margin-right: 6px;
}

table td {
    vertical-align: middle;
    white-space: nowrap;
    line-height: 1.5;
}

/* Post Styling */
.post-entry {
    margin-bottom: 25px;
}

.post-title {
    font-size: 22px;
    font-weight: normal;
    margin: .5em 0;
}

.post-title a {
    color: #ffffff;
}

.post-body {
    font-size: 110%;
    line-height: 1.5;
    color: #cccccc;
}

/* Footer System */
#site-footer {
    background: #222222;
    padding: 20px;
    text-align: center;
    border-top: 1px dashed #bbbbbb;
    font-size: 11px;
    color: #cccccc;
}

#site-footer a {
    color: #dd7700;
}

/* Responsive Scaling Rules */
@media (max-width: 900px) {
    #main-container {
        flex-direction: column;
    }
    .sidebar-left, .sidebar-right {
        width: 100%;
    }
    body {
        padding: 0 10px 10px 10px;
    }
}
