/*
 * PbootCMS Template for vjgkr.com
 * ===========================================================
 * Random Seed Parameters:
 * ------------------------------------------------------------
 * Core Style: G (Glassmorphism - Frosted Glass + Semi-transparent)
 * Layout: L (Floating Cards - Hover Lift Animation)
 * Color: 9 (Macaron - Pink + Mint + Pastel Yellow)
 * Navigation: N1 (Logo Left + Nav Right)
 * List Style: LS (Stacked Cards - Layered Effect)
 * Title Style: TC (Card Title - Colored Left Bar)
 * Shadow: Medium (16px)
 * Animation: Medium (0.4s)
 * Hover Offset: Medium (8px)
 * Border: Medium (2px)
 * Gradient Angle: 135°
 * Icon Size: Medium (18px)
 * Card Gap: Standard (24px)
 * Background Depth: Medium (0.5)
 * Sidebar Modules: R2 (Hot), R3 (Latest), R5 (Tags)
 * ===========================================================
 */

/* CSS Variables */
:root {
  /* Macaron Pastel Palette */
  --color-pink: #ffb6c1;
  --color-mint: #98d8c8;
  --color-yellow: #fff4bd;
  --color-lavender: #e6e6fa;
  --color-cream: #fef9f3;
  --color-white: #ffffff;
  --color-dark: #4a4a4a;
  --color-gray: #888888;

  /* Typography */
  --title-size: 3rem;
  --body-size: 16px;
  --line-height: 1.8;
  --paragraph-spacing: 2em;

  /* Spacing */
  --container-width: 1200px;
  --sidebar-width: 280px;
  --card-padding: 24px;
  --border-radius: 20px;
  --section-gap: 24px;

  /* Effects */
  --shadow: 16px;
  --shadow-hover: 8px;
  --border-width: 2px;
  --animation-speed: 0.4s;
  --icon-size: 18px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--body-size);
  line-height: var(--line-height);
  color: var(--color-dark);
  background: var(--color-cream);
  min-height: 100vh;
}

a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--animation-speed) ease;
}

a:hover {
  color: #e07a7a;
}

/* ============================================
   HEADER - N1: Logo Left + Nav Right
   ============================================ */
.pb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(255, 182, 193, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.pb-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pb-logo img {
  height: 50px;
  width: auto;
}

.pb-nav {
  display: flex;
  gap: 8px;
}

.pb-nav a {
  padding: 10px 20px;
  color: var(--color-dark);
  font-weight: 500;
  border-radius: 25px;
  transition: all var(--animation-speed) ease;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
}

.pb-nav a:hover,
.pb-nav a.active {
  background: linear-gradient(135deg, var(--color-pink), var(--color-mint));
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
}

/* Mobile Menu Toggle */
.pb-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.pb-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-pink);
  transition: all var(--animation-speed) ease;
}

/* ============================================
   SECTION - Floating Cards Layout
   ============================================ */
.pb-section {
  padding: 60px 0;
  position: relative;
}

.pb-section-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.pb-main-content {
  flex: 1 1 auto;
  min-width: 0;
}

/* ============================================
   NEWS LIST - LS: Stacked Cards
   ============================================ */
.pb-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.pb-news-item {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  margin-bottom: -10px;
  position: relative;
  transition: all var(--animation-speed) ease;
  border: var(--border-width) solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pb-news-item:nth-child(odd) {
  transform: translateX(0);
  z-index: 2;
}

.pb-news-item:nth-child(even) {
  transform: translateX(30px);
  z-index: 1;
}

.pb-news-item:hover {
  transform: translateY(-8px) translateX(0);
  z-index: 10;
  box-shadow: 0 12px 30px rgba(152, 216, 200, 0.3);
  border-color: var(--color-mint);
}

.pb-news-item:nth-child(even):hover {
  transform: translateY(-8px) translateX(30px);
}

.pb-news-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pb-news-title {
  font-size: 1.1rem;
  color: var(--color-dark);
  font-weight: 600;
  line-height: 1.5;
  transition: color var(--animation-speed) ease;
  padding-left: 15px;
  border-left: 4px solid var(--color-pink);
}

.pb-news-title:hover {
  color: #e07a7a;
}

.pb-news-desc {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pb-news-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.pb-news-thumb {
  display: none;
}

/* ============================================
   SIDEBAR - R2, R3, R5
   ============================================ */
.pb-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.pb-sidebar-widget {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: var(--card-padding);
  border-radius: var(--border-radius);
  border: var(--border-width) solid rgba(255, 182, 193, 0.3);
  transition: all var(--animation-speed) ease;
}

.pb-sidebar-widget:hover {
  box-shadow: 0 8px 25px rgba(152, 216, 200, 0.25);
  border-color: var(--color-mint);
}

.pb-widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-pink);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pb-sidebar-list {
  list-style: none;
}

.pb-sidebar-list li {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  transition: all var(--animation-speed) ease;
}

.pb-sidebar-list li:last-child {
  border-bottom: none;
}

.pb-sidebar-list li:hover {
  padding-left: 8px;
}

.pb-sidebar-list a {
  color: var(--color-dark);
  font-size: 0.9rem;
  transition: color var(--animation-speed) ease;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pb-sidebar-list a:hover {
  color: #e07a7a;
}

/* Tags Cloud - R5 */
.pb-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pb-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 244, 189, 0.5);
  border: 2px solid var(--color-yellow);
  border-radius: 20px;
  color: var(--color-dark);
  font-size: 0.85rem;
  transition: all var(--animation-speed) ease;
}

.pb-tag:hover {
  background: var(--color-yellow);
  border-color: var(--color-mint);
  color: var(--color-dark);
  transform: translateY(-2px);
}

/* ============================================
   PAGINATION
   ============================================ */
.pb-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
  position: relative;
  z-index: 5;
}

.pb-pagination a {
  display: inline-block;
  padding: 12px 20px;
  background: var(--color-white);
  border: var(--border-width) solid rgba(255, 182, 193, 0.4);
  border-radius: 25px;
  color: var(--color-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--animation-speed) ease;
}

.pb-pagination a:hover,
.pb-pagination a.active {
  background: linear-gradient(135deg, var(--color-pink), var(--color-mint));
  border-color: var(--color-pink);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.pb-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 100px 20px 30px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.pb-breadcrumb a {
  color: var(--color-pink);
  font-weight: 500;
}

.pb-breadcrumb a:hover {
  color: #e07a7a;
}

.pb-breadcrumb span {
  color: var(--color-gray);
}

/* ============================================
   ARTICLE - News Detail
   ============================================ */
.pb-article {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 50px;
  border-radius: var(--border-radius);
  border: var(--border-width) solid rgba(152, 216, 200, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pb-article-header {
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--color-yellow);
  text-align: center;
}

.pb-article-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 15px;
  padding-left: 20px;
  border-left: 5px solid var(--color-pink);
  text-align: left;
}

.pb-article-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--color-gray);
  font-size: 0.9rem;
  font-weight: 500;
}

.pb-article-body {
  padding: 30px 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.pb-article-content {
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--color-dark);
}

.pb-article-content p {
  margin-bottom: var(--paragraph-spacing);
}

.pb-article-content img {
  max-width: 100%;
  border-radius: var(--border-radius);
  margin: 30px 0;
  border: 2px solid var(--color-mint);
}

.pb-article-tags {
  margin-top: 30px;
}

.pb-article-tags h4 {
  color: var(--color-dark);
  margin-bottom: 12px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */
.pb-footer {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--color-dark);
  padding: 50px 20px 30px;
  margin-top: 80px;
  border-top: 2px solid var(--color-mint);
}

.pb-footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
}

.pb-footer p {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.pb-footer a {
  color: var(--color-pink);
  transition: color var(--animation-speed) ease;
}

.pb-footer a:hover {
  color: #e07a7a;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pb-section-inner {
    flex-direction: column;
  }

  .pb-sidebar {
    width: 100%;
  }

  .pb-news-item:nth-child(even) {
    transform: translateX(0);
  }

  .pb-news-item:nth-child(even):hover {
    transform: translateY(-8px) translateX(0);
  }
}

@media (max-width: 768px) {
  :root {
    --title-size: 2.5rem;
    --body-size: 15px;
    --card-padding: 16px;
    --border-radius: 15px;
  }

  .pb-header {
    padding: 15px 20px;
    flex-wrap: wrap;
    height: auto;
  }

  .pb-nav {
    display: none;
  }

  .pb-menu-toggle {
    display: flex;
  }

  .pb-nav.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
  }

  .pb-news-item {
    transform: translateX(0) !important;
    margin-bottom: 15px;
  }

  .pb-news-item:hover {
    transform: translateY(-8px) !important;
  }

  .pb-article {
    padding: 25px;
  }

  .pb-article-title {
    font-size: 1.5rem;
    padding-left: 15px;
    border-left-width: 4px;
  }
}
