<style>

    /*
Theme Name: Afrovegas Reviews
Theme URI: https://afrovegas.com
Author: Afrovegas Team
Author URI: https://afrovegas.com
Description: A modern, SEO-optimized WordPress theme designed specifically for reviews websites. Features semantic HTML, Yoast SEO integration, mobile-first responsive design, and extensive color customization options.
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afrovegas
Tags: reviews, blog, custom-colors, custom-menu, custom-logo, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, rtl-language-support, full-width-template, theme-options, one-column, flexible-header, accessibility-ready, responsive-layout, block-styles

Afrovegas Reviews Theme is built with SEO and mobile-first principles in mind.
*/

/* ============================================
   BASE RESET & MOBILE-FIRST STYLES
   ============================================ */

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

:root {
    /* Default color scheme - can be customized via WordPress Customizer */
    --color-primary: #2563eb;
    --color-secondary: #1e40af;
    --color-accent: #f59e0b;
    --color-background: #ffffff;
    --color-text: #1f2937;
    --color-link: #2563eb;
    --color-header-bg: #ffffff;
    --color-footer-bg: #111827;
    --color-footer-text: #ffffff;
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --spacing-unit: 1rem;
    --max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: var(--transition);
}

a:hover,
a:focus {
    text-decoration: underline;
    opacity: 0.8;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-unit);
}

h1 {
  color: var(--color-link);
}

h2, h3, h4 {
  margin-bottom: var(--spacing-unit);
  margin-top: var(--spacing-unit);
  color: var(--color-accent);
}

h1 { font-size: clamp(1.875rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1rem, 2vw, 1.25rem); }
h6 { font-size: clamp(0.875rem, 1.5vw, 1rem); }


p {
    margin-bottom: var(--spacing-unit);
  margin-top: var(--spacing-unit);
}

article table {
  width: 100%;
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid var(--color-accent); /* Adds a light border */
  padding: 8px; /* Adds space inside cells */
}

article table {
  width: 100%;
  border-collapse: collapse;
}

table caption {
  color:  var(--color-accent); /* Adds a light border */
  font-size: 18px;
  font-weight:800;
  border-top: 2px solid var(--color-accent);
}

table, th, td {
  border: 1px solid var(--color-accent); /* Adds a light border */
  padding: 8px; /* Adds space inside cells */
}
p {
    margin-bottom: var(--spacing-unit);
  margin-top: var(--spacing-unit);
}

h1 {
  color: var(--color-link);
}

h2, h3, h4 {
  margin-bottom: var(--spacing-unit);
  margin-top: var(--spacing-unit);
  color: var(--color-accent);
}

ul {
  margin-left: 3rem
} 
ol {
  margin-left: 3rem
} 

.entry-content {
  padding-top: 0rem;
}

.entry-meta {
  color:var(--color-text);
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    background-color: var(--color-header-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1rem;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Mobile: Logo, Language, Burger on same row */
@media (max-width: 767px) {
    .header-container {
        flex-wrap: nowrap;
        padding: 1rem;
    }

    .site-branding {
        flex-shrink: 0;
		max-width: 150px;
	}

    .language-switcher {
        flex: 1;
        margin: 0 0.5rem;
        max-width: 70px;
        min-width: 0;
    }

    .main-navigation {
        flex-shrink: 0;
    }
}

/* Fixed size logo area - prevents layout shifts */
.site-branding {
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

/* Custom logo from WordPress Customizer */
.custom-logo-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.custom-logo-link img,
.custom-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
    display: block;
}

/* Fallback site logo when no custom logo is set */
.site-logo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    min-width: 0;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.site-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

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

.site-description {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.main-navigation {
    width: auto;
    order: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Mobile: burger icon only, no text */
@media (max-width: 767px) {
    .main-navigation {
        width: auto;
        order: 3;
    }

    .menu-toggle {
        width: auto;
        padding: 0.625rem;
        min-width: 44px;
        justify-content: center;
    }

    .menu-toggle-text {
        display: none;
    }

    .main-navigation ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        margin-top: 0.5rem;
    }
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-navigation.toggled ul {
    display: flex; /* Shown when toggled on mobile */
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.main-navigation a:hover,
.main-navigation a:focus {
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--color-primary);
}

/* Burger menu toggle - visible on mobile/tablet */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.625rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    width: auto;
    min-width: 44px;
    height: 44px;
    position: relative;
    flex-shrink: 0;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: var(--color-primary);
    color: #ffffff;
}

.menu-toggle:hover .menu-toggle-icon span,
.menu-toggle:focus .menu-toggle-icon span {
    background-color: #ffffff;
}

/* Burger icon - three lines */
.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    position: relative;
}

.menu-toggle-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: currentColor;
    border-radius: 2px;
    transition: var(--transition);
}

/* Transform burger to X when menu is open */
.main-navigation.toggled .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.main-navigation.toggled .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.main-navigation.toggled .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

/* ============================================
   LANGUAGE SWITCHER (Polylang Dropdown)
   ============================================ */

.language-switcher {
    order: 2;
    position: relative;
    flex-shrink: 0;
}

/* Mobile: between logo and burger */
@media (max-width: 767px) {
    .language-switcher {
        order: 2;
        margin: 0;
    }
}

/* ============================================
   CUSTOM LANGUAGE DROPDOWN
   ============================================ */

.language-switcher.custom-lang-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Toggle Button */
.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: transparent;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
    width: 100%;
    justify-content: space-between;
}

.lang-dropdown-toggle:hover,
.lang-dropdown-toggle:focus {
    background-color: var(--color-primary);
    color: #ffffff;
    outline: none;
    border-color: var(--color-primary);
}

.lang-dropdown-toggle[aria-expanded="true"] {
    background-color: var(--color-primary);
    color: #ffffff;
}

.lang-dropdown-toggle[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

/* Flag styling in toggle */
.lang-dropdown-toggle .lang-flag {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 20px;
}

.lang-dropdown-toggle .lang-flag img {
    width: 20px !important;
    height: auto !important;
    display: block !important;
    border-radius: 2px;
    margin: 0;
}

/* Language name */
.lang-dropdown-toggle .lang-name {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow icon */
.lang-dropdown-toggle .lang-arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: inherit;
}

.lang-dropdown-toggle .lang-arrow svg {
    width: 12px;
    height: 12px;
}

/* Dropdown Menu */
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    min-width: 100%;
    width: 100%;
    background-color: var(--color-background);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    list-style: none;
    margin: 0;
    padding: 0.25rem 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.custom-lang-dropdown.active .lang-dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Dropdown Menu Items */
.lang-item {
    margin: 0;
    padding: 0;
    width: 100%;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
    width: 100%;
    box-sizing: border-box;
}

.lang-option:hover,
.lang-option:focus {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
    outline: none;
}

.lang-item.current-lang .lang-option {
    background-color: var(--color-primary);
    color: #ffffff;
}

.lang-item.current-lang .lang-option:hover,
.lang-item.current-lang .lang-option:focus {
    background-color: var(--color-secondary);
    color: #ffffff;
}

/* Flag in dropdown items */
.lang-option .lang-flag {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 20px;
}

.lang-option .lang-flag img {
    width: 20px !important;
    height: auto !important;
    display: block !important;
    border-radius: 2px;
    margin: 0;
}

.lang-option .lang-name {
    flex: 1;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .lang-dropdown-toggle {
        min-width: 60px;
        max-width: 150px;
        font-size: 0.8125rem;
        padding: 0.5rem 0.625rem;
        gap: 0.375rem;
    }

    .lang-dropdown-toggle .lang-name {
        display: none;
    }

    .lang-dropdown-menu {
        left: auto;
        right: 0;
        min-width: 180px;
        width: auto;
    }

    .lang-dropdown-toggle .lang-name + .lang-arrow {
        margin-left: auto;
    }

    .lang-item {
        width: 100%;
    }

    .lang-option {
        width: 100%;
    }
}

/* Fallback for non-dropdown mode (if dropdown is disabled) */
.language-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.language-switcher li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.language-switcher a:hover,
.language-switcher a:focus {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
    text-decoration: none;
    border-color: var(--color-primary);
}

.language-switcher img {
    width: 18px;
    height: auto;
    display: inline-block;
    border-radius: 2px;
}

/* Submenu styling for mobile */
.main-navigation .sub-menu,
.main-navigation .children {
    list-style: none;
    margin: 0.5rem 0 0 0;
    padding-left: 1rem;
    border-left: 2px solid #e5e7eb;
}

.main-navigation .sub-menu a,
.main-navigation .children a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.site-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

.content-area {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ============================================
   REVIEW POSTS / ARTICLES
   ============================================ */

.entry {
    background: var(--color-background);
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition);
    display: block; /* Ensure vertical stacking */
}

.entry:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.entry-title {
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: var(--color-text);
}

.entry-title a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-thumbnail {
    width: 100%;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
}

.entry:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Ensure all content elements stack vertically */
.entry-header,
.entry-content,
.entry-footer,
.post-thumbnail {
    display: block;
    width: 100%;
}

.entry-summary {
    color: #4b5563;
}

.entry-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--color-primary);
    color: #ffffff;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover,
.read-more:focus {
    background-color: var(--color-secondary);
    text-decoration: none;
    transform: translateY(-1px);
}

/* ============================================
   REVIEW RATING
   ============================================ */

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.rating-stars {
    color: var(--color-accent);
    font-size: 1.25rem;
}

.rating-value {
    font-weight: 700;
    color: var(--color-text);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    color: var(--color-text);
    transition: var(--transition);
}

.pagination a:hover,
.pagination a:focus {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    text-decoration: none;
}

.pagination .current {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 3rem 1rem 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.footer-widget {
    color: var(--color-footer-text);
}

.footer-widget .widget-title {
    color: var(--color-footer-text);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget a:hover,
.footer-widget a:focus {
    color: var(--color-footer-text);
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu a:hover,
.footer-menu a:focus {
    color: var(--color-footer-text);
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE: TABLET (768px and up)
   ============================================ */

@media (min-width: 768px) {
    :root {
        --spacing-unit: 1.25rem;
    }

    .header-container {
        flex-wrap: nowrap;
        padding: 2rem;
    }

    .breadcrumbs {
        order: 4;
        padding: 0.75rem 1rem;
    }
    .breadcrumbs nav {
        max-width: var(--max-width);
        margin: 0 auto;
    }

    .breadcrumbs ol,
    .breadcrumbs ul {
        padding: 0 1rem;
    }

    .main-navigation {
        width: auto;
        order: 2;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .language-switcher {
        order: 3;
        margin-left: auto;
    }

    /* Show menu on tablet, hide burger */
    .menu-toggle {
        display: none;
    }

    /* Always show menu on tablet and up */
    .main-navigation ul {
        display: flex !important;
        flex-direction: row;
        gap: 0.25rem;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .main-navigation a {
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }

    /* Submenu dropdown on hover for tablet/desktop */
    .main-navigation li {
        position: relative;
    }

    .main-navigation .sub-menu,
    .main-navigation .children {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background-color: var(--color-background);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border: 1px solid #e5e7eb;
        border-radius: var(--border-radius);
        padding: 0.5rem 0;
        margin: 0;
        padding-left: 0;
        border-left: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
        z-index: 1000;
    }

    .main-navigation li:hover > .sub-menu,
    .main-navigation li:hover > .children,
    .main-navigation li:focus-within > .sub-menu,
    .main-navigation li:focus-within > .children {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-navigation .sub-menu li,
    .main-navigation .children li {
        width: 100%;
    }

    .main-navigation .sub-menu a,
    .main-navigation .children a {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    /* Maintain fixed logo size at tablet */
    .site-branding {
        width: 200px;
        height: 60px;
    }

    .site-main {
        padding: 2rem;
    }

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

/* ============================================
   RESPONSIVE: DESKTOP (1024px and up)
   ============================================ */

@media (min-width: 1024px) {
    :root {
        --spacing-unit: 1.5rem;
    }

    .header-container {
        padding: 1rem 2rem;
    }

    /* Maintain fixed logo size at desktop */
    .site-branding {
        width: 200px;
        height: 60px;
    }

    .breadcrumbs {
        padding: 0.75rem 1rem;
    }

    .breadcrumbs ol,
    .breadcrumbs ul {
        padding: 0 1rem;
    }

    /* Enhanced menu spacing on desktop */
    .main-navigation ul {
        gap: 0.5rem;
    }

    .main-navigation a {
        padding: 0.625rem 1.25rem;
    }

    .site-main {
        padding: 3rem 2rem;
    }

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

/* ============================================
   ACCESSIBILITY
   ============================================ */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles */
*:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ============================================
   UTILITIES
   ============================================ */

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

/* ============================================
   SEARCH FORM
   ============================================ */

.search-form {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-field:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-submit {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover,
.search-submit:focus {
    background-color: var(--color-secondary);
}

/* ============================================
   BREADCRUMBS (in header)
   ============================================ */

.breadcrumbs {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--color-breadcrumbs-bg, #f9fafb);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    line-height: 1.5;
    order: 4;
}

.breadcrumbs ol,
.breadcrumbs ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    max-width: var(--max-width);
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs a {
    color: var(--color-link);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
    color: var(--color-primary);
    text-decoration: underline;
}

.breadcrumbs .breadcrumb_separator,
.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #6b7280;
    font-weight: normal;
}

.breadcrumbs span[property="name"] {
    color: var(--color-text);
    font-weight: 500;
}

/* ============================================
   COMMENTS
   ============================================ */

.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-list {
    list-style: none;
    margin: 0 0 2rem;
}

.comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.comment:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 1rem;
}

.comment-author-avatar {
    flex-shrink: 0;
}

.comment-author-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.comment-author {
    font-weight: 600;
    color: var(--color-text);
}

.comment-time {
    color: #6b7280;
}

.comment-text {
    margin-top: 0.5rem;
    line-height: 1.6;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-primary);
    color: #ffffff;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
}

.comment-reply-link:hover {
    background-color: var(--color-secondary);
}

/* Comment Form */
.comment-form {
    margin-top: 2rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.comment-form .form-submit {
    margin-top: 1rem;
}

.comment-form .submit {
    padding: 0.75rem 2rem;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form .submit:hover,
.comment-form .submit:focus {
    background-color: var(--color-secondary);
}

/* ============================================
   POST NAVIGATION
   ============================================ */

.post-navigation {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

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

.nav-previous,
.nav-next {
    padding: 1rem;
    background-color: var(--color-secondary);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-previous::before,
.nav-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-secondary);
    opacity: 0.1;
    border-radius: var(--border-radius);
    z-index: 0;
}

.nav-previous > *,
.nav-next > * {
    position: relative;
    z-index: 1;
}

.nav-previous a,
.nav-next a {
    color: var(--color-text);
    text-decoration: none;
    display: block;
}

.nav-previous:hover::before,
.nav-next:hover::before {
    background-color: var(--color-accent);
    opacity: 1;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-previous:hover a,
.nav-next:hover a {
    color: #ffffff;
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.nav-previous:hover .nav-subtitle,
.nav-next:hover .nav-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition);
}

.nav-previous:hover .nav-title,
.nav-next:hover .nav-title {
    color: #ffffff;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.page-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 0.5rem;
}

.archive-description {
    color: #6b7280;
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

/* ============================================
   NO RESULTS
   ============================================ */

.no-results {
    text-align: center;
    padding: 3rem 1rem;
}

.no-results .page-title {
    margin-bottom: 1rem;
}

.no-results .entry-content {
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   UTILITIES
   ============================================ */

.mt-1 { margin-top: var(--spacing-unit); }
.mt-2 { margin-top: calc(var(--spacing-unit) * 2); }
.mb-1 { margin-bottom: var(--spacing-unit); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }


</style>