/* ==== PARAGRĀFU IZSKATI ==== */
h1 {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
  padding: 18px 0 10px 0;
  margin-bottom: 20px;
  letter-spacing: 1px;
  border-bottom: 0px solid #e0e0e0;
}

h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.15;  /* Normāls rindu attālums, vismaz 1.1-1.3 */
  color: #fff;
  padding: 3px 0 5px 0;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

h3 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3;
  color: #e0e0e0;
  padding: 10px 0 6px 0;
  margin-bottom: 12px;
}

h4 {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.35;
  color: #bababa;
  padding: 8px 0 5px 0;
  margin-bottom: 10px;
}

h5 {
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  color: #ababab;
  padding: 6px 0 4px 0;
  margin-bottom: 8px;
}

h6 {
  font-size: 10px;
  font-weight: bold;
  line-height: 1.4;
  color: #888;
  padding: 5px 0 3px 0;
  margin-bottom: 6px;
}
@media (max-width: 600px) {
  h1 { font-size: 28px; }
  h2 { font-size: 18px; }
}



/* ==== DESKTOP ==== */
/* HEADER */
.header-main {
    background: #171717;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 8px #0004;
    padding: 0;
}
.header-main {
    position: sticky !important;
    top: 0 !important;
    z-index: 101 !important;
    background: #171717;
    /* pārējās īpašības */
}
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 180px;
    max-height: 75px;
    width: 180px;
    height: 75px;
    margin-left: 85px;
    overflow: hidden;
}
.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.header-logo-members {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 220px;
    max-height: 72px;
    width: 220px;
    height: 72px;
    margin-left: 135px;
    overflow: hidden;
}
.header-logo-members img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-right: 124px;
}
.header-search-wrap {
    position: relative;
    margin-left: 18px;
}
.header-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: filter .14s;
}
.header-search-btn svg {
    display: block;
}
.header-search-form {
    position: absolute;
    right: 0;
    top: 110%;
    background: #191919;
    box-shadow: 0 6px 32px #0008;
    border-radius: 16px;
    padding: 11px 12px 11px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    min-width: 320px;    /* Lielāks minimums desktopā */
    max-width: 480px;    /* Palielini desktop max platumu */
    z-index: 90;
    transform: translateY(-8px) scale(0.97);
    transition: opacity .19s, transform .19s;
    
}
.header-search-form.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1.00);
}
.header-search-input {
    background: #222;
    border: none;
    border-radius: 8px;
    color: #fff;
    padding: 10px 13px;
    font-size: 1.07em;
    width: 290px;        /* Plašāks desktopā */
    min-width: 0;
    outline: none;
    transition: background .15s;
}
.header-search-input::placeholder {
    color: #bbb;
    opacity: 1;
}
.header-search-go, .header-search-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 6px;
	margin-left: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: background .13s;
}
.header-search-go:hover,
.header-search-close:hover {
    background: #242424;
}
.header-search-close svg {
    width: 19px;
    height: 19px;
}
/* ---------- RESPONSIVE MOBILAJIEM ---------- */
@media (max-width: 900px) {
    .header-search-form {
        min-width: 60vw;
        max-width: 85vw;
        right: 4vw;
    }
    .header-search-input {
        width: 50vw;
    }
}

/* Precīza mobilā izvēlne SEARCH */
@media (max-width: 700px) {
    .header-search-form {
        position: static;               /* Lai būtu flow'ā ar izvēlnes kolonnu */
        min-width: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        border-radius: 12px;
        margin: 10px 0 0 0;             /* Nedaudz atstarpe no izvēlnes */
        padding: 13px 12px 13px 10px; /* Kreisais padding tikai 10px! */
        top: auto;
        right: auto;
        left: auto;
        box-shadow: 0 3px 12px #0003;
    }
    .header-search-input {
        font-size: 1.19em;
        width: 100%;                    /* Lai aizņem visu popup platumu */
        padding: 13px 13px;
        box-sizing: border-box;
    }
    .header-search-go, .header-search-close {
        padding: 6px 6px;
    }
}


.header-nav a {
    color: #f8f8f8;
    font-size: 1.08em;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 7px;
    transition: background .16s, color .16s;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.header-nav a:hover {
    background: #222;
    color: #FF8700;
}
.header-nav .join-btn {
    background: #FF8700;
    color: #222;
    font-weight: bold;
    margin-left: 6px;
    transition: filter .17s, background .16s, color .16s;
}
.header-nav .join-btn:hover {
    filter: brightness(1.12) contrast(1.04);
    background: #fff;
    color: #FF8700;
}
.header-menu-btn {
    display: none;
}

/* ==== MOBILE ==== */
@media (max-width: 700px) {
  .header-main {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0;
  }
  .header-menu-btn {
    display: block;
    position: absolute;
    left: 14px;
    top: 10px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 202;
  }
  .header-logo {
    margin: 0 auto;
    max-width: 90px;
    max-height: 78px;
    width: 90px;
    height: 78px;
  }
  .header-logo img {
    max-width: 90px;
    max-height: 78px;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
	 .header-logo-members {
    margin: 0 auto;
    max-width: 200px;
    max-height: 78px;
    width: 200px;
    height: 78px;
  }
  .header-logo-members img {
    max-width: 200px;
    max-height: 78px;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .header-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #171717;
    position: fixed;
    top: 0; left: 0;
    width: 90vw;
    max-width: 340px;
    min-width: 220px;
    height: 100vh;
    padding: 88px 0 0 0;
    box-shadow: 8px 0 18px #0008;
    transform: translateX(-100%);
    transition: transform .25s cubic-bezier(.76,0,.24,1);
    z-index: 201;
    margin: 0;
    overflow-x: hidden;
  }
  .header-nav.open {
    transform: translateX(0%);
  }
  .header-nav a {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 24px;
    font-size: 1.19em;
    text-align: left;
    border-radius: 0;
    margin: 0;
    color: #fff;
    background: none;
    border-bottom: none;
  }
  .header-nav a:not(.join-btn) {
    border-bottom: 1px solid #252525;
  }
  .header-nav .join-btn {
    background: #FF8700;
    color: #fff;
    font-weight: bold;
    width: 100%;
    margin: 18px 0 0 0;
    font-size: 1.19em;
    text-align: center;
    border-radius: 0;
    padding: 18px 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: none !important;
  }
}

/* Hamburger ikonas animācija (nav obligāti) */
.header-menu-btn svg rect { transition: fill .18s; }


/* ///////////// SĀKAS BODY ////////////////*/

body {
  background: #101010;
  color: #f1f1f1;
  font-family: sans-serif;
}

.section-title {
  font-size: 1.33em;
  font-weight: bold;
  margin-bottom: 17px;
  margin-top: 38px;
  color: #fff;
  letter-spacing: .04em;
}
.section-actions {
  float: right;
  margin-top: 8px;
}
.seemore-btn {
  display: inline-block;
  padding: 10px 26px;
  border: none;
  background: #24242a;
  color: #fff;
  border-radius: 7px;
  font-size: 1em;
  cursor: pointer;
  font-weight: 600;
  transition: .16s;
  margin-left: 14px;
  text-decoration: none;
}
.seemore-btn:hover {
  background: #FF8700;
  color: #fff;
}

/* Slider + description */
.slider-description {
  max-width: 1100px;
  margin: 25px auto 28px auto;
  text-align: center;
  color: #f1f1f1;
}
.slider-description h3 {
  margin: 0 0 7px 0;
  font-size: 1.65em;
  font-weight: 600;
}
.slider-description h3 a {
  color: #FF8700;
  text-decoration: none;
  transition: color .18s;
}
.slider-description h3 a:hover {
  color: #fff;
  text-decoration: none;
}
.slider-description h1 {
  font-size: 1.98em;
  font-weight: bold;
  margin: 13px 0 8px 0;
}
.slider-description p {
  color: #bbb;
  line-height: 1.45;
  font-size: 1.11em;
}
@media (max-width: 600px) {
  /* Samazina oranžā linka tekstu slidera aprakstā uz mobīlajiem */
  .slider-description h3 a {
    font-size: 0.8em;
	  margin-left: 10px;
	  margin-right: 20px;
  }
  /* Papildus – var arī samazināt pašu h3 ja vajag */
  .slider-description h3 {
    font-size: 1.21em;
  }
}

.slider-outer {
  width: 100%;
  max-width: 1440px;
  margin: 7px auto 38px auto;
  overflow: hidden;
  background: #101010;
  border-radius: 15px;
  height: 500px;
  min-height: 350px;
  box-shadow: 0 6px 28px #0008;
  position: relative;
  transition: height .22s;
}

.slider {
  display: flex;
  gap: 0;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  position: relative;
  height: 100%;
  min-height: 350px;
}

.slider-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
}
.slider-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.slider-slide img {
  display: block;
  width: 100%;
  height: 650px;
  object-fit: contain;
  aspect-ratio: 21/7;
  border-radius: 16px;
}


/* Navigācija */
.slider-nav {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
  z-index: 9;
  padding: 0 22px;
  transform: translateY(-50%);
}
.slider-outer:hover .slider-nav {
  opacity: 1;
  pointer-events: auto;
}
.slider-outer:hover .slider-dots {
  opacity: 1;
  pointer-events: auto;
}
.slider-nav button {
  background: #e7e7e7;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px #0002;
  cursor: pointer;
  transition: background .18s;
  padding: 0;
  opacity: 0.35;
}
.slider-nav button img {
  width: 30px;
  height: 30px;
  display: block;
  pointer-events: none;
}
.slider-nav button:after {
  display: none !important;
  content: none !important;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s;
}
.slider-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #e5e5e5;
  border: 2px solid #b0b0b0;
  cursor: pointer;
  transition: background .16s, border-color .16s;
  opacity: 0;
}
.slider-dot.active {
  background: #bbb;
  border-color: #333;
  opacity: 0;
}

/* ================== RESPONSIVE =================== */
@media (max-width: 1350px) {
  .slider-outer,
  .slider {
    height: 340px;
    min-height: 200px;
  }
}
@media (max-width: 900px) {
  .slider-outer,
  .slider {
    height: 200px;
    min-height: 120px;
  }
}
@media (max-width: 600px) {
  .slider-outer,
  .slider {
    min-height: 140px !important;
    height: 140px !important;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 3px 10px #0008;
  }
  .slider-slide,
  .slider-slide img {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px;
    width: 100% !important;
    object-fit: contain !important;
    border-radius: 8px;
  }
}

.slider-outer {
  background: #101010;
  display: block;
}


/* Latest Updates grid */
.latest-updates-custom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 38px;
  width: 100%;
  max-width: 1540px;
  align-items: stretch;
}
.latest-update-card {
  background: #101010;
  box-shadow: 0 4px 16px #0008;
  overflow: hidden;
  display: flex; 
  flex-direction: column;
  border-radius: 16px;
  position: relative;
  min-width: 0; 
  min-height: 0;
  height: 100%;
  transition: box-shadow .18s;
}
.latest-update-card:hover {
  box-shadow: 0 8px 26px #000c;
}
.latest-update-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  background: #101010;
  transition: transform .24s cubic-bezier(.7,.3,.2,.9);
  max-height: none;
  border-radius: 16px 16px 0 0;
}
@media (max-width: 1000px) {
  .latest-updates-custom {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .latest-updates-custom {
    grid-template-columns: 1fr;
  }
}
.latest-update-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  background: #101010;
  border-radius: 16px 16px 0 0;
}
.latest-update-card:hover img { 
  transform: scale(1.02); 
}
.latest-update-info {
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  justify-content: flex-end;
  padding: 0 0 19px 0;
  background: transparent;
}
.latest-update-title {
  font-size: 1.13em; 
  font-weight: 400; 
  color: #fff; 
  text-decoration: none;
  transition: color .16s;
  padding: 14px 14px 0 14px; 
  word-break: break-word; 
  min-height: 27px; 
  max-height: 27px; 
  overflow: hidden; 
  display: block;
}
.latest-update-title:hover { 
  color: #FF8700; 
}
.latest-update-meta {
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  gap: 2px; 
  padding: 0 14px 0 14px; 
  min-height: 44px;
}
.latest-update-model {
  font-size: 1.09em; 
  color: #FF8700; 
  margin-bottom: 0; 
  text-decoration: none; 
  transition: color .13s;
  margin-top: 2px; 
  font-weight: 500;
}
.latest-update-model:hover { 
  color: #fff; 
}
.latest-update-date {
  font-size: 0.98em; 
  color: #bbb; 
  margin: 0; 
  letter-spacing: 0.03em;
}


/* Modeļu grid */
.model-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
   
    width: 100%;
	
	
    
    gap: 14px;
    
    margin: 0 auto 28px auto;
}

.model-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #101010;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 14px #0005;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    border-radius: 16px;
    min-height: 340px;
    transition: box-shadow .13s, transform .15s;
    height: 400px;
}

.model-card:hover {
    box-shadow: 0 8px 26px #000a;
    transform: scale(1.045);
}

.model-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;      /* vai contain – atkarībā no vajadzības */
    min-height: 0;          /* default – nevajag min-height, ja nav vajadzības */
    flex-grow: 1;
    background: #16161a;
    border-radius: 16px;
    transition: transform .20s cubic-bezier(.7,.3,.2,.9);
    display: block;
}

.model-card:hover img {
    transform: scale(1.07);
    border-radius: 16px;
}

.model-card .model-name-link {
    display: block;
    margin: 0;
    padding: 16px 0 8px 0;
    font-size: 1.09em;
    font-weight: 500;
    color: #FF8700;
    letter-spacing: .01em;
    text-decoration: none;
    border-radius: 0;
    transition: color .13s;
}

.model-card .model-name-link:hover {
    color: #fff;
}

/* --- Responsive --- */

/* Tablets: 3 kolonnas */
@media (max-width: 1100px) {
    .model-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobīlie: 2 kolonnas */
@media (max-width: 700px) {
    .model-grid {
        grid-template-columns: 1fr 1fr;
		gap: 7px;
    }
    .model-card {
        min-height: 170px;
        height: auto;
    }
    .model-card img {
        min-height: 90px;
    }
    .model-card .model-name-link {
        font-size: 1.01em;
        padding: 13px 0 6px 0;
    }
}

/* Mazie mobīlie: 2 kolonna */
@media (max-width: 440px) {
    .model-grid {
        grid-template-columns: 1fr 1fr;
		gap: 7px;
    }
}


/* Updates/Members Picks/Hidden Gems */
.flex-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 30px;
  width: 100%;
}
.update-card {
    background: #101010;
  box-shadow: 0 4px 16px #0008;
  overflow: hidden;
  display: flex; 
  flex-direction: column;
  border-radius: 16px;
  position: relative;
  min-width: 0; 
  min-height: 0;
  height: 100%;
  transition: box-shadow .18s;
}
.update-card:hover { 
    box-shadow: 0 8px 26px #000e;
}
.update-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: #101010;
  border-radius: 16px;
  transition: transform .21s cubic-bezier(.7,.3,.2,.9);
  display: block;
}
.update-card:hover img { 
    transform: scale(1.06);
}
.update-info {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #101010;
  padding: 0 0 4px 0;
  min-height: 100px;
  border-radius: 0 0 16px 16px;
}
.update-title {
    font-size: 1.06em; 
    color: #fff; 
    text-decoration: none; 
    padding: 12px 13px 0 13px; 
    min-height: 24px; 
    max-height: 24px; 
    overflow: hidden;
    word-break: break-word; 
    display: block; 
    transition: color .15s;
	white-space: nowrap;            /* JAUNA rinda */
    text-overflow: ellipsis;        /* JAUNA rinda */
    max-width: 300px;               /* Pielāgo platumu pēc dizaina! */
}

.update-title:hover { 
    color: #FF8700;
}
.update-meta { 
    padding: 0 13px 11px 13px; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 2px;
}
.update-model {
  font-size: 1.09em; 
  color: #FF8700; 
  margin-bottom: 0; 
  text-decoration: none; 
  transition: color .13s;
  margin-top: 2px; 
  font-weight: 500;
}
.update-model:hover { 
    color: #fff;
}
.update-date { 
    color: #bbb; 
    font-size: 0.98em; 
    margin: 0; 
}
/* Planšetēm – 2 kolonnas */
@media (max-width: 1100px) {
  .flex-row-4 { grid-template-columns: repeat(2, 1fr); }
}
/* Mobilajiem – 1 kolonna */
@media (max-width: 700px) {
  .flex-row-4 { grid-template-columns: 1fr; }
  .update-card img {
    object-fit: contain !important;
    height: 100% !important;
    min-height: 70px !important;
    background: #101010;
    border-radius: 16px;
  }
  .update-card { min-height: 120px; height: auto; }
  .update-card img { min-height: 70px; }
}



/*////// PAŠAS LAPAS - UPDATES - PHOTOS - VIDEOS //////*/

/* Dropdown Container */
.sort-dropdown {
  position: relative;
  display: inline-block;
  font-family: inherit;
}
/* Button */
.sort-btn {
  padding: 8px 18px;
  border-radius: 8px;
  background: #fff;
  border: 1.5px solid #bbb;
  color: #222;
  font-size: 1.1em;
  min-width: 120px;
  cursor: pointer;
  box-shadow: 0 2px 10px #0001;
  transition: border .18s, background .16s;
}
.sort-btn:hover, .sort-btn:focus {
  border-color: #ff8700;
  background: #faf7f2;
  outline: none;
}

/* Dropdown Menu Jaunākās Populārākās utt. */
.sort-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  z-index: 25;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 24px #0003;
  min-width: 180px;
  padding: 5px 0 5px 0;
  overflow: hidden;
  border: 1.5px solid #eee;
}
.sort-dropdown.open .sort-menu {
  display: block;
  animation: dropOpen .19s;
}
@keyframes dropOpen { from {opacity:0; transform:translateY(16px);} to{opacity:1; transform:translateY(0);}}
.sort-group-label {
  padding: 8px 18px 3px 18px;
  font-size: 1.06em;
  font-weight: 700;
  color: #292929;
  opacity: .82;
  font-style: italic;
  pointer-events: none;
}
.sort-option {
  display: block;
  width: 100%;
  padding: 8px 18px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.07em;
  color: #222;
  cursor: pointer;
  transition: background .13s, color .14s;
}
.sort-option:hover, .sort-option.active {
  background: #faf4ed;
  color: #ff8700;
  font-weight: 600;
}
.sort-btn {
  background: #191919;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.12em;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: 0 2px 6px #0002;
  transition: background .13s, color .13s;
  min-width: 132px;
}
.sort-btn:after {
  content: "▼";
  font-size: .8em;
  margin-left: 9px;
  color: #FF8700;
  vertical-align: middle;
  opacity: .78;
}
@media (max-width: 600px) {
  .sort-menu { min-width: 98vw; left: -18px; right:0;}
}


/*// LAPU VIRSRAKSTI //*/

.section-title-pages {
	display:flex; 
	align-items:center; 
	justify-content:flex-start; 
	margin-top:36px;
	font-size:2.1em; 
	color:#FFFFFF; 
	letter-spacing:0.05em;
	padding: 60px 0px 36px 0px; /*// Augša / Pa Labi / Uz Leju / Pa Kreisi //*/
	}

.updates-banner-index {
	margin:18px 0 18px 0;        /* Atstarpes augšā un apakšā (18px), pa labi un kreisi 0 */
	padding: 14px 4vw;           /* Iekšējās atstarpes: augšā/apakšā 14px, pa labi/kreisi 4% no ekrāna platuma */
	min-height: 80px;            /* Minimālais augstums – vienmēr vismaz 80px */
	background:#191919;          /* Fona krāsa */
	border-radius:16px;          /* Stūru noapaļojums (16px) */
	display:flex;                /* Aktivē flexbox izkārtojumu */
	font-size: 19px;             /* Teksta izmērs 19px */
	font-weight: 600;            /* Teksta biezums – pusliels */
	text-align: center;          /* Teksta līdzinājums centrā (iekš elementa) */
	letter-spacing: 0.01em;      /* Nedaudz lielāks attālums starp burtiem */
	align-items:center;          /* Vertikāli centrē flexboxā (pa vidu) */
	justify-content:center;      /* Horizontāli centrē flexboxā (pa vidu) */
	color:#fff;                  /* Teksta krāsa – balta */
	line-height: 1.1;            /* Attālums starp rindiņām (ļoti blīvs teksts) */
}
.updates-banner {
	margin:18px 0 18px 0;        /* Atstarpes augšā un apakšā (18px), pa labi un kreisi 0 */
	padding: 14px 4vw;           /* Iekšējās atstarpes: augšā/apakšā 14px, pa labi/kreisi 4% no ekrāna platuma */
	min-height: 80px;            /* Minimālais augstums – vienmēr vismaz 80px */
	background:#101010;          /* Fona krāsa */
	border-radius:16px;          /* Stūru noapaļojums (16px) */
	display:block;                /* Aktivē flexbox izkārtojumu */
	text-align: center;          /* Teksta līdzinājums centrā (iekš elementa) */
	letter-spacing: 0.01em;      /* Nedaudz lielāks attālums starp burtiem */
	align-items:center;          /* Vertikāli centrē flexboxā (pa vidu) */
	justify-content:center;      /* Horizontāli centrē flexboxā (pa vidu) */
	color:#fff;                  /* Teksta krāsa – balta */
}
.updates-banner h2 {
    margin: 0 0 13px 0;
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.updates-banner p {
    margin: 0 auto;
    font-size: 1.14em;
    color: #bbb;
    line-height: 1.45;
    max-width: 600px;
	font-weight: 300;
}
.section-title-pages {
  margin-top: 0;
  padding-top: 0;
}
.updates-row {
  margin-top: 0;
  padding-top: 0;
}
.section-title-pages h1 {
  margin-top: 0;
  padding-top: 0;
}

.updates-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;   /* Vari mainīt, ja vajag mazāk atstarpes */
  margin-bottom: 20px; /* Lai nav tik liels tukšums */
  width: 100%;
}
.section-title-pages {
  margin: 0;
  padding: 0;
  letter-spacing: 0.05em;
  font-weight: bold;
}



/*////// MODEĻU LAPA //////*/
.models-alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin: 0 0 24px 0;
}
.models-alphabet a, .models-alphabet span {
    font-size: 1em;
    font-weight: 600;
    border-radius: 6px;
    padding: 5px 5px;
    display: inline-block;
    margin-bottom: 2px;
    text-align: center;
    min-width: 20px;
    transition: background .16s, color .16s;
    line-height: 1.10;
}
.models-alphabet a {
    background: #24242a;
    color: #fff;
    text-decoration: none;
}
.models-alphabet a.active, .models-alphabet a:focus {
    background: #FF8700;
    color: #fff;
}
.models-alphabet span {
    color: #777;
    background: #191919;
    opacity: 0.5;
}
@media (max-width: 600px) {
    .models-alphabet a, .models-alphabet span {
        font-size: 0.85em;
        padding: 4px 4px;
        min-width: 15px;
    }
}



/*////// FOOTER //////*/

footer {
  background: #101010;
  color: #888;
  padding: 40px 0 36px 0;
  font-size: 0.85em;
  border-top: 1px solid #000000;
  letter-spacing: .02em;
}
.footer-inner {
  max-width: 1500px;
  margin: auto;
  text-align: center;
  line-height: 2.0;
  padding: 0 16px;
  word-break: break-word;
 
}
.footer-inner a {
  color: #888;
  text-decoration: none;
  padding: 2px 6px;
  margin: 2px 2px;
}
  .footer-mobile { display: none; }
  .footer-desktop { display: block; }
@media (max-width: 700px) {
  .footer-mobile { display: block; }
  .footer-desktop { display: none; }
}

@media (max-width: 700px) {
  .footer-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding: 22px 0 44px 0;
    background: #000;
  }
  .footer-copy {
    color: #888;
    font-size: 0.98em;
    margin-bottom: 18px;
  }
  .footer-gap {
    height: 16px;
  }
  .footer-link {
    display: block;
    color: #f1f1f1;
    font-size: 1.13em;
    text-decoration: none;
    padding: 7px 0;
    margin: 0;
    transition: color 0.15s;
    text-align: center;
    letter-spacing: .03em;
    font-weight: 500;
  }
  .footer-link:hover,
  .footer-link:focus {
    color: #FF8700;
    text-decoration: none;
  }
}
@media (min-width: 701px) {
  .footer-mobile { 
	  display: none !important; }
}

/*////// JOIN LAPA //////*/
.pricing-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  justify-content: center;
  margin: 0 auto 36px auto;
  max-width: 1200px;
}

.pricing-card {
  background: #171717;
  padding: 30px 18px 22px 18px;
  border-radius: 12px;
  box-shadow: 0 3px 18px 0 #0002;
  min-width: 0;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 490px;
  margin-bottom: 16px;
}

.pricing-card .pricing-head { 
	text-align: center; 
	margin-bottom: 16px;}
.pricing-card .pricing-title {
	font-size: 1.17em;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 2px;}
.pricing-card .pricing-price {
	font-size: 2.1em;
	font-weight: 800;
	color: #FF8700;}
.pricing-card .pricing-price span {
	font-size: 0.7em;}
.pricing-card .pricing-per-day {
	font-size: 0.98em;color: #bababa;}
.pricing-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 0 0px 22px 50px;
  flex: 1;
  font-size: 1em;
  width: 100%;
  max-width: 260px;
}
.pricing-card ul li {margin-bottom: 7px;}
.pricing-card ul li span {font-size: 0.87em;color: #888;}
.pricing-card .pricing-btns {width: 100%;display: flex;flex-direction: column;align-items: center;gap: 7px;}
.pricing-card .seemore-btn {
  background: #EC7D00;
  color: #FFFFFF;
  margin: 0 auto;
  border-radius: 6px;
  padding: 12px 0;
  border: none;
  font-size: 1.04em;
  font-weight: 600;
  width: 100%;
  display: block;
  text-align: center;
  text-decoration: none;
  margin-bottom: 0;
  cursor: pointer;
  transition: background .15s;
}
.pricing-card .seemore-btn:hover {background: #fff; color:#000}
.pricing-card form {margin: 0;}
.pricing-card input[type="image"] {margin-top: 4px; width: 165px; max-width: 100%; height: auto;}

/* Responsive - svarīgi, lai viss sakārtojas arī uz telefoniem */
@media (max-width: 1020px) {
  .pricing-row {grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 700px) {
  .pricing-row {grid-template-columns: 1fr;}
  .pricing-card {max-width: 96vw;}
}

/* Baneris paliek draudzīgs arī uz mobīlajiem */
.pricing-banner {
  width: 100%;
  margin: 38px 0 38px 0;
  background: #282835;
  border-radius: 16px;
  padding: 22px 6vw;
  color: #ffe;
  font-size: 1.32em;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 18px 0 #0001;
  letter-spacing: 0.01em;
}
@media (max-width: 700px) {
  .pricing-banner {
	  font-size:1em;
	  padding:16px 2vw;}
}

/*////// MODELS PROFILE LAPA //////*/
.gallery-card {
  background: #101010;
  box-shadow: 0 4px 16px #0008;
  overflow: hidden;
  display: flex; 
  flex-direction: column;
  border-radius: 16px;
  position: relative;
  min-width: 0; 
  min-height: 0;
  height: 100%;
  transition: box-shadow .18s;
}
.gallery-card:hover { 
	box-shadow: 0 8px 26px #000e;
}
.gallery-card img {
    width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: #101010;
  border-radius: 16px;
  transition: transform .21s cubic-bezier(.7,.3,.2,.9);
  display: block;
}
.gallery-card:hover img { 
    transform: scale(1.06);
}
.gallery-info {
    width: 100%;
    box-sizing: border-box;
    padding: 2zpx 0 0 0;
	min-height: 85px
}

.gallery-title {
    display: block;
    font-size: 1.03em;
    color: #fff;
    text-decoration: none;
    padding: 30px 8px 0 8px;
    min-height: 24px;
    max-height: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 300px;
    transition: color .15s;
}
.gallery-title:hover {
    color: #FF8700;
}

.gallery-meta {
    font-size: 0.95em;
    color: #aaa;
    padding: 0 8px 7px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gallery-date {
    font-size: 0.9em;
    color: #888;
}


.profile-links {
  font-size: 1em;
  color: #fff;
}

.profile-block {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 38px;
  max-width: 1200px;
  margin: 0 auto 38px auto;
  padding: 36px 16px;
  background: #101010;
  border-radius: 12px;
  box-shadow: 0 0px 0px #101010;
  flex-wrap: wrap;
}

.profile-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Kreisā kolonna: bilde */
.profile-col-img {
  min-width: 280px;
  max-width: 366px; /* Lielāka bilde */
  flex-basis: 28%;
  align-items: center;
  text-align: center;
}
.profile-col-img img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  background: #222;
  box-shadow: 0 3px 18px #0007;
}

/* Vidējā kolonna: stats */
.profile-col-stats {
  flex: 0 0 210px;
  max-width: 210px;
  padding: 8px 12px;
}

/* Labā kolonna: bio (visplatākā) */
.profile-col-bio {
  flex: 1 1 400px;    /* elastīgi, bet ne šaurāk par 400px */
  min-width: 320px;
  max-width: 700px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.9em;
  font-weight: 100;
}
.profile-col-bio h1 {
  margin-top: -25px;
  font-size: 1.3em;
  font-weight: 500;
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .profile-block {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 16px 4vw;
  }
  .profile-col-img,
  .profile-col-stats,
  .profile-col-bio {
    min-width: 0;
    max-width: 100vw;
    width: 100%;
    padding: 0 0 18px 0;
  }
	.setpreview-desc {padding-left: 5px; padding-right: 5px;}
}

/* Zvaigznītes */
.star-rating {
  margin-bottom: 24px;
  margin-top: 20px;
  display: flex;
  align-items: center;
}
.star-svg {
  width: 1.3em;
  height: 1.3em;
  vertical-align: middle;
  margin-right: 1px;
}
.star-svg-font {
  font-size: 1.6em;
  color: #ffb700;
  font-weight: bold;
  vertical-align: middle;
  margin-left: 7px;
}
.Vital-Stats-title{
  font-size:1.2em;
  color:#ff8700;
  font-weight:400;
  margin-bottom:13px;
}
.vital-stats-measures{
  line-height:2;
  font-size:1.0em;
  font-weight:200;
}

.profile-links a {
  color: #ff8700;
  text-decoration: none;
  transition: color 0.2s;
  font-size:1.2em;
  font-weight: 400;
  line-height: 1.4; 
}

.profile-links a:visited {
  color: #ff8700;
	
}

.profile-links a:hover,
.profile-links a:focus {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .setpreview-previewgrid {
    padding-left: 5px;  /* Šis pabīda visu elementu no kreisās malas */
	  padding-right: 5px;
  }
}


/* Bildes un kartiņas nekustās ekrānos no (<700px) */
@media (max-width: 700px) {
  .model-card,
  .model-card img,
  .gallery-card,
  .gallery-card img,
  .thumb-card,
  .thumb-card img,
  .update-card,
  .update-card img,
  .latest-update-card,
  .latest-update-card img {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .model-card:hover,
  .model-card:hover img,
  .gallery-card:hover,
  .gallery-card:hover img,
  .thumb-card:hover,
  .thumb-card:hover img,
  .update-card:hover,
  .update-card:hover img,
  .latest-update-card:hover,
  .latest-update-card:hover img {
    transform: none !important;
    box-shadow: none !important;
  }
}
@media (max-width: 600px) {
  .pagination {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    padding: 0 2vw;
  }
  .pagination .seemore-btn {
    font-size: 0.96em !important;
    padding: 7px 12px !important;
    margin: 2px 2px !important;
    min-width: 0 !important;
  }
  .pagination .dots {
    font-size: 1em;
    margin: 0 3px !important;
  }
}
