/*
Theme Name: TM Child of Starter Block Theme V2
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: starter-block-theme-v2
Text Domain: tm-child-of-starter-block-theme-v2
Tags: 
*/
/*Sticky Buttons*/
.sticky-block {
  position: sticky;
  top: 1rem;
  z-index: 100;
  width: 100%;
  display: block;
  padding: 1rem;
  margin-bottom: -100%;
  pointer-events: none;
}

.sticky-block > * {
  pointer-events: auto;
}
/* fade-img-splide */
/* Ensure the carousel container allows absolute positioning */
.fade-img-splide .splide {
  position: relative;
}

/* Position arrows to overlap the images */
.fade-img-splide .splide__arrows {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Arrow styling */
.fade-img-splide .splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.8) !important;
  width: 3em !important;
  height: 4em !important;
  border-radius: 5px !important;
  z-index: 10;
}

/* Arrow positioning */
.fade-img-splide .splide__arrow--prev {
  left: 0 !important;
}

.fade-img-splide .splide__arrow--next {
  right: 0 !important;
}

/* Arrow icon styling */
.fade-img-splide .splide__arrow svg {
  fill: #ffffff !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Hover state */
.fade-img-splide .splide__arrow:hover {
  background: rgba(0, 0, 0, 0.5) !important;
}

.fade-img-splide .splide__arrow:hover svg {
  fill: #A0CCE9 !important;
}
/* Position figcaption over the image at bottom */
.fade-img-splide .splide__slide figure {
  position: relative;
  margin: 0;
}

.fade-img-splide .splide__slide figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #ffffff;
  padding: 0.75rem 1rem;
  margin: 0;
  font-weight:bold;
font-size:large;
font-style: normal;
background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%);
}
/* FAQ Details Block */
.faq-styles {
    padding: 0.5em 1em;
    margin-block-start: 0;
}

.faq-styles:hover,
.faq-styles:open {
    background: white;
}

.faq-styles summary {
    color: #2978ae;
}

.faq-styles summary:hover,
.faq-styles:open summary {
    color: var(--wp--preset--color--custom-primary);
}

.faq-styles a {
    color: var(--wp--preset--color--custom-high-contrast-darker-blue);
}

.faq-styles a:hover {
    color: var(--wp--preset--color--custom-gf-green);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 5px;
    color: #ffffff;
    font-weight: 600 !important;
    font-style: normal;
    font-size: var(--wp--preset--font-size--medium) !important;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table th:not(:first-child) {
    text-align: center;
}

.comparison-table td {
    padding: 5px;
    color: #ffffff;
    font-weight: 600 !important;
    font-style: normal;
    font-size: var(--wp--preset--font-size--small) !important;
}

.comparison-table td:first-child {
    text-align: left;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table .icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
}

.comparison-table .icon.check {
    background-color: #4CAF50;
}

.comparison-table .icon.cross {
    background-color: #2B2B2B;
}
/* ============================================
   BUTTONS
   ============================================ */
/* Green phone button hover */
.btn-phone a:hover {
  color: #469C40;
  background: #98F996;
  border-color: #98F996;
}

/* Light green button hover */
.btn-lt-green > a:hover {
  background: #469C40;
  color: white;
  border-color: #469C40;
}

/* Blue button hover */
.blue-btn-hover > a:hover {
  color: #98F996;
}

/* Global button transition */
:root :where(.wp-block-button .wp-block-button__link) {
  transition: all 0.5s ease;
}

.button {
  transition: 0.5s;
}

/* File button (on PDF pages) */
:root :where(.wp-element-button, .wp-block-button__link) {
  border-radius: 50em;
  border-color: var(--wp--preset--color--transparent);
  border: 0;
  padding-right: 1em;
  padding-left: 1em;
}

:root :where(.wp-element-button, .wp-block-button__link):hover {
  color: white;
  background: #469C40;
}

/* ============================================
   BLOG ELEMENTS
   ============================================ */
/* Blog categories */
.blog-cat {
  list-style-type: none;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
  padding-bottom: 6px;
}

/* Blog excerpt read more button */
.css-excerpt .wp-block-post-excerpt__more-link {
  background: #98F996;
  padding: 0.3em 1em;
  border-radius: 25px;
  color: #3D3D3D;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  font-size: 18px;
}

.css-excerpt .wp-block-post-excerpt__more-link:hover {
  color: white;
  background: #43A041;
}

/* General read more button */
.read-more-btn {
  color: #3D3D3D;
  background: #98F996;
  transition: 0.5s;
}

.read-more-btn:hover {
  color: white;
  background: #43A041;
}

/* Suppress press room category */
.cat-item-10 {
  display: none;
}

/* ============================================
   TABLES
   ============================================ */
/* Bed specification table */
.info-table {
  width: 100%;
  max-width: 400px;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}

.info-table td {
  padding: 10px;
  border-bottom: 1px solid #E9ECEF;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.label {
  font-weight: bold;
  font-size: 14px;
  color: var(--wp--preset--color--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 50%;
  vertical-align: top;
}

.sublabel {
  font-size: 12px;
  color: var(--wp--preset--color--custom-high-contrast-darker-blue);
  font-weight: normal;
  display: block;
  margin-top: 2px;
  text-transform: uppercase;
}

.value {
  font-size: 16px;
  color: #495057;
  text-align: right;
  vertical-align: top;
}

/* Blog table */
.blog-table {
  width: 100%;
  border-collapse: collapse;
}

.blog-table th,
.blog-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #DDD;
}

.blog-table th {
  background-color: #F5F5F5;
  font-weight: 600;
}

.blog-table tr:hover {
  background-color: #F9F9F9;
}

/* ============================================
   TYPOGRAPHY & TEXT COLORS
   ============================================ */
.lighter-blue-words {
  color: #A0CCE9 !important;
}

.darker-blue-words {
  color: #2978AE !important;
}

/* ============================================
   MEDIA - VIDEOS & EMBEDS
   ============================================ */
/* Video border radius */
.video-border-radius video {
  border-radius: 25px;
}

/* YouTube & Vimeo embeds */
.youtube-vimeo-embed {
  border-radius: 25px;
  border: 5px solid black;
  background: black;
  width: 100%;
}

.youtube-vimeo-embed iframe,
.youtube-vimeo-embed a {
  border-radius: 25px;
}

/* Video player big play button */
html body .aiovg-player .video-js .vjs-big-play-button,
html body .aiovg-player .video-js .vjs-big-play-button:hover,
html body .aiovg-player .video-js .vjs-big-play-button:focus,
html body .aiovg-player .video-js .vjs-big-play-button[style*="background"] {
  background-color: #082E6D !important;
  background: #082E6D !important;
}

/* ============================================
   CLASSIC EDITOR - RESPONSIVE IMAGES
   ============================================ */
.single-post .entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.single-post .entry-content figure.wp-caption,
.single-post .entry-content .wp-caption {
  max-width: 100% !important;
  width: 100% !important;
}

.single-post .entry-content figure.wp-caption img {
  width: 100%;
}

.single-post .entry-content .wp-caption-text,
.single-post .entry-content figcaption {
  font-size: 1rem !important;
  font-style: italic !important;
  text-align: center;
  margin-top: 0.5em;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
/* Row hover green */
.row-hover-green {
  background: #98F996;
  color: #3D3D3D;
}

.row-hover-green:hover {
  background: #469C40;
  color: white;
  transition: 0.5s;
}

/* Padding */
.2em-padding {
  padding-top: 2em;
  padding-bottom: 2em;
}

/* List styling */
.list-style-none {
  list-style-type: none;
}

.list-style-none li {
  text-align: center;
}

/* Visually hidden (accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}