/* CMS overrides — Calicon Electronics frontend */

:root {
    --calicon-blue: #1a73b2;
    --calicon-blue-light: #4dabf7;
    --calicon-blue-dark: #1864ab;
}

.site-logo {
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

#header .site-logo {
    max-height: 58px;
}

#footer .site-logo,
.site-logo--footer {
    max-height: 80px;
}

.section-header .site-logo {
    max-height: 96px;
    margin-bottom: 1rem;
}

#home-banner .site-logo,
.pk-blog-card__media--placeholder + .site-logo {
    max-height: 64px;
}

.pk-admin-brand-logo,
.pk-admin-auth-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

#footer .gasgl-footer-nav {
    text-align: center;
    margin: 28px 0 32px;
    padding-top: 8px;
}

#footer .gasgl-footer-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer .gasgl-footer-nav__list li {
    display: inline-block;
    margin: 6px 14px;
}

#footer .gasgl-footer-nav a {
    color: #b5b5b5;
    font-family: 'Dosis', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease;
}

#footer .gasgl-footer-nav a:hover,
#footer .gasgl-footer-nav a:focus {
    color: var(--calicon-blue-light);
    text-decoration: none;
}

/* Calicon brand — replace legacy MSBD red (#a10909) */
.back-to-top {
    background: var(--calicon-blue);
}

.back-to-top:hover {
    background: var(--calicon-blue-dark);
}

.mobile-nav-toggle i {
    background: var(--calicon-blue);
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
    background: var(--calicon-blue);
}

#header .social-links a:hover {
    color: var(--calicon-blue-light);
}

.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a,
#header.header-scrolled .main-nav a:hover,
#header.header-scrolled .main-nav .active > a,
#header.header-scrolled .main-nav li:hover > a {
    background: var(--calicon-blue);
}

.footer-social-links a:hover:before {
    background: var(--calicon-blue);
}

#footer .credits a {
    color: var(--calicon-blue-light);
}

#footer .credits a:hover {
    color: #fff;
}

/* Inner banner: page title + breadcrumb on one line */
#inner-banner .gasgl-inner-banner-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    width: 100%;
    margin-bottom: 20px;
}

#inner-banner .gasgl-inner-banner-row .hs-line-11 {
    margin-bottom: 0 !important;
}

#inner-banner .gasgl-breadcrumbs {
    margin-top: 0;
    text-align: right;
    letter-spacing: normal;
    padding-right: 0;
}

#inner-banner .gasgl-breadcrumbs .breadcrumb-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

#inner-banner .gasgl-breadcrumbs .breadcrumb-container li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

#inner-banner .gasgl-breadcrumbs .breadcrumb-container a,
#inner-banner .gasgl-breadcrumbs .breadcrumb-container span {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

#inner-banner .gasgl-breadcrumbs .breadcrumb-container a:hover,
#inner-banner .gasgl-breadcrumbs .breadcrumb-container a:focus {
    color: var(--calicon-blue-light);
}

#inner-banner .gasgl-breadcrumbs .separator {
    margin: 0 0.35em;
    opacity: 0.65;
    color: #fff;
}

/* Legacy theme5 breadcrumbs — remove chevron pseudo-elements (stray ":" on the left) */
#inner-banner .breadcrumb-container.theme5 a::before,
#inner-banner .breadcrumb-container.theme5 a::after {
    display: none !important;
    content: none !important;
}

#inner-banner .breadcrumb-container.theme5 a {
    background: none !important;
    height: auto !important;
    padding: 0 !important;
    position: static !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

#inner-banner .breadcrumb-container.theme5 li {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

#inner-banner .breadcrumb-container.theme5 .separator {
    display: inline !important;
    padding-top: 0 !important;
}

/* Contact page */
.gasgl-contact-map-section {
    padding-top: 60px;
    padding-bottom: 40px;
}

.gasgl-map-card {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(26, 115, 178, 0.35), rgba(255, 255, 255, 0.08));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    animation: gasglMapCardIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gasgl-map-card__glow {
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(26, 115, 178, 0.55), rgba(255, 255, 255, 0.15), rgba(26, 115, 178, 0.35));
    opacity: 0.65;
    filter: blur(8px);
    z-index: 0;
    animation: gasglMapGlow 4s ease-in-out infinite;
}

.gasgl-map-card__frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gasgl-map-card__iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.gasgl-map-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@keyframes gasglMapCardIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gasglMapGlow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.85; }
}

.gasgl-contact-section {
    padding: 60px 0 !important;
}

.gasgl-contact-section__inner {
    position: relative;
    z-index: 2;
}

.gasgl-contact-section__title,
#contact-form.cont-sec .gasgl-contact-section__title,
#contact-form.cont-sec .gasgl-contact-info__title {
    color: #fff !important;
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
    font-family: 'Dosis', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.35em;
}

.gasgl-contact-info__title {
    margin-top: 0;
}

.gasgl-contact-info__link {
    color: #fff;
    text-decoration: none;
}

.gasgl-contact-info__link:hover {
    color: var(--calicon-blue-light);
    text-decoration: underline;
}

/* Mobile header logo + inner/footer logo sizing */
@media (max-width: 991.98px) {
    #header .logo.stickyLogo {
        display: block !important;
        max-width: calc(100% - 56px);
    }

    #header .logo .site-logo,
    #header .logo .site-logo--calicon {
        max-height: 42px;
        width: auto;
        max-width: min(200px, 58vw);
        object-fit: contain;
        display: block;
    }

    #header .scroll-remove {
        display: none !important;
    }

    #header.header-scrolled,
    #header {
        padding: 12px 0;
    }

    #inner-banner img.site-logo,
    #inner-banner .site-logo--calicon {
        width: auto;
        max-width: min(200px, 78vw);
        max-height: 64px;
        height: auto;
        object-fit: contain;
    }

    #footer .section-header img.site-logo,
    #footer .section-header .site-logo--calicon {
        width: auto;
        max-width: min(220px, 82vw);
        max-height: 72px;
        height: auto;
        object-fit: contain;
    }

    #inner-banner .gasgl-inner-banner-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    #inner-banner .gasgl-breadcrumbs {
        text-align: center;
    }

    #inner-banner .gasgl-breadcrumbs .breadcrumb-container ul {
        justify-content: center;
    }
}

.gasgl-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .gasgl-contact-info {
        margin-bottom: 36px;
    }

    .gasgl-map-card__iframe {
        height: 320px;
    }
}
