/* Article/Journal generic styles (scoped, non-privacy specific) */

/* Header bar for inner pages: logo left, nav right */
.header-bar {
    position: relative;
    z-index: 1000;
    padding: 16px 0;
    background: linear-gradient(316.21deg, #63B2FC -41.28%, #C7ECFF 100%);
	
}
.header-bar.fixedmenu{
	position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
}
.header-bar .header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.header-bar .site-logo { display: inline-flex; align-items: center; gap: 12px; }
.header-bar .site-logo img { width: 160px; height: auto; display: block; }

.header-bar .nav { display: flex; align-items: center; gap: 8px; }
.header-bar .nav .menu-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: #0D0A38;
    font-family: 'Onest', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
}
.header-bar .nav .menu-link.active { background: #EFF0F2; border-radius: 80px; }
.header-bar .nav .menu-flag { width: 16px; height: 16px; border-radius: 8px; display: block; }
.header-bar .nav .menu-text { display: inline; }


/* Burger button */
.header-bar .burger {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 10px;
    background: #fff;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.12);
}
.header-bar .burger span { display: block; width: 18px; height: 2px; background: #181515; position: relative; }
.header-bar .burger span::before,
.header-bar .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: #181515; }
.header-bar .burger span::before { top: -6px; }
.header-bar .burger span::after  { top:  6px; }

/* Mobile menu (drawer) */
.header-bar .nav-mobile {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: linear-gradient(316.21deg, #63B2FC -41.28%, #C7ECFF 100%);
    border-top: none;
    box-shadow: none;
    padding: 12px 16px 20px;
}
.header-bar .nav-mobile .menu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    text-decoration: none;
    color: #0D0A38;
    font-family: 'Onest', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
}
.header-bar .nav-mobile .menu-link.active { background: #EFF0F2; border-radius: 80px; }
.header-bar .nav.open { display: flex; }
.header-bar .nav-mobile.open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

@media (max-width: 768px) {
    .header-bar .nav { display: none; }
    .header-bar .burger { display: inline-flex; }
}

/* Article content */
.article-content { max-width: 840px; margin: 0 auto; padding: 32px 20px 80px; background: #fff; }
.article-card { background: #ffffff; border: 1px solid #E8EAED; border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.article-section { margin: 24px 0; }
.article-title { font-family: 'Onest', 'Inter', sans-serif; font-weight: 700; font-size: clamp(28px, 6vw, 48px); line-height: 1.2; color: #201F24; }
.article-featured-image {margin: 20px 0; text-align: center;}
.article-thumbnail, article img {max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);}
.breadcrumbs { font-size: 14px; color: #1a1a1a; opacity: 0.8; margin-bottom: 8px; }
.article-section h1 { font-size: clamp(28px, 6vw, 40px); margin: 0 0 10px; }
.article-section h2 { font-size: clamp(22px, 3.5vw, 28px); margin: 16px 0 8px; }
.article-section h3 { font-size: clamp(18px, 3vw, 22px); margin: 16px 0 8px; }
.article-section h4 { font-size: clamp(16px, 2.5vw, 18px); margin: 16px 0 8px; }
.article-section p { margin: 10px 0; }
.article-section a { color: #136EE1; text-decoration: none; }
.article-section a:hover { text-decoration: underline; }
.article-section strong, .article-section b { font-weight: 700; }
.article-section ul, .article-section ol { margin: 10px 0 10px 20px; }
.article-section li { margin: 6px 0; }
.article-note { padding: 12px 16px; background: #F5F9FF; border: 1px solid #E0E8FF; border-radius: 12px; color: #1a1a1a; }
.article-meta { font-size: 13px; color: #666; margin-top: 16px; }
.article-divider { height: 1px; background: #E8EAED; margin: 24px 0; }
.article-section code { font-family: 'Sometype Mono', monospace; background: #F4F6F8; padding: 2px 6px; border-radius: 6px; font-size: 85%; }
.article-section blockquote { border-left: 3px solid #136EE1; padding: 8px 12px; margin: 20px 0px; background: #F7FAFF; color: #141212; border-radius: 8px; }

/* Tables often used in articles/policies */
.article-section table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.article-section th, .article-section td { border: 1px solid #E8EAED; padding: 10px; text-align: left; }
.article-section th { background: #F9FBFF; font-weight: 600; }

@media (max-width: 767px) {
    .article-content { padding: 0; }
    .article-card { padding: 16px; border:none; box-shadow: none;}
    .header-bar .nav-mobile.open { grid-template-columns: 1fr; }
}
