/*
Theme Name: Radiant WP
Theme URI: https://armandohg123.tumblr.com
Author: Armando HG
Description: WordPress port of the Radiant Tumblr theme - 3-column layout with teal left sidebar, orange right sidebar, and clean content area.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: radiant-wp
*/

/* ==========================================================================
   Google Fonts + Reset
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Rancho&family=Gudea:ital,wght@0,400;0,700;1,400&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    transition: all 0.25s;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-size: 14px;
    font-family: 'Gudea', Helvetica, Arial, sans-serif;
    background-color: #222;
    min-height: 100%;
    line-height: 1.4;
    color: #333;
}

blockquote {
    margin: 1em 0;
    padding: 0 0 0 12px;
    border-left: 4px solid rgba(0,0,0,0.1);
}

h1, h2, h3, h4 {
    font-family: 'Rancho', serif;
    font-weight: normal;
}

h2 { font-size: 2.8em; margin: 0.3em 0; }

img { max-width: 100%; vertical-align: middle; }
a { text-decoration: none; }

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

#page-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    min-height: 100vh;
}

/* LEFT SIDEBAR */
#sidebar-left {
    width: 270px;
    min-width: 270px;
    background-color: #2d6b7d;
    color: #fff;
    position: relative;
    box-shadow: -20px 0 0 rgba(0,0,0,0.1);
    z-index: 10;
}

#sidebar-left .sbinner {
    padding: 0 20px 20px 20px;
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
}

/* RIGHT SIDEBAR */
#sidebar-right {
    width: 270px;
    min-width: 270px;
    background-color: #b66421;
    color: #fff;
    position: relative;
    box-shadow: 20px 0 0 rgba(0,0,0,0.1);
    z-index: 10;
}

#sidebar-right .sbinner {
    padding: 0 20px 20px 20px;
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
}

/* MAIN CONTENT */
#main {
    flex: 1;
    background-color: #e2e3ea;
    color: #333;
    min-height: 100vh;
    position: relative;
    z-index: 5;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

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

#site-header {
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    box-shadow: 0px 5px 0px 0px rgba(0,0,0,0.2), inset 0px 0px 0px 0px rgba(0,0,0,0.25);
    position: relative;
    z-index: 12;
    overflow: hidden;
}

/* Header with background image — zero padding, zero margin, no grey */
#site-header.has-header-image {
    background-image: var(--header-bg-image);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    box-shadow: none !important;
}

#site-header h1 {
    font-size: 3em;
    margin: 0.4em 20px;
    display: inline-block;
}

#site-header h1 a {
    color: #fff;
    text-decoration: none;
}

#site-header h1 a:hover {
    opacity: 0.6;
}

#site-header .site-description {
    font-family: 'Rancho', serif;
    font-size: 1.6em;
    color: #fff;
    margin: 0.3em 20px 0.6em;
    opacity: 0.85;
    display: block;
}

/* ==========================================================================
   Sidebar Common
   ========================================================================== */

.sidebar h3 {
    font-size: 1.8em;
    margin: 0.6em 0;
    color: #fff;
}

.sb-item {
    margin: 0 0 10px 0;
    display: block;
    overflow: hidden;
    position: relative;
    clear: both;
}

/* Search */
.sb-search .search-form {
    background-color: rgba(0,0,0,0.3);
    margin: 0 0 10px 0;
    display: block;
    width: auto;
    position: relative;
    overflow: hidden;
}

.sb-search .search-form:hover {
    background-color: rgba(0,0,0,0.5);
}

.sb-search .search-form input[type="search"] {
    border: none;
    background: none;
    color: #fff;
    display: block;
    width: 100%;
    padding: 15px 20px 15px 50px;
    font-family: 'Gudea', Helvetica, Arial, sans-serif;
    font-size: 1em;
    outline: none;
    opacity: 0.8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M21 21l-4.35-4.35M17 11A6 6 0 1 1 5 11a6 6 0 0 1 12 0z' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 10px 50%;
    background-size: 28px 28px;
}

.sb-search .search-form input[type="search"]:hover,
.sb-search .search-form input[type="search"]:focus {
    opacity: 1;
}

/* Navigation Menu */
.sb-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sb-menu ul li {
    background-color: rgba(0,0,0,0.3);
    margin: 0 0 6px 0;
}

.sb-menu ul li:hover {
    background-color: rgba(0,0,0,0.5);
}

.sb-menu ul li a {
    display: block;
    padding: 12px 15px 12px 50px;
    opacity: 0.85;
    color: #fff !important;
    background-repeat: no-repeat;
    background-position: 10px 50%;
    background-size: 28px 28px;
    font-family: 'Gudea', sans-serif;
    font-size: 0.95em;
}

.sb-menu ul li a:hover {
    opacity: 1;
}

/* Menu icons using SVG data URIs */
.sb-menu ul li a.home {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
}

.sb-menu ul li a.tag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1.5' fill='white'/%3E%3C/svg%3E");
}

.sb-menu ul li a.category {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
}

.sb-menu ul li a.archive-link {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='21 8 21 21 3 21 3 8'/%3E%3Crect x='1' y='3' width='22' height='5'/%3E%3Cline x1='10' y1='12' x2='14' y2='12'/%3E%3C/svg%3E");
}

/* About / Description section */
.about-section {
    margin-bottom: 15px;
}

.about-section .avatar {
    width: 100%;
    margin-bottom: 10px;
}

.about-section .avatar img {
    width: 100%;
    height: auto;
    display: block;
}

.about-section p {
    font-size: 0.9em;
    line-height: 1.5;
    color: #fff;
    margin: 5px 0;
}

/* Social icons */
.social-links {
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
    background: rgba(0,0,0,0.3);
    width: 42px;
    height: 42px;
    margin: 0 5px 5px 0;
    text-align: center;
    line-height: 42px;
    color: #fff;
    font-size: 1.1em;
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    background: rgba(0,0,0,0.5);
}

/* ==========================================================================
   Posts / Content Area
   ========================================================================== */

.posts-area {
    padding: 0;
}

.post-container {
    position: relative;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.post-container:hover .post-info {
    opacity: 1;
}

.post-inner {
    padding: 20px;
    overflow-x: hidden;
}

/* Post title */
.post-inner h2.entry-title {
    font-size: 2em;
    margin: 0 0 0.5em 0;
    color: #5e98b9;
}

.post-inner h2.entry-title a {
    color: inherit;
}

.post-inner h2.entry-title a:hover {
    opacity: 0.75;
}

/* Post content */
.entry-content {
    line-height: 1.7;
    font-size: 1em;
}

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

.entry-content a {
    color: #5e98b9;
    border-bottom: 1px dotted rgba(0,0,0,0.25);
}

.entry-content a:hover {
    color: #333;
}

/* Post featured image */
.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post info bar */
.post-info {
    background-color: #5e98b9;
    color: #fff;
    font-family: 'Rancho', serif;
    padding: 10px 10px 6px 10px;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    opacity: 0.92;
    box-shadow: 0px 5px 0px 0px rgba(0,0,0,0.2), inset 0px -5px 0px 0px rgba(0,0,0,0.25);
}

.post-info a {
    float: left;
    margin: 0 6px 6px 0;
    color: #fff !important;
    text-decoration: none;
    background-color: rgba(0,0,0,0.25);
    font-family: 'Rancho', serif;
}

.post-info a span {
    padding: 8px 12px 8px 46px;
    font-size: 1.1em;
    background-repeat: no-repeat;
    background-position: 6px 50%;
    background-size: 32px 32px;
    display: block;
    opacity: 0.85;
}

.post-info a:hover {
    background-color: rgba(0,0,0,0.5);
}

.post-info a:hover span {
    opacity: 1;
}

/* Date icon */
.post-info a.date span {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

/* Permalink icon */
.post-info a.permalink span {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}

/* Comments icon */
.post-info a.comments span {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}

/* Categories post info */
.post-info a.cat span {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1.5' fill='white'/%3E%3C/svg%3E");
}

/* Post type color variations */
.format-image .post-info,
.post-type-image .post-info   { background-color: #6281bb; }
.format-image .entry-title a,
.post-type-image .entry-title a { color: #6281bb; }

.format-video .post-info,
.post-type-video .post-info   { background-color: #966bbe; }
.format-video .entry-title a  { color: #966bbe; }

.format-quote .post-info,
.post-type-quote .post-info   { background-color: #6cbb54; }
.format-quote .entry-title a  { color: #6cbb54; }

.format-link .post-info,
.post-type-link .post-info    { background-color: #cb3f3f; }
.format-link .entry-title a   { color: #cb3f3f; }

.format-audio .post-info,
.post-type-audio .post-info   { background-color: #4aab75; }
.format-audio .entry-title a  { color: #4aab75; }

.format-chat .post-info,
.post-type-chat .post-info    { background-color: #db372b; }

.format-gallery .post-info    { background-color: #e9991a; }
.format-gallery .entry-title a { color: #e9991a; }

/* Quote post */
blockquote.quote-post {
    border: none;
    padding: 30px 30px 30px 90px;
    margin: 0;
    background: rgba(0,0,0,0.05);
    background-repeat: no-repeat;
    background-position: 15px 50%;
    background-size: 56px 56px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236cbb54' viewBox='0 0 24 24'%3E%3Cpath d='M3 21c3 0 7-1 7-8V5c0-1.25-.756-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V20c0 1 0 1 1 1zm14 0c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z'/%3E%3C/svg%3E");
    font-size: 1.4em;
}

/* Chat post */
.chat-list {
    padding: 0;
    list-style: none;
    font-size: 1.1em;
    margin: 0.6em 0;
}

.chat-list li {
    padding: 10px 20px;
}

.chat-list li.odd {
    background-color: rgba(0,0,0,0.07);
}

.chat-list li .chat-label {
    font-weight: bold;
}

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

.site-footer {
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #e2e3ea;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.pagination .page-numbers,
.nav-links a,
.nav-links span {
    font-family: 'Rancho', serif;
    font-size: 1.6em;
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* ==========================================================================
   Back to top button
   ========================================================================== */

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0,0,0,0.4);
    color: #fff;
    width: 50px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    font-family: 'Rancho', serif;
    font-size: 1.2em;
    cursor: pointer;
    display: none;
    z-index: 9999;
}

#back-to-top:hover {
    background-color: rgba(0,0,0,0.9);
}

/* ==========================================================================
   Mobile toggle buttons
   ========================================================================== */

.mobile-toggle {
    display: none;
    position: fixed;
    top: 10px;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.mobile-toggle svg {
    fill: white;
    width: 24px;
    height: 24px;
}

#toggle-left  { left: 10px; }
#toggle-right { right: 10px; }

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

@media screen and (max-width: 1100px) {
    #sidebar-right {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        z-index: 999;
        overflow-y: auto;
    }

    #sidebar-right.open {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }
}

@media screen and (max-width: 750px) {
    #sidebar-left {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 999;
        overflow-y: auto;
    }

    #sidebar-left.open {
        display: block;
    }

    #site-header h1 {
        font-size: 2em;
    }

    .post-inner {
        padding: 15px;
    }
}

/* ==========================================================================
   Single post / Comments
   ========================================================================== */

.entry-footer {
    padding: 10px 20px;
    font-size: 0.85em;
    color: rgba(0,0,0,0.5);
}

.comments-area {
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.comments-area h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

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

.comment-body {
    padding: 15px;
    background: rgba(0,0,0,0.04);
    margin-bottom: 10px;
}

.comment-author .fn {
    font-weight: bold;
}

.comment-metadata a {
    color: rgba(0,0,0,0.4);
    font-size: 0.85em;
}

.comment-content {
    margin-top: 8px;
    line-height: 1.6;
}

/* Reply form */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(0,0,0,0.15);
    background: #fff;
    font-family: 'Gudea', sans-serif;
    font-size: 1em;
    margin-bottom: 10px;
    outline: none;
}

.comment-form input[type="submit"] {
    background-color: #2d6b7d;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-family: 'Rancho', serif;
    font-size: 1.4em;
    cursor: pointer;
}

.comment-form input[type="submit"]:hover {
    background-color: #1d4f5d;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget {
    margin-bottom: 20px;
}

.widget-title {
    font-family: 'Rancho', serif;
    font-size: 1.8em;
    color: #fff;
    margin: 0.6em 0 0.4em;
    font-weight: normal;
}

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

.widget ul li {
    background-color: rgba(0,0,0,0.3);
    margin: 0 0 6px 0;
}

.widget ul li a {
    display: block;
    padding: 12px 15px 12px 50px;
    color: #fff !important;
    opacity: 0.85;
    background-repeat: no-repeat;
    background-position: 10px 50%;
    background-size: 28px 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1.5' fill='white'/%3E%3C/svg%3E");
}

.widget ul li a:hover {
    opacity: 1;
    background-color: rgba(0,0,0,0.5);
}

.widget_text p {
    color: #fff;
    font-size: 0.9em;
    line-height: 1.5;
}

.textwidget img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

/* Search widget */
.widget_search .search-form {
    background-color: rgba(0,0,0,0.3);
    display: flex;
    overflow: hidden;
}

.widget_search .search-form:hover {
    background-color: rgba(0,0,0,0.5);
}

.widget_search input[type="search"] {
    border: none;
    background: none;
    color: #fff;
    flex: 1;
    padding: 12px 12px 12px 45px;
    font-family: 'Gudea', sans-serif;
    opacity: 0.8;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 10px 50%;
    background-size: 26px 26px;
}

.widget_search input[type="search"]:focus { opacity: 1; }

.widget_search input[type="submit"] {
    background: rgba(0,0,0,0.3);
    border: none;
    color: #fff;
    padding: 12px 15px;
    cursor: pointer;
    font-family: 'Rancho', serif;
    font-size: 1.1em;
    opacity: 0.8;
}

.widget_search input[type="submit"]:hover { opacity: 1; }

/* Recent posts widget */
.widget_recent_entries ul li a {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");
}

/* Archives widget */
.widget_archive ul li a {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='21 8 21 21 3 21 3 8'/%3E%3Crect x='1' y='3' width='22' height='5'/%3E%3Cline x1='10' y1='12' x2='14' y2='12'/%3E%3C/svg%3E");
}

/* Categories widget */
.widget_categories ul li a {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Fixes for Tumblr imported posts
   ========================================================================== */

/* Make sure Google Fonts load correctly */
body, .post-inner, .entry-content {
    font-family: 'Gudea', Helvetica, Arial, sans-serif !important;
}

h1, h2, h3, h4, .post-info a, .site-title, .widget-title {
    font-family: 'Rancho', serif !important;
}

/* Fix images inside post content that came from Tumblr */
.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* Fix embedded iframes (videos) */
.entry-content iframe,
.entry-content embed,
.entry-content object {
    max-width: 100%;
}

/* Responsive video wrapper */
.entry-content .tumblr_video_container,
.entry-content .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.entry-content .tumblr_video_container iframe,
.entry-content .video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Fix post content line height and spacing */
.entry-content p {
    margin: 0.8em 0;
    line-height: 1.7;
}

/* About avatar in right sidebar */
.about-avatar {
    width: 100% !important;
    height: auto !important;
    border-radius: 0;
    display: block;
    margin-bottom: 12px;
}

/* Tags in post-info bar */
.post-info a.cat span {
    font-size: 0.95em;
}

/* Fix uncategorized hiding */
.post-info a.cat-uncategorized {
    display: none;
}

/* Post content blockquotes from Tumblr */
.entry-content blockquote {
    margin: 1em 0;
    padding: 10px 15px;
    border-left: 4px solid rgba(0,0,0,0.15);
    background: rgba(0,0,0,0.03);
    font-style: italic;
}

/* Fix Tumblr imported read-more links */
.entry-content .more-link {
    display: inline-block;
    margin-top: 10px;
    color: #2d6b7d;
    font-weight: bold;
}

/* Left sidebar tags list */
#sidebar-left .widget_tag_cloud a {
    display: inline-block;
    background: rgba(0,0,0,0.3);
    color: #fff !important;
    padding: 5px 10px;
    margin: 0 4px 5px 0;
    font-size: 0.85em !important;
    text-decoration: none;
    opacity: 0.85;
}

#sidebar-left .widget_tag_cloud a:hover {
    opacity: 1;
    background: rgba(0,0,0,0.5);
}

/* ==========================================================================
   Read More button + Long post handling
   ========================================================================== */

.rs-readmore {
    display: inline-block;
    margin: 12px 0 4px;
    padding: 8px 18px;
    background-color: #2d6b7d;
    color: #fff !important;
    font-family: 'Rancho', serif;
    font-size: 1.2em;
    text-decoration: none;
    border-bottom: none !important;
    transition: background 0.2s;
}

.rs-readmore:hover {
    background-color: #1d4f5d;
    color: #fff !important;
    border-bottom: none !important;
}

/* Long posts: fade bottom edge to hint there's more */
.rs-long-post {
    max-height: 600px;
    overflow: hidden;
    position: relative;
}

.rs-long-post::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, #e2e3ea);
    pointer-events: none;
}

/* ==========================================================================
   Custom Header Image
   ========================================================================== */

.header-image-wrap {
    display: block;
    overflow: hidden;
    line-height: 0;
}

.header-image-wrap a {
    display: block;
}

.header-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* When there's a header image, push title below it */
#site-header .site-title,
#site-header .site-description {
    display: block;
}

/* ==========================================================================
   Header image — fills edge to edge, no padding, no title, like Tumblr
   ========================================================================== */

#site-header.has-header-image {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    line-height: 0;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
}

.header-image-link {
    display: block;
    line-height: 0;
    font-size: 0;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Hide title/description completely when header image is set */
#site-header.has-header-image .site-title,
#site-header.has-header-image .site-description {
    display: none !important;
}

