@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #2cc5b2;
  --primary-hover: #24b09e;
  --secondary-color: #f4f4f4;
  --secondary-hover: #e9e9e9;
  --bg-light: #ffffff;
  --bg-section: #f8f9fa;
  --mint-bg: #e0f7f4;
  --text-main: #333333;
  --text-muted: #555555;
  --text-white: #ffffff;
  --border-color: #e1e1e1;
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --radius-full: 50px;
  --radius-lg: 16px;
  --radius-md: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background-color: white;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Header & Navigation */
header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--site-padding);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.logo {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav ul li a {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-main);
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 80px var(--site-padding) 120px;
  text-align: center;
  background: white;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--mint-bg);
  color: var(--primary-color);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 32px;
}

.hero h1 {
  color: #1a1a2e;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--primary-color);
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 48px;
}

/* Search Bar */
.search-container {
  max-width: 700px;
  margin: 0 auto 48px;
  position: relative;
  border-radius: var(--radius-full);
}

.search-input {
  width: 100%;
  padding: 24px 32px 24px 64px;
  font-size: 18px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-color);
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary-color);
}

.search-container i {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 20px;
}

/* Hero Badge */
.badge {
  display: inline-block;
  background: var(--mint-bg);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(44, 197, 178, 0.2);
}

/* CTA Buttons */
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 197, 178, 0.3);
}

.btn-secondary {
  background: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--mint-bg);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: #ddd;
  color: var(--text-main);
}

.btn-ghost:hover {
  background: #f0f0f0;
  border-color: #ccc;
}

/* Stats Section */
.stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 60px var(--site-padding);
  background: #f8f9fa;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  color: var(--text-muted);
  font-weight: 500;
}

/* Section Headlines */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
}

    /* -- Content Page Layout -- */
    .content-wrapper {
        display: grid;
        gap: 50px;
        margin: 50px auto;
        padding: 0 var(--site-padding);
    }


    .content-hero {
        background: linear-gradient(135deg, var(--mint-bg) 0%, #fff 100%);
        padding: 60px var(--site-padding) 40px;
        border-bottom: 1px solid #eee;
    }
    .breadcrumb {
        font-size: 13px;
        color: #888;
        margin-bottom: 14px;
    }
    .breadcrumb a { color: var(--primary-color); text-decoration: none; }
    .breadcrumb span { margin: 0 6px; }
    .content-hero h1 {
        font-size: clamp(1.8rem, 4vw, 3rem);
        font-weight: 900;
        line-height: 1.2;
        color: #1a1a2e;
        margin: 0 0 16px;
    }
    .content-meta {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 14px;
        color: #888;
        flex-wrap: wrap;
    }
    .content-meta .cat-badge {
        background: var(--primary-color);
        color: white;
        padding: 3px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
    }
    .content-featured-img {
        width: 100%;
        max-height: 450px;
        object-fit: cover;
        border-radius: 16px;
        margin: 30px 0;
        box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    }
    .article-body {
        font-size: 17px;
        line-height: 1.85;
        color: #333;
    }
    .article-body h2, .article-body h3, .article-body h4 {
        font-weight: 800;
        color: #1a1a2e;
        margin: 2em 0 0.7em;
    }
    .article-body h2 { font-size: 1.6rem; border-bottom: 2px solid var(--mint-bg); padding-bottom: 10px; }
    .article-body h3 { font-size: 1.3rem; }
    .article-body p { margin: 0 0 1.4em; }
    .article-body img { max-width: 100%; border-radius: 12px; margin: 20px 0; }
    .article-body a { color: var(--primary-color); text-decoration: underline; }
    .article-body ul, .article-body ol { padding-left: 25px; margin: 0 0 1.4em; }
    .article-body li { margin-bottom: 8px; }
    .article-body blockquote {
        border-left: 4px solid var(--primary-color);
        margin: 20px 0;
        padding: 15px 20px;
        background: var(--mint-bg);
        border-radius: 0 12px 12px 0;
        font-style: italic;
        color: #555;
    }
    .article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
    .article-body th { background: var(--primary-color); color: white; padding: 12px 15px; text-align: left; }
    .article-body td { padding: 10px 15px; border-bottom: 1px solid #eee; }
    .article-body tr:nth-child(even) td { background: var(--mint-bg); }

    /* -- Author Box -- */
    .author-box {
        display: flex;
        align-items: center;
        gap: 20px;
        background: var(--mint-bg);
        border-radius: 16px;
        padding: 24px;
        margin-top: 50px;
        border: 1px solid #ddd;
    }
    .author-avatar {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: var(--primary-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        font-weight: 800;
        flex-shrink: 0;
    }
    .author-info .name { font-weight: 800; font-size: 16px; color: #1a1a2e; }
    .author-info .bio { font-size: 14px; color: #666; margin-top: 4px; }

    .blog-layout.has-sidebar {
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: 40px;
        padding: 0 var(--site-padding);
        margin: 40px auto;
    }
    
    .blog-sidebar {
        display: none;
    }
    
    .has-sidebar .blog-sidebar {
        display: block;
    }

    @media (max-width: 992px) {
        .blog-layout.has-sidebar {
            grid-template-columns: 1fr;
            padding: 20px 5%;
        }
        .blog-sidebar {
            margin-top: 40px;
        }
    }
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .btn-download {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        font-family: inherit;
    }

    .btn-download:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

    .btn-download i {
        font-size: 1.2rem;
    }

    .btn-download.pdf {
        background: #ff4757;
        color: white;
    }

    .btn-download.pdf:hover {
        background: #ff6b81;
    }

    .btn-download.png {
        background: var(--primary-color, #2cc5b2);
        color: white;
    }

    .btn-download.png:hover {
        background: #4cd1be;
    }
	
    /* -- Sidebar -- */
    .content-sidebar {}
    .sidebar-card {
        background: white;
        border: 1px solid #eee;
        border-radius: 16px;
        padding: 24px;
        margin-bottom: 30px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    }
    .sidebar-card h4 {
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #888;
        margin: 0 0 18px;
        padding-bottom: 12px;
        border-bottom: 1px solid #eee;
    }
    .recent-post-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid #f5f5f5;
        text-decoration: none;
        color: inherit;
    }
    .recent-post-item:last-child { border-bottom: none; }
    .recent-post-thumb {
        width: 54px;
        height: 54px;
        border-radius: 10px;
        object-fit: cover;
        background: var(--mint-bg);
        flex-shrink: 0;
    }
    .recent-post-title { font-size: 13px; font-weight: 700; color: #333; line-height: 1.4; }
    .recent-post-date { font-size: 12px; color: #aaa; margin-top: 3px; }
    .cat-item {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #f5f5f5;
        text-decoration: none;
        color: #333;
        font-size: 14px;
    }
    .cat-item:last-child { border-bottom: none; }
    .cat-item:hover { color: var(--primary-color); }
    .cat-count { background: var(--mint-bg); color: var(--primary-color); padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 700; }

/* Cards Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  padding: 80px var(--site-padding);
}

.feature-card {
  background: white;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--mint-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.card .link {
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card .link i {
  transition: transform 0.3s ease;
}

.card:hover .link i {
  transform: translateX(5px);
}

/* Footer */
footer {
  background: #ffffff;
  color: var(--text-main);
  padding: 80px var(--site-padding) 40px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 15px;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #999;
  font-size: 14px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}

.faq-answer {
  color: var(--text-muted);
  margin-top: 16px;
  display: none;
}

/* Hero Image Layout */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-img-bg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 450px;
  z-index: 1;
  opacity: 0.15;
  pointer-events: none;
}

/* New Badge */
.new-badge {
  background: #FF4757;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  position: absolute;
  top: 20px;
  right: 20px;
}

    .content-wrapper {
        display: grid;
        gap: 50px;
        margin: 50px auto;
        padding: 0 var(--site-padding);
    }
    @media (max-width: 900px) {
        .content-wrapper { grid-template-columns: 1fr; }
		header {
			align-items: stretch;
			flex-direction: column;
			padding-top: 14px !important;
			padding-bottom: 14px !important;
			height: 100% !important;
		}		
		
    }


    .content-hero {
        background: linear-gradient(135deg, var(--mint-bg) 0%, #fff 100%);
        padding: 60px var(--site-padding) 40px;
        border-bottom: 1px solid #eee;
    }
    .content-hero .breadcrumb {
        font-size: 13px;
        color: #888;
        margin-bottom: 14px;
    }
    .content-hero .breadcrumb a { color: var(--primary-color); text-decoration: none; }
    .content-hero .breadcrumb span { margin: 0 6px; }
    .content-hero h1,.search-page-header h1 {
        font-size: clamp(1.8rem, 4vw, 3rem);
        font-weight: 900;
        line-height: 1.2;
        color: #1a1a2e;
        margin: 0 0 16px;
    }
    .content-meta {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 14px;
        color: #888;
        flex-wrap: wrap;
    }
    .content-meta .cat-badge {
        background: var(--primary-color);
        color: white;
        padding: 3px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
    }
    .content-featured-img {
        width: 100%;
        max-height: 450px;
        object-fit: cover;
        border-radius: 16px;
        margin: 30px 0;
        box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    }
    .article-body {
        font-size: 17px;
        line-height: 1.85;
        color: #333;
    }
    .article-body h2, .article-body h3, .article-body h4 {
        font-weight: 800;
        color: #1a1a2e;
        margin: 2em 0 0.7em;
    }
    .article-body h2 { font-size: 1.6rem; border-bottom: 2px solid var(--mint-bg); padding-bottom: 10px; }
    .article-body h3 { font-size: 1.3rem; }
    .article-body p { margin: 0 0 1.4em; }
    .article-body img { max-width: 100%; border-radius: 12px; margin: 20px 0; }
    .article-body a { color: var(--primary-color); text-decoration: underline; }
    .article-body ul, .article-body ol { padding-left: 25px; margin: 0 0 1.4em; }
    .article-body li { margin-bottom: 8px; }
    .article-body blockquote {
        border-left: 4px solid var(--primary-color);
        margin: 20px 0;
        padding: 15px 20px;
        background: var(--mint-bg);
        border-radius: 0 12px 12px 0;
        font-style: italic;
        color: #555;
    }
    .article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
    .article-body th { background: var(--primary-color); color: white; padding: 12px 15px; text-align: left; }
    .article-body td { padding: 10px 15px; border-bottom: 1px solid #eee; }
    .article-body tr:nth-child(even) td { background: var(--mint-bg); }

    /* -- Author Box -- */
    .author-box {
        display: flex;
        align-items: center;
        gap: 20px;
        background: var(--mint-bg);
        border-radius: 16px;
        padding: 24px;
        margin-top: 50px;
        border: 1px solid #ddd;
    }
    .author-avatar {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: var(--primary-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        font-weight: 800;
        flex-shrink: 0;
    }
    .author-info .name { font-weight: 800; font-size: 16px; color: #1a1a2e; }
    .author-info .bio { font-size: 14px; color: #666; margin-top: 4px; }

    /* -- Sidebar -- */
    .sidebar-card {
        background: white;
        border: 1px solid #eee;
        border-radius: 16px;
        padding: 24px;
        margin-bottom: 30px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    }
    .sidebar-card h4 {
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #888;
        margin: 0 0 18px;
        padding-bottom: 12px;
        border-bottom: 1px solid #eee;
    }

/* Worksheet Grid */
.worksheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.worksheet-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.worksheet-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.worksheet-thumb {
  width: 100%;
  aspect-ratio: 1;
  background: #fdfdfd;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
}

.worksheet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.5s ease;
}

.worksheet-info {
  padding: 15px;
}

.worksheet-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

.search-page-header {
  padding: 40px var(--site-padding);
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-color);
}

.search-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.search-meta {
  color: var(--text-muted);
  font-size: 16px;
}

.search-intro p, .search-intro h2, .search-intro h3 {
    margin-bottom: 20px;
    color: #515151;
    line-height: 2.1em;
}

.blog-main-content ul {
    margin: 20px 0 40px;
    padding: 0px;
    list-style: none;
}
.blog-main-content ul li {
    position: relative;
    margin-left: 20px;
}
.blog-main-content ul li:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 310.277 310.277'><path fill='%23010002' d='M155.139,0C69.598,0,0,69.598,0,155.139c0,85.547,69.598,155.139,155.139,155.139c85.547,0,155.139-69.592,155.139-155.139C310.277,69.598,240.686,0,155.139,0z M144.177,196.567L90.571,142.96l8.437-8.437l45.169,45.169l81.34-81.34l8.437,8.437L144.177,196.567z'/></svg>");
    background-size: contain;
	background-repeat: no-repeat;
    position: absolute;
    left: -22px;
    top: 5px;
}

.download-disclaimer {
  padding: 20px var(--site-padding);
  background: #fff;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid var(--border-color);
}
.download-disclaimer.top {
	border-top: none!important;
	border-bottom: 1px solid var(--border-color);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .worksheet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 5%;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 60px 5% 80px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .stats {
    flex-direction: column;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .worksheet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .worksheet-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col div {
    justify-content: center;
  }
}

/* Single Page Layout */
.single-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  padding: 60px var(--site-padding);
  background: white;
}

.single-main {
  min-width: 0;
}

.single-preview-card {
  background: #fdfdfd;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.single-preview-card img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-bottom: 32px;
}

.action-buttons {
  display: flex;
  gap: 16px;
  width: 100%;
  margin-bottom: 20px;
}

.action-buttons .btn {
  flex: 1;
  font-size: 14px;
  padding: 12px 20px;
}

.btn-print {
  background: #00b894;
  color: white;
}

.btn-pdf {
  background: #d63031;
  color: white;
}

.btn-img {
  background: var(--primary-color);
  color: white;
}

.btn-print:hover {
  background: #00a884;
  transform: translateY(-2px);
}

.btn-pdf:hover {
  background: #c22021;
  transform: translateY(-2px);
}

.btn-img:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.single-info {
  padding-top: 20px;
}

.single-info h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.2;
}

.single-description {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.related-section {
  margin-top: 60px;
  border-top: 2px solid var(--border-color);
  padding-top: 40px;
}

.related-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* Sidebar Styles */
.sidebar-box {
  background: #f8f9fa;
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  color: var(--text-muted);
  font-weight: 500;
}

.sidebar-list a:hover {
  color: var(--primary-color);
}

@media (max-width: 1100px) {
  .single-container {
    grid-template-columns: 1fr;
  }
}

/* Broken Image Handling */
.broken-img {
  filter: grayscale(1) opacity(0.7);
  transition: all 0.3s ease;
}

.broken-img:hover {
  filter: grayscale(0) opacity(1);
}