/*
Theme Name: szallasolo
Theme URI: https://github.com/balatonapro/wpbase-tools
Description: Egy az egyben optimalizalt masolat a szallashirdeto.hu portalrol WordPress alapon.
Version: 1.0
Author: balatonapro
Text Domain: szallasolo
*/

/* CSS variables and global resets */
    :root {
      --background-dark: rgba(182, 120, 33, 0);
      --text-light: rgba(255, 255, 255, 0.6);
      --text-lighter: rgba(255, 255, 255, 0.9);
      --spacing-s: 8px;
      --spacing-m: 12px;
      --spacing-l: 14px;
      --width-container: 1200px;
    }

    * {
      border: 0;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      box-sizing: border-box;
      font-size: 16px;
    }

    body {
      margin: 0;
      padding: 0;
      font-size: 13px;
      font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
      /* Original background pattern loaded from the live server URL */
      background: #faf3d3 url(https://szallashirdeto.hu/images/bgr2016.png) repeat-x fixed;
      color: #82551f;
      line-height: 1.4;
      padding-bottom: 0; /* Footer bottom padding handles the sticky banner spacer */
    }

    a {
      color: #df5d00;
      text-decoration: none;
      transition: color 0.15s ease-in-out;
    }

    a:hover {
      text-decoration: underline;
    }

    h1, h2, h3, h5, h6, ol, p, ul {
      padding: 0;
      font-weight: 400;
    }

    h4 {
      padding: 0;
    }

    h5, ol, p, ul {
      margin: 0;
    }

    ol, ul {
      list-style: none;
    }

    img {
      max-width: 100%;
      height: auto;
    }

    .nowrap {
      white-space: nowrap;
    }

    /* Common layout wrappers */
    .wrapper {
      max-width: 980px;
      margin: 0 auto 15px;
      padding: 0 5px;
    }

    /* Navbar styling */
    .navbar {
      width: 100%;
      color: #fff;
      padding: 10px;
      margin: 0 auto;
      background: #236bb6;
    }

    .navbar-inner {
      display: flex;
      margin: 1px auto;
      max-width: 960px;
      padding: 2px 0;
      flex-direction: row;
      align-items: center;
      font-size: 1.4em;
      justify-content: space-between;
    }

    .navbar a {
      color: #fff;
      border-radius: 3px;
      padding: 2px 5px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .navbar a:hover {
      background-color: rgba(0, 0, 0, 0.15);
      text-decoration: none;
      color: #fff;
    }

    .navbar-left {
      padding: 0 10px 0 0;
      margin: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .navbar-right {
      padding: 0;
      margin: 0;
      font-size: 0.7em;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .navbar-title a {
      margin-right: 7px;
      font-weight: bold;
    }

    .navbar-subtitle {
      font-weight: 100;
      margin: 0 7px 0 0;
    }

    .navbar-button {
      padding: 3px 10px;
      margin-left: 5px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      border-radius: 4px;
      font-weight: bold;
    }

    .navbar-button:hover {
      background-color: #8b0000;
      text-decoration: none;
    }

    .balaton,
    .header-uj,
    .header-uj:hover {
      border: 1px solid rgba(255, 255, 255, 0.49);
    }

    .header-uj:hover {
      color: #fff !important;
      background-color: green !important;
    }

    .balaton {
      background-color: rgba(0, 177, 255, 0.56);
      color: #fff;
      padding: 3px 12px;
      text-align: center;
      margin: 0 4px 0 2px;
      border-radius: 50%;
    }

    .header-uj {
      background-color: #90c505;
      color: #000 !important;
      padding: 2px 8px;
      text-align: center;
      margin: 0 4px 0 2px;
      border-radius: 50%;
    }

    .bgr-red {
      background-color: rgba(230, 12, 6, 0.98);
    }

    /* Animated effect for the 'Új' button */
    .animated-button {
      animation: pulseAnimation 2s infinite alternate;
    }

    @keyframes pulseAnimation {
      0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(144, 197, 5, 0.4);
      }
      100% {
        transform: scale(1.08);
        box-shadow: 0 0 8px 4px rgba(144, 197, 5, 0);
      }
    }

    /* City list on top styling */
    .list-on-top { 
      width: 100%; 
      padding: 10px 0; 
      margin: 0; 
    }

    .varos-lista-on-top {
      display: flex; 
      justify-content: start; 
      overflow: auto; 
      white-space: nowrap;
      max-width: 960px; 
      margin: 0 auto; 
      font-size: 1.1em; 
      scrollbar-width: none;
      padding: 5px 0;
    }

    .varos-lista-on-top::-webkit-scrollbar { 
      display: none; 
    }

    .varos-lista-on-top a {
      border: #0d99f7 1px solid; 
      padding: 4px 8px;
      background-color: rgba(255, 255, 255, 0.72); 
      margin: 0 4px;
      border-radius: 4px; 
      text-decoration: none; 
      color: #0a59ba; 
      white-space: nowrap;
    }

    .varos-lista-on-top a:hover { 
      background-color: #f8fbff; 
    }

    .varos-lista-on-top a.active {
      background-color: #0a59ba;
      color: #fff;
      border-color: #0a59ba;
    }

    /* List page specific layout */
    .outerlist {
      background-color: rgba(255, 248, 224, 0.64); 
      padding: 15px 10px; 
      margin-bottom: 15px;
    }

    .innerlist { 
      max-width: 920px; 
      margin: 0 auto; 
    }

    .felirat { 
      font-size: 13px; 
      letter-spacing: 2px; 
      text-align: center; 
      margin: 15px auto;
    }

    .felirat.bigger { 
      font-size: 120%; 
    }

    .felirat h1, .felirat strong {
      font-weight: 700;
    }

    .text-green { 
      color: #588327; 
    }

    .mb-15 { 
      margin-bottom: 15px; 
    }

    /* Search top bar */
    .list-item-insert {
      padding: 15px;
      background-color: rgba(253, 255, 237, 0.52);
      border: 1px solid transparent;
      border-bottom: 1px dashed rgba(136, 53, 33, 0.31);
      margin: 0 auto 15px;
      position: relative;
    }

    .search-top { 
      padding: 0; 
      margin-bottom: 10px; 
      display: flex; 
      justify-content: center; 
    }

    .search { 
      padding: 10px; 
      display: flex; 
      gap: .3rem; 
      width: 100%;
      max-width: 600px;
    }

    .search input {
      background-color: rgba(255, 255, 255, 0.3); 
      padding: 4px;
      border: 1px solid rgba(139, 69, 19, 0.25); 
      width: 100%; 
      margin: 0;
      color: #82551f;
      outline: none;
    }

    .search input:focus {
      background-color: rgba(255, 255, 255, 0.6);
      border-color: rgba(139, 69, 19, 0.5);
    }

    .search select {
      background-color: rgba(255, 255, 255, 0.7);
      border: 1px solid rgba(139, 69, 19, 0.25);
      padding: 4px;
      color: #82551f;
      outline: none;
    }

    .search button {
      background-color: #006400;
      color: white;
      font-weight: bold;
      border: none;
      padding: 4px 15px;
      cursor: pointer;
      border-radius: 3px;
      transition: background-color 0.15s;
    }

    .search button:hover {
      background-color: #004d00;
    }

    /* Cards / List Items */
    .list-item {
      display: flex; 
      gap: 15px; 
      padding: 15px;
      background-color: rgba(253, 255, 237, 0.52); 
      border: 1px solid transparent;
      border-bottom: 1px solid rgba(136, 53, 33, 0.25);
      border-right: 1px solid rgba(136, 53, 33, 0.15);
      margin: 0 auto 25px; 
      position: relative;
      cursor: pointer;
      transition: background-color 0.2s, border-color 0.2s;
    }

    .list-item:hover {
      background-color: rgba(253, 255, 237, 0.85);
      border-bottom: 1px solid rgba(136, 53, 33, 0.45);
      border-right: 1px solid rgba(136, 53, 33, 0.3);
    }

    .list-item-image-box { 
      max-width: 40%; 
      position: relative; 
      flex-basis: 100%; 
      flex-shrink: 0; 
    }

    .list-item-image-box img {
      width: 100%; 
      height: 200px; 
      object-fit: cover; 
      vertical-align: middle; 
      border-radius: 10px;
    }

    .premium-hirdetes {
      position: absolute; 
      top: 5px; 
      right: 5px; 
      z-index: 5;
      background-color: #da0000; 
      color: #fff; 
      padding: 2px 6px; 
      border-radius: 3px;
      font-weight: bold;
      font-size: 0.85em;
    }

    .uj-hirdetes {
      position: absolute;
      top: 5px;
      right: 70px;
      z-index: 5;
      width: 22px;
      height: 22px;
      color: #525252;
      font-size: 0.8em;
      font-weight: 700;
      background-color: #e9ff3e;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .szepkartya {
      position: absolute;
      bottom: 5px;
      left: 5px;
      z-index: 5;
      width: fit-content;
      height: auto;
      color: #fff;
      background-color: #a95b4d;
      padding: 2px 5px;
      border-radius: 4px;
      font-size: 0.85em;
      font-weight: bold;
    }

    .list-item-text-box {
      display: flex; 
      align-items: center; 
      justify-content: start;
      padding-right: 20px; 
      flex-shrink: 1;
      width: 100%;
    }

    .list-item-text-box > div {
      width: 100%;
    }

    .list-item-text-box h1 {
      font-weight: 400; 
      font-size: 1.6em; 
      margin-bottom: 8px;
      overflow: hidden; 
      text-overflow: ellipsis;
      display: -webkit-box; 
      -webkit-line-clamp: 2; 
      -webkit-box-orient: vertical;
      line-height: 1.3em;
    }

    .list-item-text-box a { 
      color: #d53800; 
    }

    .item-info { 
      font-size: 1.2em; 
      color: #6b4332; 
      margin-bottom: 6px; 
      line-height: 150%; 
    }

    .item-info-varos {
      color: #57956a;
    }

    .item-info-varos a {
      color: #57956a;
      text-decoration: none;
    }

    .item-info-varos a:hover {
      text-decoration: underline;
    }

    .list-item-onallo-haz { 
      background-color: #d5ffcb; 
      padding: 2px 6px;
      border-radius: 3px;
      font-weight: bold;
      font-size: 0.9em;
      margin-right: 5px;
      border: 1px solid #b6ebaa;
    }

    .list-item-apartman { 
      background-color: #ffe6cb; 
      padding: 2px 6px;
      border-radius: 3px;
      font-weight: bold;
      font-size: 0.9em;
      margin-right: 5px;
      border: 1px solid #ffd4a8;
    }

    .list-item-panzio { 
      background-color: #cbd5ff; 
      padding: 2px 6px;
      border-radius: 3px;
      font-weight: bold;
      font-size: 0.9em;
      margin-right: 5px;
      border: 1px solid #b2c1ff;
    }

    .item-info-box { 
      display: flex; 
      justify-content: space-between; 
    }

    /* Paginator */
    .navigator {
      text-align: center;
      margin: 20px 0 10px;
      font-size: 1.2em;
      color: #8b4513;
    }

    .navigator a {
      padding: 4px 10px;
      border: 1px solid rgba(139, 69, 19, 0.25);
      background-color: rgba(255, 255, 255, 0.72);
      border-radius: 4px;
      margin: 0 2px;
      color: #0a59ba;
      text-decoration: none;
      transition: background-color 0.2s;
    }

    .navigator a:hover {
      background-color: #f8fbff;
    }

    .navigator span.current {
      padding: 4px 10px;
      border: 1px solid #0a59ba;
      background-color: #0a59ba;
      color: #fff;
      border-radius: 4px;
      margin: 0 2px;
      font-weight: bold;
    }

    /* No results styling */
    .noresults {
      background-color: rgba(255, 248, 224, 0.85);
      margin-bottom: 25px;
      padding: 50px 20px;
      text-align: center;
      border: rgba(139, 69, 19, 0.25) 1px solid;
      border-radius: 8px;
    }

    .noresults h2 {
      font-size: 20px;
      color: #c03000;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .noresults p {
      font-size: 14px;
      color: #82551f;
    }

    /* Single / Detail page layout */
    .content-oldal {
      width: 100%; 
      background-color: #fff7df; 
      border: 1px dashed #c03000;
      padding: 25px 35px; 
      margin-bottom: 15px;
    }

    .oldal-header { 
      margin: 10px auto; 
      position: relative; 
    }

    .oldal-header a { 
      color: #006400; 
      font-weight: bold;
    }

    .title-box-oldal-premium {
      background-color: #d20000; 
      color: #fff; 
      padding: 3px 8px;
      display: inline-block; 
      font-size: 1.1em; 
      margin-bottom: 8px;
      font-weight: bold;
      border-radius: 3px;
    }

    .name { 
      font-size: 1.3em; 
      font-weight: 400; 
      margin-bottom: 8px; 
    }

    .title-adname {
      font-weight: bold;
      margin-right: 8px;
    }

    .header-title {
      color: #d44000; 
      font-weight: 700; 
      font-size: 2.1em; 
      line-height: 130%;
      margin: 0 0 5px; 
      max-width: 600px;
      display: -webkit-box; 
      -webkit-line-clamp: 2; 
      -webkit-box-orient: vertical; 
      overflow: hidden;
    }

    /* Gallery styles (Single featured image placeholder with max height 380px) */
    .kep-galeria { 
      position: relative; 
      margin: 15px auto;
    }

    .gallery-featured { 
      margin: 0 auto; 
      position: relative; 
    }

    .gallery-featured img {
      width: 100%;
      height: 380px; /* Constrained exactly as requested: max-height 380px */
      max-height: 380px;
      object-fit: cover;
      border: 1px solid #b6a386;
      border-radius: 5px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .kepekszama {
      position: absolute; 
      top: -10px; 
      right: 20px; 
      font-size: 1.2rem; 
      z-index: 100;
      color: #fff; 
      font-family: "Times", sans-serif; 
      padding: 2px 8px; 
      border-radius: 5px;
      font-weight: bold;
    }

    .bgr-brown { 
      background-color: rgba(159,74,18,0.98); 
    }

    /* Key info section */
    .kepalatt {
      display: flex; 
      flex-direction: row; 
      border-bottom: 1px dashed #ff854d;
      padding-bottom: 15px; 
      justify-content: space-between;
      align-items: center;
    }

    .kepalattextra { 
      font-size: 22px; 
      line-height: 130%; 
      width: 100%; 
      padding-right: 30px; 
    }

    .kepalattextra span {
      margin-right: 20px;
    }

    .article { 
      margin: 5px auto 25px; 
    }

    .desc { 
      max-width: 640px; 
      font-size: 18px; 
      line-height: 156%; 
      padding: 10px 0; 
      margin: 0 auto 30px; 
    }

    .desc p { 
      margin-bottom: 15px; 
    }

    .desc_first_line { 
      margin-bottom: 12px; 
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .desc_first_line strong { 
      background-color: #ffff7b; 
      padding: 2px 6px;
      border-radius: 2px;
    }

    .oldal-f9 { 
      background-color: #b9fff7; 
      padding: 2px 6px;
      border-radius: 2px;
    }

    /* Clicks tracking */
    .kattintasok-box { 
      color: #8b4513; 
      display: flex; 
      justify-content: space-between; 
      border-bottom: 1px dashed #ff854d;
      padding-bottom: 10px;
      margin-bottom: 25px;
    }

    .time-since { 
      margin: 15px 0 5px; 
      padding: 0 15px; 
      color: #c7b493; 
      font-size: 12px; 
    }

    /* Prices / Details Card */
    .szallasarak {
      width: 100%; 
      background-color: #fdfdeb; 
      margin: 0 auto 25px;
      border: 1px dashed #9a2b05; 
      padding: 20px;
      box-shadow: 2px 5px 14px -6px rgba(88,86,85,0.5);
      font-size: 1.4em; 
      line-height: 1.4;
      border-radius: 6px;
    }

    .szallasarak h1 { 
      color: #5d8a24; 
      font-weight: bolder; 
      font-size: 1.2em; 
      margin-bottom: 3px; 
    }

    .szallasarak-header { 
      margin-bottom: 15px; 
      padding-bottom: 15px; 
      border-bottom: rgba(139,69,19,0.3) 1px solid; 
    }

    .szallasarak-title-box { 
      display: flex; 
      justify-content: space-between; 
      gap: 20px; 
      align-items: center;
    }

    .facebook2 { 
      display: inline-block; 
      position: relative; 
    }

    .fb-share-button {
      background-color: #1877f2;
      color: #fff;
      padding: 3px 8px;
      border-radius: 4px;
      font-size: 0.75em;
      font-weight: bold;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      border: none;
      transition: background-color 0.2s;
    }

    .fb-share-button:hover {
      background-color: #166fe5;
    }

    .szallasarak-address { 
      display: flex;
      justify-content: space-between;
      margin-top: 5px;
      font-size: 0.9em;
    }

    .ntak { 
      opacity: 0.4; 
    }

    .szallasarak-info { 
      margin-top: 15px; 
      font-size: 0.9em;
      color: #82551f;
    }

    .szallasarak-arak { 
      color: #b25000; 
      margin-bottom: 15px; 
      padding-right: 30px; 
      font-weight: bold;
      border-bottom: 1px dotted rgba(139,69,19,0.2);
      padding-bottom: 10px;
    }

    /* Contact details container under pricing text */
    .kapcsolatok-flex {
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      margin: 15px auto 10px;
      gap: 10px;
    }

    .kapcsolatok-web {
      display: flex;
      margin-left: auto;
    }

    .kapcsolatok-tel, .kapcsolatok-email {
      display: flex;
    }

    .ifa { 
      color: #8b4513; 
      margin-top: 15px; 
      font-size: 0.8em; 
    }

    .arvaltozas { 
      color: #8b4513; 
      font-size: 0.8em; 
      margin-top: 4px; 
      padding-top: 3px; 
      border-top: 1px dotted #a74423; 
    }

    /* Original buttons design styling */
    .xbutton {
      color: #fff; 
      text-align: center; 
      font-size: 1.15rem;
      padding: 0.6rem 1.6rem; 
      border-radius: 7px;
      box-shadow: 0 4px 4px -3px gray; 
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
      transition: background-color 0.15s, transform 0.15s;
    }

    .xbutton:hover {
      transform: translateY(-1px);
    }

    .xbutton-red {
      background-color: #b20000;
      border: #fff6ea 1px solid;
    }

    .xbutton-red:hover {
      background-color: #910000;
    }

    .xbutton-brown { 
      background-color: #8b4513; 
      border: #fff6ea 1px solid; 
    }

    .xbutton-brown:hover {
      background-color: #6d350d;
    }

    .xbutton-green {
      background-color: #67850c;
      border: #fff6ea 1px solid;
    }

    .xbutton-green:hover {
      background-color: #536b0a;
    }

    /* Intermediate link for 25 listings */
    .to-top25 {
      text-align: center;
      display: block;
      padding: 10px 5px;
      font-size: 1.5rem;
      margin: 15px auto 25px;
    }

    .to-top25 a {
      color: #be0000;
      font-weight: bold;
    }

    .to-top25 a:hover {
      color: #71009d;
    }

    /* Footer styling: Dark texture background matching style.css */
    .footer {
      color: #58b4ff; 
      padding: 25px 0 85px; 
      font-size: 0.9rem;
      text-align: center; 
      margin-top: 30px;
      margin-bottom: 0; 
      line-height: 1.6em;
      /* Original background pattern loaded from live server URL */
      background: #2b2e30 url(https://szallashirdeto.hu/images/top_bgr.png) repeat;
      border-top: 1px solid rgba(136,53,33,0.15);
      border-radius: 0;
    }

    .footer-inner {
      max-width: 980px;
      margin: 0 auto;
      padding: 0 15px;
    }

    .footer a { 
      color: #58b4ff; 
      font-weight: bold;
    }

    .footer a:hover { 
      color: #fac000; 
      text-decoration: underline;
    }

    /* Fixed bottom Banner section styling */
    .sticky_footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      width: 100%;
      height: auto;
      font-family: Arial, Helvetica, sans-serif;
      background: linear-gradient(to bottom, #a40a01 0, #760301 100%);
      margin: 0;
      padding: 3px 0 0;
      z-index: 3001;
      box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
      border-top: 1px solid #da0000;
    }

    .sticky-container {
      max-width: 980px;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 auto;
      padding: 0;
    }

    .buttons-nav {
      width: 100%;
      font-size: 17px;
      text-align: center;
      margin-bottom: 5px;
      padding: 10px 15px;
      border-radius: 8px;
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-decoration: NONE;
      color: #fff;
      font-weight: bold;
    }

    .buttons-nav-violet {
      background-color: #531e88;
      border: 1px solid rgba(255, 255, 255, 0.49);
    }

    .buttons-nav-violet:hover {
      background-color: #3b1463;
      color: #fff;
      text-decoration: none;
    }

    /* Cookie consent banner (shifted up to fit above the sticky footer) */
    .gdpr-popup {
      position: fixed; 
      bottom: 60px; /* Above the sticky footer */
      left: 50%; 
      transform: translateX(-50%);
      max-width: 500px; 
      width: 90%; 
      background-color: #236bb6; 
      color: #fff;
      padding: 15px; 
      border: 1px solid #fff; 
      border-radius: 5px;
      z-index: 9999; 
      box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
      text-align: center;
      transition: opacity 0.3s ease, visibility 0.3s;
    }

    .gdpr-message { 
      margin: 0 0 10px; 
      line-height: 160%; 
    }

    .gdpr-actions {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 15px;
    }

    .gdpr-accept-btn {
      background-color: #4caf50; 
      color: #fff; 
      border: 0;
      padding: 8px 20px; 
      border-radius: 4px; 
      cursor: pointer;
      font-weight: bold;
      font-size: 1em;
      transition: background-color 0.15s;
    }

    .gdpr-accept-btn:hover { 
      background-color: #43a047; 
    }

    .gdpr-policy-link { 
      color: #fff; 
      text-decoration: underline; 
    }

    /* Navigation control */
    #page-list {
      display: block;
    }

    #page-single {
      display: block;
    }

    /* Media queries based on prompt spec */
    @media screen and (max-width: 960px) {
      .navbar-inner { padding: 2px 10px; }
    }

    @media screen and (max-width: 800px) {
      .navbar-inner { padding: 2px 10px; }
      .tablet-hide { display: none; }
      .list-item-text-box { padding-right: 20px; }
      
      .kapcsolatok-flex {
        flex-direction: column;
        justify-content: center;
        margin-bottom: 5px;
        gap: 5px;
      }
      .kapcsolatok-web {
        margin: 0 auto 7px;
        display: block;
      }
      .kapcsolatok-tel {
        padding-left: 0;
      }
      .kapcsolatok-email,
      .kapcsolatok-tel {
        margin: 0 auto 7px;
        display: block;
      }
    }

    @media screen and (max-width: 600px) {
      .list-item { padding: 8px; flex-direction: column; gap: 15px; }
      .list-item-image-box { flex-basis: 100%; max-width: 100%; }
      .list-item-image-box img { width: 100%; object-fit: cover; }
      .list-item-text-box { margin: 0; padding: 0 6px 6px; }
      .ellipsis { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
      .gallery-featured img { height: 260px; }
    }

    @media (max-width: 519px) {
      .outerlist { padding: 15px 10px; }
      .search { width: 100%; flex-direction: column; }
      .mobile-hide { display: none; }
    }

    @media (max-width: 500px) {
      .content-oldal { padding: 10px 15px; margin-bottom: 15px; }
      .header-title { font-size: 1.3rem; font-weight: 700; margin: .5rem 0; -webkit-line-clamp: 3; }
      .list-item { flex-direction: column; border: 2px solid rgba(255,162,20,0.38); border-radius: 8px; }
      .list-item-text-box { padding: 2px 0 0; font-size: 1em; }
      .path { display: none; }
      .desc { font-size: 16px; }
      .kepalattextra { font-size: 1.5em; font-weight: 700; }
      .szallasarak-header { flex-direction: column; gap: 10px; }
      .gallery-featured img { height: 200px; }
    }