
/**
 * Corporate Projects Archive.
 * Premium Engineering Portfolio Design.
 *
 * @package Comtechzone_Theme
 * @author Comtechzone
 * @version 2.3.0
 */

/* ==========================================
   01. DESIGN VARIABLES
========================================== */

.ctz-project-archive {
    --ctz-pa-primary: #0b2038;
    --ctz-pa-secondary: #176bba;
    --ctz-pa-heading: #102c46;
    --ctz-pa-text: #263b50;
    --ctz-pa-muted: #64748b;
    --ctz-pa-border: #dbe5ef;
    --ctz-pa-surface: #edf3f9;
    --ctz-pa-background: #ffffff;
    --ctz-pa-gold: #c6a46c;
    --ctz-pa-light: #f7faff;
    --ctz-pa-radius: 14px;

    --ctz-pa-shadow:
        0 4px 12px rgba(11,32,56,.035),
        0 12px 36px rgba(11,32,56,.075);

    --ctz-pa-shadow-hover:
        0 8px 18px rgba(11,32,56,.06),
        0 20px 44px rgba(11,32,56,.12);

    width: 100%;
    min-width: 0;
    background: #ffffff;
    color: var(--ctz-pa-text);
}

.ctz-project-archive *,
.ctz-project-archive *::before,
.ctz-project-archive *::after {
    box-sizing: border-box;
}

.ctz-project-archive img {
    max-width: 100%;
    height: auto;
}

.ctz-project-archive [hidden] {
    display: none !important;
}

/* ==========================================
   02. ACCESSIBLE PAGE TITLE
========================================== */

.ctz-project-archive .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ==========================================
   03. MAIN ARCHIVE SECTION
========================================== */

.ctz-project-archive .ctz-project-archive-section {
    padding-top: clamp(28px,3.5vw,48px);
    padding-bottom: clamp(40px,5vw,70px);
    background: transparent;
}

.ctz-project-archive-section > .ctz-container {
    min-width: 0;
}

/* ==========================================
   04. ARCHIVE LAYOUT
========================================== */

.ctz-project-archive-layout {
    display: grid;
    align-items: start;
    gap: clamp(24px,3vw,36px);
    width: 100%;
    min-width: 0;
}

.ctz-project-archive-layout--sidebar {
    grid-template-columns:
        minmax(220px,260px)
        minmax(0,1fr);
}

.ctz-project-archive-layout--full {
    grid-template-columns: minmax(0,1fr);
}

.ctz-project-archive-content {
    width: 100%;
    min-width: 0;
}

.ctz-project-archive-content > * + * {
    margin-top: 32px;
}

/* ==========================================
   05. PREMIUM CATEGORY SIDEBAR
========================================== */

.ctz-project-category-sidebar {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.ctz-project-category-filter {
    position: relative;
    width: 100%;
    background: #ffffff;
    border: 1px solid #d7e2ed;
    border-radius: var(--ctz-pa-radius);
    box-shadow: var(--ctz-pa-shadow);
    overflow: hidden;
}

.ctz-project-sidebar-title {
    position: relative;
    isolation: isolate;
    margin: 0;
    padding: 27px 20px;

    background-color: #0b2038;

    background-image:
        linear-gradient(
            rgba(255,255,255,.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.055) 1px,
            transparent 1px
        ),
        radial-gradient(
            ellipse at top right,
            rgba(53,139,215,.45),
            transparent 70%
        ),
        linear-gradient(
            135deg,
            #0b2038,
            #17476e
        );

    background-size:
        24px 24px,
        24px 24px,
        100% 100%,
        100% 100%;

    border-bottom: 3px solid var(--ctz-pa-gold);
    color: #ffffff;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: .015em;
}

.ctz-project-sidebar-title::after {
    position: absolute;
    z-index: -1;
    inset-inline-end: -28px;
    top: -35px;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;

    box-shadow:
        0 0 0 15px rgba(255,255,255,.035),
        0 0 0 30px rgba(255,255,255,.025);

    content: "";
    pointer-events: none;
}

.ctz-project-category-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 12px;
    list-style: none;
}

.ctz-project-category-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ==========================================
   06. CATEGORY NAVIGATION
========================================== */

.ctz-project-category-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 49px;
    padding: 13px 12px;
    background: #f8fafc;
    border: 1px solid #e8eef5;
    border-inline-start: 3px solid transparent;
    border-radius: 8px;
    color: var(--ctz-pa-text);
    font-size: 13px;
    font-weight: 550;
    line-height: 1.65;
    text-decoration: none;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.ctz-project-category-link span {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.ctz-project-category-link svg {
    display: block;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: var(--ctz-pa-muted);
}

.ctz-project-category-link:hover {
    background: #edf4fb;
    border-color: #cbdced;
    border-inline-start-color: var(--ctz-pa-secondary);
    color: var(--ctz-pa-secondary);
}

.ctz-project-category-link.is-active,
.ctz-project-category-link[aria-current="page"] {
    background: linear-gradient(
        120deg,
        #102d49,
        #1b527e
    );

    border-color: #1b527e;
    border-inline-start-color: var(--ctz-pa-gold);
    color: #ffffff;
    font-weight: 650;

    box-shadow:
        0 5px 12px rgba(11,32,56,.15);
}

.ctz-project-category-link.is-active svg,
.ctz-project-category-link[aria-current="page"] svg {
    color: #efd4a6;
}

/* ==========================================
   07. CATEGORY INTRODUCTION
========================================== */

.ctz-project-archive .ctz-project-content-introduction {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(20px,2.5vw,28px);

    background-image:
        radial-gradient(
            circle,
            rgba(23,107,186,.075) 1px,
            transparent 1px
        ),
        linear-gradient(
            120deg,
            #f0f5fa,
            #ffffff
        );

    background-size:
        16px 16px,
        100% 100%;

    border: 1px solid var(--ctz-pa-border);
    border-inline-start: 4px solid var(--ctz-pa-gold);
    border-radius: 0 12px 12px 0;
    color: var(--ctz-pa-text);
    font-size: 15px;
    line-height: 1.85;
    text-align: start;
    overflow-wrap: anywhere;
}

.ctz-project-content-introduction p {
    margin: 0 0 16px;
    color: inherit;
    line-height: 1.85;
}

.ctz-project-content-introduction > :first-child {
    margin-top: 0;
}

.ctz-project-content-introduction > :last-child {
    margin-bottom: 0;
}

.ctz-project-content-introduction a {
    color: var(--ctz-pa-secondary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==========================================
   08. STRUCTURED CATEGORY CONTENT
========================================== */

.ctz-project-custom-sections,
.ctz-category-custom-content {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.ctz-project-custom-sections > :first-child,
.ctz-category-custom-content > :first-child {
    margin-top: 0;
}

.ctz-project-custom-sections > :last-child,
.ctz-category-custom-content > :last-child {
    margin-bottom: 0;
}

.ctz-project-custom-sections section,
.ctz-project-custom-sections .ctz-category-section,
.ctz-project-custom-sections .ctz-category-content-section {
    width: 100%;
    min-width: 0;
    margin: 0 0 40px;
    padding: 0;
    background: transparent;
}

.ctz-project-custom-sections section:last-child,
.ctz-project-custom-sections .ctz-category-section:last-child,
.ctz-project-custom-sections .ctz-category-content-section:last-child {
    margin-bottom: 0;
}

/* ==========================================
   09. PREMIUM SECTION HEADINGS
========================================== */

.ctz-project-custom-sections h2,
.ctz-project-custom-sections h3,
.ctz-project-custom-sections h4,
.ctz-project-custom-sections h5,
.ctz-project-custom-sections h6,
.ctz-project-listing-title {
    color: var(--ctz-pa-heading);
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ctz-project-custom-sections h2,
.ctz-project-listing-title {
    position: relative;
    margin: 0 0 24px;
    padding: 0 0 17px;
    border-bottom: 1px solid var(--ctz-pa-border);
    font-size: clamp(21px,2.1vw,28px);
    letter-spacing: -.025em;
}

.ctz-project-custom-sections h2::after,
.ctz-project-listing-title::after {
    position: absolute;
    inset-inline-start: 0;
    bottom: -1px;
    display: block;
    width: 80px;
    height: 4px;

    background: linear-gradient(
        90deg,
        var(--ctz-pa-secondary) 65%,
        transparent 65%,
        transparent 70%,
        var(--ctz-pa-gold) 70%
    );

    border-radius: 4px;
    content: "";
}

.ctz-project-custom-sections h3 {
    margin: 0 0 14px;
    font-size: clamp(18px,1.6vw,22px);
}

.ctz-project-custom-sections p {
    margin: 0 0 16px;
    color: var(--ctz-pa-text);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.ctz-project-custom-sections p:last-child {
    margin-bottom: 0;
}

.ctz-project-custom-sections ul,
.ctz-project-custom-sections ol {
    margin-block: 16px;
    padding-inline-start: 24px;
}

.ctz-project-custom-sections ul {
    list-style: disc;
}

.ctz-project-custom-sections ol {
    list-style: decimal;
}

.ctz-project-custom-sections li {
    margin-bottom: 7px;
    line-height: 1.75;
}

.ctz-project-custom-sections a {
    color: var(--ctz-pa-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ctz-project-custom-sections a:hover {
    color: var(--ctz-pa-primary);
}

/* ==========================================
   10. PREMIUM TABLE FRAME
========================================== */

.ctz-project-archive .ctz-project-table-wrapper,
.ctz-project-custom-sections .ctz-table-responsive,
.ctz-project-custom-sections .ctz-category-table-wrapper,
.ctz-project-custom-sections .ctz-category-table-scroll,
.ctz-project-custom-sections .ctz-category-table-container,
.ctz-project-custom-sections .wp-block-table {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 28px;
    padding: 7px;

    background: linear-gradient(
        145deg,
        #e3ebf4,
        #ffffff 48%,
        #e9f0f7
    );

    border: 1px solid #ccd9e7;
    border-radius: 16px;

    box-shadow:
        0 0 0 3px rgba(230,238,246,.65),
        0 6px 16px rgba(11,32,56,.045),
        0 16px 36px rgba(11,32,56,.085);

    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #8ba5bf #e9f0f7;
}

.ctz-project-table-wrapper:last-child,
.ctz-project-custom-sections .ctz-category-table-wrapper:last-child {
    margin-bottom: 0;
}

/* ==========================================
   11. AUTOMATIC TABLE FITTING
========================================== */

.ctz-project-archive .ctz-project-table,
.ctz-project-archive .ctz-project-custom-sections table {
    display: table;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;

    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;

    table-layout: auto;

    background: #ffffff;
    color: #263b50;

    font-family: inherit;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.7;
    letter-spacing: .005em;
    text-align: start;
}

.ctz-project-archive .ctz-project-table {
    min-width: 680px;
}

.ctz-project-archive .ctz-project-custom-sections table {
    min-width: 520px;
}

.ctz-project-custom-sections table caption {
    padding: 18px 20px;
    background: #edf3f9;
    color: #102c46;
    font-size: 15px;
    font-weight: 650;
    text-align: start;
}

/* ==========================================
   12. PREMIUM TABLE CELL TYPOGRAPHY
========================================== */

.ctz-project-archive .ctz-project-table th,
.ctz-project-archive .ctz-project-table td,
.ctz-project-archive .ctz-project-custom-sections table th,
.ctz-project-archive .ctz-project-custom-sections table td {
    height: auto;
    padding: 16px 14px;
    border: 0;
    border-inline-end: 1px solid #e0e8f1;
    border-bottom: 1px solid #dce6f0;

    color: #263b50;
    font-family: inherit;
    font-size: inherit;
    font-weight: 450;
    line-height: 1.7;
    text-align: start;
    vertical-align: middle;

    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.ctz-project-table tr > :last-child,
.ctz-project-custom-sections table tr > :last-child {
    border-inline-end: 0;
}

.ctz-project-table tbody tr:last-child > *,
.ctz-project-custom-sections table tbody tr:last-child > * {
    border-bottom: 0;
}

/* ==========================================
   13. ENGINEERING BLUEPRINT TABLE HEADER
========================================== */

.ctz-project-archive .ctz-project-table thead,
.ctz-project-archive .ctz-project-custom-sections table thead {
    background: #102d49;
    color: #ffffff;
}

.ctz-project-archive .ctz-project-table thead th,
.ctz-project-archive .ctz-project-custom-sections table thead th {
    position: relative;
    padding: 20px 14px;

    background-color: #102d49;

    background-image:
        linear-gradient(
            rgba(255,255,255,.065) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.065) 1px,
            transparent 1px
        ),
        radial-gradient(
            ellipse at top right,
            rgba(50,142,218,.36),
            transparent 85%
        ),
        linear-gradient(
            145deg,
            #194c78,
            #0b2038
        );

    background-size:
        18px 18px,
        18px 18px,
        100% 100%,
        100% 100%;

    border-top: 1px solid rgba(255,255,255,.13);
    border-inline-end: 1px solid rgba(255,255,255,.18);
    border-bottom: 3px solid #c6a46c;

    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.6;
    letter-spacing: .025em;
    text-align: start;
    vertical-align: middle;

    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.ctz-project-archive .ctz-project-table thead tr:first-child th:first-child,
.ctz-project-archive .ctz-project-custom-sections table thead tr:first-child th:first-child {
    border-start-start-radius: 10px;
}

.ctz-project-archive .ctz-project-table thead tr:first-child th:last-child,
.ctz-project-archive .ctz-project-custom-sections table thead tr:first-child th:last-child {
    border-start-end-radius: 10px;
    border-inline-end: 0;
}

.ctz-project-table thead th a,
.ctz-project-custom-sections table thead th a {
    color: #ffffff;
    text-decoration: none;
}

.ctz-project-table thead th p,
.ctz-project-custom-sections table thead th p {
    margin: 0;
    color: #ffffff;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    white-space: inherit;
    overflow-wrap: normal;
    word-break: normal;
}

/* ==========================================
   14. MODERN ALTERNATING TABLE ROWS
========================================== */

.ctz-project-archive .ctz-project-table tbody tr:nth-child(odd),
.ctz-project-archive .ctz-project-custom-sections table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.ctz-project-archive .ctz-project-table tbody tr:nth-child(even),
.ctz-project-archive .ctz-project-custom-sections table tbody tr:nth-child(even) {
    background: #f1f6fb;
}

.ctz-project-archive .ctz-project-table tbody td,
.ctz-project-archive .ctz-project-custom-sections table tbody td {
    background-color: transparent;

    transition:
        background-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease;
}

.ctz-project-archive .ctz-project-table tbody tr:hover,
.ctz-project-archive .ctz-project-custom-sections table tbody tr:hover {
    background: #e6f0fa;
}

.ctz-project-archive .ctz-project-table tbody tr:hover > td:not([rowspan]),
.ctz-project-archive .ctz-project-custom-sections table tbody tr:hover > td:not([rowspan]) {
    box-shadow:
        inset 0 1px 0 rgba(23,107,186,.08),
        inset 0 -1px 0 rgba(23,107,186,.08);
}

.ctz-project-archive .ctz-project-table tbody th,
.ctz-project-archive .ctz-project-custom-sections table tbody th {
    color: #102c46;
    font-weight: 600;
}

/* ==========================================
   15. PROJECT NAME COLUMN DESIGN
========================================== */

/*
 * Highlights the first cell of standard
 * structured project rows without assigning
 * fixed column widths.
 */

.ctz-project-archive
.ctz-project-custom-sections
table tbody tr > :first-child:not([rowspan]):not([colspan]) {
    background: linear-gradient(
        110deg,
        #e9f1fa,
        #f5f8fc
    );

    border-inline-start: 3px solid #8caecf;
    color: #123858;
    font-weight: 600;
}

.ctz-project-archive
.ctz-project-custom-sections
table tbody tr:nth-child(even) > :first-child:not([rowspan]):not([colspan]) {
    background: linear-gradient(
        110deg,
        #e2edf8,
        #edf4fb
    );
}

.ctz-project-archive
.ctz-project-custom-sections
table tbody tr:hover > :first-child:not([rowspan]):not([colspan]) {
    background: linear-gradient(
        110deg,
        #d9e9f9,
        #e8f2fc
    );

    border-inline-start-color: #176bba;
    color: #0b365d;
}

.ctz-project-archive
.ctz-project-table
tbody .ctz-project-table-name {
    min-width: 160px;

    background: linear-gradient(
        110deg,
        #e9f1fa,
        #f5f8fc
    );

    border-inline-start: 3px solid #8caecf;
    color: #123858;
    font-weight: 650;
}

.ctz-project-archive
.ctz-project-table
tbody tr:hover .ctz-project-table-name {
    background: #dcebf9;
    border-inline-start-color: #176bba;
}

.ctz-project-table tbody td strong,
.ctz-project-custom-sections table tbody td strong,
.ctz-project-custom-sections table tbody td b {
    color: #153c60;
    font-weight: 650;
}

/* ==========================================
   16. PREMIUM MERGED CELL DESIGN
========================================== */

.ctz-project-archive
.ctz-project-custom-sections table tbody td[rowspan],
.ctz-project-archive
.ctz-project-custom-sections table tbody th[rowspan],
.ctz-project-archive
.ctz-project-custom-sections table tbody .ctz-category-common-cell,
.ctz-project-archive
.ctz-project-custom-sections table tbody .ctz-category-shared-cell {
    background-color: #eaf1f8;

    background-image:
        radial-gradient(
            circle,
            rgba(23,107,186,.085) 1px,
            transparent 1px
        ),
        linear-gradient(
            145deg,
            #edf4fb,
            #e2edf7
        );

    background-size:
        15px 15px,
        100% 100%;

    border-inline-start: 2px solid #9bb5ce;
    color: #163b5c;
    font-weight: 550;
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.ctz-project-custom-sections table td[colspan],
.ctz-project-custom-sections table th[colspan] {
    vertical-align: middle;
}

.ctz-project-archive
.ctz-project-custom-sections table tbody th[colspan] {
    background: #e3edf7;
    color: #102c46;
    font-weight: 650;
}

.ctz-project-custom-sections table tfoot {
    background: #eaf1f8;
    color: #102c46;
    font-weight: 600;
}

/* ==========================================
   17. TABLE CONTENT TYPOGRAPHY
========================================== */

.ctz-project-archive
.ctz-project-custom-sections table p {
    margin: 0 0 8px;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    overflow-wrap: break-word;
    word-break: normal;
}

.ctz-project-custom-sections table p:last-child {
    margin-bottom: 0;
}

.ctz-project-archive
.ctz-project-custom-sections table td span,
.ctz-project-archive
.ctz-project-custom-sections table th span {
    overflow-wrap: inherit;
    word-break: normal;
}

.ctz-project-archive
.ctz-project-custom-sections table ul,
.ctz-project-archive
.ctz-project-custom-sections table ol {
    margin: 8px 0;
    padding-inline-start: 18px;
}

.ctz-project-archive
.ctz-project-custom-sections table li {
    margin-bottom: 5px;
    color: inherit;
    font-size: inherit;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-break: normal;
}

.ctz-project-custom-sections table li:last-child {
    margin-bottom: 0;
}

.ctz-project-custom-sections table li::marker {
    color: #176bba;
}

.ctz-project-table tbody td a,
.ctz-project-custom-sections table tbody td a {
    color: #125b9d;
    text-underline-offset: 3px;
    overflow-wrap: break-word;
}

.ctz-project-table tbody td a:hover,
.ctz-project-custom-sections table tbody td a:hover {
    color: #102c46;
}

.ctz-project-custom-sections table img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 7px;
}

/* ==========================================
   18. AUTOMATIC TABLE COLUMNS
========================================== */

.ctz-project-table .ctz-project-table-number {
    width: 1%;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.ctz-project-table tbody .ctz-project-table-number {
    color: #41617e;
    font-weight: 600;
}

.ctz-project-table-name {
    min-width: 160px;
    color: var(--ctz-pa-heading);
    font-weight: 650;
}

.ctz-project-table-name a {
    color: inherit;
    text-decoration: none;
}

.ctz-project-table-name a:hover {
    color: var(--ctz-pa-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ctz-project-table-field--client,
.ctz-project-table-field--location,
.ctz-project-table-field--scope {
    min-width: 100px;
}

.ctz-project-table .ctz-project-table-field--year,
.ctz-project-table .ctz-project-table-field--capacity,
.ctz-project-table .ctz-project-table-field--status,
.ctz-project-table .ctz-project-table-action {
    white-space: nowrap;
}

/* ==========================================
   19. CATEGORY BADGES
========================================== */

.ctz-project-table-category-links {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
}

.ctz-project-table-category-links a,
.ctz-project-card-category {
    display: inline-block;
    max-width: 100%;
    padding: 5px 10px;
    background: #e9f2fb;
    border: 1px solid #cddff0;
    border-radius: 6px;
    color: #125b9d;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: break-word;
}

.ctz-project-table-category-links a:hover,
.ctz-project-card-category:hover {
    background: var(--ctz-pa-primary);
    border-color: var(--ctz-pa-primary);
    color: #ffffff;
}

/* ==========================================
   20. PROJECT STATUS
========================================== */

.ctz-project-archive .ctz-project-status {
    display: inline-block;
    max-width: 100%;
    padding: 6px 11px;
    background: #eaf1f8;
    border: 1px solid #cedceb;
    border-radius: 6px;
    color: #163b5c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: break-word;
}

/* ==========================================
   21. PROJECT DETAILS LINK
========================================== */

.ctz-project-archive .ctz-project-details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    color: var(--ctz-pa-secondary);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none;
    transition: color 180ms ease;
}

.ctz-project-archive .ctz-project-details-link svg {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: transform 180ms ease;
}

.ctz-project-archive .ctz-project-details-link:hover {
    color: var(--ctz-pa-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ctz-project-archive .ctz-project-details-link:hover svg {
    transform: translateX(4px);
}

.ctz-project-table .ctz-project-table-action .ctz-project-details-link {
    padding: 8px 12px;
    background: #e8f1fa;
    border: 1px solid #cbdced;
    border-radius: 7px;
    color: #125b9d;
}

.ctz-project-table .ctz-project-table-action .ctz-project-details-link:hover {
    background: #153c60;
    border-color: #153c60;
    color: #ffffff;
    text-decoration: none;
}

/* ==========================================
   22. STRUCTURED PHOTO SECTIONS
========================================== */

.ctz-project-custom-sections .ctz-category-photo-section,
.ctz-project-custom-sections .ctz-category-photos-section,
.ctz-project-custom-sections .ctz-category-gallery-section {
    width: 100%;
    min-width: 0;
    margin-bottom: 32px;
}

.ctz-project-custom-sections .ctz-category-photo-grid,
.ctz-project-custom-sections .ctz-category-photos-grid,
.ctz-project-custom-sections .ctz-category-gallery-grid,
.ctz-project-custom-sections .ctz-project-photo-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: stretch;
    gap: 24px;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.ctz-project-custom-sections .ctz-category-photo-grid > :only-child,
.ctz-project-custom-sections .ctz-category-photos-grid > :only-child,
.ctz-project-custom-sections .ctz-category-gallery-grid > :only-child,
.ctz-project-custom-sections .ctz-project-photo-grid > :only-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
}

/* ==========================================
   23. PREMIUM PHOTO CARDS
========================================== */

.ctz-project-custom-sections .ctz-category-photo-card,
.ctz-project-custom-sections .ctz-category-photo-item,
.ctz-project-custom-sections .ctz-project-photo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--ctz-pa-border);
    border-radius: var(--ctz-pa-radius);
    box-shadow: var(--ctz-pa-shadow);
    overflow: hidden;

    transition:
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.ctz-project-custom-sections .ctz-category-photo-card:hover,
.ctz-project-custom-sections .ctz-category-photo-item:hover,
.ctz-project-custom-sections .ctz-project-photo-card:hover {
    border-color: #b8cde1;
    box-shadow: var(--ctz-pa-shadow-hover);
}

.ctz-project-custom-sections .ctz-category-photo-media,
.ctz-project-custom-sections .ctz-category-photo-image-wrapper,
.ctz-project-custom-sections .ctz-project-photo-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    background: var(--ctz-pa-light);
    overflow: hidden;
}

.ctz-project-custom-sections .ctz-category-photo-card img,
.ctz-project-custom-sections .ctz-category-photo-item img,
.ctz-project-custom-sections .ctz-project-photo-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

/* ==========================================
   24. PHOTO CAPTIONS
========================================== */

.ctz-project-custom-sections .ctz-category-photo-content,
.ctz-project-custom-sections .ctz-category-photo-caption,
.ctz-project-custom-sections .ctz-category-photo-card figcaption,
.ctz-project-custom-sections .ctz-category-photo-item figcaption {
    flex: 1;
    width: 100%;
    margin: 0;
    padding: 20px;

    background: linear-gradient(
        120deg,
        #ffffff,
        #f7faff
    );

    border-top: 3px solid var(--ctz-pa-gold);
    color: var(--ctz-pa-text);
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.ctz-project-custom-sections .ctz-category-photo-title,
.ctz-project-custom-sections .ctz-project-photo-title {
    margin: 0 0 8px;
    color: var(--ctz-pa-heading);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.5;
}

.ctz-project-custom-sections .ctz-category-photo-description {
    margin: 0;
    color: var(--ctz-pa-muted);
    font-size: 13px;
    line-height: 1.75;
}

.ctz-project-custom-sections figcaption:empty {
    display: none;
}

/* ==========================================
   25. WORDPRESS EDITOR CONTENT
========================================== */

.ctz-project-custom-sections .entry-content,
.ctz-project-custom-sections .ctz-category-text-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.ctz-project-custom-sections figure {
    max-width: 100%;
}

.ctz-project-custom-sections .aligncenter {
    display: block;
    margin-inline: auto;
}

.ctz-project-custom-sections .alignleft {
    float: left;
    max-width: 50%;
    margin: 0 20px 20px 0;
}

.ctz-project-custom-sections .alignright {
    float: right;
    max-width: 50%;
    margin: 0 0 20px 20px;
}

.ctz-project-custom-sections .alignwide,
.ctz-project-custom-sections .alignfull {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}

.ctz-category-custom-content::after {
    display: block;
    clear: both;
    content: "";
}

.ctz-project-custom-sections iframe,
.ctz-project-custom-sections video {
    max-width: 100%;
}

.ctz-project-custom-sections blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--ctz-pa-light);
    border-inline-start: 3px solid var(--ctz-pa-gold);
    border-radius: 6px;
}

.ctz-project-custom-sections pre {
    max-width: 100%;
    padding: 16px;
    background: var(--ctz-pa-surface);
    border-radius: 7px;
    overflow-x: auto;
}

.ctz-project-custom-sections hr {
    height: 1px;
    margin: 28px 0;
    background: var(--ctz-pa-border);
    border: 0;
}

/* ==========================================
   26. AUTOMATIC PROJECT LISTING
========================================== */

.ctz-project-automatic-listing {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.ctz-project-archive .ctz-project-archive-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    align-items: stretch;
    gap: clamp(18px,2vw,26px);
    width: 100%;
    min-width: 0;
    margin: 0;
}

.ctz-project-archive
.ctz-project-archive-grid.ctz-project-columns-2 {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.ctz-project-archive
.ctz-project-archive-grid.ctz-project-columns-3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.ctz-project-archive
.ctz-project-archive-grid.ctz-project-columns-4 {
    grid-template-columns: repeat(4,minmax(0,1fr));
}

/* ==========================================
   27. PREMIUM PROJECT CARDS
========================================== */

.ctz-project-archive .ctz-project-archive-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--ctz-pa-border);
    border-radius: var(--ctz-pa-radius);
    box-shadow: var(--ctz-pa-shadow);
    overflow: hidden;

    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.ctz-project-archive-card::before {
    display: none;
    content: none;
}

.ctz-project-archive-card::after {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 4px;

    background: linear-gradient(
        90deg,
        var(--ctz-pa-secondary) 75%,
        var(--ctz-pa-gold) 75%
    );

    content: "";
    pointer-events: none;
}

.ctz-project-archive .ctz-project-archive-card:hover {
    border-color: #b8cde1;
    box-shadow: var(--ctz-pa-shadow-hover);
}

/* ==========================================
   28. PROJECT FEATURED IMAGES
========================================== */

.ctz-project-archive-card .ctz-project-card-media {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0;
    background: var(--ctz-pa-surface);
    overflow: hidden;
}

.ctz-project-archive-card .ctz-project-card-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transition: transform 350ms ease;
}

@media (hover: hover) {

    .ctz-project-archive .ctz-project-archive-card:hover,
    .ctz-project-category-directory-card:hover {
        transform: translateY(-4px);
    }

    .ctz-project-archive-card:hover .ctz-project-card-image {
        transform: scale(1.045);
    }

}

/* ==========================================
   29. PROJECT CARD CONTENT
========================================== */

.ctz-project-archive-card .ctz-project-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    padding: 24px 22px;
    background: #ffffff;
}

.ctz-project-archive-card .ctz-project-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin: 0 0 12px;
}

.ctz-project-archive-card .ctz-project-card-title {
    margin: 0 0 15px;
    color: var(--ctz-pa-heading);
    font-size: clamp(18px,1.7vw,23px);
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.ctz-project-archive-card .ctz-project-card-title a {
    color: inherit;
    text-decoration: none;
}

.ctz-project-archive-card .ctz-project-card-title a:hover {
    color: var(--ctz-pa-secondary);
}

/* ==========================================
   30. PROJECT CARD METADATA
========================================== */

.ctz-project-archive-card .ctz-project-card-meta {
    display: grid;
    gap: 9px;
    width: 100%;
    margin: 0 0 16px;
    padding: 14px 12px;
    background: var(--ctz-pa-light);
    border: 1px solid var(--ctz-pa-border);
    border-radius: 7px;
}

.ctz-project-archive-card .ctz-project-card-meta-item {
    display: grid;
    grid-template-columns:
        minmax(65px,.8fr)
        minmax(0,1.2fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.6;
}

.ctz-project-archive-card .ctz-project-card-meta-item dt {
    margin: 0;
    color: var(--ctz-pa-muted);
    font-weight: 550;
    overflow-wrap: break-word;
}

.ctz-project-archive-card .ctz-project-card-meta-item dd {
    min-width: 0;
    margin: 0;
    color: var(--ctz-pa-heading);
    font-weight: 600;
    overflow-wrap: break-word;
}

.ctz-project-archive-card .ctz-project-card-excerpt {
    width: 100%;
    margin: 0 0 18px;
    color: var(--ctz-pa-muted);
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.ctz-project-archive-card .ctz-project-card-actions {
    width: 100%;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--ctz-pa-border);
}

/* ==========================================
   31. CATEGORY DIRECTORY
========================================== */

.ctz-project-category-directory {
    width: 100%;
    min-width: 0;
}

.ctz-project-category-directory-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: stretch;
    gap: 24px;
    width: 100%;
    min-width: 0;
    counter-reset: ctz-project-directory;
}

.ctz-project-archive-layout--full
.ctz-project-category-directory-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

/* ==========================================
   32. ENGINEERING DIRECTORY CARDS
========================================== */

.ctz-project-category-directory-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 210px;
    padding: 28px;

    background-image:
        radial-gradient(
            circle,
            rgba(23,107,186,.065) 1px,
            transparent 1px
        ),
        linear-gradient(
            135deg,
            #ffffff 45%,
            #f0f5fa
        );

    background-size:
        18px 18px,
        100% 100%;

    border: 1px solid var(--ctz-pa-border);
    border-radius: var(--ctz-pa-radius);
    box-shadow: var(--ctz-pa-shadow);
    overflow: hidden;
    counter-increment: ctz-project-directory;

    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.ctz-project-category-directory-card::before {
    position: absolute;
    z-index: -1;
    top: 10px;
    inset-inline-end: 18px;
    color: rgba(23,107,186,.07);
    font-size: 72px;
    font-weight: 750;
    line-height: 1;
    content: counter(ctz-project-directory,decimal-leading-zero);
    pointer-events: none;
}

.ctz-project-category-directory-card::after {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 4px;

    background: linear-gradient(
        90deg,
        var(--ctz-pa-primary) 75%,
        var(--ctz-pa-gold) 75%
    );

    content: "";
    pointer-events: none;
}

.ctz-project-category-directory-card:hover {
    border-color: #b8cde1;
    box-shadow: var(--ctz-pa-shadow-hover);
}

.ctz-project-category-directory-title {
    margin: 0 0 16px;
    color: var(--ctz-pa-heading);
    font-size: clamp(18px,1.8vw,23px);
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ctz-project-category-directory-title a {
    color: inherit;
    text-decoration: none;
}

.ctz-project-category-directory-title a:hover {
    color: var(--ctz-pa-secondary);
}

.ctz-project-category-directory-card p {
    margin: 0 0 20px;
    color: var(--ctz-pa-muted);
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.ctz-project-category-directory-card .ctz-project-details-link {
    margin-top: auto;
}

/* ==========================================
   33. PROJECT PAGINATION
========================================== */

.ctz-project-archive .ctz-project-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 36px;
}

.ctz-project-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ctz-project-pagination ul.page-numbers li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ctz-project-pagination a.page-numbers,
.ctz-project-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 15px;
    background: #ffffff;
    border: 1px solid var(--ctz-pa-border);
    border-radius: 7px;
    color: var(--ctz-pa-primary);
    font-size: 13px;
    font-weight: 550;
    line-height: 1.5;
    text-decoration: none;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.ctz-project-pagination a.page-numbers:hover,
.ctz-project-pagination span.page-numbers.current {
    background: var(--ctz-pa-primary);
    border-color: var(--ctz-pa-primary);
    color: #ffffff;
}

.ctz-project-pagination span.page-numbers.dots {
    min-width: 24px;
    padding-inline: 4px;
    border: 0;
}

/* ==========================================
   34. EMPTY PROJECT STATE
========================================== */

.ctz-project-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 250px;
    padding: clamp(24px,4vw,42px);

    background: radial-gradient(
        ellipse at top right,
        #edf4fb,
        #ffffff 70%
    );

    border: 1px solid var(--ctz-pa-border);
    border-radius: var(--ctz-pa-radius);
    box-shadow: var(--ctz-pa-shadow);
    text-align: center;
}

.ctz-project-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--ctz-pa-surface);
    border: 1px solid var(--ctz-pa-border);
    border-radius: 12px;
    color: var(--ctz-pa-secondary);
}

.ctz-project-empty-icon svg {
    width: 30px;
    height: 30px;
}

.ctz-project-empty-state h2 {
    margin: 0;
    color: var(--ctz-pa-heading);
    font-size: clamp(21px,2vw,28px);
    font-weight: 650;
    line-height: 1.4;
}

.ctz-project-empty-state p {
    max-width: 540px;
    margin: 0;
    color: var(--ctz-pa-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* ==========================================
   35. RETURN TO PROJECTS BUTTON
========================================== */

.ctz-project-archive .ctz-project-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 24px;

    background: linear-gradient(
        135deg,
        var(--ctz-pa-primary),
        #183e64
    );

    border: 1px solid var(--ctz-pa-primary);
    border-radius: 7px;
    box-shadow: 0 6px 16px rgba(11,32,56,.12);
    color: #ffffff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none;
}

.ctz-project-archive .ctz-project-all-button:hover {
    background: var(--ctz-pa-secondary);
    border-color: var(--ctz-pa-secondary);
    color: #ffffff;
}

/* ==========================================
   36. KEYBOARD ACCESSIBILITY
========================================== */

.ctz-project-archive a:focus-visible,
.ctz-project-archive button:focus-visible,
.ctz-project-archive [tabindex="0"]:focus-visible {
    outline: 2px solid var(--ctz-pa-secondary);
    outline-offset: 3px;
}

.ctz-project-category-list a:focus-visible {
    outline-offset: -2px;
}

/* ==========================================
   37. LARGE TABLET RESPONSIVE
========================================== */

@media (max-width: 1200px) {

    .ctz-project-archive-layout--sidebar {
        grid-template-columns:
            minmax(200px,230px)
            minmax(0,1fr);
        gap: 26px;
    }

    .ctz-project-archive-layout--sidebar
    .ctz-project-archive-grid.ctz-project-columns-4 {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .ctz-project-category-directory-card {
        padding: 22px;
    }

    .ctz-project-archive .ctz-project-table th,
    .ctz-project-archive .ctz-project-table td,
    .ctz-project-archive .ctz-project-custom-sections table th,
    .ctz-project-archive .ctz-project-custom-sections table td {
        padding: 14px 12px;
    }

    .ctz-project-archive .ctz-project-table thead th,
    .ctz-project-archive .ctz-project-custom-sections table thead th {
        padding: 18px 12px;
    }

}

/* ==========================================
   38. TABLET RESPONSIVE
========================================== */

@media (max-width: 1000px) {

    .ctz-project-archive-layout--sidebar {
        grid-template-columns:
            minmax(180px,205px)
            minmax(0,1fr);
        gap: 22px;
    }

    .ctz-project-archive .ctz-project-archive-grid,
    .ctz-project-archive
    .ctz-project-archive-grid.ctz-project-columns-3,
    .ctz-project-archive
    .ctz-project-archive-grid.ctz-project-columns-4,
    .ctz-project-archive-layout--sidebar
    .ctz-project-archive-grid.ctz-project-columns-4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ctz-project-category-link {
        padding: 11px 9px;
        font-size: 12px;
    }

    .ctz-project-sidebar-title {
        padding: 20px 14px;
        font-size: 15px;
    }

    .ctz-project-archive-layout--full
    .ctz-project-category-directory-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}

/* ==========================================
   39. SMALL TABLET RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .ctz-project-archive-layout--sidebar,
    .ctz-project-archive-layout--full {
        grid-template-columns: minmax(0,1fr);
        gap: 24px;
    }

    .ctz-project-category-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .ctz-project-category-filter {
        border-radius: 10px;
    }

    .ctz-project-sidebar-title {
        padding: 15px 18px;
        font-size: 15px;
    }

    .ctz-project-category-list {
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .ctz-project-category-item {
        flex: 0 0 auto;
        max-width: 240px;
    }

    .ctz-project-category-link {
        width: auto;
        height: 100%;
        min-height: 44px;
        padding: 10px 14px;
        background: var(--ctz-pa-light);
        border: 1px solid var(--ctz-pa-border);
        font-size: 12px;
        white-space: normal;
    }

    .ctz-project-category-link svg {
        display: none;
    }

    .ctz-project-category-link.is-active,
    .ctz-project-category-link[aria-current="page"] {
        background: linear-gradient(
            120deg,
            #102d49,
            #1b527e
        );

        border-color: var(--ctz-pa-primary);
        border-bottom: 2px solid var(--ctz-pa-gold);
        color: #ffffff;
    }

    .ctz-project-category-directory-grid {
        gap: 18px;
    }

}

/* ==========================================
   40. MOBILE RESPONSIVE
========================================== */

@media (max-width: 600px) {

    .ctz-project-archive .ctz-project-archive-section {
        padding-top: 22px;
        padding-bottom: 36px;
    }

    .ctz-project-archive-layout {
        gap: 22px;
    }

    .ctz-project-archive-content > * + * {
        margin-top: 24px;
    }

    .ctz-project-sidebar-title {
        padding: 14px 15px;
    }

    .ctz-project-category-list {
        gap: 7px;
        padding: 9px;
    }

    .ctz-project-category-item {
        max-width: 200px;
    }

    .ctz-project-category-link {
        padding: 9px 12px;
        font-size: 12px;
    }

    .ctz-project-archive .ctz-project-content-introduction {
        padding: 16px;
        font-size: 14px;
    }

    .ctz-project-custom-sections h2,
    .ctz-project-listing-title {
        margin-bottom: 18px;
        padding-bottom: 12px;
        font-size: 21px;
    }

    .ctz-project-custom-sections section,
    .ctz-project-custom-sections .ctz-category-section,
    .ctz-project-custom-sections .ctz-category-content-section {
        margin-bottom: 26px;
    }

    .ctz-project-archive .ctz-project-table,
    .ctz-project-archive .ctz-project-custom-sections table {
        font-size: 13px;
    }

    .ctz-project-archive .ctz-project-table th,
    .ctz-project-archive .ctz-project-table td,
    .ctz-project-archive .ctz-project-custom-sections table th,
    .ctz-project-archive .ctz-project-custom-sections table td {
        padding: 12px 10px;
    }

    .ctz-project-archive .ctz-project-table thead th,
    .ctz-project-archive .ctz-project-custom-sections table thead th {
        padding: 15px 10px;
        font-size: 13px;
    }

    .ctz-project-archive .ctz-project-table-wrapper,
    .ctz-project-custom-sections .ctz-table-responsive,
    .ctz-project-custom-sections .ctz-category-table-wrapper,
    .ctz-project-custom-sections .ctz-category-table-scroll,
    .ctz-project-custom-sections .ctz-category-table-container,
    .ctz-project-custom-sections .wp-block-table {
        padding: 4px;
        border-radius: 10px;
    }

    .ctz-project-archive .ctz-project-archive-grid,
    .ctz-project-archive
    .ctz-project-archive-grid.ctz-project-columns-2,
    .ctz-project-archive
    .ctz-project-archive-grid.ctz-project-columns-3,
    .ctz-project-archive
    .ctz-project-archive-grid.ctz-project-columns-4,
    .ctz-project-archive-layout--sidebar
    .ctz-project-archive-grid.ctz-project-columns-4 {
        grid-template-columns: minmax(0,1fr);
        gap: 18px;
    }

    .ctz-project-custom-sections .ctz-category-photo-grid,
    .ctz-project-custom-sections .ctz-category-photos-grid,
    .ctz-project-custom-sections .ctz-category-gallery-grid,
    .ctz-project-custom-sections .ctz-project-photo-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 18px;
    }

    .ctz-project-custom-sections .ctz-category-photo-card img,
    .ctz-project-custom-sections .ctz-category-photo-item img,
    .ctz-project-custom-sections .ctz-project-photo-card img {
        max-height: 380px;
    }

    .ctz-project-custom-sections .ctz-category-photo-content,
    .ctz-project-custom-sections .ctz-category-photo-caption,
    .ctz-project-custom-sections .ctz-category-photo-card figcaption,
    .ctz-project-custom-sections .ctz-category-photo-item figcaption {
        padding: 16px;
    }

    .ctz-project-custom-sections .alignleft,
    .ctz-project-custom-sections .alignright {
        float: none;
        display: block;
        max-width: 100%;
        margin: 0 auto 18px;
    }

    .ctz-project-archive-card .ctz-project-card-content {
        padding: 20px 18px;
    }

    .ctz-project-category-directory-grid,
    .ctz-project-archive-layout--full
    .ctz-project-category-directory-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 16px;
    }

    .ctz-project-category-directory-card {
        min-height: 180px;
        padding: 22px;
    }

    .ctz-project-archive .ctz-project-pagination {
        margin-top: 26px;
    }

    .ctz-project-pagination ul.page-numbers {
        gap: 6px;
    }

    .ctz-project-pagination a.page-numbers,
    .ctz-project-pagination span.page-numbers {
        min-width: 38px;
        min-height: 42px;
        padding: 8px 10px;
        font-size: 12px;
    }

}

/* ==========================================
   41. SMALL MOBILE
========================================== */

@media (max-width: 360px) {

    .ctz-project-category-directory-card {
        padding: 18px;
    }

    .ctz-project-archive-card .ctz-project-card-content {
        padding: 16px 14px;
    }

    .ctz-project-category-link {
        padding-inline: 9px;
    }

    .ctz-project-empty-state {
        padding: 22px 16px;
    }

    .ctz-project-archive-card .ctz-project-card-meta {
        padding: 12px 9px;
    }

}

/* ==========================================
   42. RIGHT TO LEFT SUPPORT
========================================== */

[dir="rtl"] .ctz-project-category-link svg,
[dir="rtl"] .ctz-project-details-link svg {
    transform: scaleX(-1);
}

[dir="rtl"]
.ctz-project-archive .ctz-project-details-link:hover svg {
    transform: translateX(-4px) scaleX(-1);
}

[dir="rtl"] .ctz-project-content-introduction {
    border-radius: 12px 0 0 12px;
}

[dir="rtl"] .ctz-project-custom-sections .alignleft {
    float: right;
    margin: 0 0 20px 20px;
}

[dir="rtl"] .ctz-project-custom-sections .alignright {
    float: left;
    margin: 0 20px 20px 0;
}

@media (max-width: 600px) {

    [dir="rtl"] .ctz-project-custom-sections .alignleft,
    [dir="rtl"] .ctz-project-custom-sections .alignright {
        float: none;
        margin: 0 auto 18px;
    }

}

/* ==========================================
   43. REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .ctz-project-archive *,
    .ctz-project-archive *::before,
    .ctz-project-archive *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .ctz-project-archive .ctz-project-archive-card:hover,
    .ctz-project-category-directory-card:hover,
    .ctz-project-archive-card:hover .ctz-project-card-image {
        transform: none;
    }

    .ctz-project-archive .ctz-project-details-link:hover svg {
        transform: none;
    }

    [dir="rtl"]
    .ctz-project-archive .ctz-project-details-link:hover svg {
        transform: scaleX(-1);
    }

}

/* ==========================================
   44. HIGH CONTRAST ACCESSIBILITY
========================================== */

@media (forced-colors: active) {

    .ctz-project-category-filter,
    .ctz-project-category-directory-card,
    .ctz-project-archive .ctz-project-archive-card,
    .ctz-project-archive .ctz-project-table-wrapper,
    .ctz-project-custom-sections .ctz-category-table-wrapper,
    .ctz-project-empty-state {
        border: 1px solid CanvasText;
        box-shadow: none;
    }

    .ctz-project-category-link.is-active,
    .ctz-project-category-link[aria-current="page"],
    .ctz-project-pagination span.page-numbers.current {
        border: 2px solid Highlight;
        color: Highlight;
    }

    .ctz-project-archive .ctz-project-table thead th,
    .ctz-project-archive .ctz-project-custom-sections table thead th {
        background: Canvas;
        color: CanvasText;
        border-bottom: 2px solid CanvasText;
    }

    .ctz-project-archive .ctz-project-table th,
    .ctz-project-archive .ctz-project-table td,
    .ctz-project-archive .ctz-project-custom-sections table th,
    .ctz-project-archive .ctz-project-custom-sections table td {
        border-color: CanvasText;
    }

    .ctz-project-archive a:focus-visible,
    .ctz-project-archive button:focus-visible {
        outline-color: Highlight;
    }

}

/* ==========================================
   45. PRINT STYLES
========================================== */

@media print {

    .ctz-project-archive {
        background: #ffffff;
        color: #000000;
    }

    .ctz-project-archive .ctz-project-archive-section {
        padding: 0;
    }

    .ctz-project-category-sidebar,
    .ctz-project-pagination,
    .ctz-project-card-actions,
    .ctz-project-table-action,
    .ctz-project-all-button {
        display: none !important;
    }

    .ctz-project-archive-layout--sidebar,
    .ctz-project-archive-layout--full {
        display: block;
    }

    .ctz-project-archive .ctz-project-table-wrapper,
    .ctz-project-custom-sections .ctz-table-responsive,
    .ctz-project-custom-sections .ctz-category-table-wrapper,
    .ctz-project-custom-sections .ctz-category-table-scroll,
    .ctz-project-custom-sections .ctz-category-table-container,
    .ctz-project-custom-sections .wp-block-table {
        padding: 0;
        overflow: visible;
        border-radius: 0;
        box-shadow: none;
        background: #ffffff;
    }

    .ctz-project-archive .ctz-project-table,
    .ctz-project-archive .ctz-project-custom-sections table {
        width: 100%;
        min-width: 0;
        font-size: 10px;
        background: #ffffff;
        color: #000000;
    }

    .ctz-project-archive .ctz-project-table th,
    .ctz-project-archive .ctz-project-table td,
    .ctz-project-archive .ctz-project-custom-sections table th,
    .ctz-project-archive .ctz-project-custom-sections table td {
        padding: 7px;
        border: 1px solid #cccccc;
        background: #ffffff !important;
        color: #000000 !important;
        white-space: normal;
        box-shadow: none;
    }

    .ctz-project-table thead,
    .ctz-project-custom-sections table thead {
        display: table-header-group;
    }

    .ctz-project-archive .ctz-project-table thead th,
    .ctz-project-archive .ctz-project-custom-sections table thead th {
        padding: 7px;
        background: #eeeeee !important;
        color: #000000 !important;
        font-size: 10px;
        white-space: normal;
        border-radius: 0;
    }

    .ctz-project-table tr,
    .ctz-project-custom-sections table tr {
        break-inside: avoid;
    }

    .ctz-project-custom-sections table td[rowspan],
    .ctz-project-custom-sections table th[rowspan] {
        background: #f4f4f4 !important;
        color: #000000 !important;
    }

    .ctz-project-archive .ctz-project-archive-grid,
    .ctz-project-archive
    .ctz-project-archive-grid.ctz-project-columns-2,
    .ctz-project-archive
    .ctz-project-archive-grid.ctz-project-columns-3,
    .ctz-project-archive
    .ctz-project-archive-grid.ctz-project-columns-4,
    .ctz-project-archive-layout--sidebar
    .ctz-project-archive-grid.ctz-project-columns-4,
    .ctz-project-category-directory-grid,
    .ctz-project-archive-layout--full
    .ctz-project-category-directory-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ctz-project-archive-card,
    .ctz-project-category-directory-card,
    .ctz-category-photo-card,
    .ctz-category-photo-item {
        break-inside: avoid;
        box-shadow: none;
        transform: none;
    }

    .ctz-project-archive a {
        color: #000000;
        text-decoration: none;
    }

}

/* ==========================================
   END OF PROJECTS ARCHIVE STYLESHEET
========================================== */
