/* ============================================
   Global Styles - Dog Refuge Website
   ============================================ */

/* ============================================
   CSS Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-white);
    overflow-x: hidden;
}



button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-base);
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: var(--fs-6xl);
}

h2 {
    font-size: var(--fs-5xl);
}

h3 {
    font-size: var(--fs-3xl);
}

h4 {
    font-size: var(--fs-2xl);
}

h5 {
    font-size: var(--fs-xlarge);
}

h6 {
    font-size: var(--fs-large);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}


/* ============================================
   Images
   ============================================ */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Lists
   ============================================ */

ul, ol {
  list-style: none;
}

li {
  list-style: none;
}


/* Rich text lists (scoped, so components aren't affected) */
:where(.entry-content, .page-content, .rich-text, .tip-summary, .wishlist-description) ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 var(--spacing-lg);
}
:where(.entry-content, .page-content, .rich-text, .tip-summary, .wishlist-description) ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0 0 var(--spacing-lg);
}
:where(.entry-content, .page-content, .rich-text, .tip-summary, .wishlist-description) li {
  list-style: inherit; /* override global li{list-style:none} */
  margin: 0 0 var(--spacing-sm);
}
:where(.entry-content, .page-content, .rich-text, .tip-summary, .wishlist-description) li::marker {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}
/* Nested */
:where(.entry-content, .page-content, .rich-text, .tip-summary, .wishlist-description) ul ul { list-style: circle; margin-top: var(--spacing-sm); }
:where(.entry-content, .page-content, .rich-text, .tip-summary, .wishlist-description) ul ul ul { list-style: square; }
:where(.entry-content, .page-content, .rich-text, .tip-summary, .wishlist-description) ol ol { list-style: lower-alpha; margin-top: var(--spacing-sm); }
:where(.entry-content, .page-content, .rich-text, .tip-summary, .wishlist-description) ol ol ol { list-style: lower-roman; }

/* ============================================
   Buttons
   ============================================ */

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: var(--fs-base);
    font-weight: 600;
    text-align: center;
    border-radius: var(--button-radius);
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: var(--fs-medium);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
  width: var(--container-full);
  max-width: var(--container-full);
  margin: 0 auto;
  padding: 0 ;
}

.container-wide {
  max-width: var(--container-2xl);
}

.container-narrow {
  max-width: var(--container-lg);
}

/* ============================================
   Section
   ============================================ */

.section {
  /*padding: var(--section-padding-y) 0;*/
}

.section-alt {
  background-color: var(--color-background-alt);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-3xl);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   Grid System
   ============================================ */

.grid {
  display: grid;
  gap: var(--grid-gap);
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   Flexbox Utilities
   ============================================ */

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* ============================================
   Text Utilities
   ============================================ */

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

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

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

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

.text-light {
  color: var(--color-text-light);
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

/* ============================================
   Spacing Utilities
   ============================================ */

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }

/* ============================================
   Cards
   ============================================ */

.card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
}

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

/* ============================================
   Responsive Typography
   ============================================ */

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: var(--font-size-4xl);
  }
  
  h2 {
    font-size: var(--font-size-3xl);
  }
  
  h3 {
    font-size: var(--font-size-2xl);
  }
  
  .section {
    padding: var(--section-padding-y-mobile) 0;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
}

/* ============================================
   Responsive Grid
   ============================================ */

@media (max-width: 1024px) {
      :root {
        --fs-6xl: 3.5rem;
        --fs-5xl: 3rem;
        --fs-4xl: 2.5rem;
        --fs-3xl: 2rem;
    }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
    :root {
        --fs-6xl: 2.5rem;
        --fs-5xl: 2rem;
        --fs-4xl: 1.75rem;
        --fs-3xl: 1.5rem;
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem;
    }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .grid {
    gap: var(--grid-gap-sm);
  }
}



@media (max-width: 480px) {
    :root {
        --fs-6xl: 2rem;
        --fs-5xl: 1.75rem;
        --fs-4xl: 1.5rem;
        --fs-3xl: 1.25rem;
        --container-padding: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: var(--fs-small);
    }
    
    .btn-large {
        padding: 0.875rem 2rem;
        font-size: var(--fs-base);
    }
}

/* ============================================
   Accessibility
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}


/* ============================================
   special section
   ============================================ */

section#shortcode-plugin_cta.shortcode-section {
    padding: 0;
}

section#shortcode-plugin_share_buttons.shortcode-section {
    padding: 0;
}

.breadcrumb-section {
    padding-top: calc(var(--header-height) + 20px);
}

.breadcrumb-section .breadcrumb  .breadcrumb-separator{
    padding: 0 3px;
}

/* ============================================
   Tip Single Overrides
   ============================================ */

.tip-single .tip-image {
  height: auto;
}

.tip-single .tip-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
}

.tip-single .tip-item:hover .tip-image img {
  transform: none;
}


/* ============================================
   dividers
   ============================================ */


@media (min-width: 1500px) {

#shortcode-theme_shape_divider_shape_1771862189 { height: 120px !important; margin-bottom: -84px !important; margin-top: 0 !important;}
#lubinik-shape-divider-shape_1771862189 { height: 120px !important; margin-bottom: 0px !important; }
#shortcode-theme_shape_divider_shape_1771862189 svg { height: 120px; width: 100%; overflow-x: hidden; }
  
#shortcode-theme_shape_divider_shape_1765987082 { height: 120px !important; margin-top: -10px !important;}
#lubinik-shape-divider-shape_1765987082 { height: 120px !important; margin-top: 0px !important; }
#shortcode-theme_shape_divider_shape_1765987082 svg { height: 120px; width: 100%; overflow-x: hidden; }

}


@media (min-width: 1080px) {

#shortcode-theme_shape_divider_shape_1771862189 { height: 120px !important; margin-bottom: -1px !important; margin-top: 0 !important;}
#lubinik-shape-divider-shape_1771862189 { height: 120px !important; margin-bottom: 0px !important; }
#shortcode-theme_shape_divider_shape_1771862189 svg { height: 120px; width: 100%; overflow-x: hidden; }

#shortcode-theme_shape_divider_shape_1765987082 { height: 120px !important; margin-top: -10px !important;}
#lubinik-shape-divider-shape_1765987082 { height: 120px !important; margin-top: 0px !important; }
#shortcode-theme_shape_divider_shape_1765987082 svg { height: 120px; width: 100%; overflow-x: hidden; }
  

}


@media (max-width: 780px) {

#shortcode-theme_shape_divider_shape_1765987082 { height: 80px !important; margin-bottom: 10px !important;}
#lubinik-shape-divider-shape_1765987082 { height: 80px !important; margin-bottom: 0px !important; }
#shortcode-theme_shape_divider_shape_1765987082 svg { height: 80px; width: 100%; overflow-x: hidden; }


#shortcode-theme_shape_divider_shape_1765987101 { height: 80px !important; margin-top: -10px !important;}
#lubinik-shape-divider-shape_1765987101 { height: 80px !important; margin-top: 0px !important; }
#shortcode-theme_shape_divider_shape_1765987101 svg { height: 80px; width: 100%; overflow-x: hidden; }

#shortcode-theme_shape_divider_shape_1765986787 { height: 80px !important; margin-bottom: -23px !important; margin-top: 84px !important;}
#lubinik-shape-divider-shape_1765986787 { height: 80px !important; margin-bottom: 0px !important; }
#shortcode-theme_shape_divider_shape_1765986787 svg { height: 80px; width: 100%; overflow-x: hidden; }

#shortcode-theme_shape_divider_shape_1765986731 { height: 100px !important; margin-top: 72px !important;}
#lubinik-shape-divider-shape_1765986731 { height: 100px !important; margin-top: -94px !important; }
#shortcode-theme_shape_divider_shape_1765986731 svg { height: 50px; width: 100%; overflow-x: hidden; }


#shortcode-theme_shape_divider_shape_1771862189 { height: 80px !important; margin-bottom: -21px !important;}
#lubinik-shape-divider-shape_1771862189 { height: 80px !important; margin-bottom: 0px !important; }
#shortcode-theme_shape_divider_shape_1771862189 svg { height: 80px; width: 100%; overflow-x: hidden; }

#shortcode-theme_shape_divider_shape_1771862036 { height: 80px !important; margin-bottom: -23px !important; margin-top: 84px !important;}
#lubinik-shape-divider-shape_1771862036 { height: 80px !important; margin-bottom: 0px !important; }
#shortcode-theme_shape_divider_shape_1771862036 svg { height: 80px; width: 100%; overflow-x: hidden; }

#shortcode-theme_shape_divider_shape_1771862067 { height: 100px !important; margin-top: 72px !important;}
#lubinik-shape-divider-shape_1771862067 { height: 100px !important; margin-top: -94px !important; }
#shortcode-theme_shape_divider_shape_1771862067 svg { height: 50px; width: 100%; overflow-x: hidden; }

#shortcode-theme_shape_divider_shape_1771862259 { height: 100px !important; margin-top: 72px !important;}
#lubinik-shape-divider-shape_1771862259 { height: 100px !important; margin-top: -94px !important; }
#shortcode-theme_shape_divider_shape_1771862259 svg { height: 50px; width: 100%; overflow-x: hidden; }

}

/* ============================================
   404
   ============================================ */

.error-404 {
	text-align: center;
	padding: 4rem 0;
	background-color: var(--color-background);
	color: var(--color-white);
}

.error-404 p {
	color: var(--color-primary);
}

.error-404 a {
	color: var(--color-white);
  background-color : var(--color-primary);
  padding : var(--spacing-sm) var(--spacing-md);
  border-radius: var(--card-radius);
}




#shortcode-lubinik_theme_breadcrumbs .shortcode-container {
	width: var(--container-full);
	max-width: var(--container-full);
	margin: 0 auto;
	padding: var(--spacing-md) var(--spacing-4xl) ;

}

@media (max-width: 480px) {

#shortcode-lubinik_theme_breadcrumbs .shortcode-container {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: var(--spacing-2xl) var(--spacing-xl) ;

}

}


/* Section Title */
.section-title {
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-top: var(--spacing-5xl);
  margin-bottom: var(--spacing-5xl);
  font-family: var(--font-heading);
  position: relative;
  display: inline-block;
}

.section-header {
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: calc(var(--spacing-md) * -1);
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary-dark));
  border-radius: var(--radius-md);
}


