html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}


/* Speciifc styling for better page printing */
@media print {
    body {
        margin: 0;
        padding: 0;
        line-height: 1.4;
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    /* Hide non-content elements */
    nav,
    footer,
    .no-print,
    button,
    .announcement-banner,
    .navigation {
        display: none !important;
    }

    /* Ensure tables break properly */
    table {
        page-break-inside: avoid;
        width: 100%;
        max-width: none !important;
        table-layout: auto;
        font-size: 10pt;
        margin: 0 !important;
        padding: 0 !important;
    }
    .table-responsive,
    .table-wrapper {
        width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
    }
    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
    td, th {
        padding: 2px 4px !important;
        white-space: nowrap;
    }


    /* Heading page breaks */
    h1, h2, h3 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    /* Image handling */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    /* Container adjustment */
    .container {
        width: 100%;
        max-width: none !important;
        margin: 0;
        padding: 0;
    }

    /* Background colors and image handling */
    * {
        -webkit-print-color-adjust: exact !important;
        /*color-adjust: exact !important;*/
        print-color-adjust: exact !important;
    }
}

/* Page printing adjustments */
@page {
    size: landscape;
    margin: 0.5cm;
}









:root {
    --primary-orange: #ff6b00;
    --secondary-orange: #ff8533;
    --primary-black: #1a1a1a;
    --dark-grey: #333333;
    --light-grey: #f4f4f4;
    --white: #ffffff;
}

/* FONTS */
@font-face {
    font-family: Montalban;
    src: url('../Fonts/Montalban.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Montalban Condensed;
    src: url('../Fonts/Montalban Condensed.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: MontalbanBold;
    src: url('../Fonts/Montalban Bold.otf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

h1 {
    color: #ff742b;
    font-family: "Montalban", sans-serif
}

h2 {
    color: #ff742b;
    font-family: "Montalban", sans-serif;
    margin-bottom: 20px;
    margin-top: 10px;
}

h1.cog-heading {
    color: #ff742b!important;
    font-family: "Montalban", sans-serif!important;
    font-weight: normal!important;
    margin-bottom: 20px!important;
    margin-top: 10px!important;
}

h3 {
    color: #ff742b;
    font-family: "Montalban", sans-serif;
    margin-bottom: 20px;
    margin-top: 10px;
}



.icon::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}



input[type='radio'] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    vertical-align: middle;
}

    input[type='radio']:checked {
        background-color: #000000;
        border-color: #ff8c00;
        background-clip: content-box;
        padding: 3px;
    }

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    outline: none
}

    input[type="checkbox"]:checked {
        background-color: #000000;
        border-color: #ff8c00;
    }

        input[type="checkbox"]:checked::after {
            content: "";
            position: absolute;
            left: 5px;
            top: 1px;
            width: 6px;
            height: 12px;
            border: solid #e65c00;
            border-width: 0 3px 3px 0;
            transform: rotate(45deg);
            outline: none
        }

    input[type="checkbox"]:focus {
        outline: 2px solid #e65c00;
        outline-offset: 2px;
        box-shadow: none;
        -webkit-box-shadow: none;

    }
        input[type="checkbox"]:focus:not(:checked) {
            outline: 2px solid #e65c00;
            border: 2px solid #ccc;
        }

    input[type="checkbox"]:focus-visible {
        outline: 2px solid #e65c00;
        outline-offset: 2px;
    }



nav.navbar {
    background-color: #000 !important;
    padding: 10px;
    color: #ff742b;
}

    nav.navbar .signin-gradient {
        background: linear-gradient(90deg, #FF7827 0%, #FF5252 150%);
        clip-path: polygon(0px 0px, 100% 0, 100% 100%, 50px 100%);
        padding: 0px 15px 0px 2.25rem;
    }
    nav.navbar .nav-link {
        color: #ff742b !important;
        padding: 0.35em 1rem!important;
    }

    nav.navbar img.logo {
        height: 53px;
        margin-right: 14px;
    }

    nav.navbar a {
        font-family: Roboto, sans-serif;
        font-weight: bold;
    }

        nav.navbar a.navbar-brand {
            font-family: Montalban;
            font-size: 24px;
            font-weight: normal;
            margin-right: 30px;
            color: #fff !important;
        }

        nav.navbar a.dropdown-toggle:after {
            color: #fff !important;
        }

.dropdown-menu ul {
    list-style: none;
    padding: 0px 10px 0 0;
  
}

.dropdown-menu.show {
    display: flex;
    z-index: 9999;
}


.dropdown-menu li:first-child a {
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
    color: #516beb;
    z-index: 9999;
}

.dropdown-menu li .dropdown-item {
    color: #686565;
    font-size: 1em;
    padding: 0.35em 1rem !important;
    font-weight: normal;
    z-index: 9999;
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    padding: 0.7em;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    z-index: 9999;
}


    .dropdown-menu li a.development {
        z-index: 1;
    }
        .dropdown-menu li a.development::after {
            font: var(--fa-font-solid);
            content: '\f071';
            margin-left: 6px;
            font-size: 1.2rem;
            color: #fc0;
            z-index: 1;
        }
    .dropdown-menu li a.winner {
        z-index: 1;
    }
        /*.dropdown-menu li a.winner::after {
            font: var(--fa-font-solid);
            content: '\f091';
            margin-left: 6px;
            font-size: 1.2rem;
            color: #fc4311;
        }*/
        .dropdown-menu li a.winner::after {
            font: var(--fa-font-solid);
            content: '\f091';
            margin-left: 6px;
            font-size: 1.2rem;
            color: #CD853F;
            filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3)) brightness(1.1) contrast(1.1);
            z-index: 1;
        }




    .dropdown-menu li a.new {
        z-index: 1;
    }
        .dropdown-menu li a.new::after {
            font: Roboto, sans-serif;
            content: 'NEW';
            font-size: .75em;
            margin-left: 6px;
            font-weight: bold;
            color: #fff;
            display: inline-block;
            padding: 0px 4px;
            background-color: #3c3;
            top: -2px;
            position: relative;
            z-index: 1;
        }


.updates {
    margin: 40px 10px 0 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

    .updates p {
        border-top: 1px solid rgba(0, 0, 0, 0.16);
        padding: 10px;
        margin-bottom: 0px;
    }


.pageheader {
    color: #fff;
    background: #ff742b;
    display: block;
    padding: 10px;
    margin: 0px !important;
}

table.table thead tr th {
    background-color: #ff742b !important;
    color: #fff !important;
}

td.bg-warning {
    background-color: #ffb17a !important;
}


.underconstruction {
    display:inline-block;
    width:100%;
    padding:10px;
    text-align:center;
    color:#000;
    font-family: Roboto, sans-serif!important;
    font-size:1.6em;
    background-color:#fc0;
    background-color:#ffcdb3;
    margin-bottom:20px;
}

    .underconstruction i {
        float:left;
        font-size:3.5em;
        color:#fff;
        margin-left:50px;
        margin-right:50px;
    }
    .underconstruction div.middleUC {
        float: left;
        width: 60%;
    }

    .underconstruction h3 {
        font-size: 1.4rem;
        font-family: Roboto, sans-serif !important;
        color: #000;
        font-weight: bold;
        margin: 20px 0 0 0px;
    }
    .underconstruction p {
        font-size: 1.2rem;
        color: #000;
    }

    footer {
        text-align: center;
        background-color: #2c2c2c;
        display: block;
        margin: 0px;
        padding: 20px;
        color: #fff !important;
        font-family: Roboto;
    }

    footer a {
        color: #fff;
    }


.manufacturing-button {
    background-color: #ff6600;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 0 #cc5200, 0 6px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.2s ease;
}

    .manufacturing-button:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent 49%, #e65c00 49%, #e65c00 51%, transparent 51%);
        background-size: 6px 6px;
        opacity: 0.3;
    }

    .manufacturing-button:hover {
        background-color: #ff7519;
        transform: translateY(2px);
        box-shadow: 0 2px 0 #cc5200, 0 4px 4px rgba(0, 0, 0, 0.3);
    }

    .manufacturing-button:active {
        transform: translateY(4px);
        box-shadow: none;
    }
    /* Remove focus styles completely */
    .manufacturing-button:focus {
        outline: none;
        transform: translateY(0) !important;
        box-shadow: 0 4px 0 #cc5200, 0 6px 6px rgba(0, 0, 0, 0.3) !important;
        background-color: #ff6600;
    }

#resultsSquare div.container {
    padding:0px;
}

.calcResults {
    font-size: 1.4em;
    font-family: Roboto, sans-serif !important;
    display: block;
    width: 100%;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 0px;
    padding: 10px;
    vertical-align:middle;
}

.calcResults i {
    font-size:1.4em;
    margin-right:4px;
    position:relative;
    top:3px;
}

div.calcResults.Pass {
    background-color: mediumseagreen;
    border: 6px double #ffffff;
}
div.calcResults.Fail {
    background-color: crimson;
    border: 6px double #ffffff;
}

@media only screen and (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: flex;
    }

    .dropdown-menu.show {
        display: flex;
    }
}



.hero-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-grey) 100%);
    padding: 1.5rem 1.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 2rem 2rem 2rem 2rem;
}

    .hero-section::after {
        content: '';
        position: absolute;
        bottom: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background: var(--primary-orange);
        border-radius: 50%;
        opacity: 0.2;
    }

    .hero-section h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .hero-section .lead {
        font-size: 1.25rem;
        max-width: 800px;
        margin: 0 auto;
        opacity: 0.9;
    }

    .hero-section img.sectionIconHeader {
        text-align: center;
        margin: 0px auto;
        display: block;
        height:100px;
    }

.card {
    transition: all 0.3s ease;
    border: none;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 2rem;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

    .card-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--primary-orange);
        border-radius: 2px;
    }



/* Add these styles for the new participation choice section */
.participation-choice {
    padding: 2rem 0;
}

.choice-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

    .choice-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .choice-card h3 {
        color: var(--primary-orange);
        font-weight: 600;
        font-size: 1.75rem;
    }

.divider {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.or-circle {
    background: var(--primary-orange);
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

/* Rewards sub-page styling */

.validation-hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-grey) 100%);
    padding: 2rem 2rem;
    color: var(--white);
    border-radius: 2rem 2rem 2rem 2rem;
}

.validation-steps .step-section {
    position: relative;
    padding-left: 2rem;
}

.step-section h3 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.code-example {
    background: var(--dark-grey);
    border-radius: 8px;
    color: var(--white);
    overflow-x: auto;
}

    .code-example pre {
        margin-bottom: 0;
    }


.documentation-template {
    background: var(--light-grey);
}

    .documentation-template h4 {
        color: var(--primary-orange);
        margin-bottom: 1rem;
    }

.document_block {
    display: block;
    margin-left:14px;
}
    .document_block a {
        background-color: #fff;
        display: block;
        text-align: left;
        padding: 10px;
        border-bottom: 1px solid #e6e6e6;
    }
/*.document_block a:nth-child(even) {
        background-color:rgba(0, 0, 0, 0.05);
    }*/

#docIframe {
    border:1px solid #ff742b;
}
.docColumns {
    min-height: 1000px !important;
    margin-top:30px;
}
.searchboxcontainer {
    background: #e6e6e6;
    text-align: left;
    padding: 10px 14px;
    margin-bottom: 20px;
}
    .searchboxcontainer #searchbox {
        width:300px;
    }
    .is-hidden {
        display: none !important;
    }
#titleHolder {
    text-align:center;
    font-weight:bold;
    font-size:1.5em;
    padding:10px 0px;
}

.alert-info {
    background-color: rgba(255, 107, 0, 0.1);
    border-color: var(--primary-orange);
    color: var(--primary-black);
}

/* end rewards sub-page styling*/

/* Circle image */
.circle-image {
    width: 200px;
    height: 200px;
    border-radius: 50%; 
    object-fit: cover; 
    overflow: hidden; 
    border: 3px solid #fff; 
    box-shadow: 0 0 8px rgba(0,0,0,0.2); 
    transition: transform 0.3s; 
}

    .circle-image:hover {
        transform: scale(1.1);
    }


/* Begin shine effect text styling */
/* Base style for the dropdown item */
.dropdown-item.shine-effect {
    background: transparent !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* The metallic text itself */
.dropdown-item .metallic-text {
    display: inline-block;
    background: linear-gradient( 180deg, #8a8a8a 0%, #4a4a4a 47%, #666666 53%, #3d3d3d 100% );
    color: transparent;
    -webkit-background-clip: text;
    font-weight: bold;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 3px rgba(0,0,0,0.4);
}

    /* Animated shine overlay */
    .dropdown-item .metallic-text::before {
        content: ''; 
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%; 
        height: 100%;
        background: linear-gradient( 90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100% );
        transform: skewX(-20deg); 
        animation: shine 2s infinite;
        z-index: 3;
    }

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%; 
    }
}

.dropdown-item:hover {
    background: rgba(0,0,0,0.1) !important;
}

 
    .dropdown-item:hover .metallic-text::before {
        animation-duration: 2s;
    }

/* End shine effect text styling */


/* start sticky card styling */
.floating-card {
    position: fixed;
    
    left: -210px; /* Hide most of the card */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 250px;
    transition: all 0.3s ease;
    padding-right: 50px;
    
}
    .floating-card:hover {
        left: 0px;
    }
    .floating-card:hover .tab{
        opacity: 0;
    }

    .floating-card .card {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-radius: 8px;
        position: relative;
    }
    /* Style for the tab */
    .floating-card .tab {
        position: absolute;
        right: -40px;
        top: 50%;
        transform: translateY(-50%);
        transition: opacity 0.3s ease;
        padding: 10px 15px;
        border-radius: 0 8px 8px 0;
        box-shadow: 4px 0 8px rgba(0,0,0,0.1);
        cursor: pointer;
        border: 1px solid #ddd;
        border-left: none;
        z-index: 1;
    }

    


/* Small screen hide */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
}


/* End sticky card styling */

/* Start banner styling */
.announcement-banner {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    height: 40px;
    position: relative;
    padding-bottom: 10px;
}

.banner-content {
    display: inline-block;
    animation: scroll-left 25s linear infinite;
}

    .banner-content span {
        display: inline-block;
        padding: 0 20px;
    }

    .banner-content .spacer {
        color: #6c757d; /* Grey */
    }

@keyframes scroll-left {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* For later use with JavaScript setting this class by date */
.banner-hidden {
    display: none;
}
/* End banner styling */

/* Sweet alert button override*/
.swal2-confirm {
    background-color: #ff6b00 !important; 
    border-color: #ff6b00 !important;
}


    .swal2-confirm:hover {
        background-color: #e65c00 !important;
    }
/* end override */

/* outline override */
button:focus,
.btn:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.25) !important;
    outline: none !important;
}

/* Reset focus styles for radio and checkbox */
input[type="radio"]:focus,
input[type="checkbox"]:focus {
    box-shadow: none !important;
    outline: none !important;
}
/* end override */


.button {
    background:#ff6b00;
    display:block;
    padding:10px;
    margin-bottom:10px;
    text-align:center;
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    border-radius:10px;
    border:4px solid #ff742b;
}
    .button:hover {
        color:#fff;
        text-decoration:none;
    }

.benefitBtns {
    text-align: center;
    display: block;
    margin: 22px 0;
    padding: 20px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.benefitBtns a.benefitsbtn img {
    margin:0 10px;
    padding:0;
    height:120px;
}


p.linkedInHeader {
    display:block;
    padding:5px;
    color:#ff6b00;
    font-weight:bold;
    font-size:1.4rem;
    margin:0;
    display:none!important;

}
#juicerDiv {
    width: 100% !important;
    max-height: 450px !important;
    display: block !important;
    overflow-x: visible !important;
}

    #juicerDiv .juicer-feed {
        max-height: 450px !important;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        padding: 0.5rem 0px;
        justify-content: center;
        flex-wrap: wrap;
        
        
    }




/* Weather styling */
.weather-dashboard {
    
}

    ::-webkit-scrollbar {
        width: 6px;
    }
::-webkit-scrollbar-track-piece {
    background:#fff;
}
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb {
        background: #ff6b00;
        border-radius: 10px;
    }

        ::-webkit-scrollbar-thumb:hover {
            background: #ff8533;
        }

    ::-webkit-scrollbar-button {
        display:none;
    }


/* card overrides */
.card.weather-dashboard {
    box-shadow: none !important;
    background: transparent !important;
    transition: none !important;
}

    .card.weather-dashboard .card-body {
        border: none !important;
        background: transparent !important;
    }
    .card.weather-dashboard:hover {
        transform: none !important;
        box-shadow: none !important;
    }
.card-body {
    padding:10px;
}
.weather-grid {
    display: flex; 
    gap: 1rem; 
    max-height: 80vh; 
    overflow-y: visible; 

}

.weather-location {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 90%);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    width: 50%;
    backdrop-filter: blur(5px); /* frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    float:left;
}

    .weather-location:hover {
        transform: none !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.weather-icon {
    width: 50px;
    height: 50px;
}

.temperature {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-orange);
}

.weather-details {
    font-size: 0.9rem;
    color: var(--dark-grey);
}

.weather-alert {
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
    padding: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
}


@media (max-width: 1080px) {
    .weather-dashboard {
        position: static;
        width: 80%;
        margin: 1rem 0;
        right: 0;
        display: flex; 
        flex-direction: row; 
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: center;
    }

    .weather-grid {
        max-height: none;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        padding: 0.5rem;
        justify-content: center;
    }
}

/* End weather styling */

.nav-links {
    list-style: none;
    list-style-position: outside;
    padding: 0;
    margin: 0;
}

    .nav-links li {
        margin-bottom: 10px;
    }

    .nav-links a {
        text-decoration: none;
        color: #333;
        padding-left: 20px;
        position: relative;
        border-bottom: 1px solid transparent; 
        transition: all 0.2s ease; 
    }

        .nav-links a:before {
            content: ">";
            position: absolute;
            left: 0;
            color: #666;
            transition: all 0.2s ease;
        }

        .nav-links a:hover {
            border-bottom: 1px solid var(--primary-orange); /* Show underline on text */
        }

            .nav-links a:hover:before {
                transform: translateX(5px) scale(1.2);
                color: var(--primary-orange);
                text-shadow: 0 0 8px rgba(133,255,0,0.8);
            }


@media (max-width: 1080px) {
    
}


.corner-ribbon {
    position: absolute;
    top: 25px;
    left: -50px;
    width: 200px;
    background: #85FF00;
    text-align: center;
    transform: rotate(-45deg);
    padding: 10px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


.pin-calc-menu {
    position: relative;
}

.pin-calc-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0;
    background-color: white;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.25rem;
    list-style: none;
}

.pin-calc-menu:hover > .pin-calc-submenu {
    display: block;
}


.pin-calc-menu::after {
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
    z-index: 999;
}


.pin-calc-submenu li {
    font-size: inherit;
    font-weight: normal;
    margin: 0;
    padding: 0;
}


.pin-calc-submenu .dropdown-item {
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400 !important;
    font-size: 1rem !important;
    color: #212529 !important;
    text-align: inherit;
    text-transform: none !important;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    text-decoration: none !important;
    font-family: inherit;
    line-height: 1.5 !important;
    margin: 0 !important;
}

    .pin-calc-submenu .dropdown-item:hover {
        color: #16181b !important;
        text-decoration: none;
        background-color: #f8f9fa;
    }

.input-error {
    border: 2px solid #dc3545 !important; 
    background-color: #f8d7da !important; 
}

.miniblog-post {
    background: var(--primary-black); 
    border-left: 6px solid var(--primary-orange);
    margin-bottom: 1.5em;
    padding: 1.2em 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.miniblog-post {
    position: relative;
    background: var(--light-grey);
    margin-bottom: 1.5em;
    padding: 1.2em 1.5em 1.2em 2.2em; /* extra left padding for the bar */
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #111;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow: hidden;
}

   

.miniblog-date {
    color: var(--primary-orange); 
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 1px;
    margin-bottom: 0.3em;
}

.miniblog-title {
    color: #111;
    font-weight: bold;
    font-size: 1.25em;
    margin-bottom: 0.5em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.miniblog-body {
    color: #444; /* darker grey for body text */
    font-weight: bold;
    font-size: 1em;
    line-height: 1.6;
}

/* Styles for Weld Stress Images: Images enlarge on hover */
.image-hover {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    width: 100%;
    height: 100%;
    justify-content: center;
}

    .image-hover:hover {
        transform: scale(2.5);
        filter: brightness(1.1);
        z-index: 9999;
        position: relative;
    }

.placeholder {
    opacity: 0.5;
    width: 50px;
    height: 50px;
    margin: auto;
    background: transparent;
}

.image-gallery {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.main-image-container {
    margin-bottom: 20px;
    text-align: center;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
    overflow: visible;
}

.thumbnail-item {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

    .thumbnail-item:hover {
        transform: scale(3); 
        z-index: 9999;
        position: relative;
        transform-origin: center;
        max-width: 300px;
        max-height: 300px;
    }

