/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

li.cat-item a {
    color: #1a73e8;
    background: #fff;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 5px;
    border: 1px solid #dadce0;
    flex: auto;
}

li.cat-item a:hover {
    background: #1a73e8;
    color: #fff;
}

li.cat-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.page-numbers {
    flex: auto;
    text-align: center;
    text-decoration: none;
    background: #fff;
    padding: 5px !important;
    border-radius: 2px;
    border: 1px solid #dadce0;
    color: #1a73e8;
}

.page-numbers:hover {
    background: #1a73e8;
    color: #fff;
}

.post-image {
    overflow: hidden;
}

.post-image img:hover {
    transform: scale(1.1);
}

.post-image img {
    transition: 0.4s;
}

header.entry-header {
    position: relative;
}

span.koko-views {
    position: absolute;
    right: 0;
    font-size: 85%;
    background: #e5e5e5;
    padding: 3px 15px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 5px;
}

span.koko-views svg {
    margin-bottom: -2px;
}

hr {
    margin-bottom: 10px;
    margin-top: 10px;
}

.post-cast {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

a.cast-link {
    color: #1a73e8;
    background: #fff;
    padding: 2px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    border: 1px solid #dadce0;
}

a.cast-link:hover {
    color: #fff;
    background: #1a73e8;
}

.tags-links-new {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}

.tags-links-new a {
    background: #fff;
    padding: 3px 11px;
    border-radius: 99px;
    color: #1a73e8;
    border: 1px solid #dadce0;
    text-decoration: none;
    flex: auto;
    text-align: center;
    font-size: 14px;
}

.tags-links-new a:hover {
    color: #fff;
    background: #1a73e8;
}

.cast-list {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

a.cast-item {
    text-decoration: none;
    background: #fff;
    color: #1a73e8;
    border: 1px solid #dadce0;
    padding: 5px 15px;
    flex: auto;
    text-align: center;
    border-radius: 5px;
}

a.cast-item:hover {
    background: #1a73e8;
    color: #fff;
}

.widget-title {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    text-transform: none;
    margin: -10px;
    margin-bottom: 10px;
    background: var(--contrast-2);
    color: var(--base);
    text-align: center;
    padding: 5px;
}

figure.wp-block-gallery figure {
    overflow: hidden;
    border-radius: 8px;
}

figure.wp-block-gallery {
    margin-bottom: 20px;
}

.wp-block-gallery img {
    border-radius: 8px;
    margin: 0;
    transition: 0.4s ease;
}

.wp-block-gallery img:hover {
    transform: scale(1.2);
    rotate: -7deg;
}

figcaption.wp-element-caption {
    margin: 0;
    padding: 5px;
    text-align: center;
    background: var(--blk);
    margin-bottom: 15px;
    border-radius: 0px 0px 10px 10px;
}

.wp-block-image img {
    margin: 0;
}

.page-links {
    margin: 10px 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.post-page-numbers {
    flex: auto;
    padding: 6px 12px;
    background-color: #dadce0;
    border-radius: 5px;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.post-page-numbers:hover {
    background-color: #1a73e8;
    color: #fff;
}

.current {
    background-color: #1a73e8;
    font-weight: bold;
    color: #fff;
}

.wp-block-video {
    box-sizing: border-box;
    margin-bottom: 10px;
    position: relative;
}

.wp-block-video :where(figcaption) {
    margin: 0;
    padding: 5px;
    position: absolute;
    top: 0;
    left: 10px;
}

.artplayer-wrapper {
    aspect-ratio: 16 / 9;
    background: #dadce0;
    margin: -20px;
    margin-bottom: 15px;
    overflow: hidden;
}

@media only screen and (max-width: 600px) {
    .artplayer-wrapper {
        margin: -10px;
        margin-bottom: 15px;
    }
}

.art-video {
    background: #dadce0;
}

.description {
    text-align: center;
    padding: 0 5px;
    margin-bottom: 10px;
}

.description img {
    height: 50px;
    margin-bottom: 10px;
    background: #dadce0;
    padding: 5px;
    border-radius: 3px;
}

.fptlinks {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.fptlinks a:hover {
    background: #1a73e8;
    color: #fff;
}

.fptlinks a {
    color: #1a73e8;
    background: #fff;
    flex: auto;
    text-align: center;
    padding: 3px 10px;
    border: 1px solid #dadce0;
    text-decoration: none;
}


/* YouTube-style Related Posts Widget */

.ogp-related-posts {
    margin-bottom: 20px;
}

.ogp-related-post {
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ogp-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.ogp-thumbnail:before {
    content: "";
    display: block;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.ogp-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ogp-thumbnail img:hover {
    transform: scale(1.05);
}

.ogp-title {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    margin-top: 8px;
}

.ogp-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ogp-title a:hover {
    color: #1e73be;
}

.ogp-category {
    margin-top: 5px;
    font-size: 12px;
}

.ogp-category a {
    display: inline-block;
    padding: 2px 6px;
    background-color: var(--contrast-2);
    color: var(--base);
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ogp-category a:hover {
    background-color: #1a73e8;
    color: #fff;
}

@media (min-width: 768px) {
    /* Keep the vertical layout even on desktop */
    .ogp-related-post {
        flex-direction: column;
    }
}


/* Shared styling for taxonomies container - Updated to match GeneratePress */

.post-taxonomies {
    padding: 10px 0;
    color: #666;
    line-height: 1.5;
}

.post-model,
.post-series {
    display: inline;
    margin-right: 15px;
}

.post-model strong,
.post-series strong {
    font-weight: 500;
    color: var(--contrast-2);
    margin-right: 5px;
}

a.model-link,
a.series-link {
    display: inline-block;
    color: var(--accent);
    background: transparent;
    padding: 0;
    margin-right: 5px;
    border-radius: 0;
    font-size: inherit;
    border: none;
    transition: color 0.2s;
}

a.model-link:after,
a.series-link:after {
    content: ",";
}

a.model-link:last-of-type:after,
a.series-link:last-of-type:after {
    content: "";
}

a.model-link:hover,
a.series-link:hover {
    color: var(--contrast);
    background: transparent;
    text-decoration: underline;
}


/* Mobile adjustments for taxonomies */

@media (max-width: 768px) {
    .post-taxonomies {
        font-size: 13px;
    }
    .post-model,
    .post-series {
        display: block;
        margin-bottom: 5px;
    }
}


/* Social Sharing Styles - Updated Compact Inline Style */

.video-social-share {
    margin: 15px 0;
}

.video-social-share h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 500;
    color: #555;
    text-align: left;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    min-width: auto;
    flex: none;
    box-shadow: none;
}

.share-button svg {
    margin-right: 6px;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.whatsapp-share {
    background-color: #25d366;
}

.telegram-share {
    background-color: #0088cc;
}

.twitter-share {
    background-color: #1da1f2;
}

.copy-link {
    background-color: var(--contrast-2);
    font-family: inherit;
    font-size: 13px;
}

.more-share {
    background-color: #6a1b9a;
}

.share-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #fff;
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .share-buttons {
        gap: 6px;
    }
    .share-button {
        padding: 5px 10px;
        font-size: 12px;
    }
    /* Show text on medium screens */
    .share-text {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    /* Show only icons on small screens */
    .share-text {
        display: none;
    }
    .share-button {
        padding: 8px;
        min-width: 36px;
        border-radius: 4px;
    }
    .share-button svg {
        margin-right: 0;
        width: 16px;
        height: 16px;
    }
    .share-buttons {
        gap: 6px;
        justify-content: center;
    }
    .video-social-share {
        padding: 12px;
    }
    .video-social-share h4 {
        text-align: center;
    }
}

.generate-columns {
    position: relative;
}

.generate-columns span.gp-icon {
    fill: #fff;
    color: #fff;
}

.generate-columns span.cat-links {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0000006e;
    padding: 5px 15px;
    border-radius: 99px;
    backdrop-filter: blur(100px);
    font-size: 14px;
}

.generate-columns span.cat-links a {
    color: #fff;
    text-decoration: none;
}

.generate-columns span.cat-links a:hover {
    color: #fff;
}

footer.entry-meta {
    margin: 0;
}

.post-image-above-header .no-featured-image-padding .inside-article .post-image {
    margin-bottom: 0;
}

.entry-summary {
    display: none;
}

h2.entry-title {
    font-size: 16px;
    line-height: 1.375;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.model-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.model-item {
    flex: auto;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 5px 10px;
    text-decoration: none;
    text-align: center;
}

.model-item:hover {
    background: var(--accent);
    color: #fff;
}

header.page-header {
    padding: 10px !important;
}