/*
Theme Name: SoundGlobe
Description: Own classic theme for soundglobe.hu, core APIs only.
Version: 1.0.0
Requires at least: 7.0
Requires PHP: 8.1
Text Domain: soundglobe
*/

@font-face{font-family:Quicksand;font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/quicksand-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Quicksand;font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/quicksand-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Quicksand;font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/quicksand-600-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Quicksand;font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/quicksand-600-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Quicksand;font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/quicksand-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Quicksand;font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/quicksand-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --c0:#046bd2;--c1:#045cb4;--c2:#1e293b;--c3:#334155;--c4:#fff;--c5:#f0f5fa;--c7:#d1d5db;
  --brand:linear-gradient(135deg,#0b132b 0%,#2d1ccf 100%);
  --heading:Verdana,Helvetica,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{font-size:100%;-webkit-text-size-adjust:100%}
body{margin:0;font-family:Quicksand,Arial,Helvetica,sans-serif;font-weight:400;font-size:1rem;line-height:1.65;color:var(--c3);background:var(--c5);overflow-x:hidden}
body.no-sidebar{background:var(--c4)}
img{max-width:100%;height:auto;border:0}
a{color:var(--c0);text-decoration:none}
a:hover,a:focus{color:var(--c1)}
.entry-content a{text-decoration:underline}
h1,h2,h3,h4,h5,h6{color:var(--c3);font-family:var(--heading);font-weight:700;margin:0 0 .6em}
h1{font-size:2.25rem;line-height:1.4em}
h2{font-size:1.875rem;line-height:1.3em}
h3{font-size:1.5rem;line-height:1.3em}
h4{font-size:1.25rem;line-height:1.2em}
h5{font-size:1.125rem;line-height:1.2em}
h6{font-size:1rem;line-height:1.25em}
p{margin:0 0 1.75em}
ul,ol{margin:0 0 1.5em;padding-left:1.25em}
table{border-collapse:collapse;width:100%}
td,th{border:1px solid var(--c7);padding:.5em .75em}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}

/* header */
.site-header{background:var(--brand);border-bottom:1px solid var(--c7)}
.header-inner{padding:0 40px;display:flex;align-items:center;justify-content:space-between;min-height:80px}
.site-branding{flex:0 0 560px}
.site-branding .custom-logo{display:block;width:560px;max-width:100%;height:auto}
.site-title{color:#fff;font-size:1.625rem;font-weight:700}
.primary-nav{flex:0 0 589px;margin-left:51px}
.nav-toggle{position:absolute;opacity:0;pointer-events:none}
.nav-burger{display:none;cursor:pointer}
.main-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;column-gap:32px}
.main-menu li{line-height:80px;height:80px}
.main-menu a{color:#fff;font-size:15px;display:inline-block}
.main-menu a:hover,.main-menu a:focus{color:#b388ff}
.burger{display:block;width:22px;height:2px;background:var(--c0);box-shadow:0 7px 0 var(--c0),0 -7px 0 var(--c0)}

/* layout */
.container{max-width:1240px;margin:0 auto;padding:0 20px}
body.has-sidebar .container{display:flex;gap:60px;padding-top:64px;padding-bottom:64px;align-items:flex-start}
body.has-sidebar .content-area{flex:1 1 0;min-width:0}
.widget-area{flex:0 0 300px;width:300px}
body.no-sidebar .container{max-width:none;padding:0}
.entry{background:var(--c4)}
.has-sidebar .entry{padding:3em 48px;border-radius:4px}
.entry-meta,.entry-meta a{color:var(--c0);font-size:.8125rem;font-weight:600;line-height:1.45}
.has-sidebar .entry-header{margin-bottom:1.5em}
.entry-content::after{content:"";display:table;clear:both}
.no-sidebar .entry-content{padding:0 40px}
.no-sidebar .entry-content>.alignfull{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);max-width:100vw;width:100vw}
.no-sidebar .entry-content>.alignwide{max-width:1200px;margin-left:auto;margin-right:auto}
.page-thumb{margin:60px 0 32px;overflow:hidden}
.page-thumb img{display:block;width:112.5%;max-width:none;margin-left:-6.25%;height:auto;aspect-ratio:16/9;object-fit:cover}
.entry-content>.wp-block-group{padding-top:0}
.entry-content .wp-block-image img{height:auto}
.entry-content figure{margin:0 0 1.5em}
.wp-block-column figure,.wp-block-group figure{margin-bottom:0}
.wp-block-column>h3[style]+p{margin-top:8px}
.category-image-placeholder{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.entry-content h2 code{font-weight:400}

/* archive */
.archive-header{background:var(--c4);border-radius:4px;padding:3em 48px;margin-bottom:32px}
.archive-title{margin:0 0 .4em;color:var(--c2);font-family:Quicksand,Arial,sans-serif;font-size:1.875rem}
.archive-description{font-size:1rem}
.archive-description p{margin:0}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-bottom:32px}
.card{background:var(--c4);border-radius:6px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.card-image img{display:block;width:100%;aspect-ratio:259/145;object-fit:cover}
.card-body{padding:24px 24px 36px}
.card-cats,.card-cats a{font-size:.875rem;font-weight:600;color:var(--c0)}
.card .entry-title{font-family:Quicksand,Arial,sans-serif;font-size:1.25rem;line-height:1.3;margin:.5em 0 .5em}
.card .entry-title a{color:var(--c2)}
.card .entry-summary{max-height:calc(1.65em * 6 + .75em);overflow:hidden}
.card .entry-summary p{margin:.75em 0 0}
.nav-links,.pagination .nav-links{display:flex;gap:8px;margin-top:2em}
.page-numbers{padding:.3em .8em;background:var(--c4);border-radius:3px}
.page-numbers.current{background:var(--c0);color:#fff}

/* single post navigation */
.post-navigation{margin-top:2em}
.post-navigation .nav-links{justify-content:space-between;margin-top:0}
.post-navigation a{color:var(--c3);text-transform:uppercase;font-size:.8125rem;font-weight:600}
.post-navigation .nav-next{margin-left:auto;text-align:right}
.post-navigation .nav-title{display:block;text-transform:none;font-weight:400}

/* sidebar: single posts show the widgets as white cards */
body.single .container{gap:30px}
body.single .widget-area{flex-basis:330px;width:330px}
body.single .widget{background:var(--c4);padding:2rem;border-radius:4px;margin-bottom:2rem}
body.single .widget h2{margin:1.5rem 0 1.19rem;font-family:var(--heading);font-size:1.7rem;line-height:1.3em}
body.single .widget li{line-height:1.5rem;padding:0;margin-bottom:.75rem}
body.single .widget li:last-child{margin-bottom:0}
body.single .widget h2:first-child{margin-top:0}
body.single .widget_text p{line-height:2}
body.single .widget h2:last-child{margin-bottom:0}
body.single .widget .wp-block-search__label{font-size:14px;font-weight:500;color:var(--c2)}
.single .entry-content>h1{margin-top:1.5em;margin-bottom:1.3rem;color:var(--c2)}
body.single .entry-content h2{margin-top:1.5em;margin-bottom:1.1875rem;color:var(--c2)}
body.single .entry{padding:2.5rem}
body.single .entry-content p{margin-bottom:1.6em}
body.single .entry-content>:last-child{margin-bottom:0}
body.single .entry-content figure.wp-block-image{margin:2rem 0 1rem}
.post-navigation .nav-next a::after{content:" \2192"}

.widget{margin-bottom:14px}
.widget h2{font-family:Quicksand,Arial,sans-serif;font-size:1.625rem;color:var(--c2);margin-bottom:.7em}
.widget ul{list-style:none;margin:0;padding:0}
.widget li{line-height:1.5;padding:6px 0}
.widget .wp-block-latest-posts>li{margin:0}
.widget .wp-block-latest-posts>li>*{margin:0}
.widget .wp-block-search__label{font-size:.8125rem}
.widget .wp-block-search__inside-wrapper{display:flex;gap:10px}
.widget .wp-block-search__input{flex:1 1 auto;min-width:0;padding:0 10px;height:40px;border:1px solid var(--c7);border-radius:4px;background:var(--c4);color:var(--c3);font:inherit}
.wp-block-button__link,.wp-block-search__button,.wp-element-button{background:var(--c0);color:#fff;border:0;border-radius:4px;padding:15px 30px;font:inherit;font-size:1rem;font-weight:500;line-height:1em;cursor:pointer;text-decoration:none}
.entry-content a.wp-block-button__link{text-decoration:none}
.wp-block-button__link:hover,.wp-block-search__button:hover{background:var(--c1);color:#fff}
.widget .wp-block-latest-posts__post-title{font-family:Quicksand,Arial,sans-serif;font-weight:400;color:var(--c0)}
.widget .wp-block-search{margin-bottom:1.5em}

/* block gap of flow and constrained layouts, as core prints it for block themes */
:root :where(.is-layout-flow,.is-layout-constrained)>:first-child{margin-block-start:0}
:root :where(.is-layout-flow,.is-layout-constrained)>:last-child{margin-block-end:0}
:root :where(.is-layout-flow,.is-layout-constrained)>*{margin-block-start:24px;margin-block-end:0}
:root :where(.is-layout-flex,.is-layout-grid){gap:24px}

/* palette classes used by the imported pages */
.has-ast-global-color-0-color{color:#046bd2}.has-ast-global-color-0-background-color{background-color:#046bd2}
.has-ast-global-color-1-color{color:#045cb4}.has-ast-global-color-1-background-color{background-color:#045cb4}
.has-ast-global-color-2-color{color:#1e293b}.has-ast-global-color-2-background-color{background-color:#1e293b}
.has-ast-global-color-3-color{color:#334155}.has-ast-global-color-3-background-color{background-color:#334155}
.has-ast-global-color-4-color{color:#fff}.has-ast-global-color-4-background-color{background-color:#fff}
.has-ast-global-color-5-color{color:#f0f5fa}.has-ast-global-color-5-background-color{background-color:#f0f5fa}
.has-ast-global-color-6-color,.has-ast-global-color-8-color{color:#111}.has-ast-global-color-6-background-color,.has-ast-global-color-8-background-color{background-color:#111}
.has-ast-global-color-7-color{color:#d1d5db}.has-ast-global-color-7-background-color{background-color:#d1d5db}
.no-sidebar .entry-content>.alignfull{padding-left:48px;padding-right:48px}
.no-sidebar .entry-content>.wp-block-group{padding-top:48px;padding-bottom:48px}
.no-sidebar .entry-content>.wp-block-group:not(.alignfull){padding-left:48px;padding-right:48px}
.entry-content ul.wp-block-latest-posts{margin:15px 0}
.entry-content .wp-block-latest-posts>li>:first-child{margin-top:0}
.no-sidebar .entry-content>.wp-block-cover{padding:48px}
.entry-content .wp-block-media-text{margin-left:0!important;margin-right:0!important}

/* block layout rules of the former pages */
.wp-block-columns{margin-bottom:0}
.wp-container-core-columns-is-layout-fa703c11{flex-wrap:nowrap;gap:40px}
.wp-container-core-columns-is-layout-23cffd99,.wp-container-core-columns-is-layout-7387b849{flex-wrap:nowrap}
.wp-container-core-columns-is-layout-be1b85cf{flex-wrap:nowrap;gap:80px}
.wp-container-core-buttons-is-layout-5efe3877{justify-content:center}
.wp-block-latest-posts{list-style:none;margin:0;padding:0}
.entry-content .wp-block-latest-posts{font-size:15px}
.entry-content .wp-block-latest-posts__post-title{font-family:Quicksand,Arial,sans-serif;font-weight:400;color:var(--c0);text-decoration:none}
.wp-block-latest-posts__post-date,.wp-block-latest-posts__post-author{font-size:1rem}
.entry-content .wp-block-latest-posts>li>*{margin-top:12px;margin-bottom:12px}
.wp-block-latest-posts__featured-image a{display:block}
.wp-block-latest-posts__featured-image img{display:block;max-width:520px;max-height:300px;width:auto;height:auto}
.wp-block-cover .wp-block-cover__inner-container{color:#fff}

.bg-light-alt{background-color:#f5f3ff}
.bg-gradient-brand{background:linear-gradient(135deg,#0b132b 0%,#2d1ccf 100%)}
.bg-gradient-brand h2,.bg-gradient-brand p,.bg-gradient-brand a{color:#fff}
.no-sidebar .entry-header{padding:0 40px}

/* footer */
.site-footer{background:var(--c4);border-top:1px solid var(--c7);padding:23.5px 0;min-height:60px;display:flex;align-items:center}
.footer-inner{max-width:1200px;margin:0 auto;padding:0 20px;text-align:center;width:100%}
.footer-inner p{margin:0}

@media (max-width:921px){
  .header-inner{min-height:120px;padding:0 20px;position:relative}
  .site-branding{flex:0 0 auto}
  .site-branding .custom-logo{width:255px}
  .primary-nav{flex:0 0 auto;margin-left:0}
  .nav-burger{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:42px;height:42px;padding:10.944px;border-radius:2px}
  .nav-toggle:checked+.nav-burger{outline:1px dotted var(--c0);outline-offset:0}
  .main-navigation{display:none;position:absolute;left:0;right:0;top:100%;background:var(--c4);z-index:20;padding:0;border-bottom:1px solid var(--c7)}
  .nav-toggle:checked~.main-navigation{display:block}
  .main-menu{display:block}
  .main-menu li{line-height:45px;height:45px}
  .main-menu a{display:block;padding:0 20px;color:var(--c3)}
  .main-menu a:hover,.main-menu a:focus,.main-menu .current-menu-item>a,.main-menu .current_page_item>a{color:var(--c0)}
  .main-menu .current-menu-item,.main-menu .current_page_item{background:#eff3f7}
  .nav-toggle:checked+.nav-burger .burger{box-shadow:none;background:transparent}
  .nav-toggle:checked+.nav-burger .burger::before,.nav-toggle:checked+.nav-burger .burger::after{content:"";position:absolute;left:3px;top:0;width:16px;height:1.5px;background:var(--c0)}
  .nav-toggle:checked+.nav-burger .burger::before{transform:rotate(45deg)}
  .nav-toggle:checked+.nav-burger .burger::after{transform:rotate(-45deg)}
  .nav-burger .burger{position:relative}
  body.has-sidebar .container{display:block;padding:60px 8px 40px}
  .widget-area{width:auto;margin-top:2em}
  .has-sidebar .entry,.archive-header,body.single .entry{padding:1.5em 1em}
  .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wp-block-columns{flex-wrap:wrap}
}
@media (max-width:544px){
  html{font-size:91.6%}
}
@media (max-width:600px){
  .card-grid{grid-template-columns:1fr}
  h1{font-size:1.75rem}
  h2{font-size:1.5rem}
  body.single .entry-content>h1{font-size:1.875rem}
  body.single .entry-content h2{font-size:1.5625rem}
  body.single .widget-area{flex-basis:auto;width:auto}
  body.single .widget{padding:2rem 1rem;margin-bottom:1.5rem}
  .no-sidebar .entry-content{padding:0 20px}
}

/* plain pages */
body.page:not(.home) .entry-title{font-size:2rem;font-weight:600;line-height:1.2;margin-bottom:1.5rem;color:var(--c2)}
body.page:not(.home) .entry-header{margin-bottom:0}
body.page:not(.home) .entry-content>:last-child{margin-bottom:0}
body.page:not(.home).no-sidebar .site-main{padding-bottom:60px}
body.page:not(.home) .entry-content p{margin-bottom:1.6em}
body.page:not(.home) .entry-content h2{margin-bottom:1.25rem;color:var(--c2)}
