/*!
Theme Name: Xenial Custom Theme
Theme URI: https://sohailahmad.com
Author: Sohail Ahmad
Author URI: https://sohailahmad.com
Description: Xenial Events tailor made WordPress Theme
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sohailahmad.com
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* 1. Give your heading a class instead of inline styles */

.tp-project-5-2-content .tp-project-5-2-meta, .tp-project-5-2-content .tp-project-5-2-title-sm
{
	text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.elementor-widget-text-editor
{
	width: 100% !important;
}
.web-stories-thumbnails .story-thumbnail {
	width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    border: 3px solid #c1c1c1 !important;
    object-fit: cover !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.2s ease-in-out !important;
    margin-right: 10px !important;
    padding: 2px !important;
}

.web-stories-thumbnails .story-thumbnail:hover {
    transform: scale(1.05) !important;
	margin-right: 10px !important;
    padding: 2px !important;
}

/* Modal styling *//* Fullscreen modal styling */
.story-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Prevent body scrolling when modal is open */
    overflow-y: hidden;
}

.story-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.story-close {
    position: absolute;
    top: 20px;
    left: 20px;  /* Default position on the left for smaller screens */
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    z-index: 10000;
}

#storyIframe {
    width: 100vw;
    height: 100vh;
    border: none;
    display: none; /* Hide the iframe by default */
}