/*
 * Compatibility styles for imported page templates.
 * This replaces the old theme's Bootstrap, Font Awesome and theme bundles.
 */
.aksk-template-shell {
  min-height: 54vh;
  color: var(--aksk-copy);
  background: var(--aksk-light-neutral);
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell {
  font-family: "Cabin", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.72;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell :where(h1, h2, h3, h4, h5, h6) {
  color: var(--aksk-navy);
  font-family: "Cabin", system-ui, sans-serif !important;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell :where(h1, .page-title) {
  font-size: clamp(2rem, 4vw, 2.625rem);
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell h2 {
  font-size: clamp(1.55rem, 3vw, 1.75rem);
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell h3 {
  font-size: 1.375rem;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell :where(.page-title, .container > h1:first-child) {
  display: none !important;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell .aksk-legacy-title {
  display: none !important;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell .container > h1 {
  display: none !important;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell :where(.intro, .ecsc-intro) > h1:first-child {
  display: none !important;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell a {
  color: var(--aksk-teal);
  text-decoration: none;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell a:hover {
  color: var(--aksk-green);
  text-decoration: underline;
  text-underline-offset: .18em;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell .aksk-inner-hero h1 {
  color: #fff;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell .aksk-inner-hero__eyebrow {
  color: var(--aksk-mint);
}

.container,
.wrap_site,
.evgovt-content {
  width: min(calc(100% - 32px), var(--aksk-max));
  margin-inline: auto;
}

.container,
.evgovt-content {
  padding-block: 48px;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell :where(.container, .wrap_site, .evgovt-content) {
  width: min(calc(100% - 48px), var(--aksk-max)) !important;
  max-width: var(--aksk-max) !important;
  margin-inline: auto !important;
  margin-block: 0 !important;
  padding-block: 48px 72px !important;
}

.row {
  display: flex;
  margin-inline: -12px;
  flex-wrap: wrap;
}

.row > [class*="col-"] {
  width: 100%;
  padding-inline: 12px;
}

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-center { justify-content: center; }
.my-4 { margin-block: 1.5rem; }
.pb-3 { padding-bottom: 1rem; }

.container form {
  max-width: 860px;
  margin-top: 28px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid rgba(39, 112, 111, .2);
  border-top: 4px solid var(--aksk-teal);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(29, 53, 87, .07);
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell form {
  width: 100% !important;
  max-width: 900px !important;
  margin: 24px 0 0 !important;
  padding: clamp(24px, 4vw, 40px) !important;
  border: 1px solid rgba(39, 112, 111, .2) !important;
  border-top: 4px solid var(--aksk-teal) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(29, 53, 87, .07) !important;
}

.container form :where(input:not([type="checkbox"], [type="radio"], [type="submit"]), select, textarea) {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  color: #111827;
  background: #fff;
  font: inherit;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell form :where(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"]), select, textarea) {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 46px !important;
  padding: 11px 13px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  color: var(--aksk-ink) !important;
  background: #fff !important;
  font: inherit !important;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell form :where(input, select, textarea):focus {
  border-color: var(--aksk-teal) !important;
  outline: 3px solid rgba(102, 194, 164, .28) !important;
  outline-offset: 1px;
}

.container form textarea {
  min-height: 130px;
  resize: vertical;
}

.container form input[type="submit"],
.container form button[type="submit"] {
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--aksk-teal);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.container form input[type="submit"]:hover,
.container form button[type="submit"]:hover {
  background: var(--aksk-green);
}

.container form label,
.container form b,
.container form strong {
  color: var(--aksk-navy);
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell form :where(label, b, strong, legend) {
  color: var(--aksk-navy) !important;
  font-weight: 700;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell form :where(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--aksk-teal);
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell form :where(input[type="submit"], button[type="submit"], .wpcf7-submit) {
  min-height: 46px !important;
  padding: 11px 24px !important;
  border: 0 !important;
  border-radius: 4px !important;
  color: #fff !important;
  background: var(--aksk-teal) !important;
  font: inherit !important;
  font-weight: 700 !important;
}

body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell form :where(input[type="submit"], button[type="submit"], .wpcf7-submit):hover {
  background: var(--aksk-green) !important;
}

body[class*="page-template-raporto"] .aksk-template-shell form :where(input[type="submit"], button[type="submit"], .wpcf7-submit) {
  background: var(--aksk-red) !important;
}

.error-message {
  margin-block: 18px;
  padding: 12px 16px;
  border-left: 4px solid var(--aksk-red);
  color: #991b1b;
  background: #fef2f2;
}

.post-media {
  overflow: hidden;
  border: 1px solid rgba(39, 112, 111, .18);
  border-radius: 8px;
  background: var(--aksk-light-neutral);
}

.post-media img,
.post-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}

.post-body,
.content-box,
.sidebar-box {
  padding: 22px;
  border: 1px solid rgba(39, 112, 111, .18);
  border-top: 3px solid var(--aksk-teal);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 53, 87, .05);
}

.post-title,
.entry-title,
.page-title {
  margin: 0 0 12px;
  color: var(--aksk-navy);
  line-height: 1.25;
}

.post-excerpt,
.post-content {
  color: #4b5563;
  line-height: 1.7;
}

.post-meta {
  color: var(--aksk-muted);
  font-size: .875rem;
}

.btn-readmore {
  display: inline-flex;
  margin-top: 14px;
  color: var(--aksk-teal);
  font-weight: 700;
}

.blog_pagination,
.pagination {
  display: flex;
  margin: 28px 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
}

.pagination a,
.pagination .page-numbers {
  display: grid;
  min-width: 38px;
  min-height: 38px;
  padding: 7px;
  place-items: center;
  border: 1px solid var(--aksk-line);
  border-radius: 4px;
  color: var(--aksk-navy);
  background: #fff;
}

.pagination .current {
  color: #fff;
  border-color: var(--aksk-teal);
  background: var(--aksk-teal);
}

.arrow_carrot-left::before { content: "‹"; }
.arrow_carrot-right::before { content: "›"; }
.fa-clock-o::before { content: "◷"; }

.carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.aksk-template-shell :where(.box, .post, .elementor-tab-content, .content-box) {
  border-color: rgba(39, 112, 111, .18) !important;
  border-radius: 8px !important;
}

.aksk-template-shell :where(.box, .post) {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 53, 87, .05);
}

.aksk-template-shell .post-title-hover :where(h2, h3, h4, p, a, .post-excerpt) {
  color: #fff !important;
}

.aksk-template-shell .central-item {
  border-color: #e5e7eb !important;
  background: transparent;
}

.aksk-template-shell .central-item h2 {
  color: var(--aksk-navy) !important;
}

/* Transparency-program cards */
.page-template-programi-transparences .aksk-template-shell .tab {
  display: flex !important;
  padding: 10px !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 1rem !important;
  line-height: 1.4 !important;
}

.page-template-programi-transparences .aksk-template-shell .tab1 {
  height: 104px !important;
}

.page-template-programi-transparences .aksk-template-shell .tab:not(.tab1) {
  height: 116px !important;
}

.page-template-programi-transparences .aksk-template-shell .tab > p {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  transform: none !important;
}

.page-template-programi-transparences .aksk-template-shell .tab > p + p:not(:empty),
.page-template-programi-transparences .aksk-template-shell .tab > .hyrje {
  margin-top: 6px !important;
  font-size: .875rem !important;
}

.page-template-programi-transparences .aksk-template-shell .tab > p:empty {
  display: none;
}

.aksk-template-shell :where(.elementor-tabs-wrapper, .tabs) {
  border-color: rgba(39, 112, 111, .2) !important;
}

.aksk-template-shell :where(.elementor-tab-title, .tabs) {
  color: var(--aksk-navy) !important;
  font-family: "Cabin", system-ui, sans-serif !important;
  font-weight: 700 !important;
}

.aksk-template-shell :where(.elementor-tab-title.elementor-active, .tabs.activated) {
  border-color: var(--aksk-teal) !important;
  color: var(--aksk-teal) !important;
}

.aksk-template-shell :where(table) {
  width: 100%;
  border-collapse: collapse;
}

.aksk-template-shell :where(th, td) {
  padding: 11px 13px;
  border: 1px solid #dbe3ec;
  text-align: left;
  vertical-align: top;
}

.aksk-template-shell th {
  color: #fff;
  background: var(--aksk-navy);
}

.aksk-template-shell tbody tr:nth-child(even) {
  background: var(--aksk-light-neutral);
}

.aksk-template-shell :where(.intro, .ecsc-intro, .note, .declaration) {
  max-width: 900px;
  color: var(--aksk-copy);
}

.aksk-template-shell :where(.wpcf7-not-valid-tip, .error-message) {
  color: #991b1b;
}

.aksk-template-shell .wpcf7-response-output {
  margin-inline: 0 !important;
  border-color: var(--aksk-teal) !important;
}

/* Contact page */
.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child {
  margin: 0 !important;
  padding: 64px 24px 72px !important;
}

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container {
  max-width: 1140px;
  align-items: stretch;
  gap: 40px;
}

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container > .elementor-column {
  display: flex;
}

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container > .elementor-column:first-child {
  width: auto;
  flex: 1 1 0;
}

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container > .elementor-column:last-child {
  width: auto;
  flex: 1 1 0;
}

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container > .elementor-column > .elementor-widget-wrap {
  width: 100%;
  height: 100%;
  padding: 38px 40px !important;
  border: 1px solid rgba(39, 112, 111, .18);
  border-top: 4px solid var(--aksk-mint);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(29, 53, 87, .07);
}

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap {
  display: flex;
  align-content: flex-start;
  flex-direction: column;
}

.page-template-kontakt .aksk-template-shell .ova-heading .title {
  margin: 0 0 26px;
  color: var(--aksk-navy);
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.page-template-kontakt .aksk-template-shell .elementor-heading-title {
  margin: 22px 0 14px;
  color: var(--aksk-navy);
}

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container > .elementor-column:last-child .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 26px;
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container > .elementor-column:last-child :where(.elementor-inner-section, .elementor-container, .elementor-column, .elementor-widget-wrap) {
  width: 100%;
}

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container > .elementor-column:last-child :where(.elementor-inner-section, .elementor-inner-section > .elementor-container, .elementor-inner-section .elementor-widget-wrap) {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-template-kontakt .aksk-template-shell .elementor form {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-template-kontakt .aksk-template-shell .ova-contact-info {
  display: flex;
  margin-bottom: 14px;
  align-items: flex-start;
  gap: 12px;
}

.page-template-kontakt .aksk-template-shell .ova-contact-info .icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--aksk-teal);
  background: rgba(102, 194, 164, .16);
}

.page-template-kontakt .aksk-template-shell .ova-contact-info .icon i {
  font-size: 16px;
  line-height: 1;
}

.page-template-kontakt .aksk-template-shell .ova-contact-info .address {
  padding-top: 7px;
  line-height: 1.55;
}

.page-template-kontakt .aksk-template-shell .ova_social { margin-top: auto; }
.page-template-kontakt .aksk-template-shell .ova_social .aksk-social-links { margin-top: 24px; }

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:last-child {
  margin-top: 0 !important;
}

.page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:last-child iframe {
  display: block;
  min-height: 450px;
}

@media (max-width: 900px) {
  .page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child {
    padding: 44px 20px 56px !important;
  }

  .page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container {
    display: grid;
    gap: 28px;
  }

  .page-template-kontakt .aksk-template-shell > .elementor > .elementor-section:first-child > .elementor-container > .elementor-column {
    width: 100% !important;
  }
}

@media (min-width: 768px) {
  .row > .col-md-6 { width: 50%; }
  .row > .col-md-4 { width: 33.333%; }
  .row > .col-md-8 { width: 66.667%; }
  .flex-md-row { flex-direction: row; }
  .mr-md-5 { margin-right: 3rem; }
  .pb-md-0 { padding-bottom: 0; }
}

@media (max-width: 767px) {
  .container,
  .wrap_site,
  .evgovt-content {
    width: min(calc(100% - 24px), var(--aksk-max));
  }

  .container,
  .evgovt-content {
    padding-block: 32px;
  }

  .carousel { grid-template-columns: 1fr; }

  body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell :where(.container, .wrap_site, .evgovt-content) {
    width: min(calc(100% - 32px), var(--aksk-max)) !important;
    padding-block: 32px 52px !important;
  }

  body.page-template:not(.page-template-page-teamalbania) .aksk-template-shell form {
    padding: 24px 18px !important;
  }
}
