/*
Theme Name: BravoAutoID Blog
Theme URI: https://www.bravoautoid.hu
Author: BravoAutoID
Author URI: https://www.bravoautoid.hu
Description: WordPress blog téma a BravoAutoID.hu főoldal stílusában. RFID megoldások blog.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bravoautoid
Tags: blog, corporate, custom-header, custom-menu, featured-images, translation-ready
*/

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    --brand-primary: #2c4379;
    --brand-blue: #4ca4c2;
    --brand-lightblue: #9bd1dc;
    --brand-purple: #99b2de;
    --brand-darkpurple: #464090;
    --brand-green: #9bc31a;
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5dc;
    --gray-400: #99a1af;
    --gray-500: #6a7282;
    --gray-600: #4a5565;
    --gray-700: #364153;
    --gray-900: #101828;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.625rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition-default: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
    --content-width: 768px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Geist', system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-900);
    background-color: var(--white);
}

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

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color var(--transition-default);
}

a:hover {
    color: var(--brand-primary);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--brand-primary);
    margin-bottom: 0.75em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.25rem;
    color: var(--gray-700);
}

blockquote {
    border-left: 4px solid var(--brand-blue);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--gray-50);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--gray-600);
}

pre, code {
    font-family: 'Geist Mono', ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
}

pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 1.5rem 0;
}

code {
    background: var(--gray-100);
    padding: 0.15em 0.4em;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

pre code {
    background: transparent;
    padding: 0;
}

/* ============================================
   Layout
   ============================================ */
.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.content-area {
    max-width: var(--content-width);
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(44, 67, 121, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background var(--transition-slow);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo span {
    letter-spacing: -0.02em;
}

/* Desktop Navigation */
.main-navigation {
    display: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-default);
    position: relative;
    padding: 0.25rem 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--white);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-green);
    transition: width var(--transition-slow);
    border-radius: 1px;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

.header-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--brand-green);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-default);
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: #8ab315;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: background var(--transition-default);
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform var(--transition-slow);
}

.mobile-menu-toggle span::before { top: -7px; }
.mobile-menu-toggle span::after { top: 7px; }

.mobile-menu-toggle.active span {
    background: transparent;
}

.mobile-menu-toggle.active span::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active span::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 67, 121, 0.98);
    backdrop-filter: blur(20px);
    z-index: 49;
    padding: 2rem 1.5rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color var(--transition-default);
}

.mobile-menu a:hover {
    color: var(--brand-green);
}

.mobile-menu .btn-cta {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

@media (min-width: 1024px) {
    .main-navigation {
        display: block;
    }
    .header-cta {
        display: flex;
    }
    .mobile-menu-toggle {
        display: none;
    }
}

/* ============================================
   Blog Hero / Page Header
   ============================================ */
.page-hero {
    padding-top: 72px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-darkpurple) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(76, 164, 194, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    display: inline-block;
}

/* ============================================
   Blog Layout
   ============================================ */
.blog-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

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

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Full-width blog layout (no sidebar) */

/* ============================================
   Post Card
   ============================================ */
.post-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.post-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--gray-100);
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-card__image img {
    transform: scale(1.05);
}

.post-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--brand-blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.post-card__content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.post-card__meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.post-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.post-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-card__title a {
    color: inherit;
    text-decoration: none;
}

.post-card__title a:hover {
    color: var(--brand-blue);
}

.post-card__excerpt {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.post-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-blue);
    transition: all var(--transition-default);
}

.post-card__readmore:hover {
    color: var(--brand-primary);
    gap: 0.75rem;
}

.post-card__readmore svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-default);
}

.post-card__readmore:hover svg {
    transform: translateX(4px);
}

/* Featured Post */
.post-card--featured {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .post-card--featured {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .post-card--featured .post-card__image {
        aspect-ratio: auto;
    }

    .post-card--featured .post-card__content {
        padding: 2rem;
        justify-content: center;
    }

    .post-card--featured .post-card__title {
        font-size: 1.75rem;
    }
}

/* ============================================
   Single Post
   ============================================ */
.single-post-content {
    padding: 4rem 0;
}

.post-article {
    max-width: var(--content-width);
    margin: 0 auto;
}

.post-featured-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

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

.post-header {
    margin-bottom: 2rem;
}

.post-header .post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-header .post-categories a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(76, 164, 194, 0.1);
    color: var(--brand-blue);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: all var(--transition-default);
}

.post-header .post-categories a:hover {
    background: var(--brand-blue);
    color: var(--white);
}

.post-header h1 {
    font-size: 2.25rem;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.post-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta__item svg {
    width: 16px;
    height: 16px;
    color: var(--brand-blue);
}

.post-meta__author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Post Content Typography */
.post-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.post-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.post-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.post-body ul,
.post-body ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.post-body li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.post-body img {
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.post-body a {
    color: var(--brand-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-body a:hover {
    color: var(--brand-primary);
}

.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.post-body th,
.post-body td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    text-align: left;
}

.post-body th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--brand-primary);
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.post-tags a {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.8125rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-default);
}

.post-tags a:hover {
    background: var(--brand-primary);
    color: var(--white);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.post-navigation a {
    display: block;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-default);
}

.post-navigation a:hover {
    background: var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.post-navigation__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 0.375rem;
}

.post-navigation__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-primary);
    line-height: 1.4;
}

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

/* ============================================
   Search Form
   ============================================ */
.search-form {
    display: flex;
    gap: 0;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid var(--gray-200);
    border-right: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--gray-900);
    outline: none;
    transition: border-color var(--transition-default);
}

.search-form input[type="search"]:focus {
    border-color: var(--brand-blue);
}

.search-form button {
    padding: 0.625rem 1rem;
    background: var(--brand-primary);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    cursor: pointer;
    transition: background var(--transition-default);
}

.search-form button:hover {
    background: var(--brand-darkpurple);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--brand-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-logo span {
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.footer-column h4 {
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--transition-default);
}

.footer-column ul li a:hover {
    color: var(--brand-green);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact li svg {
    width: 18px;
    height: 18px;
    color: var(--brand-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-default);
    text-decoration: none;
}

.pagination .page-numbers:hover {
    background: var(--brand-primary);
    color: var(--white);
}

.pagination .page-numbers.current {
    background: var(--brand-primary);
    color: var(--white);
}

.pagination .page-numbers.dots {
    background: transparent;
    box-shadow: none;
}

/* ============================================
   Comments
   ============================================ */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

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

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

.comment-body {
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

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

.comment-author .fn {
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 0.9375rem;
}

.comment-metadata {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.comment-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.comment-respond {
    margin-top: 2rem;
}

.comment-form label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--gray-900);
    margin-bottom: 1rem;
    outline: none;
    transition: border-color var(--transition-default);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(76, 164, 194, 0.1);
}

.comment-form .form-submit input {
    display: inline-flex;
    padding: 0.75rem 2rem;
    background: var(--brand-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-default);
}

.comment-form .form-submit input:hover {
    background: var(--brand-darkpurple);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-default);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--brand-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--brand-darkpurple);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--brand-primary);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.btn-green {
    background: var(--brand-green);
    color: var(--white);
}

.btn-green:hover {
    background: #8ab315;
    color: var(--white);
}

/* ============================================
   404 Page
   ============================================ */
.error-404 {
    text-align: center;
    padding: 6rem 0;
}

.error-404 h1 {
    font-size: 8rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-404 h2 {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.error-404 p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

/* ============================================
   Utilities
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 767px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    .page-hero .container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .page-hero h1 {
        font-size: 1.875rem;
    }
    .post-header h1 {
        font-size: 1.75rem;
    }
    .blog-section {
        padding: 2.5rem 0;
    }
    .post-navigation {
        grid-template-columns: 1fr;
    }
}

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.alignwide {
    margin-left: -2rem;
    margin-right: -2rem;
    max-width: calc(100% + 4rem);
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

/* WordPress caption */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.wp-caption-text {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-align: center;
    padding-top: 0.5rem;
}

/* WordPress gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.gallery-item img {
    border-radius: var(--radius-md);
}
