@font-face {
    font-family: "Proxima Nova";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url(../fonts/Proxima-Nova-Regular.woff2) format("woff2");
}
@font-face {
    font-family: "Proxima Nova";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url(../fonts/Proxima-Nova-Bold.woff2) format("woff2");
}

@font-face
{
    font-family: 'Outfit';
    font-weight: 400;

    font-display: swap;
    src: url(../fonts/Outfit-Regular.woff2) format('woff2');
}
@font-face
{
    font-family: 'Outfit';
    font-weight: 500;

    font-display: swap;
    src: url(../fonts/Outfit-Medium.woff2) format('woff2');
}
@font-face
{
    font-family: 'Outfit';
    font-weight: 600;

    font-display: swap;
    src: url(../fonts/Outfit-SemiBold.woff2) format('woff2');
}
@font-face
{
    font-family: 'Outfit';
    font-weight: 700;

    font-display: swap;
    src: url(../fonts/Outfit-Bold.woff2) format('woff2');
}

  
* {
    box-sizing: border-box;
}
  
body {
    font-family: "Proxima Nova", system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, "Open Sans", "Helvetica Neue", sans-serif, serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
  
    color: #1a1a1a;
  
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
  
button:focus {
    outline: none;
}
  
body,h1,h2,h3,h4,p {
    margin: 0;
    padding: 0;
}
  
article,footer,header,main,nav,section {
    display: block;
}
  
a {
    display: inline-block;
  
    cursor: pointer;
    text-decoration: none;
  
    color: #1a1a1a;
}
  
a,a:hover,a:visited {
    outline: none;
}
  
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    background-color: #fff;
}
  
img {
    width: 100%;
    max-width: 100%;
  
    transition: opacity ease 0.25s;
    vertical-align: middle;
  
    opacity: 1;
}
  
img[data-src] {
    opacity: 0;
}
  
::-webkit-input-placeholder {
    color: #9da8ba;
    font-size: 15px;
}
  
::-moz-placeholder {
    color: #9da8ba;
    font-size: 15px;
}
  
.coverlink {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
  
.wrapper {
      padding: 0 16px;
}

/* header  */
.qc-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #DFE5E4;
    margin-bottom: 20px;
}
.qc-header-inner {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 16px;
}
.qc-logo-wrapper {
    display: block;
    color: #AE2620;
    font-family: "Proxima Nova";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -1.2px;
}
  
.qc-menu-toggle {
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
}
.qc-menu-icon,
.qc-menu-icon::before,
.qc-menu-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #AE2620;
    position: absolute;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.qc-menu-icon {
    top: 50%;
    transform: translateY(-50%);
}
.qc-menu-icon::before {
    content: '';
    top: -7px;
}
.qc-menu-icon::after {
    content: '';
    bottom: -7px;
}
.qc-menu-toggle.active .qc-menu-icon {
    background: transparent;
}
.qc-menu-toggle.active .qc-menu-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
}
.qc-menu-toggle.active .qc-menu-icon::after {
    transform: rotate(-45deg) translate(5px, -5px);
}
  
  
.qc-nav-wrapper {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow-y: auto;
    padding: 0 16px 16px 16px;
    z-index: 100;
}
.qc-nav-wrapper.active {
    display: block;
}
.qc-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.qc-nav-item {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.qc-nav-txt {
    display: block;
    color: #4D212A;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.4px;
    padding: 16px 0;
}
.qc-nav-link {
    display: block;
    position: relative;
    color: #4D212A;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.4px;
    padding: 16px 0;
    cursor: pointer;
}
.qc-nav-link::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #4D212A;
    border-bottom: 2px solid #4D212A;
    position: absolute;
    right: 8px;
    top: calc(50% - 2px);
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}
.qc-nav-item.active .qc-nav-link::after {
    transform: translateY(-50%) rotate(-135deg);
    top: calc(50% + 2px);
    border-color: #AE2620;
}
  
.qc-dropdown {
    display: none;
    background: #f8f8f8;
    padding: 8px 0;
}
.qc-nav-item.active .qc-dropdown {
    display: block;
}
.qc-dropdown-inner {
    padding: 0 16px;
}
.qc-dropdown-section {
    display: flex;
    flex-direction: column;
}
.qc-dropdown-section a {
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.qc-nav-link:hover,
.qc-nav-txt:hover,
.qc-dropdown-section a:hover { 
    color: #AE2620;
    transition: all 0.3s ease;
}

/* right */
.aside-cate-ls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.aside-cate-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 12px;
    border: 1px solid #e8ebed;
    background: #fff;
    color: #4d2127;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.aside-cate-item:hover {
    border-color: #dce0e4;
    background: #fafbfc;
    color: #4d2127;
}
.aside-cate-ic {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 4px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff5f5;
}

.aside-cate-ic img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    vertical-align: middle;
}

.aside-cate-txt {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aside-cate-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #4d2127;
}

.icon-aside-chevron {
    flex-shrink: 0;
    width: 8px;
    height: 12px;
}

.aside-trend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-radius: 12px;
    background: #ae2620;
    color: #fff;
    margin: 20px 0;
}

.aside-trend-tag {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.43;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.aside-trend-tl {
    margin: 0;
    padding-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
}

.aside-trend-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: #ae2620;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.43;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.aside-trend:hover {
    box-shadow: 0 4px 12px rgba(174, 38, 32, 0.08);
    transition: all 0.25s ease;
}
.aside-trend:hover .aside-trend-btn {
    color: #ae2620;
    opacity: 0.92;
}

/* category */

.cate-hero-top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.cate-hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.cate-hero-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff5f5;
    display: none;
}

.cate-hero-icon img {
    width: 32px;
    height: 32px;
    max-width: none;
    object-fit: contain;
}

.cate-h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #4d2127;
    min-width: 0;
}

.cate-random-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    background: #ae2620;
    color: #ffefed;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    align-self: stretch;
    text-align: center;
}

.cate-random-btn:hover {
    color: #ffefed;
    opacity: 0.92;
}

.page-tl {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #4d2127;
    margin-bottom: 16px;
}

.cate-pick-ls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cate-pick-item {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8ebed;
    border-radius: 12px;
    overflow: hidden;
}

.cate-pick-pic {
    position: relative;
    flex-shrink: 0;
    height: 180px;
    overflow: hidden;
    background: #f4f4f5;
}

.cate-pick-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cate-pick-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffefed;
    background: #ae2620;
}

.cate-pick-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 20px 16px;
    gap: 0;
}

.cate-pick-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}


.cate-pick-q {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.33;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #824c53;
}

.cate-pick-tl {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #4d2127;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cate-pick-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.cate-pick-by {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.33;
    color: #824c53;
}

.cate-pick-btn {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 9999px;
    background: #ff7668;
    color: #4f0002;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.43;
    pointer-events: none;
}





/* —— intro page —— */
.intro-h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #4d2127;
}
.intro-h1 p {
    margin-top: 12px;
}

.intro-hero,
.intro-pic {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 24px;
    border: 1px solid #f3f4f6;
    overflow: hidden;
}

.intro-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.intro-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.intro-meta-ic {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.intro-meta-txt {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    color: #824c53;
}

.intro-body p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: #824c53;
}

.intro-btn {
    width: 100%;
}

.intro-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: 100%;
}

.intro-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 44px;
    padding: 0 24px;
    border-radius: 9999px;
    background: #ae2620;
    color: #ffefed;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 4px 6px -4px rgba(0, 0, 0, 0.06);
    transition: opacity 0.2s ease, transform 0.2s ease;
    animation: intro-start-btn-pulse 1.5s infinite ease-in-out;
}

@keyframes intro-start-btn-pulse {
    0% {
        transform: scale(1);
        box-shadow:
            0 10px 15px -3px rgba(0, 0, 0, 0.08),
            0 4px 6px -4px rgba(0, 0, 0, 0.06);
    }
    50% {
        transform: scale(1.02);
        box-shadow:
            0 15px 25px -3px rgba(174, 38, 32, 0.3),
            0 8px 10px -4px rgba(174, 38, 32, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow:
            0 10px 15px -3px rgba(0, 0, 0, 0.08),
            0 4px 6px -4px rgba(0, 0, 0, 0.06);
    }
}

.intro-start-btn .icon-arrow-more {
    animation: intro-start-btn-arrow-slide 1.5s infinite ease-in-out;
}

@keyframes intro-start-btn-arrow-slide {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

.intro-btn-txt {
    flex-shrink: 0;
}





/* —— index page —— */
.gap-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.home-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.icon-tl {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.home-tl {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #4d2127;
}

.home-featured {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.home-featured::-webkit-scrollbar {
    height: 6px;
}

.home-featured::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: rgba(77, 33, 42, 0.2);
}

.home-banner {
    position: relative;
    display: block;
    flex: 0 0 82%;
    max-width: 82%;
    min-height: 208px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.home-banner-pic {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.public-piccon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    object-fit: cover;
    object-position: center;
    transition: all 0.25s ease;
}
.intro-hero .public-piccon {
    object-fit: contain;
}

.home-banner-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.2) 45%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
}

.home-banner-body {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}

.home-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    background: #ae2620;
    color: #ffefed;
}

.home-banner-tl {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.home-card-ls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.home-card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8ebed;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.home-card-pic {
    position: relative;
    height: 128px;
    overflow: hidden;
    border-bottom: 1px solid #e8ebed;
}

.home-card-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-card-tl {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #4d2127;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-card-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #824c53;
    display: none;
}

.home-card-q {
    display: none;
}

.home-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    display: none;
}

.home-card-btn {
    display: none;
}

.icon-clock {
    width: 10px;
    height: 10px;
}

.home-cate {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.home-cate-ls {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
}

.home-cate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: transparent;
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid #e8ebed;
    color: #4d2127;
    font-size: 16px;
    font-weight: 700;
    min-height: 0;
}

.home-cate-item:hover {
    box-shadow: none;
}

.home-cate-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.home-cate-left span {
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
}

.home-cate-left img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.icon-arrow {
    width: 14px;
    height: 14px;
    fill: #ae2620;
    flex-shrink: 0;
}
.icon-arrow-more {
    width: 16px;
    height: 16px;
    fill: #ffefed;
    flex-shrink: 0;
}

.home-recent-ls {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
}

.home-recent-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e8ebed;
    border-radius: 16px;
    overflow: hidden;
}

.home-recent-pic {
    position: relative;
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 12px;
}

.home-recent-body {
    flex: 1;
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: flex-start;
}

.icon-recent-arrow {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    pointer-events: none;
    z-index: 1;
}

.home-card-tag {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    /* text-transform: uppercase; */
    color: #ffefed;
    background: #ae2620;
    display: none;
}

.home-recent-item .home-card-tag {
    position: static;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    background: #ffc2c8;
    color: #852237;
    font-size: 10px;
}

.home-recent-tl {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-recent-meta {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    color: #64748b;
}


.home-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    height: 44px;
    padding: 0 24px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: #ffefed;
    background: #ae2620;
    border-radius: 9999px;
    border: 1px solid #ae2620;
    margin: 20px auto 0;
}

.home-more-btn:hover {
    filter: brightness(1.05);
    color: #ffefed;
}

.site-footer {
    margin-top: 24px;
    padding: 40px 0 48px;
    background: #ffeced80;
}

.site-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.site-footer-brand {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -1.2px;
    color: #AE2620;
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
}

.site-footer-nav a {
    font-size: 14px;
    color: #814c56;
}

.site-footer-nav a:hover {
    color: #ae2620;
}

.site-footer-copy {
    font-size: 14px;
    color: #814c56;
}





/* —— Quiz Options —— */
.quiz-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.quiz-options-pic {
    grid-template-columns: repeat(2, 1fr);
}

.quiz-options-pic .quiz-option {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 16px;
}

.quiz-option-pic {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    align-self: center;
}

.quiz-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid rgba(222, 156, 162, 0.2);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-option:hover {
    background-color: #fafbfc;
}

.quiz-option-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quiz-option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffd2d5;
    color: #ae2620;
    font-size: 14px;
    font-weight: 700;
}

.quiz-option-text {
    color: #4d2127;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.icon-correct,
.icon-error {
    display: none;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Correct State */
.is-correct,
.is-true {
    background-color: #ecfdf5;
    border: 2px solid #10b981;
    padding: 19px;
}
.is-choice {
    background-color: #f0f9ff;
    border: 2px solid #23b2e6;
    padding: 19px;
}
.is-choice .quiz-option-letter {
    background-color: #23b2e6;
    color: #fff;
}

.is-correct .quiz-option-letter,
.is-true .quiz-option-letter {
    display: none;
}

.is-correct .icon-correct,
.is-true .icon-correct {
    display: block;
}

.is-correct .quiz-option-text,
.is-true .quiz-option-text {
    color: #064e3b;
    font-weight: 700;
}

/* Error State */
.is-error {
    background-color: #fef2f2;
    border: 2px solid #f87171;
    padding: 19px;
}

.is-error .quiz-option-letter {
    display: none;
}

.is-error .icon-error {
    display: block;
}

.is-error .quiz-option-text {
    color: #7f1d1d;
    font-weight: 700;
}

/* —— Answer Explanation —— */
.quiz-explanation {
    background-color: #ffeced;
    border-top: 8px solid #ae2620;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    display: none;
}

.quiz-explanation-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-explanation-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.quiz-explanation-title {
    color: #ae2620;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    line-height: 1.4;
}
.quiz-explanation-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.quiz-explanation-content p {
    color: #4d2127;
    font-size: 16px;
    line-height: 1.6;
}

.quiz-explanation-content strong {
    font-weight: 700;
}
.quiz-options-pic .quiz-option {
    position: relative;
}
.quiz-options-pic .quiz-option-left {
    position: absolute;
    top: 16px;
    left: 16px;
}


/* —— Quiz Progress —— */
.intro-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.quiz-progress-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quiz-progress-bar {
    flex: 1;
    height: 8px;
    background-color: #ffeced;
    border-radius: 9999px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background-color: #ae2620;
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.quiz-progress-text {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 600;
    color: #a1a1aa;
    font-family: "Proxima Nova", sans-serif;
}

.quiz-progress-text strong {
    color: #ae2620;
    font-weight: 700;
}



/* —— Quiz Result —— */
.result-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 12px;
}

.result-inner h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: #4d2127;
    text-align: center;
}

.result-inner img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    border: 1px solid #f3f4f6;
}

.result-inner p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #4d2127;
}



/* —— Social Share —— */
.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.social-btn {
    flex: 1 0 0;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
    opacity: 0.9;
}

.social-btn:active {
    transform: scale(0.98);
}

.social-btn span {
    color: #fff;
    font-family: "Proxima Nova", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.social-btn-fb {
    background-color: #1877f2;
}

.social-btn-fb .social-icon {
    width: 11px;
    height: 20px;
    fill: none;
}

.social-btn-x {
    background-color: #000;
}

.social-btn-x .social-icon {
    width: 14px;
    height: 14px;
    fill: none;
}

/* —— Check Your Answers —— */
.answers-check {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
.answers-check-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #4d2127;
}
.answers-check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.answers-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 24px 24px;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid rgba(222, 156, 162, 0.2);
    border-left: 4px solid rgba(222, 156, 162, 0.2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.answers-item.is-correct {
    border-color: #16a34a;
    border-left-color: #16a34a;
}
.answers-item.is-error {
    border-color: #ef4444;
    border-left-color: #ef4444;
}
.answers-item-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.answers-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.answers-item-q {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #4d2127;
}
.answers-item-pic {
    position: relative;
    width: 100%;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.answers-item-pic img {
    object-fit: contain;
}
.answers-item-user {
    font-size: 14px;
    line-height: 1.4;
    color: #824c53;
}
.answers-item-user strong {
    font-weight: 700;
}
.answers-item.is-correct .answers-item-user strong {
    color: #4d2127;
}
.answers-item.is-error .answers-item-user strong {
    color: #ef4444;
}
.answers-view-img {
    display: inline-block;
    color: #ae2620;
    text-decoration: underline;
    margin-left: 6px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
}
.answers-view-img:hover {
    color: #824c53;
}
.answers-img-preview {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.answers-item-ans {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 4px;
}
.answers-item.is-correct .answers-item-ans {
    font-weight: 700;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.answers-item.is-error .answers-item-ans {
    font-weight: 400;
    color: #824c53;
}
.answers-item.is-error .answers-item-ans strong {
    font-weight: 700;
    color: #1a1a1a;
}
.answers-show-all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #ae2620;
    background: #fff;
    border-radius: 9999px;
    border: 1px solid #ae2620;
    cursor: pointer;
    transition: background-color 0.2s;
}
.answers-show-all:hover {
    background: #fff5f5;
}



/* Default: hide items after the first 3 */
.answers-check:not(.is-expanded) .answers-item:nth-child(n+4) {
    display: none;
}
/* When expanded: hide the "Show All Answers" button */
.answers-check.is-expanded .answers-show-all {
    display: none;
}

/* —— Privacy Policy —— */
.privacypage {
    font-family: Arial,arial,sans-serif,serif;

    min-height: 100vh;
    min-height:         calc(100vh - 180px);
    min-height: -webkit-calc(100vh - 180px);

    -webkit-font-smoothing: initial;
    -moz-osx-font-smoothing: initial;
}
.about-us {
    padding: 40px 0;
    margin: 0 auto;
    text-align: center;
}
.disclaimer-tl {
    padding-top: 40px;
    margin: 0 auto;
    text-align: center;
}
.about-us h1,
.disclaimer-tl h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 24px;
}
.about-us p,
.disclaimer-tl p {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 32px;
}
.about-us img{
    width: 100%;
}

.disclaimer-ls {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.disclaimer-item {
    display: flex;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 24px;
    background-color: #F9FAFB;
}
.icon-disclaimer {
    width: 24px;
    height: 24px;
}
.disclaimer-item h4 {
    color: #333;
    font-family: Outfit;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-transform: capitalize;
}
.disclaimer-item p{
    color: #666;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.privacy-con {
    margin-top: 20px;
    margin-bottom: 40px;
}
.privacy-con div {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.privacy-con p {
    color: #333;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; 
}
.privacy-con h4 {
    font-family: Outfit;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    text-transform: capitalize;
}
.privacy-con ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 16px;
}
.privacy-con ul li {
    list-style: disc;
    color: #333;
    font-family: Outfit;
    font-size: 16px;
    line-height: 1.4;
    font-style: normal;
}


.privacy-nav {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    /* gap: 24px; */
    
}

.privacy-nav-item {
    color: #999;
    font-family: Outfit;
    font-size: 16px;
    font-weight: 500;
    line-height: 52px;
    text-decoration: none;
    transition: color 0.2s ease;
    padding-left: 24px;
    border-left: 2px solid #ddd;
}

.privacy-nav-item:hover {
    color: #333;
    border-color: #333;
}

.privacypage .pageright {
    display: none;
}
.errorpage {
    height: calc(100vh - 180px);
}

.error-con {
    margin: 40px 0;
}
.error-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.error-left h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    line-height: 36px;
    font-weight: 600;
    leading-trim: both;
    text-edge: cap;
    text-transform: capitalize;   
}
.error-left p {
    color: #333;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 140% */
    text-transform: capitalize;
    margin: 20px 0;
    text-align: center;
}
.error-left a {
    display: inline-flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #ae2620;
    color: #FFF;
    font-family: Outfit;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px; 
    text-transform: capitalize;
}
.error-left a:hover {  
    opacity: 0.9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(174, 38, 32, 0.3);
}
.error-img {
    width: 100%;
    margin-top: 32px;
}

.error-des
{
    margin: 16px 0;

    color: #8f999e;
    font-weight: 500;
}
.error-link
{
    line-height: 48px;

    display: block;

    width: 180px;
    margin: 0 auto;

    color: #fff;
    font-weight: 500;
    border-radius: 24px;
    background-color: #05ab82;
}




/* —— Home Hover & Dynamic Effects —— */
@media (hover: hover) {
    .home-card-item,
    .home-recent-item,
    .home-cate-item,
    .home-banner,
    .home-more-btn,
    .public-piccon,
    .home-recent-item .icon-recent-arrow {
        transition: all 0.3s ease;
    }

    .home-card-item:hover,
    .home-recent-item:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        border-color: #d1d5db;
    }

    .home-banner:hover {
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    }
    
    .home-banner:hover .public-piccon,
    .home-card-item:hover .public-piccon,
    .home-recent-item:hover .public-piccon,
    .cate-pick-item:hover .public-piccon {
        transform: scale(1.05);
        transition: all 0.25s ease;
    }

    .home-cate-item:hover {
        border-color: #ae2620;
        box-shadow: 0 4px 12px rgba(174, 38, 32, 0.08);
    }

    .home-more-btn:hover,
    .intro-start-btn:hover {
        box-shadow: 0 6px 16px rgba(174, 38, 32, 0.3);
        filter: brightness(1.05);
    }
    
    .home-more-btn:hover .icon-arrow-more,
    .home-recent-item:hover .icon-recent-arrow {
        transform: translateX(4px);
        transition: all 0.25s ease;
    }

    .home-card-item:hover .home-card-tl,
    .home-recent-item:hover .home-recent-tl,
    .home-cate-item:hover .home-cate-left span,
    .cate-pick-item:hover .cate-pick-tl {
        color: #ae2620;
    }

    
}

@media screen and (min-width: 768px) {
    .wrapper {
        max-width: 728px;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }
    .qc-logo-wrapper {
        font-size: 28px;
    }
    .qc-nav-txt,
    .qc-nav-link {
        font-size: 18px;
    }
    .qc-menu-toggle {
        display: none;
    }
    .qc-nav-wrapper {
        display: block !important;
        position: static;
        padding: 0;
        overflow: visible;
    }
    .qc-nav {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    .qc-nav-item {
        border: none;
    }
    .qc-nav-link,
    .qc-nav-txt {
        padding: 10px 16px;
    }
    .qc-nav-link::after {
        display: none;
    }
    .qc-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 180px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        padding: 16px;
        margin-top: 8px;
        z-index: 200;
        display: block;
    }
    .qc-nav-item:hover .qc-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .qc-dropdown-inner {
        padding: 0;
    }
    .qc-dropdown-section a {
        font-size: 15px;
        border: none;
        padding: 8px 0;
    }

    .qc-header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 72px;
        padding: 0;
        max-width: 728px;
    }

    .cate-hero-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .home-card-tag {
        display: block;
    }

    .cate-h1 {
        font-size: 28px;
    }

    .cate-random-btn {
        align-self: center;
        flex-shrink: 0;
    }

    .page-tl {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .cate-pick-item {
        flex-direction: row;
        align-items: stretch;
        min-height: 192px;
    }

    .cate-pick-pic {
        flex: 0 0 240px;
        width: 240px;
        height: 190px;
    }

    .cate-pick-body {
        padding: 24px;
        justify-content: flex-start;
    }

    .cate-pick-tl {
        font-size: 18px;
        line-height: 1.25;
        margin-bottom: 0;
        -webkit-line-clamp: 2;
    }

    .cate-pick-foot {
        margin-top: auto;
        padding-top: 20px;
    }

    .cate-hero-icon {
        display: flex;
    }
    .intro-h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    .intro-hero,
    .intro-pic {
        height: 300px;
    }

    .intro-start-btn {
        height: 56px;
        font-size: 20px;
        line-height: 1.4;
    }
    
    .home-tl {
        font-size: 30px;
    }

    .home-featured {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        overflow-x: visible;
        overflow-y: visible;
        scroll-snap-type: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .home-banner {
        flex: none;
        max-width: none;
        width: auto;
        min-height: 280px;
        scroll-snap-align: unset;
    }

    .home-banner-body {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .home-banner-tl {
        font-size: 28px;
        line-height: 1.25;
    }

    .home-card-ls {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .home-card-ls .home-card-item:nth-child(4) {
        display: none;
    }
    .home-card-ls.more-explore .home-card-item:nth-child(4) {
        display: flex;
    }


    .home-card-pic {
        height: 192px;
    }
    .home-card-body {
        padding: 24px 20px;
        gap: 12px;
    }
    
    .home-card-q {
        display: block;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.33;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #824c53;
    }

    .home-card-btn {
        display: inline-block;
        padding: 6px 16px;
        background-color: #ff7f74;
        color: #4D212A;
        font-size: 14px;
        font-weight: 700;
        border-radius: 20px;
        text-align: center;
    }

    .home-cate {
        padding: 32px 40px;
        background: #ffeced;
        border-radius: 24px;
    }

    .intro-page .home-card-ls {
        gap: 16px;
    }
    .intro-page .home-card-pic {
        height: 140px;
    }
    .intro-page .home-card-body {
        padding: 16px;
        gap: 8px;
    }

    .home-cate .home-head {
        justify-content: center;
        margin-bottom: 32px;
    }
    .home-cate .icon-tl {
        display: none;
    }
    .home-cate .home-tl {
        font-size: 30px;
    }

    .home-cate-ls {
        gap: 16px;
        grid-template-columns: repeat(2, 1fr);
    }

    .home-cate-item {
        padding: 16px 20px;
        background: #fff;
        border-radius: 16px;
        border: 1px solid #e8ebed;
        font-size: 16px;
        min-height: 56px;
    }

    .home-cate-item:hover {
        border-color: #dce0e4;
    }

    .home-cate-left {
        gap: 16px;
    }
    .icon-arrow {
        width: 16px;
        height: 16px;
    }

    .home-cate-left span {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        font-size: 18px;
    }
    .home-cate-left img {
        width: 28px;
        height: 28px;
    }
    .icon-tl {
        width: 32px;
        height: 32px;
    }
    .home-card-body .home-pill {
        display: inline-block;
    }

    .home-recent-ls {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .home-recent-item {
        flex: none;
        max-width: none;
        width: auto;
        scroll-snap-align: unset;
        flex-direction: row;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
        border: 1px solid #e8ebed;
        border-radius: 12px;
    }

    .icon-recent-arrow {
        display: none;
    }

    .home-recent-item .home-card-tag {
        position: static;
        padding: 4px 12px;
        border-radius: 9999px;
        background: #ffc2c8;
        color: #852237;
        font-size: 10px;
    }

    .home-recent-pic {
        flex: 0 0 140px;
        width: 140px;
        height: 140px;
        aspect-ratio: auto;
        border-radius: 8px;
        overflow: hidden;
    }

    .home-recent-body {
        flex: 1;
        justify-content: center;
        gap: 12px;
    }

    .home-recent-tl {
        font-size: 18px;
        line-height: 1.25;
        color: #4d2127;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .home-recent-meta {
        display: none;
    }

    .site-footer-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 24px;
    }

    .site-footer-nav {
        justify-content: center;
        flex: 1;
    }

    .site-footer-copy {
        flex-basis: 100%;
        text-align: center;
    }

    .home-more-btn {
        max-width: 728px;
        height: 56px;
    }

    .home-card-meta {
        display: flex;
        font-size: 14px;
    }
    .home-card-foot {
        display: flex;
    }
    .icon-clock {
        width: 12px;
        height: 12px;
    }
    .quiz-explanation {
        padding: 48px 32px 48px 40px;
        border-top: none;
        border-left: 8px solid #ae2620;
    }
    .quiz-progress-bar {
        height: 12px;
    }
    .quiz-progress-text {
        font-size: 18px;
    }

    .quiz-option-pic {
        width: 180px;
        height: 180px;
    }
    .result-inner h3 {
        font-size: 32px;
    }
    .result-inner img {
        height: 320px;
    }
    .result-inner p {
    font-size: 18px;
    }
    .answers-item {
        flex-direction: row;
        padding: 24px;
        gap: 16px;
    }
    .answers-item-icon {
        margin-top: 4px;
    }
    .answers-check {
        gap: 32px;
    }
    .answers-check-title {
        font-size: 30px;
    }
    .social-btn {
        height: 56px;
    }

    /*  */
    .about-us {
        max-width: 800px;
        padding: 120px 0;
    }
    .disclaimer-tl {
        max-width: 762px;
        padding-top: 120px;
    }
    .about-us h1,
    .disclaimer-tl h1 {
        font-size: 48px;
        line-height: 56px;
        margin-bottom: 24px;
    }
    .about-us p,
    .disclaimer-tl p {
        font-size: 16px;
        line-height: 24px;
    }
    .disclaimer-tl p{ 
        margin-bottom: 72px;
    }
    .disclaimer-ls{
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-bottom: 120px;
    }
    .disclaimer-item {
        padding: 32px;
        align-items: center;
    }
    .icon-disclaimer {
        width: 32px;
        height: 32px;
    }
    .disclaimer-item h4 {
        font-size: 22px;
        line-height: 28px;
    }
    .disclaimer-item p {
        text-align: center;
    }
    .privacy-tl {
        margin-top: 120px;
        margin-bottom: 48px;
    }
    .privacy-con {
        margin-bottom: 120px;
    }
    .privacy-con div {
        margin-bottom: 48px;
    }
    .privacy-con h4 {
        font-size: 22px;
        line-height: 28px;
    }

    .errorpage {
        height: calc(100vh - 300px);
    }
    .error-con {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 150px 0;
    }
    .error-left {
        align-items: flex-start;
    }
    .error-left h1 {
        font-size: 64px;
        line-height: 64px; 
    }
    .error-left p {
        font-size: 20px;
        line-height: 28px; 
        margin: 40px 0;
        text-align: left;
    }
    .error-left a {
        display: inline-flex;
        padding: 15px 20px;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        background: #ae2620;
        color: #FFF;
        font-family: Outfit;
        font-size: 18px;
        font-weight: 500;
        line-height: 26px; 
        text-transform: capitalize;
    }
    .error-img {
        width: 434px;
        margin-top: 0;
    }
    .error-des {
        font-size: 20px;

        margin-top: 28px;
        margin-bottom: 32px;
    }

    .answers-item-pic { 
        width: 50%;
    }

    .intro-meta-ic {
        width: 20px;
        height: 20px;
    }

    .intro-meta-txt {
        font-size: 16px;
        line-height: 1.2;
    }
    .intro-body p {
        font-size: 18px;
    }
    .aside-cate-name {
        font-size: 18px;
    }

    .home-card-tl {
        font-size: 18px;
        line-height: 1.25;
    }
    .hot-ls .home-card-tl {
        -webkit-line-clamp: 2;
        min-height: 45px;
    }
}

@media screen and (min-width: 1200px) {
    .wrapper,.qc-header-inner {
        max-width: 1100px;
    }
    .pagecontent {
        display: flex;
    }
    .pageleft {
        flex: 0 0 728px;

        width: 728px;
        padding-bottom: 16px;
    }
    .pageright {
        flex: 1;
        min-width: 0;
        padding-left: 72px;
    }
    .gap-main {
        gap: 28px;
    }
    .site-footer {
        margin-top: 48px;
    }
    .qc-header {
        margin-bottom: 24px;
    }
    .cate-pick-foot {
        padding-top: 24px;
    }
    
    

    .home-cate-ls {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-featured {
        min-height: 320px;
    }

    .home-banner {
        min-height: 320px;
    }

    .home-banner-tl {
        font-size: 30px;
        line-height: 1.25;
    }

    .site-footer-copy {
        flex-basis: auto;
        text-align: right;
    }

    .site-footer-inner {
        flex-wrap: nowrap;
    }

    .home-recent-pic {
        flex: 0 0 163px;
        max-width: 163px;
        width: 163px;
    }

    .privacypage .pageright {
        display: block;
    }
}
