/*
 * Theme Name:     BlockMagazine Child
 * Author:         Dannci &amp; Themnific
 * Template:       blockmagazine
 * Text Domain:	   blockmagazine-child
 * Description:    Blog WordPress Theme.
 */
@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:ital,wght@0,400..700;1,400..700&display=swap');
.familjen-grotesk-bold {
    font-family: "Familjen Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.tmnf_masonry {
    max-width: 2560px;
    margin: 0;
}
.tmnf_masonry .Bigger {
    width: 75%;
}
.item_full img, .tmnf_masonry .item {
    border: none;
}
.aside_inn p {
    margin: 0;
}
/*.aside_inn {position: relative;}*/
.aside_inn .title {
    position: absolute;
    text-transform: uppercase;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}
.tmnf_masonry .item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 10px solid #000;
}
.aside_inn .title h2 {
    font-size: clamp(60px, 6vw, 156px);
    line-height: 0.95;
}
.image_css_desaturate img:not(.this_is_logo):not(.tmnf_hero_img) {
    filter: none;
    -webkit-filter: none;
}
.bigger-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding: 10px;
}
.bigger-content h2 {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(28px, 5vw, 180px);
    line-height: 0.95;
}
.bigger-content .caption-text {
    font-size: clamp(16px, 3vw, 44px);
    letter-spacing: 4px;
    line-height: 1.25;
    max-width: 1200px;
    margin: 0 auto;
}
.item_inner_title {
    position: absolute;
    top: 55px;
    left: 55px;
}
.item_inner_content {
    position: absolute;
    bottom: 55px;
    left: 55px;
    font-size: clamp(20px, 2.2vw, 34px);
    text-transform: uppercase;
}
.item_inner_title h2 {
    margin: 0;
    font-size: clamp(40px, 4vw, 106px);
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -3px;
}
.item_full {
    transition: transform 0.4s ease;
}
.item_full:hover {
    transform: scale(1.05);
}
.item_full.map-container:hover {
    transform: scale(1);
}
.item_full.works:hover {
    transform: scale(1);
}
.works .item_inner .item_inner_title, .works .item_inner .item_inner_content {
    position: unset;
    top: unset;
    left: unset;
}
.works .item_inner {
    position: absolute;
    background-color: #D8F20B;
    padding: 20px;
    left: 25px;
    bottom: 0px;
    transform: translateY(350px);
    transition: transform 0.4s ease;
    max-width: 92%;
}
.item_full.works:hover .item_inner {
    transform: translateY(0) scale(1);
}
.item_full.works > a > img {
    filter: grayscale(100%) !important;
}
.tmnf_masonry .Horizontal.big, .tmnf_masonry .Map {
    width: 75%;
}
.Horizontal.big .item_inner_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}
.Horizontal.big .item_inner_title h2 {
    display: inline-block;
    color: #ffffff;
}
.tmnf_masonry .Horizontal.one-third {
    width: 37.5%;
}
.tmnf_masonry .grid-sizer {
    width: 12.5%;
    height: 0;
}
.item_full.works img {}
.contact-box {
    line-height: normal;
    padding-bottom: 20px;
}
.contact-title {
    font-size: 24px;
}
.contact-link {
    font-size: 22px;
}
.tmnf_foocol.first {
    width: 100%;
}
#footer .tmnf_container {
    padding: 0 30px 20px;
}
#footer .tmnf_container .tmnf_foocol.first {
    background-color: #d8f20b;
    text-align: center;
}
#footer .tmnf_container .tmnf_foocol.first p {
    font-size: clamp(40px, 4vw, 90px) !important;
    text-transform: uppercase !important;
    line-height: normal !important;
}
.equals-icon {
    width: 80px; /* ikon mérete */
    height: 80px;
    background: #d9ff00; /* sárga/zöld kör */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px; /* a két vonal távolsága */
    position: relative;
    z-index: 999;
    cursor: pointer;
    transition: background 0.3s ease;
}
.equals-icon span {
    width: 45px; /* vonalak hossza */
    height: 6px; /* vonalak vastagsága */
    background: #000;
    transition: all 0.3s ease;
}
.equals-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.equals-icon.active span:nth-child(2) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.equals-icon.active {
    background: #000000;
}
.equals-icon.active span {
    background: #d9ff00;
}
.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 25px;
}
.logo-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.logo-box .logo {
    max-width: 270px;
}
#navigation {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
    transform: translateX(105%);
    transition: transform 750ms ease;
    will-change: transform;
    height: 100%;
    background-color: #000;
    padding-right: 60px;
}
#navigation.show {
    transform: translateX(0);
}
#main-nav {
    display: flex;
    justify-content: space-around;
}
.nav > li > a, .tmnf_respo_magic #navigation a {
    font-size: 40px !important;
}
#main-nav > li > a {
    padding: 0 !important;
}
#main-nav > li, .menu_items_7 #main-nav > li {
    display: flex;
    justify-content: center;
    align-items: center;
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
    will-change: transform, opacity;
}
#header.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
body.has-sticky-header {
    padding-top: 0px; /* állítsd a header magasságához */
}
.map-box {
    position: relative;
    width: 300px;
    height: 300px;
}
.map-box img {
    position: absolute;
    top: 0;
    left: 0;
}
.imgl-tooltip-form {
    padding: 0 !important;
}
.hover {
    position: absolute;
    padding: 5px;
    max-width: 60%;
    background-color: #D8F20B;
    bottom: 0;
    left: 10px;
}
.map-name {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.item_full.white .item_inner_title h2, .item_full.white .item_inner_content .tmnf_excerpt p, .item_full.white .item_inner_content .contact-title, .item_full.white .item_inner_content a {color: #ffffff;}
a:hover {color: #1C1AAD !important;}


@media only screen and (max-width: 1650px) {
	.item_inner_title {top: 25px; left: 25px;}
	.item_inner_title h2 {font-size: clamp(40px, 3vw, 106px);}
	.item_inner_content {font-size: clamp(20px, 1.5vw, 34px); bottom: 25px; left: 25px;}
	.contact-title {font-size: 18px;}
	.contact-link {font-size: 16px;}
}
@media only screen and (max-width: 1310px) {
    #footer .tmnf_container {
        padding: 0 10px 20px;
    }
}
@media only screen and (max-width: 1155px) {
	#navigation {display: flex !important;}
	.tmnf_masonry .item::after {border: 5px solid #000;}
}
@media only screen and (max-width: 1024px) {
	#main-nav {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
	#main-nav a {text-align: center !important; line-height: normal;}
	#header .menu-container {padding: 70px 0 !important;}
}
@media only screen and (max-width: 885px) {
	.tmnf_masonry .Horizontal.big, .tmnf_masonry .Map {width: 100% !important;}
	.map-box {width: 200px; height: 200px;}
	.map-name {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 5px;
}
	.map-title {font-size: 10px;}
	.equals-icon {    width: 50px;
    height: 50px; gap:5px;}
	.equals-icon span {
    width: 25px;
    height: 4px;
	}
	.equals-icon.active span:nth-child(2) {
    transform: rotate(-45deg) translate(0px, -1px);
}
}
@media only screen and (max-width: 556px) {
    .all.item.Vertical, .all.item.Normal, .all.item.Vertical .item_full, .all.item.Normal .item_full {
        max-height: 500px;
    }
	.logo-box .logo {
    max-width: 150px;
}
}












