/* ===== Basic Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Only target links within the content area */
.content a, .content a:visited, .content a:hover, .content a:active {
  color: red;
  text-decoration: none;
}

.content a:hover {
  color: gold;
  text-decoration: underline;
}

/* The main menu remains unaffected as it is outside the targeted container */


/* ===== Wrapper ===== */
.wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* ===== Header ===== */
header.header {
  background: #222;
  color: #fff;
}
.header-topmenu {
  background: #111;
  padding: 10px 0;
}
.header-topmenu ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-topmenu ul.left li,
.header-topmenu ul.right li {
  margin: 0 10px;
}
.header-topmenu a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.header-logo img {
  max-width: 100%;
}
.header-advert img {
  max-width: 100%;
  border-radius: 5px;
}

/* ===== Navigation Menu ===== */
#main-menu {
  background: #333;
  padding: 10px 0;
  position: relative;
}
.ot-menu-add {
  list-style: none;
  text-align: center;
}
.ot-menu-add li {
  display: inline-block;
  position: relative;
  margin: 0 15px;
}
.ot-menu-add li a {
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  font-size: 16px;
}
.ot-menu-add li a:hover {
  background: #444;
}
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #444;
  padding: 10px;
  list-style: none;
  min-width: 150px;
  z-index: 100;
}
.sub-menu li {
  margin: 5px 0;
}
.sub-menu li a {
  color: #fff;
  font-size: 14px;
}
.ot-menu-add li:hover .sub-menu {
  display: block;
}

/* ===== Main Content & Sidebar ===== */
.content {
  background: #fff;
  padding: 20px;
  margin-top: 20px;
}
.content-main {
  float: left;
  width: 70%;
  padding-right: 20px;
}
aside#sidebar {
  float: right;
  width: 28%;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ===== Cam Model Profile Section ===== */
.main-article h1 {
  margin-bottom: 20px;
  font-size: 28px;
  color: #222;
}
.article-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.article-header img.article-photo {
  width: 300px;
  height: auto;
  border-radius: 10px;
  margin-right: 20px;
}
.buttonlive {
  display: inline-block;
  background: #4caf50;
  border: none;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 5px;
}
.buttonlive3 {
  background: #f44336;
}
.voting_wrapper {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}
.voting_btn {
  margin-right: 5px;
  cursor: pointer;
}
.voting_btn span {
  font-size: 14px;
  margin-left: 3px;
}

/* ===== Short Tabs ===== */
.short-tabs ul {
  list-style: none;
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}
.short-tabs ul li {
  margin-right: 10px;
}
.short-tabs ul li a {
  text-decoration: none;
  padding: 5px 10px;
  color: #222;
  border: 1px solid #ccc;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  background: #eee;
}
.short-tabs ul li a:hover,
.short-tabs ul li a.active {
  background: #222;
  color: #fff;
}

/* ===== Gallery Preview / Media ===== */
.gallery-preview {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  margin-bottom: 20px;
}
.gallery-preview .preview-thumbs {
  margin-bottom: 10px;
}
.gallery-preview .preview-options a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

/* ===== Sidebar Widgets ===== */
.widget {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
}
.widget h3 {
  font-size: 18px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
.w-photo-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.w-photo-gallery .item {
  width: 25%;
  padding: 5px;
  text-align: center;
}
.w-photo-gallery .item img {
  width: 100%;
  border-radius: 3px;
}

/* ===== Comment Section ===== */
.strict-block {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
}
.block-title {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
.block-title h2 {
  font-size: 20px;
}
.contact-info {
  font-size: 14px;
  margin-bottom: 10px;
}
.contact-form-user,
.contact-form-email,
.contact-form-message {
  margin-bottom: 10px;
}
.contact-form-user label,
.contact-form-email label,
.contact-form-message label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* ===== Footer ===== */
footer.footer {
  background: #222;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: 20px;
}
footer.footer ul {
  list-style: none;
  margin-bottom: 10px;
}
footer.footer ul li {
  display: inline;
  margin: 0 10px;
}
footer.footer a {
  color: #fff;
  text-decoration: none;
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
  .content-main,
  aside#sidebar {
    float: none;
    width: 100%;
    padding-right: 0;
  }
  .article-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-header img.article-photo {
    margin: 0 0 15px 0;
    width: 100%;
  }
  .w-photo-gallery .item {
    width: 33.333%;
  }
}
