

/* =========================
   GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
	
}

body {
    display: flex;
    min-height: 100vh;
	background: linear-gradient(to bottom, #ffffff 0%, #440585 0% 140px, transparent 100px);
	
}

.buttonClass {
  font-size:15px;
  font-family:Arial;
  width:140px;
  height:50px;
  border-width:1px;
  color:#fff;
  border-color:#d02718;
  font-weight:bold;
  border-top-left-radius:6px;
  border-top-right-radius:6px;
  border-bottom-left-radius:6px;
  border-bottom-right-radius:6px;
  box-shadow:inset 0px 1px 0px 0px #f5978e;
  text-shadow:inset 0px 1px 0px #810e05;
  background:linear-gradient(#f24537, #c62d1f);
}

.buttonClass:hover {
  background: linear-gradient(#c62d1f, #f24537);
}
              
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* =========================
   SPECS CONTENT
========================= */

.specs {
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #000;
	line-height:1.20rem;
}

/* Section headers (like ENGINE, BODY, etc.) */
.spec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

     background: linear-gradient(90deg, #800080, #5a005a);
    color: #ffff00;

    padding: 12px 16px;
    margin-top: 25px;

    font-weight: bold;
    letter-spacing: 0.5px;
}

.spec-header a {
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
}

.spec-header a:hover {
    text-decoration: underline;
}

/* Content blocks */
.spec-block {
    background:#fff;
    padding: 18px;
	margin-bottom:-20px;
}

.spec-block p {
    margin-bottom: 10px;
    font-size: 1.00rem;
}

.spec-block strong {
    color: #000;
}




/* =========================
   PROJECT CONTENT
========================= */
.project {
    margin: 0 auto;
    padding: 20px;
    color: #000;
}

.project-title {
    text-align: center;
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.project-image {
    text-align: center;
    margin-bottom: 20px;
}

.project-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.caption {
    margin-top: 10px;
    font-size: 0.9rem;
}

.project-content {
    font-size: 0.99rem;
    line-height: 1.6;
}

.project-content p {
    margin-bottom: 15px;
}

.project-content a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.project-content a:hover {
    color: #666;
}


/* =========================
   FOOTER
========================= */
.project-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 824px;
    height: 40px;

    text-align: center;
    font-size: 0.8rem;
    color: #333;

    padding-top: 15px;
    background-color: #fff;
}

.project-footer a {
    color: #333;
    text-decoration: none;
}

.project-footer a:hover {
    text-decoration: underline;
}


/* =========================
   SIDEBAR (DESKTOP)
========================= */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;

    width: 200px;
    height: 100%;

    background-color: #000;
    color: #fff;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    border-bottom: 1px solid #444;
}

.sidebar a {
    display: block;
    padding: 15px;

    color: #fff;
    text-decoration: none;

    transition: background 0.3s;
}

.sidebar a:hover {
    background-color: #333;
}


/* =========================
   MAIN CONTENT
========================= */
.content {
    margin-left: 200px;
    padding: 0 20px 50px 20px;

    width: 100%;
    max-width: 824px;
    min-height: 100%;

    text-align: left;
    color: #000;

}
/* =========================
   GRID TABLE
========================= */
.category-articles {
  display: grid;
  border: 1px solid #ccc; /* Optional styling */
  background:#ededed;
  grid-template-columns: repeat(2, 1fr); /* Two equal columns */
  grid-template-rows: repeat(5, auto); /* Five rows */
  width: 100%;
  gap:0; /* Spacing between cells */
}

.cat-article {
  padding: 2px;
  text-align:center;
}
/*@media (max-width: 600px) {
    .cat-articles {
	 grid-template-columns: 1fr;
    }
}*/


/* =========================
   2 COLUMNS
========================= */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}

.item {
  max-width: 360px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.99rem;
  line-height: 1.4;
  background:#fff;
  padding:16px;
}

.item img {
  width: 100%;
  height: auto;
}
.itemtext {
  padding:6px 6px;
}

.itemtext a{
  color:#000;
}

.itemtext a hover{
  color:#666;
}

.full-width {
  grid-column: span 2; /* This makes it span both columns */
  max-width: 780px;
  margin: 0 auto;
}

.full-width img {
  width: 100%;
  max-width:740px;
  height: auto;
}
/* =========================
   2 COLUMNS CATEGORY TOP 
========================= */
.layoutcat {
  display: flex;
  align-items: flex-start; /* aligns both columns at the top */
  gap: 20px;
}

/* Left column */
.leftcat img {
  width:100%;
  max-width:210px;
  min-width:180px;
  height: auto;
  /*object-fit: cover; */
}

/* Right column */
.rightcat {
  display: flex;
  text-align:left;
  flex-direction: column;
}

.rightcat img {
  width: 100%;
  max-width:500px;
  height: auto;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Text styling (optional) */
.rightcat p {
  font-size:14px;
  margin: 0;
  line-height: 1.4;
}


/* =========================
   3 COLUMNS
========================= */
.two-thirds-container {
    display: flex;
    flex-wrap: wrap; /* So it stacks on smaller screens */
}

.two-thirds {
    flex: 0 0 66.66%; /* Two-thirds of the container */
    padding: 10px; /* Optional spacing */

}

.two-thirds a {
  color:#000
}
.one-third {
    flex: 0 0 33.33%; /* One-third of the container */
    padding: 10px; /* Optional spacing */
	border-left      <div class="pagination">
    <a href="#">&laquo;</a>
    <a href="#">1</a>
    <a href="#">2</a>
    <a href="#" class="active">3</a>
    <a href="#">4</a>
    <a href="#">...</a>
    <a href="#">10</a>
    <a href="#"></a>
</div>:1px black solid;
}
.one-third a {
  color:#000
}


@media (max-width: 780px) {
    .two-thirds, .one-third {
	border-left:white;
        flex: 0 0 100%; /* Stack them on smaller screens */
    }
}



/* =========================
   BREAD CRUMB PREV/NEXT
========================= */
.nav-container {
  display: flex;
  max-width: 780px;
  overflow: hidden;
  font-family: "Arial Black", Arial, sans-serif;

}

.nav-box {
  flex: 1;
  box-sizing: border-box;
  position: relative;
}


/* Alignment */
.nav-prev { text-align: left; }
.nav-title { 
  text-align: center;
  color: #000;
  letter-spacing: 1px;
}
.nav-next { text-align: right;
white-space: nowrap; }

/* Links */
.nav-box a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 10px;
  transition: all 0.2s ease;
}

/* Hover effects */
.nav-box:hover {

}

.nav-box a:hover {
  color: #666;
}

/* Directional movement (feels mechanical) */
.nav-prev a:hover {
  transform: translateX(-3px);
}

.nav-next a:hover {
  transform: translateX(3px);
}

/* Title styling */
.nav-title span {
  font-size: 10px;
  color: #000; /* subtle accent */
  font-weight:700;

}





/* =========================
   LOGOS
========================= */
.sidebar_top_logo {
    display: block;
    padding-bottom: 10px;
    z-index: 0;
	margin-bottom:10px;
}

.top_logo {
    display: none;
}


/* =========================
   MOBILE MENU
========================= */
.menu-toggle {
    display: none;
    padding: 15px;

    background: #000;
    color: #fff;

    text-align: center;
    cursor: pointer;
}


/* =========================
   MOBILE STYLES
========================= */
@media (max-width: 768px) {

    body {
        flex-direction: column;
		background: linear-gradient(to bottom, #ffffff 0%, #440585 0% 200px, transparent 150px);

    }

    .content {
        margin-left: 0;
        padding: 0 6px 20px 6px;
        width: 100%;
        text-align: left;
        color: #000;
    }
	
	  .container {
    grid-template-columns: 1fr;
  }
  .item {
    max-width: 100%;
  }
  .item img {
    max-width: 440px;
	padding-bottom:4px;
  }

    .sidebar_top_logo {
        display: none;
        visability: hidden;
    }

    .top_logo {
        display: block;
		height:140px;
		top:0;
  		left: 0;
  		width: 100%;
  		background-color: #440585;
		margin-bottom:10px;
		text-align:center;
		padding-top:8px;
		z-index:-1;
    }

    .sidebar {
        position: static;
        width: 100%;
        display: none;
		z-index:99;
    }

    .sidebar.active {
        display: block;
    }

    .menu-toggle {
        display: block;
		margin:0;
		width:100%;
    }
}

/* =========================
   Article page layout
========================= */
.content-block {
  overflow: hidden; /* Make sure it clears floats within the block */
}

.float-image{
  width: 47%; /* or 50% if you prefer */
  margin: 0 20px 20px 0; /* margin to push text away */
  float: left; /* or float: right; if you want to switch sides */
}

.float-image.right {
  float: right; /* Switches to right alignment if needed */
  margin: 0 20px 0 20px; /* Adjust margins for right side */
}

.float-image.center {
  float: none; /* Switches to right alignment if needed */
  margin: 20px 0; /* Adjust margins */
  width:100%;
  max-width:760px;
  height:auto;
 
}

p {
  line-height: 1.4;
  /* No special width needed; it will just wrap around the image naturally */
}
@media (max-width: 600px) {
  .float-image {
    width: 100%; /* image takes full width on mobile */
    margin:0 0 6px; 0;
  }
  .float-image.right {
    width: 100%; /* image takes full width on mobile */
    margin:0 0 6px; 0;
  }
  .float-image.center {
    width: 100%; /* image takes full width on mobile */
    margin:0 0 6px; 0;
  }
  
  p {
    width: 100%; /* text also full width on mobile */
  }
}
