/*
Theme Name: Theme 12 - Modern Editorial
Author: Pau Inocencio
Description: A modern, mobile-first editorial theme for content-focused WordPress sites
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
Domain Path: /languages
Text Domain: tripeak-main-twelve
Network: true
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure WordPress Admin Bar is not affected by theme styles */
#wpadminbar * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before {
    font-family: dashicons !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure Poppins font is loaded */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

/* Force Poppins on all elements - Frontend only */
body:not(.wp-admin) * {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body:not(.wp-admin) {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-display: swap;
    font-weight: 400;
}

/* Typography - Wordcraft Style Guide Implementation */
body:not(.wp-admin) h1,
body:not(.wp-admin) h2,
body:not(.wp-admin) h3,
body:not(.wp-admin) h4,
body:not(.wp-admin) h5,
body:not(.wp-admin) h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Heading Hierarchy - Wordcraft Style Guide */
h1 {
    font-size: 72px;
    line-height: 1.2;
}

h2 {
    font-size: 60px;
    line-height: 1.2;
}

h3 {
    font-size: 48px;
    line-height: 1.2;
}

h4 {
    font-size: 40px;
    line-height: 1.2;
}

h5 {
    font-size: 32px;
    line-height: 1.2;
}

h6 {
    font-size: 24px;
    line-height: 1.2;
}

/* Body Text */
p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Font Weight Classes */
.font-weight-bold {
    font-weight: 700;
}

.font-weight-light {
    font-weight: 300;
}

.font-weight-normal {
    font-weight: 400;
}

/* Rich Text Elements - Wordcraft Style Guide */
blockquote {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #0066CC;
    border-radius: 8px;
    padding: 2rem 2rem 2rem 3rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-weight: 400;
}

blockquote::before {
    content: '"';
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    font-size: 4rem;
    line-height: 1;
    color: #0066CC;
    opacity: 0.2;
    font-family: Georgia, serif;
    font-weight: 700;
}

blockquote p {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

blockquote p:last-child {
    margin-bottom: 0;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: normal;
    color: #666;
    font-weight: 500;
}

blockquote cite::before {
    content: '— ';
}

ol,
ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

ol li,
ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Text Formatting */
strong,
b {
    font-weight: 700;
}

em,
i {
    font-style: italic;
}

sup {
    font-size: 0.75em;
    vertical-align: super;
}

sub {
    font-size: 0.75em;
    vertical-align: sub;
}

/* Links */
a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #0066CC;
    text-decoration-thickness: 2px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

a:hover {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #004499;
}

p {
    margin-bottom: 1rem;
}

/* Container - Consistent 1200px width for all sections */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Main content area - 1200px width */
.site-main,
#primary {
    width: 100%;
}

.site-main > .container,
#primary > .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Content Alignment - Align all content with site title */
.content-aligned {
    margin-left: 0;
    padding-left: 0;
}

/* Header alignment fix */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 60px;
}

.site-branding {
    margin: 0;
    padding: 0;
}

.site-title {
    margin: 0;
    padding: 0;
}

/* Header Styles */
.site-header {
    background: #fff;
    position: static;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
    width: 100%;
    border-bottom: 1px solid #E5E5E5;
}

.site-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branding-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-logo .custom-logo-link {
    display: block;
    line-height: 0;
}

.site-logo .custom-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.site-identity {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title,
.site-title-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1;
}

.site-title a,
.site-title-heading a {
    color: #000;
    text-decoration: none;
}

.site-title a:hover,
.site-title-heading a:hover {
    color: #000;
}

.site-description {
    color: #000;
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
    padding-top: 0;
}

/* Navigation - Desktop Styles */
.main-navigation {
    margin: 0;
    position: relative;
}

.main-navigation * {
    list-style: none;
}

.main-navigation ul,
.main-navigation ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.main-navigation li::before,
.main-navigation li::after {
    content: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li::before,
.main-navigation ul li::after {
    content: none;
}

.main-navigation a {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    color: #000;
    text-decoration: none;
    display: block;
}

.main-navigation a:hover {
    border-bottom-color: #0066CC;
    color: #000;
}

.main-navigation .current-menu-item a {
    border-bottom-color: #0066CC;
    font-weight: 700;
    color: #000;
}

/* Dropdown/Submenu Styles - Desktop */
.main-navigation ul ul {
    display: flex;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99999;
    min-width: 200px;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0;
    flex-direction: column;
    gap: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transition-delay: 0s, 0.15s, 0s;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul a {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-navigation ul ul a:hover {
    background-color: #F8F9FA;
    color: #0066CC;
    border-bottom: none;
}

/* Show dropdown on hover - Desktop */
.main-navigation li:hover>ul,
.main-navigation li:focus-within>ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

/* Add a slight delay before hiding to make it easier to move mouse to submenu */
.main-navigation ul ul {
    transition-delay: 0s, 0.15s, 0s;
}

/* Dropdown arrow indicator - Desktop */
.main-navigation .menu-item-has-children>a::after {
    content: " ▼";
    font-size: 0.6rem;
    margin-left: 0.25rem;
    opacity: 0.6;
}

/* Third level submenus - Desktop */
.main-navigation ul ul ul {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
}

/* Mobile Menu Toggle - Hidden by default on desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    z-index: 10001;
}

.menu-toggle:hover {
    background-color: #F8F9FA;
}

.mobile-menu-checkbox {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.menu-toggle .sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.menu-toggle .menu-icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    padding: 3rem 0;
    background: #fff;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #333;
}

.hero-text p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
}

.featured-post-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.featured-post-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

.featured-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000, #333);
}

.featured-post-card h3 a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #0066CC;
    text-decoration-thickness: 2px;
}

.featured-post-card h3 a:hover {
    color: #000;
    text-decoration-color: #004499;
}

.category-tag {
    background: #000;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.post-meta {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.read-more-btn {
    background: #000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    display: inline-block;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: #005a87;
}

/* Recent Blogs Section */
.recent-blogs {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.blogs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

/* Post Thumbnail Images - 4:3 Aspect Ratio */
.post-thumbnail img,
.blog-card img,
.featured-image-single,
.featured-image-page {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

/* Content images - basic styling */
.entry-content img,
.post-content img,
.page-content img {
    max-width: 100%;
    height: auto;
}

/* Block-level images (standalone images, not in paragraphs/lists) */
.entry-content > img,
.page-content > img {
    display: block;
    margin: 1rem 0;
    max-width: 100%;
}

/* Standalone block images (not in gallery) */
.entry-content > .wp-block-image img,
.page-content > .wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Override for blog post card images to be full width */
.blog-post-card .wp-post-image,
.blog-post-card .attachment-post-thumbnail,
.blog-post-card img {
    width: 100% !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter-section {
    background: #333;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-embed {
    max-width: 500px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 2rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 0;
}

.about-images {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-post-card .post-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 0;
    width: 100%;
    aspect-ratio: 4/3;
    margin-left: 0;
    margin-right: 0;
}

.blog-post-card .post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.blog-post-card .post-content {
    padding: 1.5rem;
}

.blog-post-card .post-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-card .post-title a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #0066CC;
    text-decoration-thickness: 2px;
}

.blog-post-card .post-title a:hover {
    color: #000;
    text-decoration-color: #004499;
}

.blog-post-card .post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #666;
    align-items: center;
}

.blog-post-card .post-meta svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

.blog-post-card .post-date,
.blog-post-card .read-time {
    display: flex;
    align-items: center;
}

.blog-post-card .read-more-button {
    display: inline-block;
    background: #fff;
    color: #333;
    border: 2px solid #333;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.blog-post-card .read-more-button:hover {
    background: #333;
    color: #fff;
}

/* Homepage Blog Cards - Use same styling as blog page */
.recent-blogs .blog-post-card,
.popular-blogs .blog-post-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: none;
}

.recent-blogs .blog-post-card .post-thumbnail,
.popular-blogs .blog-post-card .post-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.recent-blogs .blog-post-card .post-thumbnail img,
.popular-blogs .blog-post-card .post-thumbnail img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.recent-blogs .blog-post-card .post-content,
.popular-blogs .blog-post-card .post-content {
    padding: 0;
}

.recent-blogs .blog-post-card .post-title,
.popular-blogs .blog-post-card .post-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.recent-blogs .blog-post-card .post-title a,
.popular-blogs .blog-post-card .post-title a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #0066CC;
    text-decoration-thickness: 2px;
}

.recent-blogs .blog-post-card .post-title a:hover,
.popular-blogs .blog-post-card .post-title a:hover {
    color: #000;
    text-decoration-color: #004499;
}

.recent-blogs .blog-post-card .post-meta,
.popular-blogs .blog-post-card .post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #666;
    align-items: center;
}

.recent-blogs .blog-post-card .post-meta svg,
.popular-blogs .blog-post-card .post-meta svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

.recent-blogs .blog-post-card .post-date,
.recent-blogs .blog-post-card .read-time,
.popular-blogs .blog-post-card .post-date,
.popular-blogs .blog-post-card .read-time {
    display: flex;
    align-items: center;
}

.recent-blogs .blog-post-card .read-more-button,
.popular-blogs .blog-post-card .read-more-button {
    display: inline-block;
    background: #fff;
    color: #333;
    border: 2px solid #333;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.recent-blogs .blog-post-card .read-more-button:hover,
.popular-blogs .blog-post-card .read-more-button:hover {
    background: #333;
    color: #fff;
}

/* Homepage Content Section */
.homepage-content {
    padding: 2rem 0;
}

.homepage-content-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0;
    text-align: left;
    padding: 0;
}

/* Individual Post and Page Content */
.single-post-content,
.page-content,
.entry-content {
    padding: 0 0 2rem 0;
}

.single-post-content .container,
.page-content .container,
.entry-content .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    padding: 0 1rem;
    box-sizing: border-box;
}

.homepage-content-wrapper h1,
.homepage-content-wrapper h2,
.homepage-content-wrapper h3,
.homepage-content-wrapper h4,
.homepage-content-wrapper h5,
.homepage-content-wrapper h6 {
    margin-bottom: 1.5rem;
}

.homepage-content-wrapper p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.homepage-content-wrapper a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #0066CC;
    text-decoration-thickness: 2px;
}

.homepage-content-wrapper a:hover {
    text-decoration: underline;
    text-decoration-color: #004499;
}

/* About Section Content Styling */
.about-content-text {
    margin-bottom: 2rem;
}

.about-content-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-content-text a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #0066CC;
    text-decoration-thickness: 2px;
}

.about-content-text a:hover {
    text-decoration: underline;
    text-decoration-color: #004499;
}

/* Popular Blogs Section */
.popular-blogs {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all-btn {
    background: #000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
}

.popular-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Single Post Styles */
.single-post-header {
    padding: 0 0 0.5rem 0;
    text-align: left;
}

.single-post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    margin-top: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.post-meta-single {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta-single svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* Featured Image Container - Smaller Size, Left Aligned */
.featured-image-container {
    margin: 1rem 0 2rem 0;
}

.featured-image-single {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* Single Post Layout - Full Width */
.single-post-layout {
    display: block;
    width: 100%;
    max-width: 1200px;
}

.main-content {
    width: 100%;
}

/* Author Box - Unique Design for Theme Thirteen */
.author-box-thirteen {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    text-align: center;
}

.author-photo-thirteen {
    margin-bottom: 1.5rem;
    position: relative;
}

.author-photo-thirteen img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0066CC;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.author-greeting-thirteen {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.author-bio-thirteen {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.author-social-thirteen {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link-thirteen {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-thirteen:hover {
    background: #0066CC;
    border-color: #0066CC;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.social-icon-thirteen {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease;
}

.social-icon-thirteen svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.social-link-thirteen:hover .social-icon-thirteen {
    filter: brightness(0) invert(1);
}

/* Sidebar Recent Posts - Theme Thirteen */
.sidebar-recent-thirteen {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-recent-thirteen h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0066CC;
}

.sidebar-recent-thirteen ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-recent-thirteen li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-recent-thirteen li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-recent-thirteen a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #0066CC;
    text-decoration-thickness: 2px;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.sidebar-recent-thirteen a:hover {
    color: #0066CC;
    text-decoration-color: #004499;
}

/* Page Layout with Sidebar */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.page-main-content {
    min-width: 0;
}

.page-sidebar {
    position: sticky;
    top: 2rem;
}

/* Post Navigation */
.post-navigation {
    margin: 3rem 0 2rem;
    padding: 2rem 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

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

.post-navigation .nav-previous,
.post-navigation .nav-next {
    display: flex;
    flex-direction: column;
}

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

.post-navigation a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

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

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

.post-navigation .nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
}

/* EZ Table of Contents - Simple & Elegant */
#ez-toc-container {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#ez-toc-container .ez-toc-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0066CC;
}

#ez-toc-container nav {
    margin-top: 0;
}

#ez-toc-container ul {
    list-style: none;
    margin: 0;
    margin-top: 20px;
    padding: 0;
}

#ez-toc-container li {
    margin-bottom: 0.35rem;
}

#ez-toc-container li:last-child {
    margin-bottom: 0;
}

#ez-toc-container a {
    display: block;
    padding: 0.3rem 0.5rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

#ez-toc-container a:hover {
    color: #0066CC;
    background-color: rgba(0, 102, 204, 0.05);
    border-left-color: #0066CC;
    padding-left: 0.75rem;
}

#ez-toc-container ul li {
    font-weight: 500;
}

/* Reduce spacing between H2 and H3 in TOC */
#ez-toc-container ul ul {
    margin-top: 0.25rem;
}

#ez-toc-container ul ul li {
    font-weight: 400;
    padding-left: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.2rem;
}

#ez-toc-container ul ul ul li {
    padding-left: 1.5rem;
    font-size: 0.85rem;
}

#ez-toc-container .ez-toc-toggle {
    display: none;
}

/* Standalone WordPress block images (not in gallery) */
.entry-content > .wp-block-image,
.page-content > .wp-block-image {
    margin-bottom: 1rem;
}

/* Figure captions for standalone images */
.entry-content > .wp-block-image figcaption,
.page-content > .wp-block-image figcaption,
.wp-caption-text {
    font-style: italic;
    text-align: left;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* WordPress embeds and media blocks */
.wp-block-embed,
.wp-block-video,
.wp-block-audio,
.wp-block-file {
    margin-bottom: 10px;
}

/* If embed has caption, remove bottom margin from block */
.wp-block-embed:has(figcaption),
.wp-block-video:has(figcaption),
.wp-block-audio:has(figcaption) {
    margin-bottom: 0;
}

/* Embed captions */
.wp-block-embed figcaption,
.wp-block-video figcaption,
.wp-block-audio figcaption,
.wp-block-file figcaption {
    font-style: italic;
    text-align: left;
    margin-top: 0.75rem;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========================================
   WordPress Gallery Block Styles
   Let WordPress handle the gallery layout
   ======================================== */

/* Minimal gallery styling - DO NOT override WordPress defaults */
.wp-block-gallery {
    margin-bottom: 1.5rem;
}

/* Gallery image container - dark background */
.wp-block-gallery .wp-block-image {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 8px;
}

/* Gallery caption - grayish gradient background */
.wp-block-gallery figcaption {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

/* Mobile gallery - captions below images for better visibility */
@media (max-width: 600px) {
    .wp-block-gallery {
        gap: 1rem !important;
    }
    
    /* Make gallery figures stack content vertically */
    .wp-block-gallery .wp-block-image {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Image takes full width, natural height */
    .wp-block-gallery .wp-block-image img {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px 8px 0 0 !important;
    }
    
    /* Caption below image, not overlayed */
    .wp-block-gallery figcaption {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        padding: 12px 16px !important;
        background: rgba(0, 0, 0, 0.9) !important;
        color: #fff !important;
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
        border-radius: 0 0 8px 8px !important;
        max-height: none !important;
    }
    
    /* Single column on mobile for better readability */
    .wp-block-gallery.columns-2 .wp-block-image,
    .wp-block-gallery.columns-3 .wp-block-image,
    .wp-block-gallery.columns-4 .wp-block-image {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
}

/* WordPress Columns Block Styles */
.wp-block-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    margin: 1.5rem 0 !important;
}

.wp-block-column {
    flex-grow: 1 !important;
    min-width: 0 !important;
    word-break: break-word !important;
}

.wp-block-columns.is-not-stacked-on-mobile {
    flex-wrap: nowrap !important;
}

/* Columns with specific widths */
.wp-block-column[style*="flex-basis"] {
    flex-grow: 0 !important;
}

/* Responsive columns */
@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile) {
        flex-direction: column !important;
    }
    
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 100% !important;
    }
}

/* WordPress Media & Text Block */
.wp-block-media-text {
    display: grid !important;
    grid-template-columns: 50% 1fr !important;
    gap: 2rem !important;
    margin: 1.5rem 0 !important;
    align-items: center !important;
}

.wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 50% !important;
}

.wp-block-media-text .wp-block-media-text__media {
    margin: 0 !important;
}

.wp-block-media-text .wp-block-media-text__media img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    display: block !important;
}

.wp-block-media-text .wp-block-media-text__content {
    padding: 0 !important;
}

/* Responsive Media & Text */
@media (max-width: 600px) {
    .wp-block-media-text {
        grid-template-columns: 1fr !important;
    }
    
    .wp-block-media-text.has-media-on-the-right {
        grid-template-columns: 1fr !important;
    }
    
    .wp-block-media-text .wp-block-media-text__content {
        padding: 1rem 0 !important;
    }
}

/* WordPress Group Block */
.wp-block-group {
    margin: 1.5rem 0 !important;
}

.wp-block-group.has-background {
    padding: 2rem !important;
    border-radius: 8px !important;
}

/* WordPress Cover Block */
.wp-block-cover {
    margin: 1.5rem 0 !important;
    min-height: 300px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.wp-block-cover .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: 1200px !important;
    padding: 2rem !important;
}

/* WordPress Separator Block */
.wp-block-separator {
    border: none !important;
    border-top: 2px solid #e5e5e5 !important;
    margin: 2rem auto !important;
    max-width: 100px !important;
}

.wp-block-separator.is-style-wide {
    max-width: 100% !important;
}

.wp-block-separator.is-style-dots {
    border: none !important;
    text-align: center !important;
}

.wp-block-separator.is-style-dots::before {
    content: "···" !important;
    color: #666 !important;
    font-size: 1.5rem !important;
    letter-spacing: 1rem !important;
}

/* ========================================
   GLOBAL IMAGE DISPLAY FIX - Show Full Images
   IMPORTANT: Gallery images are handled separately below
   ======================================== */



/* Images aligned left/right in content */
.entry-content img.alignleft,
.page-content img.alignleft,
.wp-block-image.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
    max-width: 50%;
}

.entry-content img.alignright,
.page-content img.alignright,
.wp-block-image.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
    max-width: 50%;
}

.entry-content img.aligncenter,
.page-content img.aligncenter,
.wp-block-image.aligncenter {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
}

/* Clear floats after aligned images */
.entry-content::after,
.page-content::after {
    content: "";
    display: table;
    clear: both;
}

.post-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}

.post-content h2 {
    font-size: 2.5rem;
    margin: 2rem 0 1rem;
}

.post-content h3 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem;
}

.post-content h4 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.post-content h5 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
}

.post-content h6 {
    font-size: 1.125rem;
    margin: 1.5rem 0 1rem;
}

.post-content blockquote,
.entry-content blockquote,
.page-content blockquote {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #0066CC;
    border-radius: 12px;
    padding: 2rem 2rem 2rem 3rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-weight: 400;
    border-top: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.post-content blockquote::before,
.entry-content blockquote::before,
.page-content blockquote::before {
    content: '"';
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    font-size: 5rem;
    line-height: 1;
    color: #0066CC;
    opacity: 0.15;
    font-family: Georgia, serif;
    font-weight: 700;
}

.post-content blockquote p,
.entry-content blockquote p,
.page-content blockquote p {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.post-content blockquote p:last-child,
.entry-content blockquote p:last-child,
.page-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content blockquote cite,
.entry-content blockquote cite,
.page-content blockquote cite {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.95rem;
    font-style: normal;
    color: #666;
    font-weight: 500;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
}

.post-content blockquote cite::before,
.entry-content blockquote cite::before,
.page-content blockquote cite::before {
    content: '— ';
    color: #0066CC;
    font-weight: 600;
}

/* WordPress Block Quote Styles - High Specificity */
.wp-block-quote,
.wp-block-quote.is-style-large,
.wp-block-quote.is-style-default,
figure.wp-block-quote,
.entry-content .wp-block-quote,
.post-content .wp-block-quote,
.page-content .wp-block-quote {
    position: relative !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-left: 4px solid #0066CC !important;
    border-radius: 12px !important;
    padding: 2rem 2rem 2rem 3rem !important;
    margin: 2.5rem 0 !important;
    font-style: italic !important;
    font-size: 1.25rem !important;
    line-height: 1.8 !important;
    color: #333 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    font-weight: 400 !important;
    border-top: 1px solid #e5e5e5 !important;
    border-right: 1px solid #e5e5e5 !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.wp-block-quote::before,
.wp-block-quote.is-style-large::before,
.wp-block-quote.is-style-default::before,
figure.wp-block-quote::before,
.entry-content .wp-block-quote::before,
.post-content .wp-block-quote::before,
.page-content .wp-block-quote::before {
    content: '"' !important;
    position: absolute !important;
    left: 1rem !important;
    top: 0.5rem !important;
    font-size: 5rem !important;
    line-height: 1 !important;
    color: #0066CC !important;
    opacity: 0.15 !important;
    font-family: Georgia, serif !important;
    font-weight: 700 !important;
}

.wp-block-quote p,
.wp-block-quote.is-style-large p,
.wp-block-quote.is-style-default p,
figure.wp-block-quote p,
.entry-content .wp-block-quote p,
.post-content .wp-block-quote p,
.page-content .wp-block-quote p {
    margin-bottom: 1rem !important;
    position: relative !important;
    z-index: 1 !important;
    font-style: italic !important;
}

.wp-block-quote p:last-of-type,
.wp-block-quote.is-style-large p:last-of-type,
.wp-block-quote.is-style-default p:last-of-type,
figure.wp-block-quote p:last-of-type,
.entry-content .wp-block-quote p:last-of-type,
.post-content .wp-block-quote p:last-of-type,
.page-content .wp-block-quote p:last-of-type {
    margin-bottom: 0 !important;
}

.wp-block-quote cite,
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-default cite,
figure.wp-block-quote cite,
.entry-content .wp-block-quote cite,
.post-content .wp-block-quote cite,
.page-content .wp-block-quote cite {
    display: block !important;
    margin-top: 1.25rem !important;
    font-size: 0.95rem !important;
    font-style: normal !important;
    color: #666 !important;
    font-weight: 500 !important;
    padding-top: 1rem !important;
    border-top: 1px solid #e5e5e5 !important;
}

.wp-block-quote cite::before,
.wp-block-quote.is-style-large cite::before,
.wp-block-quote.is-style-default cite::before,
figure.wp-block-quote cite::before,
.entry-content .wp-block-quote cite::before,
.post-content .wp-block-quote cite::before,
.page-content .wp-block-quote cite::before {
    content: '— ' !important;
    color: #0066CC !important;
    font-weight: 600 !important;
}

/* WordPress Pullquote Block */
.wp-block-pullquote,
figure.wp-block-pullquote,
.entry-content .wp-block-pullquote,
.post-content .wp-block-pullquote,
.page-content .wp-block-pullquote {
    border-top: 4px solid #0066CC !important;
    border-bottom: 4px solid #0066CC !important;
    border-left: none !important;
    border-right: none !important;
    padding: 2rem 0 !important;
    margin: 2.5rem 0 !important;
    text-align: center !important;
    background: transparent !important;
}

.wp-block-pullquote blockquote,
figure.wp-block-pullquote blockquote,
.entry-content .wp-block-pullquote blockquote,
.post-content .wp-block-pullquote blockquote,
.page-content .wp-block-pullquote blockquote {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.wp-block-pullquote blockquote::before,
figure.wp-block-pullquote blockquote::before {
    display: none !important;
}

.wp-block-pullquote p,
.wp-block-pullquote blockquote p,
figure.wp-block-pullquote p {
    font-size: 1.5rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
    font-weight: 600 !important;
    font-style: italic !important;
    margin-bottom: 0 !important;
}

.wp-block-pullquote cite,
.wp-block-pullquote blockquote cite,
figure.wp-block-pullquote cite {
    display: block !important;
    margin-top: 1rem !important;
    font-size: 1rem !important;
    font-style: normal !important;
    color: #666 !important;
    font-weight: 500 !important;
    border-top: none !important;
    padding-top: 0 !important;
}

.wp-block-pullquote cite::before,
.wp-block-pullquote blockquote cite::before,
figure.wp-block-pullquote cite::before {
    content: '— ' !important;
    color: #0066CC !important;
    font-weight: 600 !important;
}

.post-content ul,
.post-content ol,
.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.post-content li,
.entry-content li,
.page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}


.post-content strong,
.post-content b {
    font-weight: 700;
}

.post-content em,
.post-content i {
    font-style: italic;
}

.post-content sup {
    font-size: 0.75em;
    vertical-align: super;
    line-height: 0;
}

.post-content sub {
    font-size: 0.75em;
    vertical-align: sub;
    line-height: 0;
}

.post-content a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
p a,
li a,
span a,
div a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #0066CC;
    text-decoration-thickness: 2px;
}

.post-content a:hover,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
p a:hover,
li a:hover,
span a:hover,
div a:hover {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #004499;
}

/* Remove underlines from navigation and buttons */
.site-title a,
.site-title-heading a,
.main-navigation a,
.read-more-btn,
.view-all-btn,
.read-more-button,
.wp-block-button__link,
.wp-block-button .wp-block-button__link {
    text-decoration: none !important;
}

.site-title a:hover,
.site-title-heading a:hover,
.main-navigation a:hover,
.read-more-btn:hover,
.view-all-btn:hover,
.read-more-button:hover,
.wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:hover {
    text-decoration: none !important;
}

/* Inline Code Styling */
.post-content code {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    color: #e83e8c;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875em;
    padding: 0.2em 0.4em;
    white-space: nowrap;
}

/* Code Block Styling */
.post-content pre {
    background: #2d3748;
    border-radius: 8px;
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 2rem 0;
    overflow-x: auto;
    padding: 1.5rem;
    white-space: pre;
}

.post-content pre code {
    background: transparent;
    border: none;
    border-radius: 0;
    color: inherit;
    font-size: inherit;
    padding: 0;
    white-space: inherit;
}

/* Syntax Highlighting Colors */
.post-content pre .keyword {
    color: #c792ea;
}

.post-content pre .string {
    color: #c3e88d;
}

.post-content pre .comment {
    color: #676e95;
    font-style: italic;
}

.post-content pre .number {
    color: #f78c6c;
}

.post-content pre .function {
    color: #82aaff;
}

.post-content pre .class {
    color: #ffcb6b;
}

.post-content pre .tag {
    color: #f07178;
}

.post-content pre .attribute {
    color: #c792ea;
}

.post-content pre .value {
    color: #c3e88d;
}

/* WordPress Block Button Styling */
.wp-block-button__link,
.wp-block-button .wp-block-button__link {
    background: #000;
    border: none;
    border-radius: 8px;
    color: #fff;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-newsletter {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-newsletter h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: left;
}

.footer-links ul {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    text-align: left;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin: 0;
}

.social-links li {
    margin-bottom: 0;
}

.social-links a {
    color: #fff;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
    text-decoration: underline;
    text-decoration-color: #0066CC;
    text-decoration-thickness: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.social-links a:hover {
    color: #ccc;
    text-decoration-color: #4d9fff;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.social-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

/* PatronView logo styling - use actual SVG without fill */
.social-links .social-icon img[src*="pv.svg"] {
    filter: none !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    stroke-width: 1px !important;
}

.social-icon svg {
    display: block;
}

.social-icon img {
    display: block;
}

.social-text {
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

.footer-nav {
    display: flex;
    justify-content: center;
}

.footer-nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.footer-nav-menu li {
    margin: 0;
}

.footer-nav-menu a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav-menu a:hover {
    color: #fff;
}

/* Responsive Design */

/* Mobile Styles - Default (up to 767px) */
/* Responsive Typography - Mobile (25-30% scale down) */
h1 {
    font-size: 50px;
}

/* 72px * 0.7 */
h2 {
    font-size: 42px;
}

/* 60px * 0.7 */
h3 {
    font-size: 34px;
}

/* 48px * 0.7 */
h4 {
    font-size: 28px;
}

/* 40px * 0.7 */
h5 {
    font-size: 22px;
}

/* 32px * 0.7 */
h6 {
    font-size: 17px;
}

/* 24px * 0.7 */

/* Mobile Layout Optimizations */
@media (max-width: 767px) {

    /* Prevent horizontal overflow */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    /* Container fixes - maintain consistent padding */
    .container {
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Header mobile optimization */
    .site-header {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1000 !important;
        padding: 1rem 0 !important;
        background-color: #fff !important;
        border-bottom: 1px solid #E5E5E5 !important;
    }

    .site-branding {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;
        visibility: visible !important;
    }

    .branding-left {
        display: flex !important;
        order: 1 !important;
        gap: 12px !important;
        visibility: visible !important;
        align-items: center !important;
    }

    .site-logo,
    .site-identity {
        display: block !important;
        visibility: visible !important;
    }

    .site-logo .custom-logo {
        width: 50px;
        height: 50px;
    }

    .site-title,
    .site-title-heading {
        font-size: 1.5rem;
    }

    .site-description {
        font-size: 0.85rem;
    }

    .main-navigation {
        order: 2;
        margin: 0;
        width: auto;
        position: relative;
        z-index: 10000;
    }

    /* Show menu toggle button on mobile */
    .menu-toggle {
        display: block !important;
        position: relative;
        z-index: 10001;
    }

    .menu-toggle .menu-icon {
        display: inline-block;
    }

    /* Hide navigation menu by default on mobile */
    .main-navigation .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #FFFFFF;
        z-index: 99999;
        padding: 80px 2rem 2rem 2rem;
        overflow-y: auto;
        display: none;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    /* Show menu when checkbox is checked */
    .mobile-menu-checkbox:checked~.nav-menu {
        display: block;
        visibility: visible;
        opacity: 1;
    }

    /* Update menu toggle appearance when menu is open */
    .mobile-menu-checkbox:checked~.menu-toggle {
        background: none;
    }

    /* Mobile navigation list adjustments */
    .main-navigation .nav-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        display: flex;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
    }

    .main-navigation .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #E5E5E5;
        display: block;
    }

    .main-navigation .nav-menu li:last-child {
        border-bottom: none;
    }

    .main-navigation .nav-menu a {
        padding: 0.75rem 0;
        display: block;
        border-bottom: none;
    }

    /* Mobile: Make parent menu items with children tappable */
    .main-navigation .menu-item-has-children>a {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Mobile: Larger, more visible dropdown indicator */
    .main-navigation .menu-item-has-children>a::after {
        content: "▼";
        font-size: 0.7rem;
        margin-left: 0.5rem;
        opacity: 0.7;
        transition: transform 0.3s ease;
    }

    /* Mobile dropdown styles */
    .main-navigation .nav-menu ul ul {
        position: static;
        display: flex;
        flex-direction: column;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: #F8F9FA;
        margin: 0;
        padding: 0;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        top: auto;
        left: auto;
    }

    .main-navigation .nav-menu ul ul li {
        border-bottom: 1px solid #E5E5E5;
        width: 100%;
    }

    .main-navigation .nav-menu ul ul li:last-child {
        border-bottom: none;
    }

    .main-navigation .nav-menu ul ul a {
        padding: 0.75rem 0 0.75rem 1.5rem;
        font-size: 0.75rem;
    }

    /* Show submenu on mobile when toggled with JavaScript */
    .main-navigation .nav-menu li.mobile-submenu-open>ul {
        max-height: 1000px;
        padding: 0.5rem 0;
    }

    /* Rotate arrow when submenu is open */
    .main-navigation .nav-menu li.mobile-submenu-open>a::after {
        transform: rotate(180deg);
    }

    /* Visual feedback when submenu is open */
    .main-navigation .nav-menu li.mobile-submenu-open>a {
        color: #0066CC;
    }

    /* Third level submenus on mobile */
    .main-navigation ul ul ul {
        left: 0;
        margin-left: 0;
    }

    .main-navigation ul ul ul a {
        padding-left: 3rem;
    }

    /* Transform hamburger to close button when menu is open */
    .mobile-menu-checkbox:checked~.menu-toggle {
        position: fixed;
        top: 2rem;
        right: 2rem;
        z-index: 100000;
        background: none;
    }

    .mobile-menu-checkbox:checked~.menu-toggle .menu-icon::before {
        content: "✕";
        font-size: 1.8rem;
        color: #000;
        font-weight: 300;
    }

    .mobile-menu-checkbox:checked~.menu-toggle .menu-icon {
        font-size: 0;
    }

    .mobile-menu-checkbox:checked~.menu-toggle:hover {
        background: none;
    }

    /* Hero section mobile optimization */
    .hero-section {
        padding: 2rem 0;
    }

    .hero-content {
        display: block;
        text-align: left;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-text {
        margin-bottom: 2rem;
        text-align: left;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-text p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    /* Featured post card mobile optimization */
    .featured-post-card {
        padding: 1.5rem;
        margin: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .featured-post-card h3 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-wrap: break-word;
    }

    .featured-post-card .post-meta {
        font-size: 14px;
        margin-bottom: 1rem;
    }

    .read-more-btn {
        display: inline-block;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 6px;
        text-decoration: none;
        white-space: nowrap;
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Homepage content mobile optimization */
    .homepage-content {
        padding: 2rem 0 0 0;
    }

    .homepage-content-wrapper {
        padding: 0;
        text-align: left;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Individual post and page content mobile optimization */
    .single-post-content,
    .page-content,
    .entry-content {
        padding: 0 0 2rem 0;
    }

    .single-post-content .container,
    .page-content .container,
    .entry-content .container {
        padding: 0;
        text-align: left;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .single-post-header {
        padding: 0 0 0.25rem 0;
        text-align: left;
    }

    .single-post-header h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-top: 0.5rem;
    }

    .post-meta-single {
        font-size: 0.85rem;
        gap: 0.25rem;
    }

    .post-meta-single svg {
        width: 14px;
        height: 14px;
    }

    .featured-image-container {
        margin: 1.5rem 0;
    }

    .featured-image-single {
        max-width: 100%;
        border-radius: 8px;
    }

    /* Mobile: Stack sidebar below content */
    .page-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-sidebar {
        position: static;
    }

    .author-bio-thirteen {
        font-size: 0.85rem;
    }

    .social-link-thirteen {
        width: 36px;
        height: 36px;
    }

    .social-icon-thirteen {
        font-size: 1rem;
    }

    /* EZ-TOC Mobile */
    #ez-toc-container {
        padding: 1rem;
        margin: 1rem 0;
    }

    #ez-toc-container .ez-toc-title {
        font-size: 0.95rem;
    }

    #ez-toc-container a {
        font-size: 0.85rem;
        padding: 0.25rem 0.4rem;
    }

    #ez-toc-container ul ul li {
        font-size: 0.825rem;
    }

    #ez-toc-container ul ul ul li {
        font-size: 0.8rem;
    }

    /* Post Navigation Mobile */
    .post-navigation {
        margin: 2rem 0 1.5rem;
        padding: 1.5rem 0;
    }

    .post-navigation .nav-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .post-navigation a {
        padding: 0.75rem;
    }

    .post-navigation .nav-subtitle {
        font-size: 0.75rem;
    }

    .post-navigation .nav-title {
        font-size: 1rem;
    }

    /* Mobile Code Styling */
    .post-content code {
        font-size: 0.8em;
        padding: 0.15em 0.3em;
    }

    .post-content pre {
        font-size: 0.8rem;
        padding: 1rem;
        margin: 1.5rem 0;
    }

    /* Mobile Blockquote Styles */
    blockquote,
    .post-content blockquote,
    .entry-content blockquote,
    .page-content blockquote,
    .wp-block-quote,
    .wp-block-quote.is-style-large,
    .wp-block-quote.is-style-default,
    figure.wp-block-quote,
    .entry-content .wp-block-quote,
    .post-content .wp-block-quote {
        padding: 1.5rem 1.5rem 1.5rem 2.5rem !important;
        margin: 2rem 0 !important;
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
    }

    blockquote::before,
    .post-content blockquote::before,
    .entry-content blockquote::before,
    .page-content blockquote::before,
    .wp-block-quote::before,
    .wp-block-quote.is-style-large::before,
    .wp-block-quote.is-style-default::before,
    figure.wp-block-quote::before,
    .entry-content .wp-block-quote::before,
    .post-content .wp-block-quote::before {
        font-size: 3.5rem !important;
        left: 0.75rem !important;
        top: 0.25rem !important;
    }

    blockquote cite,
    .post-content blockquote cite,
    .entry-content blockquote cite,
    .page-content blockquote cite,
    .wp-block-quote cite,
    .wp-block-quote.is-style-large cite,
    .wp-block-quote.is-style-default cite,
    figure.wp-block-quote cite,
    .entry-content .wp-block-quote cite,
    .post-content .wp-block-quote cite {
        font-size: 0.85rem !important;
        margin-top: 1rem !important;
        padding-top: 0.75rem !important;
    }

    .wp-block-pullquote,
    figure.wp-block-pullquote,
    .entry-content .wp-block-pullquote,
    .post-content .wp-block-pullquote {
        padding: 1.5rem 0 !important;
        margin: 2rem 0 !important;
    }

    .wp-block-pullquote p,
    .wp-block-pullquote blockquote p,
    figure.wp-block-pullquote p {
        font-size: 1.25rem !important;
    }

    .homepage-content-wrapper h1,
    .homepage-content-wrapper h2,
    .homepage-content-wrapper h3,
    .homepage-content-wrapper h4,
    .homepage-content-wrapper h5,
    .homepage-content-wrapper h6 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-wrap: break-word;
    }

    .homepage-content-wrapper p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }

    /* About section mobile optimization */
    .about-section {
        padding: 2rem 0;
    }

    .about-content {
        display: block;
        text-align: left;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .about-text {
        margin-bottom: 2rem;
        padding: 0;
    }

    .about-text h2 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        font-weight: 700;
    }

    .about-content-text {
        margin-bottom: 2rem;
    }

    .about-content-text p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        color: #333;
    }

    .about-text .read-more-btn {
        display: inline-block;
        background: #333;
        color: white;
        padding: 12px 20px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.875rem;
        transition: all 0.3s ease;
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .about-text .read-more-btn:hover {
        background: #555;
        color: white;
    }

    .about-images {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .about-images .main-image {
        width: 100%;
        margin-bottom: 1rem;
    }

    .about-images .main-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
    }


    /* Blog cards mobile optimization */
    .blog-post-card {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: transparent;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        transition: none;
    }

    .blog-post-card .post-thumbnail {
        position: relative;
        overflow: hidden;
        border-radius: 0;
        margin-bottom: 0;
        width: 100%;
        aspect-ratio: 4/3;
        margin-left: 0;
        margin-right: 0;
    }

    .blog-post-card .post-thumbnail img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
        display: block;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        left: 0;
    }

    .blog-post-card .post-content {
        padding: 0;
    }

    .blog-post-card .post-title {
        font-size: 1.375rem;
        font-weight: 600;
        margin-bottom: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .blog-post-card .post-title a {
        color: #000;
        text-decoration: underline;
        text-decoration-color: #0066CC;
        text-decoration-thickness: 2px;
    }

    .blog-post-card .post-title a:hover {
        color: #000;
        text-decoration-color: #004499;
    }

    .blog-post-card .post-meta {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        font-size: 0.875rem;
        color: #666;
        align-items: center;
        flex-direction: row;
    }

    .blog-post-card .post-meta svg {
        width: 16px;
        height: 16px;
        margin-right: 6px;
        vertical-align: middle;
    }

    .blog-post-card .post-date,
    .blog-post-card .read-time {
        display: flex;
        align-items: center;
    }

    .blog-post-card .read-more-button {
        display: inline-block;
        background: white;
        color: #333;
        border: 1px solid #333;
        padding: 12px 20px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.875rem;
        transition: all 0.3s ease;
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .blog-post-card .read-more-button:hover {
        background: #333;
        color: white;
    }

    /* Popular blogs mobile optimization */
    .popular-blogs {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }

    /* Newsletter section mobile optimization */
    .newsletter-section {
        padding: 2rem 0;
    }

    .newsletter-section h2 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-wrap: break-word;
    }

    .newsletter-section p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }

    /* Footer mobile optimization */
    .site-footer {
        padding: 2rem 0;
    }

    .footer-links {
        display: block;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .footer-links>div {
        margin-bottom: 1.5rem;
    }

    .footer-nav-menu {
        flex-direction: row;
        gap: 1rem;
        font-size: 0.875rem;
    }

    /* Grid layouts mobile optimization */
    .blogs-grid,
    .popular-grid {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .blog-posts-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    /* Blog post card mobile optimization */
    .blog-post-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .blog-post-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .blog-post-card .post-thumbnail {
        position: relative;
        overflow: hidden;
        border-radius: 0;
        margin-bottom: 0;
    }

    .blog-post-card .post-thumbnail img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
        display: block;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        left: 0;
    }

    .blog-post-card .post-content {
        padding: 1.5rem;
    }

    .blog-post-card .post-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .blog-post-card .post-title a {
        color: #000;
        text-decoration: underline;
        text-decoration-color: #0066CC;
        text-decoration-thickness: 2px;
    }

    .blog-post-card .post-title a:hover {
        color: #000;
        text-decoration-color: #004499;
    }

    .blog-post-card .post-meta {
        display: flex;
        gap: 1rem;
        margin-bottom: 1rem;
        font-size: 0.875rem;
        color: #666;
        align-items: center;
        flex-wrap: wrap;
    }

    .blog-post-card .post-meta svg {
        width: 14px;
        height: 14px;
        margin-right: 4px;
        vertical-align: middle;
    }

    .blog-post-card .post-date,
    .blog-post-card .read-time {
        display: flex;
        align-items: center;
    }

    .blog-post-card .read-more-button {
        display: inline-block;
        background: #fff;
        color: #333;
        border: 2px solid #333;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.875rem;
        transition: all 0.3s ease;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .blog-post-card .read-more-button:hover {
        background: #333;
        color: #fff;
    }

    /* Pagination mobile optimization */
    .pagination-container {
        margin: 2rem 0;
    }

    .posts-navigation,
    .pagination {
        margin: 0 auto;
        gap: 0.25rem;
    }

    .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .page-numbers.prev,
    .page-numbers.next {
        padding: 0 0.75rem;
        font-size: 13px;
    }

    /* Ensure all images and media are responsive */
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
        width: 100%;
    }

    /* Form elements mobile optimization */
    input,
    textarea,
    select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* All sections use container padding only for consistent alignment */
    .hero-section,
    .homepage-content,
    .about-section,
    .newsletter-section,
    .popular-blogs,
    .single-post-content,
    .page-content,
    .entry-content,
    .post-content {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Text overflow prevention */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    div,
    a {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    /* Button and link touch targets */
    button,
    .read-more-btn,
    .read-more-button,
    a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        width: 100%;
        padding: 0 1rem;
    }

    .site-header {
        padding: 2rem 0;
    }

    .site-title,
    .site-title-heading {
        font-size: 1.75rem;
    }

    .main-navigation ul {
        gap: 2rem;
    }

    .main-navigation a {
        font-size: 16px;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    /* Responsive Typography - Tablet (15-20% scale down) */
    h1 {
        font-size: 58px;
    }

    /* 72px * 0.8 */
    h2 {
        font-size: 48px;
    }

    /* 60px * 0.8 */
    h3 {
        font-size: 38px;
    }

    /* 48px * 0.8 */
    h4 {
        font-size: 32px;
    }

    /* 40px * 0.8 */
    h5 {
        font-size: 26px;
    }

    /* 32px * 0.8 */
    h6 {
        font-size: 19px;
    }

    /* 24px * 0.8 */

    .hero-text h1 {
        font-weight: 700;
        /* Wordcraft Style Guide - Bold for headings */
        letter-spacing: -0.02em;
    }

    .blogs-grid {
        grid-template-columns: 2fr 1fr;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 0;
    }

    .about-images {
        justify-content: flex-end;
    }

    .about-images .main-image {
        width: 100%;
        max-width: 400px;
    }

    .about-images .main-image img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 8px;
    }

    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        width: 100%;
        padding: 0 1rem;
    }

    .site-header {
        padding: 2.5rem 0;
    }

    .site-title,
    .site-title-heading {
        font-size: 2rem;
    }

    /* Desktop Typography - Full Wordcraft Style Guide sizes */
    h1 {
        font-size: 72px;
    }

    /* Full size */
    h2 {
        font-size: 60px;
    }

    /* Full size */
    h3 {
        font-size: 48px;
    }

    /* Full size */
    h4 {
        font-size: 40px;
    }

    /* Full size */
    h5 {
        font-size: 32px;
    }

    /* Full size */
    h6 {
        font-size: 24px;
    }

    /* Full size */

    .hero-text h1 {
        font-weight: 700;
        /* Wordcraft Style Guide - Bold for headings */
        letter-spacing: -0.02em;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .blog-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        width: 100%;
        padding: 0 1rem;
    }
}

/* Pagination Container */
.pagination-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 3rem 0;
}

/* Pagination Styles */
.posts-navigation,
.pagination {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
    flex-direction: row;
}

.nav-links {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0 auto;
    flex-direction: row;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #333;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.page-numbers:hover,
.page-numbers.current {
    background: #000;
    color: #fff;
    border-color: #000;
    text-decoration: none;
}

.page-numbers.prev,
.page-numbers.next {
    width: auto;
    padding: 0 1rem;
    font-weight: 500;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.page-numbers.dots {
    border: none;
    background: transparent;
    color: #666;
    cursor: default;
}

.page-numbers.dots:hover {
    background: transparent;
    color: #666;
    border: none;
}


/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

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

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Category Buttons Styling */
.modern-editorial-category-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.modern-editorial-category-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.modern-editorial-category-btn:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.modern-editorial-category-btn.active {
    background: #000;
    color: #fff;
    cursor: default;
    text-decoration: none;
    font-weight: 600;
}

.modern-editorial-category-btn.active:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .modern-editorial-category-buttons-wrapper {
        margin-bottom: 1.5rem;
        justify-content: flex-start;
    }

    .modern-editorial-category-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}
/* ========================================
   Breadcrumb Navigation Styles
   ======================================== */

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 4px 0;
}

.breadcrumb-link:hover {
    color: #0066CC;
    text-decoration: none;
}

.breadcrumb-link-current {
    color: #0066CC;
    font-weight: 600;
}

.breadcrumb-separator {
    color: #d1d5db;
    font-weight: 400;
    user-select: none;
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .breadcrumb {
        margin-bottom: 16px;
        font-size: 0.85rem;
    }

    .breadcrumb-link {
        font-size: 0.85rem;
    }

    .breadcrumb-separator {
        font-size: 0.8rem;
    }
}
