/*
Theme Name: Hello ARMA
Author: Nik Hudson
Description: A child theme of Hello Elementor, allowing the main theme to be updated without impacting customisations.
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.
Note: Templates included in this theme are used as a fallback only.
(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* ==========================================================================
   ARMA BRAND COLORS & VARIABLES
   ========================================================================== */
:root {
    --arma-purple: #882388;
    --arma-dark-purple: #4d145e;
    --arma-dark-grey: #272e36;
    --arma-bg-primary: #f9fcfd;
    --arma-bg-secondary: #f4efff;
    --arma-bg-accent: #bbb0d3;
}

/* ==========================================================================
   RESET / BASE (from Hello reset.css) DO NOT EDIT HERE - SCROLL DOWN TO CUSTOM
   ========================================================================== */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

*, :after, :before {
    box-sizing: border-box
}

body {
    background-color: var(--arma-bg-primary);
    color: var(--arma-dark-grey);
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    margin-block-end: 1rem;
    margin-block-start: .5rem
}

h1 {
    font-size: 2.5rem
}

h2 {
    font-size: 2rem
}

h3 {
    font-size: 1.75rem
}

h4 {
    font-size: 1.5rem
}

h5 {
    font-size: 1.25rem
}

h6 {
    font-size: 1rem
}

p {
    margin-block-end: .9rem;
    margin-block-start: 0;
		font-weight:400;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace,monospace;
    font-size: 1em;
    white-space: pre-wrap
}

a {
    background-color: transparent;
    color: #882388;
    text-decoration: none
}

    a:active, a:hover {
        color: #336
    }

    a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
        color: inherit;
        text-decoration: none
    }

        a:not([href]):not([tabindex]):focus {
            outline: 0
        }

abbr[title] {
    border-block-end: none;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

b, strong {
    font-weight: bolder
}

code, kbd, samp {
    font-family: monospace,monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none;
    height: auto;
    max-width: 100%
}

details {
    display: block
}

summary {
    display: list-item
}

figcaption {
    color: #333;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4
}

[hidden], template {
    display: none
}

@media print {
    *, :after, :before {
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
        text-shadow: none !important
    }

    a, a:visited {
        text-decoration: underline
    }

        a[href]:after {
            content: " (" attr(href) ")"
        }

    abbr[title]:after {
        content: " (" attr(title) ")"
    }

    a[href^="#"]:after, a[href^="javascript:"]:after {
        content: ""
    }

    pre {
        white-space: pre-wrap !important
    }

    blockquote, pre {
        -moz-column-break-inside: avoid;
        border: 1px solid #ccc;
        break-inside: avoid
    }

    thead {
        display: table-header-group
    }

    img, tr {
        -moz-column-break-inside: avoid;
        break-inside: avoid
    }

    h2, h3, p {
        orphans: 3;
        widows: 3
    }

    h2, h3 {
        -moz-column-break-after: avoid;
        break-after: avoid
    }
}

label {
    display: inline-block;
    line-height: 1;
    vertical-align: middle
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0
}

    input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
        border: 1px solid #666;
        border-radius: 3px;
        padding: .5rem 1rem;
        transition: all .3s;
        width: 100%
    }

        input[type=date]:focus, input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus {
            border-color: #333
        }

button, input {
    overflow: visible
}

button, select {
    text-transform: none
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: button;
    width: auto
}

[type=button], [type=submit], button {
    background-color: transparent;
    border: 1px solid #c36;
    border-radius: 3px;
    color: #c36;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: .5rem 1rem;
    text-align: center;
    transition: all .3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap
}

    [type=button]:focus:not(:focus-visible), [type=submit]:focus:not(:focus-visible), button:focus:not(:focus-visible) {
        outline: none
    }

    [type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
        background-color: #c36;
        color: #fff;
        text-decoration: none
    }

    [type=button]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
        cursor: pointer
    }

fieldset {
    padding: .35em .75em .625em
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto;
    resize: vertical
}

[type=checkbox], [type=radio] {
    box-sizing: border-box;
    padding: 0
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

    [type=search]::-webkit-search-decoration {
        -webkit-appearance: none
    }

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

select {
    display: block
}

table {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: .9em;
    margin-block-end: 15px;
    width: 100%
}

    table td, table th {
        border: 1px solid hsla(0,0%,50%,.502);
        line-height: 1.5;
        padding: 15px;
        vertical-align: top
    }

    table th {
        font-weight: 700
    }

    table tfoot th, table thead th {
        font-size: 1em
    }

    table caption + thead tr:first-child td, table caption + thead tr:first-child th, table colgroup + thead tr:first-child td, table colgroup + thead tr:first-child th, table thead:first-child tr:first-child td, table thead:first-child tr:first-child th {
        border-block-start: 1px solid hsla(0,0%,50%,.502)
    }

    table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th {
        background-color: hsla(0,0%,50%,.071)
    }

    table tbody tr:hover > td, table tbody tr:hover > th {
        background-color: hsla(0,0%,50%,.102)
    }

    table tbody + tbody {
        border-block-start: 2px solid hsla(0,0%,50%,.502)
    }

@media(max-width:767px) {
    table table {
        font-size: .8em
    }

        table table td, table table th {
            line-height: 1.3;
            padding: 7px
        }

        table table th {
            font-weight: 400
        }
}

dd, dl, dt, li, ol, ul {
    background: transparent;
    border: 0;
    font-size: 100%;
    margin-block-end: 0;
    margin-block-start: 0;
    outline: 0;
    vertical-align: baseline
} 
/* ==========================================================================
   ARMA CUSTOM STYLES - YOU CAN EDIT HERE IF NEEDED
   ========================================================================== */
/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    font-size: 16px; /* Base size for rem calculations */
}

body {
    background-color: var(--arma-bg-primary);
    color: var(--arma-dark-grey);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.125rem; /* 18px - larger for readability */
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Override default, non-elementor page width 
  body.page .site-main { 
   max-width: 100% !important;
 }*/

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    font-family: inherit;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive sizing */
    font-weight: 800 !important;
    letter-spacing: -0.02em!important;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700 !important;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

p {
    font-size: 1.125rem; /* 18px */
    line-height: 1.7;
    margin-bottom: 1.25rem;
	font-weight:400;
}

.wp-page ul li {
    font-size: 1.125rem!important; /* 18px */
    line-height: 1.7!important;
    margin-bottom: 1.25rem!important;
	font-weight:400!important;
}

/* Lead paragraph (intro text) */
.lead {
    font-size: 1.25rem!important; /* 20px */
    line-height: 1.6!important;
    margin-bottom: 2rem!important;
	font-weight:600!important;
}

/* Links */
.wp-page a {
    color: var(--arma-purple)!important;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .wp-page a:hover {
        color: var(--arma-dark-purple)!important;
        text-decoration: underline!important;
    }

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
/* used across some of the pre-made templates eg PageBlocks */

/* white-text */
.white-text,
.white-text h1,
.white-text h2,
.white-text h3,
.white-text h4,
.white-text h5,
.white-text h6,
.white-text p,
.white-text a {
    color: #fff !important;
}
.white-text a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}
.white-text span {font-size:clamp(1.5rem, 3vw, 2rem);}
/* purple-bg */
.purple-bg {
    background-color: var(--arma-purple) !important;
}
/* grey-bg */
.dark-grey-bg {
    background-color: var(--arma-dark-grey) !important;
}
/* light-purple-bg */
.light-purple-bg {
    background-color: var(--arma-bg-secondary) !important;
}

.word-wrap {
    white-space: nowrap;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.top-nav > nav > ul > li a{font-size:1.25rem;font-weight:400;}
.second-nav > nav > ul > li a{font-size:1.25rem;font-weight:600;}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-section {
    padding: 80px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: #ffffff;
}
    .hero-section h1 {
        margin-bottom: 1.5rem;
        color:#ffffff;
    }
    .hero-section h2 {
        color: #ffffff;
    }
    .hero-section p {
        font-size: 1.25rem;
        max-width: 800px;
        color: #ffffff;
    }
.text-only-hero {
    background-color: var(--arma-purple) !important;
}

/* Hero Photo */
.hero, .hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6 {
    color: #ffffff;
}
nav#breadcrumbs span{color:white;font-size:1rem}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */
/* apply padding to first level containers unless they're fullwidth: */
.page-content > .elementor-element[data-element_type="container"] {
    padding: 40px 20px;
}

.content-section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================ROW TEMPLATES=======================================*/
/* 2 Row Text */
.two-row-text p {
    font-weight: 400 !important;
}

.two-row-text h1 {
    font-size: 80px !important;
   
}

.two-row-text h2 {
    font-size:2.75em !important;
    font-weight:700 !important;
   
}

/* Four Icon Row */
.four-icon-row {
    color: #882388 !important;
}
    .four-icon-row h2 {
        font-weight: 700 !important;
    }

    .four-icon-row h3 {
        font-weight: 500 !important;
    }

    .four-icon-row p {
        font-weight: 400 !important
    }
    .four-icon-row span {
        font-weight:600 !important;
    }
    .four-icon-row .elementor-icon {
        color: #882388 !important;
        font-size: 130px !important;
    }
    .four-icon-row .elementor-icon svg {
        fill: var(--arma-purple);
        width: 130px;
        height: 130px;
    }
/* spacer row */
    .spacer {
    padding:40px;
    }


/* policy hub grid*/
.policy-hub h1,
.policy-hub h2,
.policy-hub h3,
.policy-hub h4,
.policy-hub h5,
.policy-hub h6 {
    color: var(--arma-dark-grey) !important;
    font-size: clamp(1.5rem, 3vw, 2rem)!important;
    font-weight: 500!important;
}
    .policy-hub h1 a, .policy-hub h2 a, .policy-hub h3 a, .policy-hub h4 a, .policy-hub h5 a, .policy-hub h5 a, .policy-hub h5 a {
        font-weight: 500 !important;
    }
    .policy-hub p {
        color: var(--arma-dark-grey) !important;
        font-weight: 400 !important;
    }

.heading-text-alternate{background-color:var(--arma-bg-secondary)}
.heading-text-alternate h1,.heading-text-alternate h2{}
.heading-text-alternate p{font-weight:400;}

.board-member-item {}
.board-member-item h2 a{font-weight:700;}
.board-member-item job-title {color:var(--arma-purple);font-weight:500;}

.tabs-main{} /* to do */
.tabs-main > .tabs-inner-1{}
.tabs-main > .tabs-inner-1 > .tabs-inner-2{}

/* ==========================================================================
   CARDS & PANELS 
   ========================================================================== */
.card {
    background: #fff;
    border: 1px solid var(--arma-purple);
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 30px;
}

.panel {
    background: var(--arma-bg-secondary);
    padding: 40px 30px;
    margin: 30px 0;
    border-radius: 4px;
}

/* archive loop grid single item cut corner boxes */
/* Formula: Inner --s = Outer --s - (border thickness × 2)
For 1px border: inner --s: 49px
For 2px border: inner --s: 48px
For 3px border: inner --s: 44px
For 4px border: inner --s: 42px
*/

/* ===== VARIANT 1: Standard Border ===== */
.cut-corner-outer {
    --corner-size: 34px;
    --border-width: 2px;
    background: var(--arma-bg-accent); /* Border color */
    padding: var(--border-width);
    clip-path: polygon( 0 0, 100% 0, 100% calc(100% - var(--corner-size)), calc(100% - var(--corner-size)) 100%, 0 100% );
}

.cut-corner-inner {
    /* Inner corner = outer corner - (2 × border) = 34 - 4 = 30px */
    --corner-size: 30px; /* SMALLER, not larger! */

    background: #F9FCFD;
    width: 100%;
    height: 100%;
    clip-path: polygon( 0 0, 100% 0, 100% calc(100% - var(--corner-size)), calc(100% - var(--corner-size)) 100%, 0 100% );
}

/* ===== VARIANT 2: Accent Border ===== */
.cut-corner-outer-accent {
    --corner-size: 34px;
    --border-width: 2px;
    background: var(--arma-purple);
    padding: var(--border-width);
    clip-path: polygon( 0 0, 100% 0, 100% calc(100% - var(--corner-size)), calc(100% - var(--corner-size)) 100%, 0 100% );
}

.cut-corner-inner-accent {
    /* Inner corner = outer corner - (2 × border) = 34 - 4 = 30px */
    --corner-size: 30px!important;
    background: var(--arma-bg-secondary);
    width: 100%;
    height: 100%;
    clip-path: polygon( 0 0, 100% 0, 100% calc(100% - var(--corner-size)), calc(100% - var(--corner-size)) 100%, 0 100% );
}

/* bold first sentence */
.board-member-post-content p:nth-child(1) {
  font-weight: 600;
}
/*  Icon Box (row of 4 usually)*/
.elementor-icon-box-title {
	font-size: clamp(1.25rem, 2.5vw, 1.75rem)!important;
	font-weight:600;
}
.elementor-icon-box-description {
	line-height:1.4;
	font-size:1rem;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.elementor-button {
	min-width:120px!important;
}
span.elementor-button-text{font-weight:600;}

.btn-primary {
    background-color: var(--arma-purple);
    color: #fff;
    min-width: 200px !important;
}

    .btn-primary:hover {
        background-color: var(--arma-dark-purple);
        text-decoration: none;
        transform: translateY(-1px);
    }
.e-loop__load-more {
color:#ffffff;
}
    .e-loop__load-more a {
        background-color: var(--arma-dark-purple);
        min-width:200px!important;
    }
        .e-loop__load-more a span {
            font-size:1.4rem;
            font-weight: 600 !important;
        }
/* =========================================================================*
   POST TYPE STYLING
   =========================================================================*/
.custom-post-resource {
}
    .custom-post-resource a  {
    font-weight:700!important;
    color:var(--arma-dark-purple)!important;
    text-decoration:underline!important;
    }
    .custom-post-resource ul {
    padding: 0px 20px;
    margin-bottom:20px;
    }
    .custom-post-resource li {
        line-height:2rem!important;
    }
.custom-post-blog {
}
    .custom-post-blog a {
        font-weight: 700 !important;
        color: var(--arma-dark-purple) !important;
        text-decoration: underline !important;
    }
.custom-post-news {
    margin-top:20px!important;
}
    .custom-post-news a {
        font-weight: 700 !important;
        color: var(--arma-dark-purple) !important;
        text-decoration: underline !important;
    }
.custom-post-commentary {
}
.custom-post-events {
}
/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--arma-dark-grey) !important;
    color: #fff !important;
    padding: 60px 20px 40px !important;
}

    .site-footer a {
        color: rgba(255, 255, 255, 0.8)!important;
    }

        .site-footer a:hover {
            color: #fff!important;
        }
.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5,.site-footer h6{font-weight:400;}
.site-footer h1 a,.site-footer h2 a,.site-footer h3 a,.site-footer h4 a,.site-footer h5 a,.site-footer h6 a{}
/* ==========================================================================
   FORMS
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.15s;
}

    input:focus,
    textarea:focus,
    select:focus {
        border-color: var(--arma-purple);
        outline: none;
        box-shadow: 0 0 0 2px rgba(136, 35, 136, 0.15);
    }

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3c434a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
/* ==========================================================================
   ARCHIVE FILTERS
   ========================================================================== */
.arma-archive-filters {
    display: block;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 30px;
    margin-bottom: 40px;
    /*border: 2px solid var(--arma-purple);*/
    /*border-radius: 4px;*/
}

.arma-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.arma-filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: right;
}

.arma-archive-filters select {
    padding: 10px 16px;
    font-size: 1rem;
    border: 1px solid #dcdcde;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
}

.arma-archive-filters select:focus {
    border-color: var(--arma-purple);
    outline: none;
    box-shadow: 0 0 0 2px rgba(136, 35, 136, 0.15);
}

.arma-filter-submit {
    padding: 10px 20px;
    background: var(--arma-dark-grey)!important;
    color: #fff;
    border: 1px solid var(--arma-purple);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-end;
    font-family: inherit;
}

.arma-filter-submit:hover {
    background: var(--arma-purple)important;
    border-color: var(--arma-dark-grey);
}

.arma-filter-reset {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: var(--arma-purple);
    border: 1px solid var(--arma-purple);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-end;
    margin-left: auto;
}

.arma-filter-reset:hover {
    background: var(--arma-purple);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .arma-filter-group {
        min-width: 100%;
    }
    
    .arma-filter-reset {
        text-align: right;
    }
}

@media (max-width: 767px) {
    .arma-archive-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 20px;
    }
    
    .arma-filter-group {
        min-width: 100%;
    }
    
    .arma-filter-submit,
    .arma-filter-reset {
        align-self: stretch;
        text-align: center;
    }
    
    /* Apply padding to first level containers unless they're fullwidth */
    .page-content > .elementor-element[data-element_type="container"] {
        padding: 20px 20px;
    }
}

/* ==========================================================================
   ARCHIVE/GRID LOOP ITEM
   ========================================================================== */
.archive-single-item{max-height:580px;}
.archive-single-item > div > p {font-weight:400;}
.archive-single-item .elementor-widget-theme-post-excerpt p {font-weight:400;}
.elementor-widget-theme-post-excerpt p {
    font-weight:400;font-size:1em;
}
/* ==========================================================================
   CLICKABLE POST BADGES
   ========================================================================== */


.card-cats a{
    display: inline-block;
    padding: 4px 4px;
    background: var(--arma-purple);
    color: #fff !important;
    font-size: 0.7rem!important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1.2;
	margin:4px;
    white-space:nowrap;
}
    .card-cats a::after {
    none;}

.card-cats a:hover {
    background: var(--arma-dark-purple);
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(136, 35, 136, 0.3);
}
.card-post-type a{
    display: inline-block;
    padding: 4px 4px;
    background: var(--arma-dark-purple);
    color: #fff !important;
    font-size: 0.7rem!important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1.2;
	margin:4px;
    white-space:nowrap;
}
    .card-post-type a::after {
    none;}

.card-post-type a:hover {
    background: var(--arma-purple);
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(136, 35, 136, 0.3);
}


/* Make badges stack nicely on mobile */
@media (max-width: 767px) {
    .card-cats a {
        gap: 6px;
        font-size: 0.65rem;
        padding: 5px 12px;
    }
}
/* ==========================================================================
   ARMA BACKGROUND SHAPES
   ========================================================================== */

.arma-bg-diagonal {
    background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-diagonal-stripe.svg');
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
}

.arma-bg-corner {
    background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-corner-accent.svg');
    background-size: 40%;
    background-position: top right;
    background-repeat: no-repeat;
}

.arma-bg-scatter {
    background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-scattered-triangles.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.arma-bg-bottom-wave {
    position: relative;
    padding-bottom: 100px;
}

    .arma-bg-bottom-wave::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 200px;
        background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-bottom-wave.svg');
        background-size: cover;
        background-position: bottom;
        pointer-events: none;
    }

.arma-bg-bottom-gradient {
    position: relative;
    padding-bottom: 80px;
}

    .arma-bg-bottom-gradient::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 150px;
        background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-bottom-gradient-angles.svg');
        background-size: cover;
        background-position: bottom;
        pointer-events: none;
    }

.arma-bg-checkmark {
    background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-checkmark.svg');
    background-size: 120px;
    background-position: top right 40px;
    background-repeat: no-repeat;
    opacity: 0.15;
}

.arma-bg-checkmark2 {
    background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-checkmark2.svg');
    background-size: 100px;
    background-position: bottom left 40px;
    background-repeat: no-repeat;
    opacity: 0.2;
}

.arma-bg-checkmark3 {
    background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-checkmark3.svg');
    background-size: 150px;
    background-position: center right 60px;
    background-repeat: no-repeat;
    opacity: 0.12;
}

.arma-bg-fullwidth-header {
    background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-fullwidth-header-mask.svg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.arma-bg-grid {
    background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-grid-pattern-minimal.svg');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.arma-bg-side-panel {
    position: relative;
}

    .arma-bg-side-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 400px;
        height: 100%;
        background-image: url('/wp-content/themes/hello-arma/assets/bg-shapes/arma-side-panel-accent-left.svg');
        background-size: contain;
        background-position: left center;
        background-repeat: no-repeat;
        pointer-events: none;
        z-index: 0;
    }

    .arma-bg-side-panel > * {
        position: relative;
        z-index: 1;
    }

/* Variations for mobile responsiveness */
@media (max-width: 767px) {
    .arma-bg-corner {
        background-size: 60%;
    }

    .arma-bg-bottom-wave {
        padding-bottom: 60px;
    }

        .arma-bg-bottom-wave::after {
            height: 120px;
        }

    .arma-bg-bottom-gradient {
        padding-bottom: 50px;
    }

        .arma-bg-bottom-gradient::after {
            height: 100px;
        }

    .arma-bg-checkmark,
    .arma-bg-checkmark2 {
        background-size: 60px;
    }

    .arma-bg-checkmark3 {
        background-size: 80px;
    }

    .arma-bg-side-panel::before {
        width: 200px;
    }
}

/* Alternative positioning modifiers */
.arma-bg-top-left {
    background-position: top left !important;
}

.arma-bg-top-right {
    background-position: top right !important;
}

.arma-bg-bottom-left {
    background-position: bottom left !important;
}

.arma-bg-bottom-right {
    background-position: bottom right !important;
}

.arma-bg-center {
    background-position: center !important;
}

/* Opacity modifiers */
.arma-bg-subtle {
    opacity: 0.3;
}

.arma-bg-medium {
    opacity: 0.5;
}

.arma-bg-bold {
    opacity: 0.8;
}
/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Mobile - 767px and below */
@media (max-width: 767px) {
    body {
        font-size: 1rem; /* 16px on mobile */
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    p, .lead,ul li {
        font-size: 1rem;
    }

    .hero-section {
        padding: 60px 20px;
        min-height: 300px;
    }

    .content-section {
        padding: 40px 20px;
    }

    #secondarynav {
        display: none !important;
    }

    #mobilenavflex {
        display: block !important;
    }
    .spacer {
        padding: 20px;
    }
    .arma-archive-filters {
        padding: 0px 0px;
    }
}

/* Tablet - 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    body {
        font-size: 1.0625rem; /* 17px */
    }

    .container {
        padding: 0 40px;
    }
}

/* Desktop - 1025px and above */
@media (min-width: 1025px) {
    #mobilenavflex {
        display: none !important;
    }

    .hero-section {
        padding: 100px 40px;
    }

    .content-section {
        padding: 80px 40px;
    }
}

/* Large Desktop - 1440px and above */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    h1 {
        font-size: 4rem;
    }

    p {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
:focus-visible {
    outline: 2px solid var(--arma-purple);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--arma-purple);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

    .skip-link:focus {
        top: 0;
    }

