:root {
  --adr-green: #7DB241;
  --adr-teal: #40B2CB;
  --adr-blue: #2190A3;
  --adr-gray: #657175;
  --radius: 16px;
}

.adr-archive .adr-archive-title,
.adr-proiect-title { color: var(--adr-green); }
.adr-archive, .adr-single { 
  margin-top: 40px;
}
@media (max-width: 1100px) {
  .adr-archive, .adr-single { 
    margin-top: 40px;
  }
}
.adr-archive-layout { display: grid; grid-template-columns: 407px 1fr; gap: 24px; align-items: start; }
@media (max-width: 1100px) { .adr-archive-layout { grid-template-columns: 1fr; } }
.adr-sidebar { background: rgba(101,113,117,0.17); border-radius: 16px; padding: 20px; position: sticky; top: 120px; }
.adr-filter-bar { display: none; margin: 12px 0; }
.adr-filter-close { display: none; }
.adr-filter-section { margin-bottom: 28px; }
.adr-filter-title { font-family: 'Lexend', sans-serif; font-weight: 600; letter-spacing: -0.022em; margin-bottom: 8px; }
.adr-filter-title[data-color="blue"] { color: var(--adr-blue); font-size: 37px; }
.adr-filter-title[data-color="green"] { color: #62A860; font-size: 37px; }
.adr-filter-title.is-light { color: #40B2CB; }
.adr-filter-list { list-style: none; padding: 10px; margin: 0; }
.adr-filter-list li { font-family: 'Lexend', sans-serif; font-weight: 300; font-size: 17.5px; letter-spacing: -0.022em; color: var(--adr-gray); margin: 10px 0; }
.adr-sidebar .adr-filter-list a { color: var(--adr-gray) !important; text-decoration: none; }
.adr-sidebar .adr-filter-list a:hover { color: var(--adr-blue) !important; }

.adr-listing .adr-grid { margin-top: 20px; }
.adr-filter-actions { display: none !important; }

/* Empty state */
.adr-empty { border: 1px solid var(--adr-gray); border-radius: var(--radius); padding: 32px; background: #fff; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.adr-empty-title { font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 24px; color: var(--adr-green); letter-spacing: -0.022em; }
.adr-empty-desc { font-family: 'Lexend', sans-serif; font-weight: 300; color: var(--adr-gray); }

  .adr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  @media (max-width: 1024px) { .adr-grid { grid-template-columns: 1fr; } }
  .adr-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  @media (max-width: 1024px) { .adr-grid2 { grid-template-columns: 1fr; } }

.adr-card { border: 1px solid var(--adr-gray); border-radius: var(--radius); overflow: hidden; background: #fff; }
.adr-card-thumb img { width: 100%; height: auto; display: block; }
.adr-card { border-color: rgba(101,113,117,0.45); box-shadow: 0 1px 2px rgba(0,0,0,0.04); transition: transform .15s ease, box-shadow .15s ease; }
.adr-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.adr-card-thumb img { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.adr-card-body { padding: 18px 18px 16px; }
.adr-card-title a { color: var(--adr-green); text-decoration: none; font-weight: 600; font-family: 'Lexend', sans-serif; font-size: 1.6rem; letter-spacing: -0.022em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adr-proiect-desc { 
  font-family: 'Lexend', sans-serif;
  color: var(--adr-gray);
  font-weight: 300;
  font-size: clamp(1.0625rem, 1.6vw, 1.5rem);
  line-height: 1.44;
  text-align: justify;
  margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.adr-card-tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.adr-card .adr-chip { font-size: 0.85rem; padding: 5px 9px; }

.adr-chip { display: inline-block; padding: 6px 10px; border-radius: 6px; font-size: 0.9rem; line-height: 1; color: #fff; }
.adr-chip--blue { background: var(--adr-blue); }
.adr-chip--green { background: var(--adr-green); }
.adr-chip--teal { background: var(--adr-teal); }
.adr-chip--red { background: #d63638; }

.adr-proiect-header { margin-bottom: 16px; }
.adr-proiect-title { font-family: 'Lexend', sans-serif; font-weight: 600; font-size: clamp(2rem, 4vw, 4.5rem); letter-spacing: -0.022em; line-height: 1.22; margin: 0 0 8px; display: -webkit-box;  }
.adr-proiect-hero { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
.adr-hero-main img, .adr-hero-secondary img { width: 100%; height: auto; border-radius: var(--radius); display: block; background: #D9D9D9; }
@media (min-width: 1100px) { .adr-proiect-hero { grid-template-columns: 1fr 1fr; } }
.adr-proiect-content { font-family: 'Lexend', sans-serif; color: var(--adr-gray); font-weight: 300; font-size: clamp(1.0625rem, 1.6vw, 1.5rem); line-height: 1.44; text-align: justify; margin-bottom: 24px; max-width: 878px; }
.adr-proiect-desc { font-family: 'Lexend', sans-serif; color: var(--adr-gray); font-weight: 300; font-size: clamp(1.0625rem, 1.6vw, 1.5rem); line-height: 1.44; text-align: justify; margin-bottom: 24px; max-width: 878px;  }

.adr-proiect-details { display: grid;   margin: 24px 24px 0px 0px; }
@media (max-width: 768px) { .adr-proiect-details { grid-template-columns: 1fr; } }
.adr-detail .label { color: var(--adr-blue); font-weight: 400; margin-right: 8px; }
.adr-detail .value { color: var(--adr-green); }
.adr-detail .value.adr-status--red { color: #d63638; }

.adr-proiect-gallery h2, .adr-proiect-similar h2 { color: var(--adr-green); font-size: 2rem; margin: 32px 0 16px; }
.adr-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1024px) { .adr-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .adr-gallery-grid { grid-template-columns: 1fr; } }
.adr-gallery-item img { width: 100%; height: auto; border-radius: var(--radius); background: #D9D9D9; display: block; }

.adr-pagination { margin-top: 24px; }
.adr-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }

.adr-pagination a, .adr-pagination span { font-family: 'Lexend', sans-serif; border: 1px solid rgba(101,113,117,0.45); padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--adr-blue); }
.adr-pagination .current {
  background: var(--adr-blue);
  color: #fff;
  border-color: var(--adr-blue);

  /* Centrare text */
  display: flex;
  align-items: center;
  justify-content: center;

}


/* Override tema: stil paginare pentru pagina proiecte */
.adr-pagination .page-numbers {
  font-size: 1.4rem !important;
  line-height: 3.5rem !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  transition: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.adr-pagination .page-numbers.prev{

  font-size: 0rem !important;
  }
.adr-pagination .page-numbers.next{

font-size: 0rem !important;
}


/* Mobile filter drawer */
@media (max-width: 1100px) {
  .adr-filter-bar { display: flex; justify-content: flex-end; }
  .adr-filter-open { display: inline-flex; align-items: center; gap: 8px; background: var(--adr-blue); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-family: 'Lexend', sans-serif; font-weight: 600; letter-spacing: -0.022em; box-shadow: 0 6px 24px rgba(33,144,163,0.3); transition: transform .12s ease, box-shadow .12s ease; -webkit-tap-highlight-color: transparent; }
  .adr-filter-open:active { transform: translateY(1px); box-shadow: 0 4px 16px rgba(33,144,163,0.25); }
  .adr-sidebar { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; background: #fff; border-radius: 0; padding: 72px 20px 92px; overflow: auto; transform: translateY(100%); transition: transform .25s ease; }
  body.adr-filter-open { overflow: hidden; }
  body.adr-filter-open .adr-sidebar { transform: translateY(0); }
  .adr-filter-header { position: sticky; top: 0; left: 0; right: 0; padding: 12px 16px; margin: 10px -20px 16px; background: #fff; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 10px rgba(0,0,0,0.06); z-index: 2; }
  .adr-filter-header-title { font-family: 'Lexend', sans-serif; font-weight: 600; color: var(--adr-blue); letter-spacing: -0.022em; }
  .adr-filter-close { display: inline-block; background: transparent; border: 0; font-size: 28px; line-height: 1; color: var(--adr-blue); cursor: pointer; }

  .adr-filter-section { border-bottom: 1px solid rgba(101,113,117,0.15); padding-bottom: 8px; margin-bottom: 12px; }
  .adr-filter-title { display: flex; align-items: center; justify-content: space-between; font-size: 24px; cursor: pointer; user-select: none; }
  .adr-filter-title:after { content: '\25BC'; font-size: 14px; margin-left: 8px; opacity: 0.6; transform: rotate(0deg); transition: transform .15s ease; }
  .adr-filter-section.is-collapsed .adr-filter-title:after { transform: rotate(-90deg); }
  .adr-filter-section.is-collapsed .adr-filter-list { display: none; }
  .adr-filter-section:first-of-type { margin-top: 6px; }

  .adr-sidebar .adr-filter-list { display: none; }
  .adr-filter-select { display: block; width: 100%; margin: 8px 0 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(101,113,117,0.35); font-family: 'Lexend', sans-serif; font-size: 16px; color: var(--adr-gray); background: #fff; }

  .adr-filter-actions { position: sticky; bottom: 0; left: 0; right: 0; margin: 16px -20px -92px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 30%); display: flex !important; gap: 10px; z-index: 2; }
  .adr-filter-actions .button { flex: 1; text-align: center; }
  .adr-reset-desktop { display: none !important; }
}

/* Desktop: show lists, hide selects */
@media (min-width: 1101px) {
  .adr-filter-select { display: none; }
  .adr-filter-header { display: none; }
}

/* Mobile spacing tweaks */
@media (max-width: 1100px) {
  .adr-archive-layout { margin: 12px !important; }
  .adr-listing .adr-grid { margin-top: 12px; }
  .adr-grid { gap: 16px; }
  .adr-grid2 { gap: 16px; }
  .adr-single > .container { margin: 12px !important; }
  .adr-breadcrumb-bar { padding-top: 70px; }
}

@media (min-width: 1101px) {
  .adr-breadcrumb-bar { padding-top: 0; }
}

/* Breadcrumb bar */
.adr-breadcrumb-bar { position: relative; }
.adr-breadcrumb-bg { position: absolute; left: 0; right: 0; top: 0; bottom: 0; min-height: 55px; background: white; z-index: 0; }
.adr-breadcrumb-bar .container { position: relative; z-index: 1; padding-top: 140px;}
@media (max-width: 1100px) {
  .adr-breadcrumb-bar .container { padding-top: 10px;
  margin-top: 50px;
      
  }
}
.adr-brand { color: #fff; font-family: 'Lexend', sans-serif; }
.adr-brand-line { font-weight: 600; letter-spacing: -0.022em; }
.adr-brand-county { font-weight: 300; }
.adr-breadcrumbs { color: #fff; font-weight: 300; font-size: clamp(0.9rem, 1.6vw, 1.721rem); letter-spacing: -0.022em; margin-top: 16px; }
.adr-breadcrumbs a { color: #fff; text-decoration: none; }
.adr-breadcrumbs span { margin: 0 6px; opacity: 0.8; }

/* Single redesigned hero (two stacked boxes on right) */
.adr-hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
@media (min-width: 1100px) {
  .adr-hero-grid { grid-template-columns: minmax(0, 1fr) 825px; align-items: start; }
}
.adr-hero-left {}
.adr-code { font-family: 'Lexend', sans-serif; color: var(--adr-blue); letter-spacing: -0.022em; font-weight: 400; font-size: clamp(1.25rem, 2.3vw, 2.5rem); line-height: 1.26; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adr-code span { color: var(--adr-blue); font-weight: 400; }
.adr-hero-right { display: grid; grid-template-rows: 359px 359px; gap: 16px; }
.adr-hero-right--grid4 { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 175px; gap: 16px; }
@media (max-width: 1099px) { .adr-hero-right--grid4 { grid-template-columns: 1fr; grid-auto-rows: 200px; } }
.adr-hero-box { background: #D9D9D9; border-radius: var(--radius); overflow: hidden; }
.adr-hero-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adr-placeholder { width: 100%; height: 100%; background: #D9D9D9; border-radius: var(--radius); }

/* CTA bar */
.adr-cta { margin: 36px 0; }
.adr-cta-box { background: var(--adr-blue); color: #fff; border-radius: var(--radius); text-align: center; padding: 24px; font-size: clamp(1.1rem, 2vw, 3rem); font-weight: 500; letter-spacing: -0.022em; max-width: 1032px; min-height: 90px; margin-left: auto; margin-right: auto; display: flex; align-items: center; justify-content: center; text-decoration: none; }

/* Details typography to match Figma */
.adr-proiect-details { font-family: 'Lexend', sans-serif; }
.adr-detail .label { color: var(--adr-blue); font-weight: 400;  font-size: clamp(0.8rem, 2.3vw, 2.7333rem); }
.adr-detail .value { color: var(--adr-green); font-weight: 300; line-height: 1.26; letter-spacing: -0.022em; font-size: clamp(0.4rem, 2.3vw, 2.7333rem); margin-left: 8px; }


/* Offset content under fixed header on mobile */
@media (max-width: 1100px) {
  .adr-breadcrumb-bar { padding-right: 10px }
}

@media screen and (max-width: 480px) {
  nav.adr-pagination .nav-links { justify-content: center !important; }
}



