/*
Theme Name: Career Wings
Theme URI: https://careerwings.com
Author: Career Wings Team
Author URI: https://careerwings.com
Description: A professional WordPress theme for Career Wings website, featuring modern design and career-focused functionality.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: careerwings
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, education, career
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-area {
    width: 100%;
}

.site-content {
   
}

/* Two Column Layout */
.has-sidebar .content-area {
    width: 70%;
    float: left;
    padding-right: 40px;
}

.has-sidebar .sidebar {
    width: 30%;
    float: right;
}

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

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.site-branding {
    float: left;
}

.site-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: #0066cc;
}

.site-description {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0;
}

.custom-logo-link {
    display: inline-block;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-navigation {
    float: right;
    margin-top: 15px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    display: inline-block;
    position: relative;
    margin-left: 30px;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.main-navigation a:hover {
    color: #0066cc;
}

/* Dropdown Menu */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.main-navigation li:hover > ul {
    opacity: 1;
    visibility: visible;
}

.main-navigation ul ul li {
    display: block;
    margin: 0;
}

.main-navigation ul ul a {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: #0066cc;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

/* ==========================================================================
   Posts & Pages
   ========================================================================== */

.post,
.page {
    
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

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

.entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.entry-meta a {
    color: #666;
}

.entry-meta a:hover {
    color: #0066cc;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-thumbnail {
    margin-bottom: 20px;
}

.entry-thumbnail img {
    border-radius: 8px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content a {
    color: #0066cc;
}

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

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin: 30px 0 15px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

.entry-content h1 {
    font-size: 2.5rem; /* 40px */
    margin-top: 40px;
}

.entry-content h2 {
    font-size: 2rem; /* 32px */
    margin-top: 35px;
}

.entry-content h3 {
    font-size: 1.5rem; /* 24px */
    margin-top: 30px;
}

.entry-content h4 {
    font-size: 1.25rem; /* 20px */
    margin-top: 25px;
}

.entry-content h5 {
    font-size: 1.125rem; /* 18px */
    margin-top: 25px;
}

.entry-content h6 {
    font-size: 1rem; /* 16px */
    margin-top: 20px;
    font-weight: 700;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0 20px 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
}

.more-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: #0066cc;
    color: #fff;
    border-radius: 4px;
}

.more-link:hover {
    background: #004499;
    color: #fff;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.comment-content {
    line-height: 1.7;
}

.reply {
    margin-top: 10px;
}

.reply a {
    font-size: 14px;
    color: #0066cc;
}

/* ==========================================================================
   Sidebar & Widgets
   ========================================================================== */

.sidebar {
    font-size: 15px;
}

.widget {
    margin-bottom: 40px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
}

.widget-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: #333;
}

.widget a:hover {
    color: #0066cc;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #222;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget {
    padding: 0;
}

.footer-widget .widget-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-widget a {
    color: #ccc;
}

.footer-widget a:hover {
    color: #fff;
}

.site-info {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    font-size: 14px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    margin: 40px 0;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f0f0f0;
    color: #333;
    border-radius: 4px;
}

.page-numbers:hover,
.page-numbers.current {
    background: #0066cc;
    color: #fff;
}

/* ==========================================================================
   Forms
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    margin-bottom: 15px;
}

input[type="submit"],
button[type="submit"] {
    background: #0066cc;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    background: #004499;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .site-branding,
    .main-navigation {
        float: none;
        text-align: center;
    }

    .menu-toggle {
        display: block;
        margin: 20px auto 0;
    }

    .main-navigation ul {
        display: none;
        margin-top: 20px;
    }

    .main-navigation.toggled ul {
        display: block;
    }

    .main-navigation li {
        display: block;
        margin: 0;
    }

    .main-navigation a {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: #f9f9f9;
    }

    .has-sidebar .content-area,
    .has-sidebar .sidebar {
        width: 100%;
        float: none;
        padding: 0;
    }

    .entry-title {
        font-size: 28px;
    }

    /* Responsive heading sizes for entry-content */
    .entry-content h1 {
        font-size: 2rem; /* 32px on mobile */
    }

    .entry-content h2 {
        font-size: 1.75rem; /* 28px on mobile */
    }

    .entry-content h3 {
        font-size: 1.375rem; /* 22px on mobile */
    }

    .entry-content h4 {
        font-size: 1.125rem; /* 18px on mobile */
    }

    .entry-content h5 {
        font-size: 1rem; /* 16px on mobile */
    }

    .entry-content h6 {
        font-size: 0.875rem; /* 14px on mobile */
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
