/* ================== GLOBAL STYLES ================== */

/*
html {
  font-size: clamp(14px, 1.2vw, 17px);
}*/

/*

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: linear-gradient(180deg, #f9f9f9 0%, #eaeaea 100%);
  font-size: 1rem;
  box-sizing: border-box;
}*/

/*
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: linear-gradient(180deg, #f9f9f9 0%, #eaeaea 100%);
  font-size: 1rem;
}*/







img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border: 1px solid #ddd;
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

/* ================== HEADINGS ================== */


.post-body div {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}



.post-body h1 {
  color: #d32f2f;
  border-bottom: 2px solid #d32f2f;
  padding-bottom: 10px;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.3;
}


.post-body h2 {
  color: #1976d2;
  margin-top: 30px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.35;
}


.post-body h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.4;
}

/* --- Custom Header Variants --- */
h1.headder_1, span.headder_1 {
  font-family: Garamond, serif;
  color: #000;
  text-align: center;
  background-color: #f5f5f5;
  text-shadow: 0 1px 2px #000, 0 0 2px #4b0082;
  line-height: 1.3;
}

h2.headder_2, .headder_2 {
  font-family: Garamond, serif;
  color: #000;
  background-color: lightgray;
  border-left: 10px solid red;
  border-bottom: 1px solid red;
  line-height: 1.35;
}

h3.headder_3 {
  font-family: "Lucida Console", "Courier New", monospace;
  color: #000;
  border-left: 10px solid red;
  line-height: 1.4;
}

/* ================== INFO BLOCKS ================== */
.what-is {
  background-color: #fff8e1;            /* soft yellow background */
  border-left: 4px solid #ffc107;       /* amber accent */
  padding: 15px 18px;
  margin: 20px 0;
  
  color: #555;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  border-radius: 6px;                   /* smoother corners */
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* subtle depth */
  line-height: 1.6;
}

.what-is strong {
  color: #c00;              /* dark red title */
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 6px;
  display: inline-block;
}

.what-is span {
  color: #36454F;           /* vivid red text */
  font-weight: 500;
}






.intro div{
    width: 90%; 
    margin: 0 auto; 
}

.intro p {
    
    
    color: #28282B;                /* soft-dark text color */
    
    font-weight: 500;           /* clean paragraph weight */
    
    }

.intro strong{
    color: #000000;              /* dark red title */
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 6px;
  display: inline-block;
}

/* ================== TABLES ================== */
/*
table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
  font-size: clamp(0.9rem, 1vw, 1rem);
}

th, td {
  text-align: left;
  padding: 12px;
}

td {
  border-bottom: 1px solid #ddd;
}

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

@media (max-width: 600px) {
  table { font-size: 14px; }
  th, td { padding: 8px; }
}*/

/* ================== IMAGE SECTION ================== */
.ecu-image {
  text-align: center;
  margin: 1em 0;
}
.ecu-image img { margin: 0 auto; }
.ecu-image figcaption {
  font-size: 0.9em;
  color: #555;
  margin-top: 0.5em;
}

/* ================== GALLERY ================== */
.gallery-container {
  position: relative;
  max-width: 650px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.gallery-container:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.gallery-slide {
  display: none;
  animation: fadeIn 0.6s ease-in-out;
}
.gallery-slide img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #f0f0f0;
}

.caption {
  text-align: center;
  font-size: 15px;
  color: #444;
  font-style: italic;
  padding: 8px;
  background-color: #fafafa;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 12px 12px;
  opacity: 0;
  animation: fadeCaption 1s forwards;
}

/* --- Gallery Controls --- */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  user-select: none;
  transition: all 0.3s;
}
.prev:hover, .next:hover {
  background: #2196f3;
  transform: scale(1.1);
}
.prev { left: 15px; }
.next { right: 15px; }

/* --- Thumbnails --- */
.thumb-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}
.thumb-row img {
  width: 90px;
  height: 65px;
  object-fit: cover;
  opacity: 0.7;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}
.thumb-row img.active,
.thumb-row img:hover {
  opacity: 1;
  border: 2px solid #2196f3;
  box-shadow: 0 0 10px rgba(33,150,243,0.4);
  transform: scale(1.05);
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeCaption {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================== LIST STYLES ================== */
ol.custom-numbering {
  counter-reset: section;
  list-style: none;
  padding: 0;
}
ol.custom-numbering > li {
  counter-increment: section;
  margin-bottom: 20px;
}
ol.custom-numbering > li::before {
  content: counter(section);
  background: #0077b6;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-block;
  text-align: center;
  line-height: 28px;
  margin-right: 8px;
}

/* --- Component List --- */
ul.component-list {
  list-style: none;
  padding-left: 50;
}
ul.component-list li {
  margin: 6px 0;
  padding-left: 20px;
  position: relative;
}
ul.component-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #d32f2f;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 10px;
}
.component-list .component-name {
  color: #4A0404;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* --- Section Title --- */
.section-title {
  font-weight: 700;
  font-size: 1.2em;
  color: #c62828;
  border-left: 5px solid #c62828;
  padding-left: 10px;
  margin-bottom: 6px;
  display: inline-block;
}

/* ================== TESTIMONIAL / QUOTE ================== */
.testimonial blockquote {
  margin: 1px 30px 0;
  padding: 10px 20px;
  background: #efefef;
  border-radius: 8px;
  font-family: monospace;
  font-weight: 700;
  color: #ff0000;
  position: relative;
  line-height: 1.5;
}
.testimonial blockquote::before,
.testimonial blockquote::after {
  position: absolute;
  font-size: 30px;
  color: #757f9a;
}
.testimonial blockquote::before { content: "“"; top: 0; left: 0; }
.testimonial blockquote::after { content: "”"; bottom: -0.7em; right: auto; }
.testimonial div {
  width: 0;
  height: 0;
  margin-left: 60px;
  border-right: 20px solid transparent;
  border-top: 20px solid #efefef;
}

/* ================== MISC STYLES ================== */
.back {
  font-family: serif;
  font-weight: 300;
  text-align: left;
  color: #9acd32;
}


/*
.container { width: 90%; margin: 0 auto; }*/



/*
.main_view { width: 80%; height: 30rem; } */

.main_view {
  width: 100%;
  max-width: 900px;
  height: auto;
}


.main_view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Responsive Adjustments ---------- */
/*
@media (max-width: 480px) {
  body { font-size: 0.95rem; }
}
@media (min-width: 1200px) {
  body { font-size: 1.1rem; }
}*/