body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #132a45;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 1rem 0.55rem;
}

.brand {
    flex: 0 0 auto;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
}

.brand-logo-image {
    display: block;
    max-width: 240px;
    height: auto;
}

.brand-sub {
    font-size: 0.8rem;
    opacity: 0.85;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.9rem;
}

.main-nav a,
.lang-switch a {
    text-decoration: none;
    color: #333;
}

.main-nav a {
    position: relative;
    padding-bottom: 2px;
}

.main-nav-primary a {
    font-weight: 500;
    font-size: 0.92rem;
}

.main-nav-secondary {
    justify-content: center;
    font-size: 0.9rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #f9b300;
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.lang-switch .active {
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .brand-logo-image {
        max-width: 190px;
    }
}

.hero {
    position: relative;
    background: linear-gradient(135deg, #07396f 0%, #185c9e 100%);
    color: #fff;
    padding: 5.5rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 17, 33, 0.72) 0%, rgba(3, 17, 33, 0.45) 42%, rgba(3, 17, 33, 0.16) 100%);
    z-index: 1;
}

.hero.is-home {
    background: #0c2743;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 360px;
}

.hero-text h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    line-height: 1.03;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-text p {
    margin-top: 0.7rem;
    max-width: 760px;
    font-size: 1.15rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-pill {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    background: rgba(5, 21, 40, 0.35);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 2;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #1a62b5;
}

.hero-menu {
    background: #ffffff;
}

.hero-menu-inner {
    padding: 0.7rem 0;
}

.subnav-bar {
    background: #efefef;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.main-nav-secondary {
    justify-content: flex-start;
}

.main-nav-secondary a {
    padding: 0 0.75rem;
    border-left: 1px solid #999;
    font-size: 0.9rem;
}

.main-nav-secondary a:first-child {
    border-left: none;
    padding-left: 0;
}

@media (max-width: 900px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-inner {
        min-height: 260px;
    }

    .hero-text h1 {
        font-size: clamp(1.9rem, 7vw, 3rem);
    }

    .about-feature {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .about-feature-image {
        min-height: 320px;
    }

    .about-feature-content {
        padding: 2rem 1.25rem;
    }

    .logos-grid-primary {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .logos-grid-secondary {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

.section {
    padding: 3rem 1rem;
}

.products-showcase {
    position: relative;
    background: #f2f4f5;
    overflow: hidden;
}

.products-overlay {
    position: absolute;
    left: -120px;
    top: 0;
    width: 320px;
    height: 100%;
    opacity: 0.28;
    background: radial-gradient(circle at 55% 50%, rgba(160, 170, 177, 0.35) 0%, rgba(160, 170, 177, 0.12) 45%, rgba(160, 170, 177, 0) 72%);
    pointer-events: none;
}

.products-inner {
    position: relative;
    z-index: 1;
    padding: 4rem 1rem 3.2rem;
    text-align: center;
}

.products-inner h2 {
    margin: 0;
    font-size: 2rem;
    color: #30343a;
}

.products-subtitle {
    margin: 0.8rem auto 2.2rem;
    max-width: 640px;
    color: #5a626b;
    font-size: 0.95rem;
}

.logos-grid {
    display: grid;
    gap: 1.6rem 2.1rem;
    justify-items: center;
    align-items: center;
}

.logos-grid img {
    max-width: 165px;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: saturate(0.98);
}

.logos-grid-primary {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
}

.products-inner h3 {
    margin: 3.5rem 0 1.6rem;
    font-size: 1.95rem;
    color: #3a3f45;
    font-weight: 700;
}

.logos-grid-secondary {
    grid-template-columns: repeat(6, minmax(95px, 1fr));
}

.about-feature {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    min-height: 620px;
}

.about-feature-image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.about-feature-content {
    background: #dbe7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.about-feature-inner {
    max-width: 420px;
}

.about-feature-inner h2 {
    margin: 0 0 2rem;
    text-align: center;
    font-size: 2rem;
    color: #1b3548;
}

.about-feature-inner .lead {
    font-size: 1rem;
    line-height: 1.9;
    color: #233d4d;
}

.about-details-section {
    background: #f6f8fb;
    padding: 3.2rem 0 3.6rem;
}

.about-details-inner {
    max-width: 900px;
}

.about-details-inner h2 {
    margin: 0 0 1.1rem;
    text-align: center;
    color: #2a2e6b;
    font-size: 2rem;
}

.about-details-inner p {
    margin: 0 0 1rem;
    color: #2e3a45;
    font-size: 1rem;
    line-height: 1.8;
}

.about-details-inner p:last-child {
    margin-bottom: 0;
}

.section-light {
    background: #f5f7fb;
}

.section-muted {
    background: #eef2f7;
}

.section h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.lead {
    font-size: 1rem;
    line-height: 1.6;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.card {
    border: 1px solid #d7dce2;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.04);
}

.service-card h3 {
    margin: 0;
    font-size: 0.98rem;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    margin: 0.4rem 0;
}

.site-footer {
    background: #efefef;
    color: #2f3440;
    padding-top: 2.6rem;
    border-top: 1px solid #d9d9d9;
    font-family: inherit;
}

.site-footer a {
    color: #2a2e6b;
    text-decoration: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 380px);
    gap: 1.4rem;
    align-items: center;
    padding-bottom: 2rem;
}

.footer-newsletter-copy h3 {
    margin: 0 0 0.45rem;
    font-size: 1.6rem;
    line-height: 1.25;
    font-weight: 700;
}

.footer-newsletter-copy p {
    margin: 0;
    color: #505762;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d3d8df;
    border-radius: 999px;
    padding: 0.3rem;
}

.footer-newsletter-form input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0.7rem 0.95rem;
    font-size: 0.92rem;
    outline: none;
    color: #1f2130;
    font-family: inherit;
}

.footer-newsletter-form button {
    border: 0;
    background: #2a2e6b;
    color: #fff;
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: inherit;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 1.4rem;
    padding: 1.7rem 0 2rem;
}

.footer-brand h4 {
    margin: 0 0 0.65rem;
    font-size: 1.35rem;
    line-height: 1.3;
    color: #2a2e6b;
    font-weight: 700;
}

.footer-brand p {
    margin: 0;
    color: #4e5662;
    font-size: 0.95rem;
    line-height: 1.65;
}

.footer-col h5 {
    margin: 0 0 0.7rem;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #2a2e6b;
    font-weight: 700;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-col a {
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #d2d7de;
    padding: 1rem 0 1.15rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom small {
    color: #5b6370;
    font-size: 0.86rem;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #2a2e6b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #2a2e6b;
}

@media (max-width: 1000px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .site-footer {
        padding-top: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        padding-bottom: 1.4rem;
    }

    .footer-newsletter-copy h3 {
        font-size: 1.55rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding-top: 1.2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.services-showcase {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.services-showcase-overlay {
    background: rgba(15, 31, 45, 0.45);
    padding: 3.2rem 0;
}

.services-showcase-inner h2 {
    margin: 0 0 1.3rem;
    text-align: center;
    color: #fff;
    font-size: 2.1rem;
}

.services-grid-pro {
    display: grid;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    border: 1px solid rgba(0, 0, 0, 0.28);
}

.service-pro-card {
    background: rgba(255, 255, 255, 0.85);
    border-right: 1px solid rgba(0, 0, 0, 0.24);
    border-bottom: 1px solid rgba(0, 0, 0, 0.24);
    padding: 1rem 1rem 1.15rem;
    min-height: 188px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    text-align: center;
}

.service-pro-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    margin-bottom: 0.1rem;
}

.service-pro-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.service-pro-card:nth-child(4n) {
    border-right: none;
}

.service-pro-card:nth-last-child(-n + 4) {
    border-bottom: none;
}

.service-pro-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: #111;
}

.service-pro-card p {
    margin: 0;
    font-size: 0.87rem;
    line-height: 1.5;
    color: #1f252a;
}

@media (max-width: 900px) {
    .logos-grid-primary {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .logos-grid-secondary {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .services-grid-pro {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }

    .service-pro-card {
        min-height: 180px;
    }

    .service-pro-card:nth-child(2n) {
        border-right: none;
    }

    .service-pro-card:nth-last-child(-n + 4) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.24);
    }

    .service-pro-card:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

@media (max-width: 640px) {
    .services-grid-pro {
        grid-template-columns: 1fr;
    }

    .service-pro-card {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.24) !important;
    }

    .service-pro-card:last-child {
        border-bottom: none !important;
    }
}

.approvals-showcase {
    position: relative;
    background: #f2f3f4;
    overflow: hidden;
    padding: 4.4rem 0 4.8rem;
}

.approvals-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background:
        radial-gradient(circle at 12% 20%, rgba(160, 168, 175, 0.2) 0%, rgba(160, 168, 175, 0) 36%),
        radial-gradient(circle at 85% 35%, rgba(160, 168, 175, 0.2) 0%, rgba(160, 168, 175, 0) 34%),
        radial-gradient(circle at 50% 92%, rgba(160, 168, 175, 0.2) 0%, rgba(160, 168, 175, 0) 33%);
    pointer-events: none;
}

.approvals-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.approvals-inner h2 {
    margin: 0;
    font-size: 2rem;
    color: #333a40;
}

.approvals-subtitle {
    margin: 0.8rem auto 2.2rem;
    max-width: 820px;
    color: #4d555d;
    line-height: 1.7;
    font-size: 0.95rem;
}

.approvals-logos {
    display: grid;
    grid-template-columns: repeat(7, minmax(95px, 1fr));
    gap: 1.3rem 1.6rem;
    align-items: center;
    justify-items: center;
}

.approvals-logos img {
    max-width: 118px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .approvals-logos {
        grid-template-columns: repeat(4, minmax(100px, 1fr));
    }
}

@media (max-width: 640px) {
    .approvals-showcase {
        padding: 3.2rem 0 3.6rem;
    }

    .approvals-logos {
        grid-template-columns: repeat(2, minmax(110px, 1fr));
    }
}

.newbuilding-feature {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    min-height: 620px;
}

.newbuilding-image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.newbuilding-content {
    background: #dbe7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.newbuilding-inner {
    max-width: 430px;
}

.newbuilding-inner h2 {
    margin: 0 0 1.7rem;
    text-align: center;
    font-size: 2rem;
    color: #253d4f;
}

.newbuilding-inner p {
    margin: 0 0 1.25rem;
    color: #2c4454;
    line-height: 1.85;
    font-size: 0.96rem;
}

.newbuilding-inner p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .newbuilding-feature {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .newbuilding-image {
        min-height: 320px;
    }

    .newbuilding-content {
        padding: 2rem 1.25rem;
    }
}

.enavigation-section {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.enavigation-overlay {
    background: rgba(255, 255, 255, 0.15);
    padding: 4.6rem 0;
}

.enavigation-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(380px, 1fr);
    gap: 3rem;
    align-items: start;
}

.enavigation-intro {
    padding-top: 3.1rem;
    color: #1f2c3a;
}

.enavigation-intro h2 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.05;
}

.enavigation-intro h3 {
    margin: 0.35rem 0 1.8rem;
    font-size: 1.95rem;
    color: #1f3f6f;
}

.enavigation-intro h4 {
    margin: 0 0 0.5rem;
    font-size: 1.55rem;
    font-weight: 700;
}

.enavigation-intro p {
    margin: 0;
    font-size: 1.18rem;
}

.enavigation-accordion {
    background: rgba(243, 243, 243, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.enav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.enav-item:last-child {
    border-bottom: none;
}

.enav-trigger {
    width: 100%;
    display: flex;
    gap: 0.65rem;
    align-items: center;
    border: 0;
    background: transparent;
    color: #222b34;
    padding: 0.95rem 1rem;
    text-align: left;
    font-size: 1.12rem;
    cursor: pointer;
}

.enav-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #303841;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1;
}

.enav-body {
    display: none;
    padding: 0 1rem 1rem 2.63rem;
    color: #2f3a45;
}

.enav-item.is-open .enav-body {
    display: block;
}

.enav-body p {
    margin: 0 0 0.7rem;
    line-height: 1.65;
    font-size: 0.95rem;
}

.enav-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .enavigation-overlay {
        padding: 3.2rem 0;
    }

    .enavigation-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .enavigation-intro {
        padding-top: 0;
    }

    .enavigation-intro h2 {
        font-size: 2.3rem;
    }

    .enavigation-intro h3 {
        font-size: 1.45rem;
        margin-bottom: 1rem;
    }

    .enavigation-intro h4 {
        font-size: 1.2rem;
    }

    .enavigation-intro p {
        font-size: 1rem;
    }
}

.training-feature {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    min-height: 620px;
}

.training-content {
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.training-inner {
    max-width: 430px;
}

.training-inner h2 {
    margin: 0 0 1.7rem;
    text-align: center;
    font-size: 2rem;
    color: #2a3138;
}

.training-inner p {
    margin: 0 0 1.2rem;
    color: #2f3a44;
    line-height: 1.85;
    font-size: 0.96rem;
}

.training-inner p:last-child {
    margin-bottom: 0;
}

.training-image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

@media (max-width: 900px) {
    .training-feature {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .training-image {
        min-height: 320px;
    }

    .training-content {
        padding: 2rem 1.25rem;
    }
}

.marine-section {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.marine-overlay {
    background: rgba(18, 29, 38, 0.22);
    padding: 2.8rem 0;
}

.marine-inner {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    gap: 1rem;
}

.marine-side-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 3.1rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.78);
    letter-spacing: 0.08em;
}

.marine-card {
    width: min(620px, 100%);
    background: rgba(255, 255, 255, 0.86);
    padding: 1.35rem 1.35rem 1.2rem;
}

.marine-card h2 {
    margin: 0 0 0.6rem;
    font-size: 2rem;
    color: #111a23;
}

.marine-services-list {
    margin: 0 0 1rem;
    padding-left: 1rem;
}

.marine-services-list li {
    margin: 0.25rem 0;
    line-height: 1.4;
    font-size: 0.95rem;
}

.marine-card h3 {
    margin: 0.45rem 0 0.7rem;
    font-size: 1.55rem;
    color: #111a23;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #111a23;
    padding-bottom: 0.35rem;
}

.marine-certified-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 1rem 1.2rem;
}

.marine-certified-grid ul {
    margin: 0;
    padding-left: 1rem;
}

.marine-certified-grid li {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .marine-overlay {
        padding: 2rem 0;
    }

    .marine-inner {
        flex-direction: column;
        gap: 0.6rem;
    }

    .marine-side-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 2.2rem;
        letter-spacing: 0.02em;
    }

    .marine-certified-grid {
        grid-template-columns: 1fr;
    }

    .marine-card {
        padding: 1rem;
    }
}

.latest-news-section {
    background: #f6f8fb;
    padding: 4rem 0 4.2rem;
}

.latest-news-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.latest-news-head h2 {
    margin: 0;
    font-size: 2rem;
    color: #1b2d3f;
}

.latest-news-nav {
    display: flex;
    gap: 0.45rem;
}

.news-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid #b8c4d1;
    background: #fff;
    color: #1b2d3f;
    font-size: 1.2rem;
    cursor: pointer;
}

.news-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.latest-news-viewport {
    overflow: hidden;
}

.latest-news-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% / 3);
    transition: transform 0.35s ease;
}

.news-card {
    margin: 0.35rem;
    border: 1px solid #d6dee7;
    background: #fff;
    padding: 1.05rem;
    min-height: 180px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.news-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.08rem;
    color: #142638;
}

.news-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #3a4a59;
}

.latest-news-cta-wrap {
    margin-top: 1.35rem;
    text-align: center;
}

.latest-news-cta {
    display: inline-block;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    background: #0b325a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .latest-news-track {
        grid-auto-columns: calc(100% / 2);
    }
}

@media (max-width: 700px) {
    .latest-news-section {
        padding: 3rem 0 3.2rem;
    }

    .latest-news-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .latest-news-track {
        grid-auto-columns: 100%;
    }
}

.contact-final-section {
    background: #eef2f7;
    padding: 3.6rem 0;
}

.contact-final-inner {
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(340px, 1fr);
    gap: 1.2rem;
    align-items: stretch;
}

.contact-final-info {
    background: #fff;
    border: 1px solid #d6dee7;
    padding: 1.4rem 1.2rem;
}

.contact-final-info h2 {
    margin: 0 0 0.7rem;
    font-size: 1.8rem;
    color: #1a2f43;
}

.contact-company {
    margin: 0 0 0.9rem;
    font-weight: 700;
    color: #1e3d57;
}

.contact-actions {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-actions a {
    color: #0b325a;
    text-decoration: none;
    font-weight: 600;
}

.contact-actions a:hover {
    text-decoration: underline;
}

.contact-final-map {
    min-height: 360px;
    border: 1px solid #d6dee7;
    overflow: hidden;
}

.contact-final-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .contact-final-inner {
        grid-template-columns: 1fr;
    }

    .contact-final-map {
        min-height: 320px;
    }
}

.header-auth-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    border: 1px solid #2a2e6b;
    border-radius: 999px;
    color: #2a2e6b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    background: #fff;
}

.articles-preview-section,
.articles-list-section {
    background: #eef2f7;
    padding: 3.2rem 0;
}

.articles-preview-section h2,
.articles-list-section h2 {
    margin: 0 0 1.1rem;
    color: #1b2d3f;
    text-align: center;
    font-size: 2rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.article-card {
    background: #fff;
    border: 1px solid #d7dee8;
    padding: 1rem;
}

.article-card h3 {
    margin: 0 0 0.6rem;
    color: #162839;
    font-size: 1.1rem;
}

.article-card p,
.article-body-snippet {
    margin: 0 0 0.6rem;
    color: #3d4c5a;
    line-height: 1.6;
    font-size: 0.94rem;
}

.article-card small {
    color: #596676;
}

.articles-preview-link {
    margin: 1rem 0 0;
    text-align: center;
}

.articles-preview-link a {
    color: #2a2e6b;
    text-decoration: none;
    font-weight: 600;
}

a.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.article-card:hover {
    border-color: #2a2e6b;
    box-shadow: 0 4px 14px rgba(42, 46, 107, 0.12);
}

.article-card-image {
    margin: -1rem -1rem 0.75rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8edf3;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-detail-section {
    padding: 2rem 0 2.5rem;
    background: #fff;
}

.article-detail-inner {
    max-width: 820px;
}

.article-detail-header {
    margin-bottom: 1.25rem;
}

.article-detail-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #111827;
}

.article-detail-date {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.article-detail-excerpt {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.55;
    margin: 0;
}

.article-detail-featured {
    margin: 0 0 1.5rem;
}

.article-detail-featured img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.prose-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #1f2937;
}

.prose-content p {
    margin: 0 0 1rem;
}

.prose-content h2,
.prose-content h3 {
    margin: 1.5rem 0 0.75rem;
    color: #111827;
}

.prose-content ul,
.prose-content ol {
    margin: 0 0 1rem 1.25rem;
}

.prose-content img {
    max-width: 100%;
    height: auto;
}

.prose-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.prose-content th,
.prose-content td {
    border: 1px solid #d1d5db;
    padding: 0.4rem 0.5rem;
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
}

.article-gallery-item {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.article-gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.admin-article-thumb-wrap {
    margin: 0.35rem 0;
}

.admin-article-thumb {
    max-width: 220px;
    max-height: 140px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #d7dee8;
}

.admin-article-gallery-list {
    list-style: none;
    margin: 0.5rem 0 1rem;
    padding: 0;
}

.admin-article-gallery-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.admin-article-gallery-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #d7dee8;
}

.form-hint {
    display: block;
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.85rem;
}

.admin-body {
    margin: 0;
    background: #f5f7fb;
    color: #1b2d3f;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #d7dce2;
}

.admin-topbar-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-brand {
    color: #1b2d3f;
    text-decoration: none;
    font-weight: 700;
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.admin-nav a {
    color: #2a2e6b;
    text-decoration: none;
    font-weight: 600;
}

.admin-link-btn {
    border: 0;
    background: transparent;
    color: #2a2e6b;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.admin-wrap {
    max-width: 980px;
    margin: 1.4rem auto 2rem;
    background: #fff;
    border: 1px solid #d7dce2;
    border-radius: 10px;
    padding: 1.25rem;
}

.admin-wrap:has(.admin-article-editor-grid) {
    max-width: 1120px;
}

.article-admin-form {
    padding-bottom: 2rem;
}

.admin-article-page-head {
    margin-bottom: 1rem;
}

.admin-article-page-h1 {
    margin: 0;
    font-size: 1.35rem;
    color: #1b2d3f;
    font-weight: 700;
}

.admin-article-page-id {
    color: #64748b;
    font-weight: 600;
}

.admin-article-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 960px) {
    .admin-article-editor-grid {
        grid-template-columns: 1fr;
    }
}

.admin-article-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    margin-bottom: 1rem;
}

.admin-article-card-muted {
    background: #f8fafc;
}

.admin-article-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.admin-article-card-title {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.admin-article-card-title-only {
    margin: 0 0 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
}

.admin-article-lang-toggle {
    display: inline-flex;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}

.admin-article-lang-pill {
    position: relative;
}

.admin-article-lang-pill input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.admin-article-lang-pill span {
    display: block;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    cursor: pointer;
    background: #fff;
    color: #475569;
}

.admin-article-lang-pill.is-active span {
    background: #2a2e6b;
    color: #fff;
}

.admin-article-field {
    display: block;
    margin-bottom: 1rem;
}

.admin-article-field:last-child {
    margin-bottom: 0;
}

.admin-article-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.admin-article-req {
    color: #dc2626;
}

.admin-article-input,
.admin-article-textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    font: inherit;
    box-sizing: border-box;
}

.admin-article-textarea-sm {
    min-height: 4.5rem;
    resize: vertical;
}

.admin-article-seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 700px) {
    .admin-article-seo-grid {
        grid-template-columns: 1fr;
    }
}

.admin-article-tags-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.admin-article-tags-row .admin-article-input {
    flex: 1;
}

.admin-article-tag-add {
    flex-shrink: 0;
    padding: 0 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f1f5f9;
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    white-space: nowrap;
}

.admin-article-hint {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0.35rem 0 0;
}

.admin-article-dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 0.5rem;
    position: relative;
    background: #fafafa;
}

.admin-article-dropzone-secondary {
    min-height: 100px;
}

.admin-article-file {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.admin-article-dropzone-text {
    pointer-events: none;
    text-align: center;
    padding: 0 1rem;
    color: #64748b;
    font-size: 0.88rem;
}

.admin-article-check {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.admin-article-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-article-publish {
    border: 0;
    border-radius: 8px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    background: #16a34a;
    color: #fff;
    font: inherit;
}

.btn-article-unpublish {
    border: 0;
    border-radius: 8px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    background: #dc2626;
    color: #fff;
    font: inherit;
}

.btn-article-publish:hover {
    background: #15803d;
}

.btn-article-unpublish:hover {
    background: #b91c1c;
}

.article-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-bottom: 0.5rem;
}

.article-detail-category {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2a2e6b;
    background: #eef2ff;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

.article-detail-tags {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.article-detail-tags li {
    font-size: 0.78rem;
    color: #475569;
    background: #f1f5f9;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.admin-form .row {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.admin-form .row input,
.admin-form .row textarea,
.admin-form .row select {
    border: 1px solid #cfd4dc;
    border-radius: 6px;
    padding: 0.55rem;
    font: inherit;
}

.row-inline {
    display: flex !important;
    align-items: center;
    gap: 0.45rem;
}

.btn {
    background: #07396f;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0.65rem 1rem;
    cursor: pointer;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}

.admin-stat-card {
    border: 1px solid #d7dce2;
    background: #f9fbff;
    border-radius: 8px;
    padding: 0.85rem;
}

.admin-stat-card h2 {
    margin: 0 0 0.35rem;
    font-size: 0.98rem;
}

.admin-stat-card p {
    margin: 0;
}

.admin-block {
    margin-top: 1.4rem;
}

.admin-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid #e2e7ef;
    text-align: left;
    padding: 0.6rem 0.5rem;
    font-size: 0.92rem;
}

.admin-actions-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-actions-inline form {
    margin: 0;
}

.admin-actions-inline button {
    border: 0;
    background: transparent;
    color: #9a2034;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.admin-details-legacy {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border: 1px dashed #cfd6e4;
    border-radius: 6px;
    background: #fafbfc;
}

.admin-details-legacy summary {
    cursor: pointer;
    font-weight: 600;
}

.flash {
    color: #0d7f3f;
}

.errors {
    color: #a31f2f;
}

/* Admin: sidebar layout */
.admin-shell {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

.admin-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #1b2d3f;
    color: #e8ecf1;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-brand {
    padding: 1.1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-brand a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
}

.admin-sidebar-nav {
    padding: 0.75rem 0;
    flex: 1;
    overflow-y: auto;
}

.admin-sidebar-link {
    display: block;
    padding: 0.45rem 0.65rem 0.45rem 0.75rem;
    color: #d7dee8;
    text-decoration: none;
    font-size: 0.92rem;
    border-left: 3px solid transparent;
}

.admin-sidebar-link-inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.admin-sidebar-link-text {
    flex: 1;
    min-width: 0;
}

.admin-sidebar-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.admin-sidebar-icon svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.admin-sidebar-icon--dashboard {
    background: linear-gradient(145deg, #8b6ae8, #5c3dc4);
}

.admin-sidebar-icon--posts {
    background: linear-gradient(145deg, #4fa3ff, #2568c7);
}

.admin-sidebar-icon--media {
    background: linear-gradient(145deg, #6a7a8a, #4a5560);
}

.admin-sidebar-icon--pages {
    background: linear-gradient(145deg, #5bc0a8, #2f8f75);
}

.admin-sidebar-icon--slider {
    background: linear-gradient(145deg, #f0a020, #c9780a);
}

.admin-sidebar-icon--service {
    background: linear-gradient(145deg, #5ab4e6, #2d87b8);
}

.admin-sidebar-icon--settings {
    background: linear-gradient(145deg, #a89bdc, #6b5bb5);
}

.admin-sidebar-icon--plugins {
    background: linear-gradient(145deg, #e878a8, #b84578);
}

.admin-sidebar-link:hover,
.admin-sidebar-link.is-active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-left-color: #f9b300;
}

.admin-sidebar-details {
    border: 0;
    margin: 0;
}

.admin-sidebar-summary {
    list-style: none;
    padding: 0.45rem 0.65rem 0.45rem 0.75rem;
    cursor: pointer;
    font-size: 0.92rem;
    color: #d7dee8;
    font-weight: 600;
}

.admin-sidebar-summary::-webkit-details-marker {
    display: none;
}

.admin-sidebar-sub {
    padding: 0.15rem 0 0.5rem 0.35rem;
}

.admin-sidebar-sublink {
    display: block;
    padding: 0.4rem 0.75rem 0.4rem 1.25rem;
    color: #b8c4d1;
    text-decoration: none;
    font-size: 0.88rem;
    border-radius: 4px;
    margin: 0 0.35rem;
}

.admin-sidebar-sublink:hover,
.admin-sidebar-sublink.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Admin sidebar: collapsible groups (chevron + tinted row) */
.admin-sidebar-posts.admin-sidebar-details,
.admin-sidebar-settings.admin-sidebar-details {
    margin: 0.12rem 0;
}

.admin-sidebar-summary-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    position: relative;
    padding-right: 1.35rem;
}

.admin-sidebar-summary-posts {
    margin: 0 0.35rem;
    border-radius: 6px;
    background: rgba(91, 155, 213, 0.12);
    position: relative;
    padding-right: 0.25rem;
}

.admin-sidebar-summary-settings {
    margin: 0 0.35rem;
    border-radius: 6px;
    background: rgba(168, 155, 220, 0.12);
    position: relative;
    padding-right: 0.25rem;
}

.admin-sidebar-posts .admin-sidebar-summary-posts::after,
.admin-sidebar-settings .admin-sidebar-summary-settings::after {
    content: '\25BE';
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    opacity: 0.65;
    line-height: 1;
    pointer-events: none;
}

.admin-sidebar-posts:not([open]) .admin-sidebar-summary-posts::after,
.admin-sidebar-settings:not([open]) .admin-sidebar-summary-settings::after {
    content: '\25B8';
}

.admin-sidebar-pages.admin-sidebar-details {
    margin: 0.12rem 0;
}

.admin-sidebar-summary-pages {
    margin: 0 0.35rem;
    border-radius: 6px;
    background: rgba(94, 200, 176, 0.14);
    position: relative;
    padding-right: 0.25rem;
}

.admin-sidebar-pages .admin-sidebar-summary-pages::after {
    content: '\25BE';
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    opacity: 0.65;
    line-height: 1;
    pointer-events: none;
}

.admin-sidebar-pages:not([open]) .admin-sidebar-summary-pages::after {
    content: '\25B8';
}

.page-fallback {
    padding: 3rem 0 4rem;
}

.page-fallback-inner {
    max-width: 42rem;
}

.page-fallback-text {
    line-height: 1.55;
    color: #4a5568;
    margin: 1rem 0 1.25rem;
}

.pagebuilder-surface {
    min-height: 40vh;
    padding-bottom: 2rem;
}

.admin-pagebuilder-box {
    margin: 1rem 0 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid #d5e3ef;
    border-radius: 8px;
    background: #f7fbfd;
}

.admin-pagebuilder-box-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.admin-pagebuilder-box-hint {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.45;
}

.admin-pagebuilder-box .muted {
    font-size: 0.85rem;
    color: #64748b;
}

.admin-sidebar-sub-bullets .admin-sidebar-sublink {
    position: relative;
    padding-left: 1.65rem;
}

.admin-sidebar-sub-bullets .admin-sidebar-sublink::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7a8fa3;
}

.admin-sidebar-sub-bullets .admin-sidebar-sublink.is-active::before {
    background: #6bb3ff;
}

.admin-sidebar-sub-bullets .admin-sidebar-sublink.is-active {
    color: #9dceff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Admin: media library page */
.admin-media-page-head {
    margin-bottom: 1.25rem;
}

.admin-media-page-h1 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
}

.admin-media-page-lead {
    margin: 0;
    color: #5a6573;
    font-size: 0.95rem;
}

.admin-media-alert {
    padding: 1rem 1.1rem;
    background: #fff3cd;
    border: 1px solid #e6d48a;
    border-radius: 8px;
    color: #664d03;
}

.admin-media-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.admin-media-tab {
    border: 1px solid #d5dbe3;
    background: #f4f6f9;
    padding: 0.5rem 1rem;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font: inherit;
    font-size: 0.92rem;
    color: #3a4550;
}

.admin-media-tab.is-active {
    background: #fff;
    border-bottom-color: #fff;
    font-weight: 600;
}

.admin-media-panel {
    background: #fff;
    border: 1px solid #d5dbe3;
    border-radius: 0 8px 8px 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.admin-media-panel:not(.is-active) {
    border-radius: 8px;
}

.admin-media-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-media-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-media-select,
.admin-media-search-input {
    border: 1px solid #cfd6df;
    border-radius: 6px;
    padding: 0.45rem 0.65rem;
    font: inherit;
    font-size: 0.9rem;
    min-width: 9rem;
}

.admin-media-search-input {
    min-width: 12rem;
}

.admin-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
    max-height: 55vh;
    overflow-y: auto;
    padding: 0.25rem;
}

.admin-media-card {
    border: 1px solid #e2e7ee;
    border-radius: 8px;
    overflow: hidden;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
}

.admin-media-card-preview {
    display: block;
    aspect-ratio: 1;
    background: #eef1f5;
}

.admin-media-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-media-card-meta {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
    color: #4a5560;
    word-break: break-all;
}

.admin-media-card-delete {
    padding: 0 0.5rem 0.5rem;
    margin: 0;
}

.admin-media-upload-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-media-upload-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.admin-media-sync-form {
    margin-top: 0.5rem;
}

.admin-media-loadmore-wrap {
    text-align: center;
    margin-top: 1rem;
}

.admin-media-btn {
    border-radius: 6px;
    padding: 0.45rem 1rem;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.admin-media-btn-primary {
    background: #2d6fd4;
    color: #fff;
    border-color: #2560b8;
}

.admin-media-btn-primary:hover {
    background: #2560b8;
}

.admin-media-btn-secondary {
    background: #fff;
    border-color: #cfd6df;
    color: #334155;
}

.admin-media-btn-danger-sm {
    font-size: 0.78rem;
    padding: 0.25rem 0.5rem;
    background: #fff;
    border: 1px solid #e2a4a4;
    color: #a32020;
    border-radius: 4px;
    cursor: pointer;
}

.admin-media-error {
    color: #a32020;
}

/* Article editor: media picker */
.admin-article-media-pick {
    display: inline-block;
    margin: 0.5rem 0;
    padding: 0.35rem 0.75rem;
    font: inherit;
    font-size: 0.85rem;
    border-radius: 6px;
    border: 1px solid #cfd6df;
    background: #f7f9fc;
    color: #2d4a7c;
    cursor: pointer;
}

.admin-article-media-pick:hover {
    background: #eef2f8;
}

.admin-article-gallery-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.35rem 0 0.5rem;
    align-items: center;
}

.admin-article-gallery-pick-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e7ee;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.admin-article-gallery-pick-chip img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    display: block;
}

.admin-article-gallery-pick-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 1.35rem;
    height: 1.35rem;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

body.admin-media-picker-open {
    overflow: hidden;
}

.admin-media-picker-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1200;
}

.admin-media-picker-modal {
    position: fixed;
    z-index: 1210;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, 94vw);
    max-height: min(86vh, 640px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-media-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e8ecf1;
}

.admin-media-picker-title {
    margin: 0;
    font-size: 1.1rem;
}

.admin-media-picker-close {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.admin-media-picker-toolbar {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eef1f5;
}

.admin-media-picker-search {
    width: 100%;
    max-width: 100%;
    border: 1px solid #cfd6df;
    border-radius: 6px;
    padding: 0.45rem 0.65rem;
    font: inherit;
}

.admin-media-picker-grid {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
}

.admin-media-picker-tile {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    background: #f1f4f8;
    overflow: hidden;
    aspect-ratio: 1;
}

.admin-media-picker-tile:hover {
    border-color: #2d6fd4;
}

.admin-media-picker-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-media-picker-footer {
    padding: 0.5rem 1rem;
    border-top: 1px solid #e8ecf1;
    text-align: center;
}

.admin-sidebar-footer {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-logout-form {
    margin: 0;
}

.admin-sidebar-logout {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
}

.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #eef2f7;
}

.admin-main-topbar {
    background: #fff;
    border-bottom: 1px solid #d7dce2;
    padding: 0.75rem 1.25rem;
}

.admin-main-topbar-title {
    font-weight: 600;
    color: #1b2d3f;
}

.admin-main-inner {
    flex: 1;
    padding: 1.25rem;
}

.admin-main-inner > .admin-wrap,
.admin-main-inner > h1:first-child {
    max-width: 1000px;
}

.admin-main-inner > h1:first-child {
    margin-top: 0;
}

.admin-main-inner .admin-wrap {
    margin: 0 auto 1.5rem;
    max-width: 1000px;
}

.admin-wrap-guest {
    margin: 3rem auto;
}

.admin-intro {
    color: #4a5562;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.admin-muted {
    color: #6b7280;
    font-size: 0.9rem;
}

.admin-fieldset {
    border: 1px solid #d7dce2;
    border-radius: 8px;
    padding: 1rem 1rem 0.25rem;
    margin-bottom: 1rem;
}

.admin-fieldset legend {
    padding: 0 0.35rem;
    font-weight: 600;
    color: #2a2e6b;
}

.admin-thumb-preview {
    font-size: 0.88rem;
    margin: 0 0 0.5rem;
}

.admin-thumb-preview img {
    vertical-align: middle;
    margin-left: 0.35rem;
    border-radius: 4px;
}

.admin-menu-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-menu-card {
    flex: 1;
    min-width: 240px;
    border: 1px solid #d7dce2;
    border-radius: 8px;
    padding: 0.75rem 1rem 1rem;
    background: #fafbfc;
}

.admin-menu-card-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.admin-menu-delete {
    margin: 0;
    align-self: flex-end;
}

.admin-empty-state {
    border: 1px dashed #c5cdd8;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    color: #4a5562;
}

.admin-link-danger {
    color: #9a2034 !important;
}

.admin-pagination .pagination {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-pagination .page-link {
    color: #2a2e6b;
}

.hero-cta-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-cta-btn:hover {
    background: rgba(255, 255, 255, 0.32);
}

@media (max-width: 900px) {
    .admin-shell {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
    }
}

/* Service Info page (frontend) */
.service-info-hero {
    position: relative;
    min-height: 220px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.service-info-hero-overlay {
    min-height: 220px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(8, 20, 38, 0.78) 0%, rgba(8, 20, 38, 0.35) 55%, rgba(8, 20, 38, 0.15) 100%);
}

.service-info-hero-title {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
    text-transform: uppercase;
}

.service-info-breadcrumb-wrap {
    background: #f4f6f8;
    border-bottom: 1px solid #e1e6ed;
}

.service-info-breadcrumb {
    padding: 0.65rem 0;
    font-size: 0.88rem;
    color: #6b7280;
}

.service-info-breadcrumb a {
    color: #5c6570;
    text-decoration: none;
}

.service-info-breadcrumb a:hover {
    text-decoration: underline;
    color: #2a2e6b;
}

.service-info-breadcrumb-sep {
    margin: 0 0.35rem;
    color: #9aa3ad;
}

.service-info-breadcrumb-current {
    color: #4b5563;
}

.service-info-list-section {
    background: #fff;
    padding: 2rem 0 3rem;
}

.service-info-list-inner {
    max-width: 960px;
}

.service-info-row {
    display: grid;
    grid-template-columns: 110px minmax(120px, 200px) 1fr;
    gap: 1rem 1.25rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
}

.service-info-row:hover {
    background: #fafbfc;
}

.service-info-date {
    font-size: 0.92rem;
    color: #6b7280;
}

.service-info-badge {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    border-radius: 2px;
    text-align: center;
    line-height: 1.25;
    max-width: 100%;
    word-break: break-word;
}

.service-info-badge--jrc_alphatron {
    background: #c41230;
}

.service-info-badge--ydk {
    background: #2a9d9a;
}

.service-info-badge--jrcs {
    background: #1a3a5c;
}

.service-info-badge--yokogawa {
    background: #2d7a3e;
}

.service-info-badge--imo {
    background: #142a45;
}

.service-info-badge--default {
    background: #5c6570;
}

.admin-table-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.45rem;
}

.service-info-title-wrap {
    font-size: 0.95rem;
    line-height: 1.45;
}

.service-info-title-link {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
}

.service-info-title-link:hover {
    color: #2a2e6b;
    text-decoration: underline;
}

.service-info-title-text {
    color: #111827;
    font-weight: 500;
}

.service-info-empty {
    color: #6b7280;
    margin: 2rem 0;
}

@media (max-width: 700px) {
    .service-info-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .service-info-date {
        font-weight: 600;
    }
}

/* Public page builder blocks (Filament Builder JSON) */
.page-builder {
    padding: 2.5rem 0 4rem;
}

.page-builder-inner {
    max-width: 48rem;
}

.page-block {
    margin-bottom: 2.25rem;
}

.page-block:last-child {
    margin-bottom: 0;
}

.page-block__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    line-height: 1.2;
    color: #1a202c;
}

.page-block__subtitle {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #4a5568;
}

.page-block__heading {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    color: #1a202c;
}

.page-block__body {
    line-height: 1.65;
    color: #2d3748;
}

.page-block__list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    line-height: 1.55;
    color: #2d3748;
}

.page-block__list--plain {
    list-style: none;
    padding-left: 0;
}

.page-block__list--plain li {
    margin-bottom: 0.35rem;
}

.page-rich {
    line-height: 1.65;
    color: #2d3748;
}

.page-rich :where(p, ul, ol) {
    margin: 0.65rem 0;
}

.page-rich :where(ul, ol) {
    padding-left: 1.25rem;
}

.page-rich :where(h2, h3, h4) {
    margin: 1rem 0 0.5rem;
    color: #1a202c;
}

/* Admin: full-width visual page designer */
.page-designer-root {
    margin: 0;
    min-height: 100vh;
    background: #0f172a;
}

.page-designer {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #e2e8f0;
}

.page-designer-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.65rem 1rem;
    background: #020617;
    border-bottom: 1px solid #1e293b;
}

.page-designer-back {
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 0.75rem;
}

.page-designer-back:hover {
    text-decoration: underline;
}

.page-designer-slug code {
    color: #f8fafc;
    font-size: 0.95rem;
}

.page-designer-locale-label {
    margin-left: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.page-designer-select {
    margin-left: 0.35rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #f1f5f9;
}

.page-designer-publish {
    background: #22c55e;
    border: none;
    color: #052e16;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.page-designer-publish:hover {
    filter: brightness(1.05);
}

.page-designer-flash {
    margin: 0;
    padding: 0.5rem 1rem;
    background: #14532d;
    color: #bbf7d0;
    font-size: 0.9rem;
}

.page-designer-errors {
    margin: 0;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    background: #450a0a;
    color: #fecaca;
    font-size: 0.9rem;
}

.page-designer-workspace {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr minmax(260px, 320px);
    gap: 0;
    flex: 1;
    min-height: 0;
}

@media (max-width: 1100px) {
    .page-designer-workspace {
        grid-template-columns: 1fr;
    }
}

.page-designer-library,
.page-designer-sidebar-right {
    background: #0f172a;
    border-right: 1px solid #1e293b;
    padding: 0.75rem;
    overflow: auto;
    max-height: calc(100vh - 52px);
}

.page-designer-sidebar-right {
    border-right: none;
    border-left: 1px solid #1e293b;
}

.page-designer-canvas {
    background: #1e293b;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.page-designer-panel-title {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

.page-designer-search {
    width: 100%;
    padding: 0.45rem 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #020617;
    color: #f8fafc;
}

.page-designer-catalog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.pd-catalog-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #020617;
    color: #e2e8f0;
    cursor: pointer;
    font-size: 0.78rem;
}

.pd-catalog-item:hover {
    border-color: #38bdf8;
    background: #0b1224;
}

.pd-catalog-item-label {
    font-weight: 600;
}

.pd-catalog-item-type {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
}

.page-designer-iframe-wrap {
    flex: 1;
    min-height: 420px;
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #334155;
}

.page-designer-iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    background: #fff;
}

.pd-block-list {
    margin-bottom: 1rem;
}

.pd-block-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.45rem;
    margin-bottom: 0.25rem;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #020617;
    cursor: grab;
    font-size: 0.82rem;
}

.pd-block-item.is-active {
    border-color: #38bdf8;
    background: #082f49;
}

.pd-block-item-actions {
    display: flex;
    gap: 0.15rem;
}

.pd-icon-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.1rem 0.25rem;
    font-size: 0.85rem;
}

.pd-icon-btn:hover {
    color: #f8fafc;
}

.pd-inspector label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.pd-inspector input,
.pd-inspector textarea,
.pd-inspector select {
    width: 100%;
    margin-top: 0.2rem;
    padding: 0.35rem 0.45rem;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #020617;
    color: #f8fafc;
}

.pd-inspector-meta {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #1e293b;
}

.pd-inspector-block-title {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: #7dd3fc;
}

.pd-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0.25rem 0;
}

.pd-repeater-h {
    margin: 0.35rem 0 0.25rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.pd-repeater-row {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
}

.pd-repeater-add {
    margin-top: 0.35rem;
    font-size: 0.8rem;
}
