/*
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: 3.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: upyourmedia
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Roboto+Condensed:wght@400;600;700&display=swap');

: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: 'Roboto Condensed', Arial, 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;
}

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

.original-hero {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    background:
        #a88767
        url('https://wp.upyourmedia.com/wp-content/uploads/2026/09/hero_4.png')
        center center / 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;
    margin-top: 12px;
    text-align: right;
    color: #999;
}

/* ---------------------------------------------------------
   Home Intro
--------------------------------------------------------- */

.home-intro {
    max-width: 850px;
    margin: 52px auto 42px;
    text-align: center;
}

.home-eyebrow {
    margin: 0 0 8px;
    font: 700 13px/1.4 'Open Sans', Arial, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8a8a;
}

.home-heading {
    margin: 0;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    color: #444;
}

.home-heading::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    margin: 20px auto 0;
    background: #65717a;
}

.home-intro-copy {
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 19px;
    line-height: 1.5;
    color: #666;
}

/* ---------------------------------------------------------
   Home Widgets
--------------------------------------------------------- */

.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 > div {
    align-self: start;
}

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

.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;
    max-width: 100%;
    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;
}

/* ---------------------------------------------------------
   Homepage Apple Tips
--------------------------------------------------------- */

.home-tip {
    padding: 0 0 18px;
    margin: 0 0 18px;
    border-bottom: 1px solid var(--line);
}

.home-tip h4 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.25;
}

.home-tip h4 a {
    color: #65717a;
}

.home-tip h4 a:hover {
    color: #444;
}

.home-tip p {
    margin: 0 0 7px;
    font-size: 15px;
    line-height: 1.45;
}

.tip-more,
.all-tips-link a {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    color: #888;
}

.tip-more:hover,
.all-tips-link a:hover {
    color: var(--accent);
}

.all-tips-link {
    margin-top: 8px;
}

/* ---------------------------------------------------------
   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;
}

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

.breadcrumb {
    margin: 0 0 26px;
    color: #999;
    font: 14px/1.4 '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;
}

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

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

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

.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;
}

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

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

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

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

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

.article-list h2 {
    margin: 0 0 12px;
    color: #65717a;
}

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

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

.article-list figure.wp-block-image {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

.article-list figure.wp-block-image img {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.article-list figure.wp-block-image figcaption {
    text-align: left !important;
}

/* ---------------------------------------------------------
   Blog Directory
--------------------------------------------------------- */

.blog-directory {
    max-width: 940px;
    margin: 28px 0 36px;
    padding: 18px 20px;
    background: #f7f8f9;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.blog-directory h2 {
    margin: 0 0 14px;
    font-size: 27px;
    line-height: 1.15;
}

.blog-directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}

.blog-directory-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.blog-directory-item h3 {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.blog-directory-item h3 a {
    color: #444;
}

.blog-directory-item h3 a:hover {
    color: #65717a;
}

.latest-posts {
    margin-top: 26px;
}

/* ---------------------------------------------------------
   Smash Balloon Facebook Feed
--------------------------------------------------------- */

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

.facebook-widget #cff {
    margin-top: 4px;
}

.facebook-widget #cff .cff-item {
    margin: 0 0 18px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid var(--line) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.facebook-widget #cff .cff-item:last-child {
    margin-bottom: 0 !important;
}

.facebook-widget #cff .cff-post-text,
.facebook-widget #cff .cff-post-desc {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.facebook-widget #cff .cff-author,
.facebook-widget #cff .cff-date {
    font-size: 13px !important;
}

.facebook-widget #cff .cff-photo,
.facebook-widget #cff .cff-media-link,
.facebook-widget #cff .cff-album-icon {
    display: none !important;
}

.facebook-widget #cff .cff-post-links,
.facebook-widget #cff .cff-view-comments-wrap,
.facebook-widget #cff .cff-share-container,
.facebook-widget #cff .cff-comments-box {
    display: none !important;
}

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

.testimonial-band {
    min-height: 300px;
    padding: 45px 0 38px;
    background: var(--dark);
    color: #aaa;
    text-align: center;
}

.testimonial-band h3 {
    margin: 0 0 28px;
    color: #fff;
    font-size: 30px;
}

.testimonial-rotator {
    max-width: 850px;
    min-height: 150px;
    margin: 0 auto;
}

.testimonial-slide {
    animation: testimonialFade 0.45s ease;
}

.testimonial-slide blockquote {
    margin: 0;
    color: #ddd;
    font: italic 23px/1.5 Georgia, serif;
}

.testimonial-slide cite {
    display: block;
    margin-top: 22px;
    color: #fff;
    font: 700 18px 'Roboto Condensed', Arial, sans-serif;
    font-style: normal;
}

.testimonial-source {
    display: block;
    margin-top: 4px;
    color: #999;
    font: 13px 'Open Sans', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.testimonial-dots {
    margin-top: 25px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #777;
    cursor: pointer;
}

.testimonial-dot.is-active {
    background: #fff;
}

@keyframes testimonialFade {

    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------------------------------
   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 'Roboto Condensed', Arial, sans-serif;
}

.footer-contact {
    margin: 10px 0;
}

.footer-address {
    line-height: 1.5;
}

.footer-bottom {
    margin-top: 16px;
}

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

@media (max-width: 1050px) {

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

    .home-cards {
        gap: 20px;
    }

    .home-card {
        padding: 20px;
    }

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

/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 959px) {

    body {
        font-size: 17px;
    }

    .site-header {
        height: 118px;
    }

    .menu-toggle {
        display: block;
        padding: 10px 0;
        border: 0;
        background: none;
        color: #fff;
        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;
    }

    .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;
        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);
    }

    .menu-open {
        overflow: hidden;
    }

    .original-hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

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

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

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

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

    .home-intro {
        margin: 38px auto 32px;
    }

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

    .home-intro-copy {
        font-size: 17px;
    }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 28px;
        padding-bottom: 40px;
    }

    .breadcrumb {
        margin-bottom: 22px;
        font-size: 13px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .content h1 {
        font-size: 32px;
        line-height: 1.12;
    }

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

    .content h3 {
        font-size: 22px;
    }

    .content p,
    .content li {
        font-size: 17px;
        line-height: 1.55;
    }

    .blog-directory {
        max-width: none;
        margin: 26px 0 34px;
        padding: 16px;
    }

    .blog-directory h2 {
        font-size: 25px;
    }

    .blog-directory-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .blog-directory-item {
        padding: 10px 0;
    }

    .blog-directory-item h3 {
        font-size: 17px;
    }

    .facebook-widget #cff .cff-post-text,
    .facebook-widget #cff .cff-post-desc {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .testimonial-band {
        min-height: 0;
        padding: 34px 0 30px;
    }

    .testimonial-band h3 {
        font-size: 25px;
    }

    .testimonial-slide blockquote {
        font-size: 19px;
    }

    .testimonial-dot {
        width: 8px;
        height: 8px;
    }

    .site-footer {
        min-height: 0;
        padding: 32px 0 28px;
        font-size: 13px;
        line-height: 1.4;
    }

    .site-footer strong {
        font-size: 24px;
    }

    .footer-description {
        max-width: 430px;
        margin: 6px auto 14px !important;
        font-size: 13px;
        line-height: 1.45;
    }

    .footer-contact {
        margin: 14px 0;
        font-size: 13px;
    }

    .footer-contact a {
        display: block;
        margin: 6px 0;
        font-size: 13px;
    }

    .footer-contact .footer-divider {
        display: none;
    }

    .footer-address {
        max-width: 420px;
        margin: 0 auto 10px !important;
        font-size: 13px;
        line-height: 1.45;
    }

    .footer-bottom {
        margin-top: 14px;
        font-size: 12px;
    }
}

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

@media (max-width: 480px) {

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

    .brand {
        width: 92px;
        height: 84px;
    }

    .brand img {
        width: 92px;
        height: 84px;
    }

    .home-card {
        padding: 18px;
    }

    .home-card h3 {
        margin-bottom: 14px;
        font-size: 22px;
        line-height: 1.15;
    }

    .home-card img {
        width: 150px;
        max-width: 100%;
        height: 130px;
        object-fit: cover;
        margin: 0 0 14px 0;
    }

    .home-card p {
        font-size: 16px;
        line-height: 1.45;
    }

    .home-card .more {
        margin-top: 14px;
        font-size: 15px;
    }

    .home-intro {
        margin: 32px auto 28px;
    }

    .home-eyebrow {
        font-size: 11px;
    }

    .home-heading {
        font-size: 31px;
        line-height: 1.1;
    }

    .home-heading::after {
        margin-top: 16px;
    }

    .home-intro-copy {
        margin-top: 16px;
        font-size: 16px;
    }

    .breadcrumb {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .content h1 {
        font-size: 30px;
        line-height: 1.1;
    }

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

    .content h3 {
        font-size: 21px;
    }

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

    .blog-directory {
        padding: 14px;
        margin-bottom: 30px;
    }

    .blog-directory h2 {
        margin-bottom: 10px;
        font-size: 23px;
        line-height: 1.15;
    }

    .blog-directory-item {
        padding: 9px 0;
    }

    .blog-directory-item h3 {
        font-size: 16px;
        line-height: 1.3;
    }

    .facebook-widget #cff .cff-post-text,
    .facebook-widget #cff .cff-post-desc {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .testimonial-band {
        padding: 30px 0 28px;
    }

    .testimonial-band h3 {
        font-size: 24px;
    }

    .testimonial-slide blockquote {
        font-size: 18px;
        line-height: 1.5;
    }

    .testimonial-slide cite {
        font-size: 16px;
    }

    .testimonial-source {
        font-size: 10px;
    }

    .testimonial-dot {
        width: 7px;
        height: 7px;
        margin: 0 3px;
    }

    .site-footer {
        padding: 28px 0 24px;
        font-size: 12px;
        line-height: 1.4;
    }

    .site-footer strong {
        font-size: 22px;
    }

    .footer-description {
        max-width: 340px;
        margin: 5px auto 12px !important;
        font-size: 12px;
        line-height: 1.4;
    }

    .footer-contact {
        margin: 12px 0;
    }

    .footer-contact a {
        margin: 5px 0;
        font-size: 13px;
    }

    .footer-address {
        max-width: 330px;
        margin: 0 auto 8px !important;
        font-size: 12px;
        line-height: 1.4;
    }

    .footer-bottom {
        margin-top: 12px;
        font-size: 11px;
    }
}