/* ========================
   RESET & BASIC SETTINGS
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  background-color: #fafafa;
  line-height: 1.6;
}

/* ========================
   HEADER & SEARCH BAR
======================== */
#ws_header {
  background: #1e1e1e;
  color: #fff;
  padding: 10px 0;
}

.ws_content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ws_search {
  display: flex;
  gap: 8px;
}

.ws_text {
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  width: 220px;
  font-size: 0.95rem;
}

.ws_submit {
  background: #e63946;
  border: none;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ws_submit:hover {
  background: #c92b36;
}

#ws_login {
  list-style: none;
  display: flex;
  gap: 10px;
}

#ws_login a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

#ws_login a:hover {
  text-decoration: underline;
}

/* ========================
   HEADER MAIN SECTION
======================== */
#header {
  text-align: center;
  padding: 40px 20px 20px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

#header h1 a {
  font-size: 1.8rem;
  color: #222;
  text-decoration: none;
}

#header p {
  color: #555;
  margin-top: 8px;
  font-size: 1rem;
}

#pic_bg {
  margin-top: 20px;
}

#pic {
  display: block;
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}

/* ========================
   MAIN LAYOUT
======================== */
#main_container {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
}

#left, #center, #right {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
}

/* ========================
   LEFT COLUMN (MENU)
======================== */
#menuside {
  list-style: none;
}

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

#menuside a {
  display: block;
  color: #222;
  text-decoration: none;
  padding: 10px 12px;
  transition: background 0.3s, color 0.3s;
}

#menuside a:hover,
#menuside .active a {
  background: #e63946;
  color: #fff;
}

/* ========================
   CENTER COLUMN (CONTENT)
======================== */
#center h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #111;
}

#center .content {
  font-size: 1rem;
  color: #444;
}

#center img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* ========================
   RIGHT COLUMN (SIDEBAR)
======================== */
#right h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #222;
  border-bottom: 2px solid #e63946;
  display: inline-block;
  padding-bottom: 4px;
}

#box_wscategory ul {
  list-style: none;
}

#box_wscategory li a {
  display: block;
  padding: 8px 10px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s;
}

#box_wscategory li a:hover {
  background: #f1f1f1;
}

/* ========================
   FOOTER
======================== */
#footer {
  background: #1e1e1e;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

#footer a {
  color: #ccc;
  text-decoration: none;
}

#footer a:hover {
  color: #fff;
}

/* ========================
   COOKIE POLICY
======================== */
#cookie_policy {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 15px;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-btn {
  background: #e63946;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  margin-left: 20px;
  transition: background 0.3s;
}

.cookie-btn:hover {
  background: #c92b36;
}

/* ========================
   RESPONSIVE DESIGN
======================== */
@media (max-width: 992px) {
  #main_container {
    grid-template-columns: 1fr 1fr;
  }

  #right {
    display: none;
  }
}

@media (max-width: 768px) {
  .ws_content {
    flex-direction: column;
    gap: 10px;
  }

  #main_container {
    grid-template-columns: 1fr;
  }

  #header h1 a {
    font-size: 1.5rem;
  }

  #pic {
    height: 180px;
  }
}


/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  background-color: #f9f9f9;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: #0077cc;
}
a:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* === HEADER === */
.header {
  background-color: #0077cc;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
}

/* === MAIN HEADING === */
h1 {
  font-size: 2rem;
  margin: 20px 0;
  color: #0056a3;
}

h2, h3 {
  margin: 20px 0 10px;
  color: #444;
}

/* === LISTS === */
.content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.content ul li {
  margin-bottom: 8px;
  list-style: disc;
}

/* === CONTENT === */
.content {
  padding: 20px 0;
}

/* === SECTIONS === */
.section {
  margin-bottom: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* === FOOTER === */
.footer {
  background-color: #003366;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* === CONTACT SECTION === */
.contact-info {
  margin-top: 20px;
  line-height: 1.6;
}

/* === SIDEBAR (if any) === */
.sidebar {
  background-color: #e8f4ff;
  padding: 20px;
  border-radius: 6px;
}

/* === SOCIAL / SHARE === */
.social {
  margin-top: 30px;
}
.social h3 {
  margin-bottom: 10px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 10px;
  }

  .section {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .header {
    font-size: 0.9rem;
  }

  .footer {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 1.2rem;
  }
}