/*
Theme Name: Folie lichida
Description: Tema site-ului Folie Lichida.
Version: 1.0.0
Text Domain: folie-lichida
*/

:root {
    --blue: #2ea3f2;
    --wide: 1200px;
    --ink: #333;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: #666; background: #fff; font: 500 14px/1.7 "Open Sans", Arial, sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { max-width: var(--wide); margin: 0 auto; padding: 0; box-shadow: 0 0 8px #0002; }
.wp-site-blocks > * { margin-block: 0; }
.site-header { position: sticky; z-index: 20; top: 0; }
.top-bar { background: var(--blue); color: #fff; }
.top-bar .header-inner { display: flex; align-items: center; gap: .75rem; min-height: 31px; font-size: 13px; }
.top-bar a { color: inherit; }
.main-header { background: #fff; border-bottom: 1px solid #e8e8e8; }
.header-inner { position: relative; width: 90%; max-width: 1080px; margin: auto; }
.main-header .header-inner { min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { width: 201px; vertical-align: middle; }
.primary-navigation { display: flex; align-items: center; gap: 18px; }
.site-menu, .sub-menu { list-style: none; padding: 0; margin: 0; }
.site-menu { display: flex; align-items: center; gap: 24px; }
.site-menu li { position: relative; }
.site-menu a { display: block; padding-block: 12px; font-weight: 700; }
.site-menu > .menu-item-has-children > a::after { content: '⌄'; padding-left: 5px; }
.site-menu > li > .sub-menu { top: 100%; left: -1rem; }
.sub-menu { display: none; position: absolute; top: 0; left: 100%; width: 240px; padding: 12px 0; background: #fff; border-top: 3px solid var(--blue); box-shadow: 0 3px 7px #0002; }
.site-menu .sub-menu a { padding: .35rem 1.2rem; }
.site-menu li:hover > .sub-menu, .site-menu li:focus-within > .sub-menu { display: block; }
.submenu-toggle, .menu-toggle { display: none; }
.search-toggle { position: relative; border: 0; background: none; width: 21px; height: 24px; color: var(--blue); }
.search-toggle::before { content: ''; position: absolute; bottom: 8px; right: 3px; width: 11px; height: 11px; border: 1.5px solid; border-radius: 100%; }
.search-toggle::after { content: ''; position: absolute; bottom: 5px; right: 12px; width: 7px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.site-search { position: absolute; top: 100%; right: 0; padding: 1rem; background: #fff; box-shadow: 0 3px 8px #0002; }
.site-main { min-height: 60vh; }
.entry-list { width: 90%; max-width: 1080px; margin: auto; padding-block: 2rem; }
.entry-list ul.wp-block-post-template { padding: 0; margin: 0; list-style: none; }
.site-footer { color: #aaa; background: #222; }
.site-footer a { color: inherit; }
.footer-inner { width: 90%; max-width: 1080px; margin: auto; min-height: 54px; display: flex; align-items: center; gap: .3em; }

.site-main h1, .site-main h2, .site-main h3, .site-main h4 { color: var(--ink); margin: 0; padding-bottom: 10px; line-height: 1.15; }
.site-main h1 { font-size: 30px; }
.site-main h2 { font-size: 26px; }
.site-main h3 { font-size: 22px; }
.site-main h4 { font-size: 18px; }
.site-main p { margin: 0; padding-bottom: 1em; }
.site-main p:last-child { padding-bottom: 0; }
.site-main ul, .site-main ol { margin-block: 0; padding-bottom: 1em; }
.et_pb_section { position: relative; width: 100%; padding: 40px 0; background-color: #fff; }
.et_pb_row { display: flex; gap: 5.5%; justify-content: space-between; width: 90%; max-width: var(--wide); margin: 0 auto; padding: 2.25% 0; }
.et_pb_row .et_pb_column { position: relative; min-width: 0; }
.et_pb_column_4_4 { width: 100%; }
.et_pb_column_3_4 { width: 73.625%; }
.et_pb_column_2_3 { width: 64.833%; }
.et_pb_column_1_2 { width: 47.25%; }
.et_pb_column_1_3 { width: 29.667%; }
.et_pb_column_1_4 { width: 20.875%; }
.et_pb_gutters1 { gap: 0; }
.et_pb_gutters1 .et_pb_column_1_3 { width: 33.333%; }
.et_pb_module { position: relative; }
.et_pb_module + .et_pb_module { margin-top: 1.4rem; }
.et_pb_text_align_center { text-align: center; }
.et_pb_text_align_left { text-align: left; }
.et_pb_blurb_container { max-width: 100%; }
.et_pb_blurb .et_pb_main_blurb_image { text-align: center; line-height: 0; }
.et_pb_blurb .et_pb_blurb_description { line-height: inherit; }
.et_pb_image .et_pb_image_wrap { display: inline-block; line-height: 0; max-width: 100%; }
.page-id-248 .et_pb_text_0 h2 { font: 700 42px/1.15 Montserrat, Arial, sans-serif; text-transform: uppercase; }
.page-id-248 .et_pb_blurb_description p { text-align: justify; }
.et_pb_gallery_items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4%; }
.et_pb_gallery_item img { display: block; width: 100%; }
.et_overlay { display: none; }
.et_pb_gallery_item h3 { font-size: 14px; padding-top: .5rem; }
.gallery-pagination { margin-top: 1.5rem; text-align: right; border-top: 1px solid #ddd; }
.gallery-pagination button { border: 0; background: transparent; padding: .5rem; color: #666; }
.gallery-pagination button[aria-current="page"] { color: var(--blue); font-weight: 700; }
.gallery-preview { max-width: 94vw; padding: 1rem; color: white; background: #111; border: 0; }
.gallery-preview::backdrop { background: #000c; }
.gallery-preview[open] { display: flex; align-items: center; gap: 1rem; }
.gallery-preview img { max-width: min(76vw, 1050px); max-height: 80vh; object-fit: contain; }
.gallery-preview button { color: #fff; background: none; border: 0; font-size: 1.8rem; }
.gallery-preview button:first-child { position: absolute; top: 0; right: .15rem; }
.fluid-width-video-wrapper { position: relative; width: 100%; }
.fluid-width-video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.et_pb_video_slider .et_pb_slide { margin: 0; padding: 0; background-color: #161616; }
.et_pb_video_overlay, .et_pb_carousel, .et_pb_video_slider .et-pb-slider-arrows { display: none; }
.video-thumbnails { display: flex; justify-content: center; gap: .25rem; background: #171717; overflow-x: auto; }
.video-thumbnails button { min-width: 70px; max-width: 160px; padding: 0; border: 2px solid transparent; background: transparent; color: white; }
.video-thumbnails button[aria-pressed="true"] { border-color: var(--blue); }
.video-thumbnails img { display: block; }
.wpcf7 input:not([type="submit"]), .wpcf7 textarea { width: 100%; max-width: 100%; border: 1px solid #bbb; padding: .45rem; }
.wpcf7 input[type="submit"] { padding: .35rem .85rem; }

@media (max-width: 980px) {
    .main-header .header-inner { min-height: 75px; }
    .site-logo img { width: min(185px, 55vw); }
    .menu-toggle { display: block; padding: .2rem .4rem; border: 0; color: var(--blue); background: transparent; font-size: 26px; }
    .primary-navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: .7rem 1rem; background: white; border-top: 3px solid var(--blue); box-shadow: 0 2px 6px #0003; max-height: 72vh; overflow-y: auto; }
    .primary-navigation.is-open { display: block; }
    .site-menu { display: block; }
    .site-menu a { padding: .55rem 2rem .55rem .5rem; border-bottom: 1px solid #eee; }
    .site-menu > .menu-item-has-children > a::after { content: none; }
    .site-menu .sub-menu, .site-menu li:hover > .sub-menu, .site-menu li:focus-within > .sub-menu { top: auto; left: auto; position: static; width: auto; margin-left: .5rem; padding: 0; display: none; box-shadow: none; border-top: 0; }
    .site-menu li > .sub-menu.is-open { display: block; }
    .submenu-toggle { display: block; position: absolute; top: .15rem; right: .2rem; background: transparent; border: 0; color: var(--blue); font-size: 20px; }
    .et_pb_section { padding: 30px 0; }
    .et_pb_row { display: block; padding-block: 20px; }
    .et_pb_row > .et_pb_column { width: 100% !important; margin: 0 0 24px; }
    .et_pb_row > .et_pb_column:last-child { margin-bottom: 0; }
    .et_pb_gallery_items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-id-248 .et_pb_text_0 h2 { font-size: clamp(26px, 5vw, 42px); }
}
/* Keep imported content visible without its former animation engine. */.site-main .et_animated { opacity: 1 !important; transform: none !important; visibility: visible !important; }.site-header p:empty, .site-header .header-inner > br { display: none; }.page-id-248 .et_pb_text_0 h2 { line-height: 1.3; }
 .site-main img.aligncenter { display:block; margin-inline:auto; } .main-header .primary-navigation { margin-left:auto; } @media (max-width:980px) { .wp-site-blocks { width:90%; } .top-bar .header-inner { justify-content:center; } .top-bar .header-inner > :nth-child(n+3) { display:none; } .main-header .header-inner { width:88%; min-height:79px; } .site-logo img { width:130px; } .main-header .header-inner > .search-toggle { position:absolute; right:40px; } .page-id-248 .et_pb_section_0 { padding-block:39px 40px; } .page-id-248 .et_pb_row_0 { padding-block:30px; margin-bottom:40px; } .page-id-248 .et_pb_text_0, .page-id-248 .et_pb_text_1, .page-id-248 .et_pb_blurb { font:500 16px/1.8 Montserrat,Helvetica,Arial,sans-serif; color:#747d88; } .page-id-248 .et_pb_text_0 h2 { font-size:42px; } .page-id-248 .et_pb_text_0 { margin-bottom:29.6875px; } .page-id-248 .et_pb_text_0 + .et_pb_text_1 { margin-top:0; } .page-id-248 .et_pb_row:not(.et_pb_row_0) { width:100%; padding-block:0; } .page-id-248 .et_pb_blurb { padding:30px; } }
.contact-map{display:block;width:100%;height:700px;border:0}.contact-website-field{display:none!important}@media(max-width:980px){.main-header .header-inner>.menu-toggle{position:absolute;right:0}.main-header .header-inner>.search-toggle{right:46px}.contact-map{height:420px}}

 .main-header .header-inner>p:has(>button.search-toggle){display:contents;margin:0} @media(max-width:980px){.main-header .header-inner button.search-toggle{position:absolute;right:47px;top:50%;transform:translateY(-50%)}}
