.article__cover {
    display: none;
}

.homepage-static-content {
    order: -1;
}

@media (max-width: 1199.98px) {
    .header__logo img {
        max-height: 47px;
    }

    .header__middle .page-wrapper .header__logo img {
        height: 47px;
    }
}


@media (min-width: 1200px) {
    .header__logo img {
        max-height: 71px;
    }
    .header__middle .page-wrapper .header__logo img {
        height: 71px;
    }
}

.theme-lagoon .footer__tender-images,
.theme-lightguide .footer__tender-images {
    margin-top: 25px;
}

.footer__tender-images {
    text-align: center;
}

.footer__tender-text {
    font-weight: 500;
}

.footer__tender-images img {
    max-height: 141px;
    width: auto;
    max-width: calc(100% - 50px);
    margin: 25px;
}

.akt-wrap {
    background: #fff;
    padding: 40px 0;
}

.akt-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
}

.akt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0 auto;
    counter-reset: aktBoxCounter;
}

/* Modifiers: use akt-grid--3 for a 3-box row, akt-grid--6 for a 3x2 grid. */
.akt-grid.akt-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.akt-grid.akt-grid--6 {
    grid-template-columns: repeat(3, 1fr);
}

.akt-box {
    position: relative;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 40px 20px 28px;
    margin-bottom: 1em !important;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.akt-box::before {
    counter-increment: aktBoxCounter;
    content: counter(aktBoxCounter, decimal-leading-zero);
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: #181615;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
}

.akt-box-link {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 2px;
  border-bottom: 2px solid #181615;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #181615;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.akt-box-link:hover {
  opacity: 0.6;
}

.akt-box:last-child {
    margin-bottom: 1em;
}

.akt-box:hover {
    transform: translateY(-6px);
    border-color: #d5d5d5;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.akt-box-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.akt-box-text {
    font-size: 17px;
    line-height: 1.5;
    color: #666;
}

.akt-wrap .akt-box {
    z-index: 0;
}

.akt-wrap .akt-box {
    z-index: 0;
    display: flex;
    flex-direction: column;
}

.akt-wrap .akt-box::after {
    content: "";
    position: absolute;
    inset: -20px;
    clip-path: inset(20px round 10px);
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    opacity: 0.35;
    transition: filter 0.4s ease, opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.akt-wrap .akt-box:hover::after {
    filter: blur(0);
    opacity: 0.9;
}

.akt-wrap .akt-box:nth-child(1)::after {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://baar.hu/tenancy/assets/manager/files/mobile-bar/tommao-wang-fwz4iqkmrhg-unsplash.png');
}

.akt-wrap .akt-box:nth-child(2)::after {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://baar.hu/tenancy/assets/manager/files/541430847-1085156763818484-4721128301063473515-n.jpg');
}

.akt-wrap .akt-box:nth-child(3)::after {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://baar.hu/tenancy/assets/manager/files/baar-school/baar-school1.jpg');
}

.akt-wrap .akt-box:nth-child(4)::after {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://baar.hu/tenancy/assets/manager/files/mobile-bar/geert-pieters-eg1r6bn-ece-unsplash.png');
}

.akt-wrap .akt-box:nth-child(5)::after {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://baar.hu/tenancy/assets/manager/files/baar-school/baar-school2.jpg');
}

.akt-wrap .akt-box:nth-child(6)::after {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://baar.hu/tenancy/assets/manager/files/mobile-bar/lots-of-fruits.jpg');
}

.akt-wrap .akt-box-title,
.akt-wrap .akt-box-text,
.akt-wrap .akt-box-link {
    color: #000000;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.akt-wrap .akt-box-link {
    border-bottom-color: #000000;
    margin-top: auto;
    font-size: 15px;
}

.akt-wrap .akt-box:hover .akt-box-title {
    color: #ffffff;
}

.akt-wrap .akt-box:hover .akt-box-text {
    color: rgba(255, 255, 255, 0.85);
}

.akt-wrap .akt-box:hover .akt-box-link {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {

    .akt-grid,
    .akt-grid.akt-grid--6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .akt-grid.akt-grid--3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .akt-grid,
    .akt-grid.akt-grid--6 {
        grid-template-columns: 1fr;
    }
}

/* ---------- Text blocks ---------- */

.plain-text .bsPlainDivider {
    border: none;
    height: 1px;
    background: #e3e8ee;
    margin: 40px auto;
    max-width: 900px;
}

.plain-text .bsPlainSectionHeading {
    position: relative;
    margin: 50px 0 24px;
    padding-bottom: 16px;
    font-size: 26px;
    font-weight: 700;
    color: #181615;
    text-align: center;
}

.plain-text .bsPlainSectionHeading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 3px;
    background: #181615;
    transform: translateX(-50%);
}

.plain-text .bsPlainEyebrow {
    margin: 50px 0 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #919191;
    text-align: center;
}

.plain-text .bsPlainSubheading {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 700;
    color: #181615;
    text-align: center;
}

.plain-text .bsPlainLeadText {
    max-width: 720px;
    margin: 0 auto 16px;
    font-size: 18px;
    line-height: 1.7;
    color: #181615;
    text-align: center;
}

.plain-text .bsPlainBodyText {
    max-width: 720px;
    margin: 0 auto 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #666666;
    text-align: center;
}

.plain-text .bsPlainQuote {
    position: relative;
    max-width: 700px;
    margin: 24px auto;
    padding: 24px 32px;
    background: #f7f7f7;
    border-left: 4px solid #181615;
    font-size: 17px;
    font-style: italic;
    line-height: 1.6;
    color: #333333;
}

.plain-text .bsPlainQuote::before {
    content: "\201C";
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
    font-size: 48px;
    color: #cfcfcf;
}

/* ---------- Closing call-to-action panel ---------- */

.plain-text .bsPlainCtaBox {
    max-width: 820px;
    margin: 60px auto 48px;
    padding: 56px 40px;
    background: #181615;
    border-radius: 12px;
    text-align: center;
}

.plain-text .bsPlainCtaBox .bsPlainCtaHeading {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 16px;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.plain-text .bsPlainCtaBox .bsPlainCtaHeading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 3px;
    background: #ffffff;
    transform: translateX(-50%);
}

.plain-text .bsPlainCtaBox .bsPlainCtaText {
    max-width: 600px;
    margin: 0 auto 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #c9c9c9;
    text-align: center;
}

.plain-text .bsPlainCtaBox .bsPlainCtaText strong {
    color: #ffffff;
}

.plain-text .bsPlainCtaBox .bsPlainCtaNote {
    display: inline-block;
    margin: 28px auto 0;
    padding: 14px 40px;
    background: #ffffff;
    color: #181615;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
    .plain-text .bsPlainSectionHeading {
        font-size: 22px;
    }

    .plain-text .bsPlainSubheading {
        font-size: 20px;
    }

    .plain-text .bsPlainLeadText {
        font-size: 16px;
    }

    .plain-text .bsPlainQuote {
        padding: 20px 22px;
        font-size: 15px;
    }

    .plain-text .bsPlainCtaBox {
        padding: 40px 20px;
    }

    .plain-text .bsPlainCtaBox .bsPlainCtaHeading {
        font-size: 22px;
    }
}