.elementor-kit-12{--e-global-color-primary:#3C2411;--e-global-color-secondary:#241203;--e-global-color-text:#241203;--e-global-color-accent:#EAB857;--e-global-color-5daae3fe:#FFF;--e-global-color-4464108:#C39359;--e-global-color-ad5de59:#7F3C34;--e-global-typography-primary-font-family:"Arvo";--e-global-typography-primary-font-size:39px;--e-global-typography-primary-font-weight:700;--e-global-typography-primary-text-transform:capitalize;--e-global-typography-primary-font-style:normal;--e-global-typography-primary-text-decoration:none;--e-global-typography-primary-line-height:1.1;--e-global-typography-primary-letter-spacing:0.8px;--e-global-typography-primary-word-spacing:0em;--e-global-typography-secondary-font-family:"Arvo";--e-global-typography-secondary-font-size:32px;--e-global-typography-secondary-font-weight:400;--e-global-typography-secondary-text-transform:capitalize;--e-global-typography-secondary-font-style:normal;--e-global-typography-secondary-text-decoration:none;--e-global-typography-secondary-line-height:1.1;--e-global-typography-secondary-letter-spacing:0px;--e-global-typography-secondary-word-spacing:0em;--e-global-typography-text-font-family:"Lato";--e-global-typography-text-font-size:18px;--e-global-typography-text-font-weight:400;--e-global-typography-text-text-transform:none;--e-global-typography-text-font-style:normal;--e-global-typography-text-text-decoration:none;--e-global-typography-text-line-height:1.5;--e-global-typography-text-letter-spacing:0px;--e-global-typography-text-word-spacing:0em;--e-global-typography-accent-font-family:"Lato";--e-global-typography-accent-font-size:18px;--e-global-typography-accent-font-weight:600;--e-global-typography-accent-text-transform:none;--e-global-typography-accent-text-decoration:none;--e-global-typography-accent-line-height:1.1;--e-global-typography-accent-letter-spacing:0px;--e-global-typography-accent-word-spacing:0em;background-color:var( --e-global-color-5daae3fe );}.elementor-kit-12 e-page-transition{background-color:#FFBC7D;}.elementor-kit-12 a{color:#D8AB72;}.elementor-kit-12 a:hover{color:#3D96BB;}.elementor-kit-12 button,.elementor-kit-12 input[type="button"],.elementor-kit-12 input[type="submit"],.elementor-kit-12 .elementor-button{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );text-transform:var( --e-global-typography-text-text-transform );font-style:var( --e-global-typography-text-font-style );text-decoration:var( --e-global-typography-text-text-decoration );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1100px;}.e-con{--container-max-width:1100px;--container-default-padding-top:90px;--container-default-padding-right:23px;--container-default-padding-bottom:90px;--container-default-padding-left:23px;}.elementor-widget:not(:last-child){--kit-widget-spacing:15px;}.elementor-element{--widgets-spacing:15px 15px;--widgets-spacing-row:15px;--widgets-spacing-column:15px;}{}.entry-post-title{display:var(--page-title-display);}.elementor-lightbox{background-color:#0C3258E8;--lightbox-header-icons-size:28px;--lightbox-navigation-icons-size:49px;}.site-header .header-inner{width:1700px;max-width:100%;}.site-header{padding-inline-end:4%;padding-inline-start:4%;}.site-header .site-branding .site-logo img{width:42px;max-width:42px;}.site-header .site-navigation ul.menu li a{color:var( --e-global-color-secondary );}.site-header .site-navigation-toggle .site-navigation-toggle-icon{color:var( --e-global-color-secondary );}.site-footer .footer-inner{width:1700px;max-width:100%;}.site-footer .copyright p{color:var( --e-global-color-text );}@media(max-width:1024px){.elementor-kit-12{--e-global-typography-primary-font-size:33px;--e-global-typography-primary-line-height:1.2;--e-global-typography-primary-letter-spacing:0px;--e-global-typography-primary-word-spacing:0em;--e-global-typography-secondary-font-size:27px;--e-global-typography-secondary-line-height:1.2em;--e-global-typography-text-font-size:17px;--e-global-typography-text-line-height:1.4em;--e-global-typography-accent-font-size:25px;--e-global-typography-accent-line-height:1em;}.elementor-kit-12 button,.elementor-kit-12 input[type="button"],.elementor-kit-12 input[type="submit"],.elementor-kit-12 .elementor-button{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}.site-header .site-branding .site-logo img{width:50px;max-width:50px;}}@media(max-width:767px){.elementor-kit-12{--e-global-typography-primary-font-size:30px;--e-global-typography-primary-line-height:1.15;--e-global-typography-primary-letter-spacing:0px;--e-global-typography-primary-word-spacing:0em;--e-global-typography-secondary-font-size:25px;--e-global-typography-secondary-line-height:1.2;--e-global-typography-secondary-letter-spacing:0px;--e-global-typography-text-font-size:17px;--e-global-typography-accent-font-size:23px;}.elementor-kit-12 button,.elementor-kit-12 input[type="button"],.elementor-kit-12 input[type="submit"],.elementor-kit-12 .elementor-button{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}.site-header .site-branding .site-logo img{width:40px;max-width:40px;}}/* Start custom CSS */.elementor-widget-text-editor ul {
    margin: 14px 0;
}

.elementor-widget-text-editor a {
    font-weight: 700;
}

.mare-foals-container {
    display: flex;
    gap: 20px;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.foal-row {
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    flex: 0 0 230px;
    gap: 1px;
font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
}

.foal-row:hover {
    background-color: #f0f0f0;
    transform: scale(1.02);
    box-shadow: 2px 2px 6px rgb(57 57 57 / 28%);
}

.foal-image {
    /* margin-bottom: 10px; */
}

.foal-image img {
    border-radius: 4px;
    transition: all 0.3s ease;
}

.foal-row:hover .foal-image img {
    filter: brightness(1.1);
}

.foal-name {
    font-size: 18px;
    font-weight: 500;
    /* margin-bottom: 5px; */
    line-height: 1.1;
}

.foal-name a {
    color: #3D96BB;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.foal-name a:hover {
    color: #000;
}

.foal-description {
    font-size: 14px;
    color: #555;
    /* margin-bottom: 10px; */
}

.foal-description p {
    margin: 0;
}

.foal-date {
    font-size: 15px;
    color: #777;
    font-style: italic;
    margin-top: 0px;
}

.mare-foals-heading {
    text-align: center;
    margin-bottom: 15px;
    display: block;
    width: 100%;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-secondary-font-weight);
    text-transform: var(--e-global-typography-secondary-text-transform);
    font-style: var(--e-global-typography-secondary-font-style);
    text-decoration: var(--e-global-typography-secondary-text-decoration);
    line-height: var(--e-global-typography-secondary-line-height);
    letter-spacing: var(--e-global-typography-secondary-letter-spacing);
    word-spacing: var(--e-global-typography-secondary-word-spacing);
}

.elementor-kit-12 .foal-lineage {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    border-top: 1px solid #ccc;
    padding-top: 5px;
    width: 100%;
}

@media (max-width: 768px) {
    .mare-foals-container {
        grid-template-columns: 1fr;
    }
}

.horse-lineage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background-color: #bbb;
}

.horse-lineage-item {
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    font-weight: 500;
    box-sizing: border-box;
    border: 0.5px solid #bbb;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 50px;
  -webkit-transition: all 0.3s ease; /* Safari and Chrome */
  -moz-transition: all 0.3s ease;    /* Firefox */
  -o-transition: all 0.3s ease;      /* Opera */
  transition: all 0.3s ease;         /* Standard */
}

.horse-lineage-item img {
    max-height: 140px;
  -webkit-transition: all 0.3s ease; /* Safari and Chrome */
  -moz-transition: all 0.3s ease;    /* Firefox */
  -o-transition: all 0.3s ease;      /* Opera */
  transition: all 0.3s ease;         /* Standard */
}

.horse-lineage-item img:hover {
    transform: scale(1.05);
}

.horse-item-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 5px;
}

.horse-lineage-grid:hover .horse-lineage-item {
}

.horse-lineage-grid:hover .horse-lineage-item:hover {
    filter: contrast(1.05);
    background: #f9f9f9;
    transform: scale(1.01);
    box-shadow: 0 0 15px #0000002b;
    z-index: 9999;
}

.horse-name {
    max-width: calc(100% - 70px);
}

.horse-lineage-item a {
    color: #3D96BB;
  -webkit-transition: all 0.3s ease; /* Safari and Chrome */
  -moz-transition: all 0.3s ease;    /* Firefox */
  -o-transition: all 0.3s ease;      /* Opera */
  transition: all 0.3s ease;         /* Standard */
}

.horse-lineage-item a:hover {
    color: #000;
}

/* Font sizes and backgrounds for columns */
.depth-0 {
    background-color: #f5f5f5;
    font-size: 19px;
    flex-direction: column;
}

.depth-1 {
    background-color: #eaeaea;
    font-size: 18px;
}

.depth-2 {
    background-color: #f5f5f5;
    font-size: 16px;
}

.depth-3 {
    background-color: #eaeaea;
    font-size: 14px;
}

.depth-0 {
    grid-column: 1;
    grid-row: span 8;
}

.depth-1 {
    grid-column: 2;
    grid-row: span 4;
}

.depth-2 {
    grid-column: 3;
    grid-row: span 2;
}

.depth-3 {
    grid-column: 4;
    grid-row: span 1;
}

/* Hide empty columns */
.horse-lineage-grid:not(:has(.depth-3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.horse-lineage-grid:not(:has(.depth-2)):not(:has(.depth-3)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.horse-lineage-grid:not(:has(.depth-1)):not(:has(.depth-2)):not(:has(.depth-3)) {
    grid-template-columns: 1fr;
}

.horse-icons {
    display: flex;
    gap: 2px;
}

.horse-icons i {
    width: 25px;
    height: 25px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #43336e;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
  -webkit-transition: all 0.3s ease; /* Safari and Chrome */
  -moz-transition: all 0.3s ease;    /* Firefox */
  -o-transition: all 0.3s ease;      /* Opera */
  transition: all 0.3s ease;         /* Standard */
}

.horse-icons i:hover {
    filter: brightness(1.4);
    transform: translatey(-2px);
}

.horse-link-icon {
    text-decoration: none;
}

.horse-name {
    /* margin-bottom: 5px; */
}

@media (max-width: 768px) {
    
.horse-lineage-item {
    min-height: 70px;
}

  
.depth-0 {
    font-size: 15px;
    line-height: 1;
}

.depth-1 {
    font-size: 15px;
    line-height: 1;}

.depth-2 {
    font-size: 15px;
    line-height: 1;}

.depth-3 {
    font-size: 13px;
    line-height: 1;}

.horse-name {
    max-width: 100%;
    font-size: 13px;
    order: 2;
}
.horse-icons {
    order: 1;
}

.horse-icons i {
    font-size: 11px;
    width: 20px;
    height: 20px;
}
}

@media (max-width: 508px) {
  .horse-lineage-item img {
    display: none;
  }
  
  
}

.price {
    color: #e92b2b;
    font-weight: 700;
}/* End custom CSS */