@media screen and (min-width:1500px) and (max-width:1899px){
    .single-horse-cnt .details-wrp {max-width: 60vw;}
}
@media screen and (min-width:1200px){
header .header-desktop .main-menu li.astm-search-menu{display:none;}
.about-section .about-content p {font-size: 24px;line-height: 34px;}
}
@media screen and (max-width:1499px){
    h1, .h1 {font-size: 70px;}
    h2, .h2 {font-size: 60px;}
    h3, .h3 {font-size: 34px;}

    header .header-desktop{column-gap: 80px;}
    header .nav-left,header .nav-right{margin-inline: 0;}

    .hero-section {padding: 300px 0 175px;min-height: 880px;}
    .hero-section .main-wrp h1 {max-width: 650px;}
    
    .type-lists {padding: 70px 0 42px;}
    
    .broodmares-header h1 strong {font-size: 70px;}

    .broodmares-section .broodmares-heading {margin-bottom: 30px;}

    .racing-stable .racing-heading h1 {font-size: 56px;}
    .about-section .about-content h1.h2{font-size: 56px;}

    .horse-gallery-section .owl-carousel .owl-nav {max-width: 80vw;}

    .single-horse-cnt .information-col-wrp {column-gap: 50px;}
    .single-horse-cnt .information-col-wrp .information-col p {border-radius: 30px;}
    .single-horse-cnt .details-wrp {max-width: 850px;}

    .entry-header {padding: 80px 0 30px;}
    .entry-content {padding: 20px 0;}
    .entry-content h2.wp-block-heading {font-size: 36px;}
    .entry-content h2.wp-block-heading{margin-top: 25px;}

    .racing-stable .count-wrp {margin-bottom: 50px;}
    .racing-stable .count-wrp .victory h2 {font-size: 110px;}

    .map-section .contact-card .content p {font-size: 22px;line-height: 40px;}

    .racing-stable:has(+ .about-section) .racing-heading {margin-bottom: 50px;}
    .about-section .img-wrp {margin-left: 40px;margin-bottom: 40px;}
    .about-section .row.lirc-wrp .img-wrp {margin-right: 40px;}
    .about-section .img-wrp img.sec-img {left: -40px;bottom: -40px;width: 400px;}
    .about-section .row.lirc-wrp .img-wrp img.sec-img {right: -40px;}
    .about-section .about-content h4 {font-size: 36px;}
    .about-section .video-container .play-button {width: 60px;height: 60px;}
    .about-section .about-content {margin-right: 20px;}
    .about-section .row.lirc-wrp .about-content {margin-left: 20px;}
    .about-count-section {padding: 30px 0 80px;}
    .about-count-section .about-count-wrp .about-count-item {padding: 40px 20px;}
    .about-audio-section .audio-cnt p {line-height: 38px;}
    .about-count-section .about-count-wrp .about-count-item h2 {font-size: 76px;margin-bottom: 20px;}
    .about-count-section .about-count-wrp .about-count-item p {padding: 10px;font-size: 16px;}
    .about-section .video-container {height: 420px;}
    .quote-section .quote-box blockquote p {font-size: 28px;line-height: 32px;}
}
@media screen and (max-width:1299px){
    h2, .h2 {font-size: 56px;}
    
    .type-lists .type-lists-wrp .main-wrp h3 {margin: 20px 0 25px;}

    .experience-section .main-wrp .experience-social {gap: 25px;}
    .experience-section .main-wrp .experience-social>a img {max-width: 32px;}
    
    footer {margin-top: 70px;}

    .racing-stable .count-wrp .victory h2 {font-size: 100px;}

    .racing-stable .racing-heading h1 {font-size: 52px;}
    .about-section .about-content h1.h2{font-size: 52px;}

    .horse-pagination {column-gap: 25px;}
    .horse-pagination .horse-prev, .horse-pagination .horse-next {padding: 24px;}
    .horse-pagination .horse-prev::before, .horse-pagination .horse-next::before {width: 9px;height: 14px;}
    .horse-pagination .page-count {font-size: 20px;}

    .contactform-section {padding-top: 50px;}

    .racing-stable .racing-card .racing-cnt .cnt {column-gap: 10px;}

    .about-section .row {margin-bottom: 50px;}
    .about-section .img-wrp img.sec-img {left: -30px;bottom: -30px;width: 350px;}
    .about-section .row.lirc-wrp .img-wrp img.sec-img {right: -30px;}
    .about-section .img-wrp {margin-left: 30px;margin-bottom: 30px;}
    .about-section .row.lirc-wrp .img-wrp {margin-right: 30px;}
    .about-section .about-content p {margin-bottom: 20px;}
    .about-audio-section {padding-bottom: 40px;}
    .about-audio-section .audio-cnt p {line-height: 36px;margin-bottom: 20px;}
    .audio-wrapper {margin-block: 20px;}
    .about-section .video-container .play-button {width: 55px;height: 55px;}
    .about-count-section .about-count-wrp .about-count-item h2 {font-size: 70px}
}
@media screen and (max-width:1279px){
    header .header-desktop {column-gap: 40px;}
}
@media screen and (max-width:1199px){

    h2, .h2 {font-size: 54px;}
    h3, .h3 {font-size: 28px;}
    h4, .h4 {font-size: 28px;}
    /* .gold-btn, .primary-btn {padding: 20px 22px;min-width: 200px;min-height: 62px;} */
    .container {max-width: 100%;padding: 0 30px;}
    .owl-carousel .owl-nav button {width: 40px;height: 40px;}


    header .header-desktop{display:none;}
    header .header-mobile{display:grid;}
    .mobile-search{position: relative;display: inline-block;}
    .mobile-search .search-box {display: none;position: absolute;bottom: -60px;left: 0;background: var(--Light-Gold);width: 220px;box-shadow: 0 5px 15px rgba(0,0,0,0.2);border-radius: 6px;z-index: 2;}
    .mobile-search.active .search-box{display:block;}
    .mobile-search .search-box{width:90vw;}
 
    .type-lists {padding: 60px 0 40px;}
    .type-lists .type-lists-wrp {column-gap: 25px;}
    .type-lists .type-lists-wrp .main-wrp {width: calc((100% - (25px * 2))/3);}

    .experience-section {padding-top: 40px;}

    footer {margin-top: 60px;}
    footer .footer-main {padding: 40px 0px;}
    footer .footer-logo img {height: 54px;}
    footer .footer-social img {max-width: 24px;}
    footer .footer-bottom .footer-bottom-wrp p, footer .footer-bottom .footer-bottom-wrp a {font-size: 16px;}
    footer ul.footer-menu {gap: 25px;}
    footer .footer-social {gap: 25px;}

    .racing-stable .racing-heading h1 {font-size: 46px;}
    .about-section .about-content h1.h2{font-size: 46px;}

    .racing-stable .racing-hours .racing-card {width: calc((100% - (30px * 2))/2);}
    
    .broodmares-section .broodmares-cards {gap: 25px;}
    .broodmares-section .broodmares-cards .broodmares-card{width: calc((100% - (25px * 2))/3);}
    .broodmares-section .broodmares-card .broodmares-cnt {padding: 25px 20px;}
    
    .broodmares-content a.primary-btn {min-width: 320px;min-height: 60px;margin-top: 50px;}
    .broodmares-content .col-md-12>p {font-size: 26px;line-height: 40px;}

    .horse-gallery-section .horse-gallery .item img {aspect-ratio: 1 / 0.5;}

    .single-horse-cnt {padding: 70px 0 20px;}
    .single-horse-cnt .information-col-wrp .information-col p {padding: 12px 16px;}
    .single-horse-cnt .information-col-wrp {column-gap: 30px;margin-bottom: 30px;}
    .single-horse-cnt .information-col-wrp .information-col span,.single-horse-cnt .information-col-wrp .information-col h3 {margin-bottom: 15px;}

    .entry-header {padding: 70px 0 30px;}
    .entry-content {padding: 20px 0;}
    .entry-content h2.wp-block-heading {font-size: 34px;}
    .entry-content h2.wp-block-heading{margin-top: 20px;}

    .racing-stable .racing-heading p {font-size: 26px;line-height: 40px;margin-bottom: 25px;}
    .racing-stable .count-wrp .victory h2 {font-size: 90px;}
    .racing-stable .count-wrp .victory {margin-bottom: 40px;}
    .racing-stable .count-wrp {margin-bottom: 40px;}

    .map-section .contact-content-wrp {column-gap: 20px;}
    .map-section .contact-content-wrp .contact-card {width: calc((100% - 20px)/2);}
    .map-section .contact-card .content p {font-size: 20px;line-height: 34px;}
    .map-section .contact-card .image img {height: 300px;}
    .map-section .contact-card .content {padding: 26px 20px;}

    /* .racing-stable .racing-card .racing-cnt .cnt p {padding: 12px 12px;font-size: 16px;} */
    .racing-stable .racing-card .racing-cnt .cnt p {font-size: 16px;}

    .racing-stable:has(+ .about-section) .racing-heading {margin-bottom: 40px;padding-bottom: 30px;}
    /* .about-section .img-wrp:has(> img:only-child) {height: auto;} */
    .about-section .row {margin-bottom: 30px;}
    .about-section .about-content {margin-right: 10px;}
    .about-section .row.lirc-wrp .about-content {margin-left: 10px;}
    .about-section .about-content p {margin-bottom: 16px;font-size: 18px;line-height: 28px;}
    .about-section .about-content h4 {font-size: 32px;}
    .about-section .img-wrp img.sec-img {width: 300px;}
    .about-section .video-container {height: 360px;}
    .about-section .row.lirc-wrp .video-container {height: 260px;}
    .about-section .video-container .play-button {width: 50px;height: 50px;}
    .about-audio-section .audio-cnt p {line-height: 32px;margin-bottom: 16px;font-size: 22px;}
    .about-audio-section .audio-cnt p span {line-height: 28px;}
    .audio-wrapper .icon-btn.playPause svg {width: 35px;height: 35px;}
    .about-count-section {padding: 0px 0 60px;}
    .about-count-section .about-count-wrp {gap: 25px;}
    .about-count-section .about-count-wrp .about-count-item {padding: 30px 15px;width: calc((100% - (25px * 2))/3);}
    .about-count-section .about-count-wrp .about-count-item h2 {font-size: 60px;}
    .about-count-section .about-count-wrp .about-count-item p {padding: 8px 6px;font-size: 14px;}
    .quote-section .quote-box blockquote {margin: 0 0 20px;}
    .quote-section .quote-box blockquote p {font-size: 24px;line-height: 32px;}
    .quote-section .quote-author {font-size: 18px;line-height: 20px;}

    /* .ctf .ctf-tweets {grid-template-columns: repeat(2,1fr);} */
    .ctf .ctf-tweets .ctf-item {width: calc((100% - (20px * 2))/2);}

}

@media screen and (max-width:991px){
    h1, .h1 {font-size: 60px;}
    h2, .h2 {font-size: 50px;}
    h3, .h3 {font-size: 32px;}
    /* .gold-btn, .primary-btn {min-height: 60px;} */

    /* header .header-shape,.broodmares-header .broodmares-shape {bottom: -14.38px;} */
    /* header .header-shape svg,.broodmares-header .broodmares-shape svg {height: 14.38px;} */

    .hero-section {padding: 200px 0 100px;min-height: 750px;}
    .hero-section .bg-img img {object-position: 40%;}
    .hero-section .main-wrp h1 {margin-bottom: 16px;}
    
    .type-lists {padding: 60px 0 40px;}
    .type-lists .type-lists-wrp {column-gap: 20px;}
    .type-lists .type-lists-wrp .main-wrp {width: calc((100% - 20px)/2);}
    .type-lists .type-lists-wrp .main-wrp h3 {margin: 20px 0 30px;}
    
    .experience-section .main-wrp {flex-direction: column;align-items: flex-start;}
    
    .footer-main{display:none;}
    .footer-mobile{display:block;}
    .footer-mobile-header button.footer-toggle {outline: none;background: url('../images/footer-icon.svg') no-repeat center;background-size: 16px;border: unset;font-size: 0;width: 40px;height: 40px;display: flex;justify-content: center;align-items: center;transform: rotate(180deg);transition: all 0.33s ease;}
    .footer-mobile-header:has(+ .footer-mobile-menu.active) button.footer-toggle {transform: rotate(0deg);}
    .footer-bottom{flex-direction:column;gap:10px;text-align:center;}
    .footer-mobile-nav li a {font-size: 18px;}

    .broodmares-header {padding: 75px 0 35px;}
    .broodmares-header h1 strong {font-size: 60px;}

    .broodmares-content .col-md-12>p {font-size: 24px;line-height: 38px;margin-bottom: 20px;}

    .broodmares-section {padding-top: 40px;}
    .broodmares-section .broodmares-cards {gap: 20px;}
    .broodmares-section .broodmares-cards .broodmares-card{width: calc((100% - (20px * 1))/2);}

    .post-thumbnail:has(+ .racing-stable) img,.post-thumbnail img {aspect-ratio: 1 / 0.5;}

    .racing-stable .racing-heading h1 {font-size: 40px;}
    .about-section .about-content h1.h2{font-size: 40px;}
    .racing-stable .racing-hours {gap: 20px;}
    .racing-stable .racing-hours .racing-card {width: calc((100% - (20px * 1))/2);}

    .horse-gallery-section .owl-carousel .owl-nav {max-width: 90vw;}

    .single-horse-cnt {padding: 60px 0 20px;}

    .entry-header {padding: 60px 0 30px;}
    .entry-content h2.wp-block-heading {font-size: 30px;}

    .racing-stable .count-wrp {padding-bottom: 0px;}
    .racing-stable .count-wrp .victory h2 {font-size: 80px;}
    .racing-stable .racing-heading p {font-size: 24px;line-height: 38px;margin-bottom: 20px;}

    .map-section .contact-card .image img {height: 240px;}
    .map-section .contact-card .content {padding: 20px 15px;}
    .contactform-section {padding-top: 40px;}

    .about-section .row,.about-section .row.lirc-wrp{flex-direction: column;}
    .about-section .row .col-md-6{width: 100%;}
    .about-section .about-content {margin-right: 0;margin-bottom: 30px;}
    .about-section .row.lirc-wrp .about-content{margin-left: 0;}
    .about-section .img-wrp {max-width: 75vw;margin-left: auto;}
    .about-section .img-wrp img.sec-img {width: 50vw;left: -10vw;}
    .about-section .row.lirc-wrp .img-wrp {margin-right: auto;}
    .about-section .row.lirc-wrp .img-wrp img.sec-img {right: -10vw;}
    .about-section .row.lirc-wrp .video-container {height: 320px;margin-bottom: 40px;}
    .about-audio-section {padding-bottom: 30px;}
    .about-section .img-wrp:has(> img:only-child) {max-width: 100%;}
    .about-count-section {padding: 0px 0 50px;}
    .about-count-section .about-count-wrp .about-count-item {width: calc((100% - (25px * 2))/2);}
    .quote-section {padding: 10px 0;}
    .quote-section .quote-box blockquote p {font-size: 20px;line-height: 26px;}
    .quote-section .quote-author {font-size: 16px;line-height: 18px;}
}

@media screen and (max-width: 782px) {
  .logged-in .site-header {top: 46px;}
  html #wpadminbar {position: fixed;}
}

@media screen and (max-width:767px){
    h1,.h1{font-size: 50px;}
    h2, .h2 {font-size: 38px;}
    .container {padding: 0 15px;}
    p{font-size: 18px;}
    .gold-btn, .primary-btn {min-height: 52px;padding: 12px 15px;}
    body {padding-top: 88px;}

    header {padding: 15px 0px;}
    /* header .header-shape,.broodmares-header .broodmares-shape {bottom: -10.38px;} */
    /* header .header-shape svg,.broodmares-header .broodmares-shape svg {height: 10.38px;} */
    header .header-logo img {height: 48px;}
    .header-mobile .mean-nav {padding: 100px 20px 30px;}
    .header-mobile .mean-nav ul li a {font-size: 20px;letter-spacing: 0.08em;}

    .hero-section {padding: 40px 0;min-height: 700px;align-items: flex-end;}
    .hero-section .main-wrp h1 {max-width: 249px;}
    .hero-section .main-wrp p {font-size: 20px;}
    .hero-section .main-wrp a.gold-btn {margin-top: 15px;}

    .type-lists {padding: 50px 0 30px;}
    .type-lists .type-lists-wrp {column-gap: 0;flex-direction: column;}
    .type-lists .type-lists-wrp .main-wrp {width: 100%;}
    .type-lists .type-lists-wrp .main-wrp h3 {margin: 15px 0 20px;font-weight: 400;}

    .experience-section {padding-top: 30px;}
    .experience-section .main-wrp {flex-direction: row;align-items: flex-end;position: relative;margin-top: 50px;}
    .experience-section .main-wrp .cnt-wrp {display: flex;flex-direction: column-reverse;}
    .experience-section .main-wrp .cnt-wrp h3 {margin-bottom: 0;font-weight: 400;font-size: 28px;}
    .experience-section .main-wrp .cnt-wrp a.more-link {position: absolute;top: -50px;right: 0;}
    .experience-section .main-wrp .experience-social {gap: 6px;}
    .experience-section .main-wrp .experience-social>a {padding: 5px;display: flex;align-items: center;justify-content: center;width: 100%;height: 100%;}
    .experience-section .main-wrp .experience-social>a img {min-width: 20px;max-width: 26px;}
    /* .experience-section .image-gallery li {border-radius: 16px;overflow: hidden;} */

    footer {margin-top: 50px;}
    .footer-mobile {padding: 50px 15px 40px;}
    .footer-mobile-top {position: relative;justify-content: flex-end;margin-bottom: 40px;}
    .footer-mobile-top .footer-logo {position: absolute;left: 50%;transform: translateX(-50%);}
    .back-to-top {width: 44px;height: 44px;font-size: 20px;}
    .footer-mobile-header button.footer-toggle {background-size: 14px;width: 30px;height: 30px;}
    .footer-mobile-header h3 {font-size: 20px;}
    .footer-mobile .mobile-social {margin-top: 10px;}
    footer .footer-social {gap: 20px;}
    footer .footer-bottom .footer-bottom-wrp {flex-wrap: wrap;justify-content: center;gap: 4px;}
    footer .footer-bottom .footer-bottom-wrp p, footer .footer-bottom .footer-bottom-wrp a {font-size: 12px;line-height: 100%;}
    footer .footer-bottom .footer-bottom-wrp p:first-child{font-weight: 600;}
    footer .footer-bottom .footer-bottom-wrp a{text-decoration: underline;text-underline-offset: 2px;}

    .broodmares-header {padding: 50px 0 30px;}
    .broodmares-header h1 strong {font-size: 40px;letter-spacing: 0;}
    .broodmares-header::before {height: 10px;}

    .post-thumbnail:has(+ .racing-stable) img,.post-thumbnail img {aspect-ratio: 1 / 1;}

    .broodmares-section {padding-top: 30px;}
    .broodmares-section .broodmares-cards {gap: 40px;}
    .broodmares-section .broodmares-cards .broodmares-card {width: 100%;}

    .broodmares-content .col-md-12>p {font-size: 22px;line-height: 140%;margin-bottom: 20px;}
    
    .racing-stable .racing-hours {gap: 15px;}
    .racing-stable .racing-heading h1 {font-size: 34px;}
    .about-section .about-content h1.h2 { font-size: 34px;}
    .racing-stable .racing-hours .racing-card {width: calc((100% - (15px * 1))/2);}
    .racing-stable .racing-card .racing-cnt {padding: 15px 15px 25px;}
    /* .racing-stable .racing-card .racing-cnt h4 {margin-bottom: 40px;font-size: 22px;} */
    .racing-stable .racing-card .racing-cnt h4 {margin-bottom: 20px;font-size: 22px;}
    /* .racing-stable .racing-card .racing-img img {height: 150px;} */
    .racing-stable .racing-card .racing-cnt .primary-btn {min-width: auto;padding: 12px;font-size: 16px;line-height: 110%;min-height: auto;}
    .racing-stable .racing-card .racing-cnt .racing-title img {object-fit: contain;max-width: 40px;}

    .horse-gallery-section .horse-gallery .item img {aspect-ratio: 1 / 1;}

    .single-horse-cnt {padding: 50px 0 20px;}
    .single-horse-cnt .information-col-wrp {column-gap: 0;margin-bottom: 30px;flex-direction: column;row-gap: 20px;}
    .single-horse-cnt .information-col-wrp .information-col p {font-size: 14px;}
    .single-horse-cnt .details-wrp {margin-top: 30px;}
    .single-horse-cnt .details-wrp dd {font-size: 18px;}
    .single-horse-cnt .details-wrp dd.tree img {padding: 0 22%;}
    .single-horse-cnt .full-bio p {margin-bottom: 20px;}
    .single-horse-cnt .information-col-wrp .information-col span,.single-horse-cnt .information-col-wrp .information-col h3 {margin-bottom: 10px;}

    .entry-content {padding: 10px 0 0;}
    .entry-content h2.wp-block-heading {font-size: 28px;margin-bottom: 12px;margin-top: 15px;}

    .racing-stable .count-wrp .victory {margin-bottom: 30px;}
    .racing-stable .count-wrp .victory h2 {font-size: 50px;}
    .racing-stable .count-wrp .race-earning h2 {font-size: 34px;}
    .racing-stable .count-wrp p {padding: 10px 8px;font-size: 14px;letter-spacing: 0.02em;}
    .racing-stable .racing-heading p {font-size: 22px;line-height: 34px;}

    .racing-stable .racing-heading {margin-bottom: 30px;}
    .racing-stable:has(+ .map-section) .racing-heading {padding-bottom: 30px;}
    .map-section .contact-content-wrp .contact-card{width: 100%;}
    .contactform-section .form-row {gap: 25px;margin-bottom: 25px;}
    .contactform-section .form-row .form-group.half-width {width: 100%;}
    .contactform-section .form-row .form-group input, .contactform-section .form-row .form-group textarea {padding: 14px 20px 13px;font-size: 16px;border-radius: 24px;}

    .racing-stable .racing-card .racing-cnt .sire-dam-wrp span, .racing-stable .racing-card .racing-cnt .achivement-wrp span {font-size: 16px;}
    /* .racing-stable .racing-card .racing-cnt .cnt p {padding: 10px 10px;font-size: 14px;border-radius: 20px;} */
    .racing-stable .racing-card .racing-cnt .cnt p {font-size: 14px;}
    .racing-stable .racing-card .racing-cnt .cnt {column-gap: 5px;}
    /* .racing-stable .racing-card .racing-cnt .achivement-wrp {margin-top: 30px;} */

    .racing-stable:has(+ .about-section) .racing-heading {margin-bottom: 30px;padding-bottom: 20px;}
    .about-section .about-content h4 {font-size: 28px;}
    .about-section .about-content p {line-height: 26px;}
    /* .about-section .img-wrp {margin-bottom: 40vw;max-width: 100%;} */
    /* .about-section .img-wrp img.sec-img {width: 75vw;left: 50%;right: 50%;transform: translateX(-50%);bottom: -40vw;} */
    .about-section .img-wrp {margin-bottom: 0;max-width: 100%;}
    .about-section .img-wrp img.sec-img {width: 75vw;position: unset;transform: unset;margin-inline: auto;margin-top: 20px;}
    .about-section .row.lirc-wrp .img-wrp img.sec-img {right: 50%;left: 50%;}
    .audio-wrapper {padding: 8px 15px;margin-bottom: 15px;}
    .audio-wrapper .progress-container {margin-inline: 0;}
    .audio-wrapper .time {font-size: 14px;min-width: 75px;}
    .audio-wrapper .icon-btn {padding: 0 5px;}
    .audio-wrapper .icon-btn.playPause svg {width: 30px;height: 30px;}
    .audio-wrapper .icon-btn svg {width: 16px;height: 16px;}
    .about-audio-section .audio-cnt p {line-height: 28px;margin-bottom: 16px;font-size: 20px;}
    .about-count-section .about-count-wrp .about-count-item {width: 100%;}
    .about-count-section {padding: 0px 0 40px;}

    /* .ctf .ctf-tweets {grid-template-columns: repeat(1,1fr);row-gap: 20px;} */
    .ctf .ctf-tweets .ctf-item {width: 100%;row-gap: 20px;}
}

@media screen and (max-width: 390px){
    .racing-stable .racing-card .racing-cnt .primary-btn {padding: 10px;font-size: 12px;}
}
@media screen and (max-width: 389px){
    .racing-stable .racing-hours .racing-card {width: 100%;}
}
@media screen and (max-width: 499px){
    div.is-ajax-search-result {max-width: 87.5vw !important;margin-inline: auto;left: 15px !important;}
}