/* ============================================================
   JOB PORTAL CHILD — main.css
   Global styles. All classes prefixed jp- to avoid conflicts.
   ============================================================ */

/* ── GeneratePress overrides ─────────────────────────────── */
.entry-meta, .entry-footer, .post-navigation, .comments-area { display: none !important; }
.site-header { border-bottom: none !important; box-shadow: none !important; }
.site-main    { margin-top: 0 !important; padding-top: 0 !important; }
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: #ff6600 !important; }

/* ── Logo size ───────────────────────────────────────────── */
.site-branding .custom-logo,
.site-header   .custom-logo { height: 90px !important; width: auto !important; max-width: none !important; }
@media (min-width: 769px) {
    .site-branding .custom-logo,
    .site-header   .custom-logo { height: 90px !important; }
}

/* ── Header layout (mobile) ──────────────────────────────── */
.inside-header {
    display: flex !important; flex-direction: row !important;
    align-items: center !important; justify-content: space-between !important;
    flex-wrap: nowrap !important; padding: 10px 16px !important; min-height: 56px !important;
}
.site-branding { flex-shrink: 0 !important; margin: 0 !important; }
.menu-toggle {
    order: 2 !important; flex-shrink: 0 !important;
    padding: 6px 10px !important; margin: 0 !important;
    font-size: 0 !important; line-height: 0 !important;
    background: transparent !important; border: none !important;
    cursor: pointer !important; color: #fff !important; position: relative !important;
}
.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
    display: block !important; width: 24px !important; height: 2px !important;
    background: #fff !important; position: relative !important; transition: all .25s ease !important;
}
.menu-toggle-icon { margin: 10px 0 !important; }
.menu-toggle-icon::before, .menu-toggle-icon::after {
    content: '' !important; position: absolute !important; left: 0 !important;
}
.menu-toggle-icon::before { top: -8px !important; }
.menu-toggle-icon::after  { top:  8px !important; }
.main-navigation { width: 100% !important; order: 3 !important; }
@media (min-width: 769px) {
    .menu-toggle { display: none !important; }
    .inside-header { flex-wrap: nowrap !important; }
    .main-navigation { width: auto !important; flex: 1 !important; }
    .jp-search-desktop { display: block !important; }
}
@media (max-width: 768px) {
    .jp-search-desktop { display: none !important; }
}

/* ── Desktop search button ───────────────────────────────── */
.jp-search-desktop {
    position: fixed; top: 20px; right: 20px; z-index: 999;
}
#jp-search-toggle {
    background: #ff6600; border: none; border-radius: 50%;
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 4px 12px rgba(255,102,0,.3); transition: all .3s ease;
    color: #fff;
}
#jp-search-toggle:hover { background: #e65c00; transform: scale(1.1); }
.jp-search-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.95);
    z-index: 9999; display: none; align-items: center; justify-content: center;
}
.jp-search-overlay.active { display: flex; }
.jp-search-overlay-inner { max-width: 600px; width: 90%; position: relative; }
.jp-search-close {
    position: absolute; top: -50px; right: 0;
    background: transparent; border: none; color: #fff;
    font-size: 3rem; cursor: pointer; line-height: 1;
}
.jp-search-close:hover { color: #ff6600; }
.jp-search-form-overlay { display: flex; gap: 1rem; }
.jp-search-field {
    flex: 1; padding: 1.25rem 1.5rem; font-size: 1.25rem;
    border: 2px solid #fff; background: transparent; color: #fff; border-radius: 8px;
}
.jp-search-field:focus { outline: none; border-color: #ff6600; }
.jp-search-submit {
    padding: 1.25rem 2.5rem; background: #ff6600; color: #fff;
    border: none; border-radius: 8px; font-size: 1.125rem; font-weight: 700;
    cursor: pointer; transition: background .3s ease;
}
.jp-search-submit:hover { background: #e65c00; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer, .footer-widgets { background: #2c2c2c !important; color: #fff !important; }
.site-footer a, .footer-widgets a { color: #ff6600 !important; }
.site-footer a:hover { color: #e65c00 !important; }
.jp-footer-inner { padding: 3rem 2rem 1rem; max-width: 100%; }
.jp-footer-cols {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 2rem; max-width: 1200px; margin: 0 auto 2rem;
    padding-bottom: 2rem; border-bottom: 1px solid #444;
}
.jp-footer-col h3 {
    color: #fff; font-size: .85rem; font-weight: 700;
    letter-spacing: .05em; margin-bottom: 1rem;
    padding-bottom: .5rem; border-bottom: 1px solid #444;
}
.jp-footer-col p { font-size: .875rem; line-height: 1.7; color: #aaa; margin: 0; }
.jp-footer-nav {
    max-width: 1200px; margin: 0 auto 2rem;
    padding-bottom: 2rem; border-bottom: 1px solid #444;
}
.footer-nav-list {
    display: flex; flex-wrap: wrap; gap: .5rem 0;
    list-style: none; margin: 0; padding: 0;
}
.footer-nav-list li { margin: 0; }
.footer-nav-list a {
    display: inline-block; padding: .25rem 1rem;
    color: #ff6600 !important; text-decoration: none;
    font-size: .9rem; border-right: 1px solid #444;
}
.footer-nav-list li:first-child a { padding-left: 0; }
.footer-nav-list a:hover { color: #e65c00 !important; text-decoration: underline; }
.jp-footer-copy { text-align: center; font-size: .85rem; color: #888; }
.jp-footer-copy p { margin: 0; }
@media (max-width: 768px) {
    .jp-footer-cols { grid-template-columns: 1fr; }
    .footer-nav-list { flex-direction: column; }
    .footer-nav-list a { border-right: none; padding-left: 0; border-bottom: 1px solid #333; }
}

/* ── Homepage — Hero ─────────────────────────────────────── */
.jp-hero {
    background: #2c2c2c; color: #fff;
    text-align: center; padding: 44px 20px 36px;
}
.jp-hero-inner { max-width: 1200px; margin: 0 auto; }
.jp-hero h1 {
    font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 800;
    margin: 0 0 8px; line-height: 1.2; color: #fff;
}
.jp-hero-subtitle { font-size: .95rem; color: #bbb; margin: 0 0 24px; }

/* ── Hero search form ────────────────────────────────────── */
.jp-hero-search { margin-top: 20px; }
.jp-search-fields {
    display: flex; gap: 8px; flex-wrap: nowrap;
    align-items: stretch; max-width: 720px; margin: 0 auto;
}
.jp-search-input-wrap {
    position: relative; flex: 1 1 200px;
}
.jp-search-input-wrap svg {
    position: absolute; left: 12px; top: 50%;
    transform: translateY(-50%); color: rgba(255,255,255,.5); pointer-events: none;
}
.jp-search-input-wrap input[type="text"],
.jp-search-input-wrap select {
    width: 100%; padding: 13px 14px 13px 38px;
    border: 2px solid rgba(255,255,255,.2); border-radius: 10px;
    font-size: .95rem; background: rgba(255,255,255,.12); color: #fff;
    transition: border-color .2s, background .2s;
    appearance: none; -webkit-appearance: none;
}
.jp-search-input-wrap input::placeholder { color: rgba(255,255,255,.55); }
.jp-search-input-wrap input:focus,
.jp-search-input-wrap select:focus {
    outline: none; border-color: #ff6600; background: rgba(255,255,255,.18);
}
.jp-search-input-wrap select option { background: #2c2c2c; color: #fff; }
.jp-search-btn {
    flex-shrink: 0; padding: 13px 28px;
    background: #ff6600; color: #fff; border: none; border-radius: 10px;
    font-size: 1rem; font-weight: 700; cursor: pointer; transition: background .2s;
    white-space: nowrap;
}
.jp-search-btn:hover { background: #e65c00; }
@media (max-width: 600px) {
    .jp-search-fields { flex-wrap: wrap; }
    .jp-search-input-wrap { flex: 1 1 100%; }
    .jp-search-btn { width: 100%; }
    .jp-hero { padding: 1.8rem 1rem 1.5rem; }
}

/* ── Homepage — Features ─────────────────────────────────── */
.jp-features { background: #f5f5f5; padding: 2.5rem 1.5rem; }
.jp-features-inner { max-width: 1200px; margin: 0 auto; }
.jp-features-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
.jp-feature-item {
    text-align: center; background: #fff;
    padding: 2rem 1.25rem; border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}
.jp-feature-item:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.jp-feature-icon { margin-bottom: 1.25rem; color: #2c2c2c; }
.jp-feature-icon-primary { color: #ff6600 !important; }
.jp-feature-item h3 { font-size: 1.125rem; margin-bottom: .75rem; color: #2c2c2c; font-weight: 700; }
.jp-feature-item p  { font-size: .9rem; line-height: 1.6; color: #666; margin: 0; }
.jp-feature-cta { border: 2px solid #ff6600; }
.jp-btn-search {
    display: inline-block; margin-top: 1.25rem;
    padding: .875rem 2rem; background: #ff6600; color: #fff !important;
    text-decoration: none; border-radius: 8px; font-weight: 700;
    transition: all .3s ease; box-shadow: 0 4px 12px rgba(255,102,0,.3);
}
.jp-btn-search:hover { background: #e65c00; transform: translateY(-2px); }
@media (max-width: 768px) {
    .jp-features-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .jp-feature-cta { order: -1; }
}

/* ── Ad slots ────────────────────────────────────────────── */
.jp-ad-slot {
    padding: 1.5rem 2rem; background: #fff;
    display: flex; align-items: center; justify-content: center; min-height: 90px;
}
.jp-ad-inline { grid-column: 1 / -1; }

/* ── Companies grid ──────────────────────────────────────── */
.jp-companies { padding: 3rem 2rem; background: #fff; }
.jp-companies-inner { max-width: 1200px; margin: 0 auto; }
.jp-companies h2 { text-align: center; font-size: 1.75rem; margin-bottom: 2rem; color: #2c2c2c; }
.jp-companies-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.jp-company-card {
    background: #f9f9f9; border-radius: 8px; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.jp-company-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,.12); }
.jp-company-card a { text-decoration: none; display: block; }
.jp-company-img { width: 100%; height: 160px; overflow: hidden; }
.jp-company-img img { width: 100%; height: 100%; object-fit: cover; }
.jp-company-img-placeholder { background: #f0f0f0; display: flex; align-items: center; justify-content: center; height: 160px; }
.jp-company-card h3 { padding: .75rem 1rem; font-size: .95rem; color: #2c2c2c; margin: 0; }
@media (max-width: 768px) { .jp-companies-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ── Posts grid ──────────────────────────────────────────── */
.jp-posts { padding: 3rem 2rem; background: #f5f5f5; }
.jp-posts-inner { max-width: 1200px; margin: 0 auto; }
.jp-posts h2 { text-align: center; font-size: 1.75rem; margin-bottom: 2rem; color: #2c2c2c; }
.jp-posts-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem;
}
.jp-post-card {
    background: #fff; border-radius: 8px; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.jp-post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,.12); }
.jp-post-card a { text-decoration: none; display: block; }
.jp-post-img { width: 100%; height: 200px; overflow: hidden; }
.jp-post-img img { width: 100%; height: 100%; object-fit: cover; }
.jp-post-img-placeholder { width: 100%; height: 200px; background: #f0f0f0; }
.jp-post-body { padding: 1rem 1.25rem 1.25rem; }
.jp-post-body h3 { font-size: 1rem; color: #2c2c2c; margin: 0 0 .5rem; line-height: 1.5; }
.jp-post-body p  { font-size: .875rem; color: #666; line-height: 1.6; margin: 0; }
.jp-view-all { text-align: center; margin-top: 2rem; }
.jp-btn-view-all {
    display: inline-block; padding: .875rem 2rem;
    background: #2c2c2c; color: #fff !important;
    text-decoration: none; border-radius: 8px; font-weight: 600;
    transition: all .3s ease;
}
.jp-btn-view-all:hover { background: #1a1a1a; transform: translateY(-2px); }
@media (max-width: 1024px) { .jp-posts-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  { .jp-posts-grid { grid-template-columns: 1fr; } }

/* ── CTA buttons (imported posts) ───────────────────────── */
.jp-cta-buttons {
    display: flex; flex-wrap: wrap; gap: 14px;
    margin: 28px 0; justify-content: center;
}
.jp-cta-buttons a {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 26px; border-radius: 50px; text-decoration: none !important;
    font-weight: 700; font-size: .95rem; letter-spacing: .03em;
    text-align: center; line-height: 1.2;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,.15); min-height: 48px;
}
.jp-cta-buttons a:hover { opacity: .88; transform: translateY(-2px); text-decoration: none !important; }
.jp-img-center { text-align: center; margin: 1.5rem 0; }
.jp-img-center img { max-width: 100%; height: auto; border-radius: 6px; }
@media (max-width: 600px) {
    .jp-cta-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
    .jp-cta-buttons a { width: 100%; border-radius: 12px; font-size: 1rem; padding: 1rem 1.5rem; min-height: 52px; }
}

/* ── Archive page ────────────────────────────────────────── */
.jp-archive-inner { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
.jp-cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.jp-cat-btn {
    display: inline-block; padding: 6px 16px;
    background: #f0f0f0; color: #333; text-decoration: none;
    border-radius: 20px; font-size: .875rem; transition: all .2s ease;
}
.jp-cat-btn:hover, .jp-cat-btn.active {
    background: #ff6600; color: #fff;
}
.jp-archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-bottom: 2rem; }
.jp-pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 1.5rem; padding: 2rem 0;
}
.jp-page-btn {
    display: inline-block; padding: .75rem 1.5rem;
    background: #2c2c2c; color: #fff !important; text-decoration: none;
    border-radius: 8px; font-weight: 600; transition: background .2s;
}
.jp-page-btn:hover { background: #ff6600; }
.jp-page-info { color: #666; font-size: .9rem; }
@media (max-width: 1024px) { .jp-archive-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  { .jp-archive-grid { grid-template-columns: 1fr; } }

/* ── Legal / info pages ──────────────────────────────────── */
.jp-legal-hero {
    background: #2c2c2c; padding: 1.25rem 2rem; text-align: center;
}
.jp-legal-hero h1 { color: #fff; font-size: 1.6rem; margin: 0; }
.jp-legal-hero p  { color: #bbb; margin: .4rem 0 0; font-size: 1rem; }
.jp-legal-content { padding: 2rem 1.25rem; background: #fff; }
.jp-legal-inner { max-width: 860px; margin: 0 auto; }
.jp-legal-inner h1 {
    font-size: 1.75rem; color: #2c2c2c; margin-bottom: 2rem;
    padding-bottom: 1rem; border-bottom: 3px solid #ff6600;
}
.jp-legal-inner h2 { font-size: 1.125rem; color: #2c2c2c; margin: 2rem 0 .75rem; font-weight: 700; }
.jp-legal-inner p  { font-size: 1rem; line-height: 1.8; color: #444; margin-bottom: 1rem; }
.jp-legal-inner ul, .jp-legal-inner ol { margin: .75rem 0 1.25rem 1.5rem; }
.jp-legal-inner li { font-size: 1rem; line-height: 1.8; color: #444; margin-bottom: .5rem; }
.jp-legal-inner a  { color: #ff6600; word-break: break-word; }
.jp-legal-inner a:hover { text-decoration: underline; }
@media (min-width: 768px) {
    .jp-legal-content { padding: 3rem 2rem; }
    .jp-legal-inner h1 { font-size: 2.25rem; }
}

/* ── Contact form ────────────────────────────────────────── */
.jp-contact-wrap { max-width: 700px; margin: 0 auto; padding: 3rem 1.5rem; }
.jp-notice {
    padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem;
    font-size: .95rem; font-weight: 600;
}
.jp-notice-success { background: #f0fff4; border: 1px solid #9ae6b4; color: #276749; }
.jp-notice-error   { background: #fff5f5; border: 1px solid #feb2b2; color: #742a2a; }
.jp-contact-form { background: #fff; padding: 2.5rem; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.jp-form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.jp-form-group { margin-bottom: 1.5rem; }
.jp-form-group label { display: block; margin-bottom: .5rem; font-weight: 600; color: #2c2c2c; }
.jp-form-group input,
.jp-form-group textarea {
    width: 100%; padding: .875rem 1rem;
    border: 1px solid #ddd; border-radius: 6px;
    font-size: 1rem; font-family: inherit;
    transition: border-color .3s ease; box-sizing: border-box;
}
.jp-form-group input:focus,
.jp-form-group textarea:focus { outline: none; border-color: #ff6600; }
.jp-btn-submit {
    width: 100%; padding: 1rem 2rem; background: #ff6600;
    color: #fff; border: none; border-radius: 8px;
    font-size: 1.125rem; font-weight: 700; cursor: pointer;
    transition: all .3s ease;
}
.jp-btn-submit:hover { background: #e65c00; transform: translateY(-2px); }
@media (max-width: 768px) {
    .jp-form-row { grid-template-columns: 1fr; gap: 0; }
    .jp-contact-form { padding: 1.5rem; }
}

/* ── Jobs page ───────────────────────────────────────────── */
.jp-jobs-inner { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }

/* ── Generic page ────────────────────────────────────────── */
.jp-page-inner { max-width: 860px; margin: 0 auto; padding: 3rem 2rem; }
.jp-page-inner h1 { font-size: 2rem; color: #2c2c2c; margin-bottom: 2rem; border-bottom: 3px solid #ff6600; padding-bottom: 1rem; }
.jp-page-content { font-size: 1rem; line-height: 1.8; color: #444; }

/* ── Mobile padding reductions ───────────────────────────── */
@media (max-width: 768px) {
    .jp-features  { padding: 1.2rem 1rem; }
    .jp-companies { padding: 1.2rem 1rem; }
    .jp-posts     { padding: 1.2rem 1rem; }
    .jp-ad-slot   { padding: .75rem 1rem; }
}

/* ── About / Team page ───────────────────────────────────── */
.team-hero {
    background: #2c2c2c;
    padding: 3rem 2rem;
    text-align: center;
}
.team-hero h1 { color: #ffffff; font-size: 2rem; margin: 0; }

.team-members { padding: 3rem 2rem; background: #f5f5f5; }
.team-members-inner { max-width: 1200px; margin: 0 auto; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.team-member { text-align: center; }
.team-photo {
    width: 100%; aspect-ratio: 1;
    border-radius: 12px; overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #e8e8e8;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member h3 { font-size: 1.25rem; color: #2c2c2c; margin: 0; }

.team-cta { text-align: center; }
.btn-team-contact {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: #ffcc00; color: #000000 !important;
    text-decoration: none; border-radius: 8px;
    font-weight: 700; font-size: 1.125rem;
    transition: all 0.3s ease; border: 2px solid #000000;
}
.btn-team-contact:hover { background: #e6b800; transform: translateY(-2px); }

.team-about { padding: 3rem 2rem; background: #ffffff; }
.team-about-inner { max-width: 800px; margin: 0 auto; }
.team-about p { font-size: 1.0625rem; line-height: 1.8; color: #444; margin-bottom: 1.5rem; }

@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; gap: 2rem; }
    .team-hero h1 { font-size: 1.75rem; }
}

/* ── Contact page (original class names) ─────────────────── */
.contact-hero { background: #2c2c2c; padding: 3rem 2rem 2rem; text-align: center; }
.contact-hero-inner { max-width: 1200px; margin: 0 auto; }
.contact-hero h1 { color: #ffffff; font-size: 2rem; margin: 0 0 0.75rem; }
.contact-hero p  { color: #cccccc; font-size: 1.125rem; margin: 0; }

.contact-form-section { padding: 3rem 2rem; background: #f5f5f5; }
.contact-form-inner { max-width: 700px; margin: 0 auto; }
.contact-form {
    background: #ffffff; padding: 2.5rem;
    border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #2c2c2c; }
.form-group input,
.form-group textarea {
    width: 100%; padding: 0.875rem 1rem;
    border: 1px solid #ddd; border-radius: 6px;
    font-size: 1rem; font-family: inherit;
    transition: border-color 0.3s ease; box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #ff6600; }
.btn-submit {
    width: 100%; padding: 1rem 2rem; background: #ff6600;
    color: #ffffff; border: none; border-radius: 8px;
    font-size: 1.125rem; font-weight: 700; cursor: pointer;
    transition: all 0.3s ease;
}
.btn-submit:hover { background: #e65c00; transform: translateY(-2px); }

.contact-info { padding: 3rem 2rem; background: #ffffff; }
.contact-info-inner { max-width: 1000px; margin: 0 auto; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.info-item { text-align: center; padding: 2rem 1.5rem; background: #f9f9f9; border-radius: 8px; }
.info-item h3 { font-size: 1.25rem; margin-bottom: 1rem; color: #2c2c2c; }
.info-item p  { font-size: 1rem; color: #666; margin: 0; }
.info-item a  { color: #ff6600; text-decoration: none; }
.info-item a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: 1.5rem; }
    .info-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-hero h1 { font-size: 1.75rem; }
}

/* ── Legal pages (original class names) ──────────────────── */
.legal-page { background: #ffffff; }
.legal-inner { max-width: 860px; margin: 0 auto; padding: 2rem 1.25rem; }
.legal-inner h1 {
    font-size: 1.75rem; color: #2c2c2c;
    margin-bottom: 2rem; padding-bottom: 1rem;
    border-bottom: 3px solid #ff6600;
}
.legal-inner h2 { font-size: 1.125rem; color: #2c2c2c; margin: 2rem 0 0.75rem; font-weight: 700; }
.legal-inner p  { font-size: 1rem; line-height: 1.8; color: #444; margin-bottom: 1rem; }
.legal-inner ul, .legal-inner ol { margin: 0.75rem 0 1.25rem 1.5rem; }
.legal-inner li { font-size: 1rem; line-height: 1.8; color: #444; margin-bottom: 0.5rem; }
.legal-inner a  { color: #ff6600; word-break: break-word; }
.legal-inner a:hover { text-decoration: underline; }
@media (min-width: 768px) {
    .legal-inner { padding: 3rem 2rem; }
    .legal-inner h1 { font-size: 2.25rem; }
}
