.footer-branding-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-site-tagline {
    margin: 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

@media (max-width: 600px) {
    .footer-branding-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-branding {
        gap: 12px;
    }

    .footer-site-title {
        font-size: 18px;
    }

    .footer-site-tagline {
        font-size: 13px;
    }
}
/*
Theme Name: Theme 1 - White Simple Blog (Simplified)
Theme URI: https://multidots.com
Author: Multidots
Author URI: https://multidots.com
Description: A clean, simple blog theme with minimal design. Simplified version without build requirements.
Tags: blog, theme, simple, clean
Version: 2.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tripeak-main-one
*/

/* ==========================================================================
   CSS Variables - Will be overridden by TriPeak Edit Theme plugin
   ========================================================================== */
:root {
    /* Colors */
    --body-bg-color: #ffffff;
    --text-color: #636363;
    --heading-color: #222222;
    --text-link-color: #cf2e2e;
    --text-hover-link-color: #222222;
    --header-bg-color: #ffffff;
    --header-text-color: #cf2e2e;
    --footer-bg-color: #222222;
    --footer-text-color: #ffffff;
    --site-title-color: #222222;
    --site-tagline-color: #909090;
    --post-card-bg-color: #ffffff;
    
    /* Typography */
    --default-font-style: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --heading-font: Georgia, serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
html {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--default-font-style);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    background-color: var(--body-bg-color);
    color: var(--text-color);
}

/* Container for header and footer */
.container {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    padding-right: 15px;
}

/* Main content wrapper to match header/footer width */
.site-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 0 30px;
}

img {
    border-style: none;
    max-width: 100%;
    height: auto;
    /* Performance optimization */
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 10px;
}

h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 30px;
}

h2 {
    font-size: 28px;
    line-height: 36px;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-family: var(--heading-font);
    color: var(--text-link-color);
    text-decoration: underline;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: var(--text-hover-link-color);
}

.site-title a {
    color: var(--site-title-color) !important;
    text-decoration: none !important;
}

.site-title a:hover {
    color: var(--site-title-color) !important;
}

a:not(.wp-block-button__link):not(.wp-block-file__button):not([class*=button]) {
    color: var(--text-link-color);
    text-decoration: underline;
}

a:not(.wp-block-button__link):not(.wp-block-file__button):not([class*=button]):hover {
    color: var(--text-hover-link-color);
}

.wp-block-button__link, .wp-block-file__button, a[class*=button], button a {
    color: #fff !important;
    text-decoration: none !important;
}

/* ==========================================================================
   Header
   ========================================================================== */
.tripeak-main-header {
    padding: 11px 0 10px;
    background-color: var(--header-bg-color);
}

.tripeak-main-header-wrap {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    width: 100%;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.tripeak-main-header .site-branding {
    display: flex;
    align-items: center;
    text-align: left;
    flex-shrink: 0;
    gap: 20px;
}

.tripeak-main-header .site-branding a {
    line-height: normal;
    flex-shrink: 0;
    text-decoration: none;
    padding: 0;
}

.tripeak-main-header .site-branding a img {
    height: 60px;
    width: 60px;
    display: block;
}

.tripeak-main-header .site-branding .site-title {
    font-size: 20px;
    line-height: 1.2em;
    word-wrap: break-word;
    font-weight: 700;
    text-transform: capitalize;
    color: var(--site-title-color);
    margin: 0;
}

.tripeak-main-header .site-branding .site-title a {
    color: var(--site-title-color);
    text-decoration: none;
}

.tripeak-main-header .site-branding .site-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tripeak-main-header .site-branding .site-description {
    margin: 0;
    line-height: 1.4;
    color: var(--site-tagline-color);
    text-transform: none;
    font-size: 14px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.tripeak-main-menu ul {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.tripeak-main-menu ul li {
    position: relative;
    display: inline-block;
    margin-right: 15px;
    padding-right: 20px;
}

.tripeak-main-menu ul li::after {
    content: "/";
    position: absolute;
    top: 0;
    right: 0;
    color: var(--header-text-color);
}

.tripeak-main-menu ul li a {
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    text-transform: uppercase;
    color: var(--header-text-color);
    position: relative;
    z-index: 999;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--text-link-color);
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.tripeak-main-menu ul li a:hover {
    opacity: 0.8;
}

.tripeak-main-menu ul li:last-child {
    margin-right: 0;
    padding-right: 0;
}

.tripeak-main-menu ul li:last-child::after {
    display: none;
}

/* ==========================================================================
   Posts & Articles
   ========================================================================== */
body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 25px;
    margin-bottom: 0;
    padding-left: 0;
    padding-bottom: 0;
    list-style: none;
}

body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list li {
    margin: 0;
    background-color: var(--post-card-bg-color);
    border-radius: 6px;
    border: 1px solid #e7e7e9;
    width: 100%;
    display: block;
    overflow: hidden;
}

body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list li .wp-block-latest-posts__featured-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    display: block;
}

body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list li .wp-block-latest-posts__featured-image img {
    border-radius: 6px 6px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list li a.wp-block-latest-posts__post-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    word-break: break-word;
    padding: 15px 15px 0;
    display: block;
    color: var(--heading-color);
    text-decoration: none;
}

body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list li a.wp-block-latest-posts__post-title:hover {
    text-decoration: underline;
}

body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list li time.wp-block-latest-posts__post-date {
    padding: 0 15px;
    display: block;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 0;
    margin-top: 10px;
    text-transform: uppercase;
}

body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list li .wp-block-latest-posts__post-excerpt {
    padding: 0 15px;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 15px;
}

body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list li a.wp-block-latest-posts__read-more {
    display: block;
    padding: 0 15px 15px;
    color: var(--text-link-color);
    text-decoration: underline;
}

body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list li a.wp-block-latest-posts__read-more:hover {
    color: var(--text-hover-link-color);
}

/* Recent Articles Section */
.recent-articles-section {
    margin-top: 60px;
}

.recent-articles-intro {
    margin-bottom: 30px;
}

.recent-articles-intro p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Single Post Navigation */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e7e7e9;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post-navigation .nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e7e7e9;
    border-left: 4px solid var(--text-link-color);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-navigation .nav-link:hover {
    background: #fff;
    border-color: var(--text-link-color);
    border-left-width: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.post-navigation .nav-arrow {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-link-color);
    flex-shrink: 0;
}

.post-navigation .nav-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.post-navigation .nav-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.post-navigation .nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.4;
}

.post-navigation .next-link {
    flex-direction: row-reverse;
    text-align: right;
}

.post-navigation .next-link .nav-content {
    align-items: flex-end;
}

/* Single Post Header */
.single-post-section .entry-header {
    margin-bottom: 30px;
}

.single-post-section .entry-header .posted-on {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.single-post-section .entry-header h1 {
    margin-bottom: 0;
}

.single-post-section .entry-content {
    font-size: 18px;
    line-height: 1.8;
}

.single-post-section .entry-content p {
    margin-bottom: 20px;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid var(--text-link-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

blockquote p {
    margin-bottom: 10px;
}

blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-style: normal;
    color: #666;
}

/* Media Captions */
.wp-caption,
.wp-caption-text,
figcaption,
.caption {
    text-align: left !important;
    font-style: italic;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    line-height: 1.5;
}

/* ==========================================================================
   Table of Contents (TOC)
   ========================================================================== */
.ez-toc-list a,
#ez-toc-container a,
.toc-list a,
.table-of-contents a {
    text-decoration: underline !important;
}

.ez-toc-list a:hover,
#ez-toc-container a:hover,
.toc-list a:hover,
.table-of-contents a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Code Blocks & Inline Code
   ========================================================================== */
/* Inline code */
code,
.wp-block-code code {
    background-color: #f5f5f5;
    color: #d63384;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid #e7e7e9;
}

/* Code blocks */
pre {
    background-color: #f8f9fa;
    border: 1px solid #e7e7e9;
    border-left: 4px solid var(--text-link-color);
    border-radius: 6px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
    line-height: 1.6;
}

pre code {
    background-color: transparent;
    color: #333;
    padding: 0;
    border: none;
    font-size: 14px;
    display: block;
}

.wp-block-code {
    margin: 20px 0;
}

/* ==========================================================================
   YouTube Embeds & Video Embeds
   ========================================================================== */
.wp-block-embed {
    margin: 30px 0;
}

.wp-block-embed iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

/* For browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
    .wp-block-embed__wrapper {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
    }
    
    .wp-block-embed__wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--footer-bg-color);
}

footer .site-info {
    padding: 25px 0 15px;
}

footer .site-footer-menu {
    margin-bottom: 20px;
}

footer .footer-social-links {
    padding: 0 0 15px;
}

footer .site-info ul.footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

footer .site-info ul.footer-menu-list li {
    display: inline-block;
}

footer .site-info ul.footer-menu-list li a {
    color: #ffffff !important;
    font-size: 16px;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-transform: uppercase;
}

footer .site-info ul.footer-menu-list li a:hover {
    color: var(--text-link-color) !important;
}

.footer-branding {
    padding: 0;
    margin-bottom: 32px;
    color: var(--footer-text-color);
}

.footer-branding-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-branding-logo {
    flex-shrink: 0;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-branding-logo img {
    height: 60px;
    width: 60px;
    display: block;
}

.footer-site-initials {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--footer-text-color);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--footer-text-color);
}

.footer-branding-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.footer-site-title {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: capitalize;
}

.footer-site-title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-site-title a:hover {
    color: var(--text-link-color) !important;
}

.footer-site-tagline {
    margin: 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.footer-post-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 32px 0 0;
}

.footer-post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 240px;
    min-width: 240px;
}

.footer-posts-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--footer-text-color);
    margin: 0;
}

.footer-post-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-post-list li a,
.footer-post-list li a:visited {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    line-height: 150%;
    transition: color 0.2s ease;
}

.footer-post-list li a:hover,
.footer-post-list li a:focus,
.footer-post-list li a:active {
    color: #ffffff !important;
}

@supports (display: grid) {
    .footer-post-lists {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .footer-post-list {
        flex: initial;
        min-width: 0;
    }
}

.footer-separator {
    margin: 40px 0;
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-navigation {
    padding: 0 0 10px;
}

/* Footer Social Links */
.footer-social-links {
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: none;
}

.social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--footer-text-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    opacity: 0.7;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--footer-text-color);
    flex-shrink: 0;
}

.social-link.patronview img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.social-link-text {
    color: var(--footer-text-color);
    text-decoration: underline;
}

/* Social Custom Text */
.social-custom-text {
    margin-top: 20px;
    padding-top: 20px;
    color: var(--footer-text-color);
    font-size: 14px;
    line-height: 1.6;
}

.social-custom-text a {
    color: var(--footer-text-color);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.social-custom-text a:hover {
    opacity: 0.7;
}

.social-custom-text p {
    margin: 0 0 10px;
}

.social-custom-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.wp-block-button__link {
    background-color: #a7362d;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.wp-block-button__link:hover {
    background-color: #922c24;
}

.wp-block-button {
    background: none;
    padding: 0;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.tripeak-pagination {
    margin: 40px 0;
    text-align: center;
    clear: both;
}

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

.tripeak-pagination .page-numbers {
    display: inline-block;
    padding: 12px 16px;
    margin: 0 4px;
    text-decoration: none;
    background: #f8f9fa;
    color: var(--text-color);
    border: 1px solid #e7e7e9;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tripeak-pagination .page-numbers:hover {
    background: #e9ecef;
    color: var(--heading-color);
    transform: translateY(-1px);
}

.tripeak-pagination .page-numbers.current {
    background: var(--text-link-color);
    color: #fff;
    border-color: var(--text-link-color);
    cursor: default;
}

.tripeak-pagination .page-numbers.prev,
.tripeak-pagination .page-numbers.next {
    font-weight: 600;
    padding: 12px 20px;
}

.tripeak-pagination .page-numbers.prev {
    background: var(--text-link-color);
    color: #fff !important;
    border-color: var(--text-link-color);
}

.tripeak-pagination .page-numbers.next {
    background: var(--text-link-color);
    color: #fff !important;
    border-color: var(--text-link-color);
}

.tripeak-pagination .page-numbers.prev:hover {
    background: var(--text-hover-link-color);
    border-color: var(--text-hover-link-color);
    color: #fff !important;
}

.tripeak-pagination .page-numbers.next:hover {
    background: var(--text-hover-link-color);
    border-color: var(--text-hover-link-color);
    color: #fff !important;
}

/* ==========================================================================
   Dark Mode
   ========================================================================== */
body.dark-mode {
    --body-bg-color: #161618;
    --text-color: #A6A5A8;
    --heading-color: #ffffff;
    --text-link-color: #cf2e2e;
    --text-hover-link-color: #ff4444;
    --header-bg-color: #242426;
    --header-text-color: #cf2e2e;
    --footer-bg-color: #242426;
    --footer-text-color: #ffffff;
    --site-title-color: #ffffff;
    --site-tagline-color: #A9A8AB;
    --post-card-bg-color: #242426;
}

body.dark-mode {
    background-color: var(--body-bg-color);
    color: var(--text-color);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: var(--heading-color);
}

body.dark-mode .tripeak-main-header {
    background-color: var(--header-bg-color);
}

body.dark-mode .tripeak-main-header .site-branding .site-title,
body.dark-mode .tripeak-main-header .site-branding .site-title a {
    color: var(--site-title-color);
}

body.dark-mode .tripeak-main-header .site-branding .site-description {
    color: var(--site-tagline-color);
}

body.dark-mode .tripeak-main-menu ul li a {
    color: var(--header-text-color);
}

body.dark-mode footer {
    background-color: var(--footer-bg-color);
}

body.dark-mode footer .site-info ul li a {
    color: var(--footer-text-color);
}

body.dark-mode footer .social-link {
    color: var(--footer-text-color);
}

body.dark-mode .wp-block-latest-posts__list li {
    background-color: var(--post-card-bg-color);
    border-color: #3a3a3c;
}

body.dark-mode .wp-block-latest-posts__post-title {
    color: var(--heading-color);
}

body.dark-mode .tripeak-pagination .page-numbers {
    background: #242426;
    color: var(--text-color);
    border-color: #3a3a3c;
}

body.dark-mode .tripeak-pagination .page-numbers:hover {
    background: #2a2a2c;
    color: var(--heading-color);
}

body.dark-mode .tripeak-pagination .page-numbers.prev {
    background: #cf2e2e;
    color: #fff !important;
    border-color: #cf2e2e;
}

body.dark-mode .tripeak-pagination .page-numbers.next {
    background: #cf2e2e;
    color: #fff !important;
    border-color: #cf2e2e;
}

body.dark-mode .tripeak-pagination .page-numbers.prev:hover {
    background: #ff4444;
    border-color: #ff4444;
    color: #fff !important;
}

body.dark-mode .tripeak-pagination .page-numbers.next:hover {
    background: #ff4444;
    border-color: #ff4444;
    color: #fff !important;
}

body.dark-mode .post-navigation .nav-link {
    background: #242426;
    border-color: #3a3a3c;
}

body.dark-mode .post-navigation .nav-link:hover {
    background: #2a2a2c;
    border-left-color: #cf2e2e;
}

body.dark-mode blockquote {
    border-left-color: var(--text-link-color);
    color: var(--text-color);
}

body.dark-mode .wp-caption-text,
body.dark-mode figcaption,
body.dark-mode .caption {
    color: var(--text-color);
}

body.dark-mode a:not(.wp-block-button__link):not(.wp-block-file__button):not([class*=button]) {
    color: var(--text-link-color);
}

body.dark-mode a:not(.wp-block-button__link):not(.wp-block-file__button):not([class*=button]):hover {
    color: var(--text-hover-link-color);
}

body.dark-mode .wp-block-latest-posts__read-more {
    color: var(--text-link-color);
}

body.dark-mode .wp-block-latest-posts__read-more:hover {
    color: var(--text-hover-link-color);
}

/* Dark mode code blocks */
body.dark-mode code,
body.dark-mode .wp-block-code code {
    background-color: #2a2a2c;
    color: #ff79c6;
    border-color: #3a3a3c;
}

body.dark-mode pre {
    background-color: #242426;
    border-color: #3a3a3c;
}

body.dark-mode pre code {
    background-color: transparent;
    color: #e1e1e3;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .site-main {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h1 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    h2 {
        font-size: 22px;
        line-height: 24px;
        margin-bottom: 15px;
    }
    
    .tripeak-main-header .site-branding {
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tripeak-main-header .site-branding a img {
        width: 43.7px;
        height: 45px;
    }
    
    .tripeak-main-header .site-branding .site-description {
        font-size: 15px;
        line-height: 18px;
        margin-top: 0px;
    }
    
    .tripeak-main-menu ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .tripeak-main-menu ul li {
        margin-right: 0;
        padding-right: 0;
        width: auto;
    }
    
    .tripeak-main-menu ul li::after {
        display: none;
    }
    
    body .tripeak-main-post-article .wp-block-latest-posts.wp-block-latest-posts__list {
        grid-template-columns: auto;
        grid-gap: 20px;
    }
    
    .recent-articles-section {
        margin-top: 40px;
    }
    
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .post-navigation .nav-link {
        padding: 15px;
    }
    
    .post-navigation .nav-arrow {
        font-size: 20px;
    }
    
    .post-navigation .nav-title {
        font-size: 14px;
    }
    
    .wp-block-button__link {
        border-radius: 12px;
        font-size: 15px;
    }
    
    /* Code blocks on mobile */
    pre {
        padding: 15px;
        font-size: 13px;
    }
    
    code,
    .wp-block-code code {
        font-size: 0.85em;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .tripeak-pagination .page-numbers {
        padding: 10px 12px;
        margin: 0 2px;
        font-size: 14px;
    }
    
    .tripeak-pagination .page-numbers.prev,
    .tripeak-pagination .page-numbers.next {
        padding: 10px 16px;
    }
}

@media (max-width: 400px) {
    footer .site-info {
        flex-direction: column;
    }
}

