/**
* Core styles for Glasnik.
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "EB Garamond", serif;
  --nav-font: "Funnel Sans", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #FBF8F1; /* Topla bjelokost */
  --default-color: #263746; /* Tamna sivo-plava */
  --heading-color: #10263A; /* Ponoćno plava */
  --accent-color: #7A3545; /* Tamni bordo */
  --surface-color: #FBF8F1; /* Topla bjelokost */
  --contrast-color: #FBF8F1; /* Svijetli tekst na tamnim površinama */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #FBF8F1;
  --nav-hover-color: #B08A4A;
  --nav-mobile-background-color: #FBF8F1;
  --nav-dropdown-background-color: #FBF8F1;
  --nav-dropdown-color: #263746;
  --nav-dropdown-hover-color: #10263A;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #FBF8F1;
  --surface-color: #FBF8F1;
}

.dark-background {
  --background-color: #10263A;
  --default-color: #FBF8F1;
  --heading-color: #FBF8F1;
  --surface-color: #10263A;
  --contrast-color: #FBF8F1;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #10263A;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 500;
  color: var(--heading-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .navmenu {
    order: 3;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(38, 55, 70, .1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(38, 55, 70, .1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--contrast-color);
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(38, 55, 70, .8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.glasnik-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.glasnik-footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .9rem;
  flex-wrap: wrap;
  font-family: var(--nav-font);
  font-size: .78rem;
  line-height: 1.35;
}

.glasnik-footer-legal a {
  color: #D9D1C3;
  font-weight: 600;
}

.glasnik-footer-legal a:hover {
  color: #B08A4A;
}

.glasnik-cookie-consent[hidden] {
  display: none !important;
}

.glasnik-cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(920px, calc(100% - 2rem));
  padding: 1rem;
  background: var(--background-color);
  border: 1px solid #D9D1C3;
  border-radius: 1.15rem;
  box-shadow: 0 24px 70px rgba(16, 38, 58, .22);
  transform: translateX(-50%);
}

.glasnik-cookie-consent-kicker {
  margin: 0 0 .25rem;
  color: var(--heading-color);
  font-family: var(--nav-font);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.glasnik-cookie-consent-text {
  margin: 0;
  color: var(--default-color);
  font-family: var(--default-font);
  font-size: .94rem;
  line-height: 1.55;
}

.glasnik-cookie-consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.glasnik-cookie-consent-primary,
.glasnik-cookie-consent-secondary {
  border-radius: 999px;
  padding: .65rem 1rem;
  font-family: var(--nav-font);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.glasnik-cookie-consent-primary {
  color: var(--contrast-color);
  background: var(--heading-color);
  border: 1px solid var(--heading-color);
}

.glasnik-cookie-consent-secondary {
  color: var(--heading-color);
  background: transparent;
  border: 1px solid #D9D1C3;
}

.glasnik-cookie-consent-link {
  color: var(--heading-color);
  font-family: var(--nav-font);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .18em;
}


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 40px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  margin-bottom: 60px;
  position: relative;
}

.section-title .section-title-container {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--default-color);
}

.section-title h2 {
  font-size: 40px;
  font-weight: 0;
}

.section-title p {
  margin-bottom: 0;
}

.section-title p a {
  color: var(--default-color);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  border-bottom: 1.5px solid var(--default-color);
  font-family: var(--nav-font);
  font-weight: 500;
  padding-bottom: 2px;
}

/*--------------------------------------------------------------
# Trending Category Section
--------------------------------------------------------------*/
.trending-category .post-entry {
  margin-bottom: 30px;
}

.trending-category .post-entry img {
  margin-bottom: 30px;
}

.trending-category .post-entry h2 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.trending-category .post-entry h2 a {
  color: var(--heading-color);
}

.trending-category .post-entry h2 a:hover {
  text-decoration: underline;
}

.trending-category .post-entry.lg h2 {
  font-size: 40px;
  line-height: 1;
}

.trending-category .post-meta {
  font-size: 11px;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.trending-category .custom-border {
  border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}

@media (max-width: 768px) {
  .trending-category .custom-border {
    border: none !important;
  }
}

.trending-category .author .photo {
  margin-right: 10px;
}

.trending-category .author .photo img {
  width: 40px;
  border-radius: 50%;
  margin-bottom: 0;
}

.trending-category .author .name h3 {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: var(--default-font);
}

.trending-category .trending {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.trending-category .trending>h3 {
  color: var(--default-color);
  padding: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.trending-category .trending .trending-post {
  padding: 0;
  margin: 0;
}

.trending-category .trending .trending-post li {
  padding: 0;
  margin: 0;
  list-style: none;
  display: block;
}

.trending-category .trending .trending-post li a {
  display: block;
  padding: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.trending-category .trending .trending-post li a .number {
  position: absolute;
  z-index: 1;
  font-size: 5rem;
  left: -10px;
  top: -20px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.trending-category .trending .trending-post li a h3 {
  font-size: 18px;
  color: var(--default-color);
  transition: 0.3s;
}

.trending-category .trending .trending-post li a .author {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 500;
}

.trending-category .trending .trending-post li a:hover h3 {
  color: var(--default-color);
  text-decoration: underline;
}

.trending-category .trending .trending-post li:last-child a {
  border-bottom: none;
}

/*--------------------------------------------------------------
# Category Feature Sections
--------------------------------------------------------------*/
.culture-category .post-entry {
  margin-bottom: 30px;
}

.culture-category .post-entry h3 a {
  color: var(--heading-color);
  font-weight: 600;
}

.culture-category .post-entry h3 a:hover,
.culture-category .post-list h2 a:hover {
  text-decoration: underline;
}

.culture-category .post-entry .thumbnail {
  flex: 0 0 65%;
}

@media (max-width: 960px) {
  .culture-category .post-entry .thumbnail {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

.culture-category .post-entry.half .thumbnail {
  flex: 0 0 50%;
}

.culture-category .post-entry.small-img .thumbnail {
  flex: 0 0 30%;
}

@media (max-width: 768px) {
  .culture-category .post-entry.half .thumbnail,
  .culture-category .post-entry.small-img .thumbnail {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

.culture-category .border-bottom {
  border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}

.culture-category .post-meta {
  font-size: 11px;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.culture-category .author .photo {
  margin-right: 10px;
}

.culture-category .author .photo img {
  width: 40px;
  border-radius: 50%;
  margin-bottom: 0;
}

.culture-category .author .name h3 {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: var(--default-font);
}

.culture-category .post-list {
  margin-bottom: 30px;
}

.culture-category .post-list img {
  margin-bottom: 30px;
}

.culture-category .post-list h2 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.culture-category .post-list h2 a {
  color: var(--heading-color);
}

.culture-category .post-list.lg h2 {
  font-size: 40px;
  line-height: 1;
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content .who-we-are {
  text-transform: uppercase;
  margin-bottom: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

.about .about-images img {
  border-radius: 10px;
}

/*--------------------------------------------------------------
# Glasnik Details Section
--------------------------------------------------------------*/
.glasnik-details {
  padding-bottom: 30px;
}

.glasnik-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(38, 55, 70, .1);
}

.glasnik-details .post-img {
  margin: -30px -30px 20px -30px;
  border-radius: 1.1rem 1.1rem 0 0;
  overflow: hidden;
}

.glasnik-details .post-img img {
  display: block;
  width: 100%;
  height: auto;
}

.glasnik-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.glasnik-details .content {
  margin-top: 20px;
}

.glasnik-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.glasnik-details .content blockquote {
  overflow: hidden;
  background-color: var(--amk-primary);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.glasnik-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.glasnik-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.glasnik-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.glasnik-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.glasnik-details .meta-top ul li+li {
  padding-left: 20px;
}

.glasnik-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.glasnik-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

/*--------------------------------------------------------------
# Glasnik Posts Section
--------------------------------------------------------------*/
.glasnik-posts article {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(38, 55, 70, .1);
  transition: 0.3s;
}

.glasnik-posts .post-img img {
  transition: 0.5s;
}

.glasnik-posts .post-date {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  right: 0;
  bottom: 0;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.glasnik-posts .post-content {
  padding: 30px;
}

.glasnik-posts .post-title {
  font-size: 20px;
  color: var(--amk-primary);
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.glasnik-posts .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.glasnik-posts .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.glasnik-posts p {
  margin-top: 20px;
}

.glasnik-posts hr {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-bottom: 15px;
}

.glasnik-posts .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

.glasnik-posts .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.glasnik-posts article:hover .post-title,
.glasnik-posts article:hover .readmore {
  color: var(--accent-color);
}

.glasnik-posts article:hover .post-img img {
  transform: scale(1.1);
}

:root {
  --amk-primary: #10263A;
  --amk-primary-deep: #10263A;
  --amk-secondary: #7A3545;
  --amk-accent: #B08A4A;
  --amk-light: #FBF8F1;
  --amk-dark: #263746;
  --amk-body: #263746;
  --amk-muted: #5F6B73;
  --amk-border-color: #D9D1C3;
  --amk-surface: #FBF8F1;
  --amk-surface-soft: linear-gradient(180deg, rgba(251, 248, 241, .98), rgba(251, 248, 241, .92));
  --amk-surface-paper: linear-gradient(180deg, rgba(251, 248, 241, .99), rgba(217, 209, 195, .22));
  --amk-surface-dark: linear-gradient(145deg, rgba(16, 38, 58, .98), rgba(16, 38, 58, .92));
  --amk-border: 1px solid rgba(217, 209, 195, .85);
  --amk-border-strong: 1px solid rgba(176, 138, 74, .45);
  --amk-shadow-soft: 0 1.2rem 2.7rem rgba(38, 55, 70, .08);
  --amk-shadow-card: 0 .9rem 2rem rgba(38, 55, 70, .08);
  --amk-shadow-dark: 0 1.3rem 2.8rem rgba(16, 38, 58, .22);
}

html {
  scroll-behavior: smooth;
}

body,
body.index-page,
body.category-page,
body.single-post-page,
body.about-page {
  color: var(--amk-body);
  background:
    radial-gradient(circle at top center, rgba(176, 138, 74, .08), transparent 24%),
    linear-gradient(180deg, #FBF8F1 0%, #FBF8F1 100%);
  font-family: "Funnel Sans", sans-serif;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--amk-primary);
}

a:hover {
  color: var(--amk-secondary);
}

.header {
  background: rgba(16, 38, 58, .95);
  box-shadow: 0 .8rem 2.2rem rgba(38, 55, 70, .08);
  backdrop-filter: blur(12px);
}

.header .logo .sitename {
  color: var(--contrast-color);
  font-size: 1.55rem;
  font-weight: 680;
  letter-spacing: -.03em;
}

.navmenu a,
.navmenu a:focus {
  color: rgba(251, 248, 241, .88);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .06em;
  font-variant-caps: small-caps;
}

.navmenu li:hover > a,
.navmenu .active,
.navmenu .active:focus {
  color: var(--amk-accent);
}

.navmenu .dropdown ul {
  background: var(--amk-light);
  border: var(--amk-border);
  border-radius: 1rem;
  box-shadow: var(--amk-shadow-soft);
}

.navmenu .dropdown ul a {
  color: var(--amk-dark);
}


.glasnik-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  background: var(--amk-secondary);
  color: var(--contrast-color);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.glasnik-header-cta:hover,
.glasnik-header-cta:focus {
  color: var(--contrast-color);
  background: var(--amk-primary);
  transform: translateY(-1px);
  box-shadow: var(--amk-shadow-soft);
}

.mobile-index-cta {
  display: none;
}

.mobile-index-cta a,
.mobile-index-cta a:focus {
  justify-content: center;
  margin: .75rem 1rem .35rem;
  padding: .85rem 1rem;
  border-radius: 999px;
  background: var(--amk-secondary);
  color: var(--contrast-color) !important;
  font-weight: 680;
  letter-spacing: .04em;
}

.mobile-index-cta a:hover,
.mobile-index-cta a:focus {
  background: var(--amk-primary);
  color: var(--contrast-color) !important;
}

@media (max-width: 1199.98px) {
  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    z-index: 9998;
    overflow: hidden;
    background: rgba(16, 38, 58, .72);
  }

  .mobile-nav-active .navmenu > ul {
    display: flex !important;
    flex-direction: column;
    gap: .15rem;
    position: fixed;
    top: 5.25rem;
    right: 1rem;
    left: 1rem;
    bottom: auto;
    z-index: 10000;
    max-height: calc(100svh - 6.5rem);
    padding: .85rem 0;
    margin: 0;
    overflow-y: auto;
    border: 1px solid rgba(217, 209, 195, .85);
    border-radius: 1rem;
    background: var(--amk-light);
    box-shadow: 0 1.5rem 3.5rem rgba(16, 38, 58, .22);
  }

  .mobile-nav-active .mobile-nav-toggle {
    z-index: 10001;
  }

  .glasnik-header-cta {
    display: none;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--amk-dark);
  }

  .navmenu li:hover > a,
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--amk-primary);
  }

  .mobile-index-cta {
    display: block;
  }
}
.mobile-nav-toggle {
  color: var(--contrast-color);
}


.page-title {
  padding: 2rem 0 1.25rem;
  margin-bottom: 1rem;
  background: transparent;
}

.page-title h1 {
  color: var(--amk-primary);
  font-size: clamp(2rem, 1.4rem + 1.7vw, 3rem);
}

.breadcrumbs ol,
.breadcrumbs ol li,
.breadcrumbs a {
  color: var(--amk-muted);
}

.section,
.glasnik-posts,
.glasnik-details,
.about,
.team {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

#trending-category {
  padding-top: clamp(3rem, 5vw, 5rem);
}

.section-title {
  margin-bottom: 1.8rem;
}

.section-title h2,
.section-title-container h2 {
  color: var(--amk-primary);
  font-size: 1.8rem;
}

.section-title p,
.who-we-are,
.post-meta .date {
  color: var(--amk-primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  font-variant-caps: all-small-caps;
}

.about .content,
.about-images,
.search-form-wrap {
  background: var(--amk-surface-paper);
  border: var(--amk-border);
  border-radius: 1.35rem;
  box-shadow: var(--amk-shadow-card);
}

.post-img {
  overflow: hidden;
}

.glasnik-posts .post-img,
.glasnik-posts .post-img img {
  border-radius: 0;
}

.about-images img {
  border-radius: 1.1rem;
}

.about-intro {
  color: var(--amk-muted);
  max-width: 44rem;
  margin-top: .65rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-editorial-shell {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.about-summary-card,
.about-info-card,
.about-impressum-card,
.editor-card {
  background: var(--surface-color);
  border: 0;
  border-radius: 0;
  box-shadow: 0 2px 20px rgba(38, 55, 70, .08);
}

.about-summary-card {
  position: sticky;
  top: 6rem;
  padding: 2rem;
}

.about-summary-kicker,
.about-info-kicker,
.editor-role {
  color: var(--amk-primary);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.about-summary-card h2 {
  color: var(--amk-primary);
  font-size: clamp(1.3rem, 1.05rem + .55vw, 1.7rem);
  line-height: 1.24;
  margin: .65rem 0 1.15rem;
}

.about-summary-text {
  color: var(--amk-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.about-summary-list {
  display: grid;
  gap: .85rem;
  margin-top: 1.35rem;
}

.about-summary-item {
  padding-top: .85rem;
  border-top: 1px solid rgba(217, 209, 195, .85);
}

.about-summary-item span {
  display: block;
  color: var(--amk-muted);
  font-size: .82rem;
  margin-bottom: .2rem;
}

.about-summary-item strong {
  color: var(--amk-dark);
  font-weight: 680;
}

.about-info-card {
  height: 100%;
  padding: 2rem;
}

.about-info-card h3 {
  color: var(--amk-primary);
  font-size: clamp(1.25rem, 1.05rem + .45vw, 1.55rem);
  line-height: 1.25;
  margin: .55rem 0 1rem;
}

.about-manifest-card h3 {
  font-size: clamp(1.45rem, 1.15rem + .85vw, 2rem);
  letter-spacing: -.02em;
}

.about-info-card p,
.about-impressum-card p,
.editor-card p {
  color: var(--amk-muted);
  line-height: 1.7;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-principle {
  display: block;
  padding: 1.5rem;
  background: var(--surface-color);
  border: 0;
  border-left: 4px solid var(--amk-accent);
  border-radius: 0;
  box-shadow: 0 2px 20px rgba(38, 55, 70, .08);
}

.about-principle span {
  display: block;
  margin-bottom: .85rem;
  color: var(--amk-accent);
  font-size: 1.3rem;
  font-weight: 780;
  line-height: 1;
}

.about-principle strong {
  display: block;
  color: var(--amk-primary);
  font-size: 1.02rem;
  line-height: 1.35;
  margin-bottom: .65rem;
}

.about-principle p {
  color: var(--amk-muted);
  margin: 0;
  line-height: 1.62;
}

.about-impressum-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
}

.about-side-lower-card {
  margin-top: 2rem;
}

.about-page .about-summary-card {
  position: static;
}

.editor-card {
  display: flex;
  align-items: flex-start;
  height: 100%;
  padding: 1.5rem;
}

.editor-card h4 {
  color: var(--amk-primary);
  margin: .15rem 0 .25rem;
  font-size: 1.15rem;
}

@media (max-width: 991.98px) {
  .about-summary-card,
  .about-info-card {
    padding: 1.5rem;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-summary-card {
    position: static;
  }

  .about-impressum-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

.post-date {
  display: inline-flex;
  align-items: center;
  padding: .45rem .85rem;
  background: rgba(122, 53, 69, .92);
  color: var(--contrast-color);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}

.readmore,
.more,
.post-entry .readmore {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--amk-dark);
  font-weight: 650;
  letter-spacing: .01em;
}

.readmore:hover,
.post-entry .readmore:hover {
  color: var(--amk-primary);
}

.glasnik-index-trending {
  padding-top: 2.25rem;
}

.glasnik-publishing-note {
  padding: 0;
}

.glasnik-publishing-note-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.25rem;
  color: var(--amk-primary);
  background: linear-gradient(135deg, #B08A4A, color-mix(in srgb, var(--amk-accent), var(--amk-light) 18%));
}

.glasnik-publishing-note-bar p {
  margin: 0;
  color: inherit;
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: .015em;
  line-height: 1.45;
  text-align: center;
}

.glasnik-index-list-section {
  padding-top: 1.5rem;
}

.glasnik-index-list-section .section-title {
  padding-bottom: 1rem;
}

.glasnik-index-picks-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.glasnik-index-pick-card {
  min-height: 100%;
  background: var(--surface-color);
  box-shadow: 0 2px 20px rgba(38, 55, 70, .08);
}

.glasnik-index-pick-card a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.2rem;
  color: var(--amk-primary);
  text-decoration: none;
}

.glasnik-index-pick-card h3 {
  margin: 0;
  color: var(--amk-primary);
  font-size: clamp(1rem, .92rem + .22vw, 1.16rem);
  font-weight: 720;
  line-height: 1.3;
}

.glasnik-index-pick-card .pick-number {
  display: block;
  margin-bottom: 1.15rem;
  color: var(--amk-accent);
  font-family: var(--heading-font);
  font-size: clamp(2.15rem, 1.7rem + 1.1vw, 3rem);
  font-weight: 680;
  line-height: .9;
}

.glasnik-index-pick-card a:hover h3,
.glasnik-index-pick-card a:focus h3 {
  color: var(--amk-secondary);
}

@media (max-width: 1199.98px) {
  .glasnik-index-picks-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .glasnik-index-trending {
    padding-top: 1.5rem;
  }

  .glasnik-publishing-note-bar {
    padding: .85rem 1rem;
  }

  .glasnik-publishing-note-bar p {
    font-size: .88rem;
  }

  .glasnik-index-picks-grid {
    grid-template-columns: 1fr;
  }

  .glasnik-index-pick-card a {
    padding: 1rem;
  }
}

.footer h4,
.section-title h2,
.section-title-container h2 {
  color: var(--amk-primary);
}

.footer h4,
.footer h4 {
  color: var(--contrast-color);
  font-family: "Funnel Sans", sans-serif;
  font-weight: 680;
}

.footer {
  color: var(--amk-border-color);
  background: var(--amk-primary-deep);
}

.footer a,
.footer .sitename {
  color: var(--contrast-color);
}


.copyright {
  color: var(--amk-border-color);
  background: var(--amk-primary-deep);
}

.scroll-top {
  background: var(--amk-primary);
  color: var(--contrast-color);
  box-shadow: var(--amk-shadow-soft);
}

.scroll-top:hover {
  background: var(--amk-secondary);
  color: var(--contrast-color);
}

@media (max-width: 1199.98px) {
  .header .container {
    gap: 1rem;
  }
}

@media (max-width: 991.98px) {
  .page-title {
    padding-top: 1.4rem;
  }

  .section,
  .glasnik-posts,
  .glasnik-details,
  .about,
  .team {
    padding-top: .75rem;
    padding-bottom: 2rem;
  }

  #trending-category {
    padding-top: 2.25rem;
  }
}

/* ARTICLE LINK AND HEADING FIXES */
.single-post-page .glasnik-details .article > h2.title,
.single-post-page .glasnik-details .article .title {
  color: var(--amk-primary) !important;
}

.single-post-page .glasnik-details .article .content > h3,
.single-post-page .glasnik-details .content h3 {
  color: var(--amk-primary) !important;
}

.single-post-page .glasnik-details .content a,
.single-post-page .glasnik-details .content a:visited {
  color: var(--amk-secondary) !important;
}

.single-post-page .glasnik-details .content a:hover,
.single-post-page .glasnik-details .content a:focus {
  color: var(--amk-primary) !important;
}

.single-post-page .glasnik-details .content .article-lead {
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--amk-primary-deep);
  font-weight: 520;
  padding: 0;
  margin: .35rem 0 1.65rem;
}

.single-post-page .glasnik-details .article-image-caption {
  margin: .18rem 0 1.25rem;
  color: var(--amk-muted);
  font-size: .78rem;
  font-style: italic;
  text-align: right;
}

.single-post-page .glasnik-details .post-img.has-caption {
  margin-bottom: .25rem;
}

.single-post-page .glasnik-details .content .article-image-float-right {
  float: right;
  width: 35%;
  max-width: 35%;
  margin: 0 0 1rem 2rem;
}

.single-post-page .glasnik-details .content .article-clear-float {
  clear: both;
}

@media (max-width: 991.98px) {
  .single-post-page .glasnik-details .content .article-image-float-right {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0 1.5rem;
  }
}



/* Mobile article/footer refinements */
@media (max-width: 767.98px) {
  .single-post-page .glasnik-details .meta-top {
    margin: 1rem 0 1.35rem;
    padding: .8rem .9rem;
    border: var(--amk-border);
    border-radius: 1rem;
    background: rgba(251, 248, 241, .96);
  }

  .single-post-page .glasnik-details .meta-top ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: .85rem;
    row-gap: .62rem;
    align-items: stretch;
  }

  .single-post-page .glasnik-details .meta-top ul li,
  .single-post-page .glasnik-details .meta-top ul li + li {
    padding-left: 0;
    min-width: 0;
  }

  .single-post-page .glasnik-details .meta-top i {
    flex: 0 0 1.1rem;
    margin-right: .55rem;
    color: var(--amk-accent);
    line-height: 1.35;
    text-align: center;
  }

  .single-post-page .glasnik-details .meta-top a,
  .single-post-page .glasnik-details .meta-top time {
    color: var(--amk-muted);
    font-size: .9rem;
    line-height: 1.35;
  }

  .footer {
    margin-top: 0;
  }

  .footer .copyright {
    padding: 1.05rem 1rem;
    text-align: center;
  }

  .footer .copyright p {
    max-width: 18rem;
    margin: 0 auto;
    color: var(--amk-border-color);
    font-size: .86rem;
    line-height: 1.5;
  }

  .footer .copyright a {
    color: var(--contrast-color);
    white-space: nowrap;
  }
}

/* Article title-first layout refinements */
.single-post-page .glasnik-details .title {
  margin: 0 0 1.35rem;
}

.single-post-page .glasnik-details .post-img {
  margin: 0 -30px 20px -30px;
  border-radius: 1.1rem;
  overflow: hidden;
}

.glasnik-details .meta-top span,
.glasnik-details .meta-top time {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

@media (max-width: 767.98px) {
  .single-post-page .glasnik-details .meta-top span,
  .single-post-page .glasnik-details .meta-top time {
    color: var(--amk-muted);
    font-size: .9rem;
    line-height: 1.35;
  }
}

/* Sharp Glasnik imagery and frameless single articles */
.post-entry img,
.post-list img,
.glasnik-posts .post-img,
.glasnik-posts .post-img img,
.glasnik-details .post-img,
.glasnik-details .post-img img,
.about-images img {
  border-radius: 0 !important;
}

.single-post-page .glasnik-details .article {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.single-post-page .glasnik-details .post-img {
  margin: 0 0 1.35rem;
  overflow: hidden;
}

/* Unified h1 scale for article and category titles */
.single-post-page .glasnik-details .title,
.category-page .page-title h1 {
  color: var(--amk-primary);
  font-size: clamp(2rem, 1.4rem + 1.7vw, 3rem);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -.012em;
}

@media (min-width: 992px) {
  .single-post-page .glasnik-details .title,
  .category-page .page-title h1 {
    max-width: 58rem;
    font-size: clamp(2rem, 1.4rem + 1.7vw, 3rem);
  }
}






/* Glasnik index trending mirrored second feature */
.glasnik-index-feature-reverse {
  align-items: flex-start;
}

.glasnik-index-feature-reverse .glasnik-index-feature-content {
  flex: 1 1 0;
}

.glasnik-index-feature-reverse .thumbnail {
  flex: 0 0 65%;
}

@media (max-width: 960px) {
  .glasnik-index-feature-reverse .thumbnail {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}




/* Tighter Glasnik index trending spacing */
.glasnik-index-trending,
#trending-category.glasnik-index-trending {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@media (max-width: 767.98px) {
  .glasnik-index-trending,
  #trending-category.glasnik-index-trending {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.header .logo .sitename {
  font-family: "Aleo", serif;
  font-weight: 500;
  letter-spacing: .005em;
}

.header .logo .sitename .sitename-emphasis {
  font-weight: 800;
}
/* Remove extra card frames on Glasnik category and project pages */
.category-page .glasnik-posts article,
.about-page .about-summary-card,
.about-page .about-info-card,
.about-page .about-impressum-card,
.about-page .editor-card {
  box-shadow: none;
}

.category-page .glasnik-posts article {
  border: 0;
}


/* Category card rhythm */
.category-page .glasnik-posts article {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
}

.category-page .glasnik-posts .post-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  background: var(--amk-border-color);
}

.category-page .glasnik-posts .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-page .glasnik-posts .post-content {
  flex: 1 1 auto;
  padding: 1.15rem 0 0;
  gap: .72rem;
}

.category-page .glasnik-posts .post-title {
  margin: 0;
  font-size: clamp(1.28rem, 1.05rem + .38vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: -.006em;
}

.category-page .glasnik-posts .meta {
  margin: 0;
  gap: .45rem;
  flex-wrap: wrap;
}

.category-page .glasnik-posts .meta span,
.category-page .glasnik-posts .meta a {
  font-size: .84rem;
  line-height: 1.2;
}

.category-page .glasnik-posts p {
  margin: 0;
  color: var(--amk-muted);
  font-size: .98rem;
  line-height: 1.62;
}

.category-page .glasnik-posts .readmore {
  margin-top: auto;
  padding-top: .35rem;
}
@media (max-width: 767.98px) {
  .category-page .glasnik-posts .post-img {
    aspect-ratio: 16 / 10;
  }

  .category-page .glasnik-posts .post-content {
    padding-top: .95rem;
    gap: .62rem;
  }
}

/* Category card footer alignment: CTA before final rule */
.category-page .glasnik-posts .post-title {
  order: 1;
}

.category-page .glasnik-posts .meta {
  order: 2;
}

.category-page .glasnik-posts p {
  order: 3;
}

.category-page .glasnik-posts .readmore {
  order: 4;
  margin-top: 0;
}

.category-page .glasnik-posts hr {
  order: 5;
  width: 100%;
  margin: auto 0 0;
}

@media (max-width: 767.98px) {
  .category-page .glasnik-posts hr {
    margin-top: .85rem;
  }
}

.category-page .glasnik-posts .readmore {
  padding-top: 0;
}

/* Project page sidebar */
.about-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-contact-link {
  color: var(--amk-accent);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.about-contact-link:hover {
  color: var(--amk-primary);
}

@media (min-width: 992px) {
  .about-sidebar-stack {
    position: sticky;
    top: 7rem;
  }
}
.about-project-logo {
  display: flex;
  justify-content: center;
  padding: .75rem 0 .25rem;
}

.about-project-logo img {
  width: min(190px, 58%);
  height: auto;
  display: block;
}

/*--------------------------------------------------------------
# Glasnik 404
--------------------------------------------------------------*/
.glasnik-404-page .main {
  min-height: calc(100vh - 170px);
}

.glasnik-error {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 230px);
}

.glasnik-error-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid #D9D1C3;
  background:
    linear-gradient(135deg, color-mix(in srgb, #FBF8F1, #ffffff 18%), #FBF8F1 58%, color-mix(in srgb, #D9D1C3, #FBF8F1 70%)),
    radial-gradient(circle at 82% 16%, color-mix(in srgb, #B08A4A, transparent 70%), transparent 34%);
  box-shadow: 0 28px 70px color-mix(in srgb, #10263A, transparent 90%);
}

.glasnik-error-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  justify-content: center;
}

.glasnik-error-kicker {
  margin: 0 0 .9rem;
  color: #B08A4A;
  font-family: var(--nav-font);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.glasnik-error-card h2 {
  max-width: 820px;
  margin-bottom: 1rem;
  color: #10263A;
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: .95;
}

.glasnik-error-card .glasnik-error-lead {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 1.9rem;
  color: #5F6B73;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.glasnik-error-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.glasnik-error-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.25rem;
  border: 1px solid #D9D1C3;
  color: #10263A;
  background: color-mix(in srgb, #FBF8F1, #ffffff 35%);
  font-family: var(--nav-font);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.glasnik-error-actions a:hover,
.glasnik-error-actions a:focus {
  border-color: #B08A4A;
  color: #10263A;
  background: color-mix(in srgb, #B08A4A, #FBF8F1 84%);
}

.glasnik-error-actions .glasnik-error-primary {
  border-color: #10263A;
  color: #FBF8F1;
  background: #10263A;
}

.glasnik-error-actions .glasnik-error-primary:hover,
.glasnik-error-actions .glasnik-error-primary:focus {
  border-color: #B08A4A;
  color: #10263A;
  background: #B08A4A;
}

.glasnik-error-search-note {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  max-width: 680px;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #D9D1C3;
  color: #5F6B73;
  font-family: var(--nav-font);
  font-size: .98rem;
  line-height: 1.6;
}

.glasnik-error-search-note i {
  flex: 0 0 auto;
  color: #B08A4A;
  font-size: 1.35rem;
}

.glasnik-error-panel {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid color-mix(in srgb, #D9D1C3, #10263A 10%);
  background: color-mix(in srgb, #10263A, #263746 16%);
  color: #FBF8F1;
}

.glasnik-error-panel-label {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #B08A4A;
  font-family: var(--nav-font);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.glasnik-error-link-grid {
  display: grid;
  gap: .8rem;
}

.glasnik-error-link-grid a,
.glasnik-error-featured a {
  display: block;
  color: #FBF8F1;
}

.glasnik-error-link-grid a {
  padding: 1rem;
  border: 1px solid color-mix(in srgb, #FBF8F1, transparent 82%);
  background: color-mix(in srgb, #FBF8F1, transparent 94%);
}

.glasnik-error-link-grid span {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.glasnik-error-link-grid small {
  display: block;
  color: color-mix(in srgb, #FBF8F1, transparent 28%);
  font-size: .95rem;
  line-height: 1.5;
}

.glasnik-error-link-grid a:hover,
.glasnik-error-link-grid a:focus {
  border-color: #B08A4A;
  background: color-mix(in srgb, #B08A4A, transparent 84%);
}

.glasnik-error-featured {
  margin-top: 1.8rem;
  padding-top: 1.35rem;
  border-top: 1px solid color-mix(in srgb, #FBF8F1, transparent 84%);
}

.glasnik-error-featured a {
  padding: .85rem 0;
  border-bottom: 1px solid color-mix(in srgb, #FBF8F1, transparent 88%);
  font-family: var(--heading-font);
  font-size: 1.2rem;
  line-height: 1.25;
}

.glasnik-error-featured a:hover,
.glasnik-error-featured a:focus {
  color: #B08A4A;
}

.glasnik-error-mark {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(-1rem, -2vw, -.25rem);
  color: color-mix(in srgb, #10263A, transparent 94%);
  font-family: var(--heading-font);
  font-size: clamp(8rem, 24vw, 18rem);
  font-weight: 700;
  line-height: .8;
  pointer-events: none;
}

@media (max-width: 767px) {
  .glasnik-error {
    min-height: auto;
  }

  .glasnik-error-card {
    padding: 2rem 1.25rem;
  }

  .glasnik-error-card h2 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .glasnik-error-actions {
    flex-direction: column;
  }

  .glasnik-error-actions a {
    width: 100%;
  }

  .glasnik-error-panel {
    margin-top: .75rem;
  }

  .glasnik-error-mark {
    display: none;
  }
}

/* Glasnik 404 refinement */
.glasnik-404-page .main {
  min-height: calc(100vh - 140px);
  background: linear-gradient(180deg, #FBF8F1 0%, color-mix(in srgb, #D9D1C3, #FBF8F1 72%) 100%);
}

.glasnik-error {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 210px);
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}

.glasnik-error-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid #D9D1C3;
  border-radius: 30px;
  background: linear-gradient(135deg, #FBF8F1, color-mix(in srgb, #D9D1C3, #FBF8F1 74%));
  box-shadow: 0 28px 70px color-mix(in srgb, #10263A, transparent 90%);
}

.glasnik-error-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 24px;
  background: color-mix(in srgb, #FBF8F1, #ffffff 20%);
}

.glasnik-error-kicker,
.glasnik-error-panel-label {
  display: block;
  margin: 0 0 1rem;
  color: #B08A4A;
  font-family: var(--nav-font);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.glasnik-error-card h2 {
  max-width: 760px;
  margin: 0 0 1.2rem;
  color: #10263A;
  font-family: var(--heading-font);
  font-size: clamp(3rem, 6.2vw, 6rem);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: .96;
}

.glasnik-error-card .glasnik-error-lead {
  max-width: 720px;
  margin: 0 0 2rem;
  color: #5F6B73;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.glasnik-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 0;
}

.glasnik-error-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .85rem 1.35rem;
  border: 1px solid #D9D1C3;
  border-radius: 999px;
  color: #10263A;
  background: color-mix(in srgb, #FBF8F1, #ffffff 35%);
  font-family: var(--nav-font);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.glasnik-error-actions .glasnik-error-primary {
  border-color: #10263A;
  color: #FBF8F1;
  background: #10263A;
}

.glasnik-error-search-note {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  max-width: 680px;
  margin-top: 2rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid #D9D1C3;
  border-radius: 18px;
  color: #5F6B73;
  background: #FBF8F1;
  font-family: var(--nav-font);
  font-size: .98rem;
  line-height: 1.6;
}

.glasnik-error-panel {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid color-mix(in srgb, #D9D1C3, #10263A 10%);
  border-radius: 24px;
  background: color-mix(in srgb, #10263A, #263746 16%);
  color: #FBF8F1;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #FBF8F1, transparent 86%);
}

.glasnik-error-link-grid {
  display: grid;
  gap: .9rem;
}

.glasnik-error-link-grid a {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, #FBF8F1, transparent 82%);
  border-radius: 18px;
  color: #FBF8F1;
  background: color-mix(in srgb, #FBF8F1, transparent 94%);
}

.glasnik-error-link-grid span {
  display: block;
  margin-bottom: .35rem;
  color: #FBF8F1;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.glasnik-error-link-grid small {
  display: block;
  color: color-mix(in srgb, #FBF8F1, transparent 28%);
  font-size: .95rem;
  line-height: 1.5;
}

.glasnik-error-featured {
  margin-top: 1.8rem;
  padding-top: 1.35rem;
  border-top: 1px solid color-mix(in srgb, #FBF8F1, transparent 84%);
}

.glasnik-error-featured a {
  display: block;
  padding: .85rem 0 .9rem;
  border-bottom: 1px solid color-mix(in srgb, #FBF8F1, transparent 88%);
  color: #FBF8F1;
  font-family: var(--heading-font);
  font-size: 1.2rem;
  line-height: 1.25;
}

.glasnik-error-featured a:hover,
.glasnik-error-featured a:focus,
.glasnik-error-link-grid a:hover,
.glasnik-error-link-grid a:focus {
  color: #B08A4A;
}

.glasnik-error-mark {
  position: absolute;
  right: clamp(1.4rem, 4vw, 3.4rem);
  bottom: clamp(1.2rem, 2vw, 2rem);
  color: color-mix(in srgb, #10263A, transparent 94%);
  font-family: var(--heading-font);
  font-size: clamp(7rem, 18vw, 13rem);
  font-weight: 700;
  line-height: .8;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .glasnik-error-card .row {
    gap: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .glasnik-error {
    min-height: auto;
    padding: 1.5rem 0 2rem;
  }

  .glasnik-error-card {
    padding: .85rem;
    border-radius: 22px;
  }

  .glasnik-error-main,
  .glasnik-error-panel {
    padding: 1.35rem;
    border-radius: 18px;
  }

  .glasnik-error-card h2 {
    font-size: clamp(2.5rem, 15vw, 4rem);
  }

  .glasnik-error-actions {
    flex-direction: column;
  }

  .glasnik-error-actions a {
    width: 100%;
  }

  .glasnik-error-mark {
    display: none;
  }
}

/* Sestar category text-only cards */
.sestar-page .glasnik-posts .sestar-card {
  padding: 1.35rem;
  border: 1px solid var(--amk-border-color);
  background: color-mix(in srgb, var(--amk-surface), transparent 8%);
}

.sestar-page .glasnik-posts .post-content {
  padding-top: 0;
}

.sestar-disabled-link {
  pointer-events: none;
  color: var(--amk-muted);
}

.sestar-category-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin: -.35rem 0 2rem;
  padding: 0;
  overflow: hidden;
  color: var(--amk-body);
  font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem);
  line-height: 1.72;
  background: color-mix(in srgb, var(--amk-surface), var(--amk-primary) 3%);
  border: 1px solid var(--amk-border-color);
  border-left: 4px solid var(--amk-accent);
}

.sestar-category-intro p {
  align-self: center;
  margin: 0;
  padding: 1.35rem 1.65rem;
}

.sestar-category-intro em {
  display: inline;
  color: var(--amk-primary);
  font-family: var(--heading-font);
  font-style: italic;
  font-weight: 700;
}

.sestar-category-image {
  align-self: stretch;
  height: auto;
  margin: 0;
  background: var(--amk-surface);
}

.sestar-category-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767.98px) {
  .sestar-category-intro {
    grid-template-columns: 1fr;
  }

  .sestar-category-intro p {
    padding: 1rem 1.05rem;
  }

  .sestar-category-image img {
    min-height: 0;
    height: auto;
  }
}



/* Glasnik index: Sestar feature */
.glasnik-sestar-section{padding-top:1.5rem}.glasnik-sestar-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);overflow:hidden;background:linear-gradient(135deg,#B08A4A,color-mix(in srgb,var(--amk-accent),var(--amk-light) 18%));border:var(--amk-border-strong);box-shadow:var(--amk-shadow-card)}
.glasnik-sestar-content{display:flex;flex-direction:column;justify-content:center;padding:clamp(1.5rem,3vw,2.75rem);color:var(--amk-primary)}.glasnik-sestar-kicker{margin-bottom:.7rem;color:var(--amk-primary);font-size:.78rem;font-weight:800;letter-spacing:.12em;line-height:1;text-transform:uppercase}
.glasnik-sestar-content h2{margin:0 0 1rem;color:var(--amk-primary);font-family:var(--heading-font);font-size:clamp(2.2rem,1.7rem + 2vw,4rem);font-weight:560;letter-spacing:.01em;line-height:.95}.glasnik-sestar-content p{max-width:68ch;margin:0 0 1.35rem;color:var(--amk-primary);font-size:clamp(1rem,.96rem + .18vw,1.12rem);line-height:1.7}.glasnik-sestar-content em{font-style:italic}
.glasnik-sestar-cta{display:inline-flex;align-items:center;align-self:flex-start;gap:.55rem;padding:.85rem 1.15rem;color:var(--amk-light);background:var(--amk-primary);font-size:.82rem;font-weight:800;letter-spacing:.08em;line-height:1;text-decoration:none;text-transform:uppercase}.glasnik-sestar-cta:hover,.glasnik-sestar-cta:focus{color:var(--amk-light);background:var(--amk-secondary)}
.glasnik-sestar-image{min-height:100%;margin:0;background:rgba(16,38,58,.12)}.glasnik-sestar-image img{display:block;width:100%;height:100%;object-fit:cover}@media (max-width:991.98px){.glasnik-sestar-card{grid-template-columns:1fr}.glasnik-sestar-image{order:-1}.glasnik-sestar-image img{height:auto;object-fit:contain}}@media (max-width:767.98px){.glasnik-sestar-section{padding-top:1rem}.glasnik-sestar-content{padding:1.25rem}.glasnik-sestar-content p{line-height:1.6}}

/* Glasnik index: Books feature */
.glasnik-books-section {
  padding-top: 1.5rem;
}

.glasnik-books-feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  background: var(--amk-surface);
  border: var(--amk-border-strong);
  box-shadow: var(--amk-shadow-card);
}

.glasnik-books-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  color: var(--amk-primary);
  background: linear-gradient(135deg, #B08A4A, color-mix(in srgb, var(--amk-accent), var(--amk-light) 18%));
}

.glasnik-books-intro h2 {
  max-width: 12ch;
  margin: 0 0 1rem;
  color: var(--amk-primary);
  font-family: var(--heading-font);
  font-size: clamp(2rem, 1.55rem + 1.75vw, 3.5rem);
  font-weight: 560;
  letter-spacing: .01em;
  line-height: 1;
}

.glasnik-books-intro p {
  margin: 0 0 1.35rem;
  color: var(--amk-primary);
  font-size: clamp(1rem, .96rem + .18vw, 1.12rem);
  line-height: 1.7;
}

.glasnik-books-intro em {
  font-family: var(--heading-font);
  font-size: 1.08em;
  font-style: italic;
  font-weight: 600;
}

.glasnik-books-latest {
  min-width: 0;
  background: color-mix(in srgb, var(--amk-surface), #ffffff 38%);
}

.glasnik-latest-book {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(210px, .85fr);
  align-items: stretch;
  min-height: 100%;
}

.glasnik-latest-book-image {
  display: block;
  min-height: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--amk-border-color);
}

.glasnik-latest-book-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.glasnik-latest-book-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.35rem, 2.5vw, 2.25rem);
}

.glasnik-latest-book-author {
  margin: 0 0 .8rem;
  color: var(--amk-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.glasnik-latest-book-content h3 {
  margin: 0;
  color: var(--amk-primary);
  font-family: var(--heading-font);
  font-size: clamp(1.65rem, 1.35rem + 1vw, 2.5rem);
  font-weight: 600;
  line-height: 1.08;
}

.glasnik-latest-book-content h3 a {
  color: inherit;
  text-decoration: none;
}

.glasnik-latest-book-content h3 a:hover,
.glasnik-latest-book-content h3 a:focus {
  color: var(--amk-secondary);
}

.glasnik-books-empty {
  display: flex;
  align-items: center;
  min-height: 100%;
  margin: 0;
  padding: 2rem;
  color: var(--amk-muted);
}

/* Books category */
.glasnik-books-archive {
  padding-top: 1.5rem;
}

.glasnik-book-card {
  overflow: hidden;
  background: color-mix(in srgb, var(--amk-surface), #ffffff 38%);
  border: 1px solid var(--amk-border-color);
  box-shadow: var(--amk-shadow-card);
}

.glasnik-book-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--amk-border-color);
}

.glasnik-book-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.glasnik-book-card-content {
  padding: 1.35rem;
}

.glasnik-book-card-content h2 {
  margin: 0;
  color: var(--amk-primary);
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 1.2rem + .55vw, 1.8rem);
  font-weight: 600;
  line-height: 1.16;
}

.glasnik-book-card-content h2 a {
  color: inherit;
  text-decoration: none;
}

.glasnik-book-card-content h2 a:hover,
.glasnik-book-card-content h2 a:focus {
  color: var(--amk-secondary);
}

@media (max-width: 991.98px) {
  .glasnik-books-feature {
    grid-template-columns: 1fr;
  }

  .glasnik-latest-book {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
  }

  .glasnik-latest-book-image {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767.98px) {
  .glasnik-books-section {
    padding-top: 1rem;
  }

  .glasnik-books-intro {
    padding: 1.25rem;
  }

  .glasnik-books-intro h2 {
    max-width: none;
  }

  .glasnik-books-intro p {
    line-height: 1.6;
  }

  .glasnik-latest-book {
    grid-template-columns: 1fr;
  }

  .glasnik-latest-book-content {
    padding: 1.25rem;
  }

  .glasnik-books-archive {
    padding-top: 1rem;
  }
}

/* 16:9 source photos inside 4:3 listing frames */
.category-page .glasnik-posts .post-img,
.glasnik-index-trending .post-entry .thumbnail {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--amk-border-color);
}

.category-page .glasnik-posts .post-img img,
.glasnik-index-trending .post-entry .thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 767.98px) {
  .category-page .glasnik-posts .post-img {
    aspect-ratio: 4 / 3;
  }
}


/* Archive pagination */
.navigation.pagination {
  width: 100%;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}

.navigation.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--amk-border-color, #D9D1C3);
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.65rem;
  min-height: 2.65rem;
  padding: .65rem .9rem;
  border: 1px solid var(--amk-border-color, #D9D1C3);
  color: var(--amk-primary, #10263A);
  background: color-mix(in srgb, var(--amk-surface, #FBF8F1), #ffffff 36%);
  font-family: var(--nav-font);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  gap: .45rem;
  min-width: 7.35rem;
}

.navigation.pagination .page-numbers.current {
  border-color: var(--amk-primary, #10263A);
  color: var(--amk-light, #FBF8F1);
  background: var(--amk-primary, #10263A);
}

.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus {
  border-color: var(--amk-accent, #B08A4A);
  color: var(--amk-primary, #10263A);
  background: color-mix(in srgb, var(--amk-accent, #B08A4A), var(--amk-light, #FBF8F1) 72%);
}

.navigation.pagination .dots {
  min-width: auto;
  border-color: transparent;
  background: transparent;
  color: var(--amk-muted, #5F6B73);
}

@media (max-width: 767.98px) {
  .navigation.pagination {
    margin-top: 1.75rem;
  }

  .navigation.pagination .nav-links {
    justify-content: flex-start;
    padding-top: 1rem;
  }

  .navigation.pagination .page-numbers {
    min-width: 2.4rem;
    min-height: 2.4rem;
    padding: .55rem .75rem;
    font-size: .72rem;
  }

  .navigation.pagination .page-numbers.prev,
  .navigation.pagination .page-numbers.next {
    min-width: auto;
  }
}
@media (max-width: 767.98px) {
  .glasnik-footer-row {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .glasnik-footer-legal {
    justify-content: center;
    gap: .65rem .85rem;
  }

  .footer .copyright .glasnik-footer-row p {
    max-width: none;
  }

  .glasnik-cookie-consent {
    align-items: stretch;
    flex-direction: column;
    padding: .9rem;
  }

  .glasnik-cookie-consent-actions {
    justify-content: stretch;
  }

  .glasnik-cookie-consent-primary,
  .glasnik-cookie-consent-secondary {
    flex: 1 1 100%;
  }
}
