/*
 Theme Name: Bitcoin News
 Author: twam ai
 Author URI: https://twamai.com
 Description: A WordPress theme for Bitcoin news and updates.
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: bitcoin-news
 Tags: blog, news, cryptocurrency, bitcoin
*/

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

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #1a1a1a;
    color: #f5f5f5;
    line-height: 1.6;
}

p {
    margin-bottom: 10px;
}

a {
    color: #ff5900;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

header {
    background-color: #121212;
    padding: 20px 0;
    border-bottom: 2px solid #ff5900;
}

.site-branding {
    text-align: center;
}

.site-logo {
    margin-bottom: 10px;
}

.site-logo img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
	transition: transform 0.4s ease, filter 0.4s ease;
}

.site-logo img:hover {
	transform: scale(1.15) rotate(-14deg);
	filter: brightness(1.2);
}

header .site-title {
    font-size: 2em;
    font-weight: bold;
}

header .site-title a {
    color: #ff5900;
}

nav {
    margin-top: 10px;
}

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

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

nav ul li a {
    color: #f5f5f5;
    font-size: 1.1em;
}

nav ul li a:hover {
	border-bottom: 2px solid #ff5900;
	text-decoration: none;
	transition: color 0.4s ease;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

main {
    flex: 3;
    min-width: 0;
    padding: 40px 0;
}

.sidebar {
    flex: 1;
    min-width: 250px;
    background-color: #222;
    padding: 20px;
    border-radius: 5px;
    margin-top: 40px;
	margin-bottom: 60px;
}

.sidebar h2 {
	border-bottom: 1px solid #fff;
}

.home-message {
	margin-bottom: 15px;
	border-bottom: 1px solid #fff;
}

.post {
    background-color: #222;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.post-thumbnail {
    margin-bottom: 15px;
}

.post-thumbnail img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px !important;
    border: 1px solid #ff5900 !important;
    box-sizing: border-box;
}

.post-thumbnail-home {
	margin-bottom: 15px;
}

.post-thumbnail-home img {
    max-width: 150px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px !important;
    border: 1px solid #ff5900 !important;
    box-sizing: border-box;
}

.post-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.post-title a {
    color: #ff5900;
}

.post-meta {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 10px;
}

.post-meta a {
    color: #ff5900;
    text-decoration: none;
    margin-right: 5px;
    transition: color 0.3s;
}

.post-meta a:hover {
    color: #de4f00;
}

.post-excerpt,
.post-content {
    font-size: 1em;
}

.post-content {
    line-height: 1.6;
}

.post-content ul,
.post-content ol {
    margin: 15px 0 15px 20px;
    padding-left: 20px;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 10px;
    color: #f5f5f5;
}

.post-content ul li {
    list-style-type: disc;
}

.post-content ol li {
    list-style-type: decimal;
}

.post-content ul li a,
.post-content ol li a {
    color: #ff5900;
    text-decoration: none;
    transition: color 0.3s;
}

.post-content ul li a:hover,
.post-content ol li a:hover {
    color: #de4f00;
    text-decoration: underline;
}

.widget ul,
.widget ol {
    margin: 15px 0;
    padding-left: 20px;
}

.widget ul li,
.widget ol li {
    margin-bottom: 10px;
    color: #f5f5f5;
}

.widget ul li {
    list-style-type: disc;
}

.widget ol li {
    list-style-type: decimal;
}

.widget ul li a,
.widget ol li a {
    color: #ff5900;
    text-decoration: none;
    transition: color 0.3s;
}

.widget ul li a:hover,
.widget ol li a:hover {
    color: #de4f00;
    text-decoration: underline;
}

.custom-html-area {
    background-color: #222;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.bitcoin-banner h3 {
    font-size: 1.4em;
    color: #ff5900;
    margin-bottom: 10px;
}

.bitcoin-banner p {
    font-size: 1em;
    color: #f5f5f5;
    margin-bottom: 15px;
}

.bitcoin-banner .banner-cta {
    display: inline-block;
    background-color: #ff5900;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.bitcoin-banner .banner-cta:hover {
    background-color: #de4f00;
    text-decoration: none;
}

.pagination {
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    padding: 20px 0;
}

.pagination .nav-links {
    display: inline-block;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
	margin-bottom: 7px;
    background-color: #ff5900;
    color: #000;
    border-radius: 5px;
    text-decoration: none;
	font-weight: 900;
    transition: background-color 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: #de4f00;
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}

.post-navigation {
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid #ccc;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-previous {
    text-align: left;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    display: inline-block;
    padding: 10px 15px;
    color: #f5f5f5;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.post-navigation a:hover {
    background-color: #de4f00;
    color: #f5f5f5;
}

.post-tags {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    margin: 15px 0;
    color: #999;
}

.post-tags a {
    color: #ff5900;
    text-decoration: none;
    margin-right: 10px;
    transition: color 0.3s;
}

.post-tags a:hover {
    color: #de4f00;
}

.widget {
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1.2em;
    color: #ff5900;
    margin-bottom: 10px;
}

footer {
    background-color: #121212;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #ff5900;
}

footer p {
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    header .site-title {
        font-size: 1.5em;
    }

    nav ul li {
        display: inline;
        margin-bottom: 10px;
    }

    .content-wrapper {
        flex-direction: column;
    }

    main,
    .sidebar {
        flex: 1;
        width: 100%;
    }

    .site-logo img {
        max-width: 100px;
    }

    .post-content ul,
    .post-content ol,
    .widget ul,
    .widget ol {
        margin: 10px 0 10px 15px;
        padding-left: 15px;
    }

    .post-content ul li,
    .post-content ol li,
    .widget ul li,
    .widget ol li {
        margin-bottom: 8px;
    }

    .post-thumbnail img {
        max-width: 100%;
        height: auto;
    }
	
	.post-thumbnail-home img {
		max-width: 150px;
		height: auto;
	}
}