/*
Theme Name: The Flyx
Theme URI: https://www.theflyx.com
Author: The Flyx
Text Domain: TheFlyx
*/

html {
    height: 100%;
    font-size: 16px; /* Adjusted for better readability */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

html, body {
    background: #F6F7F8;
    color: #232323;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

*, *::before, *::after {
    box-sizing: inherit; /* Ensure all elements use the same box-sizing */
}

.container {
    max-width: 720px;
    padding: 1rem;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 600px) {
    .container {
        padding: 0.5rem; /* Reduced padding for mobile */
    }
}

.ololo {
    word-wrap: break-word;
    overflow: hidden;
    font-size: 0.85em;
    text-align: center;
    width: 100%;
}

.menu_ico {
    margin-right: 10px;
    display: block;
    width: 18px;
    padding: 4px 0px 1px 0px;
    cursor: pointer;
}

.menu_ico img {
    width: 18px;
}

.menu_icon {
    fill: #808080;
}

.menu_icon:hover {
    fill: #000;
}

.masthead {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.masthead .logo, .masthead .bio {
    flex-grow: 1;
}

.masthead .bio {
    text-align: right;
}

.masthead .site_title {
    display: inline-block;
    padding: 0 8px;
}

.post-list {
    margin: 4rem 0 0;
    padding: 0;
}

.post-list .post {
    margin-bottom: 1rem;
    padding: 0;
    list-style: none;
}

.post-list .post h2 {
    display: block;
    font-size: 1.5rem; /* Improved readability */
    line-height: 1.2;
}

.post-list .post .post-date {
    display: block;
}

.post-class-v {
    background: #FFFFFF;
    padding: 10px 30px 20px 30px !important;
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}

.post-class-v:hover {
    box-shadow: 0px 5px 6px 0px rgba(50, 50, 50, 0.27);
}

.more-link {
    background: #F7F8F9;
    border-radius: 2px;
    text-transform: lowercase;
    padding: 0px 4px;
    font-size: .8rem;
}

.more-link:hover,
.more-link a {
    background: #FFA000;
}

.article_title_container {
    margin: 4rem auto 2rem;
}

.article_meta_footer {
    margin: 10px 0;
}

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

.wp-caption {
    max-width: 100%;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
    float: none;
    margin: .5rem auto;
}

.wp-caption .wp-caption-text {
    padding: 0 .2rem .5rem .2rem;
    margin: 0;
	font-size: 0.75rem;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
   : 0;
    width: 100%;
    height: 100%;
}

.masthead, .article_meta, .post-date, .com-data {
    text-transform: uppercase;
    font-size: .75rem; /* Improved readability */
    letter-spacing: 0.1em;
}

.masthead a, .article_meta a, .post-date a, .com-data a {
    text-decoration: none;
}

.article_title {
    font-size: 2.2rem; /* Improved readability */
    line-height: 1.1;
}

.article_tags {
    text-transform: uppercase;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #ffffff;
    word-wrap: break-word;
}

ul.tags {
    margin: 0;
    padding: 0;
}

ul.tags li {
    display: inline-block;
    margin-bottom: 1px !important;
}

ul.tags li a {
    background: #C8C8C8;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: light;
    padding: 1px 6px;
    text-shadow: 1px 1px 1px #CECECE;
    text-decoration: none;
    color: #fff;
    transition: background-color .5s ease;
    border-radius: 2px;
    margin-right: 3px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0.5em 0;
}

h1 {
    font-size: 1.75rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

a {
    color: #D6497B;
    text-decoration: none;
    transition: color 300ms ease-in-out;
}

a:hover {
    color: #D6497B;
}

.post-class-v a {
    color: #3d29e3;
    text-decoration: none;
    transition: color 300ms ease-in-out;
}

.site_title {
    background: #D6497B;
    color: #FFF;
    border-radius: 2px;
    font-size: 1rem;
}

.site_title a {
    color: #FFF;
}

.logo a:hover {
    color: #D6497B !important;
    background: #FFF;
}

blockquote {
    margin: 0;
    background: white;
    border-radius: 2px;
    color: #3A3C55;
    padding: 30px;
    position: relative;
    font-weight: 300;
}

blockquote:before {
    content: "\201C";
    font-family: serif;
    position: absolute;
    left: 20px;
    top: 20px;
    color: white;
    background: #FF2525;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 50px;
    line-height: 1.35;
    text-align: center;
}

blockquote p {
    margin: 0 0 16px;
    font-size: 1rem;
    letter-spacing: .05em;
    line-height: 1.6; /* Improved readability */
    word-wrap: break-word;
}

blockquote cite {
    font-style: normal;
}

p {
    font-size: 1.2rem;
    line-height: 1.6; /* Improved readability */
    margin: 0 0 1.5rem;
}

ol, ul {
    font-size: 1.2rem;
    margin: 0 0 1.5rem 1.5rem;
    padding: 0;
	
}
li {
	line-height: 1.6;
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    width: 300px;
    margin: 2rem auto;
}

.muted {
    color: #373737;
}

.alt-char {
    font-family: 'Baskerville', 'Georgia', serif;
}

.cat {
    text-transform: uppercase;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #000;
}

.cat a {
    color: #4C5661;
    margin-right: 3px;
    border-radius: 25px;
    padding: 1px 10px;
    background: #F6F7F8;
}

.cat a:hover {
    background: #E0E0E0;
}

.post-list .post .post-link,
.post-list .post h2 {
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: bold;
    color: #2F2F2F;
}

.post-list .post h2:hover {
    color: #090909;
}

.post-list .post .post-date .com-dat {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #373737;
}

.counter_v {
    max-width: 35px;
    max-height: 35px;
    background: #F6F7F8;
    width: 65px;
    height: 65px;
    line-height: 65px;
    border-radius: 50%;
    text-align: center;
    padding: 4px 6px;
    margin-left: -50px;
    margin-right: 5px;
    box-shadow: -2px 0px 1px 0px rgba(50, 50, 50, 0.22) inset;
}

.clear {
    clear: both;
}

.float_left {
    float: left;
}

.float_right {
    float: right;
}

.comment-list {
    margin: 0 !important;
}

.comment-list li {
    list-style: none;
    margin: 0 !important;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #FFF;
    padding: 1px;
}

textarea, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], input[type="url"] {
    border: 1px solid #ddd;
    color: #000;
    display: block;
    font-size: 1rem; /* Improved readability */
    margin: 0 0 15px 0;
    padding: 15px;
    width: 100%;
}

input.button, input[type="button"], input[type="submit"] {
    background: #3D474C;
    border: none;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    padding: 14px 24px;
    border-radius: 2px;
}

input[type="button"]:hover, input.button:hover, input[type="submit"]:hover {
    background: #113B52;
    cursor: pointer;
}

.comment-body {
    background: #FFF;
    padding: 8px 10px;
    border-radius: 2px;
    margin: 5px 0;
}

.bypostauthor {
    background: #DDE1E7;
    padding: 1px;
    border-radius: 2px;
    margin: 0 5px;
}

.comment-metadata {
    padding-left: 55px;
    font-size: 0.75rem;
    line-height: 1.2;
    color: #000;
}

.comment-reply-title {
    font-size: 1.25rem;
}

.comment-reply-title a {
    font-size: 1.25rem;
    color: #14C143 !important;
}

#cancel-comment-reply-link {
    font-size: 1.25rem;
    color: #000 !important;
}

#cancel-comment-reply-link a {
    font-size: 1.25rem;
    color: #000 !important;
}

.comment-reply-title h3 {
    font-size: 1.25rem;
}

.comments-title {
    font-size: 1.5rem;
}

.comments-title h3 {
    font-size: 1.5rem;
}

.comment .reply {
    float: right;
    margin-top: -15px;
    margin-bottom: 15px;
    font-size: 0.75rem;
    color: #767676;
}

.comment .comment-reply-link {
    font-size: 0.75rem;
    color: #767676;
}

.comment .comment-reply-link a:hover {
    color: #000;
}

.comment-author {
    padding-left: 55px;
    position: relative;
}

.bypostauthor .comment-author cite {
    font-weight: 700;
}

.comment-author .says {
    display: none;
}

.comment-awaiting-moderation {
    font-size: 1rem;
    font-style: italic;
    padding-left: 50px;
}

.comment-meta {
    font-size: 1rem;
}

.comment-meta a {
    color: #767676;
}

.comment-meta a:hover {
    color: #000;
}

b, strong {
    font-weight: 700;
}

dfn, q, cite, em, i {
    font-style: italic;
}

q {
    quotes: "" "";
}

cite {
    border-bottom: dotted 1px #999;
}

code, kbd, tt, var {
    color: #555;
    border-bottom: solid 1px #ccc;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 87.5%;
}

abbr, acronym {
    border-bottom: 1px dotted #999;
    cursor: help;
}

mark, ins {
    background-color: #fffad3;
    color: #333;
    text-decoration: none;
}

.pagination {
    margin-bottom: 11px;
}

.pagination-older {
    background-color: #393C3F;
    border-radius: 2px;
    float: left;
    text-align: center;
}

.pagination-older a {
    color: #FFF;
    padding: 2px 12px;
}

.pagination-newer {
    background-color: #393855;
    border-radius: 2px;
    float: right;
    text-align: center;
}

.pagination-newer a {
    color: #FFF;
    padding: 2px 12px;
}

.dpdmenu {
    margin: 0;
    background: #FFFFFF;
    border-radius: 2px;
    color: #3A3C55;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    line-height: 1.2;
}

@media (max-width: 600px) {
    .dpdmenu {
        font-size: 0.85rem; /* Improved readability */
    }
}

#srchf {
    margin: 0 auto;
    background: #F0F0F0;
    border-radius: 2px;
    color: #3A3C55;
    padding: 10px 0;
    width: 100%;
}

.nav__search form {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.nav__search input {
    width: 100%;
    padding: 15px;
    background: #FFF;
    border: 1px solid #ddd;
    font-size: 1rem;
    color: #D649B;
    outline: none;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .nav__search input {
        font-size: 0.85rem; /* Improved readability */
    }
}

input.go, input[type="button"].go, input[type="submit"].go {
    background: url(././img/search.svg) no-repeat;
    height: 18px;
    width: 18px;
    border: none;
    margin: 12px 0 0 -40px;
    cursor: pointer;
    outline: none;
    position: absolute;
    right: 15px; /* Adjusted for better placement */
}

input.go:hover, input[type="button"].go:hover, input[type="submit"].go:hover {
    background: url(././img/search.svg) no-repeat;
    height: 18px;
    width: 18px;
    border: none;
    cursor: pointer;
    outline: none;
}

#footer {
    display: flex;
    flex-wrap: wrap;
    padding: 1.5em;
    width: 100%;
    margin: 2em 0;
    background: #F6F7F8;
}

#footer > * {
    width: 100%;
    margin-bottom: 1em;
}

#footer .copyright {
    font-size: 1rem;
    text-align: center;
    color: #363636;
}

#footer .copyright a {
    text-decoration: none !important;
    color: #363636;
}

#footer .copyright a:hover {
    color: #B90000;
}

#footer .copy {
    border-top: 1px dashed #ccc;
    padding: 2em 1em;
    font-size: 1rem;
    color: #000;
    text-align: center;
}

@media (max-width: 1280px) {
    #footer {
        padding: 1em 3em;
    }
}

@media (max-width: 980px) {
    #footer {
        padding: 2em 3em;
        display: block;
        margin: 0;
    }
}

@media (max-width: 736px) {
    #footer {
        padding: 2em;
    }
}

@media (max-width: 480px) {
    #footer {
        padding: 1.5em;
    }
}