/*
Theme Name: Grasnick Custom
Theme URI: https://grasnick-custom.com
Author: Grasnick Custom
Description: Professionelles Classic Theme für Enterprise Consulting - Jan & Sara Grasnick
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: gc
*/

/* ===== Local Fonts ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/inter-700.woff2') format('woff2');
}

/* ===== CSS Variables ===== */
:root {
    /* Primärfarben */
    --color-green: #66D11A;
    --color-green-dark: #52a815;
    --color-turquoise: #2C8FA0;
    --color-turquoise-dark: #237384;
    --color-primary: #2C8FA0;
    --color-primary-dark: #237384;
    /* Sekundärfarben */
    --color-dark: #1a3a3f;
    --color-dark-soft: #2d4f54;
    --color-dark-muted: #3d6166;
    --color-light: #ffffff;
    --color-light-soft: #f5f7f8;
    --color-light-muted: #a0aeb0;
    /* Textfarben */
    --color-text: #374151;
    --color-text-muted: #6B7280;
    --color-border: #e0e5e6;
    --color-accent: #66D11A;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --container-max: 1200px;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --transition: 0.2s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-light);
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; line-height: 1.2; }
p { margin: 0; }
address { font-style: normal; }

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--color-green);
    color: var(--color-light);
    border-color: var(--color-green);
}
.btn-primary:hover {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
}
.btn-outline {
    background: transparent;
    color: var(--color-light);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* ===== Top Bar ===== */
.top-bar {
    background: var(--color-dark);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--color-light-muted);
}
.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.top-bar__contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.top-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-light-muted);
    transition: color var(--transition);
}
.top-bar__link:hover { color: var(--color-light); }
.top-bar__link svg { flex-shrink: 0; }

/* ===== Header ===== */
.site-header {
    background: var(--color-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.site-branding {
    flex-shrink: 0;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-green);
    color: var(--color-light);
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
}
.logo-image {
    height: 40px;
    width: auto;
}
.footer-logo .logo-image {
    height: 32px;
    filter: brightness(0) invert(1);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-name {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
}
.logo-tagline {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

/* Navigation */
.main-navigation {
    display: none; /* TODO: aktivieren wenn Inhalte da sind */
    /* display: flex; */
    align-items: center;
}
.primary-menu {
    display: flex;
    gap: 0.25rem;
}
.primary-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-dark-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.primary-menu li a:hover,
.primary-menu .current-menu-item a {
    color: var(--color-primary);
    background: var(--color-light-soft);
}

/* Dropdown menus */
.primary-menu li {
    position: relative;
}
.primary-menu .sub-menu,
.primary-menu .children {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 14rem;
    padding: 0.5rem;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 200;
}
.primary-menu .sub-menu li a,
.primary-menu .children li a {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:hover > .children,
.primary-menu li.focus > .sub-menu,
.primary-menu li.focus > .children {
    display: block;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--color-light-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.625rem;
    cursor: pointer;
}
.menu-toggle:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.menu-toggle:hover .hamburger span {
    background: var(--color-light);
}
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
}
.header-cta { display: flex; }

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
    padding: 5rem 0 6rem;
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(102, 209, 26, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(255,255,255,0.15);
    color: var(--color-light);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-light);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.hero-description {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Team Cards in Hero */
.hero-team {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.team-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}
.team-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-light);
    flex-shrink: 0;
}
.team-info h3 {
    color: var(--color-light);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}
.team-info p {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(44, 143, 160, 0.1);
    color: var(--color-turquoise);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--color-text);
}
.section-description {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ===== Services Section ===== */
.services-section {
    padding: 5rem 0;
    background: var(--color-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--color-light-soft);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: 2rem;
    transition: all var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(44, 143, 160, 0.1);
    color: var(--color-turquoise);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}
.service-description {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===== About Section ===== */
.about-section {
    padding: 5rem 0;
    background: var(--color-light);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.check-list {
    margin-bottom: 2rem;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--color-text);
}
.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(102, 209, 26, 0.15);
    color: var(--color-green);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.skill-tag {
    background: var(--color-primary);
    color: var(--color-light);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
}
.about-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.about-person {
    text-align: center;
    padding: 2rem;
}
.about-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}
.about-person h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}
.about-role {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}
.about-bio {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 5rem 0;
    background: var(--color-light-soft);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-light);
    border-radius: var(--radius-lg);
}
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(44, 143, 160, 0.1);
    color: var(--color-turquoise);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}
.contact-details p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}
.contact-details a {
    color: var(--color-text-muted);
    transition: color var(--transition);
}
.contact-details a:hover { color: var(--color-primary); }

.contact-form-wrapper {
    background: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius-xl);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.9375rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-light-soft);
    transition: border-color var(--transition), box-shadow var(--transition);
    box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 143, 160, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Blog Section ===== */
.blog-section {
    padding: 5rem 0;
    background: var(--color-light-soft);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.blog-card {
    background: var(--color-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.blog-card__image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}
.blog-card__content {
    padding: 1.5rem;
}
.blog-card__date {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}
.blog-card__title {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}
.blog-card__title a {
    color: var(--color-text);
    transition: color var(--transition);
}
.blog-card__title a:hover {
    color: var(--color-primary);
}
.blog-card__excerpt {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.blog-card__link {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9375rem;
    transition: color var(--transition);
}
.blog-card__link:hover {
    color: var(--color-primary-dark);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--color-dark);
    color: var(--color-light-muted);
    padding-top: 2rem;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-dark-soft);
}
.footer-widget--brand .footer-logo {
    margin-bottom: 1rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}
.footer-logo .logo-name {
    color: var(--color-light);
}
.footer-description {
    color: var(--color-light-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-dark-soft);
    color: var(--color-light-muted);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.social-link:hover {
    background: var(--color-primary);
    color: var(--color-light);
}
.footer-widget__title {
    color: var(--color-light);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: var(--color-light-muted);
    font-size: 0.9375rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-light); }
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
}
.footer-contact__item svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}
.footer-contact__item a {
    color: var(--color-light-muted);
    transition: color var(--transition);
}
.footer-contact__item a:hover { color: var(--color-light); }
.footer-bottom {
    padding: 1.5rem 0;
}
.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copyright {
    font-size: 0.875rem;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    color: var(--color-light-muted);
    font-size: 0.875rem;
    transition: color var(--transition);
}
.footer-legal a:hover { color: var(--color-light); }

/* ===== Single Post / Page ===== */
.single-post {
    padding-bottom: 4rem;
}
.single-hero {
    position: relative;
    overflow: visible;
    background: transparent;
}
.single-hero__blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 90%;
    overflow: hidden;
    z-index: 0;
}
.single-hero__blur::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    filter: blur(25px) brightness(0.5);
}
.single-hero .container {
    position: relative;
    z-index: 1;
}
.single-hero__img-wrapper {
    position: relative;
}
.single-hero__img-wrapper::after {
    display: none;
}
.single-hero img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}
.single-article {
    position: relative;
    margin-top: -1rem;
    background: var(--color-light);
    padding-top: 4rem;
}
.single-header {
    max-width: 800px;
    margin-bottom: 0.5rem;
}
.single-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}
.single-excerpt {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.single-content,
.entry-content {
    max-width: 720px;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--color-text);
    letter-spacing: -0.01em;
    margin-top: 2rem;
}
.single-header + .single-content {
    margin-top: 0.5rem;
}
.single-content::after,
.entry-content::after {
    content: "";
    display: block;
    clear: both;
}
.single-content p,
.entry-content p {
    margin-bottom: 1.75rem;
    text-wrap: pretty;
}
.single-content strong,
.entry-content strong {
    font-weight: 600;
    color: var(--color-text);
}
.single-content a,
.entry-content a {
    color: var(--color-turquoise);
    text-decoration: underline;
    text-decoration-color: rgba(44, 143, 160, 0.3);
    text-underline-offset: 3px;
    transition: all var(--transition);
}
.single-content a:hover,
.entry-content a:hover {
    color: var(--color-turquoise-dark);
    text-decoration-color: var(--color-turquoise);
}
.single-content ul,
.entry-content ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}
.single-content ol ul,
.entry-content ol ul {
    margin: 0.5rem 0;
    padding-left: 1rem;
}
.single-content ul li,
.entry-content ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.6;
}
.single-content ul li::before,
.entry-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--color-green);
    border-radius: 50%;
}
.single-content ol,
.entry-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    list-style: decimal;
}
.single-content ol li,
.entry-content ol li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}
.single-content hr,
.entry-content hr {
    border: none;
    height: 1px;
    background: var(--color-border);
    margin: 3rem 0;
}
.single-content img,
.entry-content img {
    border-radius: var(--radius-lg);
    margin: 2.5rem 0;
    box-shadow: var(--shadow-md);
}
.single-content h2,
.single-content h3,
.entry-content h2,
.entry-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.single-content h1,
.entry-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.single-content h2,
.entry-content h2 {
    font-size: 1.375rem;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.single-content > h2:first-child,
.entry-content > h2:first-child {
    margin-top: 0;
}
.single-content h3,
.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}
.single-content > h1:first-child,
.single-content > h3:first-child,
.entry-content > h1:first-child,
.entry-content > h3:first-child {
    margin-top: 0;
}
.single-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-outline-dark {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}
.btn-outline-dark:hover {
    background: var(--color-light-soft);
    border-color: var(--color-text);
}

/* ===== Accessibility ===== */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-team { flex-direction: column; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .top-bar__inner { justify-content: center; }
    .header-inner { flex-wrap: wrap; position: relative; }
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .primary-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        background: var(--color-light);
        border-top: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        z-index: 100;
    }
    .primary-menu li a {
        padding: 0.75rem 1rem;
    }
    .primary-menu .sub-menu,
    .primary-menu .children {
        position: static;
        padding: 0.25rem 0;
        margin: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .primary-menu li:hover > .sub-menu,
    .primary-menu li:hover > .children {
        display: none;
    }
    .primary-menu li.focus > .sub-menu,
    .primary-menu li.focus > .children {
        display: block;
    }
    .primary-menu .sub-menu a,
    .primary-menu .children a {
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }
    .main-navigation.toggled .primary-menu { display: flex; }
    .header-cta {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .header-cta .btn { padding: 0.5rem 1rem; font-size: 0.875rem; }
    .hero-team { flex-direction: column; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: 1fr; text-align: center; }
    .footer-widget--brand { align-items: center; }
    .footer-logo { justify-content: center; }
    .footer-social { justify-content: center; }
    .footer-contact { align-items: center; }
    .footer-bottom__inner { justify-content: center; flex-direction: column; text-align: center; }
}
