/*
Theme Name: Jan Geloen - Modern Theme
Theme URI: https://www.jangeloen.be/wordpress
Author: Jan Geloen
Description: Fullscreen image slideshow portfolio theme. Requires Advanced Custom Fields PRO with the existing "Project fields" and "Page fields" groups.
Version: 1
Text Domain: jangeloen-slideshow
*/

@font-face {
    /* Own family name, so it never shadows the system Helvetica */
    font-family: 'Site Bold';
    src: url('assets/fonts/Helvetica-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --h: 1vh;                  /* becomes 1dvh where supported */
    --dur: .5s;                /* slide transition */
    --zoom: 1.1;               /* extra enlargement so there is always some room to pan */
    --caption-opacity: .95;
    --fit-margin-x: 5%;        /* fit mode: black margin left and right (of the screen width, per side) */
    --fit-margin-y: 10%;        /* fit mode: black margin top and bottom (of the screen height, per side) */
    --center-dim: 0;           /* optional dimming of an image that has centred text: 0 = none, .2 = light, .35 = darker */
    --edge-x: 1em;             /* distance of back button, dots and fit button to the left/right edge */
    --edge-y: 1em;             /* ... and to the top/bottom edge */
    --caption-edge-x: 10px;    /* distance of the caption to the right edge */
    --caption-edge-y: 10px;    /* ... and to the bottom edge */
    --crumb-dim: .7;           /* breadcrumb links (not the current place): .7 = 30% dimmer; 1 = not dimmed */
    --dot-size: .55em;         /* size of the dots (top right); .55em = about 8px at normal text size, scales with the text */
    --dots-per-1000px: 25;     /* how many dots are visible per 1000px of window width (1400px wide = 35 dots) */
    --dots-min: 12;            /* ... but never fewer than this */
    --dots-max: 50;            /* ... and never more than this */
    --dot-gap: .5em;           /* space between the dots */
    --shadow-opacity: .95;     /* shadow of all text, the arrow, the dots and the fit button */
    --font: 'Site Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
@supports (height: 1dvh) { :root { --h: 1dvh; } }
@media (prefers-reduced-motion: reduce) { :root { --dur: 0s; } }

/* Desktop (mouse): move everything a bit away from the edges, so the browser's link preview at
   the bottom of the window does not cover it. Phones and tablets keep the values above. */
@media (hover: hover) and (pointer: fine) {
    :root {
        /* halfway between the phone value and the larger desktop value (3vw sideways, 4.5vh up/down) */
        --edge-x: calc((1em + clamp(24px, 3vw, 64px)) / 2);
        --edge-y: calc((1em + clamp(36px, 4.5vh, 64px)) / 2);
        --caption-edge-x: calc((10px + clamp(24px, 3vw, 64px)) / 2);
        --caption-edge-y: calc((10px + clamp(36px, 4.5vh, 64px)) / 2);
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;   /* iOS enlarges wide text blocks in landscape: keep every text exactly the size set here */
    text-size-adjust: 100%;
}
html, body {
    background: #000;
    font-family: Arial, Helvetica, sans-serif;
}

/* Slideshow pages are one fixed screen; other pages scroll normally */
html:has(body.is-slideshow),
body.is-slideshow {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;      /* no pull-to-refresh / back-swipe */
    -webkit-user-select: none;
    user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
::-webkit-scrollbar { display: none; }

.sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Stage & slides ---------- */
.stage {
    position: fixed;
    inset: 0;
    overflow: hidden;
    touch-action: none;             /* we handle swipes ourselves */
    -webkit-user-select: none;
    user-select: none;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    transition: transform var(--dur) ease;
}
.slide.is-current { transform: none;                       visibility: visible; z-index: 2; }
.slide.is-left    { transform: translate3d(-100%, 0, 0);   visibility: visible; z-index: 1; }
.slide.is-right   { transform: translate3d(100%, 0, 0);    visibility: visible; z-index: 1; }
.slide.no-anim    { transition: none; }
div.slide { cursor: default; }
.slide:focus, .slide:focus-visible { outline: none; }   /* a full-screen slide would get a frame around the whole site */

/* Image is scaled up so there is always room to pan; panning uses transform (GPU) */
/* JS sizes each image to "cover" the screen (times --zoom) and sets --ox/--oy,
   the exact overflow in px, so panning always reaches every edge of the image */
.slide > img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transform: translate(-50%, -50%)
               translate3d(calc(var(--px, 0) * var(--ox, 0px)), calc(var(--py, 0) * var(--oy, 0px)), 0);
    pointer-events: none;
    -webkit-user-drag: none;
}
/* Only the slides that are on screen or moving get their own graphics layer (80 big photos would fill GPU memory) */
.slide.is-current > img, .slide.is-left > img, .slide.is-right > img { will-change: transform; }

/* Soft gradient under the caption for legibility on bright images */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / .4), transparent 55%);
    pointer-events: none;
}

/* ---------- Caption ---------- */
.caption {
    --words: 1;
    --chars: 8;
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: calc(50 * var(--h));
    padding: 10px;
    padding-right: max(var(--caption-edge-x), env(safe-area-inset-right));
    padding-bottom: max(var(--caption-edge-y), env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
    text-align: right;
    text-transform: uppercase;
    font-family: var(--font);
    font-weight: 700;
    line-height: .81;
    /* Biggest size that still fits: 8vh, the longest word across the width, and all lines in 48vh */
    font-size: min(
        calc(8 * var(--h)),
        calc(92vw / (var(--chars) * .72)),
        calc(48 * var(--h) / (var(--words) * .81))
    );
    color: rgb(255 255 255 / var(--caption-opacity));
    text-shadow: 0 0 1px rgb(0 0 0 / var(--shadow-opacity));
    pointer-events: none;
}
.caption span { display: block; }

/* ---------- First-visit hint / motion permission ---------- */
/* Same font, size, colour and shadow as the breadcrumbs. The arrows and the button sit in the
   middle of the screen; the words stand left and right of the arrows. */
.hint {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgb(0 0 0 / .8);
    color: rgb(255 255 255 / var(--caption-opacity));
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(14px, 1.5vw, 24px);
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 0 3px rgb(0 0 0 / var(--shadow-opacity));
    -webkit-user-select: none;
    user-select: none;
}
.hint[hidden] { display: none; }
.hint-box { width: min(100%, 28em); }
.hint-list { list-style: none; }
.hint-list li {
    display: grid;
    grid-template-columns: 1fr auto 1fr;    /* equal sides, so every arrow lands in the exact middle */
    align-items: center;
    column-gap: .8em;
}
.hint-list li span:first-child { text-align: right; }   /* ends at the arrow */
.hint-list li span:last-child { text-align: left; }     /* starts at the arrow */
.hint-list li + li { margin-top: .9em; }
.hint-list li[hidden] { display: none; }
.hint-arrow {
    flex: none;
    height: .72em;                      /* = cap height, like the arrow in the old back button */
    width: auto;
    fill: currentColor;
    filter: drop-shadow(0 0 3px rgb(0 0 0 / var(--shadow-opacity)));
}
/* A plain rounded square: no outline, same colour and shadow as the text */
.hint button {
    display: block;
    width: 3.2em;
    height: 3.2em;
    margin: 2.8em auto 0;               /* centred, with room between the text and the button */
    padding: 0;
    border: 0;
    border-radius: .6em;
    background: rgb(255 255 255 / var(--caption-opacity));
    color: #111;
    font: inherit;
    text-shadow: none;
    box-shadow: 0 0 3px rgb(0 0 0 / var(--shadow-opacity));
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.hint button:focus, .hint button:focus-visible { outline: none; }   /* no outline when the area around it is touched */
.hint .error { max-width: 22em; min-height: 1em; margin: 1em auto 0; line-height: 1.3; text-align: center; }

/* ---------- Breadcrumbs (top left) ---------- */
/* Home on top, every deeper level underneath. Links go up a level; the last one is where you are. */
.crumbs {
    position: fixed;
    z-index: 20;
    top: max(var(--edge-y), env(safe-area-inset-top));
    left: max(var(--edge-x), env(safe-area-inset-left));
    max-width: 55vw;
    color: rgb(255 255 255 / var(--caption-opacity));
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(14px, 1.5vw, 24px);   /* 14px on phones, grows on large screens */
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 0 3px rgb(0 0 0 / var(--shadow-opacity));
    -webkit-user-select: none;
    user-select: none;                  /* no text selection, no stray caret when using the arrow keys */
    -webkit-touch-callout: none;
}
.crumbs ol { margin-top: -.2em; list-style: none; }   /* the padding below keeps the first line level with the dots */
.crumbs li { padding: .2em 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs a { color: inherit; text-decoration: none; opacity: var(--crumb-dim); transition: opacity .2s ease; }
.crumbs a:hover, .crumbs a:focus-visible { opacity: 1; }   /* back to normal on hover */
.crumbs a:focus-visible { outline: 2px solid #fff; outline-offset: .2em; }

/* Hover menu of a crumb (mouse only): the entries of that gallery in one row. It fades in over the line
   below the crumb, where the next crumb is: that crumb fades out and its word comes back as the highlighted
   entry of the row, so nothing moves and no word shows twice. For the last crumb the row simply fades in
   below it. Long rows scroll (wheel) and fade at the end. */
.crumb-menu { display: none; }
@media (hover: hover) and (pointer: fine) {
    .crumbs li { position: relative; }
    .crumbs li.has-menu { overflow: visible; }
    .crumbs li > a, .crumbs li > span { display: inline-block; max-width: 100%; vertical-align: top; overflow: hidden; text-overflow: ellipsis; }
    .crumb-menu {
        display: flex;
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 0;
        gap: 1.4em;
        width: max-content;
        max-width: 55vw;
        padding: .2em 0;                       /* the same as a crumb's line, so the words line up */
        overflow-x: auto;
        overflow-y: hidden;
        opacity: 0;
        visibility: hidden;
        scrollbar-width: none;
        transition: opacity .1s ease .1s, visibility 0s .2s;   /* short delay before it closes */
    }
    .crumb-menu::-webkit-scrollbar { display: none; }
    .crumbs li:hover > .crumb-menu,
    .crumbs li:focus-within > .crumb-menu { opacity: 1; visibility: visible; transition-delay: 0s; }
    /* the crumb below makes way for the row */
    .crumbs li.has-menu + li > a, .crumbs li.has-menu + li > span { transition: opacity .1s ease .1s; }
    .crumbs li.has-menu:hover + li > a, .crumbs li.has-menu:hover + li > span,
    .crumbs li.has-menu:focus-within + li > a, .crumbs li.has-menu:focus-within + li > span { opacity: 0; transition-delay: 0s; }
    /* a page is loading: the row closes at once and the pointer shows it is busy */
    html.is-leaving, html.is-leaving * { cursor: progress; }
    html.is-leaving .crumb-menu { opacity: 0 !important; visibility: hidden !important; transition: none; }
    html.is-leaving .crumbs li.has-menu + li > a, html.is-leaving .crumbs li.has-menu + li > span { opacity: var(--crumb-dim) !important; transition: none; }
    .crumb-menu a { flex: none; max-width: 14em; overflow: hidden; text-overflow: ellipsis; }
    .crumb-menu a.is-here { opacity: 1; }
    .crumb-menu.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 3em); mask-image: linear-gradient(90deg, transparent, #000 3em); }
    .crumb-menu.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3em), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3em), transparent); }
    .crumb-menu.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 3em, #000 calc(100% - 3em), transparent); mask-image: linear-gradient(90deg, transparent, #000 3em, #000 calc(100% - 3em), transparent); }
}
/* Touch: only the current crumb has a row. A tap on it opens it below the crumb, a swipe scrolls it. */
@media (pointer: coarse) {
    .crumb-menu:not([data-gallery]) { display: none; }
    .crumbs li.has-menu { position: relative; overflow: visible; }
    .crumbs li > a, .crumbs li > span { display: inline-block; max-width: 100%; vertical-align: top; overflow: hidden; text-overflow: ellipsis; }
    .crumb-menu[data-gallery] {
        display: flex;
        position: absolute;
        z-index: 1;
        top: calc(100% - .35em);               /* the extra padding below is tap area, the words stay on the crumb line */
        left: 0;
        gap: 1.6em;
        width: max-content;
        max-width: calc(100vw - 2 * var(--edge-x) - env(safe-area-inset-left) - env(safe-area-inset-right));
        padding: .55em 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        scrollbar-width: none;
        transition: opacity .12s ease, visibility 0s .12s;
    }
    .crumb-menu::-webkit-scrollbar { display: none; }
    .crumbs li.is-open > .crumb-menu[data-gallery] { opacity: 1; visibility: visible; transition-delay: 0s; }
    .crumb-menu a { flex: none; max-width: 14em; overflow: hidden; text-overflow: ellipsis; }
    .crumb-menu a.is-here { opacity: 1; }
    .crumb-menu.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 3em); mask-image: linear-gradient(90deg, transparent, #000 3em); }
    .crumb-menu.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3em), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3em), transparent); }
    .crumb-menu.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 3em, #000 calc(100% - 3em), transparent); mask-image: linear-gradient(90deg, transparent, #000 3em, #000 calc(100% - 3em), transparent); }
}
.crumbs [tabindex]:focus-visible { outline: 2px solid #fff; outline-offset: .2em; }

/* ---------- Position dots (top right) ---------- */
/* One dot per slide. The box shows at most 10; the track slides behind it and the
   dots at a side that has hidden dots fade out (opacity set by the script via --f). */
.dots {
    --dot: var(--dot-size);
    --gap: var(--dot-gap);
    position: fixed;
    z-index: 20;
    top: max(var(--edge-y), env(safe-area-inset-top));
    right: max(var(--edge-x), env(safe-area-inset-right));
    width: calc(var(--visible) * var(--dot) + (var(--visible) - 1) * var(--gap));
    height: 1em;                        /* same height and font size as the back link, so they line up */
    font-size: clamp(14px, 1.5vw, 24px);
    pointer-events: none;
}
.dots-track {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: var(--gap);
    height: 100%;
    transform: translateX(calc(var(--start, 0) * (var(--dot) + var(--gap)) * -1));
    transition: transform .25s ease;
}
.dots span {
    flex: none;
    width: var(--dot);
    height: var(--dot);
    border-radius: 50%;
    background: rgb(255 255 255 / var(--caption-opacity));
    box-shadow: 0 0 3px rgb(0 0 0 / var(--shadow-opacity));
    opacity: calc(.4 * var(--f, 1));
    transition: opacity .25s ease;
}
.dots span.is-active { opacity: 1; }
/* A plain image (nothing happens when pressed): a ring instead of a filled dot */
.dots span.is-plain {
    background: transparent;
    box-shadow: inset 0 0 0 .09em rgb(255 255 255 / var(--caption-opacity)), 0 0 3px rgb(0 0 0 / var(--shadow-opacity));
}
/* With a mouse the dots can be clicked (the hit area is a bit larger than the dot) */
@media (hover: hover) and (pointer: fine) {
    .dots span { position: relative; pointer-events: auto; cursor: pointer; }
    .dots span::after { content: ''; position: absolute; inset: -.3em -.27em; }
    .dots span:hover { opacity: 1; }
    .dots span.is-out { pointer-events: none; cursor: default; }
}
@media (prefers-reduced-motion: reduce) { .dots-track, .dots span, .crumbs a { transition: none; } }

/* ---------- Fit-to-screen button (bottom left) ---------- */
/* Outline square = panning view, filled square = whole image visible */
.fit-toggle {
    position: fixed;
    z-index: 20;
    bottom: max(var(--edge-y), env(safe-area-inset-bottom));
    left: max(var(--edge-x), env(safe-area-inset-left));
    width: .72em;                       /* same height as the capital letters and the arrow */
    height: .72em;
    padding: 0;
    border: max(2px, .12em) solid rgb(255 255 255 / var(--caption-opacity));
    border-radius: 0;
    background: transparent;
    box-shadow: 0 0 3px rgb(0 0 0 / var(--shadow-opacity)), inset 0 0 3px rgb(0 0 0 / var(--shadow-opacity));
    font-size: clamp(14px, 1.5vw, 24px);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
@media (pointer: coarse) { .fit-toggle { display: none; } }   /* touch screens use a pinch gesture instead */
.fit-toggle::before { content: ''; position: absolute; inset: -.8em; }   /* bigger tap area */
/* Filled: only the outer shadow, like the dots (an inner shadow would darken the white fill) */
.fit-toggle[aria-pressed="true"] {
    background: rgb(255 255 255 / var(--caption-opacity));
    box-shadow: 0 0 3px rgb(0 0 0 / var(--shadow-opacity));
}
.fit-toggle:focus-visible { outline: 2px solid #fff; outline-offset: .35em; }

/* ---------- Fit-to-screen mode: whole image visible with a black margin, no zoom, no panning ---------- */
/* Change the margin with --fit-margin-x and --fit-margin-y at the top of this file */
html.fit-mode .slide { background: #000; }
html.fit-mode .slide > img {
    width: calc(100% - 2 * var(--fit-margin-x)) !important;      /* beats the sizes the script sets for panning */
    height: calc(100% - 2 * var(--fit-margin-y)) !important;
    object-fit: contain;
    transform: translate(-50%, -50%) !important;
}

.empty {
    padding: 120px 20px;
    color: #fff;
    text-align: center;
    font-family: var(--font);
}

/* ---------- Running text as a caption (About) ---------- */
/* Same position, font, case and colour as the other captions, but wrapped in
   normal lines instead of one word per line, and a bit smaller */
.caption[data-wrap] {
    max-height: calc(70 * var(--h));
    font-size: clamp(.95rem, .55rem + 1vw, 1.7rem);
    line-height: 1.15;
}
.caption[data-wrap] span { max-width: min(100%, 36em); margin-top: .8em; }
.caption[data-wrap] span:first-child { margin-top: 0; }
.slide.has-text::after {
    background: linear-gradient(to top, rgb(0 0 0 / .65), transparent 75%);
}

/* ---------- Project text, centred over the hero image ---------- */
/* Same font and colour as the captions, but in normal case, with the line breaks of the post and a
   5px shadow. The script shrinks it (never below 14px) until it fits the screen. */
.center-text {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7vw;
    pointer-events: none;
}
.center-text-body {
    width: min(100%, 34em);
    max-height: calc(72 * var(--h));
    overflow: hidden;
    text-align: center;
    white-space: pre-line;              /* keeps the line breaks of the post */
    font-family: var(--font);
    font-weight: 700;
    /* never larger than the breadcrumbs (same formula as .crumbs), e.g. on a phone held sideways */
    font-size: min(clamp(14px, .7rem + .6vw, 22px), clamp(14px, 1.5vw, 24px));
    line-height: 1.3;
    color: rgb(255 255 255 / var(--caption-opacity));
    text-shadow: 0 0 5px rgb(0 0 0 / var(--shadow-opacity));
}
.center-text-body p + p { margin-top: .9em; }
/* Optional dimming (see --center-dim at the top of this file); 0 = off */
.slide.has-center::after {
    background:
        linear-gradient(rgb(0 0 0 / var(--center-dim)), rgb(0 0 0 / var(--center-dim))),
        linear-gradient(to top, rgb(0 0 0 / .4), transparent 55%);
}

/* ---------- YouTube slide ---------- */
/* Thumbnail and play button first; the player is only loaded when you press play.
   The video keeps the same black margin as the fit mode and is never zoomed or panned. */
.slide-video { background: #000; cursor: default; }
.video-frame {
    position: absolute;
    inset: var(--fit-margin-y) var(--fit-margin-x);
    z-index: 1;
    container-type: size;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-box {
    position: relative;
    width: min(100cqw, calc(100cqh * var(--ar-w, 16) / var(--ar-h, 9)));   /* biggest box that fits, 16:9 unless the slide says otherwise */
    aspect-ratio: var(--ar-w, 16) / var(--ar-h, 9);
    background: #000;
}
.video-box iframe,
.video-box video,
.yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-thumb { object-fit: cover; }
.video-box video { background: #000; object-fit: contain; }
.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(52px, 9cqw, 96px);
    aspect-ratio: 1;
    padding: 0;
    transform: translate(-50%, -50%);
    border: 3px solid rgb(255 255 255 / var(--caption-opacity));
    border-radius: 50%;
    background: transparent;
    color: rgb(255 255 255 / var(--caption-opacity));
    box-shadow: 0 0 3px rgb(0 0 0 / var(--shadow-opacity)), inset 0 0 3px rgb(0 0 0 / var(--shadow-opacity));
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.yt-play svg {
    width: 55%;
    height: 55%;
    margin-left: 6%;                    /* a play triangle looks centred when nudged right */
    fill: currentColor;
    filter: drop-shadow(0 0 3px rgb(0 0 0 / var(--shadow-opacity)));
}
.yt-play:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.video-box.is-playing .yt-thumb,
.video-box.is-playing .yt-play { display: none; }

/* ---------- Fallback page (404 etc.) ---------- */
/* Own class name: WordPress itself puts a "page" class on the <body> of every page, which these rules must not match */
body.is-page { background: #000; color: #ddd; }
.jg-page { max-width: 880px; margin: 0 auto; padding: 0 20px 80px; }
.jg-page h1 {
    margin-bottom: 24px;
    color: #fff;
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(2rem, 7vw, 4rem);
    line-height: .95;
    text-transform: uppercase;
}
.jg-page .entry { font-size: 1.1rem; line-height: 1.6; }
.jg-page a { color: #fff; }
.copyright { max-width: 880px; margin: 0 auto; padding: 0 20px 40px; font-size: .75rem; opacity: .5; color: #ddd; }
