/********** Template CSS **********/
:root {
    --primary: #8B7355;
    --secondary: #d8c3a5;
    --light: #F2E8CF;
    --dark: #5C4932;
    
}

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Nunito', serif;
            line-height: 1.5;
            color: var(--dark);
        }

        /* Header sa slikom */
        .post-header {
            position: relative;
            height: 300px;
            background: linear-gradient(135deg, var(--light) 0%, var(--secondary) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .post-subtitle{
            font-size: 2em;
        }

        .post-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 150px;
            background: linear-gradient(to top, var(--light), transparent);
        }

        .header-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 900px;
            padding: 0 20px;
        }

        .post-category-badge {
            background: var(--primary);
            color: white;
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.9em;
            font-weight: bold;
            display: inline-block;
            margin-bottom: 20px;
        }

        .post-header h1 {
            font-size: 3em;
            color: var(--dark);
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
            line-height: 1.2;
        }

        .post-meta {
            display: flex;
            gap: 25px;
            justify-content: center;
            font-size: 1em;
            color: #5d6d7e;
            flex-wrap: wrap;
        }

        .post-meta span {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Container */
        .blog-container {
            max-width: 1200px;
            margin: -80px auto 0;
            padding: 0 20px 80px;
            position: relative;
            z-index: 3;
        }

        /* Glavni sadržaj */
        article {
            background: white;
            padding: 60px;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(92, 73, 50, 0.1);
            border: 1px solid var(--secondary);
        }

        .intro-question {
            font-size: 1.25em;
            font-style: italic;
            color: var(--primary);
            margin-bottom: 40px;
            padding: 25px;
            background: var(--light);
            border-left: 5px solid var(--primary);
            border-radius: 8px;
            line-height: 1.7;
        }

        article p {
            margin-bottom: 25px;
            font-size: 1.1em;
            text-align: justify;
        }

        .section-heading {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 1.2em;
            color: var(--dark);
            margin: 50px 0 25px;
            padding-bottom: 15px;
            border-bottom: 3px solid var(--secondary);
        }

        .section-heading .emoji {
            font-size: 1.2em;
        }

        .memory-box {
            background: #fff9f0;
            padding: 30px;
            border-radius: 10px;
            margin: 30px 0;
            border-left: 5px solid var(--primary);
            font-style: italic;
            color: #5d6d7e;
        }

        .tips-box {
            background: var(--light);
            padding: 35px;
            border-radius: 10px;
            margin: 35px 0;
            border: 2px solid var(--secondary);
        }

        .tips-box h4 {
            color: var(--dark);
            margin-bottom: 20px;
            font-size: 1.2em;
        }

        .tips-box ol {
            margin-left: 25px;
        }

        .tips-box li {
            margin-bottom: 18px;
            font-size: 1.05em;
            line-height: 1.7;
        }

        .tips-box strong {
            color: var(--primary);
        }

        .conclusion-box {
            margin-top: 50px;
            padding: 40px;
            background: linear-gradient(135deg, var(--light) 0%, #fff 100%);
            border-radius: 10px;
            font-size: 1.15em;
            font-style: italic;
            text-align: center;
            border: 2px solid var(--secondary);
            box-shadow: 0 5px 20px rgba(139, 115, 85, 0.1);
        }

        /* Autor sekcija */
        .author-section {
            margin-top: 50px;
            padding: 30px;
            background: var(--light);
            border-radius: 10px;
            display: flex;
            gap: 25px;
            align-items: center;
            border: 1px solid var(--secondary);
        }

        .author-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2em;
            flex-shrink: 0;
        }

        .author-info h4 {
            color: var(--dark);
            margin-bottom: 8px;
        }

        .author-info p {
            color: #5d6d7e;
            font-size: 0.95em;
            margin: 0;
        }

        /* Deljenje */
        .share-section {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 2px solid var(--secondary);
            text-align: center;
        }

        .share-section h4 {
            color: var(--dark);
            margin-bottom: 20px;
        }

        .share-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .share-btn {
            padding: 12px 25px;
            background: white;
            border: 2px solid var(--primary);
            color: var(--primary);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            font-family: inherit;
            font-size: 0.95em;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .share-btn:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
        }

        /* Navigacija između postova */
        .post-navigation {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 60px;
        }

        .nav-post {
            background: white;
            padding: 25px;
            border-radius: 10px;
            border: 2px solid var(--secondary);
            text-decoration: none;
            color: var(--dark);
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
        }

        .nav-post:hover {
            border-color: var(--primary);
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(139, 115, 85, 0.15);
        }

        .nav-label {
            font-size: 0.85em;
            color: #7f8c8d;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .nav-title {
            font-size: 1.1em;
            font-weight: bold;
            color: var(--primary);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .post-header {
                height: 400px;
            }

            .post-header h1 {
                font-size: 2em;
            }

            article {
                padding: 35px 25px;
            }

            .section-heading {
                font-size: 1.5em;
            }

            .author-section {
                flex-direction: column;
                text-align: center;
            }

            .post-navigation {
                grid-template-columns: 1fr;
            }

            .blog-container {
                margin-top: -60px;
            }
        }

        @media (max-width: 480px) {
            .post-header h1 {
                font-size: 1.6em;
            }

            .post-meta {
                font-size: 0.9em;
            }

            article p, .intro-question {
                font-size: 1em;
            }
        }