.um-field .select2.select2-container .select2-selection .select2-selection__arrow{top: 18px !important;}

.elementor-element-164ca7b .um-form label { color: #000 !important;}
.elementor-element-164ca7b span {  color: #000 !important;}
.elementor-element-bc654eb .um-1035.um{max-width: 100%;}

.elementor-element-bc654eb .um-form label { color: #0d0d0d !important;}
.elementor-element-bc654eb span {  color: #000 !important;}

.elementor-element.elementor-element-855e0ae.elementor-widget.elementor-widget-shortcode {width: 100% !important;}

.elementor-element-164ca7b .uimob500.um {
  max-width: 100%;}
.uimob500 .um-field { position: relative;
  padding: 8px 0 0 0;}
.uimob500 .um-center { text-align: left;}
.uimob500 .um input[type="submit"].um-button {background:#050713 !important}
.uimob500 #um-submit-btn {
  background: #E874B1 !important;
  opacity: 0.9 !important;
}

#wpforms-7184-field_9 { height: 80px;}
#wpforms-form-7184 label{font-size: 14px; margin-bottom:8px;}
#wpforms-form-7184 .wpforms-field{padding: 8px 0 !important; }
#wpforms-form-7184 input{height:40px;font-size: 14px; }
#wpforms-form-7184 select{height:40px; font-size: 14px;}
button#wpforms-submit-7184 {
    background:#E874B1;
    text-transform: uppercase;
}

#wpforms-7576-field_9 { height: 80px;}
#wpforms-form-7576 label{font-size: 14px; margin-bottom:8px;}
#wpforms-form-7576 .wpforms-field{padding: 8px 0 !important; }
#wpforms-form-7576 input{height:40px;font-size: 14px; }
#wpforms-form-7576 select{height:40px; font-size: 14px;}
button#wpforms-submit-7576 {
    background:#E874B1;
    text-transform: uppercase;
}


#wpforms-7554-field_9 { height: 80px;}
#wpforms-form-7554 label{font-size: 14px; margin-bottom:8px;}
#wpforms-form-7554 .wpforms-field{padding: 8px 0 !important; }
#wpforms-form-7554 input{height:40px;font-size: 14px; }
#wpforms-form-7554 select{height:40px; font-size: 14px;}
button#wpforms-submit-7554 {
    background:#E874B1;
    text-transform: uppercase;
}
div#wpforms-7554-field_5-container {
    width: 49%;  float: right;}
div#wpforms-7554-field_10-container {
    width: 49%; display: inline-block;}
div#wpforms-5850-field_5-container {
    width: 49%; display: inline-block;}
div#wpforms-5850-field_10-container{width: 49%;  float: right;}

div#wpforms-7554-field_13-container {
    width: 49% !important; display: inline-block;
}
div#wpforms-7554-field_14-container{width: 49%;  float: right;}


div#wpforms-7184-field_5-container {
    width: 49%;  float: right;}
div#wpforms-7184-field_10-container {
    width: 49%; display: inline-block;}
div#wpforms-5850-field_5-container {
    width: 49%; display: inline-block;}
div#wpforms-5850-field_10-container{width: 49%;  float: right;}

div#wpforms-7184-field_13-container {
	width:49% !important; display: inline-block;}
div#wpforms-7184-field_14-container{width: 49% !important;  float: right;}



#wpforms-form-5850 textarea#wpforms-5850-field_9 { height: 80px;}
#wpforms-form-5850 label{font-size: 14px; margin-bottom:8px;}
#wpforms-form-5850 .wpforms-field{padding: 8px 0 !important; }
#wpforms-form-5850 input{height:40px;font-size: 14px; }
#wpforms-form-5850 select{height:40px; font-size: 14px;}
button#wpforms-submit-5850 {
    background:#E874B1;
    text-transform: uppercase;
}
div#wpforms-5850-field_8-container {
    width: 49%;  float: right;}
div#wpforms-5850-field_7-container {
    width: 49%; display: inline-block;}
div#wpforms-5850-field_5-container {
    width: 49%; display: inline-block;}
div#wpforms-5850-field_10-container{width: 49%;  float: right;}

@media (max-width: 768px){
div#wpforms-7554-field_13-container {
    width:100% !important; display: inline-block;}
div#wpforms-7554-field_14-container{width: 100% !important;  float: right;}
	
div#wpforms-7184-field_14-container {
	width:100% !important; display: inline-block;}
div#wpforms-7554-field_14-container{width: 100% !important;  float: right;}
div#wpforms-7184-field_13-container {
	width:100% !important; display: inline-block;}	
	
div#wpforms-5850-field_8-container {
    width:100%;  float: right;}
div#wpforms-5850-field_7-container {
    width: 100%; display: inline-block;}
div#wpforms-5850-field_5-container {
    width: 100%; display: inline-block;}
div#wpforms-5850-field_10-container {
  width: 100%; float: right;}
	
	div#wpforms-7184-field_5-container {
    width: 100%;  float: right;}
div#wpforms-7184-field_10-container {
    width: 100%; display: inline-block;}
	div#wpforms-7554-field_5-container {
    width: 100%;  float: right;}
div#wpforms-7554-field_10-container {
    width: 100%; display: inline-block;}
	
.elementor-element.elementor-element-855e0ae.elementor-widget.elementor-widget-shortcode {width: 100% !important;}
	
}


.lementor-element-f7fc733 .e-con-full {    border-top: 0px;
    margin: -7px 0 0 0px;}

/* ================= GRID ================= */

.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* ================= CARD ================= */

.class-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.class-card:hover {
    transform: translateY(-6px);
}

.class-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.class-time {
    color: #777;
    margin-bottom: 25px;
}

/* ================= CARD BUTTONS ================= */

.class-card button {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 40px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-update {
    background: #28a745;
    color: #fff;
}

.btn-update:hover {
    background: #218838;
}

.btn-delete {
    background: #dc3545;
    color: #fff;
}

.btn-delete:hover {
    background: #b02a37;
}

/* ================= MODAL ================= */

body > .custom-modal {
    position: fixed !important;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999999 !important;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 550px;
    max-width: 95%;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
    position: relative;
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #666;
}

/* ================= FORM ================= */

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* Date row */
.modal-content label {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.modal-content input[type="datetime-local"] {
    margin-bottom: 20px;
}

/* SAVE BUTTON */
.btn-save {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    border: none;
    background: #f4b400;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-save:hover {
    background: #e2a400;
}

/* DELETE CONFIRM BUTTON */
.modal-content .btn-delete {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    font-size: 15px;
}



/* ================= FORM CARD ================= */

.frontend-form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 40px auto;
}

/* ================= INPUTS ================= */

.frontend-form-card input,
.frontend-form-card textarea,
.frontend-form-card select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-bottom: 22px;
    font-size: 15px;
    transition: 0.3s ease;
}

.frontend-form-card input:focus,
.frontend-form-card textarea:focus,
.frontend-form-card select:focus {
    border-color: #f4b400;
    outline: none;
    box-shadow: 0 0 0 3px rgba(244,180,0,0.15);
}

/* ================= DATE ROW ================= */

.frontend-date-row {
    display: flex;
    gap: 25px;
}

.frontend-date-row div {
    flex: 1;
}

.frontend-date-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* ================= BUTTON ================= */

.frontend-form-card button {
    padding: 16px 40px;
    border-radius: 40px;
    border: none;
    background: #f4b400;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.frontend-form-card button:hover {
    background: #e2a400;
    transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .frontend-date-row {
        flex-direction: column;
    }
}

/* Fix coach login button active color */
.menu-item.current-menu-item a.elementor-button,
.menu-item.current_page_item a.elementor-button,
.menu-item.current-menu-item a.hfe-menu-item.elementor-button {
    color: #ffffff !important;
    background-color: #ff0200 !important;
}

@media (min-width: 1024px) {
    #menu-item-1589{
        margin-right: 18px;
    }
	#menu-item-1598{
        margin-right: 18px;
    }
}


#amelia-v2-booking-1000{
	margin-top: -80px;
}

.entry-title{
	text-align: center;
	margin-bottom: 10px;
}

.um-form input,
.um-form select {
    border-radius: 6px !important;
    padding: 10px !important;
}

.um-button {
    background: #4a90e2 !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

.um-form {
	    background:#fefafa70 !important;
    padding: 6px !important;
    border: 1px solid #ffffff38 !important;
    height: auto !important;
	border-radius:10px;
}

/* Change form label color */
 .um-field-label label {
    color: #B7410E !important;
}

/* For specific form only (safer) */
.um-form label {
    color: #ffffff !important;
}

.um .um-col-2 {
    display: flex !important;
    gap: 15px;
}

.um .um-col-2 .um-field {
    width: 50% !important;
}
.um form {
    max-width: 100% !important;
}

.um-col-121,
.um-col-122 {
    float: left;
    width: 50%;
}
._um_row_1, ._um_row_2 {
	  gap: 4px !important;
    display: flex !important;
}
.um-row::after {
    content: "";
    display: table;
    clear: both;
}
.menu-item .fa-whatsapp {
    color: #25D366;
}
.menu-item a {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 8px;
}

/* Fix login form full width */
.um-login .um-field {
    width: 100% !important;
}

.um-login .um-col-2 {
    display: block !important;
}

.um-login ._um_row_1,
.um-login ._um_row_2 {
    display: block !important;
}
.um-toggle-password{
	top:3.5px
}
/* Push Amelia and navigation buttons to the very front */
.am-modal, 
.amelia-app-booking, 
.elementor-button {
    z-index: 99999 !important;
}

/* Ensure the hidden topbar is pushed to the back */
.viv-topbar {
    z-index: -1 !important;
}
@media (max-width: 768px){
	.viv-topbar {
    z-index: 99 !important;
}
}

.woocommerce-cart table.cart img {
    width: 80px !important;
    height: auto !important;
    display: block !important;
}

/* --- VIV'S ACADEMY CARD UI ENHANCEMENTS --- */

/* 1. Make the overall card look defined */
.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid #eaeaea; /* Light border around the whole card */
    border-radius: 8px; /* Soft corners */
    padding: 15px; /* Space inside the card */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Soft, elegant shadow */
    transition: box-shadow 0.3s ease, transform 0.3s ease; /* Smooth animation */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Keeps content aligned */
    margin-bottom: 25px; /* Adds space between rows of cards */
    text-align: center; /* Centers all text within the card */
}

/* 2. Style card on hover */
.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Deeper shadow on hover */
    transform: translateY(-5px); /* Lift the card slightly */
}

/* 3. Better image handling within the card */
.woocommerce ul.products li.product img {
    margin-bottom: 10px !important;
    border-bottom: 1px solid #eaeaea; /* Separator line under the image */
    padding-bottom: 10px;
}

/* 4. Improve the Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1em !important;
    font-weight: 700;
    color: #333;
    margin-top: 10px !important;
    margin-bottom: 15px !important;
    line-height: 1.3;
}

/* 5. Improve the Price Display */
.woocommerce ul.products li.product .price {
    color: #444; /* Standard dark color */
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px !important;
}

/* 6. Style the 'Add to Cart' Button */
.woocommerce ul.products li.product .button.add_to_cart_button {
    background-color: #ffd26b !important; /* Your brand gold/yellow */
    color: #333 !important;
    border-radius: 4px !important; /* Squared or slightly rounded to match logo font */
    padding: 12px 20px !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
    width: 100%; /* Make button full width of the card */
}

/* 7. Button Hover Effect */
.woocommerce ul.products li.product .button.add_to_cart_button:hover {
    background-color: #e6b84d !important; /* Darker gold/yellow on hover */
}

/* --- OPTIONAL: Adjusting the overall page layout --- */

/* Add spacing around the main page container if needed */
.woocommerce.archive .main-content {
    padding: 40px 0;
}
/* Remove the large 'Shop' page title */
.woocommerce-products-header .woocommerce-products-header__title.page-title {
    display: none !important;
}

/* Remove the 'Home / Shop' breadcrumb navigation */
.woocommerce-breadcrumb {
    display: none !important;
}

/* ===== WooCommerce My Account - Clean Modern UI ===== */

/* Page wrapper */
.woocommerce-account .woocommerce {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', sans-serif;
}

/* ---- Navigation (sidebar) ---- */
.woocommerce-MyAccount-navigation {
  background: #1a1a2e;
  border-radius: 14px;
  overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 13px 24px;
  color: #c8c8e0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border-left: 3px solid #e91e8c;
}

/* ---- Content Area ---- */
.woocommerce-MyAccount-content {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.07);
}

/* ---- Order Table ---- */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.woocommerce-orders-table thead th {
  background: #f4f4f8;
  color: #444;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
}

.woocommerce-orders-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}

.woocommerce-orders-table tbody tr:hover {
  background: #fafafa;
}

.woocommerce-orders-table td {
  padding: 14px 16px;
  color: #333;
}

/* ---- Order Status Badges ---- */
.woocommerce-orders-table .order-status,
mark.order-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

mark.order-status.processing,
.woocommerce-orders-table mark.processing {
  background: #e8f5e9;
  color: #2e7d32;
}

mark.order-status.completed {
  background: #e3f2fd;
  color: #1565c0;
}

mark.order-status.on-hold {
  background: #fff8e1;
  color: #f57f17;
}

mark.order-status.cancelled {
  background: #fce4ec;
  color: #c62828;
}

/* ---- View Order button ---- */
.woocommerce-orders-table .button,
.woocommerce-MyAccount-content .button {
  background: #1a1a2e;
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.woocommerce-orders-table .button:hover,
.woocommerce-MyAccount-content .button:hover {
  background: #e91e8c;
  color: #fff;
}

/* ---- Headings inside content ---- */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  border-bottom: 2px solid #f0f0f4;
  padding-bottom: 10px;
}

/* ---- Order detail page ---- */
.woocommerce-order-details table,
.woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-table--order-details thead th {
  background: #f4f4f8;
  padding: 12px 16px;
  font-weight: 700;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
}

.woocommerce-table--order-details tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
}

/* ---- Address boxes ---- */
.woocommerce-column--billing-address,
.woocommerce-column--shipping-address {
  background: #f9f9fc;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #e8e8f0;
}
.woocommerce-js form .form-row input.input-text, .woocommerce-js form .form-row textarea{
	border: 1px solid black;
	border-radius:5px;
}
.woocommerce-js .select2-container .select2-selection--single, .woocommerce-js select, .woocommerce-page .select2-container .select2-selection--single, .woocommerce-page select{
	border: 1px solid black;
	border-radius:5px;
}
/* Hide Account Details and Log out from WooCommerce Sidebar */
.woocommerce-MyAccount-navigation-link--edit-account,
.woocommerce-MyAccount-navigation-link--customer-logout {
    display: none !important;
}
/* Hide the entire Shipping Address column */
.u-column2.col-2.woocommerce-Address {
    display: none !important;
}

/* Remove the "Edit" button from the Billing Address section */
.u-column1.col-1.woocommerce-Address .edit {
    display: none !important;
}

/* Optional: Make the Billing Address take up the full width since Shipping is gone */
.u-column1.col-1.woocommerce-Address {
    width: 100% !important;
    float: none !important;
}

/* Container to enable horizontal scrolling */
.woocommerce ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory; /* Makes scrolling feel "snappy" */
    gap: 20px;
    padding-bottom: 20px; /* Space for the scrollbar */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

/* Ensure each card has a fixed width so they don't squash */
.woocommerce ul.products li.product {
    flex: 0 0 280px !important; /* Adjust 280px to your preferred card width */
    max-width: 280px !important;
    scroll-snap-align: start;
    margin-bottom: 0 !important; /* Remove bottom margin to align in row */
}

/* Optional: Custom scrollbar styling for a cleaner look */
.woocommerce ul.products::-webkit-scrollbar {
    height: 8px;
}

.woocommerce ul.products::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.woocommerce ul.products::-webkit-scrollbar-thumb {
    background: #1a1a2e; /* Matches your sidebar color */
    border-radius: 10px;
}

.woocommerce ul.products::-webkit-scrollbar-thumb:hover {
    background: #e91e8c; /* Matches your active pink color */
}
/* 1. Wrap the account content in a fixed-height scrollable container */
.woocommerce-MyAccount-content {
    max-height: 400px; /* Adjust this height to fit your screen design */
    overflow-y: scroll;
    padding-right: 20px; /* Prevents text from sticking to the edge */
    
    /* Hide scrollbar for Chrome, Safari and Opera */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* 2. Hide scrollbar for Chrome, Safari and Opera specifically */
.woocommerce-MyAccount-content::-webkit-scrollbar {
    display: none;
}

/* 3. Ensure the address block and table fit nicely inside the scroll div */
.woocommerce-order-details, 
.woocommerce-customer-details {
    width: 100%;
    margin-bottom: 20px;
}

.amelia-v2-app .am-dialog-confirm .am-button--secondary,
.amelia-v2-app button[class*="customer-panel"],
.amelia-v2-app .am-confirm-booking__customer-panel {
  display: none !important;
}

.app-install-btn {
    font-size: 14px;
    cursor: pointer;
    color: gray;
}

.app-install-btn:hover {
    opacity: 0.7;
}

@media all and (display-mode: standalone) {
    #installAppBtn {
        display: none !important;
    }
}


/* =========================================================
   VIV'S ACADEMY
   CLEAN EDUCATIONAL BLOG DESIGN
   ASTRA + WORDPRESS
   ========================================================= */


/* =========================================================
   1. BLOG PAGE / SINGLE POST CONTAINER
   ========================================================= */

.single-post .ast-container {
    max-width: 1240px;
}


/* Main article */
.single-post .site-content .ast-row {
    align-items: flex-start;
}

.single-post .content-area {
    padding-right: 20px;
}


/* =========================================================
   2. ARTICLE TYPOGRAPHY
   ========================================================= */

.single-post .entry-content {
    font-size: 17px;
    line-height: 1.7;
    color: #475569;
}


/* Paragraphs */

.single-post .entry-content p {
    margin-top: 0;
    margin-bottom: 18px;
}


/* =========================================================
   3. POST TITLE
   ========================================================= */

.single-post .entry-title {
    font-size: 40px;
    line-height: 1.18;
    font-weight: 650;
    letter-spacing: -0.5px;
    color: #000000;
    margin: 0 0 25px;
}


/* =========================================================
   4. FEATURED IMAGE
   ========================================================= */

.single-post .post-thumb {
    margin-bottom: 30px;
}

.single-post .post-thumb img,
.single-post .post-thumb-img-content img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}


/* =========================================================
   5. HEADINGS
   ========================================================= */

.single-post .entry-content h2 {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 650;
    color: #000000;
    margin-top: 42px;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
}


/* Small accent underneath H2 */

.single-post .entry-content h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 9px;
    border-radius: 4px;
    background: #2563eb;
}


.single-post .entry-content h3 {
    font-size: 23px;
    line-height: 1.35;
    font-weight: 600;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 12px;
}


.single-post .entry-content h4 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: #000000;
    margin-top: 24px;
    margin-bottom: 10px;
}


/* =========================================================
   6. FIRST PARAGRAPH
   ========================================================= */

.single-post .entry-content > p:first-child {
    font-size: 18px;
    line-height: 1.7;
    color: #334e68;
}


/* =========================================================
   7. LINKS
   ========================================================= */

.single-post .entry-content a {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}


/* =========================================================
   8. LISTS
   ========================================================= */

.single-post .entry-content ul,
.single-post .entry-content ol {
    margin-top: 8px;
    margin-bottom: 20px;
    padding-left: 28px;
}


.single-post .entry-content li {
    margin-bottom: 7px;
    line-height: 1.65;
}


/* =========================================================
   9. TABLES
   ========================================================= */

.single-post .entry-content table {
    width: 100%;
    margin: 25px 0 30px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.5;
}


.single-post .entry-content th,
.single-post .entry-content td {
    padding: 14px 15px !important;
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
}


.single-post .entry-content th {
    font-weight: 650;
    color: #17365d;
    background: #f8fafc;
}


.single-post .entry-content tr:last-child td {
    border-bottom: 0;
}


.single-post .entry-content tbody tr:nth-child(even) {
    background: #fbfdff;
}


/* =========================================================
   10. BLOCKQUOTES
   ========================================================= */

.single-post .entry-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid #2563eb;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    color: #334e68;
    font-size: 18px;
}


/* =========================================================
   11. IMAGE INSIDE ARTICLE
   ========================================================= */

.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}


.single-post .entry-content .wp-block-image {
    margin-top: 25px;
    margin-bottom: 30px;
}


/* =========================================================
   12. QUICK ANSWER BOX
   Gutenberg:
   Group → Advanced → Additional CSS class
   quick-answer
   ========================================================= */

.single-post .quick-answer {
    margin: 30px 0;
    padding: 22px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    border-radius: 9px;
}


.single-post .quick-answer h2,
.single-post .quick-answer h3 {
    margin-top: 0 !important;
}


.single-post .quick-answer p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   13. TIP BOX
   ========================================================= */

.single-post .tip-box {
    margin: 30px 0;
    padding: 21px 24px;
    background: #f6fdf8;
    border: 1px solid #dcefe1;
    border-left: 4px solid #22a06b;
    border-radius: 9px;
}


.single-post .tip-box h2,
.single-post .tip-box h3 {
    margin-top: 0 !important;
}


.single-post .tip-box p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   14. IMPORTANT BOX
   ========================================================= */

.single-post .important-box {
    margin: 30px 0;
    padding: 21px 24px;
    background: #fffaf3;
    border: 1px solid #f4e4c8;
    border-left: 4px solid #f59e0b;
    border-radius: 9px;
}


.single-post .important-box h2,
.single-post .important-box h3 {
    margin-top: 0 !important;
}


.single-post .important-box p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   15. KEY TAKEAWAYS
   ========================================================= */

.single-post .key-takeaways {
    margin: 40px 0;
    padding: 25px 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}


.single-post .key-takeaways h2 {
    margin-top: 0 !important;
}


.single-post .key-takeaways h2::after {
    display: none;
}


/* =========================================================
   16. TABLE OF CONTENTS
   ========================================================= */

.single-post .article-toc {
    margin: 30px 0 35px;
    padding: 22px 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}


.single-post .article-toc h2,
.single-post .article-toc h3 {
    margin-top: 0 !important;
}


.single-post .article-toc h2::after {
    display: none;
}


.single-post .article-toc ul {
    margin-bottom: 0;
}


/* =========================================================
   17. CTA BOX
   ========================================================= */

.single-post .article-cta {
    margin: 45px 0 25px;
    padding: 32px 28px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}


.single-post .article-cta h2 {
    margin-top: 0 !important;
}


.single-post .article-cta h2::after {
    margin-left: auto;
    margin-right: auto;
}


.single-post .article-cta p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   18. SIDEBAR
   ========================================================= */

.single-post .widget-area {
    font-size: 15px;
}


.single-post .widget {
    margin-bottom: 24px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #edf1f5;
    border-radius: 10px;
}


.single-post .widget-title {
    margin: 0 0 18px;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 650;
    color: #000000;
}


/* =========================================================
   19. SIDEBAR SEARCH
   ========================================================= */

.single-post .widget_search input[type="search"] {
    min-height: 44px;
    border: 1px solid #dbe3ec;
    border-radius: 7px;
}


.single-post .widget_search button,
.single-post .widget_search input[type="submit"] {
    min-height: 44px;
    border-radius: 7px;
}


/* =========================================================
   20. SIDEBAR NORMAL LISTS
   ========================================================= */

.single-post .widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


.single-post .widget li {
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid #edf1f5;
    line-height: 1.5;
}


.single-post .widget li:last-child {
    border-bottom: 0;
}


.single-post .widget li a {
    text-decoration: none;
}


/* =========================================================
   21. WORDPRESS LATEST POSTS BLOCK
   For sidebar thumbnails
   ========================================================= */

.single-post .wp-block-latest-posts {
    margin: 0;
    padding: 0;
}


.single-post .wp-block-latest-posts li {
    margin-bottom: 16px;
    padding-bottom: 16px;
}


.single-post .wp-block-latest-posts__featured-image {
    margin-bottom: 8px;
}


.single-post .wp-block-latest-posts__featured-image img {
    width: 100%;
    height: 105px;
    object-fit: cover;
    border-radius: 8px;
}


/* =========================================================
   22. RECENT POSTS WIDGET WITH THUMBNAILS
   Works with common thumbnail widget markup
   ========================================================= */

.single-post .rpwwt-widget ul {
    margin: 0;
    padding: 0;
}


.single-post .rpwwt-widget li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 15px;
    padding: 0 0 15px;
    border-bottom: 1px solid #edf1f5;
}


.single-post .rpwwt-widget li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}


.single-post .rpwwt-widget img {
    width: 82px !important;
    height: 62px !important;
    object-fit: cover;
    border-radius: 7px;
    flex: 0 0 82px;
}


.single-post .rpwwt-widget .rpwwt-post-title {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}


/* =========================================================
   23. HIDE AUTHOR + DATE
   ========================================================= */

.single-post .entry-meta {
    display: none !important;
}


/* =========================================================
   24. PREVENT ASTRA EXTRA SPACING
   ========================================================= */

.single-post .entry-content > * {
    margin-bottom: 18px;
}


.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    margin-bottom: 14px;
}


/* =========================================================
   25. REMOVE EXCESSIVE EMPTY SPACE
   ========================================================= */

.single-post .entry-content > div,
.single-post .entry-content > section {
    margin-top: 0;
}


.single-post .entry-content .wp-block-group {
    margin-top: 20px;
    margin-bottom: 25px;
}


/* =========================================================
   26. POST NAVIGATION
   ========================================================= */

.single-post .post-navigation {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}


/* =========================================================
   27. RELATED POSTS
   ========================================================= */

.single-post .ast-related-posts {
    margin-top: 45px;
}


.single-post .ast-related-posts .post-thumb img {
    border-radius: 9px;
}


/* =========================================================
   28. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .single-post .ast-container {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }


    .single-post .content-area {
        padding-right: 0;
    }


    /* Title */

    .single-post .entry-title {
        font-size: 30px;
        line-height: 1.22;
        letter-spacing: -0.3px;
        margin-bottom: 20px;
    }


    /* Article */

    .single-post .entry-content {
        font-size: 16px;
        line-height: 1.68;
    }


    .single-post .entry-content > p:first-child {
        font-size: 17px;
    }


    /* Headings */

    .single-post .entry-content h2 {
        font-size: 25px;
        line-height: 1.3;
        margin-top: 34px;
        margin-bottom: 13px;
    }


    .single-post .entry-content h3 {
        font-size: 21px;
        line-height: 1.35;
        margin-top: 27px;
    }


    .single-post .entry-content h4 {
        font-size: 19px;
    }


    /* Tables */

    .single-post .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 14px;
    }


    .single-post .entry-content th,
    .single-post .entry-content td {
        padding: 10px 12px !important;
    }


    /* Boxes */

    .single-post .quick-answer,
    .single-post .tip-box,
    .single-post .important-box,
    .single-post .key-takeaways,
    .single-post .article-toc {
        padding: 18px 19px;
        margin: 25px 0;
    }


    /* Sidebar */

    .single-post .widget {
        padding: 20px;
        margin-bottom: 20px;
    }


    /* Recent thumbnails */

    .single-post .rpwwt-widget img {
        width: 75px !important;
        height: 58px !important;
        flex-basis: 75px;
    }
}


/* =========================================================
   29. VERY SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .single-post .entry-title {
        font-size: 27px;
    }


    .single-post .entry-content h2 {
        font-size: 23px;
    }


    .single-post .entry-content h3 {
        font-size: 20px;
    }
}
/* =========================================================
   REMOVE TOP SPACE ABOVE BOTH BLOG + SIDEBAR
   SINGLE POST ONLY
   ========================================================= */

/* 1. Remove spacing from the main content wrapper */
body.single-post #content.site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 2. Remove spacing from Astra's container */
body.single-post #content.site-content > .ast-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 3. Remove spacing from the BLOG column */
body.single-post #primary.content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 4. Remove spacing from the SIDEBAR column */
body.single-post #secondary.widget-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 5. Remove spacing from the article itself */
body.single-post #primary .ast-article-single {
    margin-top: 0 !important;
}

/* 6. Keep the blog and sidebar aligned at the same top position */
body.single-post #content.site-content > .ast-container {
    align-items: flex-start !important;
}

/* 7. Remove any extra top margin from sidebar widgets */
body.single-post #secondary .widget:first-child {
    margin-top: 0 !important;
}

/* 8. Remove Astra's possible content-area top spacing */
body.single-post .content-area.primary {
    margin-top: 0 !important;
}

/* 9. If Astra adds spacing to the first element */
body.single-post #primary > *:first-child,
body.single-post #secondary > *:first-child {
    margin-top: 0 !important;
}

/* =========================================================
   SITEWIDE HEADING COLOUR: BLACK (#000000)
   Overrides Elementor's default heading colour (Primary #6EC1E4)
   and Astra's heading colour (global colour 2, #1E293B).
   Text colour only: fonts, sizes, weights, spacing and
   decorative underlines (backgrounds / borders) are untouched.
   Headings given their own colour on a specific widget
   (e.g. white on dark sections) keep it.
   ========================================================= */
body :is(h1, h2, h3, h4, h5, h6),
body .entry-content :is(h1, h2, h3, h4, h5, h6),
body .elementor-widget-heading .elementor-heading-title,
body .ev .elementor-heading-title,
body .ev .ev-btitle,
body .entry-title,
body .ast-archive-title,
body .widget-title,
body :is(h1, h2, h3, h4, h5, h6) :is(a, span:not([class*="hl"])),
body .ev .elementor-heading-title :is(a, span:not([class*="hl"])),
body .entry-title a {
    color: #000000;
}