/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://lookintopalestine.com
Template: twentytwentyfive
Author: Look into Palestine team
Author URI: https://lookintopalestine.com
Description: Child theme.
Version: 1.0.1732830253
Updated: 2024-11-28 21:44:13
*/

.lip-hide-header-link { display: none; }

.text-shadow-class {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.lip-peertube-embed {
      aspect-ratio: 9/16; 
      width: 100%; 
      height: 100%;
      max-width: 325px;
      display: flex;
      justify-content: center;
}

/* TikTok Embed Styles */
.iframe-container {
    height: auto; /* Ensure the container has a height */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.tiktok-embed-portrait {
    width: 325px; /* Match the iframe width */
}

/* TikTok Embed Styles - Mobile Optimization */
@media only screen and (max-width: 768px) {
    .iframe-container {
		height: auto
        margin-top: 4vh; /* Adjust for mobile devices */
		margin-bottom: 3vh;
    }
}

/* TikTok Dynamic Video Title */
.video-title-container {
    background-color: transparent;
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    padding-left: 0%;
    max-width: 85%; /* Adjust to your preferred width */
    margin: 0 auto;
}

/* TikTok Dynamic Video Title - Styling */
.video-title {
	font-family:'Open Sans', sans-serif;
	font-size: 20px; /* Set a specific size instead of relying on theme presets */
    font-weight: 700; /* Explicitly set weight for bold text */
    color: #111; /* Set color explicitly */
    line-height: 1.2; /* Optional: Adjust line height if needed */
}

/* TikTok Dynamic Description */
.tiktok-video-description-container{
    background-color:#f1f1f1;
    font-family:'Open Sans', sans-serif;
    padding:8px 16px 16px 16px;
    margin-bottom:10px;
    border-radius:8px;

    /* ————— Option A changes ————— */
    margin-left:7.4vw;          /* keep the side gutters         */
    margin-right:7.4vw;

    /* shrink the element itself so text + background end together */
    **max-width:calc(100% - 14.8vw);**

    /* makes the calc include the padding above */
    **box-sizing:border-box;**
}

.tiktok-video-description {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    max-height: 100px;
	width: 100%;
	max-width: auto-flow;
    overflow: hidden;
	overflow-wrap: break-word;
    transition: max-height 0.5s ease-in-out;
    margin: 0;
}

/* This gets toggled on click */
.tiktok-video-description.expanded {
    max-height: 1000px;
}

.show-more {
    all: unset;
    display: inline-block;
    color: #065fd4;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    margin-top: 8px;
    padding: 4px 0;
    line-height: 1.4;
    background: transparent;
    white-space: nowrap;
}
/*