/*
Theme Name: Natalie Beddoes Art
Theme URI: https://nataliebeddoes.com
Description: Custom watercolor artist theme for Natalie Beddoes Art. Child theme of Twenty Twenty-Five.
Author: Natalie Beddoes
Author URI: https://nataliebeddoes.com
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: natalie-beddoes-child
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Design Tokens from Flutter)
   ========================================================================== */

:root {
  /* Primary Palette - Soft Watercolor Neutrals */
  --color-off-white: #FAF8F5;
  --color-cream: #F5F0E8;
  --color-warm-white: #FFFDF9;

  /* Accent Colors - Muted Watercolor Tones */
  --color-deep-blue: #7A9AAD;
  --color-muted-blue: #B8C9D4;
  --color-soft-green: #C5D4C0;
  --color-sage-green: #A8BFA3;
  --color-pale-pink: #F2E4E1;
  --color-dusty-rose: #D4B5B0;
  --color-warm-gray: #E8E4DF;
  --color-cool-gray: #D5D5D8;

  /* Text Colors */
  --color-text-primary: #2C3E50;
  --color-text-secondary: #5D6D7E;
  --color-text-muted: #95A5A6;

  /* Functional Colors */
  --color-success: #7FB069;
  --color-error: #D4726A;
  --color-warning: #E5B25D;
  --color-info: #7AABC9;

  /* Typography */
  --font-heading: 'Cormorant', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing (8px base grid) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-default: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-round: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(44, 62, 80, 0.05);
  --shadow-md: 0 4px 12px rgba(122, 154, 173, 0.1);
  --shadow-lg: 0 8px 20px rgba(122, 154, 173, 0.15);
  --shadow-hover: 0 12px 28px rgba(122, 154, 173, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;
}

/* ==========================================================================
   GLOBAL STYLES & BACKGROUNDS
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Watercolor Background Texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

/* Content wrapper for proper layering */
.site-content,
.entry-content,
main {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-top: 0;
}

h1, .wp-block-heading h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2, .wp-block-heading h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
}

h3, .wp-block-heading h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4, .wp-block-heading h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5, .wp-block-heading h5 {
  font-size: 1.125rem;
}

h6, .wp-block-heading h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-deep-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-muted-blue);
  text-decoration: underline;
}

/* Hero/Decorative Title Style */
.hero-title,
.page-title,
.entry-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-primary);
}

/* Subtitle/Tagline Style */
.subtitle,
.entry-subtitle {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}

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

.wp-block-button__link,
.button,
button,
input[type="submit"],
input[type="button"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-deep-blue);
  color: var(--color-warm-white) !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-default);
  cursor: pointer;
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal),
              background-color var(--transition-normal);
}

.wp-block-button__link:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background-color: #6B8A9D;
  color: var(--color-warm-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.wp-block-button__link:active,
.button:active {
  transform: translateY(0);
}

/* Secondary/Outline Button */
.wp-block-button.is-style-outline .wp-block-button__link,
.button-outline,
.button.alt {
  background-color: transparent;
  color: var(--color-deep-blue) !important;
  border: 2px solid var(--color-deep-blue);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.button-outline:hover {
  background-color: var(--color-deep-blue);
  color: var(--color-warm-white) !important;
}

/* Ghost Button */
.button-ghost {
  background-color: transparent;
  color: var(--color-text-primary) !important;
  border: 1px solid var(--color-warm-gray);
}

.button-ghost:hover {
  background-color: var(--color-cream);
  border-color: var(--color-muted-blue);
}

/* ==========================================================================
   CARDS & CONTAINERS
   ========================================================================== */

.card,
.product-card,
.wp-block-post,
.wp-block-group.is-style-card,
.woocommerce ul.products li.product {
  background: var(--color-warm-white);
  border: 1px solid rgba(232, 228, 223, 0.5);
  border-radius: var(--radius-default);
  padding: var(--space-lg);
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal);
}

.card:hover,
.product-card:hover,
.wp-block-post:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Card Image */
.card-image,
.wp-block-post-featured-image img,
.woocommerce ul.products li.product img {
  border-radius: var(--radius-xl);
  object-fit: cover;
}

/* Featured/Hero Cards */
.card-featured {
  background: linear-gradient(135deg, var(--color-muted-blue) 0%, var(--color-soft-green) 100%);
  color: var(--color-warm-white);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-header,
.main-navigation,
header.header {
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-warm-gray);
}

.main-navigation ul,
.primary-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a,
.primary-menu a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-sm) var(--space-md);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.main-navigation a:hover,
.primary-menu a:hover,
.main-navigation .current-menu-item a {
  color: var(--color-deep-blue);
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: var(--space-sm);
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-warm-white);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
  }

  .main-navigation.toggled ul {
    display: flex;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section,
.wp-block-cover.is-style-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  background: linear-gradient(135deg,
    rgba(184, 201, 212, 0.3) 0%,
    rgba(197, 212, 192, 0.3) 50%,
    rgba(242, 228, 225, 0.3) 100%
  );
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/background.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

/* ==========================================================================
   SECTIONS & LAYOUT
   ========================================================================== */

.section,
.wp-block-group {
  padding: var(--space-3xl) var(--space-lg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-cream,
.has-cream-background-color {
  background-color: var(--color-cream);
}

.container,
.wp-block-group__inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Grid Layouts */
.grid-2,
.wp-block-columns.has-2-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3,
.wp-block-columns.has-3-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3,
  .wp-block-columns.has-3-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4,
  .wp-block-columns.has-2-columns,
  .wp-block-columns.has-3-columns {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WOOCOMMERCE - SHOP & PRODUCTS
   ========================================================================== */

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.woocommerce ul.products li.product {
  margin: 0;
  padding: var(--space-md);
  text-align: center;
}

.woocommerce ul.products li.product a img {
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-md);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-primary);
  padding: 0;
  margin-bottom: var(--space-sm);
}

.woocommerce ul.products li.product .price {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-deep-blue);
  font-weight: 600;
}

/* Product Detail Page */
.woocommerce div.product div.images {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.woocommerce div.product .product_title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
}

.woocommerce div.product p.price {
  font-size: 1.5rem;
  color: var(--color-deep-blue);
}

/* Add to Cart Button */
.woocommerce .single_add_to_cart_button {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
}

/* ==========================================================================
   WOOCOMMERCE - CART & CHECKOUT
   ========================================================================== */

.woocommerce-cart-form,
.woocommerce-checkout {
  background: var(--color-warm-white);
  border-radius: var(--radius-default);
  padding: var(--space-xl);
}

.woocommerce table.shop_table {
  border: 1px solid var(--color-warm-gray);
  border-radius: var(--radius-default);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--color-warm-gray);
  padding: var(--space-md);
}

.woocommerce table.shop_table th {
  font-family: var(--font-heading);
  font-weight: 500;
  background: var(--color-cream);
}

/* Checkout Form Inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-warm-gray);
  border-radius: var(--radius-default);
  padding: var(--space-md);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--color-muted-blue);
  box-shadow: 0 0 0 3px rgba(184, 201, 212, 0.2);
  outline: none;
}

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

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: var(--space-md);
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-warm-gray);
  border-radius: var(--radius-default);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-muted-blue);
  box-shadow: 0 0 0 3px rgba(184, 201, 212, 0.2);
  outline: none;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

::placeholder {
  color: var(--color-text-muted);
}

/* ==========================================================================
   BLOG POSTS
   ========================================================================== */

.blog-post,
article.post {
  background: var(--color-warm-white);
  border-radius: var(--radius-default);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.blog-post .post-thumbnail,
article.post .post-thumbnail {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
}

.blog-post .entry-title,
article.post .entry-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.blog-post .entry-meta,
article.post .entry-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.blog-post .entry-content,
article.post .entry-content {
  padding: var(--space-lg);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
}

/* ==========================================================================
   CLASSES/EVENTS SECTION
   ========================================================================== */

.class-card {
  background: var(--color-warm-white);
  border: 1px solid rgba(232, 228, 223, 0.5);
  border-radius: var(--radius-default);
  padding: var(--space-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.class-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.class-date {
  display: inline-block;
  background: var(--color-pale-pink);
  color: var(--color-text-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-round);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.class-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.class-price {
  font-size: 1.25rem;
  color: var(--color-deep-blue);
  font-weight: 600;
}

.class-spots {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer,
footer.footer {
  background-color: var(--color-cream);
  padding: var(--space-3xl) var(--space-lg) var(--space-xl);
  margin-top: var(--space-3xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto var(--space-xl);
}

.footer-section h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--color-deep-blue);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-warm-white);
  border-radius: var(--radius-round);
  color: var(--color-deep-blue);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover {
  background: var(--color-deep-blue);
  color: var(--color-warm-white);
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-warm-gray);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Watercolor Wash Effect (decorative) */
.watercolor-wash {
  position: relative;
  overflow: hidden;
}

.watercolor-wash::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center,
    rgba(184, 201, 212, 0.1) 0%,
    rgba(197, 212, 192, 0.1) 25%,
    rgba(242, 228, 225, 0.1) 50%,
    transparent 70%
  );
  animation: washMove 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes washMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(5%, 5%) rotate(5deg); }
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }
.p-4 { padding: var(--space-xl); }

.bg-off-white { background-color: var(--color-off-white); }
.bg-cream { background-color: var(--color-cream); }
.bg-warm-white { background-color: var(--color-warm-white); }

.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-deep-blue { color: var(--color-deep-blue); }

.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

.rounded { border-radius: var(--radius-default); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

/* 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;
}

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

/* Tablet (900px) */
@media (max-width: 900px) {
  :root {
    --space-3xl: 48px;
  }

  .hero-section {
    min-height: 60vh;
    padding: var(--space-2xl) var(--space-md);
  }

  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (600px) */
@media (max-width: 600px) {
  :root {
    --space-3xl: 32px;
    --space-2xl: 24px;
  }

  body {
    font-size: 15px;
  }

  .hero-section {
    min-height: 50vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .woocommerce ul.products li.product {
    padding: var(--space-sm);
  }
}

/* Small Mobile (400px) */
@media (max-width: 400px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  body::before {
    display: none;
  }

  .site-header,
  .site-footer,
  .main-navigation {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
    color: black;
  }
}


/* ===========================================================================
 *    STICKY FOOTER FOR DIVI THEME BUILDER
 *    =========================================================================== */

#et-boc {
	  display: flex;
	  flex-direction: column;
	  min-height: 100vh;
}

#et_builder_outer_content {
	  display: flex;
	  flex-direction: column;
	  flex-grow: 1;
}

#main-content {
	  flex-grow: 1;
}

footer.et-l--footer {
	  margin-top: auto;
}
}
}
}
}