/* =========================================
   PrinterOfflineError.com
   Main Website Styles
========================================= */


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    max-width: 100%;
    height: auto;
}


/* ACCESSIBILITY */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* CONTAINER */

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}


.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* LOGO */

.site-logo {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}


.logo-printer {
    color: #0b3a67;
}


.logo-offline {
    color: #1473e6;
}


.logo-error {
    color: #0b3a67;
}


/* NAVIGATION */

.main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}


.main-navigation a {
    color: #334155;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}


.main-navigation a:hover,
.main-navigation a:focus {
    color: #1473e6;
}


/* MOBILE BUTTON */

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 28px;
    cursor: pointer;
    color: #0b3a67;
}


/* =========================================
   HERO
========================================= */

.hero {
    background:
        linear-gradient(
            135deg,
            #f4f9ff 0%,
            #ffffff 55%,
            #eef7ff 100%
        );

    padding: 90px 0 95px;
    border-bottom: 1px solid #e8eef5;
}


.hero-content {
    max-width: 900px;
    text-align: center;
}


.hero-label {
    color: #1473e6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}


.hero h1 {
    color: #0b2948;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    max-width: 900px;
    margin: 0 auto 22px;
}


.hero-description {
    max-width: 750px;
    margin: 0 auto;
    font-size: 18px;
    color: #526273;
    line-height: 1.8;
}


/* =========================================
   SEARCH
========================================= */

.hero-search {
    max-width: 700px;
    margin: 35px auto 0;
    display: flex;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 7px;
    box-shadow: 0 10px 30px rgba(15, 50, 85, 0.08);
}


.hero-search input {
    flex: 1;
    border: 0;
    outline: none;
    padding: 14px 16px;
    font-size: 16px;
    color: #1f2937;
    background: transparent;
    min-width: 0;
}


.hero-search input::placeholder {
    color: #8492a6;
}


.hero-search button {
    border: 0;
    background: #1267c4;
    color: #ffffff;
    padding: 13px 27px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}


.hero-search button:hover,
.hero-search button:focus {
    background: #0b4f98;
}


/* =========================================
   QUICK LINKS
========================================= */

.quick-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}


.quick-links a {
    background: #ffffff;
    border: 1px solid #dce6f0;
    color: #36536f;
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
}


.quick-links a:hover,
.quick-links a:focus {
    border-color: #1473e6;
    color: #1473e6;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #0b2948;
    color: #dce8f4;
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 800px) {

    .container {
        width: min(100% - 30px, 1120px);
    }


    .header-inner {
        min-height: 68px;
        position: relative;
    }


    .site-logo {
        font-size: 20px;
    }


    .menu-toggle {
        display: block;
    }


    .main-navigation {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    }


    .main-navigation.active {
        display: block;
    }


    .main-navigation ul {
        display: block;
    }


    .main-navigation li {
        border-bottom: 1px solid #eef2f6;
    }


    .main-navigation li:last-child {
        border-bottom: 0;
    }


    .main-navigation a {
        display: block;
        padding: 15px 18px;
    }


    .hero {
        padding: 65px 0 70px;
    }


    .hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }


    .hero-description {
        font-size: 16px;
    }


    .hero-search {
        display: block;
        padding: 8px;
    }


    .hero-search input {
        display: block;
        width: 100%;
        padding: 13px 12px;
    }


    .hero-search button {
        width: 100%;
        margin-top: 5px;
    }

}


@media (max-width: 480px) {

    .hero h1 {
        font-size: 32px;
    }


    .hero {
        padding: 50px 0 55px;
    }


    .quick-links {
        gap: 8px;
    }


    .quick-links a {
        font-size: 13px;
    }

}/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-label {
    display: block;
    color: #1473e6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-heading h2 {
    color: #0b2948;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-heading p {
    color: #607083;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   POPULAR PRINTER ISSUES
========================================= */

.issues-section {
    padding: 80px 0;
    background: #ffffff;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.issue-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e1e8ef;
    border-radius: 14px;
    padding: 28px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.issue-card:hover {
    transform: translateY(-4px);
    border-color: #b8d4ef;
    box-shadow: 0 12px 30px rgba(15, 50, 85, 0.09);
}

.issue-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef6ff;
    color: #1267c4;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.issue-card h3 {
    color: #0b2948;
    font-size: 20px;
    margin-bottom: 10px;
}

.issue-card p {
    color: #667789;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.card-link {
    color: #1267c4;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================
   CANON SECTION
========================================= */

.canon-section {
    padding: 80px 0;
    background: #f6f9fc;
}

.canon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.canon-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.canon-card:hover {
    transform: translateY(-3px);
    border-color: #b9d5ef;
    box-shadow: 0 10px 25px rgba(15, 50, 85, 0.08);
}

.canon-card-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf4ff;
    color: #1267c4;
    font-size: 20px;
    font-weight: 800;
}

.canon-card h3 {
    color: #0b2948;
    font-size: 18px;
    margin-bottom: 6px;
}

.canon-card p {
    color: #667789;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .issues-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .issues-section,
    .canon-section {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .issues-grid {
        grid-template-columns: 1fr;
    }

    .canon-grid {
        grid-template-columns: 1fr;
    }

    .issue-card {
        padding: 23px;
    }

    .canon-card {
        padding: 20px;
    }

}/* =========================================
   CANON ERROR CODES
========================================= */

.error-section {
    padding: 80px 0;
    background: #ffffff;
}

.error-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.error-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e1e8ef;
    border-radius: 12px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.error-card:hover {
    transform: translateY(-3px);
    border-color: #b8d4ef;
    box-shadow: 0 10px 25px rgba(15, 50, 85, 0.08);
}

.error-code {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 42px;
    padding: 0 8px;
    background: #eef6ff;
    color: #1267c4;
    border-radius: 8px;
    font-weight: 800;
    font-size: 15px;
}

.error-title {
    color: #0b2948;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================
   FEATURED GUIDES
========================================= */

.guides-section {
    padding: 80px 0;
    background: #f6f9fc;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.guide-card {
    background: #ffffff;
    border: 1px solid #e1e8ef;
    border-radius: 14px;
    padding: 28px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: #b8d4ef;
    box-shadow: 0 12px 30px rgba(15, 50, 85, 0.08);
}

.guide-category {
    display: inline-block;
    margin-bottom: 14px;
    color: #1267c4;
    background: #eef6ff;
    border-radius: 50px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.guide-card h3 {
    margin-bottom: 12px;
    color: #0b2948;
    font-size: 20px;
    line-height: 1.4;
}

.guide-card h3 a:hover {
    color: #1267c4;
}

.guide-card p {
    color: #667789;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.read-guide {
    color: #1267c4;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================
   ERROR / GUIDE RESPONSIVE
========================================= */

@media (max-width: 950px) {

    .error-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .error-section,
    .guides-section {
        padding: 60px 0;
    }

    .error-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }

}/* =========================================
   WHY SECTION
========================================= */

.why-section {
    padding: 80px 0;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.why-card {
    border: 1px solid #e1e8ef;
    border-radius: 14px;
    padding: 30px;
    background: #ffffff;
}

.why-number {
    color: #1473e6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.why-card h3 {
    color: #0b2948;
    font-size: 20px;
    margin-bottom: 12px;
}

.why-card p {
    color: #667789;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   FAQ
========================================= */

.faq-section {
    padding: 80px 0;
    background: #f6f9fc;
}

.faq-container {
    max-width: 900px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 20px 55px 20px 22px;
    color: #0b2948;
    font-size: 16px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #1267c4;
    font-size: 25px;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 22px 22px;
}

.faq-answer p {
    color: #667789;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.faq-answer a {
    color: #1267c4;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================
   COMPLETE FOOTER
========================================= */

.site-footer {
    background: #092744;
    color: #d8e5f1;
    padding: 65px 0 0;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-logo {
    display: inline-block;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-about p {
    max-width: 370px;
    color: #b8c9d8;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column h2 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #b8c9d8;
    font-size: 14px;
}

.footer-column a:hover,
.footer-column a:focus {
    color: #ffffff;
}

.footer-disclaimer {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-disclaimer p {
    max-width: 950px;
    color: #9eb3c6;
    font-size: 12px;
    line-height: 1.7;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #9eb3c6;
    font-size: 13px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .why-section,
    .faq-section {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .site-footer {
        padding-top: 50px;
    }

}/* =========================================
   SEARCH RESULTS
========================================= */

.search-results {
    display: none;
    max-width: 700px;
    margin: 8px auto 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 50, 85, 0.10);
    overflow: hidden;
    text-align: left;
}

.search-results:not(:empty) {
    display: block;
    border: 1px solid #d9e2ec;
}

.search-result-item {
    display: block;
    padding: 13px 16px;
    color: #263f59;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #edf1f5;
}

.search-result-item:last-child {
    border-bottom: 0;
}

.search-result-item:hover,
.search-result-item:focus {
    background: #f2f7fc;
    color: #1267c4;
}

.search-message {
    padding: 14px 16px;
    color: #667789;
    font-size: 14px;
}