:root {
  --main-color: #F2C14E;
  --auxiliary-color: #FFD36B;
  --card-bg-color: #111111;
  --page-background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
}

/* General Page Styles */
.page-blog {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* #FFF6D6 */
    background-color: var(--page-background-color); /* #0A0A0A */
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-blog__section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-blog__section-title,
.page-blog__cta-title,
.page-blog__main-title {
    text-align: center;
    color: var(--main-color); /* #F2C14E */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-blog__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
    color: var(--auxiliary-color); /* #FFD36B */
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-blog__description,
.page-blog__section-intro,
.page-blog__cta-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-main-color); /* #FFF6D6 */
}

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
    filter: brightness(0.7);
}

.page-blog__hero-content {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    background: var(--card-bg-color); /* #111111 */
    width: 100%;
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
    margin-top: -10px;
    border-top: 1px solid var(--border-color);
}

/* CTA Button */
.page-blog__cta-button,
.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog__cta-button {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    border: none;
    margin-top: 20px;
}
.page-blog__cta-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Article Grid */
.page-blog__articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog__article-card {
    background-color: var(--card-bg-color); /* #111111 */
    border: 1px solid var(--border-color); /* #3A2A12 */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.page-blog__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(255, 211, 107, 0.2);
}

.page-blog__article-thumbnail {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
}

.page-blog__article-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog__article-title {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}
.page-blog__article-title a {
    color: var(--text-main-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-blog__article-title a:hover {
    color: var(--auxiliary-color);
}

.page-blog__article-meta {
    font-size: 14px;
    color: #AAA;
    margin-bottom: 15px;
}

.page-blog__article-summary {
    font-size: 15px;
    color: #CCC;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__read-more {
    display: inline-block;
    color: var(--main-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
.page-blog__read-more:hover {
    color: var(--auxiliary-color);
}

.page-blog__view-all-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-blog__view-all-button {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}
.page-blog__view-all-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Categories Section */
.page-blog__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-blog__category-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.page-blog__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(255, 211, 107, 0.2);
}

.page-blog__category-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-blog__category-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--auxiliary-color);
}

.page-blog__category-description {
    font-size: 14px;
    color: #CCC;
}

/* Guides & Tips Section */
.page-blog__guide-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease;
}
.page-blog__guide-item:last-child {
    margin-bottom: 0;
}
.page-blog__guide-item:hover {
    box-shadow: 0 6px 12px rgba(255, 211, 107, 0.15);
}

.page-blog__guide-title {
    font-size: 22px;
    color: var(--auxiliary-color);
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
}

.page-blog__guide-text {
    font-size: 16px;
    color: var(--text-main-color);
    text-align: left;
}

/* FAQ Section */
.page-blog__faq-list {
    margin-top: 30px;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
}
details.page-blog__faq-item summary.page-blog__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: rgba(255, 211, 107, 0.1);
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--auxiliary-color);
}
.page-blog__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--main-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 25px;
  background: rgba(17, 17, 17, 0.7);
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color);
}
details.page-blog__faq-item .page-blog__faq-answer p {
    margin: 0;
    padding: 0;
}

/* CTA Section */
.page-blog__cta-section {
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--border-color);
    padding: 60px 20px;
    text-align: center;
}

.page-blog__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    border: none;
}
.page-blog__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-blog__btn-secondary {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}
.page-blog__btn-secondary:hover {
    background: var(--main-color);
    color: #0A0A0A;
    transform: translateY(-2px);
}

/* Image responsive */
.page-blog img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* Minimal styles for non-homepage pages to fulfill structural requirement */
}

@media (min-width: 1024px) {
  /* Minimal styles for non-homepage pages to fulfill structural requirement */
}