.post-card--scheduled {
  border: 2px solid #4dabf7 !important;
  box-shadow: 0 0 0 3px #e7f5ff, 0 2px 8px 0 rgba(33, 150, 243, 0.08);
  position: relative;
}

.post-card__badge--scheduled {
  background: #4dabf7;
  color: #0b375a;
  border: 1.5px solid #228be6;
}
.post-card--draft {
  border: 2px solid #ffe066 !important;
  box-shadow: 0 0 0 3px #fffbe6, 0 2px 8px 0 rgba(232, 168, 84, 0.08);
  position: relative;
}

.post-card__badge {
  display: inline-block;
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: #ffe066;
  color: #7a5a00;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.25em 0.85em;
  border-radius: 999px;
  box-shadow: 0 1px 4px 0 rgba(232, 168, 84, 0.1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.post-card__badge--scheduled {
  background: #4dabf7;
  color: #0b375a;
  border: 1.5px solid #228be6;
  box-shadow: 0 1px 4px 0 rgba(33, 150, 243, 0.15);
}

.post-card__badge--draft {
  border: 1.5px solid #ffd43b;
}

.post-card__badge--time {
  display: none;
}

.post-card__when {
  position: absolute;
  top: 54px;
  left: 18px;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b375a;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  padding: 0.15em 0.6em;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
    sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #3d4a2c;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #3d4a2c;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: #3d4a2c;
  transition: color 0.15s ease;
}
a:hover {
  color: #2a331f;
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

small {
  font-size: 0.875rem;
}

body {
  background-color: #f9faf8;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 1.5rem 0;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: #3d4a2c;
}

.text-secondary {
  color: #5a5f56;
  margin-bottom: 1rem !important;
}

.text-light {
  color: #9ca39a;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 4px 0 rgba(61, 74, 44, 0.08);
  z-index: 200;
  transition: box-shadow 0.3s ease;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: relative;
}
.header__logo {
  display: flex;
  align-items: center;
  z-index: 201;
}
.header__logo-img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}
.header__logo-img:hover {
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .header__logo-img {
    height: 65px;
  }
}
@media (min-width: 1024px) {
  .header__logo-img {
    height: 80px;
  }
}
@media (min-width: 768px) {
  .header__nav {
    display: block;
  }
}
@media (max-width: 767px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(61, 74, 44, 0.1);
    overflow-y: auto;
  }
  .header__nav.is-active {
    transform: translateX(0);
  }
}
.header__nav-list {
  display: flex;
  gap: 2rem;
}
@media (max-width: 767px) {
  .header__nav-list {
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 767px) {
  .header__nav-item {
    border-bottom: 1px solid #e8ebe6;
  }
}
.header__nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #3d4a2c;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.15s ease;
}
@media (max-width: 767px) {
  .header__nav-link {
    padding: 1.5rem 0;
    font-size: 1.25rem;
  }
}
.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3d4a2c;
  transition: width 0.3s ease;
}
.header__nav-link:hover {
  color: #3d4a2c;
}
.header__nav-link:hover::after {
  width: 100%;
}
.header__nav-link.is-active {
  color: #3d4a2c;
}
.header__nav-link.is-active::after {
  width: 100%;
}
.header__hamburger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  z-index: 201;
}
@media (min-width: 768px) {
  .header__hamburger {
    display: none;
  }
}
.header__hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #3d4a2c;
  border-radius: 9999px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.header__hamburger.is-active .header__hamburger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}
.header__hamburger.is-active .header__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__hamburger.is-active .header__hamburger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.header-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(31, 36, 32, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 199;
}
.header-overlay.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 0;
}
@media (min-width: 768px) {
  .header-overlay {
    display: none;
  }
}

.footer {
  background-color: #3d4a2c;
  color: #ffffff;
  padding: 4rem 0 1.5rem;
}
.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer__content {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr 2fr;
  }
}
@media (min-width: 1024px) {
  .footer__content {
    gap: 4rem;
  }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__logo {
  display: inline-block;
  transition: transform 0.3s ease;
}
.footer__logo:hover {
  transform: scale(1.05);
}
.footer__logo-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}
@media (min-width: 768px) {
  .footer__logo-img {
    height: 75px;
  }
}
@media (min-width: 1024px) {
  .footer__logo-img {
    height: 80px;
  }
}
.footer__description {
  color: #c8d7be;
  font-size: 0.875rem;
  line-height: 1.8;
  max-width: 300px;
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer__links {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}
.footer__column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__link {
  display: inline-block;
  color: #c8d7be;
  font-size: 0.875rem;
  transition: color 0.15s ease, transform 0.15s ease;
}
.footer__link:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.footer__text {
  color: #c8d7be;
  font-size: 0.875rem;
}
.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.footer__social-link svg {
  width: 20px;
  height: 20px;
}
.footer__social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.footer__copyright {
  color: #c8d7be;
  font-size: 0.875rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn__icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
.btn:hover .btn__icon {
  transform: translateX(4px);
}
.btn--primary {
  background-color: #3d4a2c;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(61, 74, 44, 0.1);
}
.btn--primary:hover {
  background-color: #2a331f;
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(61, 74, 44, 0.1);
  transform: translateY(-2px);
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--secondary {
  background-color: transparent;
  color: #3d4a2c;
  border-color: #3d4a2c;
}
.btn--secondary:hover {
  background-color: #3d4a2c;
  color: #ffffff;
  transform: translateY(-2px);
}
.btn--secondary:active {
  transform: translateY(0);
}
@media (min-width: 768px) {
}

.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .hero {
    min-height: calc(100vh - 100px);
  }
}
.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero__shape {
  position: absolute;
  border-radius: 9999px;
  animation: float 20s ease-in-out infinite;
}
.hero__shape--1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #c8d7be 0%, #b8d4aa 100%);
  opacity: 0.15;
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}
@media (min-width: 768px) {
  .hero__shape--1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
  }
}
.hero__shape--2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #7a9b6e 0%, #9db88d 100%);
  opacity: 0.1;
  bottom: 100px;
  left: -100px;
  animation-delay: 5s;
}
@media (min-width: 768px) {
  .hero__shape--2 {
    width: 400px;
    height: 400px;
    bottom: 50px;
    left: -150px;
  }
}
.hero__shape--3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #3d4a2c 0%, #b8d4aa 100%);
  opacity: 0.12;
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}
@media (min-width: 768px) {
  .hero__shape--3 {
    width: 300px;
    height: 300px;
  }
}
.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}
.hero__content {
  animation: fadeInUp 1s ease-out;
}
.hero__label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d4a2c;
  background-color: rgba(157, 184, 141, 0.15);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #3d4a2c;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.3rem;
  }
}
.hero__highlight {
  color: #3d4a2c;
  position: relative;
  display: inline-block;
}
.hero__highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(157, 184, 141, 0.3);
  z-index: -1;
  border-radius: 4px;
}
.hero__description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #5a5f56;
  margin-bottom: 3rem;
  max-width: 600px;
}
@media (min-width: 768px) {
  .hero__description {
    font-size: 1.25rem;
  }
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__feature-icon {
  width: 20px;
  height: 20px;
  color: #3d4a2c;
  flex-shrink: 0;
}
.hero__feature-text {
  font-size: 0.875rem;
  color: #5a5f56;
  font-weight: 500;
}
.hero__image {
  display: none;
}
@media (min-width: 1024px) {
  .hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
  }
}
.hero__image-wrapper {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo-symbol {
  width: 100%;
  height: auto;
  max-width: 450px;
  object-fit: contain;
  animation: breathe 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(61, 74, 44, 0.2));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(5deg);
  }
  66% {
    transform: translateY(-15px) rotate(-5deg);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
.blog {
  padding: 1.5rem 0;
  background-color: #f9faf8;
}
.blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.blog__eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a9b6e;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.blog__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.blog__header .btn {
  width: 100%;
}
@media (min-width: 768px) {
  .blog__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .blog__header .btn {
    width: auto;
  }
}
.blog__filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px 0 rgba(61, 74, 44, 0.08);
}
@media (min-width: 768px) {
  .blog__filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.blog__filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #5a5f56;
}
.blog__filter-field input,
.blog__filter-field select {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #e8ebe6;
  background-color: #f9faf8;
  font-size: 1rem;
  color: #3d4a2c;
  transition: border-color 0.3s ease;
}
.blog__filter-field input:focus,
.blog__filter-field select:focus {
  outline: none;
  border-color: #3d4a2c;
  box-shadow: 0 0 0 3px rgba(61, 74, 44, 0.1);
}
.blog__status {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 2px 4px 0 rgba(61, 74, 44, 0.08);
  margin-bottom: 1rem;
}
.blog__status--success {
  background-color: rgba(107, 179, 107, 0.15);
  color: #6bb36b;
}
.blog__status--warning {
  background-color: rgba(232, 168, 84, 0.15);
  color: #e8a854;
}
.blog__empty {
  padding: 3rem;
  text-align: center;
  background-color: rgba(200, 215, 190, 0.3);
  border-radius: 12px;
  color: #5a5f56;
}

.post-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.post-list--featured {
  grid-template-columns: 1fr;
}
.post-list--featured.columns-1 {
  grid-template-columns: 1fr;
  justify-items: center;
}
/* Single featured card: center and limit width to avoid spanning full row */
.post-list--featured.columns-1 .post-card {
  width: 70%;
  max-width: 900px;
}
@media (min-width: 768px) {
  .post-list--featured.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .post-list--featured.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .post-list--featured.columns-1 .post-card {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.post-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 4px 0 rgba(61, 74, 44, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card--highlight {
  border: 2px solid rgba(61, 74, 44, 0.4);
  box-shadow: 0 10px 15px -3px rgba(61, 74, 44, 0.1);
}
.post-card__image {
  width: 100%;
  height: 200px;
  object-fit: contain;
}
.post-card__title {
  font-size: 1.5rem;
  padding: 1.5rem 1.5rem 0;
}
.post-card__excerpt {
  padding: 0 1.5rem;
  color: #5a5f56;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: #9ca39a;
}
.post-card__read {
  margin-top: auto;
  padding: 1rem 1.5rem;
  font-weight: 500;
  color: #3d4a2c;
  border-top: 1px solid #e8ebe6;
  transition: color 0.3s ease;
  position: relative;
  transition: color 0.18s cubic-bezier(0.4, 1.4, 0.6, 1);
  z-index: 1;
  overflow: hidden;
}
.post-card__read::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 2px;
  background: #3d4a2c;
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.18s, transform 0.18s cubic-bezier(0.4, 1.4, 0.6, 1);
  z-index: 2;
  pointer-events: none;
}
.post-card__read:hover,
.post-card__read:focus-visible {
  color: #234d1e;
}
.post-card__read:hover::after,
.post-card__read:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.blog-create {
  padding: 1.5rem 0;
  background-color: #f9faf8;
}
.blog-create__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 900px;
}
.blog-create__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .blog-create__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.form__group label {
  font-weight: 500;
}
.form__group input,
.form__group textarea,
.form__group select {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #e8ebe6;
  font-size: 1rem;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
    sans-serif;
  transition: border-color 0.3s ease;
}
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  outline: none;
  border-color: #3d4a2c;
  box-shadow: 0 0 0 3px rgba(61, 74, 44, 0.1);
}
.form__group textarea {
  min-height: 180px;
  resize: vertical;
}
.form__group--full {
  grid-column: 1/-1;
}

.form__hint {
  font-size: 0.875rem;
  color: #9ca39a;
}

.form__checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
.form__checkbox input {
  width: 18px;
  height: 18px;
}

.form__image-preview {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px dashed #e8ebe6;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  flex-direction: column;
  align-items: stretch;
}
.form__actions .btn {
  width: 100%;
}
@media (min-width: 768px) {
  .form__actions {
    flex-direction: row;
    align-items: center;
  }
  .form__actions .btn {
    width: auto;
  }
}

.form-status {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
}
.form-status--info {
  background-color: rgba(107, 155, 217, 0.1);
  color: #6b9bd9;
}
.form-status--success {
  background-color: rgba(107, 179, 107, 0.1);
  color: #6bb36b;
}
.form-status--error {
  background-color: rgba(217, 108, 108, 0.1);
  color: #d96c6c;
}

.post-page {
  padding-bottom: 1.5rem;
  background-color: #f9faf8;
}
.post-page__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.post-page__container--wide {
  width: 100vw;
  max-width: 100vw;
  padding: 0;
  margin: 0;
  background: #f9faf8;
  display: flex;
  justify-content: center;
}

.post-detail {
  width: 100%;
  max-width: 1200px; /* ili šire po želji */
  margin: 0 auto;
  background: #f9faf8;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 2rem;
}

/* Po želji, dodatno prilagodite slike da budu šire */
.post-detail__hero-wrap,
.post-detail__hero {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  background: transparent;
  box-shadow: none;
  border: none;
}

/* Uklonite padding sa sekcija unutar članka */
.post-detail__content,
.post-detail__actions {
  padding-left: 0;
  padding-right: 0;
}
/* 
.post-detail__content {
  padding: 0 10rem 0 10rem;
} */

/* @media (max-width: 800px) {
  .post-detail__content,
  .post-summary {
    padding: 0 !important;
  }
} */

.post-detail__hero--rounded {
  border-radius: 1rem;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 100%;
  height: 480px; /* visina kao na primjeru */
  object-fit: contain; /* prikaži cijelu sliku, bez odrezivanja */
  object-position: center;
  display: block;
  background: #fff; /* bijela pozadina za praznine */
}

/* Responsive: manja visina na mobitelima */
@media (max-width: 700px) {
  .post-detail__hero--rounded {
    height: 220px;
  }
}

.post-meta-bar {
  display: flex;
  gap: 3rem;
  justify-content: flex-start;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  flex-wrap: wrap;
}

.post-meta-bar__item {
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1rem;
}

.post-meta-bar__label {
  color: #888;
  font-weight: 400;
  margin-right: 0.25em;
  letter-spacing: 0.08em;
}

.post-meta-bar__value {
  color: #222;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: capitalize;
}
.post-meta-bar__link {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.12s ease-out, text-decoration-color 0.12s ease-out;
}
.post-meta-bar__link:hover,
.post-meta-bar__link:focus-visible {
  transform: scale(1.025);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-decoration-color: #3d4a2c;
}

.post-meta-bar__divider {
  border: none;
  border-bottom: 1px solid #e5e5e5;
  margin: 0 0 2.5rem 0;
  width: 100%;
}

.post-meta-bar--columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  background: #f9faf8;
}

.post-meta-bar__col {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 0.5rem 0;
  font-size: 1rem;
}

.post-meta-bar__col--center {
  justify-content: center;
  text-align: center;
}

.post-meta-bar__col--right {
  justify-content: flex-end;
  text-align: right;
}

.post-meta-bar__label {
  color: #888;
  font-weight: 400;
  margin-right: 0.25em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.875rem;
  display: inline;
}

.post-meta-bar__value {
  color: #222;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  display: inline;
  text-transform: capitalize;
}

/* Responsive: stack on small screens */
@media (max-width: 700px) {
  .post-meta-bar--columns {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .post-meta-bar__col,
  .post-meta-bar__col--center,
  .post-meta-bar__col--right {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

.post-summary {
  font-size: 1.15rem;
  color: #5a5f56;
  margin-bottom: 2rem;
  /* padding: 0 10rem 0 10rem; */
}

.about-section {
  padding: 3rem 0;
}
.about-section .about-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
@media (max-width: 900px) {
  .about-section .about-grid {
    flex-direction: column;
    gap: 2rem;
  }
}
.about-section .about-content {
  flex: 1 1 0;
  max-width: 540px;
}
.about-section .about-image {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
}
.about-section .about-image img {
  /* width: 100%; */
  border-radius: 1rem;
  box-shadow: 0 6px 32px 0 rgba(60, 60, 60, 0.13);
  transition: transform 0.35s cubic-bezier(0.4, 0.2, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.about-section .about-image img:hover {
  transform: scale(1.045) rotate(-1.5deg);
  box-shadow: 0 16px 48px 0 rgba(60, 60, 60, 0.22),
    0 2px 8px 0 rgba(60, 60, 60, 0.1);
  filter: brightness(1.04) saturate(1.08);
}

.intro-text {
  margin-bottom: 1rem !important;
}

/* === USLUGE SEKCIJA === */
.services-section {
  position: relative;
  background-image: url("../images/nutritionism-wallpaper-02.avif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  overflow: hidden;
}
.services-section .overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 66%);
  z-index: 1;
}
.services-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  font-size: 48px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 64px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 48px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.service-card h3 {
  font-size: 26px;
  /* color: #1a1a1a; */
  font-weight: 700;
  margin-bottom: 16px;
}
.service-card p {
  font-size: 16px;
  color: #666666;
  line-height: 1.7;
}
.services-cta {
  margin-top: 64px;
  text-align: center;
}
.btn-primary {
  display: inline-block;
  background: #fff;
  color: #465f18;
  font-size: 18px;
  font-weight: 600;
  padding: 18px 48px;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary:hover,
.btn-primary:focus {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1199px) {
  .services-section {
    padding: 100px 0;
  }
  .section-title {
    font-size: 42px;
  }
  .section-subtitle {
    font-size: 20px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .services-section {
    background-attachment: scroll;
    padding: 80px 0;
  }
  .section-title {
    font-size: 36px;
  }
  .section-subtitle {
    font-size: 18px;
    margin-bottom: 48px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-card {
    padding: 40px 24px;
  }
  .service-card:last-child {
    max-width: 100%;
    margin: 0;
  }
}

/* === PRELOADER STYLES === */
.preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  pointer-events: all;
}

.preloader.hide {
  opacity: 0;
  pointer-events: none;
}

html.preloader-skip #preloader {
  display: none !important;
}

.preloader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader__text {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 2.8rem;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  text-align: center;
  white-space: normal !important;
  line-height: 1.1;
  color: rgb(61, 74, 44);
}

.preloader__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: preloaderWordUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 0.35s);
  color: rgb(61, 74, 44);
}

@keyframes preloaderWordUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preloader__logo {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  /* Center logo */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #3d4a2c;
}

.preloader__logo img {
  width: 230px;
  height: auto;
  display: block;
}

.preloader__logo svg {
  width: 230px;
  height: auto;
  display: block;
}

.preloader__logo-path {
  stroke: var(--stroke-color, currentColor);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--path-length, 1200);
  stroke-dashoffset: var(--path-length, 1200);
  fill: transparent;
  animation: logoDraw 3s ease forwards, logoFill 0.6s ease forwards;
  animation-delay: var(--path-delay, 0s), calc(var(--path-delay, 0s) + 3s);
}

.preloader__logo.logo-visible .preloader__logo-path {
  opacity: 1;
}

@keyframes logoDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes logoFill {
  to {
    fill: var(--path-fill, currentColor);
    stroke-opacity: 0.25;
  }
}

.preloader.logo-visible .preloader__logo {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive preloader sizing */
@media (max-width: 768px) {
  .preloader__text {
    font-size: 2.6rem;
    text-align: center;
  }
  .preloader__logo img,
  .preloader__logo svg {
    width: 180px;
  }
}

@media (max-width: 480px) {
  .preloader__text {
    font-size: 2.1rem;
    line-height: 1.1;
  }
  .preloader__logo img,
  .preloader__logo svg {
    width: 150px;
  }
}

/* ============================================
   SCROLL ANIMATIONS - Slide Up from Bottom
   ============================================ */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide s lijeva na desno */
.scroll-animate-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide s desna na lijevo */
.scroll-animate-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive - brža animacija na mobilnom */
@media (max-width: 767px) {
  .scroll-animate {
    transform: translateY(30px);
    transition-duration: 0.6s;
  }
  .scroll-animate-left,
  .scroll-animate-right {
    transform: translateX(30px);
    transition-duration: 0.6s;
  }
}

/* Pristupačnost - isključi animacije za korisnike koji to preferiraju */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-animate-left,
  .scroll-animate-right {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

.post-title-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.post-title-wrap h1,
.post-title-wrap .post-featured {
  margin-bottom: 0;
}

.post-title-wrap h1 {
  margin-right: 0;
}

.post-featured {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d4a2c;
  background-color: rgba(157, 184, 141, 0.15);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  margin-left: auto;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.post-readtime {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #3d4a2c;
  font-size: 0.95rem;
  margin-left: auto;
}

.post-featured + .post-readtime {
  margin-left: 0.5rem;
}

.post-readtime__icon {
  width: 18px;
  height: 18px;
  stroke: #3d4a2c;
}

.post-readtime__text {
  white-space: nowrap;
}

/* === CHAPTER STYLES === */
.post-chapter {
  margin-bottom: 3rem;
}

.post-chapter__title {
  font-size: 2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #3d4a2c;
  /* Za image chapter naslov iznad flexa */
  margin-top: 3rem;
}

.post-chapter__paragraph,
.post-chapter__alt,
.post-chapter__video-text,
.post-chapter__caption {
  font-size: 1.2rem;
  color: #444;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
    sans-serif;
  line-height: 1.7;
  margin-bottom: 0;
  margin-top: 0.7rem;
  text-align: left;
  font-style: normal;
}

.post-chapter__video-text {
  /* override only if needed, otherwise same as .post-chapter__paragraph */
  font-style: normal;
  color: #444;
  text-align: left;
}

.post-chapter--image-flex {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  /* Ukloni margin-top za flex, naslov je iznad */
  margin-top: 0;
}

.post-chapter--image-flex.post-chapter--image-middle {
  flex-direction: column;
  align-items: stretch;
}

.post-chapter__left {
  flex: 1 1 0;
  min-width: 0;
}

.post-chapter__right {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  max-width: 420px;
}
.post-chapter--image-middle .post-chapter__right {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 21 / 9;
}
.post-chapter--image-middle .post-chapter__left {
  width: 100%;
}

.post-chapter__right .post-chapter__caption {
  font-style: italic;
}

.post-chapter__image {
  width: 100%;
  max-width: 380px;
  border-radius: 1rem;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
  margin-bottom: 0.5rem;
  object-fit: contain;
  background: #fff;
}
.post-chapter--image-middle .post-chapter__image {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 1rem;
}

.post-chapter__caption {
  margin-top: 0.5rem;
}

.post-chapter--video {
  margin-bottom: 3rem;
}

.post-chapter--video iframe {
  width: 100%;

  border-radius: 1rem;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
}
.post-chapter__alt {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  text-align: left;
}

.post-chapter__video-text {
  font-size: 1.2rem;
  color: #444;
  margin-top: 0.7rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Responsive za chapter s flexom */
@media (max-width: 900px) {
  .post-chapter--image-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .post-chapter__right {
    align-items: center;
    max-width: 100%;
    width: 100%;
  }
  .post-chapter__image {
    max-width: 100%;
  }
  .post-chapter__caption {
    text-align: center;
  }
}

.post-detail__hero-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  min-height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-detail__hero-wrap.skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(240, 242, 236, 0.9) 8%,
    rgba(228, 233, 223, 0.8) 18%,
    rgba(240, 242, 236, 0.9) 33%
  );
  background-size: 200% 100%;
  animation: shimmer 1.25s ease-in-out infinite;
}
.post-detail__hero-wrap.is-hidden {
  display: none;
}
.post-detail__hero {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 8px;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.post-detail__hero.is-loaded {
  opacity: 1;
}
@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}

/* Sakrij administratorske elemente po defaultu */
.admin-only {
  display: none !important;
}
/* Prilagođene boje za admin akcije */
.btn--edit {
  background: #ffe066;
  color: #3d4a2c;
  border: 2px solid #ffe066;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.btn--edit:hover,
.btn--edit:focus {
  background: #fff3bf;
  color: #3d4a2c;
  border-color: #ffd43b;
}
.btn--delete {
  background: #ff6b6b;
  color: #fff;
  border: 2px solid #ff6b6b;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.btn--delete:hover,
.btn--delete:focus {
  background: #fa5252;
  color: #fff;
  border-color: #fa5252;
}
html {
  scroll-behavior: smooth;
}
/* Dodaj scroll-margin za chapter naslove */
h3.post-chapter__title {
  scroll-margin-top: 110px; /* prilagodi po visini headera */
}

/* TOC dizajn prema slici */
.toc {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.5rem 1rem;
  min-width: 260px;
  max-width: 320px;
  height: fit-content;
  z-index: 10;
  position: sticky;
  top: 135px;
  align-self: flex-start;
}
.toc__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  margin-top: 0;
  color: #222;
  letter-spacing: 0.01em;
}
.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc__item {
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
  color: #222;
  background: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-weight: 400;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.toc__item:last-child {
  border-bottom: none;
}
.toc__item:hover,
.toc__item:focus {
  background: #f3f4f6;
  color: #3d4a2c;
  text-decoration: none;
}
.toc__item--active {
  background: #f3f4f6;
  color: #3d4a2c;
  font-weight: 600;
  border-left: 3px solid #3d4a2c;
  padding-left: calc(0.5rem - 3px);
}

/* Dodaj veći shadow na naslovnu sliku */
#post-hero.post-detail__hero {
  box-shadow: 0 8px 32px rgba(60, 60, 60, 0.18), 0 1.5px 8px rgba(0, 0, 0, 0.1);
  /* Možeš prilagoditi vrijednosti po želji */
}

@media (max-width: 900px) {
  .toc {
    display: none !important;
  }
  .post-page__container--wide {
    flex-direction: column !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    overflow-x: hidden !important;
  }
  #post-article {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 10px !important;
  }
  /* Dodaj padding na mobilnim uređajima za sadržaj */
  .post-detail,
  .post-detail__content,
  .post-meta-bar,
  .post-summary,
  .featured-posts,
  .post-detail__actions {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  /* Hero wrap i slika */
  .post-detail__hero-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .post-detail__hero {
    width: 100% !important;
    height: 320px !important;
    max-width: 100vw !important;
    display: block;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(60, 60, 60, 0.18),
      0 1.5px 8px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    background: #f8fafc;
  }

  @media (max-width: 600px) {
    .post-detail__hero {
      height: 200px !important;
      width: 100%;
      object-position: center;
      object-fit: contain;
    }
  }
  /* Popravi margine na dnu */
  .featured-posts.section {
    margin-bottom: 1.5rem !important;
  }
  /* Spriječi horizontalni scroll na body i html */
  html,
  body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

.contact-section {
  position: relative;
  min-height: 100vh;
  background: #f8faf7;
  overflow: hidden;
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-center-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.contact-container {
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(60, 80, 40, 0.08);
  padding: 48px 40px;
  max-width: 540px;
  width: 100%;
  z-index: 2;
  margin: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #3a4d2c;
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: -1px;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-size: 1rem;
  color: #3a4d2c;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1.5px solid #dbe7d1;
  border-radius: 8px;
  font-size: 1rem;
  background: #f6fbf3;
  color: #2d3b22;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7bb86f;
  outline: none;
  background: #fff;
}

/* .btn.btn--primary {
  width: 100%;
  margin-top: 8px;
  font-size: 1.1rem;
  padding: 14px 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #7bb86f 0%, #4e7d3a 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 16px rgba(60, 80, 40, 0.1);
  transition: background 0.2s, transform 0.2s;
}

.btn.btn--primary:hover {
  background: linear-gradient(90deg, #4e7d3a 0%, #7bb86f 100%);
  transform: translateY(-2px) scale(1.03);
} */

/* Dekorativni krugovi */
.circle-bg {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.18;
  pointer-events: none;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.circle-bg--1 {
  width: 340px;
  height: 340px;
  background: #7bb86f;
  top: -80px;
  left: -120px;
  z-index: 1;
}

.circle-bg--2 {
  width: 220px;
  height: 220px;
  background: #b7e4c7;
  bottom: 40px;
  right: -80px;
  z-index: 1;
}

.circle-bg--3 {
  width: 120px;
  height: 120px;
  background: #dbe7d1;
  top: 60%;
  left: 60%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Novi krug dolje lijevo */
.circle-bg--6 {
  width: 70px;
  height: 70px;
  background: #b7e4c7;
  bottom: 6%;
  left: 2%;
  z-index: 1;
  opacity: 0.14;
}

/* Responsivnost za novi krug */
@media (max-width: 600px) {
  .circle-bg--6 {
    width: 28px;
    height: 28px;
    bottom: 3%;
    left: 1%;
  }
}

/* Animacije */
@keyframes leftRight {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(40px);
  }
}
@keyframes upDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-40px);
  }
}
@keyframes zoomInOut {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

.animate-left-right {
  animation-name: leftRight;
}
.animate-up-down {
  animation-name: upDown;
}
.animate-zoom {
  animation-name: zoomInOut;
}

/* Responsivnost za krugove */
@media (max-width: 600px) {
  .circle-bg--1 {
    width: 120px;
    height: 120px;
    top: -30px;
    left: -40px;
  }
  .circle-bg--2 {
    width: 70px;
    height: 70px;
    bottom: 10px;
    right: -20px;
  }
  .circle-bg--3 {
    width: 40px;
    height: 40px;
    top: 70%;
    left: 80%;
  }
  .circle-bg--4 {
    width: 60px;
    height: 60px;
    top: 8%;
    right: 6%;
  }
  .circle-bg--5 {
    width: 36px;
    height: 36px;
    bottom: 10%;
    left: 8%;
  }
}

/* Accordion styles */
.post-references__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.5rem 0;
  width: 100%;
  color: #3d4a2c;

  transition: color 0.2s;
}
.post-references__toggle:hover {
  color: var(--color-accent, #7a9b6e);
}
.post-references__arrow {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-references__toggle[aria-expanded="true"] .post-references__arrow {
  transform: rotate(180deg);
}
.post-references__collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f8faf7;
  border-radius: 8px;
  border: 1px solid #e0e4df;
  margin-top: 1rem;
  padding: 0 1.5rem;
}

.post-references__list {
  padding: 1.2rem 0 1.2rem 1.5rem;
  margin: 0;
  list-style-type: disc;
  color: #3d4632;
  font-size: 1.04rem;
  line-height: 1.7;
}

#post-references-list a {
  transition: color 0.2s;
  text-decoration: none;
}
#post-references-list a:hover,
#post-references-list a:focus {
  color: #7a9b6e;
  text-decoration: underline;
}

/* === BIOGRAFIJA FILIP JUGOVIĆ === */
.bio-section {
  padding: 64px 0 32px 0;
  display: block;
  min-height: unset;
}
.bio-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.bio-image-col {
  flex: 0 0 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0;
}
.bio-image {
  width: 290px;
  height: 370px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(60, 80, 40, 0.13),
    0 2px 8px rgba(60, 80, 40, 0.08);
  background: #fff;
  transition: transform 0.28s cubic-bezier(0.4, 0.8, 0.6, 1),
    box-shadow 0.28s cubic-bezier(0.4, 0.8, 0.6, 1),
    border-color 0.22s cubic-bezier(0.4, 0.8, 0.6, 1),
    filter 0.22s cubic-bezier(0.4, 0.8, 0.6, 1);
}
/* Moderan hover efekt */
.bio-image:hover,
.bio-image:focus {
  transform: scale(1.045) rotate(-1.5deg);
  box-shadow: 0 16px 48px 0 rgba(61, 74, 44, 0.22),
    0 2px 8px 0 rgba(61, 74, 44, 0.12);

  filter: brightness(1.04) saturate(1.08);
  outline: none;
}
.bio-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
  margin-bottom: 0;
  gap: 0.3rem;
}
.bio-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2a4326;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bio-ig-link {
  display: inline-flex;
  align-items: center;
  margin-left: 0.3rem;
  opacity: 0.85;
  transition: opacity 0.18s;
}
.bio-ig-link:hover {
  opacity: 1;
}
.bio-main-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  max-width: 700px;
  gap: 0.5rem;
}
.bio-role {
  font-size: 1rem;
  color: #7a9b6e;
  font-weight: 500;
  margin-bottom: 1.1rem;
  margin-top: 0.1rem;
  letter-spacing: 0.01em;
  display: block;
}
.bio-title {
  display: none;
}
.bio-content-col {
  display: none;
}
.bio-text-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}
.bio-text {
  font-size: 1.08rem;
  color: #3d4a2c;
  line-height: 1.8;
  border-radius: 0;
  padding: 0 0 0 0;
  box-shadow: none;
  margin-top: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: none;
}
.bio-text-first {
  margin-top: 0;
}
.bio-text-rest {
  margin-top: 2.2rem;
}
@media (max-width: 900px) {
  .bio-container,
  .bio-text-container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .bio-container {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
  .bio-image-col {
    align-items: center;
    margin-bottom: 0;
  }
  .bio-main-col {
    max-width: 100%;
    width: 100%;
    margin-top: 18px;
    align-items: flex-start;
  }
  .bio-meta {
    margin-top: 14px;
  }
  .bio-text-rest {
    margin-top: 1.5rem;
  }
}
@media (max-width: 600px) {
  .bio-section {
    padding: 24px 0 16px 0;
  }
  .bio-image {
    width: 220px;
    height: 270px;
  }
  .bio-name {
    font-size: 1.05rem;
  }
  .bio-role {
    font-size: 0.92rem;
  }
  .bio-text {
    font-size: 0.98rem;
  }
  .bio-container {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
  .bio-main-col {
    margin-top: 14px;
    width: 100%;
    max-width: 100%;
  }
}

/* === FILIP MODAL === */
.filip-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 7, 0.499);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s cubic-bezier(0.4, 0.8, 0.6, 1);
  opacity: 0;
  pointer-events: none;
}
.filip-modal-overlay[aria-hidden="false"] {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: filip-modal-fadein 0.22s cubic-bezier(0.4, 0.8, 0.6, 1);
}
@keyframes filip-modal-fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes filip-modal-fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.filip-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(61, 74, 44, 0.13),
    0 2px 8px rgba(61, 74, 44, 0.08);
  max-width: 680px;
  width: 96vw;
  padding: 0 0 2.2rem 0;
  position: relative;
  color: #3d4a2c;
  border: none;
  display: flex;
  flex-direction: column;
  animation: filip-modal-in 0.22s cubic-bezier(0.4, 0.8, 0.6, 1);
  transform: scale(0.98);
  opacity: 0;
  transition: opacity 0.22s, transform 0.22s;
}
.filip-modal-overlay[aria-hidden="false"] .filip-modal {
  opacity: 1;
  transform: scale(1);
}
.filip-modal.hide {
  animation: filip-modal-out 0.18s cubic-bezier(0.4, 0.8, 0.6, 1);
  opacity: 0;
  transform: scale(0.98);
}
@keyframes filip-modal-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes filip-modal-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.98);
  }
}
/* Header */
.filip-modal-header {
  background: #3d4a2c;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 1.2rem 2.2rem 1.2rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid #fff;
}
.filip-modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
}
.filip-modal-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  font-weight: 700;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}
.filip-modal-close:hover,
.filip-modal-close:focus {
  background: #3d4a2c;
  color: #e6ede0;
  transform: scale(1.08);
  outline: none;
}
/* Modal content */
.filip-modal-content {
  font-size: 1.08rem;
  color: #3d4a2c;
  line-height: 1.8;
  margin-top: 1.2rem;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
    sans-serif;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0 2.2rem;
}
@media (max-width: 700px) {
  .filip-modal {
    max-width: 98vw;
    padding: 0 0 1.2rem 0;
  }
  .filip-modal-header {
    padding: 0.8rem 1rem 0.8rem 1rem;
  }
  .filip-modal-title {
    font-size: 1.08rem;
  }
  .filip-modal-content {
    font-size: 0.98rem;
    max-height: 70vh;
    padding: 0 1rem;
  }
  .filip-modal-close {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    margin-left: 0.5rem;
  }
}

/* NOVI STIL ZA TEKSTUALNE BLOKOVE MISIJA I VIZIJA */
.mission-vision-row {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2.5rem auto;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  display: block;
}

.mission-vision-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #3d4a2c;
  margin-bottom: 1.1rem;
  letter-spacing: -1px;
  text-align: left;
}

.mission-vision-text {
  font-size: 1.15rem;
  color: #5a5f56;
  line-height: 1.8;
  margin: 0 0 1.5rem 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
    sans-serif;
  text-align: left;
}

/* Ukloni stare stilove za inline layout i ikone */
.mission-vision-inline,
.mission-vision-inline > .mission-vision-icon,
.mission-vision-icon--large,
.mission-vision-bg-circle {
  display: none !important;
}

/* Responsive: smanji font na manjim ekranima */
@media (max-width: 900px) {
  .mission-vision-title {
    font-size: 1.3rem;
  }
  .mission-vision-text {
    font-size: 1rem;
  }
  .mission-vision-row {
    margin-bottom: 1.2rem;
  }
}

/* Toast styles */
#toast-container {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  position: relative;
  min-width: 320px;
  max-width: 440px;
  padding: 16px 56px 20px 20px;
  border-radius: 16px;
  color: #f7f8f4;
  background: rgba(79, 107, 58, 0.85);
  transform: translateX(140%) scale(0.96);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.28s ease;
  box-shadow: 0 18px 35px rgba(79, 107, 58, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.toast--visible {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.toast--hide {
  transform: translateX(140%) scale(0.96);
  opacity: 0;
}

.toast__message {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.toast__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.toast__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(235, 242, 229, 0.95);
  border-radius: 0 0 16px 16px;
  transform-origin: right center;
  animation-name: toast-progress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes toast-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* Odricanje od odgovornosti sekcija */
.disclaimer-section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.disclaimer-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.disclaimer-main-box {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 1.5rem 0rem 1.5rem 0rem;
}

.disclaimer-main-text {
  margin: 0;
  color: #222;
  font-size: 1.1rem;
  line-height: 1.7;
}
