@media (min-width: 1019px) {
  .td-header-style-7 .td-header-menu-wrap ul.sf-menu {
    display: flex;
    justify-content: center;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
  .td-header-style-7 .td-header-menu-wrap ul.sf-menu > li { float: none; }
}

/* Gorske Novosti: magazine homepage and compact desktop header. */
.page-id-61611 .td-main-content { width: 100%; }
.page-id-61611 .td-main-sidebar, .page-id-61611 .td-page-header, .page-id-61611 .td-crumb-container, .page-id-61611 [id^="pd_rating_holder"], .page-id-61611 .sharedaddy, .page-id-61611 #comments { display: none; }
.page-id-61611 .td-main-content .td-page-content { padding: 0 32px 48px; }
.gn-home { color: #18231d; padding-top: 32px; }
.gn-home .gn-top { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 32px; margin-bottom: 48px; }
.gn-top > .wp-block-column { min-width: 0; }
.gn-top > .wp-block-column + .wp-block-column { border-left: 1px solid #e3e8e4; padding-left: 24px; }
.gn-home .wp-block-post-template { list-style: none; padding: 0; margin: 0; }
.gn-home .wp-block-post { margin: 0; padding: 0; }
.gn-home .wp-block-post-featured-image { margin: 0 0 14px; }
.gn-home .wp-block-post-featured-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; display: block; }
.gn-home .wp-block-post-title { font-family: inherit; font-size: 20px; line-height: 1.25; font-weight: 600; margin: 6px 0 10px; }
.gn-home .wp-block-post-title a { color: #18231d; text-decoration: none; }
.gn-home .wp-block-post-title a:hover { color: #17613a; }
.gn-home .wp-block-post-terms { font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.gn-home .wp-block-post-terms a { color: #17613a; text-decoration: none; }
.gn-home .wp-block-post-date { font-size: 11px; color: #6e7771; line-height: 1.4; }
.gn-home .gn-lead .wp-block-post-title { font-size: 30px; line-height: 1.18; }
.gn-home .wp-block-post-excerpt { font-size: 15px; line-height: 1.55; color: #5a635d; }
.gn-home .wp-block-post-excerpt p { margin-bottom: 12px; }
.gn-home .gn-stories { margin-top: 24px; border-top: 1px solid #e3e8e4; }
.gn-home .gn-stories .wp-block-post, .gn-home .gn-latest .wp-block-post { display: grid; grid-template-columns: 140px minmax(0,1fr); column-gap: 16px; padding: 20px 0; border-bottom: 1px solid #e3e8e4; }
.gn-home .gn-stories .wp-block-post-featured-image, .gn-home .gn-latest .wp-block-post-featured-image { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
.gn-home .gn-stories .wp-block-post-featured-image img { aspect-ratio: 4 / 3; }
.gn-home .gn-stories .wp-block-post-terms, .gn-home .gn-stories .wp-block-post-title, .gn-home .gn-stories .wp-block-post-date, .gn-home .gn-latest .wp-block-post-terms, .gn-home .gn-latest .wp-block-post-title, .gn-home .gn-latest .wp-block-post-date { grid-column: 2; }
.gn-home .gn-latest .wp-block-post { grid-template-columns: 76px minmax(0,1fr); gap: 0 12px; padding: 14px 0; }
.gn-home .gn-latest .wp-block-post-title { font-size: 15px; line-height: 1.3; margin: 4px 0 6px; }
.gn-home .gn-latest .wp-block-post-featured-image img { aspect-ratio: 4 / 3; }
.gn-home .gn-section-title { font-family: inherit; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; border-bottom: 2px solid #17613a; padding: 0 0 12px; margin: 0 0 18px; }
.gn-home > .gn-section-title { margin-top: 42px; }
.gn-home .gn-category .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }

@media (max-width: 767px) {
  .page-id-61611 .td-main-content .td-page-content { padding: 0 18px 30px; }
  .gn-home { padding-top: 20px; }
  .gn-home .gn-top { display: block; }
  .gn-top > .wp-block-column + .wp-block-column { border-left: 0; padding: 28px 0 0; margin-left: 0; }
  .gn-home .gn-lead .wp-block-post-title { font-size: 25px; }
  .gn-home .gn-stories .wp-block-post { grid-template-columns: 100px minmax(0,1fr); gap: 0 12px; }
  .gn-home .gn-stories .wp-block-post-title { font-size: 17px; }
  .gn-home .gn-category .wp-block-post-template { grid-template-columns: 1fr; gap: 26px; }
}

.gn-home .wp-block-post-featured-image img { height: auto; opacity: 1 !important; }
.page-id-61611 .td-container-border { border: 0; }
.page-id-61611 .td-page-content { margin-top: 0; }
@media (min-width: 1019px) {
  .page-id-61611 .td-main-content-wrap > .td-container { width: min(1280px, 100%); }
}

.page-id-61611 [id^="pd_rating_holder"] { display: none !important; }


/* Auto-hide empty homepage sections - added 2026-09-17 */
.gn-home .gn-category:empty { display: none; }
.gn-home .gn-section-title:has(+ .gn-category:empty) { display: none; }


/* Gorske Novosti: taller navbar + bigger logo (2026-09-22) */
@media (min-width: 1019px) {
	  .td-header-style-5 .td-header-menu-wrap,
	  .td-header-style-5 .td-header-row.td-header-main-menu,
	.td-header-style-5 #td-header-menu {
		    height: 60px;
		    line-height: 60px;
	}
	.td-header-style-5 .sf-menu > li > a {
		    height: 60px;
		    line-height: 60px;
	}
	.td-header-style-5 .td-main-logo img {
		    max-height: 52px;
	}
}

/* Gorske Novosti: hide view counter under post title (2026-09-22) */
.td-post-views {
  display: none !important;
}

/* Gorske Novosti: footer social icons - clean verified svg glyphs (2026-09-23) */
.footer-social-wrap .td-icon-facebook::before,
.footer-social-wrap .td-icon-instagram::before {
  content: none !important;
  display: none !important;
}
.footer-social-wrap .td-social-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}
.footer-social-wrap .td-icon-facebook,
.footer-social-wrap .td-icon-instagram {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.footer-social-wrap .td-icon-facebook {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48cGF0aCBmaWxsPSIjMTU0NDMwIiBkPSJNMjc5LjE0IDI4OGwxNC4yMi05Mi42NmgtODguOTF2LTU5LjY1YzAtMjUuMzUgMTIuNDItNTAuMDYgNTIuMjQtNTAuMDZoNDAuNDJWNi4yNlMyNjAuNDMgMCAyMjUuMzYgMGMtNzMuMjIgMC0xMjEuMDggNDQuMzgtMTIxLjA4IDEyNC43MnY3MC42MkgyMi44OVYyODhoODEuMzl2MjI0aDEwMC4xN1YyODh6Ii8+PC9zdmc+Cg==");
}
.footer-social-wrap .td-icon-instagram {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBmaWxsPSIjMTU0NDMwIiBkPSJNMjI0LjEgMTQxYy02My42IDAtMTE0LjkgNTEuMy0xMTQuOSAxMTQuOXM1MS4zIDExNC45IDExNC45IDExNC45UzMzOSAzMTkuNSAzMzkgMjU1LjkgMjg3LjcgMTQxIDIyNC4xIDE0MXptMCAxODkuNmMtNDEuMSAwLTc0LjctMzMuNS03NC43LTc0LjdzMzMuNS03NC43IDc0LjctNzQuNyA3NC43IDMzLjUgNzQuNyA3NC43LTMzLjYgNzQuNy03NC43IDc0Ljd6bTE0Ni40LTE5NC4zYzAgMTQuOS0xMiAyNi44LTI2LjggMjYuOC0xNC45IDAtMjYuOC0xMi0yNi44LTI2LjhzMTItMjYuOCAyNi44LTI2LjggMjYuOCAxMiAyNi44IDI2Ljh6bTc2LjEgMjcuMmMtMS43LTM1LjktOS45LTY3LjctMzYuMi05My45LTI2LjItMjYuMi01OC0zNC40LTkzLjktMzYuMi0zNy0yLjEtMTQ3LjktMi4xLTE4NC45IDAtMzUuOCAxLjctNjcuNiA5LjktOTMuOSAzNi4xcy0zNC40IDU4LTM2LjIgOTMuOWMtMi4xIDM3LTIuMSAxNDcuOSAwIDE4NC45IDEuNyAzNS45IDkuOSA2Ny43IDM2LjIgOTMuOXM1OCAzNC40IDkzLjkgMzYuMmMzNyAyLjEgMTQ3LjkgMi4xIDE4NC45IDAgMzUuOS0xLjcgNjcuNy05LjkgOTMuOS0zNi4yIDI2LjItMjYuMiAzNC40LTU4IDM2LjItOTMuOSAyLjEtMzcgMi4xLTE0Ny44IDAtMTg0Ljh6TTM5OC44IDM4OGMtNy44IDE5LjYtMjIuOSAzNC43LTQyLjYgNDIuNi0yOS41IDExLjctOTkuNSA5LTEzMi4xIDlzLTEwMi43IDIuNi0xMzIuMS05Yy0xOS42LTcuOC0zNC43LTIyLjktNDIuNi00Mi42LTExLjctMjkuNS05LTk5LjUtOS0xMzIuMXMtMi42LTEwMi43IDktMTMyLjFjNy44LTE5LjYgMjIuOS0zNC43IDQyLjYtNDIuNiAyOS41LTExLjcgOTkuNS05IDEzMi4xLTlzMTAyLjctMi42IDEzMi4xIDljMTkuNiA3LjggMzQuNyAyMi45IDQyLjYgNDIuNiAxMS43IDI5LjUgOSA5OS41IDkgMTMyLjFzMi43IDEwMi43LTkgMTMyLjF6Ii8+PC9zdmc+Cg==");
}

/* Gorske Novosti: footer email - bold, no "Contact us:" label (2026-09-23) */
.footer-email-wrap {
  font-size: 0;
}
.footer-email-wrap a {
  font-size: 13px;
  font-weight: 700;
}

/* Gorske Novosti: sub-footer bar full-bleed (2026-09-23) */
.td-sub-footer-container.td-container {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.td-sub-footer-container .td-pb-row {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Gorske Novosti: center header search icon vertically (2026-09-23) */
@media (min-width: 1019px) {
  .dropdown.header-search {
    margin-top: -8px !important;
  }
  #td-header-search-button {
    height: 60px !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #td-header-search-button .td-icon-search {
    line-height: normal !important;
  }
}

/* Gorske Novosti: accent separator line above footer (2026-09-23) */
.td-footer-container.td-container {
  border-top: 4px solid #154430;
}

/* Gorske Novosti: left-align footer logo/tagline/email/social on mobile to match other columns (2026-09-24) */
@media (max-width: 767px) {
  .td-footer-info,
  .td-footer-info .footer-logo-wrap,
  .td-footer-info .footer-text-wrap,
  .td-footer-info .footer-email-wrap,
  .td-footer-info .footer-social-wrap {
    text-align: left !important;
    justify-content: flex-start !important;
  }
  .td-footer-info .footer-logo-wrap img {
    margin-left: 0 !important;
  }
}

/* Gorske Novosti: remove doubled padding between stacked footer columns on mobile (2026-09-24) */
@media (max-width: 767px) {
  .td-footer-container .td-pb-span4 {
    padding-bottom: 0 !important;
  }
  .td-footer-container .td-pb-span4 aside {
    padding-bottom: 0 !important;
    margin-bottom: 24px !important;
  }
}

/* Gorske Novosti: put Rubrike / O nama / Pravno in one row on mobile (2026-09-25) */
@media (max-width: 767px) {
  .td-footer-container .td-pb-row {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .td-footer-container .td-pb-span4:first-child {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .td-footer-container .td-pb-span4:nth-child(2) {
    flex: 1 1 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-right: 8px !important;
  }
  .td-footer-container .td-pb-span4:nth-child(3) {
    display: contents !important;
  }
  .td-footer-container .td-pb-span4:nth-child(3) aside {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding-right: 8px !important;
  }
  .td-footer-container .td-pb-span4 .block-title {
    font-size: 12px !important;
  }
  .td-footer-container .td-pb-span4 .menu li,
  .td-footer-container .td-pb-span4 .menu a {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}

/* Gorske Novosti: related articles 2-per-row on mobile instead of 3 (2026-10-12) */
@media (max-width: 767px) {
  .td-related-row .td-related-span4 {
    width: 50% !important;
  }
}

/* Gorske Novosti: hide category-siblings tab bar - lists every top-level category incl. deprecated ones, duplicates main nav (2026-10-12) */
.td-category-siblings {
  display: none !important;
}

/* Gorske Novosti: mobile menu - white bg + brand green + logo (2026-10-12) */
.td-menu-background::before,
.td-search-background::before {
  background: #ffffff !important;
}
.td-menu-socials-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding-top: 20px !important;
}
.td-menu-socials-wrap::before {
  content: "";
  display: block;
  width: 210px;
  height: 40px;
  margin: 0 0 20px 20px;
  background-image: url("https://gorskenovosti.net/wp-content/uploads/2026/09/GN-Footer-Logo-Ris-Tekst-600.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
.td-menu-socials-wrap .td-menu-socials {
  margin-left: 20px;
}
.td-menu-socials-wrap .td-social-icon-wrap i {
  color: #154430 !important;
}
.td-mobile-close i {
  color: #154430 !important;
}
.td-mobile-content .td-mobile-main-menu > li > a,
.td-mobile-content .td-mobile-main-menu > li > a:visited {
  color: #154430 !important;
}
.td-mobile-content .sub-menu a {
  color: #154430 !important;
}
.td-mobile-content .td-mobile-main-menu > li {
  border-bottom: 1px solid rgba(21, 68, 48, 0.15) !important;
}