/* 
Theme Name: Wyvern
Theme URI: http://ko.samaristudios.com/
Description: Child theme of Peapod Design's Kingswood Oxford 
Theme Author: Samari Studios [modifying Theme by Peapod Design] 
Author URI: http://samaristudios.com/ 
Template: Kingswood Oxford
Version: 0.2.0 
License: Unlicensed 
Text Domain: ssllc_ko 
*/
/* Override Archivo headers from weight 400 to weight 100 */
h1, h2, h3, h4, h5, h6,
.main-header, .header, .sub-header, .text-header,
.title, .name {
    font-family: 'Archivo', sans-serif;
    font-weight: 100 !important;
}

/* Mini image slider header - serif font */
.mini-image-slider-header {
    font-family: 'Libre Baskerville', Georgia, serif !important;
}

/* 12-27 */
 @media only screen and (min-width: 601px) {
     .peapod-stripper .iframe-responsive-tall {
         position: static !important;
         overflow-wrap: normal !important;
         overflow-x: visible !important;
         overflow-y: visible !important;
         padding-bottom: 0px !important;
         height: auto !important;
         max-width: none !important;
    }
}
 @media only screen and (max-width: 600px) {
     .peapod-stripper .iframe-responsive-tall {
         position: static !important;
         overflow-wrap: normal !important;
         overflow-x: visible !important;
         overflow-y: visible !important;
         padding-bottom: 0px !important;
         height: default !important;
         max-width: none !important;
    }
}
 nav.quadmenu-custom_theme_2 {
     padding-top:0;
}
 nav.quadmenu-default_theme {
     padding-top:0;
}
 #sectionmenucontainer {
     border-bottom: 1px solid #979899;
     margin-bottom: 2em;
}
 #quadmenu .quadmenu-navbar-nav .quadmenu-dropdown-menu .quadmenu-title {
     text-transform: none;
     font-weight: 300;
}
 #quadmenu.quadmenu-default_theme .quadmenu-navbar-nav .quadmenu-dropdown-menu .quadmenu-title {
     font-size:1.2em;
     border-color: #68ace5;
     border-width: 0 0 1px 0 
}
 #quadmenu .widget.widget_text p {
     font-family: Libre Baskerville,serif;
     font-size:3em;
}
 #quadmenu.quadmenu-default_theme .quadmenu-navbar-nav .quadmenu-dropdown-menu li.quadmenu-item-type-button > a > .quadmenu-item-content {
     background-color:#68ace5;
}
 .quadmenu-item-widget.widget.widget_media_image img {
     vertical-align: bottom;
}
 #masthead {
     padding-right: 0;
     padding-bottom: 0;
     padding-top: 10px;
}
 img#main-logo {
     height: 80px;
}
 nav.nav #quadmenu {
     padding-right: 20px;
}
 #quadmenu.quadmenu-is-horizontal .quadmenu-navbar-nav li.quadmenu-item>.quadmenu-dropdown-menu {
     position: fixed;
     top: 95px;
     width: 796px;
     right: 0px !important;
     margin-left: auto;
}
 #quadmenu.quadmenu-custom_theme_2 {
     z-index: 3;
}
 #quadmenu.quadmenu-default_theme {
     z-index:99999;
}
 nav {
     padding-top: 0;
}
 #quadmenu .widget ul ul li:first-child {
     border-top-style: none;
}
 .top-menus-wrap {
     z-index: 99999999;
}
 #quadmenu.quadmenu-custom_theme_3 .widget ul li a:hover {
    color: #73111d;
}
 #quadmenu.quadmenu-custom_theme_3 .widget ul li {
     border-bottom-style: solid;
     border-bottom-color: #73111d;
     border-bottom-width: 1px;
     padding-bottom: 1em;
     break-inside: avoid;
}
 #quadmenu.quadmenu-custom_theme_3 .widget ul li:last-child {
     border-bottom-style: solid;
     border-bottom-color: #73111d;
     border-bottom-width: 1px;
     padding-bottom: 1em;
     break-inside: avoid;
}
 #quadmenu.quadmenu-custom_theme_3 .widget ul {
     columns: 2;
     -webkit-columns: 2;
     -moz-columns: 2;
}
 #quadmenu.quadmenu-custom_theme_3 .widget ul li ul {
     columns: 1;
     -webkit-columns: 1;
     -moz-columns: 1;
}
 #quadmenu.quadmenu-custom_theme_3 .widget ul li ul li {
     border-bottom-style: none;
     break-inside: avoid;
     margin-bottom: 0;
}
 #quadmenu.quadmenu-custom_theme_3 .widget ul li ul li:last-child {
     border-bottom-style: none;
     break-inside: avoid;
     margin-bottom: 0;
}
 @media only screen and (max-width: 1000px) {
     #quadmenu.quadmenu-custom_theme_3 .quadmenu-container,#quadmenu.quadmenu-custom_theme_3 .quadmenu-navbar-nav {
         position: fixed !important;
         top:1.5em;
         right:0;
    }
     #quadmenu.quadmenu-custom_theme_3 {
         background-color:transparent;
    }
     #masthead .menus-wrap {
         display: flex !important;
    }
     #masthead {
         padding: 60px;
         .mobile-toggle {
             display: flex !important;
        }
         .menus-wrap {
             display: flex !important;
        }
    }
     img#main-logo {
         margin-top: 1.1em;
    }
     .top-menus-wrap {
         height: 1.5em;
         width: 100%;
         background-color: black;
         top: 0px;
         left: 0px;
         position: absolute;
    }
}
 #masthead .menus-wrap .top-menus-wrap .menu-top-container .menu li.login {
     display: none;
}
 .button-block .inner .btn-wrap:nth-of-type(6) .round-btn {
     background-color: #68ace5;
}
 section.staff-directory {
     margin-top: 0px;
}
 .single-team-main .content-switch-wrapper #schedule-wrap .schedule .schedule-list li.header-row .title {
     width: 20%;
}
 .single-team-main .content-switch-wrapper #schedule-wrap .schedule .schedule-list li:not(.header-row) .title {
     width: 20%;
}
 .single-team-main .content-switch-wrapper #schedule-wrap .schedule .schedule-list li.header-row .location {
     width: 125px;
}
 .single-team-main .content-switch-wrapper #schedule-wrap .schedule .schedule-list li:not(.header-row) .location {
     width: 125px;
}
 .single-team-main .content-switch-wrapper #schedule-wrap .schedule .schedule-list li.header-row .resultrow {
     width: 125px;
}
 .single-team-main .content-switch-wrapper #schedule-wrap .schedule .schedule-list li:not(.header-row) .resultrow {
     width: 125px;
}
 .eo-venue-map {
     z-index: 1 !important;
}
 .athletic-teams .inner .team-tabs-wrapper .team-tab:first-of-type {
     background-color: #979899;
}
 .athletic-teams .inner .team-tabs-wrapper .team-tab:nth-of-type(2) {
     background-color: #68ace5;
}
 .athletic-teams .inner .team-tabs-wrapper .team-tab:nth-of-type(3) {
     background-color: #73111d;
}
 .team-tab.active-tab {
     border-style: solid;
     border-color: black;
     border-width: 5px;
}
 .athletic-teams .inner .team-tabs-wrapper .team-tab:active, .athletic-teams .inner .team-tabs-wrapper .team-tab:focus {
     color: white;
}
 .athletic-teams .inner .team-tabs-wrapper .team-tab:hover {
     color: black;
}
 section.calendar-grid {
     margin-top: 0px;
}
 .page-id-3923 .button-bar {
     margin-top: 0px;
     padding-top: 0px;
     margin-bottom: 0px;
     padding-bottom: 0px;
}
 .issuuembed.issuu-isrendered {
     width: 100% !important;
}
 @media screen and (max-width: 782px) and (min-width: 715px) {
     html {
         margin-top: 0px !important;
    }
}
 media screen and (max-width: 600px) {
}
 @media screen and (max-width: 782px) {
     body.admin-bar #quadmenu.quadmenu-is-horizontal .quadmenu-navbar-nav li.quadmenu-item>.quadmenu-dropdown-menu {
         top: 141px;
    }
}
 body.admin-bar #quadmenu.quadmenu-is-horizontal .quadmenu-navbar-nav li.quadmenu-item>.quadmenu-dropdown-menu {
     top: 125px;
}
 @media screen and (max-width: 600px) {
     body.admin-bar #quadmenu.quadmenu-custom_theme_3 .quadmenu-container,#quadmenu.quadmenu-custom_theme_3 .quadmenu-navbar-nav {
         top: 1.5em !important;
    }
     body.admin-bar #masthead {
         top: 0 !important;
    }
}
 @media screen and (max-width: 782px) {
     body.admin-bar #quadmenu.quadmenu-custom_theme_3 .quadmenu-container,#quadmenu.quadmenu-custom_theme_3 .quadmenu-navbar-nav {
         top: calc(3em + 46px);
    }
     body.admin-bar #masthead {
         top: 46px !important;
    }
}
 @media screen and (max-width: 1000px) {
     body.admin-bar #quadmenu.quadmenu-custom_theme_3 .quadmenu-container,#quadmenu.quadmenu-custom_theme_3 .quadmenu-navbar-nav {
         top: calc(3em + 46px);
    }
    #wp-admin-bar-updates, #wp-admin-bar-gform-forms {
        display: none;
    }

}
 body.admin-bar #quadmenu.quadmenu-custom_theme_3 .quadmenu-container,#quadmenu.quadmenu-custom_theme_3 .quadmenu-navbar-nav {
}
 body.admin-bar #masthead {
     top: 32px;
}
 #wp-admin-bar-wpengine_adminbar, #wp-admin-bar-quadmenu_options {
     display:none;
}

    @media screen and (max-width: 782px) {
        html {
            margin-top: 0px !important;
        }
    }

@media screen and (max-width: 782px)  {
    body.admin-bar #masthead {
        top: 0px !important;
    }

    #masthead .menus-wrap .top-menus-wrap .menu-top-container .menu li a {
        font-size: 10px;
    }
}

















:root {
  /*
  --swiper-pagination-color: var(--swiper-theme-color);
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-inactive-color: #000;
  --swiper-pagination-bullet-inactive-opacity: 0.2;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-horizontal-gap: 4px;
  --swiper-pagination-bullet-vertical-gap: 6px;
  */
}
.swiper-pagination {
  padding-top: .5em;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
}
.swiper-pagination.swiper-pagination-hidden {
  opacity: 0;
}
.swiper-pagination-disabled > .swiper-pagination,
.swiper-pagination.swiper-pagination-disabled {
  display: none !important;
}
/* Common Styles */
.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 10px;
  left: 0;
  width: 100%;
}
/* Bullets */
.swiper-pagination-bullets-dynamic {
  overflow: hidden;
  font-size: 0;
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transform: scale(0.33);
  position: relative;
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
  transform: scale(1);
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
  transform: scale(1);
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
  transform: scale(0.66);
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
  transform: scale(0.33);
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
  transform: scale(0.66);
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
  transform: scale(0.33);
}
.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
  display: inline-block;
  border-radius: 50%;
  background: var(--swiper-pagination-bullet-inactive-color, #000);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
}
button.swiper-pagination-bullet {
  border: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  -webkit-appearance: none;
          appearance: none;
}
.swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: pointer;
}
.swiper-pagination-bullet:only-child {
  display: none !important;
}
.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
}
.swiper-vertical > .swiper-pagination-bullets,
.swiper-pagination-vertical.swiper-pagination-bullets {
  right: 10px;
  top: 50%;
  transform: translate3d(0px, -50%, 0);
}
.swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
  display: block;
}
.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
}
.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  display: inline-block;
  transition: 200ms transform, 200ms top;
}
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
}
.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition: 200ms transform, 200ms left;
}
.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition: 200ms transform, 200ms right;
}
/* Progress */
.swiper-pagination-progressbar {
  background: rgba(0, 0, 0, 0.25);
  position: absolute;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transform-origin: left top;
}
.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  transform-origin: right top;
}
.swiper-horizontal > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-horizontal,
.swiper-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
  width: 100%;
  height: 4px;
  left: 0;
  top: 0;
}
.swiper-vertical > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-vertical,
.swiper-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
  width: 4px;
  height: 100%;
  left: 0;
  top: 0;
}
.swiper-pagination-lock {
  display: none;
}
/* Scrollbar */
.swiper-scrollbar {
  border-radius: 10px;
  position: relative;
  -ms-touch-action: none;
  background: rgba(0, 0, 0, 0.1);
}
.swiper-scrollbar-disabled > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-disabled {
  display: none !important;
}
.swiper-horizontal > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
  position: absolute;
  left: 1%;
  bottom: 3px;
  z-index: 50;
  height: 5px;
  width: 98%;
}
.swiper-vertical > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-vertical {
  position: absolute;
  right: 3px;
  top: 1%;
  z-index: 50;
  width: 5px;
  height: 98%;
}
.swiper-scrollbar-drag {
  height: 100%;
  width: 100%;
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  left: 0;
  top: 0;
}
.swiper-scrollbar-cursor-drag {
  cursor: move;
}
.swiper-scrollbar-lock {
  display: none;
}
.swiper-zoom-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.swiper-zoom-container > img,
.swiper-zoom-container > svg,
.swiper-zoom-container > canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.swiper-slide-zoomed {
  cursor: move;
}





         .swiper-pagination-bullet {
        width: 20px;
        height: 20px;
        margin-left:5px; 
        margin-right: 5px;
        text-align: center;
        line-height: 20px;
        font-size: 12px;
        color: #000;
        opacity: 1;
        background: rgba(0, 0, 0, 0.2);
      }

      .swiper-pagination-bullet-active {
        color: #fff;
        background: rgb(115, 17, 29);
      }

.barcode {display: none;}

.single-post-main .inner .content-wrap {
    margin-left: 0px;
}

.colored-blocks-block .colored-blocks-wrapper .colored-block-wrap .colored-block .icon {
    pointer-events:none;
}

#quadmenu.quadmenu-custom_theme_3 .quadmenu-navbar-nav .quadmenu-dropdown-menu li.quadmenu-item-type-button.topnavbutton > a > .quadmenu-item-content {
    padding-left: 0px;
    padding-right:0px;
}

.topnavbutton > a {
    flex-direction: inherit !important;
}




table {
    border-collapse: collapse;
}
table tr {
    height: 45px; 
}
table  tr:nth-child(even) {
    
    background-color: #eee;
}

table  tr:first-child {
    height: 23px;
    border-bottom: solid 1px #333;
}
table  tr:last-child {
     border-bottom: solid 1px #333;
}


.image-slider .image-slider-container {
    max-height: inherit;
}

table.noalternate tr:nth-child(even) {
    background-color: initial;
}

table.noalternate  tr:first-child {
    border-bottom: initial;
}

table.noalternate  tr:last-child {
     border-bottom: initial;
}

#camp-logo {
    max-height: 80px;
}




.page-template-template-camp .button-block .inner .btn-wrap:nth-of-type(even) .round-btn {
background-color: #50c3c7;
}
.page-template-template-camp .button-block .inner .btn-wrap:nth-of-type(odd) .round-btn {
background-color: #50c3c7;
}

.page-template-template-camp .button-block .inner .btn-wrap:hover .round-btn {
background-color: #a3cd39;
}


body.page-id-4827 > main > section:nth-of-type(odd) > div.container > div {
    background-color: #eee;
}




body.page-id-4829 > main > section:nth-of-type(odd) > div.container > div {
    background-color: #eee;
}


body.page-template-template-camp #quadmenu.quadmenu-custom_theme_3 , body.page-template-template-camp .quadmenu-custom_theme_3 #quadmenu_0 > ul > li > a {
    background-color: #50C3C7;

}

body.page-template-template-camp  #quadmenu.quadmenu-custom_theme_2 .quadmenu-navbar-nav > li:not(.quadmenu-item-type-button).quadmenu-has-link:hover  {
    background-color: #a3cd39;
}
body.page-template-template-camp #masthead .menus-wrap .top-menus-wrap .menu-top-container .menu li a:hover {
    color: #38888b;
}

#camp-logo {
    display: block;
    position: absolute;
    top: 20px;
    z-index: 500;
    line-height: ;
    left: 20px;
}
#camp-back-to-ko {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1000;
    /* font-size: 1.5em;*/
    color: white;
}

#camp-back-to-ko a{
    color: white;
    text-decoration: underline;
}

#camp-top-bar {
    position:absolute;
    top: 0;
    left:0;
    z-index:100;
    width: 100%;
    height: 120px;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 11%, rgba(0,0,0,0.5) 54%, rgba(0,0,0,0) 100%);
}

.fc-content-skeleton table tr:first-child {
height: 23px;
border-bottom: none;
}

/* solid 1px #333; */

.fc-day-number {
    border-bottom: solid 1px #333 !important;   
}

.fc-content-skeleton .eo-all-day:last-of-type {
    border-bottom: solid 1px #333 !important;   
}

.single-team-main .content-switch-wrapper #roster-wrap .roster .roster-list li:not(.header-row) .hometown, .single-team-main .content-switch-wrapper #roster-wrap .roster .roster-list li:not(.header-row) .name, .single-team-main .content-switch-wrapper #roster-wrap .roster .roster-list li:not(.header-row) .number {
flex-basis: 33%;
-ms-flex-preferred-size: 33%;
text-align: center;
}

.single-team-main .content-switch-wrapper #roster-wrap .roster .roster-list li.header-row .hometown, .single-team-main .content-switch-wrapper #roster-wrap .roster .roster-list li.header-row .name, .single-team-main .content-switch-wrapper #roster-wrap .roster .roster-list li.header-row .number {
-ms-flex-preferred-size: 33%;
flex-basis: 33%;
text-align:center;
}


.right-sticky-button {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(270deg);
  transform-origin: right center; /* <-- key fix */
  text-decoration: none;

  z-index: 99999;

  background: #000000;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;

  border-radius: 6px 6px 0 0;

  display: inline-block;
  margin-right: 1.5em;
}

body.page-template-template-camp .right-sticky-button {
    display: none;
}


/* ==========================================
   INSTAGRAM CAROUSEL STYLES
   ========================================== */

.instagram-carousel {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.instagram-carousel__title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

.instagram-swiper-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.instagram-swiper-container .swiper-wrapper {
    align-items: stretch;
}

/* Instagram Post Slide */
.instagram-post {
    cursor: pointer;
}

.instagram-post__image-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background-color: #e0e0e0;
}

.instagram-post__image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post:hover .instagram-post__image-wrap img {
    transform: scale(1.05);
}

/* Hover Overlay */
.instagram-post__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.instagram-post:hover .instagram-post__overlay {
    opacity: 1;
}

.instagram-post__overlay-content {
    width: 100%;
}

.instagram-post__caption {
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Instagram Icon */
.instagram-post__icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

.instagram-post:hover .instagram-post__icon {
    opacity: 1;
}

/* Navigation Buttons */
.instagram-swiper-btn-prev,
.instagram-swiper-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(115, 17, 29, 0.9);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.instagram-swiper-btn-prev:hover,
.instagram-swiper-btn-next:hover {
    background-color: rgba(115, 17, 29, 1);
}

.instagram-swiper-btn-prev {
    left: 0;
}

.instagram-swiper-btn-next {
    right: 0;
}

.instagram-swiper-btn-prev::after,
.instagram-swiper-btn-next::after {
    font-size: 18px;
    color: #fff;
}

.instagram-swiper-btn-prev.swiper-button-disabled,
.instagram-swiper-btn-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Admin Notice */
.instagram-admin-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.instagram-admin-notice a {
    color: #73111d;
    font-weight: 600;
}

/* ==========================================
   INSTAGRAM LIGHTBOX STYLES (Magnific Popup)
   ========================================== */

.mfp-instagram-lightbox .mfp-content {
    max-width: 1000px;
    width: 90%;
}

.instagram-lightbox-wrapper {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.instagram-lightbox {
    display: flex;
    flex-direction: row;
    min-height: 400px;
}

.instagram-lightbox__image {
    flex: 1 1 60%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 80vh;
}

.instagram-lightbox__image img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.instagram-lightbox__content {
    flex: 1 1 40%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    max-height: 80vh;
    overflow-y: auto;
}

.instagram-lightbox__caption {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 20px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.instagram-lightbox__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-self: flex-start;
}

.instagram-lightbox__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.instagram-lightbox__link svg {
    flex-shrink: 0;
}

/* Lightbox Close Button */
.mfp-instagram-lightbox .mfp-close {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    right: -10px;
    top: -10px;
    opacity: 1;
}

.mfp-instagram-lightbox .mfp-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Lightbox Animation */
.mfp-instagram-lightbox .mfp-with-anim {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease-out;
}

.mfp-instagram-lightbox.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1);
}

.mfp-instagram-lightbox.mfp-removing .mfp-with-anim {
    opacity: 0;
    transform: scale(0.95);
}

/* Lightbox Background */
.mfp-instagram-lightbox.mfp-bg {
    background: rgba(0, 0, 0, 0.9);
}

/* Responsive Lightbox */
@media screen and (max-width: 768px) {
    .instagram-lightbox {
        flex-direction: column;
    }
    
    .instagram-lightbox__image {
        max-height: 50vh;
    }
    
    .instagram-lightbox__content {
        max-height: none;
        padding: 20px;
    }
    
    .mfp-instagram-lightbox .mfp-content {
        width: 95%;
    }
    
    .mfp-instagram-lightbox .mfp-close {
        right: 5px;
        top: 5px;
    }
}

/* Responsive Carousel */
@media screen and (max-width: 600px) {
    .instagram-carousel {
        padding: 40px 0;
    }
    
    .instagram-carousel__title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .instagram-swiper-container {
        padding: 0 35px;
    }
    
    .instagram-swiper-btn-prev,
    .instagram-swiper-btn-next {
        width: 30px;
        height: 30px;
    }
    
    .instagram-swiper-btn-prev::after,
    .instagram-swiper-btn-next::after {
        font-size: 14px;
    }
    
    .instagram-post__caption {
        font-size: 0.75rem;
        -webkit-line-clamp: 3;
    }
}

/* ==========================================
   SPORT PAGE - CONTENT AND ACCOLADES LAYOUT
   ========================================== */

.sport-content-accolades-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 30px;
    /* border-top: 1px solid #ddd; */
}

/* When both content and accolades exist - 2/3 and 1/3 split */
.sport-content-accolades-wrapper.has-both .sport-content-area {
    flex: 2;
    min-width: 0;
    padding-right: 30px;
}

.sport-content-accolades-wrapper.has-both .sport-accolades-sidebar {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

/* Content only - full width */
.sport-content-accolades-wrapper.content-only .sport-content-area {
    flex: 1 1 100%;
}

/* Accolades only - centered */
.sport-content-accolades-wrapper.accolades-only {
    justify-content: center;
}

.sport-content-accolades-wrapper.accolades-only .sport-accolades-sidebar {
    flex: 0 0 auto;
    min-width: 400px;
    max-width: 600px;
    text-align: center;
}

.sport-content-accolades-wrapper.accolades-only .accolades-list {
    text-align: left;
    display: inline-block;
}

/* Accolades sidebar styling */
.sport-accolades-sidebar {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #73111d;
}

.sport-accolades-sidebar .accolades-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 1.85em;
    text-transform: uppercase;
    color: #73111d;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #73111d;
}

.sport-accolades-sidebar .accolades-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sport-accolades-sidebar .accolades-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.3rem;
    line-height: 1.5;
}

.sport-accolades-sidebar .accolades-list li:last-child {
    border-bottom: none;
}

.sport-accolades-sidebar .accolades-list li.champion-accolade {
    font-weight: 700 !important;
}

/* Sport content area */
.sport-content-area {
    font-family: 'Archivo', sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 1.1em;
    line-height: 1.4em !important;
}

.sport-content-area p,
.sport-content-area li,
.sport-content-area span {
    line-height: 1.4em !important;
}

.sport-content-area p:first-child {
    margin-top: 0;
}

/* Tablet/smaller laptop responsive - stack below 768px */
@media screen and (max-width: 768px) {
    .sport-content-accolades-wrapper {
        flex-direction: column;
        flex-wrap: wrap;
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .sport-content-accolades-wrapper.has-both .sport-content-area,
    .sport-content-accolades-wrapper.has-both .sport-accolades-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .sport-accolades-sidebar {
        border-left: none;
        border-top: 4px solid #73111d;
    }
}

/* ==========================================
   TEAM ROSTER IMAGES
   ========================================== */

.roster-image {
    margin-bottom: 30px;
}

.roster-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.roster-image-top {
    margin-bottom: 30px;
}

.roster-images-bottom {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.roster-images-bottom .roster-image {
    margin-bottom: 0;
}

@media screen and (max-width: 600px) {
    .roster-images-bottom {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   FOOTER CTA BUTTON
   ========================================== */

.footer-cta-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.footer-cta-wrapper {
    text-align: center;
}

.footer-cta-button {
    display: inline-block;
    padding: 25px 60px;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.75em;
    font-weight: 400;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    filter: brightness(1.1);
}

@media screen and (max-width: 600px) {
    .footer-cta-section {
        padding: 30px 15px;
    }
    
    .footer-cta-button {
        padding: 15px 25px;
        font-size: 1.25em;
        display: block;
        text-align: center;
    }
}

/* ==========================================
   HOVER BOXES BLOCK
   ========================================== */

.hover-boxes-section {
    padding: 60px 0;
}

.hover-boxes-title {
    margin-bottom: 40px;
    text-transform: uppercase;
    font-size: 2em;
}

.hover-boxes-container {
    width: 100%;
}

/* Row layouts */
.hover-boxes-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.hover-boxes-row--full {
    display: block;
}

/* Individual box */
.hover-box {
    position: relative;
    overflow: hidden;
}

.hover-box__link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.hover-box__link:hover,
.hover-box__link:active,
.hover-box__link:focus {
    text-decoration: none;
}

.hover-box__image {
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hover-box--full .hover-box__image {
    padding-top: 25%; /* Shorter aspect for full-width */
}

/* Single partial box should also be shorter */
.hover-box--count-1.hover-box--partial .hover-box__image {
    padding-top: 40%; /* Shorter when it's the only box */
}

/* Overlay styles */
.hover-box__overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
    transition: top 0.3s ease;
    box-sizing: border-box;
}

/* Default overlay colors - matching testimonial block */
.hover-box--color-primary .hover-box__overlay {
    background-color: rgba(115, 17, 29, 0.5); /* Maroon at 50% */
}

.hover-box--color-secondary .hover-box__overlay {
    background-color: rgba(104, 172, 229, 0.5); /* Light blue #68ace5 at 50% */
}

/* Content inside overlay */
.hover-box__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hover-box__headline {
    color: #ffffff;
    font-size: 1.8em;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    position: relative;
    padding-top: 20px;
}

.hover-box__headline::before {
    content: "";
    display: block;
    width: 60px;
    border-top: 4px solid #ffffff;
    position: absolute;
    top: 0;
    left: 0;
}

.hover-box__subheadline {
    color: #ffffff;
    font-size: 1.2em;
    margin: 0;
    line-height: 1.4;
}

/* Arrow icon */
.hover-box__arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #ffffff;
}

.hover-box__arrow svg {
    width: 30px;
    height: 30px;
}

/* Hover states */
.hover-box--text-hover:hover .hover-box__overlay,
.hover-box--text-hover:focus-within .hover-box__overlay {
    top: 0;
}

/* Always visible text */
.hover-box--text-always .hover-box__overlay {
    top: 0;
}

/* Width classes - partial boxes */
.hover-box--partial {
    flex: 1 1 auto;
    min-width: 0;
}

/* Partial box counts - distribute width */
.hover-box--count-1.hover-box--partial {
    flex-basis: 100%;
}

.hover-box--count-2.hover-box--partial {
    flex-basis: 50%;
}

.hover-box--count-3.hover-box--partial {
    flex-basis: 33.333%;
}

.hover-box--count-4.hover-box--partial {
    flex-basis: 25%;
}

.hover-box--count-5.hover-box--partial {
    flex-basis: 20%;
}

/* Full width box */
.hover-box--full {
    width: 100%;
}

.hover-box--full .hover-box__headline {
    font-size: 2.5em;
}

.hover-box--full .hover-box__subheadline {
    font-size: 1.5em;
}

.hover-box--full .hover-box__content {
    max-width: 600px;
}

/* ==========================================
   HOVER BOXES - RESPONSIVE
   ========================================== */

@media screen and (max-width: 1200px) {
    .hover-box--count-4.hover-box--partial,
    .hover-box--count-5.hover-box--partial {
        flex-basis: 33.333%;
    }
    
    /* Reduce partial box height as they start wrapping */
    .hover-box--count-4.hover-box--partial .hover-box__image,
    .hover-box--count-5.hover-box--partial .hover-box__image {
        padding-top: 65%;
    }
}

@media screen and (max-width: 992px) {
    .hover-box--count-2.hover-box--partial,
    .hover-box--count-3.hover-box--partial,
    .hover-box--count-4.hover-box--partial,
    .hover-box--count-5.hover-box--partial {
        flex-basis: 50%;
    }
    
    /* Full-width images get taller as partial boxes start stacking */
    .hover-box--full .hover-box__image {
        padding-top: 35%;
    }
    
    /* Partial boxes get shorter to match full-width better when at 50% width */
    .hover-box--partial .hover-box__image {
        padding-top: 55%;
    }
    
    .hover-box__headline {
        font-size: 1.5em;
    }
    
    .hover-box__subheadline {
        font-size: 1.1em;
    }
    
    .hover-box--full .hover-box__headline {
        font-size: 2em;
    }
    
    .hover-box--full .hover-box__subheadline {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 768px) {
    .hover-boxes-section {
        padding: 40px 0;
    }
    
    .hover-box--partial {
        flex-basis: 100% !important;
    }
    
    /* All boxes (full and partial) should have consistent height when stacked */
    .hover-box--full .hover-box__image,
    .hover-box--partial .hover-box__image {
        padding-top: 60%; /* Consistent height for all stacked boxes */
    }
    
    .hover-box__overlay {
        padding: 20px;
    }
    
    .hover-box__headline {
        font-size: 1.4em;
    }
    
    .hover-box__subheadline {
        font-size: 1em;
    }
    
    .hover-box--full .hover-box__headline {
        font-size: 1.6em;
    }
    
    .hover-box--full .hover-box__subheadline {
        font-size: 1.1em;
    }
    
    /* Show overlay on mobile (touch devices) */
    .hover-box--text-hover .hover-box__overlay {
        top: auto;
        bottom: 0;
        height: auto;
        padding: 15px 20px;
    }
    
    .hover-box--text-hover .hover-box__arrow {
        position: static;
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .hover-box__headline {
        font-size: 1.2em;
    }
    
    .hover-box__subheadline {
        font-size: 0.95em;
    }
    
    .hover-box__overlay {
        padding: 15px;
    }
}