/*
Theme Name: PunsEnjoy Child
Template: generatepress
Version: 1.0
Description: PunsEnjoy Child Theme for GeneratePress
Author: SAM Marketing Agency
*/

/* ============================================
   IMPORT PARENT THEME
============================================ */
@import url('../generatepress/style.css');

/* ============================================
   GLOBAL
============================================ */
body {
    background-color: #0d1117;
    color: #e6edf3;
    font-family: 'Segoe UI', Arial, sans-serif;
}

a {
    color: #58a6ff;
}

a:hover {
    color: #FFD700;
    text-decoration: none;
}

/* ============================================
   HEADER
============================================ */
.site-header {
    background: #161b22 !important;
    border-bottom: 2px solid #FFD700;
    padding: 0 !important;
}

.site-branding {
    padding: 12px 20px;
}

.site-title a {
    color: #FFD700 !important;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

/* ============================================
   NAVIGATION / HEADER CATEGORIES
============================================ */
.main-navigation {
    background: #1a1f2e !important;
}

.main-navigation ul li a {
    color: #e6edf3 !important;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 18px !important;
    transition: all 0.2s;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
    color: #FFD700 !important;
    background: rgba(255, 215, 0, 0.08) !important;
}

.main-navigation ul li ul {
    background: #1a1f2e !important;
    border: 1px solid #30363d;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.main-navigation ul li ul li a {
    color: #e6edf3 !important;
    font-size: 13px;
    padding: 10px 16px !important;
    border-bottom: 1px solid #21262d;
}

.main-navigation ul li ul li a:hover {
    color: #FFD700 !important;
    background: rgba(255, 215, 0, 0.06) !important;
}

/* ============================================
   CONTENT AREA
============================================ */
.content-area {
    background: transparent;
}

.entry-content p,
.entry-content li {
    color: #e6edf3 !important;
    line-height: 1.8;
}

.entry-content h2 {
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #FFD700;
}

.entry-content h3 {
    color: #e6edf3 !important;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
}

.entry-title {
    color: #ffffff !important;
}

/* ============================================
   PEJ CARDS (Article Cards)
============================================ */
.pej-wrap p {
    color: #e6edf3 !important;
}

.pej-wrap h2 {
    color: #ffffff !important;
}

.pej-wrap h3 {
    color: #e6edf3 !important;
}

.pej-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0 30px;
}

.pej-card {
    background: #1a1f2e !important;
    border: 1px solid #30363d !important;
    border-radius: 10px !important;
    padding: 18px 14px !important;
    text-align: center !important;
    flex: 1 1 200px;
    max-width: calc(33.33% - 10px);
    box-sizing: border-box;
    transition: border-color 0.2s, transform 0.2s;
}

.pej-card:hover {
    border-color: #FFD700 !important;
    transform: translateY(-2px);
}

.pej-card .emoji {
    font-size: 30px !important;
    margin: 0 0 10px 0 !important;
    display: block;
}

.pej-card .pun {
    color: #FFD700 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    margin: 0 0 6px 0 !important;
    display: block;
}

.pej-card .desc {
    color: #8b949e !important;
    font-size: 13px !important;
    margin: 0 !important;
    display: block;
}

/* Quick answer box */
.pej-wrap .quick-answer {
    background: #1a1f2e !important;
    border-left: 4px solid #FFD700;
    padding: 20px 24px;
    margin: 30px 0;
    border-radius: 6px;
}

/* ============================================
   SIDEBAR
============================================ */
.widget-area {
    background: transparent;
}

.widget {
    background: #161b22 !important;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 24px;
}

.widget-title {
    color: #FFD700 !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
    margin-bottom: 16px !important;
}

/* Sidebar Latest Articles Cards */
.widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget ul li {
    background: #1a1f2e;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px !important;
    transition: border-color 0.2s;
}

.widget ul li:hover {
    border-color: #FFD700;
}

.widget ul li a {
    color: #e6edf3 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.5;
    display: block;
}

.widget ul li a:hover {
    color: #FFD700 !important;
}

/* Category widget */
.widget_categories ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_categories ul li a {
    color: #e6edf3 !important;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: #0d1117 !important;
    border-top: 1px solid #30363d;
    padding: 40px 0 20px;
    color: #8b949e;
}

.footer-widgets {
    background: #0d1117 !important;
}

.footer-widgets .widget {
    background: #161b22 !important;
    border: 1px solid #30363d;
}

.footer-widgets .widget-title {
    color: #FFD700 !important;
    border-bottom: 2px solid #FFD700;
}

.footer-widgets .widget ul li {
    background: #1a1f2e;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px !important;
}

.footer-widgets .widget ul li a {
    color: #8b949e !important;
    font-size: 13px;
}

.footer-widgets .widget ul li a:hover {
    color: #FFD700 !important;
}

.footer-widgets .widget ul li:hover {
    border-color: #FFD700;
}

/* Footer Bottom Bar */
.footer-bar {
    background: #161b22 !important;
    border-top: 1px solid #21262d;
    padding: 16px 0;
    text-align: center;
    color: #8b949e;
    font-size: 13px;
}

.footer-bar a {
    color: #FFD700 !important;
}

/* ============================================
   ARCHIVE / BLOG CARDS
============================================ */
.post {
    background: #161b22 !important;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 24px;
    transition: border-color 0.2s, transform 0.2s;
}

.post:hover {
    border-color: #FFD700;
    transform: translateY(-2px);
}

.entry-header .entry-title a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.entry-header .entry-title a:hover {
    color: #FFD700 !important;
}

.entry-meta {
    color: #8b949e !important;
    font-size: 13px;
}

.entry-meta a {
    color: #58a6ff !important;
}

.entry-summary p {
    color: #8b949e !important;
}

/* Read more button */
.more-link,
.button,
.wp-block-button__link {
    background: #FFD700 !important;
    color: #0d1117 !important;
    border-radius: 6px !important;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
}

.more-link:hover,
.button:hover {
    opacity: 0.85 !important;
    color: #0d1117 !important;
}

/* ============================================
   SEARCH BOX
============================================ */
.search-form input[type="search"] {
    background: #1a1f2e !important;
    border: 1px solid #30363d !important;
    color: #e6edf3 !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    width: 100%;
}

.search-form input[type="search"]::placeholder {
    color: #8b949e;
}

.search-form input[type="search"]:focus {
    border-color: #FFD700 !important;
    outline: none;
}

.search-form button,
.search-submit {
    background: #FFD700 !important;
    color: #0d1117 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 16px !important;
    cursor: pointer;
    font-weight: 700;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .pej-card {
        max-width: calc(50% - 8px);
        flex: 1 1 150px;
    }
}

@media (max-width: 480px) {
    .pej-card {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

/* ============================================
   FOOTER CUSTOM
============================================ */


.pej-footer-widgets {
    background: #0d1117;
    border-top: 1px solid #30363d;
    padding: 40px 0 0;
}
.pej-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.pej-footer-col { flex: 1 1 250px; }
.pej-footer-col h3 {
    color: #FFD700 !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
    margin-bottom: 16px;
}
.pej-footer-col ul { list-style: none; padding: 0; margin: 0; }
.pej-footer-col ul li {
    background: #1a1f2e;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.pej-footer-col ul li:hover { border-color: #FFD700; }
.pej-footer-col ul li a { color: #8b949e !important; font-size: 13px; text-decoration: none; display: block; }
.pej-footer-col ul li a:hover { color: #FFD700 !important; }
.pej-footer-bar {
    background: #161b22;
    border-top: 1px solid #21262d;
    text-align: center;
    padding: 14px;
    color: #8b949e;
    font-size: 13px;
    margin-top: 30px;
}
.pej-footer-bar a { color: #FFD700 !important; }
@media (max-width: 600px) { .pej-footer-col { flex: 1 1 100%; } }

/* Hide GP default footer copyright bar only */
.site-info,
.footer-bar .site-info {
    display: none !important;
}
