/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.dyon-page-wrapper {
    padding-top:40px;
}
.grid-container {margin: 0 auto;}
.news-cta-bar{display:flex;align-items:center;justify-content:space-between;background:#eaeaea;padding:20px 30px;border-radius:8px;margin:30px 0;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.news-cta-text{font-size:18px;font-weight:600;color:#333;margin:0;padding-right:20px}
.news-cta-button{background:#3EAA34;color:#fff!important;padding:12px 25px;text-decoration:none;border-radius:5px;font-weight:600;transition:all .3s ease;white-space:nowrap}
.news-cta-button:hover{background:#ffd72f;transform:scale(1.05);color:#333!important}
.rek-dyl-top {display: block;margin-bottom: 10px;}
.dyon-six-img-container,.dyon-three-img-wrapper{aspect-ratio:16/9;background:#f0f0f0;display:block}
.side-menu{display:flex;flex-direction:column;height:100vh;padding:0}
.side-menu-header{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;padding:25px 20px;border-bottom:2px solid #111}
.side-nav{flex:1 1 auto;overflow-y:auto;padding:10px 20px;-webkit-overflow-scrolling:touch}
.side-menu-footer{flex:0 0 auto;padding:20px;background:rgba(0,0,0,.02);border-top:1px solid rgba(0,0,0,.1);font-size:12px;font-weight:400;text-align:left;color:#444}
html{scrollbar-gutter:stable}
body.side-menu-open{overflow:hidden;touch-action:none;-ms-touch-action:none}
.header-bottom{display:flex;flex-direction:column;gap:10px;padding-top:10px;border-top:1px solid #444}
.dyon-kon-legal-links{width:100%;display:flex;flex-wrap:wrap;gap:15px;padding-bottom:5px;border-bottom:1px solid rgba(0,0,0,.05);list-style:none;transition:color .2s ease;justify-content:right}
.dyon-kon-legal-links a{text-decoration:none;color:#000;font-size:12px;font-weight:700;text-transform:normal}
.dyon-kon-legal-links a:hover{color:#c40000}
.search-row-wrapper{display:flex;align-items:center;width:100%;gap:12px}
.site-header.scrolled .header-bottom{max-height:0;opacity:0;padding:0;overflow:hidden;border:none}

/* Mobile Adjustments */
@media (max-width: 599px) {
    .dyon-page-wrapper {
    padding-top:10px;
}
.dyon-two-tag {display: none !important;}
    .dyon-kon-legal-links {
        gap: 10px;
    }
    
    .dyon-kon-legal-links a {
        font-size: 12px;
    }
}
/* --- SIDEBAR OPTIMIZATION --- */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%; 
  width: 320px; 
  max-width: 85%; 
  height: 100%; /* Changed from 100vh for better mobile compatibility */
  background: #FFD72F;
  z-index: 2000; 
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 0; /* Move padding to internal elements so scrollbar hits the edge */
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevent the main container from showing a double scrollbar */
}

/* 1. Header stays fixed at the top of the sidebar */
.side-menu-header {
  flex: 0 0 auto;
  padding: 30px 20px 10px 20px;
  margin-bottom: 0;
}

/* 2. This is the magic part: The Nav becomes the scrollable area */
.side-nav {
  flex: 1 1 auto;
  overflow-y: auto; 
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 20px 40px 20px; /* Bottom padding ensures the last item is reachable */
}

.side-nav ul {
  display: block; /* Ensure it's not inheriting a flex property that breaks height */
  height: auto;
  margin: 0;
}
.side-menu.active {
  right: 0;
}

/* --- SEARCH BAR POLISH --- */
.search-container input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  background: #f4f4f4;
  font-size: 14px; /* Prevents iOS auto-zoom on focus */
  transition: background 0.3s ease;
}

.search-container input:focus {
  background: #fff;
  outline: 2px solid #000;
}

.search-submit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #111;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.close-side-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: transform 0.2s ease, color 0.2s ease;
}

.close-side-menu:hover {
  color: #C40000;
  transform: scale(1.1);
}

.close-side-menu svg {
  display: block;
}

.menu-title {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 1px;
}

.side-nav ul {
  list-style: none;
  padding: 0;
}

.side-nav ul li {
  margin-bottom: 5px; /* Tighter list */
  border-bottom: 1px solid rgba(0,0,0,0.08);

  /* Animation Start State */
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

/* Animation End State (Triggered when menu opens) */
.side-menu.active .side-nav ul li {
    opacity: 1;
    transform: translateX(0);
}


.side-nav ul li a {
text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    display: block;
    padding: 12px 0; /* Slightly more padding for better "tap" targets */
    transition: color 0.2s;
    line-height: 1.2; /* Better spacing for multi-line items */
}

.side-nav ul li a:hover {
  color: #C40000;
}

/* Show backdrop when active */
.menu-sidebar-backdrop.active {
 display: block;
    backdrop-filter: blur(4px); /* Adds a nice blur to the content behind the menu */
    background: rgba(0, 0, 0, 0.4); /* Slightly lighter overlay */
    opacity: 1; /* Ensure opacity is visible */
}
/* Adjust for Admin Bar if logged in */
body.admin-bar .mega-menu-overlay {
  top: calc(170px + 32px);
  height: calc(100vh - 170px - 32px);
}
  
/* --- 1. BASE SETTINGS & WP ADMIN BAR --- */
body {
  padding-top: 160px; 
  margin: 0;
}

/* Fix for WordPress Admin Bar */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}


/* --- 2. HEADER STRUCTURE --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
right: 0; 
  z-index: 1000;
}

.header-container {
  max-width: 990px;
  margin: 0 auto;
  padding: 10px 20px;
  position: relative;
  border-bottom: 1px solid red;
  background: #FFD72F;
  

}

/* --- 3. TOP ROW (Logo + Nav Wrapper) --- */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  display: block;
  height: 65px !important;
  background-color: #FFD700;
  padding: 5px 10px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- 4. MAIN NAVIGATION (Horizontal Desktop) --- */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {

font-size: 13px; /* Slightly larger for readability */
  font-weight: 800;
  letter-spacing: 0.05em; /* Professional tracking */
  transition: all 0.2s ease;
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.main-nav ul li a:hover {
  color: var(--accent-red);
  transform: translateY(-1px);
}

/* Tablet */
@media (max-width: 899px) {
  .main-nav { display: none; }
}
.dyon-page-wrapper {
    padding-top:10px;
}

/* Mobile */
@media (max-width: 599px) {

}

/* --- 5. STAGGERED HAMBURGER ICON --- */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background-color: #000;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Staggered widths */
.menu-toggle span:nth-child(1) { width: 16px; }
.menu-toggle span:nth-child(2) { width: 22px; }
.menu-toggle span:nth-child(3) { width: 28px; }

/* Animation to "X" */
.menu-toggle.active span { width: 28px; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* --- 7. BOTTOM ROW (Search) --- */
.header-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #444;
  transition: all 0.3s ease;
}

.site-header.scrolled .header-bottom {
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: none;
}

.hey-tag {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: transparent; /* Cleaner look */
  padding: 0;
}

.search-container { flex-grow: 1; position: relative; display: flex; }
.search-container input {
  width: 100%;
  padding: 10px 45px 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #ececec;
  font-size: 14px; /* Best for mobile inputs */
  font-weight: 500;
  color: #333;
}

.search-submit {
position: absolute;
  right: 12px;
  top: 5%; /* Changed from 5% */
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #888;
  display: flex; /* Ensures SVG centers well */
  align-items: center;
}

/* Ensure the backdrop actually exists visually if you use it later */
.menu-sidebar-backdrop {
position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px); /* Your blur effect */
  display: none;
  z-index: 1500; /* Increased to be higher than .site-header (1000) */
}

.menu-sidebar-backdrop.active {
  display: block;
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* TABLET (Under 900px) */
@media (max-width: 899px) {
  body { padding-top: 145px; }
  
  .main-nav { display: none; } /* Hide horizontal menu */
  
.logo img {
    height: 55px !important; 
  }
  .menu-toggle {
    height: 16px;
    width: 26px;
  }
    .header-container {
    padding: 10px 1%;
  }

}
  


/* MOBILE (Under 600px) */
@media (max-width: 599px) {
  body { padding-top: 95px; }

.logo img {
    height: 45px !important;
  }
  
  .header-container {
    padding: 8px 15px;
  }

  /* Refine Search Input for Mobile */
  .search-container input {
    padding: 10px 40px 10px 12px;
    font-size: 15px; /* Slightly smaller but still accessible */
    border-radius: 6px;
  }
  
  /* Close Button Size */
  .close-side-menu svg {
    width: 28px;
    height: 28px;
  }

  .header-top {
    padding-bottom: 5px;
  }

  /* Hide the "Kërko_" text to give the search bar more room */
  .hey-tag {
    display: none;
  }

  .header-bottom {
    padding-top: 8px;
    gap: 0;
  }
  
  .side-menu-header .menu-title {
    font-size: 18px;
  }
}
.generate-columns.grid-33,
.grid-sizer.grid-33 {
  width: 100% !important;
  padding-left: 0px;
}

img {
  display: block;
  vertical-align: middle;
}



::selection {
  background-color: #ff6200;
  color: #000000;
}

a:visited {
  text-decoration: none !important;
}

.no-tags {
  border-bottom: 1px solid #e8e9ea;
}


body a:visited {
  text-decoration: none;
}

button:hover {
  opacity: 1;
}

.break-long-words {
  word-break: break-all;
}

p a {
  color: inherit;
  text-decoration: none;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fdede7),
    to(#fdede7)
  );
  background-image: linear-gradient(to bottom, #fdede7 0%, #fdede7 100%);
  background-repeat: no-repeat;
  background-size: 100% 00%;
  background-position: 0 111%;
  -webkit-transition: background-size 0.25s ease-in;
  transition: background-size 0.25s ease-in;
  padding-left: 2px;
  padding-right: 2px;
  border-bottom: 2px solid #d21e3e;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  word-break: break-all;
}

p a:hover {
  background-size: 100% 100%;
}

#over-flow-test {
  overflow: hidden;
}

.nav-links-arkiva {
  margin: 40px 0;
  text-align: center;
}

.page-numbers-arkiva .page-numbers,
.page-numbers-arkiva .prev,
.page-numbers-arkiva .next {
  margin: 0 3px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #555;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  margin-top: 30px;
  justify-content: center;
}

.page-numbers-arkiva .page-numbers:hover,
.page-numbers-arkiva .prev:hover,
.page-numbers-arkiva .next:hover {
  background-color: #ddd;
  color: #333;
}

.page-numbers-arkiva .current {
  background-color: #d21e3e;
  color: #fff;
  border-color: #d21e3e;
}

.page-numbers-arkiva .page-numbers:not(.current) {
  margin: 0 3px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #555;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.page-numbers-arkiva .page-numbers:not(.current):hover {
  background-color: #ddd;
  color: #333;
}

.page-numbers-arkiva .page-numbers.current {
  background-color: #ffd72f;
  color: #000;
  border-color: #ffd72f;
}





.gp-icon svg {
  height: 1.4em;
  width: 1.5em;
  top: 0.395em;
  position: relative;
  fill: currentColor;
}


.first-post {
  background-color: #f6f8fc;
}


.artikulli-tags {
  padding-top: 30px;
  padding-bottom: 20px;
}

.artikulli-share-buttons {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  border-bottom: 1px solid #e8e9ea;
}

.artikulli-share-buttons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  color: #c7c7c7;
  text-align: center;
  line-height: 40px;
  margin-right: 5px;
}

.artikulli-print-button {
  color: #c7c7c7;
  font-size: 14px;
  line-height: 40px;
  padding: 0 15px;
  border-radius: 20px;
  margin-right: 5px;
}

.breadcrumbs {
  color: #d21e3e;
  font-size: 14px;
  margin-top: 0px;
  margin-bottom: 10px;
}

#breadcrumbs a {
  color: #d21e3e;
  font-size: 14px;
}

#breadcrumbs a:hover {
  color: #d21e3e;
  font-size: 14px;
  text-decoration: none;
}

.rajonipress-category-archive-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.rajonipress-category-archive-pagination .page-numbers {
  margin: 0 3px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #555;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.rajonipress-category-archive-pagination .page-numbers:hover {
  background-color: #ddd;
  color: #333;
}

.rajonipress-category-archive-pagination .page-numbers.current {
  background-color: #d21e3e;
  color: #fff;
  border-color: #d21e3e;
}


.post-image-above-header .inside-article .featured-image,
.post-image-above-header .inside-article .post-image {
  margin-top: 0;
  margin-bottom: 0em !important;
}

.separate-containers .comments-area,
.separate-containers .inside-article,
.separate-containers .page-header,
.separate-containers .paging-navigation {
  padding: 0px;
}

.main-navigation ul ul {
  box-shadow: 0px 0px 0 rgba(0, 0, 0, 0.1);
}

.sektori-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #767676;
  padding: 4px 16px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #8ca8ac;
  border-radius: 10px;
  margin-bottom: 16px;
}

.sektori-button-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #767676;
  padding: 5px 24px;
  margin-right: 10px;
  border-radius: 4px;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-transform: capitalize;
  margin-bottom: 10px;
}
.dyon-artikulli-tags {border-top: 1px solid #dedede;padding-top: 20px;}
.sektori-button-tag a {
  color: #767676;
}

.sektori-button-tag a:hover {
  color: #333;
}

.fillimi-post-category a {
  text-decoration: none;
  color: #d21e3e;
  font-weight: bold;
  font-size: 16px;
}

 /* FILLIMI I TEMPLATES SE REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE*/

.side-menu-footer .dyon-footer-legal-links a {
  color: #222;
  font-size: 14px;
  text-decoration: none;
  margin-right: 15px;
}
.perk-dylon-d {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Unified Black Background for Image & Info */
.perk-header-block {
    display: flex;
    background: #000; /* Deep Black */
    padding: 40px;
    gap: 40px;
    align-items: center;
}

.perk-image {
    flex: 0 0 300px;
}

.perk-image img {
    width: 100%;
    height: auto;
    border: 4px solid #ddd; /* 2px Border matching the dark theme */
    display: block;
}

.perk-info {
    flex: 1;
    color: #fff;
}

.perk-entry-title-shpalljet {
    color: #fff;
    font-size: 3.2rem; /* Large Modern Title */
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: -1px;
        border-bottom: 1px solid #666;
    padding-bottom: 20px;
}

.perk-custom-date {
    font-size: 1.2rem;
    color: #bbb;
    display: inline-block;
}

.perk-custom-date span {
    color: #bbb;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

  .dyloni-search-results {
    width: 100%;
  }

.site-content {display:block;}
.dyon-artikulli-container {
    max-width: 800px;
    margin: 0 auto;
    color: #1a1a1a;
    line-height: 1.6;
    padding: 20px;
}

.dyon-artikulli-header {
    text-align: center;
    margin-bottom: 30px;
}

.dyon-artikulli-kicker {
    color: #e30613;
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.dyon-artikulli-title {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

.dyon-artikulli-main-figure {
    margin: 0 0 25px 0;
}

.dyon-artikulli-image {
    width: 100%;
    height: auto;
    display: block;
}

.dyon-artikulli-caption {
    font-size: 0.8rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

.dyon-artikulli-photo-credit {
    font-size: 0.75rem;
}

.dyon-artikulli-meta {
    border-top: 1px solid #ddd;
    padding: 15px 0;
    font-weight: bold;
    font-size: 0.9rem;
}

.dyon-artikulli-content p {
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.dyon-artikulli-lead {
    font-size: 1.2rem;
    line-height: 1.5;
}

.dyon-artikulli-subheading {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 35px 0 15px 0;
}

/* Links style to match layout */
.dyon-artikulli-content a {
    color: #333;
    text-decoration: underline;
} 
.shpalljet-detajet-time {
  font-size: 1rem;
}

.entry-title-shpalljet {
  border-bottom: 1px solid #c4c4c4;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-weight: bold;
}

.entry-title-shpalljet-tjera {
  border-bottom: 1px solid #c4c4c4;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-weight: bold;
  font-size: 1.3rem;
}

.shpalljet-detajet {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-size: 1rem;
}

.shpalljet-detajet-info {
  margin-bottom: 0px;
  font-size: 1rem;
}

.numri-pozitave {
  font-size: 1rem;
  margin-bottom: 0;
}

.afati-i-aplikimit {
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-size: 1rem;
}
 .dylon-shpko-head {
  display: flex;
}

.dylon-shpa-kolona-1 {
  margin-right: 25px;
  width: 36%;
  border: 1px solid #ddd;
  line-height: 0;
}

.dylon-shpa-kolona-2 {
  width: 74%;
  padding: 15px;
  border: 1px solid #ddd;
}

.dylon-shpa-kolona-3 {
  width: 100%;
  padding: 15px;
  border: 1px solid #e3e3e3;
  background: #ececec;
}

.dylon-shpa-kolona-1 img {
  display: block;
  max-width: 100%;
  height: auto;
}

.dylon-other-shpko-head {
  margin-top: 30px;
}

.dylon-other-shpa-kolona {
  margin: 0 10px;
  /* Add margin to the left and right sides */
}

.dylon-other-shpa-kolona-1 {

  padding: 15px;
    background-color: #ECECEC;
}

.dylon-other-shpa-kolona-2 {

  background-color: #ECECEC;
  padding: 15px;
}

.dylon-other-shpa-kolona-3 {

  background-color: #ECECEC;
  padding: 15px;
}

.artikulli-content-dylon-shpkonper {
  padding-left: 2%;
  padding-right: 2%;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;

}
.artikulli-content-wrapper-shpk p {
  width: 100%;
}

.artikulli-content-wrapper p {
  width: 100%;
}

.artikulli-content-wrapper-shpk {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
  width: 100%;
  border-bottom: 1px solid #ddd;
}

.artikulli-content-wrapper-konkurse p {
  width: 100%;
  line-height: 1.6;
}

.artikulli-content-wrapper-konkurse {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
  padding-bottom: 20px;

}

/* Custom styles for category archive with two columns */
.konkurset-two-columns .dylonportal-category-archive-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}

.konkurset-two-columns .dylonportal-category-archive-post-wrapper {
  /* Adjust styling for each post wrapper in two columns */
  /* Example styles */
  background-color: #f7f7f7;
  padding: 20px;
}

.konkurset-two-columns .dylonportal-category-archive-post-thumbnail {
  /* Adjust styling for each post thumbnail in two columns */
  /* Example styles */
  text-align: center;
}

.konkurset-two-columns .dylonportal-category-archive-post-content {
  /* Adjust styling for each post content in two columns */
  /* Example styles */
  padding-top: 10px;
}

.shpalljet-detajet-data {
  margin-top: 20px;
  font-size: 1rem;
  width: 100%;
}

.dyl-perkuj-korniza {
  border-left: 15px solid #000;
  border-right: 15px solid #000;
  border-top: 15px solid #000;
  border-bottom: 15px solid #000;
  padding: 30px;
}

.dyl-perkujtimet-artk-img {
  width: 300px;
  margin: 0 auto;
}

.dyl-perkujtimet-artk {
  justify-content: center;
  margin-bottom: 30px;
}


 .dylonportal-category-archive-posts {
  width: 100%;
}

.dylonportal-category-archive-title {
  font-weight: bold;
  margin-top: 20px;
}


.dylonportal-category-archive-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.dylonportal-category-archive-post-wrapper {
  padding: 25px;
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* Ensures the effect is smooth */
}

.dylonportal-category-archive-post-wrapper:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Adds a soft outer shadow */
    transform: translateY(-3px); /* Optional: lifts the post slightly for a better look */
    background: #ffffff; /* Ensures the background is solid so the shadow is visible */
}
.dylonportal-category-archive-post-wrapper .fa { padding: 8px;}

  .dylonportal-category-archive-post-wrapper {
    padding: 1%;
    align-items: normal;
  }
.dylonportal-category-archive-post-thumbnail img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}



.dylonportal-category-archive-entry-meta {
  color: #999;
  font-size: 14px;
}

.dylonportal-category-archive-entry-summary p {
  margin-bottom: 0;
}

.dylonportal-category-archive-post-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

.dylonsearch-search-message {margin-top: 20px;}
.dylonportal-search-highlight {
  background-color: yellow;
  font-weight: bold;
}
.dylonportal-search-keyword {
  width: 100%;
  display: grid;
  margin-bottom: 20px;
  padding: 20px;
  border-bottom: 3px solid #ddd;
}

.dylonportal-category-archive-entry-title a {
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.dylonportal-category-archive-entry-title a:hover {
  text-decoration: underline;
}

.dylonportal-category-archive-entry-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.3;
}

.dylonportal-category-archive-post-thumbnail,
.dylonportal-category-archive-entry-title-thumbnail {
  flex: 0 0 auto;
  margin-right: 1rem;
}

.dylonportal-category-archive-entry-title-thumbnail h2 {
  margin: 0;
}
.cu
.search-container-mobil {
  flex: 1;
  position: relative;
}

.search-form .search-icon {
  position: absolute;
  top: 50%;
  right: 5px;
  /* Adjust the position as needed */
  transform: translateY(-50%);
  background: none;
  border: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="16" height="16"><path d="M208 48c-88.366 0-160 71.634-160 160s71.634 160 160 160 160-71.634 160-160S296.366 48 208 48zM0 208C0 93.125 93.125 0 208 0s208 93.125 208 208c0 48.741-16.765 93.566-44.843 129.024l133.826 134.018c9.366 9.379 9.355 24.575-.025 33.941-9.379 9.366-24.575 9.355-33.941-.025L337.238 370.987C301.747 399.167 256.839 416 208 416 93.125 416 0 322.875 0 208z" fill="%23000" fill-opacity=".4"/></svg>');
  background-position: 10px center;
  background-repeat: no-repeat;
  font-size: 16px;
  color: #000;
  /* Adjust the color as needed */
  cursor: pointer;
  pointer-events: auto;
}

.search-form-section {
  width: 100%;
}

.search-submit {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin-top: 20px;
}

#search-field {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="16" height="16"><path d="M208 48c-88.366 0-160 71.634-160 160s71.634 160 160 160 160-71.634 160-160S296.366 48 208 48zM0 208C0 93.125 93.125 0 208 0s208 93.125 208 208c0 48.741-16.765 93.566-44.843 129.024l133.826 134.018c9.366 9.379 9.355 24.575-.025 33.941-9.379 9.366-24.575 9.355-33.941-.025L337.238 370.987C301.747 399.167 256.839 416 208 416 93.125 416 0 322.875 0 208z" fill="%23000" fill-opacity=".4"/></svg>');
  background-position: 10px center;
  background-repeat: no-repeat;
  padding-left: 26px;
  /* Adjust the padding as needed */
  padding: 12px 20px 12px 40px;
  -webkit-transition: width 0.4s ease-in-out;
  transition: width 0.4s ease-in-out;
}

/* Remove default UL styling for the legal links menu */
.dyon-footer-legal-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Keeps links in a row if that was the previous style */
    flex-wrap: wrap;
    gap: 15px; /* Adjust spacing between these links */
}

.dyon-footer-legal-links li {
    display: inline-block;
}

/* Reset the Desktop Main Menu */
#primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

#primary-nav li {
    position: relative;
    /* Ensure there is no margin/padding shift */
}

#primary-nav a {
    text-decoration: none;
    display: block;

}

/* Ensure the Konkurse legal links stay styled correctly after adding UL */
.dyon-kon-legal-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Adjust spacing as needed */
}
/* Styling for the Footer Main Nav to remove default list behavior */
.dyon-footer-main-nav ul {
    list-style: none; /* Removes bullets */
    margin: 0;
    padding: 0;
    display: flex; /* Keeps links horizontal if that was the original style */
    flex-wrap: wrap;
    gap: 15px; /* Adjust spacing between menu items */
}

.dyon-footer-main-nav li {
    display: inline-block;
}
.dyon-kon-legal-links li {
    display: inline-block;
}
.dylonsearch-search-keyword {
  width: 100%;
  display: grid;
  margin-bottom: 20px;
  padding: 20px;
  border-bottom: 3px solid #ddd;
}

.dylonsearch-search-highlight {
  background-color: yellow;
  font-weight: bold;
}


.dylonsearch-search-listing {
  display: grid;
  gap: 20px;
  width: 100%;
  margin-top:20px;
}

.dylonsearch-search-post {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100% !important;
  margin-bottom: 10px;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 30px;
}

.dylonsearch-search-thumbnail {
  flex-shrink: 0;
  width: 35%;
}

.dylonsearch-search-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.dylonsearch-search-content {
  flex-grow: 1;
}

.dylonsearch-search-post-title {
  font-size: 20px;
  color: #000;
  margin: 0;
}

.dylonsearch-search-post-title a {
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.dylonsearch-search-post-title a:hover {
  font-weight: bold;
  color: #000;
  text-decoration: underline;
}

.dylonsearch-search-post-excerpt {
  font-size: 14px;
  margin: 0;
}

.dylonsearch-search-post-date {
  font-size: 12px;
  color: #777;
  margin: 0;
}


/* Featured First Post Override */
.mix-lajme-list-item.first-post {
    flex-direction: column; /* Stacks image on top of text */
    background-color: #e5e5e5; /* Subtle background */
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    gap: 15px;
}

/* Make the image container big */
.mix-lajme-list-item.first-post .mix-lajme-list-img {
    flex: 0 0 100%; /* Spans full width */
    height: 450px; /* Big featured height */
    border-radius: 8px;
}

/* Adjust the title for the featured post */
.mix-lajme-list-item.first-post .mix-lajme-list-info h4 {
    font-size: 28px;
    margin: 10px 0;
    line-height: 1.2;
}

/* Adjust excerpt for better readability on big post */
.mix-lajme-list-item.first-post .mix-lajme-list-excerpt {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

/* Category tag spacing on featured post */
.mix-lajme-list-item.first-post .mix-lajme-red-tag {
    margin-bottom: 5px;
}

/* Mobile Responsive adjustment for the Big Post */
@media (max-width: 989px) {

 .news-cta-bar {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .news-cta-text {
        padding-right: 0;
        margin-bottom: 15px;
    }
    .news-cta-button {
        width: 100%;
    }
.rek-dyl-top {display: none;}
.mix-lajme-list-item.first-post .mix-lajme-list-img {
        height: 110px !important;
        aspect-ratio: 16 / 9; /* Keeps a nice rectangular shape */
    }

    /* Make the text container full width */
    .mix-lajme-list-item.first-post .mix-lajme-list-info {
        width: 100% !important;
    
    }

    /* Ensure the actual image fills the container */
    .mix-lajme-list-item.first-post .mix-lajme-list-img img {
        width: 190px !important;
        max-width: 190px !important;
        height: 110px !important;
        object-fit: cover !important;
    }
  .perk-header-block {
        flex-direction: row;
        padding: 30px;
        gap: 25px;
    }
    
    .perk-image {
        flex: 0 0 180px;
    }

    .perk-entry-title-shpalljet {
        font-size: 2.2rem;
    }
    .dyon-artikulli-container {
        max-width: 95%; /* Give more breathing room on the sides */
        padding: 15px;
    }

    .dyon-artikulli-title {
        font-size: 2.5rem; /* Slightly smaller title */
        line-height: 1.2;
    }

    .dyon-artikulli-content p {
        font-size: 1.1rem; /* Adjust readability for tablets */
    }


.dylon-other-shpko-head {
  margin-top: 20px;}
 .dylon-shpko-head {
  display: block;
}
.dylon-shpa-kolona-1 {
    margin-right: 0px;
    width: 100%; 
}
.dylon-shpa-kolona-2 {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    margin-top:10px;
}
  .mix-lajme-list-item.first-post {
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 5px;
        padding-top:5px;
    }
    .mix-lajme-list-item.first-post .mix-lajme-list-img {
        height: 110px !important;; /* Smaller height on phones */
        flex: 0 0 190px !important;
        max-width: 190px !important;
        border-radius: 8px;
    }
    
    .mix-lajme-list-item.first-post .mix-lajme-list-info h4 {
        font-size: 22px;
    }
}
.dylon-category-archive-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.dylon-category-archive-pagination .page-numbers {
  margin: 0 3px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #555;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.dylon-category-archive-pagination .page-numbers:hover {
  background-color: #ddd;
  color: #333;
}

.dylon-category-archive-pagination .page-numbers.current {
  background-color: #FFD72F;
  color: #000;
  border-color: #FFD72F
}



  /* DYONONE*/
.dyon-section {
    width: 990px;
    margin: 40px auto;
}
.dyon-container {
  margin: 0 auto;
}
.dyon-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
  border-bottom: 2px solid #444;
  padding-bottom: 5px;
}

/* HERO */
.dyon-hero {
  position: relative;
  display: flex;
  overflow: hidden;
  background: #ddd;
  border-radius: 10px;
}

.dyon-hero-img {
  width: 100%;
  object-fit: cover;
}

.dyon-hero-content {
  width: 45%;
  background: #1E242C;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dyon-badge {
    color: #FFD72F;
  font-weight: bold;
    width: fit-content;
  
}

.dyon-label {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

.dyon-hero-title h3 a {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  line-height: 1.2;
  text-decoration: none;
}

/* CARDS */
.dyon-cards {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.dyon-card {
  flex: 1;
  background: #fff;
}

.dyon-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.dyon-card-text {
  font-size: 14px;
  font-weight: bold;
  padding: 10px;
}


/* DYONTWO*/
.dyon-two-news-container {
    margin: 0 auto;
    color: #333;
    width: 990px;
}

.dyon-two-header h2 {
    font-size: 28px;
    border-bottom: 2px solid #444;
    padding-bottom: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: 900;
}

.dyon-two-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Feature Article */
.dyon-two-main-feature {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    position: relative;
    background: #000;
    border-radius: 8px;
}

.dyon-two-image-wrapper img {
    width: 100%;
    display: block;
    opacity: 0.8;
    border-radius: 8px;
}

.dyon-two-overlay-content {
    position: absolute;
    bottom: 0;
    padding: 20px;
    color: #fff;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    box-sizing: border-box;
}

.dyon-two-overlay-content h3 {

    font-weight: 900;
    font-size: 26px;
    margin-bottom: 10px;
}

.dyon-two-subheadline {
    color: #ffd72f;
    font-weight: 800;
    font-size: 16px;
    margin: 0;
    line-height: 1.2;
}

/* Sidebar and Bottom Items */
.dyon-two-sidebar {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dyon-two-side-item, .dyon-two-bottom-item {
    display: flex;
    flex-direction: column;
}

.dyon-two-side-item img, .dyon-two-bottom-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.dyon-two-tag {
    color: #c00;
    font-size: 0.85rem;
    font-weight: bold;
      display: block;
    margin-top: 5px;
}

.dyon-two-text-content h4 {
    margin: 5px 0;
    font-size: 1.1rem;
    line-height: 1.2;
}

.dyon-two-text-content h3 a {
    font-size: 24px;
    margin: 5px 0;
    line-height: 1.1;
    color: #000;
    text-decoration: none;
font-weight: 700;}


.dyon-two-text-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Ad Slot Styles */
.dyon-two-ad-slot {
    background: #f4f4f4;
    padding: 10px;
    text-align: center;
    position: relative;
}

.dyon-two-ad-label {
    font-size: 0.7rem;
    color: #999;
    display: block;
    margin-bottom: 5px;
}

  /* DYOTHREE*/
.dyon-three-section {
    width: 990px;
    margin: 0px auto;
}

.dyon-three-header {
    border-bottom: 2px solid #444;
    margin-bottom: 10px;
}

.dyon-three-title {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    padding-bottom: 5px;
}

.dyon-three-arrow {
    color: #999;
}

/* Hero Styles */
.dyon-three-hero {
    margin-bottom: 20px;
}

.dyon-three-hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.dyon-three-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.dyon-three-hero-overlay {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.dyon-three-bg-text {
    background-color: #2c5e77; /* Dark Tealish Blue */
    color: white;
    padding: 5px 15px;
    font-size: 38px;
        font-weight: 900;
    line-height: 1.3;
    display: inline-block;
    margin-bottom: 5px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    opacity: 0.9;
}

.dyon-three-hero-subquote {
    background-color: white;
    color: #2c5e77;
    display: inline-block;
    padding: 5px 15px;
    font-size: 18px;
    font-weight: normal;
    margin-top: 10px;
}

/* Grid Styles */
.dyon-three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dyon-three-card {
    display: flex;
    flex-direction: column;
}

.dyon-three-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.dyon-three-img-wrapper {
    position: relative;
}

.dyon-three-label-top {
    position: absolute;
    top: 0;
    left: 0;
    background: #cc0000;
    color: white;
    padding: 2px 8px;
    font-size: 14px;
    font-weight: bold;
}

.dyon-three-label-mail {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255,255,255,0.9);
    padding: 5px;
    font-size: 12px;
}

.dyon-three-tag {
    color: #cc0000;
    font-size: 11px;
    font-weight: bold;
    margin-top: 10px;
}

.dyon-three-card-title {
    font-size: 24px;
    margin: 5px 0;
    line-height: 1.1;
    color: #000;
    font-weight: 700;
}

.dyon-three-card-desc {

    font-size: 13px;
    color: #444;
    margin: 0;
}
  /* DYOFOUR*/

  
.dyon-four-stars-section {
    width: 990px;
    margin: 20px auto;
}

.dyon-four-header {
    border-bottom: 2px solid #444;
    margin-bottom: 15px;
}

.dyon-four-section-title {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    padding-bottom: 5px;
}

.dyon-four-arrow {
    color: #999;
}

/* Container Layout */
.dyon-four-main-container {
    display: grid;
    grid-template-columns: 65% 35%; /* Hero is roughly 2/3 of the width */
    gap: 15px;
}

/* Left Hero Card */
.dyon-four-hero-card {
    position: relative;
    height: 480px; /* Aligns with the height of two sidebar items */
    overflow: hidden;
}

.dyon-four-hero-image-wrapper {
    height: 100%;
    position: relative;
    background-color: #000;
}

.dyon-four-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.dyon-four-hero-text-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.dyon-four-hero-tag {
    background-color: #7B0306;
    padding: 3px 8px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.dyon-four-hero-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Sidebar Styling */
.dyon-four-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dyon-four-side-item {
    display: flex;
    flex-direction: column;
}

.dyon-four-side-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.dyon-four-red-label {
    color: #cc0000;
    font-size: 11px;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.dyon-four-side-title {
    font-size: 18px;
    line-height: 1.1;
    margin: 5px 0;
    color: #000;
}

.dyon-four-side-text {
    
    font-size: 13px;
    color: #444;
    margin: 0;
}
 /* DYOSIX*/

 .dyon-six-brand-section {
    width: 990px;
    margin: 20px auto;

}

.dyon-six-header {
    border-bottom: 2px solid #444;
    margin-bottom: 20px;
}

.dyon-six-section-title {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    padding-bottom: 5px;
    letter-spacing: 0.5px;
}

.dyon-six-arrow {
    color: #999;
    font-weight: normal;
}

/* 3-Column Grid */
.dyon-six-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.dyon-six-card {
    display: flex;
    flex-direction: column;
}

/* Image container for positioning the badge */
.dyon-six-img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dyon-six-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* The "ANZEIGE" label */
.dyon-six-ad-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    font-weight: bold;
}

/* Text Content */
.dyon-six-content {
    padding-top: 5px;
}
.dyon-two-text-content {margin-bottom: 0px;}
.dyon-six-red-tag {
    color: #cc0000;
    font-size: 11px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.dyon-six-card-title {
    font-size: 19px;
    line-height: 1.15;
    margin: 0 0 8px 0;
    font-weight: 800;
    color: #111;
}

.dyon-six-card-text {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    margin: 0;
}
 /* DYOFIVE*/

 .dyon-five-sport-section {
    width: 990px;
    margin: 20px auto;

}

.dyon-five-header {
    border-bottom: 2px solid #444;
    margin-bottom: 15px;
}

.dyon-five-section-title {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    padding-bottom: 5px;
}

/* The Hero Row fixes the "mixed" issue */
.dyon-five-hero-row {
    display: flex; /* Using flex to keep them side-by-side without overlap */
    height: 320px;
    margin-bottom: 25px;
}

.dyon-five-hero-main {
    flex: 2; /* Takes 75% width */
    position: relative;
    background-color: #008b8b; /* Teal */
    overflow: hidden;
    margin-right: 15px; /* Space between hero and red block */
    border-radius: 8px;
}

.dyon-five-hero-bg {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.dyon-five-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.dyon-five-white-bg {
    background-color: #fff;
    color: #004d4d;
    padding: 2px 15px;
    font-size: 42px;
    line-height: 1.1;
    display: inline-block;
    margin-bottom: 4px;
}

.dyon-five-hero-footer-bar {
    background-color: #cc0000;
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;

}

.dyon-five-author-inset {
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 110px;
    height: 130px;
    z-index: 4;
}

.dyon-five-author-inset img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Fixed Red Block */
.dyon-five-red-block {
    flex: 1; /* Takes exactly 25% width */
}

/* Bottom Grid */
.dyon-five-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dyon-five-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.dyon-five-red-tag {
    color: #cc0000;
    font-size: 11px;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.dyon-five-card-title {
    font-size: 18px;
    line-height: 1.2;
    margin: 5px 0;
}

.dyon-five-card-text {

    font-size: 13px;
    color: #444;
}

/* DYOSEVEN*/
.dyon-seven-lifestyle-section {
    width: 990px;
    margin: 20px auto;

}

.dyon-seven-header {
    border-bottom: 2px solid #444;
    margin-bottom: 15px;
}

.dyon-seven-section-title {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    padding-bottom: 5px;
}

.dyon-seven-arrow {
    color: #999;
}

/* Main Grid Configuration */
.dyon-seven-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Hero Feature spanning two rows */
.dyon-seven-hero-card {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    position: relative;
    background: #f0f0f0;
}

.dyon-seven-hero-wrapper {
    height: 100%;
    position: relative;
}

.dyon-seven-hero-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dyon-seven-hero-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 20px;
    text-align: center;
}

.dyon-seven-hero-tag {
    background-color: #e30613;
    color: white;
    padding: 3px 10px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.dyon-seven-hero-headline {
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
    margin: 0;
}

/* Standard Cards (Side and Bottom) */
.dyon-seven-side-card, .dyon-seven-bottom-card {
    display: flex;
    flex-direction: column;
}

.dyon-seven-side-card img, .dyon-seven-bottom-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.dyon-seven-red-tag {
    color: #cc0000;
    font-size: 11px;
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.dyon-seven-card-title {
    font-size: 18px;
    line-height: 1.2;
    margin: 5px 0;
    color: #000;
}

.dyon-seven-card-text {

    font-size: 13px;
    color: #555;
    margin: 0;
}
/* DYONHORIZONTAL*/

.dyon-horizontal-container {
    width: 990px;
    margin: 20px auto;
    background-color: #f6f6f6; /* Light grey background from layout */
    padding: 20px;
}

.dyon-horizontal-header {
    border-bottom: 2px solid #444;
    margin-bottom: 15px;
    position: relative;
}

.dyon-horizontal-title {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    margin: 0;
    padding-bottom: 8px;
    display: inline-block;
    position: relative;
}

/* Red underline effect for title */
.dyon-horizontal-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #cc0000;
}

/* Flex layout for the products */
.dyon-horizontal-list {
    display: flex;
    gap: 12px;
}

.dyon-horizontal-item {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dyon-horizontal-img-box {
    width: 100%;
    height: 110px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.dyon-horizontal-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dyon-horizontal-item-title {
    font-size: 14px;
    line-height: 1.3;
    color: #000;
    margin-top: 10px;
    font-weight: bold;
}

.dyon-horizontal-item-title a {
    font-size: 16px;
    line-height: 1.3;
    color: #000;
    margin-top: 10px;
    font-weight: 700;
    text-decoration: none;
}

/* Specific styling for the "Deals" arrow button */
.dyon-horizontal-deals .dyon-horizontal-img-box {
    display: flex;
    align-items: center;
    justify-content: center;
}


.dyon-horizontal-deals .dyon-horizontal-img-box img {
    opacity: 0.6;
}

/* DYONMIXLAJME*/
.mix-lajme-container {
    max-width: 990px;
    margin: 40px auto;
}

/* Header Style */
.mix-lajme-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #444;
    margin-bottom: 15px;
    padding-bottom: 5px;
    margin-top:20px;
}

.mix-lajme-title {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    margin: 0;
    text-transform: uppercase;
}

.mix-lajme-all-link {
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

/* List Style */
.mix-lajme-list-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mix-lajme-list-item {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mix-lajme-list-img {
    flex: 0 0 240px;
    height: 140px;
}

.mix-lajme-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mix-lajme-list-info {
    flex: 1;
}

.mix-lajme-red-tag {
    color: #cc0000;
    font-size: 12px;
    font-weight: bold;
    text-transform: normal;
    display: block;
    margin-top:5px;
}


.mix-lajme-list-excerpt {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* --- DYON FOOTER BASE (Desktop) --- */
.dyon-footer-container {
    max-width: 990px;      /* Matches your header width */
    margin: 40px auto 30px auto;
    border-top: 2px solid #111;
    padding-top: 20px;
    box-sizing: border-box;
}

/* Logo Styling */
.dyon-footer-logo {
    display: inline-block;
    padding: 10px 0px;

}

    .dyon-footer-logo img {
          width: 140px;
    }

/* Main Navigation */
.dyon-footer-main-nav {
    display: flex;
    flex-wrap: wrap;       
    gap: 15px 15px;        
    margin-bottom: 20px;
    list-style: none;
}

.dyon-footer-main-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 800;
    font-size: 14px;
    transition: color 0.2s ease;
}

.dyon-footer-main-nav a:hover {
    color: #C40000;
}

/* Social Row */
.dyon-footer-social-row {
    align-items: center;
    gap: 15px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 25px;
}

.dyon-footer-social-label {
    font-size: 13px;
}

.dyon-footer-icons {
    display: flex;
    gap: 15px;
}

.dyon-footer-icons a {
    text-decoration: none;
    color: #000;
    font-size: 18px; /* Slightly larger for better touch */
}

/* Legal & Copyright Section */
.dyon-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
    margin-bottom: 20px;
    list-style: none;;
}

.dyon-footer-legal-links a {
    text-decoration: none;
    color: #111;
    font-size: 13px;
    font-weight: 500;
}

.dyon-footer-copyright {
    font-size: 13px;
    color: #111;
    line-height: 1.8;
}

.dyon-footer-copyright a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

/* UNIFIED NEWS LINK STYLE (Non-Hero) */
.dyon-two-text-content h3 a,
.dyon-three-card h3 a,
.dyon-four-side-content h3 a,
.dyon-five-card h3 a,
.dyon-six-content h3 a,
.dyon-seven-card-body h3 a,
.mix-lajme-list-info h3 a {
    font-size: 21px;
    margin: 5px 0;
    line-height: 1.1;
    color: #000;
    text-decoration: none;
    font-weight: 900;
    display: block; /* Ensures the margin/line-height behaves correctly */
}

/* HOVER STATE (Optional: keep as #000 or change to your Red #cc0000) */
.dyon-two-text-content h3 a:hover,
.dyon-three-card h3 a:hover,
.dyon-four-side-content h3 a:hover,
.dyon-five-card h3 a:hover,
.dyon-six-content h3 a:hover,
.dyon-seven-card-body h3 a:hover,
.mix-lajme-list-info h4 a:hover {
    color: #cc0000; 
}


/* SECTION ONE HERO TITLE ONLY */
.dyon-hero-title a {
    font-size: 32px;        
    font-weight: 900;       
    line-height: 1.05;      
    color: #fff;           
    text-decoration: none;
    margin: 0;
    display: block;
}

/* OPINION SECTION TITLE STYLE */
.dyon-horizontal-item-title h4 a {
    font-size: 18px;
    line-height: 1.2;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    margin: 10px 0 0 0;
    display: block;
}


/* ======================================= */
/* DYON SIX — DREJTËSI MOBILE LAYOUT       */
/* ======================================= */
@media (max-width: 989px) {
.dyon-two-text-content h3 a,
.dyon-three-card h3 a,
.dyon-four-side-content h3 a,
.dyon-five-card h3 a,
.dyon-six-content h3 a,
.dyon-seven-card-body h3 a,
.mix-lajme-list-info h3 a {
    font-size: 18px;

}

    /* Pre-reserve space for the featured image to stop layout shifting */
.mix-lajme-list-item.first-post .mix-lajme-list-img {
    background-color: #f0f0f0; /* Temporary background while loading */
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9; 
    overflow: hidden;
}
.dyon-hero-title a {
    font-size: 28px;
}

    /* 1. Main Section Container */
    .dyon-six-brand-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 15px !important;
        box-sizing: border-box !important;
        margin: 20px 0 !important;
    }

    /* 2. Reset Grid to Stacked List */
    .dyon-six-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }

    /* 3. Card Layout: Image | Text */
    .dyon-six-card {
        display: flex !important;
        flex-direction: row !important; /* Force side-by-side */
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee !important;
        width: 100% !important;
    }

    /* 4. Image Container Fix */
    .dyon-six-img-container {
        flex: 0 0 130px !important; /* Fixed width for the image */
        max-width: 130px !important;
        height: 90px !important; /* Fixed height for consistency */
        overflow: hidden !important;
        border-radius: 4px;
    }

    .dyon-six-img-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* 5. Content (Text) Wrapper */
    .dyon-six-content {
        flex: 1 !important;
        min-width: 0 !important; /* Prevents text overflow */
        display: flex !important;
        flex-direction: column !important;
        padding-top: 0 !important; /* Reset desktop padding */
    }

    /* Red Tag */
    .dyon-six-red-tag {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #cc0000 !important;
        margin-bottom: 4px !important;
        text-transform: uppercase;
    }

    /* Title Styling */
    .dyon-six-content h4.dyon-two-text-content {
        margin: 0 !important;
        padding: 0 !important;
    }

    .dyon-six-content h4.dyon-two-text-content a {
        font-size: 18px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        color: #111 !important;
        text-decoration: none !important;
 
    }

    /* Excerpt / Description */
    .dyon-six-card-text {
        font-size: 12px !important;
        line-height: 1.4 !important;
        color: #666 !important;
        margin: 5px 0 0 0 !important;

    }

        .dyon-six-img-container {
        flex: 0 0 220px !important;
        max-width: 220px !important;
        height: 130px !important;
    }
    .dyon-two-overlay-content h3 {

    font-size: 26px;
}
.dyon-four-hero-title {
    font-size: 28px;

}
}

/* Specific Tweak for Small Phones */
@media (max-width: 599px) {

    /* Pre-reserve space for the featured image to stop layout shifting */
.mix-lajme-list-item.first-post .mix-lajme-list-img {
    background-color: #f0f0f0; /* Temporary background while loading */
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9; 
    overflow: hidden;
}

      .perk-header-block {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .perk-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .perk-entry-title-shpalljet {
        font-size: 2rem;
    }

.dyon-artikulli-container {
        max-width: 100%;
        padding: 10px;
    }

    .dyon-artikulli-header {
        text-align: left; /* Optional: Left align headers on mobile for a modern look */
        margin-bottom: 20px;
    }

    .dyon-artikulli-title {
        font-size: 1.8rem; /* Significant scale down for small screens */
        letter-spacing: -0.5px;
    }

    .dyon-artikulli-kicker {
        font-size: 1rem;
    }

    .dyon-artikulli-content p {
        font-size: 1.15rem; /* Standard mobile reading size */
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .dyon-artikulli-meta {
        font-size: 0.8rem;
        padding: 10px 0;
    }

    /* Ensure images take up full width without margins */
    .dyon-artikulli-main-figure {
        margin: 0 -10px 20px -10px; 
    }

.dyon-six-img-container {
        flex: 0 0 160px !important;
        max-width: 160px !important;
        height: 110px !important;
    }

.dyon-hero-title a {
    font-size: 24px;
}
.dyon-two-subheadline {

    font-size: 14px;
    line-height: 1.1;
  
}

.dyon-four-hero-title {
    font-size: 26px;

}
.dyon-two-overlay-content h3 {

    font-size: 24px;
}

    .dyon-six-card-text {
        display: none !important; /* Hide excerpt on very small screens to save space */
    }

        .dyon-six-content h4.dyon-two-text-content a {
        font-size: 16px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        color: #111 !important;
        text-decoration: none !important;
 
    }

    /* Excerpt / Description */
    .dyon-six-card-text {
        font-size: 12px !important;
        line-height: 1.4 !important;
        color: #666 !important;
        margin: 5px 0 0 0 !important;

    }
}

/* ============================= */
/* DYON FIVE — TABLET ≤ 989px */
/* ============================= */
@media (max-width: 989px) {

    .dyon-five-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .dyon-five-hero-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        margin-bottom: 10px;
    }

    .dyon-five-hero-main {
        width: 100%;
        height: 500px;
        position: relative;
        overflow: hidden;
    }

    .dyon-five-hero-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .dyon-five-red-block {
        width: 100%;
        margin-top:10px;
       }

    .dyon-five-hero-content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    /* ===================== */
    /* GRID STACK */
    /* ===================== */
    .dyon-five-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
    }

    .dyon-five-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch;
        gap: 15px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    /* IMAGE */
    .dyon-five-card a img {
        flex: 0 0 40% !important; /* Image width */
        max-width: 40% !important;
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    /* TEXT WRAPPER */
    .dyon-five-text-wrapper {
        flex: 1 1 60%; /* Text takes remaining width */
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
    }

    .dyon-five-red-tag {
        display: block;
        margin-bottom: 5px;
        font-size: 11px;
    }

    .dyon-two-text-content h3 a {
        font-size: 18px;
        line-height: 1.3;
        font-weight: 800;
        color: #000;
        text-decoration: none;
    }
}

/* ============================= */
/* MOBILE ≤ 599px */
/* ============================= */
@media (max-width: 599px) {
    .dyon-two-side-item img, .dyon-two-bottom-item img {border-radius: 6px;}
    .mix-lajme-list-img img {border-radius: 6px;}
.dyon-six-img-container img{border-radius:6px;}
    .dyon-two-text-content h3 a,
.dyon-three-card h3 a,
.dyon-four-side-content h3 a,
.dyon-five-card h3 a,
.dyon-six-content h3 a,
.dyon-seven-card-body h3 a,
.mix-lajme-list-info h3 a {
    font-size: 16px;

}

    .dyon-five-hero-main {
        width: 100%;
        height: 300px;
        position: relative;
        overflow: hidden;
    }
        .mix-lajme-list-item.first-post .mix-lajme-list-img {
        height: 110px !important;; /* Smaller height on phones */
        flex: 0 0 160px !important;
        max-width: 160px !important;
        border-radius: 8px;
    }
.entry-meta {font-size: 14px;}
.fillimi-post-category a {font-size: 14px;}
.dylonportal-category-archive-entry-title a {font-size: 16px;}
    .dyon-five-card {
        flex-direction: row !important;
        gap: 10px;
    }

    .dyon-five-card a img {
        flex: 0 0 45%;
        max-width: 45%;
        height: auto;
    }

    .dyon-three-card img {
    border-radius: 6px;
}

    .dyon-five-text-wrapper {
        flex: 0 0 55%;
    }

    .dyon-five-red-tag {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .dyon-two-text-content h3 a {
        font-size: 16px;
    }
    .mix-lajme-header {margin-top:20px;}
    .mix-lajme-list-info h4 a {font-weight: 800;}
}


@media (max-width: 989px) {
    /* Adjust Hero sections that use Flex */
    .dyon-hero, .dyon-five-hero-row {
        flex-direction: column;
        height: auto;
    }
    
    .dyon-hero-content, .dyon-five-hero-main, .dyon-five-red-block {
        width: 100%;
        flex: none;
    }

    /* Adjust 3-column grids to 2-columns */
    .dyon-three-grid, .dyon-six-grid, .dyon-five-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Adjust complex layouts (Two and Seven) */
    .dyon-two-grid, .dyon-seven-grid-layout {
        grid-template-columns: 1fr; /* Stack main story and sidebar */
    }
    
    .dyon-two-sidebar {
        grid-column: 1;
    }
}

/* =============================================
   OP/ED RESPONSIVE (Image | Text Structure)
   ============================================= */

/* 1. TABLET (Under 989px) */
@media (max-width: 989px) {

    
    /* Change the horizontal scrolling/flex row to a vertical stack of rows */
    .dyon-horizontal-list {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        gap: 10px;
        width: 100%;
    }

    /* Transform each item into an "Image | Text" horizontal layout */
    .dyon-horizontal-item {
        display: flex !important;
        flex-direction: row !important; /* Forces side-by-side */
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid #acaaaa;
        padding-bottom: 10px;
    }

    /* Set fixed width for the image container on tablet */
    .dyon-horizontal-img-box {
        flex: 0 0 220px !important; /* Image takes 150px */
        height: 130px !important;
    }

    /* Adjust the title to fit next to the image */
    .dyon-horizontal-item-title {
        margin-top: 0 !important;
        flex: 1; /* Text takes remaining space */
    }

    /* Reset specific container width to be fluid */
    .dyon-horizontal-container {
        width: 100% !important;
        max-width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }
}

/* 2. MOBILE (Under 599px) */
@media (max-width: 599px) {
    /* Maintain Image | Text but reduce image size for small screens */
    .dyon-horizontal-img-box {

        flex: 0 0 160px !important;
        height: 110px !important;
        
    }

    .dyon-horizontal-item-title a {
        font-size: 16px !important; /* Slightly smaller text for mobile */
        line-height: 1.2;
    }
    
    .dyon-horizontal-container {
        margin: 10px auto;
    }
}


/* =============================================
   FIX: MIX LAJME (Image | Text Side-by-Side)
   ============================================= */

@media (max-width: 989px) {
    /* Ensure the main container doesn't overflow the screen */
    .mix-lajme-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px;
        margin: 20px auto;
        box-sizing: border-box;
    }
    .mix-lajme-title {font-size: 22px;}

    /* Force the items to stay as a row, not stack */
    .mix-lajme-list-item {
        display: flex !important;
        flex-direction: row !important; 
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    /* Fix the image size so it doesn't take over the screen */
    .mix-lajme-list-img {
        flex: 0 0 220px !important;
        max-width: 220px !important;
        height: 130px !important;
        overflow: hidden;
    }

    .mix-lajme-list-item {

    padding-bottom: 10px;}
    .dyon-title {margin-bottom:15px; font-size: 22px;}
    .dyon-two-header h2 {margin-bottom:15px; font-size: 22px;}
    .dyon-five-hero-main {margin-right: 0px;}

.mix-lajme-list-section {

    gap: 10px;
}
    .mix-lajme-list-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Allow the text info to take the rest of the space */
    .mix-lajme-list-info {
        flex: 1;
        min-width: 0; /* Prevents text from pushing the container wide */
    }

    .mix-lajme-list-info h4 {
        margin: 0 0 5px 0 !important;
    }

    .mix-lajme-list-info h4 a {
        font-size: 18px !important;
        line-height: 1.3;
        display: block;
    }

    /* Hide excerpt on smaller screens to keep the row clean */
    .mix-lajme-list-excerpt {
        display: none;
    }
}

@media (max-width: 599px) {
    /* Shrink the image slightly more for very small phones */
    .mix-lajme-list-img {
        flex: 0 0 160px !important;
        width: 160px !important;
        height: 110px !important;
    }
    
    .mix-lajme-list-info h4 a {
        font-size: 16px !important;
    }
}

/* =============================================
   NACIONALE RESPONSIVE - FINAL FIXED VERSION
   ============================================= */

@media (max-width: 989px) {
    /* 1. SECTION CONTAINER */
    .dyon-two-news-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    /* 2. HERO - FIXED (Full Width & Clean Text) */
    .dyon-three-hero {
        position: relative !important;
        width: 100% !important;
        margin-bottom: 10px !important;
        display: block !important;
    }

    .dyon-three-hero-image {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
    }

    .dyon-three-hero-image img {
        width: 100% !important;
        height: 500px !important; /* Height for tablet */
        object-fit: cover !important;
        display: block !important;
    }

    /* Headline Overlay Fix */
    .dyon-three-hero-overlay {
        position: absolute !important;
        bottom: 20px !important;
        left: 20px !important;
        right: 20px !important;
        background: none !important; /* Ensure no conflicting backgrounds */
    }

    .dyon-three-hero-headline {
        margin: 0 !important;
        line-height: 1 !important; /* Spacing for the background spans */
    }

    .dyon-three-hero-overlay h1 {
        margin-bottom: 0px;

    }

    .dyon-three-bg-text {
        font-size: 38px !important;
        color: #fff !important;
        padding: 5px 10px !important;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
        display: inline !important;
    }

    .dyon-three-hero-subquote {
        display: inline-block !important;
        background: rgba(255, 255, 255, 0.9);
        padding: 5px 10px;
          font-size: 14px;
        color: #000;
    }

    /* 3. GRID & CARDS (Image | Text) */
    .dyon-three-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .dyon-three-card {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 10px !important;
        border-bottom: 1px solid #eee !important;
        padding-bottom: 10px !important;
    }

    .dyon-three-img-wrapper {
        flex: 0 0 220px !important;
        width: 220px !important;
        height: 130px !important;
        margin: 0 !important;
    }

    .dyon-three-img-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .dyon-three-card .dyon-two-text-content {
        flex: 1 !important;
        min-width: 0 !important;
    }

    /* Tags Clean-up */
    .dyon-three-tag, .dyon-two-tag {
        background: none !important;
        padding: 0 !important;
        margin: 0 0 3px 0 !important;
        font-size: 11px !important;
        font-weight: bold !important;
        display: inline-block;
    }

    .dyon-three-card h4 a {
        font-size: 18px !important;
        line-height: 1.3 !important;
        color: #000 !important;
    }
}
@media (max-width: 599px) {
    .dyon-three-img-wrapper {
        flex: 0 0 160px !important;
        width: 160px !important;
        height: 110px !important;
        margin: 0 !important;
    }
    
    .dyon-three-bg-text {
        font-size: 24px !important;

    }

        .dyon-three-hero-image img {
        width: 100% !important;
        height: 350px !important; /* Height for tablet */
    }


        .dyon-three-card h4 a {
        font-size: 16px !important;
    }

}
/* =============================================
   NGJARJET KRYESORE RESPONSIVE
   ============================================= */

@media (max-width: 989px) {
    /* 1. SECTION & HERO */
    .dyon-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1% !important;
        box-sizing: border-box !important;
    }

    .dyon-hero {
        flex-direction: column !important; /* Stack image and blue box */
        height: auto !important;
        width: 100% !important;
    }

    .dyon-hero-img {
        width: 100% !important;
        height: 430px !important; /* Controlled height */
        object-fit: cover !important;
    }

    .dyon-hero-content {
        width: 100% !important; /* Blue box takes full width below image */
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    .dyon-hero-title {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    /* 2. CARDS CONTAINER (Image | Text) */
    .dyon-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }

    .dyon-two-sidebar {gap:10px;}
    .dyon-two-grid {gap:10px;}

    .dyon-card {
        display: flex !important;
        flex-direction: row !important; /* Side by side */
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
        padding-bottom: 10px !important;
    }

    /* Thumbnail fix */
    .dyon-card-img {
        flex: 0 0 220px !important; /* Fixed width for card thumbnails */
        width: 220px !important;
        height: 130px !important;
        object-fit: cover !important;
        margin: 0 !important;
    }

    /* Text content fix */
    .dyon-card .dyon-two-text-content {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    .dyon-card h4 {
        margin: 0 !important;
    }

    .dyon-card h4 a {
        font-size: 18px !important;
        line-height: 1.3 !important;
        color: #000 !important;
        font-weight: 800;
    }

    /* Remove violet badge box background like we did for Nacionale */
    .dyon-badge {
        font-size: 13px !important;
        margin-bottom: 5px !important;
        display: block !important;
        background: none;
        padding: 0;
        color: #FFD72F;
    }
}

/* 3. MOBILE ADJUSTMENTS (Under 599px) */
@media (max-width: 599px) {

.dyon-section {
        margin: 70px auto; 
    }
.dyon-three-hero-image img {border-radius: 8px; height: 300px !important;}
    .dyon-hero {border-radius: 8px;}
    .dyon-hero-img {
        height: 300px !important;
    }

    .dyon-hero-title {
        font-size: 20px !important;
    }

    .dyon-card-img {
        flex: 0 0 160px !important;
        width: 160px !important;
        height: 110px !important;
        border-radius: 6px;
    }

    .dyon-card h4 a {
        font-size: 16px !important;
    }
}

/* ======================================= */
/* Footer      */
/* ======================================= */
@media (max-width: 989px) {
.dyon-footer-container {
    width: 95%;
}
}