/**
Theme Name: Astra Child
Theme URI: https://gfoutdoorfitness.com/
Author: greenfields
Author URI: https://gfoutdoorfitness.com/
Template: astra
Version: 1.3.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra child
AMP: true
**/

/* Mega Menu Hover Styles */
.mm-section :hover {
    background-color: #01824c10 !important;
    border-radius: 8px !important;
}

.mm-section2 :hover {
    background-color: #b91f2910 !important;
    border-radius: 8px !important;
}

/* Hide arrow next to menu item with sub-menu items */
.main-header-bar .menu-item-has-children > a:after,
.main-header-bar .page_item_has_children > a:after {
    content: none;
}

/* General Body Styles */
html,
body {
    width: 100%;
    overflow-x: hidden;
}

.text-shadow {
    text-shadow: -3px 3px #00000099;
}

/* WPForms Button Styles */
.wpforms-form input[type=submit],
.wpforms-form button[type=submit] {
    background-color: #004E2E !important;
    border-radius: 8px;
    padding: 20px 50px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    margin-top: 12px !important;
}

.wpforms-form input[type=submit]:hover,
.wpforms-form button[type=submit]:hover {
    background-color: #FFBA00 !important;
    color: #000000 !important;
}

div.wpforms-container-full .wpforms-form button[type=submit] {
    margin: 0 auto !important;
    display: block !important;
}

/*==================================
  Modernized Unit Card Styles 
====================================*/

.unit-card-link {
    display: flex;
    margin: 10px;
    box-sizing: border-box;
    text-decoration: none !important;
    color: inherit;
}

.unit-card {
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: box-shadow 0.2s ease-in-out;
}

.unit-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.unit-card-header {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
    background-color: #2b5748;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 1.1em;
    box-sizing: border-box;
    text-decoration: none !important;
}

.unit-card-images {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: auto;
}

.unit-card-image-box {
    box-sizing: border-box;
    padding: 0 5px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.unit-card-image-box img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Image Display */
@media (min-width: 769px) {
    .unit-card-image-box {
        flex-basis: 33.33%;
    }
}

@media (max-width: 768px) {
    .unit-card-image-box {
        flex-basis: 50%;
    }

    .unit-card-image-box:last-of-type {
        display: none;
    }
}

/* Other Styles */
.pkg-descrip {
    margin: 10px 0;
    padding: 10px;
    float: right;
}

.pkg-pdf-dl-text {
    text-align: center;
    margin-top: 0;
    font-size: 16pt;
    font-weight: 900;
    color: rgb(243, 115, 33);
}

.unit-count-1 {
    background: #F90;
    color: white;
    border-radius: 3px;
    padding: 2px;
    float: left;
}

.unit-count-2 {
    background: white;
    color: #F90;
    float: left;
    margin: 2px;
    padding: 3px;
}

.post-meta {
    display: none;
}

/* ================================
   Scoped Mega Menu Hover Preview
================================== */

.package-preview-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
}

.preview-menu {
  flex: 0 0 250px;
}

.preview-display {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.preview-item {
  display: none;
  width: 100%;
}

.preview-item.active {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.preview-item img {
  max-width: 300px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.preview-item p {
  margin: 0;
  flex: 1;
  max-width: 100%;
  line-height: 1.5;
}

.mm-links a:hover,
.mm-links a.mm-active {
    background-color: #01824c10 !important;
    color: #000 !important;
}

/* ================================
   Gutenberg Table Styling
================================== */
/* Package Table Minimal Styling */


.package-table table {
    width: 100%;
    border-collapse: collapse;
}

.package-table td,
.package-table th {
    padding: 14px 20px; /* 6px top/bottom, 10px left/right */
}

/* Force styling for Gutenberg table in .package-table */

.package-table {
    border-radius: 8px !important;
    overflow: hidden;
}

.package-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px !important;
    overflow: hidden;
}



/* Force removal of underlines in links inside table */
.package-table a,
.package-table td a,
.package-table th a {
    text-decoration: none !important;
}


/* Add left padding only to the first column */
.package-table td:first-child,





.package-table th:first-child {
    padding-left: 20px;
}









