/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* Lepas Greece header button: brand orange (client request 24/09/2026) */
#header-outer #top nav > ul > li.menu-item-558 > a,
#header-outer #top nav > .buttons > li.menu-item-558 > a {
  background-color: #EB9201 !important;
  color: #000 !important;
  border-radius: 100px;
  padding-left: 18px !important;
  padding-right: 18px !important;
}
#header-outer #top nav > ul > li.menu-item-558 > a:before,
#header-outer #top nav > ul > li.menu-item-558 > a:after,
#header-outer #top nav > .buttons > li.menu-item-558 > a:before,
#header-outer #top nav > .buttons > li.menu-item-558 > a:after {
  display: none !important;
}
#header-outer #top nav > ul > li.menu-item-558 > a .menu-title-text,
#header-outer #top nav > .buttons > li.menu-item-558 > a .menu-title-text { color: #000 !important; }
#header-outer #top nav > ul > li.menu-item-558 > a:hover,
#header-outer #top nav > .buttons > li.menu-item-558 > a:hover { background-color: #d38301 !important; }

/* Category archives: post grid titles (24/09/2026) */
body.archive .nectar-post-grid .nectar-post-grid-item .post-heading,
body.archive .nectar-post-grid .nectar-post-grid-item .post-heading span {
  color: #fff !important;
}
body.archive .nectar-post-grid .nectar-post-grid-item .post-heading span {
  line-height: 1.22 !important;
}
body.archive .nectar-post-grid .nectar-post-grid-item:nth-child(6n+1) .post-heading span,
body.archive .nectar-post-grid .nectar-post-grid-item:nth-child(6n+5) .post-heading span {
  font-size: 26px !important;
  line-height: 1.12 !important;
}
@media (max-width: 690px) {
  body.archive .nectar-post-grid .nectar-post-grid-item:nth-child(6n+1) .post-heading span,
  body.archive .nectar-post-grid .nectar-post-grid-item:nth-child(6n+5) .post-heading span { font-size: 21px !important; }
}

/* Category archives: readability gradient, hide author, white date (24/09/2026) */
body.archive .nectar-post-grid .nectar-post-grid-item .bg-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,0) 70%) !important;
  opacity: 1 !important;
}
body.archive .nectar-post-grid .nectar-post-grid-item .meta-author {
  display: none !important;
}
body.archive .nectar-post-grid .nectar-post-grid-item .meta-date {
  color: #fff !important;
  opacity: 1 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
body.archive .nectar-post-grid .nectar-post-grid-item .meta-date:before { display: none !important; }

/* Category archives: header title white, no post count (24/09/2026) */
body.archive .blog-archive-header .section-title h1 { color: #fff !important; }
body.archive .blog-archive-header .nectar-archive-tax-count { display: none !important; }

/* News Alert popup (24/09/2026) */
.lepas-alert-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 16px; }
.lepas-alert-modal.is-open { display: flex; }
html.lepas-alert-lock { overflow: hidden; }
.lepas-alert-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.lepas-alert-panel { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; background: #0d0d0d; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 40px 36px 32px; color: #fff; }
.lepas-alert-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; opacity: .7; }
.lepas-alert-close:hover { opacity: 1; }
.lepas-alert-kicker { margin: 0 0 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #EB9201; }
.lepas-alert-title { margin: 0 0 24px; color: #fff !important; font-size: 24px; line-height: 1.2; }
.lepas-alert-panel .ff-el-input--label label { color: rgba(255,255,255,.8) !important; font-size: 13px; }
.lepas-alert-panel .ff-el-form-control { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important; border-radius: 8px !important; }
.lepas-alert-panel .ff-el-form-control::placeholder { color: rgba(255,255,255,.45); }
.lepas-alert-panel .ff-el-form-control:focus { border-color: #EB9201 !important; box-shadow: none !important; }
.lepas-alert-panel .ff-el-tc, .lepas-alert-panel .ff-el-tc label, .lepas-alert-panel .ff_tc_label { color: rgba(255,255,255,.75) !important; font-size: 13px; line-height: 1.45; }
.lepas-alert-panel .ff-btn-submit { background: #EB9201 !important; color: #000 !important; border: 0 !important; border-radius: 100px !important; padding: 12px 28px !important; font-weight: 600; }
.lepas-alert-panel .ff-btn-submit:hover { background: #d38301 !important; }
.lepas-alert-panel .ff-message-success { background: transparent; border: 1px solid rgba(235,146,1,.5); color: #fff; border-radius: 8px; box-shadow: none; }
.lepas-alert-panel .error.text-danger { color: #ff8a73; }
@media (max-width: 690px) { .lepas-alert-panel { padding: 36px 20px 24px; } .lepas-alert-title { font-size: 20px; } }

/* Footer legal links + consent links (24/09/2026) */
.lepas-legal-row > p { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.lepas-legal-row > p { margin: 0; padding: 0; }
.lepas-legal-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.lepas-legal-links a { color: rgba(255,255,255,.7) !important; text-decoration: none; font-size: 14px; transition: color .2s; }
.lepas-legal-links a:hover { color: #EB9201 !important; }
@media (max-width: 690px) { .lepas-legal-row > p { flex-direction: column; align-items: flex-start; } .lepas-legal-links { flex-direction: column; } }
.lepas-alert-panel .ff-el-tc a { color: #EB9201 !important; text-decoration: underline; text-underline-offset: 2px; }

/* Single post header: full container width, left aligned, smaller title (24/09/2026) */
body.single-post .featured-media-under-header__content {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
  align-items: flex-start !important;
}
body.single-post .featured-media-under-header__content > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
  justify-content: flex-start !important;
}
body.single-post .featured-media-under-header__content h1.entry-title {
  font-size: 36px !important;
  line-height: 1.15 !important;
  max-width: none !important;
}
body.single-post .featured-media-under-header__excerpt { max-width: 900px !important; }
@media (max-width: 999px) { body.single-post .featured-media-under-header__content h1.entry-title { font-size: 30px !important; } }
@media (max-width: 690px) { body.single-post .featured-media-under-header__content h1.entry-title { font-size: 24px !important; line-height: 1.2 !important; } }

/* Media Kit page (24/09/2026) */
.lepas-kit { color: #fff; }
.lepas-kit .lk-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 48px; }
.lepas-kit .lk-nav a { padding: 9px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; color: #fff !important; font-size: 14px; text-decoration: none; transition: border-color .2s, background .2s; }
.lepas-kit .lk-nav a:hover { border-color: #EB9201; background: rgba(235,146,1,.12); }
.lepas-kit .lk-sec { margin: 0 0 64px; scroll-margin-top: 140px; }
.lepas-kit .lk-title { color: #fff !important; font-size: 28px; line-height: 1.2; margin: 0 0 24px; }
.lepas-kit .lk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lepas-kit .lk-sec--logos .lk-grid { grid-template-columns: repeat(4, 1fr); }
.lepas-kit .lk-sec--videos .lk-grid { grid-template-columns: repeat(2, 1fr); }
.lepas-kit .lk-card { margin: 0; }
.lepas-kit .lk-media { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #111; }
.lepas-kit .lk-sec--videos .lk-media { aspect-ratio: 16 / 9; }
.lepas-kit .lk-media img, .lepas-kit .lk-media video { width: 100% !important; height: 100% !important; object-fit: cover; display: block; margin: 0 !important; }
.lepas-kit .lk-sec--logos .lk-media { background: #f2f2f2; }
.lepas-kit .lk-sec--logos .lk-media img { object-fit: contain; padding: 18%; }
.lepas-kit .lk-sec--videos .lk-media video { object-fit: contain; background: #000; }
.lepas-kit .lk-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 5; }
.lepas-kit .lk-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(17,17,17,.72); color: #fff !important; cursor: pointer; line-height: 0; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s; }
.lepas-kit .lk-btn:hover { background: #EB9201; color: #000 !important; }
.lepas-kit .lk-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lepas-kit .lk-btn[data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); right: 0; padding: 6px 10px; white-space: nowrap; font-size: 12px; line-height: 1.2; background: #111; color: #fff; border-radius: 4px; }
.lepas-kit figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px 0; font-size: 14px; line-height: 1.3; }
.lepas-kit .lk-name { color: #fff; }
.lepas-kit .lk-meta { color: rgba(255,255,255,.55); font-size: 12px; white-space: nowrap; }
.lk-soon { color: rgba(255,255,255,.7); }
@media (max-width: 999px) {
  .lepas-kit .lk-grid, .lepas-kit .lk-sec--logos .lk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 690px) {
  .lepas-kit .lk-grid, .lepas-kit .lk-sec--logos .lk-grid, .lepas-kit .lk-sec--videos .lk-grid { grid-template-columns: 1fr; }
  .lepas-kit .lk-title { font-size: 22px; }
}
