/* ============================================================
   Obiteljski klub — Design System
   ============================================================ */

:root {
  /* Brand */
  --navy: #273f55;
  --navy-700: #1f3346;
  --navy-500: #3a5870;
  --navy-300: #6b8198;

  /* Warm neutrals */
  --paper: #f7f4ee;
  --paper-deep: #efe9dd;
  --cream: #faf7f1;
  --sand: #e8d9c4;
  --sand-soft: #f0e6d4;

  /* Text & lines */
  --ink: #1c2a37;
  --ink-soft: #3d4b59;
  --muted: #6b7785;
  --line: #d9d2c5;
  --line-soft: #e8e2d4;

  /* Accent (subtle, warm) */
  --accent: #b07a3a;
  --accent-soft: #c89866;

  /* Shadow */
  --shadow-sm:
    0 1px 2px rgba(28, 42, 55, 0.04), 0 2px 6px rgba(28, 42, 55, 0.04);
  --shadow-md:
    0 2px 4px rgba(28, 42, 55, 0.04), 0 8px 24px rgba(28, 42, 55, 0.08);
  --shadow-lg:
    0 4px 8px rgba(28, 42, 55, 0.05), 0 24px 56px rgba(28, 42, 55, 0.12);

  /* Type */
  --font-serif: "Spectral", "Source Serif Pro", Georgia, serif;
  --font-sans:
    "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, Segoe UI,
    sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

/* --------------------------
--- GENERAL CSS ---
----------------------------- */

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* fix for aos animation */
}

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

a:focus,
a:hover {
  color: var(--navy);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 20px;
}

p,
table {
  margin-bottom: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin-bottom: 20px;
}

table {
  width: 100%;
}
table tbody td {
  padding: 10px;
  background: #ececec;
}
table tr:nth-child(odd) td {
  background: #f7f7f7;
}

/* Ordered list default: 1., 2., 3., etc. */
.main-content .item-page ol {
  padding-left: 32px;
  margin-bottom: 20px;
}

/* Ordered list: bottom-spacing */
.main-content .item-page ol.bottom-spacing li {
  margin-bottom: 20px;
}

/* Bullets: default */
/* .main-content .item-page ul {
  list-style: none;
  margin: 0 0 20px 15px;
  padding: 0;
}
.main-content .item-page ul li {
  position: relative;
  padding-left: 20px;
}
.main-content .item-page ul li:before {
  content: "-";
  position: absolute;
  left: 0;
} */

/* Bullets: bottom-spacing */
.main-content .item-page ul.bottom-spacing li {
  margin-bottom: 20px;
}

/* Bullets: red-squares */
.main-content .item-page ul.red-squares {
  padding-left: 15px;
  margin-bottom: 20px;
}
.main-content .item-page ul.red-squares li {
  line-height: 20px;
  margin-bottom: 2px;
}
.main-content .item-page ul.red-squares li:before {
  content: "";
  width: 10px;
  height: 20px;
  background: #ff505d;
}

/* --------------------------------------------
--- OVERRIDE over lity lightbox js library ---
----------------------------------------------- */
.lity {
  background: rgba(0, 0, 0, 0.8);
}

/* --------------------------
--- BG IMAGE responsive ---
----------------------------- */
.img-zoom {
  overflow: hidden;
  display: block;
}
.image-cover {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  padding-bottom: 66.66666%;
  -webkit-transition: transform 0.35s ease;
  -moz-transition: transform 0.35s ease;
  -o-transition: transform 0.35s ease;
  transition: transform 0.35s ease;
}
.img-zoom:hover .image-cover,
.img-zoom:focus .image-cover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-sans);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary,
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(39, 63, 85, 0.25);
}
.btn--primary:hover,
.btn-primary:hover {
  color: #fff;
  background: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(39, 63, 85, 0.3);
}
.btn-primary:focus {
  color: #fff;
  background-color: var(--navy-700);
  border-color: var(--navy-700);
  box-shadow: 0 0 0 0.25rem rgba(39, 63, 85, 0.5);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: #fff;
}
.btn--text {
  padding: 8px 0;
  color: var(--navy);
  background: transparent;
  border-radius: 0;
  font-weight: 600;
  position: relative;
}
.btn--text::after {
  content: "→";
  transition: transform 200ms ease;
}
.btn--text:hover::after {
  transform: translateX(4px);
}

/* --------------------------
--- HEADER ---
----------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(247, 244, 238, 0.97);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* homepage: transparent until scrolled */
body.layout-homepage .header {
  background: transparent;
  box-shadow: none;
}
body.layout-homepage .header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* body offset for non-homepage pages */
body:not(.layout-homepage) {
  padding-top: 70px;
}

/* header-main */
.header-main-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo-container img {
  height: 54px;
  transition: height 0.3s ease;
}

/* desktop CTA button slot */
.header-cta {
  display: none;
}
@media (min-width: 1220px) {
  .header-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .header-cta p {
    margin: 0;
  }
}
@media (min-width: 992px) {
  body:not(.layout-homepage) {
    padding-top: 80px;
  }
  .header-main-container {
    height: 80px;
  }
  .logo-container img {
    height: 64px;
  }

  /* On transparent homepage header — outline style */
  body.layout-homepage .header:not(.scrolled) .header-cta a {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
  }
  body.layout-homepage .header:not(.scrolled) .header-cta a:hover,
  body.layout-homepage .header:not(.scrolled) .header-cta a:focus {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
  }
}
@media (min-width: 1200px) {
  .logo-container img {
    height: 72px;
  }
}

/* only on mobile <992 px if scrolled hide the logo */
.mobile .logo-container .scrolled {
  /*visibility: hidden;*/
}

/* -----------------
--- BREADCRUMBS ---
-------------------- */
.breadcrumbs {
  background: var(--paper-deep);
  font-size: 14px;
  text-transform: uppercase;
}
.breadcrumbs ol {
  margin: 0;
  padding: 20px 0 0 !important;
}
.mod-breadcrumbs__divider {
  display: none;
}
.breadcrumb-item a {
  color: var(--accent-soft);
}
.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
  color: var(--accent);
}
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item:before {
  color: var(--navy);
}
.breadcrumb-item + .breadcrumb-item:before {
  float: none;
  font-size: 10px;
}

/* ------------------------------------------------
--- MAIN CONTENT - where main content comes ---
--------------------------------------------------- */
.main-content {
}

/* --------------------------
--- FOOTER ---
----------------------------- */
.footer {
  background: #000;
  color: #fff;
}
.footer a {
  color: #fff;
}
.footer a:hover,
.footer a:focus {
  color: var(--accent);
}
.footer h3 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-main {
  padding: 50px 0 30px;
  text-align: center;
}
.footer-columns > div {
  margin-top: 40px;
}
.footer-columns ul {
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-logo {
  display: inline-block;
}
.footer-logo img {
  height: 80px;
  background: #fff;
  margin-bottom: 40px;
  padding: 5px;
  border-radius: 10px;
}
.footer-copy {
  background: #000;
  font-size: 12px;
  padding: 0;
}
.footer-copy-inner {
  border-top: 1px solid #424242;
  padding: 30px 0 60px;
  text-align: center;
}
.footer-copy .copyright {
  margin-bottom: 10px;
}
.footer-copy .copyright br {
  display: none;
}
.footer-copy .copyright .mod-custom {
  display: inline-block;
}
.footer-copy .copyright p,
.copyright-right p {
  margin: 0;
}
.copyright-right ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.copyright-right ul li {
  text-transform: uppercase;
  padding-right: 6px;
}
.copyright-right ul li:first-child:before {
  display: none;
}
.copyright-right ul li:before {
  content: "/";
  padding-right: 6px;
  font-size: 10px;
}
@media (max-width: 767px) {
  .footer-columns .footer-1 {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .footer-main {
    padding: 3vw 0 5vw;
    text-align: left;
  }
  .footer h3 {
    margin-bottom: 25px;
  }
  .footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .footer-columns .footer-1 {
    width: 60%;
  }
  .footer-columns .footer-2,
  .footer-columns .footer-3 {
    width: 20%;
  }
  .footer-copy-inner {
    display: flex;
    justify-content: space-between;
    text-align: left;
  }
  .footer-copy .copyright {
    margin-bottom: 0;
  }
  .footer-copy .copyright br {
    display: inline;
  }
  .copyright-right ul {
    justify-content: flex-start;
  }
  .copyright-right {
    padding-right: 25px;
  }
}
@media (min-width: 1200px) {
  .footer-columns {
    flex-wrap: nowrap;
  }
  .footer-columns > div {
    margin-top: 0;
  }
}

/* ============================================================
   Footer — redesign overrides + new classes
   ============================================================ */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 72px 0 32px;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease;
}

.footer a:hover,
.footer a:focus {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer h3,
.footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col li {
  font-size: 15px;
}

.footer__brand {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: center;
}

.footer__logo-pill {
  background: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-pill img {
  height: 60px;
  width: auto;
  display: block;
}

.footer__about {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.75;
}

.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.footer-copy {
  background: var(--navy);
}

.footer-copy-inner {
  border-top-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 48px 0 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer h3,
  .footer h4 {
    text-align: center;
  }

  .footer__brand {
    justify-content: center;
  }

  .footer__about {
    max-width: none;
    margin: 0 auto;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__col ul {
    align-items: center;
  }

  .footer__contact-item {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* --------------------------
--- BACK TO TOP ---
----------------------------- */
#back-to-top {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: #273f55;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 1000;
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
#back-to-top:after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  width: 10px;
  height: 10px;
  margin: -2px 0 0 -5px;
  border-right: 3px solid #fff;
  border-top: 3px solid #fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#back-to-top.reveal {
  filter: alpha(opacity=100);
  opacity: 1;
}
#back-to-top.reachBottom {
  bottom: 15px;
}

/* ----------------
--- PAGINATION ---
------------------- */
.page-item {
  margin-right: 10px;
}
.page-item .page-link {
  color: #1b407a;
  border: 0 none;
  background-color: #e9ecef;
}
.page-item .page-link:hover {
  background-color: #1b407a;
  color: #fff;
}
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}
.page-item.disabled .page-link {
  background-color: #f2f2f2;
  border-color: #f2f2f2;
}
.page-item.active .page-link {
  background-color: #1b407a;
  border-color: #1b407a;
}

/* ------------------------------
--- CONTAINER for the content ---
--------------------------------- */
.container-wrapper {
  padding: 0 20px;
}
@media (min-width: 576px) {
  .container-wrapper {
    padding: 0 5vw;
  }
}
@media (min-width: 1920px) {
  .container-wrapper {
    width: 1480px;
    padding: 0;
    margin: 0 auto;
  }
}

/* ============================================================
   Layout utilities
   ============================================================ */

.section {
  padding: clamp(58px, 8vw, 96px) 0;
}
.section--tight {
  padding: clamp(42px, 5vw, 64px) 0;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* -------------------------------------------
--- ARTICLE - default.php (default styles) ---
---------------------------------------------- */

/* Page header */
.page-header {
  position: relative;
}
.page-header .bg-image-container,
.page-header .bg-image-container .img-overlay,
.page-header .bg-image-container .bg-image-cover {
  position: absolute;
  width: 100%;
  height: 100%;
}
.page-header .bg-image-container .bg-image-cover {
  background-size: cover;
  /*background-position: 50% 50%;*/
  background-position: 50% 0;
  background-attachment: fixed;
  background-color: var(--paper-deep);
}
/* On mobile browsers disable attachment fixed */
@media (hover: none) {
  .page-header .bg-image-container .bg-image-cover {
    background-attachment: scroll;
  }
}
.page-header .bg-image-container .img-overlay {
  /* background: rgba(110, 194, 171, 0.4); */
  z-index: 1;
}
.page-header-content {
  position: relative;
  z-index: 1;
  padding: 56px 0 30px;
  color: var(--ink);
}
.page-header-content.cols-2 .head-2 {
  margin-top: 24px;
}
.page-header-content h1,
.page-header-content h2,
.page-header-content h3,
.page-header-content h4,
.page-header-content h5,
.page-header-content h6 {
  color: var(--navy);
  margin-bottom: 0;
}
.page-header-content h1 {
  font-size: clamp(38px, 4vw, 56px);
}
.page-header-content .image_intro img {
  width: 100%;
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) {
  .page-header-content {
    padding: 64px 0 48px;
  }
  .page-header-content.cols-1 {
    max-width: 700px;
  }
  .page-header-content.cols-2 {
    display: flex;
    align-items: center;
    gap: 2vw;
  }
  .page-header-content.cols-2 .head-1 {
    width: 65%;
  }
  .page-header-content.cols-2 .head-2 {
    width: 35%;
    margin-top: 0;
  }
  .page-header-content.cols-2 .article-text {
    padding-right: 4vw;
  }
}
@media (min-width: 1200px) {
  .page-header-content {
    padding: 80px 0 64px;
  }
  .page-header-content.cols-2 {
    gap: 3vw;
  }
  .page-header-content.cols-2 .head-1 {
    width: 58%;
  }
  .page-header-content.cols-2 .head-2 {
    width: 42%;
  }
}

/* Page body */
.page-body {
  position: relative;
  z-index: 2;
}
.com-content-article__body {
  padding: 40px 0;
}
.page-body h2 {
  font-size: clamp(28px, 3vw, 36px);
}
@media (min-width: 992px) {
  .com-content-article__body {
    padding: 4vw 0;
  }
}

/* Article body — readable prose width */
.item-default .com-content-article__body .container-wrapper {
  max-width: 760px;
}

/* Paragraph and inline text */
.item-default .com-content-article__body p {
  line-height: 1.75;
  margin-bottom: 1.25em;
}
.item-default .com-content-article__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.item-default .com-content-article__body a:hover,
.item-default .com-content-article__body a:focus {
  color: var(--navy);
}

/* Headings inside body */
.item-default .com-content-article__body h2,
.item-default .com-content-article__body h3,
.item-default .com-content-article__body h4,
.item-default .com-content-article__body h5,
.item-default .com-content-article__body h6 {
  margin-bottom: 0.5em;
}
.item-default .com-content-article__body * + h2,
.item-default .com-content-article__body * + h3,
.item-default .com-content-article__body * + h4,
.item-default .com-content-article__body * + h5,
.item-default .com-content-article__body * + h6 {
  margin-top: 1.75em;
}

/* Images */
.item-default .com-content-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.item-default .com-content-article__body figure {
  margin: 1.5em 0 2em;
}
.item-default .com-content-article__body figcaption {
  font-size: 0.85em;
  color: var(--ink-muted, #666);
  margin-top: 0.5em;
  text-align: center;
}

/* Lists */
.item-default .com-content-article__body ul,
.item-default .com-content-article__body ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}
.item-default .com-content-article__body li {
  line-height: 1.75;
  margin-bottom: 0.4em;
}

/* Blockquote */
.item-default .com-content-article__body blockquote {
  border-left: 4px solid var(--accent);
  margin: 2em 0;
  padding: 0.75em 1.5em;
  color: var(--ink-muted, #555);
  font-style: italic;
}

/* Joomla info_block (author, date, category) */
.item-default .article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 0.82em;
  color: var(--ink-muted, #777);
  margin-bottom: 6px;
}
.item-default .article-info dt {
  display: none;
}
.item-default .article-info dd {
  margin: 0;
}
.item-default .article-info dd a {
  color: inherit;
  text-decoration: none;
}
.item-default .article-info dd a:hover {
  color: var(--accent);
}

/* -----------------------------------------
--- CATEGORY - blog.php (default styles) ---
-------------------------------------------- */

/* Page header */

/* Page body */

/* ----------------------------------------------
--- CATEGORY - Category List (default styles) ---
------------------------------------------------- */

/* Page header */

/* Page body */
.com-content-category.category-list {
  padding: 20px 15px;
}
@media (min-width: 768px) {
  .com-content-category.category-list {
    padding: 4vw 20px;
  }
}
@media (min-width: 1200px) {
  .com-content-category.category-list {
    padding: 4vw 50px;
  }
}
@media (min-width: 1600px) {
  .com-content-category.category-list {
    padding: 4vw 12vw;
  }
}

/* -----------------------
--- HOMEPAGE (Article) ---
-------------------------- */

/* Home Section intro */
.home-section-intro {
  position: relative;
}

/* #1a: Home intro-slider-widget = split-panel layout (has-slide-content) */
.home-intro-slider {
  position: relative;
}

/* Base: keep old image-only variant working (has-intro-slider-text uses this too) */
.intro-slider-widget .slide-image-container {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.intro-slider-widget .slide-image-overlay {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(39, 63, 85, 0.6);
}
.intro-slider-widget .slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
}

/* --- Split layout --- */
.has-slide-content .intro-slider-widget {
  background: #fff;
  overflow: hidden;
}
.has-slide-content .slide-item {
  display: flex !important;
  align-items: stretch;
  position: relative;
  min-height: 420px;
  background: #fff;
}
.has-slide-content .slide-left {
  width: 45%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: #fff;
  position: relative;
  z-index: 2;
  padding: 80px 5vw;
}
.has-slide-content .slide-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  clip-path: polygon(7vw 0, 100% 0, 100% 100%, 0 100%);
}
.has-slide-content .slide-diagonal-accent {
  display: none;
}
/* Shared text styles — both slider variants */
.home-intro-slider .slide-text {
  position: relative;
  z-index: 3;
}
.home-intro-slider .slide-text h2 {
  font-size: calc(1.4rem + 2.5vw);
  font-weight: 900;
  color: #273f55;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.home-intro-slider .slide-text p {
  color: #5a7285;
}
/* Shared dot styles — both slider variants */
.home-intro-slider .slick-dots {
  display: flex !important;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}
.home-intro-slider .slick-dots li {
  padding: 0;
  margin: 0;
}
.home-intro-slider .slick-dots li:before {
  display: none;
}
.home-intro-slider .slick-dots li button {
  display: block;
  width: 44px;
  height: 44px;
  background: transparent;
  font-size: 0;
  line-height: 0;
  border: 0 none;
  padding: 0;
}
.home-intro-slider .slick-dots li button:after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: #c8d4dd;
}
.home-intro-slider .slick-dots li.slick-active button:after {
  background: #273f55;
}
/* has-slide-content: dots absolutely positioned bottom-left of white panel */
.has-slide-content .slick-dots {
  position: absolute;
  bottom: 28px;
  left: 5vw;
  z-index: 10;
}
/* Responsive */
@media (min-width: 992px) {
  .has-slide-content .slide-item {
    min-height: 500px;
  }
}
@media (min-width: 1200px) {
  .has-slide-content .slide-item {
    min-height: 600px;
    height: 92vh;
  }
}
@media (max-width: 767px) {
  .has-slide-content .slide-item {
    flex-direction: column;
  }
  .has-slide-content .slide-left {
    width: 100%;
    padding: 40px 5vw 32px;
  }
  .has-slide-content .slide-right {
    width: 100%;
    height: 260px;
    flex: none;
    clip-path: none;
  }
  .has-slide-content .slide-diagonal-accent {
    display: none;
  }
  .has-slide-content .slick-dots {
    bottom: 16px;
    left: 5vw;
  }
}

/* #1b: has-intro-slider-text — split layout, fixed text left, image slider right */
.home-intro-slider.has-intro-slider-text {
  display: flex;
  align-items: stretch;
  position: relative;
  min-height: 420px;
}
.has-intro-slider-text > .slide-left {
  width: 45%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: #fff;
  position: relative;
  z-index: 2;
  padding: 80px 5vw;
}
.has-intro-slider-text > .slide-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  clip-path: polygon(7vw 0, 100% 0, 100% 100%, 0 100%);
}
/* Slider fills the right panel absolutely */
.has-intro-slider-text .intro-slider-widget {
  position: absolute;
  inset: 0;
  background: transparent;
}
.has-intro-slider-text .intro-slider-widget .slick-list,
.has-intro-slider-text .intro-slider-widget .slick-track,
.has-intro-slider-text .intro-slider-widget .slick-slide,
.has-intro-slider-text .slide-item {
  height: 100%;
}
.has-intro-slider-text .slide-item .slide-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* has-intro-slider-text: dots anchored to bottom-left of white panel via wrapper */
.has-intro-slider-text .slider-dots-wrapper {
  position: absolute;
  bottom: 28px;
  left: 0;
}
.has-intro-slider-text > .slide-diagonal-accent {
  display: none;
}
@media (min-width: 992px) {
  .home-intro-slider.has-intro-slider-text {
    min-height: 500px;
  }
}
@media (min-width: 1200px) {
  .home-intro-slider.has-intro-slider-text {
    min-height: 600px;
    height: 92vh;
  }
}
@media (max-width: 767px) {
  .home-intro-slider.has-intro-slider-text {
    flex-direction: column;
  }
  .has-intro-slider-text > .slide-left {
    width: 100%;
    padding: 40px 5vw 32px;
  }
  .has-intro-slider-text > .slide-right {
    width: 100%;
    height: 260px;
    flex: none;
    clip-path: none;
  }
  .has-intro-slider-text .intro-slider-widget {
    position: relative;
    height: 100%;
  }
  .has-intro-slider-text > .slide-diagonal-accent {
    display: none;
  }
}

/* #2: Home intro static - Intro Text s pozadinskom slikom */
.home-intro-static {
  position: relative;
  overflow: hidden;
  height: clamp(560px, 82vh, 850px);
  background: #0a0a14;
}
.home-intro-static .intro-background-image {
  position: absolute;
  inset: 0;
  height: 100%;
}
.home-intro-static .intro-background-image .bg-image-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.home-intro-static .intro-background-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 20, 0.8) 0%,
    rgba(10, 10, 20, 0.55) 45%,
    rgba(10, 10, 20, 0.1) 100%
  );
}
.intro-static-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 80px;
  padding-bottom: 60px;
}
.home-intro-static .intro-content {
  max-width: 600px;
}
.home-intro-static .intro-text {
  color: #fff;
}
.home-intro-static .intro-text .intro-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}
.home-intro-static .intro-text .intro-eyebrow::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.home-intro-static .intro-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
}
.home-intro-static .intro-text p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 440px;
  margin-bottom: 2rem;
}
.home-intro-static .intro-text .intro-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}
.home-intro-static .intro-text a.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #fff;
  color: #1a1a2e;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid #fff;
  transition:
    background 0.2s,
    color 0.2s;
}
.home-intro-static .intro-text a.btn-hero-primary:hover {
  background: rgba(255, 255, 255, 0.88);
}
.home-intro-static .intro-text a.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.home-intro-static .intro-text a.btn-hero-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
@media (min-width: 992px) {
  .home-intro-static .intro-content {
    max-width: 52%;
  }
  .intro-static-container {
    padding-top: 90px;
  }
}
@media (max-width: 767px) {
  .home-intro-static .intro-background-image::after {
    background: rgba(10, 10, 20, 0.65);
  }
  .home-intro-static .intro-text p {
    max-width: 100%;
  }
}

/* Home - item text: samo za ispis glavnog teksta clanka */
.home-item-text {
  padding: 40px 0;
}
@media (min-width: 576px) {
  .home-item-text {
    padding: 3vw 0;
  }
}

/* Home section-about */
.home-section-about {
  padding: 0 0 40px;
}
.home-section-about h2 {
  font-size: 2.5vw;
  text-transform: uppercase;
  margin-bottom: 0;
}
.home-section-about .text-columns p:last-child {
  margin-bottom: 0;
}
@media (min-width: 576px) {
  .home-section-about {
    padding: 0 0 14vw;
  }
  .home-section-about .text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .home-section-about .text-columns div:first-child {
    padding-right: 50px;
  }
}

/* home-section-1 */

/* home-section-2 */

/* end Homepage */

/* ---------------------------
--- CUSTOM PAGES (Article) ---
------------------------------*/

/* Page - O nama */
.item-about {
  position: static;
}

/* Page - Contact Us */
.item-contact .contact-section-1 {
  padding: 40px 0;
}
/* Map section wrapper — mirrors container-wrapper horizontal padding so the map can show rounded corners */
.map-section {
  padding: 0 20px 72px;
}

#map {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}

@media (min-width: 576px) {
  .map-section {
    padding: 0 5vw 72px;
  }
  #map {
    height: 480px;
  }
}

@media (min-width: 992px) {
  #map {
    height: 560px;
  }
}

@media (min-width: 1920px) {
  .map-section {
    width: 1480px;
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
  }
}
.rsform-block-gdpr-consent .form-check-label {
  font-size: 14px;
}
@media (min-width: 576px) {
  .item-contact .contact-section-1 {
    display: flex;
    margin-left: -20px;
    margin-right: -20px;
  }
  .item-contact .contact-section-1 .item {
    width: 50%;
    padding: 0 20px;
  }
}
@media (min-width: 992px) {
  .item-contact .contact-section-1 {
    padding: 4vw 0;
    margin-left: -3vw;
    margin-right: -3vw;
  }
  .item-contact .contact-section-1 .item {
    padding: 0 3vw;
  }
}

/* Page - Blog Article */
/* .item-blog */
.article-sidebar h3 {
  margin-bottom: 15px;
}
.article-sidebar .moduletable {
  margin-bottom: 40px;
}
.article-content .article-date {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  background: var(--accent);
  color: #fff;
  padding: 6px 10px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.article-header h1 {
  margin-bottom: 30px;
}
.article-body {
  line-height: 1.4;
}
.article-body .com-content-article__body h1,
.article-body .com-content-article__body h2,
.article-body .com-content-article__body h3,
.article-body .com-content-article__body h4,
.article-body .com-content-article__body h5,
.article-body .com-content-article__body h6 {
  margin-bottom: 20px;
}
.article-body .com-content-article__body * + h1,
.article-body .com-content-article__body * + h2,
.article-body .com-content-article__body * + h3,
.article-body .com-content-article__body * + h4,
.article-body .com-content-article__body * + h5,
.article-body .com-content-article__body * + h6 {
  margin-top: 30px;
}
.article-body figure {
  margin-bottom: 30px;
}
.article-body figure img {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.author-block {
  background: #eee;
  padding: 20px 20px 5px;
  margin: 30px 0;
}
.author-block .written-by {
  margin-bottom: 15px;
}
.author-block .biography .avatar {
  margin-bottom: 15px;
}
.author-block .biography .avatar img {
  width: 80px;
}
.author-block .biography .short-bio {
  color: #666;
}
.article-content .article-tags {
  margin-bottom: 30px;
}
@media (min-width: 576px) {
  .article-sides {
    display: flex;
    margin-left: -10px;
    margin-right: -10px;
  }
  .article-sides .article-side-1,
  .article-sides .article-side-2 {
    padding: 0 10px;
  }
  .article-sides .article-side-2 {
    width: calc(100% - 120px);
  }
  .article-content .article-date {
    width: 100px;
    text-align: center;
    padding: 10px 15px 16px;
    margin-bottom: 30px;
  }
  .article-content .article-date .day {
    display: block;
    font-size: 32px;
  }
  .article-content .article-date .month {
    display: block;
    font-size: 16px;
    font-weight: 500;
  }
  .author-block .biography .avatar {
    float: left;
    padding-right: 20px;
    margin-bottom: 0;
  }
  .author-block .biography .short-bio {
    margin-left: 100px;
  }
}
@media (min-width: 992px) {
  .article-container {
    display: flex;
    margin-left: -2vw;
    margin-right: -2vw;
  }
  .article-container .article-content {
    width: 65%;
    padding: 0 2vw;
  }
  .article-container .article-sidebar {
    width: 35%;
    padding: 0 2vw;
  }
}

/* Page - Author */
.page-layout-author {
  padding: 20px 0 30px;
}
.page-layout-author .author-info {
  background: #f1f1f1;
  padding: 20px;
}
@media (max-width: 575px) {
  .page-layout-author .author-columns .author-col-1,
  .page-layout-author .author-columns .author-col-2 {
    margin-bottom: 25px;
  }
  .page-layout-author .author-info {
    overflow: hidden;
  }
  .page-layout-author .author-info .author-image {
    float: left;
    margin-right: 15px;
  }
}
@media (min-width: 576px) {
  .page-layout-author .author-columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
  }
  .page-layout-author .author-columns > div {
    padding: 0 15px;
  }
  .page-layout-author .author-columns .author-col-1 {
    width: 200px;
  }
  .page-layout-author .author-columns .author-col-2 {
    width: calc(100% - 200px);
  }
  .page-layout-author .author-columns .author-col-3 {
    width: 100%;
    border-left: 1px solid #eeeeee;
  }
  .page-layout-author .author-info {
    text-align: center;
  }
  .page-layout-author .author-info .author-image {
    margin-bottom: 10px;
  }
  .page-layout-author .author-info .author-image img {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .page-layout-author {
    padding: 3vw 0;
  }
}
@media (min-width: 1200px) {
  .page-layout-author .author-columns {
    flex-wrap: nowrap;
    margin-left: -30px;
    margin-right: -30px;
  }
  .page-layout-author .author-columns > div {
    padding: 0 30px;
  }
  .page-layout-author .author-columns .author-col-1 {
    width: 20%;
  }
  .page-layout-author .author-columns .author-col-2 {
    width: 55%;
  }
  .page-layout-author .author-columns .author-col-3 {
    width: 25%;
  }
}
@media (min-width: 1600px) {
  .page-layout-author .author-columns .author-col-1 {
    width: 15%;
  }
  .page-layout-author .author-columns .author-col-2 {
    width: 60%;
  }
  .page-layout-author .author-columns .author-col-3 {
    width: 25%;
  }
}

/* ---------------------------------
--- CUSTOM PAGES (Category Blog) ---
------------------------------------*/

/* Page Category - INDEX (default category articles list different from Blog) */
.page-category-index .page-header {
  background: rgba(27, 63, 122, 0.66);
  margin-bottom: 20px;
}
.page-category-index .page-header-inner {
  padding: 30px 0 20px;
}
.page-category-index .page-header * {
  color: #fff;
  margin-bottom: 0;
}
.page-category-index .page-header .category-desc {
  padding-top: 25px;
}
.page-category-index .page-body {
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .page-category-index .page-header {
    margin-bottom: 4vw;
  }
  .page-category-index .page-header-inner {
    padding: 2vw 0;
  }
  .page-category-index .page-body {
    margin-bottom: 4vw;
  }
}

/* Page Category Blog (Novosti) */
/* .category-blog */
.layout-blog .blog,
.view-article.layout-blog .main-content {
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(239, 239, 239, 1) 100%
  );
  background: -webkit-linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(239, 239, 239, 1) 100%
  );
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(239, 239, 239, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#efefef",GradientType=1);
}
.layout-blog .blog,
.layout-blog .article-container {
  padding: 20px 0 30px;
}

.blog-page-1st .items-leading .items-column-2 .blog-item .article-title h2 {
  font-size: 20px;
}
.leading-separator {
  display: none;
}
.blog-page-1st .items-leading + .leading-separator {
  display: block;
  height: 1px;
  background: #dedede;
  margin: -10px 0 30px;
}

.blog .items-leading .blog-item {
  margin-bottom: 40px;
}
.blog .blog-item figure {
  margin-bottom: 15px;
}
.blog .blog-item figure img {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.blog .article-date {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  background: var(--accent);
  color: #fff;
  padding: 6px 10px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.blog .article-title h2 {
  margin-bottom: 15px;
}
.blog .article-title h2 a {
  color: #1b407a;
}
.blog .article-title h2 a:hover,
.blog .article-title h2 a:focus {
  color: #ff515c;
}
.blog .article-intro,
.blog .article-tags {
  margin-bottom: 20px;
}
.blog .com-content-category-blog__navigation ul.pagination {
  flex-wrap: wrap;
  margin-bottom: 40px !important;
}
.blog .com-content-category-blog__navigation ul.pagination li {
  margin-bottom: 10px;
}
@media (min-width: 576px) {
  .blog-page-1st .items-leading .items-column-2 .blog-item {
    display: flex;
    align-items: center;
    margin-left: -10px;
    margin-right: -10px;
  }
  .blog-page-1st .items-leading .items-column-2 .blog-item figure {
    width: 48%;
    padding: 0 10px;
  }
  .blog-page-1st .items-leading .items-column-2 .blog-item .item-content {
    width: 52%;
    padding: 0 10px;
  }
  .blog-page-1st
    .items-leading
    .items-column-2
    .blog-item
    .item-content
    .article-intro,
  .blog-page-1st
    .items-leading
    .items-column-2
    .blog-item
    .item-content
    .article-tags {
    display: none;
  }
  .blog .com-content-category-blog__navigation ul.pagination {
    margin-bottom: 0 !important;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .blog-page-1st .items-leading .items-column-2 figure,
  .blog-page-1st .items-leading .items-column-2 .blog-item .article-title h2 {
    margin-bottom: 0;
  }
}
@media (min-width: 768px) {
  .layout-blog .blog,
  .layout-blog .article-container {
    padding: 3vw 0;
  }
  .blog-page-1st .items-leading {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
  }
  .blog-page-1st .items-leading .items-column-1 {
    width: 55%;
    padding: 0 15px;
  }
  .blog-page-1st .items-leading .items-column-2 {
    width: 45%;
    padding: 0 15px;
  }
  .blog .items-leading .blog-item {
    margin-bottom: 30px;
  }
  .blog .blog-item figure {
    margin-bottom: 30px;
  }
  .blog-page-1st .items-leading + .leading-separator {
    margin: 2vw 0 3vw;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .blog-page-1st .items-leading .items-column-2 .blog-item {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .blog-page-1st .items-leading .items-column-2 .blog-item figure {
    width: 100%;
    padding: 0;
  }
  .blog-page-1st .items-leading .items-column-2 .blog-item .item-content {
    width: 100%;
    padding: 0;
  }
}
@media (min-width: 992px) {
  .blog-page-1st .items-leading .items-column-2 figure,
  .blog-page-1st .items-leading .items-column-2 .blog-item .article-title h2 {
    margin-bottom: 0;
  }
}

/* Page Category Blog - Article Tags - same style for category and item view */
.article-tags {
  display: flex;
}
.article-tags .tags-icon {
  position: relative;
  top: 1px;
  margin-right: 6px;
  color: #1b407a;
}
.article-tags ul {
  margin: 0;
}
.article-tags .list-inline-item {
  position: relative;
  margin-right: 5px;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}
.article-tags .list-inline-item:before {
  display: none;
}
.article-tags .list-inline-item .btn {
  display: inline;
  border: 0 none;
  font-size: 16px;
  font-weight: normal;
  color: #1b407a;
  padding: 0;
}
.article-tags .list-inline-item .btn:hover,
.article-tags .list-inline-item .btn:focus {
  background: none;
  color: #ff515c;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.article-tags .list-inline-item:not(:last-child):after {
  position: absolute;
  content: ",";
  color: #1b407a;
  top: 1px;
  right: -4px;
}

/* -----------------------------------------------------
--- SPECIFIC PAGES - different Components (Plugins) ---
-------------------------------------------------------*/

/* Page TAGS */
.com_tags .article-container {
  padding: 20px 0 30px;
}
.com_tags .com-tags-tags__filter {
  margin-bottom: 30px;
}
.com_tags .com-tags-tags__filter input[type="text"] {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  border-width: 1px;
  padding: 5px 10px;
}
.com_tags .com-tags__items ul li h3 {
  margin-bottom: 0;
}
.com-tags__pagination {
  margin-top: 50px;
}
@media (min-width: 768px) {
  .com_tags .article-container {
    padding: 3vw 0;
  }
}
@media (min-width: 1200px) {
  .tag-category .com-tags__items ul li h3 {
    font-size: 20px;
  }
}

/* Page SEARCH (com-finder) */
.com-finder {
  padding: 20px 15px;
}
.com-finder label.me-2 {
  font-weight: bold;
  margin-bottom: 10px;
}
.com-finder .awesomplete {
  flex-grow: 1;
}
.com-finder .awesomplete > input {
  line-height: 1.3;
  padding: 13px 15px;
}
.com-finder .result__title-url {
  font-weight: 300;
}
.com-finder .result__title-text {
  font-weight: bold;
}
.com-finder .result__description {
  font-weight: 400;
}
.com-finder .result__date {
  font-weight: 800;
}
@media (min-width: 768px) {
  .com-finder {
    padding: 4vw 20px;
  }
}
@media (min-width: 1200px) {
  .com-finder {
    padding: 3vw 50px;
  }
}
@media (min-width: 1600px) {
  .com-finder {
    padding: 3vw 12vw;
  }
}

/* ---------------------------
--- MODULES ---
------------------------------ */

/* mod_tags_popular */
.mod-tagspopular ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mod-tagspopular ul li {
  display: inline-block;
  margin-bottom: 6px;
}
.mod-tagspopular ul li a {
  display: block;
  padding: 5px 10px;
  border: 1px solid #ccc;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  color: #666;
}
.mod-tagspopular ul li a:hover,
.mod-tagspopular ul li a:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* mod_articles_news */
.mod-articlesnews__item {
  margin-bottom: 15px;
}
.mod-articlesnews__item .newsflash-date {
  font-weight: bold;
  margin-bottom: 5px;
}
.mod-articlesnews__item .newsflash-title {
  font-size: 16px;
  margin-bottom: 0;
}
.mod-articlesnews__item .newsflash-title a {
  color: var(--accent);
}

/* mod__latest-posts */
.mod__latest-posts .mod-articlesnews__item {
  display: flex;
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: 20px;
}
.mod__latest-posts .mod-articlesnews__item > div {
  padding: 0 10px;
}
.mod__latest-posts .article-date {
  display: block;
  width: 86px;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 10px 15px 16px;
  margin-bottom: 0;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.mod__latest-posts .article-date:hover,
.mod__latest-posts .article-date:focus {
  color: #fff;
  background: #b72416;
}
.mod__latest-posts .article-date .day {
  display: block;
  font-size: 26px;
  font-weight: bold;
}
.mod__latest-posts .article-date .month {
  display: block;
  font-size: 14px;
}
.mod__latest-posts .mod-articlesnews__item .newsflash-title {
  margin: 5px 0;
}
.mod__latest-posts .mod-articlesnews__item .newsflash-title a {
  color: #fff;
}
.mod__latest-posts .mod-articlesnews__item .newsflash-title a:hover,
.mod__latest-posts .mod-articlesnews__item .newsflash-title a:focus {
  color: var(--accent);
}

/* ---------------------------------------
--- CUSTOM FIELD - Repeatable Sections ---
------------------------------------------ */

/* Section - colors */
.section.white-bg .text-field-inner {
  background: #fff;
}
.section.green-bg .text-field-inner {
  background: var(--accent);
  color: #fff;
}
.section.gray-bg .text-field-inner {
  background: #e7e7e7;
  color: #333;
}
.section.not-white-bg h1,
.section.not-white-bg h2,
.section.not-white-bg h3,
.section.not-white-bg h4,
.section.not-white-bg h5,
.section.not-white-bg h6 {
  color: #fff;
}
.section.not-white-bg.gray-bg h1,
.section.not-white-bg.gray-bg h2,
.section.not-white-bg.gray-bg h3,
.section.not-white-bg.gray-bg h4,
.section.not-white-bg.gray-bg h5,
.section.not-white-bg.gray-bg h6 {
  color: var(--accent);
}

/* Section - has-Image */
.section.hasImg .text-field-inner {
  padding: 30px 20px 20px;
}
.section.hasImg.img-Left .text-field-inner {
  padding: 30px 20px 20px;
}
.section.hasImg .img-field {
  position: relative;
}
.section.hasImg .video-controls {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .section.hasImg .text-field {
    width: 100% !important;
  }
  .section.hasImg .img-field {
    width: 100% !important;
  }
  .section.hasImg .img-field .img-container {
    width: 100% !important;
  }
}
@media (min-width: 768px) {
  .section .image-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
  }
  .section.hasImg {
    display: flex;
  }
  .section.hasImg.img-Left {
    flex-direction: row-reverse;
  }
  .section.hasImg .text-field {
    position: relative;
    z-index: 1;
    width: 52%;
  }
  .section.hasImg .text-field-inner {
    padding: 6vw 20px 5vw 20px;
  }
  .section.hasImg.img-Left .text-field-inner {
    padding: 6vw 20px 5vw 20px;
  }
  .section.hasImg .img-field {
    width: 48%;
  }
}
@media (min-width: 1200px) {
  .section.hasImg .text-field-inner {
    padding: 6vw 50px 5vw 14vw;
  }
  .section.hasImg.img-Left .text-field-inner {
    padding: 6vw 50px 5vw 50px;
  }
}

/* Section = ROW-1 = No-Image = Blue Box */
@media (min-width: 576px) {
  .section.noImg.row-1 .blue-box {
    margin-top: -8vw;
  }
}

/* Section - No-Image */
.section.noImg .text-field-inner {
  padding: 30px 20px 20px;
}
@media (min-width: 768px) {
  .section.noImg .text-field-inner {
    /*padding: 6vw 12vw 5vw;*/ /* reduced by Doron wish */
    padding: 4vw 20px 3vw;
  }
}
@media (min-width: 992px) {
  .section.noImg .text-width-50 {
    width: 52%;
  }
}
@media (min-width: 1200px) {
  .section.noImg .text-field-inner {
    padding: 4vw 5vw 3vw;
  }
}

/* Section - Background-Image */
.section.hasImg.img-Background-image {
  position: relative;
  display: block;
  color: #fff;
  text-align: center;
}
.section.hasImg.img-Background-image .text-field,
.section.hasImg.img-Background-image .img-field {
  width: 100%;
}
.section.img-Background-image h1,
.section.img-Background-image h2,
.section.img-Background-image h3,
.section.img-Background-image h4,
.section.img-Background-image h5,
.section.img-Background-image h6 {
  color: #fff;
}
.section.img-Background-image .text-field {
  position: relative;
  z-index: 3;
}
.section.img-Background-image .img-field,
.section.img-Background-image .img-container,
.section.img-Background-image .image-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.section.img-Background-image .image-cover {
  padding-bottom: 0;
}
.section.img-Background-image .text-field-inner {
  background: transparent;
  padding: 30px 30px 20px;
}
.section.img-Background-image .img-container {
  background: rgba(27, 63, 122, 1);
}
.section.img-Background-image .img-container .image-cover {
  opacity: 0.2;
}
@media (min-width: 576px) {
  .section.img-Background-image .text-field-inner {
    padding: 6vw 12vw 5vw;
  }
}

/* ---------------------------------------------
--- EDITOR CUSTOM TEMPLATES - (columns etc.) ---
------------------------------------------------ */
.section hr {
  /*display: none;*/
  background: transparent;
  margin: 10px 0 20px;
}
.custom-block.cols-2_blue-box .blue-box {
  background: #132b5b;
  color: #fff;
  padding: 22px 22px 1px;
}
.custom-block.cols-2_blue-box + hr {
  display: none;
}
.custom-block.cols-2_blue-box .blue-box h1,
.custom-block.cols-2_blue-box .blue-box h2,
.custom-block.cols-2_blue-box .blue-box h3,
.custom-block.cols-2_blue-box .blue-box h4,
.custom-block.cols-2_blue-box .blue-box h5,
.custom-block.cols-2_blue-box .blue-box h6 {
  color: #fff;
}
.custom-block.cols-3.style-lines .b-row .b-col > * {
  padding-left: 25px;
}
.custom-block.cols-3.style-lines h1,
.custom-block.cols-3.style-lines h2,
.custom-block.cols-3.style-lines h3,
.custom-block.cols-3.style-lines h4,
.custom-block.cols-3.style-lines h5,
.custom-block.cols-3.style-lines h6 {
  margin-bottom: 5px;
}
.custom-block.cols-3.style-lines .b-row .b-col {
  position: relative;
}
.custom-block.cols-3.style-lines .b-row .b-col:before {
  content: "";
  width: 4px;
  height: 50px;
  background: #ff515c;
  position: absolute;
  left: 0;
  top: 0;
}
@media (min-width: 576px) {
  .custom-block .b-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
  }
  .custom-block .b-row .b-col {
    padding-left: 15px;
    padding-right: 15px;
  }
  .custom-block.cols-3.style-lines .b-row .b-col:before {
    left: 15px;
  }
  .custom-block.cols-2 .b-row .b-col {
    width: 50%;
  }
  .custom-block.cols-2_blue-box .column1 {
    width: 60%;
  }
  .custom-block.cols-2_blue-box .column2 {
    width: 40%;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .custom-block.cols-2_blue-box .blue-box * {
    font-size: 20px;
  }
  .custom-block.cols-2_blue-box .blue-box p {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .custom-block.cols-3.style-lines + hr {
    display: none;
  }
}
@media (min-width: 768px) {
  .custom-block .b-row {
    margin-left: -30px;
    margin-right: -30px;
  }
  .custom-block .b-row .b-col {
    padding-left: 30px;
    padding-right: 30px;
  }
  .custom-block.cols-3.style-lines .b-row .b-col:before {
    left: 30px;
  }
  .custom-block.cols-3 .b-row .b-col {
    width: 50%;
  }
  .custom-block.cols-4 .b-row .b-col {
    width: 50%;
  }
  .custom-block.cols-2_blue-box .blue-box {
    padding: 4vw 4vw calc(4vw - 29px);
  }
}
@media (min-width: 992px) {
  .custom-block.cols-3 .b-row .b-col {
    width: 33.3333333333%;
  }
  .custom-block.cols-4 .b-row .b-col {
    width: 25%;
  }
}
@media (min-width: 1200px) {
  .custom-block.cols-3.style-lines h1,
  .custom-block.cols-3.style-lines h2,
  .custom-block.cols-3.style-lines h3,
  .custom-block.cols-3.style-lines h4,
  .custom-block.cols-3.style-lines h5,
  .custom-block.cols-3.style-lines h6 {
    margin-bottom: 20px;
  }
}

/* -------------------------------
--- CUSTOM ANIMATIONS ---
---------------------------------- */

/* Logo, Hamburger */
.focus-in-expand {
  -webkit-animation: focus-in-expand 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    0.8s both;
  animation: focus-in-expand 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}
@-webkit-keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

/*  main-menu */
.fade-in-top-1 {
  -webkit-animation: fade-in-top 1s cubic-bezier(0.39, 0.575, 0.565, 1) 0s both;
  animation: fade-in-top 1s cubic-bezier(0.39, 0.575, 0.565, 1) 0s both;
}
.fade-in-top-2 {
  -webkit-animation: fade-in-top 1s cubic-bezier(0.39, 0.575, 0.565, 1) 0.3s
    both;
  animation: fade-in-top 1s cubic-bezier(0.39, 0.575, 0.565, 1) 0.3s both;
}
@-webkit-keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

/* Intro slider text */
.fade-in-bottom-1 {
  -webkit-animation: fade-in-bottom 1s cubic-bezier(0.39, 0.575, 0.565, 1) 0.1s
    both;
  animation: fade-in-bottom 1s cubic-bezier(0.39, 0.575, 0.565, 1) 0.1s both;
}
.fade-in-bottom-2 {
  -webkit-animation: fade-in-bottom 1s cubic-bezier(0.39, 0.575, 0.565, 1) 1.2s
    both;
  animation: fade-in-bottom 1s cubic-bezier(0.39, 0.575, 0.565, 1) 1.2s both;
}
@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

/* ============================================================
   Hero Slider
   ============================================================ */
.hero {
  position: relative;
  height: clamp(560px, 82vh, 1200px);
  overflow: hidden;
  background: var(--navy);
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero__slide.is-active .hero__media {
  transform: scale(1);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 32, 44, 0.78) 0%,
    rgba(20, 32, 44, 0.55) 45%,
    rgba(20, 32, 44, 0.25) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__inner {
  max-width: 640px;
  color: #fff;
}

/* Per-slide text panel */
.hero__text-slide {
  display: none;
}
.hero__text-slide.is-active {
  display: block;
  animation: heroTextIn 600ms ease both;
}
@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Eyebrow — editors write <div class="hero__eyebrow">…</div> in the text field */
.hero__eyebrow,
.hero__slide-text .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 22px;
}
.hero__eyebrow::before,
.hero__slide-text .hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sand);
}

/* H1 inside hero */
.hero__slide-text h1,
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.08;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Subtitle — editors write <p class="hero__sub">…</p> */
.hero__sub,
.hero__slide-text .hero__sub {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn-primary {
  background: #fff !important;
  color: var(--navy) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-btn-primary:hover {
  background: var(--sand-soft) !important;
}

/* Counter — bottom-left */
.hero__counter {
  position: absolute;
  left: 32px;
  bottom: 36px;
  z-index: 3;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero__counter strong {
  font-size: 22px;
  font-weight: 500;
}

/* Dots + arrows — bottom-right */
.hero__controls {
  position: absolute;
  bottom: 36px;
  right: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #fff;
}
.hero__dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero__dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition:
    background 200ms ease,
    width 300ms ease;
  padding: 0;
}
.hero__dot.is-active {
  background: #fff;
  width: 56px;
}
.hero__arrows {
  display: flex;
  gap: 8px;
}
.hero__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 180ms ease;
  backdrop-filter: blur(8px);
}
.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
  .hero__counter {
    left: 20px;
    bottom: 24px;
  }
  .hero__controls {
    right: 20px;
    bottom: 24px;
  }
}

/* ============================================================
   Intro Section
   ============================================================ */
.section {
  padding: clamp(58px, 8vw, 96px) 0;
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Editor content: eyebrow + h2 + paragraphs written in Joomla editor */
.intro__editor-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.intro__editor-content .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.intro__editor-content h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 24px;
}
.intro__editor-content p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

/* Values grid */
.intro__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.value {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.value__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--sand-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.value__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.value__body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* Media column */
.intro__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 1/1;
  display: block;
}

@media (max-width: 900px) {
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .intro__media {
    order: -1;
  }
  .intro__values {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Section: News
   ============================================================ */

.news {
  background: var(--cream);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.section__head h2 {
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.15;
  max-width: 620px;
  margin: 0;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__img {
  aspect-ratio: 16 / 10;
  background: var(--sand-soft);
  overflow: hidden;
}

.card__img > div {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 600ms ease;
}

.card:hover .card__img > div {
  transform: scale(1.04);
}

.card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.card__tag {
  background: var(--sand-soft);
  color: var(--navy);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 500;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover {
  text-decoration: underline;
}

.card__excerpt {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.card__excerpt p {
  margin: 0;
}

.card__link {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.card__link::after {
  content: "→";
  transition: transform 200ms ease;
  display: inline-block;
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Section: Quote band
   ============================================================ */

.quote-band {
  background: var(--navy);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.quote-band__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.quote-band__mark {
  font-family: var(--font-serif);
  font-size: 72px;
  color: var(--sand);
  line-height: 0.6;
  margin-bottom: 16px;
}

.quote-band blockquote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.4;
  margin: 0 0 32px;
  color: #fff;
  font-weight: 400;
  font-style: italic;
  border: none;
  padding: 0;
}

.quote-band__author {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.quote-band__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 600;
  flex-shrink: 0;
}

.quote-band__name {
  font-weight: 600;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.quote-band__role {
  font-size: 14px;
  color: var(--sand);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ============================================================
   Section: Sponsors
   ============================================================ */

.sponsors {
  background: var(--paper);
}

.sponsors__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.sponsor {
  height: 130px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 24px;
  transition: background 200ms ease;
  cursor: pointer;
}

.sponsor:hover {
  background: var(--cream);
}

.sponsor__logo {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy-300);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  transition: color 200ms ease;
  line-height: 1.2;
}

.sponsor:hover .sponsor__logo {
  color: var(--navy);
}

@media (max-width: 1024px) {
  .sponsors__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .sponsors__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   Section: CTA strip (mod-contact)
   ============================================================ */

.cta-strip {
  background: var(--navy);
  padding: 72px 0 20px;
}

.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-strip__inner h2 {
  color: #fff;
  font-size: clamp(28px, 2.8vw, 38px);
  margin-bottom: 16px;
}

.cta-strip__inner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0;
}

.cta-strip__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn--white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn--white:hover {
  background: var(--sand-soft);
  border-color: var(--sand-soft);
  color: var(--navy);
}

@media (max-width: 860px) {
  .cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Blog / News category page
   ============================================================ */

.blog-page-header {
  background: var(--paper-deep);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line-soft);
}

.blog-page-header .eyebrow {
  margin-bottom: 14px;
}

.blog-page-header__title {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.1;
  color: var(--navy);
  margin: 0;
}

.blog-page-header__desc {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
}

/* Body area */
.blog-body {
  padding: 72px 0 96px;
  background: var(--cream);
}

/* Layout: main + optional sidebar */
.blog-layout--sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
}

/* Article grid — same rhythm as news__grid on homepage */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

/* Sidebar */
.blog-sidebar {
  padding-top: 4px;
}

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.blog-pagination__counter {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.blog-pagination__links .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-pagination__links .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
  text-decoration: none;
}

.blog-pagination__links .page-item.active .page-link {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.blog-pagination__links .page-item .page-link:hover {
  background: var(--sand-soft);
  border-color: var(--line);
}

/* Responsive */
@media (max-width: 1100px) {
  .blog-layout--sidebar {
    grid-template-columns: 1fr;
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-page-header {
    padding: 48px 0 40px;
  }

  .blog-body {
    padding: 48px 0 64px;
  }

  .blog__grid {
    grid-template-columns: 1fr;
  }

  .blog-pagination {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   --- POVIJEST / TIMELINE ---
   ============================================================ */

.history-timeline-section {
  padding: 72px 0;
}

.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.tl-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 48px;
  position: relative;
  padding-bottom: 56px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-year {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--accent);
  font-weight: 500;
  text-align: right;
  padding-right: 12px;
  padding-top: 4px;
}
.tl-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid var(--line-soft);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.tl-content::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
}
.tl-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 500;
}
.tl-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0;
}
.tl-content ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-content ul li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.tl-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 640px) {
  .timeline::before {
    display: none;
  }
  .tl-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 40px;
  }
  .tl-year {
    text-align: left;
    padding-right: 0;
    font-size: 26px;
  }
  .tl-content::before {
    display: none;
  }
}

/* ============================================================
   --- ISKUSTVA ---
   ============================================================ */

.history-iskustva-section {
  background: var(--cream);
  padding: 72px 0;
}
.history-iskustva-section h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 8px 0 12px;
}
.history-iskustva-section .section-lede {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 760px;
  margin-bottom: 48px;
}

.signs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 28px;
}
.signs__col {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 36px 32px;
  border: 1px solid var(--line-soft);
}
.signs__col h3 {
  font-size: 22px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge--positive,
.badge--warning {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  flex-shrink: 0;
}

.signs__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.signs__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-soft);
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.signs__item:first-child {
  border-top: none;
  padding-top: 0;
}
.check--positive,
.check--warning {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

@media (max-width: 860px) {
  .signs {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .history-iskustva-section {
    padding: 48px 0;
  }
  .signs__col {
    padding: 24px 22px;
  }
}

/* ============================================================
   Page: O alkoholizmu (layout-about)
   ============================================================ */

/* --- Narrow text column (foreword, brain section) --- */
.about-narrow {
  max-width: 780px;
  margin: 0 auto;
}

.about-attribution {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-style: italic;
}

/* --- Stats band --- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  margin: -56px auto 0;
  max-width: 1100px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.fact {
  padding: 32px;
  border-right: 1px solid var(--line-soft);
}

.fact:last-child {
  border-right: none;
}

.fact__num {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--navy);
  font-weight: 500;
  line-height: 1;
}

.fact__num small {
  font-size: 22px;
  color: var(--accent);
  margin-left: 4px;
}

.fact__label {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.45;
}

/* --- Topics grid --- */
.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.topic {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.topic:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sand);
}

.topic__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sand-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.topic h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 500;
}

.topic p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.topic ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.topic li {
  font-size: 15px;
  color: var(--ink-soft);
  padding: 6px 0 6px 22px;
  position: relative;
}

.topic li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 14px;
}

/* --- Brain section background --- */
.about-brain-section {
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* --- Self-assessment section --- */
.about-selfassess-section {
  background: var(--cream);
  padding: 72px 0;
}

.signs__col h3 .badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  flex-shrink: 0;
}

.signs__item .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--line-soft);
  font-size: 11px;
  line-height: 1;
  padding-top: 1px;
}

.about-selfassess-cta {
  text-align: center;
  margin-top: 48px;
}

.about-selfassess-cta p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 20px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -32px;
  }
}

@media (max-width: 860px) {
  .topics {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .fact {
    padding: 20px;
  }
}

/* ============================================================
   Photo placeholder — fallback when no image is available
   ============================================================ */

.photo-placeholder {
  background-image:
    radial-gradient(ellipse at 30% 25%, #cdb89a55, transparent 60%),
    radial-gradient(ellipse at 75% 80%, #3d587299, transparent 65%),
    linear-gradient(135deg, #3d5872 0%, #728ba3 55%, #cdb89a 100%);
  background-size: cover;
  display: grid;
  place-items: center;
}
