@charset "UTF-8";
/*
Theme Name: ado
Text Domain: ado
Author: Aswin Doekhie
Author URI: https://adras.xyz
Description: This my personal website design for use on non-commercial homepages
Tags: two-column, footer-widget, sidebar, header, agnella, expressway
Requires at least: 5.0
Requires PHP: 5.2.4
License: GNU GPL
*/ 
/* Font Definitions (Kept as they define typography) */
@font-face {
    font-family: "expresswayrg";
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url('./assets/fonts/expresswayrg.ttf') format("truetype");
}

@font-face {
    font-family: gnuolanerg;
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url('./assets/fonts/gnuolanerg.ttf') format("truetype");
}

@font-face {
    font-family: 'Mangal';
    src: url('./assets/fonts/Mangal.ttf.woff') format('woff'),
         url('./assets/fonts/Mangal.ttf.svg#Mangal') format('svg'),
         url('./assets/fonts/Mangal.ttf.eot'),
         url('./assets/fonts/Mangal.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Agnella-Bold';
    src: url('./assets/fonts/Agnella-Bold.ttf.woff') format('woff'),
         url('./assets/fonts/Agnella-Bold.ttf.svg#Agnella-Bold') format('svg'),
         url('./assets/fonts/Agnella-Bold.ttf.eot'),
         url('./assets/fonts/Agnella-Bold.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

/* Base Reset and Global Styles - Sleek Foundation */
* {
    margin: 0;
    padding: 0;
}

html, body {
    border: none;
    margin: 0;
    padding: 0;
    /* Changed background to a very light, cool gray for a modern feel */
    font-family: 'expresswayrg', sans-serif; 
    background-color: #f4f7f9; 
    color: #2c3e50; /* Dark navy for primary text */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Agnella-Bold', sans-serif;
    text-transform: uppercase;
    display: block;
    color: #2c3e50; /* Consistent dark color for headings */
}

.post h1, h2, h3, h4, h5, h6 {
    padding: 0.5em 0 0.5em 0;
}

p {
    text-align: left;
    padding: 5px 0px;
    line-height: 1.6em; /* Slightly increased line height for readability */
}

a {
    text-decoration: none;
    color: #3498db; /* Primary link color: Bright, sleek blue */
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9; /* Darker blue on hover */
}

/* Header Styles - Deep, professional look */
#header {
    width: 100%;
    background-color: #1a2330; /* Deep charcoal/navy */
    color: #ecf0f1; /* Light text on dark header */
}

.header_content {
    width: 85%; /* Slightly wider content area */
    margin: 0 auto;
}

.header_title {
    padding-top: 30px; /* Reduced padding for a less imposing header */
}

#main {
    width: 100%;
    height: auto;
}

/* Footer Styles - Dark contrast */
#footer {
    min-height: 20vh;
    width: 100%;
    background-color: #2c3e50; /* Dark blue/charcoal footer */
}

.main_content {
    width: 75%;
    margin: 0 auto;
    background-color: #ffffff; /* Pure white content area */
    padding: 20px 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Content and Layout - Modern structure */
.content {
    width: 75%;
    float: right;
    margin-right: 1.5%;
    font-family: Arial, sans-serif;
    color: #333;
}

.sidebar {
    float: left;
    height: 100%;
    min-width: 20%;
    max-width: 20%;
    padding: 20px;
    background-color: #ecf0f1; /* Very light gray sidebar */
    border: 1px solid #bdc3c7; /* Soft border */
    border-radius: 8px; /* Softer corners */
}

.sidebar h3 {
    padding-left: 0;
    color: #2c3e50;
}

.sidebar ul li a {
    text-decoration: none;
    color: #34495e; /* Darker text for sidebar links */
}

.sidebar ul li {
    list-style-type: none;
    line-height: 1.6em;
}

.sidebar a:hover {
    color: #3498db; /* Primary blue hover state */
}

/* Clearfix */
.main_content::after {
    content: " ";
    display: table;
    clear: both;
    margin-bottom: 30px;
}

.post {
    padding: 15px;
    margin-top: 15px;
    line-height: 1.6em;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0; /* Lighter, cleaner border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Very subtle lift */
}

/* Headings within posts */
h3, h4 {
    color: #e74c3c; /* Accent color: A modern, vibrant red/coral */
}

h3 a {
    color: #2c3e50;
}

/* Table and Blockquotes */
table.item {
    border-collapse: collapse; /* Ensures cleaner table lines */
}

blockquote { 
    display: block;
    margin: 1.5em 40px;
    padding-left: 15px;
    border-left: 4px solid #3498db; /* Accent line for quotes */
    color: #555;
}

ul {
    padding-left: 20px;
}

/* Footer Styling */
.footer_content {
    padding: 30px 0;
    width: 75%;
    color: #bdc3c7; /* Lighter text on dark footer */
    margin: 0 auto;
}

table.footer td {
    border-left: 4px solid #3498db; /* Using primary blue for footer accents */
    padding-left: 25px;
}

.footer_content a {
    color: #ecf0f1; /* Light color for footer links */
}

.footer_content a:hover {
    color: #3498db;
}

.copyright {
    padding-top: 25px;
    color: #bdc3c7;
    font-size: 0.9em;
}

/* Post Specific Links */
td.edit_post a {
    text-decoration: none;
    text-transform: uppercase;
    color: #3498db;
}

.post p a {
    color: #3498db;
}

.post p a:hover {
    color: #2980b9;
}

.post h2 {
    color: #3498db; /* Blue accent for H2s in posts */
}

.post figure {
    padding: 10px 0;
}

.post p {
    padding: 0;
}

/* Search/Form Styling */
.header_content input {
    border-radius: 4px;
    border: 1px solid #ccc;
    transition: border-color 0.3s;
}

.header_content input:focus {
    border-color: #3498db;
    outline: none;
}

.header_content label {
    color: #ecf0f1;
    display: none;
}

.header_content input#searchsubmit {
    background-color: #f0f0f0;
    color: #3498db; 
    border: 1px solid #ccc;
}

/* Content Paragraph Refinements */
.content p {
    padding: 0px 5px;
    margin-bottom: 0.75em;
    font-size: 0.95em;
}

p.aff {
    font-size: small;
    color: #7f8c8d; /* Muted color for affiliate links */
}

/* Widgets and Blocks */
.tweet_block {
    height: 75vh;
    overflow: hidden;
    margin: -1em 0 -1em 0;
    border: 1px solid #3498db;
    border-radius: 8px;
    background-color: #fff;
}

h2.topbar {
    background-color: #eaf2f8; /* Very light blue header */
    padding-left: 15px;
    border-radius: 5px;
    border: 1px solid #3498db;
}

.menu {
    margin-bottom: 25px;
    border-radius: 15px;
    padding: 15px;
    width: auto;
    background-color: #f9f9f9;
    border: 1px solid #eee;
}

ul.sub-menu li a {
    font-size: 0.9em;
    margin-left: 15%;
}

.menu a:hover {
    color: #3498db;
}

h4 {
    padding-left: 10px;
}

/* Pagination Styling */
li.pagenav {
    list-style-type: none;
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 10px;
    font-size: small;
    border: 1px solid #ddd;
}

li.pagenav h3 {
    margin-left: -10px;
    color: #2c3e50;
}

li.pagenav li.page_item {
    padding: 5px 0px;
}

.bloginfo {
    background-color: #ecf0f1;
    width: 75%;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    opacity: 0.8;
    border: 1px solid #bdc3c7;
}

.post img {
    max-width: 100%;
    height: auto;
    display: block; /* Helps control spacing below images */
}

/* Separators */
hr.topline, .wp-block-separator {
    background-color: #e0e0e0; 
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

hr.profile {
    background-color: #e0e0e0; 
    border: 1px solid #e0e0e0;
    margin: 0 10px 10px 10px;
}

.post p strong {
    font-family: 'expresswayrg', sans-serif;
    color: #3498db; /* Primary blue for strong text */
    font-weight: normal;
}

/* Floating Action Button - Replaced harsh red with a sleek primary color */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #3498db; /* Sleek primary blue */
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#myBtn:hover {
    background-color: #2980b9;
}

/* Table Styles */
table.header_table {
    padding-bottom: 2.5%;
}

.post table.buffer {
    width: 100%;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

figure.wp-block-table {
    width: 100%;
}

.bloginfo h1 {
    font-family: Helvetica, sans-serif;
    text-transform: capitalize;
    color: #2c3e50;
}

/* Media Queries (No significant color changes needed, structure remains the same) */
@media only screen and (max-width: 768px) {
    .content {
        float: none;
        clear: both;
        width: 100%;
    }
    .sidebar {
        float: none;
        clear: both;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .main_content::after {
        clear: both;
        float: none;
    }
    table.header_table, td.spacer {
        display: none;
    }
    .bloginfo {
        width: 100%;
    }
    .main_content {
        width: 90%;
    }
    .header_content {
        width: 90%;
    }
}

@media only screen and (max-width: 1024px) {
    .content {
        margin-right: 0;
    }
    .sidebar {
        /* No specific changes needed here based on original */
    }
    table.header_table, td.spacer {
        display: none;
    }
    .bloginfo {
        width: 100%;
    }
    .main_content {
        width: 90%;
    }
    .header_content {
        width: 90%;
    }
}

@media only screen and (max-width: 1600px) {
    td.spacer {
        display: none;
    }
}