/* CAASI professional interface refinements
 * Development site: caasi.wayinsolution.com
 * Keeps CAASI branding while applying a lighter, structured visual system.
 */

:root {
    --caasi-surface: #ffffff;
    --caasi-surface-soft: #f6f8fb;
    --caasi-border: #dce5ee;
    --caasi-text-soft: #5b6d82;
    --caasi-radius: 12px;
    --caasi-radius-lg: 18px;
    --caasi-shadow-sm: 0 8px 24px rgba(11, 32, 57, 0.07);
    --caasi-shadow-md: 0 18px 48px rgba(11, 32, 57, 0.11);
}

/* Header and navigation */
.wt-header {
    background: #0b6b3a;
    box-shadow: 0 4px 20px rgba(11, 32, 57, 0.18);
}

.wt-site .wt-main-nav > .wt-menu > .wt-menu-item > .wt-menu-row > a {
    gap: 7px;
    padding-inline: 7px;
    font-size: 0.78rem;
    font-weight: 800 !important;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff !important;
}

.wt-header .wt-menu-link-icon,
.wt-header .wt-sub-toggle .wt-icon,
.wt-header .wt-header-search,
.wt-header .wt-utility-links > a {
    color: #fff !important;
}

.wt-header .wt-mobile-toggle,
.wt-header .wt-main-nav > .wt-menu > .wt-menu-item > .wt-menu-row > .wt-sub-toggle {
    border-color: rgba(255, 255, 255, 0.48);
    background: transparent;
    color: #fff;
}

.wt-header .wt-menu-link-icon,
.wt-header .wt-sub-toggle .wt-icon {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.wt-site .wt-main-nav > .wt-menu > .wt-menu-item > .wt-menu-row > a::before {
    display: none;
}

.wt-menu-row > a,
.wt-menu-label {
    display: flex;
    align-items: center;
    gap: 9px;
}

.wt-menu-row .wt-menu-link-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    opacity: 0.68;
}

.wt-main-nav .wt-submenu .wt-menu-row > a,
.wt-main-nav .wt-submenu .wt-menu-label {
    font-weight: 750;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.wt-main-nav .wt-submenu .wt-menu-link-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
    opacity: 0.78;
}

/* Keep submenu icons visible against the white dropdown panels. */
.wt-header .wt-main-nav .wt-submenu .wt-menu-link-icon {
    filter: none !important;
    opacity: 1 !important;
}

.wt-header .wt-main-nav .wt-submenu .wt-menu-row > a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wt-site-credit {
    margin: 0;
    white-space: nowrap;
}

.wt-site-credit a {
    color: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wt-main-nav .wt-sub-toggle {
    margin-inline-start: 1px;
}

.wt-main-nav .wt-sub-toggle .wt-icon {
    width: 16px;
    height: 16px;
}

.wt-utility-links > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 550;
}

.wt-utility-links > a::before {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    background: currentColor;
    opacity: 0.9;
    -webkit-mask: center / contain no-repeat var(--caasi-utility-icon);
    mask: center / contain no-repeat var(--caasi-utility-icon);
}

.wt-utility-links > a[href*="sections-contact"] {
    --caasi-utility-icon: url('/media/templates/site/wayin_termp/icons/mail.svg');
}

.wt-utility-links > a[href*="com_users"] {
    --caasi-utility-icon: url('/media/templates/site/wayin_termp/icons/id-card.svg');
}

/* Shared professional surfaces */
.wt-section-nav,
.wt-help-box {
    border-radius: var(--caasi-radius);
}

.wt-section-nav {
    overflow: hidden;
    box-shadow: var(--caasi-shadow-sm);
}

.wt-section-nav h2 > a,
.wt-section-nav .wt-menu-row > a,
.wt-section-nav .wt-menu-label {
    font-weight: 750;
}

.wt-section-nav h2 > a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wt-section-nav h2 .wt-menu-link-icon,
.wt-section-nav .wt-menu-link-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.wt-section-nav .wt-submenu .wt-menu-row > a,
.wt-section-nav .wt-submenu .wt-menu-label {
    font-weight: 700;
}

.wt-section-nav .wt-submenu {
    display: block;
}

.wt-section-nav .wt-sub-toggle {
    display: none;
}

.wt-help-box {
    box-shadow: 0 8px 22px rgba(11, 32, 57, 0.06);
}

/* Configurable homepage hero slideshow */
.wt-hero-media,
.wt-hero-slides {
    position: relative;
    overflow: hidden;
}

.wt-hero-slides {
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.wt-hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms ease, visibility 700ms ease;
}

.wt-hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.wt-hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
}

.wt-hero-controls {
    position: absolute;
    right: 20px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(11, 32, 57, 0.82);
    box-shadow: 0 8px 22px rgba(11, 32, 57, 0.24);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.wt-hero-control,
.wt-hero-toggle,
.wt-hero-dots button {
    border: 0;
    color: #fff;
    cursor: pointer;
}

.wt-hero-control {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
}

.wt-hero-control:hover,
.wt-hero-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.wt-hero-control .wt-icon {
    width: 17px;
    height: 17px;
    filter: brightness(0) invert(1);
}

.wt-hero-prev .wt-icon {
    transform: rotate(180deg);
}

.wt-hero-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wt-hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
}

.wt-hero-dots button[aria-current="true"] {
    width: 20px;
    border-radius: 999px;
    background: var(--wt-gold);
}

.wt-hero-toggle {
    min-width: 50px;
    min-height: 34px;
    padding: 5px 9px;
    border-radius: 999px;
    background: transparent;
    font-size: 0.68rem;
    font-weight: 750;
}

.wt-hero-toggle-play,
.wt-hero-media.is-paused .wt-hero-toggle-pause {
    display: none;
}

.wt-hero-media.is-paused .wt-hero-toggle-play {
    display: inline;
}

html:not(.wt-js) .wt-hero-controls {
    display: none;
}

/* Footer navigation icons */
.wt-footer h2,
.wt-footer li > a {
    display: flex;
    align-items: center;
    gap: 9px;
}

.wt-footer h2 > .wt-icon,
.wt-footer li > a > .wt-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    filter: brightness(0) invert(1);
    opacity: 0.84;
}

/* Joomla login */
body.com_users.view-login .wt-content {
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--caasi-border);
    border-radius: var(--caasi-radius-lg);
    background: #0b4f80;
}

body.com_users.view-login .com-users-login {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: clamp(26px, 5vw, 46px);
    border: 1px solid rgba(204, 217, 229, 0.95);
    border-radius: var(--caasi-radius-lg);
    background: var(--caasi-surface);
    box-shadow: var(--caasi-shadow-md);
}

body.com_users.view-login .com-users-login > h1,
body.com_users.view-login .com-users-login .page-header h1 {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: -0.035em;
}

body.com_users.view-login .com-users-login > h1::after,
body.com_users.view-login .com-users-login .page-header h1::after {
    content: "Secure access to your CAASI account";
    display: block;
    margin-top: 10px;
    color: var(--caasi-text-soft);
    font-size: 0.86rem;
    font-weight: 450;
    letter-spacing: 0;
    line-height: 1.55;
}

body.com_users.view-login .com-users-login__form {
    width: 100%;
    margin: 30px 0 0;
}

body.com_users.view-login .com-users-login__form fieldset {
    display: grid;
    gap: 19px;
}

body.com_users.view-login .com-users-login__form .control-group,
body.com_users.view-login .com-users-login__form .controls {
    margin: 0;
}

body.com_users.view-login .com-users-login__form label {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--wt-navy);
    font-size: 0.82rem;
    font-weight: 650;
}

body.com_users.view-login .com-users-login__form .form-control {
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid #b9c8d7;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(11, 32, 57, 0.03);
}

body.com_users.view-login .com-users-login__form .form-control:focus {
    border-color: var(--wt-blue);
    box-shadow: 0 0 0 4px rgba(18, 103, 168, 0.13);
}

body.com_users.view-login .com-users-login__form .input-group .form-control {
    border-radius: 9px 0 0 9px;
}

body.com_users.view-login .com-users-login__form .input-group .btn {
    width: auto;
    min-width: 50px;
    min-height: 50px;
    padding: 10px 14px;
    border-color: #b9c8d7;
    border-radius: 0 9px 9px 0;
    background: var(--caasi-surface-soft);
    color: var(--wt-navy);
}

body.com_users.view-login .com-users-login__form .btn-primary,
body.com_users.view-login .com-users-login__form button[type="submit"] {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--wt-blue);
    border-radius: 9px;
    background: var(--wt-blue);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(18, 103, 168, 0.2);
}

body.com_users.view-login .com-users-login__form .btn-primary:hover,
body.com_users.view-login .com-users-login__form button[type="submit"]:hover {
    border-color: var(--wt-blue-hover);
    background: var(--wt-blue-hover);
}

body.com_users.view-login .com-users-login__form .plg_system_webauthn_login_button {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--caasi-border);
    border-radius: 9px;
    background: var(--caasi-surface-soft);
    color: var(--wt-navy);
    font-weight: 600;
}

body.com_users.view-login .com-users-login__form .plg_system_webauthn_login_button {
    display: inline-flex;
    height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
}

body.com_users.view-login .com-users-login__form .plg_system_webauthn_login_button svg {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px;
    fill: currentColor;
}

body.com_users.view-login .com-users-login__options,
body.com_users.view-login .com-users-login > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--caasi-border);
    list-style: none;
}

body.com_users.view-login .com-users-login__options a,
body.com_users.view-login .com-users-login > ul a {
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

/* News cards */
.wt-content .mod-articles-group > h4 {
    margin: 0 0 22px;
    font-size: 1.35rem;
}

.wt-content .mod-articles-items.mod-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-content .mod-articles-items.mod-articles-grid > li {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.wt-content .mod-articles-item {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--caasi-border);
    border-radius: var(--caasi-radius);
    background: var(--caasi-surface);
    box-shadow: var(--caasi-shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.wt-content .mod-articles-item:hover {
    transform: translateY(-3px);
    border-color: #bfd4e6;
    box-shadow: var(--caasi-shadow-md);
}

.wt-content .mod-articles-item-content {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    padding: 22px;
}

.wt-content .mod-articles-item-content > .mod-articles-image {
    order: -1;
    width: calc(100% + 44px);
    aspect-ratio: 16 / 9;
    margin: -22px -22px 20px;
    overflow: hidden;
    border-bottom: 1px solid var(--caasi-border);
    background: #eaf0f5;
}

.wt-content .mod-articles-item-content > .mod-articles-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.wt-publication-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 28px 0 8px;
    padding-top: 18px;
    border-top: 1px solid var(--caasi-border);
}

.wt-publication-pagination-status {
    color: var(--caasi-text-soft);
    font-size: 0.9rem;
    font-weight: 650;
}

.wt-publication-pagination-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.wt-publication-pagination-button {
    min-width: 38px;
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid var(--caasi-border);
    border-radius: 6px;
    background: #fff;
    color: var(--wt-blue, #0b4f80);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.wt-publication-pagination-button:hover:not(:disabled),
.wt-publication-pagination-button:focus-visible,
.wt-publication-pagination-button[aria-current="page"] {
    border-color: var(--wt-blue, #0b4f80);
    background: var(--wt-blue, #0b4f80);
    color: #fff;
}

.wt-publication-pagination-button:disabled {
    cursor: default;
    opacity: 0.45;
}

@media (max-width: 600px) {
    .wt-publication-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .wt-publication-pagination-controls {
        justify-content: flex-start;
    }
}

.wt-content .wt-default-article-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf3f9, #f7fafc);
}

.wt-content .wt-default-article-image img {
    width: auto !important;
    max-width: 38% !important;
    height: auto !important;
    max-height: 48% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply;
}

#sp-page-builder.page-56 .com-content-category-blog__item .wt-default-article-image {
    display: none !important;
}

body.com_sppagebuilder .mod-articles-item .wt-default-article-image {
    display: none !important;
}

.wt-brochures-empty-message {
    margin: 18px 0;
    padding: 18px 20px;
    border: 1px solid #d9e5ee;
    border-radius: 10px;
    background: #f3f7fa;
    color: var(--wt-navy, #0b2742);
    font-weight: 650;
}

body.com_sppagebuilder .wt-contact-lead {
    margin: 0 0 24px;
    color: var(--caasi-text-soft);
    font-size: 1.05rem;
    line-height: 1.7;
}

#sp-page-builder.page-61 .addon-root-heading .sppb-addon-title {
    margin-bottom: 18px;
    color: var(--wt-navy);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

#sp-page-builder.page-61 .addon-root-text-block .sppb-addon-content {
    padding: 26px 28px;
    border: 1px solid #d7e3ed;
    border-radius: 12px;
    background: linear-gradient(135deg, #f7fbfe, #fff);
    box-shadow: var(--caasi-shadow-sm);
    color: var(--caasi-text-soft);
    font-size: 1rem;
    line-height: 2;
}

#sp-page-builder.page-61 .addon-root-text-block .sppb-addon-content br {
    content: '';
    display: block;
    margin-bottom: 4px;
}

#sp-page-builder.page-61 .addon-root-text-block .sppb-addon-content br ~ br {
    margin-bottom: 10px;
}

.wt-contact-departments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wt-contact-department {
    display: flex;
    min-height: 72px;
    align-items: center;
    padding: 17px 20px 17px 48px;
    border: 1px solid #d7e3ed;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7fbfe, #fff);
    color: var(--wt-navy);
    font-weight: 750;
    line-height: 1.4;
    position: relative;
}

.wt-contact-department::before {
    content: '✦';
    position: absolute;
    left: 20px;
    color: #0b6b3a;
    font-size: 1.1rem;
}

@media (max-width: 700px) {
    .wt-contact-departments { grid-template-columns: 1fr; }
}

/* Vision and mission identity markers */
#sp-page-builder.page-53 .addon-root-text-block .sppb-addon-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--wt-navy);
    letter-spacing: .02em;
}

#sp-page-builder.page-53 .addon-root-text-block .sppb-addon-title::before {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b4f80, #0b6b3a);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    content: '✦';
}

#sp-page-builder.page-53 .addon-root-text-block .wt-mission-title::before {
    content: '➤';
}

#sp-page-builder.page-53 .addon-root-text-block .sppb-addon-content {
    position: relative;
    padding-left: 50px;
    color: #425b72;
    line-height: 1.8;
}

#sp-page-builder.page-53 .addon-root-text-block .sppb-addon-content::before {
    position: absolute;
    top: .65em;
    left: 17px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b1a900;
    content: '';
}

#sp-page-builder.page-53 .addon-root-image .sppb-addon-single-image-container {
    overflow: hidden;
    border: 1px solid #d7e3ed;
    border-radius: 12px;
    box-shadow: var(--caasi-shadow-sm);
}

/* About CAASI presentation */
#sp-page-builder.page-58 .caasi-about-wrapper {
    max-width: 100%;
    padding: 12px 0 28px;
    color: #31475d;
}

#sp-page-builder.page-58 .caasi-about-header {
    position: relative;
    overflow: hidden;
    margin: 0 0 24px;
    padding: 38px 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0b2039 0%, #0b4f80 72%, #0b6b3a 100%);
    box-shadow: 0 12px 28px rgba(11, 32, 57, .16);
    text-align: left;
}

#sp-page-builder.page-58 .caasi-about-header::after {
    position: absolute;
    right: 28px;
    bottom: -38px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    content: '';
}

#sp-page-builder.page-58 .caasi-about-header h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #fff;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.03em;
}

#sp-page-builder.page-58 .caasi-about-header p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #dcecf7;
    font-size: 1.05rem;
}

#sp-page-builder.page-58 .caasi-about-card,
#sp-page-builder.page-58 .caasi-about-highlight {
    margin: 0 0 18px;
    padding: 26px 28px;
    border: 1px solid #d8e4ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(11, 32, 57, .06);
}

#sp-page-builder.page-58 .caasi-about-card h3,
#sp-page-builder.page-58 .caasi-about-highlight h3 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 15px;
    color: #0b4f80;
    font-size: 1.25rem;
}

#sp-page-builder.page-58 .caasi-about-card h3::before,
#sp-page-builder.page-58 .caasi-about-highlight h3::before {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f2f8;
    color: #b58a20;
    content: '✦';
    font-size: .9rem;
}

#sp-page-builder.page-58 .caasi-about-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#sp-page-builder.page-58 .caasi-about-card li {
    position: relative;
    margin: 0;
    padding-left: 20px;
    line-height: 1.65;
}

#sp-page-builder.page-58 .caasi-about-card li::before {
    position: absolute;
    top: .62em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c99a2e;
    content: '';
}

#sp-page-builder.page-58 .caasi-about-highlight {
    border-color: #b9d8e8;
    background: linear-gradient(135deg, #eef7fb, #f7fbf8);
}

@media (max-width: 700px) {
    #sp-page-builder.page-58 .caasi-about-header { padding: 30px 22px; }
    #sp-page-builder.page-58 .caasi-about-card,
    #sp-page-builder.page-58 .caasi-about-highlight { padding: 21px 19px; }
    #sp-page-builder.page-58 .caasi-about-card ul { grid-template-columns: 1fr; }
}

.wt-content .mod-articles-title {
    display: -webkit-box;
    min-height: 4.05em;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--wt-navy);
    font-size: 1.06rem;
    line-height: 1.35;
    letter-spacing: -0.018em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.wt-content .mod-articles-item-content > dl {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    margin: 0 0 15px;
    color: var(--caasi-text-soft);
    font-size: 0.72rem;
    line-height: 1.4;
}

.wt-content .mod-articles-item-content > dl dt,
.wt-content .mod-articles-item-content > dl dd {
    margin: 0;
}

.wt-content .mod-articles-item-content > p:not(.readmore) {
    display: -webkit-box;
    min-height: 4.8em;
    margin: 0 0 18px;
    overflow: hidden;
    color: #455a70;
    font-size: 0.86rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.wt-content .mod-articles-item-content > p:not(.readmore) * {
    font: inherit !important;
    color: inherit !important;
}

.wt-content .mod-articles-item-content > .readmore {
    margin: auto 0 0;
}

.wt-content .mod-articles-item-content > .readmore a,
.wt-content .mod-articles-item-content a.edocmanxtdlink {
    display: inline-flex;
    min-height: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 1px solid #b9d0e3;
    border-radius: 8px;
    background: #eef6fc;
    color: var(--wt-blue);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.wt-content .mod-articles-item-content > .readmore a {
    font-size: 0;
}

.wt-content .mod-articles-item-content > .readmore a::after {
    content: "Read article";
    font-size: 0.78rem;
}

.wt-content .mod-articles-item-content > p:has(> a.edocmanxtdlink) {
    min-height: 0;
    margin: auto 0 0;
}

.wt-content .mod-articles-item-content > p:has(> a.edocmanxtdlink) + p {
    display: none;
}

/* EDocman category and document lists */
.wt-content .edocman-container {
    color: var(--wt-ink);
}

.wt-content .edocman-page-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
    letter-spacing: -0.035em;
}

.wt-content .edocman-page-heading .edicon {
    color: var(--wt-blue);
    font-size: 0.9em;
}

.wt-content .edocman-page-sub-box {
    margin: 0 0 24px;
    padding: 16px 18px;
    border-left: 4px solid var(--wt-blue);
    border-radius: 0 10px 10px 0;
    background: var(--caasi-surface-soft);
}

.wt-content .edocman-page-sub-box .edocman-description,
.wt-content .edocman-page-sub-box .edocman-description * {
    margin: 0;
    color: #455a70 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
}

.wt-content .sortPagi {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 6px 0;
}

.wt-content .edocman-document-sorting select,
.wt-content .edocman-document-sorting .form-select {
    min-height: 40px;
    border: 1px solid #b9c8d7;
    border-radius: 8px;
    background-color: #fff;
}

.wt-content #edocman-documents {
    display: grid;
    gap: 15px;
}

.wt-content #edocman-documents > .clearfix.row {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--caasi-border);
    border-radius: var(--caasi-radius);
    background: var(--caasi-surface);
    box-shadow: 0 5px 18px rgba(11, 32, 57, 0.055);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.wt-content #edocman-documents > .clearfix.row:hover {
    transform: translateY(-2px);
    border-color: #bfd4e6;
    box-shadow: var(--caasi-shadow-sm);
}

.wt-content #edocman-documents .edocman-document {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 20px 22px;
}

.wt-content #edocman-documents .edocman-box-heading,
.wt-content #edocman-documents .edocman-box-heading-title,
.wt-content #edocman-documents .edocman-description,
.wt-content #edocman-documents .edocman-taskbar {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.wt-content #edocman-documents .edocman-document-title {
    float: none !important;
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
    letter-spacing: -0.012em;
}

.wt-content #edocman-documents .edocman-document-title-link {
    color: var(--wt-navy);
    font-weight: 680;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.wt-content #edocman-documents .edocman-document-title-link:hover {
    color: var(--wt-blue);
}

.wt-content #edocman-documents .dateinformation {
    margin-top: 7px;
    color: var(--caasi-text-soft);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

.wt-content #edocman-documents .edocman-description-details:empty {
    display: none;
}

.wt-content #edocman-documents .edocman-taskbar ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-content #edocman-documents .edocman-taskbar li {
    margin: 0;
    padding: 0;
}

.wt-content #edocman-documents .edocman-taskbar .btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 13px;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
}

.wt-content #edocman-documents .edocman-taskbar .btn-secondary {
    border: 1px solid #c6d6e4;
    background: #f7fafc;
    color: var(--wt-blue);
}

.wt-content #edocman-documents .edocman-taskbar .btn-primary {
    border-color: var(--wt-blue);
    background: var(--wt-blue);
    color: #fff;
}

/* Sticky header, desktop hover menus, and restrained motion */
.wt-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0b6b3a;
    transition: box-shadow 180ms ease, background-color 180ms ease;
}

body.wt-scrolled .wt-header {
    background: #0b6b3a;
    box-shadow: 0 9px 28px rgba(11, 32, 57, 0.16);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

@media (min-width: 1041px) and (hover: hover) {
    .wt-main-nav .wt-menu-item.has-children:hover > .wt-submenu,
    .wt-main-nav .wt-menu-item.has-children:focus-within > .wt-submenu {
        display: block;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .wt-main-nav .wt-submenu .wt-menu-row > a:hover,
    .wt-main-nav .wt-submenu .wt-menu-row > a:focus-visible {
        background: var(--wt-sky);
        color: var(--wt-blue);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .wt-main-nav .wt-submenu .wt-menu-row > a:hover .wt-menu-link-icon,
    .wt-main-nav .wt-submenu .wt-menu-row > a:focus-visible .wt-menu-link-icon {
        opacity: 1;
    }
}

.wt-motion-ready .wt-reveal {
    opacity: 0;
    transform: translateX(-26px) scale(0.975);
    transition: opacity 560ms ease var(--wt-reveal-delay, 0ms), transform 560ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--wt-reveal-delay, 0ms);
}

.wt-motion-ready .wt-reveal.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* EDocman folder categories */
.wt-content #edocman-categories.categories-default > .row,
.wt-content #edocman-categories.categories-default > .row.clearfix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0 !important;
}

.wt-content #edocman-categories .edocman-category {
    width: auto;
    min-width: 0;
    padding: 0;
    border: 1px solid var(--caasi-border);
    border-radius: var(--caasi-radius);
    background: var(--caasi-surface);
    box-shadow: var(--caasi-shadow-sm);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wt-content #edocman-categories .edocman-category:hover {
    transform: translateY(-3px);
    border-color: #b6d2e7;
    box-shadow: var(--caasi-shadow-md);
}

.wt-content #edocman-categories .edocman-box-heading {
    position: relative;
    min-height: 112px;
    margin: 0;
    padding: 20px 44px 18px 20px;
    border: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, #ffffff 0%, #f4f8fc 100%);
}

.wt-content #edocman-categories .edocman-box-heading-title {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 13px;
    margin: 0;
}

.wt-content #edocman-categories .edocman-box-heading-title::before {
    content: "";
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    margin-top: 1px;
    background: var(--wt-blue);
    -webkit-mask: url('/media/templates/site/wayin_termp/icons/folder.svg') center / contain no-repeat;
    mask: url('/media/templates/site/wayin_termp/icons/folder.svg') center / contain no-repeat;
}

.wt-content #edocman-categories .edocman-category-title {
    min-width: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.42;
}

.wt-content #edocman-categories .edocman-category-title-link {
    color: var(--wt-navy);
    font-weight: 750;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.wt-content #edocman-categories .edocman-category-title-link:hover {
    color: var(--wt-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wt-content #edocman-categories .edocman-box-heading-tasks {
    position: absolute;
    top: 14px;
    right: 14px;
}

.wt-content #edocman-categories .edocman-category-gallery-title-link {
    display: flex;
    min-height: 38px;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--caasi-border);
    color: var(--caasi-text-soft);
    font-size: 0.75rem;
    font-weight: 650;
    text-decoration: none;
}

/* High-contrast legal policies and store notice */
.wt-content .caasi-policy,
.wt-content .caasi-coming-soon {
    margin: 0;
    padding: clamp(24px, 4vw, 48px) !important;
    border: 1px solid #d8e4ef;
    border-radius: var(--caasi-radius-lg);
    background: linear-gradient(145deg, #f7fbfe 0%, #eaf2f8 100%) !important;
    color: var(--wt-ink) !important;
    box-shadow: var(--caasi-shadow-sm);
}

.wt-content .caasi-policy__inner,
.wt-content .caasi-coming-soon__inner {
    width: min(100%, 900px);
    margin-inline: auto;
}

.wt-content .caasi-policy h1,
.wt-content .caasi-coming-soon h1 {
    margin: 8px 0 14px;
    color: var(--wt-navy) !important;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.045em;
}

.wt-content .caasi-policy .lead,
.wt-content .caasi-coming-soon .lead {
    color: #354f68 !important;
    font-size: clamp(1rem, 2vw, 1.16rem);
    line-height: 1.7;
}

.wt-content .caasi-policy__badge,
.wt-content .caasi-coming-soon__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    background: #dcecf8 !important;
    color: #0b4f82 !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.wt-content .caasi-policy__card,
.wt-content .caasi-coming-soon__card {
    margin: 28px 0 0;
    padding: clamp(20px, 3vw, 32px) !important;
    border: 1px solid #cdddea !important;
    border-radius: var(--caasi-radius);
    background: #fff !important;
    color: var(--wt-ink) !important;
    box-shadow: 0 12px 32px rgba(11, 32, 57, 0.08);
}

.wt-content .caasi-policy__card h2,
.wt-content .caasi-policy__card h3,
.wt-content .caasi-coming-soon__card h2,
.wt-content .caasi-coming-soon__card h3 {
    color: var(--wt-navy) !important;
}

.wt-content .caasi-policy__card p,
.wt-content .caasi-policy__card li,
.wt-content .caasi-coming-soon__card p,
.wt-content .caasi-coming-soon__card li,
.wt-content .caasi-policy .note,
.wt-content .caasi-coming-soon .note {
    color: #354a60 !important;
}

.wt-content .caasi-policy__card ul,
.wt-content .caasi-coming-soon__card ul {
    display: grid;
    gap: 9px;
    margin: 14px 0;
    padding: 0;
    list-style: none;
}

.wt-content .caasi-policy__card li,
.wt-content .caasi-coming-soon__card li {
    position: relative;
    padding-left: 28px;
}

.wt-content .caasi-policy__card li::before,
.wt-content .caasi-coming-soon__card li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: #087a4b;
    font-weight: 850;
}

.wt-content .caasi-policy a,
.wt-content .caasi-coming-soon a {
    color: #075f9f !important;
}

/* Tender cards and status indicators */
.wt-content .page-56 .mod-articles-items {
    grid-template-columns: minmax(0, 1fr);
}

.wt-content .page-56 .mod-articles-item-content {
    gap: 12px;
}

.wt-content .page-56 .mod-articles-title {
    min-height: 0;
    margin-bottom: 2px;
    -webkit-line-clamp: unset;
}

.wt-content .page-56 .mod-articles-title a {
    color: var(--wt-navy);
    text-decoration: none;
}

.wt-content .page-56 .mod-articles-title a:hover {
    color: var(--wt-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wt-tender-status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.wt-tender-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.wt-tender-status.is-open {
    background: #dff5e9;
    color: #08663d;
}

.wt-tender-status.is-closed {
    background: #f1e6e6;
    color: #8a2f35;
}

.wt-tender-action {
    display: inline-flex;
    min-height: 42px;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--wt-blue);
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
}

.wt-tender-action:hover {
    background: var(--wt-blue-hover);
}

/* Forms category list: preserve the legacy links while presenting a clear folder structure */
#sp-page-builder.page-96 .edocmancategoriesmenu {
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--caasi-border);
    border-radius: var(--caasi-radius);
    background: #fff;
    list-style: none;
}

#sp-page-builder.page-96 .edocmancategoriesmenu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--caasi-border);
}

#sp-page-builder.page-96 .edocmancategoriesmenu li:last-child {
    border-bottom: 0;
}

#sp-page-builder.page-96 .edocmancategoriesmenu a {
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--wt-navy);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

#sp-page-builder.page-96 .edocmancategoriesmenu li:first-child a {
    background: var(--wt-navy);
    color: #fff;
}

#sp-page-builder.page-96 .edocmancategoriesmenu a::before {
    content: "";
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 7px;
    background: #c99a2e;
    -webkit-mask: url('/media/templates/site/wayin_termp/icons/folder.svg') center / 19px no-repeat;
    mask: url('/media/templates/site/wayin_termp/icons/folder.svg') center / 19px no-repeat;
}

#sp-page-builder.page-96 .edocmancategoriesmenu li:first-child a::before {
    background: #e2b84f;
}

#sp-page-builder.page-96 .wt-form-category-name {
    min-width: 0;
    flex: 1 1 auto;
}

#sp-page-builder.page-96 .wt-form-category-count {
    flex: 0 0 auto;
    padding: 5px 10px;
    border: 1px solid rgba(20, 43, 71, 0.08);
    border-radius: 999px;
    background: #f4f7fa;
    color: #5c7183;
    font-size: 0.72rem;
    font-weight: 650;
    white-space: nowrap;
}

#sp-page-builder.page-96 .edocmancategoriesmenu li:first-child .wt-form-category-count {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

#sp-page-builder.page-96 .edocmancategoriesmenu a::after {
    content: "→";
    flex: 0 0 auto;
    color: #7890a2;
    font-size: 1.2rem;
    font-weight: 400;
}

#sp-page-builder.page-96 .edocmancategoriesmenu li:first-child a::after {
    color: #fff;
}

#sp-page-builder.page-96 .edocmancategoriesmenu a:hover {
    background: #f4f8fb;
}

#sp-page-builder.page-96 .edocmancategoriesmenu li:first-child a:hover {
    background: #123f68;
}

body.com_users.view-login .form-control,
body.com_users.view-registration .form-control,
.wt-site .btn,
.wt-site button {
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

body.com_users.view-registration .wt-content {
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--caasi-border);
    border-radius: var(--caasi-radius-lg);
    background: #0b4f80;
}

body.com_users.view-registration .com-users-registration {
    width: min(100%, 720px);
    margin-inline: auto;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--caasi-border);
    border-radius: var(--caasi-radius-lg);
    background: #fff;
    box-shadow: var(--caasi-shadow-md);
}

body.com_users.view-registration .com-users-registration input,
body.com_users.view-registration .com-users-registration select,
body.com_users.view-registration .com-users-registration textarea,
body.com_users.view-registration .com-users-registration .form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Our Goals: remove the legacy spacer and align the visual card with the sidebar */
#sp-page-builder.page-68 > .page-content > #section-id-1491217787398,
#sp-page-builder.page-69 > .page-content > .sppb-section:first-child,
#sp-page-builder.page-70 > .page-content > .sppb-section:first-child,
#sp-page-builder.page-71 > .page-content > .sppb-section:first-child,
#sp-page-builder.page-72 > .page-content > .sppb-section:first-child,
#sp-page-builder.page-73 > .page-content > .sppb-section:first-child,
#sp-page-builder.page-74 > .page-content > .sppb-section:first-child,
#sp-page-builder.page-53 > .page-content > .sppb-section:first-child,
#sp-page-builder.page-59 > .page-content > .sppb-section:first-child,
#sp-page-builder.page-60 > .page-content > .sppb-section:first-child {
    padding-top: 0 !important;
}

#sp-page-builder.page-59,
#sp-page-builder.page-59 .page-content,
#sp-page-builder.page-59 #section-id-1491217787398,
#sp-page-builder.page-59 #section-id-1491217787398 .sppb-row,
#sp-page-builder.page-59 #section-id-1491217787398 .sppb-col-md-9,
#sp-page-builder.page-59 #section-id-1491217787398 .sppb-addon-feature,
#sp-page-builder.page-59 #section-id-1491217787398 .sppb-addon-content {
    background: #fff !important;
    color: #000 !important;
}

#sp-page-builder.page-59 #section-id-1491217787398 h1,
#sp-page-builder.page-59 #section-id-1491217787398 h2,
#sp-page-builder.page-59 #section-id-1491217787398 h3,
#sp-page-builder.page-59 #section-id-1491217787398 h4,
#sp-page-builder.page-59 #section-id-1491217787398 p,
#sp-page-builder.page-59 #section-id-1491217787398 li,
#sp-page-builder.page-59 #section-id-1491217787398 a,
#sp-page-builder.page-59 #section-id-1491217787398 .sppb-addon-text,
#sp-page-builder.page-59 #section-id-1491217787398 .sppb-addon-text li {
    color: #000 !important;
}

#sp-page-builder.page-59 #section-id-1599196309300,
#sp-page-builder.page-59 #section-id-1599196309300 .sppb-empty-space {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Our Goals: compact content aligned with the interior side navigation */
#sp-page-builder.page-59 #section-id-1601606041474 {
    padding: 24px 0 !important;
}

#sp-page-builder.page-59 #section-id-1601606041474 > .sppb-container,
#sp-page-builder.page-59 #section-id-1601606041474 > .sppb-row {
    width: 100% !important;
}

#sp-page-builder.page-59 #section-id-1601606041474 .sppb-nested-row {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}

#sp-page-builder.page-59 #section-id-1601606041474 .sppb-nested-row > .sppb-col-md-6,
#sp-page-builder.page-59 #section-id-1601606041474 .sppb-nested-row > .sppb-col-md-6 > .sppb-column {
    display: block !important;
    align-self: start !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    min-width: 0;
    padding: 0 !important;
}

#sp-page-builder.page-59 #section-id-1601606041474 .sppb-column-addons {
    display: grid !important;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    align-items: start !important;
    gap: 28px;
    height: auto !important;
    min-height: 0 !important;
}

#sp-page-builder.page-59 #section-id-1601606041474 .sppb-column-addons > .sppb-addon-wrapper {
    min-width: 0;
    height: auto !important;
}

#sp-page-builder.page-59 .sppb-addon-single-image,
#sp-page-builder.page-59 .sppb-addon-single-image .sppb-addon-content {
    height: auto !important;
    min-height: 0 !important;
}

#sp-page-builder.page-59 .sppb-addon-single-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

#sp-page-builder.page-59 .sppb-addon-content-align-after {
    width: auto !important;
    display: block !important;
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 28px 32px !important;
    border: 1px solid var(--caasi-border);
    border-left: 4px solid var(--wt-blue);
    border-radius: 14px;
    background: #fff !important;
    box-shadow: var(--caasi-shadow-sm);
}

#sp-page-builder.page-59 .sppb-feature-box-title {
    margin: 0 0 12px !important;
    color: var(--wt-blue) !important;
    font-size: clamp(1.55rem, 2.4vw, 2.1rem) !important;
    line-height: 1.15 !important;
}

#sp-page-builder.page-59 .sppb-addon-text {
    color: #111827 !important;
    font-size: 1rem;
    line-height: 1.65;
}

#sp-page-builder.page-59 .sppb-addon-text ul {
    margin: 12px 0 0 1.2rem !important;
    padding: 0 !important;
}

@media (max-width: 700px) {
    #sp-page-builder.page-59 #section-id-1601606041474 {
        padding: 16px 0 !important;
    }

    #sp-page-builder.page-59 #section-id-1601606041474 .sppb-column-addons {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #sp-page-builder.page-59 .sppb-addon-content-align-after {
        padding: 22px 20px !important;
    }
}

#sp-page-builder.page-59 > .page-content > .sppb-section:first-child,
#sp-page-builder.page-59 > .page-content > .sppb-section:first-child > .sppb-row-container,
#sp-page-builder.page-59 > .page-content > .sppb-section:first-child > .sppb-row-container > .sppb-row {
    height: auto;
    min-height: 0;
}

#sp-page-builder.page-59 > .page-content > .sppb-section:first-child > .sppb-row-container > .sppb-row > [class*="sppb-col-"] {
    padding: 0;
}

#sp-page-builder.page-59 .caasi-hero-pro > .sppb-row-container > .sppb-row > [class*="sppb-col-"] {
    padding: 0;
}

#sp-page-builder.page-59 .caasi-hero-pro .sppb-nested-row {
    display: grid;
    grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    margin: 0;
}

#sp-page-builder.page-59 .caasi-hero-pro .sppb-nested-row > [class*="sppb-col-"] {
    width: auto;
    min-width: 0;
    padding: 0;
}

#sp-page-builder.page-59 .caasi-hero-pro .sppb-nested-row > [class*="sppb-col-"]:first-child {
    overflow: hidden;
    border-radius: var(--caasi-radius) 0 0 var(--caasi-radius);
    background: linear-gradient(145deg, #0b2039, #124f7f);
}

#sp-page-builder.page-59 .caasi-hero-pro .sppb-addon-single-image-container {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

#sp-page-builder.page-59 .caasi-hero-pro .sppb-addon-single-image-container img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

#sp-page-builder.page-59 .caasi-hero-pro .addon-root-feature {
    height: 100%;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid var(--caasi-border);
    border-left: 0;
    border-radius: 0 var(--caasi-radius) var(--caasi-radius) 0;
    background: #fff;
    box-shadow: var(--caasi-shadow-sm);
}

#sp-page-builder.page-59 .caasi-hero-pro .sppb-feature-box-title {
    margin: 0 0 18px;
    color: var(--wt-navy) !important;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.15;
}

#sp-page-builder.page-59 .caasi-hero-pro .sppb-addon-text,
#sp-page-builder.page-59 .caasi-hero-pro .sppb-addon-text li {
    color: var(--wt-ink) !important;
    font-size: 1rem;
    line-height: 1.7;
}

#sp-page-builder.page-59 .caasi-hero-pro .sppb-addon-text ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 1.25rem;
}

@media (max-width: 760px) {
    #sp-page-builder.page-59 .caasi-hero-pro .sppb-nested-row {
        grid-template-columns: minmax(0, 1fr);
    }

    #sp-page-builder.page-59 .caasi-hero-pro .sppb-nested-row > [class*="sppb-col-"]:first-child {
        border-radius: var(--caasi-radius) var(--caasi-radius) 0 0;
    }

    #sp-page-builder.page-59 .caasi-hero-pro .sppb-addon-single-image-container {
        height: 220px;
        min-height: 220px;
    }

    #sp-page-builder.page-59 .caasi-hero-pro .addon-root-feature {
        border: 1px solid var(--caasi-border);
        border-top: 0;
        border-radius: 0 0 var(--caasi-radius) var(--caasi-radius);
    }
}

@media (max-width: 1199px) and (min-width: 1041px) {
    .wt-site .wt-main-nav > .wt-menu > .wt-menu-item > .wt-menu-row > a {
        padding-inline: 4px;
        font-size: 0.68rem;
        font-weight: 800 !important;
    }

    .wt-header-search {
        padding-inline-start: 12px;
    }
}

@media (max-width: 760px) {
    .wt-site .wt-main-nav > .wt-menu > .wt-menu-item > .wt-menu-row > a {
        font-size: 0.9rem;
        font-weight: 800 !important;
        white-space: normal;
    }

    .wt-hero-controls {
        right: 12px;
        bottom: 12px;
        gap: 5px;
        padding: 5px;
    }

    .wt-hero-toggle {
        min-width: 44px;
        padding-inline: 7px;
    }

    .wt-content .mod-articles-items.mod-articles-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .wt-content .mod-articles-title,
    .wt-content .mod-articles-item-content > p:not(.readmore) {
        min-height: 0;
    }

    .wt-content #edocman-documents .edocman-document {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
        padding: 18px;
    }

    .wt-content #edocman-documents > .clearfix.row {
        min-height: 205px;
    }

    .wt-content #edocman-documents .edocman-taskbar ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .wt-content #edocman-documents .edocman-document-title {
        min-height: 4.35em;
    }

    .wt-content #edocman-documents .edocman-taskbar .btn {
        width: 100%;
        padding-inline: 5px;
    }

    body.com_users.view-login .wt-content {
        padding: 18px;
    }

    body.com_users.view-login .com-users-login {
        padding: 24px 20px;
        border-radius: 14px;
    }

    body.com_users.view-login .com-users-login__options,
    body.com_users.view-login .com-users-login > ul {
        align-items: center;
        flex-direction: column;
    }

    .wt-content #edocman-categories.categories-default > .row,
    .wt-content #edocman-categories.categories-default > .row.clearfix {
        grid-template-columns: minmax(0, 1fr);
    }

    .wt-content #edocman-categories .edocman-box-heading {
        min-height: 96px;
    }

    .wt-content .caasi-policy,
    .wt-content .caasi-coming-soon {
        padding: 22px 16px !important;
        border-radius: 14px;
    }

    .wt-content .caasi-policy__card,
    .wt-content .caasi-coming-soon__card {
        padding: 20px 17px !important;
    }

    .wt-tender-action {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-hero-slide {
        transition: none;
    }

    .wt-content .mod-articles-item,
    .wt-content #edocman-documents > .clearfix.row,
    .wt-content #edocman-categories .edocman-category,
    .wt-header,
    .wt-reveal {
        transition: none;
    }

    .wt-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media print {
    .wt-hero-controls,
    .wt-hero-slide:not(.is-active) {
        display: none !important;
    }
}

/* Brand/header and homepage quick-link refinements */
.wt-header .wt-logo {
    background: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    mix-blend-mode: normal;
}

.wt-brand-copy > span {
    color: #fff !important;
}

@media (min-width: 1041px) and (hover: hover) {
    .wt-main-nav > .wt-menu > .wt-menu-item > .wt-menu-row > a:hover,
    .wt-main-nav > .wt-menu > .wt-menu-item > .wt-menu-row > a:focus-visible,
    .wt-main-nav > .wt-menu > .wt-menu-item.active > .wt-menu-row > a,
    .wt-main-nav > .wt-menu > .wt-menu-item.active-branch > .wt-menu-row > a {
        background: #0b6b3a !important;
        color: #fff !important;
    }
}

.wt-quicklinks {
    background: #0b4f80 !important;
}

.wt-quicklinks .wt-quicklink-grid > a,
.wt-quicklinks .wt-quicklink-grid > a:hover,
.wt-quicklinks .wt-quicklink-grid > a:focus-visible {
    color: #fff !important;
}

.wt-quicklinks .wt-quicklink-grid > a strong,
.wt-quicklinks .wt-quicklink-grid > a small {
    color: #fff !important;
}

.wt-quicklinks .wt-quicklink-grid > a strong {
    font-weight: 800 !important;
}

.wt-quicklinks .wt-quicklink-grid > a > .wt-icon {
    filter: brightness(0) invert(1);
}

/* Homepage guidance/resources panel */
.wt-resource-section {
    background: #0b4f80 !important;
}

.wt-resource-section .wt-eyebrow,
.wt-resource-section h2,
.wt-resource-section .wt-resource-intro,
.wt-resource-section .wt-resource-links > a,
.wt-resource-section .wt-resource-links > a:hover,
.wt-resource-section .wt-resource-links > a:focus-visible {
    color: #fff !important;
}

.wt-resource-section h2,
.wt-resource-section .wt-resource-links > a {
    font-weight: 800 !important;
}

.wt-resource-section .wt-resource-links > a > .wt-icon {
    filter: brightness(0) invert(1);
}

/* Career & Job category blog */
body.com_content.view-category .wt-content {
    background: #f6f8fb;
}

/* Press Release: merge Joomla's leading and column groups into one aligned archive grid */
body.wt-press-release-page .com-content-category-blog {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto;
}

body.wt-press-release-page .com-content-category-blog__items {
    display: contents !important;
}

body.wt-press-release-page .com-content-category-blog > .wt-archive-filters {
    grid-column: 1 / -1;
}

body.wt-press-release-page .com-content-category-blog__item,
body.wt-press-release-page .blog-item {
    display: flex;
    width: 100% !important;
    min-width: 0;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--caasi-border);
    border-top: 4px solid var(--wt-blue);
    border-radius: var(--caasi-radius);
    background: #fff;
    box-shadow: var(--caasi-shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.wt-press-release-page .com-content-category-blog__item {
    grid-column: auto !important;
}

body.wt-press-release-page .com-content-category-blog__item:hover,
body.wt-press-release-page .blog-item:hover {
    transform: translateY(-3px);
    border-color: #bfd4e6;
    box-shadow: var(--caasi-shadow-md);
}

body.wt-press-release-page .com-content-category-blog__item .item-content,
body.wt-press-release-page .blog-item .item-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 22px;
}

body.wt-press-release-page .com-content-category-blog__item > .item-image,
body.wt-press-release-page .blog-item > .item-image {
    order: -1;
    width: 100%;
    height: 166px !important;
    min-height: 166px;
    margin: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--caasi-border);
    background: #eaf0f5;
}

body.wt-press-release-page .com-content-category-blog__item > .item-image img,
body.wt-press-release-page .blog-item > .item-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

body.wt-press-release-page .com-content-category-blog__item .mod-articles-image,
body.wt-press-release-page .blog-item .mod-articles-image {
    order: -1;
    width: calc(100% + 44px);
    height: 166px;
    margin: -22px -22px 20px;
    overflow: hidden;
    border-bottom: 1px solid var(--caasi-border);
    background: #eaf0f5;
}

body.wt-press-release-page .com-content-category-blog__item .mod-articles-image img,
body.wt-press-release-page .blog-item .mod-articles-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

body.wt-press-release-page .page-header {
    min-height: 4.2em;
    margin: 0 0 12px;
}

body.wt-press-release-page .page-header h2 {
    margin: 0;
    color: var(--wt-navy);
    font-size: 1.08rem;
    line-height: 1.4;
}

body.wt-press-release-page .page-header h2 a {
    color: inherit;
    text-decoration: none;
}

body.wt-press-release-page .page-header h2 a:hover {
    color: var(--wt-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.wt-press-release-page .article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin: 0 0 15px;
    color: var(--caasi-text-soft);
    font-size: .75rem;
    line-height: 1.45;
}

body.wt-press-release-page .article-info dt,
body.wt-press-release-page .article-info dd {
    margin: 0;
}

body.wt-press-release-page .article-info dt {
    width: 100%;
    color: var(--wt-navy);
    font-weight: 750;
}

body.wt-press-release-page .readmore,
body.wt-press-release-page .item-content > p:last-child {
    margin-top: auto;
}

body.wt-press-release-page .readmore a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 1px solid #b9d0e3;
    border-radius: 8px;
    background: #eef6fc;
    color: var(--wt-blue);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

body.wt-press-release-page .readmore a:hover {
    background: var(--wt-blue);
    color: #fff;
}

body.com_content.view-category .blog,
body.com_content.view-category .com-content-category-blog {
    max-width: 1120px;
    margin: 0 auto;
}

body.com_content.view-category .com-content-category-blog__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

body.com_content.view-category .career-vacancy-card .com-content-category-blog__item,
body.com_content.view-category .career-vacancy-card .blog-item {
    margin: 0 !important;
    padding: 28px !important;
    background: #fff;
    border: 1px solid #dce5ee;
    border-top: 4px solid #0b6b3a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(11, 32, 57, .07);
}

body.com_content.view-category .career-vacancy-card .com-content-category-blog__item h2,
body.com_content.view-category .career-vacancy-card .blog-item h2 {
    margin-top: 0;
    color: #0b2039;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

body.com_content.view-category .career-vacancy-card .com-content-category-blog__item h2 a,
body.com_content.view-category .career-vacancy-card .blog-item h2 a {
    color: inherit;
}

body.com_content.view-category .career-vacancy-card .com-content-category-blog__item .article-info,
body.com_content.view-category .career-vacancy-card .blog-item .article-info {
    color: #53647a;
    font-size: .88rem;
}

body.com_content.view-category .career-vacancy-card .com-content-category-blog__item .readmore a,
body.com_content.view-category .career-vacancy-card .blog-item .readmore a {
    display: inline-flex;
    margin-top: 14px;
    padding: 10px 16px;
    background: #0b4f80;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
}

body.itemid-951 .pagination {
    margin-top: 28px;
}

.wt-archive-filters {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(72px, 94px);
    gap: 14px;
    max-width: 1120px;
    margin: 0 auto 22px;
    padding: 26px 36px;
    background: #f1f1f1;
}

.wt-archive-filters input,
.wt-archive-filters select,
.wt-archive-filters button {
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    border: 1px solid #dce5ee;
    border-radius: 0;
    background: #fff;
    color: #30445b;
    font: inherit;
}

.wt-archive-filters input { padding: 0 16px; }
.wt-archive-filters select { padding: 0 14px; }

.wt-archive-filters button {
    border-color: #b9bd12;
    background: #c1c515;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    cursor: pointer;
}

.wt-archive-filters button:hover,
.wt-archive-filters button:focus-visible { background: #a8ac0b; }

.wt-archive-side-nav h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wt-archive-side-nav > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-archive-side-nav > ul > li > a {
    display: block;
    padding: 12px 14px;
    border-left: 3px solid transparent;
    color: #30445b;
    font-weight: 700;
}

.wt-archive-side-nav > ul > li > a:hover,
.wt-archive-side-nav > ul > li.current > a {
    border-left-color: #0b6b3a;
    background: #eaf4ee;
    color: #0b6b3a;
}

.wt-archive-list {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #dce5ee;
}

.wt-archive-list h3 {
    margin: 0 0 10px;
    color: #0b2039;
    font-size: 1.1rem;
}

.wt-archive-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-archive-list li a {
    display: block;
    padding: 8px 0 8px 14px;
    color: #0b6b3a;
    font-weight: 650;
}

.wt-archive-list li a::before {
    content: '▪';
    margin-right: 8px;
    color: #b1a900;
}

[hidden].com-content-category-blog__item,
[hidden].mod-articles-item { display: none !important; }

@media (max-width: 760px) {
    body.com_content.view-category .com-content-category-blog__items {
        grid-template-columns: 1fr;
    }

    body.com_content.view-category .career-vacancy-card .com-content-category-blog__item,
    body.com_content.view-category .career-vacancy-card .blog-item {
        padding: 22px !important;
    }

    body.wt-press-release-page .com-content-category-blog {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.wt-press-release-page .com-content-category-blog__item .item-content,
    body.wt-press-release-page .blog-item .item-content {
        padding: 20px;
    }

    body.wt-press-release-page .com-content-category-blog__item .mod-articles-image,
    body.wt-press-release-page .blog-item .mod-articles-image {
        width: calc(100% + 40px);
        height: 180px;
        margin: -20px -20px 18px;
    }

    body.wt-press-release-page .com-content-category-blog__item > .item-image,
    body.wt-press-release-page .blog-item > .item-image {
        height: 180px !important;
        min-height: 180px;
    }

    .wt-archive-filters {
        grid-template-columns: 1fr;
        margin-left: 0;
        margin-right: 0;
        padding: 18px;
    }
}
