.form__item input, .form__item textarea{
  margin-top: 5px;
}

.form__bottom{
  text-align: center;
}

.wpcf7-spinner{
  display: none;
}

.wpcf7 form .wpcf7-response-output{
  border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    max-height: none;
    padding: 0 !important;
}

.faq__inner{
  overflow: hidden;
  padding: 20px;
}

.faq__answer > * {
    min-height: 0;
}

.faq__item.is-open .faq__answer {
    grid-template-rows: 1fr;
}

section.benefits {
    background-color: #f5f5f5;
    padding: 80px 20px;
    border-radius: 5px;
    margin: 0;
}

@media (min-width: 768px) {
    section.benefits .contactbox__cols {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

body:has(.benefits + .section--faq){
  .section--faq{
    margin-top: 0;
  }
}

.CookieDeclarationDialogText,
.CookieDeclarationIntro,
.CookieDeclarationLastUpdated {
    margin: 0 0 16px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
}

.CookieDeclarationType {
    display: block;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
}

.CookieDeclarationTypeHeader {
    font-weight: 700;
    font-size: 16px;
    color: #111;
    margin-bottom: 6px;
}

.CookieDeclarationTypeDescription {
    margin: 6px 0 16px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.CookieDeclarationTable {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #222;
}

.CookieDeclarationTableHeader {
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    background: #f0f0f0;
    border-bottom: 2px solid #ccc;
    color: #111;
}

.CookieDeclarationTableCell {
    text-overflow: ellipsis;
    word-wrap: break-word;
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
    color: #333;
    line-height: 1.5;
}

.CookieDeclarationTable tr:last-child .CookieDeclarationTableCell {
    border-bottom: none;
}

.CookieDeclarationTable tr:hover td {
    background: #f9f9f9;
}

#CookieDeclarationUserStatusLabelConsentId {
    text-overflow: ellipsis;
    word-wrap: break-word;
    font-size: 13px;
    color: #555;
}

@media all and (max-width: 600px) {
    .CookieDeclaration table.CookieDeclarationTable tr td:nth-child(n+5),
    .CookieDeclaration table.CookieDeclarationTable tr th:nth-child(n+5),
    .CookieDeclaration table.CookieDeclarationTable colgroup col:nth-child(n+5) {
        display: none;
    }
}

@media(max-width: 767px){
  .CookieDeclarationType{
    overflow: auto;
  }

  .CookieDeclarationTable{
    min-width: 700px;
  }
}

.wpcf7-not-valid-tip{
  font-size: 14px;
}

.form__item label:has(.wpcf7-not-valid-tip) input{
  border-color: red;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-card__img {
    display: block;
    overflow: hidden;
}

.post-card__img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card__img img {
    transform: scale(1.04);
}

.post-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card__date {
    font-size: 13px;
    color: #FBC41C;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-card__title {
    font-size: 20px;
    margin: 0 0 12px;
    line-height: 1.4;
    font-weight: 700;
}

.post-card__title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.post-card__title a:hover {
    color: #005E51;
}

.post-card__excerpt {
    font-size: 15px;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.6;
    flex: 1;
}

.post-card .btn {
    align-self: flex-start;
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 2px solid #005E51;
    border-radius: 4px;
    color: #005E51;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #005E51;
    color: #fff;
}

@media (max-width: 900px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

.hero__box .btn{
  margin: 20px 0;
}

.article {
    max-width: 800px;
    margin: 0 auto;
}

.article > .in{
  width: 100%;
}

@media(max-width: 767px){
  .article{
    padding: 0 20px;
  }
}

.article__title {
    margin-bottom: 16px;
}

.article__meta {
    color: #FBC41C;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f0f0;
}

.article__content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.article__content h2 {
    font-size: 1.8em;
    color: #005E51;
    margin: 40px 0 16px;
}

.article__content h3 {
    font-size: 1.4em;
    color: #005E51;
    margin: 32px 0 12px;
}

.article__content p {
    margin-bottom: 20px;
}

.article__content ul,
.article__content ol {
    margin: 0 0 20px 20px;
}

.article__content ul li,
.article__content ol li {
    margin-bottom: 8px;
}

.article__content strong {
    color: #111;
}

.article__content a {
    color: #005E51;
    text-decoration: underline;
}

.article__content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 24px 0;
}

.article__content blockquote {
    border-left: 4px solid #FBC41C;
    padding: 16px 24px;
    margin: 32px 0;
    background: #f9f9f9;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #444;
}

.edit {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.edit a {
    color: #005E51;
    font-size: 14px;
}

.image-content__editor p{
  font-size: 18px;
  font-weight: 400;
}

.article__content table,
.image-content table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  font-size: 15px;
}

.article__content thead tr,
.image-content table thead tr {
  background-color: #1a5c3a;
}

.article__content thead th,
.image-content table thead th {
  padding: 14px 18px;
  color: #f0c040;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article__content tbody tr,
.image-content table tbody tr {
  background-color: #ffffff;
  border-bottom: 1px solid #e2ede7;
  transition: background 0.15s;
}

.article__content tbody tr:nth-child(even),
.image-content table tbody tr:nth-child(even) {
  background-color: #f4faf6;
}

.article__content tbody tr:hover,
.image-content table tbody tr:hover {
  background-color: #e6f4ec;
}

.article__content tbody td,
.image-content table tbody td {
  padding: 12px 18px;
  color: #1a2e22;
}

.article__content tbody td:first-child,
.image-content table tbody td:first-child {
  font-weight: 600;
  color: #1a5c3a;
}

@media(max-width: 767px){
  .article__content table,
  .image-content table{
    font-size: 11px;
  }

  .image-content__editor p{
    font-size: 16px;
  }
}

.header__logo{
  max-width: 200px;
}

/* Submenu */
.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav ul li {
    position: relative;
}

.header-nav ul li a {
    display: block;
    padding: 6px 10px;
    text-decoration: none;
    font-size: 16px;
}

.header-nav ul li ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 6px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 999;
}

.header-nav ul li ul li a {
  color: #000;
}

.header-nav .current_page_parent.current_page_ancestor > a,
.header-nav .current-menu-item.page_item > a{
  color: #fff;
}

.header-nav ul ul .current-menu-item a{
  color: #FBC41C;
}

.header-nav ul li ul li a:hover {
  color: #FBC41C;
}

@media (min-width: 1025px) {
    .header-nav ul li:hover > ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.header-nav ul li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-nav ul li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.header-nav ul li.menu-item-has-children.is-open > a::after {
    transform: rotate(-135deg) translateY(-2px);
}

@media (max-width: 1024px) {
    .header-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .header-nav ul li.menu-item-has-children > a::after{
      display: none !important;
    }

    .header-nav ul li ul {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        max-height: 0;
        overflow: hidden;
        display: block;
        transition: max-height 0.3s ease;
    }

    .header-nav ul li.is-open > ul {
        max-height: 600px;
    }

    .header-nav ul li ul li a {
        padding-left: 32px;
        background: rgba(0,0,0,0.03);
    }
}

.breadcrumbs{
  color: #fff;
  margin: 0 0 30px 0;
}

.article .breadcrumbs{
  color: var(--text-color-default);
}

.wrapper > *:not(.section):not(.hero) {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-group__inner-container h2,
.wrapper > h2,
.image-content__editor h2 {
    font-size: 2em;
    margin-top: 60px;
    line-height: 1.4;
}

.wp-block-group__inner-container h3,
.wrapper > h3,
.image-content__editor h3 {
    font-size: 1.5em;
    margin-top: 25px;
}

.wp-block-group__inner-container h4,
.wrapper > h4,
.image-content__editor h4 {
    font-size: 1.3em;
    margin-top: 20px;
}

.wp-block-group__inner-container h5,
.wrapper > h5,
.image-content__editor h5 {
    font-size: 1.1em;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .wp-block-group__inner-container ul li,
    .wp-block-group__inner-container p,
    .wrapper > ul li,
    .wrapper > p,
    .image-content__editor p,
    .image-content__editor ul li {
        font-size: 17px;
    }
}

.wp-block-group__inner-container .btn,
.wrapper > p .btn,
.image-content__editor .btn{
  margin-top: 20px;
}

.wp-block-group__inner-container ul,
.wrapper > ul,
.image-content__editor ul {
    margin: 0 0 20px;
}

.wp-block-button__link{
  border: 0;
    padding: 0;
    outline: 0 !important;
    background: 0 0;
    cursor: pointer;
    text-decoration: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: color .3s, background .3s, -webkit-box-shadow .3s, -webkit-transform .3s;
    transition: color .3s, background .3s, box-shadow .3s, transform .3s, -webkit-box-shadow .3s, -webkit-transform .3s;
    background: var(--yellow);
    color: var(--green);
    text-transform: uppercase;
    border-radius: 8px;
    -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    font-weight: 800;
    padding: 15px 30px;
    line-height: 1;
    font-size: 17px;
}

.wp-block-button__link:hover{
  -webkit-transform: translateY(-4px);
        -ms-transform: translateY(-4px);
        transform: translateY(-4px);
        -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, .5);
        box-shadow: 0 4px 4px rgba(0, 0, 0, .5);
}

.wrapper > ul,
.wp-block-group__inner-container ul{
  padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 20px;
}

.wrapper > ul li,
.wp-block-group__inner-container ul li{
  list-style-type: none;
padding-left: 26px;
background: url('../images/check.svg') left top 2px / 16px no-repeat;
}

@media(max-width: 767px){
  .wrapper > *:not(.section):not(.hero){
    width: calc(100% - 40px);
  }
}
