/*
 Theme Name:   MagisTv PC
 Theme URI:    https://magistvpc.co/
 Description:  Descubre Magis TV APK, una aplicación de streaming diseñada para que los usuarios de Android disfruten de TV, películas, eventos deportivos en directo, series populares y canales infantiles en cualquier momento y lugar.
 Author:       Jason Gray
 Author URI:   https://magistvpc.co/
 Template:     generatepress
 Version:      0.1
*/

/* Changed from blue (#9ed5ff, #77C2F7, etc.) to orange (#FF9E5A, #FFBF86, etc.) */

.wp-block-button .wp-block-button__link {
    border-radius: 99px;
    transition: 0.4s;
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 500;
    border: 0 none;
    padding: 5px 15px;
    border: none;
    margin-bottom: 20px;
    box-shadow: 0 0.2px 10px 0 #fd4e44;
}
.inside-article a:not(.wp-block-button__link)  {
    text-decoration: underline #FFBF86;
    text-underline-offset: 6px;
	font-weight:600;
}
.entry-content h2:not(.mainh2) {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(238, 238, 238, 0.1);
    overflow: hidden;
}

.entry-content h2:not(.mainh2)::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60%;
    height: 3px;
    background: linear-gradient(
        90deg, 
        #f85d7f, 
        #e100ff 36%, 
        #6b81fa 68%, 
        #a0fbcd
    );
    border-radius: 3px;
    transition: width 0.4s ease-out;
    box-shadow: 0 1px 8px rgba(240, 93, 127, 0.3);
}

.entry-content h2:not(.mainh2)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(248, 93, 127, 0.1),
        rgba(225, 0, 255, 0.1) 36%,
        rgba(107, 129, 250, 0.1) 68%,
        rgba(160, 251, 205, 0.1)
    );
    border-radius: 3px;
}

.entry-content h2:not(.mainh2):hover::before {
    width: 100%;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (max-width: 768px) {
    .entry-content h2:not(.mainh2)::before {
        width: 80%;
    }
}

.v strong {
    font-weight: 700;
    font-size: 26px;
}


/* Ordered List CSS */
.entry-content ol {
	counter-reset: li;
}
@media (min-width:220px) {
	
	.entry-content ol, ul {
		margin-left: 10px;
	}

	.entry-content ol>li:before {
		content: counter(li);
		counter-increment: li;
		position: absolute;
		top: 0;
		left: -1.2em;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		margin-right: 8px;
		display: block;
		font-size: .9rem;
		padding: 5px;
		width: 2rem;
		height: 2rem;
		line-height: 1.3;
		text-align: center;
		font-weight: 500;
		border: 1.6px solid #FF9E5A;
		background: #1F1F26;
		color: #FF9E5A;
		-webkit-border-radius: 999em;
		-moz-border-radius: 999em;
		-ms-border-radius: 999em;
		-o-border-radius: 999em;
		border-radius: 999em
	}
	.entry-content ol>li {
		position: relative;
		margin: 0 0 .5rem 1.03rem;
		padding: 4px 1.1rem .3rem 1.5rem;
		list-style: none;
		border-left: .5px solid #dfdfdf
	}
}

@media (min-width:600px) {

	.entry-content ol, ul {
		margin-left: 5px;
	}
	.entry-content ol>li:before {
		font-size: 1.1rem;
		width: 2.5rem;
		height: 2.5rem
	}
	
	.entry-content ol>li {
		position: relative;
		margin: 0 0 .5rem 1.03rem;
		padding: 4px 1.1rem .3rem 2rem;
		list-style: none;
		border-left: .5px solid #dfdfdf;
	}
}


.wp-block-image {
    margin-bottom: 10px !important;
}

.smallsep {
	margin-bottom: 5px;
  margin-top: 3px;
	display: block;
  margin-left: auto;
  margin-right: auto;
  width: 20%;
}

.bn {
    background: #1F1F26;
	  border: 2px solid #FF9E5A;
    padding: 20px;
    border-radius: 6px;
	  margin-top: 20px;
}
.bn strong {
    color: #1F1F26;
    font-size: 14px;
	  margin-right: 5px;
    font-weight: 700;
    background: #FF9E5A;
    padding: 4px 10px;
    border-radius: 4px;
}

.rec code {
    font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
    padding: .2em 0.4em;
    font-size: 85%;
    white-space: break-spaces;
    border-radius: 6px;
    background-color: #343942;
    color: #F0F6FC;
}

#toc_container {
    background: #f9f9f900 !important;
    border: 1px solid #aaa;
    padding: 0;
}
#toc_container p.toc_title {
    text-align: center;
    font-weight: 700;
    margin: 0;
    padding: 0;
}
#toc_container span.toc_toggle {
    font-weight: 600;
    background: #1A191F;
    padding: 3px 20px;
    font-size: 18px;
    text-transform: capitalize;
    text-align: center;
    display: block;
}
#toc_container p.toc_title+ul.toc_list {
    margin-top: 1em;
}
#toc_container li a {
    display: block;
    width: 100%;
    color: #FFD2A9!important;
    padding: 10px 1em;
    border-top: 1px solid #aaa;
}
#toc_container a {
    text-decoration: none;
    text-shadow: none;
}
#toc_container a:hover {
    color: #FF9E5A!important;
}


.box {
    position: relative;
    z-index: 2;
    margin-top: 2rem !important;
    padding: 1.75rem 2rem;
    border-radius: 1rem;
    background: #1F1F26;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.12),
        0 5px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    user-select: none;
    border: 1px solid rgba(255, 158, 90, 0.08);
    border-bottom: 3px solid #FF9E5A;
    backdrop-filter: blur(5px);
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.15),
        0 10px 10px rgba(0, 0, 0, 0.1);
}

.box svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    fill: #FF9E5A;
    filter: drop-shadow(0 0 8px rgba(255, 158, 90, 0.3));
    transition: transform 0.3s ease;
}

.box:hover svg {
    transform: scale(1.1);
}

.box h3 {
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #FF9E5A, #FFBF86);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.box p {
    line-height: 1.6;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .box {
        padding: 2rem 2.5rem;
    }
    
    .box svg {
        width: 72px;
        height: 72px;
    }
    
    .box h3 {
        font-size: 1.5rem;
    }
}
/* H3 styling that specifically excludes both .box h3 and .rank-math-list-item h3 */
.entry-content h3:not(.box h3):not(.rank-math-list-item h3):not(.h3err) {
    color: #FFBF86;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    padding-left: 1rem;
}

.entry-content h3:not(.box h3):not(.rank-math-list-item h3):not(.h3err)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 3px;
    background: linear-gradient(to bottom, #f85d7f, #e100ff);
    border-radius: 4px;
}

.rank-math-list-item {
    position: relative;
    border: 1px solid rgba(255, 158, 90, 0.1);
    border-bottom: 3px solid #FF9E5A;
    background-color: #1F1F26;
    border-radius: 16px;
    margin: 1.5rem auto;
    overflow: hidden;
    padding: 1.25rem 1.5rem 0.5rem;
    margin-bottom: 28px;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.08),
        0 6px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(5px);
}

.rank-math-list-item:hover {
    box-shadow: 
        0 14px 28px rgba(0, 0, 0, 0.15),
        0 10px 10px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    border-color: rgba(255, 158, 90, 0.3);
}

.rank-math-list-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top right,
        rgba(255, 158, 90, 0.08),
        transparent 70%
    );
    pointer-events: none;
}

.rank-math-list-item h3 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 16px;
    font-weight: 600 !important;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    border-bottom: none;
}

.rank-math-list-item h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        #FF9E5A,
        rgba(255, 210, 169, 0.3) 70%,
        rgba(255, 210, 169, 0.1)
    );
}

.rank-math-list-item p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rank-math-list-item a {
    color: #FF9E5A;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.rank-math-list-item a:hover {
    color: #FFD2A9;
}

.rank-math-list-item a::after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, #FF9E5A, #FFD2A9);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.rank-math-list-item a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Add a subtle animation for new items */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rank-math-list-item {
    animation: fadeIn 0.6s ease-out forwards;
}


.impbox {
    position: relative;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    background: rgba(31, 31, 38, 0.7);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

/* Base List Styles */
.impbox ul {
    position: relative;
    padding-left: 0;
    margin: 0.3rem 0;
}

.impbox ul::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 6px;
    height: calc(100% - 12px);
    width: 2px;
    background: linear-gradient(to bottom, rgba(223, 223, 223, 0.5), rgba(223, 223, 223, 0.2));
    border-radius: 1px;
    z-index: 0;
}

.impbox ul > li {
    position: relative;
    margin: 0 0 0.8rem 0;
    padding: 0 0 0 36px;
    list-style: none;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    min-height: 22px;
}

/* Red Version */
.impbox-red ul > li::before {
    content: "";
    position: absolute;
    top: 0.2em;
    left: 4px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23FF5757' stroke='%23FF5757' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(255, 87, 87, 0.3));
    transition: transform 0.2s ease;
}

/* Green Version */
.impbox-green ul > li::before {
    content: "";
    position: absolute;
    top: 0.2em;
    left: 4px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Ccircle cx='12' cy='12' r='10' fill='%234CAF50' stroke='%234CAF50' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(76, 175, 80, 0.3));
    transition: transform 0.2s ease;
}

.impbox ul > li:hover::before {
    transform: scale(1.1);
}

.impbox ul > li:last-child {
    margin-bottom: 0;
}

.impbox ul > li > * {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (min-width: 600px) {
    .impbox {
        padding: 1.25rem 1.5rem;
    }
    
    .impbox ul {
        margin-left: 12px;
    }
    
    .impbox ul::before {
        left: 13px;
    }
    
    .impbox ul > li {
        padding: 0 0 0 44px;
        min-height: 24px;
    }
    
    .impbox ul > li::before {
        left: 6px;
        width: 16px;
        height: 16px;
    }
}