/*
Theme Name: Up Your Media
Theme URI: https://upyourmedia.com
Author: Up Your Media
Description: A WordPress recreation of the original Up Your Media Joomla design.
Version: 2.6.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: upyourmedia
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700&family=Open+Sans:300,400');

:root {
    --ink: #444;
    --pale: #999;
    --line: #ddd;
    --dark: #2b2b2b;
    --accent: #b64754;
    --soft-bg: #f7f7f7;
}

/* ---------------------------------------------------------
   Base
--------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font: 18px/1.5 Georgia, serif;
}

a {
    color: #888;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}

h1 {
    font-size: 44px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

p {
    margin: 0 0 18px;
}

ul {
    padding-left: 30px;
}

.wrap {
    width: calc(100% - 50px);
    max-width: 1130px;
    margin: 0 auto;
}

/* Accessibility */

.skip-link {
    position: absolute;
    top: -100px;
    left: 15px;
    background: #fff;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 10px;
}

/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */

.site-header {
    height: 120px;
    background: #000;
    color: #fff;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: block;
    width: 98px;
    height: 90px;
    flex: none;
}

.brand img {
    width: 98px;
    height: 90px;
    object-fit: contain;
}

/* ---------------------------------------------------------
   Navigation
--------------------------------------------------------- */

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font: 14px/1.3 'Open Sans', Arial, sans-serif;
    text-transform: uppercase;
}

.nav a {
    color: #ddd;
    white-space: nowrap;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.current {
    color: #fff;
    border-bottom-color: #777;
}

.menu-toggle,
.menu-scrim {
    display: none;
}

/* Blog submenu */

.nav-blog {
    position: relative;
}

.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #fff;
    z-index: 10;
}

.nav-blog:hover .nav-submenu,
.nav-blog:focus-within .nav-submenu {
    display: block;
}

.nav-submenu a {
    display: block;
    color: #444;
    padding: 12px 15px;
    border: 1px solid var(--line);
    text-transform: none;
    font-size: 16px;
}

.nav-submenu a:hover {
    color: #999;
}

/* ---------------------------------------------------------
   Home Page
--------------------------------------------------------- */

.original-hero {
    height: min(60.5vw, 815px);
    min-height: 440px;
    background:
        #a88767
        url('http://wp.upyourmedia.com/wp-content/uploads/2026/09/up-your-media-hero_2.png')
        center 60% / cover no-repeat;
}

.home-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    padding-top: 35px;
}

.home-card {
    border: 1px solid var(--line);
    padding: 30px;
    min-height: 532px;
}

.home-card h3 {
    margin: 0 0 16px;
}

.home-card img {
    display: block;
    width: 262px;
    height: 235px;
    object-fit: cover;
    margin: 0 auto 8px;
}

.home-card p {
    margin: 0;
}

.home-card .more {
    display: block;
    text-align: right;
    margin-top: 12px;
    color: #999;
}

.home-heading {
    font-size: 44px;
    margin: 37px 0 20px;
}

.home-widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    min-height: 680px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.home-widgets h3 {
    font-size: 22px;
    margin: 0 0 14px;
}

.home-widgets .widget-copy {
    font-size: 16px;
    font-family: 'Open Sans', Arial, sans-serif;
}

.home-widgets label {
    display: block;
    margin: 13px 0 5px;
}

.home-widgets input {
    width: 220px;
    height: 32px;
    border: 1px solid var(--line);
    background: #fafafa;
}

.home-widgets button {
    margin-top: 24px;
    font-size: 13px;
}

.social-icon {
    display: inline-grid;
    place-items: center;
    min-width: 19px;
    height: 19px;
    margin-right: 5px;
    border-radius: 2px;
    background: #444;
    color: #fff;
    font: 16px Arial, sans-serif;
}

/* ---------------------------------------------------------
   Interior Pages
--------------------------------------------------------- */

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 40px;
    min-height: 650px;
    padding-top: 35px;
    padding-bottom: 50px;
}

.breadcrumb {
    margin: 0 0 26px;
    color: #999;
    font: 14px 'Open Sans', Arial, sans-serif;
}

.breadcrumb a {
    color: #aaa;
}

.content {
    min-width: 0;
}

.content article {
    min-width: 0;
}

.content article::after {
    content: '';
    display: block;
    clear: both;
}

.content h1 {
    margin: 0 0 14px;
}

.content h2 {
    margin: 30px 0 12px;
}

.content h3 {
    margin: 20px 0 10px;
}

.content p,
.content li {
    font-size: 18px;
    line-height: 1.5;
}

.content li {
    margin-bottom: 6px;
}

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

.content a {
    color: #888;
}

.content article ul {
    overflow: visible;
}

/* ---------------------------------------------------------
   Page Images
--------------------------------------------------------- */

/*
 * Mac Repairs image:
 * Retains original right-floated layout.
 */

.content img[src*="repairs.jpg"] {
    float: right;
    width: 262px;
    max-width: 100%;
    margin: 6px 0 18px 24px;
    border: 1px solid #000;
}

/* Training image */

.content img[src*="learning.jpg"] {
    max-width: 262px;
    height: auto;
}

/*
 * PQB Mac Users Group image:
 * No float. Keeps awards text and bullets full width.
 */

.content img[src*="pqb-mac-president.jpg"] {
    display: block;
    float: none !important;
    width: 448px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
    border: 1px solid #000;
}

/*
 * Generic centred images from Classic Editor.
 */

.content img.aligncenter,
.content .aligncenter {
    display: block;
    float: none !important;
    margin-left: auto;
    margin-right: auto;
}

/* File/download links */

.content a.wf_file {
    overflow-wrap: anywhere;
}

.content a.wf_file img {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 5px;
    vertical-align: middle;
}

/* ---------------------------------------------------------
   Blockquotes
--------------------------------------------------------- */

.content blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 24px;
    border-left: 3px solid #ddd;
    color: #555;
}

.content blockquote p:last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   Location / Contact Sidebar
--------------------------------------------------------- */

.location-box {
    align-self: start;
    margin-top: 0;
    padding: 30px;
    border: 1px solid var(--line);
    background: #fff;
}

.location-box h3 {
    margin: 0 0 16px;
}

.location-box h3:not(:first-child) {
    margin-top: 30px;
}

.location-box p {
    margin: 0 0 16px;
}

.location-box a {
    color: #777;
}

.location-box a:hover {
    color: var(--accent);
}

.location-box img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------------------------------------------------------
   Article Lists / Blog
--------------------------------------------------------- */

.article-list article {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.article-list h2 {
    margin: 0 0 5px;
}

.article-list h2 a {
    color: #444;
}

/* ---------------------------------------------------------
   Facebook Widget
--------------------------------------------------------- */

.facebook-widget {
    min-width: 0;
    overflow: hidden;
}

.facebook-widget a {
    color: #888;
}

/* ---------------------------------------------------------
   Testimonials
--------------------------------------------------------- */

.testimonial-band {
    min-height: 300px;
    padding: 35px 0;
    background: var(--dark);
    color: #777;
}

.testimonial-band h3 {
    margin: 0 0 18px;
    color: #fff;
}

.testimonial-band blockquote {
    margin: 0;
    color: #777;
    font: italic 24px/1.35 Georgia, serif;
}

.testimonial-band cite {
    display: block;
    margin-top: 18px;
    font: 18px Georgia, serif;
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.site-footer {
    min-height: 230px;
    padding: 60px 0 50px;
    background: #262626;
    color: #777;
    text-align: center;
    font-size: 14px;
}

.site-footer p {
    margin: 0 0 8px;
}

.site-footer a {
    color: #999;
}

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

.site-footer strong {
    color: #c0c0c0;
    font: 700 30px 'Open Sans Condensed', sans-serif;
}

.site-footer .top-link {
    display: block;
    margin-top: 14px;
    font-size: 12px;
}

/* ---------------------------------------------------------
   Tablet
--------------------------------------------------------- */

@media (max-width: 1050px) {

    .nav {
        gap: 16px;
        font-size: 12px;
    }

    .home-cards {
        gap: 20px;
    }

    .home-card {
        padding: 20px;
    }

    .content-layout {
        gap: 25px;
    }
}

/* ---------------------------------------------------------
   Mobile Navigation / Layout
--------------------------------------------------------- */

@media (max-width: 959px) {

    .menu-toggle {
        display: block;
        padding: 10px 0;
        border: 0;
        background: none;
        color: #444;
        cursor: pointer;
        font: 30px/1 Arial, sans-serif;
    }

    .menu-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1000;
        border: 0;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .menu-scrim.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        width: 270px;
        max-width: 85vw;
        padding: 0;
        overflow-y: auto;
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        text-transform: none;
        font: 300 16px/1.5 'Open Sans', Arial, sans-serif;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav a {
        display: block;
        padding: 10px 15px;
        color: #444;
        white-space: normal;
        border-bottom: 1px solid var(--line);
    }

    .nav a:first-child {
        border-top: 1px solid var(--line);
    }

    .nav a.current {
        background: var(--soft-bg);
        color: #444;
        border-bottom-color: var(--line);
    }

    .nav a:hover {
        color: #999;
        border-bottom-color: var(--line);
    }

    .nav-blog {
        position: static;
    }

    .nav-submenu {
        display: block;
        position: static;
        min-width: 0;
    }

    .nav-submenu a {
        padding: 10px 30px;
        border: 0;
        border-bottom: 1px solid var(--line);
        font: 300 16px/1.5 'Open Sans', Arial, sans-serif;
    }

    .nav-submenu a::before {
        content: '»';
        margin-right: 9px;
        color: #888;
    }

    .menu-open {
        overflow: hidden;
    }

    .original-hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 3 / 2;
        background-size: contain;
        background-position: center center;
        background-color: #a88767;
    }

    .home-cards {
        grid-template-columns: 1fr;
    }

    .home-card {
        min-height: 0;
    }

    .home-card img {
        margin-left: 0;
    }

    .home-widgets {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-bottom: 40px;
    }

    .home-heading {
        font-size: 36px;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .location-box {
        margin-top: 10px;
    }

    .content h1 {
        font-size: 38px;
    }

    /*
     * Don't float repair images on narrow screens.
     */

    .content img[src*="repairs.jpg"] {
        display: block;
        float: none;
        margin: 0 auto 24px;
    }
}

/* ---------------------------------------------------------
   Small Phones
--------------------------------------------------------- */

@media (max-width: 480px) {

    .wrap {
        width: calc(100% - 32px);
    }

    .home-card {
        padding: 22px;
    }

    .home-card img {
        width: 100%;
        max-width: 262px;
        height: auto;
    }

    .home-heading {
        font-size: 32px;
    }

    .original-hero {
        min-height: 0;
    }

    .content h1 {
        font-size: 34px;
    }

    .content h2 {
        font-size: 28px;
    }

    .location-box {
        padding: 22px;
    }

    .testimonial-band blockquote {
        font-size: 21px;
    }
}
.content-layout.no-sidebar {
    grid-template-columns: 1fr;
}