/* Odoo Customization page. Scoped to main.oc so these rules cannot affect other pages. */

.oc .op-hero .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.oc .op-hero-copy p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 14px;
}

.oc .oc-hero-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 4px 0 18px;
}

.oc .oc-intro {
    color: #555;
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 760px;
}

.oc .text-center .oc-intro {
    margin-left: auto;
    margin-right: auto;
}

.oc .oc-prose {
    max-width: 820px;
}

.oc .oc-prose p,
.oc .oc-card p,
.oc .oc-faq p,
.oc .oc-follow {
    color: #444;
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0 0 14px;
}

.oc .oc-prose p:last-child,
.oc .oc-card p:last-child,
.oc .oc-follow:last-child {
    margin-bottom: 0;
}

.oc .oc-follow {
    max-width: 820px;
}

.oc .oc-prose a,
.oc .oc-card a,
.oc .oc-faq a,
.oc .oc-follow a,
.oc .oc-intro a,
.oc .oc-reasons a {
    color: #004a99;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.oc .oc-prose a:hover,
.oc .oc-card a:hover,
.oc .oc-faq a:hover,
.oc .oc-follow a:hover,
.oc .oc-intro a:hover,
.oc .oc-reasons a:hover {
    color: #003875;
}

.oc h3 {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    color: #001e4a;
    line-height: 1.3;
}

.oc .oc-subhead {
    font-size: 1.28rem;
    margin: 32px 0 12px;
}

.oc .oc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.oc .oc-cards-compact {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.oc .oc-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 26px 26px 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    min-width: 0;
}

.oc .oc-card i {
    font-size: 1.6rem;
    color: #004a99;
}

.oc .oc-card h3 {
    font-size: 1.16rem;
    margin: 12px 0 12px;
}

.oc .oc-cards-compact .oc-card h3 {
    margin-top: 0;
}

.oc .oc-card b {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #004a99;
    margin-bottom: 2px;
}

.oc .section-bg .oc-card {
    background: #fff;
}

.oc .oc-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    margin-top: 8px;
}

.oc .oc-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
}

.oc .oc-table th,
.oc .oc-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 0.96rem;
    line-height: 1.6;
}

.oc .oc-table thead th {
    background: #001e4a;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    border-bottom: none;
}

.oc .oc-table tbody tr:last-child td {
    border-bottom: none;
}

.oc .oc-table td:first-child {
    font-weight: 700;
    color: #001e4a;
}

.oc code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    background: #eaf1fa;
    color: #001e4a;
    padding: 1px 6px;
    border-radius: 4px;
}

.oc .oc-reasons,
.oc .oc-checks {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: grid;
    gap: 14px;
}

.oc .oc-reasons li,
.oc .oc-checks li {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 20px 22px;
    color: #444;
    line-height: 1.7;
}

.oc .section-bg .oc-reasons li,
.oc .section-bg .oc-checks li {
    background: #fff;
}

.oc .oc-reasons strong,
.oc .oc-checks strong {
    color: #001e4a;
}

.oc .oc-projects {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.oc .oc-projects a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 24px;
    color: #001e4a;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.45;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.oc .oc-projects a i {
    color: #004a99;
    flex-shrink: 0;
}

.oc .oc-projects a:hover {
    color: #004a99;
}

.oc .oc-regions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    max-width: 860px;
    margin: 28px auto 0;
}

.oc .oc-region {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 22px 24px;
    color: #001e4a;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.oc .oc-region span {
    display: flex;
    align-items: center;
    gap: 14px;
}

.oc .oc-region img {
    width: 42px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.oc .oc-region i {
    color: #004a99;
}

.oc .oc-region:hover {
    color: #004a99;
}

.oc .oc-faq {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.oc .oc-faq details {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.oc .oc-faq details:last-child {
    border-bottom: none;
}

.oc .oc-faq summary {
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    color: #001e4a;
    padding: 18px 48px 18px 22px;
    list-style: none;
    position: relative;
    line-height: 1.45;
}

.oc .oc-faq summary::-webkit-details-marker {
    display: none;
}

.oc .oc-faq summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 16px;
    color: #004a99;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1;
}

.oc .oc-faq details[open] summary::after {
    content: "\2013";
}

.oc .oc-faq summary:focus-visible {
    outline: 2px solid #004a99;
    outline-offset: -2px;
}

.oc .oc-faq details p {
    padding: 0 22px 18px;
}

.oc .oc-cta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-top: 22px;
}

.oc .oc-cta-line p {
    margin: 0;
    color: #444;
    max-width: 46ch;
}

.oc .oc-close .op-cta-panel-inner {
    padding: 48px 40px;
    align-items: flex-start;
    max-width: 820px;
}

.oc .oc-close h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.oc .oc-close p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
    max-width: 68ch;
}

@media (max-width: 991px) {
    .oc .op-hero-copy p,
    .oc .oc-hero-meta {
        max-width: none;
    }
}

@media (max-width: 575px) {
    .oc .oc-card,
    .oc .oc-region,
    .oc .oc-projects a {
        padding: 20px;
    }

    .oc .oc-close .op-cta-panel-inner {
        padding: 32px 22px;
    }

    .oc .oc-table {
        min-width: 640px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oc .oc-projects a,
    .oc .oc-region {
        transition: none;
    }
}
