/**
 * Public styles for Client Plugin
 *
 * @package Client_Plugin
 */
 :root {
    --container-max-width: var(--ast-normal-container-width, 1200px);
    --container-half: calc(var(--container-max-width)  / 2);     /* 750px */
    --container-third: calc(var(--container-max-width) / 3);    /* 500px */
    --container-quarter: calc(var(--container-max-width) / 4);  /* 375px */
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

/* Archive Page Styles */
.aspca-plugin-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.archive-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.archive-description {
    font-size: 1.1em;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.example-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.example-item-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.item-thumbnail {
    overflow: hidden;
}

.item-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.example-item-card:hover .item-thumbnail img {
    transform: scale(1.05);
}

.item-content {
    padding: 20px;
}

.item-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-title a:hover {
    color: #0073aa;
}

.item-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.item-meta {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.meta-item {
    display: flex;
    margin-bottom: 5px;
}

.meta-label {
    font-weight: bold;
    color: #333;
    margin-right: 8px;
    min-width: 60px;
}

.meta-value {
    color: #666;
}

.item-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.read-more {
    display: inline-block;
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background: #005a87;
    color: #fff;
}

/* Single Page Styles */
.aspca-plugin-single-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.example-item-single .entry-header {
    text-align: center;
    margin-bottom: 30px;
}

.example-item-single .entry-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.example-item-single .entry-thumbnail {
    margin-bottom: 30px;
}

.example-item-single .entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.example-item-single .entry-content {
    line-height: 1.8;
    font-size: 1.1em;
    color: #333;
}

.example-item-meta {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.example-item-meta h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.example-item-categories {
    margin: 30px 0;
}

.example-item-categories h4 {
    margin-bottom: 10px;
    color: #333;
}

.category-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-list li a {
    display: inline-block;
    padding: 5px 12px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.category-list li a:hover {
    background: #005a87;
    color: #fff;
}

/* Navigation */
.entry-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.nav-previous,
.nav-next {
    flex: 1;
}

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

.nav-previous a,
.nav-next a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #005a87;
}

/* Shortcode Styles */
.aspca-plugin-shortcode {
    margin: 20px 0;
}

.shortcode-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Pagination */
.archive-pagination {
    text-align: center;
    margin-top: 40px;
}

.archive-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: #0073aa;
    color: #fff;
}

/* No Items Found */
.no-items-found {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-items-found h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .example-items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .archive-title {
        font-size: 2em;
    }
    
    .example-item-single .entry-title {
        font-size: 2em;
    }
    
    .entry-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .category-list {
        justify-content: center;
    }
}


/* Custom Text Size Classes for TinyMCE */
.big-text {
    font-size: 22px;
    font-weight: 400;
    line-height:34px;
    letter-spacing: 0.5px;
}

.small-text {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.5px;
}

/* Elementor Button Styles*/
.btn-icon q.elementor-button * {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.btn-icon .elementor-button .elementor-button-icon{
    display: none;
    transition: display 0.3s ease-in-out;
}

.btn-icon .elementor-button:hover .elementor-button-icon{
    display: flex;
}

/* Header */

#ast-desktop-header > div > div > div > div.ast-builder-grid-row{
    grid-column-gap: 0px !important;
}
.ast-desktop .ast-primary-header-bar.main-header-bar{
    padding-top: 0px;
    padding-bottom: 0px;
}

#ast-desktop-header > div > div > div > div > div.site-header-primary-section-center.site-header-section.ast-flex.ast-grid-section-center {
    background :url("../img/Rectangle 5.svg") no-repeat center center;
    background-size: cover;
    width: 275px;
    height: 72px;
}

#ast-desktop-header > div > div > div > div > div.site-header-primary-section-center.site-header-section.ast-flex.ast-grid-section-center > div > div > span > a > img   {
    width: 120px;
    /* height: 88px; */
}

/* Search Icon */
#ast-desktop-header > div > div > div > div > div.site-header-primary-section-right.site-header-section.ast-flex.ast-grid-right-section > div.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-search > div.ast-search-icon > a{
    background: #fff;
    width: 44px;
    height: 44px;
    padding: 12px 16px;
    border-radius: 24px;
}

#ast-desktop-header > div > div > div > div > div.site-header-primary-section-right.site-header-section.ast-flex.ast-grid-right-section > div.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-search > div.ast-search-icon > a:hover{
    background: var(--ast-global-color-3);
}
 
.astra-search-icon::before {
    font-weight: 800;
}

#ast-desktop-header > div > div > div > div > div.site-header-primary-section-right.site-header-section.ast-flex.ast-grid-right-section > div.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-search > div.ast-search-icon > a:hover .astra-search-icon::before{
    color: #fff;
}

.ast-search-box.full-screen{
    background: var(--ast-global-color-0) !important;
}

.menu-link{
    background-color: #fff;
    padding: 10px 18px;
    border-radius: 24px;
    height: 48px !important;
    margin-right: 4px;
}

.menu-link:hover{
    background-color: var(--ast-global-color-3) !important;
    color:var(--ast-global-color-0) !important;
}


/* HTML Editor Styles */
.elementor-widget-text-editor h1,
h1.wp-block-heading{
    margin-bottom: 24px !important;
}
.elementor-widget-text-editor h2,
h2.wp-block-heading{
    margin-bottom: 24px;
}
.elementor-widget-text-editor h3,
h3.wp-block-heading{
    margin-bottom: 18px;
}
.elementor-widget-text-editor h4,
h4.wp-block-heading{
    margin-bottom: 16px;
}
.elementor-widget-text-editor h5,
h5.wp-block-heading {
    margin-bottom: 16px;
}
.elementor-widget-text-editor h6,
h6.wp-block-heading {
    margin-bottom: 16px;
}

hr.wp-block-separator,
.elementor-widget-text-editor hr {
    border-top: 2px solid var(--ast-global-color-8);
    margin: 36px 0 !important;
    max-width: 100ch;
}
 .entry-content p,
.elementor-widget-text-editor p{
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100ch;
    line-height: 1.8;
}
.entry-content a,
.elementor-widget-text-editor a{
    font-weight: 700;
    text-decoration: underline !important;
}
.entry-content a:hover,
.elementor-widget-text-editor a:hover{
       color: var(--ast-global-color-3);
}

.entry-content blockquote,
.elementor-widget-text-editor blockquote{
  font-size: 1.2rem;
  width: 65%;
  margin:48px 48px 48px 96px;
  /* font-family:Open Sans; */
  font-style: italic;
  color:  var(--ast-global-color-0);
  padding:1.2em 30px 1.2em 75px;
  border-left:8px solid var(--ast-global-color-0) ;
  line-height:1.4;
  position: relative;
  background:var(--ast-global-color-4);
  max-width: 80ch;
}
.entry-content blockquote::before,
.elementor-widget-text-editor blockquote::before{
  content: "\201C";
  color:var(--ast-global-color-0);
  font-size:4em;
  position: absolute;
  left: 10px;
  top:-10px;
}
.entry-content blockquote::after,
.elementor-widget-text-editor blockquote::after{
  content: '';
}
.entry-content blockquote span,
.elementor-widget-text-editor blockquote span{
  display:block;
  color:var(--ast-global-color-0);
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

.entry-content dl,
.elementor-widget-text-editor dl{
    display: flex   ;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 16px;
}
.entry-content dt,
.elementor-widget-text-editor dt {
    font-weight: 700;
    min-width: 10%;
}   
.entry-content dd,
.elementor-widget-text-editor dd{
    margin-left: 16px;
    max-width: 80ch;
}

.entry-content ul,
.elementor-widget-text-editor ul {
    list-style-type: disc;
    margin: 24px 48px;
}

.entry-content ol,
.elementor-widget-text-editor ol {
    list-style-type: decimal;
    margin: 24px 48px;
}

.elementor-widget-text-editor ul li,
.elementor-widget-text-editor ol li{
    margin-bottom: 16px;
}

.elementor-widget-text-editor ul li ul,
.elementor-widget-text-editor ol li ul{
    margin: 16px 24px;
}

.entry-content table,
.elementor-widget-text-editor table {
    border-collapse: collapse;
    width: 100%;
}
  
.entry-content table td,
.elementor-widget-text-editor table td, .elementor-widget-text-editor table th {
    border: 1px solid var(--ast-global-color-0);
    padding: 8px;
}
  
.entry-content table tr:nth-child(even),
.elementor-widget-text-editor table tr:nth-child(even){background-color: var(--ast-global-color-1);}
  
.entry-content table tr:hover,
.elementor-widget-text-editor table tr:hover {background-color: var(--ast-global-color-0); color: var(--ast-global-color-8);}
  
.entry-content table th,
.elementor-widget-text-editor table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: var(--ast-global-color-0);
    color: white;
  }


.entry-content .truncate,
.elementor-widget-text-editor .truncate {
    text-overflow: ellipsis;
  
    /* Needed to make it work */
    overflow: hidden;
    white-space: nowrap;
  }

/* Logo Hover Effect */
.custom-logo-link .custom-logo {
    transition: opacity 0.3s ease;
}

.custom-logo-link:hover .custom-logo {
    content: url('https://aspca.hollerdigital.dev/wp-content/uploads/2025/08/ASPCA_LogoHover_Compressed.gif');
}

h1{
	line-height: 1em;
	letter-spacing: 0.5px;
}
img {
	border-radius: 20px !important;
}


.flip-misconception .elementor-flip-box__layer__description b{
    display: block !important;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 16px !important;
}

.flip-row .elementor-element-30d3f73, .flip-row .elementor-element-0818f3e, .flip-row .elementor-element-2df925a{
  transition:all 0.3s ease;
  min-width: 0; /* allows shrinking */
}

.flip-row .elementor-element-30d3f73:hover, .flip-row .elementor-element-0818f3e:hover, .flip-row .elementor-element-2df925a:hover {
  flex: 1.5; /* expands this box */
  transition: all 0.3s ease;
}

.elementor-element-91f6a30  > div{
	transition: flex 0.3s ease;
	min-width: 0; 
}

.elementor-element-91f6a30  > div:hover{
	flex: 1.5;  min-width: 0; 
}

/* #gform_fields_2 {
  display: grid;
  grid-template-columns: 60% 40% !important;
  gap: 10px;
	overflow: hidden;
	max-width: 100%;
} */

 


  .marquee .elementor-element  {
    --gap: 1rem;
    display: flex;
    width: 100%;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
  }

 
  .marquee .elementor-element .elementor-icon-list-items {
    flex-shrink: 0;
    max-width: fit-content;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: var(--gap);
    animation: scroll 30s linear infinite;
    animation-direction: reverse;   
  }
  
  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-100% - var(--gap)));
    }
  }
  
  /* Pause animation when reduced-motion is set */
  @media (prefers-reduced-motion: reduce) {
    .marquee .elementor-element .elementor-icon-list-items {
      animation-play-state: paused !important;
    }
  }
  
 

#gform_2 {}
#gform_fields_2 {
	row-gap: 10px
}
#field_2_2{
	order: 2;
}

#field_2_2 legend {
	display: none
}

#field_2_1{
}


/* Primary Content Area */
.content-area.primary{
	max-width: 1200px;
    padding: 200px 16px 200px 16px;
}

 

.hero-clip {
    clip-path: ellipse(100% 100% at 92% 0%);
    overflow: hidden;
}

.hero-clip::before {
    clip-path: ellipse(100% 105% at 8% 92%)
}


/*==========  Mobile First Method  ==========*/
.elementor .e-con.e-parent {
    /* padding: 0px; */
}
.hero-clip {
    clip-path: none;
}
.hero-clip::before {
    clip-path: ellipse(100% 100% at 0 100%);
    background-size: cover;
    width: 100%;
}

 /* small Devices, Tablets */
@media only screen and (min-width : 767px) {
    .elementor .e-con.e-parent {
        /* padding: 16px; */
    }
    
}

 

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1024px) {
    .elementor .e-con.e-parent {
        /* padding: 16px; */
    }
    .hero-clip {
        clip-path: ellipse(100% 100% at 92% 0%)!important;
        overflow: hidden;
    }
    
    .hero-clip::before {
        clip-path: ellipse(100% 105% at 8% 92%)!important;
    }
    

}

/*========== Layout Debugging ==========*/
/* Main Elementor Container */
.elementor {
    /* border: 10px solid black; */
}
/* Parent Container */
.elementor .e-con.e-parent {
    /* border: 2px solid green; */
    
}
/* Child Container */
.elementor .e-con.e-child {
    /* border: 2px solid red; */
}
/* Grid Container children */
.elementor .e-grid > .elementor-element{
    /* border: 2px solid blue; */
}

/* All Elementor elements  */
.elementor .elementor-element,
.elementor .e-grid > .elementor-element  .elementor-element {
    /* border: 1px dashed #ccc; */
}

.way-to-help-lotto::before,
.way-to-help-donate::before {
    opacity: 0;
    transform: scale(1);
    transition: all 0.3s ease;
    background-size: 110% 110%;
    background-position: center center;
}

.way-to-help-lotto .e-child,
.way-to-help-donate .e-child {
    opacity: 1;
    transition: all 0.3s ease;
}

.way-to-help-lotto,
.way-to-help-donate {
    overflow: hidden;
    transition: all 0.3s ease;
}

.way-to-help-lotto.hovered::before,
.way-to-help-donate.hovered::before {
    opacity: 1;
    background-size: 100% 100%;
}


.way-to-help-lotto.hovered .e-child,
.way-to-help-donate.hovered .e-child {
    opacity: 0;
}