
/* ==== BLOG ==== */

.blog-container-main {
  max-width: 1000px;
  width: 100%;
  margin: 45px auto;
  background: #151515;
  border-radius: 18px;
  padding: 16px 24px 32px 24px;
  box-sizing: border-box;
}

  .blog-container-main h1 {
    font-size: 1.35em !important;
    margin-left: 0;
  }
  .blog-container-main .blog-date {
    font-size: 1em !important;
    margin-left: 0;
    margin-bottom: 30px !important;
  }
  .blog-content {
    font-size: 1em !important;
    margin: 0 2px 18px 2px !important;
    padding: 0 !important;
  }
	body {
  max-width: 100vw;
  overflow-x: hidden;
}
}




.btn-orange-link,
.btn-orange-link:visited,
.btn-orange-link:active {
  color: #101010 !important;
}
.thumb-grid { 
	display:flex; 
	flex-wrap:wrap; 
	gap:22px; }

.thumb-card { 
	background:#23232b; 
	border-radius:10px; 
	box-shadow:0 2px 8px #0003; 
	width:320px; 
	padding:15px 12px 15px 12px; 
	display:flex; 
	flex-direction:column; 
	align-items:center; 
	margin-bottom:20px;}
.thumb-name { 
	font-weight:bold; 
	margin:7px 0 2px 0; 
	font-size:1.02em;}
.actions { 
	background:#ff8700; 
	color:white !important; 
	padding:6px 13px; 
	border-radius:7px; 
	text-decoration:none; 
	margin-top:9px;}
.actions:hover { 
	background:#ff8700; 
	color:#fff !important;}
.seemoreb-btn { 
	background:#23232b; 
	color:#fff; 
	border-radius:7px; 
	padding:6px 15px; 
	text-decoration:none; 
	margin:2px; 
	font-weight:500; }
.seemoreb-btn.active { 
	background:#ff8700; 
	color:#fff !important;}
.paginationb {
	margin:20px 0 18px 0; 
	display:flex; 
	gap:8px; 
	flex-wrap:wrap; 
	justify-content:center;}

@media (max-width: 900px) {
  .container {
    max-width: 98vw !important;
    padding: 10px !important;
    margin: 0 auto !important;
  }
  .blog-content {
    font-size: 1em !important;
    margin: 0 5px 20px 5px !important;
    padding: 0 !important;
    word-break: break-word;
  }
  .thumb-grid {
    gap: 12px;
    justify-content: center;
  }
  .thumb-card {
    width: 96vw !important;
    max-width: 350px;
    min-width: 180px;
    padding: 11px 6px;
    margin-left: auto;
    margin-right: auto;
  }
  .thumb-card img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 8px;
  }
  .paginationb {
    gap: 5px;
    font-size: 1em;
    flex-wrap: wrap;
  }
  .seemoreb-btn,
  .actions,
  .btn-orange-link {
    font-size: 1em !important;
    padding: 9px 10px !important;
    min-width: 130px;
    display: inline-block;
    margin: 3px auto !important;
    text-align: center;
  }
}

/* Īpaši maziem ekrāniem (<600px) */
@media (max-width: 600px) {
  .blog-content {
    font-size: 0.99em !important;
    padding: 0 2px !important;
  }
  .thumb-card {
    width: 97vw !important;
    max-width: 99vw;
    min-width: unset;
    padding: 7px 3px;
  }
  .thumb-name {
    font-size: 0.98em;
  }
  .container {
    max-width: 99vw !important;
    padding: 4px !important;
  }
  .btn-orange-link,
  .actions,
  .seemoreb-btn {
    font-size: 1em !important;
    padding: 9px 6px !important;
    min-width: 90px;
  }
}


h1 {
  font-size: 35px;
  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;
}
.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;
	font-size: 1.8rem; /* vai cita vērtība */
  font-weight: 700;
}
.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;
}
.blog-main-container {
  max-width: 1200px;
  width: 100%;
  margin: 36px auto 44px auto;
  background: #121212;
  border-radius: 14px;
  box-shadow: 0 2px 22px #0002;
  padding: 32px 28px 38px 28px;
}


.blog-date {
  color: #A2A2A2;
  font-size: 1.0em;
  margin-bottom: 32px;
  margin-top: 3px;
  margin-left: 1px;
  opacity: 0.88;
}
.blog-content {
  font-size: 1.15em;
  line-height: 1.7;
  color: #f5f5f5;
  margin: 24px 0 30px 0;
  word-break: break-word;
}
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 18px 0;
  display: block;
}
.blog-comments-section {
  background: #101010;
  border-radius: 10px;
  padding: 20px 16px 22px 16px;
  margin-top: 36px;
  margin-bottom: 24px;
  color: #b9b9b9;
  font-size: 1.12em;
}
.blog-comments-empty {
  opacity: 0.8;
  font-style: italic;
  padding: 10px;
}
.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;
}
/* Hidden Gems un Updates/Members Picks */
.flex-row-4 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 17px;
  margin-bottom: 30px;
  width: 100%;
  justify-content: center;
}
.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: 1.8em;
  max-height: 1.8em;
  overflow: hidden;
  word-break: break-word;
  display: block;
  transition: color .15s;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 300px;
}
.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;
}
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 38px;
  width: 100%;
}
.thumb-card {

  min-height: 460px;
  background: #18181b;
  border-radius: 13px;
  box-shadow: 0 2px 13px #0002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 14px 18px 14px;
	width: auto;
}
.thumb-card img {
  width: 100%;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  background: #18181b;
  border-radius: 8px;
  display: block;
  margin-bottom: 16px;
  transition: transform 0.3s cubic-bezier(.7,.3,.2,.9);
  will-change: transform;
}
.thumb-card a:hover img {
  transform: scale(1.06);
}
.thumb-name {
  font-size: 1.24em;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px 0;
  white-space: nowrap;         /* Tikai viena rinda */
  overflow: hidden;            /* Noslēpj pārpalikušo */
  text-overflow: ellipsis;     /* Parāda ... */
  max-width: 100%;             /* Ja vajag, vari uzlikt max platumu (piem. 240px vai 95%) */
}
.thumb-date {
  font-size: 1.00em;
  color: #A2A2A2;
  margin-bottom: 10px;
}
.thumb-meta {
  font-size: 1em;
  line-height: 1.6;
  color: #d9d9d9;
  margin-bottom: 8px;
}
.actions-blog {
  margin-top: 13px;
  display: inline-block;
  background: #303030;      /* Oranžais fons */
  color: #fff;           /* Melni burti */
  text-decoration: none;
  font-weight: 600;
  font-size: 1.00em;
  border-radius: 8px;       /* Apaļi stūri */
  padding: 7px 18px;       /* Plašāka poga */
  box-shadow: 0 2px 14px #0002;
  border: none;
  transition: color 0.18s, background 0.18s;
  cursor: pointer;
  letter-spacing: 0.4px;
}

.actions-blog:hover,
.actions-blog:focus {
  color: #303030;              /* Balti burti */
  background: #fff;      /* Saglabā oranžo fonu */
  text-decoration: none;
}

.seemoreb-btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 6px;
  background: #23232a;
  color: #fff;
  margin: 0 2px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.01em;
  transition: background 0.17s, color 0.17s;
}
.seemoreb-btn.active, .seemoreb-btn:hover {
  background: #FF8700;
  color: #fff;
}



    /* JOIN BUTTON IN BLOG TEXT */
.btn-primary {
	display: inline-block;
    background: #5E0001;      /* krasains fons */
    color: #fff;           /* balti burti */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.30em;
    border-radius: 8px;       /* Apaļi stūri */
    padding: 7px 18px;       /* Plašāka poga */
    box-shadow: 0 2px 14px #0002;
    border: none;
    transition: color 0.18s, background 0.18s;
    cursor: pointer;
    letter-spacing: 0.4px;
}
.btn-primary:hover,
.btn-primary:focus {
  color: #000;              /* Balti burti */
  background: #310000;      /* Saglabā oranžo fonu */
  text-decoration: none;
}



/* Responsive: mazajiem ekrāniem */
@media (max-width: 950px) {
  .thumb-grid { 
	  grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  
}
/* Planšetēm – 2 kolonnas */
@media (max-width: 1100px) {
  .flex-row-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ========================== */
/*     MOBILIE EKRĀNI         */
/* ========================== */

@media (max-width: 700px) {

  html, body {
    width: 98%;
   ;
  }
	h1 {
  font-size: 25px;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
  padding: 18px 3px 10px 3px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  border-bottom: 0px solid #e0e0e0;
}
  .thumb-grid { 
	  grid-template-columns: 1fr; 
	  gap: 4px;
	width: 100% !important;
    max-width: 100% !important;
	}
  .thumb-card { 
	  padding: 13px 13px 16px 13px;
	width: 100%;
	max-width:100%}
  .thumb-card img { 
	  height: 170px;
	  width: 100%;
	}
	
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
	
	
	.thumb-name {
  font-size: 1.20em;
  font-weight: 600;
  color: #fff;
  
  white-space: nowrap;         /* Tikai viena rinda */
  overflow: hidden;            /* Noslēpj pārpalikušo */
  text-overflow: ellipsis;     /* Parāda ... */
  max-width: 100%;             /* Ja vajag, vari uzlikt max platumu (piem. 240px vai 95%) */
   margin-left: 7px;
}
.thumb-date {
  font-size: 1.00em;
  color: #A2A2A2;
  margin-bottom: 10px;
  margin-left: 7px;
}
.thumb-meta {
  font-size: 1em;
  line-height: 1.6;
  color: #d9d9d9;
  margin-bottom: 8px;
  margin-left: 7px;
}
.actions-blog {
  margin-top: 13px;
	 margin-left: 7px;
  display: inline-block;
  background: #303030;      /* krasains fons */
  color: #fff;           /* balti burti */
  text-decoration: none;
  font-weight: 600;
  font-size: 1.00em;
  border-radius: 8px;       /* Apaļi stūri */
  padding: 7px 18px;       /* Plašāka poga */
  box-shadow: 0 2px 14px #0002;
  border: none;
  transition: color 0.18s, background 0.18s;
  cursor: pointer;
  letter-spacing: 0.4px;
}

.actions-blog:hover,
.actions-blog:focus {
  color: #303030;              /* Balti burti */
  background: #fff;      /* Saglabā oranžo fonu */
  text-decoration: none;
}
	
	

  .blog-main-container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 3vw 24px 3vw;
    margin: 18px 0 28px 0;
    border-radius: 0;
    box-shadow: none;
    background: #121212;
  }



  
  .blog-date {
    font-size: 1.00em;
	color: #A2A2A2;
    margin-left: 0;
    margin-bottom: 21px;
    margin-top: 3px;
    padding-left: 2vw;
  }

  .blog-content {
	  width: 98%;
    font-size: 1.06em;
    margin: 0 0 18px 0;
    line-height: 1.55;
    color: #f5f5f5;
    word-break: break-word;
	  padding-left: 0.2vw !important;
    padding-right: 0.2vw !important;
  }
  .blog-content img {
    max-width: 100%;
    height: auto;
    
    border-radius: 9px;
  }

  .blog-comments-section {
    width: 98%;
    margin-top: 18px;
    margin-bottom: 19px;
    font-size: 1.01em;
    border-radius: 7px;
	  padding-left: 0.4vw !important;
    padding-right: 0.4vw !important;
  }

  /* HIDDEN GEMS */
  .flex-row-4 {
	  width: 98%;
    display: grid !important;
	  grid-template-columns: 1fr 1fr !important;}
   .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; }


  /* Related galleries, ja lieto blog-hidden-gems-list */
  .blog-hidden-gems-list {
	  width: 95%;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px 9px;
    padding: 0 2vw 10px 2vw;
   
    margin-left: -2vw;
    margin-right: -2vw;
  }
  .blog-hidden-gem-card {
    min-width: 0;
    max-width: 100%;
    border-radius: 9px;
    padding: 6px 2px 10px 2px;
  }
  .blog-hidden-gem-card img {
    width: 100%;
    max-width: 100%;
    border-radius: 9px 9px 0 0;
    aspect-ratio: 16/10;
    object-fit: cover;
  }
  .blog-hidden-gem-title {
    font-size: 0.97em;
    max-width: 96%;
    white-space: normal;
    margin: 6px 0 0 0;
  }

.setpreview-col.right {
  flex: 0 0 190px;
  max-width: 200px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #181818;
  border-radius: 17px;
  box-shadow: 0 5px 32px #0005;
  padding: 20px 10px 16px 10px;
}
.setpreview-modelpic {
  width: 160px;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px #0005;
}
.setpreview-modelname {
  color: #FF8700;
  font-size: 1.17em;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 10px;
  letter-spacing: 0.01em;
}
.setpreview-vital {
  background: #212121;
  border-radius: 11px;
  padding: 10px 15px;
  font-size: 1.07em;
  color: #ddd;
  margin-top: 5px;
}
.setpreview-vital b {
  color: #fff;
  font-weight: 500;
}
@media (max-width: 700px) {
  .thumb-card img,
  .thumb-card:hover img {
    transition: none !important;
    transform: none !important;
  }
  .thumb-card:hover img {
    /* dubultā, lai 100% pārraksta! */
    transform: none !important;
  }
}
@media (max-width: 900px) {
  .blog-top-row {
    gap: 30px !important;
  }
}
.blog-cover-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 42px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto 0 auto;
  width: 100%;
}

.blog-cover-col {
  width: 100%;
  max-width: 900px;
}

.blog-cover {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 8px;
}

.model-profile-col {
  background: #101010;
  border-radius: 12px;
  padding: 18px 12px 14px 12px;
  max-width: 290px;
  
  margin: 0 auto;
  text-align: left;
}

.model-profile-col .setpreview-modelpic {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  margin: -10px auto 10px auto;
  display: block;
	
}

.model-profile-col .setpreview-modelname {
  font-weight: 700;
  color:#FF8700;
  margin: 8px 0 10px 0;
  font-size: 1.11em;
	
}

.model-profile-col .setpreview-modelname a {
  color: inherit;
  text-decoration: none;
}

.model-profile-col .vital-stats-title {
  font-size: 1em;
  color: #FF8700;
  font-weight: 500;
  margin-bottom: 6px;
  margin-top: 2px;
}

.model-profile-col .vital-stats-measures {
  font-size: 0.98em;
  color: #eee;
  line-height: 1.55;
  font-weight: 400;
}

/* Responsive - mobilajiem */
@media (max-width: 900px) {
  .blog-cover-row {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }
  .model-profile-col {
    max-width: 98vw;
    margin: 0 auto;
  }
	.blog-cover-col {
  width: 100%;
  max-width: 400px;
}
  
}

/* Īpaši šauriem ekrāniem */
@media (max-width: 600px) {
  .blog-cover-row {
    gap: 12px;
    padding: 0 2vw;
  }
	.blog-cover-col {
  width: 100%;
  max-width: 400px;
}
  .model-profile-col {
    padding: 13px 5px 11px 5px;
    border-radius: 9px;
  }
  .blog-cover {
    border-radius: 8px;
  }
}

.blog-content a,
.blog-content a:visited,
.blog-content a:active {
  color: inherit !important;      /* linkiem tāda pati krāsa kā tekstam */
  text-decoration: underline;     /* ja vēlies svītriņu (vari noņemt, ja nevajag) */
  font-weight: inherit;           /* nepadara treknu, ja teksts nav trekns */
}
.btn-orange-link,
.btn-orange-link:visited,
.btn-orange-link:active {
  color: #101010 !important;
}
@media (max-width: 700px) {
  .blog-content {
	  width: 98%;
    padding-left: 16px;
    padding-right: 16px;
  }
	h1 {
	width: 98%;
}
	.blog-cover-col {
		width: 98%;
	}
}
/* Universāli visiem elementiem */
*, *:before, *:after {
  box-sizing: border-box;
}

/* Blog wrappers uz mobilo */
@media (max-width: 700px) {
  .blog-main-container,
  .blog-cover-row,
  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .blog-content {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
