.board_container {
	@media screen and (max-width: 991px) {
		grid-template-columns: 60px 1fr;
	}
	@media screen and (max-width: 767px) {
		grid-template-columns: 32px 1fr;

		& .board_icon a {
			inset-inline: -20px;
			position: relative;
			scale: .5;
		}
	}
}

#content_section {
	@media screen and (max-width: 767px) {
		padding-inline: .25em;
	}
}

/* by chatgpt 8888888888888888888888888 */
.section-title {
  border-left: 5px solid #0073aa;
  padding-left: 10px;
  color: #222;
  margin: 15px 0;
  font-size: 20px;
}

/* SLIDER */
.slider-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}
.slide-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.slide-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.3s;
}
.slide-item:hover img {
  transform: scale(1.05);
}
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px;
  font-size: 14px;
}

/* LIST NEWS */
.news-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}
.news-thumb img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}
.news-content h3 {
  margin: 0 0 5px 0;
  font-size: 17px;
}
.news-content a {
  color: #0073aa;
  text-decoration: none;
}
.news-content a:hover {
  text-decoration: underline;
}

/* SIDEBAR */
.sidebar-block {
  margin-bottom: 25px;
}
.sidebar-block h3 {
  border-bottom: 2px solid #0073aa;
  padding-bottom: 5px;
  color: #222;
}
.sidebar-block ul {
  list-style: none;
  padding: 0;
}
.sidebar-block li {
  margin: 6px 0;
}
.tp-news-wrapper {
  font-family: 'Segoe UI', Arial, sans-serif;
}
.news-item {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}
.news-item img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}
.news-content h3 {
  margin: 0;
  font-size: 18px;
}
.news-content p {
  color: #555;
  font-size: 14px;
}
.news-sidebar h3 {
  border-bottom: 2px solid #f33;
  padding-bottom: 4px;
  color: #f33;
}
.slider-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}
.slide-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.slide-caption {
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 8px;
  position: relative;
  top: -40px;
}
.tp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #222;
}

/* Bài nổi bật */
.tp-featured {
  position: relative;
  margin-bottom: 30px;
}
.tp-featured img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}
.tp-featured-text {
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 20px;
  border-radius: 0 0 10px 10px;
}
.tp-featured-text h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: bold;
}
.tp-featured-text p {
  font-size: 15px;
  color: #f2f2f2;
  max-width: 800px;
}

/* Lưới tin nhỏ */
.tp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}
.tp-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tp-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.tp-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.tp-item h3 {
  font-size: 17px;
  margin: 10px;
  color: #222;
}
.tp-item p {
  font-size: 14px;
  color: #666;
  margin: 0 10px 10px;
}
.tp-item small {
  display: block;
  margin: 0 10px 15px;
  color: #999;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .tp-featured img {
    height: 250px;
  }
  .tp-featured-text h2 {
    font-size: 20px;
  }
}


.tp-frontpage-wrapper {
  max-width: 1200px;
  margin: 30px auto;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #222;
}

.tp-category-block {
  margin-bottom: 50px;
  border-top: 4px solid #eee;
  padding-top: 15px;
}

.tp-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.tp-cat-header h2 {
  font-size: 22px;
  color: #0b3d91;
  margin: 0;
}
.tp-more {
  font-size: 13px;
  text-decoration: none;
  color: #0b3d91;
}

.tp-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Hai bài lớn */
.tp-featured {
  flex: 1 1 calc(50% - 10px);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}
.tp-featured img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.tp-featured .tp-text {
  padding: 10px 12px;
}
.tp-featured h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #111;
}
.tp-featured p {
  font-size: 14px;
  color: #555;
}
.tp-featured small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #999;
}

/* Sáu bài nhỏ */
.tp-small-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  width: 100%;
  margin-top: 20px;
}
.tp-small {
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s ease;
}
.tp-small:hover {
  transform: scale(1.02);
}
.tp-small img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.tp-small div {
  padding: 8px 10px;
}
.tp-small h4 {
  font-size: 14px;
  color: #222;
  margin: 0 0 4px;
}
.tp-small small {
  color: #888;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .tp-featured {
    flex: 1 1 100%;
  }
  .tp-small-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .tp-small-list {
    grid-template-columns: 1fr;
  }
}

.hero-news {
  display: flex;
  gap: 15px;
  margin: 15px auto 15px auto;
  max-width: 99%;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* SLIDER BÊN TRÁI */
.hero-left {
  flex: 1.7;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  border-radius: 10px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1));
  color: #fff;
  z-index: 3;
}
.hero-slide .caption h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3em;
  text-shadow: 0 3px 8px rgba(0,0,0,0.8);
}
.hero-slide .caption small {
  opacity: 0.9;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
}

/* NÚT SLIDE */
.hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  transform: translateY(-50%);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.hero-left:hover .hero-nav {
  opacity: 1;
  pointer-events: all;
}
.hero-nav button {
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 1.8rem;
  border-radius: 50%;
  cursor: pointer;
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.hero-nav button:hover {
  background: rgba(255,255,255,0.95);
  transform: scale(1.1);
}

/* BÊN PHẢI: 4 TOPIC */
.hero-right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.hero-topic {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.hero-topic img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .3s ease;
}
.hero-topic:hover img {
  transform: scale(1.05);
}
.hero-topic .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
}
.hero-topic .overlay h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3em;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}
.hero-topic .overlay small {
  font-size: 0.8rem;
  opacity: 0.9;
  display: block;
  margin-top: 4px;
  color: #ddd;
}
.hero-slide .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
  color: #fff;
  z-index: 3;
  text-shadow: 0 3px 6px rgba(0,0,0,0.8);
}
.hero-slide .caption h2 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.4em;
  color: #f5f5f5;
  text-shadow: 0 3px 10px rgba(0,0,0,0.9);
}
.hero-slide .caption small {
  opacity: 0.95;
  font-size: 0.9rem;
  margin-top: 8px;
  display: block;
  color: #ddd;
}

/* Phần topic bên phải */
.hero-topic .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.25));
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}
.hero-topic .overlay h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4em;
  color: #f0f0f0;
}
.hero-topic .overlay small {
  font-size: 0.85rem;
  opacity: 0.9;
  color: #ddd;
}

/* RESPONSIVE */
@media(max-width: 1000px) {
  .hero-news {flex-direction: column;}
  .hero-left, .hero-right {width: 100%;}
  .hero-slider {height: 340px;}
  .hero-topic img {height: 180px;}
}
@media(max-width: 600px) {
  .hero-slider {height: 250px;}
  .hero-topic img {height: 150px;}
}

.poster_topbar {
	display: flex;
	flex-direction: column;
	background: #fafafa;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 10px;
	margin-bottom: 10px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.poster_topbar .poster_info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.poster_topbar .avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.poster_topbar .member_name a {
	font-weight: 600;
	color: #222;
	text-decoration: none;
}

.poster_topbar .member_group,
.poster_topbar .member_title {
	color: #777;
	font-size: 0.9em;
}

.poster_topbar .member_posts {
	font-size: 0.85em;
	color: #555;
}

.poster_topbar .member_blurb {
	font-style: italic;
	color: #666;
}

.poster_topbar .member_buttons a {
	margin-left: 6px;
	text-decoration: none;
	font-size: 1.1em;
}

.poster_topbar .member_online.on { color: green; }
.poster_topbar .member_online.off { color: gray; }

@media (max-width: 600px) {
	.poster_topbar .poster_info {
		flex-direction: column;
		align-items: flex-start;
	}
}
.footer-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 30px 15px;
  background: #f8f8f8;
  font-family: "Segoe UI", Arial, sans-serif;
  border-top: 1px solid #ddd;
}

.footer-menu p {
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-menu a {
  display: block;
  color: #555;
  text-decoration: none;
  margin: 4px 0;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: #0073aa;
  text-decoration: underline;
}

