@font-face {
  font-family: "Roboto";
  src: url("/assets/roboto-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/roboto-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --orange: #ef5b0a;
  --orange-dark: #df5004;
  --ink: #252525;
  --muted: #757575;
  --panel: #f4f4f4;
  --page: #f8f8f8;
  --footer: #242424;
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #111;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 90px;
  color: #fff;
}

.header-inner {
  width: min(calc(100% - 66px), 1199px);
  height: 90px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 180px;
  align-items: center;
}

.brand-white {
  width: 168px;
  align-self: center;
}

.brand-white img {
  width: 168px;
  height: 60px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 44px;
  text-transform: uppercase;
  font-size: 13px;
}

.desktop-nav a,
.lawyer-cta {
  transition: color 160ms ease, background-color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--orange);
}

.lawyer-cta {
  justify-self: end;
  min-width: 168px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
}

.lawyer-cta:hover,
.lawyer-cta:focus-visible {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 684px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #151a20 url("/assets/hero.jpg") center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 17, .38);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 70px), 1000px);
  margin-top: 8px;
  text-align: center;
  transform: translateY(-4px);
}

.hero h1 {
  margin: 0;
  font-family: Verdana, sans-serif;
  font-size: 66px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -2.2px;
}

.hero p {
  margin: 38px auto 0;
  font-family: Verdana, sans-serif;
  font-size: 23px;
  line-height: 1.5;
}

.lawyer-search {
  position: relative;
  width: 465px;
  max-width: 100%;
  margin: 72px auto 0;
}

.lawyer-search input {
  width: 100%;
  height: 55px;
  padding: 0 16px;
  color: #111;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}

.lawyer-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .16);
}

.search-results {
  position: absolute;
  z-index: 10;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  text-align: left;
}

.search-results a,
.search-message {
  display: block;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.search-results a:hover,
.search-results a:focus-visible {
  color: var(--orange);
  background: #fafafa;
}

.section-shell {
  width: min(calc(100% - 70px), var(--shell));
  margin: 0 auto;
}

.practice-section {
  padding: 54px 0 43px;
  background: var(--page) url("/assets/background.avif") center top / cover no-repeat;
}

.practice-shell {
  padding: 0 9px 31px;
  background: rgba(255, 255, 255, .9);
}

.practice-section h2,
.why-section h2 {
  margin: 0;
  font-family: Verdana, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.practice-section h2 {
  padding: 4px 0 23px;
  text-align: center;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.practice-card {
  min-height: 94px;
  padding: 16px 17px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  background: var(--panel);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.practice-card:hover,
.practice-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}

.practice-card img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.practice-card h3 {
  margin: 0;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
}

.practice-footer {
  padding: 30px 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
}

.practice-footer p {
  margin: 0;
}

.practice-footer strong {
  color: #666;
}

.text-link {
  flex: 0 0 auto;
  color: var(--orange);
  font-weight: 700;
}

.text-link span {
  padding-left: 14px;
  font-size: 22px;
}

.why-section {
  padding: 64px 0 81px;
  background: #fff;
}

.why-shell h2 {
  margin-bottom: 38px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.why-copy {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.benefit-list {
  margin: 0;
  padding: 13px 20px;
  color: #fff;
  background: var(--orange);
  border-radius: 4px;
  list-style: none;
}

.benefit-list li {
  padding: 10px 3px;
  border-bottom: 1px dashed rgba(255, 255, 255, .55);
  font-size: 17px;
}

.benefit-list li:last-child {
  border-bottom: 0;
}

.benefit-list li::before {
  content: "✓";
  margin-right: 9px;
  font-weight: 700;
}

.primary-button {
  display: table;
  margin: 38px auto 0;
  padding: 9px 23px;
  color: #fff;
  background: var(--orange);
  border-radius: 4px;
  font-weight: 700;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--orange-dark);
}

.site-footer {
  color: #777;
  background: var(--footer);
}

.footer-inner {
  position: relative;
  width: min(calc(100% - 70px), 980px);
  min-height: 195px;
  margin: 0 auto;
  padding: 35px 0 41px;
  display: grid;
  grid-template-columns: 250px 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  align-self: center;
  width: 190px;
}

.footer-column h2 {
  margin: 0 0 24px;
  padding-bottom: 8px;
  color: var(--orange);
  border-bottom: 1px dashed #555;
  font-family: Georgia, serif;
  font-size: 20px;
}

.footer-column > a:hover,
.footer-column > a:focus-visible {
  color: var(--orange);
}

.footer-cookie-settings,
.information-cookie-settings {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible,
.information-cookie-settings:hover,
.information-cookie-settings:focus-visible { color: var(--orange); }

.information-cookie-settings {
  padding: 9px 13px;
  color: #173f5f;
  border: 1px solid #173f5f;
  border-radius: 4px;
  font-weight: 700;
}

.information-cookie-settings:hover,
.information-cookie-settings:focus-visible { color: #fff; background: #173f5f; }

.share-links {
  display: flex;
  gap: 8px;
}

.share-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.share-links .facebook { background: #3f5fa6; }
.share-links .x { background: #030303; }
.share-links .linkedin { background: #0b84b7; }
.share-links .email { background: #ee4e45; }

.copyright {
  position: absolute;
  right: 0;
  bottom: 6px;
  width: calc(100% - 250px);
  margin: 0;
  padding-top: 7px;
  border-top: 1px solid #353535;
  text-align: right;
  font-size: 13px;
}

@media (max-width: 900px) {
  .header-inner {
    width: 100%;
    grid-template-columns: 1fr auto;
  }

  .brand-white {
    width: 168px;
  }

  .brand-white img {
    width: 168px;
    height: 60px;
  }

  .desktop-nav,
  .lawyer-cta {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
    margin-right: 15px;
  }

  .menu-toggle span {
    width: 29px;
    height: 4px;
    display: block;
    background: currentColor;
    border-radius: 2px;
  }

  .mobile-menu {
    position: absolute;
    top: 82px;
    right: 15px;
    left: 15px;
    padding: 12px;
    display: grid;
    color: var(--ink);
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 11px 10px;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu a:last-child {
    color: var(--orange);
    border-bottom: 0;
    font-weight: 700;
  }

  .hero {
    min-height: 802px;
    align-items: start;
    background-position: 45% center;
  }

  .hero-content {
    width: 305px;
    max-width: calc(100% - 70px);
    margin-top: 200px;
    transform: none;
  }

  .hero h1 {
    font-size: 66px;
    line-height: 1;
  }

  .hero p {
    width: 259px;
    max-width: 100%;
    margin: 25px auto 0;
    font-size: 23px;
    line-height: 1.5;
  }

  .lawyer-search {
    width: 305px;
    margin-top: 42px;
  }

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

  .why-grid {
    gap: 35px;
  }

  .footer-inner {
    grid-template-columns: 190px 1fr 1fr;
    gap: 25px;
  }
}

/* Stranica Pravni saveti */
.legal-advice-route .desktop-nav a[aria-current="page"],
.legal-advice-route .mobile-menu a[aria-current="page"] {
  color: var(--orange);
}

.legal-advice-page {
  background: #f6f6f6;
}

.advice-hero,
.advice-guide {
  background: #eee8e4 url("/assets/pravni-saveti-hero.avif") center center / cover no-repeat;
}

.advice-hero {
  min-height: 469px;
  display: flex;
  align-items: center;
}

.advice-hero-inner {
  width: min(calc(100% - 66px), 1199px);
  margin: 0 auto;
  padding: 22px 10px 0;
}

.advice-hero h1 {
  max-width: 900px;
  margin: 0 0 20px;
  color: var(--orange);
  font-size: clamp(35px, 3.15vw, 42px);
  line-height: 1.18;
  letter-spacing: .2px;
}

.advice-hero p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
}

.advice-hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 50px;
}

.advice-button {
  min-width: 228px;
  min-height: 49px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.advice-button-primary {
  color: #fff;
  background: var(--orange);
}

.advice-button-primary:hover,
.advice-button-primary:focus-visible {
  color: #fff;
  background: var(--orange-dark);
}

.advice-button-light {
  color: var(--orange);
  background: rgba(255, 255, 255, .92);
}

.advice-button-light:hover,
.advice-button-light:focus-visible {
  color: #fff;
  background: var(--orange);
}

.advice-content {
  padding: 30px 0 33px;
  background: #f6f6f6 url("/assets/background.avif") center center / cover fixed no-repeat;
}

.advice-shell {
  width: min(calc(100% - 66px), 1199px);
  margin: 0 auto;
}

.advice-types-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.advice-type-card,
.advice-package-card {
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 3px 14px rgba(0, 0, 0, .07);
}

.advice-type-card {
  min-height: 300px;
  padding: 31px 30px 29px;
}

.advice-type-card h2 {
  margin: 0 0 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 25px;
  line-height: 1.2;
}

.advice-type-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.advice-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.advice-check-list li {
  position: relative;
  min-height: 38px;
  padding: 5px 0 5px 33px;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
  font-size: 17px;
  line-height: 28px;
}

.advice-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 4px;
  font-weight: 700;
}

.advice-type-card .advice-button {
  margin-top: 15px;
}

.advice-section-title {
  margin: 52px 0 39px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.advice-section-title span {
  height: 1px;
  background: #666;
}

.advice-section-title h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.advice-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
}

.advice-package-card {
  min-height: 281px;
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
}

.advice-package-card h3 {
  min-height: 82px;
  margin: 0 -20px 9px;
  padding: 24px 20px 17px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--orange);
  background: rgba(248, 248, 248, .86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.22;
}

.package-icon {
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 22px;
}

.advice-package-card .advice-check-list {
  margin-bottom: 13px;
}

.advice-package-card .advice-check-list li {
  min-height: 35px;
  padding-left: 32px;
  font-size: 16px;
  line-height: 25px;
}

.advice-package-card > a {
  min-height: 48px;
  margin-top: auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  background: #f5f5f5;
  font-weight: 700;
  text-align: center;
}

.advice-package-card > a:hover,
.advice-package-card > a:focus-visible {
  color: #fff;
  background: var(--orange);
}

.advice-guide {
  min-height: 469px;
  padding: 112px max(33px, calc((100% - 1199px) / 2));
  display: flex;
  align-items: flex-start;
}

.advice-guide-card {
  width: min(790px, 68%);
  min-height: 236px;
  padding: 22px 20px 18px;
  background: rgba(255, 255, 255, .76);
  border-radius: 2px;
}

.advice-guide-card h2 {
  margin: 0 0 7px;
  font-size: 22px;
  font-weight: 400;
}

.advice-guide-card .advice-check-list li {
  min-height: 34px;
  font-size: 16px;
  line-height: 24px;
}

.advice-guide-card .advice-button {
  margin-top: 8px;
}

body.advice-modal-open {
  overflow: hidden;
}

.advice-modal[hidden] {
  display: none;
}

.advice-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
}

.advice-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .76);
}

.advice-dialog {
  position: relative;
  z-index: 1;
  width: min(635px, 100%);
  max-height: calc(100vh - 48px);
  padding: 25px 30px 30px;
  overflow-y: auto;
  background: #fff;
  border-radius: 5px;
}

.advice-dialog > h2 {
  margin: 0 35px 12px 0;
  font-size: 22px;
  line-height: 1.25;
}

.advice-dialog > p {
  margin: 0 0 29px;
  color: #777;
  font-size: 16px;
  line-height: 1.45;
}

.advice-modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 21px;
  height: 21px;
  padding: 0;
  color: #333;
  background: #fff;
  border: 2px solid #d39b00;
  border-radius: 3px;
  font-size: 20px;
  line-height: 15px;
  cursor: pointer;
}

.advice-form {
  padding: 28px 20px 38px;
  border: 1px dashed #aaa;
}

.advice-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.advice-form label {
  margin-bottom: 12px;
  display: block;
  color: #555;
  font-size: 15px;
}

.advice-form label > span {
  display: block;
  margin-bottom: 2px;
}

.advice-form input,
.advice-form textarea {
  width: 100%;
  padding: 8px 10px;
  color: #222;
  background: #fff;
  border: 1px solid #888;
  border-radius: 2px;
  outline: 0;
  font: inherit;
}

.advice-form input {
  height: 43px;
}

.advice-form textarea {
  min-height: 66px;
  resize: vertical;
}

.advice-form input:focus,
.advice-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .14);
}

.advice-form > button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.advice-form-status {
  margin: 8px 0 0;
  padding: 9px 12px;
  color: #7a4b00;
  background: #fff5d6;
  border-left: 3px solid #e2a300;
  font-size: 14px;
}

@media (max-width: 900px) {
  .advice-hero {
    min-height: 540px;
    background-position: 62% center;
  }

  .advice-hero-inner,
  .advice-shell {
    width: calc(100% - 32px);
  }

  .advice-hero-inner {
    padding: 20px 0;
  }

  .advice-hero h1 {
    max-width: 640px;
    font-size: clamp(34px, 7vw, 46px);
  }

  .advice-hero p {
    max-width: 640px;
  }

  .advice-types-grid,
  .advice-packages-grid {
    grid-template-columns: 1fr;
  }

  .advice-type-card,
  .advice-package-card {
    min-height: 0;
  }

  .advice-guide {
    min-height: 430px;
    padding: 80px 24px;
    background-position: 65% center;
  }

  .advice-guide-card {
    width: min(680px, 88%);
  }
}

@media (max-width: 600px) {
  .advice-hero {
    min-height: 510px;
    background-position: 68% center;
  }

  .advice-hero-inner {
    align-self: stretch;
    padding-top: 56px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .68) 74%, transparent 100%);
  }

  .advice-hero h1 {
    font-size: 34px;
  }

  .advice-hero p {
    font-size: 16px;
  }

  .advice-hero-actions {
    margin-top: 28px;
    display: grid;
    gap: 12px;
  }

  .advice-button {
    width: 100%;
    min-width: 0;
  }

  .advice-content {
    padding-top: 18px;
  }

  .advice-type-card {
    padding: 25px 20px;
  }

  .advice-type-card h2 {
    align-items: flex-start;
    font-size: 21px;
  }

  .advice-check-list li {
    font-size: 15px;
  }

  .advice-section-title {
    margin: 40px 0 30px;
    gap: 14px;
  }

  .advice-section-title h2 {
    font-size: 23px;
  }

  .advice-guide {
    min-height: 410px;
    padding: 60px 16px;
  }

  .advice-guide-card {
    width: 100%;
    background: rgba(255, 255, 255, .84);
  }

  .advice-modal {
    padding: 10px;
  }

  .advice-dialog {
    max-height: calc(100vh - 20px);
    padding: 24px 18px 20px;
  }

  .advice-form {
    padding: 20px 14px 24px;
  }

  .advice-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Kontakt forma advokata */
body.modal-open {
  overflow: hidden;
}

.inquiry-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 24px 20px;
  display: grid;
  place-items: start center;
  overflow-y: auto;
}

.inquiry-modal[hidden] {
  display: none;
}

.inquiry-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
}

.inquiry-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1000px);
  min-height: 588px;
  display: grid;
  grid-template-columns: 415px minmax(0, 1fr);
  color: #7a7a7a;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .42);
}

.inquiry-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 16px;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #252525;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 22px;
  cursor: pointer;
}

.inquiry-intro {
  padding: 19px 20px 24px;
}

.inquiry-intro h2 {
  margin: 0 0 20px;
  color: #ef5b0a;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.inquiry-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.inquiry-intro img {
  width: 250px;
  height: 251px;
  margin-top: 22px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 4px;
}

.inquiry-form {
  margin: 20px 20px 20px 0;
  padding: 58px 20px 25px;
  border: 1px solid #ededed;
  border-radius: 5px;
}

.inquiry-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 24px;
}

.inquiry-form label {
  min-width: 0;
  display: block;
}

.inquiry-form label > span {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 20px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  color: #252525;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  outline: 0;
}

.inquiry-form input,
.inquiry-form select {
  height: 42px;
  padding: 8px 12px;
}

.inquiry-form textarea {
  min-height: 160px;
  padding: 10px 12px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .12);
}

.inquiry-message-field {
  margin-top: 40px;
}

.inquiry-honeypot {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inquiry-form-status {
  margin: 10px 0 0;
  color: #666;
  font-size: 14px;
}

.inquiry-form-status.is-error {
  color: #b12e1e;
}

.inquiry-submit {
  width: 100%;
  height: 40px;
  margin-top: 26px;
  color: #fff;
  background: #ef5b0a;
  border: 0;
  border-radius: 3px;
  text-transform: uppercase;
  cursor: pointer;
}

.inquiry-submit:hover,
.inquiry-submit:focus-visible {
  background: var(--orange-dark);
}

.inquiry-submit:disabled {
  opacity: .65;
  cursor: wait;
}

/* Pravne stranice, saglasnosti i kontakt udruženja */
.form-consents,
.form-consent {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.form-consents label,
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

.form-consents input,
.form-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 2px 0 0;
  accent-color: var(--orange);
}

.form-consents a,
.form-consent a,
.information-content a,
.contact-copy a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent-compact {
  margin: 22px 0 0;
}

.inquiry-message-field small,
.site-contact-form small {
  display: block;
  margin-top: 5px;
  color: #787878;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.information-page,
.contact-page {
  min-height: 620px;
  padding: 70px 30px;
  background: #f7f7f7 url("/assets/background.avif") center / cover fixed no-repeat;
}

.information-shell,
.contact-shell {
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 48px 55px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .1);
}

.information-kicker {
  margin: 0 0 9px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
}

.information-shell h1,
.contact-copy h1 {
  margin: 0 0 28px;
  color: var(--ink);
  font-family: Verdana, sans-serif;
  font-size: clamp(29px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
}

.information-content {
  max-width: 850px;
  color: #565656;
  font-size: 16px;
  line-height: 1.7;
}

.information-content h2 {
  margin: 31px 0 9px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.information-content p { margin: 0 0 15px; }
.information-content .information-lead { color: #333; font-size: 18px; }

.association-data-list,
.association-contact-list {
  margin: 25px 0;
  padding: 0;
  border-top: 1px solid #e5e5e5;
}

.association-data-list div,
.association-contact-list div {
  display: grid;
  grid-template-columns: minmax(150px, .32fr) 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #e5e5e5;
}

.association-data-list dt,
.association-contact-list dt { color: #777; }
.association-data-list dd,
.association-contact-list dd { margin: 0; color: var(--ink); font-weight: 700; }

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 56px;
}

.contact-copy > p:not(.information-kicker) {
  color: #5f5f5f;
  font-size: 16px;
  line-height: 1.65;
}

.site-contact-form {
  padding: 28px;
  display: grid;
  gap: 17px;
  background: #f8f8f8;
  border: 1px solid #e7e7e7;
}

.site-contact-form label { display: grid; gap: 6px; color: #3f3f3f; font-size: 14px; font-weight: 700; }
.site-contact-form .form-consent,
.inquiry-form .form-consent { display: flex; gap: 9px; font-weight: 400; }
.site-contact-form input:not([type="checkbox"]),
.site-contact-form textarea { width: 100%; padding: 11px 12px; color: var(--ink); background: #fff; border: 1px solid #d8d8d8; border-radius: 3px; font: inherit; }
.site-contact-form textarea { resize: vertical; }
.site-contact-form input:focus,
.site-contact-form textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239, 91, 10, .12); }
.site-contact-form button { min-height: 44px; color: #fff; background: var(--orange); border: 0; border-radius: 3px; font-weight: 700; cursor: pointer; }
.site-contact-form button:hover,
.site-contact-form button:focus-visible { background: var(--orange-dark); }
.site-contact-status { margin: 0; color: #397348; font-size: 14px; }
.site-contact-status.is-error { color: #b12e1e; }

@media (max-width: 760px) {
  .information-page,
  .contact-page { padding: 36px 16px 70px; background-attachment: scroll; }
  .information-shell,
  .contact-shell { padding: 30px 22px; }
  .contact-shell { grid-template-columns: 1fr; gap: 30px; }
  .association-data-list div,
  .association-contact-list div { grid-template-columns: 1fr; gap: 3px; }
  .site-contact-form { padding: 20px 16px; }
}

/* Stranica uspešno poslatog upita */
.inquiry-success-page {
  min-height: 590px;
  padding: 70px 35px;
  display: grid;
  place-items: center;
  background: #f7f7f7 url("/assets/background.avif") center / cover fixed no-repeat;
}

.inquiry-success-card {
  width: min(100%, 700px);
  padding: 48px 55px 52px;
  background: rgba(255, 255, 255, .96);
  border-radius: 5px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .08);
  text-align: center;
}

.success-check {
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-size: 38px;
  font-weight: 700;
}

.inquiry-success-card h1 {
  margin: 0 0 22px;
  font-family: Verdana, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}

.inquiry-success-card p {
  margin: 0 auto 12px;
  color: #6f6f6f;
  font-size: 18px;
  line-height: 1.55;
}

.inquiry-success-card .success-email-note {
  font-size: 15px;
}

.inquiry-success-card .primary-button {
  margin-top: 30px;
}

@media (max-width: 760px) {
  .inquiry-modal {
    padding: 12px;
  }

  .inquiry-dialog {
    min-height: 0;
    display: block;
  }

  .inquiry-intro {
    padding: 20px;
  }

  .inquiry-intro p {
    font-size: 16px;
  }

  .inquiry-intro img {
    width: 150px;
    height: 150px;
    margin-top: 18px;
  }

  .inquiry-form {
    margin: 0 12px 12px;
    padding: 25px 15px 18px;
  }

  .inquiry-fields-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .inquiry-message-field {
    margin-top: 18px;
  }

  .inquiry-submit {
    margin-top: 22px;
  }

  .inquiry-success-page {
    min-height: 560px;
    padding: 40px 20px;
  }

  .inquiry-success-card {
    padding: 38px 24px 42px;
  }

  .inquiry-success-card h1 {
    font-size: 29px;
  }
}

/* Globalni loader stranice */
.page-loader {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  color: #252525;
  background: rgba(248, 248, 248, .97);
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms ease, visibility 220ms ease;
}

body:not(.page-loading) .page-loader {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.legal-loader {
  position: relative;
  width: 127px;
  height: 127px;
}

.loader-ring,
.loader-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.loader-ring-outer,
.loader-orbit-outer {
  width: 119px;
  height: 119px;
}

.loader-ring-inner,
.loader-orbit-inner {
  width: 88px;
  height: 88px;
}

.loader-ring-outer {
  border: 2px solid rgba(239, 91, 10, .48);
  box-shadow:
    0 0 9px rgba(239, 91, 10, .34),
    0 0 20px rgba(239, 91, 10, .18),
    inset 0 0 8px rgba(239, 91, 10, .15);
}

.loader-ring-inner {
  border: 2px solid rgba(37, 37, 37, .38);
  box-shadow:
    0 0 8px rgba(37, 37, 37, .28),
    0 0 17px rgba(37, 37, 37, .12),
    inset 0 0 7px rgba(37, 37, 37, .12);
}

.loader-orbit {
  animation: loader-orbit-clockwise 1.4s linear infinite;
}

.loader-orbit-inner {
  animation-name: loader-orbit-counterclockwise;
  animation-duration: 1.05s;
}

.loader-orbit span {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.loader-orbit-outer span {
  background: #252525;
  box-shadow: 0 0 5px 2px rgba(37, 37, 37, .28);
}

.loader-orbit-inner span {
  background: #ef5b0a;
  box-shadow: 0 0 6px 2px rgba(239, 91, 10, .38);
}

.loader-scale {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  color: #252525;
  transform: translate(-50%, -50%);
  animation: loader-scale-color 1.4s ease-in-out infinite;
}

.loader-scale g {
  stroke-width: 4;
}

.loader-scale .loader-pan {
  fill: currentColor;
  fill-opacity: .13;
}

.loader-label {
  margin-top: 5px;
  color: #686868;
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

@keyframes loader-orbit-clockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes loader-orbit-counterclockwise {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes loader-scale-color {
  0%, 100% {
    color: #252525;
    filter: drop-shadow(0 0 0 rgba(239, 91, 10, 0));
  }
  50% {
    color: #ef5b0a;
    filter: drop-shadow(0 0 7px rgba(239, 91, 10, .34));
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-orbit,
  .loader-scale {
    animation-duration: 3s;
  }
}

@media (max-width: 600px) {
  .desktop-only {
    display: none;
  }

  .hero-content {
    width: 305px;
  }

  .hero h1 {
    font-size: 66px;
    line-height: 1;
    letter-spacing: -1.6px;
  }

  .hero p {
    font-size: 23px;
    line-height: 1.5;
  }

  .section-shell {
    width: calc(100% - 60px);
  }

  .practice-section {
    padding-top: 40px;
  }

  .practice-shell {
    padding: 0 0 30px;
    background: transparent;
  }

  .practice-section h2,
  .why-section h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .practice-section h2 {
    padding-bottom: 20px;
  }

  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .practice-card {
    min-height: 82px;
    padding: 12px 10px;
    gap: 9px;
  }

  .practice-card img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .practice-card h3 {
    font-size: 10px;
    line-height: 1.3;
  }

  .practice-footer {
    padding: 30px 0 0;
    display: block;
  }

  .text-link {
    display: inline-block;
    margin-top: 22px;
  }

  .why-section {
    padding: 55px 0;
  }

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

  .benefit-list {
    margin-top: 3px;
  }

  .footer-inner {
    width: calc(100% - 60px);
    padding-bottom: 62px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    width: 190px;
  }

  .copyright {
    left: 0;
    width: 100%;
    text-align: left;
  }
}

/* Unutrašnje stranice */
.utility-bar {
  display: none;
}

.inner-page .utility-bar {
  height: 35px;
  display: block;
  color: #a8a8a8;
  background: #252525;
  font-size: 11px;
  line-height: 35px;
  text-transform: uppercase;
}

.utility-inner {
  width: min(calc(100% - 66px), 1199px);
  height: 35px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-member-label {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  color: #d6d6d6;
  transform: translateX(-50%);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: .01em;
  text-transform: none;
}

.portal-member-label strong { color: #fff; }

.profile-status-indicator {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  display: inline-block;
  border-radius: 50%;
}

.profile-status-indicator.is-active {
  background: #44b866;
  box-shadow: 0 0 0 0 rgba(68, 184, 102, .46);
  animation: profile-status-fade 1.9s ease-in-out infinite;
}

.profile-status-indicator.is-inactive {
  background: #dc584d;
  box-shadow: 0 0 0 2px rgba(220, 88, 77, .16);
}

.profile-status-indicator[hidden] { display: none !important; }

@keyframes profile-status-fade {
  0%, 100% { opacity: .6; box-shadow: 0 0 0 0 rgba(68, 184, 102, .44); }
  50% { opacity: 1; box-shadow: 0 0 0 5px rgba(68, 184, 102, 0); }
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
}

.utility-left a,
.utility-right a,
.language-label {
  padding: 0 11px;
  border-right: 1px solid #3f3f3f;
}

.utility-right .portal-header-logout {
  height: 35px;
  padding: 0 11px;
  color: inherit;
  background: transparent;
  border: 0;
  border-right: 1px solid #3f3f3f;
  font: inherit;
  font-size: inherit;
  line-height: 35px;
  text-transform: uppercase;
  cursor: pointer;
}

.utility-right .portal-header-logout:hover,
.utility-right .portal-header-logout:focus-visible {
  color: #fff;
}

.utility-left a:first-child {
  padding-left: 0;
}

.utility-right .cart-link {
  padding-right: 0;
  border-right: 0;
  font-size: 16px;
}

.membership-countdown {
  padding: 0 0 0 11px;
  color: #ffb07f;
  white-space: nowrap;
  font-weight: 700;
  text-transform: none;
}

.utility-bar a:hover,
.utility-bar a:focus-visible {
  color: #fff;
}

.inner-page .site-header {
  position: relative;
  height: 81px;
  color: #252525;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
}

.inner-page .header-inner {
  height: 81px;
}

.inner-page .brand-white {
  width: 150px;
  align-self: center;
}

.inner-page .brand-white img {
  width: 150px;
  height: 61px;
}

.inner-page .lawyer-cta {
  color: var(--orange);
  border-color: var(--orange);
}

.inner-page .lawyer-cta:hover,
.inner-page .lawyer-cta:focus-visible {
  color: #fff;
}

.lawyers-page {
  min-height: 680px;
  padding: 20px 0 34px;
  background: #f7f7f7 url("/assets/background.avif") center center / cover fixed no-repeat;
}

.lawyers-shell {
  width: min(calc(100% - 87px), 1178px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.lawyers-sidebar {
  padding: 0;
}

.archive-search {
  width: 100%;
  height: 42px;
  padding: 8px 16px;
  color: #1d2327;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 3px;
  outline: 0;
}

.archive-search:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .14);
}

.filters-toggle {
  display: none;
}

.lawyer-filters {
  margin-top: 25px;
}

.filter-loading,
.filter-error {
  margin: 0;
  color: #777;
}

.filter-group {
  min-width: 0;
  margin: 0 0 15px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  border: 1px solid #e2e7eb;
  border-radius: 7px;
  box-shadow: 0 4px 14px rgba(21, 45, 69, .05);
}

.filter-group legend {
  width: 100%;
  margin: 0;
  padding: 9px 12px;
  color: #fff;
  background: #183b56;
  border-left: 4px solid var(--orange);
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.filter-options {
  padding: 8px 12px 10px;
  background: transparent;
}

.filter-options label {
  min-height: 31px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 7px;
  color: #44515d;
  font-size: 14px;
  cursor: pointer;
}

.filter-options input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--orange);
}

.filter-clear-button {
  margin: 7px 6px 2px;
  padding: 3px 0;
  color: #9d460f;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.filter-clear-button:hover,
.filter-clear-button:focus-visible {
  color: var(--orange);
}

.practice-menu {
  padding: 9px 10px 11px;
  background: #fff;
}

.practice-menu a {
  display: block;
  padding: 6px 5px;
  color: #777;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
}

.practice-menu a:last-child {
  border-bottom: 0;
}

.practice-menu a:hover,
.practice-menu a:focus-visible,
.practice-menu a[aria-current="page"] {
  color: var(--orange);
}

.practice-menu.is-practice-catalog {
  display: grid;
  gap: 2px;
}

.practice-filter-group {
  border-bottom: 1px solid #ececec;
}

.practice-filter-group summary {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.practice-filter-group summary::-webkit-details-marker {
  display: none;
}

.practice-filter-group summary > a {
  flex: 1;
  border: 0;
  font-weight: 700;
}

.practice-filter-group summary > span,
.practice-term-group-count {
  min-width: 22px;
  padding: 2px 6px;
  color: #6f7b85;
  background: #f0f3f5;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.practice-filter-children {
  margin: -1px 0 7px 10px;
  padding-left: 9px;
  border-left: 2px solid #edf0f2;
}

.practice-filter-children a {
  padding: 4px 5px 4px 3px;
  border-bottom: 0;
  font-size: 12px;
  line-height: 1.35;
  text-transform: none;
}

.lawyer-practices a:hover,
.lawyer-practices a:focus-visible {
  color: var(--orange);
}

.lawyers-results {
  min-width: 0;
}

.lawyers-status {
  padding: 30px;
  color: #777;
  background: #fff;
  border-radius: 5px;
  text-align: center;
}

.lawyers-status.is-error {
  color: #a43220;
}

.lawyer-card {
  position: relative;
  min-height: 178px;
  margin: 12px 0 0;
  padding: 13px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid #e1e7eb;
  border-left: 4px solid #1d4665;
  border-radius: 9px;
  box-shadow: 0 6px 20px rgba(24, 59, 86, .07);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lawyer-card:hover {
  border-left-color: var(--orange);
  box-shadow: 0 12px 28px rgba(24, 59, 86, .12);
  transform: translateY(-2px);
}

.lawyer-card:first-child {
  margin-top: 12px;
}

.lawyer-card.has-many-practices {
  min-height: 178px;
}

.lawyer-card.has-long-practices {
  min-height: 178px;
}

.lawyer-photo,
.lawyer-photo img {
  width: 150px;
  height: 178px;
}

.lawyer-photo img {
  object-fit: cover;
  object-position: center 22%;
  border-radius: 6px;
}

.lawyer-photo img.is-default-lawyer-photo {
  padding: 12px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.lawyer-card-body {
  min-width: 0;
  padding: 4px 4px 2px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  gap: 24px;
}

.lawyer-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lawyer-info h2 {
  margin: 0;
  color: #183b56;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.lawyer-info h2 a:hover,
.lawyer-info h2 a:focus-visible {
  color: #0d2940;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.lawyer-excerpt {
  margin: 10px 0 15px;
  color: #5a6670;
  font-size: 14px;
  line-height: 1.55;
}

.lawyer-practices {
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lawyer-practice-tag,
.lawyer-practice-more {
  min-height: 27px;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  color: #35556d;
  background: #f1f5f7;
  border: 1px solid #dce5ea;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.lawyer-practice-tag:hover,
.lawyer-practice-tag:focus-visible {
  color: #9c430d;
  background: #fff5ed;
  border-color: rgba(239, 91, 10, .48);
}

.lawyer-practice-more {
  color: #66737d;
  background: #fff;
}

.lawyer-actions {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.profile-button {
  min-width: 154px;
  min-height: 42px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--orange);
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(159, 64, 11, .18);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.profile-button:hover,
.profile-button:focus-visible {
  background: var(--orange-dark);
}

.lawyer-languages {
  margin: 12px 0 0;
  color: #68757e;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.lawyer-languages span {
  display: block;
  margin-bottom: 2px;
  color: #405566;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.archive-pagination {
  margin: 18px 0 2px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.archive-pagination button {
  width: 36px;
  height: 36px;
  color: #555;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  cursor: pointer;
}

.archive-pagination button[aria-current="page"],
.archive-pagination button:hover {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

@media (max-width: 900px) {
  .inner-page .utility-bar {
    height: 30px;
    line-height: 30px;
  }

  .inner-page .utility-inner {
    width: 100%;
    height: 30px;
    justify-content: flex-end;
  }

  .inner-page .utility-left,
  .inner-page .utility-right > :not(.cart-link):not(.portal-header-logout) {
    display: none;
  }

  .portal-member-label { display: none; }

  .inner-page .utility-right .cart-link {
    height: 30px;
    padding: 0 8px;
    display: block;
    color: #696969;
    line-height: 30px;
  }

  .inner-page .utility-right .portal-header-logout {
    height: 30px;
    padding: 0 9px;
    display: block;
    line-height: 30px;
  }

  .inner-page .site-header,
  .inner-page .header-inner {
    height: 75px;
  }

  .inner-page .brand-white {
    width: 143px;
    margin-left: 12px;
  }

  .inner-page .brand-white img {
    width: 143px;
    height: 58px;
  }

  .inner-page .menu-toggle {
    color: var(--orange);
  }

  .inner-page .mobile-menu {
    top: 68px;
  }

  .lawyers-page {
    min-height: 500px;
    padding: 0 0 30px;
    background-position: center top;
  }

  .lawyers-shell {
    width: 100%;
    display: block;
  }

  .lawyers-sidebar {
    margin: 0 10px;
    padding: 16px 10px 10px;
    background: rgba(255, 255, 255, .78);
  }

  .archive-search {
    height: 42px;
  }

  .filters-toggle {
    width: 100%;
    height: 41px;
    margin-top: 13px;
    display: block;
    color: #fff;
    background: #ef5b0a;
    border: 0;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
  }

  .filters-toggle span {
    display: inline-block;
    margin-right: 5px;
    font-size: 12px;
    transform: rotate(-90deg);
    transition: transform 150ms ease;
  }

  .filters-toggle[aria-expanded="true"] span {
    transform: rotate(0);
  }

  .lawyer-filters {
    display: none;
    margin: 15px 0 0;
  }

  .lawyer-filters.is-open {
    display: block;
  }

  .lawyers-results {
    padding: 39px 20px 0;
  }

  .lawyer-card,
  .lawyer-card:first-child {
    min-height: 0;
    margin: 0 0 12px;
    padding: 12px;
    display: block;
  }

  .lawyer-card.has-many-practices,
  .lawyer-card.has-long-practices {
    min-height: 0;
  }

  .lawyer-photo,
  .lawyer-photo img {
    width: 100%;
    height: 220px;
  }

  .lawyer-photo {
    display: grid;
    place-items: center;
    background: #f4f6f8;
    border-radius: 6px;
  }

  .lawyer-photo img {
    object-fit: contain;
    object-position: center;
  }

  .lawyer-card-body {
    padding: 17px 3px 3px;
    display: block;
  }

  .lawyer-info h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .lawyer-excerpt {
    margin: 10px 0 16px;
    font-size: 15px;
    line-height: 21px;
  }

  .lawyer-practices {
    min-height: 0;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 21px;
  }

  .lawyer-card.has-many-practices {
    padding-bottom: 13px;
  }

  .lawyer-actions { align-items: flex-start; }
  .lawyer-languages {
    margin-top: 8px;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .inner-page .footer-inner {
    width: calc(100% - 40px);
  }
}

/* Pojedinačni profil advokata */
.lawyer-profile-page {
  min-height: 610px;
  padding: 19px 0 28px;
  background: #f7f7f7 url("/assets/background.avif") center center / cover fixed no-repeat;
}

.lawyer-profile-shell {
  width: min(calc(100% - 66px), 1199px);
  margin: 0 auto;
  padding-right: 12px;
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  align-items: start;
  gap: 6px;
}

.lawyer-profile-sidebar > div,
.lawyer-profile-content {
  background: rgba(255, 255, 255, .94);
  border-radius: 3px;
}

.profile-photo-panel {
  padding: 11px 10px 10px;
}

.profile-photo {
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.profile-photo.is-default-lawyer-photo {
  padding: 18px;
}

.profile-inquiry-button {
  width: 100%;
  height: 39px;
  margin-top: 15px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  background: #e95d0f;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .14);
  font-size: 15px;
  font-weight: 700;
  line-height: 15px;
}

.profile-inquiry-button:hover,
.profile-inquiry-button:focus-visible {
  background: var(--orange-dark);
}

.profile-inquiry-button[aria-disabled="true"] {
  cursor: default;
}

.profile-email-panel {
  min-height: 37px;
  margin-top: 6px;
  padding: 9px 10px;
  color: #7a7a7a;
  font-size: 16px;
  line-height: 19px;
}

.profile-email-panel.is-empty {
  visibility: hidden;
}

.profile-email-panel a:hover,
.profile-email-panel a:focus-visible {
  color: var(--orange);
}

.profile-practice-panel {
  min-height: 69px;
  margin-top: 10px;
  padding: 11px 10px 10px;
}

.profile-practice-panel h2 {
  margin: 0 0 5px;
  color: #252525;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
}

.profile-practice-panel p {
  margin: 0;
  color: #252525;
  font-size: 14px;
  line-height: 20px;
}

.lawyer-profile-content {
  min-height: 568px;
  padding: 20px 30px 25px;
  font-family: Verdana, sans-serif;
}

.profile-loading {
  padding: 30px;
  color: #777;
  text-align: center;
}

.profile-loading.is-error {
  color: #a43220;
}

.profile-title-row {
  min-height: 44px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}

.profile-title-row h1 {
  margin: 0;
  color: #252525;
  font-size: 30px;
  font-weight: 400;
  line-height: 30px;
}

.profile-title-row p {
  margin: 8px 0 0;
  color: #7a7a7a;
  font-size: 14px;
  line-height: 20px;
  text-align: right;
}

.profile-divider {
  height: 2px;
  margin: 0 -20px 33px;
  background: #777;
}

.profile-biography {
  margin-right: -25px;
  margin-left: -4px;
  color: #7a7a7a;
  font-size: 16px;
  line-height: 24px;
}

.profile-biography p {
  margin: 0 0 14.4px;
}

.profile-biography p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .lawyer-profile-page {
    min-height: 500px;
    padding: 11px 0 25px;
    background-position: center top;
  }

  .lawyer-profile-shell {
    width: calc(100% - 20px);
    padding: 0;
    display: block;
  }

  .profile-photo-panel {
    padding: 15px 11px 0;
  }

  .profile-photo {
    width: 100%;
    height: 300px;
  }

  .profile-email-panel {
    min-height: 36px;
    margin-top: 2px;
    padding: 8px 10px;
  }

  .profile-practice-panel {
    min-height: 67px;
    margin-top: 9px;
    padding: 11px 10px 9px;
  }

  .lawyer-profile-content {
    min-height: 0;
    margin-top: 10px;
    padding: 43px 25px 30px;
  }

  .profile-title-row {
    min-height: 68px;
    display: block;
  }

  .profile-title-row h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .profile-title-row p {
    margin-top: 8px;
    text-align: left;
  }

  .profile-divider {
    margin: 0 -15px 52px;
  }

  .profile-biography {
    margin-right: -4px;
    margin-left: -4px;
    font-size: 16px;
    line-height: 24px;
  }
}

/* Status profila advokata i prijava */
.membership-page,
.lawyer-signup-page {
  background: #f7f7f7 url("/assets/background.avif") center center / cover fixed no-repeat;
}

.membership-page {
  min-height: 717px;
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
}

.membership-shell {
  width: min(calc(100% - 66px), 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  align-items: start;
  gap: 70px;
}

.membership-copy {
  max-width: 645px;
}

.membership-kicker {
  margin: 0 0 9px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.membership-copy h1,
.lawyer-signup-heading h1 {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 28px;
  line-height: 1.2;
}

.membership-copy p {
  margin: 0 0 16px;
  color: #6f6f6f;
  font-size: 18px;
  line-height: 1.48;
}

.membership-actions {
  display: grid;
  gap: 10px;
}

.membership-benefits-card {
  padding: 27px 28px 25px;
  color: #fff;
  background: #252d37;
  border-top: 4px solid var(--orange);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.membership-benefits-kicker {
  margin: 0 0 16px;
  color: #ff9a5e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.membership-benefits-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.membership-benefits-list li {
  position: relative;
  padding: 10px 0 10px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px;
  line-height: 1.42;
}

.membership-benefits-list li::before {
  content: "✓";
  position: absolute;
  top: 9px;
  left: 0;
  color: #ff9a5e;
  font-weight: 700;
}

.membership-benefits-note {
  margin: 17px 0 20px;
  color: #cfd5dc;
  font-size: 12px;
  line-height: 1.5;
}

.membership-benefits-card .membership-apply-button { width: 100%; }
.membership-benefits-card .membership-pay-button { background: transparent; border-color: rgba(255, 255, 255, .65); color: #fff; }
.membership-benefits-card .membership-pay-button:hover,
.membership-benefits-card .membership-pay-button:focus-visible { color: var(--ink); background: #fff; }

.membership-apply-button,
.membership-pay-button {
  min-height: 52px;
  padding: 14px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #fff;
  background: var(--orange);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(80, 38, 10, .16);
  font-weight: 700;
  text-align: center;
}

.membership-pay-button {
  color: var(--orange);
  background: #fff;
  border: 1px solid var(--orange);
  box-shadow: none;
}

.membership-pay-button[hidden] {
  display: none !important;
}

[data-membership-cta][hidden] {
  display: none !important;
}

.membership-apply-button:hover,
.membership-apply-button:focus-visible {
  color: #fff;
  background: var(--orange-dark);
}

.membership-pay-button:hover,
.membership-pay-button:focus-visible {
  color: #fff;
  background: var(--orange);
}

.lawyer-signup-page {
  min-height: 720px;
  padding: 58px 0 70px;
}

.lawyer-signup-shell {
  width: min(calc(100% - 66px), 1030px);
  margin: 0 auto;
}

.lawyer-signup-heading {
  max-width: 750px;
  margin: 0 auto 27px;
  text-align: center;
}

.lawyer-signup-heading h1 {
  font-size: 34px;
}

.lawyer-signup-heading > p:last-child {
  margin: 0;
  color: #696969;
  font-size: 17px;
  line-height: 1.55;
}

.lawyer-signup-heading .lawyer-signup-membership-note {
  max-width: 670px;
  margin: 16px auto 0;
  padding: 13px 16px;
  color: #535d67;
  background: rgba(239, 91, 10, .08);
  border-left: 3px solid var(--orange);
  font-size: 14px;
  line-height: 1.55;
}

.lawyer-signup-form,
.lawyer-signup-success {
  padding: 34px;
  background: rgba(255, 255, 255, .96);
  border-radius: 5px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .09);
}

.signup-progress {
  margin: -2px 0 32px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e6eaed;
}

.signup-progress ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.signup-progress li {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8a969f;
  font-size: 13px;
  line-height: 1.25;
}

.signup-progress li:not(:last-child)::after {
  position: absolute;
  top: 17px;
  right: -7px;
  width: 14px;
  height: 2px;
  background: #dce2e6;
  content: "";
}

.signup-progress li > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: #64717b;
  background: #f1f4f6;
  border: 1px solid #d9e0e4;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.signup-progress li > strong { overflow: hidden; font-weight: 700; text-overflow: ellipsis; }
.signup-progress li.is-active { color: #183b56; }
.signup-progress li.is-active > span { color: #fff; background: var(--orange); border-color: var(--orange); box-shadow: 0 4px 10px rgba(239, 91, 10, .25); }
.signup-progress li.is-complete { color: #405d52; }
.signup-progress li.is-complete > span { color: #fff; background: #3f7159; border-color: #3f7159; }
.signup-progress li.is-complete > span::before { content: "✓"; }
.signup-progress li.is-complete > span { font-size: 0; }
.signup-progress li.is-complete > span::before { font-size: 15px; }

.signup-form-step[hidden] { display: none; }

.signup-step-heading {
  margin: 0 0 23px;
  padding: 0 0 17px;
  border-bottom: 1px solid #edf0f2;
}

.signup-step-heading p {
  margin: 0 0 5px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.signup-step-heading h2 { margin: 0; color: #203948; font-size: 25px; line-height: 1.25; }
.signup-step-heading > span { display: block; margin-top: 7px; color: #68747d; font-size: 15px; line-height: 1.5; }

.signup-step-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.signup-next,
.signup-back {
  min-height: 45px;
  padding: 10px 18px;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.signup-next { color: #fff; background: var(--orange); border: 1px solid var(--orange); box-shadow: 0 5px 13px rgba(239, 91, 10, .17); }
.signup-next:hover, .signup-next:focus-visible { background: var(--orange-dark); border-color: var(--orange-dark); }
.signup-back { color: #35576e; background: #fff; border: 1px solid #cbd7df; }
.signup-back:hover, .signup-back:focus-visible { color: #183b56; background: #eef4f7; border-color: #9eb5c3; }

@media (max-width: 700px) {
  .signup-progress { margin-bottom: 24px; padding-bottom: 20px; }
  .signup-progress ol { gap: 8px; }
  .signup-progress li { display: block; text-align: center; font-size: 10px; }
  .signup-progress li > span { width: 30px; height: 30px; margin: 0 auto 6px; font-size: 12px; }
  .signup-progress li:not(:last-child)::after { top: 14px; right: -5px; width: 10px; }
  .signup-progress li > strong { display: block; white-space: normal; }
  .signup-step-heading { margin-bottom: 19px; padding-bottom: 14px; }
  .signup-step-heading h2 { font-size: 22px; }
  .signup-step-heading > span { font-size: 14px; }
  .signup-step-actions { margin-top: 23px; }
  .signup-next, .signup-back { min-height: 43px; padding: 9px 14px; }
}

.lawyer-signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 32px;
}

.lawyer-signup-form label {
  display: block;
  color: #5d5d5d;
}

.lawyer-signup-form label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}

.lawyer-signup-form input:not([type="checkbox"]):not([type="file"]),
.lawyer-signup-form textarea {
  width: 100%;
  color: #222;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #cfcfcf;
  border-radius: 0;
  outline: 0;
  font: inherit;
}

.lawyer-signup-form input:not([type="checkbox"]):not([type="file"]) {
  height: 38px;
  padding: 4px 2px;
}

.lawyer-signup-form textarea {
  min-height: 135px;
  padding: 8px 2px;
  resize: vertical;
}

.lawyer-signup-form input:not([type="checkbox"]):not([type="file"]):focus,
.lawyer-signup-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 2px 0 -1px var(--orange);
}

.lawyer-form-wide {
  grid-column: 1 / -1;
}

.lawyer-term-fieldset {
  min-width: 0;
  margin: 24px 0 0;
  padding: 19px;
  background: linear-gradient(135deg, #fffaf7 0%, #ffffff 62%);
  border: 1px solid #eaded6;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(64, 37, 22, .05);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.lawyer-term-fieldset:focus-within {
  border-color: rgba(239, 91, 10, .65);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .10), 0 8px 24px rgba(64, 37, 22, .06);
}

.lawyer-term-fieldset legend {
  width: auto;
  margin: 0;
  padding: 0 7px 0 0;
  color: #2c343c;
  background: transparent;
  border-radius: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.lawyer-term-fieldset legend::before {
  width: 8px;
  height: 8px;
  margin: 0 9px 2px 0;
  display: inline-block;
  background: var(--orange);
  border-radius: 50%;
  content: "";
}

.lawyer-term-fieldset legend em {
  color: var(--orange);
  font-style: normal;
}

.lawyer-term-options {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 9px;
  padding: 0;
}

.lawyer-term-fieldset[data-term-group="jezik"] .lawyer-term-options,
.lawyer-term-fieldset[data-term-group="drzava"] .lawyer-term-options,
.lawyer-term-fieldset[data-member-term-group="jezik"] .lawyer-term-options,
.lawyer-term-fieldset[data-member-term-group="drzava"] .lawyer-term-options {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.lawyer-term-options > p {
  grid-column: 1 / -1;
  margin: 2px 0;
  color: #777;
}

.lawyer-term-options label {
  min-height: 46px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  color: #34404a;
  background: #fff;
  border: 1px solid #ddd6d1;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(45, 29, 18, .03);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.lawyer-term-options label:hover {
  border-color: rgba(239, 91, 10, .55);
  box-shadow: 0 4px 10px rgba(124, 58, 20, .08);
  transform: translateY(-1px);
}

.lawyer-term-options label:has(input[type="checkbox"]:checked) {
  color: #8b3908;
  background: #fff1e8;
  border-color: var(--orange);
  box-shadow: 0 3px 10px rgba(239, 91, 10, .12);
}

.lawyer-term-options label:has(input[type="checkbox"]:focus-visible) {
  outline: 3px solid rgba(239, 91, 10, .28);
  outline-offset: 2px;
}

.lawyer-term-options input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--orange);
}

.lawyer-term-options.is-practice-catalog {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  align-items: start;
}

.practice-term-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd6d1;
  border-radius: 8px;
}

.practice-term-group summary {
  min-height: 46px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #34404a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.practice-term-group summary::-webkit-details-marker {
  display: none;
}

.practice-term-group[open] summary {
  color: #8b3908;
  background: #fff8f3;
  border-bottom: 1px solid #f1ddd0;
}

.practice-term-children {
  padding: 8px;
  display: grid;
  gap: 7px;
  background: #fffcfa;
}

.lawyer-term-options .practice-term-children label {
  min-height: 40px;
  padding: 7px 9px;
  font-size: 13px;
}

.lawyer-term-options .practice-term-children .is-whole-area {
  color: #7b451f;
  background: #fff4ec;
  border-style: dashed;
}

.lawyer-upload-grid {
  margin-top: 29px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 32px;
}

.lawyer-upload-field {
  min-height: 168px;
  padding: 16px;
  background: #fafafa;
  border: 1px dashed #c5c5c5;
  border-radius: 4px;
}

.lawyer-upload-field > span {
  color: #333;
  font-weight: 700;
}

.lawyer-upload-field input[type="file"] {
  width: 100%;
  margin: 19px 0 13px;
  color: #555;
  font-size: 14px;
}

.lawyer-upload-field small {
  display: block;
  color: #777;
  font-size: 13px;
  line-height: 1.45;
}

.lawyer-about-field {
  margin-top: 29px;
}

.lawyer-about-field > span {
  color: #333;
  font-weight: 700;
}

.lawyer-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.lawyer-signup-status {
  margin: 24px 0 0;
  padding: 12px 15px;
  color: #2f6032;
  background: #edf8ee;
  border-left: 4px solid #49824d;
}

.lawyer-signup-status.is-error {
  color: #8d2923;
  background: #fff0ee;
  border-left-color: #c8463c;
}

.lawyer-signup-submit {
  min-width: 190px;
  min-height: 48px;
  margin: 29px auto 0;
  padding: 12px 24px;
  display: block;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 3px;
  font-weight: 700;
  cursor: pointer;
}

.lawyer-signup-submit:hover,
.lawyer-signup-submit:focus-visible {
  background: var(--orange-dark);
}

.lawyer-signup-submit:disabled {
  opacity: .7;
  cursor: wait;
}

.lawyer-signup-note {
  margin: 26px 0 0;
  padding: 14px 16px;
  color: #696969;
  border: 1px dashed #aaa;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.lawyer-signup-success {
  max-width: 680px;
  margin: 40px auto 0;
  text-align: center;
}

.lawyer-signup-success .success-check {
  margin-inline: auto;
}

.lawyer-signup-success h2 {
  margin: 18px 0 10px;
  color: var(--orange);
  font-size: 28px;
}

.lawyer-signup-success p {
  margin: 0 0 24px;
  color: #666;
}

@media (max-width: 900px) {
  .membership-page {
    min-height: 620px;
    padding: 85px 0;
  }

  .membership-shell {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .membership-benefits-card { max-width: 520px; }

  .membership-apply-button {
    width: fit-content;
  }

  .lawyer-signup-page {
    padding: 38px 0 50px;
  }

  .lawyer-signup-shell {
    width: calc(100% - 32px);
  }
}

@media (max-width: 600px) {
  .membership-page {
    padding: 56px 0;
  }

  .membership-copy h1,
  .lawyer-signup-heading h1 {
    font-size: 29px;
  }

  .membership-copy p {
    font-size: 16px;
  }

  .membership-benefits-card { padding: 23px 20px; }
  .lawyer-signup-heading .lawyer-signup-membership-note { margin-top: 14px; font-size: 13px; }

  .membership-apply-button {
    width: 100%;
  }

  .lawyer-signup-form,
  .lawyer-signup-success {
    padding: 23px 18px;
  }

  .lawyer-signup-grid,
  .lawyer-upload-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lawyer-term-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lawyer-term-fieldset {
    margin-top: 18px;
    padding: 16px;
    border-radius: 10px;
  }

  .lawyer-term-fieldset legend {
    font-size: 16px;
  }

  .lawyer-term-options label {
    min-height: 44px;
  }

  .lawyer-signup-heading {
    text-align: left;
  }
}

/* Prijava za advokate */
.portal-login-page {
  min-height: 690px;
  padding: 88px 20px;
  display: grid;
  place-items: center;
  background: #f7f7f7 url("/assets/background.avif") center center / cover fixed no-repeat;
}

.portal-login-card {
  width: min(100%, 500px);
  padding: 42px 44px 38px;
  background: rgba(255, 255, 255, .97);
  border-radius: 5px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .1);
  text-align: center;
}

.portal-login-card h1 {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 32px;
  line-height: 1.18;
}

.portal-login-intro {
  margin: 0 0 31px;
  color: #6b6b6b;
  line-height: 1.5;
}

.portal-login-form {
  text-align: left;
}

.portal-login-form > label:not(.portal-remember):not(.lawyer-honeypot) {
  margin-bottom: 21px;
  display: block;
  color: #555;
}

.portal-login-form label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}

.portal-login-form input[type="email"],
.portal-login-form input[type="password"] {
  width: 100%;
  height: 45px;
  padding: 9px 11px;
  color: #222;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  outline: 0;
  font: inherit;
}

.portal-login-form input[type="email"]:focus,
.portal-login-form input[type="password"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .14);
}

.portal-remember {
  margin: 3px 0 23px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  cursor: pointer;
  font-size: 14px;
}

.portal-remember input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--orange);
}

.portal-remember span {
  margin: 0 !important;
}

.portal-login-form > button {
  width: 100%;
  min-height: 48px;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 3px;
  font-weight: 700;
  cursor: pointer;
}

.portal-login-form > button:hover,
.portal-login-form > button:focus-visible {
  background: var(--orange-dark);
}

.portal-login-form > button:disabled {
  opacity: .7;
  cursor: wait;
}

.portal-login-status {
  margin: 0 0 17px;
  padding: 11px 13px;
  color: #2f6032;
  background: #edf8ee;
  border-left: 4px solid #49824d;
  font-size: 14px;
  line-height: 1.45;
}

.portal-login-status.is-error {
  color: #8d2923;
  background: #fff0ee;
  border-left-color: #c8463c;
}

.portal-login-links {
  margin-top: 27px;
  padding-top: 22px;
  border-top: 1px solid #e4e4e4;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.portal-login-links p {
  margin: 0 0 10px;
}

.portal-login-links a {
  color: var(--orange);
  font-weight: 700;
}

.portal-login-links a:hover,
.portal-login-links a:focus-visible {
  text-decoration: underline;
}

.portal-login-pending {
  color: #888;
  font-size: 13px;
}

@media (max-width: 600px) {
  .portal-login-page {
    min-height: 610px;
    padding: 45px 16px;
  }

  .portal-login-card {
    padding: 31px 23px 27px;
  }

  .portal-login-card h1 {
    font-size: 29px;
  }
}

/* Potvrda e-mail adrese */
.email-verification-page {
  min-height: 650px;
  padding: 90px 20px;
  display: grid;
  place-items: center;
  background: #f7f7f7 url("/assets/background.avif") center / cover fixed no-repeat;
}

.email-verification-card {
  width: min(100%, 580px);
  padding: 46px 52px 42px;
  background: rgba(255, 255, 255, .97);
  border-radius: 5px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .1);
  text-align: center;
}

.email-verification-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-size: 27px;
}

.email-verification-card h1 {
  margin: 0 0 13px;
  color: var(--orange);
  font-size: 31px;
}

.email-verification-message {
  margin: 0;
  color: #666;
  line-height: 1.65;
}

.email-verification-message.is-success { color: #2f6032; }
.email-verification-message.is-error { color: #9a332b; }

.email-verification-actions {
  margin-top: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.email-verification-secondary {
  color: #666;
  text-decoration: underline;
}

/* O nama, Blog i E-book */
.editorial-page-title {
  min-height: 165px;
  display: grid;
  place-items: center;
  padding: 35px 20px;
  background: #fff;
}

.editorial-page-title h1 {
  margin: 0;
  color: var(--orange);
  font-size: 25px;
}

.about-page-background,
.editorial-archive-page,
.editorial-single-page {
  background: #f5f5f5 url("/assets/background.avif") center / cover fixed no-repeat;
}

.about-page-shell {
  width: min(100%, 1200px);
  min-height: 620px;
  margin: 0 auto;
  padding: 60px 32px 68px;
}

.about-lead-grid {
  margin-bottom: 7px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.about-image-frame {
  overflow: hidden;
  border-radius: 4px;
}

.about-image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 530;
  display: block;
  object-fit: cover;
}

.about-intro { padding: 0 0 0 0; }
.about-intro h2 {
  margin: 0 0 17px;
  color: var(--orange);
  font-size: 22px;
  line-height: 1.05;
}

.about-page-content p {
  margin: 0 0 17px;
  color: #777;
  font-size: 16px;
  line-height: 1.45;
}

.about-page-content strong { color: #666; }
.about-copy p:last-child { margin-bottom: 0; }

.editorial-archive-page { min-height: 720px; padding: 25px 32px 70px; }
.editorial-archive-shell { width: min(100%, 1200px); margin: 0 auto; }
.editorial-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 570px));
  align-items: start;
  justify-content: start;
  gap: 28px;
}

.ebook-archive-route .editorial-card-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 380px)); }

.editorial-card {
  overflow: hidden;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

.editorial-card-image {
  overflow: hidden;
  display: block;
  background: #eee;
}

.editorial-card.is-blog .editorial-card-image { aspect-ratio: 4 / 2.85; }
.editorial-card.is-ebook .editorial-card-image { aspect-ratio: 1.46 / 1; }
.editorial-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.editorial-card-image.has-no-image { display: grid; place-items: center; color: var(--orange); font-size: 60px; }
.editorial-card-body { padding: 20px 17px 25px; }
.editorial-card.is-ebook .editorial-card-body { padding: 35px 30px 30px; }
.editorial-card h2 { margin: 0 0 16px; font-size: 25px; line-height: 1.17; }
.editorial-card.is-blog h2 a { color: var(--orange); }
.editorial-card.is-ebook h2 a { color: #292929; }
.editorial-card h2 a { text-decoration: none; }
.editorial-card h2 a:hover,
.editorial-card h2 a:focus-visible { text-decoration: underline; }
.editorial-card p {
  margin: 0 0 25px;
  display: -webkit-box;
  overflow: hidden;
  color: #777;
  font-size: 16px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.editorial-card.is-blog p { -webkit-line-clamp: 2; }
.editorial-card.is-ebook p { margin-bottom: 0; -webkit-line-clamp: 10; }
.editorial-read-more {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 10px 22px;
  color: #fff;
  background: var(--orange);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.editorial-read-more:hover,
.editorial-read-more:focus-visible { background: var(--orange-dark); }

.editorial-loading,
.editorial-error {
  max-width: 650px;
  margin: 80px auto;
  padding: 28px;
  color: #686868;
  background: rgba(255, 255, 255, .96);
  border-radius: 4px;
  text-align: center;
}

.editorial-single-page { min-height: 720px; padding: 22px 20px 70px; }
.editorial-single-shell { width: min(100%, 800px); margin: 0 auto; }
.editorial-back-link {
  margin: 0 23px 12px auto;
  display: flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.editorial-back-link:hover,
.editorial-back-link:focus-visible { text-decoration: underline; }
.editorial-single-card {
  padding: 21px 20px 40px;
  background: rgba(255, 255, 255, .98);
  border-radius: 4px;
  box-shadow: 0 3px 13px rgba(0, 0, 0, .06);
}
.editorial-single-card > h1 {
  margin: 0 0 16px;
  color: #383838;
  font-size: clamp(31px, 4vw, 43px);
  line-height: 1.04;
}
.blog-single-route .editorial-single-card > h1 { color: var(--orange); font-size: clamp(29px, 3vw, 35px); }
.editorial-single-excerpt {
  margin-bottom: 22px;
  color: #777;
  font-size: 16px;
  line-height: 1.48;
}
.editorial-single-excerpt p { margin: 0; }
.editorial-single-image {
  width: 100%;
  height: auto;
  max-height: 620px;
  margin: 0 0 22px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}
.blog-single-route .editorial-single-image { aspect-ratio: 4 / 2.25; }
.editorial-single-content { color: #696969; font-size: 16px; line-height: 1.6; }
.editorial-single-content > :first-child { margin-top: 0; }
.editorial-single-content p { margin: 0 0 18px; }
.editorial-single-content h2 { margin: 35px 0 14px; color: #393939; font-size: 27px; line-height: 1.2; }
.editorial-single-content h3 { margin: 25px 0 10px; color: #444; font-size: 21px; }
.editorial-single-content ul,
.editorial-single-content ol { margin: 0 0 20px; padding-left: 25px; }
.editorial-single-content li { margin-bottom: 8px; }
.editorial-single-content img { max-width: 100%; height: auto; border-radius: 4px; }

@media (max-width: 760px) {
  .editorial-page-title { min-height: 115px; }
  .about-page-shell { padding: 35px 18px 45px; }
  .about-lead-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-intro h2 { font-size: 21px; }
  .editorial-archive-page { padding: 20px 15px 50px; }
  .editorial-card-grid,
  .ebook-archive-route .editorial-card-grid { grid-template-columns: 1fr; }
  .editorial-single-page { padding: 19px 12px 45px; }
  .editorial-single-card { padding: 20px 17px 32px; }
  .editorial-single-card > h1 { font-size: 30px; }
  .editorial-card.is-ebook .editorial-card-body { padding: 26px 21px; }
}

/* Moj portal */
.member-portal-page {
  min-height: 720px;
  padding: 54px 20px 70px;
  background: #f7f7f7 url("/assets/background.avif") center / cover fixed no-repeat;
}

.member-portal-shell {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 25px;
}

.member-portal-sidebar,
.member-portal-content {
  background: rgba(255, 255, 255, .97);
  border-radius: 5px;
  box-shadow: 0 5px 19px rgba(0, 0, 0, .09);
}

.member-portal-sidebar {
  padding: 31px 28px;
}

.member-portal-sidebar h1 {
  margin: 5px 0 13px;
  color: var(--orange);
  font-size: 31px;
}

.member-portal-welcome {
  margin: 0 0 28px;
  color: #686868;
  line-height: 1.5;
}

.member-portal-navigation {
  margin: 0 0 19px;
  padding: 0 0 18px;
  display: grid;
  gap: 5px;
  border-bottom: 1px solid #e8e8e8;
}

.member-portal-navigation[hidden] { display: none; }

.member-portal-navigation button {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.member-portal-navigation button[hidden] { display: none; }

.member-portal-navigation button span {
  width: 21px;
  color: var(--orange);
  font-size: 19px;
  text-align: center;
}

.member-portal-navigation button:hover,
.member-portal-navigation button:focus-visible { background: #f5f5f5; }

.member-portal-navigation button.is-active {
  color: #fff;
  background: var(--orange);
}

.member-portal-navigation button.is-active span { color: #fff; }

.member-system-admin-link,
.member-public-profile,
.member-logout-button {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 3px;
  font: inherit;
}

.member-system-admin-link {
  margin-bottom: 11px;
  color: #fff;
  background: #315b97;
  font-size: 14px;
  font-weight: 700;
}

.member-system-admin-link[hidden] {
  display: none !important;
}

.member-system-admin-link:hover,
.member-system-admin-link:focus-visible { background: #244675; }

.member-public-profile {
  margin-bottom: 11px;
  color: #3e629f;
  background: #edf2fa;
  font-size: 14px;
  font-weight: 700;
}

.member-logout-button {
  color: #fff;
  background: #383838;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.member-logout-button:hover,
.member-logout-button:focus-visible { background: #171717; }
.member-logout-button:disabled { opacity: .65; cursor: wait; }

.member-portal-content { min-height: 500px; padding: 39px 42px 45px; }

.member-portal-loading,
.member-portal-unauthorized {
  max-width: 570px;
  margin: 70px auto;
  color: #666;
  text-align: center;
  line-height: 1.6;
}

.member-portal-unauthorized h2 {
  color: var(--orange);
  font-size: 28px;
}

.member-portal-unauthorized .primary-button { margin-top: 13px; }

.member-portal-heading {
  margin-bottom: 33px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 22px;
  border-bottom: 1px solid #e5e5e5;
}

.member-portal-heading h2 {
  margin: 4px 0 8px;
  color: #333;
  font-size: 28px;
}

.member-portal-heading p:not(.membership-kicker) {
  max-width: 590px;
  margin: 0;
  color: #777;
  line-height: 1.5;
}

.member-status-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #326838;
  background: #eaf5eb;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
}

.member-status-badge.is-admin {
  color: #8f3909;
  background: #fff0e6;
}

.member-status-badge.is-expired {
  color: #8d2923;
  background: #fff0ee;
}

.admin-dashboard-stats {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.admin-dashboard-stats article {
  min-height: 105px;
  padding: 20px 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f7f7f7;
  border: 1px solid #e7e7e7;
  border-top: 3px solid var(--orange);
  border-radius: 4px;
}

[data-admin-stat-card][hidden],
[data-lawyer-stat-card][hidden] {
  display: none !important;
}

.admin-dashboard-stats strong {
  margin-bottom: 7px;
  color: var(--orange);
  font-size: 30px;
  line-height: 1;
}

.admin-dashboard-stats span {
  color: #5e5e5e;
  font-size: 14px;
}

.member-profile-form h3 {
  margin: 0 0 18px;
  color: #333;
  font-size: 20px;
}

.member-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.member-profile-grid label,
.member-profile-form > .lawyer-about-field {
  display: block;
  color: #555;
}

.member-profile-grid label > span,
.member-profile-form > .lawyer-about-field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}

.member-profile-grid input,
.member-profile-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 11px;
  color: #262626;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 3px;
  outline: 0;
  font: inherit;
}

.member-profile-grid input { height: 44px; }
.member-profile-form textarea { resize: vertical; min-height: 170px; }
.member-profile-grid input:focus,
.member-profile-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239, 91, 10, .13); }
.member-form-wide { grid-column: 1 / -1; }

.member-password-section {
  margin: 33px 0;
  padding: 27px 0 0;
  border-top: 1px solid #e7e7e7;
}

.member-password-section p {
  margin: -10px 0 19px;
  color: #7c7c7c;
  font-size: 14px;
}

.member-profile-form .lawyer-term-fieldset { margin-top: 25px; }
.member-photo-section {
  margin: 27px 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 23px;
  align-items: center;
}

.member-current-photo {
  width: 150px;
  height: 150px;
  overflow: hidden;
  background: #eee;
  border-radius: 4px;
}

.member-current-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-profile-form > .lawyer-about-field { margin-top: 8px; }

.member-profile-status {
  margin: 21px 0 0;
  padding: 11px 13px;
  color: #2f6032;
  background: #edf8ee;
  border-left: 4px solid #49824d;
  line-height: 1.45;
}

.member-profile-status.is-error { color: #8d2923; background: #fff0ee; border-left-color: #c8463c; }

.profile-change-pending-notice {
  margin-bottom: 24px;
  padding: 15px 17px;
  color: #77500b;
  background: #fff8df;
  border-left: 4px solid #d99a22;
}
.profile-change-pending-notice strong { display: block; margin-bottom: 4px; }
.profile-change-pending-notice p { margin: 0; line-height: 1.5; }
.profile-change-pending-notice[hidden] { display: none !important; }

.member-profile-save {
  min-width: 190px;
  min-height: 47px;
  margin-top: 25px;
  padding: 10px 18px;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.member-profile-save:hover,
.member-profile-save:focus-visible { background: var(--orange-dark); }
.member-profile-save:disabled { opacity: .7; cursor: wait; }

.membership-summary-grid {
  margin-bottom: 25px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.membership-summary-grid article {
  padding: 19px;
  display: grid;
  gap: 7px;
  background: #f8f8f8;
  border: 1px solid #e4e4e4;
  border-top: 3px solid var(--orange);
  border-radius: 4px;
}

.membership-summary-grid span {
  color: #777;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.membership-summary-grid strong { color: #333; font-size: 19px; }

.membership-expired-notice {
  margin: 0 0 25px;
  padding: 18px 20px;
  color: #7d2c26;
  background: #fff2f0;
  border: 1px solid #efc6c1;
  border-left: 5px solid #c8463c;
  border-radius: 3px;
}

.membership-expired-notice strong { display: block; margin-bottom: 5px; font-size: 17px; }
.membership-expired-notice p { margin: 0; line-height: 1.55; }
.membership-expired-notice.is-free-period {
  color: #1b5a43;
  background: #edf8f2;
  border-color: #c5e4d4;
  border-left-color: #2a8a61;
}

.membership-payment-card,
.membership-proof-form {
  margin-top: 24px;
  padding: 25px;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}

.membership-payment-card h3,
.membership-proof-form h3 { margin: 4px 0 15px; color: #333; font-size: 22px; }
.membership-proof-form > div > p:not(.membership-kicker) { color: #6f6f6f; line-height: 1.55; }

.membership-payment-details {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}

.membership-payment-details div {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.membership-payment-details dt { margin-bottom: 4px; color: #777; font-size: 12px; text-transform: uppercase; }
.membership-payment-details dd { margin: 0; color: #333; font-weight: 700; overflow-wrap: anywhere; }
.membership-email-button { width: auto; }

.membership-proof-form .lawyer-upload-field {
  margin-top: 20px;
  padding: 18px;
  display: grid;
  gap: 9px;
  background: #fafafa;
  border: 1px dashed #bbb;
}

.membership-proof-form .lawyer-upload-field span { color: #333; font-weight: 700; }
.membership-proof-form .lawyer-upload-field small { color: #777; }

.membership-pending-message {
  margin: 18px 0 0;
  padding: 13px 15px;
  color: #77500b;
  background: #fff8df;
  border-left: 4px solid #d99a22;
  line-height: 1.5;
}

.admin-payments-status {
  padding: 22px;
  color: #666;
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  text-align: center;
}

.admin-payments-status.is-error { color: #8d2923; background: #fff0ee; }
.admin-payments-list { display: grid; gap: 15px; }

.admin-payment-card {
  padding: 19px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: #fff;
  border: 1px solid #dfdfdf;
  border-left: 4px solid var(--orange);
  border-radius: 3px;
}

.admin-payment-card h3 { margin: 0 0 6px; color: #333; font-size: 19px; }
.admin-payment-card p { margin: 3px 0; color: #6b6b6b; font-size: 14px; }
.admin-payment-reference { font-family: ui-monospace, Consolas, monospace; }

.admin-payment-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.admin-payment-actions a,
.admin-payment-actions button {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.admin-payment-actions a { display: inline-flex; align-items: center; color: #315b97; background: #edf3fb; }
.admin-payment-actions .is-approve { color: #fff; background: #43804a; border-color: #43804a; }
.admin-payment-actions .is-reject { color: #8d2923; background: #fff0ee; border-color: #e0bbb7; }
.admin-payment-actions button:disabled { opacity: .6; cursor: wait; }

.admin-membership-management {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid #e4e4e4;
}

.admin-membership-management-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.admin-membership-management-heading h3 { margin: 3px 0 7px; color: #333; font-size: 23px; }
.admin-membership-management-heading p:not(.membership-kicker) { margin: 0; color: #707070; }
.admin-membership-management-heading input {
  width: min(290px, 100%);
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  font: inherit;
}

.admin-members-status {
  margin-bottom: 14px;
  padding: 12px 14px;
  color: #666;
  background: #f7f7f7;
  border-left: 4px solid #aaa;
}

.admin-members-status.is-error { color: #8d2923; background: #fff0ee; border-left-color: #c8463c; }
.admin-members-status.is-success { color: #2f6032; background: #edf8ee; border-left-color: #49824d; }
.admin-members-list { display: grid; gap: 12px; }

.admin-member-card {
  padding: 17px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid #dfdfdf;
  border-radius: 3px;
}

.admin-member-info { min-width: 0; }
.admin-member-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.admin-member-heading h4 { margin: 0; color: #333; font-size: 18px; }
.admin-member-info p { margin: 5px 0 0; color: #6b6b6b; font-size: 13px; overflow-wrap: anywhere; }
.admin-member-status { padding: 4px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.admin-member-status.is-active { color: #2f6032; background: #eaf5eb; }
.admin-member-status.is-trial { color: #77500b; background: #fff8df; }
.admin-member-status.is-expired { color: #8d2923; background: #fff0ee; }

.admin-member-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.admin-member-actions button {
  min-height: 37px;
  padding: 7px 10px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.admin-member-actions .is-activate { color: #fff; background: #43804a; border-color: #43804a; }
.admin-member-actions .is-extend { color: #315b97; background: #edf3fb; border-color: #b8c9df; }
.admin-member-actions .is-disable { color: #8d2923; background: #fff0ee; border-color: #e0bbb7; }
.admin-member-actions button:disabled { opacity: .45; cursor: not-allowed; }

.admin-profile-changes-section {
  margin-top: 35px;
  padding-top: 30px;
  border-top: 1px solid #e4e4e4;
}
.admin-profile-changes-section[hidden] { display: none !important; }
.admin-profile-changes-list { display: grid; gap: 15px; }
.admin-profile-change-card {
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid var(--orange);
  border-radius: 3px;
}
.admin-profile-change-heading { margin-bottom: 16px; }
.admin-profile-change-heading h4 { margin: 0 0 5px; color: #333; font-size: 19px; }
.admin-profile-change-heading p { margin: 0; color: #777; font-size: 13px; }
.admin-profile-change-differences { display: grid; gap: 8px; }
.admin-profile-change-differences > div {
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  background: #f8f8f8;
  border: 1px solid #ececec;
  font-size: 13px;
}
.admin-profile-change-differences strong { color: #444; }
.admin-profile-change-differences .is-old { color: #8d2923; text-decoration: line-through; white-space: pre-wrap; }
.admin-profile-change-differences .is-new { color: #2f6032; font-weight: 700; white-space: pre-wrap; }
.change-arrow { color: var(--orange); font-weight: 700; }
.admin-profile-change-photo { margin-top: 4px; color: #315b97; font-weight: 700; }
.admin-profile-change-actions { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 8px; }
.admin-profile-change-actions button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.admin-profile-change-actions .is-approve { color: #fff; background: #43804a; border-color: #43804a; }
.admin-profile-change-actions .is-reject { color: #8d2923; background: #fff0ee; border-color: #e0bbb7; }
.admin-profile-change-actions button:disabled { opacity: .55; cursor: wait; }

.blog-new-button {
  min-height: 44px;
  padding: 10px 18px;
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
}
.blog-new-button:hover,
.blog-new-button:focus-visible { background: var(--orange-dark); border-color: var(--orange-dark); }
.blog-new-button[aria-expanded="true"] { color: var(--orange); background: #fff; border-color: var(--orange); }
.blog-editor-accordion[hidden] { display: none !important; }
.blog-editor-accordion {
  margin: 0 0 24px;
  scroll-margin-top: 20px;
}
.blog-editor-accordion .blog-editor-card {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 27px;
  background: #fff;
  border: 1px solid #eaded6;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(64, 37, 22, .08);
}
.blog-editor-accordion .blog-section-heading { padding-right: 42px; }
.blog-modal-close {
  position: absolute;
  top: 16px;
  right: 17px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #444;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.blog-modal-close:hover,
.blog-modal-close:focus-visible { color: var(--orange); background: #fff3ec; }
.blog-editor-actions {
  margin-top: 7px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e5e5e5;
}

.blog-portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: start;
  gap: 24px;
}
.blog-editor-card,
.my-blogs-card,
.admin-blog-moderation {
  padding: 24px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 3px;
}
.blog-section-heading { margin-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.blog-section-heading h3 { margin: 3px 0 0; color: #333; font-size: 23px; }
.blog-editor-reset {
  min-height: 43px;
  padding: 9px 17px;
  color: #626262;
  background: #fff;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.blog-editor-reset:hover,
.blog-editor-reset:focus-visible { color: #333; background: #f5f5f5; border-color: #999; }
.blog-editor-actions .member-profile-save { min-width: 222px; margin-top: 0; }
.blog-editor-reset[hidden],
.admin-blog-moderation[hidden] { display: none !important; }
.blog-editor-form { display: grid; gap: 17px; }
.blog-editor-form label,
.blog-content-field { display: grid; gap: 7px; color: #333; font-size: 14px; font-weight: 700; }
.blog-editor-form input[type="text"],
.blog-editor-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: #333;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  font: inherit;
  font-weight: 400;
  line-height: 1.55;
}
.blog-editor-form textarea { resize: vertical; }
.blog-editor-form small { color: #777; font-size: 12px; font-weight: 400; line-height: 1.45; }
.blog-editor-source { position: absolute; width: 1px; height: 1px; padding: 0 !important; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0 !important; }
.blog-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  background: #f5f5f5;
  border: 1px solid #cfcfcf;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}
.blog-editor-toolbar button {
  min-width: 34px;
  min-height: 31px;
  padding: 4px 8px;
  color: #444;
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.blog-editor-toolbar button:hover,
.blog-editor-toolbar button:focus-visible { color: #fff; background: var(--orange); border-color: var(--orange); }
.blog-rich-editor {
  min-height: 300px;
  padding: 14px;
  overflow: auto;
  color: #333;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 0 0 2px 2px;
  font-weight: 400;
  line-height: 1.65;
  outline: none;
}
.blog-rich-editor:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239, 91, 10, .14); }
.blog-rich-editor:empty::before { content: attr(data-placeholder); color: #929292; pointer-events: none; }
.blog-rich-editor p { margin: 0 0 1em; }
.blog-rich-editor h2 { margin: 1.2em 0 .55em; font-size: 22px; line-height: 1.25; }
.blog-rich-editor ul,
.blog-rich-editor ol { margin: 0 0 1em; padding-left: 25px; }
.blog-rich-editor a { color: #315b97; text-decoration: underline; }
.my-blogs-list,
.admin-blogs-list { display: grid; gap: 13px; }
.my-blog-item,
.admin-blog-card { padding: 17px; background: #fafafa; border: 1px solid #e2e2e2; border-left: 4px solid var(--orange); border-radius: 3px; }
.my-blog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.my-blog-heading h4,
.admin-blog-heading h4 { margin: 0; color: #333; font-size: 18px; line-height: 1.35; }
.my-blog-item > p { margin: 10px 0 7px; color: #666; line-height: 1.5; }
.my-blog-item > small { color: #888; }
.blog-status-badge { flex: 0 0 auto; padding: 4px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.blog-status-badge.is-publish { color: #2f6032; background: #eaf5eb; }
.blog-status-badge.is-pending { color: #77500b; background: #fff5d5; }
.blog-status-badge.is-draft { color: #8d2923; background: #fff0ee; }
.blog-review-note { margin-top: 12px; padding: 10px 11px; color: #8d2923; background: #fff0ee; border-left: 3px solid #c8463c; font-size: 13px; line-height: 1.5; }
.my-blog-actions,
.admin-blog-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.my-blog-actions button,
.my-blog-actions a,
.admin-blog-actions button {
  min-height: 38px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.my-blog-actions button { color: #315b97; background: #edf3fb; border-color: #b8c9df; }
.my-blog-actions a { color: #fff; background: var(--orange); border-color: var(--orange); }
.admin-blog-moderation { margin-top: 30px; }
.admin-blog-heading p { margin: 5px 0 0; color: #777; font-size: 13px; overflow-wrap: anywhere; }
.admin-blog-excerpt { margin: 14px 0 8px; color: #333; font-weight: 700; line-height: 1.5; }
.admin-blog-content-preview { padding: 12px; color: #555; background: #fff; border: 1px solid #e5e5e5; line-height: 1.6; white-space: pre-wrap; }
.admin-blog-full-content { margin-top: 10px; color: #555; background: #fff; border: 1px solid #e5e5e5; }
.admin-blog-full-content summary { padding: 10px 12px; color: #315b97; cursor: pointer; font-weight: 700; }
.admin-blog-full-content > div { padding: 14px; border-top: 1px solid #e5e5e5; line-height: 1.65; white-space: pre-wrap; }
.admin-blog-image-link { margin-top: 10px; display: inline-block; color: #315b97; font-size: 13px; font-weight: 700; }
.admin-blog-actions .is-approve { color: #fff; background: #43804a; border-color: #43804a; }
.admin-blog-actions .is-reject { color: #8d2923; background: #fff0ee; border-color: #e0bbb7; }
.admin-blog-actions button:disabled { opacity: .55; cursor: wait; }

@media (max-width: 850px) {
  .member-portal-shell { grid-template-columns: 1fr; }
  .member-portal-sidebar { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; }
  .member-portal-sidebar .membership-kicker,
  .member-portal-sidebar h1,
  .member-portal-welcome { grid-column: 1 / -1; margin: 0; }
  .member-portal-navigation { grid-column: 1 / -1; }
  .member-system-admin-link,
  .member-public-profile,
  .member-logout-button { width: auto; white-space: nowrap; }
  .admin-membership-management-heading,
  .admin-member-card { align-items: stretch; flex-direction: column; }
  .admin-membership-management-heading label,
  .admin-membership-management-heading input { width: 100%; }
  .admin-member-actions { justify-content: flex-start; }
  .admin-profile-change-differences > div { grid-template-columns: 1fr; }
  .change-arrow { transform: rotate(90deg); }
  .admin-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-payment-card { align-items: flex-start; flex-direction: column; }
  .admin-payment-actions { justify-content: flex-start; }
  .blog-portal-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .blog-editor-accordion .blog-editor-card { padding: 24px 18px 20px; }
  .blog-section-heading { flex-direction: column; }
  .blog-new-button { width: 100%; }
  .blog-editor-actions { align-items: stretch; flex-wrap: wrap; }
  .blog-editor-actions .member-profile-save { min-width: 0; flex: 1 1 200px; }
  .email-verification-page { min-height: 570px; padding: 50px 16px; }
  .email-verification-card { padding: 35px 24px; }
  .email-verification-card h1 { font-size: 27px; }
  .email-verification-actions { flex-direction: column; gap: 15px; }
  .member-portal-page { padding: 25px 12px 43px; }
  .member-portal-sidebar,
  .member-portal-content { padding: 25px 19px; }
  .member-portal-sidebar { display: block; }
  .member-portal-sidebar h1 { margin: 6px 0 12px; }
  .member-system-admin-link,
  .member-public-profile,
  .member-logout-button { width: 100%; margin-top: 10px; }
  .member-profile-grid { grid-template-columns: 1fr; gap: 17px; }
  .membership-summary-grid,
  .membership-payment-details { grid-template-columns: 1fr; }
  .membership-payment-card,
  .membership-proof-form { padding: 20px 16px; }
  .membership-email-button { width: 100%; }
  .member-form-wide { grid-column: auto; }
  .member-portal-heading { display: block; }
  .member-status-badge { display: inline-block; margin-top: 14px; }
  .member-photo-section { grid-template-columns: 1fr; }
  .admin-dashboard-stats { grid-template-columns: 1fr; }
}

/* Mobilna navigacija i sticky zaglavlje */
.mobile-bottom-nav {
  display: none;
}

.profile-admin-edit-button {
  width: 34px;
  height: 34px;
  margin: 0 0 0 9px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: #fff7f2;
  border: 1px solid #f3c5ac;
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.profile-admin-edit-button:hover, .profile-admin-edit-button:focus-visible { color: #fff; background: var(--orange); border-color: var(--orange); }
.profile-admin-edit-form {
  margin: 0 0 22px;
  padding: 20px;
  background: #fff8f4;
  border: 1px solid #f1c5ad;
  border-radius: 6px;
}
.profile-admin-edit-form h2 { margin: 0 0 16px; font-size: 20px; }
.profile-admin-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.profile-admin-edit-grid label { display: grid; gap: 5px; color: #444; font-size: 13px; font-weight: 700; }
.profile-admin-edit-grid input,
.profile-admin-edit-grid textarea { width: 100%; padding: 9px 10px; color: #252525; background: #fff; border: 1px solid #ccc; border-radius: 3px; font: inherit; font-weight: 400; }
.profile-admin-edit-wide { grid-column: 1 / -1; }
.profile-admin-edit-actions { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 9px; }
.profile-admin-edit-actions button { min-height: 39px; padding: 8px 13px; border: 1px solid #c5c5c5; border-radius: 3px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; }
.profile-admin-edit-actions button[type="submit"] { color: #fff; background: var(--orange); border-color: var(--orange); }
.profile-admin-edit-form [data-profile-admin-edit-status] { margin: 12px 0 0; color: #28633a; font-weight: 700; }
.profile-admin-edit-form [data-profile-admin-edit-status].is-error { color: #a13026; }
.admin-member-edit-profile { min-height: 40px; padding: 9px 13px; display: inline-flex; align-items: center; justify-content: center; color: #315b97; background: #edf3fb; border: 1px solid #b8c9df; border-radius: 3px; font-size: 13px; font-weight: 700; }
.admin-member-edit-profile:hover, .admin-member-edit-profile:focus-visible { color: #fff; background: #315b97; }
.admin-account-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.admin-account-groups > section { padding: 20px; background: #fafafa; border: 1px solid #e2e2e2; border-radius: 6px; }
.admin-account-groups h3 { margin: 0 0 15px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); color: #252525; font-size: 20px; }
.admin-account-groups [data-admin-accounts-status] { color: #707070; font-size: 14px; }
.admin-account-card { margin-top: 11px; padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #fff; border: 1px solid #e3e3e3; border-left: 4px solid var(--orange); border-radius: 4px; }
.admin-account-card h4 { margin: 0; color: #252525; font-size: 16px; }
.admin-account-card p { margin: 4px 0; color: #656565; font-size: 13px; overflow-wrap: anywhere; }
.admin-account-card small { color: #a04b17; font-weight: 700; }
.admin-account-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.admin-account-actions button, .admin-account-actions a { min-height: 34px; padding: 7px 9px; color: #315b97; background: #edf3fb; border: 1px solid #b8c9df; border-radius: 3px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; text-decoration: none; }
.admin-account-actions .admin-account-password-reset { color: #fff; background: #315b97; border-color: #315b97; }
.admin-account-actions .admin-account-password-reset:hover, .admin-account-actions .admin-account-password-reset:focus-visible { color: #fff; background: #244978; border-color: #244978; }
.admin-account-actions .admin-account-password-reset:disabled { opacity: .72; cursor: wait; }
.admin-account-actions button:last-of-type { color: #922c23; background: #fff0ee; border-color: #e6beb9; }
.admin-account-actions a { color: #fff; background: var(--orange); border-color: var(--orange); }
.admin-client-directory { display: grid; gap: 13px; }
.admin-client-card { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid #e2e2e2; border-left: 4px solid var(--orange); border-radius: 6px; box-shadow: 0 4px 12px rgba(30, 37, 45, .04); }
.admin-client-summary h4 { margin: 0; color: #252525; font-size: 18px; }
.admin-client-summary p { margin: 4px 0 10px; color: #666; font-size: 13px; overflow-wrap: anywhere; }
.admin-client-labels { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-client-labels span { padding: 4px 7px; color: #545454; background: #f3f4f5; border-radius: 999px; font-size: 11px; font-weight: 700; }
.admin-client-labels span:last-child { color: #9a4b18; background: #fff1e9; }
.admin-client-labels span.admin-client-contact-count { color: #174f83; background: #eaf3fb; }
.admin-client-menu { flex: 0 0 auto; position: relative; }
.admin-client-controls { display: flex; align-items: center; gap: 9px; }
.admin-client-approve { min-height: 37px; padding: 9px 13px; color: #fff; background: #287149; border: 1px solid #287149; border-radius: 4px; box-shadow: 0 5px 12px rgba(35, 100, 66, .18); cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.admin-client-approve:hover, .admin-client-approve:focus-visible { background: #1f5d3b; border-color: #1f5d3b; }
.admin-client-approve:disabled { opacity: .7; cursor: wait; }
.admin-client-menu > summary { min-height: 35px; padding: 8px 12px; list-style: none; cursor: pointer; color: #315b97; background: #edf3fb; border: 1px solid #b8c9df; border-radius: 3px; font-size: 13px; font-weight: 700; }
.admin-client-menu > summary::-webkit-details-marker { display: none; }
.admin-client-menu > summary::after { margin-left: 7px; content: "⌄"; }
.admin-client-menu[open] > summary::after { content: "⌃"; }
.admin-client-menu-body { position: absolute; z-index: 4; top: calc(100% + 7px); right: 0; width: min(330px, 82vw); padding: 14px; display: grid; gap: 11px; background: #fff; border: 1px solid #d8d8d8; border-radius: 5px; box-shadow: 0 14px 28px rgba(25, 31, 38, .18); }
.admin-client-profile-edit { min-height: 36px; padding: 8px 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--orange); border-radius: 3px; font-size: 12px; font-weight: 700; text-decoration: none; }
.admin-account-edit-form { padding: 12px; display: grid; gap: 8px; background: #fafafa; border: 1px solid #e3e3e3; border-radius: 4px; }
.admin-account-edit-form h5 { margin: 0 0 2px; color: #333; font-size: 13px; }
.admin-account-edit-form label { display: grid; gap: 4px; color: #555; font-size: 11px; font-weight: 700; }
.admin-account-edit-form input { width: 100%; min-height: 34px; padding: 7px; color: #303030; background: #fff; border: 1px solid #cfcfcf; border-radius: 3px; font: inherit; font-size: 13px; }
.admin-account-edit-form button { min-height: 34px; color: #315b97; background: #edf3fb; border: 1px solid #b8c9df; border-radius: 3px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.admin-account-edit-status { margin: 0; color: #28633a; font-size: 12px; font-weight: 700; }
.admin-account-edit-status.is-error { color: #a13026; }
.admin-client-note { margin: 0; color: #666; font-size: 12px; line-height: 1.45; }
@media (max-width: 760px) { .admin-account-groups { grid-template-columns: 1fr; } .admin-account-card { align-items: stretch; flex-direction: column; } .admin-account-actions { justify-content: flex-start; } }
@media (max-width: 760px) { .admin-client-card { align-items: stretch; flex-direction: column; } .admin-client-controls { justify-content: space-between; } .admin-client-menu-body { right: auto; left: 0; width: min(360px, calc(100vw - 76px)); } }
@media (max-width: 600px) { .profile-admin-edit-grid { grid-template-columns: 1fr; } .profile-admin-edit-wide { grid-column: auto; } }

@media (max-width: 900px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .site-header,
  .inner-page .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    height: 72px;
    color: #fff;
    background: transparent;
    border-bottom-color: transparent;
    transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
  }

  body:not(.inner-page) .site-header {
    margin-bottom: -72px;
  }

  .inner-page .site-header {
    color: var(--ink);
    background: #fff;
    border-bottom: 1px solid #e9e9e9;
  }

  .header-inner,
  .inner-page .header-inner {
    width: 100%;
    height: 72px;
  }

  .brand-white,
  .inner-page .brand-white {
    width: 145px;
    margin-left: 14px;
    align-self: center;
  }

  .brand-white img,
  .inner-page .brand-white img {
    width: 145px;
    height: 52px;
  }

  .site-header.is-sticky {
    color: var(--ink);
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 8px 22px rgba(22, 27, 33, .14);
    animation: mobile-header-reveal 220ms ease both;
  }

  .menu-toggle {
    color: currentColor;
    margin-right: 13px;
  }

  .mobile-menu {
    top: 72px;
    right: 10px;
    left: 10px;
    max-height: calc(100dvh - 158px);
    padding: 8px 14px 14px;
    overflow-y: auto;
    border: 1px solid #ededed;
    border-radius: 0 0 7px 7px;
    box-shadow: 0 16px 34px rgba(17, 23, 30, .22);
  }

  .mobile-menu-section {
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
  }

  .mobile-menu-title {
    margin: 0;
    padding: 7px 10px 3px;
    color: #7a7a7a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
  }

  .mobile-menu a,
  .mobile-menu button {
    width: 100%;
    padding: 10px;
    display: block;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible,
  .mobile-menu button:hover,
  .mobile-menu button:focus-visible {
    color: var(--orange);
    background: #fff8f4;
  }

  .mobile-menu-section a:last-child,
  .mobile-menu-section button:last-child {
    border-bottom: 0;
  }

  .mobile-menu-lawyer-link {
    margin-top: 8px;
    color: #fff !important;
    background: var(--orange) !important;
    border: 0 !important;
    border-radius: 4px;
    font-weight: 700;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: calc(68px + env(safe-area-inset-bottom));
    padding: 0 5px env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    color: #3f464d;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid #e4e4e4;
    box-shadow: 0 -5px 20px rgba(19, 25, 31, .13);
  }

  .mobile-bottom-nav-item {
    min-width: 0;
    min-height: 68px;
    padding: 7px 3px 6px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
  }

  .mobile-bottom-nav-item svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bottom-nav-item:hover,
  .mobile-bottom-nav-item:focus-visible,
  .mobile-bottom-nav-item[aria-expanded="true"] {
    color: var(--orange);
    background: #fff5ef;
  }

  .mobile-menu [hidden],
  .mobile-bottom-nav [hidden] {
    display: none !important;
  }

  @keyframes mobile-header-reveal {
    from { transform: translateY(-7px); }
    to { transform: translateY(0); }
  }
}

/* Sticky glavno zaglavlje na svim rezolucijama. Pomoćna linija ostaje u toku stranice. */
.site-header,
.inner-page .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

body:not(.inner-page) .site-header {
  margin-bottom: -90px;
}

.site-header.is-sticky {
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 8px 22px rgba(22, 27, 33, .14);
  animation: sticky-header-reveal 220ms ease both;
}

.site-header.is-sticky .lawyer-cta {
  color: var(--orange);
  border-color: var(--orange);
}

.site-header.is-sticky .lawyer-cta:hover,
.site-header.is-sticky .lawyer-cta:focus-visible {
  color: #fff;
}

@keyframes sticky-header-reveal {
  from { transform: translateY(-7px); }
  to { transform: translateY(0); }
}

@media (max-width: 900px) {
  body:not(.inner-page) .site-header {
    margin-bottom: -72px;
  }
}

/* Naslovna: neutralni imenik članova */
.hero {
  min-height: 720px;
  background-position: center 42%;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(9, 17, 27, .88) 0%, rgba(10, 18, 28, .71) 53%, rgba(10, 18, 28, .44) 100%);
}

.hero-content {
  width: min(calc(100% - 70px), 920px);
  margin: 22px auto 0;
}

.hero-kicker,
.portal-section-heading > p,
.portal-members-shell > div > p {
  margin: 0 0 15px;
  color: #ff8a45;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(47px, 5.5vw, 70px);
  letter-spacing: -2.4px;
}

.hero p:not(.hero-kicker) {
  max-width: 765px;
  margin-top: 22px;
  font-size: clamp(18px, 2.1vw, 23px);
}

.hero-actions {
  margin-top: 31px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-primary-action,
.hero-secondary-action {
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.hero-primary-action { color: #fff; background: var(--orange); }
.hero-primary-action:hover,
.hero-primary-action:focus-visible { background: #c94700; }
.hero-secondary-action { color: #fff; border-color: rgba(255, 255, 255, .75); }
.hero-secondary-action:hover,
.hero-secondary-action:focus-visible { color: var(--ink); background: #fff; }

.lawyer-search { margin-top: 34px; }
.hero-disclaimer { display: block; margin-top: 14px; color: rgba(255, 255, 255, .76); font-size: 12px; line-height: 1.45; }

.portal-benefits-section { padding: 78px 0 68px; background: #fff; }
.portal-benefits-shell { display: grid; grid-template-columns: minmax(290px, .82fr) minmax(0, 1.18fr); gap: 64px; align-items: end; }
.portal-section-heading h2 { max-width: 510px; margin: 0; color: var(--ink); font-family: Verdana, sans-serif; font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.25; }
.portal-section-heading > span { display: block; max-width: 510px; margin-top: 18px; color: #6b6b6b; font-size: 16px; line-height: 1.65; }
.portal-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.portal-benefit-card { min-height: 220px; padding: 24px 20px; display: flex; flex-direction: column; background: #f4f5f6; border-top: 3px solid transparent; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.portal-benefit-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 12px 24px rgba(0, 0, 0, .09); }
.portal-benefit-number { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.portal-benefit-card h3 { margin: auto 0 9px; color: var(--ink); font-size: 18px; line-height: 1.25; }
.portal-benefit-card p { margin: 0; color: #6b6b6b; font-size: 14px; line-height: 1.55; }

.portal-how-section { padding: 72px 0; color: #fff; background: #202a36; }
.portal-how-shell { display: grid; grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr); gap: 75px; align-items: start; }
.portal-how-section .portal-section-heading h2 { color: #fff; }
.portal-steps { margin: 0; padding: 0; list-style: none; counter-reset: portal-steps; }
.portal-steps li { min-height: 92px; padding: 0 0 24px; display: grid; grid-template-columns: 50px 1fr; gap: 18px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.portal-steps li + li { padding-top: 24px; }
.portal-steps li > span { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; font-size: 15px; font-weight: 700; }
.portal-steps h3 { margin: 0 0 7px; color: #fff; font-size: 18px; }
.portal-steps p { margin: 0; color: #cbd1d8; font-size: 15px; line-height: 1.55; }

.portal-members-section { padding: 42px 0; background: #f4f5f6; }
.portal-members-shell { padding: 38px 44px; display: flex; align-items: center; justify-content: space-between; gap: 45px; color: #fff; background: var(--orange); }
.portal-members-shell > div { max-width: 750px; }
.portal-members-shell > div > p { margin-bottom: 10px; color: #ffd6be; }
.portal-members-shell h2 { margin: 0; font-family: Verdana, sans-serif; font-size: clamp(23px, 3vw, 33px); font-weight: 400; line-height: 1.25; }
.portal-members-shell > div > span { display: block; margin-top: 13px; font-size: 15px; line-height: 1.55; }
.portal-members-cta { flex: 0 0 auto; padding: 13px 17px; color: var(--orange); background: #fff; border-radius: 3px; font-size: 14px; font-weight: 700; }
.portal-members-cta span { padding-left: 9px; font-size: 20px; vertical-align: -1px; }

@media (max-width: 900px) {
  .hero { min-height: 700px; }
  .portal-benefits-shell,
  .portal-how-shell { grid-template-columns: 1fr; gap: 36px; }
  .portal-section-heading h2,
  .portal-section-heading > span { max-width: 680px; }
  .portal-benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .hero { min-height: 670px; align-items: start; background-position: 58% center; }
  .hero-content { width: calc(100% - 44px); margin-top: 142px; }
  .hero h1 { font-size: 42px; line-height: 1.08; letter-spacing: -1.6px; }
  .hero p:not(.hero-kicker) { width: auto; margin-top: 18px; font-size: 17px; line-height: 1.5; }
  .hero-kicker { margin-bottom: 12px; font-size: 10px; }
  .hero-actions { margin-top: 25px; display: grid; grid-template-columns: 1fr; }
  .hero-primary-action,
  .hero-secondary-action { text-align: center; }
  .lawyer-search { width: 100%; margin-top: 22px; }
  .lawyer-search input { height: 50px; }
  .hero-disclaimer { font-size: 11px; }
  .portal-benefits-section { padding: 48px 0; }
  .portal-benefits-shell { gap: 28px; }
  .portal-section-heading h2 { font-size: 27px; }
  .portal-section-heading > span { font-size: 15px; }
  .portal-benefit-grid { grid-template-columns: 1fr; gap: 10px; }
  .portal-benefit-card { min-height: 130px; padding: 19px; }
  .portal-benefit-card h3 { margin: 17px 0 8px; }
  .portal-how-section { padding: 50px 0; }
  .portal-how-shell { gap: 30px; }
  .portal-steps li { grid-template-columns: 39px 1fr; gap: 12px; }
  .portal-steps li > span { width: 32px; height: 32px; font-size: 13px; }
  .portal-steps h3 { font-size: 16px; }
  .portal-steps p { font-size: 14px; }
  .portal-members-section { padding: 0; }
  .portal-members-shell { padding: 34px 30px; display: grid; gap: 25px; }
  .portal-members-shell h2 { font-size: 25px; }
  .portal-members-cta { width: max-content; }
}
/* Završna potvrda na prijavi za profil */
.lawyer-signup-form .signup-confirmation-panel {
  margin-top: 30px;
  padding: 28px;
  border: 1px solid #e5e9ef;
  border-top: 4px solid #f65b05;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 10px 28px rgba(26, 39, 56, .05);
}

.signup-confirmation-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e9ef;
}

.signup-confirmation-step {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #f65b05;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.lawyer-signup-form .signup-confirmation-kicker {
  margin: 1px 0 5px;
  color: #f65b05;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.signup-confirmation-heading h2 {
  margin: 0;
  color: #17233a;
  font-size: 22px;
  line-height: 1.25;
}

.signup-confirmation-heading p:not(.signup-confirmation-kicker) {
  margin: 5px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.lawyer-signup-form .signup-confirmation-panel .form-consents {
  gap: 10px;
  margin: 20px 0 0;
}

.lawyer-signup-form .signup-consent-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid #e2e7ed;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  line-height: 1.55;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.lawyer-signup-form .signup-consent-card:hover,
.lawyer-signup-form .signup-consent-card:focus-within {
  border-color: #f9a373;
  box-shadow: 0 0 0 3px rgba(246, 91, 5, .08);
}

.lawyer-signup-form .signup-consent-card:has(input:checked) {
  border-color: #f65b05;
  background: #fff8f3;
}

.lawyer-signup-form .signup-consent-card input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #f65b05;
}

.lawyer-signup-form .signup-consent-card > span {
  display: block;
  margin: 0;
  font-size: 15px;
}

.lawyer-signup-form .signup-consent-card a {
  color: #d94d00;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.lawyer-signup-form .signup-consent-card b {
  color: #c63e00;
}

.signup-submit-area {
  margin-top: 28px;
  text-align: center;
}

.signup-submit-area:has(.signup-back) {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.signup-submit-area .signup-back { justify-self: start; }
.signup-submit-area .lawyer-signup-note { grid-column: 1 / -1; }

.lawyer-signup-form .signup-submit-area .lawyer-signup-submit {
  min-width: 228px;
  margin: 0;
  padding: 14px 23px;
  border-radius: 7px;
  box-shadow: 0 8px 17px rgba(218, 76, 0, .2);
}

.lawyer-signup-submit > span {
  display: inline-block;
  margin-left: 8px;
  font-size: 19px;
  line-height: 0;
  transition: transform .18s ease;
}

.lawyer-signup-submit:hover > span { transform: translateX(4px); }

.lawyer-signup-form .signup-submit-area .lawyer-signup-note {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 20px auto 0;
  padding: 16px 18px;
  border: 1px solid #dce4ed;
  border-radius: 8px;
  background: #f5f8fb;
  color: #526174;
  text-align: left;
}

.lawyer-signup-note-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #233b61;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
}

.lawyer-signup-form .signup-submit-area .lawyer-signup-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.lawyer-signup-form .signup-submit-area .lawyer-signup-note strong {
  display: block;
  margin-bottom: 2px;
  color: #263b5a;
}

@media (max-width: 600px) {
  .lawyer-signup-form .signup-confirmation-panel { padding: 20px 16px; }
  .signup-confirmation-heading { gap: 11px; }
  .signup-confirmation-step { flex-basis: 32px; width: 32px; height: 32px; }
  .signup-confirmation-heading h2 { font-size: 20px; }
  .lawyer-signup-form .signup-consent-card { padding: 13px; gap: 10px; }
  .lawyer-signup-form .signup-consent-card > span { font-size: 14px; }
  .lawyer-signup-form .signup-submit-area .lawyer-signup-submit { width: 100%; min-width: 0; }
  .signup-submit-area:has(.signup-back) { grid-template-columns: 1fr; }
  .signup-submit-area .signup-back { justify-self: start; }
  .lawyer-signup-form .signup-submit-area .lawyer-signup-note { grid-template-columns: 26px minmax(0, 1fr); padding: 14px; }
  .lawyer-signup-note-icon { width: 25px; height: 25px; font-size: 15px; }
}
/* Profesionalni sadržaj stranice O nama */
.about-page-content {
  display: grid;
  gap: 28px;
}

.about-hero-copy,
.about-section,
.about-principles,
.about-legal-note {
  border: 1px solid #e5e9ef;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 30px rgba(30, 45, 64, .05);
}

.about-hero-copy {
  padding: 38px 42px;
  border-top: 4px solid #f65b05;
}

.about-page-content .about-kicker,
.about-section-heading > p,
.about-principles > div > p {
  margin: 0 0 9px;
  color: #f65b05;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

.about-page-content .about-hero-copy h2 {
  max-width: 760px;
  margin: 0 0 17px;
  color: #17233a;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.13;
}

.about-page-content .about-hero-copy p {
  max-width: 920px;
  margin: 0 0 13px;
  color: #526174;
  font-size: 16px;
  line-height: 1.65;
}

.about-page-content .about-hero-copy p:last-child { margin-bottom: 0; }
.about-page-content .about-hero-copy .about-lead { color: #344054; font-size: 18px; }

.about-section { padding: 34px 38px; }
.about-section-heading { max-width: 720px; margin-bottom: 25px; }
.about-section-heading h2,
.about-principles h2 {
  margin: 0;
  color: #1d2b43;
  font-size: 26px;
  line-height: 1.2;
}

.about-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  padding: 21px 18px;
  border: 1px solid #e4e9ef;
  border-radius: 9px;
  background: #fafbfc;
}

.about-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f65b05;
  color: #fff;
  font-weight: 800;
}

.about-page-content h3 {
  margin: 2px 0 7px;
  color: #233b61;
  font-size: 16px;
  line-height: 1.3;
}

.about-page-content .about-steps p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.about-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-benefits-grid article {
  padding: 23px 25px;
  border-left: 4px solid #f65b05;
  border-radius: 7px;
  background: #f7f9fb;
}

.about-benefits-grid article:last-child { border-left-color: #233b61; }
.about-benefits-grid h3 { font-size: 19px; }
.about-benefits-grid ul { display: grid; gap: 10px; padding: 0; margin: 16px 0 0; list-style: none; }
.about-benefits-grid li {
  position: relative;
  padding-left: 20px;
  color: #526174;
  font-size: 14px;
  line-height: 1.5;
}
.about-benefits-grid li::before { content: "✓"; position: absolute; left: 0; color: #f65b05; font-weight: 800; }

.about-principles {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: center;
  padding: 33px 38px;
  border-color: #273f66;
  background: linear-gradient(120deg, #1e3355, #29466f);
}

.about-principles > div > p { color: #f9ae7e; }
.about-principles h2 { color: #fff; }
.about-page-content .about-principles > p {
  margin: 0;
  color: #e6edf6;
  font-size: 16px;
  line-height: 1.6;
}

.about-legal-note {
  padding: 17px 22px;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}
.about-page-content .about-legal-note { margin: 0; }
.about-legal-note a { color: #d94d00; font-weight: 700; }

@media (max-width: 800px) {
  .about-hero-copy,
  .about-section,
  .about-principles { padding: 27px 22px; }
  .about-steps,
  .about-benefits-grid,
  .about-principles { grid-template-columns: 1fr; }
  .about-principles { gap: 16px; }
}

@media (max-width: 520px) {
  .about-page-content { gap: 18px; }
  .about-hero-copy,
  .about-section,
  .about-principles { padding: 22px 17px; border-radius: 9px; }
  .about-page-content .about-hero-copy h2 { font-size: 27px; }
  .about-page-content .about-hero-copy .about-lead { font-size: 16px; }
  .about-section-heading h2,
  .about-principles h2 { font-size: 23px; }
  .about-steps li { padding: 17px 14px; }
  .about-benefits-grid article { padding: 19px 17px; }
  .about-legal-note { padding: 15px 16px; }
}
/* Višejezički izbor i status automatskog prevoda */
.language-switcher {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  gap: 4px;
  padding: 0 7px;
  border-right: 1px solid #3f3f3f;
}

.language-switcher button {
  display: inline-grid;
  width: 22px;
  height: 18px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button.is-active { border-color: #f65b05; background: rgba(246, 91, 5, .14); }
.language-switcher button:focus-visible { outline: 1px solid #f65b05; outline-offset: 2px; }
.language-flag { display: block; width: 16px; height: 11px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .42); box-shadow: 0 1px 2px rgba(0, 0, 0, .28); }

.translation-status {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  max-width: min(340px, calc(100vw - 36px));
  margin: 0;
  padding: 11px 14px;
  border-radius: 7px;
  background: #233b61;
  box-shadow: 0 10px 24px rgba(24, 37, 57, .22);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.admin-translation-button {
  position: fixed;
  z-index: 201;
  right: 18px;
  bottom: 68px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #f65b05;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(24, 37, 57, .16);
  color: #c64805;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}
.admin-translation-button:hover { background: #fff4ed; }
.admin-translation-button:disabled { cursor: wait; opacity: .74; }
.admin-translation-button:focus-visible { outline: 2px solid #233b61; outline-offset: 2px; }

/* Zvanični identitet: logo čuva svoju prirodnu razmeru u zaglavlju i footeru. */
.brand-white img,
.inner-page .brand-white img {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 306;
  object-fit: contain;
}

body:not(.inner-page) .site-header {
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
}

body:not(.inner-page) .lawyer-cta {
  color: #fff;
  border-color: rgba(255, 255, 255, .9);
}

/* Transform na sticky elementu vezuje fixed panel za zaglavlje. Ne koristimo ga
   kako bi offcanvas ostao vezan za viewport i dok korisnik skroluje. */
.site-header.is-sticky { animation: none; }

body:not(.inner-page) .site-header:not(.is-sticky) .brand-white img { filter: brightness(0) invert(1); }
body:not(.inner-page) .site-header:not(.is-sticky) .menu-toggle { color: #fff; }
body:not(.inner-page) .site-header.is-sticky .brand-white img { filter: none; }
body:not(.inner-page) .site-header.is-sticky .menu-toggle { color: #173f5f; }
body:not(.inner-page) .site-header.is-sticky {
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 8px 22px rgba(22, 27, 33, .14);
}

.site-header .lawyer-cta:hover,
.site-header .lawyer-cta:focus-visible {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.footer-brand {
  width: min(220px, 100%);
  padding: 11px 13px;
  background: #fff;
  border-radius: 6px;
}

.footer-brand img {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 306;
  object-fit: contain;
}

/* Naslovna: jedinstveni offcanvas meni objedinjuje glavnu i pomoćnu navigaciju. */
.offcanvas-menu-close { display: none; }
.mobile-account-identity { margin: 0; }

@media (min-width: 901px) {
  body:not(.inner-page) .header-inner {
    grid-template-columns: 260px minmax(0, 1fr) auto 44px;
    column-gap: 20px;
  }

  body:not(.inner-page) .menu-toggle {
    position: absolute;
    top: 24px;
    right: clamp(24px, 3vw, 64px);
    width: 42px;
    height: 42px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    justify-self: end;
    color: #173f5f;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  body:not(.inner-page) .menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: currentColor;
    border-radius: 3px;
  }

  body:not(.inner-page) .menu-toggle:hover,
  body:not(.inner-page) .menu-toggle:focus-visible { color: var(--orange); }

  body:not(.inner-page) .mobile-menu {
    position: fixed;
    z-index: 160;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(390px, calc(100vw - 24px));
    max-height: none;
    padding: 69px 26px 26px;
    display: grid;
    align-content: start;
    overflow-y: auto;
    color: #26323e;
    background: #fff;
    border: 0;
    border-left: 1px solid #e4e8ec;
    border-radius: 0;
    box-shadow: -18px 0 44px rgba(18, 35, 52, .24);
    animation: lex-offcanvas-reveal 220ms ease both;
  }

  body:not(.inner-page) .mobile-menu[hidden] { display: none; }
  body:not(.inner-page) .mobile-menu-section { padding: 10px 0; border-bottom: 1px solid #e7eaed; }
  body:not(.inner-page) .mobile-menu-title {
    margin: 0;
    padding: 0 0 7px;
    color: #718091;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  body:not(.inner-page) .mobile-menu a,
  body:not(.inner-page) .mobile-menu button:not(.offcanvas-menu-close) {
    width: 100%;
    padding: 11px 0;
    display: block;
    color: inherit;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #f0f2f4;
    text-align: left;
    cursor: pointer;
    font: inherit;
  }

  body:not(.inner-page) .mobile-menu a:hover,
  body:not(.inner-page) .mobile-menu a:focus-visible,
  body:not(.inner-page) .mobile-menu button:not(.offcanvas-menu-close):hover,
  body:not(.inner-page) .mobile-menu button:not(.offcanvas-menu-close):focus-visible { color: var(--orange); }

  body:not(.inner-page) .mobile-menu-section a:last-child,
  body:not(.inner-page) .mobile-menu-section button:last-child { border-bottom: 0; }
  body:not(.inner-page) .mobile-account-identity {
    margin: 0 0 6px;
    padding: 9px 10px;
    color: #364759;
    background: #f3f6f9;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
  }

  body:not(.inner-page) .mobile-membership-countdown {
    display: block;
    margin-top: 8px;
    color: #7c5729;
    font-size: 12px;
    font-weight: 700;
  }

  body:not(.inner-page) .mobile-menu-languages .language-switcher {
    min-height: 32px;
    padding: 4px 0 0;
    border: 0;
  }

  body:not(.inner-page) .mobile-menu-lawyer-link {
    margin-top: 14px;
    padding: 12px 14px !important;
    color: #fff !important;
    background: var(--orange) !important;
    border-radius: 4px;
    font-weight: 700;
    text-align: center !important;
  }

  body:not(.inner-page) .offcanvas-menu-close {
    position: absolute;
    top: 17px;
    right: 19px;
    width: 36px;
    height: 36px;
    padding: 0;
    display: grid;
    place-items: center;
    color: #173f5f;
    background: #f4f6f8;
    border: 1px solid #dce2e8;
    border-radius: 50%;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
  }

  body:not(.inner-page) .offcanvas-menu-close:hover,
  body:not(.inner-page) .offcanvas-menu-close:focus-visible { color: #fff; background: var(--orange); border-color: var(--orange); }
}

@keyframes lex-offcanvas-reveal {
  from { transform: translateX(28px); opacity: .75; }
  to { transform: translateX(0); opacity: 1; }
}

/* GDPR: analitika je odvojena od neophodnih kolačića i aktivira se samo izborom posetioca. */
.cookie-consent-banner {
  position: fixed;
  z-index: 1700;
  right: 20px;
  bottom: 20px;
  width: min(680px, calc(100vw - 40px));
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #26323e;
  background: #fff;
  border: 1px solid #dce3e9;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(20, 36, 52, .25);
}
.cookie-consent-banner[hidden],
.cookie-preferences-dialog[hidden] { display: none !important; }
.cookie-consent-banner p { margin: 0; font-size: 14px; line-height: 1.55; }
.cookie-consent-banner a { display: inline-block; margin-top: 7px; color: #173f5f; font-size: 13px; font-weight: 700; }
.cookie-consent-kicker { margin: 0 0 7px !important; color: var(--orange); font-size: 11px !important; font-weight: 700; letter-spacing: .12em; }
.cookie-consent-actions,
.cookie-preferences-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookie-settings-button,
.cookie-necessary-button,
.cookie-analytics-button {
  padding: 9px 11px;
  border: 1px solid #bfcbd6;
  border-radius: 4px;
  background: #fff;
  color: #173f5f;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.cookie-necessary-button { color: #fff; background: #173f5f; border-color: #173f5f; }
.cookie-analytics-button { color: #fff; background: var(--orange); border-color: var(--orange); }
.cookie-settings-button:hover,
.cookie-settings-button:focus-visible { border-color: #173f5f; background: #eef4f9; }
.cookie-necessary-button:hover,
.cookie-necessary-button:focus-visible { background: #102e47; }
.cookie-analytics-button:hover,
.cookie-analytics-button:focus-visible { background: var(--orange-dark); }
.cookie-preferences-dialog {
  position: fixed;
  z-index: 1800;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(16, 31, 45, .58);
}
body.cookie-preferences-open { overflow: hidden; }
.cookie-preferences-card {
  position: relative;
  width: min(600px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  padding: 32px;
  overflow-y: auto;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 22px 58px rgba(10, 20, 31, .34);
}
.cookie-preferences-card h2 { margin: 0 0 12px; color: #1f3040; font-size: 25px; }
.cookie-preferences-card > p { margin: 0 0 20px; color: #596877; line-height: 1.55; }
.cookie-preferences-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #173f5f;
  background: #f2f5f7;
  border: 1px solid #d7e0e7;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cookie-preferences-close:hover,
.cookie-preferences-close:focus-visible { color: #fff; background: var(--orange); border-color: var(--orange); }
.cookie-preference-option {
  margin: 11px 0;
  padding: 13px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #f7f9fa;
  border: 1px solid #dbe3e8;
  border-radius: 5px;
  cursor: pointer;
}
.cookie-preference-option input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--orange); }
.cookie-preference-option strong,
.cookie-preference-option small { display: block; }
.cookie-preference-option small { margin-top: 4px; color: #607080; line-height: 1.45; }
.cookie-preference-option.is-unavailable { opacity: .72; cursor: not-allowed; }
.cookie-preferences-actions { margin-top: 22px; }

@media (max-width: 760px) {
  .language-switcher { gap: 3px; padding-right: 4px; border-right: 0; }
  .translation-status { bottom: 88px; }
  .admin-translation-button { right: 14px; bottom: 136px; max-width: calc(100vw - 28px); }
  .footer-brand { width: 205px; }
  .cookie-consent-banner { right: 12px; bottom: 82px; width: calc(100vw - 24px); padding: 16px; display: block; }
  .cookie-consent-actions { margin-top: 14px; justify-content: flex-start; }
  .cookie-preferences-card { padding: 26px 20px 20px; }
}

@media (max-width: 900px) {
  .mobile-menu { padding-top: 51px; }
  .offcanvas-menu-close {
    position: absolute;
    z-index: 1;
    top: 9px;
    right: 10px;
    width: 32px;
    height: 32px;
    padding: 0;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: #f4f6f8;
    border: 1px solid #dce2e8;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
  }
  .mobile-menu .offcanvas-menu-close:hover,
  .mobile-menu .offcanvas-menu-close:focus-visible { color: #fff; background: var(--orange); border-color: var(--orange); }
  .mobile-account-identity {
    margin: 0 0 5px;
    padding: 8px 10px;
    color: #435365;
    background: #f3f6f9;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.35;
  }
  .mobile-membership-countdown { display: block; margin: 7px 10px 0; color: #7c5729; font-size: 12px; font-weight: 700; }
  .mobile-menu-languages .language-switcher { padding: 4px 10px 0; border: 0; }
}
