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

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background: #ffffff;
    color: #000000;
    min-height: 100vh;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    width: calc(100% - 4rem);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    background: #ffffff;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: #2a2a2a;
    position: relative;
    flex: 1;
    border-bottom: none;
    border-radius: 8px;
    min-height: 56px;
}

.logo {
    background: #4a4a4a;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-line1 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-line2 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.lang-switcher-standalone {
    background: #2a2a2a;
    padding: 0.6rem;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    min-height: 56px;
}

.lang-switcher-standalone:hover {
    background: #3a3a3a;
}

.nav-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: #ffffff;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
}


main {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.content-wrapper {
    flex: 1;
    min-width: 0;
}

.content {
    background: transparent;
    padding: 0;
    color: #000000;
    text-align: left;
}

/* About Header with Photo and Text Side by Side */
.about-header-full {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e5e5;
}

.about-opening-inline {
    flex: 1;
    order: 1;
}

.about-opening-inline h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.about-opening-inline .subtitle {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 1rem;
    font-weight: 400;
}

.about-opening-inline .lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 0;
}

.about-image {
    flex-shrink: 0;
    order: 2;
}

.about-image img {
    width: 180px;
    height: 180px;
    border-radius: 0;
    object-fit: cover;
    border: 3px solid #e5e5e5;
}

.about-images {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.about-images img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    border: 3px solid #e5e5e5;
    flex: 1;
    min-width: 300px;
    max-width: calc(50% - 1rem);
}

.about-section {
    margin: 2rem 0;
}

.about-section h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 1rem;
    margin-top: 0;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333333;
}

.about-section .subheading {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #000000;
    font-weight: 600;
}

.about-highlights {
    background: #f9f9f9;
    padding: 1.5rem;
    margin: 2.5rem 0;
    border-left: 4px solid #000000;
}

.about-highlights h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 1.25rem;
    margin-top: 0;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.highlights-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #000000;
    font-size: 1.1rem;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.2;
    color: #000000;
}

.content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.3;
    color: #000000;
}

.content h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333333;
}

.subscription-box {
    background: #f5f5f5;
    padding: 1.75rem;
    border-radius: 0;
    color: #000000;
    text-align: left;
    margin-top: 0;
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.subscription-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: #000000;
}

.subscription-box p {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 100%;
}

.subscription-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cccccc;
    border-radius: 0;
    background: #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-family: inherit;
}

.subscription-form input::placeholder {
    color: #999999;
}

.subscription-form input:focus {
    outline: none;
    border-color: #000000;
}

.subscription-form button {
    width: 100%;
    padding: 0.75rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
    font-family: inherit;
}

.subscription-form button:hover {
    background: #333333;
}

.flash-messages {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 0 2rem;
}

.flash-message {
    padding: 1rem 1.5rem;
    border-radius: 0;
    margin-bottom: 0.75rem;
    font-weight: 400;
    border-left: 3px solid;
}

.flash-success {
    background: #f0f9f4;
    color: #166534;
    border-left-color: #22c55e;
}

.flash-error {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: #ef4444;
}

.flash-info {
    background: #eff6ff;
    color: #1e40af;
    border-left-color: #3b82f6;
}

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

.blog-post {
    background: transparent;
    padding: 1.5rem;
    margin-bottom: 0;
    color: #000000;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.blog-post:last-child {
    border-bottom: 1px solid #e5e5e5;
}

.blog-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.2s ease;
}

.blog-post:hover {
    background: #f5f5f5;
    transform: translateX(4px);
}

.blog-post h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: #000000;
}

.blog-post-full {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.blog-post-full h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
}

.back-link-container {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: left;
}

.back-to-blog {
    color: #666666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.back-to-blog:hover {
    color: #000000;
}

.blog-post .date {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post p {
    color: #333333;
    line-height: 1.7;
    font-size: 1rem;
}

.blog-post .excerpt {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 1rem;
    font-style: italic;
}

.blog-post .post-content {
    color: #333333;
    line-height: 1.7;
    margin-top: 1rem;
    font-size: 1rem;
}

.markdown-content {
    font-size: 1rem;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #000000;
}

.markdown-content h1 {
    font-size: 1.75rem;
}

.markdown-content h2 {
    font-size: 1.5rem;
}

.markdown-content h3 {
    font-size: 1.25rem;
}

.markdown-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    display: block;
}

/* Image positioning classes for blog posts - Higher specificity */
.markdown-content img.img-left {
    float: left !important;
    max-width: 50% !important;
    margin: 1rem 2rem 1rem 0 !important;
    display: block;
}

.markdown-content img.img-right {
    float: right !important;
    max-width: 50% !important;
    margin: 1rem 0 1rem 2rem !important;
    display: block;
}

.markdown-content img.img-center {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 80% !important;
    float: none !important;
}

.markdown-content img.img-full {
    width: 100% !important;
    max-width: 100% !important;
    margin: 2rem 0 !important;
    display: block !important;
    float: none !important;
}

.markdown-content img.img-small {
    max-width: 300px !important;
    margin: 1rem auto !important;
    display: block !important;
    float: none !important;
}

/* Clear floats */
.markdown-content::after {
    content: "";
    display: table;
    clear: both;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.markdown-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.25rem;
    color: #666666;
    font-style: italic;
}

.markdown-content code {
    background: #f5f5f5;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d63384;
}

.markdown-content pre {
    background: #f5f5f5;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

.markdown-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.markdown-content a {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.markdown-content a:hover {
    color: #333333;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.25rem;
}

.markdown-content table th,
.markdown-content table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.markdown-content table th {
    background: #f5f5f5;
    font-weight: 600;
}

.markdown-content hr {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 2rem 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.link-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #000000;
    transition: all 0.2s ease;
}

.link-card:hover {
    background: #f5f5f5;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.link-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.link-card:hover .link-image img {
    transform: scale(1.05);
}

/* Link card image positioning */
.link-card.image-top .link-image {
    order: 1;
}

.link-card.image-bottom .link-image {
    order: 3;
}

.link-card.image-left {
    flex-direction: row;
}

.link-card.image-left .link-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    order: 1;
}

.link-card.image-left .link-content {
    order: 2;
    flex: 1;
}

.link-card.image-right {
    flex-direction: row-reverse;
}

.link-card.image-right .link-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    order: 2;
}

.link-card.image-right .link-content {
    order: 1;
    flex: 1;
}

.link-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-content h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    color: #000000;
    line-height: 1.4;
}

.link-summary {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.link-date {
    color: #999999;
    font-size: 0.85rem;
    margin-top: auto;
}

.contact-form-container {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.contact-emojis {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
}

.contact-emoji-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    text-decoration: none;
    color: #000000;
    transition: all 0.2s;
    border-radius: 0;
}

.contact-emoji-link:hover {
    color: #333333;
    transform: translateY(-2px);
}

.contact-emoji-link svg {
    width: 24px;
    height: 24px;
}

.contact-form-container h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: #000000;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid #cccccc;
    border-radius: 0;
    background: #ffffff;
    color: #000000;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    padding: 0.875rem 2rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-weight: 400;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
    font-family: inherit;
    align-self: flex-start;
}

.contact-submit-btn:hover {
    background: #333333;
}

.contact-info {
    margin-top: 3rem;
    text-align: left;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    font-weight: 400;
    color: #000000;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: transparent;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.contact-item:hover {
    background: #f5f5f5;
    color: #000000;
    transform: translateX(4px);
}

.contact-item:last-child {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 0;
}

.contact-item svg {
    flex-shrink: 0;
    color: #000000;
}

.contact-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.875rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.contact-value {
    font-size: 1rem;
    font-weight: 400;
    color: #000000;
}

/* Social Media Icons */
.social-media-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #4a4a4a;
    border-radius: 0;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: #333333;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.site-footer {
    background: #ffffff;
    color: #000000;
    padding: 2rem;
    text-align: center;
    margin-top: 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    color: #000000;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .navbar-container {
        width: calc(100% - 2rem);
        margin: 1.5rem auto 0 auto;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }
    
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .logo {
        padding: 0.5rem 1rem;
    }
    
    .logo-line1,
    .logo-line2 {
        font-size: 0.9rem;
    }
    
    .lang-switcher-standalone {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
    }
    
    main {
        padding: 2rem 1rem;
        flex-direction: column;
    }
    
    .about-header-full {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .about-opening-inline {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-image img {
        width: 120px;
        height: 120px;
    }
    
    .about-opening-inline h2 {
        font-size: 1.4rem;
    }
    
    .about-opening-inline .subtitle {
        font-size: 0.9rem;
    }
    
    .about-opening-inline .lead {
        font-size: 1rem;
    }
    
    .about-images {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-images img {
        min-width: 100%;
        max-width: 100%;
    }
    
    .about-section .subheading {
        font-size: 1rem;
        margin-top: 1.25rem;
    }
    
    .about-section h3,
    .about-highlights h3 {
        font-size: 1.1rem;
    }
    
    .about-section p {
        font-size: 0.95rem;
    }
    
    .about-highlights {
        padding: 1.25rem;
        margin: 2rem 0;
    }
    
    .highlights-list li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }
    
    .content h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .subscription-box {
        width: 100%;
        max-width: 100%;
        position: static;
        margin-bottom: 2rem;
    }
    
    .nav-right {
        gap: 0.5rem;
    }
    
    .lang-switcher {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .contact-links {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

