/* ============================================
   Italy Jobs 2026 – Herald Weekly Style
   Font: Georgia (serif) matching reference images
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background: #ffffff;
    color: #222222;
    font-size: 17px;
    line-height: 1.7;
}

/* ---------- Layout ---------- */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
}

.site-logo {
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: bold;
    color: #1a2a5a;
    text-decoration: none;
}

.site-logo .logo-badge {
    display: inline-block;
    background: #1a2a5a;
    color: #fff;
    font-family: Arial Black, Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 3px;
    text-transform: uppercase;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search input {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    font-family: Georgia, serif;
    font-size: 14px;
    width: 170px;
    color: #666;
    outline: none;
}

.header-search button {
    background: #ccc;
    border: none;
    border-radius: 4px;
    padding: 7px 11px;
    cursor: pointer;
    font-size: 14px;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px 20px 40px;
}

/* ---------- Typography ---------- */
h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 28px;
    font-weight: bold;
    color: #111;
    line-height: 1.3;
    margin-bottom: 6px;
}

.meta {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #666;
    margin-bottom: 18px;
}

h2, h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #111;
    margin-top: 24px;
    margin-bottom: 10px;
}

h3 { font-size: 19px; }

p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 17px;
    line-height: 1.75;
    color: #222;
    margin-bottom: 16px;
}

/* ---------- Research Topics (Herald Weekly gold buttons) ---------- */
.research-topics-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #555;
    margin: 18px 0 7px;
}

.research-topics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.research-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e8b84b;
    border: 1.5px solid #c99a28;
    border-radius: 5px;
    padding: 13px 16px;
    text-decoration: none;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.research-btn:hover { background: #d4a830; }

.research-btn .search-icon { font-size: 18px; opacity: 0.65; }

/* ---------- Read More expandable ---------- */
.expandable-content { display: none; }
.expandable-content.open { display: block; }

.read-more-btn {
    display: inline-block;
    font-family: Georgia, serif;
    font-size: 16px;
    color: #1a2a5a;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 4px 0 24px;
}

.read-more-btn:hover { color: #0d1f4a; }

/* ---------- Job Nav Buttons (green) ---------- */
.btn-nav-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.btn-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 20px;
    background: linear-gradient(180deg,#267a3e 0%,#1c5e2f 100%);
    border-radius: 12px;
    border: 2px solid #2fa04f;
    text-decoration: none;
    color: #fff;
    font-family: Arial Black, Arial, Impact, sans-serif;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 5px 18px rgba(0,0,0,0.18);
    transition: filter 0.18s, transform 0.18s;
}

.btn-nav:hover { filter: brightness(1.12); transform: translateY(-2px); }

.btn-nav .arrow-circle {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.25);
    border-radius: 50%;
    font-size: 14px;
    color: #fff;
}

/* ---------- Salary list ---------- */
ul.salary-list { padding-left: 18px; margin: 0 0 20px; }
ul.salary-list li {
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 6px;
    color: #222;
}

/* ---------- Ads ---------- */
.ads-block { margin: 18px 0; text-align: center; }

/* ---------- Site Footer ---------- */
.site-footer {
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    padding: 22px 20px 18px;
    text-align: center;
}

.footer-logo {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: bold;
    color: #1a2a5a;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
}

.footer-logo .logo-badge {
    display: inline-block;
    background: #1a2a5a;
    color: #fff;
    font-family: Arial Black, Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 2px 5px;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 2px;
    text-transform: uppercase;
}

.footer-links { margin-bottom: 10px; }
.footer-links a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    margin: 0 10px;
}
.footer-links a:hover { text-decoration: underline; }

.footer-copy {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-top: 8px;
}

/* ---------- Application Form ---------- */
.form-container {
    max-width: 550px;
    margin: 30px auto;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px 25px;
}
.form-container h2 { text-align: center; color: #1a2a5a; margin-bottom: 8px; font-size: 22px; }
.form-container .subtitle {
    text-align: center; color: #555; font-family: Arial,sans-serif; font-size: 14px;
    margin-bottom: 22px; border-bottom: 1px solid #ddd; padding-bottom: 12px;
}
.form-container label { display: block; color: #222; font-family: Arial,sans-serif; font-size: 14px; font-weight: bold; margin-bottom: 5px; }
.form-container input,
.form-container select {
    width: 100%; padding: 10px 14px; border: 1px solid #ccc; border-radius: 8px;
    font-family: Arial,sans-serif; font-size: 14px; color: #222; background: #fff;
    margin-bottom: 14px; outline: none;
}
.form-container input:focus, .form-container select:focus {
    border-color: #1faa4b; box-shadow: 0 0 4px rgba(31,170,75,0.4);
}
.btn-apply {
    width: 100%; background: #1faa4b; color: #fff; padding: 13px; border: none;
    border-radius: 40px; font-size: 17px; font-weight: bold; font-family: Arial,sans-serif;
    cursor: pointer; transition: background 0.2s;
}
.btn-apply:hover { background: #14863a; }
.message {
    margin-top: 18px; padding: 12px; border-radius: 8px; text-align: center;
    font-weight: bold; font-family: Arial,sans-serif; background: rgba(31,170,75,0.85);
    color: #fff; display: none;
}
.footer-note { text-align: center; font-family: Arial,sans-serif; font-size: 12px; color: #888; margin-top: 18px; }

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
    h1 { font-size: 22px; }
    h3 { font-size: 17px; }
    p, ul.salary-list li { font-size: 16px; }
    .container { padding: 16px 14px 30px; }
    .research-btn { font-size: 15px; padding: 12px 13px; }
    .site-header { flex-wrap: wrap; gap: 8px; }
    .header-search input { width: 120px; }
    .btn-nav { font-size: 15px; padding: 14px 16px; }
}
