/*
Theme Name: PuanTheme
Theme URI: https://betpuanza.com
Author: Antigravity
Author URI: https://betpuanza.com
Description: Betpuanza.com Wordpress Teması
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: puantheme
*/
/* Core Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
    padding: 0;
}
body {
    min-height: 100vh;
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}
a {
    color: #82C341;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #2A2F4C;
}
ul[class],
ol[class] {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
    height: auto;
}
/* Variables */
:root {
    --brand-dark: #2A2F4C;
    --brand-green: #82C341;
    --brand-light: #ffffff;
    --bg-color: #f8fafc;
    --text-color: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --container-width: 1200px;
}
/* Layout */
.site-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.site-main {
    flex: 1 1 0%;
    min-width: 0;
    padding: 40px 0;
}
.site-sidebar {
    width: 320px;
    flex-shrink: 0;
    padding: 40px 0;
}
@media (max-width: 900px) {
    .site-container {
        flex-direction: column;
    }
    .site-sidebar {
        width: 100%;
        padding-top: 0;
    }
}
/* Header */
.site-header {
    background-color: var(--brand-dark);
    color: var(--brand-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-md);
}
.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-branding a {
    color: var(--brand-light);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-branding span {
    color: var(--brand-green);
}
/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-navigation>ul {
    display: flex;
    gap: 5px;
    align-items: center;
}
.main-navigation li {
    position: relative;
}
.main-navigation a {
    color: var(--brand-light);
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 6px;
    display: block;
}
.main-navigation a:hover {
    background-color: var(--brand-green);
    color: var(--brand-light);
}
.main-navigation li.menu-item-has-children>a::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.7;
}
/* Dropdown */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--brand-dark);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: 6px;
    z-index: 1000;
    padding: 10px 0;
}
.main-navigation li:hover>ul {
    display: block;
}
.main-navigation ul ul li {
    width: 100%;
}
.main-navigation ul ul a {
    padding: 10px 20px;
    border-radius: 0;
}
.main-navigation ul ul ul {
    top: 0;
    left: 100%;
}
/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--brand-light);
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1e2238;
        box-shadow: var(--shadow-md);
    }
    .main-navigation.is-open {
        display: block;
    }
    .main-navigation>ul {
        flex-direction: column;
        gap: 0;
    }
    .main-navigation a {
        padding: 15px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .main-navigation ul ul {
        position: static;
        display: none;
        background-color: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        min-width: 100%;
        border-radius: 0;
        padding: 0;
    }
    .main-navigation ul ul a {
        padding-left: 40px;
    }
}
/* Content Area */
.post-card {
    background: var(--brand-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}
.post-card:hover {
    box-shadow: var(--shadow-md);
}
.post-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}
.post-title a {
    color: var(--brand-dark);
}
.post-title a:hover {
    color: var(--brand-green);
}
.post-excerpt p {
    margin-bottom: 16px;
    color: var(--text-color);
    font-size: 16px;
}
/* Read More Button */
.read-more-btn {
    display: inline-block;
    background-color: var(--brand-green);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}
.read-more-btn:hover {
    background-color: #6da234;
}
/* Sidebar */
.widget {
    background: var(--brand-light);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.widget-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--brand-green);
    display: inline-block;
}
.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget li {
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 12px;
    font-size: 15px;
}
.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.widget a {
    color: var(--brand-dark);
    font-weight: 500;
}
.widget a:hover {
    color: var(--brand-green);
}
/* Footer */
.site-footer {
    background-color: var(--brand-dark);
    color: var(--brand-light);
    padding: 40px 0 30px;
    margin-top: auto;
    border-top: 4px solid var(--brand-green);
}
.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* Google PageSpeed Contrast Fix: #a3b8cc on #2A2F4C has > 4.5:1 ratio */
.footer-links a,
.site-footer p {
    color: #cbd5e1;
    font-size: 15px;
}
.footer-links a:hover {
    color: var(--brand-green);
}
.footer-brand-link {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-green) !important;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.footer-brand-link:hover {
    color: #a3d851 !important;
    text-decoration: underline;
}
.footer-copyright {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 10px;
}
/* Single Post */
.single-post-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}
.entry-content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-color);
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--brand-dark);
    font-weight: 800;
    margin: 32px 0 16px;
    line-height: 1.3;
}
.entry-content h2 {
    font-size: 28px;
}
.entry-content h3 {
    font-size: 24px;
}
.entry-content p {
    margin-bottom: 24px;
}
.entry-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
    list-style-type: disc;
}
.entry-content li {
    margin-bottom: 10px;
}
.entry-content a {
    color: var(--brand-green);
    font-weight: 600;
    text-decoration: underline;
}
.entry-content a:hover {
    color: var(--brand-dark);
}
.entry-content img {
    margin: 30px 0;
    border-radius: 12px;
}
/* Utilities */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
/* Pagination */
.pagination {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--brand-light);
    color: var(--brand-dark);
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid var(--border-color);
}
.page-numbers.current,
.page-numbers:hover {
    background: var(--brand-green);
    color: #fff;
    border-color: var(--brand-green);
}