/*Style Standards - Always include these*/
html, body {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: normal;
    font-family: 'Vazirmatn', 'Noto Sans', sans-serif !important;
    color: var(--cc-stdFont);
    min-height: 100% !important;
    min-width: 100% !important;
    overflow-y: initial;
}

html {
    height: 100% !important;
    width: 100% !important;
}

body {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100% !important;
}

header {
    width: 100%;
}

main {
    flex: 1 0 auto;
    width: 100%;
}


footer {
    width: 100%;
    flex-shrink: 0;
}

p {
    margin: .5rem .5rem 1rem .54rem;
}
/*--> fonts and text*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Franklin Gothic Book', 'Roboto Flex', sans-serif;
    color: var(--cc-blue);
    padding: .2em;
}

h2 {
    font-size: 1.65em;
}

h3 {
    font-size: 1.55em;
}

a {
    color: #0d25ab;
}

    a:visited {
        color: #6e0088;
    }

    a:hover {
        color: var(--cc-blue);
    }

.titleCaps {
    text-transform: uppercase; /* makes all letters uppercase */
    font-variant-caps: small-caps; /* makes normal letters small caps */
}

.fullBody h2.sectionLabel {
    font-size: 2em;
    position: relative;
    display: inline-block;
    min-width: 24%;
    color: #fff !important;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--cc-yellowAccent);
    padding: 0.5em 1em 0.25em 2em !important;
}
/*--> County Colors*/
:root {
    --cc-blue: #293d97;
    --cc-darkBlue: #0b2244;
    --cc-navBlue: #2c3e50;
    --cc-blueAccent01: #172d4d;
    --cc-blueAccent02: #364758;
    --cc-red: #cc0000;
    --cc-darkRed: #a71414;
    --cc-lightGrey: #f5f5f5;
    --cc-stdFont: #333;
    --cc-yellowAccent: #D7A31A;
    /*steps margin to .25em as default*/
    --cc-m25-step: 0.25em;
    --cc-m25-top: 0.25em;
    --cc-m25-right: 0.25em;
    --cc-m25-bottom: 0.25em;
    --cc-m25-left: 0.25em;
}


/*--> Quick Alignments */
.colGrp {
    display: flex;
    flex-direction: column;
}

.rowGrp {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.floatLeft {
    float: left;
    margin: .25em 1em .5em 0;
    clear: left;
    max-width: 30%;
}

.floatRight {
    float: right;
    margin: .25em 0 .5em 1em;
    clear: left;
    max-width: 30%;
}

.dblBlock {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    justify-content: flex-start;
    align-items: flex-start
}

    .dblBlock .blockItem {
        flex: 1 1 auto;
        width: 50%
    }

.dblBlockList {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    box-shadow: 1px 1px 3px rgba(0,0,0,25%);
    border: 2px solid #f5f5f5;
    margin: 10px 0
}

    .dblBlockList .blockItem {
        flex: 1 1 auto
    }

        .dblBlockList .blockItem ul {
            padding: 0;
            margin: 0
        }

            .dblBlockList .blockItem ul li {
                list-style: none;
                padding: 5px 10px
            }

                .dblBlockList .blockItem ul li:nth-child(odd) {
                    background: #f5f5f5
                }

/*Aesthetic Feature Additions*/

.ccGlass {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.4) 90%);
    /* border: 1px solid rgba(255, 255, 255, 0.08); */
    /* border-radius: 10px; */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 10px 5px rgba(0, 0, 0, 0.3);
}

/* Dark version */
a.ccButton {
    display: inline-block;
    background-color: var(--cc-navBlue); /* dark blue */
    color: #ffffff;
    letter-spacing: 0.25px;
    text-decoration: none;
    padding: 0.5em 1.5em;
    margin: 1em;
    border-radius: 0.15em;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.2);
}

    a.ccButton:hover,
    a.ccButton:focus {
        background-color: rgba(44 62 80/.9); /* slightly lighter */
        box-shadow: none;
        outline: none;
    }

    a.ccButton:focus-visible {
        outline: 3px solid #ffbf47; /* high-contrast focus */
        outline-offset: 2px;
    }

    a.ccButton:active {
        background-color: #16212b;
        box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.3);
    }

/* Light version */
a.ccButtonLight {
    display: inline-block;
    background-color: var(--cc-lightGrey);
    color: var(--cc-navBlue);
    letter-spacing: 0.25px;
    text-decoration: none;
    padding: 0.5em 1.5em;
    margin: 1em;
    border-radius: 0.15em;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.15);
}

    a.ccButtonLight:hover,
    a.ccButtonLight:focus {
        background-color: #e4e9ee;
        box-shadow: none;
        outline: none;
    }

    a.ccButtonLight:focus-visible {
        outline: 3px solid #ffbf47;
        outline-offset: 2px;
    }

    a.ccButtonLight:active {
        background-color: #d8dde2;
        box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.3);
    }



/* accordion style */
.accordion {
    border-bottom: 1px solid #ccc;
}

.accordion-section {
    border-bottom: 1px solid #fff;
}

.accordion-header {
    background: #ededed;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #425262;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.contentBody .accordion-header {
    font-size: 1.2rem;
}

.contentBody .accordion-content {
    padding: 0rem 1rem;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 2px solid #fff;
}

.accordion-header.active + .accordion-content {
    max-height: 500px; /* Adjust based on content size */
}

.accordion-header.active:after {
    font-family: 'ccicons';
    content: '\f004';
    font-size: .8em;
}

.accordion-header:not(.active):after {
    font-family: 'ccicons';
    content: '\f005';
    font-size: .8em;
}


/*Tree View*/
.ccTreeView {
    margin: 0 0 0 .5em;
}

.ccTreeViewSection {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    margin-block: 0.5em;
    overflow: clip;
}

.ccTreeViewToggle {
    display: grid;
    grid-template-columns: 2ch 1fr;
    align-items: center;
    gap: 0.5em;
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid var(--cc-blue);
}

    .ccTreeViewToggle:focus-visible {
        outline: 2px solid royalblue;
        outline-offset: 2px;
    }

    .ccTreeViewToggle .icon-right-dir {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1em;
        height: 1em;
        margin-bottom: .3em;
        font-size: 1.25em;
        transition: transform .2s ease;
        transform-origin: 50% 50%;
    }

    .ccTreeViewToggle[aria-expanded="true"] .icon-right-dir {
        transform: rotate(90deg);
    }

.ccTreeViewTitle h3 {
    font-size: 1.35em;
}

.ccTreeViewPanel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 220ms ease;
    will-change: max-height;
}

    .ccTreeViewPanel > .ccTreeViewPanelDetails {
        padding: 0 0.5em 1em 2em;
    }

    .ccTreeViewPanel[hidden] {
        display: block;
    }


/*generic tags*/
.ccTagBlock {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    .ccTagBlock .ccTags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

        .ccTagBlock .ccTags .icon-tag {
            display: block;
            align-items: center;
            background-color: #dbe6f2; /* subtle gray */
            color: #2f3c4a; /* your dark-blue text color */
            font-size: 0.7rem;
            font-weight: 500;
            padding: 0.25rem 0.5rem 0 .5rem;
            border-radius: 3px;
            text-transform: capitalize; /* makes first letter uppercase */
            cursor: default;
            transition: background-color 0.2s ease;
        }

            .ccTagBlock .ccTags .icon-tag:hover {
                background-color: #d0d4d8; /* subtle hover effect */
            }
