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

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #131829;
    --bg-card: rgba(255, 255, 255, 0.05);
    --accent-primary: #00d4ff;
    --accent-secondary: #7c3aed;
    --text-primary: #ffffff;
    --text-secondary: #d4dce8; /* Improved for WCAG AA contrast (7:1 ratio on dark bg) */
    --text-muted: #b8c5d6; /* For less important text with 4.5:1 contrast */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Accessibility: Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 1000;
    border-radius: 0 0 8px 0;
}

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

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.bg-animation span {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-primary);
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
}

.bg-animation span:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-animation span:nth-child(2) {
    width: 400px;
    height: 400px;
    top: 50%;
    right: 10%;
    background: var(--accent-secondary);
    animation-delay: 5s;
}

.bg-animation span:nth-child(3) {
    width: 350px;
    height: 350px;
    bottom: 10%;
    left: 50%;
    background: #f093fb;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(50px, -50px); }
    66% { transform: translate(-30px, 30px); }
}

header {
    position: relative;
    z-index: 100;
    padding: 1.5rem 5%;
    backdrop-filter: blur(10px);
    background: rgba(10, 14, 39, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.hero {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 5% 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.categories {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 5%;
}

/* About page */
.about {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 5% 8rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.about-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-hero__text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero__text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 520px;
}

.about-hero__quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-hero__stat {
    background: var(--bg-card);
    padding: 1.75rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.about-hero__stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.about-hero__stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.about-hero__image {
    padding: 0;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    min-height: 320px;
    display: flex;
    align-items: stretch;
}

.about-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-mission {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 3rem;
    align-items: center;
}

.about-mission__card {
    background: var(--bg-card);
    padding: 2.75rem;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.about-mission__card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-mission__card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.about-mission__pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-pillar {
    background: rgba(255, 255, 255, 0.04);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-pillar:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.5);
}

.about-pillar h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.about-pillar p {
    color: var(--text-secondary);
}

.about-story__header {
    max-width: 620px;
    margin-bottom: 2.5rem;
}

.about-story__header h2 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.about-story__header p {
    color: var(--text-secondary);
}

.about-timeline {
    position: relative;
    display: grid;
    gap: 2.5rem;
    padding-left: 1.5rem;
}

.about-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.4rem;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary), rgba(0, 212, 255, 0));
}

.about-timeline__item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.about-timeline__year {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.about-timeline__item h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.about-timeline__item p {
    color: var(--text-secondary);
}

.about-highlights__intro {
    max-width: 680px;
    margin-bottom: 2.5rem;
}

.about-highlights__intro h2 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.about-highlights__intro p {
    color: var(--text-secondary);
}

.about-highlights__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-highlight {
    background: rgba(255, 255, 255, 0.04);
    padding: 2.25rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.about-highlight h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.about-highlight p {
    color: var(--text-secondary);
}

.about-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.about-cta__content {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(0, 212, 255, 0.25));
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-cta__content h2 {
    font-size: 2rem;
}

.about-cta__content p {
    color: var(--text-secondary);
}

.about-cta .btn {
    align-self: flex-start;
}

.about-extra {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem;
}

.about-extra p {
    color: var(--text-secondary);
}

@media (max-width: 1100px) {
    .about-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-hero__quick-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-mission {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-mission__pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-cta {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .about {
        padding-top: 4rem;
        gap: 3.5rem;
    }

    .about-hero__text h1 {
        font-size: 2.6rem;
    }

    .about-hero__quick-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-mission__pillars {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-timeline__item {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }

    .about-highlights__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

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

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.category-card:nth-child(2)::before { background: var(--gradient-2); }
.category-card:nth-child(3)::before { background: var(--gradient-3); }

.category-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-card:hover::before { opacity: 0.15; }

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.featured {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 5%;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1400px) {
    .review-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-card {
    position: relative;
    border-radius: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.4s;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.review-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

.review-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.placeholder-icon {
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.review-card:nth-child(2) .review-image { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.review-card:nth-child(3) .review-image { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.review-content { padding: 2rem; }

.review-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.review-content h3 a:hover { color: var(--accent-primary); }

.review-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-tag {
    background: rgba(0, 212, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: var(--accent-primary);
}

.review-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.review-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.load-more-button {
    display: inline-block;
}

.newsletter {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 6rem auto;
    padding: 4rem 5%;
    text-align: center;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
}

.newsletter-form .newsletter-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.newsletter-form .message-success,
.newsletter-form .message-error {
    display: none;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.newsletter-form .message-success {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.newsletter-form .message-error {
    background: rgba(245, 87, 108, 0.1);
    border: 1px solid #f5576c;
    color: #f5576c;
}

.newsletter-form.success .message-success {
    display: block;
}

.newsletter-form.error .message-error {
    display: block;
}

.newsletter-form .button-loader {
    display: none;
}

.newsletter-form.loading .button-loader {
    display: inline-block;
}

.newsletter-form.loading .button-text {
    display: none;
}

.post-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 5%;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.post-tag {
    background: rgba(0, 212, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.post-feature-image {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.post-feature-image img {
    width: 100%;
    height: auto;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.post-body h2, .post-body h3, .post-body h4 {
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.post-body p { margin-bottom: 1.5rem; }

.post-body a {
    color: var(--accent-primary);
    text-decoration: none;
}

.post-body a:hover { text-decoration: underline; }

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

.post-body li { margin-bottom: 0.5rem; }

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
}

.post-body blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.post-body code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.post-body pre {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-author {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.post-author h3 { margin-bottom: 1.5rem; }

.author-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.author-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 { margin-bottom: 0.5rem; }
.author-info p { color: var(--text-secondary); }

footer {
    position: relative;
    z-index: 10;
    margin: 6rem 0 0;
    padding: 3rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    background: rgba(10, 14, 39, 0.5);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-main {
    flex: 1;
    max-width: 600px;
}

.footer-heading {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.footer-main p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.footer-main p.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-social .footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.5); /* Improved visibility for accessibility */
    user-select: none;
}

.copyright {
    font-size: 0.8rem;
    color: #b8c5d6; /* Improved contrast for WCAG AA compliance */
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-main {
        max-width: 100%;
    }

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

    .social-icons {
        justify-content: center;
    }

    .footer-links {
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .footer-links .separator {
        display: none;
    }

    .footer-links a {
        display: block;
        padding: 0.25rem 0;
    }

    .footer-links a::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 0.25rem;
    }

    .footer-links a:last-child::after {
        display: none;
    }
}

/* REQUIRED GHOST CLASSES - DO NOT REMOVE */
.kg-width-wide {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
}

.kg-width-full {
    width: 100vw;
    max-width: none;
    margin: 2rem 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.kg-width-full img {
    width: 100%;
    height: auto;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
}

.kg-gallery-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}

.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.kg-bookmark-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-decoration: none;
    display: flex;
    transition: all 0.3s;
}

.kg-bookmark-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.kg-bookmark-content { flex: 1; }

.kg-bookmark-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.kg-bookmark-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.kg-bookmark-thumbnail {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 1rem;
}

.kg-card { margin: 2rem 0; }
.kg-embed-card { margin: 2rem 0; }

.kg-image-card {
    margin: 2rem 0;
    text-align: center;
}

.kg-image-card img {
    max-width: 100%;
    height: auto;
}

figcaption {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Accessibility: Focus Indicators */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-links a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

.btn:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 3px;
}

.review-card:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: -3px;
    box-shadow: 0 0 0 3px var(--bg-primary), 0 0 0 6px var(--accent-primary);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .cta-buttons { flex-direction: column; }
    .nav-links { gap: 1rem; font-size: 0.9rem; }
    .review-grid { grid-template-columns: 1fr !important; }
    .post-title { font-size: 2rem; }
    .author-info { flex-direction: column; text-align: center; }
    .post-content {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
    }
    .post-body { font-size: 1rem; }
}
