/*
Theme Name: Generatepress Child
Theme URI: http://example.com
Description: Child tema za Generatepressa
Author: Toni
Template: generatepress
Version: 1.0.0
*/

/* -------------------- RESPONSIVE LOGO -------------------- */
.site-logo, .custom-logo {
    width: 100% !important;
    max-width: 100% !important;
}

/* ================================================
        HOMEPAGE STYLES
================================================ */

/* -------------------- HERO SECTION -------------------- */
.umetna-hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    border-radius: 24px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.umetna-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.umetna-hero-content {
    position: relative;
    z-index: 1;
}

.umetna-main-logo {
    font-size: 72px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -2px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.umetna-tagline {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* -------------------- MAIN CONTENT SECTION -------------------- */
.umetna-main-section {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    margin-bottom: 60px;
}

.umetna-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #6366F1, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.umetna-hero-subtitle {
    font-size: 18px;
    color: #A0A0B0;
    margin-bottom: 32px;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.umetna-button-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.umetna-btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.umetna-btn-primary {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: white !important;
}

.umetna-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.umetna-btn-secondary {
    background: transparent;
    color: #6366F1;
    border: 2px solid #6366F1;
}

.umetna-btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
}

/* Feature Cards */
.umetna-feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.umetna-card {
    background: #1E1E30;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.umetna-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.umetna-card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.umetna-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #E8E8E8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.umetna-card-text {
    font-size: 14px;
    color: #A0A0B0;
    line-height: 1.6;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* -------------------- CTA SECTION -------------------- */
.umetna-cta-section {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.umetna-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid2" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid2)"/></svg>');
    opacity: 0.3;
}

.umetna-cta-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.umetna-cta-text {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.umetna-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.umetna-cta-btn-primary {
    background: white;
    color: #6366F1;
    padding: 16px 32px;
    font-size: 18px;
}

.umetna-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.umetna-cta-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white !important;
    padding: 16px 32px;
    font-size: 18px;
    border: 2px solid rgba(255,255,255,0.3);
}

.umetna-cta-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

/* Checklist Section */
.umetna-checklist-section {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}

.umetna-checklist-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.umetna-checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.umetna-checklist-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.umetna-checklist-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(4px);
}

/* -------------------- RESPONSIVE DESIGN -------------------- */
@media (max-width: 768px) {
    .umetna-main-logo {
        font-size: 48px;
    }
    
    .umetna-tagline {
        font-size: 18px;
    }
    
    .umetna-hero-title {
        font-size: 32px;
    }
    
    .umetna-hero-subtitle {
        font-size: 16px;
    }
    
    .umetna-cta-title {
        font-size: 28px;
    }
    
    .umetna-cta-text {
        font-size: 16px;
    }
    
    .umetna-button-group {
        flex-direction: column;
    }
    
    .umetna-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .umetna-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .umetna-cta-btn-primary,
    .umetna-cta-btn-secondary {
        width: 100%;
        max-width: 350px;
    }
    
    .umetna-checklist-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .umetna-hero {
        padding: 60px 20px;
    }
    
    .umetna-main-section {
        padding: 40px 20px;
    }
    
    .umetna-cta-section {
        padding: 40px 20px;
    }
    
    .umetna-card {
        padding: 24px;
    }
}

/* =========================================
          PROMPTI
   ========================================= */

/* --- FILTER SEKCIJA --- */

/* --- KONTEJNER FILTROV --- */
.prompt-filters-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.prompt-filter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Vrstice v obrazcu */
.filter-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

/* --- VHODNI ELEMENTI (Input & Select) --- */
.filter-input, 
.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    font-size: 15px;
    color: #333;
    transition: all 0.2s;
}

.filter-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236366F1%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    cursor: pointer;
    padding-right: 35px;
}

.filter-input:focus, 
.filter-select:focus {
    border-color: #6366F1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* --- AKCIJE IN GUMBI --- */
.filter-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    white-space: nowrap;
}

.filter-btn {
    background: #6366F1;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-btn:hover {
    background: #4f46e5;
}

.reset-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.reset-link:hover {
    color: #333;
    text-decoration: underline;
}

/* --- DESKTOP PRILAGODITEV (2 vrstici) --- */
@media (min-width: 769px) {
    .search-row .filter-group {
        flex: 1;
    }
    
    .filter-input {
        padding: 14px 20px; /* Večje polje za desktop iskalnik */
        font-size: 16px;
    }

    .options-row .filter-group {
        flex: 1;
    }
}

/* --- MOBILNA PRILAGODITEV (Navpično) --- */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 10px;
    }

    .filter-actions {
        justify-content: space-between;
        padding-top: 5px;
    }

    .filter-btn {
        width: 100%;
        order: 1;
    }

    .reset-link {
        width: 100%;
        text-align: center;
        order: 2;
    }
}

/* Pomožni stil, če ni rezultatov */
.no-prompts-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 12px;
    color: #666;
}

/* Popravek za barvo odprtega seznama (dropdown opcije) */
.filter-select option {
    background-color: #ffffff; /* Ozadje seznama bo belo */
    color: #333333;           /* Besedilo bo temno sivo/črno za dober kontrast */
    padding: 10px;
}

/* Popravek za iskalno polje (tekst) */
.filter-input {
    background-color: #ffffff !important; /* Prisili belo ozadje */
    color: #333333 !important;           /* Prisili temno barvo besedila */
    border: 1px solid #ddd;
}

/* Poskrbi, da je tudi "placeholder" (vabljivi tekst) viden in sive barve */
.filter-input::placeholder {
    color: #888888;
    opacity: 1; /* Za Firefox */
}

/* Dodatna varnost za nekatere brskalnike (Chrome/Safari) */
.filter-select:focus {
    background-color: #ffffff;
    color: #333333;
}

/* MREŽA PLOŠČIC */
.prompt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

/* Kartica */
.prompt-card {
    background: #ffffff;
    border-radius: 16px; /* Zaobljeni robovi */
    overflow: hidden;    /* TA VRSTICA: Odreže vse, kar štrli ven (tudi gradient) */
    border: 1px solid #eef0f2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100%;
}

.prompt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.12);
}

/* Preview z gradientom */
.prompt-preview {
    height: 130px; /* Malo več višine za naslov */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
}

/* Bel naslov brez podčrtavanja */
.prompt-title-white {
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.prompt-header-link {
    text-decoration: none !important;
}

/* Prepreči podčrtovanje ob prehodu z miško */
.prompt-header-link:hover .prompt-title-white {
    color: #ffffff !important;
    text-decoration: none !important;
}

.prompt-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Izrezek prompta v ploščici */
.prompt-snippet {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    border-left: 3px solid #6366F1;
    margin-bottom: 15px;
}

.prompt-snippet code {
    display: block;
    margin-top: 5px;
    color: #334155;
    font-family: inherit;
}

/* Spodnji del s tagi in gumbom */
.prompt-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.p-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    background: #f1f5f9;
    border-radius: 5px;
    color: #64748b;
}

.read-more-link {
    font-size: 13px;
    font-weight: 700;
    color: #6366F1;
    text-decoration: none;
}

/* =========================================
          STIL PROMPTA
   ========================================= */

.umetna-prompt-box {
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    background: #fff;
    margin: 25px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    font-family: sans-serif;
    overflow: hidden;
    max-width: 100%; /* Da ne gre čez rob na mobitelu */
}

.umetna-prompt-header {
    background: #f8f9fa;
    padding: 10px 15px;
    border-bottom: 1px solid #e2e4e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prompt-icon { 
    font-weight: bold; 
    color: #333; 
    font-size: 14px;
}

.prompt-badge { 
    font-size: 11px; 
    padding: 4px 8px; 
    border-radius: 12px; 
    font-weight: bold; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.umetna-prompt-content textarea {
    width: 100%;
    border: none;
    background: #2d2d2d; /* Temno ozadje za kontrast */
    color: #f8f8f2;
    padding: 15px;
    font-family: 'Courier New', Courier, monospace; /* Monospace za kodo */
    font-size: 14px;
    line-height: 1.6;
    resize: vertical; /* Dovoli spreminjanje višine */
    min-height: 250px;
    display: block;
    margin: 0;
    outline: none;
    box-sizing: border-box; /* Prepreči težave s paddingom */
}

.umetna-prompt-footer {
    padding: 10px 15px;
    background: #fff;
    display: flex;
    align-items: center;
    border-top: 1px solid #e2e4e7;
}

.umetna-copy-btn {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.umetna-copy-btn:hover { 
    background-color: #005177; 
    transform: translateY(-1px);
}

.umetna-copy-btn .dashicons { 
    font-size: 16px; 
    width: 16px; 
    height: 16px; 
    line-height: 1.2;
}

/* Footer postavitev (levo kopiraj, desno glasuj) */
.umetna-prompt-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border-top: 1px solid #e2e4e7;
    flex-wrap: wrap; /* Za mobilne naprave */
    gap: 10px;
}

/* Gumb za kopiranje - uspeh (zeleno ozadje) */
.umetna-copy-btn.btn-copied {
    background-color: #28a745 !important;
}

/* Wrapper za gumbe za glasovanje */
.umetna-vote-wrapper {
    display: flex;
    gap: 10px;
}

/* Osnovni stil gumba za glasovanje */
.umetna-vote-btn {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #555;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.umetna-vote-btn:hover { 
    background: #f0f0f1; 
    border-color: #999; 
    color: #333;
}

/* Stil za števce glasov */
.vote-count { 
    font-weight: bold; 
    font-size: 12px;
    opacity: 0.8;
}

/* --- Stanja po glasovanju --- */

/* Uspešen glas "ZA" (Zelena) */
.umetna-vote-btn.voted-up { 
    background: #d4edda; 
    border-color: #c3e6cb; 
    color: #155724; 
    cursor: default; 
}

/* Uspešen glas "PROTI" (Rdeča) */
.umetna-vote-btn.voted-down { 
    background: #f8d7da; 
    border-color: #f5c6cb; 
    color: #721c24; 
    cursor: default; 
}

/* Onemogočeni gumbi (med nalaganjem) */
.umetna-vote-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}



/* Značke za kategorije pod naslovom prompta (Meta) */

.umetna-prompt-meta {
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e7e7e7;
    background: #fdfdfd;
    border-radius: 6px;
    font-size: 14px;
}

.umetna-prompt-meta .meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.umetna-prompt-meta .meta-item:last-child {
    margin-bottom: 0;
}

.umetna-prompt-meta .meta-label {
    font-weight: bold;
    color: #444;
    margin-right: 10px;
    white-space: nowrap; /* Prepreči prelom labele */
}

/* Stil za posamezno značko (badge) */
.meta-badge {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 6px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    line-height: 1.2;
}

/* Barve za kategorije */
.category-badge {
    background-color: #e6f7ff; /* Svetlo modra */
    color: #005080;
    border: 1px solid #bae0ff;
}

.category-badge:hover {
    background-color: #bae0ff;
    color: #003a5c;
}

/* Barve za platforme */
.platform-badge {
    background-color: #fff0e6; /* Svetlo oranžna */
    color: #a0522d;
    border: 1px solid #ffccaa;
}

.platform-badge:hover {
    background-color: #ffccaa;
    color: #8b4513;
}

/* Sorodni prompti */

.umetna-related-prompts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e4e7;
}

.umetna-related-prompts h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

/* Lista povezav */
.related-prompts-list {
    list-style: none;
    margin: 0 0 25px 0 !important;
    padding: 0;
}

.related-prompts-list li {
    margin-bottom: 12px;
}

.related-prompts-list li a {
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    color: #0073aa;
    display: block;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    transition: background 0.2s;
}

.related-prompts-list li a:hover {
    background: #f0f0f1;
    color: #005177;
}

/* Gumb za kategorijo */
.related-category-link {
    margin-top: 20px;
}

/* Stil za 'Ghost' gumb (rob brez ozadja) */
a.button.ghost, 
a.button.ghost:visited {
    background: transparent;
    color: #555;
    border: 1px solid #ccc;
    padding: 8px 18px;
    font-size: 14px;
}

a.button.ghost:hover {
    background: #f0f0f1;
    border-color: #999;
    color: #333;
}

/* ------------------------------------------- */
/*            --KONTAKTNI OBRAZEC--            */
/* ------------------------------------------- */
.kontaktni-obrazec-container {
    max-width: 600px; /* Omejitev širine za boljši izgled */
    margin: 0 auto; /* Centriranje */
    padding: 20px;
    background-color: #0F0F1E; /* ozadje */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sodoben-obrazec .form-group {
    margin-bottom: 20px;
}

.sodoben-obrazec label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #fff; /* barva besedila */
}

/* --- Obvezna polja (Rdeča zvezdica) --- */
.sodoben-obrazec .obvezno {
    color: #cc0000;
    font-size: 1.1em;
    margin-left: 2px;
}

/* --- Polja za vnos (Input/Textarea) --- */
.sodoben-obrazec input[type="text"],
.sodoben-obrazec input[type="email"],
.sodoben-obrazec textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box; /* Ohranitev velikosti znotraj širine */
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.sodoben-obrazec input[type="text"]:focus,
.sodoben-obrazec input[type="email"]:focus,
.sodoben-obrazec textarea:focus {
    border-color: #007bff; /* Modra ob poudarku (lahko spremenite v barvo teme) */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
    outline: none;
}

/* Polje Sporočilo: omogočanje povečevanja */
.sodoben-obrazec textarea {
    resize: vertical; /* Omogoča samo vertikalno povečevanje/pomanjševanje */
    min-height: 150px;
}

/* --- Števec Znakov --- */
.sodoben-obrazec .counter {
    text-align: right;
    font-size: 0.8em;
    color: #666;
    margin-top: -15px; /* Poravnava pod polje za sporočilo */
}

/* --- Sporočila o Napakah Validacije --- */
.sodoben-obrazec .error-text {
    display: block;
    color: #cc0000;
    font-size: 0.9em;
    margin-top: 5px;
}

/* --- Gumb za Pošiljanje --- */
.sodoben-obrazec button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #6366F1; 
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.sodoben-obrazec button[type="submit"]:hover {
    background-color: #8B5CF6; 
}

/* --- Antispam HoneyPot Skrivanje --- */
.antispam-field {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
}

/* --- Statusno Sporočilo (Uspeh/Napaka) --- */
.status-sporocilo {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.status-sporocilo.success {
    background-color: #EC4899;
    color: #fff;
    border: 1px solid #c3e6cb;
}

.status-sporocilo.error {
    background-color: #EC4899;
    color: #fff;
    border: 1px solid #f5c6cb;
}

/* --- Odzivnost (Responsive) --- */
@media (max-width: 480px) {
    .kontaktni-obrazec-container {
        padding: 15px;
    }
    .sodoben-obrazec button[type="submit"] {
        font-size: 16px;
    }
}

/* =========================================
   SHORTCODE: Zadnji posti (3 ploščice)
   ========================================= */

.umetna-latest-posts-section {
    margin-top: 40px;
    padding: 20px 0;
}

.umetna-latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Posamezna kartica */
.umetna-post-card {
    background: #1E1E30; /* Ujemanje z ostalimi karticami na strani */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.umetna-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.15);
}

.umetna-post-link {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Slika */
.umetna-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.umetna-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.umetna-post-card:hover .umetna-post-image img {
    transform: scale(1.08);
}

/* Vsebina (naslov) */
.umetna-post-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.umetna-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #E8E8E8;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.umetna-post-readmore {
    font-size: 14px;
    color: #6366F1;
    font-weight: 500;
    transition: color 0.2s;
}

.umetna-post-card:hover .umetna-post-readmore {
    color: #8B5CF6;
}

/* Responsivnost - na mobilnih napravah ena pod drugo */
@media (max-width: 768px) {
    .umetna-latest-posts-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .umetna-post-image {
        height: 220px;
    }
}