/*
Theme Name: FNHBA
Author: Luciano Quiroga
Version: 2.1.10
Text Domain: gah
*/

:root {
    --site-container-width: 1440px;
    --mobile-container-margin: 20px;
    --layout-sidebars-gap: 40px;
    --header-logo-width: 85px;
    --tournaments-submenu-width: 290px;
    --primary-brand-color: #305065;
    --secondary-brand-color: #82a9c4; 
    --secondary-brand-color-medium-light: #9cbcd0;
    --secondary-brand-color-light: #c4d7e3;
    --secondary-brand-color-lightest: #dfe9f0;
    --dark-color: #000000;
    --medium-dark-color: #333333;
    --grey-color: #D0D0D0;
    --light-grey-color: #EEEEEE;
    --lightest-grey-color: #F5F5F5;
    --text-color: #111111;
}


body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-size: 1rem;
    line-height: 160%;
    letter-spacing: .7px;
    background-color: var(--secondary-brand-color-lightest);
    color: var(--text-color);
    overflow-x: hidden;
}

body.mobile-menu-opened {
    position: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Sen", sans-serif;
    font-weight: 800;
    line-height: 120%;
    letter-spacing: .8px;
    color: #352228;
    margin-bottom: 0.4em;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.7rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1rem
}

a {
    color: inherit;
    text-decoration: none;
}

strong {
    font-weight: 700;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* Forms */
input[type=text],
input[type=number],
input[type=email],
input[type=date],
input[type=password],
select,
textarea {
    background-color: #FFFFFF;
    border: 1px solid var(--grey-color);
    border-radius: 6px;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    padding: 6px 12px;
    width: 100%;
}

input[type=text]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=date]:focus,
input[type=password]:focus,
select:focus,
textarea:focus {
    border: 1px solid var(--primary-brand-color);
}

input[type=radio],
input[type=checkbox] {
    cursor: pointer;
}

textarea {
    resize: vertical;
    max-height: 100px;
}

select {
    cursor: pointer;
}

.form-container {
    display: flex;
    flex-direction: column;
    row-gap: 1.2rem;
    border: 1px solid var(--grey-color);
    border-radius: 7px;
    box-sizing: border-box;
    padding: 25px;
    width: 550px;
    max-width: 100%;
}

.form-container .form-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 15px;
}

.form-container .form-row.valign-bottom {
    align-items: flex-end;
}

.form-container .form-row.form-send-row {
    margin-top: 1rem;
}

.form-container .highlight {
    background-color: var(--light-grey-color);
    border-radius: 7px;
    padding: 10px;
}

.form-container .form-row .form-column {
    width: 100%;
}

.form-container label {
    display: block;
    font-family: "Sen", sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: .2rem;
}

.form-container .caption {
    display: block;
    font-size: .8rem;
    line-height: 1.1rem;
    margin-bottom: .5rem;
}

.wpcf7 {
    margin: 1rem 0 2rem 0;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2rem 0 1rem 0;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 900;
    color: #000000;
}

.wpcf7 form.submitting input[type=submit] {
    background-color: var(--grey-color);
    border: 1px solid var(--grey-color);
    pointer-events: none;
}

.wpcf7-not-valid-tip {
    font-size: .85rem;
    line-height: 1.1rem;
}


/* Buttons */
.button {
    display: inline-block;
    background-color: var(--primary-brand-color);
    border: 1px solid var(--primary-brand-color);
    border-radius: 80px;
    font-family: "Sen", sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1em;
    color: #FFFFFF;
    padding: 8px 28px;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
}

.button:hover {
    background-color: var(--dark-color);
    border: 1px solid var(--dark-color);
}


/* Menus */
ul.menu {
    display: flex;
    align-items: center;
}

ul.menu .menu-item.menu-item-has-children {
    position: relative;
}

ul.menu .menu-item a {
    font-family: "Sen", sans-serif;
    font-size: 1.05rem;
    transition: all .15s;
}

.top-menu-container {
    position: relative;
    font-weight: 500;
    color: var(--dark-color);
}

.top-menu-container .menu-item a {
    display: block;
    letter-spacing: 0.4px;
}

.top-menu-container ul.menu > .menu-item {
    margin-left: 20px;
}

.top-menu-container ul.menu > .menu-item > a {
    font-weight: 500;
    color: #FFFFFF;
}

.top-menu-container ul.menu > .menu-item:not(.menu-item-has-children) > a {
    position: relative;
}

.top-menu-container ul.menu > .menu-item:not(.menu-item-has-children):not(.menu-item-icon):hover > a:after {
    position: absolute;
    bottom: -5px;
    left: calc(50% - 10px);
    display: block;
    background-color: #FFFFFF;
    content: "";
    width: 20px;
    height: 1px;
    transition: all .3s;
}

body:not(.mobile-menu-opened) .top-menu-container ul.sub-menu > .menu-item.current-menu-item > a,
body:not(.mobile-menu-opened) .top-menu-container ul.sub-menu > .menu-item:hover > a {
    color: var(--primary-brand-color);
}

.top-menu-container ul.menu .menu-item.current-menu-item > a,
.top-menu-container ul.menu .menu-item.current-menu-parent > a,
.top-menu-container ul.menu .menu-item.current-menu-ancestor > a {
    font-weight: 900;
}

.top-menu-container ul.menu > .menu-item.menu-item-has-children > a:after {
    display: inline-block;
    content: "";
    background-image: url('assets/images/menu-caret-down.svg');
    background-repeat: no-repeat;
    margin-left: .1rem;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.top-menu-container ul.menu > .menu-item.menu-item-has-children:hover > a:after {
    transform: rotate(180deg);
}

.top-menu-container ul.menu > .menu-item.menu-item-icon a {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
    width: 24px;
    height: 24px;
    transition: all .3s;
    cursor: pointer;
}

.top-menu-container ul.menu > .menu-item.menu-item-icon.menu-item-dashboard a {
    background-image: url('assets/images/admin/dashboard-icon.svg');
}

.top-menu-container ul.menu > .menu-item.menu-item-icon a:hover {
    transform: scale(1.09);
}

.top-menu-container ul.sub-menu {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    padding: 8px 10px 8px 17px;
    z-index: 999999;
}

.tournaments-menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    /* background-image: linear-gradient(to top, #eeeeee, #e6e6e6, #dfdfdf, #d7d7d7, #d0d0d0); */
    background-color: var(--secondary-brand-color-light);
    color: var(--dark-color);
    border-top: 5px solid var(--secondary-brand-color);
    border-radius: 4px 4px 0 0;
    box-sizing: border-box;
    padding: 8px 20px 2px 20px;
}

.tournaments-menu-container ul.menu {
    justify-content: space-around;
}

.tournaments-menu-container ul.menu .menu-item.menu-item-has-children:not(:hover) .sub-menu {
    display: none;
}

.tournaments-menu-container ul.menu > .menu-item > a {
    display: block;
    padding: 5px 7px;
    font-weight: 800;
    letter-spacing: -0.1px;
    border-radius: 3px 3px 3px 0;
}

.tournaments-menu-container ul.menu > .menu-item:hover > a {
    background-color: #FFFFFF;
}

.tournaments-menu-container ul.menu > .menu-item.current-menu-item > a,
.tournaments-menu-container ul.sub-menu > .menu-item.current-menu-item > a {
    font-weight: 800;
    color: var(--primary-brand-color);
}

.tournaments-menu-container ul.sub-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    row-gap: 6px;
    background-color: #ffffff;
    border-radius: 0 0 5px 5px;
    color: var(--primary-brand-color);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    padding: 15px 7px;
    width: var(--tournaments-submenu-width);
    z-index: 999999;
}

.tournaments-menu-container ul.sub-menu .menu-item-title {
    font-family: "Sen", sans-serif;
    font-weight: 900;
    font-size: 1rem;
    color: var(--text-color);
    padding-left: 10px;
}

.tournaments-menu-container ul.sub-menu .menu-item > a {
    display: block;
    padding: 5px 5px 5px 20px;
    font-weight: 500;
    font-size: .9rem;
    color: var(--dark-color);
    border-radius: 3px;
}

.tournaments-menu-container ul.sub-menu .menu-item:hover > a {
    background-color: var(--primary-brand-color);
    color: #ffffff;
}


/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-brand-color);
    padding: 20px 0 0 0;
    width: 100%;
    z-index: 999998;
}

body.mobile-menu-opened .site-header {
    position: fixed;
    width: 100%;
}

.header-blocks-layout {
    display: flex;
    flex-direction: column;
    row-gap: 22px;
}

.header-blocks-layout .top-block-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-blocks-layout .top-block .left-block {
    display: flex;
    align-items: center;
}

.header-blocks-layout .top-block .right-block {
    flex-shrink: 0;
}

.site-header .left-block .site-logo {
    flex-shrink: 0;
}

.site-header .site-logo img {
    display: block;
    max-width: var(--header-logo-width);
    height: auto;
    transition: all .3s;
}

.site-header .site-logo img:hover {
    transform: scale(1.04);
}

.site-header .site-description {
    font-family: "Sen", sans-serif;
    font-size: 1.5rem;
    line-height: 105%;
    color: #FFFFFF;
    margin-left: 20px;
}

.site-header .tournaments-year-selector {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: .9rem;
    margin-top: 7px;
}

.site-header .tournaments-year-selector .caption {
    display: none;
}

.site-header .tournaments-year-selector select {
    background-color: #FFFFFF;
    border: 1px solid var(--secondary-brand-color);
    border-radius: 6px;
    font-size: 1rem;
    margin: 0 0 8px 4px;
}

body.sticky-header .site-header {
    position: fixed;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    padding: 8px 0;
    width: 100%;
}

body.sticky-header .site-header .bottom-block {
    display: none;
}

body.sticky-header .site-header .site-description {
    font-size: 1rem;
}

body.sticky-header .site-header .site-logo img {
    max-width: 40px;
}


/* Containers */
.site-container {
    width: var(--site-container-width);
    max-width: calc(100% - var(--mobile-container-margin) - var(--mobile-container-margin));
    margin-left: auto;
    margin-right: auto;
}


/* Content */
.site-content {
    min-height: 70vh;
    padding-top: 255px;
    overflow-x: hidden;
}

.site-content strong {
    font-weight: 700;
}

.site-content em {
    font-style: italic;
}

.site-content ul {
    list-style: initial;
    margin: 0  0 1.5rem 2.5em;
}

.site-content ul li:not(:last-child) {
    margin-bottom: .8em;
}

a.link,
.site-content .entry-content a {
    font-weight: 500;
    text-decoration: underline;
}

a.link:hover,
.site-content .entry-content a:hover {
    color: var(--primary-brand-color);
}

.site-content .wp-editor-content {
    margin: 1.5rem 0 2rem 0;
}

.block-title,
.block-subtitle,
.page-title {
    background-color: var(--lightest-grey-color);
    border-radius: 4px;
    color: #000000;
    letter-spacing: 0px;
    padding: 6px 30px 3px 30px;
    margin-bottom: 35px;
    transition: all .2s;
    border-bottom: 5px solid var(--light-grey-color); 
}

.block-title.for-news a:hover {
    color: var(--primary-brand-color);
}

.block-title.for-tournament,
.block-subtitle.for-tournament {
    border-bottom: 5px solid var(--secondary-brand-color);
}

.default-layout,
.default-layout .left-block {
    display: flex;
    column-gap: var(--layout-sidebars-gap);
}

.default-layout.layout-sidebars .left-block,
.default-layout.layout-right-sidebar .left-block {
    width: calc(100% - 250px);
}

.default-layout.layout-no-sidebars .left-block,
.default-layout.layout-left-sidebar .left-block {
    padding: 0 9%;
    width: 100%;
}

.default-layout .side-block {
    /* background-color: var(--light-grey-color); */
    border-radius: 10px;
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 40px 12px;
    width: 230px;
}

.default-layout.layout-left-sidebar .side-block,
.default-layout.layout-right-sidebar .side-block {
    width: 270px;
}

body:not(.sticky-header) .default-layout .side-block {
    height: max-content;
}

.default-layout .main-block {
    flex-grow: 1;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 25px 20px 50px 20px;
}


/* Popup */
.gah-popup {
    display: none;
}

.featherlight .featherlight-content {
    border-radius: 9px;
    border-bottom: none;
    padding: 30px 60px;
}


/* Contenido del editor WP */
.site-content article .wp-block-embed iframe {
    width: 100%;
}

.site-content article .wp-block-column .wp-block-image {
    margin-bottom: 0;
}

.site-content article .wp-block-separator {
    color: var(--grey-color);
    margin-bottom: 1.5em;
}

.site-content article .wp-block-group.box-group {
    background-color: var(--lightest-grey-color);
    border-radius: 7px;
    padding: 30px 15px 10px 15px;
}

.site-content article .wp-block-group,
.site-content article .wp-block-columns,
.site-content article .wp-block-table,
.site-content article .wp-block-image,
.site-content article .wp-block-details,
.site-content article .wp-block-pullquote,
.site-content article .wp-block-preformatted,
.site-content article .wp-block-verse,
.site-content article .wp-block-cover,
.site-content article .wp-block-gallery,
.site-content article .wp-block-media-text,
.site-content article iframe {
    margin-bottom: 1.5em;
}

.site-content article .wp-block-table,
.site-content article iframe {
    margin-top: 1.5em;
}

.site-content article .wp-block-table {
    border: 1px solid var(--grey-color);
    border-radius: 6px;
}

.site-content article .wp-block-table th,
.site-content article .wp-block-table td {
    padding-left: 1.5em;
}

.site-content article .wp-block-table.is-style-regular th,
.site-content article .wp-block-table.is-style-regular td {
    border: 1px solid var(--light-grey-color);
    border-radius: 6px;
}

.site-content article p {
    margin-bottom: 1em;
    min-height: 1px;
}

.site-content article :where(.wp-block-columns.is-layout-flex) {
    gap: 1em;
}

.site-content article .wp-block-pullquote {
    border: 1px solid var(--grey-color);
    border-radius: 7px;
    margin-top: 1rem;
    padding: 1.2rem 2rem;
}

.site-content article .wp-block-pullquote cite {
    font-size: 1.2rem;
}

.site-content article .wp-block-quote {
    font-size: 1.1rem;
    padding: 1.5rem 2rem;
    margin: 1rem 0;
}

.site-content article .wp-block-quote:before {
    display: block;
    content: "";
    background-color: var(--grey-color);
    margin: 0 auto 1rem auto;
    width: 20%;
    height: 1px;
}

.site-content article .gah-block-download {
    background-color: #FFFFFF;
    border: 1px solid var(--grey-color);
    border-radius: 7px;
    padding: 15px 20px;
    width: 550px;
    max-width: 100%;
}

.site-content article .gah-block-download p {
    margin: 0;
}


/* Sidebar */
.widgets-block:not(:last-child) {
    margin-bottom: 50px;
}

.widgets-block.banners p {
    margin-bottom: 0;
}

.widgets-block.default {
    background-color: #FFFFFF;
    border-bottom: 5px solid var(--secondary-brand-color-medium-light);
    padding: 15px;
}


/* Slider de resultados de partidos */
.gah-matches {
    position: relative;
    margin: 0 auto 60px auto;
    width: 85%;
}

.gah-matches .item {
    padding-top: 1px;
    transition: all .1s;
}

.gah-matches .item:hover {
    margin-top: -1px;
}

.gah-matches .item .item-inner {
    background-color: var(--light-grey-color);
    border-radius: 7px;
    margin: 0 7px;
    transition: all .3s;
}

.gah-matches .item:hover .item-inner {
    background-color: var(--secondary-brand-color-light);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.gah-matches .item .category {
    background-color: var(--secondary-brand-color-light);
    font-weight: 800;
    padding: 12px 12px 7px 12px;
    margin: 0;
    text-align: center;
}

.gah-matches .item .datetime {
    font-weight: 500;
    font-size: .8rem;
    padding: 5px 0 5px 15px;
    text-align: center;
}

.gah-matches .item .results {
    /* background-color: var(--light-grey-color); */
    padding: 15px 15px 7px 15px;
    margin: 0 10px;
}

.gah-matches .item .team-goals {
    display: flex;
    justify-content: space-between;
}

.gah-matches .item .team-goals:first-child {
    margin-bottom: 6px;
}

.gah-matches .item .team-goals .team {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.gah-matches .item .team-goals .team .logo {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    margin-right: 8px;
    width: 22px;
    height: 22px;
}

.gah-matches .item .team-goals .goals .penalties {
    font-size: .8rem;
}

/* Se usa para precargar la flechita hover */
.gah-matches .slider-arrows .arrow:after {
    content: "";
    background-image: url('assets/images/slider-right-arrow-hover.svg');
}

.gah-matches .slider-arrows .arrow:before {
    position: absolute;
    top: 39%;
    content: "";
    background-image: url('assets/images/slider-right-arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px;
    background-color: #FFFFFF;
    box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
    border-radius: 50%;
    padding: 16px;
    width: 14px;
    height: 14px;
    transition: all .3s;
    cursor: pointer;
}

.gah-matches .slider-arrows .arrow:hover:before {
    background-image: url('assets/images/slider-right-arrow-hover.svg');
}

.gah-matches .slider-arrows .arrow.prev:before {
    left: -27px;
    transform: scaleX(-1);
}

.gah-matches .slider-arrows .arrow.next:before {
    right: -27px;
}

.gah-matches:not(.ready) .gah-matches-inner {
    display: none;
}

.gah-matches.ready .gah-matches-inner {
    display: block;
}


/* Detalle de partido */
.single-match .match-info .category {
    margin-bottom: 30px;
}

.single-match .match-info .court {
    font-weight: 600;
}

.single-match .match-info .datetime {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 7px;
}

.single-match .match-results {
    display: flex;
    justify-content: space-between;
    background-color: var(--secondary-brand-color-light);
    border-radius: 7px;
    margin: 30px 0;
    padding: 40px 30px 30px 30px;
}

.single-match .match-results .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 20%;
}

.single-match .match-results .team .logo img {
    display: block;
    margin-bottom: 10px;
    max-height: 100px;
}

.single-match .match-results .goals {
    font-weight: 600;
    font-size: 3.8rem;
    padding-top: 60px;
}

.single-match .match-results .goals .penalties {
    font-size: 2rem;
}

.single-match .match-teams {
    display: flex;
    justify-content: space-between;
}

.single-match .match-teams .team .staff {
    margin-top: 40px;
}

.single-match .match-teams .team .staff .item {
    display: flex;
    column-gap: 10px;
}

.single-match .match-teams .team .staff .item .label {
    font-weight: 600;
}

.single-match .match-teams,
.single-match .match-actions,
.single-match .match-authorities {
    padding: 25px;
}

.single-match .match-authorities .authority {
    display: flex;
    column-gap: 10px;
}

.single-match .match-authorities .authority .label {
    font-weight: 600;
}

.single-match .match-actions .item .item-inner {
    display: flex;
    justify-content: space-between;
    column-gap: 23px;
}

.single-match .match-actions .item .item-inner .player {
    display: flex;
    column-gap: 10px;
}


/* Detalle de torneo */
.single-tournament .tabs {
    margin: 60px auto 0;
    width: 92%;
}

.single-tournament .tabs .tabs-index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 7px;
    row-gap: 7px;
    background-color: var(--secondary-brand-color-lightest);
    border-radius: 7px;
    padding: 10px 20px;
}

.single-tournament .tabs .tabs-index .tab {
    font-weight: 600;
    letter-spacing: -.5px;
    background-color: #FFFFFF;
    padding: 5px 10px;
    margin: 0;
    border-radius: 5px;
    transition: all .3s;
    cursor: pointer;
}

.single-tournament .tabs .tabs-index .tab:hover {
    background-color: var(--secondary-brand-color-medium-light);
}

.single-tournament .tabs .tabs-index .tab.active {
    background-color: var(--secondary-brand-color-medium-light);
    font-weight: 900;
}

.single-tournament .tabs .tabs-contents {
    margin: 30px 0 0 20px;
    padding: 0 20px;
}

.single-tournament .tabs .tabs-contents .tab:not(.active) {
    display: none;
}

.single-tournament .players-table,
.single-tournament .positions .items {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.single-tournament .players-table .player {
    display: flex;
    justify-content: space-between;
    column-gap: 10px;
}

.single-tournament .cards .block-subtitle {
    margin-top: 40px;
}

.single-tournament .top-scorers .player .position {
    flex-shrink: 0;
    width: 38px;
}

.single-tournament .top-scorers .player .name {
    flex-grow: 1;
    width: 80%;
}

.single-tournament .positions .header {
    background-color: var(--secondary-brand-color);
    border-radius: 7px;
    font-weight: 600;
    margin-bottom: 7px;
    padding: 6px 8px;
}

.single-tournament .positions .items {
    font-size: .85rem;
}

.single-tournament .positions .items .item,
.single-tournament .positions .header {
    display: flex;
    justify-content: space-between;
}

.single-tournament .positions .items .item {
    padding: 2px 8px;
}

.single-tournament .positions .items .item:hover {
    background-color: var(--secondary-brand-color-lightest);
}

.single-tournament .positions .header .position,
.single-tournament .positions .items .item .position {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 40px;
}

.single-tournament .positions .items .item .position {
    font-weight: 600;
}

.single-tournament .positions .header .team,
.single-tournament .positions .items .item .team {
    box-sizing: border-box;
    flex-grow: 1;
    width: 35%;
}

.single-tournament .positions .header .results,
.single-tournament .positions .items .item .results {
    display: flex;
    justify-content: flex-end;
    column-gap: 10px;
    box-sizing: border-box;
    text-align: right;
    width: calc(65% - 40px);
}

.single-tournament .positions .header .results .value,
.single-tournament .positions .items .item .results .value {
    flex-grow: 1;
    width: 14.28%;
}

.single-tournament .fixture-round-matches .matches {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.single-tournament .fixture-round-matches .match {
    display: flex;
    column-gap: 10px;
    font-size: .85rem;
    padding: 5px;
}

.single-tournament .fixture-round-matches .match:hover {
    background-color: var(--secondary-brand-color-lightest);
}

.single-tournament .fixture-round-matches .match .date {
    width: 10%;
}

.single-tournament .fixture-round-matches .match .team {
    display: flex;
    width: 35%;
}

.single-tournament .fixture-round-matches .match .team .logo {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    margin-right: 8px;
    width: 22px;
    height: 22px;
}

.single-tournament .fixture-round-matches .match .goals {
    flex-shrink: 0;
    flex-grow: 1;
    font-weight: 500;
    font-size: 1.4rem;
}

.single-tournament .fixture-round-matches .match .goals .penalties {
    font-size: 1rem;
}


/* Noticias */
.news-block:not(:last-of-type) {
    margin-bottom: 70px;
}

.news-items {
    display: flex;
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 20px;
}

.news-items .news-item {
    background-color: #FFFFFF;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    border: 1px solid transparent;
    border-radius: 5px;
    width: calc(50% - 11px);
    transition: all .2s;
}

.news-items .news-item:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.news-items .news-item .news-item-inner {
    padding: 20px 15px;
}

.news-items .news-item .image-wrapper {
    border-radius: 5px;
    height: 230px;
    margin-bottom: 15px;
    overflow: hidden;
}

.news-items .news-item .image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    transition: all .3s;
}

.news-items .news-item:hover .image {
    transform: scale(1.015);
}

.news-items .news-item:hover .title {
    color: var(--primary-brand-color)
}

.news-block.hide-excerpt .news-item .excerpt {
    display: none;
}

.news-block .pagination {
    display: flex;
    justify-content: center;
    column-gap: 10px;
    font-weight: 500;
    font-size: 1.4rem;
    margin: 30px auto 0 auto;
    width: 90%;
}

.news-block .pagination a:hover {
    color: var(--primary-brand-color);
}

.news-block.layout-layout-1 .news-items .news-item {
    width: 100%;
}

.news-block.layout-layout-1 .news-items .news-item-inner {
    display: flex;
    column-gap: 30px;
}

.news-block.layout-layout-1 .news-items .news-item .image-wrapper {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 50%;
}

.news-block.layout-layout-3 .news-items .news-item {
    width: calc(33.33% - 14px);
}

.news-block.layout-layout-4 .news-items .news-item:first-child {
    width: 100%;
}

.news-block.layout-layout-4 .news-items .news-item:first-child .image-wrapper {
    height: 500px;
}


/* Noticia single */
body.single-post article.type-post {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px 30px 60px 30px;
}

body.single-post .entry-meta {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 4px;
}

body.single-post .entry-categories {
    display: flex;
    column-gap: 7px;
    font-weight: 700;
}

body.single-post .entry-categories .entry-category:not(:last-child):after {
    display: inline-block;
    content: "/";
}

body.single-post .entry-categories .entry-category {
    display: flex;
    align-items: center;
    column-gap: 7px;
}

body.single-post .entry-categories,
body.single-post .entry-date {
    color: var(--secondary-brand-color-light);
}

body.single-post .entry-title {
    color: var(--dark-color);
    margin: 30px 0;
}

body.single-post .entry-excerpt {
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

body.single-post .entry-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

body.single-post .entry-image-wrapper img {
    display: block;
    border-radius: 5px;
    max-width: 88%;
}

body.single-post .entry-content a {
    color: var(--primary-brand-color);
}

body.single-post .entry-content a:hover {
    text-decoration: underline;
}

body.single-post .related-news {
    background-color: var(--light-grey-color);
    padding: 35px 20px;
    margin-top: 80px;
}

body.single-post .entry-tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 4px;
}

body.single-post .entry-tags .entry-tag {
    background-color: var(--light-grey-color);
    border-radius: 7px;
    padding: 4px 12px;
    font-weight: 500;
    font-size: .9rem;
}


/* Single de Formulario */
.form-entry .meta {
    padding-left: 30px;
}

.form-entry .meta .title {
    display: flex;
    column-gap: .5rem;
}

.form-entry .fields {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    border: 1px solid var(--grey-color);
    border-radius: 7px;
    padding: 15px;
    margin-top: 40px;
}

.form-entry .field {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 10px;
}

.form-entry .field.highlight {
    background-color: var(--light-grey-color);
    border-radius: 7px;
    padding: 3px 10px;
}

.form-entry .field.highlight .label {
    font-weight: 800;
    width: calc(30% - 5px);
}

.form-entry .status {
    font-family: "Sen", sans-serif;
    font-weight: 700;
}

.form-entry .status.publish {
    color: blue;
}

.form-entry .status:not(.publish) {
    color: red;
}

.form-entry .field .label {
    font-family: "Sen", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    width: 30%;
    flex-shrink: 0;
}


/* Shortcode: Formularios */
.gah-form .form-dyn-field {
    font-family: "Sen", sans-serif;
    margin-bottom: 1.5rem;
}

.gah-form .form-dyn-field .label {
    font-weight: 700;
    font-size: 1.2rem;
}

.gah-form .form-dyn-field .value {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary-brand-color);
}


/* Shortcode: Banners */
.shortcode.gah-banners .banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-grey-color);
    transition: all .3s;
}

.shortcode.gah-banners .banner img {
    border-radius: 5px;
    width: 250px;
    max-width: 100%;
}

.shortcode.gah-banners.items-margin-top {
    margin-top: 50px;
}

.shortcode.gah-banners.items-margin-bottom {
    margin-bottom: 50px;
}

.shortcode.gah-banners.item-margin-top .banner {
    margin-top: 40px;
}

.shortcode.gah-banners.item-margin-bottom .banner {
    margin-bottom: 50px;
}


/* Shortcode: Noticias */
.shortcode.gah-news .items .item:not(:last-child) {
    margin-bottom: 10px;
}

.shortcode.gah-news .items .item-inner {
    display: flex;
    column-gap: 10px;
}

.shortcode.gah-news .items .item .image {
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 50px;
    height: 50px;
    transition: all .3s;
}

.shortcode.gah-news .items .item .title {
    font-size: 14px;
    font-weight: 400;
    transform: all .2s;
}

.shortcode.gah-news .items .item:hover .title {
    color: var(--primary-brand-color);
}


/* Shortcode: Social */
.shortcode.gah-social .links {
    display: flex;
    column-gap: 20px;
}

.shortcode.gah-social.small .links {
    column-gap: 12px;
}

.shortcode.gah-social a {
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all .2s;
}

.shortcode.gah-social.small a {
    width: 32px;
    height: 32px;
}

.shortcode.gah-social a:hover {
    transform: scale(1.04);
}

.shortcode.gah-social a.twitter {
    background-image: url('assets/images/icon-x.png');
}

.shortcode.gah-social a.instagram {
    background-image: url('assets/images/icon-instagram.png');
}

.shortcode.gah-social a.tiktok {
    background-image: url('assets/images/icon-tiktok.png');
}

.shortcode.gah-social a.facebook {
    background-image: url('assets/images/icon-facebook.png');
}

.shortcode.gah-social a.youtube {
    background-image: url('assets/images/icon-youtube.png');
}


/* Footer */
.site-footer {
    background-color: var(--secondary-brand-color-light);
    margin-top: 60px;
    padding: 40px 0 60px 0;
}

.footer-blocks-layout {
    display: flex;
    flex-direction: column;
    row-gap: 22px;
}

.footer-blocks-layout .top-block {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-blocks-layout .top-block .left-block {
    display: flex;
    align-items: flex-end;
}

.site-footer .site-logo {
    flex-shrink: 0;
}

.site-footer .site-logo img {
    display: block;
    max-width: 57px;
    height: auto;
}

.site-footer .site-description {
    font-family: "Sen", sans-serif;
    font-size: 1.3rem;
    line-height: 105%;
    color: #000000;
    margin-left: 20px;
}

.site-footer .shortcode.gah-social .links {
    justify-content: flex-end;
}


/* Breakpoint para menú principal (min) */
@media only screen and (min-width : 1181px) {
    .top-menu-container ul.menu .menu-item.menu-item-has-children:not(:hover) .sub-menu {
        display: none;
    }

    .top-menu-container ul.sub-menu {
        position: absolute;
        right: 0;
        background-color: #ffffff;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 25px 20px -20px;
        /* box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px; */
        /* box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px; */
        border-radius: 0 0 5px 5px;
        row-gap: 14px;
        padding: 15px 20px;
        width: 200px;
    }
    
    .top-menu-container ul.sub-menu ul.sub-menu {
        top: 0;
        left: 100px;
        z-index: 999999;
    }
}


/* var(--site-container-width) + 20 + 20 */
@media only screen and (max-width : 1480px) {
    .site-container {
        margin-left: var(--mobile-container-margin);
        margin-right: var(--mobile-container-margin);
    }
}


@media only screen and (max-width : 1360px) {
    .single-tournament .tabs {
        margin: 40px auto 0;
        width: 98%;
    }
}


@media only screen and (max-width : 1200px) {
    .default-layout.layout-sidebars {
        flex-direction: column;
        row-gap: 30px;
    }

    .default-layout.layout-sidebars .left-block {
        width: 100%;
    }

    .default-layout.layout-no-sidebars .left-block,
    .default-layout.layout-left-sidebar .left-block {
        padding: 0;
    }

    .default-layout.layout-sidebars .main-block {
        width: calc(100% - 220px);
        padding: 0 0 30px 0;
        order: 0;
    }

    .default-layout.layout-sidebars > .side-block {
        width: 100%;
        order: 2;
    }

    .default-layout.layout-sidebars .left-block .side-block {
        order: 1;
    }

    .default-layout.layout-sidebars > .side-block .shortcode.gah-banners {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        column-gap: 20px;
    }

    .gah-matches {
        width: calc(100% - 50px);
    }
}


/* Breakpoint para menú principal (max) */
@media only screen and (max-width : 1180px) {
    .site-header .top-menu-container {
        display: none;
    }

    .site-header .mobile-menu-opener {
        display: flex;
        flex-direction: column;
        row-gap: 7px;
        cursor: pointer;
    }

    .site-header .mobile-menu-opener > div {
        background-color: #FFFFFF;
        width: 22px;
        height: 2px;
        transition: all .3s;
    }

    body.mobile-menu-opened .mobile-menu-opener > div:first-child {
        transform: rotate(45deg);
    }

    body.mobile-menu-opened .mobile-menu-opener > div:nth-child(2) {
        transform: rotate(-45deg);
        margin-top: -9px;
    }

    body.mobile-menu-opened .mobile-menu-opener > div:last-child {
        display: none;
    }

    body.mobile-menu-opened .header-blocks-layout .top-block {
        min-height: 60px;
    }

    body.mobile-menu-opened .site-header .top-menu-container {
        display: block;
        position: absolute;
        top: 80px;
        left: -20px;
        padding: 20px;
        background-color: var(--primary-brand-color);
        width: 100%;
        height: 100vh;
        z-index: 999999;
    }

    body.mobile-menu-opened .site-header .top-menu-container .menu {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 10px;
    }

    body.mobile-menu-opened .site-header .top-menu-container li.menu-item {
        margin-left: 0;
    }

    body.mobile-menu-opened .top-menu-container ul.menu > .menu-item.menu-item-has-children > a:after {
        display: none;
    }

    body.mobile-menu-opened .site-header .top-menu-container .menu > .menu-item > .sub-menu > .menu-item {
        color: #FFFFFF;
    }

}


@media only screen and (max-width : 960px) {
    .site-header .site-logo img {
        width: 48px;
    }

    .form-entry .field .label,
    .form-entry .field.highlight .label {
        width: 50%;
    }

    .news-items {
        column-gap: 15px;
    }

    .news-items .news-item {
        width: calc(50% - 10px);
    }
}


@media only screen and (max-width : 870px) {
    .default-layout.layout-right-sidebar {
        flex-direction: column;
        row-gap: 30px;
    }

    .default-layout .left-block {
        width: 100%;
    }

    .default-layout.layout-sidebars .side-block,
    .default-layout.layout-left-sidebar .side-block,
    .default-layout.layout-right-sidebar .side-block {
        width: 100%;
        order: 2;
    }

    .default-layout.layout-sidebars .left-block,
    .default-layout.layout-left-sidebar .left-block {
        flex-direction: column;
        row-gap: 30px;
    }

    .default-layout.layout-right-sidebar .left-block {
        width: 100%;
    }

    .default-layout.layout-sidebars .main-block,
    .default-layout.layout-left-sidebar .main-block,
    .default-layout.layout-right-sidebar .main-block {
        width: 100%;
    }

    .default-layout .side-block .shortcode.gah-banners {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        column-gap: 20px;
    }
}


@media only screen and (max-width : 767px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    h5 {
        font-size: 1.125rem;
    }

    h6 {
        font-size: 1rem;
    }

    .site-header {
        padding: 22px 0 0 0;
    }

    .site-header .site-description {
        font-size: 1.2rem;
    }

    .default-layout .main-block {
        padding: 20px 10px 30px 10px;
    }

    .form-container {
        width: 100%;
    }

    .form-container .form-row {
        flex-direction: column;
        row-gap: 1.2rem;
    }

    .tournaments-menu-container {
        flex-direction: column;
    }

    .tournaments-menu-container ul.menu {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .tournaments-menu-container ul.sub-menu {
        width: calc(100vw - (var(--mobile-container-margin) * 2));
    }

    .news-items .news-item,
    .news-block.layout-layout-3 .news-items .news-item {
        width: 100%;
    }

    .news-block.layout-layout-4 .news-items .news-item:first-child .image-wrapper {
        height: 240px;
    }

    body.single-post .entry-meta {
        flex-direction: column;
    }

    body.single-post .entry-categories {
        flex-wrap: wrap;
    }

    body.single-post .entry-image-wrapper img {
        max-width: 100%;
    }

    .single-match .match-teams, 
    .single-match .match-actions, 
    .single-match .match-authorities {
        padding: 0 0 30px 0;
    }

    .single-tournament .tabs .tabs-contents {
        margin: 30px 10px 0 10px;
        padding: 0;
    }

    .form-entry .field {
        flex-direction: column;
    }

    .form-entry .field .label,
    .form-entry .field.highlight .label {
        width: 100%;
    }

    .footer-blocks-layout .top-block {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 25px
    }
}


@media only screen and (max-width : 600px) {
    .default-layout.layout-left-sidebar .left-block {
        padding: 0;
    }

    .news-block:not(:last-of-type) {
        margin-bottom: 45px;
    }

    .news-block.layout-layout-1 .news-items .news-item-inner {
        flex-direction: column;
    }

    .news-block.layout-layout-1 .news-items .news-item .image-wrapper {
        margin-bottom: 15px;
        width: 100%;
    }

    .news-block.layout-layout-4 .news-items .news-item:first-child .image-wrapper {
        height: 240px;
    }

    .single-match .match-teams, 
    .single-match .match-actions, 
    .single-match .match-authorities {
        flex-direction: column;
        row-gap: 30px;
    }

    .single-match .match-info .datetime {
        font-size: 1.3rem;
    }

    .single-match .match-results .team .logo img {
        max-width: 50px;
    }

    .single-match .match-results .goals {
        font-size: 2rem;
    }

    .single-match .match-results .goals .penalties {
        font-size: 1rem;
    }

    .single-match .match-actions .items {
        display: flex;
        flex-direction: column;
        row-gap: 7px;
    }

    .single-match .match-actions .items .item-inner,
    .single-match .match-actions .items .item-inner .player {
        flex-direction: column;
    } 

    .single-tournament .fixture-round-matches .match {
        flex-wrap: wrap;
        border-bottom: 1px solid var(--grey-color);
    }

    .single-tournament .fixture-round-matches .match .date {
        font-weight: 600;
        flex-shrink: 0;
        margin-bottom: 3px;
        width: 100%;
    }
}


@media only screen and (max-width : 420px) {
    .site-header .site-description {
        font-size: 1rem;
        margin-left: 12px;
    }
}
