/*!
Theme Name: GCMC
Theme URI: http://underscores.me/
Author: Roger Shih
Author URI: http://underscores.me/
Description: Custom Theme for GCMC
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gcmc-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

GCMC is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

:root {
    --gcmc_blue: #1e3882;
    --gcmc_light_blue: #83add5;
    --gray: #777777;
	--text-contrast: #0047A0;
}

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: "Avenir", "Avenir Next", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    color: var(--gcmc_blue);
}

p {
    margin-bottom: 1.5em;
    color: var(--gray);
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    /* 	margin: 0 0 1.5em 3em; */
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

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

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
a {
    color: #4169e1;
}

a:visited {
    /* 	color: #800080; */
}

a:hover,
a:focus,
a:active {
    /* 	color: #191970; */
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    /* 	margin: 0 0 1.5em; */
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    /* 	margin: 1.5em 0 0; */
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* Roger begin */

/* =========================================================================
   TABLE OF CONTENTS
   =========================================================================
   1.  GLOBAL / COMMON STYLES
        1.1 Hero
        1.2 Description Section
        1.3 Section Headers
        1.4 Buttons
        1.5 Product Cards (Generic)
        1.6 Lists
        1.7 Video Section (Generic)
        1.8 Breadcrumbs

   2.  NAVIGATION & MEGA MENU (Shared)

   3.  PAGE: HOME
        3.1 Hero
        3.2 Intro
        3.3 Systems Accordion
        3.4 Home Videos
        3.5 Advantages
        3.6 Brands
        3.7 Warranty Sticky CTA

   4.  PAGE: ABOUT
   5.  PAGE: CONTACT
   6.  PAGE: AFFILIATIONS
   7.  PAGE: BROCHURES
   8.  PAGE: INCENTIVES
   9.  PAGE: CREDENTIALS
   10. PAGE: EVENTS
   11. PAGE: ARCHITECTURAL DRAWINGS (& Modal)
   12. PAGE: FAQ
   13. PAGE: QUICKSPECS
   14. PAGE: TECHNICAL DATA SHEETS
   15. PAGE: TECHNICAL LIBRARY
   16. PAGE: TECH TIPS
   17. PAGE: WARRANTY FORM
   18. PAGE: ROOF DETAILS
   19. PAGE: PHOTO GALLERY (& Lightbox, Back to Gallery)
   20. PAGE: RESOURCE LIBRARY (Press Release & Brochure)

   21. PRODUCT CATEGORY HEROES & SECTION HEADINGS

   23. SYSTEMS PAGE TEMPLATE

   24. FOOTER

   25. RESPONSIVE BREAKPOINTS (Consolidated)
   ========================================================================= */


/* =========================================================================
   1. GLOBAL / COMMON STYLES
   ========================================================================= */

/* 1.1 Hero -------------------------------------------------------------- */
.hero {
    background-size: cover;
    background-position: center center;
    background-color: #115ca9;
    padding: 100px 50px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    text-transform: none;
    position: relative;
    z-index: 2;
}

/* Navbar ----------------------------------------------- */
.navbar {
	z-index: 1030;
}

.navbar-logo {
    height: 40px;
}

.nav-heading {
    color: #000;
    font-size: 1.25rem;
	text-transform: uppercase;
}

.nav-link .bi-caret {
    display: inline-block;
    font-size: 0.7em;
    margin-left: 4px;
    transition: transform 0.2s;
}

.mega-col h6 {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gcmc_blue);
    margin-bottom: 0.75rem;
}

.mega-col .dropdown-item {
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    white-space: normal;
    color: #3C2020;
    font-size: 1rem;
    text-transform: uppercase;
}

.mega-col .dropdown-item small {
    display: block;
    color: #888;
}


/* 1.2 Description Section ----------------------------------------------- */
.description-section {
    padding: 3rem 0;
}

.section-label {
    display: inline-block;
    border-bottom: 4px solid var(--gcmc_blue);
    padding: 0 18px 4px;
    color: var(--gcmc_blue);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.description-section h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

.description-section p {
    line-height: 1.6;
    font-weight: 500;
}

.heading-h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

.features-benefits h4 {
    font-weight: 600;
    margin-bottom: 12px;
}

.features-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-benefits ul li {
    margin-bottom: 8px;
    font-size: 1rem;
}

.features-benefits ul li::before {
    content: '\2713';
    color: var(--gray);
    font-weight: bold;
    margin-right: 10px;
}

/* 1.3 Section Headers --------------------------------------------------- */
.section-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding: 0 5rem;
}

.section-header::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--gcmc_light_blue);
    margin-left: -8px;
}

.section-title {
    background: var(--gcmc_light_blue);
    color: #fff;
    padding: 6px 14px;
    font-size: 1.5rem;
    line-height: 1;
    border-radius: 10px;
}

.bg-image {
    background-size: cover;
    background-position: center center;
    padding: 50px 0;
}


/* 1.4 Buttons ----------------------------------------------------------- */
.btn-primary-custom {
    background-color: var(--gcmc_blue);
    color: #ffffff;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s ease;
    width: auto;
    align-self: flex-start;
}

.btn-primary-custom:hover {
    background-color: var(--gcmc_light_blue);
    color: #ffffff;
}

/* 1.5 Product Cards (Generic) ------------------------------------------- */
.products-section {
    margin-bottom: 5rem;
}

.product-card {
    border: 1px solid #c1c1c1;
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card .product-name {
    color: var(--gcmc_light_blue);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.product-card .product-type {
    color: var(--gray);
    margin-bottom: 1rem;
}

.product-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* 1.7 Video Section (Generic) ------------------------------------------- */
/* Global iframe responsiveness — prevents horizontal overflow */
iframe {
    max-width: 100%;
}

/* Specifically for YouTube/Vimeo embeds from WYSIWYG, make them responsive */
.wp-block-embed iframe,
.wp-embed iframe,
.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="vimeo"] {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
}

.video-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.video-wrapper {
    margin-top: 1rem;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper embed,
.video-wrapper object,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-title-box {
    background: var(--gcmc_light_blue);
    color: #fff;
    line-height: 1;
    border-radius: 10px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0;
    /* Reserve space for up to 2 lines */
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1.8 Breadcrumbs ------------------------------------------------------- */
.breadcrumbs {
    background: #f3f3f3;
    padding: 20px 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
}

.breadcrumbs a {
    text-decoration: none;
    color: #151515;
}


/* =========================================================================
   2. NAVIGATION & MEGA MENU (Shared)
   ========================================================================= */

.nav-heading {
    color: #000;
    font-size: 1.25rem;
}

.nav-link .bi-caret {
    display: inline-block;
    font-size: 0.7em;
    margin-left: 4px;
    transition: transform 0.2s;
}

.mega-col h6 {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gcmc_blue);
    margin-bottom: 0.75rem;
}

.mega-col .dropdown-item {
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    white-space: normal;
    color: #3C2020;
    font-size: 1rem;
    text-transform: uppercase;
}


/* =========================================================================
   3. PAGE: HOME
   ========================================================================= */

/* 3.1 Hero -------------------------------------------------------------- */
.home-hero {
    position: relative;
    max-height: 675px;
    background-size: cover;
    background-position: center;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('/wp-content/uploads/2025/07/UrethaneHeader.jpg');
}

/* Full-width gradient overlay */
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.7;
    background: linear-gradient(270deg, rgba(47, 69, 188, 0.48) 25.48%, rgba(47, 69, 188, 0.80) 100%);
    z-index: 1;
}

/* Container holds the text, constrained to the same width as the rest of the site */
.home-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0;
}

.home-hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
}

/* 3.2 Intro ------------------------------------------------------------- */
.home-intro h3 {
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    color: var(--text-contrast);
}

.home-intro p {
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
}

.home-tagline-list a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-contrast);
    text-decoration: none;
}

.home-tagline-list a:hover {
    color: var(--gcmc_blue);
}

/* 3.3 Systems Accordion ------------------------------------------------- */
.home-systems {
    margin-top: 2rem;
    margin-bottom: 5rem;
}

.systems-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-contrast);
}

.systems-category {
    border-bottom: 2px solid #000;
}

.systems-category-header {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #000;
}

.systems-caret {
    transition: transform 0.3s ease;
}

.systems-category.is-open .systems-caret {
    transform: rotate(180deg);
}

.systems-category-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.systems-category.is-open .systems-category-items {
    max-height: 1000px;
}

.systems-item {
    display: block;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0.5rem 1rem;
    text-align: left;
    cursor: pointer;
    color: #000;
    font-size: 1.25rem;
    transition: background 0.2s, color 0.2s;
    font-weight: 400;
}

.systems-item:hover {
    background: #f5f5f5;
}

.systems-item.is-active {
    background: var(--gcmc_blue, #003a70);
    color: #fff;
    border-radius: 0.25rem;
}

/* Systems preview */
.systems-preview-panel {
    display: none;
}

.systems-preview-panel.is-active {
    display: block;
}

.systems-preview-image img {
    width: 100%;
    height: auto;
}

.systems-preview-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.systems-preview-description {
    font-size: 1.25rem;
    color: #000;
    font-weight: 400;
}

.systems-preview .btn-primary-custom {
    border-radius: 48px;
    border: 2px solid #000;
    background: #FFF;
    color: #000;
}

.systems-preview .btn-primary-custom:hover {
    background: var(--text-contrast);
}

/* 3.4 Home Videos ------------------------------------------------------- */
.home-videos {
    padding-bottom: 4rem;
}

/* 3.5 Advantages -------------------------------------------------------- */
.home-advantages {
    background: #f5f5f5;
}

.home-advantages h2 {
    font-size: 4rem;
    color: var(--text-contrast);
    font-weight: 900;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--gcmc_blue, #2F45BC);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
}

.advantage-icon i {
    line-height: 1;
}

.advantage-card {
    padding: 0 1rem;
    border-radius: 0.5rem;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: #000;
}

.advantage-description {
    font-weight: 500;
    color: #000;
}

/* 3.6 Brands ------------------------------------------------------------ */
.home-brands h2 {
    color: var(--text-contrast);
    font-size: 2.5rem;
    font-weight: 700;
}

.home-brands p {
    color: #000;
    font-size: 1.25rem;
    font-weight: 400;
    width: 80%;
    margin: 0 auto;
}

.brand-logo {
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

.home-brands-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-brands-swiper {
    flex: 1;
    padding: 0;
    min-width: 0;
}

.home-brands-wrapper .home-brands-prev,
.home-brands-wrapper .home-brands-next {
    position: static;
    /* override Swiper's absolute positioning */
    margin-top: 0;
    /* override Swiper's default top offset */
    flex-shrink: 0;
    /* don't let them collapse */
    color: #000;
}

/* 3.7 Warranty Sticky CTA ----------------------------------------------- */
.warranty-cta {
    position: fixed;
    top: 25%;
    right: 0;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.warranty-cta img {
    height: auto;
    max-width: 100px;
    display: block;
}


/* =========================================================================
   4. PAGE: ABOUT
   ========================================================================= */
.about-hero {
    position: relative;
    background-image: url('/wp-content/uploads/2026/05/Sphere-GCMC-12-gigapixel-low_res-width-8000px-scaled.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

/* Strong dark gradient overlay — left side near-black, right side semi-transparent */
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
    /* prevents the overlay from blocking clicks */
}

.about-hero .hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    padding: 3rem 1.5rem;
    margin-left: 5%;
}

.about-hero h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.about-hero p {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.65;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.brochure-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
/*     padding: 20px 30px; */
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    display: inline-block;
    margin: 0;
}

.about-brochure-download {
    color: #fff;
    background: var(--gcmc_blue);
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    flex-shrink: 0;
}

.about-brochure-download:hover {
    background-color: var(--gcmc_light_blue);
}

.mv-container {
    background: var(--gcmc_blue);
    padding: 3rem 0;
}

.mv-container h5 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.mv-container p {
    color: #fff;
    font-weight: 500;
}

.mv-container .mission-row {
    border-bottom: 2px solid #577DCF;
    margin-bottom: 2rem;
}

.vision-description {
    margin-bottom: 0;
}

.about-bottom-section {
    margin-top: 3rem;
	margin-bottom: 3rem;
}

.about-bottom-section p {
    text-align: center;
    margin-top: 2rem;
    color: #000;
    font-weight: 500;
}

.about-images .video-title-box {
    margin-bottom: 1rem;
}


/* =========================================================================
   5. PAGE: CONTACT
   ========================================================================= */
.contact.hero {
    padding: 100px 0 130px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/wp-content/uploads/2026/05/contact-us.jpg') center bottom no-repeat;
    background-size: cover;
    text-align: center;
}

.contact p {
    color: #fff;
    width: 80%;
    margin: 0 auto;
    font-size: 1.5rem;
}

/* Team list — name + territory layout */
.team-list a {
    display: block;
    padding: 0.625rem 0;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s ease;
}

.team-list a:hover {
    color: var(--gcmc_blue, #2F45BC);
}

.team-list strong {
    display: block;
    color: var(--gcmc_blue, #2F45BC);
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.team-territory {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

.team-list p {
    margin-bottom: 0;
}

.team-list p:last-child a {
    border-bottom: 0;
}

.contact-content h4 {
    margin-bottom: 10px;
    padding-right: 18px;
    padding-bottom: 4px;
    padding-left: 18px;
    border-color: var(--gcmc_blue);
    border-style: solid;
    border-width: 0px 0px 0px 4px;
    display: inline-block;
}

.contact-content h5 {
    font-size: 1.5rem;
}

.contact-content p {
    font-size: 1.25rem;
}

.contact-content i {
    font-size: 2.5rem;
}

.contact-box {
/*     min-height: 170px; */
}


/* =========================================================================
   6. PAGE: AFFILIATIONS
   ========================================================================= */
.affiliations-intro {
    margin-bottom: 2.5rem;
    font-weight: normal;
    color: #555;
    line-height: 1.6;
}

.affiliation-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1.75rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.affiliation-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.affiliation-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.affiliation-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.affiliation-logo a:hover img {
    transform: scale(1.05);
}

.affiliation-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gcmc_blue, #2F45BC);
    margin-bottom: 0.75rem;
}

.affiliation-description {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.affiliation-description p:last-child {
    margin-bottom: 1rem;
}

.affiliation-link .btn-primary-custom {
    align-self: flex-start;
}


/* =========================================================================
   8. PAGE: INCENTIVES
   ========================================================================= */
.incentives-intro {
    max-width: 760px;
    margin: 1rem auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #444;
}

.incentive-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.incentive-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.incentive-card-logo {
    flex: 0 0 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.incentive-card-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.incentive-card-body {
    flex: 1;
}

.incentive-card-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gcmc_blue, #2F45BC);
    margin-bottom: 0.75rem;
}

.incentive-card-body p {
    color: #555;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.incentive-card-body .btn-primary-custom {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}


/* =========================================================================
   9. PAGE: CREDENTIALS
   ========================================================================= */
.credentials-description .product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1.75rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.credentials-description .product-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.credentials-description .product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gcmc_blue, #2F45BC);
    margin-bottom: 0.75rem;
}

.credentials-description .product-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Button(s) at bottom of card */
.credentials-description .product-card .btn-primary-custom {
    align-self: flex-start;
    margin-top: auto;
}

/* When there are multiple buttons (FM, Florida), let them sit nicely side by side */
.credentials-description .product-card > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.credentials-description .product-card > div:last-child .btn-primary-custom {
    margin-top: 0;
}

/* Section intro heading */
.credentials-description .heading-h2 {
    margin-bottom: 1.5rem;
}


/* =========================================================================
   10. PAGE: EVENTS
   ========================================================================= */
.event-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e5e5;
    transition: box-shadow 0.2s ease;
}

.event-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.event-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gcmc_blue, #2F45BC);
}

.event-meta {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.event-meta strong {
    color: #333;
    font-weight: 600;
}

.event-card .btn-primary-custom {
    margin-top: 1rem;
    display: inline-block;
}

.event-image {
    overflow: hidden;
    border-radius: 0.375rem;
}

.event-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================================================================
   11. PAGE: ARCHITECTURAL DRAWINGS (& Modal)
   ========================================================================= */
.drawing-title {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 3em;
    /* reserves space for ~2 lines */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.drawing-image {
    border: 4px solid #0073E6;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.drawing-links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawing-links .btn-primary-custom {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Lift the whole bordered card when its inner button is hovered */
.drawing-image:has(.drawing-image-trigger:hover) {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-8px);
}

/* Make sure the button itself has no separate hover effect */
.drawing-image-trigger {
    background: none;
    border: 0;
    padding: 0;
    width: 100%;
    cursor: zoom-in;
    display: block;
    /* no transition here */
}

/* Drawing Modal */
.drawing-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.drawing-modal.is-open {
    display: flex;
}

.drawing-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    cursor: zoom-out;
}

.drawing-modal-content {
    position: relative;
    background: #fff;
    border-radius: 0.5rem;
    padding: 2rem 1.5rem 1.5rem;
    max-width: 720px;
    max-height: 90vh;
    width: 100%;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.drawing-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: transparent;
    border: 0;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    padding: 0.25rem 0.5rem;
}

.drawing-modal-close:hover {
    color: #000;
}

.drawing-modal-title {
    margin: 0 2rem 1rem 0;
    font-size: 1.25rem;
    color: var(--gcmc_blue, #2F45BC);
}

.drawing-modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.25rem;
}

/* Drawings search bar */
.drawings-search-wrap {
    margin-bottom: 2rem;
}

.drawings-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.drawings-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.1rem;
    pointer-events: none;
}

input[type="search"].drawings-search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 2.75rem;
    font-size: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 0.5rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.drawings-search-input:focus {
    outline: none;
    border-color: var(--gcmc_blue, #2F45BC);
    box-shadow: 0 0 0 3px rgba(47, 69, 188, 0.12);
}

/* Hide the default "x" that some browsers add to search inputs */
.drawings-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.drawings-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #888;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.drawings-search-clear:hover {
    color: var(--gcmc_blue, #2F45BC);
}

.drawings-search-count {
    margin-top: 0.75rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.drawings-no-results {
    padding: 3rem 1rem;
    color: #666;
    font-size: 1.1rem;
}

/* =========================================================================
   13. PAGE: QUICKSPECS
   ========================================================================= */
.quickspec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gcmc_blue, #2F45BC);
}

.quickspec-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.quickspec-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gcmc_blue, #2F45BC);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.quickspec-download:hover {
    color: #1e2f8a;
    text-decoration: underline;
}

.quickspec-download i {
    font-size: 5rem;
    line-height: 1;
}


/* =========================================================================
   14. PAGE: TECHNICAL DATA SHEETS
   ========================================================================= */
.tds-section {
    margin-bottom: 2rem;
}

.tds-section .section-header {
    padding: 0;
}

.tds-links-container {
    column-count: 2;
    /* Two columns by default — increases at md/lg breakpoints */
    column-gap: 2rem;
}

.tds-section a {
    /* Ensure links behave like blocks for column layout */
    display: block;
    padding: 5px 0;
    color: var(--gcmc_blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

/* TDS search bar */
.tds-search-wrap {
    margin-bottom: 2rem;
}

.tds-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.tds-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1rem;
    line-height: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Use attribute+class selector to beat the theme's input[type="search"] rule */
input[type="search"].tds-search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 2.75rem;
    font-size: 1rem;
    line-height: 1.4;
    color: #2c2c2c;
    border: 2px solid #e5e5e5;
    border-radius: 0.5rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="search"].tds-search-input:focus {
    outline: none;
    border-color: var(--gcmc_blue, #2F45BC);
    box-shadow: 0 0 0 3px rgba(47, 69, 188, 0.12);
}

.tds-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.tds-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #888;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.tds-search-clear:hover {
    color: var(--gcmc_blue, #2F45BC);
}

.tds-search-count {
    margin-top: 0.75rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.tds-no-results {
    padding: 3rem 1rem;
    color: #666;
    font-size: 1.1rem;
}

/* =========================================================================
   15. ACCORDION USED FOR TECH LIBRARY AND FAQ
   ========================================================================= */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--gcmc_blue);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--gcmc_blue);
}

.accordion {
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}


/* =========================================================================
   16. PAGE: TECH TIPS
   ========================================================================= */
.tech-tip-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tech-tip-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.tech-tip-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gcmc_blue, #2F45BC);
    margin-bottom: 0.75rem;
}

.tech-tip-description {
    flex-grow: 1;
    margin-bottom: 1.25rem;
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

.tech-tip-download {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    text-decoration: none;
}

.tech-tips-intro {
    max-width: 800px;
    margin: 1rem auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
}


/* =========================================================================
   17. PAGE: WARRANTY FORM
   ========================================================================= */
.instructions {
    border-left: 20px solid var(--gcmc_blue);
    background-color: #f5f5f5;
    padding: 2rem;
}

.instructions h5 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
}

.instructions p {
    color: #000;
}

.instructions i {
    margin-right: .5rem;
}

.instructions li {
    line-height: 1.6;
}

.instructions-note {
    background: var(--gcmc_blue);
    border-left: 4px solid var(--gcmc_light_blue);
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
    border-radius: 0.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    list-style: none;
	color: #fff;
}

.instructions-note i {
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Warranty form layout */
.warranty-form {
    margin-top: 3rem;
}

.warranty-form .form_block {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.warranty-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}

.warranty-label .required {
    color: #c0392b;
    margin-left: 2px;
}

/* Selects — taller, branded styling */
.warranty-select {
    width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    /* extra right padding for the chevron */
    font-size: 1rem;
    line-height: 1.4;
    color: #2c2c2c;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    /* Custom chevron via inline SVG (no extra HTTP request) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232F45BC'%3E%3Cpath d='M3.204 5l4.795 5.207L12.795 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.warranty-select:hover {
    border-color: #2F45BC;
}

.warranty-select:focus {
    outline: none;
    border-color: #2F45BC;
    box-shadow: 0 0 0 3px rgba(47, 69, 188, 0.15);
}

/* Submit button */
.btn-warranty {
    margin-top: 1.5rem;
    padding: 0.875rem 2rem;
    background: var(--gcmc_blue, #2F45BC);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-warranty:hover {
    background: #1e2f8a;
}

.btn-warranty:active {
    transform: translateY(1px);
}

/* Error message */
.warranty-error {
    margin-top: 1rem;
    color: #c0392b;
    font-size: 0.95rem;
}


/* =========================================================================
   18. PAGE: ROOF DETAILS
   ========================================================================= */
.roof-details .col-md-6 {
    display: flex;
    flex-direction: column;
	margin-bottom: 1.5rem;
}

.roof-details .col-md-6 .ratio {
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
	flex-shrink: 0;
}

.roof-details .rd-item p {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    padding: 1rem 1.25rem;
    margin-top: 0;
    margin-bottom: 0;
    color: #000;
	font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.55;
	flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.roof-details .ratio::before {
	padding-top: 0;
}

/* Roof Details search bar */
.rd-search-wrap {
    margin-bottom: 2rem;
}

.rd-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.rd-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1rem;
    line-height: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type="search"].rd-search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 2.75rem;
    font-size: 1rem;
    line-height: 1.4;
    color: #2c2c2c;
    border: 2px solid #e5e5e5;
    border-radius: 0.5rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="search"].rd-search-input:focus {
    outline: none;
    border-color: var(--gcmc_blue, #2F45BC);
    box-shadow: 0 0 0 3px rgba(47, 69, 188, 0.12);
}

.rd-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.rd-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #888;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rd-search-clear:hover {
    color: var(--gcmc_blue, #2F45BC);
}

.rd-search-count {
    margin-top: 0.75rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.rd-no-results {
    padding: 3rem 1rem;
    color: #666;
    font-size: 1.1rem;
}

/* -----------------------------------------------
   YouTube Click-to-Play
----------------------------------------------- */
.gcmc-yt-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}
.gcmc-yt-embed img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.gcmc-yt-embed:hover img {
    transform: scale(1.03);
    opacity: 0.85;
}
.gcmc-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: #005fa3; /* swap to your brand color */
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
}
.gcmc-yt-play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
}
.gcmc-yt-embed:hover .gcmc-yt-play {
    background: #0073c6;
    transform: translate(-50%, -50%) scale(1.1);
}

/* =========================================================================
   19. PAGE: PHOTO GALLERY (& Lightbox, Back to Gallery)
   ========================================================================= */
.gallery-hero.hero {
    background-image: url('https://generalcoatingsnet.kinsta.cloud/wp-content/uploads/2026/05/apple.jpg');
}

.photo-card:hover .photo-card-image {
    transform: scale(1.05);
}

.photo-card-image-wrap {
    background: #f5f5f5;
}

/* Photo Gallery Lightbox */
.photo-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.photo-lightbox.is-open {
    display: flex;
}

.photo-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10000;
    padding: 0.25rem 0.75rem;
}

.photo-lightbox-close:hover {
    opacity: 0.7;
}

.photo-lightbox-swiper {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    max-height: 90vh;
}

.photo-lightbox-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-lightbox-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.photo-lightbox-swiper .swiper-button-next,
.photo-lightbox-swiper .swiper-button-prev {
    color: #fff;
}

.photo-lightbox-swiper .swiper-pagination {
    color: #fff;
}

/* Back to Gallery button */
.back-to-gallery {
    margin-bottom: 1.5rem;
}

.btn-back-gallery {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--gcmc_blue, #2F45BC);
    border: 2px solid var(--gcmc_blue, #2F45BC);
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-back-gallery:hover {
    background: var(--gcmc_blue, #2F45BC);
    color: #fff;
    transform: translateX(-3px);
}

.btn-back-gallery i {
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.btn-back-gallery:hover i {
    transform: translateX(-2px);
}


/* =========================================================================
   20. PAGE: RESOURCE LIBRARY (Press Release & Brochure)
   ========================================================================= */
.resource-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.resource-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Preview image at top of card */
.resource-image {
    margin-bottom: 1.25rem;
    overflow: hidden;
    border-radius: 0.375rem;
    background: #f5f5f5;
    aspect-ratio: 8.5 / 11;
    /* Letter-sized PDF proportion */
}

.resource-image a,
.resource-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.resource-image img {
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.resource-image a:hover img {
    transform: scale(1.03);
}

/* Content area below the image */
.resource-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.resource-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gcmc_blue, #2F45BC);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.resource-link .btn-primary-custom {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
}


/* =========================================================================
   21. PRODUCT CATEGORY HEROES & SECTION HEADINGS
   ========================================================================= */

/* Section heading with logo (e.g., Penefil page) */
.section-heading-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.section-heading-logo {
    max-width: 120px;
    height: auto;
    flex-shrink: 0;
}

.section-heading-wrap h2 {
    margin: 0;
}

.download-brochure-btn {
    align-self: auto;
}

/* =========================================================================
   23. SYSTEMS PAGE TEMPLATE
   ========================================================================= */
.videos-section {
    margin-bottom: 5rem;
}

.systems-cta-btn {
    margin-top: 3rem;
    border-radius: 7px;
}


/* =========================================================================
   24. FOOTER
   ========================================================================= */
.site-footer {
    padding: 50px 0 80px 0;
    justify-content: center;
    align-items: flex-start;
    gap: 108px;
    border-top: 1px solid #e5e5e5;
    font-family: "Roboto", "Avenir", "Avenir Next", Helvetica, Arial, sans-serif;
}

.footer-col {
    flex: 1 1 300px;
}

.site-footer .footer-col:nth-child(2) {
    margin-left: auto;
}

.footer-col h6 {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #0047A0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 20px;
}

.footer-col ul li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.footer-col ul li a {
    color: #000;
    text-decoration: none;
    font-weight: 400;
}

.footer-col ul li a:hover {
    color: var(--gcmc_light_blue);
    text-decoration: underline;
}

.footer-col p,
.footer-col a.contact-link {
    color: #000;
    text-decoration: none;
    font-weight: 400;
    display: block;
    margin-bottom: 8px;
}

.footer-col .contact-link i {
    margin-right: .65rem;
}

.footer-col a.contact-link:hover {
    color: var(--gcmc_light_blue);
}

.footer-logo img {
    max-width: 277px;
    height: auto;
}

.footer-bottom {
    background: #151515;
    text-align: center;
    padding: 15px 20px;
    font-size: 13px;
    color: #666;
}

/* Logos & socials column */
.footer-col-logos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.footer-col-logos .footer-logo img {
    max-height: 77px;
    width: auto;
    display: block;
}

/* Social icon row */
.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-socials i {
    font-size: 1.5rem;
    line-height: 1;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.footer-socials a:hover {
    background: var(--gcmc_blue, #003a70);
    color: #fff;
}


/* =========================================================================
   25. RESPONSIVE BREAKPOINTS (Consolidated)
   =========================================================================
   Breakpoints used:
   ≥ 992px  → Desktop (mega menu hover, TDS 4-col)
   ≥ 768px  → Tablet+ (TDS 3-col)
   ≤ 991.98px → Tablet/mobile (mega menu stacked)
   ≤ 768px  → Mobile (hide brand carousel arrows)
   ≤ 767px  → Mobile (incentives stack, about hero, events)
   ≤ 700px  → Footer breakpoint
   ========================================================================= */

/* DESKTOP & UP: ≥ 992px ------------------------------------------------- */
@media (min-width: 992px) {

    /* Navbar: sticky positioning */
    .navbar {
        position: sticky;
        top: 0;
        height: 75px;
    }

    /* On desktop, mega trigger is NOT a collapse — disable Bootstrap's collapse behavior.
       The mega menu opens via :hover/:focus-within, controlled by JS adding .is-open. */
    .navbar .mega-trigger {
        /* keep clickable but let JS handle the open state */
    }

    /* Desktop: force the mega menu to be visible (overrides Bootstrap's .collapse) */
    .navbar .mega-menu.collapse {
        display: block !important;
        /* override Bootstrap's collapse hiding */
    }

    /* Mega Menu: hover-to-open */
    .navbar .mega-dropdown {
        position: relative;
    }

    .navbar .mega-menu {
        position: absolute;
        top: 100%;
        width: max-content;
        max-width: calc(100vw - 2rem);
        padding: 2rem;
        border: 0;
        border-top: 1px solid #e5e5e5;
        border-radius: 0 0 0.5rem 0.5rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        margin-top: 0;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transform: translateY(0);
        transition: opacity 0.2s ease, visibility 0.2s;
        pointer-events: none;
    }

    .mega-align-center > .mega-menu {
        left: 50%;
        transform: translateX(-50%);
    }

    .mega-align-right > .mega-menu {
        right: 0;
    }

    .navbar .mega-menu::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -20px;
        height: 20px;
        background: transparent;
    }

    .mega-dropdown.is-open > .mega-menu,
    .mega-dropdown:focus-within > .mega-menu,
    .mega-dropdown:hover > .mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mega-dropdown.is-open > .nav-link .bi-caret,
    .mega-dropdown:focus-within > .nav-link .bi-caret,
    .mega-dropdown:hover > .nav-link .bi-caret {
        transform: rotate(180deg);
    }

    .mega-inner {
        max-width: 1280px;
        margin: 0 auto;
        display: grid;
        gap: 2.5rem;
    }

    .mega-3col {
        grid-template-columns: repeat(3, 1fr);
    }

    .mega-2col {
        grid-template-columns: repeat(2, 1fr);
    }

    /* TDS link columns expand to 4 on desktop */
    .tds-links-container {
        column-count: 4;
    }
}

/* TABLET (large): 768px - 991.98px ------------------------------------- */
@media (min-width: 768px) and (max-width: 991.98px) {

    /* Global hero text scales down */
    .hero h1 {
        font-size: 3rem;
    }
 
    .hero {
        padding: 80px 30px;
    }

    /* Home page */
    .home-hero-content h1 {
        font-size: 3rem;
    }

    .home-hero-content h2 {
        font-size: 1.85rem;
    }

    .systems-title,
    .home-advantages h2 {
        font-size: 2.75rem;
    }

    .home-brands h2,
    .home-intro h3 {
        font-size: 2rem;
    }

    /* Generic section headings */
    .heading-h2,
    .description-section h2,
    .about-content h2 {
        font-size: 1.85rem;
    }

    /* Section header padding */
    .section-header {
        padding: 0 2rem;
    }

    /* Product cards padding */
    .product-card {
        padding: 24px;
    }

    /* Tighter container padding */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}


/* TABLET / MOBILE: ≤ 991.98px ------------------------------------------- */
@media (max-width: 991.98px) {
Navbar displays over the warranty button on home page
	.navbar {
		z-index: 100;
	}
    /* The collapsed navbar wrapper — gives a max-height with scroll if too tall */
    .navbar-collapse {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        margin-top: 1rem;
    }

    /* Nav items are full-width and stack */
    .navbar-nav {
        gap: 0.25rem;
    }

    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar-nav .nav-link.nav-heading {
        padding: 0.875rem 0.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.1rem;
		font-weight: 800;
    }

    /* Caret indicator rotates when expanded */
    .navbar-nav .mega-trigger .bi-caret {
        transition: transform 0.2s ease;
    }

    .navbar-nav .mega-trigger[aria-expanded="true"] .bi-caret {
        transform: rotate(180deg);
    }

    /* Inside the expanded mega menu: stack everything */

    .mega-2col .mega-col {
        padding: 0;
        border-left: 0;
        margin: 0;
    }
	
    .mega-menu {
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .mega-inner {
        display: block;
    }

    .mega-col {
        padding: 0.5rem 0 0.5rem 1rem;
        border-left: 3px solid var(--gcmc_blue, #2F45BC);
        margin: 0.5rem 0;
    }

    .mega-col h6 {
        color: var(--gcmc_blue, #2F45BC);
        font-size: 0.9rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        padding-bottom: 0.25rem;
    }

    .mega-col .dropdown-item {
        padding: 0.625rem 0.5rem;
        font-size: 0.95rem;
        text-transform: none;
        /* easier to read in long list */
        color: #333;
    }

    .mega-col .dropdown-item:hover,
    .mega-col .dropdown-item:focus {
        background: #f5f5f5;
        color: var(--gcmc_blue, #2F45BC);
    }
	
	.mega-2col .mega-col {
		margin: 0;
	}
	
	.home-hero {
		min-height: 25vh;
	}
	
	.systems-title {
		font-size: 2.5rem;
	}
	
	.home-advantages h2 {
		font-size: 2.5rem;
	}
	
	.home-brands h2 {
    font-size: 2rem;
}
	.home-brands p {
		font-size: 1rem;
	}
}


/* MOBILE: ≤ 767.98px ---------------------------------------------------- */
@media (max-width: 767.98px) {

    /* Generic page hero — smaller */
    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero {
        padding: 60px 20px;
    }

    /* Home hero */
    .home-hero {
        min-height: 40vh;
    }

    .home-hero-content {
        padding: 0;
		padding-left: 2.5rem;
    }

    .home-hero-content h1 {
        font-size: 2.25rem;
	}

    .home-hero-content h2 {
        font-size: 1.5rem;
    }

    .home-hero-content p {
        font-size: 1rem;
    }

    /* Home intro */
    .home-intro h3 {
        font-size: 1.65rem;
    }

    .home-tagline-list a {
        font-size: 1rem;
    }

    /* Systems section */
    .systems-title {
        font-size: 2rem;
    }

    .systems-category-header {
        font-size: 1.15rem;
    }

    .systems-item {
        font-size: 1rem;
    }

    .systems-preview-title {
        font-size: 1.25rem;
    }

    .systems-preview-description {
        font-size: 1rem;
    }

    /* Advantages */
    .home-advantages h2 {
        font-size: 2rem;
    }

    .advantage-title {
        font-size: 1.1rem;
    }

    /* Brands — text width */
    .home-brands p {
        width: 100%;
    }
	
	 .home-brands-prev,
    .home-brands-next {
        display: none;
    }

    /* Generic h2 / description sections */
    .heading-h2,
    .description-section h2,
    .about-content h2 {
        font-size: 1.65rem;
    }

    /* Section header padding (was 5rem — way too much for mobile) */
    .section-header {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.15rem;
        padding: 5px 10px;
    }

    /* Product cards — tighter padding */
    .product-card {
        padding: 20px;
    }

    .product-card .product-name {
        font-size: 1.15rem;
    }

    .product-card p {
        font-size: 1rem;
    }
	
/* 	Penefil page */
	.download-brochure-btn {
        margin-top: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        display: inline-flex;
    }

    /* The parent col-md-2 offset-md-1 isn't doing anything useful on mobile */
    .products-section .row > .col-md-2.offset-md-1 {
        text-align: center;
        margin-left: 0;
        flex: 0 0 100%;
        max-width: 100%;
    }

/* 	Contact page */
    .contact p {
        font-size: 1.1rem;
        width: 95%;
    }

    .contact-content h5 {
        font-size: 1.25rem;
    }

    .contact-content p {
        font-size: 1rem;
    }

    .contact-content i {
        font-size: 2rem;
    }
	
	.team-list .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
	
	.questions {
		margin-top: 1.5rem;
	}

    /* Mission/Vision smaller */
    .mv-container h5 {
        font-size: 1.35rem;
    }

    /* Roof Details headings */
    .roof-details h2 {
        font-size: 1.65rem;
    }

    /* TDS sections */
    .tds-section .section-header {
        padding: 0;
    }

    /* Warranty form */
    .warranty-form .form_block {
        padding: 1.25rem;
    }

    /* Instructions box smaller */
    .instructions {
        padding: 1.5rem;
    }

    .instructions h5 {
        font-size: 1.25rem;
    }
	
/* 	About Page */
		.about-hero {
		min-height: 0;
	}
	
/* 	Incentives Page */
	
	.incentive-card-logo {
    flex: 0 0 140px;
}
    /* Footer columns */
    .site-footer {
        padding: 40px 0 50px;
        gap: 0;
    }

    .site-footer .footer-col:nth-child(2) {
        margin-left: 0;
    }

    .footer-logo img {
        max-width: 200px;
    }
	
	.footer-col-support {
		margin-top: 1.5rem;
	}
	
	.footer-col-logos {
		margin-top: 1rem;
		gap: 1rem;
	}
}


/* SMALL MOBILE: ≤ 575.98px ---------------------------------------------- */
@media (max-width: 575.98px) {

    /* Home hero further refinement */
    .home-hero-content h1 {
        font-size: 1.85rem;
    }

    .home-hero-content h2 {
        font-size: 1.25rem;
    }
	
    .home-systems .row.g-5 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1.5rem;
    }

    /* Section headers — even tighter */
    .section-header {
        padding: 0 0.5rem;
    }

    /* Hero padding tighter */
    .hero {
        padding: 50px 15px;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    /* Make sure section heading + logo can stack if too narrow */
    .section-heading-wrap {
        flex-wrap: wrap;
        gap: 10px;
    }

    .section-heading-logo {
        max-width: 80px;
    }

    /* Buttons easier to tap */
    .btn-primary-custom {
        padding: 12px 16px;
        font-size: 12px;
    }
	
/* 	Stack Incentives */
	.incentive-card {
		flex-direction: column;
	}
	
	.brochure-container {
		flex-direction: column;
	}
}


/* EXTRA SMALL: ≤ 380px -------------------------------------------------- */
@media (max-width: 380px) {

    /* iPhone SE, very narrow */
    .home-hero-content h1 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .heading-h2 {
        font-size: 1.35rem;
    }
	
	/* Footer ul to 1 column */
    .footer-col ul {
        column-count: 1;
    }
}