/*
==================================================
YKC 2026 GLOBAL CSS - CLEAN STABLE v5
File: /templates/shaper_helixultimate/css/custom.css
Purpose: Stable Helix + SP Page Builder design layer
Rule: Page-specific styles must stay under ykc-* wrappers or exact addon IDs.
Note: The problematic Media News addon-specific experiments were removed.
==================================================
*/

/* 01. Design tokens */
:root{
  --ykc-blue:#1176bc;
  --ykc-navy:#1f3247;
  --ykc-deep:#0b2f5f;
  --ykc-text:#1d252d;
  --ykc-muted:#667085;
  --ykc-soft:#f5f7fb;
  --ykc-line:#e6ebf2;
  --ykc-white:#ffffff;
  --ykc-red:#ef2d4c;

  --ykc-radius-sm:12px;
  --ykc-radius-md:18px;
  --ykc-radius-lg:28px;

  --ykc-shadow-sm:0 8px 24px rgba(15,35,55,.08);
  --ykc-shadow-md:0 18px 45px rgba(15,35,55,.12);

  --ykc-wrap:1180px;
  --ykc-header-height:5rem;
  --ykc-header-height-mobile:4rem;
}

/* 02. Safe base */
html{scroll-behavior:smooth;}
body{
  color:var(--ykc-text);
  overflow-x:hidden;
}
img{
  max-width:100%;
  height:auto;
}
a{
  transition:color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* 03. Helix header / desktop menu */
#sp-header{
  min-height:var(--ykc-header-height);
  box-shadow:0 10px 30px rgba(15,35,55,.10);
  z-index:999;
  overflow:visible !important;
}
#sp-header.header-sticky{box-shadow:0 10px 30px rgba(15,35,55,.14);}
#sp-header .container,
#sp-header .container-inner,
#sp-header .row,
#sp-header .sp-column{overflow:visible !important;}
#sp-header .logo,
#sp-header .logo a{
  display:flex;
  align-items:center;
}

/* Separate menu row used by this Helix layout */
#sp-position1{
  position:relative;
  z-index:998;
  margin:0 !important;
  padding:0 !important;
  background:#fff !important;
  border-top:1px solid rgba(230,235,242,.85);
  border-bottom:1px solid rgba(230,235,242,.95);
  box-shadow:0 8px 22px rgba(15,35,55,.05);
  overflow:visible !important;
}
#sp-position1 .container,
#sp-position1 .container-inner,
#sp-position1 .row,
#sp-position1 .sp-column,
#sp-position1 [class^="col-"],
#sp-position1 [class*=" col-"]{overflow:visible !important;}
#sp-position1 .sp-column{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}

.sp-megamenu-parent{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:0;
  white-space:nowrap;
}
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span{
  display:flex;
  align-items:center;
  min-height:var(--ykc-header-height);
  line-height:1.25;
  padding:0 10px;
  margin:0;
  color:var(--ykc-text);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.01em;
  text-transform:uppercase;
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  border-radius:0 !important;
}
#sp-position1 .sp-megamenu-parent > li > a,
#sp-position1 .sp-megamenu-parent > li > span{
  min-height:54px;
}
.sp-megamenu-parent > li:last-child > a,
.sp-megamenu-parent > li:last-child > span{padding-right:0;}
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span,
.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li:hover > span{
  color:var(--ykc-blue) !important;
  background:transparent !important;
}

/* Disable template pseudo underline/bubble that was shifting */
.sp-megamenu-parent > li > a::before,
.sp-megamenu-parent > li > a::after,
.sp-megamenu-parent > li > span::before,
.sp-megamenu-parent > li > span::after{
  display:none !important;
  content:none !important;
}

/* Dropdown */
.sp-megamenu-parent .sp-dropdown{
  z-index:1005;
  text-transform:none;
  padding-top:6px;
}
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner{
  margin-top:0;
  padding:14px;
  background:#fff !important;
  border:1px solid var(--ykc-line);
  border-radius:18px;
  box-shadow:0 18px 44px rgba(15,35,55,.14);
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > span{
  border-bottom:1px solid rgba(230,235,242,.85);
  border-radius:10px;
  padding:10px 12px;
  color:var(--ykc-text);
  font-size:.84rem;
  font-weight:650;
  text-transform:none;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:last-child > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:last-child > span{border-bottom:0;}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a{
  color:var(--ykc-blue);
  background:#f4f8fd;
}
.sp-megamenu-parent > li .sp-menu-badge{
  height:20px;
  line-height:20px;
  padding:0 8px;
  font-size:.68rem;
  letter-spacing:0;
  text-transform:uppercase;
  background:#d60000;
  color:#fff;
  border-radius:999px;
}

/* Desktop search should not push the menu on narrower screens */
#sp-header .mod-finder,
#sp-header .search,
#sp-position1 .mod-finder,
#sp-position1 .search{
  flex:0 0 auto;
  max-width:210px;
}
#sp-header input[type="search"],
#sp-header input[type="text"],
#sp-position1 input[type="search"],
#sp-position1 input[type="text"]{
  max-width:210px;
  min-height:42px;
  border-radius:10px;
}
@media (max-width:1280px){
  #sp-header .mod-finder,
  #sp-header .search,
  #sp-position1 .mod-finder,
  #sp-position1 .search{display:none !important;}
  .sp-megamenu-parent > li > a,
  .sp-megamenu-parent > li > span{
    padding-left:7px;
    padding-right:7px;
    font-size:.72rem;
  }
}

/* 04. Mobile / offcanvas - style only, no transform/width overrides */
.burger-icon > span{
  height:3px;
  background-color:#000;
  margin:3px 0;
  border-radius:3px;
}
.offcanvas-menu{
  background:var(--ykc-navy) !important;
  box-shadow:-18px 0 46px rgba(0,0,0,.25);
}
.offcanvas-menu .offcanvas-inner{
  background:linear-gradient(180deg, #1f3247 0%, #16304c 100%) !important;
  min-height:100%;
}
.close-offcanvas{
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  color:#fff !important;
  background:rgba(255,255,255,.10);
}
.offcanvas-menu .offcanvas-inner .sp-module{margin-bottom:18px;}
.offcanvas-menu .offcanvas-inner .sp-module ul > li a,
.offcanvas-menu .offcanvas-inner .sp-module ul > li span{
  color:#fff;
  text-transform:none;
}
.offcanvas-menu .offcanvas-inner ul.menu > li{
  border-bottom:1px solid rgba(255,255,255,.10);
}
.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span{
  display:block;
  font-size:1rem;
  font-weight:750;
  padding:12px 0;
  opacity:.88;
}
.offcanvas-menu .offcanvas-inner ul.menu > li a:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li a:focus,
.offcanvas-menu .offcanvas-inner ul.menu > li span:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li span:focus{
  color:#fff;
  opacity:1;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent > a > .menu-toggler,
.offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent > .menu-separator > .menu-toggler{color:#fff;}
.offcanvas-menu input[type="search"],
.offcanvas-menu input[type="text"]{
  width:100%;
  min-height:44px;
  border-radius:10px;
}

/* 05. Main body / Joomla pages */
#sp-main-body{padding:1.5rem 0;}
.sp-page-title{
  background:linear-gradient(135deg, var(--ykc-deep), var(--ykc-blue));
  padding:44px 0;
}
.sp-page-title .sp-page-title-heading{
  font-size:clamp(24px, 3vw, 38px);
  line-height:1.1;
  font-weight:900;
  margin:0;
}

/* 06. Joomla article / news listing cards */
.article-list .row,
.blog .row,
.view-category .article-list .row{
  row-gap:34px !important;
  --bs-gutter-x:32px;
  --bs-gutter-y:34px;
}
.article-list [class*="col-"],
.blog [class*="col-"],
.view-category .article-list [class*="col-"]{
  margin-bottom:34px;
}
.article-list .article{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
  padding:0 !important;
  margin-bottom:0;
  border:1px solid rgba(230,235,242,.95);
  border-radius:24px;
  box-shadow:0 18px 46px rgba(15,35,55,.10);
  overflow:hidden;
  background:#fff;
}
.article-list .article .article-intro-image,
.article-list .article .article-featured-video,
.article-list .article .article-featured-audio,
.article-list .article .article-feature-gallery,
.article-list .article .article-full-image{
  margin:0 !important;
  width:100%;
  aspect-ratio:16 / 9;
  border-radius:24px 24px 0 0;
  overflow:hidden;
  background:#eef2f7;
  border-bottom:1px solid var(--ykc-line);
}
.article-list .article .article-intro-image img,
.article-list .article .article-feature-gallery img,
.article-list .article .article-full-image img,
.article-list .article .article-featured-video iframe,
.article-list .article .article-featured-video embed,
.article-list .article .article-featured-video object{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
  border:0 !important;
  border-radius:0 !important;
}
.article-list .article .article-header,
.article-list .article .article-info,
.article-list .article .article-introtext,
.article-list .article .article-body,
.article-list .article .readmore,
.article-list .article .tags{
  padding-left:26px;
  padding-right:26px;
}
.article-list .article .article-header{
  padding-top:24px;
  padding-bottom:0;
}
.article-list .article .article-header h1,
.article-list .article .article-header h2{
  margin:0 0 18px 0;
  color:var(--ykc-text);
  font-size:clamp(22px, 1.45vw, 28px);
  line-height:1.17;
  font-weight:900;
  letter-spacing:-.035em;
}
.article-list .article .article-header h1 a,
.article-list .article .article-header h2 a{
  color:var(--ykc-text);
  text-decoration:none;
}
.article-list .article .article-header h1 a:hover,
.article-list .article .article-header h2 a:hover{color:var(--ykc-blue);}
.article-list .article .article-info{
  margin:0 0 16px 0;
  padding-top:0;
  background:transparent;
  border:0;
  color:var(--ykc-muted);
}
.article-list .article .article-info > span,
.article-info > span{
  font-size:14px;
  color:var(--ykc-muted);
}
.article-list .article .tags{
  margin:6px 0 0 0;
  padding-top:0;
  padding-bottom:28px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.article-list .article .tags > li{
  margin:0;
  padding:0;
}
.article-list .article .tags > li a,
.tags > li a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 13px;
  border-radius:999px;
  background:#eef2f6;
  color:#394452;
  font-size:14px;
  font-weight:650;
  line-height:1;
  text-decoration:none;
  letter-spacing:0;
}
.article-list .article .tags > li a:hover,
.tags > li a:hover{
  background:var(--ykc-blue);
  color:#fff;
}

/* Article details */
.article-details .article-full-image{margin-bottom:1rem;}
.article-details .article-full-image img{
  display:block;
  width:100%;
  border-radius:20px;
}
.article-details .article-info{
  margin-bottom:1rem;
  background:#f6f8fb;
  border:1px solid var(--ykc-line);
  border-radius:14px;
  padding:10px 12px;
}

/* Featured badge - contained red glass */
.article-list .article .featured-article-badge,
.article-list .article .badge,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .featured-article-badge,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .badge,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .article-featured,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-badge,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-badge,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .featured-article-badge,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .badge,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .article-featured,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-badge,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-badge{
  position:absolute !important;
  top:18px !important;
  left:18px !important;
  z-index:20 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:29px !important;
  padding:7px 13px !important;
  border:1px solid rgba(255,255,255,.28) !important;
  border-radius:9px !important;
  background:linear-gradient(135deg, rgba(255,78,103,.94), rgba(219,26,55,.84)) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:-.01em !important;
  text-transform:none !important;
  text-shadow:0 1px 1px rgba(0,0,0,.14) !important;
  box-shadow:0 10px 24px rgba(226,31,58,.26), inset 0 1px 0 rgba(255,255,255,.36) !important;
  backdrop-filter:blur(10px) saturate(1.35);
  -webkit-backdrop-filter:blur(10px) saturate(1.35);
}
.article-list .article .featured-article-badge::after,
.article-list .article .badge::after,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .featured-article-badge::after,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .badge::after,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .featured-article-badge::after,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .badge::after{
  content:"";
  position:absolute;
  inset:1px auto auto 2px;
  width:60%;
  height:40%;
  border-radius:8px;
  background:linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,0));
  pointer-events:none;
}

/* 07. Home News & Announcements scroller - exact home addon only */
#sppb-addon-F6sg-8XqQkezT4A-kk6nt .sppb-addon-title,
.ykc-home-news-area26 .sppb-addon-title{
  margin:0 0 34px !important;
  color:var(--ykc-text) !important;
  font-size:clamp(32px, 3.4vw, 50px) !important;
  line-height:1.05 !important;
  font-weight:950 !important;
  letter-spacing:-.045em !important;
  text-align:center !important;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-addon-content,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-addon-content{overflow:visible !important;}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .bx-wrapper,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .bx-wrapper{
  margin:0 auto !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .bx-viewport,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .bx-viewport{
  padding:18px 0 32px !important;
  overflow:hidden !important;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-item,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-scroller-item,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-item,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-addon-article,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-item,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-scroller-item,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-item,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-addon-article{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:410px !important;
  height:100% !important;
  background:rgba(255,255,255,.96) !important;
  border:1px solid rgba(230,235,242,.96) !important;
  border-radius:24px !important;
  overflow:hidden !important;
  box-shadow:0 18px 44px rgba(15,35,55,.10) !important;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-item:hover,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-scroller-item:hover,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-item:hover,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-addon-article:hover,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-item:hover,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-scroller-item:hover,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-item:hover,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-addon-article:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 58px rgba(15,35,55,.14) !important;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-img-wrapper,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-img-wrap,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-img,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-intro-image,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-img-wrapper,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-img-wrap,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-img,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-intro-image{
  position:relative !important;
  overflow:hidden !important;
  border-radius:24px 24px 0 0 !important;
  background:#eef3f8 !important;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam img,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:16/9 !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:24px 24px 0 0 !important;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-content,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-scroller-content,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-content,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-content-wrap,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-info-wrap,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-content,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-scroller-content,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-content,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-content-wrap,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-info-wrap{
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  min-height:150px !important;
  padding:18px 22px 22px !important;
  background:#fff !important;
  border-radius: 0px 0px 30px 30px;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-link,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-title,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-title a,
#sppb-addon-pGWr7Vu7Jke3U190WCAam h3,
#sppb-addon-pGWr7Vu7Jke3U190WCAam h3 a,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-link,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-title,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-title a,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam h3,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam h3 a{
  color:var(--ykc-text) !important;
  font-size:clamp(17px, 1.15vw, 21px) !important;
  line-height:1.22 !important;
  font-weight:950 !important;
  letter-spacing:-.025em !important;
  margin:8px 0 12px !important;
  text-decoration:none !important;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-meta,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-meta-date,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-meta-category,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-meta,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-meta,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-meta-date,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-meta-category,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-meta{
  color:var(--ykc-muted) !important;
  font-size:12px !important;
  font-weight:850 !important;
  line-height:1.35 !important;
  margin-top:auto !important;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .bx-wrapper .bx-pager,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .bx-wrapper .bx-pager{padding-top:10px !important;}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .bx-wrapper .bx-pager.bx-default-pager a,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .bx-wrapper .bx-pager.bx-default-pager a{
  width:7px !important;
  height:7px !important;
  margin:0 6px !important;
  border-radius:999px !important;
  background:rgba(15,35,55,.22) !important;
}
#sppb-addon-pGWr7Vu7Jke3U190WCAam .bx-wrapper .bx-pager.bx-default-pager a.active,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .bx-wrapper .bx-pager.bx-default-pager a.active{
  width:18px !important;
  background:var(--ykc-text) !important;
}

/* Modern Slick Slider Dots - YKC Style */
.slick-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.slick-dots li {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.slick-dots li button {
  width: 8px !important;
  height: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #c9ced8 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  opacity: 1 !important;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(20, 34, 68, 0.12);
  transition: all 0.25s ease;
}

.slick-dots li button:before {
  display: none !important;
  content: none !important;
}

.slick-dots li.slick-active button {
  width: 24px !important;
  background: linear-gradient(90deg, #3d79ff 0%, #0056ff 100%) !important;
  box-shadow: 0 4px 12px rgba(31, 63, 134, 0.25);
}

.slick-dots li button:hover {
  background: #3d79ff !important;
  transform: scale(1.08);
}

.slick-dots li.slick-active button:hover {
  transform: none;
}

/* 08. Related / Latest News titles */
.related-article-list-container .related-article-title{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 28px 0;
  padding:0 0 18px 0;
  border:0 !important;
  color:var(--ykc-text);
  font-size:clamp(26px, 2.2vw, 38px);
  line-height:1.05;
  font-weight:950;
  letter-spacing:-.04em;
}
.related-article-list-container .related-article-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:76px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--ykc-blue), #5ab4ff);
}
.sp-module-title,
.sppb-addon-title{letter-spacing:-.02em;}

/* 09. Tags / pagination / lists */
.breadcrumb{
  padding:.6rem 1rem;
  background-color:#f1f4f8;
  border-radius:14px;
}
.pagination-counter{display:none;}
.pagination{padding-left:0;}
.pagination-wrapper .pagination{
  margin-bottom:0;
  margin-top:40px;
}
.page-item.active .page-link,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus{
  color:#fff;
  background-color:#495057;
  border-color:#495057;
}
.page-link,
.page-item:first-child .page-link,
.page-item:last-child .page-link{border-radius:10px;}

/* 10. Bottom / footer */

#sp-bottom,
#sp-footer{
  background:var(--ykc-navy);
  color:#fff;
}
#sp-bottom .sp-module .sp-module-title{
  font-weight:800;
  font-size:18px;
  margin:0 0 10px;
  color:#fff;
}
#sp-bottom .sp-module ul > li{
  display:block;
  margin-bottom:10px;
  padding:5px 0 10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

/* Only copyright line */
#sp-footer .sp-copyright{
  width:100% !important;
  max-width:100% !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
}

#sp-footer .sp-copyright p,
#sp-footer .sp-copyright span{
  margin:0 auto !important;
  text-align:center !important;
}

/* 11. SP Page Builder design system - use these classes in sections */
.ykc-page,
.ykc-page *{box-sizing:border-box;}
.ykc-section{
  position:relative;
  padding:clamp(48px, 7vw, 92px) 0;
  overflow:hidden;
}
.ykc-wrap{
  width:min(var(--ykc-wrap), calc(100% - 32px));
  margin-inline:auto;
}
.ykc-section-head{
  max-width:760px;
  margin:0 auto 34px;
  text-align:center;
}
.ykc-kicker,
.ykc-section-head .ykc-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  color:var(--ykc-blue);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.ykc-section-head h1,
.ykc-section-head h2{
  margin:0;
  color:var(--ykc-text);
  font-size:clamp(30px, 4vw, 54px);
  line-height:1.02;
  font-weight:950;
  letter-spacing:-.04em;
}
.ykc-section-head p{
  margin:16px auto 0;
  color:var(--ykc-muted);
  font-size:clamp(15px, 1.3vw, 18px);
  line-height:1.75;
}
.ykc-card{
  background:#fff;
  border:1px solid var(--ykc-line);
  border-radius:var(--ykc-radius-lg);
  box-shadow:var(--ykc-shadow-sm);
  overflow:hidden;
}
.ykc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:12px 18px;
  border-radius:999px;
  background:var(--ykc-blue);
  color:#fff !important;
  font-weight:800;
  text-decoration:none !important;
  box-shadow:0 12px 26px rgba(17,118,188,.22);
}
.ykc-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(17,118,188,.28);
}
.ykc-btn.ykc-btn-light{
  background:#fff;
  color:var(--ykc-blue) !important;
  border:1px solid var(--ykc-line);
  box-shadow:var(--ykc-shadow-sm);
}

/* 12. Optional home campus panel helper */
.ykc-home-campus-panel,
.ykc-campus-panel,
.ykc-campus-wrap,
.ykc-campus-box{border-radius:0 0 28px 28px !important;}

/* 13. Responsive */
@media (max-width:1199px){
  .sp-megamenu-parent > li > a,
  .sp-megamenu-parent > li > span{
    padding:0 7px;
    font-size:.72rem;
  }
}
@media (max-width:991px){
  #sp-header{min-height:var(--ykc-header-height-mobile);}
  #sp-position1{display:none;}
  #sp-main-body{padding:1rem 0;}
  .ykc-section{padding:42px 0;}
  .ykc-wrap{width:min(100% - 24px, var(--ykc-wrap));}
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-item,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-scroller-item,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-item,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-addon-article,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-item,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-scroller-item,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-item,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-addon-article{
    min-height:360px !important;
    border-radius:20px !important;
  }
  .article-list .article .featured-article-badge,
  .article-list .article .badge,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .featured-article-badge,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .badge,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .article-featured,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-badge,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-badge,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .featured-article-badge,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .badge,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .article-featured,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-badge,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-badge{
    top:14px !important;
    left:14px !important;
    min-height:27px !important;
    padding:6px 11px !important;
  }
}
@media (max-width:575px){
  .sp-page-title{padding:30px 0;}
  .article-list .row{
    --bs-gutter-x:20px;
    --bs-gutter-y:26px;
    row-gap:26px !important;
  }
  .article-list [class*="col-"],
  .blog [class*="col-"],
  .view-category .article-list [class*="col-"]{margin-bottom:26px;}
  .article-list .article{border-radius:20px;}
  .article-list .article .article-intro-image,
  .article-list .article .article-featured-video,
  .article-list .article .article-featured-audio,
  .article-list .article .article-feature-gallery,
  .article-list .article .article-full-image{border-radius:20px 20px 0 0;}
  .article-list .article .article-header,
  .article-list .article .article-info,
  .article-list .article .article-introtext,
  .article-list .article .article-body,
  .article-list .article .readmore,
  .article-list .article .tags{
    padding-left:18px;
    padding-right:18px;
  }
  .article-list .article .article-header{padding-top:18px;}
  .article-list .article .article-header h1,
  .article-list .article .article-header h2{
    font-size:23px;
    margin-bottom:14px;
  }
  .article-list .article .tags{
    padding-bottom:22px;
    gap:8px;
  }
  .article-list .article .tags > li a,
  .tags > li a{
    min-height:30px;
    padding:6px 11px;
    font-size:13px;
  }
  .related-article-list-container .related-article-title{
    font-size:28px;
    margin-bottom:22px;
  }
}

/*
==================================================
IMPORTANT:
Avoid global rules such as h1{}, h2{}, .container{}, .sppb-row{},
.sppb-col-md-8{margin-left:-15px}. Do not target random addon IDs unless
that page is being fixed intentionally.
==================================================
*/

/*
==================================================
YKC 2026 CLEAN STABLE v5.1
Final correction: Featured badge inset + dropdown hover padding
Keep as part of the main custom.css, not as a separate temporary patch.
==================================================
*/

/* A) Mega menu dropdown: full-width clean hover, no tiny floating pill */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item{
  display:block !important;
  width:100% !important;
  margin:0 0 4px 0 !important;
  padding:0 !important;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > span{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  width:100% !important;
  min-height:40px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:10px 14px !important;
  border:0 !important;
  border-radius:11px !important;
  line-height:1.25 !important;
  white-space:normal !important;
  background:transparent !important;
  color:var(--ykc-text) !important;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a::before,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a::after,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > span::before,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > span::after{
  display:none !important;
  content:none !important;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > span:hover,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > span{
  color:var(--ykc-blue) !important;
  background:#f3f8fe !important;
}

/* Top menu hover stays text-only, no oval / no padding jump */
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span{
  box-sizing:border-box !important;
  transform:none !important;
}

.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li:hover > span,
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span{
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
}

/* B) Featured badge: force consistent inset inside image/card */
.article-list .article,
.sppb-addon-articles .sppb-addon-article,
.sppb-addon-articles-carousel .sppb-addon-article,
.sppb-addon-articles-carousel .sppb-article,
.sppb-addon-articles-carousel .sppb-carousel-extended-item,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-item,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-scroller-item,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-item,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-addon-article,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-scroller-item,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-scroller-item,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-articles-carousel-item,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-addon-article{
  position:relative !important;
}

.article-list .article .featured-article-badge,
.article-list .article .article-featured,
.article-list .article .sppb-article-featured,
.article-list .article .sppb-article-badge,
.article-list .article .sppb-badge,
.article-list .article .badge,
.sppb-addon-articles .sppb-addon-article .featured-article-badge,
.sppb-addon-articles .sppb-addon-article .article-featured,
.sppb-addon-articles .sppb-addon-article .sppb-article-featured,
.sppb-addon-articles .sppb-addon-article .sppb-article-badge,
.sppb-addon-articles .sppb-addon-article .sppb-badge,
.sppb-addon-articles .sppb-addon-article .badge,
.sppb-addon-articles-carousel .featured-article-badge,
.sppb-addon-articles-carousel .article-featured,
.sppb-addon-articles-carousel .sppb-article-featured,
.sppb-addon-articles-carousel .sppb-article-badge,
.sppb-addon-articles-carousel .sppb-badge,
.sppb-addon-articles-carousel .badge,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .featured-article-badge,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .article-featured,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-featured,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-badge,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-badge,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .badge,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .featured-article-badge,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .article-featured,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-featured,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-badge,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-badge,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .badge{
  position:absolute !important;
  top:24px !important;
  left:24px !important;
  right:auto !important;
  bottom:auto !important;
  z-index:30 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  max-width:max-content !important;
  min-width:0 !important;
  min-height:30px !important;
  height:30px !important;
  margin:0 !important;
  padding:0 13px !important;
  border:1px solid rgba(255,255,255,.32) !important;
  border-radius:9px !important;
  background:linear-gradient(135deg, rgba(255,78,103,.96), rgba(219,26,55,.88)) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:-.01em !important;
  text-transform:none !important;
  text-shadow:0 1px 1px rgba(0,0,0,.16) !important;
  box-shadow:0 10px 24px rgba(226,31,58,.28), inset 0 1px 0 rgba(255,255,255,.38) !important;
  transform:none !important;
  backdrop-filter:blur(10px) saturate(1.35);
  -webkit-backdrop-filter:blur(10px) saturate(1.35);
}

.article-list .article .featured-article-badge::after,
.article-list .article .article-featured::after,
.article-list .article .sppb-article-featured::after,
.article-list .article .sppb-article-badge::after,
.article-list .article .sppb-badge::after,
.article-list .article .badge::after,
.sppb-addon-articles .sppb-addon-article .featured-article-badge::after,
.sppb-addon-articles .sppb-addon-article .article-featured::after,
.sppb-addon-articles .sppb-addon-article .sppb-article-featured::after,
.sppb-addon-articles .sppb-addon-article .sppb-article-badge::after,
.sppb-addon-articles .sppb-addon-article .sppb-badge::after,
.sppb-addon-articles .sppb-addon-article .badge::after,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .featured-article-badge::after,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .article-featured::after,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-featured::after,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-badge::after,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-badge::after,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .badge::after,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .featured-article-badge::after,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .article-featured::after,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-featured::after,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-badge::after,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-badge::after,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .badge::after{
  content:"" !important;
  position:absolute !important;
  top:1px !important;
  left:2px !important;
  width:60% !important;
  height:40% !important;
  border-radius:8px !important;
  background:linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,0)) !important;
  pointer-events:none !important;
}

@media (max-width:575px){
  .article-list .article .featured-article-badge,
  .article-list .article .article-featured,
  .article-list .article .sppb-article-featured,
  .article-list .article .sppb-article-badge,
  .article-list .article .sppb-badge,
  .article-list .article .badge,
  .sppb-addon-articles .sppb-addon-article .featured-article-badge,
  .sppb-addon-articles .sppb-addon-article .article-featured,
  .sppb-addon-articles .sppb-addon-article .sppb-article-featured,
  .sppb-addon-articles .sppb-addon-article .sppb-article-badge,
  .sppb-addon-articles .sppb-addon-article .sppb-badge,
  .sppb-addon-articles .sppb-addon-article .badge,
  .sppb-addon-articles-carousel .featured-article-badge,
  .sppb-addon-articles-carousel .article-featured,
  .sppb-addon-articles-carousel .sppb-article-featured,
  .sppb-addon-articles-carousel .sppb-article-badge,
  .sppb-addon-articles-carousel .sppb-badge,
  .sppb-addon-articles-carousel .badge,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .featured-article-badge,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .article-featured,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-featured,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-badge,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-badge,
  #sppb-addon-pGWr7Vu7Jke3U190WCAam .badge,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .featured-article-badge,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .article-featured,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-featured,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-badge,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-badge,
  #sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .badge{
    top:13px !important;
    left:13px !important;
    height:28px !important;
    min-height:28px !important;
    padding:0 11px !important;
    font-size:11px !important;
    border-radius:8px !important;
  }
}

/* ==================================================
   YKC FINAL FIX - Featured Badge + Latest News Date
   Put at the VERY END of custom.css
================================================== */

/* Featured badge parent alanları */
.article-details .article-full-image,
.article-details figure,
.article-list .article,
.article-list .article .article-intro-image,
.article-list .article .article-full-image,
.sppb-addon-articles .sppb-addon-article,
.sppb-addon-articles .sppb-article-img-wrap,
.sppb-addon-articles-carousel .sppb-addon-article,
.sppb-addon-articles-carousel .sppb-article-img-wrap{
  position:relative !important;
}

/* Exact Featured badge class */
.article-details .badge.bg-danger.featured-article-badge,
.article-list .article .badge.bg-danger.featured-article-badge,
.sppb-addon-articles .badge.bg-danger.featured-article-badge,
.sppb-addon-articles-carousel .badge.bg-danger.featured-article-badge,
.badge.bg-danger.featured-article-badge{
  position:absolute !important;
  top:24px !important;
  left:24px !important;
  right:auto !important;
  bottom:auto !important;
  z-index:50 !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  min-width:auto !important;
  width:auto !important;
  height:30px !important;
  padding:0 13px !important;

  border:1px solid rgba(255,255,255,.35) !important;
  border-radius:9px !important;

  background:
    linear-gradient(135deg, rgba(255,75,102,.96), rgba(220,28,56,.88)) !important;

  color:#fff !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:-.01em !important;
  text-transform:none !important;

  box-shadow:
    0 10px 24px rgba(220,28,56,.28),
    inset 0 1px 0 rgba(255,255,255,.38) !important;

  backdrop-filter:blur(10px) saturate(1.25) !important;
  -webkit-backdrop-filter:blur(10px) saturate(1.25) !important;
}

/* Bootstrap bg-danger override */
.badge.bg-danger.featured-article-badge{
  --bs-bg-opacity:1 !important;
}

/* Latest News: tarih en alta kaçmasın */
.sppb-addon-articles .sppb-addon-article{
  display:flex !important;
  flex-direction:column !important;
}

.sppb-addon-articles .sppb-article-title,
.sppb-addon-articles .sppb-article-title a{
  margin-bottom:14px !important;
}

.sppb-addon-articles .sppb-article-meta,
.sppb-addon-articles .sppb-article-meta-date,
.sppb-addon-articles .sppb-meta-date,
.sppb-addon-articles .sppb-article-info{
  margin-top:0 !important;
  margin-bottom:0 !important;
  color:#667085 !important;
  font-size:14px !important;
  font-weight:500 !important;
}

/* Sadece Home News scroller’da meta alta yaslansın, Latest News’te değil */
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-article-meta,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-meta-date,
#sppb-addon-pGWr7Vu7Jke3U190WCAam .sppb-meta-category,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-article-meta,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-meta-date,
#sppb-addon-wrapper-pGWr7Vu7Jke3U190WCAam .sppb-meta-category{
  margin-top:0 !important;
}

/* Mobile badge */
@media (max-width:575px){
  .article-details .badge.bg-danger.featured-article-badge,
  .article-list .article .badge.bg-danger.featured-article-badge,
  .sppb-addon-articles .badge.bg-danger.featured-article-badge,
  .sppb-addon-articles-carousel .badge.bg-danger.featured-article-badge,
  .badge.bg-danger.featured-article-badge{
    top:13px !important;
    left:13px !important;
    height:28px !important;
    padding:0 11px !important;
    font-size:11px !important;
    border-radius:8px !important;
  }
}

/* ==================================================
   YKC FINAL FIX - Article Date Bottom Spacing
   Add at the VERY END of custom.css
================================================== */

/* Kart son elemanı dibe yapışmasın */
.article-list .article > *:last-child{
  margin-bottom:22px !important;
}

/* Tarih/meta alanı kontrollü dursun */
.article-list .article .article-info{
  margin:0 !important;
  padding:0 26px 26px 26px !important;
  background:transparent !important;
  border:0 !important;
  color:var(--ykc-muted) !important;
}

/* Tarih yazısı */
.article-list .article .article-info > span{
  font-size:14px !important;
  color:var(--ykc-muted) !important;
  font-weight:500 !important;
}

/* Eğer article-info son elemansa kart altında nefes kalsın */
.article-list .article .article-info:last-child{
  padding-bottom:28px !important;
}

/* Mobil */
@media (max-width:575px){
  .article-list .article .article-info{
    padding:0 18px 22px 18px !important;
  }

  .article-list .article .article-info:last-child{
    padding-bottom:24px !important;
  }

  .article-list .article > *:last-child{
    margin-bottom:0 !important;
  }
}

/* ==================================================
   YKC MENU DROPDOWN FIX
   Dropdown should feel attached to the header/menu
================================================== */

#sp-header .sp-megamenu-parent .sp-dropdown,
#sp-position1 .sp-megamenu-parent .sp-dropdown{
  padding-top:0 !important;
  margin-top:0 !important;
  top:100% !important;
  transform:translateY(-1px) !important;
  z-index:1200 !important;
}

#sp-header .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner,
#sp-position1 .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner{
  margin-top:0 !important;
  padding:14px !important;

  background:rgba(255,255,255,.98) !important;
  border:1px solid var(--ykc-line) !important;
  border-top:0 !important;

  border-radius:0 0 18px 18px !important;

  box-shadow:0 22px 48px rgba(15,35,55,.14) !important;
}

/* Dropdown linkleri küçük kutu gibi değil, satır gibi dursun */
#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item > span,
#sp-position1 .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
#sp-position1 .sp-megamenu-parent .sp-dropdown li.sp-menu-item > span{
  display:block !important;
  width:100% !important;
  padding:11px 14px !important;
  border-radius:10px !important;
  color:var(--ykc-text) !important;
  background:transparent !important;
}

#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a,
#sp-position1 .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
#sp-position1 .sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a{
  color:var(--ykc-blue) !important;
  background:#f4f8fd !important;
}

/* Chat BOT Questions ===============================
   Need to be Update informations
====================================================*/

.ykc-chat26,
.ykc-chat26 *{
  box-sizing:border-box;
}

.ykc-chat26{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:99999;
  font-family:inherit;
}

.ykc-chat26-btn{
  border:0;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,#123b72,#1e63ad);
  box-shadow:0 18px 45px rgba(10,35,70,.28);
  font-weight:800;
  letter-spacing:.2px;
}

.ykc-chat26-btn span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#7CFFB2;
  box-shadow:0 0 0 5px rgba(124,255,178,.16);
}

.ykc-chat26-panel{
  position:absolute;
  right:0;
  bottom:68px;
  width:370px;
  max-width:calc(100vw - 28px);
  overflow:hidden;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 28px 80px rgba(8,31,64,.28);
  backdrop-filter:blur(18px);
  display:none;
}

.ykc-chat26.is-open .ykc-chat26-panel{
  display:block;
}

.ykc-chat26-head{
  padding:18px 18px 16px;
  background:linear-gradient(135deg,#102f5f,#1f65ad);
  color:#fff;
}

.ykc-chat26-head strong{
  display:block;
  font-size:18px;
  line-height:1.2;
}

.ykc-chat26-head small{
  display:block;
  margin-top:6px;
  opacity:.86;
  line-height:1.4;
}

.ykc-chat26-close{
  position:absolute;
  top:12px;
  right:12px;
  border:0;
  width:32px;
  height:32px;
  border-radius:50%;
  cursor:pointer;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-size:18px;
}

.ykc-chat26-body{
  padding:16px;
  max-height:430px;
  overflow:auto;
}

.ykc-chat26-msg{
  margin:0 0 10px;
  padding:12px 14px;
  border-radius:16px;
  font-size:14px;
  line-height:1.5;
}

.ykc-chat26-bot{
  background:#f1f5fb;
  color:#1d2b3f;
  border-top-left-radius:6px;
}

.ykc-chat26-user{
  background:#143e76;
  color:#fff;
  border-top-right-radius:6px;
  margin-left:42px;
}

.ykc-chat26-quick{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 14px;
}

.ykc-chat26-quick button{
  border:1px solid rgba(20,62,118,.16);
  background:#fff;
  color:#143e76;
  border-radius:999px;
  padding:8px 11px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}

.ykc-chat26-input{
  display:flex;
  gap:8px;
  padding:12px;
  border-top:1px solid #edf1f6;
  background:#fff;
}

.ykc-chat26-input input{
  flex:1;
  min-width:0;
  border:1px solid #dfe7f1;
  border-radius:999px;
  padding:12px 14px;
  outline:none;
  font-size:14px;
}

.ykc-chat26-input button{
  border:0;
  border-radius:999px;
  padding:0 16px;
  background:#143e76;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.ykc-chat26-foot{
  padding:0 16px 14px;
  font-size:11px;
  color:#718096;
  line-height:1.4;
}

@media(max-width:575px){
  .ykc-chat26{
    right:14px;
    bottom:14px;
  }

  .ykc-chat26-btn{
    padding:13px 15px;
    font-size:14px;
  }

  .ykc-chat26-panel{
    right:-4px;
    bottom:62px;
    width:calc(100vw - 20px);
    border-radius:22px;
  }

  .ykc-chat26-body{
    max-height:58vh;
  }
}

/* =========================================================
   YKC 2026 - SP Easy Image Gallery Minimal Clean
   File: /templates/shaper_helixultimate/css/custom.css
   ========================================================= */

/* ---------- Reset ---------- */
.speasyimagegallery-albums,
.speasyimagegallery-album,
.speasyimagegallery-gallery,
.speasyimagegallery-albums *,
.speasyimagegallery-album *,
.speasyimagegallery-gallery *{
  box-sizing:border-box;
}

.speasyimagegallery-album-description:empty,
.speasyimagegallery-gallery-description:empty{
  display:none !important;
}

/* ---------- YKC variables ---------- */
:root{
  --ykc-navy:#143d73;
  --ykc-navy-dark:#0f2f59;
  --ykc-text:#1f2937;
  --ykc-muted:#6b7280;
  --ykc-card:#ffffff;
  --ykc-soft:#f3f6fa;
  --ykc-border:rgba(20,61,115,.10);
  --ykc-shadow:0 10px 28px rgba(16,32,64,.10);
  --ykc-shadow-hover:0 16px 34px rgba(16,32,64,.14);
  --ykc-radius:18px;
}

/* =========================================================
   1) ALBUM LIST PAGE
   Example: Gallery - Tetovo
========================================================= */

.speasyimagegallery-albums{
  width:100%;
  max-width:1240px;
  margin:0 auto !important;
  padding:0 !important;
}

.speasyimagegallery-albums .speasyimagegallery-row{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:24px !important;
  margin:0 !important;
  padding:0 !important;
}

.speasyimagegallery-albums .speasyimagegallery-row::before,
.speasyimagegallery-albums .speasyimagegallery-row::after,
.speasyimagegallery-gallery .speasyimagegallery-row::before,
.speasyimagegallery-gallery .speasyimagegallery-row::after{
  display:none !important;
  content:none !important;
}

.speasyimagegallery-albums [class*="speasyimagegallery-col-"],
.speasyimagegallery-gallery [class*="speasyimagegallery-col-"]{
  width:100% !important;
  max-width:100% !important;
  float:none !important;
  flex:none !important;
  padding:0 !important;
  margin:0 !important;
}

.speasyimagegallery-album{
  width:100% !important;
  max-width:100% !important;
  padding:0 !important;
  margin:0 !important;
}

.speasyimagegallery-album > a,
.speasyimagegallery-album > div > a{
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:290px !important;
  overflow:hidden !important;
  border-radius:var(--ykc-radius) !important;
  background-color:var(--ykc-soft) !important;
  background-size:cover !important;
  background-position:center !important;
  border:1px solid var(--ykc-border) !important;
  box-shadow:var(--ykc-shadow) !important;
  text-decoration:none !important;
  color:#fff !important;
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease !important;
}

.speasyimagegallery-album > a img,
.speasyimagegallery-album > div > a img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:var(--ykc-radius) !important;
  transition:transform .35s ease !important;
}

.speasyimagegallery-album > a::after,
.speasyimagegallery-album > div > a::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  background:linear-gradient(
    180deg,
    rgba(8,20,40,0.04) 32%,
    rgba(8,20,40,0.72) 100%
  ) !important;
  pointer-events:none !important;
}

.speasyimagegallery-album-info{
  position:absolute !important;
  left:18px !important;
  right:18px !important;
  bottom:16px !important;
  z-index:2 !important;
  margin:0 !important;
  padding:0 !important;
  color:#fff !important;
}

.speasyimagegallery-album-title{
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;
  margin:0 0 7px 0 !important;
  padding:0 !important;
  color:#fff !important;
  font-size:18px !important;
  line-height:1.22 !important;
  font-weight:800 !important;
  letter-spacing:-0.02em !important;
  text-shadow:0 4px 14px rgba(0,0,0,.32) !important;
}

.speasyimagegallery-album-count{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  min-height:28px !important;
  padding:6px 10px !important;
  margin:0 !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  color:rgba(255,255,255,.92) !important;
  font-size:13px !important;
  line-height:1 !important;
  font-weight:700 !important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.speasyimagegallery-album > a:hover,
.speasyimagegallery-album > div > a:hover{
  transform:translateY(-4px) !important;
  border-color:rgba(20,61,115,.18) !important;
  box-shadow:var(--ykc-shadow-hover) !important;
  color:#fff !important;
}

.speasyimagegallery-album > a:hover img,
.speasyimagegallery-album > div > a:hover img{
  transform:scale(1.04) !important;
}

.speasyimagegallery-album > a:hover,
.speasyimagegallery-album > a:hover *,
.speasyimagegallery-album > div > a:hover,
.speasyimagegallery-album > div > a:hover *,
.speasyimagegallery-album > a:focus,
.speasyimagegallery-album > a:focus *,
.speasyimagegallery-album > div > a:focus,
.speasyimagegallery-album > div > a:focus *{
  color:#fff !important;
  text-decoration:none !important;
}

/* =========================================================
   2) PHOTO GRID PAGE
   Example: album içindeki fotoğraflar
========================================================= */

.speasyimagegallery-gallery{
  width:100%;
  max-width:1240px;
  margin:0 auto !important;
  padding:0 !important;
}

.speasyimagegallery-gallery .speasyimagegallery-row{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:24px !important;
  margin:0 !important;
  padding:0 !important;
}

/* Her foto item'ı */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item{
  position:relative !important;
  display:block !important;
  width:100% !important;
  min-height:240px !important;
  overflow:hidden !important;
  border-radius:16px !important;
  background-color:var(--ykc-soft) !important;
  background-size:cover !important;
  background-position:center !important;
  border:1px solid var(--ykc-border) !important;
  box-shadow:0 8px 22px rgba(16,32,64,.08) !important;
  text-decoration:none !important;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

/* Normal img varsa */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item img{
  display:block !important;
  width:100% !important;
  height:240px !important;
  min-height:240px !important;
  object-fit:cover !important;
  border-radius:16px 16px 0 0 !important;
  transition:transform .35s ease !important;
}

/* Başlık/caption varsa altta kart bilgisi gibi göster */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item > div{
  display:block !important;
  padding:12px 14px 14px !important;
  background:#fff !important;
  color:var(--ykc-text) !important;
  font-size:14px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
}

.speasyimagegallery-gallery .speasyimagegallery-gallery-item > div:empty{
  display:none !important;
}

/* İç caption yoksa düz foto kartı gibi kalsın */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item > div:empty + img{
  border-radius:16px !important;
}

/* Sahte overlay/buton istemiyoruz */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item::before,
.speasyimagegallery-gallery .speasyimagegallery-gallery-item::after{
  display:none !important;
  content:none !important;
}

.speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover{
  transform:translateY(-3px) !important;
  border-color:rgba(20,61,115,.18) !important;
  box-shadow:0 14px 30px rgba(16,32,64,.13) !important;
}

.speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover img{
  transform:scale(1.03) !important;
}

/* Eğer plugin caption'ı önce render etmiyorsa ve boş kutu kalıyorsa */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item:has(> div:empty) {
  padding-bottom:0 !important;
}

/* =========================================================
   3) HEADINGS ON GALLERY PAGES
========================================================= */

.speasyimagegallery-albums h1,
.speasyimagegallery-albums h2,
.speasyimagegallery-gallery h1,
.speasyimagegallery-gallery h2,
.speasyimagegallery-gallery-title,
.speasyimagegallery-album-title-main{
  color:#1f2937 !important;
  font-weight:800 !important;
  letter-spacing:-0.02em !important;
}

/* Açıklama text */
.speasyimagegallery-gallery-description,
.speasyimagegallery-album-description{
  color:var(--ykc-muted) !important;
  font-size:15px !important;
  line-height:1.6 !important;
  margin-bottom:18px !important;
}

/* =========================================================
   4) MODAL / POPUP
   sadece güvenli düzeltme
========================================================= */

body.speasyimagegallery-modal-body{
  overflow:hidden !important;
}

.speasyimagegallery-modal{
  box-shadow:none !important;
}

.speasyimagegallery-modal img,
.speasyimagegallery-modal .speasyimagegallery-image-wrapper img{
  max-width:96vw !important;
  max-height:92vh !important;
  object-fit:contain !important;
}

/* =========================================================
   5) RESPONSIVE
========================================================= */

@media (max-width:1024px){
  .speasyimagegallery-albums .speasyimagegallery-row,
  .speasyimagegallery-gallery .speasyimagegallery-row{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:20px !important;
  }

  .speasyimagegallery-album > a,
  .speasyimagegallery-album > div > a{
    height:265px !important;
  }

  .speasyimagegallery-gallery .speasyimagegallery-gallery-item{
    min-height:220px !important;
  }

  .speasyimagegallery-gallery .speasyimagegallery-gallery-item img{
    height:220px !important;
    min-height:220px !important;
  }
}

@media (max-width:640px){
  .speasyimagegallery-albums .speasyimagegallery-row,
  .speasyimagegallery-gallery .speasyimagegallery-row{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .speasyimagegallery-album > a,
  .speasyimagegallery-album > div > a{
    height:245px !important;
    border-radius:16px !important;
  }

  .speasyimagegallery-album > a img,
  .speasyimagegallery-album > div > a img{
    border-radius:16px !important;
  }

  .speasyimagegallery-album-title{
    font-size:17px !important;
  }

  .speasyimagegallery-gallery .speasyimagegallery-gallery-item{
    min-height:205px !important;
    border-radius:14px !important;
  }

  .speasyimagegallery-gallery .speasyimagegallery-gallery-item img{
    height:205px !important;
    min-height:205px !important;
    border-radius:14px 14px 0 0 !important;
  }
}

/* =========================================================
   YKC FIX - SP Easy Image Gallery Inner Photo Grid
   Bu patch sadece album içindeki fotoğrafları düzeltir.
   Main gallery / album list yapısına dokunmaz.
   ========================================================= */

/* Foto grid genel */
.speasyimagegallery-gallery,
.speasyimagegallery-gallery * {
  box-sizing: border-box;
}

/* Row/col bozulmasın */
.speasyimagegallery-gallery .speasyimagegallery-row {
  margin-left: -12px !important;
  margin-right: -12px !important;
}

.speasyimagegallery-gallery [class*="speasyimagegallery-col-"] {
  padding-left: 12px !important;
  padding-right: 12px !important;
  margin-bottom: 24px !important;
}

/* Foto kartı */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 235px !important;
  min-height: 235px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 16px !important;
  background: #eef3f8 !important;
  border: 1px solid rgba(20, 61, 115, 0.10) !important;
  box-shadow: 0 8px 22px rgba(16, 32, 64, 0.08) !important;
  text-decoration: none !important;
  color: transparent !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

/* ÖNEMLİ:
   Plugin fotoğrafı çoğu yerde bu div'in background-image'ı olarak veriyor.
   Bu yüzden div caption değil, foto alanı gibi davranmalı.
*/
.speasyimagegallery-gallery .speasyimagegallery-gallery-item > div {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 16px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}

/* Eğer img olarak gelirse onu da düzgün göster */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 235px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: transform .32s ease !important;
}

/* Hover'da foto adı / caption / sahte yazı çıkmasın */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item::before,
.speasyimagegallery-gallery .speasyimagegallery-gallery-item::after,
.speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover::before,
.speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover::after {
  display: none !important;
  content: none !important;
}

/* Hover sade kalsın */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(20, 61, 115, 0.18) !important;
  box-shadow: 0 14px 30px rgba(16, 32, 64, 0.13) !important;
  color: transparent !important;
  text-decoration: none !important;
}

.speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover img,
.speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover > div {
  transform: scale(1.025) !important;
}

/* Eski CSS'ten kalan caption/text efektlerini tamamen kapat */
.speasyimagegallery-gallery .speasyimagegallery-gallery-item *,
.speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover * {
  text-decoration: none !important;
}

/* Başlık fazla gri/kalın görünüyorsa daha düzgün hale getir */
.speasyimagegallery-gallery-title,
.com-speasyimagegallery h1,
.com-speasyimagegallery h2 {
  color: #1f2937 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

/* Açıklama yazısı */
.speasyimagegallery-gallery-description {
  color: #4b5563 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin-bottom: 22px !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .speasyimagegallery-gallery .speasyimagegallery-gallery-item {
    height: 220px !important;
    min-height: 220px !important;
  }

  .speasyimagegallery-gallery .speasyimagegallery-gallery-item img {
    min-height: 220px !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .speasyimagegallery-gallery .speasyimagegallery-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .speasyimagegallery-gallery [class*="speasyimagegallery-col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 18px !important;
  }

  .speasyimagegallery-gallery .speasyimagegallery-gallery-item {
    height: 210px !important;
    min-height: 210px !important;
    border-radius: 14px !important;
  }

  .speasyimagegallery-gallery .speasyimagegallery-gallery-item > div,
  .speasyimagegallery-gallery .speasyimagegallery-gallery-item img {
    border-radius: 14px !important;
    min-height: 210px !important;
  }
}

/* =========================================================
   YKC FINAL PATCH - SP Easy Image Gallery
   Only inner photo grid + modal + title/description fixes
   Add to the VERY END of custom.css
   ========================================================= */


/* =========================================================
   1) PAGE TITLE FIX
   Blue title area should stay white
========================================================= */

body.com-speasyimagegallery #sp-title h1,
body.com-speasyimagegallery #sp-title h2,
body.com-speasyimagegallery #sp-title .sp-page-title-heading,
body.com-speasyimagegallery .sp-page-title h1,
body.com-speasyimagegallery .sp-page-title h2,
body.com-speasyimagegallery .sp-page-title .sp-page-title-heading,
body.com-speasyimagegallery .page-title h1,
body.com-speasyimagegallery .page-title h2 {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
}

/* If previous CSS forced all gallery headings black, undo only inside title/banner */
body.com-speasyimagegallery #sp-title *,
body.com-speasyimagegallery .sp-page-title * {
  color: #ffffff !important;
}


/* =========================================================
   2) DESCRIPTION / QUOTE FIX
   More gallery-like, smaller, cleaner
========================================================= */

body.com-speasyimagegallery .speasyimagegallery-gallery-description,
body.com-speasyimagegallery .speasyimagegallery-album-description {
  max-width: 1240px !important;
  margin: 22px auto 30px !important;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(20, 61, 115, 0.10) !important;
  border-left: 4px solid #1167a8 !important;
  background: #f7fafc !important;
  color: #556070 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 22px rgba(16, 32, 64, 0.05) !important;
}

body.com-speasyimagegallery .speasyimagegallery-gallery-description p,
body.com-speasyimagegallery .speasyimagegallery-album-description p {
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

/* If the description is rendered as a quote */
body.com-speasyimagegallery blockquote {
  max-width: 1240px !important;
  margin: 22px auto 30px !important;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(20, 61, 115, 0.10) !important;
  border-left: 4px solid #1167a8 !important;
  background: #f7fafc !important;
  color: #556070 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 22px rgba(16, 32, 64, 0.05) !important;
}

body.com-speasyimagegallery blockquote p {
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}


/* =========================================================
   3) INNER PHOTO GRID FIX
   Does NOT touch main album gallery
========================================================= */

body.com-speasyimagegallery .speasyimagegallery-gallery,
body.com-speasyimagegallery .speasyimagegallery-gallery * {
  box-sizing: border-box !important;
}

body.com-speasyimagegallery .speasyimagegallery-gallery {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 28px auto 0 !important;
  padding: 0 !important;
}

/* Make inner photo grid balanced */
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-row::before,
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-row::after {
  display: none !important;
  content: none !important;
}

/* Kill old bootstrap column spacing only inside photo grid */
body.com-speasyimagegallery .speasyimagegallery-gallery [class*="speasyimagegallery-col-"] {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Clean photo card */
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 16px !important;
  background: #eef3f8 !important;
  border: 1px solid rgba(20, 61, 115, 0.10) !important;
  box-shadow: 0 10px 24px rgba(16, 32, 64, 0.08) !important;
  text-decoration: none !important;
  color: transparent !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

/* Plugin sometimes uses inner div as background image */
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item > div {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 16px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  transform: none !important;
}

/* If plugin uses img */
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: transform .32s ease !important;
}

/* Do not show photo file names / hover captions */
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item::before,
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item::after,
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover::before,
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover::after {
  display: none !important;
  content: none !important;
}

body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item *,
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover * {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
}

/* Simple hover only */
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(20, 61, 115, 0.18) !important;
  box-shadow: 0 16px 32px rgba(16, 32, 64, 0.13) !important;
}

body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover img,
body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item:hover > div {
  transform: scale(1.025) !important;
}


/* =========================================================
   4) MODAL / FULL IMAGE MODERN CLEAN FIX
========================================================= */

body.speasyimagegallery-modal-body {
  overflow: hidden !important;
}

/* Full-screen clean dark viewer */
.speasyimagegallery-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  padding: 42px 72px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(5, 12, 25, 0.88) !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: hidden !important;
  cursor: default !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* Image itself */
.speasyimagegallery-modal img,
.speasyimagegallery-modal .speasyimagegallery-image-wrapper img {
  position: relative !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 150px) !important;
  max-height: calc(100vh - 90px) !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45) !important;
}

.speasyimagegallery-image-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 150px) !important;
  max-height: calc(100vh - 90px) !important;
  overflow: visible !important;
}

/* Hide old black bottom caption bar */
.speasyimagegallery-image-content {
  display: none !important;
}

/* Close button */
.speasyimagegallery-close,
.speasyimagegallery-close:hover,
.speasyimagegallery-close:active,
.speasyimagegallery-close:focus {
  position: fixed !important;
  top: 22px !important;
  right: 26px !important;
  z-index: 1000001 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background .2s ease, transform .2s ease !important;
}

.speasyimagegallery-close:hover {
  background: rgba(255, 255, 255, 0.20) !important;
  transform: scale(1.04) !important;
}

/* Prev / Next arrows */
.speasyimagegallery-prev,
.speasyimagegallery-next {
  position: fixed !important;
  top: 50% !important;
  z-index: 1000000 !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-50%) !important;
  transition: background .2s ease, transform .2s ease !important;
}

.speasyimagegallery-prev {
  left: 24px !important;
}

.speasyimagegallery-next {
  right: 24px !important;
}

.speasyimagegallery-prev:hover,
.speasyimagegallery-next:hover {
  background: rgba(255, 255, 255, 0.20) !important;
}

.speasyimagegallery-prev > span,
.speasyimagegallery-next > span {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  border-color: #ffffff !important;
  border-width: 0 0 3px 3px !important;
  border-style: solid !important;
  transform-origin: center !important;
}

.speasyimagegallery-prev > span {
  transform: translate(-35%, -50%) rotate(45deg) !important;
}

.speasyimagegallery-next > span {
  transform: translate(-65%, -50%) rotate(-135deg) !important;
}


/* =========================================================
   5) RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
  body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }

  .speasyimagegallery-modal {
    padding: 36px 58px !important;
  }

  .speasyimagegallery-modal img,
  .speasyimagegallery-modal .speasyimagegallery-image-wrapper img,
  .speasyimagegallery-image-wrapper {
    max-width: calc(100vw - 120px) !important;
    max-height: calc(100vh - 80px) !important;
  }
}

@media (max-width: 640px) {
  body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-row {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item {
    aspect-ratio: 16 / 10 !important;
    border-radius: 14px !important;
  }

  body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item > div,
  body.com-speasyimagegallery .speasyimagegallery-gallery .speasyimagegallery-gallery-item img {
    border-radius: 14px !important;
  }

  body.com-speasyimagegallery .speasyimagegallery-gallery-description,
  body.com-speasyimagegallery .speasyimagegallery-album-description,
  body.com-speasyimagegallery blockquote {
    margin: 16px auto 24px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
  }

  .speasyimagegallery-modal {
    padding: 54px 14px 28px !important;
  }

  .speasyimagegallery-modal img,
  .speasyimagegallery-modal .speasyimagegallery-image-wrapper img,
  .speasyimagegallery-image-wrapper {
    max-width: calc(100vw - 28px) !important;
    max-height: calc(100vh - 95px) !important;
  }

  .speasyimagegallery-close,
  .speasyimagegallery-close:hover,
  .speasyimagegallery-close:active,
  .speasyimagegallery-close:focus {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 26px !important;
  }

  .speasyimagegallery-prev,
  .speasyimagegallery-next {
    width: 42px !important;
    height: 42px !important;
  }

  .speasyimagegallery-prev {
    left: 10px !important;
  }

  .speasyimagegallery-next {
    right: 10px !important;
  }
}

/* =========================================================
   YKC - Gallery Back Button Clean Premium
   ========================================================= */

.ykc-gallery-back-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 20px auto 26px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.ykc-gallery-back-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 40px !important;
  padding: 10px 17px 10px 12px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #0f5794, #1479bd) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(17, 103, 168, 0.22) !important;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease !important;
}

.ykc-gallery-back-btn span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

.ykc-gallery-back-btn:hover,
.ykc-gallery-back-btn:focus {
  background: linear-gradient(135deg, #0d4d86, #116dae) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(17, 103, 168, 0.30) !important;
  text-decoration: none !important;
}

.ykc-gallery-back-btn:hover span,
.ykc-gallery-back-btn:focus span {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .ykc-gallery-back-wrap {
    margin: 18px auto 22px !important;
  }

  .ykc-gallery-back-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* =========================================================
   YKC 2026 - Helix Offcanvas Mobile Menu Fix
   Add to: /templates/shaper_helixultimate/css/custom.css
   ========================================================= */

/* Main offcanvas background */
.offcanvas-menu {
  background: linear-gradient(180deg, #183653 0%, #152f49 100%) !important;
  color: #ffffff !important;
  overflow: hidden !important;
}

/* Inner scroll fix */
.offcanvas-menu .offcanvas-inner {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 42px 23px 95px !important;
  background: transparent !important;
  color: #ffffff !important;
}

/* Remove strange top empty space from modules */
.offcanvas-menu .offcanvas-inner .sp-module {
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
}

.offcanvas-menu .offcanvas-inner .sp-module:first-child {
  margin-top: 0 !important;
}

/* Logo area */
.offcanvas-menu .offcanvas-inner img {
  max-width: 180px !important;
  height: auto !important;
}

.offcanvas-menu .offcanvas-inner .custom,
.offcanvas-menu .offcanvas-inner .sp-module-content {
  color: #ffffff !important;
}

/* Close button */
.close-offcanvas,
.offcanvas-menu .close-offcanvas {
  position: fixed !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 99999 !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.13) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.close-offcanvas::before,
.close-offcanvas::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 23px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  transform-origin: center !important;
}

.close-offcanvas::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.close-offcanvas::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* Search box */
.offcanvas-menu input[type="search"],
.offcanvas-menu input[type="text"],
.offcanvas-menu .search input {
  width: 100% !important;
  height: 46px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #172033 !important;
  font-size: 15px !important;
  padding: 0 14px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14) !important;
}

.offcanvas-menu input::placeholder {
  color: #7b8797 !important;
}

/* Menu list */
.offcanvas-menu .offcanvas-inner ul.menu,
.offcanvas-menu .offcanvas-inner ul.sp-megamenu-parent {
  margin: 18px 0 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.offcanvas-menu .offcanvas-inner ul.menu > li,
.offcanvas-menu .offcanvas-inner ul.sp-megamenu-parent > li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
}

/* Main menu links */
.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.sp-megamenu-parent > li > a {
  display: flex !important;
  align-items: center !important;
  min-height: 43px !important;
  padding: 10px 0 !important;
  color: rgba(255, 255, 255, 0.90) !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  letter-spacing: -0.01em !important;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a,
.offcanvas-menu .offcanvas-inner ul.sp-megamenu-parent > li > a:hover,
.offcanvas-menu .offcanvas-inner ul.sp-megamenu-parent > li.active > a {
  color: #ffffff !important;
}

/* Submenu arrows */
.offcanvas-menu .menu-toggler,
.offcanvas-menu .offcanvas-menu-toggler,
.offcanvas-menu .menu-parent > a::after {
  color: #ffffff !important;
  opacity: 0.9 !important;
}

/* Submenu items */
.offcanvas-menu .offcanvas-inner ul.menu li ul,
.offcanvas-menu .offcanvas-inner ul.sp-megamenu-parent li ul {
  margin: 0 0 8px 0 !important;
  padding: 0 0 4px 12px !important;
  background: transparent !important;
}

.offcanvas-menu .offcanvas-inner ul.menu li ul li,
.offcanvas-menu .offcanvas-inner ul.sp-megamenu-parent li ul li {
  border: 0 !important;
}

.offcanvas-menu .offcanvas-inner ul.menu li ul li a,
.offcanvas-menu .offcanvas-inner ul.sp-megamenu-parent li ul li a {
  display: block !important;
  padding: 7px 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.offcanvas-menu .offcanvas-inner ul.menu li ul li a:hover,
.offcanvas-menu .offcanvas-inner ul.sp-megamenu-parent li ul li a:hover {
  color: #ffffff !important;
}

/* Work / Myeducare / Mail buttons */
.offcanvas-menu .sppb-btn,
.offcanvas-menu .btn,
.offcanvas-menu a[class*="btn"],
.offcanvas-menu .ykc-off-btn,
.offcanvas-menu .work-at-ykc,
.offcanvas-menu .myeducare,
.offcanvas-menu .ykc-mail {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Contact info fix */
.offcanvas-menu .offcanvas-inner,
.offcanvas-menu .offcanvas-inner p,
.offcanvas-menu .offcanvas-inner div,
.offcanvas-menu .offcanvas-inner span,
.offcanvas-menu .offcanvas-inner li {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* Phone / email links */
.offcanvas-menu .offcanvas-inner a[href^="tel"],
.offcanvas-menu .offcanvas-inner a[href^="mailto"] {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

/* Time line was black - force visible */
.offcanvas-menu .offcanvas-inner .fa-clock,
.offcanvas-menu .offcanvas-inner .fa-regular,
.offcanvas-menu .offcanvas-inner .fa-solid,
.offcanvas-menu .offcanvas-inner i {
  color: #ffffff !important;
}

.offcanvas-menu .offcanvas-inner p:has(.fa-clock),
.offcanvas-menu .offcanvas-inner div:has(.fa-clock),
.offcanvas-menu .offcanvas-inner span:has(.fa-clock) {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Social icons visible at bottom */
.offcanvas-menu .social-icons,
.offcanvas-menu .sp-module .social-icons,
.offcanvas-menu ul.social-icons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 11px !important;
  margin: 18px 0 0 0 !important;
  padding: 0 0 30px 0 !important;
  list-style: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.offcanvas-menu .social-icons li {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.offcanvas-menu .social-icons li a,
.offcanvas-menu .social-icons a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

.offcanvas-menu .social-icons li a:hover,
.offcanvas-menu .social-icons a:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

/* Social icon fonts */
.offcanvas-menu .social-icons i,
.offcanvas-menu .social-icons em,
.offcanvas-menu .social-icons span {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Mobile width and no top color mismatch */
@media (max-width: 767px) {
  .offcanvas-menu {
    width: 285px !important;
    max-width: 86vw !important;
  }

  .offcanvas-menu .offcanvas-inner {
    padding-top: 48px !important;
  }
}

/* =========================================================
   YKC FIX - Hide Offcanvas Close Button When Menu Is Closed
   ========================================================= */

/* Menü kapalıyken X kesinlikle görünmesin */
.close-offcanvas {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Menü açılınca X görünsün */
body.offcanvas-active .close-offcanvas,
body.offcanvas-open .close-offcanvas,

/* X butonunun sadece offcanvas içinde düzgün görünmesi */
body.offcanvas-active .offcanvas-menu .close-offcanvas,
body.offcanvas-open .offcanvas-menu .close-offcanvas {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 99999 !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.13) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

/* =========================================================
   YKC FIX - Offcanvas X / Spacing / Bottom Icons
   Add to the VERY END of custom.css
   ========================================================= */

/* Menü kapalıyken X kesin gizlensin */
body:not(.offcanvas-active):not(.offcanvas-open) .close-offcanvas,
body:not(.offcanvas-active):not(.offcanvas-open) .offcanvas-menu .close-offcanvas {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Menü açılınca X sadece offcanvas içinde görünsün */
body.offcanvas-active .offcanvas-menu .close-offcanvas,
body.offcanvas-open .offcanvas-menu .close-offcanvas {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 99999 !important;
  width: 42px !important;
  height: 42px !important;
}

/* Offcanvas üst boşluğu azalt */
.offcanvas-menu .offcanvas-inner {
  padding-top: 28px !important;
  padding-left: 23px !important;
  padding-right: 23px !important;
  padding-bottom: 135px !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* İlk modül/logo fazla aşağı inmesin */
.offcanvas-menu .offcanvas-inner > .sp-module:first-child,
.offcanvas-menu .offcanvas-inner > div:first-child,
.offcanvas-menu .offcanvas-inner .sp-module:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Logo alanı daha kompakt */
.offcanvas-menu .offcanvas-inner img {
  max-width: 165px !important;
  height: auto !important;
}

.offcanvas-menu .offcanvas-inner .sp-module {
  margin-bottom: 16px !important;
}

/* Search ile logo arası çok açılmasın */
.offcanvas-menu .search,
.offcanvas-menu .finder,
.offcanvas-menu .sp-module-content form {
  margin-top: 12px !important;
  margin-bottom: 18px !important;
}

/* Offcanvas açıkken alttaki ShareThis bar menüyü kapatmasın */
body.offcanvas-active .st-sticky-share-buttons,
body.offcanvas-open .st-sticky-share-buttons,
body.offcanvas-active #st-1,
body.offcanvas-open #st-1,
body.offcanvas-active .sharethis-sticky-share-buttons,
body.offcanvas-open .sharethis-sticky-share-buttons {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Offcanvas içindeki sosyal ikonlar altta görünür kalsın */
.offcanvas-menu .social-icons,
.offcanvas-menu ul.social-icons,
.offcanvas-menu .sp-module .social-icons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 18px 0 22px 0 !important;
  padding: 0 0 20px 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Mobilde panel biraz daha doğal */
@media (max-width: 767px) {
  .offcanvas-menu {
    width: 286px !important;
    max-width: 86vw !important;
  }

  .offcanvas-menu .offcanvas-inner {
    padding-top: 24px !important;
    padding-bottom: 150px !important;
  }

  body.offcanvas-active .offcanvas-menu .close-offcanvas,
  body.offcanvas-open .offcanvas-menu .close-offcanvas {
    top: 12px !important;
    right: 12px !important;
  }
}

/* =========================================================
   YKC FINAL FIX - Mobile Back Button + Closed Offcanvas Shadow
   Add to VERY END of custom.css
   ========================================================= */

/* Back to Gallery yazısı her durumda beyaz kalsın */
.ykc-gallery-back-btn,
.ykc-gallery-back-btn:visited,
.ykc-gallery-back-btn:hover,
.ykc-gallery-back-btn:focus,
.ykc-gallery-back-btn:active,
.ykc-gallery-back-btn span {
  color: #ffffff !important;
}

/* Mobilde buton full-width olmasın, desktop gibi kompakt kalsın */
@media (max-width: 640px) {
  .ykc-gallery-back-wrap {
    justify-content: flex-start !important;
    margin: 18px auto 24px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .ykc-gallery-back-btn {
    width: auto !important;
    max-width: max-content !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    color: #ffffff !important;
    padding: 10px 16px 10px 12px !important;
    box-shadow: 0 10px 24px rgba(17, 103, 168, 0.22) !important;
  }

  .ykc-gallery-back-btn span {
    color: #ffffff !important;
  }
}

/* Menü kapalıyken offcanvas sağda gölge/iz bırakmasın */
body:not(.offcanvas-active):not(.offcanvas-open) .offcanvas-menu {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

/* Menü kapalıyken overlay/backdrop kesin görünmesin */
body:not(.offcanvas-active):not(.offcanvas-open) .offcanvas-overlay,
body:not(.offcanvas-active):not(.offcanvas-open) .sp-offcanvas-overlay,
body:not(.offcanvas-active):not(.offcanvas-open) .body-overlay,
body:not(.offcanvas-active):not(.offcanvas-open) .offcanvas-backdrop {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Menü açılınca tekrar normal görünsün */
body.offcanvas-active .offcanvas-menu,
body.offcanvas-open .offcanvas-menu {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* =========================================================
   YKC FIX - Back to Gallery Mobile Text Color
   ========================================================= */

html body .ykc-gallery-back-wrap a.ykc-gallery-back-btn,
html body .ykc-gallery-back-wrap a.ykc-gallery-back-btn:link,
html body .ykc-gallery-back-wrap a.ykc-gallery-back-btn:visited,
html body .ykc-gallery-back-wrap a.ykc-gallery-back-btn:hover,
html body .ykc-gallery-back-wrap a.ykc-gallery-back-btn:focus,
html body .ykc-gallery-back-wrap a.ykc-gallery-back-btn:active,
html body .ykc-gallery-back-wrap a.ykc-gallery-back-btn span,
html body .ykc-gallery-back-wrap a.ykc-gallery-back-btn * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}

@media (max-width: 640px) {
  html body .ykc-gallery-back-wrap {
    justify-content: flex-start !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  html body .ykc-gallery-back-wrap a.ykc-gallery-back-btn {
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
    display: inline-flex !important;
    justify-content: flex-start !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
}

/* =========================================================
   YKC FIX - Gallery Description Cleaner
   ========================================================= */

body.com-speasyimagegallery .speasyimagegallery-gallery-description,
body.com-speasyimagegallery .speasyimagegallery-album-description,
body.com-speasyimagegallery blockquote {
  max-width: 1240px !important;
  margin: 18px auto 26px !important;
  padding: 11px 16px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(20, 61, 115, 0.09) !important;
  border-left: 3px solid #1167a8 !important;
  background: rgba(247, 250, 252, 0.72) !important;
  color: #5b6573 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px rgba(16, 32, 64, 0.04) !important;
}

body.com-speasyimagegallery .speasyimagegallery-gallery-description *,
body.com-speasyimagegallery .speasyimagegallery-album-description *,
body.com-speasyimagegallery blockquote * {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* ==================================================
   YKC FINAL FIX v5.8 - Clean Meta + Pagination + Mobile Topbar
   Replaces old v5.2/v5.3/v5.4/v5.7 meta experiments.
   No slash separators on mobile, no clipped category/date.
================================================== */

@media (max-width:767px){
  /* Mobile topbar: social row + compact contact row */
  #sp-top-bar,
  #sp-top,
  .sp-top-bar,
  .top-bar{
    padding:8px 6px 9px !important;
    background:var(--ykc-navy) !important;
    overflow:hidden !important;
  }

  #sp-top-bar .container,
  #sp-top .container,
  .sp-top-bar .container,
  #sp-top-bar .container-inner,
  #sp-top .container-inner{
    width:100% !important;
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  #sp-top-bar .row,
  #sp-top .row,
  .sp-top-bar .row{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    margin:0 !important;
  }

  #sp-top-bar [class*="col-"],
  #sp-top [class*="col-"],
  .sp-top-bar [class*="col-"]{
    width:100% !important;
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
    display:flex !important;
    justify-content:center !important;
  }

  #sp-top-bar .social-icons,
  #sp-top .social-icons,
  .sp-top-bar .social-icons,
  #sp-top-bar ul.social-icons,
  #sp-top ul.social-icons{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:nowrap !important;
    gap:13px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1 !important;
  }

  #sp-top-bar .social-icons li,
  #sp-top .social-icons li,
  .sp-top-bar .social-icons li{
    display:inline-flex !important;
    margin:0 !important;
    padding:0 !important;
  }

  #sp-top-bar .social-icons a,
  #sp-top .social-icons a,
  .sp-top-bar .social-icons a,
  #sp-top-bar .social-icons i,
  #sp-top .social-icons i,
  .sp-top-bar .social-icons i{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:18px !important;
    height:18px !important;
    color:#fff !important;
    font-size:17px !important;
    line-height:1 !important;
  }

  #sp-top-bar .sp-contact-info,
  #sp-top .sp-contact-info,
  .sp-top-bar .sp-contact-info,
  #sp-top-bar ul.sp-contact-info,
  #sp-top ul.sp-contact-info{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:nowrap !important;
    gap:7px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
    color:#fff !important;
    font-size:10px !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
    overflow:visible !important;
  }

  #sp-top-bar .sp-contact-info li,
  #sp-top .sp-contact-info li,
  .sp-top-bar .sp-contact-info li{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    margin:0 !important;
    padding:0 !important;
    color:#fff !important;
    white-space:nowrap !important;
    min-width:0 !important;
  }

  #sp-top-bar .sp-contact-info a,
  #sp-top .sp-contact-info a,
  .sp-top-bar .sp-contact-info a,
  #sp-top-bar .sp-contact-info span,
  #sp-top .sp-contact-info span,
  .sp-top-bar .sp-contact-info span,
  #sp-top-bar .sp-contact-info i,
  #sp-top .sp-contact-info i,
  .sp-top-bar .sp-contact-info i{
    color:#fff !important;
    font-size:10px !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
  }

  /* News list: stable single-column cards */
  body.view-category #sp-main-body,
  body.view-article #sp-main-body,
  body.com-content #sp-main-body{padding-top:.75rem !important;}

  body.com-content .article-list .row,
  body.com-content .blog .row,
  body.com-content.view-category .article-list .row{
    display:block !important;
    margin-left:0 !important;
    margin-right:0 !important;
    row-gap:0 !important;
    --bs-gutter-x:0 !important;
    --bs-gutter-y:0 !important;
  }

  body.com-content .article-list [class*="col-"],
  body.com-content .blog [class*="col-"],
  body.com-content.view-category .article-list [class*="col-"]{
    width:100% !important;
    max-width:100% !important;
    padding-left:14px !important;
    padding-right:14px !important;
    margin:0 0 30px 0 !important;
  }

  body.com-content .article-list [class*="col-"]:last-child,
  body.com-content .blog [class*="col-"]:last-child,
  body.com-content.view-category .article-list [class*="col-"]:last-child{margin-bottom:30px !important;}

  body.com-content .article-list .article,
  body.com-content .blog .article{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    border-radius:22px !important;
    overflow:hidden !important;
    background:#fff !important;
    box-shadow:0 14px 34px rgba(15,35,55,.09) !important;
  }

  body.com-content .article-list .article .article-intro-image,
  body.com-content .article-list .article .article-full-image,
  body.com-content .article-list .article .article-feature-gallery,
  body.com-content .article-list .article .article-featured-video,
  body.com-content .blog .article .article-intro-image,
  body.com-content .blog .article .article-full-image{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    border-radius:22px 22px 0 0 !important;
    aspect-ratio:16/9 !important;
    overflow:hidden !important;
  }

  body.com-content .article-list .article .article-intro-image img,
  body.com-content .article-list .article .article-full-image img,
  body.com-content .blog .article .article-intro-image img,
  body.com-content .blog .article .article-full-image img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  body.com-content .article-list .article .article-header,
  body.com-content .blog .article .article-header{
    padding:22px 20px 0 !important;
    margin:0 !important;
  }

  body.com-content .article-list .article .article-header h1,
  body.com-content .article-list .article .article-header h2,
  body.com-content .blog .article .article-header h1,
  body.com-content .blog .article .article-header h2,
  body.com-content .article-list .article .article-header h1 a,
  body.com-content .article-list .article .article-header h2 a,
  body.com-content .blog .article .article-header h1 a,
  body.com-content .blog .article .article-header h2 a{
    font-size:24px !important;
    line-height:1.16 !important;
    letter-spacing:-.04em !important;
    margin:0 !important;
  }

  body.com-content .article-list .article .article-introtext:empty,
  body.com-content .article-list .article .article-body:empty,
  body.com-content .article-list .article .readmore:empty,
  body.com-content .blog .article .article-introtext:empty,
  body.com-content .blog .article .article-body:empty,
  body.com-content .blog .article .readmore:empty{display:none !important;}

  /* Mobile list meta: no slash; category + date as clean stacked text */
  body.com-content .article-list .article .article-info,
  body.com-content .blog .article .article-info{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:8px !important;
    width:100% !important;
    margin:18px 0 0 !important;
    padding:0 20px 26px !important;
    background:transparent !important;
    border:0 !important;
    overflow:visible !important;
  }

  body.com-content .article-list .article .article-info > span,
  body.com-content .blog .article .article-info > span,
  body.com-content .article-list .article .article-info dd,
  body.com-content .blog .article .article-info dd,
  body.com-content .article-list .article .article-info a,
  body.com-content .blog .article .article-info a{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    color:var(--ykc-muted) !important;
    font-size:14px !important;
    line-height:1.32 !important;
    font-weight:650 !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
  }

  body.com-content .article-list .article .article-info > span::before,
  body.com-content .article-list .article .article-info > span::after,
  body.com-content .blog .article .article-info > span::before,
  body.com-content .blog .article .article-info > span::after,
  body.com-content .article-list .article .article-info dd::before,
  body.com-content .article-list .article .article-info dd::after,
  body.com-content .blog .article .article-info dd::before,
  body.com-content .blog .article .article-info dd::after{
    content:none !important;
    display:none !important;
  }

  body.com-content .article-list .article > *:last-child,
  body.com-content .blog .article > *:last-child{margin-bottom:0 !important;}

  /* Article detail meta: clean info box, no slash. Hide hits on mobile. */
  body.com-content .article-details .article-info,
  body.com-content.view-article .article-info{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:8px !important;
    width:100% !important;
    margin:18px 0 24px !important;
    padding:14px 16px !important;
    border-radius:14px !important;
    background:#f6f8fb !important;
    border:1px solid var(--ykc-line) !important;
    color:var(--ykc-muted) !important;
  }

  body.com-content .article-details .article-info > span,
  body.com-content .article-details .article-info dd,
  body.com-content.view-article .article-info > span,
  body.com-content.view-article .article-info dd,
  body.com-content .article-details .article-info a,
  body.com-content.view-article .article-info a{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    color:var(--ykc-muted) !important;
    font-size:14px !important;
    line-height:1.35 !important;
    font-weight:600 !important;
    white-space:normal !important;
  }

  body.com-content .article-details .article-info > span::before,
  body.com-content .article-details .article-info > span::after,
  body.com-content .article-details .article-info dd::before,
  body.com-content .article-details .article-info dd::after,
  body.com-content.view-article .article-info > span::before,
  body.com-content.view-article .article-info > span::after,
  body.com-content.view-article .article-info dd::before,
  body.com-content.view-article .article-info dd::after{
    content:none !important;
    display:none !important;
  }

  body.com-content .article-details .article-info .hits,
  body.com-content .article-details .article-info .article-info-hits,
  body.com-content.view-article .article-info .hits,
  body.com-content.view-article .article-info .article-info-hits{
    display:none !important;
  }
}

@media (max-width:380px){
  body.com-content .article-list [class*="col-"],
  body.com-content .blog [class*="col-"],
  body.com-content.view-category .article-list [class*="col-"]{
    padding-left:12px !important;
    padding-right:12px !important;
    margin-bottom:26px !important;
  }
  body.com-content .article-list .article .article-header h1,
  body.com-content .article-list .article .article-header h2,
  body.com-content .blog .article .article-header h1,
  body.com-content .blog .article .article-header h2,
  body.com-content .article-list .article .article-header h1 a,
  body.com-content .article-list .article .article-header h2 a,
  body.com-content .blog .article .article-header h1 a,
  body.com-content .blog .article .article-header h2 a{font-size:22px !important;}
}

@media (max-width:390px){
  #sp-top-bar .social-icons,
  #sp-top .social-icons,
  .sp-top-bar .social-icons{gap:11px !important;}
  #sp-top-bar .social-icons a,
  #sp-top .social-icons a,
  .sp-top-bar .social-icons a,
  #sp-top-bar .social-icons i,
  #sp-top .social-icons i,
  .sp-top-bar .social-icons i{font-size:16px !important;width:17px !important;height:17px !important;}
  #sp-top-bar .sp-contact-info,
  #sp-top .sp-contact-info,
  .sp-top-bar .sp-contact-info,
  #sp-top-bar ul.sp-contact-info,
  #sp-top ul.sp-contact-info{font-size:9px !important;gap:5px !important;}
  #sp-top-bar .sp-contact-info a,
  #sp-top .sp-contact-info a,
  .sp-top-bar .sp-contact-info a,
  #sp-top-bar .sp-contact-info span,
  #sp-top .sp-contact-info span,
  .sp-top-bar .sp-contact-info span,
  #sp-top-bar .sp-contact-info i,
  #sp-top .sp-contact-info i,
  .sp-top-bar .sp-contact-info i{font-size:9px !important;}
}

/* Unified pagination for Joomla content + SP Easy Image Gallery */
@media (max-width:767px){
  body.com-content .pagination-counter,
  body.com-speasyimagegallery .pagination-counter{
    display:block !important;
    margin:30px 14px 14px !important;
    text-align:left !important;
    font-size:18px !important;
    color:var(--ykc-text) !important;
    font-weight:500 !important;
  }

  body.com-content .pagination-wrapper,
  body.com-content ul.pagination,
  body.com-content .pagination,
  body.com-speasyimagegallery .pagination-wrapper,
  body.com-speasyimagegallery ul.pagination,
  body.com-speasyimagegallery .pagination{
    max-width:100% !important;
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
    gap:8px !important;
    overflow:hidden !important;
    padding:0 14px !important;
    margin:0 0 36px !important;
  }

  body.com-content ul.pagination li,
  body.com-content .pagination li,
  body.com-speasyimagegallery ul.pagination li,
  body.com-speasyimagegallery .pagination li{margin:0 !important;padding:0 !important;}

  body.com-content ul.pagination li a,
  body.com-content ul.pagination li span,
  body.com-content .pagination li a,
  body.com-content .pagination li span,
  body.com-speasyimagegallery ul.pagination li a,
  body.com-speasyimagegallery ul.pagination li span,
  body.com-speasyimagegallery .pagination li a,
  body.com-speasyimagegallery .pagination li span{
    width:44px !important;
    min-width:44px !important;
    height:44px !important;
    min-height:44px !important;
    padding:0 !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:12px !important;
    border:1px solid var(--ykc-line) !important;
    background:#fff !important;
    color:var(--ykc-text) !important;
    font-size:16px !important;
    font-weight:700 !important;
    line-height:1 !important;
    box-shadow:none !important;
  }

  body.com-content .pagination li.active a,
  body.com-content .pagination li.active span,
  body.com-content .pagination .page-item.active .page-link,
  body.com-content .page-item.active .page-link,
  body.com-speasyimagegallery .pagination li.active a,
  body.com-speasyimagegallery .pagination li.active span,
  body.com-speasyimagegallery .pagination .page-item.active .page-link,
  body.com-speasyimagegallery .page-item.active .page-link{
    background:#495057 !important;
    border-color:#495057 !important;
    color:#fff !important;
  }
}

@media (min-width:768px){
  body.com-content .pagination-wrapper,
  body.com-speasyimagegallery .pagination-wrapper{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:24px !important;
    margin:42px 0 48px !important;
    padding:0 !important;
    overflow:visible !important;
  }

  body.com-content .pagination-wrapper ul.pagination,
  body.com-content ul.pagination.pagination,
  body.com-content .pagination,
  body.com-speasyimagegallery .pagination-wrapper ul.pagination,
  body.com-speasyimagegallery ul.pagination.pagination,
  body.com-speasyimagegallery .pagination{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
    width:auto !important;
    max-width:calc(100% - 170px) !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
  }

  body.com-content .pagination li,
  body.com-content ul.pagination li,
  body.com-content .pagination .page-item,
  body.com-speasyimagegallery .pagination li,
  body.com-speasyimagegallery ul.pagination li,
  body.com-speasyimagegallery .pagination .page-item{
    display:inline-flex !important;
    margin:0 !important;
    padding:0 !important;
    flex:0 0 auto !important;
  }

  body.com-content .pagination li a,
  body.com-content .pagination li span,
  body.com-content ul.pagination li a,
  body.com-content ul.pagination li span,
  body.com-content .pagination .page-link,
  body.com-speasyimagegallery .pagination li a,
  body.com-speasyimagegallery .pagination li span,
  body.com-speasyimagegallery ul.pagination li a,
  body.com-speasyimagegallery ul.pagination li span,
  body.com-speasyimagegallery .pagination .page-link{
    width:44px !important;
    min-width:44px !important;
    height:44px !important;
    min-height:44px !important;
    padding:0 !important;
    margin:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:12px !important;
    border:1px solid var(--ykc-line) !important;
    background:#fff !important;
    color:var(--ykc-text) !important;
    font-size:15px !important;
    font-weight:750 !important;
    line-height:1 !important;
    box-shadow:none !important;
  }

  body.com-content .pagination li.active a,
  body.com-content .pagination li.active span,
  body.com-content .pagination .page-item.active .page-link,
  body.com-content .page-item.active .page-link,
  body.com-speasyimagegallery .pagination li.active a,
  body.com-speasyimagegallery .pagination li.active span,
  body.com-speasyimagegallery .pagination .page-item.active .page-link,
  body.com-speasyimagegallery .page-item.active .page-link{
    background:#495057 !important;
    border-color:#495057 !important;
    color:#fff !important;
  }

  body.com-content .pagination-counter,
  body.com-speasyimagegallery .pagination-counter{
    display:block !important;
    flex:0 0 auto !important;
    margin:0 !important;
    padding:0 !important;
    text-align:right !important;
    color:var(--ykc-text) !important;
    font-size:14px !important;
    font-weight:600 !important;
    white-space:nowrap !important;
  }
}

/* =========================================================
   YKC FINAL FIX v5.6 - Offcanvas Close Button Single X
   Keeps only one CSS-drawn X and hides template icon/text.
========================================================= */

.close-offcanvas,
.offcanvas-menu .close-offcanvas,
body.offcanvas-active .offcanvas-menu .close-offcanvas,
body.offcanvas-open .offcanvas-menu .close-offcanvas{
  font-size:0 !important;
  line-height:0 !important;
  text-indent:-9999px !important;
  overflow:hidden !important;
  color:transparent !important;
}

.close-offcanvas > *,
.offcanvas-menu .close-offcanvas > *,
.close-offcanvas i,
.close-offcanvas svg,
.close-offcanvas span,
.close-offcanvas em,
.close-offcanvas .fa,
.close-offcanvas .fas,
.close-offcanvas .far,
.close-offcanvas .fa-times,
.offcanvas-menu .close-offcanvas i,
.offcanvas-menu .close-offcanvas svg,
.offcanvas-menu .close-offcanvas span,
.offcanvas-menu .close-offcanvas em,
.offcanvas-menu .close-offcanvas .fa,
.offcanvas-menu .close-offcanvas .fas,
.offcanvas-menu .close-offcanvas .far,
.offcanvas-menu .close-offcanvas .fa-times{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  overflow:hidden !important;
  color:transparent !important;
}

body.offcanvas-active .offcanvas-menu .close-offcanvas,
body.offcanvas-open .offcanvas-menu .close-offcanvas{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:42px !important;
  height:42px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.13) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  text-indent:0 !important;
}

.close-offcanvas::before,
.close-offcanvas::after,
.offcanvas-menu .close-offcanvas::before,
.offcanvas-menu .close-offcanvas::after{
  display:block !important;
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:22px !important;
  height:3px !important;
  border-radius:999px !important;
  background:#ffffff !important;
  transform-origin:center !important;
}

.close-offcanvas::before,
.offcanvas-menu .close-offcanvas::before{
  transform:translate(-50%, -50%) rotate(45deg) !important;
}

.close-offcanvas::after,
.offcanvas-menu .close-offcanvas::after{
  transform:translate(-50%, -50%) rotate(-45deg) !important;
}

/* =========================================================
   YKC FINAL FIX v5.9 - Article Meta Icons + Hits Visible
   Keeps the clean stacked mobile meta, shows Hits again.
========================================================= */

@media (max-width:767px){
  body.com-content .article-details .article-info,
  body.com-content.view-article .article-info{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:9px !important;
  }

  body.com-content .article-details .article-info .hits,
  body.com-content .article-details .article-info .article-info-hits,
  body.com-content.view-article .article-info .hits,
  body.com-content.view-article .article-info .article-info-hits{
    display:block !important;
  }

  body.com-content .article-details .article-info > span,
  body.com-content .article-details .article-info dd,
  body.com-content.view-article .article-info > span,
  body.com-content.view-article .article-info dd{
    position:relative !important;
    display:block !important;
    width:100% !important;
    padding-left:24px !important;
  }

  body.com-content .article-details .article-info > span::before,
  body.com-content .article-details .article-info dd::before,
  body.com-content.view-article .article-info > span::before,
  body.com-content.view-article .article-info dd::before{
    display:inline-flex !important;
    position:absolute !important;
    left:0 !important;
    top:.05em !important;
    width:16px !important;
    height:16px !important;
    align-items:center !important;
    justify-content:center !important;
    color:#7a8593 !important;
    font-family:"Font Awesome 6 Free","Font Awesome 5 Free",Arial,sans-serif !important;
    font-weight:900 !important;
    font-size:13px !important;
    line-height:1 !important;
  }

  body.com-content .article-details .article-info > span:nth-child(1)::before,
  body.com-content .article-details .article-info dd:nth-child(1)::before,
  body.com-content.view-article .article-info > span:nth-child(1)::before,
  body.com-content.view-article .article-info dd:nth-child(1)::before{
    content:"\f02b" !important;
  }

  body.com-content .article-details .article-info > span:nth-child(2)::before,
  body.com-content .article-details .article-info dd:nth-child(2)::before,
  body.com-content.view-article .article-info > span:nth-child(2)::before,
  body.com-content.view-article .article-info dd:nth-child(2)::before{
    content:"\f073" !important;
  }

  body.com-content .article-details .article-info .hits::before,
  body.com-content .article-details .article-info .article-info-hits::before,
  body.com-content.view-article .article-info .hits::before,
  body.com-content.view-article .article-info .article-info-hits::before{
    content:"\f06e" !important;
  }

  body.com-content .article-list .article .article-info > span,
  body.com-content .blog .article .article-info > span,
  body.com-content .article-list .article .article-info dd,
  body.com-content .blog .article .article-info dd{
    position:relative !important;
    padding-left:22px !important;
  }

  body.com-content .article-list .article .article-info > span::before,
  body.com-content .blog .article .article-info > span::before,
  body.com-content .article-list .article .article-info dd::before,
  body.com-content .blog .article .article-info dd::before{
    display:inline-flex !important;
    position:absolute !important;
    left:0 !important;
    top:.05em !important;
    width:15px !important;
    height:15px !important;
    align-items:center !important;
    justify-content:center !important;
    color:#8a94a3 !important;
    font-family:"Font Awesome 6 Free","Font Awesome 5 Free",Arial,sans-serif !important;
    font-weight:900 !important;
    font-size:12px !important;
    line-height:1 !important;
  }

  body.com-content .article-list .article .article-info > span:nth-child(1)::before,
  body.com-content .blog .article .article-info > span:nth-child(1)::before,
  body.com-content .article-list .article .article-info dd:nth-child(1)::before,
  body.com-content .blog .article .article-info dd:nth-child(1)::before{
    content:"\f02b" !important;
  }

  body.com-content .article-list .article .article-info > span:nth-child(2)::before,
  body.com-content .blog .article .article-info > span:nth-child(2)::before,
  body.com-content .article-list .article .article-info dd:nth-child(2)::before,
  body.com-content .blog .article .article-info dd:nth-child(2)::before{
    content:"\f073" !important;
  }
}

/* =========================================================
   YKC FINAL FIX v5.10 - Desktop Article Meta Icons
   Desktop detail: one clean row. Cards: same style, safe wrapping.
   Important: icons are on span/dd only; nested links do not get extra padding.
========================================================= */

@media (min-width:768px){

  /* Detail meta box */
  body.com-content.view-article .article-info,
  body.com-content .article-details .article-info{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:10px 20px !important;
    width:100% !important;
    margin:18px 0 24px !important;
    padding:11px 16px !important;
    border-radius:14px !important;
    background:#f6f8fb !important;
    border:1px solid var(--ykc-line) !important;
    color:var(--ykc-muted) !important;
  }

  body.com-content.view-article .article-info > span,
  body.com-content.view-article .article-info > dd,
  body.com-content .article-details .article-info > span,
  body.com-content .article-details .article-info > dd{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 0 0 22px !important;
    color:var(--ykc-muted) !important;
    font-size:14px !important;
    line-height:1.35 !important;
    font-weight:600 !important;
    white-space:nowrap !important;
  }

  /* Nested links should not create a second padding gap */
  body.com-content.view-article .article-info a,
  body.com-content .article-details .article-info a{
    display:inline !important;
    margin:0 !important;
    padding:0 !important;
    color:inherit !important;
    font-size:inherit !important;
    line-height:inherit !important;
    font-weight:inherit !important;
    white-space:inherit !important;
  }

  body.com-content.view-article .article-info > span::before,
  body.com-content.view-article .article-info > dd::before,
  body.com-content .article-details .article-info > span::before,
  body.com-content .article-details .article-info > dd::before{
    display:inline-flex !important;
    position:absolute !important;
    left:0 !important;
    top:50% !important;
    width:15px !important;
    height:15px !important;
    align-items:center !important;
    justify-content:center !important;
    color:#7a8593 !important;
    font-family:"Font Awesome 6 Free","Font Awesome 5 Free",Arial,sans-serif !important;
    font-weight:900 !important;
    font-size:12px !important;
    line-height:1 !important;
    transform:translateY(-50%) !important;
  }

  body.com-content.view-article .article-info > span::after,
  body.com-content.view-article .article-info > dd::after,
  body.com-content .article-details .article-info > span::after,
  body.com-content .article-details .article-info > dd::after{
    content:none !important;
    display:none !important;
  }

  body.com-content.view-article .article-info > span:nth-child(1)::before,
  body.com-content.view-article .article-info > dd:nth-child(1)::before,
  body.com-content .article-details .article-info > span:nth-child(1)::before,
  body.com-content .article-details .article-info > dd:nth-child(1)::before{
    content:"\f02b" !important;
  }

  body.com-content.view-article .article-info > span:nth-child(2)::before,
  body.com-content.view-article .article-info > dd:nth-child(2)::before,
  body.com-content .article-details .article-info > span:nth-child(2)::before,
  body.com-content .article-details .article-info > dd:nth-child(2)::before{
    content:"\f073" !important;
  }

  body.com-content.view-article .article-info .hits,
  body.com-content.view-article .article-info .article-info-hits,
  body.com-content .article-details .article-info .hits,
  body.com-content .article-details .article-info .article-info-hits{
    display:inline-flex !important;
  }

  body.com-content.view-article .article-info .hits::before,
  body.com-content.view-article .article-info .article-info-hits::before,
  body.com-content .article-details .article-info .hits::before,
  body.com-content .article-details .article-info .article-info-hits::before{
    content:"\f06e" !important;
  }


  /* News list cards */
  body.com-content .article-list .article .article-info,
  body.com-content .blog .article .article-info{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px 18px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 26px 26px !important;
    background:transparent !important;
    border:0 !important;
    color:var(--ykc-muted) !important;
  }

  body.com-content .article-list .article .article-info > span,
  body.com-content .article-list .article .article-info > dd,
  body.com-content .blog .article .article-info > span,
  body.com-content .blog .article .article-info > dd{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 0 0 20px !important;
    color:var(--ykc-muted) !important;
    font-size:14px !important;
    line-height:1.35 !important;
    font-weight:600 !important;
    white-space:nowrap !important;
  }

  body.com-content .article-list .article .article-info a,
  body.com-content .blog .article .article-info a{
    display:inline !important;
    margin:0 !important;
    padding:0 !important;
    color:inherit !important;
    font-size:inherit !important;
    line-height:inherit !important;
    font-weight:inherit !important;
    white-space:inherit !important;
  }

  body.com-content .article-list .article .article-info > span::before,
  body.com-content .article-list .article .article-info > dd::before,
  body.com-content .blog .article .article-info > span::before,
  body.com-content .blog .article .article-info > dd::before{
    display:inline-flex !important;
    position:absolute !important;
    left:0 !important;
    top:50% !important;
    width:14px !important;
    height:14px !important;
    align-items:center !important;
    justify-content:center !important;
    color:#8a94a3 !important;
    font-family:"Font Awesome 6 Free","Font Awesome 5 Free",Arial,sans-serif !important;
    font-weight:900 !important;
    font-size:11px !important;
    line-height:1 !important;
    transform:translateY(-50%) !important;
  }

  body.com-content .article-list .article .article-info > span::after,
  body.com-content .article-list .article .article-info > dd::after,
  body.com-content .blog .article .article-info > span::after,
  body.com-content .blog .article .article-info > dd::after{
    content:none !important;
    display:none !important;
  }

  body.com-content .article-list .article .article-info > span:nth-child(1)::before,
  body.com-content .article-list .article .article-info > dd:nth-child(1)::before,
  body.com-content .blog .article .article-info > span:nth-child(1)::before,
  body.com-content .blog .article .article-info > dd:nth-child(1)::before{
    content:"\f02b" !important;
  }

  body.com-content .article-list .article .article-info > span:nth-child(2)::before,
  body.com-content .article-list .article .article-info > dd:nth-child(2)::before,
  body.com-content .blog .article .article-info > span:nth-child(2)::before,
  body.com-content .blog .article .article-info > dd:nth-child(2)::before{
    content:"\f073" !important;
  }
}

/* Wide desktop cards: keep meta neat without huge gaps */
@media (min-width:992px){
  body.com-content .article-list .article .article-info,
  body.com-content .blog .article .article-info{
    gap:8px 20px !important;
  }
}

/* Medium desktop cards: allow natural 2-line meta instead of squeezing */
@media (min-width:768px) and (max-width:1199px){
  body.com-content .article-list .article .article-info > span,
  body.com-content .article-list .article .article-info > dd,
  body.com-content .blog .article .article-info > span,
  body.com-content .blog .article .article-info > dd{
    white-space:normal !important;
  }
}


/* =========================================================
   YKC FINAL FIX v5.11 - Mobile Topbar Compact + Article Detail 2-Line Meta
   Keeps topbar to 2 rows and article detail meta to:
   1) Category
   2) Date + Hits
========================================================= */

@media (max-width:767px){

  /* Top bar: row 1 social icons, row 2 contact info; compact and centered */
  #sp-top-bar,
  #sp-top,
  .sp-top-bar,
  .top-bar{
    padding:6px 4px 7px !important;
    min-height:0 !important;
    overflow:hidden !important;
  }

  #sp-top-bar .row,
  #sp-top .row,
  .sp-top-bar .row{
    gap:4px !important;
  }

  #sp-top-bar .social-icons,
  #sp-top .social-icons,
  .sp-top-bar .social-icons,
  #sp-top-bar ul.social-icons,
  #sp-top ul.social-icons{
    gap:11px !important;
    height:15px !important;
    max-height:15px !important;
    overflow:hidden !important;
  }

  #sp-top-bar .social-icons a,
  #sp-top .social-icons a,
  .sp-top-bar .social-icons a,
  #sp-top-bar .social-icons i,
  #sp-top .social-icons i,
  .sp-top-bar .social-icons i{
    width:14px !important;
    height:14px !important;
    font-size:13px !important;
    line-height:1 !important;
  }

  #sp-top-bar .sp-contact-info,
  #sp-top .sp-contact-info,
  .sp-top-bar .sp-contact-info,
  #sp-top-bar ul.sp-contact-info,
  #sp-top ul.sp-contact-info{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    height:13px !important;
    max-height:13px !important;
    overflow:visible !important;
    white-space:nowrap !important;
    font-size:9px !important;
    line-height:1 !important;
  }

  #sp-top-bar .sp-contact-info li,
  #sp-top .sp-contact-info li,
  .sp-top-bar .sp-contact-info li{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 1 auto !important;
    min-width:0 !important;
    max-width:none !important;
    gap:3px !important;
    white-space:nowrap !important;
    overflow:visible !important;
  }

  #sp-top-bar .sp-contact-info a,
  #sp-top .sp-contact-info a,
  .sp-top-bar .sp-contact-info a,
  #sp-top-bar .sp-contact-info span,
  #sp-top .sp-contact-info span,
  .sp-top-bar .sp-contact-info span,
  #sp-top-bar .sp-contact-info i,
  #sp-top .sp-contact-info i,
  .sp-top-bar .sp-contact-info i{
    font-size:9px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  /* Article detail mobile meta: category first line, date + hits second line */
  body.com-content.view-article .article-info,
  body.com-content .article-details .article-info{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:9px 18px !important;
    padding:14px 16px !important;
  }

  body.com-content.view-article .article-info > span,
  body.com-content.view-article .article-info > dd,
  body.com-content .article-details .article-info > span,
  body.com-content .article-details .article-info > dd{
    display:inline-flex !important;
    align-items:center !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 !important;
    padding-left:24px !important;
    white-space:nowrap !important;
  }

  body.com-content.view-article .article-info > span:first-child,
  body.com-content.view-article .article-info > dd:first-child,
  body.com-content .article-details .article-info > span:first-child,
  body.com-content .article-details .article-info > dd:first-child{
    flex:0 0 100% !important;
    width:100% !important;
  }

  body.com-content.view-article .article-info .hits,
  body.com-content.view-article .article-info .article-info-hits,
  body.com-content .article-details .article-info .hits,
  body.com-content .article-details .article-info .article-info-hits{
    display:inline-flex !important;
    width:auto !important;
    flex:0 0 auto !important;
    white-space:nowrap !important;
  }

  body.com-content.view-article .article-info a,
  body.com-content .article-details .article-info a{
    display:inline !important;
    width:auto !important;
    padding:0 !important;
    margin:0 !important;
    white-space:inherit !important;
    color:inherit !important;
  }
}

@media (max-width:390px){
  #sp-top-bar .social-icons,
  #sp-top .social-icons,
  .sp-top-bar .social-icons,
  #sp-top-bar ul.social-icons,
  #sp-top ul.social-icons{
    gap:9px !important;
  }

  #sp-top-bar .social-icons a,
  #sp-top .social-icons a,
  .sp-top-bar .social-icons a,
  #sp-top-bar .social-icons i,
  #sp-top .social-icons i,
  .sp-top-bar .social-icons i{
    width:13px !important;
    height:13px !important;
    font-size:12px !important;
  }

  #sp-top-bar .sp-contact-info,
  #sp-top .sp-contact-info,
  .sp-top-bar .sp-contact-info,
  #sp-top-bar ul.sp-contact-info,
  #sp-top ul.sp-contact-info{
    gap:5px !important;
    font-size:8px !important;
  }

  #sp-top-bar .sp-contact-info a,
  #sp-top .sp-contact-info a,
  .sp-top-bar .sp-contact-info a,
  #sp-top-bar .sp-contact-info span,
  #sp-top .sp-contact-info span,
  .sp-top-bar .sp-contact-info span,
  #sp-top-bar .sp-contact-info i,
  #sp-top .sp-contact-info i,
  .sp-top-bar .sp-contact-info i{
    font-size:8px !important;
  }
}


/* =========================================================
   YKC FINAL FIX v5.12 - News Card Title Weight
   Slightly stronger card titles, without making them oversized.
========================================================= */

body.com-content .article-list .article .article-header h1 a,
body.com-content .article-list .article .article-header h2 a,
body.com-content .article-list .article .article-header h4 a,
body.com-content .blog .article .article-header h1 a,
body.com-content .blog .article .article-header h2 a,
body.com-content .blog .article .article-header h4 a{
  color:var(--ykc-text) !important;
  font-weight:900 !important;
  letter-spacing:-.035em !important;
}

body.com-content .article-list .article .article-header h1,
body.com-content .article-list .article .article-header h2,
body.com-content .article-list .article .article-header h4,
body.com-content .blog .article .article-header h1,
body.com-content .blog .article .article-header h2,
body.com-content .blog .article .article-header h4{
  font-weight:900 !important;
}

@media (min-width:768px){
  body.com-content .article-list .article .article-header h1,
  body.com-content .article-list .article .article-header h2,
  body.com-content .article-list .article .article-header h4,
  body.com-content .blog .article .article-header h1,
  body.com-content .blog .article .article-header h2,
  body.com-content .blog .article .article-header h4,
  body.com-content .article-list .article .article-header h1 a,
  body.com-content .article-list .article .article-header h2 a,
  body.com-content .article-list .article .article-header h4 a,
  body.com-content .blog .article .article-header h1 a,
  body.com-content .blog .article .article-header h2 a,
  body.com-content .blog .article .article-header h4 a{
    font-size:clamp(22px, 1.45vw, 28px) !important;
    line-height:1.17 !important;
  }
}

/* Article içine gömülen gallery modülünde Back to Gallery butonunu gizle */
body.com-content.view-article .ykc-gallery-back-btn,
body.view-article .ykc-gallery-back-btn,
.article-details .ykc-gallery-back-btn,
.article-body .ykc-gallery-back-btn,
#sp-component article .ykc-gallery-back-btn {
  display: none !important;
}

/* Article içindeki SP Easy Image Gallery - gap ve kolon düzeltmesi */
body.view-article #sp-component .speasyimagegallery-row,
body.com-content.view-article #sp-component .speasyimagegallery-row,
.article-details .speasyimagegallery-row,
.article-body .speasyimagegallery-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 22px 0 0 !important;
}

/* Eski col-md-6 / float / padding yapısını iptal et */
body.view-article #sp-component .speasyimagegallery-row > [class*="speasyimagegallery-col-"],
body.com-content.view-article #sp-component .speasyimagegallery-row > [class*="speasyimagegallery-col-"],
.article-details .speasyimagegallery-row > [class*="speasyimagegallery-col-"],
.article-body .speasyimagegallery-row > [class*="speasyimagegallery-col-"] {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Kartın kendisi */
body.view-article #sp-component .speasyimagegallery-gallery-item,
body.com-content.view-article #sp-component .speasyimagegallery-gallery-item,
.article-details .speasyimagegallery-gallery-item,
.article-body .speasyimagegallery-gallery-item {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

/* Görseller aynı hizada ve modern dursun */
body.view-article #sp-component .speasyimagegallery-gallery-item img,
body.com-content.view-article #sp-component .speasyimagegallery-gallery-item img,
.article-details .speasyimagegallery-gallery-item img,
.article-body .speasyimagegallery-gallery-item img {
  display: block !important;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 26px rgba(20, 34, 68, 0.10) !important;
}

/* Tablet */
@media (max-width: 991px) {
  body.view-article #sp-component .speasyimagegallery-row,
  body.com-content.view-article #sp-component .speasyimagegallery-row,
  .article-details .speasyimagegallery-row,
  .article-body .speasyimagegallery-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body.view-article #sp-component .speasyimagegallery-gallery-item img,
  body.com-content.view-article #sp-component .speasyimagegallery-gallery-item img,
  .article-details .speasyimagegallery-gallery-item img,
  .article-body .speasyimagegallery-gallery-item img {
    height: 200px !important;
  }
}

/* Mobil */
@media (max-width: 575px) {
  body.view-article #sp-component .speasyimagegallery-row,
  body.com-content.view-article #sp-component .speasyimagegallery-row,
  .article-details .speasyimagegallery-row,
  .article-body .speasyimagegallery-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.view-article #sp-component .speasyimagegallery-gallery-item img,
  body.com-content.view-article #sp-component .speasyimagegallery-gallery-item img,
  .article-details .speasyimagegallery-gallery-item img,
  .article-body .speasyimagegallery-gallery-item img {
    height: 145px !important;
    border-radius: 12px !important;
  }
}

/* Pagination */
body:is(.view-tag,.com-tags) .pagination{
  display:flex !important;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:30px auto 8px !important;
  padding:0 !important;
}

body:is(.view-tag,.com-tags) .pagination li,
body:is(.view-tag,.com-tags) .page-item{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

body:is(.view-tag,.com-tags) .pagination li > a,
body:is(.view-tag,.com-tags) .pagination li > span,
body:is(.view-tag,.com-tags) .page-link{
  min-width:42px;
  height:42px;
  padding:0 13px !important;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  border-radius:13px !important;
  border:1px solid rgba(7,26,58,.13) !important;
  background:#fff !important;
  color:#23364f !important;
  font-size:14px;
  font-weight:900;
  line-height:1;
  box-shadow:none !important;
}

body:is(.view-tag,.com-tags) .pagination li > a span,
body:is(.view-tag,.com-tags) .pagination li > span span,
body:is(.view-tag,.com-tags) .pagination i{
  min-width:0 !important;
  width:auto !important;
  height:auto !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:inherit !important;
}

body:is(.view-tag,.com-tags) .pagination .active > a,
body:is(.view-tag,.com-tags) .pagination .active > span,
body:is(.view-tag,.com-tags) .page-item.active .page-link{
  background:#243854 !important;
  border-color:#243854 !important;
  color:#fff !important;
}

body:is(.view-tag,.com-tags) .pagination li > a:hover,
body:is(.view-tag,.com-tags) .page-link:hover{
  background:#0878c9 !important;
  border-color:#0878c9 !important;
  color:#fff !important;
}

body:is(.view-tag,.com-tags) .counter{
  text-align:center !important;
  margin:10px 0 0 !important;
  color:#607086;
  font-size:13px;
  font-weight:800;
}