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

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

body {
    overflow-x: hidden;
}

/* ===================================
   Header Navigation
   =================================== */
#nav-manu-wrapper {
    background-color: rgb(139, 70, 123);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.logo-wrapper {
    padding: 20px;
    text-align: center;
}

.logo-wrapper a {
    text-decoration: none;
}

#logo {
    margin: 0;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 1px;
}

#menu-wrapper {
    background-color: #8b467b;
}

#menu-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

#menu-ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

#menu-ul li {
    padding: 15px 25px;
}

#menu-ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}

#menu-ul li a:hover {
    opacity: 0.8;
}

#hamburger-menu {
    display: none;
}

.hamburger-menu-hide {
    display: none;
}

/* ===================================
   Main Content
   =================================== */
#web-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-wrapper {
    background: #fff;
}

/* ===================================
   Article Title & Meta
   =================================== */
.main-title-wrapper {
    margin-bottom: 35px;
}

#main-title {
    font-size: 38px;
    line-height: 1.3;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    letter-spacing: -0.3px;
}

.post-info-top {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

#author-avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.author-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#author-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.author-name-link {
    color: #333;
    text-decoration: none;
}

.author-name-link:hover {
    color: #8b467b;
}

.post-date {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================
   Article Content
   =================================== */
.content-wrapper {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.content-wrapper h1 {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
    margin: 50px 0 20px;
    color: #1a1a1a;
}

.content-wrapper h2 {
    font-size: 26px;
    line-height: 1.4;
    font-weight: 700;
    margin: 45px 0 20px;
    color: #1a1a1a;
}

.content-wrapper p {
    margin-bottom: 20px;
    color: #333;
}

.content-wrapper strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* ===================================
   Images
   =================================== */
.f-img,
.img-wrapper {
    margin: 30px 0;
    text-align: center;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

figure {
    margin: 30px 0;
}

figure img {
    width: 100%;
}

/* ===================================
   OnePager Sections
   =================================== */
#omg-onePager-content {
    margin-top: 40px;
}

.omg-onepager-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
}

/* ===================================
   Ad Placeholders
   =================================== */
.ad_placeholder {
    margin: 35px 0;
    min-height: 280px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    clear: both;
}

.ad_placeholder > div {
    width: 48%;
}

.ad_placeholder iframe {
    display: block;
}

/* Hide empty ad containers */
.ad_placeholder > div:empty {
    display: none;
}

/* ===================================
   Footer
   =================================== */
#footer-wrapper {
    margin-top: 80px;
    padding: 40px 20px;
}

#footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    list-style: none;
}

#footer-container li {
    padding: 0;
}

#footer-container a {
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

#footer-container a:hover {
    opacity: 0.8;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    #web-content {
        padding: 30px 20px;
    }
    
    #menu-ul {
        flex-wrap: wrap;
    }
    
    #menu-ul li {
        padding: 12px 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .logo-wrapper {
        padding: 15px;
    }
    
    #logo {
        font-size: 18px !important;
    }
    
    #menu-wrapper {
        display: none;
    }
    
    #hamburger-menu {
        display: block;
        text-align: right;
        padding: 15px 20px;
    }
    
    .menu-button {
        font-size: 28px;
        cursor: pointer;
        user-select: none;
    }
    
    #web-content {
        padding: 20px 15px;
    }
    
    #main-title {
        font-size: 28px;
    }
    
    .content-wrapper {
        font-size: 16px;
    }
    
    .content-wrapper h1 {
        font-size: 24px;
        margin: 35px 0 15px;
    }
    
    .content-wrapper h2 {
        font-size: 22px;
        margin: 30px 0 15px;
    }
    
    .ad_placeholder {
        flex-direction: column;
        min-height: auto;
    }
    
    .ad_placeholder > div {
        width: 100%;
    }
    
    #footer-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    #main-title {
        font-size: 24px;
    }
    
    .content-wrapper {
        font-size: 15px;
    }
    
    .content-wrapper h1 {
        font-size: 21px;
    }
    
    .content-wrapper h2 {
        font-size: 19px;
    }
    
    .author-info {
        gap: 10px;
    }
    
    #author-avatar {
        width: 35px;
        height: 35px;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    #nav-manu-wrapper,
    #footer-wrapper,
    .ad_placeholder {
        display: none;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Hidden language tag */
.tag-lang-fr {
    display: none !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #8b467b;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #8b467b;
    color: #fff;
}

::-moz-selection {
    background-color: #8b467b;
    color: #fff;
}
