/* privatnik.rs - Premium Corporate & Financial Editorial Style */
:root {
    --bg-slate: #0f172a;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --gold: #c5a880;
    --gold-dark: #a3855c;
    --gold-light: rgba(197, 168, 128, 0.15);
    --border-color: #e2e8f0;
    --max-width: 1200px;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-weight: 400;
}

/* Header Style */
.editorial-header {
    background-color: var(--bg-slate);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.editorial-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-text span {
    color: var(--gold);
}

.logo-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.editorial-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--gold);
}

/* Navigation Dropdowns */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-slate);
    border: 1px solid rgba(197, 168, 128, 0.3);
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 10;
    padding: 0.5rem 0;
}

.dropdown-menu a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: rgba(197, 168, 128, 0.1);
    color: var(--gold);
    padding-left: 1.5rem;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: var(--transition);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Page Layout */
.editorial-hero {
    background-color: var(--bg-slate);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-category {
    display: inline-block;
    background-color: var(--gold-light);
    color: var(--gold);
    border: 1px solid rgba(197, 168, 128, 0.3);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
    font-weight: 300;
}

/* Grid System */
.main-container {
    max-width: var(--max-width);
    margin: 3rem auto;
    padding: 0 2rem;
}

.page-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

/* Article Styling */
.article-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

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

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--bg-slate);
    margin: 2.5rem 0 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--bg-slate);
    margin: 1.8rem 0 1rem 0;
    font-weight: 600;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2.2rem;
}

.article-body li {
    margin-bottom: 0.6rem;
}

.article-body strong {
    color: var(--bg-slate);
    font-weight: 600;
}

.article-body blockquote {
    border-left: 4px solid var(--gold);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background-color: var(--bg-light);
    font-style: italic;
    color: #475569;
}

/* Callout Box */
.legal-callout {
    background-color: var(--gold-light);
    border-left: 4px solid var(--gold);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 2px;
}

.callout-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.callout-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 !important;
}

/* Styled Table */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.styled-table th, .styled-table td {
    padding: 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.styled-table th {
    background-color: var(--bg-light);
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

.styled-table tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Primary Document Downloads Section */
.primary-downloads-box {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 2px dashed var(--border-color);
}

.primary-downloads-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--bg-slate);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.downloads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.download-card {
    border: 1px solid var(--gold);
    background-color: var(--bg-light);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    text-decoration: none;
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.15);
}

.download-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bg-slate);
    margin-bottom: 0.5rem;
}

.download-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.download-action {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Sidebar Widgets */
.sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-slate);
    margin-bottom: 1.2rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.widget-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.4;
}

.widget-links a:hover {
    color: var(--gold-dark);
    padding-left: 0.25rem;
}

/* Partner Ads (Widgetized) */
.partner-ad-box {
    border-left: 4px solid var(--gold);
    padding-left: 1.25rem;
}

.partner-ad-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.partner-ad-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--gold-light);
    border-radius: 6px;
    color: var(--gold-dark);
    flex-shrink: 0;
}

.partner-ad-icon-wrapper svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

.partner-ad-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0;
    display: inline-block;
}

.partner-ad-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-slate);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.partner-ad-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.partner-ad-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.partner-ad-link:hover {
    color: var(--bg-slate);
}

/* Footer Style */
.editorial-footer {
    background-color: var(--bg-slate);
    color: #94a3b8;
    padding: 5rem 2rem 2rem 2rem;
    border-top: 4px solid var(--gold);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

/* Homepage Styles */
.homepage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-block {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.2rem 2rem 2rem 2rem;
    transition: var(--transition);
}

.category-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    border-color: var(--gold);
}

.category-block:hover .category-count {
    background-color: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

.category-header {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.6rem;
    margin-bottom: 1.2rem;
    padding-right: 5rem; /* space for absolute count badge */
}

.category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-slate);
    margin: 0;
    line-height: 1.35;
}

.category-count {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-dark);
    background-color: rgba(197, 168, 128, 0.12);
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    white-space: nowrap;
    transition: var(--transition);
}

.category-articles {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.category-articles a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: var(--transition);
    display: block;
}

.category-articles a:hover {
    color: var(--gold-dark);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .editorial-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-slate);
        padding: 1.5rem 2rem;
        border-bottom: 2px solid var(--gold);
        box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    }
    
    .editorial-nav.mobile-nav-open {
        display: flex;
    }
    
    .nav-item-dropdown {
        width: 100%;
    }
    
    
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        background-color: rgba(255,255,255,0.02);
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }
    
    .nav-item-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .page-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .main-container {
        padding: 0 1.2rem;
        margin: 1.5rem auto;
    }
    
    .homepage-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .category-block {
        padding: 1.8rem 1.2rem 1.5rem 1.2rem;
    }
    .category-header {
        padding-right: 4.2rem;
    }
    .category-count {
        top: 1.6rem;
        right: 1.2rem;
    }
}

/* Female Entrepreneurship Pink Widget */
.female-ent-widget {
    background-color: #fff5f6 !important;
    border: 1px solid #fecdd3 !important;
    border-left: 4px solid #db7093 !important;
    border-radius: 4px;
}

.female-ent-widget .partner-ad-tag {
    color: #db7093 !important;
    font-weight: 600;
}

.female-ent-widget .partner-ad-icon-wrapper {
    background-color: #ffe4e6 !important;
    color: #db7093 !important;
}

.female-ent-widget .partner-ad-title {
    color: #9d174d !important;
}

.female-ent-widget .partner-ad-desc {
    color: #4f46e5 !important; /* Indigo or slate style */
    color: #334155 !important;
}

.female-ent-widget .partner-ad-link {
    color: #db7093 !important;
    font-weight: 700;
}

.female-ent-widget .partner-ad-link:hover {
    color: #9d174d !important;
}

/* FAQ Accordion Styling */
.faq-search-box {
    width: 100%;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 2rem;
    font-family: var(--font-sans);
    outline: none;
    transition: var(--transition);
}

.faq-search-box:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-light);
}

.faq-group {
    margin-bottom: 2.5rem;
}

.faq-group-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bg-slate);
    border-left: 3px solid var(--gold);
    padding-left: 0.8rem;
    margin-bottom: 1.2rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question-btn {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.faq-question-btn:hover {
    background-color: var(--bg-light);
    color: var(--gold-dark);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--gold-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: #fafbfd;
    border-top: 0 solid var(--border-color);
}

.faq-answer-content {
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.faq-item.active {
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border-color: var(--gold);
}

.faq-item.active .faq-question-btn {
    background-color: var(--bg-light);
    color: var(--gold-dark);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    border-top-width: 1px;
}

