/*Theme Name: AMLF
Theme URI: http://amlf.gov.al/
Author: AKSHI
Author URI: https://amlf.gov.al/
Description: Theme e zhvilluar nga AKSHI për AMLF
Version: 1.0.0
Tested up to: 7.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: akshi-amlf
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/
:root {
    --primary: #40208A;
    --primary-dark: #2D1463;
    --accent: #451E69;
    --text: #222;
    --muted: #6F7280;
    --bg: #F5F6FB;
    --white: #fff;
    --border: #E8E9EF;
    --container: 1180px;
    --shadow: 0 10px 28px rgba(29, 30, 66, 0.08);
    --radius: 16px;
  }

  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    margin-top: 0 !important;
  }

  body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
  }

  img {
    max-width: 100%;
    display: block;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  .container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
  }

  /* SEKSIONI SIPER HEADER*/
  .topbar {
    background: var(--primary);
    color: #fff;
    font-size: 14px;
  }

  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px;
    margin-top: 0;
  }

  .socials {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  }

  .socials i {
    font-size: 18px;
    line-height: 1;
  }



  /* SEKSIONI HEADER*/
 .header {
    background: rgba(255, 255, 255, 0.97);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
  }

  .logo img {
    height: 80px;
    width: auto;
    display: block;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 36px;
    position: relative;
  }

  .nav-links {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text);
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-menu li {
    display: flex;
    align-items: center;
  }

  .nav-menu ul li a {
    padding: 4px 0;
  }

  .nav-menu > li > a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text);
    padding: 6px 12px;
    border-radius: 8px;
    position: relative;
    transition: color 0.2s, background 0.2s;
  }

  .nav-menu > li > a:hover {
    color: var(--primary);
    background: rgba(64, 32, 138, 0.06);
  }

  .nav-menu > li > a.active {
    color: var(--primary);
    font-weight: 600;
  }

  /* Dropdown */
  .dropdown {
    position: relative;
  }

  .dropdown-btn.active,
  .current-menu-parent > .dropdown-btn,
  .current-menu-ancestor > .dropdown-btn {
    font-weight: 700;
    color: var(--primary);
  }

  .dropdown-btn .icon-open   { display: none; }
  .dropdown-btn .icon-closed { display: inline-block; }

  /* Dropdown panel */
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    min-width: 210px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(29, 30, 66, 0.12);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 200;
  }

  .dropdown-menu a {
    display: block;
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
  }

  .dropdown-menu a:hover {
    background: rgba(64, 32, 138, 0.07);
    color: var(--primary);
  }

  /* Hamburger button*/
  .menu-btn {
    display: none;
    border: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 200;
  }

  .menu-btn__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }

  .menu-btn[aria-expanded="true"] .menu-btn__bar {
    transform: translateY(0px) rotate(90deg);
  }

  /* Desktop */
  @media (min-width: 901px) {

    .dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .dropdown:hover .icon-closed { display: none; }
    .dropdown:hover .icon-open   { display: inline-block; }

    .dropdown-menu {
    max-height: 220px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
   }

    .dropdown-menu::-webkit-scrollbar {
      width: 5px;
    }
    .dropdown-menu::-webkit-scrollbar-track {
      background: transparent;
    }
    .dropdown-menu::-webkit-scrollbar-thumb {
      background: rgba(64, 32, 138, 0.2);
      border-radius: 4px;
    }
    .dropdown-menu::-webkit-scrollbar-thumb:hover {
      background: rgba(64, 32, 138, 0.4);
    }

    .dropdown-menu a {
      display: block;
      padding: 10px 14px 10px 20px;
      font-size: 12px;
      color: var(--muted);
      border-radius: 8px;
      border-bottom: 1px solid rgba(64, 32, 138, 0.06);
      box-sizing: border-box;
      transition: background 0.15s, color 0.15s;
    }

    .nav-menu > a.active,
    .nav-menu > li > a.active {
      color: var(--primary);
      font-weight: 600;
    }

    .dropdown-btn.active {
      font-weight: 700;
      color: var(--primary);
    }

    .dropdown-menu li {
      width: fit-content;
    }
  }

  /*  Mobile  */

 @media (max-width: 900px) {
  .logo img {
    height: 90px;
   object-fit: contain;
  }

  .nav {
    padding: 5px 10px;
  }

  .menu-btn {
  display: block;
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 12px 12px;
  margin:5px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 200;
}

.menu-btn__bar {
  display: block;
  width: 18px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 16px;
    z-index: 100;
    box-shadow: 0 12px 32px rgba(29, 30, 66, 0.1);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 3px;
    list-style: none;
    padding: 10px;
    margin: 0;
  }

  .nav-menu > a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s;
  }

  .nav-menu > a:hover,
  .nav-menu > a.active {
    background: rgba(64, 32, 138, 0.07);
    color: var(--primary);
  }

  .nav-menu > a.active {
    font-weight: 700;
  }

  .nav-menu > .dropdown {
    border-radius: 8px;
    overflow-x: hidden;
  }

  .nav-menu > .dropdown > .dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    background: none;
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s;
  }

  .nav-menu > .dropdown > .dropdown-btn:hover,
  .nav-menu > .dropdown.is-open > .dropdown-btn {
    background: rgba(64, 32, 138, 0.07);
    color: var(--primary);
  }

  .nav-menu > .dropdown.is-open > .dropdown-btn {
    border-radius: 8px 8px 0 0;
  }

  .nav-menu > .dropdown .icon-closed { display: inline-block; }
  .nav-menu > .dropdown .icon-open   { display: none; }
  .nav-menu > .dropdown.is-open .icon-closed { display: none; }
  .nav-menu > .dropdown.is-open .icon-open   { display: inline-block; color: var(--primary); }

  .dropdown-menu {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-radius: 0 0 8px 8px;
    padding: 0;
    background: rgba(64, 32, 138, 0.04);
    transition: max-height 0.3s ease, visibility 0.3s;
  }

  .nav-menu > .dropdown.is-open .dropdown-menu {
    visibility: visible;
    max-height: 500px;
    padding: 6px 0 10px;
  }

  .dropdown-menu a {
    display: block;
    padding: 10px 14px 10px 28px;
    font-size: 13px;
    color: var(--muted);
    border-radius: 0;
    border-bottom: 1px solid rgba(64, 32, 138, 0.06);
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s;
  }

  .dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
  }

  .dropdown-menu a:hover {
    background: rgba(64, 32, 138, 0.07);
    color: var(--primary);
  }
}

  
  .hero {
    position: relative;
    min-height: 520px;
    display: grid;
    align-items: center;
    color: #fff;
    background:
    linear-gradient(rgba(64, 32, 138, 0.82), rgba(64, 32, 138, 0.82)),
    url('images/hero.jpg') center/cover no-repeat;
  }
  
  .hero-content {
    max-width: var(--container);
    padding: 72px 0;
  }
  
  .ftitle {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
  }
  
  .hero h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.1;
  }
  
  .hero p {
    margin: 0 0 26px;
    font-size: 12px !important;
    color: rgba(255,255,255,0.9);
    max-width: 680px;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    box-shadow: var(--shadow);
  }
  
  @media (max-width: 900px) {
    .hero-content {
    max-width: var(--container);
    padding: 64px 0;
  }
  .ftitle {
    font-size: 10px;
  }
  
  .hero h1 {
    margin: 0 0 10px;
    font-size: clamp(24px, 5vw, 54px);
    line-height: 1.1;
  }
  
  .hero p {
    margin: 0 0 20px;
    font-size: 10px;
  }
  

  .btn {
    font-weight: 400;
    font-size: 10px;
  }
  }


  .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: -64px;
    position: relative;
    z-index: 2;
  }
  .card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(64, 32, 138, 0.06);
    transition: box-shadow 0.3s ease-in-out;
  }
  
  .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 38, 80, 0.15);
  border-color: rgba(64, 32, 138, 0.2);
  }
  .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(64, 32, 138, 0.08);
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 16px;
  }
  
  .card h3 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 18px;
  }
  
  .card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
  }

  @media (max-width: 1024px) {
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .card-icon {
      width: 26px;
      height: 26px;
      border-radius: 10px;
      font-size: 18px;
    }
  
    .card h3 {
      font-size: 16px;
    }
  
  .card p {

    font-size: 10px;
  }
  }


  .section {
    padding: 56px 0;
  }
  
  .section-title {
    margin: 0;
    font-size: clamp(18px, 3.2vw, 24px);
    color: var(--primary);
  }

  .news-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
  }
  
  .news-list {
    display: grid;
    gap: 18px;
  }
  .news-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: center;
    box-shadow: 0 8px 24px rgba(29, 30, 66, 0.05);
    border: 1px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 10px;
  }
  
  .news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
  
   .news-thumb {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: #ddd;
  }
  
  .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .news-content h3 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 18px;
    line-height: 1.3;
  }
  
  .news-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 700;
  }
  
  .news-content p {
    margin: 0;
    color: #4f5568;
    font-size: 13px;
  }

  @media (max-width: 820px) {
  
  .section {
    padding:32px 0;
  }
  
  .section-title {
    margin: 0;
    font-size: clamp(16px, 3.2vw, 24px);
    color: var(--primary);
  }

  .news-item {
      grid-template-columns: 1fr;
      margin-bottom: 10px;
    }
  
   .news-thumb {
    aspect-ratio: 20 / 8;
  }

  .news-content h3 {
    font-size: 14px;
    margin-bottom: 2px;
  }
  
  .news-meta {
    font-size: 10px;
    margin-bottom: 2px;
  }
  
  .news-content p {
    margin: 0;
    color: #4f5568;
    font-size: 11px;
  }
  }
  
  .muted {
    color: var(--muted);
  }
  

  
 

  
  .footer {
    background: var(--primary);
    color: #fff;
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
  }
  .site-footer:hover:hover {
    text-decoration: underline ;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 56px 0 34px;
  }
  
  .footer h4 {
    margin: 0 0 14px;
    font-size: 16px;
  }
  
  .footer p,
  .footer li,
  .footer a {
    color: rgba(255,255,255,0.82);
    font-size: 13px;
  }

  .footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
  }

  .footer-grid ul li a {
  position: relative;
  display: inline-block;
  }

  .footer-grid ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
  }

  .footer-grid ul li a:hover::after {
    width: 100%;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.14);
    padding: 18px 0 26px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  @media (max-width: 900px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .footer {
    margin-top: 10px;
    text-align: center;
    }
  
  .footer h4 {
    font-size: 12px;
    font-weight: 500px;
  }
  
  .footer p,
  .footer li,
  .footer a {
    color: rgba(255,255,255,0.82);
    font-size: 12px;
  }


  
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.14);
    padding: 18px 0 26px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }


  }
  
  @media (max-width: 640px) {
    .cards,
    .footer-grid {
      grid-template-columns: 1fr;
    }
  
    .hero {
      min-height: 460px;
    }
  
    .hero-content {
      padding: 52px 0;
    }
  
    .news-header,
    .footer-bottom,
    .topbar-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .logo {
      gap: 8px;
    }
  
    .logo-text {
      font-size: 12px;
    }
  
    .hero p {
      font-size: 15px;
    }
  
    .card,
    .news-item {
      padding: 16px;
    }

    @media (max-width:820px){
    .dropdown{
    width:100%;
    }
        
    .dropdown-btn{
    width:100%;
    text-align:left;
    
    }
        
    .dropdown-menu{
    position:relative;
    box-shadow:none;
    border:none;
    opacity:1;
    visibility:visible;
    transform:none;
    display:none;
    padding-left:15px;
    }
        
    .dropdown.open .dropdown-menu{
    display:block;
    }
  }
  }



.inside-page {
  padding: 40px 0 80px;
  background: #f5f5f5;
}

.inside-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.inside-main {
  min-width: 0;
}

.breadcrumb {
  margin-bottom: 26px;
  font-size: 15px;
  color: var(--muted);
}

.breadcrumb a {
  color: #4418a9;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb .sep {
  margin: 0 6px;
  color: #888;
}

.breadcrumb .current {
  color: var(--text);
  font-weight: 600;
}

.inside-content-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px 32px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: box-shadow .25 ease, tranform .25 ease;
}


.inside-title {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.05;
  color: var(--primary-dark);
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent);
  text-transform: uppercase;
}

.inside-content {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}

.inside-content p {
  margin: .1rem;
}

.inside-content ul {
padding-left: 0;
list-style: none; }

.inside-content ul li {
margin: bottom 10px; }


.inside-content ul li a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  display: inline-block;
}

.inside-content ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.inside-content ul li a:hover {
  color: var(--primary);
}

.inside-content ul li a:hover::after {
  width: 100%;
}

.inside-sidebar {
  position: sticky;
  top: 120px;
}
.inside-content h2,
.inside-content h3 {
  font-size: 1.2rem;
   font-weight: 700;
color: var(--primary);
margin: 1.5rem 0 .75rem;
border-bottom: 2px solid var(--primary);
 padding-bottom: .5rem;
}

.inside-content,
.inside-title,
.sidebar-card{
font-family: inherit;
}

.sidebar-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
  
}

.sidebar-card h3 {
  margin: 0 0 20px;
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  text-transform: uppercase;
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu li {
  margin-bottom: 10px;
}

.sidebar-menu a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-weight: 525;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.8;
  font-size: 12px;
  
}

.sidebar-menu a:hover,
.sidebar-menu .current-menu-item a {
  color: var(--primary-dark);
}

.sidebar-card.news-item{
  grid-template-columns: 1fr;
  gap: 26px;
  padding: 16px;
  border-radius: 17px;
}

@media (max-width: 1024px) {
  .inside-page-grid {
    grid-template-columns: 1fr;
  }

  .inside-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .inside-page {
    padding: 24px 0 48px;
  }

  .inside-content-card,
  .sidebar-card {
    padding: 22px;
  }

  .inside-title {
    font-size: 18px;
  }

  .inside-content {
    font-size: 14px;
  }
}

.single-wrapper {
  max-width: 780px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.single-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.single-meta {
  font-size: 0.85rem;
  color: var(--muted, #888);
  margin-bottom: 1.5rem;
}

.single-hero {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.single-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.single-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text, #333);
  margin-bottom: 2.5rem;
}

.single-content p {
  margin-bottom: 1.25rem;
}

.single-back {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  margin-bottom: 3rem;
}


.kontakt-page {
  padding: 3rem 1.5rem;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.kontakt-form h2,
.kontakt-info h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
  color: var(--primary-dark);
  text-transform: uppercase;
}

.kontakt-form p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  outline: none;
  transition: border 0.2s;
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
}

.form-field textarea {
  resize: vertical;
}

.form-error {
  color: red;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.form-success {
  background: #f0fff4;
  color: #276749;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid #c6f6d5;
  margin-bottom: 1rem;
}

.kontakt-info ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.kontakt-info ul li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-hint {
  font-size: 12px;
  color: var(--muted, #888);
  margin-top: 0.3rem;
}

@media (max-width: 768px) {
  .kontakt-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

.page-content {
  padding: 3rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-title {
  font-size: 16px !important;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary);
  text-transform: uppercase;
}

.page-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.page-body p {
  margin-bottom: 1.25rem;
}






.legjislacioni-page {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.legjislacioni-page .page-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.legjislacion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.legjislacion-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(29, 30, 66, 0.05);
}

.legjislacion-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 1rem;
}

.legjislacion-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.legjislacion-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.legjislacion-item:last-child {
  border-bottom: none;
}

.legjislacion-link {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  line-height: 1.5;
  font-weight: 500;
  position: relative;
}

.legjislacion-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.3s ease;
}

.legjislacion-link:hover {
  color: var(--primary-dark);
}

.legjislacion-link:hover::after {
  width: 100%;
}

@media (max-width: 767px) {
  .legjislacion-grid {
    grid-template-columns: 2fr;
  }
}

.news-all-btn{
    text-align:center; 
    margin-top:0.2rem;
    padding: 2px;
  }


.news-archive-page {
  padding: 2.5rem 0 5rem;
  background: var(--bg);
}

.news-archive-header {
  margin-bottom: 2rem;
}

.news-archive-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
  text-transform: uppercase;
}

.news-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.news-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(29, 30, 66, 0.05);
  min-height: 170px;
    padding: 18px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;

}

.news-card-thumb {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  background: #e9e9e9;
  overflow: hidden;
  border-radius: 12px;
}

.news-card-thumb img,
.news-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
 
}

.news-card-body {
  padding: 1rem 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.news-card-meta span {
  margin: 0 0.35rem;
}

.news-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
}

.news-card-title a {
  color: var(--primary);
  text-decoration: none;
}

.news-card-title a:hover {
  color: var(--primary-dark);
}

.news-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #4f5568;
  margin-bottom: 0.9rem;
}

.news-card-btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 15px;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.news-card-btn:hover {
  background: var(--primary);
}

.news-archive-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.news-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin: 0 4px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
}

.news-archive-pagination .page-numbers.current,
.news-archive-pagination .page-numbers:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (max-width: 768px) {

.news-archive-header {
  margin-bottom: 0.5rem;
}

.news-archive-title {
  font-size: 16px;
}


.news-card-body {
  padding: 1rem 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
}

.news-card-title a {
  color: var(--primary);
  text-decoration: none;
  font-size: 16px;
}

.news-card-excerpt {
  font-size: 14px;
  margin-bottom: 0.2rem;
}

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card-thumb {
    min-height: 200px;
  }

  .news-card-body {
    padding: 1rem;
  }



  .news-archive-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.news-archive-pagination .page-numbers {
  min-width: 26px;
  height: 26px;
}

.news-archive-pagination .page-numbers.current,
.news-archive-pagination .page-numbers:hover {
  font-size: 12px;
}
  }

.error-404-page {
  background: var(--bg);
  padding: 3rem 0 5rem;
}

.error-404-breadcrumb {
  margin-bottom: 2rem;
  font-size: 14px;
  color: var(--muted);
}

.error-404-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.error-404-breadcrumb a:hover {
  color: var(--primary-dark);
}

.error-404-breadcrumb .sep {
  margin: 0 8px;
  color: var(--muted);
}

.error-404-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 3.5rem 2rem;
  text-align: center;
}

.error-404-code {
  font-size: clamp(72px, 12vw, 140px);
  line-height: 1;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.12;
  margin-bottom: 1rem;
}

.error-404-title {
  margin: 0 0 1rem;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: var(--primary-dark);
  font-weight: 700;
}

.error-404-text {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.error-404-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.error-404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

.error-404-btn.primary {
  background: var(--accent);
  color: #fff;
}

.error-404-btn.primary:hover {
  background: var(--primary-dark);
}



@media (max-width: 768px) {
  .error-404-page {
    padding: 2rem 0 4rem;
  }

  .error-404-card {
    padding: 2.5rem 1.25rem;
    border-radius: 16px;
  }

  .error-404-text {
    font-size: 15px;
  }

  .error-404-btn {
    width: 100%;
  }
}






.kontakt-sidebar-card {
  border: 1px solid var(--border);
  padding: 28px 32px;
}

.contact-sidebar-block + .contact-sidebar-block {
  margin-top: 34px;
}

.kontakt-sidebar-title,
.contact-sidebar-block-title,
.contact-sidebar-block .widget-title {
  margin: 0 0 18px;
  color: var(--primary-dark);
  font-size: 16px !important;
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(69, 30, 105, 0.22);
  text-transform: uppercase;
}

.kontakt-sidebar-list,
.contact-sidebar-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.kontakt-sidebar-list li,
.contact-sidebar-block li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #394055;
}

.kontakt-sidebar-list a,
.contact-sidebar-block a {
  color: #394055;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.kontakt-sidebar-list a::after,
.contact-sidebar-block a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.kontakt-sidebar-list a:hover,
.contact-sidebar-block a:hover {
  color: var(--primary);
}

.kontakt-sidebar-list a:hover::after,
.contact-sidebar-block a:hover::after {
  width: 100%;
}


.kontakt-sidebar-list i,
.contact-sidebar-block .bi {
  color: var(--primary-dark);
  font-size: 18px;
  margin-top: 3px;
}

.sidebar-card.sidebar-menu-card h3 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 1024px) {
  .kontakt-sidebar {
    position: static;
  }
}



.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.view-all-news {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  font-size: 14px;
  text-transform: uppercase;
}

.view-all-news:hover {
  opacity: 0.75;
}





.site-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  width: 100%;
}

.site-search__wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 14px 0 42px;
  transition: border-color .2s ease;
}

.site-search__wrap:focus-within {
  border-color: rgba(64, 32, 138, 0.28);
}

.site-search__icon {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  stroke: #7C8191;
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}

.site-search__field {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
}

.site-search__field::placeholder {
  color: #8A8FA3;
}

.site-search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.site-search__btn i {
  font-size: 16px;
}

.site-search__btn:hover {
  background: var(--primary-dark);
}

.search-empty-state {
  max-width: 760px;
  margin: 40px auto 70px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
}

.search-empty-state__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(64, 32, 138, 0.08);
  color: var(--primary);
  font-size: 28px;
}

.search-empty-state__title {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--primary-dark);
  font-weight: 700;
}

.search-empty-state__text {
  max-width: 580px;
  margin: 0 auto 24px;
  font-size: 15px;
  color: var(--muted);
}

.search-empty-state__form {
  max-width: 520px;
  margin: 0 auto 20px;
}

.search-empty-state__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.search-empty-state__home:hover {
  background: var(--primary-dark);
}

.search-results-header {
  margin: 10px 0 28px;
  padding: 24px 28px;
  border-bottom: 2px solid var(--primary);
}

.search-results-title {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--primary-dark);
  font-weight: 700;
}

.search-results-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.search-results-subtitle span {
  color: var(--primary);
  font-weight: 600;
  margin-left: 6px;
}

.search-results-grid {
  display: grid;
  gap: 20px;
}

  .search-result-card {
      display: grid;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
    align-items: center;
   
  }

  .search-result-card__thumb {
    min-height: unset;
    width: 160px;
    height: 110px;
    flex-shrink: 0;
  }
   .search-result-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
      border-radius: 15px;

  }

.search-result-card__body {
 
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
}

.search-result-card__meta {
  margin-bottom:4px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.search-result-card__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.search-result-card__title a {
  color: var(--primary-dark);
  text-decoration: none;
}

.search-result-card__title a:hover {
  color: var(--primary);
}

.search-result-card__excerpt {
  font-size: 14px;
  color: #50566A;
  margin-bottom: 8px;
}

.search-result-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}

.search-result-card__link:hover {
  color: var(--primary);
}

.search-results-page .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.search-results-page .page-item {
  list-style: none;
}

.search-results-page .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.search-results-page .page-item .page-link:hover {
  background: rgba(64, 32, 138, 0.06);
  border-color: rgba(64, 32, 138, 0.18);
  color: var(--primary);
}

.search-results-page .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.search-results-page .page-item:first-child .page-link,
.search-results-page .page-item:last-child .page-link {
  min-width: 44px;
}

.search-results-page .page-item.active .page-link,
.search-results-page .page-item .page-link:focus {
  box-shadow: none;
  outline: none;
}
.search-results-page .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

.search-results-page .page-item:first-child .page-link,
.search-results-page .page-item:last-child .page-link {
  font-size: 14px;
  padding: 0 12px;
}
  

@media (max-width: 768px) {
  .site-search {
  max-width: 170px;
}
  .search-results-header {
    padding: 20px 18px;
    border-radius: 16px;
  }

@media (max-width: 768px) 
{

  .site-search__wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 14px 0 42px;
  transition: border-color .2s ease;
}

.site-search__field {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
  color: var(--text);
  font-family: inherit;
}

.site-search__icon {
  position: absolute;
  left: 14px;
  width: 10px;
  height: 10px;
  stroke: #7C8191;
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}

.site-search__field {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
  color: var(--text);
  font-family: inherit;
}


.site-search__btn {
  min-height: 30px;
  min-width: 30px;
}

.site-search__btn i {
  font-size: 10px;
}

.site-search__btn:hover {
  background: var(--primary-dark);
}
  .search-results-header {
    margin: 6px 0 16px;
    padding: 16px 14px;
    text-transform: uppercase;
  }

  .search-result-card {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 16px;
  }

  .search-result-card__thumb {
    height: 160px;
  }

  .search-results-title {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--primary-dark);
  font-weight: 700;
}

.search-results-subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.search-results-subtitle span {
  color: var(--primary);
  font-weight: 600;
  margin-left: 6px;
}

.search-results-grid {
  display: grid;
  gap: 20px;
}

.search-result-card__meta {
  margin-bottom: 2px;
  font-size: 10px;
}

.search-result-card__title {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
}

.search-result-card__excerpt {
  font-size: 12px;
  color: #50566A;
  margin-bottom: 4px;
}

.search-result-card__link {
  font-size: 8px;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  background-color: var(--bg);
  border: 1px solid var(--primary-dark);
  border-radius: 15px;
  padding: 6px;

}

  .search-empty-state {
    margin: 24px auto 50px;
    padding: 28px 18px;
    border-radius: 16px;
  }

  .search-empty-state__title {
    font-size: 22px;
  }

  .search-empty-state__text {
    font-size: 14px;
  }
} 
 } 