/**
 *
 * [Table of contents]
 *
 * 00. -  -
 * 01. - Wordpress Content typography -
 * 02. - Event Timeline -
 * 03. - CTA Footer -
 * 04. - Sticky Floating Sidebar Ads -
 * 05. - Tall Image Auto Scrollable on mouse -
 * 06. - Improve Litespeed Cache Image lazy load animation -
 * 07. - Cookie banner -
 * 08. - Listing Ads -
 * 09. - Event History -
 * 10. - Colorful Text -
 * 11. - Event Tags List Page -
 * 12. - Fix button drop-down inside responsive table not visible -
 * 13. - Smooth transition between pages -
 * 14. - Pagination -
 * 15. - Organizer Card -
 * 16. - Related Events Box -
 * 17. - Lixi Tet -
 * 18. -  -
 * 19. -  -
 * 20. -  -
 */
/**
*	01. Wordpress Content typography
*/
.entry-content {
	/* max-width: 900px; */
    margin: 0 auto;
	-ms-word-wrap: break-word;
	color: #333;
	word-wrap: break-word;
	/* chong copy */
	-webkit-user-select:none;
	-khtml-user-drag:none;
	-khtml-user-select:none;
	-moz-user-select:none;
	-moz-user-select:-moz-none;
	-ms-user-select:none;
	-o-user-select:none;
	user-select:none;
	text-align: justify;
	font-size: 1.2em;
}

/*   1.1. Headings
    --------------------------------------------------------------------------  */

.entry-content h1 {
    margin-top: 1.67em;
    margin-bottom: .5em;
    font-size: 1.75em;
    line-height: 1.3;
}
.entry-content h2 {
    margin: .5em 0 0;
    font-size: 1.375em;
    line-height: 1.3;
    background-image: linear-gradient( 120deg, #9cff00 0, #9cff00 100% );
    background-repeat: no-repeat;
    background-size: 100% 0.4em;
    background-position: 0 100%;
    display: inline;
}
.entry-content h2#eventHistory-heading {
    display: inline;
}
.entry-content h1 + h2 {
    margin-top: -.5em;
}
.entry-content h3 {
    margin: 1.8em 0 .4em;
    font-size: 1.125em;
    line-height: 1.5;
}
.entry-content h2 + h3 {
    margin-top: -.4em;
    margin-bottom: .2em;
}
.entry-content h4 {
    margin: 1.8em 0 .4em;
    font-size: 1em;
    line-height: 1.5;
}
.entry-content h3 + h4 {
    margin-top: -.3em;
}
.entry-content h5 {
    margin: 1.8em 0 .4em;
    font-size: 1em;
    line-height: 1.5;
}
.entry-content h4 + h5 {
    margin-top: -.3em;
}
.entry-content h6 {
    margin: 1.8em 0 .4em;
    font-size: 1em;
    line-height: 1.5;
}
.entry-content h5 + h6 {
    margin-top: -.2em;
}

.entry-content p:has(+ h2) {
    margin-bottom: .5em;
}
/*
.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
    margin-top: 0;
    padding-top: 0;
}
*/
@media screen and (min-width: 37.5em) {

    .entry-content h1 {
        font-size: 2em;
    }
    .entry-content h2 {
        font-size: 1.5em;
    }
    .entry-content h3 {
        font-size: 1.25em;
    }
}

/*   1.2. Paragraph and Emphasis
    --------------------------------------------------------------------------  */

.entry-content p,
.entry-content pre,
.entry-content address {
    margin: 1em 0 0;
}
.entry-content p {
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    line-height: 1.5;
	font-size: 1.125em;
}
.entry-content p:first-child {
    margin-top: 0px;
}

.entry-content blockquote {
    margin: 1.5em 10px;
    font-style: italic;
    text-transform: capitalize;
    color: #888;
    border: 1px solid #27ae60;
    border-radius: 3px;
    background: rgba(1, 255, 36, 0.058823529411764705);
    border-left: 4px solid #e06666;
    padding: 10px;

}

.entry-content blockquote:before {
  position: absolute;
  top: 0em;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 3rem;
  height: 2rem;
  font: 6em/1.08em 'PT Sans', sans-serif;
  color: #666;
  text-align: center;
}

.entry-content blockquote:after {
  content: "\2013 \2003" attr(cite);
  display: block;
  font-size: 0.675em;
  color: gray;
  text-align: center;
}

.entry-content blockquote p {
  display: inline;
  font-size: 17px;
  font-style: italic;
}

.entry-content code,
.entry-content pre {
    font-family: "Andale Mono", monospace;
    font-size: 1.125em;
}
.entry-content pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.entry-content sub,
.entry-content sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
.entry-content sup {
    top: -0.5em;
}
.entry-content sub {
    bottom: -0.25em;
}
.entry-content abbr {
    cursor: help;
}
.entry-content address {
    line-height: 1.5;
}

/*   1.3. Lists
    --------------------------------------------------------------------------  */

.entry-content dl {
    line-height: 1.5;
}
.entry-content dt {
    font-weight: bold;
}
.entry-content dd {
    margin: 0 0 1em 0;
}
.entry-content ul,
.entry-content ol {
    margin: 1em 2.5em;
	color: #717171;
}
.entry-content ul,
.entry-content ol {
    padding: 0 0 0 2.5em;
}
.entry-content ul {
    list-style-type: disc;
}
.entry-content ul ul {
    margin: 0;
    list-style-type: circle;
}
.entry-content ul ul ul {
    list-style-type: square;
}
.entry-content ol {
    list-style-type: decimal;
}
.entry-content li {
    margin-top: .5em;
    font-size: 1.125em;
    line-height: 1.5;
    color: #333;
}

/*   1.4. Tables
    --------------------------------------------------------------------------  */

.entry-content table {
    margin: 0;
    padding: 0;
}
.entry-content th,
.entry-content td {
    padding: .625em 1.25em;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #ccc;
    border-bottom-color: rgba(0,0,0,.1);
    text-align: left;
}
.entry-content th {
    border-width: 2px;
}
.entry-content tr:last-child td {
    border-bottom: none;
}
.entry-content tr:nth-child(even) {
    background: #eee;
    background: rgba(0,0,0,.1);
}
@media screen and (max-width: 37.5em) {

    .entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/*   1.5. Images
    --------------------------------------------------------------------------  */

.entry-content img,
.entry-content img[class*="align"],
.entry-content img[class*="wp-image-"] {
    max-width: 50em;
	width:80%;
    height: auto;
    border: none;
}

/*   1.6. Captions
    --------------------------------------------------------------------------  */

.entry-content .wp-caption {
	background:#F0F0F0;
	border:1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}
.entry-content .wp-caption img {
    max-width: 98.5%;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0 none;
}
.entry-content .wp-caption .wp-caption-text,
.entry-content .entry-content-caption {
    margin: 0;
    padding: 0 4px 5px;
    font-size: .875em;
    line-height: 1.5;
}

/*   1.7. WordPress Galleries
    --------------------------------------------------------------------------  */

.entry-content .gallery {
    margin-bottom: 20px;
}
.entry-content .gallery:before,
.entry-content .gallery:after { content: " "; display: table; }
.entry-content .gallery:after { clear: both; }

.entry-content .gallery-item {
    float: left;
    margin: 0 4px 4px 0;
    overflow: hidden;
    position: relative;
}
.entry-content .gallery-columns-1 .gallery-item {
    max-width: 100%;
}
.entry-content .gallery-columns-2 .gallery-item {
    max-width: 48%;
    max-width: -moz-calc(50% - 4px);
    max-width: -webkit-calc(50% - 4px);
    max-width:         calc(50% - 4px);
}
.entry-content .gallery-columns-3 .gallery-item {
    max-width: 32%;
    max-width: -moz-calc(33.3% - 4px);
    max-width: -webkit-calc(33.3% - 4px);
    max-width:         calc(33.3% - 4px);
}
.entry-content .gallery-columns-4 .gallery-item {
    max-width: 23%;
    max-width: -moz-calc(25% - 4px);
    max-width: -webkit-calc(25% - 4px);
    max-width:         calc(25% - 4px);
}
.entry-content .gallery-columns-5 .gallery-item {
    max-width: 19%;
    max-width: -moz-calc(20% - 4px);
    max-width: -webkit-calc(20% - 4px);
    max-width:         calc(20% - 4px);
}
.entry-content .gallery-columns-6 .gallery-item {
    max-width: 15%;
    max-width: -moz-calc(16.7% - 4px);
    max-width: -webkit-calc(16.7% - 4px);
    max-width:         calc(16.7% - 4px);
}
.entry-content .gallery-columns-7 .gallery-item {
    max-width: 13%;
    max-width: -moz-calc(14.28% - 4px);
    max-width: -webkit-calc(14.28% - 4px);
    max-width:         calc(14.28% - 4px);
}
.entry-content .gallery-columns-8 .gallery-item {
    max-width: 11%;
    max-width: -moz-calc(12.5% - 4px);
    max-width: -webkit-calc(12.5% - 4px);
    max-width:         calc(12.5% - 4px);
}
.entry-content .gallery-columns-9 .gallery-item {
    max-width: 9%;
    max-width: -moz-calc(11.1% - 4px);
    max-width: -webkit-calc(11.1% - 4px);
    max-width:         calc(11.1% - 4px);
}
.entry-content .gallery-columns-1 .gallery-item:nth-of-type(1n),
.entry-content .gallery-columns-2 .gallery-item:nth-of-type(2n),
.entry-content .gallery-columns-3 .gallery-item:nth-of-type(3n),
.entry-content .gallery-columns-4 .gallery-item:nth-of-type(4n),
.entry-content .gallery-columns-5 .gallery-item:nth-of-type(5n),
.entry-content .gallery-columns-6 .gallery-item:nth-of-type(6n),
.entry-content .gallery-columns-7 .gallery-item:nth-of-type(7n),
.entry-content .gallery-columns-8 .gallery-item:nth-of-type(8n),
.entry-content .gallery-columns-9 .gallery-item:nth-of-type(9n) {
    margin-right: 0;
}
.entry-content .gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.entry-content .gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.entry-content .gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.entry-content .gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
    clear: left;
}
.entry-content .gallery-caption {
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    max-height: 50%;
    opacity: 0;
    padding: 6px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 100%;
}
.entry-content .gallery-caption:before {
    content: "";
    height: 100%;
    min-height: 49px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.entry-content .gallery-item:hover .gallery-caption {
    opacity: 1;
}
.entry-content .gallery-columns-7 .gallery-caption,
.entry-content .gallery-columns-8 .gallery-caption,
.entry-content .gallery-columns-9 .gallery-caption {
    display: none;
}

/*   1.8. Other Elements
    --------------------------------------------------------------------------  */
.entry-content em {
    font-style: italic;
}
.entry-content del {
    text-decoration: line-through;
}
.entry-content strong {
    font-weight: bold;
}
.entry-content b {
    font-weight: bold;
}
.entry-content i {
    font-style: italic;
}
.entry-content span {
    font-style: italic;
}
.entry-content span.highlight {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 4px;
}
.entry-content span.highlight:hover {
    background-color: #e0e0e0;
}
.entry-content hr {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    clear: both;
    height: 1px;
    margin-top: 1em;
    padding: 0;
    border: 0;
    border-top: 1px solid #ccc;
}
.entry-content iframe {
    max-width: 100%;
}
.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="vimeo"] {
    display: block;
    margin: 0 auto;
}
.entry-content #accordion {margin-top:40px;}
.entry-content .card .card-header {cursor: pointer;}
.entry-content .card .card-header h2 {color: #0074e8;}
.entry-content .card-body {padding: 15px;}

/*   1.9. Alignment
    --------------------------------------------------------------------------  */

.entry-content .alignnone {
    margin: 1em 1em 0 0;
}
.entry-content .aligncenter {
    display: block;
    margin: 1em auto;
}
.entry-content .alignright,
.entry-content .alignleft {
    display: block;
    margin: 1em auto;
}
.entry-content .aligncenter {
    display: block;
    margin: 1em auto;
}
.entry-content img.alignright,
.entry-content img.alignleft {
    display: block;
    margin: 1em auto;
	pointer-events: none;
}
.entry-content img.aligncenter{
    display: block;
    margin: 1em auto;
	pointer-events: none;
}
.entry-content .wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.entry-content .wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.entry-content .wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
@media screen and (min-width: 37.5em) {

    .entry-content .alignright {
        float: right;
        margin: 0 0 1em 1em;
    }
    .entry-content .alignleft {
        float: left;
        margin: 0 1em 1em 0;
    }
    .entry-content img.alignright {
        float: right;
        margin: 1em 0 1em 1em;
    }
    .entry-content img.alignleft {
        float: left;
        margin: 1em 1em 1em 0;
    }
}

/*   1.10. Entry Footer
    --------------------------------------------------------------------------  */
.entry-footer {
clear:both;
max-width:900px;
margin:15px auto;
-ms-word-wrap:break-word;
word-wrap:break-word;
}
.entry-footer > h2 {
font-size: 15px;
display: block;
text-decoration: none;
font-weight: bold;
letter-spacing: 1px;
line-height: 26px;
margin: 10px 5px;
}
.entry-tags span {
background:#444444 !important;
color:#fff !important;
display:inline-block;
margin-right:5px;
}
.entry-tags span,.entry-tags a:link,.entry-tags a:visited {
font-size:13px;
line-height:1.5rem;
padding:0 10px;
border-radius:2px;
background:rgba(51, 51, 51, 0.1);
display:inline-block;
margin:0 5px 8px;
color:#444444;
}
.entry-tags a:hover {
text-decoration:underline;
}

/*   1.11. Show More - Show Less button
    --------------------------------------------------------------------------  */
#showmore-event {
border: 1px solid #dddcd8;
padding: 1rem !important;
}

#showmore-event div.collapse:not(.in) {
    height: 6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;  
}

#showmore-event div.collapse.show {
    height: auto;
}

#showmore-event div.collapsing {
    min-height: 6rem !important;
}

#showmore-event a.collapsed:after  {
    content: '+ Show More';
}

#showmore-event a.moreless-btn:not(.collapsed):after {
    content: '- Show Less';
}

/**
 * 02. Event Timeline
*/

.timeline-warp{
    margin: 15px 0 0;
    padding: 20px 30px;
    border: solid 1px #ddd;
    background-color: #f5f5f5;
    -webkit-transition: all 0.7s cubic-bezier(0.11, 0.6, 0.24, 0.89);
    transition: all 0.7s cubic-bezier(0.11, 0.6, 0.24, 0.89);
}
.timeline{
    background-color:#fff;
}
.timeline-warp:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.07);
    border: solid 1px rgba(100,40,145,.97);
}
.timeline{
    padding:100px 0px;
    background-color: #ecedf0;
     /* font-family: 'Titillium Web'; */
}
.timeline-tag{
    color:#fff;
    background-color: #6164b2;
    padding:3px 8px;
    margin-right: 15px;
    width: 90px;
    /* font-family: 'Titillium Web'; */
    text-align: center;
}
.timeline-header span{
    display: inline-block;
    margin-right:25px;
}
.timeline-header{
    margin-bottom:80px;
}
.timeline-card{
    position: relative;
    margin-bottom: 0.7em;
}
.timeline-card:hover .insidebox {
    transform: scale(1.033);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.timeline-card:hover:after {
    background: #8a56d1;
    width: 25px;
}
.timeline-card:after {
    height: 2px;
    width: 22px;
    background: #ddd;
    content: '';
    position: absolute;
    top: 50%;
    left: -22px;
    transition: all 0.3s ease-in;
}
.insidebox { 
    box-shadow: 0 0px 5px rgba(0,0,0,.07);
    background: #ffffff;
    width: 100%;
    height: auto;
    display: flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -webkit-flex;
    display: -o-flex;
    -webkit-align-items: center;
    align-items: center;
    padding: 10px 20px;
    color: #6164B2;
    transition: all 0.2s ease-in;
}

.day-timeline{
    margin-bottom:50px;
    font-weight: bold;
    font-size: 20px;
    color: #6164B2;    
}

/**
*	03. CTA Footer
*/
.footer .cta {
	box-shadow: -20px -20px 0 0 rgba(52, 58, 64, 0.2);
	padding: 20px;
	padding-right: 20px;
	padding-left: 20px;
	padding-right: 20px;
	padding-left: 20px;
	top: -60px;
	position: relative;
}

.footer .cta h3, .footer .cta h4 {
    color: #fff;
    text-shadow: 1px 1px #969696;
}
/**
*	04. Sticky Floating Sidebar Ads
*/
.banner{
	position: fixed;
	width: 160px;
	height: 400px;
	bottom: 150px;
}
#banner-l{
	left: 5px;
}
#banner-r{
	right: 5px;
}

.zindex{
	z-index: 1;
}

.banner a{
	display: block;
	width: 100%;
	height: 100%;
	border:0;
	text-indent: -9999px
}

.dashicons {
    vertical-align: text-bottom;
    font-size: 1.25em;
    width: 1em;
    height: 1em;
    display: inline-block;
    transition: color .1s ease-in;
    line-height: 1.3;
     font-weight: 400;
    font-style: normal;
  }

/**
*	05. Tall Image Auto Scrollable on mouse
*/
.tall-img {
    border-radius: 5px 5px 5px 5px;
    float: left;
    height: 700px;
    margin-left: 3px;
    overflow: hidden;
    position: relative;
    max-width: 750px;
    border:5px solid #DDD;
}
.tall-img img {
    position: inherit;
    transition: top 20s ease-out 0s;
}

/**
*	06. Improve Litespeed Cache Image lazy load animation
*/
/* PART 1 - truoc chuyen canh Lazy Load */
img[data-lazyloaded]{
	opacity: 0;
}

/* PART 2 - hieu ung khi chuyen canh Lazy Load */
img.litespeed-loaded{
	-webkit-transition: opacity .3s ease-in;
	-moz-transition: opacity .3s ease-in;
	transition: opacity .3s ease-in;
	opacity: 1;
}

/**
*	07. Cookie banner
*/
#ssk-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    border-radius: 0;
    display: none;
    font-size: 18px
}

/**
*	08. Listing Ads
*/
.top-stories-wrapper {
    height: 30px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}
.top-stories-track {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
}
.top-stories-wrapper:hover .top-stories-track {
    animation-play-state: paused;
}
.story {
    display: inline-block;
    margin-right: 4rem;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/**
*	09. Event History
*/
.history {
    position: relative;
    border-left: 2px solid #7ad254;
    padding-left: 2rem;
}

.history-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -1.15rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    background-color: #7ad254;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #7ad254;
    z-index: 1;
}

.history-item h2 {
    margin: 0 0 .8em .25em;
    font-weight: 700;
    font-size: 1rem;
    color: #7ad254;
    display: flex;
    background: none;
    text-shadow: 1px 1px #d6ff97;
}

.history-item h3{
    font-weight: 700;
    font-size: 1.25rem;
}

.history-item p{
    margin: 0px;
}

@media (max-width: 576px) {
    .history {
        padding: 0 .5rem 0 1.5rem;
    }

    .history-item::before {
        width: 0.9rem;
        height: 0.9rem;
    }
}

/**
*	10. Colorful Text
*/
.colorful-text {
    background: conic-gradient(Blue 0 33%, Lime 0 55%, Violet 0 70%, OrangeRed 0 87%, Gold 0 100%);
    background-clip: text;
    background-size: 50%;
    color: transparent !important;
}

.colorful-text:hover {
    color: #6ac045 !important;
}

.text-gradient {
    background-image: linear-gradient(to right, #00F260, #f79d00, #0575E6, #64f38c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-position: -100%;
    background-size: 400%;
    animation: animateText 5s infinite alternate-reverse;
}

@keyframes animateText {
    from {
        background-position: 0;
    }

    to {
        background-position: 100%;
    }
}

/**
*	11. Event Tags List Page
*/
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    background-color: #7ad254;
    border-color: #7ad254;
}
.transition-all {
    transition: all 0.3s ease;
}

/**
*	12. Fix button drop-down inside responsive table not visible
*/
@media (max-width: 991.98px) {
    .table-card {
        overflow: visible !important;
    }
    
    .main-table .table {
        overflow: visible !important;
    }
    
    .main-table .table td {
        position: relative;
        overflow: visible !important;
    }
    
    .add-to-calendar {
        position: relative;
        z-index: 1000;
    }
    
    .add-to-calendar .dropdown-menu {
        position: absolute !important;
        z-index: 9999 !important;
        overflow: visible !important;
    }
    
    .add-to-calendar .dropdown-item {
        position: relative;
        z-index: 10000;
        background-color: #fff !important;
    }
}

/**
*	13. Smooth transition between pages
*/

/* Smooth transition between pages */
html.is-transitioning .wrapper {
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fix positioning for fixed elements during transitions */
html.is-transitioning .banner,
html.is-transitioning #ssk-cookie-banner,
html.is-transitioning [id*="booking-timer-popup"],
html.is-transitioning .position-fixed {
    position: fixed !important;
    transform: none !important;
    transition: none !important;
}

/* Ensure footer and other fixed elements maintain their position */
html.is-transitioning footer,
html.is-transitioning .footer {
    position: relative !important;
    transform: none !important;
    transition: none !important;
}

/* Prevent any transform effects on fixed positioned elements */
html.is-transitioning *[style*="position: fixed"],
html.is-transitioning *[style*="position:fixed"] {
    transform: none !important;
    transition: none !important;
}

/**
*	14. Pagination
*/
/* Prevent nav from overflowing on small screens */
nav[aria-label="Page navigation"] {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding-right: 0;
    padding-left: 0;
}
.pagination .page-link {
    color: #6ac045;
    text-shadow: 1px 1px #d6ff97;
}
.pagination .page-link:hover {
    color: #fff !important;
    text-shadow: none;
    background-color: #7ad254;
    border-color: #7ad254;
}
.pagination .page-item.active .page-link {
    background-color: #6ac045;
    border-color: #6ac045;
    color: #fff;
}

/* Responsive: smaller pagination on small screens to avoid overflow */
@media (max-width: 768px) {
    nav[aria-label="Page navigation"] .pagination {
        padding-left: 0;
        margin-bottom: 0;
    }
    nav[aria-label="Page navigation"] .pagination .page-item .page-link,
    nav[aria-label="Page navigation"] .pagination .page-item.active .page-link {
        padding: 0.6rem 1.15rem;
        font-size: 1.125rem;
    }
}
@media (max-width: 576px) {
    nav[aria-label="Page navigation"] .pagination .page-item .page-link,
    nav[aria-label="Page navigation"] .pagination .page-item.active .page-link {
        padding: 0.5rem 0.9rem;
        font-size: 1.125rem;
    }
}

/**
*	15. Organizer Card
*/
.organizer-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}
.organizer-footer {
    font-size: 1rem;
    color: #6c757d;
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/**
*	16. Related Events Box
*/
.related-box {
    border: 2px dashed #6ac045;
    position: relative;
    margin-top: 30px;
}

.related-label {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #f5f7f9;
    padding: 0 10px;
    color: #6ac045;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 1px 1px #d6ff97;
}

.related-item {
    transition: transform 0.2s;
}

.related-item .badge {
    transition: all 0.2s;
    background-color: #6ac045;
    color: #fff;
}

.related-item:hover {
    background-color: #f8f9fa;
}

.related-img {
    width: 120px !important;
    height: 70px !important;
    object-fit: cover;
    border-radius: 6px;
}

.related-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
}

.related-link:hover {
    color: #6ac045 !important;
}

/**
*	17. Lixi Tet
*/
#lixi-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.lixi {
    position: absolute;
    width: 14px;
    height: 20px;
    background: linear-gradient(180deg, #d63031, #c0392b);
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(214, 48, 49, 0.4);
    animation: lixi-fall linear infinite;
}

.lixi::after {
    content: "福";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #f1c40f;
}

@keyframes lixi-fall {
    from {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}