/*
 Theme Name: Dr Resume
 Theme URI: https://developerravi.com/dr-resume
 Author: Ravi Khadka
 Author URI: https://developerravi.com/
 Description: A clean and professional WordPress theme for displaying a resume.
 Version: 1.0.2
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: dr-resume
 Tags: blog, one-column, custom-background, custom-logo, custom-menu, editor-style, featured-images, accessibility-ready
 Domain Path: /languages
 Requires at least: 5.0
 Tested up to: 6.5
 Requires PHP: 7.0
 Copyright: (c) 2025 Ravi Khadka
 This theme is licensed under the GPL.
*/
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
}

.main-content {
    flex: 3;
    min-width: 600px;
}

.sidebar {
    flex: 1;
    min-width: 300px;
    margin-left: 20px;
}

header {
    background: #2c3e50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    margin: 5px 0;
    font-size: 1.2em;
}

nav {
    background: #34495e;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Improved focus styles for dark backgrounds */
nav ul li a:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.section {
    background: #fff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section h2 {
    color: #2c3e50;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 10px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

footer {
    text-align: center;
    padding: 20px;
    background: #2c3e50;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Accessibility: Ensure focus styles are visible */
a:focus, button:focus, input:focus {
    outline: 2px solid #2c3e50;
    outline-offset: 2px;
}

/* Underline links in block-level content */
.entry-content a,
.comment-content a,
.textwidget a {
    text-decoration: underline;
}

.entry-content a:hover,
.comment-content a:hover,
.textwidget a:hover {
    text-decoration: none;
}

/* Screen reader text */
.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;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Recommended CSS classes */
.sticky {
    border: 2px solid #2c3e50;
}

.bypostauthor {
    background: #f9f9f9;
}

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

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

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
    border: 1px solid #ccc;
    padding: 5px;
}

.wp-caption-text {
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

.gallery-caption {
    font-size: 0.8em;
    color: #666;
}