/*
Theme Name:     SWC FSE
Theme URI:      https://stonewallconstruction.net
Description:    Child Theme for Frost (Full Site Editing)
Author:         Samuel Lovetro
Author URI:     https://lovetro.com
Template:       frost
Version:        1.0.0
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 7.4
*/
a {
	text-decoration: none; 
}
/* Optional: child theme styles go here */
/* Default: Hide all custom classes */

/* Show on Desktop (1025px and up) */
@media (min-width: 1025px) {
  .hide-desktop {
    display: none !important;
  }
}
/* Show on Tablet (601px to 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }
}
/* Show on Mobile (600px and below) */
@media (max-width: 600px) {
  .hide-mobile {
    display: none !important;
  }
}
.yoast-breadcrumbs {
	text-align: center;
	margin-bottom:15px;
}
/* Reviews CPT Styles START */
/* Make the parent container a flex layout */
.wp-block-group.review {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Force all speech bubbles to grow equally */
.speech-bubble {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.wp-block-post-excerpt__more-text {
  margin-top:15px;
}
.yoast-breadcrumbs a, .wp-block-post-excerpt__more-link {
  text-decoration: none;
}
/* Reviews CPT Styles END */
.speech-bubble {
  min-height: 150px;
}
.reviews .speech-bubble, .review-content .speech-bubble {
  border:30px;
  border-image: url('/stonewall/wp-content/themes/swc-fse/assets/images/speech-bubble.png') 30 fill stretch;	
  border-style: solid;
  color: #333;
  max-width: 100%;
}
/* Reviews CPT Styles END */
.truncate {
  max-width:100%;
  display: block;
  white-space: nowrap;       /* keep text on one line */
  overflow: hidden;          /* hide overflowing text */
  text-overflow: ellipsis;   /* show … when truncated */
}
/* Navigation classes */
/* Adjust this selector to match your theme's nav menu link class */
nav a {
  text-decoration: none; /* No underline */
  color: inherit; /* Keep default text color until hover/active */
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  color: var(--wp--preset--color--custom-top-nav);
}
/* Active/current navigation highlighting */
nav a,
.wp-block-navigation .wp-block-navigation-item__content {
  display: block;
  text-decoration: none;
  color: inherit;
}
/* Hover state */
nav a:hover,
.wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--custom-top-nav);
}
/* Current page (active) state */
nav a[aria-current="page"],
nav a[aria-current="true"],
.page-id-190 .about-link a span, /* About */
.current-menu-ancestor > a > span,
.wp-block-navigation .wp-block-navigation-item__content[aria-current="page"],
.wp-block-navigation .wp-block-navigation-item__content[aria-current="true"] {
  color: var(--wp--preset--color--custom-top-nav);
}
.wp-block-navigation__submenu-container .wp-block-navigation-item { 
	padding:5px 0;
} 
/* MODIFIED 2025-09-22: Remove top info bar on rental pages */
.post-type-archive-rentals .top-info, .rentals-template-default .top-info {
	display:none;
}
