html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* MPHU Choose Section Styles */
.mphu-choose-section {
  overflow: hidden;
}
.mphu-choose-section .sec-heading {
  max-width: 550px;
}
.mphu-choose-section .mphu-choose-columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  min-height: 1000px;
}
@media only screen and (max-width: 991px) {
  .mphu-choose-section .mphu-choose-columns {
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .mphu-choose-section .mphu-choose-columns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 767px) {
  .mphu-choose-section .mphu-choose-column {
    width: 100%;
  }
}
.mphu-choose-section .mphu-choose-column {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
}
.mphu-choose-section .mphu-choose-column:first-child {
  overflow: visible;
}
.mphu-choose-section .mphu-choose-column:nth-child(2) .mphu-choose-column-item {
  -webkit-transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
}
@media only screen and (max-width: 991px) {
  .mphu-choose-section .mphu-choose-column {
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .mphu-choose-section .mphu-choose-column {
    gap: 15px;
  }
}
.mphu-choose-section .mphu-choose-column-item {
  width: 100%;
}
.mphu-choose-section .mphu-choose-column-item.mphu-choose-empty {
  min-height: 150px;
}

.mphu-choose-box {
  height: 150px;
  padding: 50px 28px 45px;
  background-color: var(--tj-color-common-white);
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.mphu-choose-box .mphu-choose-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  height: 100%;
}
.mphu-choose-box .mphu-choose-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  color: var(--tj-color-theme-primary);
  font-size: 40px;
  line-height: 1;
  max-width: 40px;
  position: absolute;
  top: 20px;
  right: 30px;
}
.mphu-choose-box .mphu-choose-icon i {
  line-height: 1;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px) {
  .mphu-choose-box .mphu-choose-icon {
    font-size: 35px;
    max-width: 35px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .mphu-choose-box .mphu-choose-icon {
    font-size: 30px;
    max-width: 30px;
    top: 15px;
    right: 15px;
  }
}
.mphu-choose-box .title {
  font-weight: var(--tj-fw-sbold);
  margin-bottom: 0;
}
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .mphu-choose-box .title {
    font-size: 18px;
  }
  .mphu-choose-box.active .title {
    margin-bottom: 10px;
  }
}
.mphu-choose-box .desc {
  margin-bottom: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 28px 45px;
  -webkit-transform: translateY(100%);
      -ms-transform: translateY(100%);
          transform: translateY(100%);
  -webkit-transition: 0.4s 0.3s;
  transition: 0.4s 0.3s;
  opacity: 0;
}
.mphu-choose-box .text-btn {
  margin-top: auto;
  padding-top: 27px;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.mphu-choose-box.active {
  height: 330px;
  background-color: var(--tj-color-theme-primary);
}
.mphu-choose-box.active .mphu-choose-icon {
  color: var(--tj-color-common-white);
}
.mphu-choose-section .mphu-choose-column:first-child .mphu-choose-column-item {
  position: relative;
}
.mphu-choose-section .mphu-choose-column:first-child .mphu-choose-column-item::after {
  content: attr(data-desc);
  position: absolute;
  left: calc(100% + 30px);
  top: 0;
  width: 100%;
  height: 150px;
  background-color: var(--tj-color-theme-primary);
  border-radius: 0 10px 10px 0;
  padding: 0 28px;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: var(--tj-color-common-white);
  pointer-events: none;
  z-index: 10;
}
.mphu-choose-section .mphu-choose-column:first-child .mphu-choose-box {
  overflow: visible;
  position: relative;
}
.mphu-choose-section .mphu-choose-column:first-child .mphu-choose-box .desc {
  position: absolute !important;
  left: 100% !important;
  top: -50px !important;
  bottom: auto !important;
  right: auto !important;
  width: calc(100% + 114px) !important;
  height: 150px !important;
  padding: 0 28px !important;
  margin: 0 !important;
  opacity: 0;
  display: flex !important;
  align-items: center !important;
  -webkit-transform: none !important;
      -ms-transform: none !important;
          transform: none !important;
  -webkit-transition: opacity 0.4s 0.3s;
  transition: opacity 0.4s 0.3s;
  display: flex !important;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  pointer-events: none;
  z-index: 10;
  background-color: var(--tj-color-theme-primary);
  border-radius: 0 10px 10px 0;
  color: var(--tj-color-common-white);
}
.mphu-choose-section .mphu-choose-column:first-child .mphu-choose-box.active {
  height: 150px;
  background-color: var(--tj-color-theme-primary);
  border-radius: 10px 0 0 10px;
}
.mphu-choose-section .mphu-choose-column:first-child .mphu-choose-box.active .title {
  color: var(--tj-color-common-white);
  margin-bottom: 0;
}
.mphu-choose-section .mphu-choose-column:first-child .mphu-choose-box.active .desc {
  opacity: 1;
  background-color: var(--tj-color-theme-primary);
  border-radius: 0 10px 10px 0;
  color: var(--tj-color-common-white);
}
.mphu-choose-box.active .title {
  color: var(--tj-color-common-white);
  margin-bottom: 20px;
}
.mphu-choose-box.active .desc {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
  color: var(--tj-color-common-white);
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px) {
  .mphu-choose-box {
    padding: 40px 20px;
    height: 130px;
  }
  .mphu-choose-box.active {
    height: 300px;
  }
  .mphu-choose-box .desc {
    padding: 0 20px 40px;
  }
}
@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .mphu-choose-box {
    padding: 30px 15px;
    height: 120px;
  }
  .mphu-choose-box.active {
    height: 280px;
  }
  .mphu-choose-box .desc {
    padding: 0 15px 30px;
  }
}
.mphu-choose-box.style-2 {
  padding: 40px 28px;
}
.mphu-choose-box.style-2 .mphu-choose-icon {
  margin-bottom: 25px;
}
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .mphu-choose-box.style-2 .mphu-choose-icon {
    margin-bottom: 20px;
  }
}
@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .mphu-choose-box.style-2 {
    padding: 30px 15px;
  }
}

/* Tankönyv special styling - opens to the right like first column */
.mphu-tankonyv-item {
  position: relative;
}
.mphu-tankonyv-item .mphu-choose-box {
  overflow: visible;
  position: relative;
}
.mphu-tankonyv-item .mphu-choose-box .desc {
  position: absolute !important;
  left: 100% !important;
  top: -50px !important;
  bottom: auto !important;
  right: auto !important;
  width: calc(100% + 114px) !important;
  height: 150px !important;
  padding: 0 28px !important;
  margin: 0 !important;
  opacity: 0;
  display: flex !important;
  align-items: center !important;
  -webkit-transform: none !important;
      -ms-transform: none !important;
          transform: none !important;
  -webkit-transition: opacity 0.4s 0.3s;
  transition: opacity 0.4s 0.3s;
  pointer-events: none;
  z-index: 10;
  background-color: var(--tj-color-theme-primary);
  border-radius: 0 10px 10px 0;
  color: var(--tj-color-common-white);
}
.mphu-tankonyv-item .mphu-choose-box.active {
  height: 150px;
  background-color: var(--tj-color-theme-primary);
  border-radius: 10px 0 0 10px;
}
.mphu-tankonyv-item .mphu-choose-box.active .title {
  color: var(--tj-color-common-white);
  margin-bottom: 0;
}
.mphu-tankonyv-item .mphu-choose-box.active .desc {
  opacity: 1;
  background-color: var(--tj-color-theme-primary);
  border-radius: 0 10px 10px 0;
  color: var(--tj-color-common-white);
}

/* MPHU Hover Button Effect */
.mphu-choose-box .text-btn {
  position: absolute;
  right: 30px;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

.mphu-choose-box:hover .text-btn {
  opacity: 1;
  visibility: visible;
  bottom: 30px;
  pointer-events: auto;
}

.mphu-choose-box:hover {
  background-color: var(--tj-color-theme-primary);
}

.mphu-choose-box:hover .mphu-choose-icon {
  color: var(--tj-color-common-white);
  animation: gelatine 0.6s;
}

.mphu-choose-box:hover .text-btn .btn-text {
  color: var(--tj-color-common-white);
}

.mphu-choose-box:hover .text-btn .btn-icon {
  background-color: var(--tj-color-theme-dark);
}

.mphu-choose-box:hover .title {
  color: var(--tj-color-common-white);
}

/* Categories badge - align to right */
.mphu-choose-content > div {
  display: flex;
  justify-content: flex-end;
}

.mphu-choose-content .categories {
  background-color: #e9ecef;
  font-size: 14px;
  line-height: 1;
  color: #6c757d;
  font-weight: 500;
  padding: 4px 10px;
  display: inline-flex;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-top: 15px;
}

.mphu-choose-box:hover .categories {
  background-color: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white);
  border: 1px solid #6c757d;
}

/* First column - button on bottom left */
.mphu-choose-column:first-child .mphu-choose-box .text-btn {
  left: 30px;
  right: auto;
}

.mphu-choose-column:first-child .mphu-choose-box:hover .text-btn {
  bottom: 20px;
}

@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .mphu-choose-box .text-btn {
    right: 20px;
  }

  .mphu-choose-box:hover .text-btn {
    bottom: 20px;
  }

  .mphu-choose-column:first-child .mphu-choose-box .text-btn {
    left: 20px;
  }

  .mphu-choose-column:first-child .mphu-choose-box:hover .text-btn {
    bottom: 10px;
  }
}

/* mp-blog section - normal text in title */
.sec-title .normal-text {
  opacity: 1 !important;
  color: inherit !important;
}

/* mp-blog section title - prevent excessive line breaks */
.h8-mp-blog .sec-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
}

.h8-mp-blog .sec-title span {
  white-space: nowrap;
}

/* mp-blog tag active state */
.tagcloud a.active {
  background-color: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white) !important;
}

/* mp-blog meta categories - single line with horizontal scroll */
.mp-blog-item .mp-blog-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  
}

  .mp-blog-item .mp-blog-meta .categories-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-y: hidden;
    gap: 8px;
    flex: 1;
    scroll-behavior: smooth;
    min-width: 0;
  }

  .mp-blog-item .mp-blog-meta .categories {
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
   
  }

.mp-blog-item .category-nav-btn {
  background: var(--tj-color-theme-primary, #0066cc);
  color: var(--tj-color-common-white, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  font-size: 12px;
  transition: all 0.3s ease;
  z-index: 10;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  opacity: 1 !important;
  visibility: visible !important;
}

.mp-blog-item .category-nav-btn:hover {
  background: var(--tj-color-theme-dark, #004499);
  transform: scale(1.15);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.mp-blog-item .category-nav-btn i {
  font-size: 11px;
  line-height: 1;
}

.mp-blog-item .title-area {
  overflow: visible;
  width: 100%;
}

.mp-blog-item .title {
  width: 100%;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.mp-blog-item .title a {
  display: block;
  width: 100%;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.mp-blog-item .mp-blog-content {
  overflow: visible !important;
}

.mp-blog-item.style-2 .mp-blog-content {
  overflow: visible !important;
}

/* mp-blog author info */
.mp-blog-item .mp-blog-author {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--tj-color-text-body);
}

.mp-blog-item .mp-blog-author a {
  color: var(--tj-color-theme-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mp-blog-item .mp-blog-author a:hover {
  color: var(--tj-color-theme-dark);
  text-decoration: underline;
}

/* Mobile: All columns behave like column 2 */
@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  /* Reset first column special behavior */
  .mphu-choose-section .mphu-choose-column:first-child .mphu-choose-box {
    overflow: hidden !important;
  }

  .mphu-choose-section .mphu-choose-column:first-child .mphu-choose-box .desc {
    position: absolute !important;
    left: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    right: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 15px 30px !important;
    margin: 0 !important;
    opacity: 0;
    display: block !important;
    align-items: normal !important;
    transform: translateY(100%) !important;
    transition: 0.4s 0.3s;
    pointer-events: none;
    z-index: 1;
    background-color: transparent !important;
    border-radius: 0 !important;
    color: var(--tj-color-text-body);
  }

  .mphu-choose-section .mphu-choose-column:first-child .mphu-choose-box.active {
    height: 280px !important;
    background-color: var(--tj-color-theme-primary) !important;
    border-radius: 10px !important;
  }

  .mphu-choose-section .mphu-choose-column:first-child .mphu-choose-box.active .title {
    color: var(--tj-color-common-white);
    margin-bottom: 20px !important;
  }

  .mphu-choose-section .mphu-choose-column:first-child .mphu-choose-box.active .desc {
    opacity: 1;
    transform: translateY(0) !important;
    color: var(--tj-color-common-white);
  }

  /* Reset tankonyv item special behavior */
  .mphu-tankonyv-item .mphu-choose-box {
    overflow: hidden !important;
  }

  .mphu-tankonyv-item .mphu-choose-box .desc {
    position: absolute !important;
    left: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    right: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 15px 30px !important;
    margin: 0 !important;
    opacity: 0;
    display: block !important;
    align-items: normal !important;
    transform: translateY(100%) !important;
    transition: 0.4s 0.3s;
    pointer-events: none;
    z-index: 1;
    background-color: transparent !important;
    border-radius: 0 !important;
    color: var(--tj-color-text-body);
  }

  .mphu-tankonyv-item .mphu-choose-box.active {
    height: 280px !important;
    background-color: var(--tj-color-theme-primary) !important;
    border-radius: 10px !important;
  }

  .mphu-tankonyv-item .mphu-choose-box.active .title {
    color: var(--tj-color-common-white);
    margin-bottom: 20px !important;
  }

  .mphu-tankonyv-item .mphu-choose-box.active .desc {
    opacity: 1;
    transform: translateY(0) !important;
    color: var(--tj-color-common-white);
  }

  /* First column button positioning - same as others */
  .mphu-choose-column:first-child .mphu-choose-box .text-btn {
    left: auto !important;
    right: 20px !important;
  }

  .mphu-choose-column:first-child .mphu-choose-box:hover .text-btn {
    bottom: 20px !important;
  }
}

/* Fix for title-highlight animation - ensure all lines are visible */
.title-highlight-full {
  overflow: visible !important;
  min-height: auto !important;
  height: auto !important;
}

.title-highlight-full .line {
  overflow: visible !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Smooth scroll active state - immediate visual feedback */
a.scrolling {
  opacity: 0.7 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/**/
.mp-blog-item {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

  .mp-blog-item .mp-blog-thumb {
    max-height: 200px;
    overflow: hidden;
    position: relative;
  }

    .mp-blog-item .mp-blog-thumb::before {
      content: "";
      background-color: var(--tj-color-theme-dark);
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      inset-inline-start: 0;
      opacity: 0.25;
      z-index: 1;
      pointer-events: none;
    }

    .mp-blog-item .mp-blog-thumb img {
      width: 100%;
      min-height: 280px;
      height: 100%;
      -o-object-fit: cover;
      object-fit: cover;
      -webkit-transition: all 0.4s linear;
      transition: all 0.4s linear;
    }

@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), (max-width: 575px) {
  .mp-blog-item .mp-blog-thumb {
    min-height: 200px;
  }

    .mp-blog-item .mp-blog-thumb img {
      min-height: 200px;
    }
}

.mp-blog-item .mp-blog-content {
  background-color: var(--tj-color-common-white);
  padding: 25px 28px 35px 28px;
  height: 100%;
}

  .mp-blog-item .mp-blog-content .title {
    font-weight: var(--tj-fw-sbold);
    margin: 0;
  }

    .mp-blog-item .mp-blog-content .title a {
      background-image: -webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor));
      background-image: linear-gradient(to bottom, currentColor 0%, currentColor 100%);
      background-size: 0 2px;
      background-repeat: no-repeat;
      background-position: 0 85%;
      display: inline;
    }

      .mp-blog-item .mp-blog-content .title a:hover {
        background-size: 100% 2px;
      }

  .mp-blog-item .mp-blog-content .desc {
    margin-top: 15px;
  }

    .mp-blog-item .mp-blog-content .desc:last-of-type {
      margin-bottom: 0;
    }

  .mp-blog-item .mp-blog-content .text-btn {
    margin-top: 15px;
  }

  .mp-blog-item .mp-blog-content .categories a:hover {
    background-color: var(--tj-color-theme-primary);
    border-color: var(--tj-color-theme-primary);
    color: var(--tj-color-common-white);
  }

.mp-blog-item:hover .mp-blog-thumb img {
  -webkit-transform: scale(1.1) rotate(-2deg);
  -ms-transform: scale(1.1) rotate(-2deg);
  transform: scale(1.1) rotate(-2deg);
}

.mp-blog-item.style-2 {
  padding: 15px 0 15px 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  background-color: var(--tj-color-common-white);
}

@media (max-width: 575px) {
  .mp-blog-item.style-2 {
    padding: 15px;
  }
}

.mp-blog-item.style-2 .mp-blog-thumb {
  width: 47%;
  border-radius: 10px;
}

@media (max-width: 575px) {
  .mp-blog-item.style-2 .mp-blog-thumb {
    width: 100%;
  }
}

.mp-blog-item.style-2 .mp-blog-content {
  width: 53%;
  height: auto;
  padding: 35px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px) {
  .mp-blog-item.style-2 .mp-blog-content .title {
    font-size: 22px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .mp-blog-item.style-2 .mp-blog-content {
    padding: 30px 24px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 576px) and (max-width: 767px) {
  .mp-blog-item.style-2 .mp-blog-content {
    padding: 25px 20px;
  }
}

@media (max-width: 575px) {
  .mp-blog-item.style-2 .mp-blog-content {
    width: 100%;
    padding: 25px 12px 15px;
  }
}

.mp-blog-item.style-3 {
  border: 0;
  padding: 0;
  position: relative;
}

  .mp-blog-item.style-3 .mp-blog-thumb::before {
    background: -webkit-gradient(linear, left bottom, left top, from(rgb(12, 30, 33)), to(rgba(12, 30, 33, 0)));
    background: linear-gradient(0deg, rgb(12, 30, 33) 0%, rgba(12, 30, 33, 0) 100%);
    opacity: 1;
  }

  .mp-blog-item.style-3 .mp-blog-content {
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 28px;
    z-index: 3;
    overflow: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: transparent;
  }

    .mp-blog-item.style-3 .mp-blog-content .title a {
      color: var(--tj-color-common-white);
    }

@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .mp-blog-item.style-3 .mp-blog-content .title {
    font-size: 19px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px) {
  .mp-blog-item.style-3 .mp-blog-content {
    padding: 25px 20px;
  }
}

@media (max-width: 575px) {
  .mp-blog-item.style-3 .mp-blog-content {
    padding: 18px 15px;
  }
}

.mp-blog-item.style-3 .mp-blog-meta .categories a {
  color: var(--tj-color-text-body-2);
  border-color: transparent;
}

  .mp-blog-item.style-3 .mp-blog-meta .categories a:hover {
    background-color: var(--tj-color-theme-primary);
    color: var(--tj-color-common-white);
  }

.mp-blog-item.style-3 .mp-blog-meta span {
  color: var(--tj-color-text-body-2);
}

  .mp-blog-item.style-3 .mp-blog-meta span a {
    color: var(--tj-color-grey-1);
  }

.mp-blog-item.style-3 .text-btn {
  position: absolute;
  margin: 0;
  inset-inline-start: 30px;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
}

  .mp-blog-item.style-3 .text-btn .btn-text {
    color: var(--tj-color-common-white);
  }

  .mp-blog-item.style-3 .text-btn .btn-icon {
    background-color: var(--tj-color-theme-primary);
  }

@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px) {
  .mp-blog-item.style-3 .text-btn {
    inset-inline-start: 20px;
  }
}

@media (max-width: 575px) {
  .mp-blog-item.style-3 .text-btn {
    inset-inline-start: 15px;
  }
}

.mp-blog-item.style-3:hover::before {
  height: 100%;
}

.mp-blog-item.style-3:hover .mp-blog-content {
  padding-bottom: 90px;
}

@media (max-width: 575px) {
  .mp-blog-item.style-3:hover .mp-blog-content {
    padding-bottom: 70px;
  }
}

.mp-blog-item.style-3:hover .text-btn {
  opacity: 1;
  visibility: visible;
  bottom: 35px;
}

@media (max-width: 575px) {
  .mp-blog-item.style-3:hover .text-btn {
    bottom: 25px;
  }
}

.mp-categories {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  
}

  .mp-categories a {
    background-color: rgba(255, 255, 255, 0.15);
    font-size: 14px;
    line-height: 1;
    color: var(--tj-color-text-body);
    font-weight: var(--tj-fw-medium);
    padding: 2px 7px 4px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--tj-color-border-1);
    backdrop-filter: blur(15px);    
  }

    .mp-categories a:hover {
      background-color: var(--tj-color-theme-primary);
      border-color: var(--tj-color-theme-primary);
      color: var(--tj-color-common-white);
    }

.mp-blog-author {
  font-size: 18px;
  font-weight: var(--tj-fw-sbold);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

/* Header Cart Button - matching header-search style */
.header-cart {
  line-height: 1;
  position: relative;
}

.header-cart .cart {
  color: var(--tj-color-heading-primary);
  font-size: 20px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background-color: var(--tj-color-common-white);
  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: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.header-cart .cart i {
  line-height: 1;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

.header-cart .cart:hover {
  background-color: var(--tj-color-theme-primary);
  border-color: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white);
}

.header-cart .cart:hover i {
  -webkit-animation: gelatine 0.6s;
          animation: gelatine 0.6s;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .header-cart .cart {
    font-size: 18px;
    width: 44px;
    height: 44px;
  }
}

/* Cart Badge */
.header-cart .cart {
  position: relative;
}

.header-cart .cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  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;
  padding: 0 4px;
  border: 2px solid var(--tj-color-common-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.header-cart .cart:hover .cart-badge {
  background-color: var(--tj-color-theme-dark);
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .header-cart .cart-badge {
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
  }
}

/* Checkout Form Row Styles - Side by Side Fields */
/* Override shop.css flex settings for specific fields */
#customer_details .woocommerce-billing-fields__field-wrapper .form-row-first,
#customer_details .woocommerce-billing-fields__field-wrapper .form-row-last {
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

#customer_details .woocommerce-billing-fields__field-wrapper .form-row-wide {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

@media (max-width: 767px) {
  #customer_details .woocommerce-billing-fields__field-wrapper .form-row-first,
  #customer_details .woocommerce-billing-fields__field-wrapper .form-row-last {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================
   BLOG DETAILS - AP Style Content CSS
   ============================================ */

/* Alert/figyelmeztetés dobozok */
.tj-alert {
  padding: 20px 25px;
  border-radius: 10px;
  margin-bottom: 25px;
  position: relative;
}

.tj-alert-warning {
  background-color: #f8f9fa;
  border-left: 4px solid var(--tj-color-theme-primary);
}

.tj-alert-info {
  background-color: #e8f4fd;
  border-left: 4px solid #17a2b8;
}

.tj-alert p {
  margin-bottom: 10px;
  color: var(--tj-color-heading-primary);
}

.tj-alert .sec-line {
  height: 1px;
  background-color: #dee2e6;
  margin: 15px 0;
}

/* Linkpreview dobozok (DB tartalomból jövő HTML) */
.linkpreview_header {
  color: #fff;
  background-color: #102A43;
  font-weight: 700;
  line-height: 42px;
  padding-left: 16px;
  font-size: large;
  border-radius: 10px 10px 0 0;
}

.linkpreview_box {
  border: 1px solid #ccc;
  border-top: 0;
  padding: 12px;
  color: #323232;
  display: flex;
  flex-flow: wrap;
  border-radius: 0 0 10px 10px;
}

.linkpreview_box_imgcont {
  flex: 1 1 24px;
  max-width: 280px;
  align-self: flex-start;
  padding: 12px;
}

.linkpreview_box_textcont {
  flex: 2 1 48px;
  max-width: max-content;
  align-self: flex-start;
  padding: 12px;
}

.linkpreview_box_textcont_text_hl {
  padding-left: 10px;
  line-height: 28px;
  font-size: large;
  margin-top: 0px !important;
  border-left: 4px solid var(--tj-color-theme-primary) !important;
}

.linkpreview_box_imgcont_img img {
  width: 100%;
  border-radius: 8px;
}

.linkpreview_box_textcont_text a {
  text-decoration: none;
  color: var(--tj-color-theme-primary);
}

.linkpreview_box_textcont_text a:hover {
  text-decoration: underline;
}

/* AdmiralButton (DB tartalomból jövő CTA gomb) */
.AdmiralButton {
  border: none;
  vertical-align: middle;
  display: inline-block;
  text-align: center;
  font-family: var(--tj-ff-heading);
  background-color: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 17.5px 28px;
  border-radius: 5px;
  text-shadow: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: all 0.5s ease;
  text-decoration: none;
}

.AdmiralButton:hover {
  background-color: var(--tj-color-theme-dark);
  color: var(--tj-color-common-white);
}

/* Kiegészítés szekció */
.kiegeszites {
  background-color: #f8f9fa;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  padding: 30px 30px 40px 30px;
}

.kiegeszites h4 {
  margin-bottom: 20px;
  color: var(--tj-color-heading-primary);
}

/* Blog content frame (AP style) */
.post-details-wrapper {
  background-color: var(--tj-color-common-white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Product detail - no white background frame */
.product-detail-content .post-details-wrapper {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

@media (max-width: 767px) {
  .post-details-wrapper {
    padding: 20px 15px;
  }
}

/* Blog tartalom specifikus stílusok */
.post-details-wrapper .blog-text img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 15px 0;
}

.post-details-wrapper .blog-text iframe {
  max-width: 100%;
  border-radius: 10px;
  margin: 15px 0;
}

.post-details-wrapper .blog-text p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.post-details-wrapper .blog-text h3,
.post-details-wrapper .blog-text h4 {
  margin-top: 25px;
  margin-bottom: 15px;
}

.post-details-wrapper .blog-text ul,
.post-details-wrapper .blog-text ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.post-details-wrapper .blog-text li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Blog banner code container */
.blog-banner-code {
  margin: 25px 0;
}

/* Author widget in sidebar */
.tj-sidebar-widget.widget-author {
  text-align: center;
}

.tj-sidebar-widget.widget-author .author-card {
  padding: 20px;
}

.tj-sidebar-widget.widget-author .author-image {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
}

.tj-sidebar-widget.widget-author .author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tj-sidebar-widget.widget-author .author-name {
  margin-bottom: 5px;
  font-weight: 600;
}

.tj-sidebar-widget.widget-author .author-role {
  color: var(--tj-color-text-body);
  margin-bottom: 15px;
  font-size: 14px;
}

/* Blog meta - author info (AP style) */
.post-details-wrapper .blog-meta {
  font-size: 14px;
  color: var(--tj-color-text-body);
  margin-bottom: 15px;
}

.post-details-wrapper .blog-meta a {
  color: var(--tj-color-theme-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-details-wrapper .blog-meta a:hover {
  color: var(--tj-color-theme-dark);
  text-decoration: underline;
}

.post-details-wrapper .blog-meta i {
  margin-right: 5px;
}

/* Responsive adjustments for linkpreview */
@media (max-width: 767px) {
  .linkpreview_box {
    flex-direction: column;
  }

  .linkpreview_box_imgcont,
  .linkpreview_box_textcont {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .tj-alert {
    padding: 15px 20px;
  }

  .kiegeszites {
    padding: 20px;
  }
}
