/*
Theme Name: Unija ETL IT Cybersecurity
Theme URI: https://it.unija.com/sl/
Author: Unija ETL IT Solutions
Author URI: https://it.unija.com/sl/
Description: Cybersecurity paketi za podjetja - Unija ETL IT Solutions
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unija-etl
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #e30613;
    --primary-dark: #b80010;
    --primary-light: #fdecea;
    --accent: #e30613;
    --accent-dark: #b80010;
    --dark: #111111;
    --dark-2: #1e1e1e;
    --text: #1e1e1e;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 3px solid #e30613;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 4px;
}

.site-logo img {
    height: 60px;
    width: auto;
    display: block;
    filter: none !important;
    background: transparent !important;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: #1e1e1e;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #e30613;
    text-decoration: none;
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1e1e1e;
    transition: 0.3s;
    border-radius: 2px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    background: linear-gradient(135deg, #111111 0%, #1e1e1e 50%, #2a0000 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227,6,19,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(227,6,19,0.12);
    border: 1px solid rgba(227,6,19,0.3);
    color: #ff4d57;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, #ff4d57, #e30613);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
}

.stat-item .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227,6,19,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
    text-decoration: none;
}

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

.btn-blue:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.7;
}

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

.text-center .section-subtitle {
    margin: 0 auto;
}

/* =============================================
   CHALLENGES SECTION
   ============================================= */
.challenges-section {
    background: var(--bg-light);
}

.challenges-intro {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.challenges-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.challenge-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.challenge-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.challenge-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.challenge-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =============================================
   PACKAGES / PRICING
   ============================================= */
.packages-section {
    background: var(--white);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.package-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    position: relative;
}

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

.package-card.featured {
    border-color: var(--primary);
    background: linear-gradient(to bottom, #fdecea, var(--white));
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.package-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    min-height: 32px;
}

.package-price {
    margin-bottom: 8px;
    min-height: 3.3rem;
}

.price-from {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.price-amount.custom-price {
    font-size: 1.4rem;
    line-height: 1.2;
}
.price-currency {
    font-size: 1.2rem;
    font-weight: 700;
}

.price-period {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.package-ideal {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    line-height: 1.4;
}

.package-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    min-height: 7.5rem;
}

.package-features {
    flex: 1;
    margin-bottom: 24px;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.package-features li:last-child {
    border-bottom: none;
}

.feature-check {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-x {
    color: #e2e8f0;
    flex-shrink: 0;
}

.package-cta {
    margin-top: auto;
}

.package-cta .btn {
    width: 100%;
    justify-content: center;
}

/* =============================================
   COMPARISON TABLE
   ============================================= */
.comparison-section {
    background: var(--bg-light);
}

.comparison-table-wrap {
    overflow-x: auto;
    margin-top: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.9rem;
}

.comparison-table th {
    background: var(--dark);
    color: var(--white);
    padding: 16px 20px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

.comparison-table th:first-child {
    text-align: left;
    background: var(--dark-2);
}

.comparison-table th.featured-col {
    background: var(--primary);
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--dark);
}

.comparison-table tr:last-child td {
    border-bottom: none;
    font-weight: 700;
    background: var(--bg-light);
}

.comparison-table tr:hover td {
    background: var(--primary-light);
}

.check-yes { color: var(--success); font-size: 1.2rem; }
.check-no { color: #cbd5e1; font-size: 1.2rem; }

.table-note {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =============================================
   WHY US
   ============================================= */
.why-section {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.why-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============================================
   STATS / NUMBERS
   ============================================= */
.stats-section {
    background: linear-gradient(135deg, #111111 0%, #1e1e1e 100%);
    color: var(--white);
}

.stats-header {
    text-align: center;
    margin-bottom: 48px;
}

.stats-header .section-label {
    color: var(--accent);
}

.stats-header .section-title {
    color: var(--white);
}

.stats-header .section-subtitle {
    color: rgba(255,255,255,0.7);
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stats-card {
    padding: 32px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
}

.stats-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stats-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

/* =============================================
   PROCESS / STEPS
   ============================================= */
.process-section {
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 48px;
    position: relative;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============================================
   FAQ
   ============================================= */
.faq-section {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.faq-item.open .faq-answer {
    display: block;
}

/* =============================================
   CONTACT / CTA SECTION
   ============================================= */
.contact-section {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.contact-link-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    margin-bottom: 24px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--bg-light);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,82,204,0.1);
    background: var(--white);
}

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

.form-privacy {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

.form-success {
    display: none;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: var(--radius-sm);
    padding: 16px;
    color: #065f46;
    text-align: center;
    margin-top: 16px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: #111111;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 32px;
}

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

.footer-brand img {
    height: 52px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: var(--accent);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }

    .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 3px solid #e30613;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .challenges-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* FAQ answer paragraphs */
.faq-answer p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer p strong { color: var(--dark); }

/* =============================================
   FIX: Layout popravki
   ============================================= */

/* Ko je WP admin bar prisoten */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Hero takoj pod headerjem - brez gap-a */
.hero-section {
    margin-top: 0 !important;
}

/* Page content (shortcode) - brez padding zgoraj */
#primary {
    margin: 0;
    padding: 0;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 60px;
    width: auto;
    display: block;
    filter: none !important;
    background: transparent !important;
}

/* =============================================
   FIX: WordPress page wrapper padding
   ============================================= */

/* WP doda .entry-content, .wp-block-group itd. */
.entry-content,
.page-content,
.post-content {
    margin: 0;
    padding: 0;
}

/* Shortcode wrapper nima paddinga */
#primary .wp-block-shortcode,
#primary p:empty {
    display: none;
}

/* Hero section takoj za headerjem */
#primary {
    margin: 0;
    padding: 0;
}

/* Ko WP generira <p> okoli shortcoda */
#primary > p:first-child {
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
}

/* ── Logo wrapper cleanup (CC) ── */
.logo,
.logo a,
.logo img,
.site-logo,
.site-logo a,
.site-branding a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#masthead,
header,
.site-header {
    background-color: #ffffff !important;
}

/* ══ Navigacija — bela podlaga, logo brez ozadja ══ */
#masthead, header, .site-header {
    background: #ffffff !important;
    background-color: #ffffff !important;
}
.site-logo, .site-logo a, .site-logo img,
.logo, .logo a, .logo img,
.site-branding, .site-branding a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.site-header .nav-menu a:not(.nav-cta) {
    color: #333333 !important;
}
.site-header .nav-menu a:not(.nav-cta):hover,
.site-header .nav-menu a:not(.nav-cta):focus {
    color: #e30613 !important;
}

/* ══ CTA gumb — rdeč kvadrat, bel tekst vedno ══ */
.btn-blue,
a.btn-blue,
.nav-cta,
a.nav-cta {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    border-radius: 6px !important;
}
.btn-blue:hover,
a.btn-blue:hover,
.nav-cta:hover,
a.nav-cta:hover,
.btn-blue:active,
a.btn-blue:active,
.nav-cta:active,
a.nav-cta:active,
.btn-blue:visited,
a.btn-blue:visited,
.nav-cta:visited,
a.nav-cta:visited,
.btn-blue:focus,
a.btn-blue:focus,
.nav-cta:focus,
a.nav-cta:focus {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    border-color: var(--primary-dark) !important;
    text-decoration: none !important;
}

/* btn-primary — enak efekt */
.btn-primary,
a.btn-primary {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    border-radius: 6px !important;
}
.btn-primary:hover,
a.btn-primary:hover,
.btn-primary:active,
a.btn-primary:active,
.btn-primary:visited,
a.btn-primary:visited,
.btn-primary:focus,
a.btn-primary:focus {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    border-color: var(--primary-dark) !important;
    text-decoration: none !important;
}

/* Nav CTA posebej — v navigaciji */
.site-header .nav-cta,
.site-header a.nav-cta {
    background: var(--primary) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}
.site-header .nav-cta:hover,
.site-header a.nav-cta:hover,
.site-header .nav-cta:visited,
.site-header a.nav-cta:visited,
.site-header .nav-cta:active,
.site-header a.nav-cta:active {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
