
/* =========================================
   OFFICE CUSTOMIZATION - MAIN STYLESHEET
   ========================================= */

:root {
    --color-primary: #c23a00;
    --color-dark: #202b3c;
    --color-text: #333333;
    --color-muted: #687385;
    --color-light: #f7f8fa;
    --color-border: #e5e7eb;
    --color-white: #ffffff;
    --container-width: 1100px;
}

/* RESET */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text);
    background: #ffffff;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: #8f2b00;
    text-decoration: underline;
}

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

/* HEADER */
.header-outer {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: var(--container-width);
    min-height: 82px;
    margin: auto;
    padding: 15px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-brand {
    display: flex;
    align-items: center;
}

.site-title-link {
    display: flex;
    flex-direction: column;
    color: var(--color-dark);
    line-height: 1.3;
}

.site-title {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-tagline {
    margin-top: 4px;
    font-size: 12px;
    color: var(--color-muted);
}

.site-title-link:hover {
    text-decoration: none;
}

/* NAVIGATION */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color-dark);
    font-size: 15px;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
}

.menu-icon,
.menu-line {
    display: block;
}

/* SKIP LINK */
.skip-to-content {
    position: absolute;
    left: -9999px;
}

.skip-to-content:focus {
    left: 10px;
    top: 10px;
    z-index: 9999;
    padding: 10px;
    background: #ffffff;
}

/* MAIN CONTENT */
.site-content {
    width: 100%;
    max-width: var(--container-width);
    margin: 35px auto 50px;
    padding: 0 22px;
}

.article {
    width: 100%;
    background: #ffffff;
}

.article > header {
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
}

.article h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--color-dark);
}

.article-content {
    width: 100%;
    font-size: 16px;
    line-height: 1.8;
}

.article-content p {
    margin: 0 0 20px;
}

.article-content h2 {
    margin: 35px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eeeeee;
    color: var(--color-dark);
    font-size: 25px;
    line-height: 1.4;
    font-weight: 750;
}

.article-content h3 {
    font-size: 21px;
    color: var(--color-dark);
}

/* TABLE */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #ffffff;
    border: 1px solid var(--color-border);
}

.article-content table td,
.article-content table th {
    padding: 13px 15px;
    border: 1px solid var(--color-border);
    text-align: left;
}

.article-content table tr:nth-child(even) {
    background: #f7f8fa;
}

.article-content table td:first-child {
    width: 35%;
    font-weight: 700;
    color: var(--color-dark);
}

/* LISTS */
.article-content ul,
.article-content ol {
    margin: 15px 0 25px;
    padding-left: 28px;
}

.article-content li {
    margin-bottom: 9px;
    padding-left: 3px;
}

.article-content li::marker {
    color: var(--color-primary);
}

/* DOWNLOAD BUTTON */
.hpbutton {
    font-size: 18px;
    padding: 12px 25px;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    background: linear-gradient(45deg, #bb0bcb, #e31010);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.hpbutton:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.2);
}

/* MICROSOFT LINKS */
.home-button {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 25px 0;
}

.home-button a {
    display: inline-block;
    padding: 11px 18px;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.home-button a:hover {
    color: #ffffff;
    background: var(--color-primary);
    text-decoration: none;
}

/* HORIZONTAL RULE */
.article-content hr {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: 30px 0;
}

/* ARTICLE IMAGES */
.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 6px;
}

/* FAQ ACCORDION */
.accordion {
    border: 1px solid #dddddd;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #ffffff;
}

.accordion-header {
    position: relative;
    background: #f7f7f7;
    cursor: pointer;
    padding: 15px 45px 15px 18px;
    font-weight: 700;
    color: var(--color-dark);
    border-bottom: 1px solid #dddddd;
    transition: background 0.2s ease;
}

.accordion-header::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--color-primary);
}

.accordion.active .accordion-header::after {
    content: "−";
}

.accordion-header:hover {
    background: #eeeeee;
}

.accordion-content {
    padding: 15px 18px;
    display: none;
    background: #ffffff;
}

.accordion-content p {
    margin: 0 0 12px;
}

.accordion.active .accordion-content {
    display: block;
}

/* FOOTER */
.footer-outer {
    width: 100%;
    background: #202b3c;
    color: #ffffff;
    margin-top: 50px;
}

.footer-inner {
    max-width: var(--container-width);
    margin: auto;
    padding: 45px 22px;
}

.footer-widget {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-widget-heading {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
}

.footer-widget p {
    color: #d0d5dd;
    margin: 0 0 15px;
    font-size: 14px;
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #d0d5dd;
    font-size: 14px;
}

.footer-widget a:hover {
    color: #ffffff;
}

.contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.contact svg {
    flex-shrink: 0;
}

/* COPYRIGHT */
.copyright {
    padding: 18px 22px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}

.copyright p {
    max-width: 1000px;
    margin: 0 auto;
    color: #d0d5dd;
    font-size: 13px;
    line-height: 1.7;
}

.copyright strong {
    color: #ffffff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {

    .header-inner {
        min-height: 70px;
        padding: 12px 16px;
    }

    .site-title {
        font-size: 21px;
    }

    .site-tagline {
        font-size: 11px;
    }

    .site-content {
        margin: 25px auto 35px;
        padding: 0 16px;
    }

    .article h1 {
        font-size: 27px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-content table td,
    .article-content table th {
        padding: 10px;
        font-size: 14px;
    }

    .footer-widget {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-inner {
        padding: 35px 20px;
    }

    .home-button {
        flex-direction: column;
    }

    .home-button a {
        text-align: center;
    }
}

@media (max-width: 480px) {

    .article h1 {
        font-size: 24px;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .hpbutton {
        width: 100%;
        max-width: 300px;
        font-size: 16px;
    }

    .article-content table td {
        font-size: 13px;
        padding: 9px 7px;
    }

    .accordion-header {
        padding: 13px 40px 13px 13px;
        font-size: 14px;
    }
}
