:root {
    --gpar-blue: #0F3460;
    --gpar-gold: #D4AF37;
    --gpar-light-gray: #f0f0f1;
    --gpar-white: #ffffff;
    --gpar-black: #000000;
    --gpar-text: #1c2e38;
    --gpar-border: #dcdcde;
    --gpar-orange: #f18324;
    --gpar-green: #00a32a;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

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

body {
    font-family: var(--font-main);
    color: var(--gpar-text);
    line-height: 1.6;
    background: var(--gpar-white);
}

a {
    text-decoration: none;
    color: var(--gpar-blue);
    transition: color 0.3s;
}

a:hover {
    color: var(--gpar-blue);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--gpar-white);
    border-bottom: 1px solid var(--gpar-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--gpar-text);
}

.logo:hover {
    color: var(--gpar-text);
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--gpar-text);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--gpar-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gpar-blue);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--gpar-blue);
}

.nav-link.active {
    color: var(--gpar-blue);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: var(--gpar-white);
    border: 1px solid var(--gpar-border);
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--gpar-text);
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--gpar-light-gray);
    color: var(--gpar-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gpar-light-gray);
    border: 1px solid var(--gpar-border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gpar-text);
    transition: all 0.3s;
}

.lang-toggle:hover {
    background: var(--gpar-white);
    border-color: var(--gpar-blue);
}

.lang-toggle.active {
    background: var(--gpar-white);
    border-color: var(--gpar-blue);
}

.lang-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.lang-code {
    font-weight: 500;
}

.lang-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.lang-toggle.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: var(--gpar-white);
    border: 1px solid var(--gpar-border);
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
    list-style: none;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--gpar-text);
    transition: background 0.3s;
}

.lang-option:hover {
    background: var(--gpar-light-gray);
    color: var(--gpar-blue);
}

.lang-option.active {
    background: var(--gpar-blue);
    color: white;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    color: var(--gpar-text);
    transition: color 0.3s;
}

.search-toggle:hover {
    color: var(--gpar-blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gpar-text);
    margin: 4px 0;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.search-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--gpar-white);
    border-bottom: 1px solid var(--gpar-border);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 999;
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--gpar-border);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--gpar-blue);
}

.hero {
    background: linear-gradient(135deg, #f7f7f7 0%, #e8e8e8 100%);
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gpar-text);
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gpar-blue);
    color: var(--gpar-white);
}

.btn-primary:hover {
    background: #0c2a4a;
    color: var(--gpar-white);
}

.btn-secondary {
    background: var(--gpar-white);
    color: var(--gpar-blue);
    border: 2px solid var(--gpar-blue);
}

.btn-secondary:hover {
    background: var(--gpar-blue);
    color: var(--gpar-white);
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gpar-text);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-top: -30px;
    margin-bottom: 40px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: var(--gpar-white);
    border: 1px solid var(--gpar-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gpar-text);
}

.card-title a {
    color: inherit;
}

.card-title a:hover {
    color: var(--gpar-blue);
}

.card-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
}

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--gpar-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-tags {
    display: flex;
    gap: 8px;
}

.tag {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--gpar-light-gray);
    border-radius: 20px;
    color: #666;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gpar-blue) 0%, var(--gpar-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gpar-text);
}

.feature-desc {
    font-size: 14px;
    color: #666;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    background: var(--gpar-blue);
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.footer {
    background: var(--gpar-text);
    color: #aaa;
    padding: 50px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-subscribe {
    color: white;
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.subscribe-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscribe-step1,
.subscribe-step2 {
    display: flex;
    gap: 10px;
}

.subscribe-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #222;
    color: white;
    font-size: 14px;
}

.subscribe-input:focus {
    outline: none;
    border-color: var(--gpar-gold);
}

.subscribe-btn {
    padding: 12px 20px;
    background: var(--gpar-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.subscribe-btn:hover {
    background: var(--gpar-gold);
}

.subscribe-btn-secondary {
    background: #333;
}

.subscribe-btn-secondary:hover {
    background: #444;
}

.subscribe-message {
    font-size: 14px;
    margin-top: 10px;
}

.subscribe-success {
    color: var(--gpar-green);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.links-list.two-columns {
    columns: 2;
    column-gap: 30px;
}

.footer-social p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #aaa;
}

.footer-social iconify-icon {
    display: inline-flex;
    vertical-align: middle;
    flex-shrink: 0;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--gpar-blue);
    color: white;
    transform: translateY(-3px);
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.copyright {
    color: #aaa;
}

.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: var(--gpar-blue);
}

.breadcrumb span {
    margin: 0 10px;
}

.sidebar {
    background: var(--gpar-white);
    border: 1px solid var(--gpar-border);
    border-radius: 8px;
    padding: 25px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gpar-blue);
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gpar-border);
}

.sidebar-links li:last-child {
    border-bottom: none;
}

.sidebar-links a {
    color: var(--gpar-text);
    display: flex;
    justify-content: space-between;
}

.sidebar-links a:hover {
    color: var(--gpar-blue);
}

.page-header {
    background: linear-gradient(135deg, var(--gpar-blue) 0%, #0c2a4a 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.article-content {
    line-height: 1.8;
    font-size: 16px;
}

.article-content h2 {
    font-size: 28px;
    margin: 30px 0 20px;
    color: var(--gpar-text);
}

.article-content h3 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: var(--gpar-text);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid var(--gpar-blue);
    padding: 20px;
    background: var(--gpar-light-gray);
    margin: 25px 0;
    font-style: italic;
}

.article-meta {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gpar-border);
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gpar-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    padding: 10px 18px;
    border: 1px solid var(--gpar-border);
    border-radius: 6px;
    color: var(--gpar-text);
    font-weight: 500;
}

.pagination a:hover {
    background: var(--gpar-blue);
    color: white;
    border-color: var(--gpar-blue);
}

.pagination .active {
    background: var(--gpar-blue);
    color: white;
    border-color: var(--gpar-blue);
}

.search-box {
    margin-bottom: 25px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gpar-border);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--gpar-blue);
}

.filter-section {
    background: var(--gpar-white);
    border: 1px solid var(--gpar-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.filter-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gpar-text);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    padding: 6px 14px;
    background: var(--gpar-light-gray);
    border: 1px solid var(--gpar-border);
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--gpar-text);
}

.filter-chip:hover, .filter-chip.active {
    background: var(--gpar-blue);
    color: white;
    border-color: var(--gpar-blue);
}

.subscribe-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscribe-popup.show {
    transform: translateX(0);
}

.subscribe-popup.success {
    background: var(--gpar-green);
    color: white;
}

.subscribe-popup.error {
    background: #e74c3c;
    color: white;
}

.popup-icon {
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav.active .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--gpar-white);
        border-bottom: 1px solid var(--gpar-border);
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .nav.active .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--gpar-border);
        margin-top: 10px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .subscribe-step1,
    .subscribe-step2 {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}