/*
Theme Name: S2 Theme
Description: Test theme reproducing Fastly IO URL generation from Wish TV and Golf code. See PROVENANCE.md.
Version: 1.0.0
*/
body { font-family: sans-serif; max-width: 960px; margin: 0 auto; padding: 1rem; }
.bgimg { background-size: cover; min-height: 120px; }
/* Rules extracted from wishtv-2022-new-theme bundle.css (post grid) */
.top-stories-section .subpost { width: 100%; height: 163px; overflow: hidden; display: block; }
.top-stories-section .subpost .bgimg { height: 163px; width: 100%; -webkit-transform: scale(1); transform: scale(1); -webkit-transition: all 0.3s ease; transition: all 0.3s ease; }
.top-stories-section .subttl { font-size: 15px; font-weight: 600; color: #000000; margin: 5px 0 15px 0; display: block; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; max-height: 60px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 991px) {
  .top-stories-section .subttl { margin-bottom: 25px; }
}
.top-stories-section .subttl:hover { color: #9a0000; }
@media (max-width: 575px) {
  .top-stories-section .mob-view { margin-bottom: 20px; }
  .top-stories-section .mob-view .subpost { width: 200px; height: 150px; }
  .top-stories-section .mob-view .subpost .bgimg { height: 150px; }
  .top-stories-section .mob-view .subttl { width: calc(100% - 200px); padding-left: 15px; margin-bottom: 0; max-height: inherit; display: block; }
}
@media (max-width: 375px) {
  .top-stories-section .mob-view .subpost { width: 140px; height: 130px; }
  .top-stories-section .mob-view .subpost .bgimg { height: 130px; }
  .top-stories-section .mob-view .subttl { width: calc(100% - 140px); display: block; max-height: inherit; }
}
.top-stories-section a:hover .subttl { color: #9a0000; }
.top-stories-section a:hover .subpost .bgimg { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; -webkit-transform: scale(1.1); transform: scale(1.1); }
.top-stories-section a:hover .hover-box .bgimg { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; -webkit-transform: scale(1.1); transform: scale(1.1); }
.top-stories-section .bottom-post-row { margin-top: 30px; }
.top-stories-section .bottom-post-row .colbox { width: 20%; padding: 0 8px; }
@media (max-width: 1024px) {
  .top-stories-section .bottom-post-row .colbox { width: 50%; }
}
@media (max-width: 575px) {
  .top-stories-section .bottom-post-row .colbox { width: 100%; margin-bottom: 0; }
}
@media (max-width: 575px) {
  .top-stories-section .bottom-post-row .colbox:last-child { margin-bottom: 0; }
}
.slider-style-img-content .boxshadow-one:hover .bgimg { -webkit-transform: scale(1.1); transform: scale(1.1); }
.slider-style-img-content .postpic .bgimg { width: 100%; height: 100%; position: absolute; -webkit-transition: all 0.4s ease; transition: all 0.4s ease; -webkit-transform: scale(1); transform: scale(1); }
.as-seen-on-slider .right-box .carousel-img .bgimg { width: 100%; height: 163px; -webkit-transform: scale(1); transform: scale(1); -webkit-transition: all 0.4s ease; transition: all 0.4s ease; }
@media (max-width: 991px) {
  .as-seen-on-slider .right-box .carousel-img .bgimg { height: 220px; }
}
.as-seen-on-slider .right-box a:hover .bgimg { -webkit-transform: scale(1.1); transform: scale(1.1); -webkit-transition: all 0.4s ease; transition: all 0.4s ease; }
.five-column .postpic .bgimg { height: 150px; }
@media (max-width: 767px) {
  .five-column .postpic .bgimg { height: 250px; }
}
.four-column .postpic .bgimg { height: 170px; }
@media (max-width: 767px) {
  .four-column .postpic .bgimg { height: 250px; }
}
.bgimg { background-position: top center; background-repeat: no-repeat; background-size: cover; }
.bgimg { position: relative; }
.bgimg .fa-brands { display: none; }
.bgimg.post-has-video { position: relative; display: block; }
.bgimg.post-has-video .fa-brands { position: absolute; display: block; bottom: 0; right: 0; width: 40px; height: 25px; background-color: #002287; color: #ffffff; font-size: 25px; z-index: 999; cursor: pointer; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
.post-has-video { position: relative; display: block; }
.post-has-video:before { content: "\f04b"; font-family: "Font Awesome 6 Free"; position: absolute; bottom: 0; left: 0; z-index: 100; background: #002287; color: #fff; width: 40px; height: 25px; display: block; line-height: 25px; text-align: center; }
.videoicon { position: relative; }
.videoicon .fa-brands { display: none; }
.videoicon.post-has-video { position: relative; }
.videoicon.post-has-video .fa-brands { position: absolute; display: block; bottom: 0; left: 0; width: 40px; height: 25px; background-color: #002287; color: #ffffff; font-size: 22px; z-index: 999; cursor: pointer; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
.videoicon.post-has-video .fa-brands:before { content: "\f04b"; font-family: "Font Awesome 6 Free"; position: absolute; top: 0; left: 0; z-index: 100; background: #002287; color: #fff; width: 40px; height: 25px; display: block; line-height: 25px; text-align: center; }
.custom-video-block .bottom-post-row .colbox { width: 33.33%; }
@media (max-width: 991px) {
  .custom-video-block .bottom-post-row .colbox { width: 50%; }
}
@media (max-width: 575px) {
  .custom-video-block .bottom-post-row .colbox { width: 100%; margin-bottom: 0; text-align: center; }
}
@media (max-width: 575px) {
  .custom-video-block .bottom-post-row .colbox .mob-view { display: block !important; }
  .custom-video-block .bottom-post-row .colbox .mob-view .subttl { width: 100% !important; padding-left: 0; }
}
.custom-video-block .subpost { height: 200px; }
@media (max-width: 1024px) {
  .custom-video-block .subpost { height: 240px; }
}
@media (max-width: 575px) {
  .custom-video-block .subpost { width: 100% !important; height: 100% !important; }
}
.custom-video-block .subpost .bgimg { height: 200px; width: 100%; }
@media (max-width: 1024px) {
  .custom-video-block .subpost .bgimg { height: 240px; }
}
.custom-headline-block .headline-row .colbox { width: 33.33%; padding: 0 20px; margin-bottom: 30px; }
@media (max-width: 991px) {
  .custom-headline-block .headline-row .colbox { width: 50%; }
  .custom-headline-block .headline-row .colbox:nth-child(3n + 1) { width: 100%; margin-bottom: 30px; }
}
@media (max-width: 767px) {
  .custom-headline-block .headline-row .colbox { width: 100%; padding: 0; margin-bottom: 0; }
  .custom-headline-block .headline-row .colbox:nth-child(3n + 1) { width: 100%; margin-bottom: 5px; padding-bottom: 15px; border-bottom: 1px solid #000000; }
}
.custom-headline-block .headline-row .colbox .subpost { width: 100%; height: 350px; overflow: hidden; display: block; margin-bottom: 30px; }
@media (max-width: 991px) {
  .custom-headline-block .headline-row .colbox .subpost { margin-bottom: 10px; }
}
@media (max-width: 575px) {
  .custom-headline-block .headline-row .colbox .subpost { height: 280px; }
}
.custom-headline-block .headline-row .colbox .subpost .bgimg { height: 350px; width: 100%; -webkit-transform: scale(1); transform: scale(1); -webkit-transition: all .3s ease; transition: all .3s ease; }
@media (max-width: 575px) {
  .custom-headline-block .headline-row .colbox .subpost .bgimg { height: 280px; }
}
.custom-headline-block .headline-row .colbox .subttl { color: #000000; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; font-size: 22px; font-weight: 700; }
.custom-headline-block .headline-row .colbox .subttl:hover { color: #9a0000; }
.custom-headline-block .headline-row .colbox a:hover .subpost .bgimg { -webkit-transition: all .3s ease; transition: all .3s ease; -webkit-transform: scale(1.1); transform: scale(1.1); }
.custom-headline-block .headline-row .colbox .content { padding: 0; }
.custom-headline-block .headline-row .colbox .content ul { margin: 0; padding: 0; list-style-type: none; }
.custom-headline-block .headline-row .colbox .content ul li { font-size: 20px; color: #000000; font-weight: 600; padding: 15px 0; border-bottom: 1px solid #000000; margin-bottom: 0; }
.custom-headline-block .headline-row .colbox .content ul li:last-child { border: 0; }
@media (max-width: 767px) {
  .custom-headline-block .headline-row .colbox .content ul li:last-child { border-bottom: 1px solid #000000; }
}
.custom-headline-block .headline-row .colbox .content ul li:before, .custom-headline-block .headline-row .colbox .content ul li:after { display: none; }
.custom-headline-block .headline-row .colbox .content ul li a { color: #000000; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; height: 55px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.custom-headline-block .headline-row .colbox .content ul li a:hover { color: #9a0000; }
@media (max-width: 781px) {
  .custom-headline-block .headline-row .colbox .content ul li a { height: auto; }
}
@media (max-width: 575px) {
  .custom-video-block .mob-view .subpost .bgimg { height: 300px; }
}
@media (max-width: 375px) {
  .custom-video-block .mob-view .subpost .bgimg { height: 180px; }
}
.page-id-862990.page .top-stories-section .subttl { font-size: 15px; }
@media (max-width: 575px) {
  .static-slider-sction .static-row-section .static-slider .slick-slide .postpic .bgimg { height: 200px; }
}
.top-gallery-section .bottom-post-row { margin-top: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; padding: 0; width: 75% !important; }
@media (max-width: 1280px) {
  .top-gallery-section .bottom-post-row { width: 73% !important; }
}
@media (max-width: 1199px) {
  .top-gallery-section .bottom-post-row { width: 68% !important; }
}
@media (max-width: 1024px) {
  .top-gallery-section .bottom-post-row { width: 67% !important; }
}
@media (max-width: 991px) {
  .top-gallery-section .bottom-post-row { width: 100% !important; }
}
.top-gallery-section .bottom-post-row .colbox { width: 25%; padding: 0 8px; }
@media (max-width: 1024px) {
  .top-gallery-section .bottom-post-row .colbox { width: 50%; }
}
@media (max-width: 575px) {
  .top-gallery-section .bottom-post-row .colbox { width: 100%; margin-bottom: 0; }
}
@media (max-width: 575px) {
  .top-gallery-section .bottom-post-row .colbox:last-child { margin-bottom: 0; }
}
.top-gallery-section .home-top-stories.slick-slider .item a .subpost, .top-gallery-section .photo-gallery-slider.slick-slider .item a .subpost { height: 385px; }
@media (max-width: 575px) {
  .top-gallery-section .home-top-stories.slick-slider .item a .subpost, .top-gallery-section .photo-gallery-slider.slick-slider .item a .subpost { width: 100%; }
}
.top-gallery-section .home-top-stories.slick-slider .item a .subpost .bgimg, .top-gallery-section .photo-gallery-slider.slick-slider .item a .subpost .bgimg { height: 385px; }
.top-gallery-section .home-top-stories.slick-slider .item .slidettl, .top-gallery-section .home-top-stories.slick-slider .item .subttl, .top-gallery-section .photo-gallery-slider.slick-slider .item .slidettl, .top-gallery-section .photo-gallery-slider.slick-slider .item .subttl { font-size: 30px; color: #fff; bottom: 30px; position: absolute; padding: 0 20px 0 40px; z-index: 99; max-height: inherit; width: 100%; }
@media (max-width: 1024px) {
  .top-gallery-section .home-top-stories.slick-slider .item .slidettl, .top-gallery-section .home-top-stories.slick-slider .item .subttl, .top-gallery-section .photo-gallery-slider.slick-slider .item .slidettl, .top-gallery-section .photo-gallery-slider.slick-slider .item .subttl { font-size: 22px; padding: 0 20px 0 20px; }
}
.top-gallery-section .home-top-stories.slick-slider .item .slidettl:hover, .top-gallery-section .home-top-stories.slick-slider .item .subttl:hover, .top-gallery-section .photo-gallery-slider.slick-slider .item .slidettl:hover, .top-gallery-section .photo-gallery-slider.slick-slider .item .subttl:hover { text-decoration: underline; }
.one-foru-stories .full-stories .subpost { height: 390px; }
.one-foru-stories .full-stories .subpost .bgimg { height: 390px; }
@media (max-width: 991px) {
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox { width: 50%; }
}
@media (max-width: 575px) {
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox { width: 100%; }
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox .mob-view { margin-bottom: 20px; }
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox .mob-view .subpost { width: 200px; height: 150px; }
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox .mob-view .subpost .bgimg { height: 150px; }
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox .mob-view .subttl { width: calc(100% - 200px); padding-left: 15px; margin-bottom: 0; max-height: inherit; display: block; }
}
@media (max-width: 375px) {
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox { width: 100%; }
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox .mob-view { margin-bottom: 20px; }
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox .mob-view .subpost { width: 140px; height: 130px; }
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox .mob-view .subpost .bgimg { height: 140px; }
  .food-stories.top-stories-section .one-column-slider .tree-item .colbox .mob-view .subttl { width: calc(100% - 140px); padding-left: 15px; margin-bottom: 0; max-height: inherit; display: block; }
}
.food-stories.top-stories-section .one-column-slider .slick-slider .slick-slide .slide-post .bgimg { height: 390px; width: 100%; }
.food-stories.top-stories-section .one-column-slider .slick-slider .slick-slide .videoicon .bgimg { -webkit-transform: scale(1); transform: scale(1); -webkit-transition: all .3s ease; transition: all .3s ease; }
.food-stories.top-stories-section .one-column-slider .slick-slider .slick-slide .videoicon .bgimg:after { position: absolute; content: ""; bottom: 0; z-index: 9; background: black; background: -webkit-gradient(linear, left bottom, left top, from(black), color-stop(64%, rgba(0, 0, 0, 0))); background: linear-gradient(0deg, black 0%, rgba(0, 0, 0, 0) 64%); width: 100%; height: 100%; }
.food-stories.top-stories-section .one-column-slider .slick-slider .slick-slide .videoicon .bgimg:hover { -webkit-transition: all .3s ease; transition: all .3s ease; -webkit-transform: scale(1.1); transform: scale(1.1); }
.food-stories.top-gallery-section .bottom-post-row { margin-top: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; padding: 0; width: 75% !important; }
@media (max-width: 1280px) {
  .food-stories.top-gallery-section .bottom-post-row { width: 73% !important; }
}
@media (max-width: 1199px) {
  .food-stories.top-gallery-section .bottom-post-row { width: 68% !important; }
}
@media (max-width: 1024px) {
  .food-stories.top-gallery-section .bottom-post-row { width: 67% !important; }
}
@media (max-width: 991px) {
  .food-stories.top-gallery-section .bottom-post-row { width: 100% !important; }
}
.food-stories.top-gallery-section .bottom-post-row .colbox { width: 25%; padding: 0 8px; }
@media (max-width: 1024px) {
  .food-stories.top-gallery-section .bottom-post-row .colbox { width: 50%; }
}
@media (max-width: 575px) {
  .food-stories.top-gallery-section .bottom-post-row .colbox { width: 100%; margin-bottom: 0; }
}
@media (max-width: 575px) {
  .food-stories.top-gallery-section .bottom-post-row .colbox:last-child { margin-bottom: 0; }
}
/* Rules extracted from golf main.css (nav) */
.main-navigation__sub-menu .menu_latest_news,.main-navigation__sub-menu .feature_post {display:none !important}
@media screen and (min-width: 64em) {
  .main-navigation__sub-menu .menu_latest_news,.main-navigation__sub-menu .feature_post,.main-navigation__sub-menu .column1,.main-navigation__sub-menu .column2,.main-navigation__sub-menu .row1 {display:block !important}
  .main-navigation__sub-menu .menu_latest_news {max-width:275px}
  .main-navigation__sub-menu .menu_latest_news>a {position:relative;height:100px;white-space:initial !important;display:block;text-transform:none !important;margin:0}
  .main-navigation__sub-menu .menu_latest_news>a .menu_latest_news__thumb {left:0;overflow:hidden;height:75px;width:75px;position:relative;display:block;position:absolute}
  .main-navigation__sub-menu .menu_latest_news>a .menu_latest_news__thumb::before {display:block;content:"";width:100%;padding-top:56.25%}
  .main-navigation__sub-menu .menu_latest_news>a .menu_latest_news__thumb>.inner {position:absolute !important;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;top:0;left:0;bottom:0;right:0;height:100%;width:100%}
  .main-navigation__sub-menu .menu_latest_news>a .menu_latest_news__thumb>.inner-mobile-right {-o-object-position:right;object-position:right}
  .main-navigation__sub-menu .menu_latest_news>a .menu_latest_news__thumb>.inner-mobile-left {-o-object-position:left;object-position:left}
}
@media screen and (min-width: 64em)and (min-width: 39em) {
  .main-navigation__sub-menu .menu_latest_news>a .menu_latest_news__thumb>.inner-right {-o-object-position:right;object-position:right}
  .main-navigation__sub-menu .menu_latest_news>a .menu_latest_news__thumb>.inner-left {-o-object-position:left;object-position:left}
}
@media screen and (min-width: 64em) {
  .main-navigation__sub-menu .menu_latest_news>a .menu_latest_news__title {padding-left:90px;font-family:"StyreneA-Regular",helvetica,sans-serif;font-size:.8125rem;line-height:1.54;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;box-orient:vertical;-webkit-box-orient:vertical;overflow:hidden;max-height:62px;color:#333}
  .main-navigation__sub-menu .menu_latest_news>a.menu_latest_news__cta {height:-moz-fit-content;height:fit-content;color:#333}
  .main-navigation__sub-menu .menu_latest_news>a.menu_latest_news__cta:hover {border-bottom:1px solid #ffa300;width:-moz-fit-content;width:fit-content}
  .main-navigation__sub-menu .feature_post {max-width:375px}
  .main-navigation__sub-menu .feature_post--rewrite .feature_post__thumb {height:260px}
  .main-navigation__sub-menu .feature_post__item {white-space:initial !important;display:flex;flex-direction:column;position:relative;padding:0 !important;margin:0;text-transform:none !important}
  .main-navigation__sub-menu .feature_post__thumb {overflow:hidden;height:210px;position:relative;display:block}
  .main-navigation__sub-menu .feature_post__thumb::before {display:block;content:"";width:100%;padding-top:56.25%}
  .main-navigation__sub-menu .feature_post__thumb>.inner {position:absolute !important;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;top:0;left:0;bottom:0;right:0;height:100%;width:100%}
  .main-navigation__sub-menu .feature_post__thumb>.inner-mobile-right {-o-object-position:right;object-position:right}
  .main-navigation__sub-menu .feature_post__thumb>.inner-mobile-left {-o-object-position:left;object-position:left}
}
@media screen and (min-width: 64em)and (min-width: 39em) {
  .main-navigation__sub-menu .feature_post__thumb>.inner-right {-o-object-position:right;object-position:right}
  .main-navigation__sub-menu .feature_post__thumb>.inner-left {-o-object-position:left;object-position:left}
}
@media screen and (min-width: 64em) {
  .main-navigation__sub-menu .feature_post__category-flag {font-family:"StyreneA-Bold",helvetica,sans-serif;font-size:.625rem;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:.5px;color:#fff;text-transform:uppercase;text-decoration:none}
  .main-navigation__sub-menu .feature_post__category-flag span {border-bottom:1px solid;padding-bottom:2px;padding-top:10px;display:block;padding-left:10px;position:relative;text-shadow:1px 1px #000}
  .main-navigation__sub-menu .feature_post__title {font-size:20px;font-family:"SchnyderM-Bold",sans-serif;line-height:1.5;letter-spacing:.5px;margin-top:1rem;display:block}
}
