/* Global Styles */
body {
   
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #fefefe, #f4f4f4, #eaeaea);
  color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ✅ Apply user-selected font everywhere */
body {
    font-family: var(--custom-font, 'Arial', sans-serif);
    color: black;
}

/* ✅ Fix Header Layout */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 20px;
}

/* ✅ Navbar Styling */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ✅ Font Selector Styling */
.font-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #FFD700; /* Yellow background */
    color: black;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid black; /* Add a slight black border */
    font-size: 14px;
}

/* ✅ Style for Font Selector Label */
.font-selector label {
    font-size: 14px;
    font-weight: bold;
    color: black;
}

/* ✅ Style for Select Box */
.font-selector select {
    border: none;
    font-size: 14px;
    padding: 6px 10px;
    cursor: pointer;
    background: #FFD700; /* Yellow background */
    color: black; /* Text color black */
    border-radius: 4px;
    outline: none;
    min-width: 120px;
    font-weight: bold;
    text-align: center;
}

/* ✅ On Hover */
.font-selector select:hover {
    background: #FFC107; /* Slightly darker yellow */
}

/* ✅ On Click */
.font-selector select:focus {
    background: #FFB300; /* Darker shade on click */
    border: 1px solid black;
}

/* ✅ Mobile Adjustments */
@media (max-width: 768px) {
    .font-selector {
        padding: 6px 10px;
        font-size: 14px;
        border-radius: 5px;
    }

    .font-selector select {
        font-size: 14px;
        padding: 6px 10px;
        min-width: 100px;
    }

    .font-selector label {
        font-size: 14px;
    }
}



h2 {
    text-align: center;
}

/* ✅ Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    color: white;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* ✅ Logo */
.logo {
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #ffcc00;
    text-decoration: none;
    font-family: 'Georgia', sans-serif;
}

/* ✅ Dugme za mobilni meni */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: white;
    background: transparent;
    border: none;
    outline: none;
}

/* ✅ Navigacija */
nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

/* ✅ Stilizacija linkova */
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    display: block;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc00;
}

/* ✅ Dropdown meni */
nav ul li ul {
    display: none;
    position: absolute;
    background-color: #333;
    top: 100%;
    left: 0;
    width: 200px;
    list-style: none;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li {
    text-align: left;
}

nav ul li ul li a {
    padding: 10px;
    color: white;
    border-bottom: 1px solid #444;
}

nav ul li ul li a:hover {
    background-color: #444;
    color: #ffcc00;
}

/* ✅ Mobilna optimizacija */
@media (max-width: 768px) {
    /* ✅ Dugme za mobilni meni postaje vidljivo */
    .menu-toggle {
        display: block;
    }

    /* ✅ Navigacija se sakriva na mobilnim uređajima */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #222;
        padding: 10px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        text-align: center;
    }

    /* ✅ Kada je aktivan meni, prikazuje se */
    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #333;
    }

    /* ✅ Dropdown na mobilnim uređajima */
    nav ul li ul {
        position: static;
        box-shadow: none;
        width: 100%;
        display: none;
    }

    nav ul li.show-dropdown ul {
        display: block;
    }
}

/* ✅ Sprečava horizontalno pomeranje stranice */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ✅ Sprečava da širina elemenata prelazi ekran */
* {
    box-sizing: border-box;
}

/* ✅ Popravlja problem sa skaliranjem na mobilnim uređajima */
@media screen and (max-width: 768px) {
    body {
        width: 100vw;
        overflow-x: hidden;
    }

    /* ✅ Osigurava da svi kontejneri budu unutar ekrana */
    .container, .content-wrapper, .hero, .article-container, .full-article-container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* ✅ Sprečava da elementi imaju preveliku širinu */
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
}


.hero {
    position: relative;
    text-align: center;
    color: white;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.6);
}


.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 16px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.btn-read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #ffcc00;
    color: #222;
    font-weight: bold;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-read-more:hover {
    background: #e6b800;
}

/* Articles - Grid Layout */
.article-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Svaka kartica */
.article {
    display: flex;
    flex-direction: column; /* Fleksibilan raspored */
    justify-content: space-between; /* Dugme uvek na dnu */
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Osigurava istu visinu kartica */
}

.article:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Slika u članku */
.article img {
    width: 100%;
    height: 180px; /* Fiksna visina za ujednačen izgled */
    border-radius: 10px;
    object-fit: cover; /* Održava dobar prikaz */
}

/* Naslov */
.article h2 {
    font-size: 20px;
    color: #222;
    margin: 15px 0;
}

/* Tekst */
.article p {
    font-size: 14px;
    color: #666;
    text-align: justify;
    flex-grow: 1; /* Osigurava da tekst popuni prostor */
}

/* Dugme - uvek pri dnu */
.article a {
    display: block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    color: black;
    background: #FFD700; /* Zlatno-žuta */
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: auto; /* Automatski gura dugme na dno */
}

.article a:hover {
    background: #FFF4C2; /* Svetlija žuta */
    color: black;
    transform: scale(1.05);
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
    .article-container {
        padding: 20px;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .article {
        padding: 15px;
    }

    .article h2 {
        font-size: 18px;
    }

    .article p {
        font-size: 13px;
    }

    .article a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: white;
    margin-top: 30px;
    font-size: 14px;
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        text-align: center;
        width: 100%;
        margin: 5px 0;
    }

    nav ul li a {
        padding: 10px;
        border-top: 1px solid #444;
        border-bottom: 1px solid #444;
    }

    nav ul li ul {
        position: static;
        box-shadow: none;
        width: 100%;
    }

    nav ul li ul li a {
        border-bottom: none;
    }
}

/* Full Article Container */
.full-article-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
    color: #333;
}

/* Title Styling */
.full-article-container h1 {
    font-family: 'Georgia', sans-serif;
    font-size: 36px;
    color: #222;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
}

/* Meta Info */
.article-meta {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 10px;
}

/* Article Image */
.article-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.article-image:hover {
    transform: scale(1.05);
}

/* Main Content */
.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-top: 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* Headings in Article */
.article-content h2 {
    font-size: 30px;
    color: #222;
    margin-top: 30px;
    margin-bottom: 10px;
    border-left: 4px solid #ffcc00;
    padding-left: 15px;
    font-family: 'Open Sans', sans-serif;
}

.article-content h3 {
    font-size: 24px;
    color: #444;
    margin-top: 20px;
}

.article-content h4 {
    font-size: 20px;
    color: #666;
    margin-top: 15px;
    font-weight: bold;
}

/* Paragraphs & Lists */
.article-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 40px;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.6;
}

/* Blockquote */
.article-content blockquote {
    border-left: 4px solid #ffcc00;
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    border-radius: 5px;
    padding: 15px;
}

/* Code Block */
.article-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* Links */
.article-content a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px dotted #007BFF;
}

.article-content a:hover {
    color: #0056b3;
    border-bottom: 1px solid #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .full-article-container {
        padding: 15px;
    }

    .article-image {
        max-height: 300px;
    }

    .article-content h1 {
        font-size: 28px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-content h3 {
        font-size: 22px;
    }

    .article-content p {
        font-size: 16px;
    }
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a {
    background: #007BFF;
    color: white;
    box-shadow: 0px 4px 10px rgba(0, 123, 255, 0.3);
}

.pagination a:hover {
    background: #0056b3;
    box-shadow: 0px 6px 12px rgba(0, 86, 179, 0.5);
}

.pagination span {
    color: #333;
    background: #f8f9fa;
    padding: 10px 15px;
    border: 1px solid #ddd;
}

/* ✅ Yellow Banner (Intro Section) */
.intro-banner {
    background: linear-gradient(135deg, #FFD700, #FFCC00); /* Gold gradient */
    color: #222; /* Dark text for contrast */
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
    margin: 30px auto;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-in-out;
}

.intro-content {
    max-width: 800px;
    margin: auto;
}

.intro-banner h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.intro-banner p {
    font-size: 18px;
    font-weight: 500;
}

/* ✅ Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ✅ Responsive Adjustments */
@media (max-width: 768px) {
    .intro-banner {
        padding: 40px 15px;
    }
    .intro-banner h2 {
        font-size: 26px;
    }
    .intro-banner p {
        font-size: 16px;
    }
}
/* ✅ Search Section (Prilagođeno za mobilne telefone) */
.search-section {
    text-align: center;
    margin: 20px auto;
    padding: 15px;
    max-width: 600px;
}

/* ✅ Fleksibilan raspored forme */
.search-section form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Bolji razmak između polja i dugmeta */
    align-items: center;
}

/* ✅ Input polje */
.search-section input {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #FFD700;
    border-radius: 5px;
    outline: none;
    transition: 0.3s ease-in-out;
}

/* ✅ Dugme za pretragu */
.search-section button {
    padding: 12px 18px;
    font-size: 16px;
    background: #FFD700;
    color: #222;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

/* ✅ Hover efekat */
.search-section button:hover {
    background: #E6B800;
}

/* ✅ Poruka o pretrazi */
.search-info {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    color: #007BFF;
}

/* ✅ Poruka kada nema rezultata */
.no-results {
    color: red;
}

/* ✅ Mobilna optimizacija */
@media screen and (max-width: 768px) {
    .search-section {
        max-width: 100%;
        padding: 10px;
    }

    .search-section form {
        flex-direction: column;
        gap: 8px;
    }

    .search-section input {
        width: 90%;
    }

    .search-section button {
        width: 90%;
    }
}


/* ✅ Stylish & Well-Positioned Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 40px auto; /* Added space above and below */
    gap: 12px;
    padding-bottom: 40px; /* Extra space from bottom */
}

/* ✅ Page Number & Navigation Buttons */
.pagination a, .pagination span {
    display: inline-block;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px; /* Rounded buttons */
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    min-width: 50px;
    text-align: center;
}

/* ✅ Active Page Styling */
.pagination span {
    color: black;
    background: #FFD700;
    font-weight: bold;
    border: 2px solid black;
    padding: 14px 20px;
    box-shadow: 0px 4px 10px rgba(0, 123, 255, 0.3);
}

/* ✅ Previous & Next Buttons */
.pagination a {
    background: #ffffff;
    color: black;
    border: 2px solid black;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.pagination a:hover {
    background: #FFD700;
    color: white;
    box-shadow: 0px 6px 12px rgba(0, 86, 179, 0.5);
}

/* ✅ Ensure Better Spacing on Mobile */
@media (max-width: 768px) {
    .pagination {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        padding-bottom: 60px; /* More spacing on mobile */
    }

    .pagination a, .pagination span {
        padding: 12px 18px;
        font-size: 14px;
    }
}


/* Styling for total articles count */
.total-articles {
    font-size: 18px;
    font-weight: bold;
    color: black;
    margin-top: 20px;
    text-align: center;
}

/* Styling for the 'View More Articles' button */
.view-more {
    text-align: center;
    margin-top: 30px;
}

.btn-view-more {
    padding: 12px 30px;
    background-color: #007BFF; /* Blue background */
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px; /* Rounded corners */
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-view-more:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-3px); /* Slight lift effect */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

/* Optional: On smaller screens, increase the padding for better touch interaction */
@media (max-width: 768px) {
    .btn-view-more {
        padding: 14px 40px;
        font-size: 20px; /* Larger text for better readability on small screens */
    }
}

/* Related Articles Section Styling */
/* Related Articles Section */
.related-articles {
    background-color: #fff;
    padding: 40px;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #007BFF; /* Accent line for visual effect */
}

.related-articles h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid #007BFF; /* Underline effect */
    padding-bottom: 5px;
    display: inline-block;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles ul li {
    background-color: #fafafa;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-articles ul li a {
    text-decoration: none;
    color: #007BFF;
    font-size: 18px;
    font-weight: 500;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.related-articles ul li a:hover {
    color: #0056b3; /* Darker blue */
}

/* Icon Styling */
.related-articles ul li i {
    font-size: 22px;
    margin-right: 15px;
    color: #007BFF;
    transition: transform 0.3s ease;
}

.related-articles ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

.related-articles ul li:hover i {
    transform: rotate(15deg); /* Small rotation on hover */
}

/* No related articles message */
.related-articles ul li.no-articles {
    font-size: 16px;
    color: #888;
    font-style: italic;
    text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .related-articles h2 {
        font-size: 24px;
    }

    .related-articles ul li {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }

    .related-articles ul li i {
        margin-bottom: 10px;
    }
}

/* ✅ Kontejner za dugmad */
.article-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

/* ✅ Stilizacija Like i Share dugmadi */
.like-btn, .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px; /* Smanjeno dugme */
    font-size: 14px; /* Manji font */
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 20px; /* Manje zaobljenje */
    cursor: pointer;
    transition: 0.3s ease-in-out;
    color: white;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
}

/* ✅ Like dugme - Narandžasta */
.like-btn {
    background: #ff9800;
}

.like-btn:hover {
    background: #e68900;
    transform: scale(1.03);
    box-shadow: 0px 4px 8px rgba(255, 152, 0, 0.2);
}

/* ✅ Share dugme - Plava */
.share-btn {
    background: #03a9f4;
}

.share-btn:hover {
    background: #0288d1;
    transform: scale(1.03);
    box-shadow: 0px 4px 8px rgba(3, 169, 244, 0.2);
}

/* ✅ Ikone unutar dugmadi */
.like-btn i, .share-btn i {
    font-size: 16px; /* Smanjene ikone */
}

/* ✅ Mobilna prilagodba */
@media screen and (max-width: 768px) {
    .article-buttons {
        flex-direction: column;
        gap: 6px;
    }

    .like-btn, .share-btn {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }
}


/* ✅ Sekcija za sortiranje i filtriranje */
.sort-section {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* ✅ Stilizacija forme */
.sort-form {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/* ✅ Grupisanje svakog dropdowna */
.sort-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ✅ Stilizacija labela */
.sort-form label {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
    color: #333;
}

/* ✅ Stilizacija dropdown menija */
.sort-form select {
    padding: 10px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    width: 200px;
}

/* ✅ Hover efekat za dropdown */
.sort-form select:hover {
    border-color: #007BFF;
}

/* ✅ Stilizacija za ekrane veće od 1024px */
@media screen and (min-width: 1024px) {
    .sort-form {
        gap: 30px; /* Veći razmak između opcija */
    }

    .sort-form select {
        width: 220px;
    }
}

/* ✅ Stilizacija za manje ekrane (mobilni uređaji) */
@media screen and (max-width: 768px) {
    .sort-section {
        flex-direction: column;
        padding: 15px;
        max-width: 100%;
    }

    .sort-form {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .sort-form select {
        width: 100%;
    }
}

.reset-form {
    text-align: center;
    margin-top: 10px;
}

.reset-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.reset-btn:hover {
    background: #c82333;
}

.article-heading {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
    border-bottom: 3px solid #ff6600;
    padding-bottom: 5px;
}

.article-subheading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #444;
    margin-top: 15px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 4px;
}

.article-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #222;
    margin-bottom: 15px;
}

.article-list, .article-ordered-list {
    padding-left: 25px;
    margin-bottom: 15px;
}

.article-list li {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.article-ordered-list li {
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: bold;
}

.article-quote {
    font-style: italic;
    font-size: 1.2rem;
    border-left: 4px solid #ff6600;
    padding-left: 15px;
    margin: 15px 0;
    color: #666;
}

.code-block {
    background: #1e1e1e;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: "Courier New", monospace;
    font-size: 1rem;
}
