:root {
    --primary-color: #F78B17;
    --primary-hover: #F78B17;
    --bg-page: #f8f9fb;
    --bg-card: #ffffff;
    --text-main: #18181b;
    --text-body: #374151;
    --text-muted: #71717a;
    --border-color: #e4e4e7;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(121, 126, 145, 0.1), 0 2px 4px -1px rgba(121, 126, 145, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Spacing System */
    --container-max-width: 1200px;
    --radius-lg: 2.5rem; /* 40px */
    --radius-md: 1.25rem; /* 20px */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fluid Typography Root */
html {
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    html { font-size: 15px; }
}

@media screen and (max-width: 768px) {
    html { font-size: 14px; }
}

img {
    height: auto;
    max-width: 100%;
}

.header {
    margin-bottom: 0;
}

.footer {
    margin-top: 0;
}

.article-detail-page-info {
    background-color: var(--bg-page);
    min-height: 100vh;
    padding-bottom: 4rem;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

/* Tablet & Mobile Container Adjustments */
@media screen and (max-width: 1024px) {
    .container { padding: 1.5rem; }
}
@media screen and (max-width: 768px) {
    .container { padding: 1rem; }
}

.content {
    padding: 3rem;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

@media screen and (max-width: 768px) {
    .content {
        padding: 1.5rem;
        border-radius: var(--radius-md);
    }
}

.page-title {
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 2rem;
    font-size: 2rem; /* Larger for PC */
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.025em;

}
.page-title::before {
    width: 1%;
    height: 20px;
}
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 1.25rem!important;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    .page-title::before {
        width: 2%;
        height: 20px;
    }
}

.articlesbox {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body);
}

.articlesbox p {
    margin-bottom: 1.5rem;
}

.articlesbox h1, 
.articlesbox h2, 
.articlesbox h3 {
    color: var(--text-main);
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.articlesbox h2 { font-size: 1.75rem; }
.articlesbox h3 { font-size: 1.4rem; }

.articlesbox a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1.5px solid transparent;
    transition: var(--transition);
}

.articlesbox a:hover {
    border-bottom-color: var(--primary-color);
    /* background-color: var(--primary-color)!important; */
}
.articlesbox blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--primary-color);
    background-color: var(--bg-page);
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    color: var(--text-main);
}

.articlesbox ul, 
.articlesbox ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.articlesbox li {
    margin-bottom: 0.75rem;
}

/* Navigation Section / Keep Reading */
.next {
    padding-top: 2.5rem;
    border-top: 1px var(--border-color) solid;
    margin-top: 3.5rem;
    position: relative;
}

.next::before {
    display: block;
    content: '';
    background-color: var(--primary-color);
    width: 80px;
    height: 4px;
    position: absolute;
    top: -2px;
    left: 0;
    border-radius: 2px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

@media screen and (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.nav h3 {
    flex: 1;
    letter-spacing: -0.01em;
    color: var(--text-main);
    line-height: 1.3;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
}

.nav .right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.nav .right:hover {
    color: var(--primary-hover);
    transform: translateX(5px);
}

/* "You May Like" Section */
.like-box {
    width: 100%;
    margin-top: 4rem;
}

.like-box h3 {
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.like-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media screen and (max-width: 1024px) {
    .like-list { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 640px) {
    .like-list { grid-template-columns: 1fr; }
}

.h-full {
    height: 100%;
}

.quizCard {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    height: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.quizCard:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.quizCardbox {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    padding: 0;
    position: relative;
}

.quizCardbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.quizCard:hover .quizCardbox img {
    transform: scale(1.05);
}

.quizCardboxfoot {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
}

.quizCardboxfoot h3 {
    color: var(--text-main);
    line-height: 1.4;
    font-size: 1.1rem;
    font-weight: 700;
    min-height: 3rem;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.morebox {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.more-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1.5px var(--border-color) solid;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.quizCard:hover .more-text {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Disclaimer / Footer info */
.public-box {
    color: var(--text-body);
    line-height: 1.6;
    font-size: 0.8rem;
    padding: 3rem 1.5rem;
    border-top: 1px var(--border-color) solid;
    margin-top: 4rem;
    text-align: left;
}

.public-box-title {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.public-box-desc {
    color: var(--text-muted);
}

.public-box-mt {
    margin-top: 1.5rem;
}

/* Tags (Mobile Scrollable) */
@media screen and (max-width: 720px) {

}

/* Bottom Ad Layer */
.adv-bottom_layer {
    display: none;
    width: 100%;
    height: 80px;
    padding: 10px 0;
    position: fixed;
    z-index: 1000;
    left: 0;
    bottom: 0;
    background: linear-gradient(to right, #F78B17, #FFB75D);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.adv-close {
    position: absolute;
    left: 20px;
    top: -20px;
    width: 40px;
    height: 25px;
    background: #F78B17 url("/static/apkzonic/img/icon_arrow.png") center center no-repeat;
    background-size: 16px;
    z-index: 1001;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
}