/*
 Theme Name:   FilmySpot
 Theme URI:    https://wpora.com/filmyspot-movie-downloading-wordpress-template-generatepress/
 Description:  FilmySpot is a premium movie downloading theme designed by WP OneStop. It includes powerful features like movie metadata fields, actor and genre tagging, movie screenshots, and multiple download links. A bonus custom plugin is also provided to help admins easily cast and manage all movie content.
 Author:       WPora
 Author URI:   https://wpora.com
 Template:     generatepress
 Version:      1.0.2
*/


:root{
    --fs-font-heading: 'Oswald', 'Inter', sans-serif;
    --fs-font-body: 'Inter', sans-serif; 
    --fs-border-radius-small: 4px;
    --fs-transition-fast: all 0.2s ease-out;
}

.filmyspot-post-h2{
	  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Wrapper for the entire download links block generated by the shortcode */
.fs-shortcode-download-links-wrapper {
    margin-top: 35px;
    margin-bottom: 30px;
}

/* Optional: Title for the download section if you add one (same as before) */
.fs-shortcode-download-links-wrapper .fs-section-title-downloads {
    font-family: var(--fs-font-heading, sans-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--contrast); 
    margin: 0 0 25px 0; 
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent); 
    display: inline-block;
}

/* The UL element containing all download items */
ul.fs-download-list-shortcode {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px; 
}

/* Each individual download link item (LI) */
li.fs-download-item-shortcode {
    background-color: var(--base-2);
    padding: 18px 20px;
    border-radius: var(--fs-border-radius-small, 4px);
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: space-between; 
    border: 1px solid var(--base-3);  
    transition: background-color var(--fs-transition-fast, 0.2s ease-out),
                box-shadow var(--fs-transition-fast, 0.2s ease-out);
}

li.fs-download-item-shortcode:hover {
    background-color: var(--base-2); 
    box-shadow: 0 3px 8px rgba(0,0,0,0.15); 
}

/* Heading for the download link name */
h4.fs-download-name-shortcode {
	width: 75%;
    font-family: var(--fs-font-body, sans-serif); /* Inter */
    font-size: 0.95rem; 
    font-weight: 500; 
    color: var(--contrast-2); 
    margin: 0 25px 0 0; 
    line-height: 1.4;
    word-break: break-word;
    flex-grow: 1; 
}
@media (max-width: 575px){
	h4.fs-download-name-shortcode{
		width: 100%;
		text-align: center;
	}
}



/* Responsive adjustments for download items */
@media (max-width: 575px) { 
    ul.fs-download-list-shortcode {
        gap: 10px; 
    }
    li.fs-download-item-shortcode {
        flex-direction: column; 
        align-items: flex-start; 
        padding: 15px;
    }
    h4.fs-download-name-shortcode {
        margin-right: 0;
        margin-bottom: 12px;
        font-size: 0.9rem;
    }
}

.fs-shortcode-download-links-wrapper[data-noindex-content] {}

.post-title-h2 a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6em;
  max-height: calc(1.6em * 3 + 0.2em); /* Extra 0.2em to avoid clipping */
  padding-bottom: 0.2em;               /* Makes room for lower part of letters */
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 500;
}
.post-title-h2 a:hover{
	color: var(--accent)
}
.gb-element-398bd879::after {
  content: '\f144'; /* Font Awesome play-circle icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900; /* Solid icon */
  font-size: 60px;
  color: rgba(255, 255, 255, 0.95);
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-shadow: 0 0 10px #000;
}

.gb-element-398bd879:hover::after {
  opacity: 1;
}

/* search bar  */
input[type="search"]{
	width: 500px;
	color: var(--base-2);
	background-color: var(--contrast);
	border: none;
	border-radius: 8px 0 0 8px;
	
}
input[type="search"]:focus{
	background-color: var(--contrast);
	color: var(--base-2)
}

@media (max-width: 950px) { /* Small screens */
 input[type="search"]{   
	width: 450px; 
    }
}
@media (max-width: 900px) { /* Small screens */
 input[type="search"]{   
	width: 400px; 
    }
}
@media (max-width: 850px) { /* Small screens */
 input[type="search"]{   
	width: 350px; 
    }
}
@media (max-width: 780px) { /* Small screens */
 input[type="search"]{   
	width: 300px; 
    }
}
@media (max-width: 426px) { /* Small screens */
 input[type="search"]{   
	width: 270px; 
    }
}
@media (max-width: 376px) { /* Small screens */
 input[type="search"]{   
	width: 230px; 
    }
}
@media (max-width: 350px) { /* Small screens */
 input[type="search"]{   
	width: 200px; 
    }
}

@media (max-width: 738px) {
    .gb-element-bbf498c1 {
        flex-wrap: wrap;
        justify-content: center!important;
    }
}
.wp-block-search__button{
    margin: 0px!important;
    border-radius: 0px 8px 8px 0;
    font-size: 15px;
    font-weight: bold;	
}

/* comment section */
input[type="submit"]{
	border-radius: 8px;
}
.comment-form #url{
	display: none!important;
}
#email,
#comment,
#author {
  border-radius: 8px;
	border: 1px solid var(--accent);
}
