/*
 Theme Name:   OFXPorn
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       RPN
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      1.1
*/

.nav-links {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    margin: 10px 0;
    flex-wrap: wrap;
}

.paging-navigation .nav-links>* {
    padding: 5px;
    min-width: 50px;
    flex: auto;
    text-align: center;
    color: #fff;
    background: var(--contrast-2);
    text-decoration: none;
}

.separate-containers .paging-navigation {
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
}

span.page-numbers.dots {
    display: none;
}

a.page-numbers:hover,
.page-numbers:hover {
    color: #fff;
    background: #000;
}

span.page-numbers.current {
    background: #000;
}

.pld-like-dislike-wrap {
    margin-bottom: 0px;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin-top: 10px;
}

.pld-like-dislike-wrap .pld-common-wrap {
    margin-right: 0;
    flex: auto;
    text-align: center;
}

a.pld-dislike-trigger,
a.pld-like-trigger {
    display: block;
    position: relative;
    padding: 5px;
}

.pld-count-wrap {
    margin: 0;
    width: 100%;
    display: block;
}

.pld-common-wrap {
    background: #e1dbc2;
}

.pld-common-wrap:hover {
    background: #ffffff;
}


/* Loop post-format badges centered on thumbnail only */

.blog .format-video .post-image,
.archive .format-video .post-image,
.search .format-video .post-image,
.blog .format-image .post-image,
.archive .format-image .post-image,
.search .format-image .post-image,
.blog .format-gallery .post-image,
.archive .format-gallery .post-image,
.search .format-gallery .post-image {
    position: relative;
}

.blog .format-video .post-image::before,
.archive .format-video .post-image::before,
.search .format-video .post-image::before,
.blog .format-image .post-image::before,
.archive .format-image .post-image::before,
.search .format-image .post-image::before,
.blog .format-gallery .post-image::before,
.archive .format-gallery .post-image::before,
.search .format-gallery .post-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    backdrop-filter: blur(10px);
    padding: 7px;
    border-radius: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px 35px;
    pointer-events: none;
    z-index: 2;
    background-color: #00000063;
    opacity: 1;
    transition: opacity 0.22s ease, transform 0.22s ease, backdrop-filter 0.22s ease;
}

.blog .inside-article:hover .post-image::before,
.archive .inside-article:hover .post-image::before,
.search .inside-article:hover .post-image::before,
.blog .post-image:hover::before,
.archive .post-image:hover::before,
.search .post-image:hover::before {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    backdrop-filter: blur(0);
}

.blog .format-video .post-image::before,
.archive .format-video .post-image::before,
.search .format-video .post-image::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10m-1.306-6.154l4.72-2.787c.781-.462.781-1.656 0-2.118l-4.72-2.787C9.934 7.706 9 8.29 9 9.214v5.573c0 .923.934 1.507 1.694 1.059' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.blog .format-image .post-image::before,
.archive .format-image .post-image::before,
.search .format-image .post-image::before,
.blog .format-gallery .post-image::before,
.archive .format-gallery .post-image::before,
.search .format-gallery .post-image::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M9.778 21h4.444c3.121 0 4.682 0 5.803-.735a4.4 4.4 0 0 0 1.226-1.204c.749-1.1.749-2.633.749-5.697s0-4.597-.749-5.697a4.4 4.4 0 0 0-1.226-1.204c-.72-.473-1.622-.642-3.003-.702c-.659 0-1.226-.49-1.355-1.125A2.064 2.064 0 0 0 13.634 3h-3.268c-.988 0-1.839.685-2.033 1.636c-.129.635-.696 1.125-1.355 1.125c-1.38.06-2.282.23-3.003.702A4.4 4.4 0 0 0 2.75 7.667C2 8.767 2 10.299 2 13.364s0 4.596.749 5.697c.324.476.74.885 1.226 1.204C5.096 21 6.657 21 9.778 21M12 9.273c-2.301 0-4.167 1.831-4.167 4.09S9.7 17.456 12 17.456s4.167-1.832 4.167-4.091S14.3 9.273 12 9.273m0 1.636c-1.38 0-2.5 1.099-2.5 2.455c0 1.355 1.12 2.454 2.5 2.454s2.5-1.099 2.5-2.454s-1.12-2.455-2.5-2.455m4.722-.818c0-.452.373-.818.834-.818h1.11c.46 0 .834.366.834.818a.826.826 0 0 1-.833.818h-1.111a.826.826 0 0 1-.834-.818' clip-rule='evenodd'/%3E%3C/svg%3E");
}

:root {
    --btn: #753e18;
    --border: #753e18;
}

.upload-drop:hover {
    color: #000!important;
    border-color: #000!important;
}

.upload-chip {
    background: var(--contrast-2)!important;
}

.upload-title-case-btn {
    background: var(--contrast-2)!important;
}

.upload-meta-inline strong {
    color: var(--contrast-2);
    font-weight: 600;
}

video {
    margin-bottom: 1rem;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    background: #27272b;
    outline: 0;
}

@supports (position:sticky) {
    .wp-block-video [poster] {
        object-fit: contain;
    }
}

.single-format-video figure.wp-block-gallery {
    display: flex;
    overflow-x: scroll;
    scrollbar-width: thin;
    padding-bottom: 10px;
    align-items: normal;
    flex-wrap: nowrap;
	-webkit-overflow-scrolling: touch;
    scrollbar-color: #346ff9 #90b1ff;
}

.single-format-video figure.wp-block-image {
    min-width: 170px;
}

.home .entry-meta,
.search .entry-meta,
.archive .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
}

.entry-meta {
    color: #595959;
}

.wp-singular .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.wp-singular footer.entry-meta {
    display: inline-block;
}

.wp-singular span.author.vcard {
    padding-left: 5px;
}

.entry-meta .posted-on,
.entry-meta .gp-post-views,
.entry-meta .gp-post-duration,
.entry-meta .gp-post-item-count,
.entry-meta .byline {
    display: inline-flex;
    align-items: center;
}

.entry-meta .gp-meta-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin-right: 3px;
    flex: 0 0 18px;
}

.entry-meta .gp-meta-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}


/* Wrapper */

.gp-related-posts {
    margin-top: 10px;
}


/* Masonry Layout */

.gp-related-grid {
    column-count: 3;
    column-gap: 2px;
}


/* Card */

.gp-related-item {
    break-inside: avoid;
    margin-bottom: 3px;
    background: var(--base-2);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.gp-related-item:hover {
    transform: translateY(-4px);
}


/* Image */

.gp-related-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gp-related-item a {
    text-decoration: none;
}


/* Title */

.gp-related-item h4 {
    font-size: 18px;
    padding: 10px;
    margin: 0;
    line-height: 1.2;
    color: var(--contrast);
}

@media (max-width: 768px) {
    .gp-related-grid {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .gp-related-grid {
        column-count: 1;
    }
    .gp-related-item {
        margin-bottom: 10px;
    }
}