/* Task 99889: loaded after legacy theme styles. */
.gc-right-form {
    height: auto;
    min-width: 0;
    width: 100%;
    border: 1px solid #c4cbd3;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 27, 68, .12);
    overflow-wrap: anywhere;
}
.gc-right-form .wpcf7 { padding: 0 24px 24px; }
.gc-right-form .form-logo-img { display: block; width: 200px; max-width: 100%; height: auto; margin: 0 auto; }
.post-card-image { flex-shrink: 0; }
.gc-right-form .wpcf7 input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.gc-right-form .wpcf7 textarea,
.gc-right-form .wpcf7 select {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #8996a8;
    border-radius: 5px;
    background: #fff;
    color: #142238;
    padding: 10px 12px;
    margin-bottom: 14px;
}
.gc-right-form .wpcf7 input[type="tel"] { padding-left: 52px !important; }
.gc-right-form .wpcf7 textarea { height: 110px; resize: vertical; }
.gc-right-form .wpcf7 input:focus-visible,
.gc-right-form .wpcf7 textarea:focus-visible { outline: 2px solid #b94b0a; outline-offset: 2px; }
.gc-single-product .grid-x > .cell,
.gc-single-post .grid-x > .cell { min-width: 0; }
.gc-single-product .tabs-content,
.gc-single-product .entry-content { overflow-x: auto; max-width: 100%; }
.gc-single-product .grid-x > .large-8 { overflow-x: auto; }
.gc-single-product table { width: 100%; max-width: 100%; table-layout: fixed; }
.gc-single-product td, .gc-single-product th { overflow-wrap: anywhere; }
.gc-single-product .wp-caption { width: auto !important; max-width: 100%; }
.gc-single-product img,
.entry-content img { max-width: 100%; height: auto; }
.gc-related-equipment { clear: both; padding-top: 48px; margin-bottom: 32px; scroll-margin-top: 110px; }
.gc-related-equipment > .gc-section-title { margin-bottom: 30px; }
.gc-related-equipment .gc-products__card-title a { color: #000; }
.gc-related-equipment .gc-products__card-title a:hover { color: #fd7f33; }
.gc-gallery,
.entry-content .gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 20px 0;
}
.gc-gallery > .gc-gallery-link,
.entry-content .gallery .gallery-item { float: none; width: auto !important; max-width: 100%; margin: 0; padding: 0; min-width: 0; }
.gc-gallery .gc-gallery-img,
.entry-content .gallery img { display: block; width: 100%; height: 200px !important; object-fit: cover; }
.entry-content .gallery br { display: none; }
.gc-home-videos { padding: 40px 0 48px; background: #f7f8fa; }
.gc-home-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gc-home-video-card { display: flex; flex-direction: column; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #e4e7eb; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(20,26,34,.06); }
.gc-home-video-media { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #141820; }
.gc-home-video-preview,
.gc-home-video-media iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; }
.gc-home-video-preview { background: transparent; cursor: pointer; }
.gc-home-video-preview:focus-visible { outline: 3px solid #ff7b31; outline-offset: -3px; }
.gc-home-video-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gc-home-video-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #fd7f33; background: rgba(255,255,255,.9); transform: translate(-50%, -50%); pointer-events: none; }
.gc-home-video-caption { flex: 1; padding: 14px 16px 18px; }
.gc-home-video-title { display: block; color: #28323f; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 1023px) {
    .gc-home-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 639px) {
    .gc-home-video-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .gc-gallery, .entry-content .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gc-gallery .gc-gallery-img, .entry-content .gallery img { height: 150px !important; }
}
