* { box-sizing: border-box; }

body {
    
    margin: 0;
	font-family: 'Inter', sans-serif;
    color: #333333;
    
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333333;
    font-size: 1rem;
    line-height: 1.8rem;
    font-family: 'Inter', sans-serif;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.main-content {
    flex: 1;
    background: white;
    padding: 15px;
    border-top: solid #039ee3 2px;
    margin-top: 50px;		min-width: 300px;
}




.post-content a {
  
  color: blue;
  text-decoration: none;

}


.post-content a:hover {
  
  color: green;

}


.post-content li {
  
  line-height: 1.9rem;
  margin-bottom: 8px;

}





.sidebar {
    width: 250px;
    padding: 12px;
    margin-top: 50px;
    overflow: hidden;
    
}

.sidebar a {
    text-decoration: none;
    font-size: 17px;
    color: gray;
    
}

.sidebarbox {
     
    border: 1px #eee solid;
    border-radius: 15px;
    box-shadow: 2px 3px 10px -2px;
    padding: 8px;
    margin-bottom: 45px;
	
	

	
}


.sidebarcategorylinks {
     line-height: 26px;
	 padding-top: 14px;
}


.sidebarcategorylinks a{
     display: block;
	 margin-bottom: 15px;
}


.sidebarcategorylinks a:hover{
      
	 color: black;
}





.related-posts-sidebar a {
    font-size: clamp(15px, 2.5vw, 16px);
    text-decoration: none;
    color: #0b78d6;
    font-weight: bold;
	display: block;
    margin-bottom: 19px;
    line-height: 1.4; 
	 
}




.related-posts-sidebar a:hover {
    color: #F2D32F;
    transition: all 0.5s ease;
}






.related-links a {
    font-size: clamp(15px, 2.5vw, 16px);
    text-decoration: none;
    color: #0b78d6;
    font-weight: bold;
	display: block;
    margin-bottom: 10px;
    line-height: 1.4; 
	 
}




.related-links a:hover {
    color: #F2D32F;
    transition: all 0.5s ease;
}



 

h1 {
    font-size: clamp(22px, 5vw, 31px);
    font-weight: 700;
    line-height: 1.2;
    color: #222;
    margin: 20px 0;
	 
}




h2 { font-size: 1.75rem; }
h3 { font-size: 1.65rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

h2, h3, h4, h5, h6 {
    color: #555;
    font-weight: 700;
    margin: 55px 0 10px;
}

 
@media (max-width: 992px) {
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.55rem; }
    h4 { font-size: 1.4rem; }
    h5 { font-size: 1.2rem; }
    h6 { font-size: 1rem; }

    h2, h3, h4, h5, h6 {
        margin: 40px 0 8px;
    }
}

 
@media (max-width: 576px) {
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }

    h2, h3, h4, h5, h6 {
        margin: 25px 0 6px;
    }
}






.post-date {
    color: #999;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 0px;
}

.sidebar ul li a {
    color: gray;
    text-decoration: none;
}

.sidebar ul li a:hover {
    text-decoration: none;
}

.sidebar h3 {
    color: #33423b;
    font-size: 1.08em;
}

/* Responsive */
@media (max-width: 995px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
}

/* Wrapper max width */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
}

/* Top Bar */
.top-bar {
    height: 50px;
    color: white;
    width: 100%;
    background: linear-gradient(to bottom, #49c0f0 0%, #2cafe3 100%);
}

.top-bar .wrapper {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.home {
    float: left;
}

.home img {
    width: 23px;
}

.homeofmenet {
    vertical-align: top;
    margin-left: 10px;
    font-weight: bold;
     
}

.social-icons {
    float: right;
}

.nav-logo {
    float: left;
}

.nav-bar {
    background: white;
}

.legal-nav-bar {
    background-color: #fff;
    overflow: hidden;
    padding-top: 12px;
    float: right;
}

.legal-nav-bar a {
    float: left;
    color: #826565;
    text-align: center;
    padding: 11px 17px;
    text-decoration: none;
    font-size: 17px;
    background: #fff0bf;
    border-right: 3px white solid;
    margin-bottom: 3px;
}

.legal-nav-bar a.active {
    background-color: #3db9ea;
    color: white;
}

.legal-nav-bar a:hover {
    background-color: #ddd;
    color: black;
}

.nav-logo img {
    height: 80px;
}

.social-icons img {
    width: 20px;
    vertical-align: middle;
    float: right;
    margin-right: 10px;
}

.author {
    margin-top: 13px;
    float: right;
}

.author a {
    color: #216792;
	text-decoration: none;
	font-size: 14px;
}

.authorspan {
    font-size: 14px;
}




.paralax-title {
	
   font-weight: bold;
   color: white;
   font-size: clamp(25px, 5vw, 45px);
   text-shadow: 0 2px 6px rgba(0,0,0,0.6);
   margin: 0;
   line-height: 1.4;

}









/* Responsive */
@media (max-width: 800px) {
    .top-bar .wrapper { }
    .social-icons {
        display: none !important;
    }
    .legal-nav-bar {
        display: none !important;
    }
	
	
}

.parallax {
    position: relative;
    background-image: url('../images/parallax2.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.parallax-content {
    position: relative;
    z-index: 1;
}

.parallax-content h1 {
    color: white;
    font-size: 45px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    margin: 0;
}

@media (max-width: 768px) {
    .parallax {
        height: 250px;
        background-attachment: scroll;
    }
    .parallax-content h1 {
        font-size: 24px;
    }
}

.footer {
    background: #000000;
    padding-top: 28px;
    margin-top: 150px;
    padding-bottom: 15px;
     
}

.footersite {
    opacity: 0.8;
    color: gold;
    font-size: 18px;
    font-weight: bold;
     
}

.soclinksfooter , .pagelinksfooter  {
    color: #bdc1ca;
    text-decoration: none;
    margin-right: 14px;
	margin-top: 14px;
}

.soclinksfooter a, .pagelinksfooter a {
    color: #bdc1ca;
    text-decoration: none;
    margin-right: 14px;
}

/* INDEX PAGE */
.categories-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolone po redu */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.category-box {
    background: #fff;
    border: 1px solid #459bd2;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    padding: 20px;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}


 
@media (max-width: 1024px) {
    .categories-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

 
@media (max-width: 768px) {
    .categories-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

 
@media (max-width: 480px) {
    .categories-container {
        grid-template-columns: 1fr;  
    }
}








.category-box:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}



.catnamehome   {
	
    background-color: #e3f2fd;
	
}


.catnamehome a {
   
    color: #0d47a1;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.catnamehome a:hover {
	
    text-decoration: none;
	color: black;
	 
	 
}

.tagandposts {
    margin-top: 15px;
}

.tagindex {
    background-color: #fc9c51; 
    color: #230202;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 6px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    display: block;
}

.post-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0 0 10px 0;
}

.post-list li {
    margin-bottom: 6px;
}

.post-list li a {
    display: block;
    font-weight: bold;
    padding: 6px 10px;
    background: #1a73e8;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 1s ease;
}

.post-list li a:hover {
    background: gold;
    color: black;
}

.postindex a {
    display: block;
    padding: 6px 10px;
    background: #1a73e8;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 6px;
    transition: all 0.5s ease;
	font-weight: bold;
}

.postindex a:hover {
    text-decoration: none;
    background: #F2D32F;
	color: black;
}





.main {
    margin-top: 50px;
}

/* STAR RATING */
.allstars {
     float: left;
	 
}



.star-rating {
    font-size: 2em;
    color: #ccc;
    user-select: none;
    display: inline-flex;
    flex-direction: row-reverse;
}

.star-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    font-size: 1.4em;
    line-height: 1;
    position: relative;
    z-index: 1;
	margin-right: -6px;
}

.star-button:hover,
.star-button:hover ~ .star-button {
    color: gold;
}

.filled {
    color: gold;
    pointer-events: none;
}

.star {
    display: inline-block;
}

.avrating, .numofvotes {
    font-size: 12px;
}

.ratingarea {
    margin-bottom: 20px;
}

/* CATEGORY PAGE */
.tag-group {
	
	margin-bottom: 50px;
	 
	border: 1px #eee solid;
    border-radius: 15px;
    box-shadow: 2px 3px 10px -2px;

}

.tagname {
    background: linear-gradient(to bottom, #87e0fd 0%, #53cbf1 40%, #05abe0 100%);
    text-align: center;
    font-weight: 700;
    padding: 0.2em;
    font-size: clamp(1.1em, 5vw, 1.3em);
    cursor: context-menu;
    display: block;
    box-shadow: 6px 8px 6px #888;
    margin-bottom: 20px;
	text-decoration: none;
    color: black;
    transition: background-color 0.5s ease-in-out;
    border-bottom: 1px solid #38cc70;
}


.tagpostincat   {
	
	padding: 0px 5px 6px 8px;
    
}



.tagpostincat a {
    text-decoration: none;
    font-size: 23px;
    color: #0D84C0;
}

.tagpostincat a:hover {
    color: #F2D32F;
    transition: all 0.5s ease;
}

.tagpostincat h5 {
    font-size: 28px;
    margin-top: 10px;
    margin-bottom: 14px;
}

.tagpostincat img {
    width: clamp(20px, 6vw, 50px);
    height: auto;
}





@media (max-width: 992px) {
    .tagpostincat a {
        font-size: 22px;
    }
}

 
@media (max-width: 576px) {
    .tagpostincat a {
        font-size: 19px;
    }
}








@media (max-width: 768px) {
  .author { 
   
   display: none;    
        
  }
}




.post-titles-author a {
    text-decoration: none;
    font-size: 23px;
    color: #0D84C0;
}

.post-titles-author a:hover {
    color: #F2D32F;
    transition: all 0.5s ease;
}

.post-titles-author h5 {
    font-size: 23px;
    margin-top: 32px;
    margin-bottom: 0px;
}

.post-titles-author img {
    width: 50px;
}





/* Table */
 
 
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);  
	border-radius: 10px;
    overflow: hidden;
	
}

th, td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ccc;
}

thead {
    background-color: #1fbcf9;
    font-weight: bold;
    color: white;
}

tbody tr:nth-child(even) {
    background-color: #f8f9fa;  
}



th {
    font-size: 17px;
}

td {
    font-weight: bold;
}

 
tbody td:first-child {
    background-color: #3fc3f4;
    color: white;
}


tr > th:first-child {
    background-color: #5d7a85;   
    color: white;
}


 

 
@media screen and (max-width: 768px) {
  .table-container {
    overflow-x: auto;  
  }

  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
    box-sizing: border-box;  
  }

  thead tr {
    display: none;  
  }

 
  tbody tr {
    margin-bottom: 37px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    background-color: #fff;
  }

  tbody td:first-child::before {
    content: '';
  }

  tbody td:first-child {
    display: block;
    text-align: center;
    padding: 8px 12px;
    font-weight: bold;
    word-break: break-word;
    font-size: 18px;
  }

  tbody td:not(:first-child) {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    font-weight: normal;
    flex-wrap: wrap;
    min-width: 0;
    overflow-wrap: anywhere;
	font-weight: bold; 
	background: #fff;
  }

  tbody td:not(:first-child)::before {
    content: attr(data-label);
    font-weight: bold;
    margin-right: 5px;
    flex-shrink: 0;
	color: #0756b4;
     
  }

  tbody td span.value {
    flex: 1 1 auto;
    display: inline-block;
    white-space: normal;
  }

 

  

  
  
   

 
  
  
tr.tpros td:not(:first-child) {
    text-align: left; 
}

tr.tpros td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}



tr.tcons td:not(:first-child) {
    text-align: left; 
}

tr.tcons td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}
}











.table-container {
    width: 100%;           
    overflow-x: auto;      
    -webkit-overflow-scrolling: touch;  
}





 
td[contenteditable="true"], th[contenteditable="true"] { 
    background-color: #fffbcc; 
}

 
button { 
    margin: 5px; 
    padding: 8px 12px; 
    cursor: pointer;
}







/* Index */

 .cat-box-wrapper {
      display: grid;
      grid-template-columns: repeat(5, 1fr); /* Desktop default */
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
      box-sizing: border-box;
    }

    .cat-box {
      background: #fff;
      box-shadow: 3px 3px 9px rgba(0,0,0,0.2);
      overflow: hidden;
      width: 100%;
      cursor: pointer;
    }

    .flip-container {
      width: 100%;
      aspect-ratio: 1 / 1;
      perspective: 1000px;
    }

    .flipper {
      width: 100%;
      height: 100%;
      position: relative;
      transition: transform 0.6s;
      transform-style: preserve-3d;
    }

    .flip-container:hover .flipper {
      transform: rotateY(180deg);
    }

    .front, .back {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden; /* Safari */
    }

    .front img,
    .back img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .back {
      transform: rotateY(180deg);
    }

    /* Responsive grid */
    @media (max-width: 1024px) {
      .cat-box-wrapper { grid-template-columns: repeat(3, 1fr); }
    }

    @media (max-width: 768px) {
      .cat-box-wrapper { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 480px) {
      .cat-box-wrapper { grid-template-columns: 1fr; }
    }


.grid-categories { display: block; }
.list-categories { display: none; }


@media (max-width: 768px) {
  .grid-categories { display: none; }
  .list-categories { display: block; }
}


.intro {
	
     padding: 20px;
	 
}













/* ==================================================
   GLOBAL FIX (FLEX / GRID / FLOAT SAFE)
================================================== */
.comment-wrapper 
 {
     
    margin-top: 100px;
     
}



.comments-section,
.comment-wrapper,
.comment-form,
.comment-alert,
.no-comments {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    float: none !important;
    clear: both;
    box-sizing: border-box;
}


.comments-section,
.comment-wrapper,
.comment-form,
.comment-alert,
.no-comments {
    align-self: center;
}

/* ==================================================
   GENERAL
================================================== */
.comment-wrapper {
    margin-top: 60px;
    margin-bottom: 40px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* ==================================================
   ALERTS
================================================== */
.comment-alert {
    padding: 16px 18px;
    text-align: center;
    border-radius: 14px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 30px;
}

.comment-alert.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.comment-alert.error {
    background: #ffebee;
    color: #c62828;
}

/* ==================================================
   COMMENTS LIST
================================================== */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 26px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.comment:hover {
    transform: translateY(-2px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 700;
    font-size: 16px;
    color: #222;
}

.comment-date {
    font-size: 13px;
    color: #999;
}

.comment-body {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* ==================================================
   EMPTY STATE
================================================== */
.no-comments {
    margin-top: 40px;
    padding: 30px 20px;
    text-align: center;
    font-size: 16px;
   
    background: #d4f4ff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

/* ==================================================
   FORM
================================================== */
.comment-form {
    margin-top: 60px;
    margin-bottom: 80px;
    background: #6acaed;
    padding: 32px;
    
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 22px;
    font-size: 15px;
    
    border: 1px solid #ddd;
    outline: none;
    background: #fff;
}

.form-input:focus {
    border-color: #111;
}

textarea.form-input {
    min-height: 130px;
    resize: vertical;
}

/* ==================================================
   CAPTCHA
================================================== */
.captcha-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.captcha-input {
    max-width: 220px;
}

#captchaImage {
    margin-bottom: 15px;
    border-radius: 8px;
}

/* ==================================================
   BUTTON
================================================== */
.btn-submit {
    background: #fbe500;
    color: black;
    padding: 14px 34px;
    border-radius: 40px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: gray;
	color: white;
    transform: translateY(-1px);
}


.honeypot {
    display: none !important;
}


.comment-form .captcha-input,
.comment-form .btn-submit {
    display: block;
    width: 100%;     
    margin-bottom: 20px;  
}








