/* =============================================
   ProgramBlocker — license.css
   Clean Minimalist Professional Design
   Mirrors index.css exactly + license additions
   ============================================= */

/* === CSS VARIABLES === */
:root {
  --blue:       #1a56db;
  --blue-dark:  #0000CD;
  --blue-light: #e8f0fe;
  --red:        #c0392b;
  --orange:     #e67e22;
  --green:      #1e7e34;
  --yellow-bg:  #fffbea;
  --yellow-bd:  #f0e68c;
  --grey-bg:    #f8f9fa;
  --grey-bd:    #e2e6ea;
  --white:      #ffffff;
  --text:       #1a1a2e;
  --text-muted: #555566;
  --max-w:      970px;
  --radius:     6px;
  --shadow:     0 1px 4px rgba(0,0,0,0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: #f0f4ff;
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  text-align: center;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 80% 10%, #c7d8ff 0%, #f0f4ff 55%, #f5f5f5 100%);
}

a { color: var(--blue-dark); text-decoration: underline; }
a:hover { color: var(--red); }

.blue { color: var(--blue-dark); }
.highlight { color: var(--orange); }

/* === HEADER === */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-image: url('images/barback.png');
  background-repeat: repeat;
  background-size: 100% 100%;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

#container-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

#logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

#wb_Text1 {
  font-family: Verdana, sans-serif;
  font-size: 15px;
  font-weight: bold;
  white-space: nowrap;
}

#Image1 {
  width: 34px; height: 34px;
  border: none; display: block;
}

/* === DESKTOP NAV === */
#NavigationBar1 { display: flex; align-items: center; }

#NavigationBar1 ul.navbar,
#NavigationBar3 ul.navbar,
#NavigationBar4 ul.navbar {
  list-style: none; margin: 0; padding: 0; display: flex;
}

#NavigationBar1 ul.navbar li { height:23px; width:100px; float:left; margin:0 4px 0 0; }
#NavigationBar1 ul.navbar li a { position:relative; display:block; height:23px; width:100px; }
#NavigationBar1 ul.navbar li a img { position:absolute; left:0; z-index:1; border:none; }
#NavigationBar1 ul.navbar li span { display:block; height:23px; width:100px; position:absolute; z-index:2; }

/* === MOBILE TOGGLE === */
#mobile-menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--blue-dark);
  color: var(--blue-dark);
  font-size: 19px;
  padding: 2px 9px;
  cursor: pointer;
  border-radius: 4px;
  line-height: 1.4;
}

#mobile-nav {
  width: 100%;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--grey-bd);
  padding: 6px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
#mobile-nav ul { list-style:none; margin:0; padding:0; }
#mobile-nav ul li a {
  display: block; padding: 11px 20px;
  text-align: left;
  font-family: Verdana, sans-serif; font-size: 13.5px;
  color: var(--blue-dark); text-decoration: none;
  border-bottom: 1px solid var(--grey-bd);
  transition: background 0.15s;
}
#mobile-nav ul li a:hover { background: #f0f4ff; color: var(--red); }

/* === MAIN CONTAINER === */
#container {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: left;
  padding: 0 16px 40px;
}

/* === LAYER 4 === */
#Layer4 {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-top: 4px;
}

/* === LAYER 2 (tagline / intro bar) === */
#Layer2 {
  background: var(--grey-bg);
  border: 1px solid var(--grey-bd);
  border-radius: var(--radius);
  padding: 14px 18px 18px;
  margin-bottom: 22px;
  text-align: center;
}

#wb_Text3 {
  font-size: 12.5px;
  font-style: italic;
  color: var(--text-muted);
  margin: 0 0 4px;
  text-align: center;
}

/* === DID YOU KNOW / NOTICE === */
#WrapText1 {
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-bd);
  border-left: 4px solid #e0c800;
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 20px;
}
#WrapText1 p {
  font-size: 12px;
  color: var(--text);
  margin: 0;
  word-wrap: break-word;
}

/* === HERO TEXT === */
#wb_Text2 {
  margin: 0 0 20px;
}

#wb_Text2 h1 {
  color: var(--blue-dark);
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px;
  line-height: 1.35;
}

#wb_Text2 p {
  font-size: 13.5px;
  color: var(--text);
  margin: 0 0 10px;
}
#wb_Text2 p:last-child { margin-bottom: 0; }

/* === SECTIONS common === */
section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-bd);
}
section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

section h2 {
  color: var(--blue-dark);
  font-size: 15.5px;
  font-weight: bold;
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--blue-light);
  display: inline-block;
}

/* === TABLE OF CONTENTS === */
#toc-section {
  background: var(--grey-bg);
  border: 1px solid var(--grey-bd);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
}
#toc-section h2 {
  font-size: 13px;
  font-weight: bold;
  color: var(--blue-dark);
  margin: 0 0 10px;
  padding-bottom: 0;
  border-bottom: none;
  display: block;
}
#toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2px 14px;
}
#toc-grid a {
  font-size: 12px;
  color: var(--blue-dark);
  text-decoration: none;
  padding: 2px 0;
  display: block;
}
#toc-grid a:hover { color: var(--red); text-decoration: underline; }

/* === ARTICLE BODY TEXT === */
#wb_Text10 p {
  font-size: 13px;
  color: var(--text);
  margin: 0 0 12px;
}
#wb_Text10 p:last-child { margin-bottom: 0; }

/* licence article text paragraphs */
.eula-body p {
  font-size: 13px;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.7;
}
.eula-body p:last-child { margin-bottom: 0; }
.eula-body ul, .eula-body ol {
  padding-left: 22px;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text);
}
.eula-body li { margin-bottom: 4px; line-height: 1.65; }

/* === DEFINITION TABLE (Article 1) === */
#definition-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
  border: 1px solid var(--grey-bd);
  border-radius: var(--radius);
}
#definition-table {
  width: 100%; min-width: 380px;
  border-collapse: collapse;
  font-size: 13px;
}
#definition-table th {
  background: var(--grey-bg);
  font-weight: bold;
  padding: 8px 12px;
  border-bottom: 2px solid var(--grey-bd);
  text-align: left;
}
#definition-table td {
  padding: 7px 12px;
  border-bottom: 1px solid #eef0f2;
  vertical-align: top;
}
#definition-table tr:last-child td { border-bottom: none; }
#definition-table tr:hover td { background: #f7faff; }
#definition-table td:first-child { font-weight: bold; color: var(--blue-dark); white-space: nowrap; }

/* === COMPARISON TABLE (mirrors index.css exactly) === */
#comparison-section h2 { color: var(--red); border-bottom-color: #fad7d7; }

#comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
  border: 1px solid var(--grey-bd);
  border-radius: var(--radius);
}

#comparison-table {
  width: 100%; min-width: 380px;
  border-collapse: collapse;
  font-size: 13px;
}
#comparison-table th {
  background: var(--grey-bg);
  font-weight: bold;
  padding: 8px 12px;
  border-bottom: 2px solid var(--grey-bd);
  text-align: left;
}
#comparison-table td {
  padding: 7px 12px;
  border-bottom: 1px solid #eef0f2;
}
#comparison-table tr:last-child td { border-bottom: none; }
#comparison-table tr:hover td { background: #f7faff; }
#comparison-table .ok      { color: var(--green); font-weight: 600; }
#comparison-table .no      { color: var(--red); }
#comparison-table .limited { color: var(--orange); }

.table-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 8px 0 16px;
  font-style: italic;
}

/* === CONTACT === */
#contact-section { border-bottom: none; }
#contact-content {
  background: var(--blue-light);
  border: 1px solid #c7d8fe;
  border-radius: var(--radius);
  padding: 16px 20px;
}
#contact-content p {
  font-size: 13px; margin: 0 0 8px; color: var(--text);
}
#contact-content p:last-child { margin-bottom: 0; }
#contact-content a { font-weight: bold; }

/* === FOOTER === */
#Layer3 {
  background-image: url('images/barback.png');
  background-repeat: repeat;
  background-size: 100% 100%;
  padding: 8px 16px;
  text-align: center;
}
#footer-inner { max-width: var(--max-w); margin: 0 auto; }
#wb_Text14 { font-size: 11px; color: #333; margin: 0 0 3px; }
.footer-links { font-size: 11px; margin: 0; }
.footer-links a { color: #333; text-decoration: none; margin: 0 4px; }
.footer-links a:hover { color: var(--red); text-decoration: underline; }

/* =============================================
   RESPONSIVE  (mirrors index.css exactly)
   ============================================= */
@media (max-width: 768px) {
  #NavigationBar1 { display: none; }
  #mobile-menu-toggle { display: block; }
  #container { padding: 0 10px 28px; }
  #Layer4 { padding: 16px 14px; }
  #wb_Text2 h1 { font-size: 16px; }
  #toc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 14px; }
  #container-header { padding: 5px 12px; }
  #wb_Text1 { font-size: 13px; }
  #Image1 { width: 28px; height: 28px; }
  #Layer4 { padding: 12px 10px; }
  #wb_Text2 h1 { font-size: 14.5px; }
  #toc-grid { grid-template-columns: 1fr; }
  #comparison-table { min-width: 320px; font-size: 12px; }
  #definition-table { min-width: 320px; font-size: 12px; }
}

@media (min-width: 970px) {
  #container { padding: 0 0 40px; }
}