/* ========= 0. Шрифтове ========= */

@font-face {
    font-family: "JobTiger";
    src: url("/public/fonts/jobtiger.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "slick";
    src: url("/public/fonts/slick.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* ========= 1. Базови настройки ========= */

:root {
    --jt-primary: #ffa200;
    --jt-text: #202020;
    --jt-bg: #ffffff;
    --jt-link: #ffa200;
    --jt-link-hover: #b37100;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
}

body {
    margin: 0;
    font-family: "Roboto", "JobTiger", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--jt-text);
    background-color: var(--jt-bg);
}

a {
    color: var(--jt-link);
    text-decoration: none;
}
a:hover {
    color: var(--jt-link-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

/* ========= 2. Layout: container, grid, utilities ========= */

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px){ .container { max-width: 1140px;} }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col,
[class^="col-"],
[class*=" col-"] {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

/* малко responsive колони – достатъчни за текущите страници */
@media (min-width: 576px) {
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 768px) {
    .col-md-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
@media (min-width: 992px) {
    .col-lg-3  { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
    .col-lg-9  { flex: 0 0 75%; max-width: 75%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

.text-right  { text-align: right; }
.text-left   { text-align: left; }
.text-center { text-align: center; }

.d-block      { display: block; }
.d-print-none {}

/* display utilities, които се ползват */
.d-none { display: none !important; }
@media (min-width: 576px) {
    .d-sm-block { display: block !important; }
}

/* spacing utilities – само тези, които се виждат в HTML-а */
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* ========= 3. Форми и бутони ========= */

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.3;
    color: #495057;
    background-color: #fff;
    border: 1px solid var(--jt-primary);
    border-radius: 0;
}
.form-control:focus {
    outline: 0;
    border-color: #202020;
}

.form-control-lg {
    padding: 0.5rem 1rem;
    font-size: 1.05rem;
}

/* бутони (bootstrap-подобни, но минимални) */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.3;
    border-radius: 0;
    cursor: pointer;
    background: #e9ecef;
    color: var(--jt-text);
}
.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.05rem;
}
.btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}
.btn-dark:hover {
    background-color: #23272b;
    border-color: #1d2124;
}
.btn-outline-primary {
    color: var(--jt-primary);
    background-color: transparent;
    border-color: var(--jt-primary);
}
.btn-outline-primary:hover {
    color: #212529;
    background-color: var(--jt-primary);
    border-color: var(--jt-primary);
}
.btn-link {
    border: none;
    background: none;
    padding: 0;
    font-weight: 400;
    color: inherit;
}

/* ========= 4. HEADER (top bar + brand header) ========= */

.top-header {
    background: #f8f9fa;
    font-size: 0.9rem;
}
.top-header .top-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.top-header .top-menu li {
    margin-right: 1rem;
}
.top-header .top-menu a {
    display: block;
    padding: 0.5rem 0;
    color: #343a40;
}

/* Navbar / burger */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-toggler-wrapper button {
    background: none;
    border: none;
    padding: 0.5rem 0.25rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
}
.navbar-toggler-wrapper .line {
    width: 20px;
    height: 2px;
    background: #343a40;
}

/* да не зависим от JS за видимост на менюто */
#top-nav {
    width: 100%;
}
@media (min-width: 992px) {
    .navbar-toggler-wrapper { display: none; }
}

.brand-header {
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}
.brand-header .logo img {
    display: block;
}

/* user меню (вдясно) */
.user-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    font-size: 0.9rem;
}
.user-menu li {
    display: inline-flex;
    align-items: center;
}

.language-switcher {
    margin-left: 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
}

/* dropdown (Profile) – минимално, за да не е счупено */
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 180px;
    margin-top: 4px;
    padding: 4px 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0;
    box-shadow: 0 6px 12px rgba(0,0,0,.1);
    z-index: 1000;
    display: none;
}
.dropdown.show .dropdown-menu {
    display: block;
}
.dropdown-toggle-btn {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0;
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
}

/* ========= 5. Breadcrumbs ========= */

.breadcrumbs {
    background: #f5f5f5;
    font-size: 0.85rem;
    padding: .5rem 0;
}
#HistoryContainer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
#HistoryContainer li {
    display: inline-flex;
    align-items: center;
    margin-right: .5rem;
}
#HistoryContainer li::after {
    content: "/";
    margin-left: .5rem;
    color: #999;
}
#HistoryContainer li:last-child::after {
    content: "";
    margin: 0;
}
#HistoryContainer a {
    color: #555;
}
#HistoryContainer .Home .home-responsive {
    display: inline-block;
}

/* ========= 6. Общ content wrapper ========= */

.pages-content {
    padding-bottom: 1rem;
}

/* ========= 7. Employer Branding – header (cover) ========= */

.company-offer-header {
    position: relative;
    padding: 0;
}
.company-offer-header--has-cover {
    padding-bottom: 0 !important;
}
.company-offer-header__img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-position: center;
}
.company-offer-header__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 16px 12px;
}
.company-offer-header.no-cover-image {
    padding: 20px 0;
    background: #f5f5f5;
}
.company-offer-header.no-cover-image .company-offer-header__content {
    position: static;
    padding: 0;
}
@media (max-width: 576px) {
    .company-offer-header__content {
        align-items: flex-end;
    }
}

/* company info върху covera */
.single-employer-content {
    padding-top: 1rem;
}
.company-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: #fff;
}
.company-text {
    flex: 1 1 auto;
    min-width: 0;
}
.company-text .title-medium {
    font-size: 1.4rem;
    font-weight: 500;
}
.company-text .title {
    font-size: 1rem;
    opacity: .9;
}
.company-info .info {
    font-size: .9rem;
}
.company-info .info .website a {
    color: #fff;
}
.company-info .cont-jobs {
    display: inline-block;
    margin-left: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: .85rem;
    text-decoration: none;
}
.company-logo {
    flex: 0 0 auto;
    margin-left: 1rem;
}
.company-logo .wrapper {
    background: #fff;
    padding: .5rem;
    border-radius: 4px;
}

/* ========= 8. Employer Branding – вътрешно съдържание ========= */

.company-section {
    margin-top: 1.5rem;
}
.underline {
    position: relative;
    display: inline-block;
    margin-bottom: .75rem;
    padding-bottom: .25rem;
}
.underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--jt-primary);
}

.section-navigation .nav {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}
.section-navigation .nav-link {
    display: block;
    padding: .35rem 0;
    color: #555;
}
.section-navigation .nav-link:hover {
    color: var(--jt-primary);
}

/* sticky меню (горната лента с anchor-и и малкото лого) */
.sticky-menu {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: .5rem 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sticky-menu .nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.sticky-menu .nav-item {
    margin-right: 1rem;
}
.sticky-menu .nav-link {
    font-size: .9rem;
    color: #555;
}
.sticky-menu .nav-link:hover {
    color: var(--jt-primary);
}
.sticky-menu img {
    max-height: 40px;
}

/* sidebar blocks */
.sidebar-employer .section {
    margin-bottom: 1.5rem;
}
.section-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: .5rem;
}
.section-content {
    font-size: .9rem;
}
.section-content a {
    word-break: break-word;
}

/* images/video в секция “Дейност” */
.company-images img {
    width: 100%;
    display: block;
}
.company-videos .embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.embed-responsive-16by9::before {
    display: block;
    content: "";
    padding-top: 56.25%;
}
.company-videos .embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* малко типография */
.single-employer-content h1 {
    font-size: 1.6rem;
    margin: 1rem 0;
}
.single-employer-content h2 {
    font-size: 1.3rem;
}
.single-employer-content h3 {
    font-size: 1.1rem;
}

/* ========= 9. “Кариерен съветник” (обща страница) ========= */

.advice-center h1 {
    font-size: 1.8rem;
    margin-bottom: .5rem;
}
.advice-center .advice-center-item {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 1rem;
    background: #fff;
    transition: box-shadow .15s ease, transform .15s ease;
}
.advice-center .advice-center-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transform: translateY(-1px);
    text-decoration: none;
}
.advice-center .item-title {
    font-size: 1.15rem;
    margin: 0 0 .5rem;
}

/* леки фонове по типове карти – не се опитваме да копираме 1:1 дизайна, а да са различими */
.item-adv-cv       { border-left: 4px solid #ffb84d; }
.item-adv-cl       { border-left: 4px solid #ff9f1a; }
.item-adv-interview{ border-left: 4px solid #ff8533; }
.item-adv-offer    { border-left: 4px solid #ff704d; }
.item-adv-references{border-left: 4px solid #ff9966; }
.item-adv-email    { border-left: 4px solid #ffb366; }

/* ========= 10. Footer ========= */

#main-footer {
    background: #202020;
    color: #ddd;
    font-size: 0.85rem;
    margin-top: 2rem;
}
#main-footer a {
    color: #fff;
}
.footer-info {
    padding: 1.75rem 0;
}
.footer-info h4.f-title {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    color: #fff;
}
.footer-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-info li {
    margin-bottom: 0.25rem;
}

#socialContainer ul {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
#socialContainer li {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #444;
}

.footer-copigight {
    border-top: 1px solid #444;
    padding: 0.75rem 0;
    font-size: 0.8rem;
    color: #aaa;
    background: #111;
}
.footer-copigight .cprght-info {
    white-space: nowrap;
}
@media (min-width: 576px) {
    .footer-copigight .design-info {
        text-align: right;
    }
}
@media (max-width: 575.98px) {
    .footer-copigight .design-info {
        text-align: left;
        margin-top: 0.25rem;
    }
}

/* ========= 11. Ad slot над футъра ========= */

#div-gpt-ad-1732629265525-0 {
    min-width: 300px;
    min-height: 90px;
    margin: 0 auto;
}

/* ========= 12. Кариерен съветник – статия ========= */

/* контейнерът вече е .advice-center, просто тук оформяме вътрешното съдържание */
.advice-center nav {
    margin-bottom: 1.5rem;
}

/* таблицата с навигация (1. Как да…, 2. Контра-оферта…, 3. Видео…) */
.cvAdviserTopicsTbl {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto 1rem;
    font-size: 0.95rem;
}
.cvAdviserTopicsTbl td {
    padding: .35rem 0;
}
.cvAdviserA {
    display: inline-block;
    color: var(--jt-link);
}
.cvAdviserA:hover {
    color: var(--jt-link-hover);
    text-decoration: underline;
}

/* таблицата "Title" с оранжевата линия отдолу */
table.Title {
    border-collapse: collapse;
    width: 100%;
}
table.Title .title2 {
    padding: .25rem 0;
    border-bottom: 2px solid var(--jt-primary);
}
table.Title h4,
table.Title h3 {
    margin: 0;
    font-size: 1.1rem;
}

/* клетката вдясно с бутона "Начало" (стрелката нагоре) */
.top_btn_cell {
    width: 40px;
    text-align: right;
}

/* основен текст + списъци със sty1 */
p.sty1 {
    margin: 0 0 .75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
ul.sty1,
ul .sty1 {
    font-size: 0.95rem;
    line-height: 1.5;
}
ul.sty1 {
    margin: 0 0 .75rem 1.2rem;
    padding: 0;
}
ul.sty1 li {
    margin-bottom: .35rem;
}

/* вложени UL/LI (без sty1 class), за да не са на огромни отстояния */
.CareerGuideContent ul {
    margin: 0 0 .75rem 1.2rem;
    padding: 0;
}
.CareerGuideContent li {
    margin-bottom: .35rem;
}

/* общ контейнер за съдържанието на статията */
.CareerGuideContent {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* блоковете за реклами в статията */
.section-block {
    margin: 1.5rem 0;
}

/* clearfix за .cleaner */
.cleaner {
    clear: both;
}

/* YouTube видеото – embed-responsive вече е дефиниран по-горе, тук леко пипаме текста */
.CareerGuideContent .embed-responsive {
    margin: 12px 7px 8px 0;
    font-size: 0.9rem;
}

/* ========= 13. Профил на кандидат (profile.php) ========= */

/* Основен контейнер */
#Profile {
    align-items: flex-start;
}

/* Ляво меню – sidebar */
.profile-sidebar {
    margin-bottom: 1.5rem;
}

.profile-sidebar .Nav {
    background-color: #fff;
    border: 1px solid var(--jt-border);
    border-radius: 4px;
    padding: 1rem;
}

.ProfileHeader {
    margin-bottom: 0.75rem;
}

.ProfileHeader .Title a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--jt-text);
    text-decoration: none;
}

.ProfileHeader .Title a:hover {
    color: var(--jt-primary);
}

/* Вертикално меню в профила */
.profile-sidebar .Nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-sidebar .Nav li {
    margin-bottom: 0.25rem;
}

.profile-sidebar .Nav a {
    display: block;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    font-size: 0.93rem;
    color: var(--jt-text);
    text-decoration: none;
}

.profile-sidebar .Nav li.activ a {
    background-color: var(--jt-primary);
    color: #fff;
}

.profile-sidebar .Nav a:hover {
    background-color: var(--jt-primary-soft);
    color: var(--jt-text);
}

/* Дясна част – съдържание на профила */
.ProfileContent {
    background-color: #fff;
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: var(--jt-card-shadow);
}

/* Горно хоризонтално меню в профил страницата */
.h-nav-wrapper {
    margin-bottom: 1.25rem;
}

.h-nav-wrapper .sticky-menu {
    border-bottom: 1px solid var(--jt-border);
}

.h-nav-wrapper .nav {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.h-nav-wrapper .nav-item {
    margin-right: 0.75rem;
}

.h-nav-wrapper .nav-link {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    font-size: 0.93rem;
    color: var(--jt-text-light);
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.h-nav-wrapper .nav-link:hover {
    color: var(--jt-primary);
}

/* Ако някога добавиш .active – ще стане таб */
.h-nav-wrapper .nav-link.active {
    color: var(--jt-primary);
    border-bottom-color: var(--jt-primary);
    font-weight: 600;
}

/* Формата в профила */
.base-form {
    font-size: 0.95rem;
}

.base-form .row {
    margin-bottom: 0.35rem;
}

/* Лейаут на етикетите и стойностите */
.base-form .lbl {
    padding-top: 0.3rem;
    font-weight: 500;
}

.base-form .val {
    margin-bottom: 0.25rem;
}

/* Помощен текст */
.base-form .help {
    color: var(--jt-text-light);
}

/* Грешки под полетата */
.errspn .text-danger {
    font-size: 0.8rem;
    min-height: 1rem;
}

/* Полета – текст / парола / т.н. */
.base-form input[type="text"],
.base-form input[type="password"],
.base-form input[type="email"],
.base-form .form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--jt-text);
    background-color: #fff;
    border: 1px solid var(--jt-border);
    border-radius: 4px;
    box-sizing: border-box;
}

.base-form input[type="text"]:focus,
.base-form input[type="password"]:focus,
.base-form input[type="email"]:focus,
.base-form .form-control:focus {
    outline: none;
    border-color: var(--jt-primary);
    box-shadow: 0 0 0 2px rgba(255, 162, 0, 0.15);
}

/* Радио бутони за език */
.base-form input[type="radio"] {
    margin-right: 0.25rem;
}

.clickable_strong {
    font-weight: 500;
    cursor: pointer;
}

/* Чекбоксът за бюлетин */
.receive-argeement {
    display: flex;
    align-items: flex-start;
}

.receive-argeement label {
    font-size: 0.9rem;
}

/* Термините и линковете за Общи условия / Политика */
.termUse {
    font-size: 0.9rem;
}

.termUse .small a {
    text-decoration: underline;
}

/* Редът с бутоните “Изчисти” / “Запиши” */
.ProfileContent .text-right .btn {
    margin-left: 0.4rem;
}

/* Някои utility класове, нужни тук (ако още не са дефинирани) */
.text-md-right {
    text-align: left;
}
@media (min-width: 768px) {
    .text-md-right {
        text-align: right;
    }
}

.text-lg-right {
    text-align: left;
}
@media (min-width: 992px) {
    .text-lg-right {
        text-align: right;
    }
}

/* Леко уточняване на .cleaner и spacing */
#Profile .cleaner {
    clear: both;
}

/* ========= 14. Login page (login.php) ========= */

.login-page {
    max-width: 960px;
}

.login-page h1 {
    font-size: 1.7rem;
    margin-bottom: 1.25rem;
}

/* Формата за вход */
.login-page form {
    background-color: #fff;
    border-radius: 4px;
    padding: 1.5rem 1.25rem;
    box-shadow: var(--jt-card-shadow);
    border: 1px solid var(--jt-border-soft, rgba(0,0,0,0.05));
}

.login-page .form-group {
    margin-bottom: 0.75rem;
}

/* Полетата – rely на глобалните .form-control, но да сме сигурни */
.login-page .form-control {
    display: block;
    width: 100%;
    padding: 0.4rem 0.55rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--jt-text);
    background-color: #fff;
    border: 1px solid var(--jt-border);
    border-radius: 4px;
    box-sizing: border-box;
}

.login-page .form-control:focus {
    outline: none;
    border-color: var(--jt-primary);
    box-shadow: 0 0 0 2px rgba(255, 162, 0, 0.15);
}

/* Checkbox „Запомни ме“ */
.login-page #rememberme {
    margin-right: 0.35rem;
}

.login-page label[for="rememberme"] {
    font-size: 0.9rem;
    cursor: pointer;
}

/* Бутон “Вход” и линк „Забравена парола?“ */
.login-page .btn.btn-secondary {
    /* ползваме същия стил като останалите secondary бутони */
    min-width: 120px;
}

.login-page .link.link-button.right {
    display: inline-block;
    margin-left: 0.75rem;
    font-size: 0.9rem;
    color: var(--jt-primary);
    text-decoration: underline;
    vertical-align: middle;
}

.login-page .link.link-button.right:hover {
    color: var(--jt-primary-dark, #e09000);
}

/* Блокът “Ако не сте регистрирани?” */
.login-page h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.login-page p {
    margin-bottom: 0.5rem;
}

/* Регистрация бутон долу */
.login-page .btn.btn-secondary.btn-lg {
    margin-top: 0.25rem;
}

/* Малко по-стегнат spacing на редовете около формата */
.login-page .row > .col,
.login-page .row > .col-md-12,
.login-page .row > .col-lg-8 {
    margin-bottom: 0.25rem;
}

/* На по-малки екрани – да няма усещане за “смачкано” */
@media (max-width: 767.98px) {
    .login-page form {
        padding: 1.25rem 1rem;
    }
}

/* ===========================
   Регистрация – базов layout
   =========================== */

/* Контейнерът около Vue компонента */
.container.advice-center {
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

/* Блокът с регистрацията */
#registrationBlock {
    background: #ffffff;
    border-radius: 4px;
    padding: 24px 16px 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Заглавия вътре в блока – да седят стегнато */
#registrationBlock h1,
#registrationBlock h2,
#registrationBlock h3 {
    margin-bottom: 16px;
    font-weight: 500;
}

/* Основни вертикални разстояния */
#registrationBlock form {
    margin-top: 16px;
}

#registrationBlock .form-group {
    margin-bottom: 16px;
}

/* Полетата за въвеждане – да имаме базова визия дори преди големите CSS */
#registrationBlock input[type="text"],
#registrationBlock input[type="email"],
#registrationBlock input[type="password"],
#registrationBlock input[type="tel"],
#registrationBlock select {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.95rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Чекбоксове и етикети */
#registrationBlock input[type="checkbox"] {
    margin-right: 6px;
}

#registrationBlock label {
    font-size: 0.9rem;
    cursor: pointer;
}

/* Основният бутон за регистрация –
   стъпва на общата .btn/.btn-secondary визия от jt-core */
#registrationBlock .btn {
    min-width: 140px;
    margin-top: 8px;
}

/* Малко по-комфортно на по-широки екрани */
@media (min-width: 768px) {
    .container.advice-center {
        padding: 32px 0 48px;
    }

    #registrationBlock {
        padding: 32px 40px 40px;
    }
}

/* ========= 15. Календар (calendar/) ========= */

/* Основен контейнер */
.calendar-page {
    max-width: 1140px;
    margin: 0 auto;
}

/* Заглавие */
.calendar-page h1 {
    font-size: 1.7rem;
    margin: 1.5rem 0 1rem;
}

/* Обвивка на „големия“ календар горе */
.calendar-wrap {
    background-color: #fff;
    border-radius: 4px;
    padding: 1.5rem 1.25rem 1.75rem;
    margin-bottom: 2rem;
    box-shadow: var(--jt-card-shadow);
}

/* Навигация по години */
.calendar-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.calendar-navigation .currant-year {
    margin: 0 0.5rem;
}

.calendar-navigation .year-nav {
    display: inline-block;
    width: 24px;
    height: 24px;
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
}

.calendar-navigation .year-nav::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-left: 2px solid var(--jt-text-light);
    border-bottom: 2px solid var(--jt-text-light);
    transform: rotate(45deg);
}

.calendar-navigation .year-nav:hover::before {
    border-color: var(--jt-primary);
}

/* Списъкът с месеците (горната „лента“ с по 12 блока) */
.month-list {
    margin: 0 -0.5rem 1.5rem;
}

.month-single {
    display: block;
    text-align: center;
    padding: 0.6rem 0.4rem;
    margin-bottom: 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--jt-border);
    background-color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--jt-text);
    box-sizing: border-box;
}

.month-single .month-name {
    display: block;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.month-single .WorkDay {
    display: block;
    font-size: 0.85rem;
    color: var(--jt-text-light);
}

.month-single .WorkDay .WD {
    font-weight: 600;
    color: var(--jt-text);
}

/* Активният месец (div вместо a) */
.month-single.active-month {
    border-color: var(--jt-primary);
    background-color: var(--jt-primary-soft);
}

/* Hover за месеците (само за линковете) */
a.month-single:hover {
    border-color: var(--jt-primary);
    background-color: #fffaf0;
}

/* Каре: „Изчисляване на работни дни“ */
.calculate-days-tool {
    background-color: #fff;
    border-radius: 4px;
    padding: 1.25rem 1rem 1.5rem;
    box-shadow: var(--jt-card-shadow);
    margin-bottom: 1.5rem;
}

.calculate-days-tool .block-title {
    margin-bottom: 0.75rem;
}

/* Полета „от / до“ */
.calculate-days-tool .date-input {
    width: 6rem;
    max-width: 100%;
    padding: 0.25rem 0.4rem;
    margin: 0 0.25rem;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid var(--jt-border);
    border-radius: 4px;
    box-sizing: border-box;
}

.calculate-days-tool label.clickable {
    font-size: 0.9rem;
    cursor: pointer;
}

/* Резултат под бутона */
.calculate-result {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    min-height: 1.4rem;
}

/* Грешка в резултата */
.calculate-result .error {
    color: #d9534f;
    font-weight: 500;
}

/* Каре: „Празници, почивни дни, събития“ */
.show-holidays {
    background-color: #fff;
    border-radius: 4px;
    padding: 1.25rem 1rem 1.5rem;
    box-shadow: var(--jt-card-shadow);
    margin-top: 1.5rem;
}

.show-holidays .block-title {
    margin-bottom: 0.75rem;
}

/* Таблица с календара вдясно */
.calendar-holidays {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.75rem;
    background-color: #fff;
}

/* Навигация месец назад/напред над таблицата */
.calendar-holidays .calendar-nav {
    text-align: center;
    padding: 0.35rem 0.5rem;
    background-color: var(--jt-primary-soft);
    font-weight: 500;
    font-size: 0.9rem;
}

.calendar-holidays .calendar-nav .prevBtn,
.calendar-holidays .calendar-nav .nextBtn {
    display: inline-block;
    vertical-align: middle;
}

/* Самата „малка“ таблица с дни */
.calendar-content {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: center;
}

.calendar-content th {
    padding: 0.35rem 0.25rem;
    font-weight: 500;
    border-bottom: 1px solid var(--jt-border);
}

.calendar-content td {
    padding: 0.3rem 0.25rem;
    min-width: 2.1rem;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}

/* Видове дни */
.calendar-content td.workday {
    background-color: #fff;
}

.calendar-content td.holiday {
    background-color: #fff7e6;
}

.calendar-content td.otherday {
    background-color: #f5f5f5;
    color: var(--jt-text-light);
}

/* Линковете вътре в клетките (празници / събития) */
.calendar-content td a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.calendar-content td a.in {
    text-decoration: underline;
}

.calendar-content td a:hover {
    color: var(--jt-primary);
}

/* Блок под таблицата с избран ден и описание */
.holiday-info-block {
    margin-top: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 4px;
    border: 1px solid var(--jt-border-soft, rgba(0,0,0,0.06));
    background-color: #fff;
}

.holiday-info-block .holiday_date {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.holiday-info-block .day_note {
    font-size: 0.9rem;
}

/* Скриваме стария legacy layout (#CentralColumn) */
#CentralColumn {
    display: none;
}

/* Малко донагласяне на отстоянията на мобилно */
@media (max-width: 767.98px) {
    .calendar-wrap {
        padding: 1.25rem 0.9rem 1.5rem;
    }

    .calculate-days-tool,
    .show-holidays {
        margin-top: 1rem;
    }
}

/* ========= 16. Пресинфо – списък (/press/) ========= */

.press-list-wrapper {
    margin-bottom: 2rem;
}

/* Едно прес-съобщение в списъка */
.press-list-wrapper .single-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--jt-border-soft, rgba(0,0,0,0.08));
}

/* Заглавие */
.press-list-wrapper .single-item .title {
    margin-bottom: 0.35rem;
}

.press-list-wrapper .single-item .title a {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--jt-text);
    text-decoration: none;
}

.press-list-wrapper .single-item .title a:hover {
    color: var(--jt-primary);
    text-decoration: underline;
}

/* Дата и мета-инфо */
.press-list-wrapper .single-item .meta-info {
    font-size: 0.85rem;
    color: var(--jt-text-light);
    margin-bottom: 0.4rem;
}

/* Откъс от текста */
.press-list-wrapper .single-item .text-block {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--jt-text);
}

/* ---- Pager (долу) ---- */

.PagerBlock {
    margin-top: 1.5rem;
    text-align: center;
}

.PagerBlock ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.PagerBlock li {
    margin: 0 2px;
}

/* Нормален линк за страница */
.PagerBlock a {
    display: inline-block;
    min-width: 32px;
    padding: 0.3rem 0.55rem;
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid var(--jt-border);
    text-decoration: none;
    color: var(--jt-text);
    box-sizing: border-box;
}

/* Текуща страница */
.PagerBlock li.current a {
    background-color: var(--jt-primary);
    border-color: var(--jt-primary);
    color: #fff;
    font-weight: 500;
}

/* Disabled елементи (първа/последна без линк) */
.PagerBlock li.disable {
    opacity: 0.4;
    pointer-events: none;
}

/* „..“ и дребни елементи */
.PagerBlock li.disable,
.PagerBlock li.disable a {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0.3rem 0.25rem;
}

/* Стрелки за предишна/следваща страница */
.PagerBlock li.prevPage div,
.PagerBlock li.nextPage div {
    width: 22px;
    height: 22px;
    border-top: 2px solid var(--jt-text-light);
    border-right: 2px solid var(--jt-text-light);
    margin: 0 auto;
    box-sizing: border-box;
}

/* Лява стрелка */
.PagerBlock li.prevPage div {
    transform: rotate(-135deg);
}

/* Дясна стрелка */
.PagerBlock li.nextPage div {
    transform: rotate(45deg);
}

/* Ховър за кликаеми стрелки */
.PagerBlock li.nextPage a:hover div {
    border-color: var(--jt-primary);
}

/* На по-малък екран да не става „мазало“ с pager-а */
@media (max-width: 575.98px) {
    .PagerBlock a {
        min-width: 28px;
        padding: 0.25rem 0.4rem;
        font-size: 0.85rem;
    }
}

/* ========= 17. Пресинфо – детайлна статия ========= */

/* Използваме същия wrapper, но в режим detail да изглежда като статия */
.press-list-wrapper.detail {
    margin-bottom: 2.5rem;
}

/* В детайлна статия не ни трябва долна рамка на single-item */
.press-list-wrapper.detail .single-item {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1.5rem;
}

/* Основен блок на статията */
.PressBlock {
    max-width: 860px;
    margin: 0 auto 1.5rem;
}

/* Основен текст в статията */
.PressBlock .text-block {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--jt-text);
}

/* Параграфи – унифицираме разстоянията, за да „изядем“ хаоса от inline стиловете */
.PressBlock .text-block p {
    margin: 0 0 1rem;
}

/* Линкове вътре в текста */
.PressBlock .text-block a {
    color: var(--jt-primary);
    text-decoration: none;
}
.PressBlock .text-block a:hover {
    text-decoration: underline;
}

/* Изображения и фигури от jobtiger.tv (wp-block-image, jt-single и др.) */
.PressBlock .text-block img {
    max-width: 100%;
    height: auto;
    border: 0;
    outline: 0;
    vertical-align: middle;
    display: block;
}

.PressBlock .text-block figure {
    margin: 0 0 1rem;
}

/* Първата голяма картинка (jt-single) да е с малко разстояние отгоре и отдолу */
.PressBlock .text-block img.jt-single {
    margin: 0.5rem 0 1rem;
}

/* Бутон „Назад“ под статията */
.press-list-wrapper.detail #bck {
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ========= 18. Библиотека / Бюлетин – лист ========= */

/* Заглавие */
.pages-content h1 {
    margin-bottom: 1.5rem;
}

/* Търсачка над списъка */
.pages-content form[action="?"] .row {
    align-items: stretch;
}

.pages-content form[action="?"] .form-group {
    margin-bottom: 0;
}

.pages-content form[action="?"] .form-control {
    width: 100%;
    min-width: 0;
}

/* Списък с бюлетини – стъпва на общия press-list-wrapper,
   но да го доизпипаме за careerLib */
.press-list-wrapper {
    margin-top: 1rem;
}

.press-list-wrapper .single-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

/* Заглавие на бюлетина */
.press-list-wrapper .single-item .title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.press-list-wrapper .single-item .title a {
    color: var(--jt-text);
    text-decoration: none;
}

.press-list-wrapper .single-item .title a:hover {
    color: var(--jt-primary);
    text-decoration: underline;
}

/* Метаданни (дата / посещения / коментари) */
.press-list-wrapper .meta-info {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.press-list-wrapper .meta-info .date,
.press-list-wrapper .meta-info .visit,
.press-list-wrapper .meta-info .comments {
    display: inline-block;
    min-width: 60px;
}

/* Ако Bootstrap не е зареден, meta-info да изглежда нормално */
.press-list-wrapper .meta-info.row {
    display: flex;
    flex-wrap: wrap;
}
.press-list-wrapper .meta-info .col-lg-2,
.press-list-wrapper .meta-info .col-md-3,
.press-list-wrapper .meta-info .col-sm-4,
.press-list-wrapper .meta-info .col-6,
.press-list-wrapper .meta-info .col {
    flex: 0 0 auto;
    padding-right: 0.75rem;
    padding-bottom: 0.25rem;
}

/* Кратък текст под заглавието (ако има) */
.press-list-wrapper .single-item .text {
    font-size: 0.9rem;
    color: var(--jt-muted);
}

/* Пейджър под списъка */
.PagerBlock {
    margin: 1.5rem 0;
    text-align: center;
}

.PagerBlock ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
}

.PagerBlock li {
    margin: 0 2px;
    font-size: 0.9rem;
}

.PagerBlock li a {
    display: block;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--jt-text);
}

.PagerBlock li.current a {
    background: var(--jt-primary);
    color: #fff;
}

.PagerBlock li a:hover {
    text-decoration: none;
    background: #f0f0f0;
}

/* Блок за абонамент за бюлетина (под списъка) */
.bg-light {
    background-color: #f8f9fa;
}

.bg-light #BulletinBlock {
    max-width: 640px;
    margin: 0 auto;
}

#BulletinBlock .Text {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

#BulletinBlock .small {
    font-size: 0.8rem;
}

#BulletinBlock .RegisterBulContainer {
    margin: 0.5rem 0 0.75rem;
}

/* Бутон отказ от абонамент */
#BulletinBlock .btn {
    min-width: 150px;
}

/* ========= 19. Библиотека / Бюлетин – статия ========= */

/* Контейнер за детайлна статия / бюлетин */
.press-list-wrapper.detail {
    margin-top: 1.5rem;
}

/* Самият „single-item“ в детайла да няма долна линия */
.press-list-wrapper.detail .single-item {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Текстов блок – центриран, с максимална ширина за по-добра четимост */
.press-list-wrapper.detail .PressBlock,
.press-list-wrapper.detail .text-block {
    max-width: 820px;
    margin: 0 auto 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--jt-text);
}

/* Параграфи */
.press-list-wrapper.detail .text-block p {
    margin: 0 0 1rem;
}

/* Акцентиран текст / strong */
.press-list-wrapper.detail .text-block b,
.press-list-wrapper.detail .text-block strong {
    font-weight: 600;
}

/* Линкове в съдържанието */
.press-list-wrapper.detail .text-block a {
    color: var(--jt-primary);
    text-decoration: underline;
}

.press-list-wrapper.detail .text-block a:hover {
    text-decoration: none;
}

/* Картинки от WordPress (jt-single, wp-image и др.) */
.press-list-wrapper.detail .text-block img {
    max-width: 100%;
    height: auto !important;
    display: block;
    margin: 0 auto 1.25rem;
}

/* Figures от WordPress */
.press-list-wrapper.detail .text-block figure {
    margin: 0 0 1.25rem;
}

/* Списъци в бюлетина */
.press-list-wrapper.detail .text-block ul,
.press-list-wrapper.detail .text-block ol {
    margin: 0 0 1rem 1.25rem;
}

.press-list-wrapper.detail .text-block li {
    margin-bottom: 0.35rem;
}

/* Бутон „Назад“ под статията */
#bck {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* Ако Bootstrap липсва – минимален fallback за #bck */
#bck.btn {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    border: 1px solid var(--jt-primary);
    color: var(--jt-primary);
    background: transparent;
    font-size: 0.9rem;
}

#bck.btn:hover {
    background: var(--jt-primary);
    color: #fff;
    text-decoration: none;
}

/* ========= 20. Услуги и цени (priceList.php) ========= */

.contentContainer.ContentBlock {
    padding: 2rem 0 3rem;
}

/* Заглавие на страницата */
.contentContainer.ContentBlock h1 {
    margin-bottom: 1rem;
    font-size: 1.6rem; /* поддържаме текущия размер, но без inline стилове */
}

/* Уводен текст под заглавието */
.contentContainer.ContentBlock > .container > .row:nth-of-type(2) p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Общ контейнер за описанията и таблиците */
.contentContainer .Container {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* H3 секции (Employer Branding, Публикуване на обяви, Пакети, Реклама) */
.contentContainer .Container h3,
.contentContainer .table-wrap-priceList h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* H4 секции (Портфолио, GDPR, Контакти) */
.contentContainer .Container h4 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Параграфи вътре в блока */
.contentContainer .Container p {
    margin-bottom: 1rem;
}

/* Списъци */
.contentContainer .Container ul {
    margin: 0 0 1rem 1.25rem;
}
.contentContainer .Container li {
    margin-bottom: 0.35rem;
}

/* Малки уточнения под таблиците (емфазирани текстове) */
.contentContainer .Container em {
    font-size: 0.9rem;
}

/* Обвивка на таблиците, за да са скролируеми на мобилни */
.table-wrap-priceList {
    margin: 1rem 0 1.75rem;
    overflow-x: auto;
}

/* Базов стил за таблицата, ако Bootstrap липсва */
.table-wrap-priceList table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

/* Таблични клетки */
.table-wrap-priceList th,
.table-wrap-priceList td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: top;
}

/* Заглавен ред */
.table-wrap-priceList thead th {
    font-weight: 600;
}

/* .bg-primary – за хедър на таблицата */
.table-wrap-priceList .bg-primary {
    background-color: var(--jt-primary);
    color: #fff;
}

/* „Зебра“ за .table-striped, ако Bootstrap не е зареден */
.table-wrap-priceList .table-striped tr:nth-child(even) td {
    background-color: #f9f9f9;
}

/* Респонсив помощни класове, ако няма Bootstrap */
.table-wrap-priceList .table-responsive {
    display: block;
    width: 100%;
}

/* Линковете „Поръчай“ в таблицата с пакети */
.table-wrap-priceList a.link {
    color: var(--jt-primary);
    text-decoration: underline;
    white-space: nowrap;
}
.table-wrap-priceList a.link:hover {
    text-decoration: none;
}

/* Контакти в края да имат малко въздух */
.contentContainer .Container p:last-child {
    margin-bottom: 0.5rem;
}

/* Fallback за .cleaner (стария клас) */
.cleaner {
    clear: both;
    height: 0;
    overflow: hidden;
}

/* ========= 21. Общи условия / GDPR страници ========= */

/* Основно съдържание на статични страници в .pages-content */
.pages-content .col.py-5 {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Основно заглавие – вече има стил за .pages-content h1,
   тук само подсигуряваме разстоянията */
.pages-content h1 {
    margin-bottom: 1.5rem;
}

/* Подзаглавия в текста (1., 2., 3. и т.н.) */
.pages-content h2 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Параграфи и текстови блокове между заглавията */
.pages-content p {
    margin-bottom: 0.9rem;
}

/* Списъци (ul/li) в правните текстове */
.pages-content ul {
    margin: 0 0 1rem 1.25rem;
    padding-left: 0;
}

.pages-content li {
    margin-bottom: 0.35rem;
}

/* Допълнително вградени списъци (ul вътре в li) да са леко отстъпени */
.pages-content li ul {
    margin-top: 0.35rem;
}

/* Контейнерът с бутона „Принт“ под текста */
.pages-content .print-btn {
    display: inline-block;
    min-width: 180px;
    text-align: center;
    font-size: 0.9rem;
}

/* Ако Bootstrap не е наличен – леко стилизираме .btn, .btn-secondary, .btn-lg */
.btn {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary {
    background-color: #f0f0f0;
    border-color: #d0d0d0;
    color: var(--jt-text, #333);
}

.btn-secondary:hover {
    background-color: #e4e4e4;
    text-decoration: none;
}

.btn-lg {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

/* ========= 22. За JobTiger (about.php) ========= */

/* Основен текст – стъпва на общите правила за .pages-content,
   тук само леко донагласяме за по-дългия storytelling контент */
.pages-content .col.py-5 {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* H1 вече има стил от глобалния блок за .pages-content h1,
   оставяме само да сме сигурни за разстоянието */
.pages-content h1.pb-4 {
    margin-bottom: 1.5rem;
}

/* Подзаглавия („Кои сме ние?“, „Мисия…“ и т.н.) */
.pages-content h2 {
    font-size: 1.15rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Подподзаглавия за продуктите (в момента са h3 вътре в <p>) */
.pages-content h3 {
    font-size: 1rem;
    margin: 0.75rem 0 0.25rem;
    font-weight: 600;
}

/* Основни текстови блокове под h2/h3 */
.pages-content p,
.pages-content > .container > .row > .col.py-5 > div {
    margin-bottom: 0.75rem;
}

/* Линковете в текста на „За нас“ – да се държат еднакво */
.pages-content a {
    color: var(--jt-primary);
    text-decoration: underline;
}

.pages-content a:hover {
    text-decoration: none;
}

/* Адрес / контакти – колонките под „Къде ще ни намерите“ */
.pages-content .row .col-md-4.pb-3 {
    font-size: 0.95rem;
}

/* Малко въздух над „Условия“ */
.pages-content h2:last-of-type {
    margin-top: 2rem;
}

/* Линковете под „Условия“ (класове sty1 link) */
.pages-content a.sty1,
.pages-content a.link {
    color: var(--jt-primary);
    text-decoration: underline;
}

.pages-content a.sty1:hover,
.pages-content a.link:hover {
    text-decoration: none;
}

/* ========= 23. Често задавани въпроси (faq.php) ========= */

/* Основно заглавие на страницата */
.pages-content nav h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Секцията с въпросите (id="NewUser") */
.pages-content #NewUser {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Групови заглавия („За JobTiger“, „Обяви за работа“… ) */
.pages-content #NewUser h2 {
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Самият accordion – всеки въпрос/отговор блок */
.pages-content #NewUser details {
    margin-bottom: 0.75rem;
    border-radius: 4px;
    background: #fff;
}

/* Summary (редът с въпроса) */
.pages-content #NewUser summary {
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    list-style: none;              /* за Firefox */
    position: relative;
}

/* Скриваме стандартния триъгълник и ползваме вграден маркер */
.pages-content #NewUser summary::-webkit-details-marker {
    display: none;
}

/* Добавяме наш маркер (малък триъгълник) */
.pages-content #NewUser summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.75rem;
    transform-origin: center;
    transition: transform 0.2s ease;
}

/* Когато е отворено – завъртане на маркера */
.pages-content #NewUser details[open] > summary::before {
    transform: rotate(90deg);
}

/* Фокус / hover за по-добра достъпност */
.pages-content #NewUser summary:hover {
    background-color: #f8f9fa;
}

.pages-content #NewUser summary:focus {
    outline: 2px solid var(--jt-primary);
    outline-offset: 2px;
}

/* Текстът на отговора */
.pages-content #NewUser details > p {
    margin: 0;
    padding: 0 0.75rem 0.75rem 1.25rem; /* леко отместване заради маркера */
}

/* Допълнително разреждане между групите (h2 + details) */
.pages-content #NewUser h2 + details {
    margin-top: 0.5rem;
}
