/*
Theme Name: Faheem Mulla Resume
Theme URI: https://faheemmulla.com
Author: Faheem Mulla
Description: A print-exact, editable resume theme. Renders a 5-page A4 resume that is edited from a dedicated Resume Editor screen in wp-admin and exported to PDF via the browser's print dialog with a locked A4 stylesheet. Company and toolset logos are uploadable SVGs. Includes standard page/post templates so the resume can live inside a larger site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: faheem-resume
Tags: resume, cv, one-page, print, custom-menu
*/

/* -------------------------------------------------------------------------
   Site chrome. Deliberately minimal: the resume template supplies its own
   fully self-contained styles in assets/css/resume.css. Everything here is
   for the ordinary pages and posts that surround it.
   ---------------------------------------------------------------------- */

:root {
    --fmr-site-fg: #1d1d1f;
    --fmr-site-muted: #6b6b70;
    --fmr-site-bg: #ffffff;
    --fmr-site-line: #e6e6e9;
    --fmr-site-accent: #1b0e43;
    --fmr-site-sand: #fad592;
    --fmr-site-measure: 34rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--fmr-site-bg);
    color: var(--fmr-site-fg);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--fmr-site-accent);
}

.fmr-skip-link {
    position: absolute;
    left: -9999px;
}

.fmr-skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 100;
    padding: 0.5rem 0.9rem;
    background: #fff;
    border: 2px solid var(--fmr-site-accent);
    border-radius: 6px;
}

.fmr-site-header {
    border-bottom: 1px solid var(--fmr-site-line);
}

.fmr-site-header__inner,
.fmr-site-main,
.fmr-site-footer__inner {
    max-width: 62rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.fmr-site-header__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: baseline;
    justify-content: space-between;
    padding-block: 1.25rem;
}

.fmr-site-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fmr-site-title a {
    color: inherit;
    text-decoration: none;
}

.fmr-site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}

.fmr-site-nav a {
    color: var(--fmr-site-muted);
    text-decoration: none;
}

.fmr-site-nav a:hover,
.fmr-site-nav .current-menu-item > a {
    color: var(--fmr-site-fg);
}

.fmr-site-main {
    padding-block: 3rem 4rem;
}

.fmr-entry + .fmr-entry {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--fmr-site-line);
}

.fmr-entry__title {
    margin: 0 0 0.4rem;
    font-size: 1.9rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.fmr-entry__title a {
    color: inherit;
    text-decoration: none;
}

.fmr-entry__meta {
    margin: 0 0 1.5rem;
    color: var(--fmr-site-muted);
    font-size: 0.85rem;
}

.fmr-entry__content {
    max-width: var(--fmr-site-measure);
}

.fmr-entry__content > * + * {
    margin-top: 1.1em;
}

.fmr-pagination {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

.fmr-site-footer {
    border-top: 1px solid var(--fmr-site-line);
    color: var(--fmr-site-muted);
    font-size: 0.85rem;
}

.fmr-site-footer__inner {
    padding-block: 1.5rem;
}

/* Alignment classes WordPress expects a theme to provide. */
.alignleft {
    float: left;
    margin: 0.3rem 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0.3rem 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin-inline: auto;
}

.alignwide,
.alignfull {
    max-width: none;
}

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

.sticky,
.gallery-caption,
.bypostauthor {
    /* Required by the theme review guidelines. */
}

@media print {
    .fmr-site-header,
    .fmr-site-footer {
        display: none !important;
    }

    .fmr-site-main {
        padding: 0;
        max-width: none;
    }
}

/* Post and page furniture used by the templates. */

.fmr-site-container {
    max-width: 46rem;
}

.fmr-archive-title {
    margin: 0 0 2rem;
    font-size: 1.6rem;
    letter-spacing: -0.01em;
}

.fmr-archive-description {
    margin: -1.25rem 0 2rem;
    color: var(--fmr-site-muted);
}

.fmr-entry__thumb {
    margin: 1.25rem 0;
}

.fmr-entry__thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.fmr-entry__excerpt {
    color: var(--fmr-site-muted);
}

.fmr-entry--summary .fmr-entry__title {
    font-size: 1.35rem;
}

.fmr-entry--summary .fmr-entry__title a {
    color: inherit;
    text-decoration: none;
}

.fmr-entry--summary .fmr-entry__title a:hover {
    text-decoration: underline;
}

.fmr-entry--intro {
    max-width: 46rem;
    margin: 0 auto 2rem;
}

.fmr-page-links,
.fmr-post-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fmr-site-line);
    font-size: 0.95rem;
}

.fmr-post-nav__next {
    margin-left: auto;
    text-align: right;
}

/* The resume needs the full viewport width; the sheets set their own size. */

.fmr-resume-page .fmr-site-main {
    max-width: none;
    padding: 0;
}
