@import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow);

/* Word Counters page – no gray bands; section matches counters, minimal padding */
.wordcounters-section {
    position: relative;
    display: block;
    padding-top: 4.5rem !important; /* minimal: just clear fixed navbar */
    padding-bottom: 0 !important;
    background-color: rgb(192, 182, 155) !important; /* same as top counter block */
}

.wordcounters-section .wordcounters-empty {
    text-align: center;
    font-size: 1.1rem;
    color: #444 !important;
    padding: 3rem 1rem;
    margin: 0 auto;
    background: #fff !important;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Screen reader only (accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Section and grid */
.sectionClass {
    position: relative;
    display: block;
    font-weight: bold;
}

.fullWidth {
    width: 100% !important;
    display: table;
    float: none;
    padding: 0;
    min-height: 1px;
    height: 100%;
    position: relative;
}

.sectiontitle {
    background-position: center;
    margin: 30px 0 0px;
    text-align: center;
    min-height: 20px;
}

.sectiontitle h2 {
    font-size: 30px;
    color: #222;
    margin-bottom: 0px;
}

.headerLine {
    width: 160px;
    height: 2px;
    display: inline-block;
    background: #101F2E;
}

.projectFactsWrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#projectFacts .fullWidth {
    padding: 0;
}

/* Stat blocks: base and hover */
.projectFactsWrap .item {
    width: 100%;
    height: 100%;
    padding: 50px 0px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projectFactsWrap .item.stat-block:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Highlight block (current year) – lightest of the set */
.projectFactsWrap .item.stat-highlight {
    width: 100% !important;
    margin-top: 77px;
    background: rgb(192 182 155);
}

.projectFactsWrap .item.stat-highlight .stat-number-main,
.projectFactsWrap .item.main-item .number {
    font-size: clamp(48px, 12vw, 120px);
    padding: 0;
    font-weight: bold;
    line-height: 1.1;
}

/* Past years: 3 clearly different but related background colors – !important so theme cannot override */
#projectFacts .projectFactsWrap .item.stat-past-0 { background: rgb(149 142 119) !important; }
#projectFacts .projectFactsWrap .item.stat-past-1 { background: rgb(138 131 114) !important; }
#projectFacts .projectFactsWrap .item.stat-past-2 { background: rgb(124 117 100) !important; }

/* Extra years cycle through the same three */
#projectFacts .projectFactsWrap .item.stat-past-3 { background: rgb(149 142 119) !important; }
#projectFacts .projectFactsWrap .item.stat-past-4 { background: rgb(138 131 114) !important; }
#projectFacts .projectFactsWrap .item.stat-past-5 { background: rgb(124 117 100) !important; }

/* Staggered entrance for past-year blocks */
.projectFactsWrap .item.stat-past-order-1 { animation-delay: 0.1s; }
.projectFactsWrap .item.stat-past-order-2 { animation-delay: 0.2s; }
.projectFactsWrap .item.stat-past-order-3 { animation-delay: 0.3s; }
.projectFactsWrap .item.stat-past-order-4 { animation-delay: 0.4s; }
.projectFactsWrap .item.stat-past-order-5 { animation-delay: 0.5s; }

.projectFactsWrap .item p.number {
    font-size: 40px;
    padding: 0;
    font-weight: bold;
}

.projectFactsWrap .item p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    margin: 0;
}

.projectFactsWrap .item .stat-divider,
.projectFactsWrap .item span {
    width: 60px;
    background: rgba(255, 255, 255, 0.9);
    height: 2px;
    display: block;
    margin: 0 auto;
}

.projectFactsWrap .item i {
    vertical-align: middle;
    font-size: 50px;
    color: rgba(255, 255, 255, 0.9);
}

.projectFactsWrap .item:hover i,
.projectFactsWrap .item:hover p {
    color: white;
}

.projectFactsWrap .item:hover .stat-divider,
.projectFactsWrap .item:hover span {
    background: white;
}

@media (min-width: 786px) {
    .projectFactsWrap .item {
        width: 33.3333%;
    }

    .projectFactsWrap .item.stat-highlight {
        width: 100% !important;
    }
}
