Theme Name: Vijesti Srpske
Theme URI: https://vijestisrpske.ba
Author: Dejan Zerdo
Author URI: https://zeks.ba
Version: 1.0
*/s

body {
  margin: 0;
  font-family: Arial, sans-serif;
}
 font-family: 'Roboto', sans-serif;

.main-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  max-width: 1140px;
  margin: auto;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 40px;
}

.main-nav .nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-nav .nav-links li a {
  text-decoration: none;
  color: #222;
  font-weight: bold;
  font-size: 16px;
}

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

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: #000;
  display: block;
  border-radius: 3px;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 10px 0;
}
/* Stil za stavku Čitulje u meniju */
.menu-citulje a {
    background-color: #d70000;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}
.menu-citulje a:hover {
    background-color: #a60000;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  padding: 10px 20px;
}

.mobile-menu ul li a {
  color: #222;
  text-decoration: none;
  font-weight: bold;
}

.mobile-extras {
  padding: 1rem;
  background: #fff;
}

.app-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 1rem;
}

.app-btn img {
  max-height: 30px;
  width: auto;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mobile-action-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #d6232f;
  color: white;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid #d6232f;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-action-btn:hover {
  background: #b91e27;
  border-color: #b91e27;
}

.mobile-info h3 {
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.mobile-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-info ul li a {
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  font-size: 14px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  display: inline-block;
}

.footer-apps img {
  height: 36px;
  margin: 5px;
}

.footer-socials {
  margin: 15px 0;
  font-size: 20px;
}

.footer-socials a {
  margin: 0 10px;
}

.footer-links {
  margin: 20px 0;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-copy {
  margin-top: 15px;
  font-size: 13px;
  color: #ccc;
}

.stats-section {
  background: #f9f9f9;
  text-align: center;
	margin-bottom: 0;
  padding: 60px 20px;
  animation: fadeInUp 1s ease-in-out;
}

.stats-section h2 {
  font-size: 26px;
  margin-bottom: 40px;
  color: #222;
}

.stats-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.stat-item {
  flex: 1 1 200px;
  max-width: 240px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 0.8s forwards;
  animation-delay: var(--delay, 0s);
}

.stat-item:nth-child(1) { --delay: 0s; }
.stat-item:nth-child(2) { --delay: 0.2s; }
.stat-item:nth-child(3) { --delay: 0.4s; }

.stat-item i {
  font-size: 32px;
  color: #0066cc;
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 24px;
  margin: 0;
  color: #111;
}

.stat-item p {
  font-size: 15px;
  color: #555;
}

/* Animacije */
@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.featured-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.featured-thumb {
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.featured-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
  color: white;
  padding: 15px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.featured-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d62828;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
}

.featured-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
}

.featured-meta {
  margin-top: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.comment-count {
  margin-right: 5px;
}

.comment-icon {
  font-size: 14px;
}


/* ===SINGLE POST === */
@media screen and (max-width: 768px) {
  .custom-ad-sidebar {
    display: none;
  }

  .sidebar-area {
    display: block !important;
    width: 100%;
    margin-top: 20px;
  }
}


.single-post-container {
  width: 100%;
  max-width: 760px;
  margin: 40px auto;
  padding: 0 16px;
  background: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  line-height: 1.9rem;
  color: #111;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

/* === NASLOV === */
.post-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  margin: 5px 0 25px; /* SMANJENO GORE */
  color: #111;
  word-break: break-word;
}

/* === META INFORMACIJE === */
.post-info {
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

/* === KATEGORIJA === */
.post-category {
  display: inline-block;
  background-color: #f0f0f0;
  color: #d10000;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-top: 10px; /* SMANJENO */
  margin-bottom: 8px; /* SMANJENO */
  letter-spacing: 0.5px;
}

/* === SADRŽAJ === */
.single-post-container p {
  margin-bottom: 1.4rem;
}

.single-post-container h1,
.single-post-container h2,
.single-post-container h3 {
  font-weight: 700;
  line-height: 1.4;
  margin: 1rem 0 1rem;
}

.single-post-container h1 {
  font-size: 28px;
}

.single-post-container h2 {
  font-size: 24px;
}

.single-post-container h3 {
  font-size: 20px;
}

.single-post-container strong {
  font-weight: bold;
}

.single-post-container a {
  color: #0073aa;
  text-decoration: underline;
}

/* === FEATURED IMAGE === */
.featured-image {
  margin-bottom: 20px;
}

.featured-image img,
.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* === IKONICE ZA DIJELJENJE === */
.article-share-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding-left: 10px;
}

.article-share-icons a {
  background-color: #f5f5f5;
  color: #555;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.article-share-icons a:hover {
  background-color: #000;
  color: #fff;
}

/* === CUSTOM SHARE (CENTERED) === */
.custom-social-share {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.custom-social-share .icon {
  background-color: #f0f0f0;
  border-radius: 50%;
  padding: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.custom-social-share .icon:hover {
  background-color: #d0d0d0;
}

.custom-social-share svg {
  width: 22px;
  height: 22px;
}

/* === TAGOVI === */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  color: #444;
  font-size: 14px;
  margin-bottom: 15px; /* DODANO */
}

.post-tags a {
  padding: 6px 12px;
  background-color: #f0f2f5;
  color: #333;
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid #ccc;
  transition: 0.2s ease-in-out;
}

.post-tags a:hover {
  background-color: #0073aa;
  color: white;
  border-color: #0073aa;
}

/* === KOMENTAR NAPOMENA ISPOD TAGOVA === */
.comment-notes,
.comment-note,
.comment-warning,
.comment-info {
  margin-top: 15px;
  font-size: 14px;
  color: #555;
}

/* === YOUTUBE VIDEO – RESPONZIVNOST BEZ KLASE === */
iframe[src*="youtube.com"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  display: block;
  border-radius: 6px;
  margin: 20px 0;
}

/* === OPŠTI IFRAME STIL === */
iframe {
  max-width: 100%;
  border: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .single-post-container {
    padding: 0 12px;
    font-size: 1rem;
    line-height: 1.7rem;
  }

  .post-title {
    font-size: 26px;
    line-height: 1.4;
  }

  .post-category {
    font-size: 11px;
    padding: 3px 10px;
    margin-top: 10px;
    margin-bottom: 8px;
  }

  .single-post-container h1 {
    font-size: 22px;
  }

  .single-post-container h2 {
    font-size: 20px;
  }

  .single-post-container h3 {
    font-size: 18px;
  }
}

/* === FOOTER/SECTION MARGINS === */
body.single-post {
  background-color: #f7f7f7;
}

.stats-section {
  background: #f9f9f9;
  text-align: center;
  padding: 60px 20px 20px;
  animation: fadeInUp 1s ease-in-out;
  margin-bottom: 0;
}

.site-footer {
  margin-top: 0;
  padding-top: 40px;
}

@media screen and (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}


/* === ANKETA === */
.poll-box {
  background: #f9f9f9;
  padding: 20px;
  margin-top: 40px;
  border-radius: 12px;
}

.poll-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.poll-header img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.poll-header h3 {
  font-size: 18px;
  margin: 0;
  font-weight: bold;
}

/* WP-Polls default elements */
.wp-polls ul {
  list-style: none;
  padding-left: 0;
}

.wp-polls ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.wp-polls input[type="radio"] {
  margin-right: 10px;
}

.wp-polls .Buttons {
  margin-top: 15px;
  background: #fdd6dc;
  color: #000;
  padding: 12px 20px;
  border: none;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
}
/* === NAJNOVIJE VIJESTI === */
.latest-news {
  margin-top: 50px;
}

.latest-news h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.latest-news-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.latest-news-item {
  width: calc(25% - 15px);
  background: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

.latest-news-item:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.latest-news-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.latest-news-item p {
  font-size: 15px;
  font-weight: bold;
  padding: 10px;
  color: #111;
}
/* === NAJČITANIJE NA PORTALU === */
.home-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.featured-posts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.featured-post img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
}

.featured-post .category {
    font-size: 13px;
    color: #fff;
    background: #c00;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 6px;
    border-radius: 3px;
}

.featured-post h2 {
    font-size: 20px;
    color: #000;
    margin: 0 0 10px;
}

.latest-posts .post-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.latest-posts .post-item img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.latest-posts .post-content {
    flex: 1;
}

.latest-posts .post-content h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.latest-posts .meta {
    font-size: 13px;
    color: #444;
}

.latest-posts .meta .date {
    color: #666;
    font-weight: normal;
}


.home-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.featured-posts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.featured-post img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
}

.featured-post .category {
    font-size: 13px;
    color: #fff;
    background: #c00;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 6px;
    border-radius: 3px;
}

.featured-post h2 {
    font-size: 20px;
    color: #000;
    margin: 0 0 10px;
}

.latest-posts .post-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.latest-posts .post-item img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.latest-posts .post-content {
    flex: 1;
}

.latest-posts .post-content h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.latest-posts .meta {
    font-size: 13px;
    color: #444;
}

.latest-posts .meta .date {
    color: #666;
    font-weight: normal;
}
/* === SIDEBAR DESNO NAJNOVIJE VIJESTI === */
.sidebar-area {
  flex: 1 1 30%;
  max-width: 300px;
}

.custom-ad-sidebar {
  margin-bottom: 30px;
  text-align: center;
}

.custom-ad-sidebar img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Sakrij reklamu na telefonima */
@media screen and (max-width: 768px) {
  .custom-ad-sidebar {
    display: none;
  }
}
.single-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 16px;
  gap: 30px;
}

.single-content {
  flex: 1 1 70%;
  max-width: 740px;
}

.sidebar-area {
  flex: 1 1 30%;
  max-width: 300px;
}

/* Sidebar samo na desktopu */
@media (max-width: 768px) {
  .sidebar-area {
    display: none;
  }
}
/* Youtube */
.video-sekcija {
  padding: 20px 15px;
  background: #fff;
}

.video-naslov {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #d60000;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.video-naslov .ikona::before {
  content: "▶";
  font-size: 16px;
  margin-right: 8px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.video-box {
  background: #fff;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.video-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.play-ikonica {
  position: absolute;
  top: 8px;
  left: 8px;
  background: red;
  color: white;
  font-size: 16px;
  padding: 4px 6px;
  border-radius: 50%;
}

.video-opis {
  font-size: 14px;
  color: #000;
  margin-top: 6px;
  line-height: 1.4;
  font-weight: 500;
}

.video-link {
  text-align: right;
  margin-top: 10px;
}

.video-link a {
  color: red;
  font-weight: bold;
  text-decoration: none;
}

.video-sekcija {
  background: #fff;
  padding: 20px;
  margin: 30px auto;
}

.video-naslov {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: #d40000;
  padding: 10px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.video-naslov .ikona::before {
  content: "\f04b"; /* FontAwesome play icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 10px;
  font-size: 16px;
}

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

.video-box {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  transition: 0.2s;
  border: 1px solid #e0e0e0;
}

.video-box:hover {
  transform: translateY(-4px);
}

.video-thumb {
  position: relative;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.play-ikonica {
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  color: white;
  font-size: 16px;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.video-opis {
  padding: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  min-height: 55px;
  line-height: 1.4;
}

/* Responsive za mobilne uređaje */
@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .video-naslov {
    font-size: 18px;
    padding: 10px 15px;
  }

  .video-opis {
    font-size: 14px;
    font-weight: normal;
    padding: 8px;
  }
.play-ikonica {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  background-color: red;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.play-ikonica i {
  font-size: 14px;
  margin: 0;
  padding: 0;
}


.play-ikonica i {
  margin: 0;
  padding: 0;
}
@media (max-width: 600px) {
  .play-ikonica {
    width: 26px;
    height: 26px;
    font-size: 15px;
  }
}

