/* ==========================================================
   Coop Karrier – fő stíluslap
   ========================================================== */
:root {
	--c-red:        #c8102e;
	--c-text:       #212934;
	--c-muted:      #6b6f74;
	--c-border:     #d2d3d4;
	--c-topbar:     #7f7f7f;
	--c-header:     #eff0f1;
	--c-panel:      #eff0f1;
	--c-footer:     #2a2b2e;
	--c-footer-btm: #1d1d1f;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--wrap-jobs: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--c-text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--c-text); }
a:hover { color: var(--c-red); }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 2px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.container--jobs { max-width: var(--wrap-jobs); padding-top: 45px; padding-bottom: 50px; }
.container--narrow { max-width: 900px; padding-top: 50px; padding-bottom: 60px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 10px; }

/* ---------- Közösségi ikonok ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.social a { display: inline-flex; color: #fff; opacity: .95; }
.social a:hover { opacity: 1; color: #fff; }

/* ---------- Felső sáv ---------- */
.topbar { background: var(--c-topbar); }
.topbar .container { height: 30px; display: flex; align-items: center; }
.topbar .social a { color: #fff; }

/* ---------- Fejléc ---------- */
.site-header { background: var(--c-header); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 98px; }
.site-logo img, .custom-logo { display: block; width: 92px; height: auto; max-height: 60px; object-fit: contain; }
.custom-logo-link { display: block; }

.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 38px; }
.main-nav .menu > li > a {
	display: block; position: relative; padding: 36px 0;
	font-size: 15px; font-weight: 500; text-decoration: none; color: var(--c-text);
	transition: color .2s;
}
.main-nav .menu > li > a::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: transparent; transition: background .2s;
}
.main-nav .menu > li > a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: #8a8d91; }
.main-nav .menu > li > a:hover::before,
.main-nav .current-menu-item > a::before,
.main-nav .current_page_item > a::before { background: #8a8d91; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
	display: block; width: 24px; height: 2px; background: var(--c-text); position: relative; content: "";
}
.nav-toggle__bar::before { position: absolute; top: -7px; }
.nav-toggle__bar::after  { position: absolute; top: 7px; }

/* ---------- Tartalmi oldalak ---------- */
.entry-title { font-size: 28px; line-height: 1.25; font-weight: 600; margin: 0 0 24px; }
.entry-content h2 { font-size: 22px; margin: 32px 0 12px; }
.entry-content h3 { font-size: 18px; margin: 24px 0 10px; }
.entry-content p, .entry-content li { max-width: 75ch; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content td, .entry-content th { border: 1px solid var(--c-border); padding: 8px 10px; }
.back-link { margin-top: 40px; }

/* ==========================================================
   Simple Job Board – felülírások
   (a lista elrendezést a bővítmény adja: Állások > Settings > Appearance
    → "List view"; itt csak a vizuális finomhangolás történik)
   ========================================================== */
.sjb-page { font-family: var(--font); color: var(--c-text); }

/* Kereső panel */
.sjb-page .sjb-filters {
	background: var(--c-panel); padding: 24px; margin: 0 0 24px; border: 0; border-radius: 0;
}
.sjb-page input[type="text"],
.sjb-page input[type="search"],
.sjb-page select {
	width: 100%; height: 32px; padding: 0 10px; font: 400 14px/1 var(--font); color: var(--c-text);
	background: #fff; border: 1px solid var(--c-border); border-radius: 0; box-shadow: none;
}
.sjb-page input::placeholder { color: #8b8e92; }
.sjb-page .sjb-filters button,
.sjb-page .sjb-filters input[type="submit"],
.sjb-page .btn-search {
	width: 100%; height: 32px; background: #e6e7e8; border: 1px solid #333; border-radius: 0;
	color: var(--c-text); cursor: pointer; box-shadow: none;
}
.sjb-page .sjb-filters button:hover,
.sjb-page .btn-search:hover { background: #d9dadb; }

/* Állás kártyák */
.sjb-page .list-data {
	background: #fff; border: 1px solid var(--c-border); border-radius: 0; box-shadow: none;
	margin: 0 0 24px; padding: 0;
}
.sjb-page .list-data h4,
.sjb-page .list-data .job-title,
.sjb-page .list-data h4 a { font-size: 15px; font-weight: 600; color: var(--c-text); text-decoration: none; margin: 0; }
.sjb-page .list-data h4 a:hover { color: var(--c-red); }
.sjb-page .list-data .job-description,
.sjb-page .list-data p { color: var(--c-muted); font-size: 15px; }
.sjb-page .list-data .fa,
.sjb-page .list-data i { color: #444; }

/* Jelentkezés gomb */
.sjb-page .btn,
.sjb-page a.btn-primary,
.sjb-page .btn-primary,
.sjb-page .sjb-apply-now,
.sjb-page input[type="submit"].app-submit {
	background: #fff; color: var(--c-text); border: 1px solid #333; border-radius: 0;
	padding: 8px 24px; font: 400 14px/1.4 var(--font); text-decoration: none; box-shadow: none;
	transition: background .2s, color .2s;
}
.sjb-page .btn:hover,
.sjb-page .btn-primary:hover,
.sjb-page .sjb-apply-now:hover { background: var(--c-text); color: #fff; }

/* Lapozó */
.sjb-page .pagination a, .sjb-page .pagination span { border-radius: 0; }

/* ---------- Lábléc ---------- */
.site-footer { color: #b9bbbe; }
.footer-widgets { background: var(--c-footer); min-height: 110px; padding: 40px 0; font-size: 14px; }
.footer-widgets a { color: #fff; }
.footer-widget__title { color: #fff; font-size: 15px; margin: 0 0 10px; }
.footer-bottom { background: var(--c-footer-btm); }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.copyright { margin: 0; font-size: 12px; color: #8b8e92; }
.copyright a { color: #fff; text-decoration: none; }
.copyright .sep { margin: 0 4px; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1000px) {
	.main-nav .menu { gap: 22px; }
	.main-nav .menu > li > a { font-size: 14px; }
}
@media (max-width: 860px) {
	.site-header__inner { flex-wrap: wrap; min-height: 76px; }
	.nav-toggle { display: block; }
	.main-nav { display: none; width: 100%; }
	.main-nav.is-open { display: block; }
	.main-nav .menu { flex-direction: column; gap: 0; padding-bottom: 12px; }
	.main-nav .menu > li > a { padding: 12px 0; border-top: 1px solid #dcdee0; }
	.main-nav .menu > li > a::before { display: none; }
	.container--jobs { padding-top: 24px; }
	.sjb-page .sjb-filters { padding: 16px; }
}
@media (max-width: 560px) {
	.footer-bottom__inner { flex-direction: column; justify-content: center; padding: 16px 20px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
