@charset "UTF-8";

/* Layout for detail pages */
.layout {
    padding: 120px 0;
}

.layout__container {
    margin: 0 auto;
    padding: 0 10px;
}

.layout__container--lg {
    max-width: 1280px;
}

.layout__flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-flow: column nowrap;
    gap: 15px;
}

.layout__flex--col-1 {
    flex-basis: 80%;
}

.layout__flex--col-2 {
    flex-basis: 20%;
}

.section {
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
    padding: 20px 10px;
}

/* Sticky Social Buttons Container */
.sticky-social-buttons {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Individual Button Styles */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* Hover Effect - Expand to show text */
.social-btn:hover {
    width: 140px;
    border-radius: 25px;
    padding: 0 15px;
}

/* Icon styling */
.social-btn svg {
    min-width: 24px;
    min-height: 24px;
}

/* Hidden text - shows on hover */
.social-btn span {
    display: none;
    margin-left: 10px;
    color: white;
    font-weight: 500;
    white-space: nowrap;
}

.social-btn:hover span {
    display: block;
}

/* WhatsApp Colors */
.social-btn.whatsapp {
    background-color: #25D366;
    color: white;
}

.social-btn.whatsapp:hover {
    background-color: #128C7E;
}

/* LINE Colors */
.social-btn.line {
    background-color: #00B900;
    color: white;
}

.social-btn.line:hover {
    background-color: #009900;
}

/* Pager styling */
.c-pager {
    letter-spacing: -0.5em;
    text-align: right;
    border-radius: 0 0 10px 10px;
    background: white;
    padding: 0px 0px 30px 0px;
    padding-right: 40px;
}

.c-pager__item {
  display: inline-block;
  letter-spacing: 0;
  vertical-align: top; 
  text-align: center;
}

.c-pager__item a {
  padding: 5px 15px;
  margin: 0 1px;
}

.c-pager__item:not(:first-child) {
  margin-left: 5px; 
}

.c-pager__link {
    display: block;
    border: 0px solid #ddd;
    background-color: none;
    color: #175dcc;
    transition: .4s border, .4s background-color, .4s color; 
}

.c-pager__link.is-current {
    border: 0px solid #ddd;
    background-color: #C8242C;
    color: #fff; 
}

.c-pager__link.is-current:hover {
    color: #fff; 
}

.c-pager__link:hover {
    background-color: #FF0B55;
    color: #fff;
}

/* Aside category and archive */
.category {
  padding: 0 !important;
  margin-bottom: 15px;
}

.category__title {
  padding: 15px 0;
  text-align: center;
  background: #C8242C;
  color: #fff;
}

.category ul {
  padding: 10px 20px;
}

.category__icon {
  padding-right: 10px;
  color: #C8242C;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .sticky-social-buttons {
        right: 10px;
        bottom: 60px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
    }
    
    /* Don't expand on mobile */
    .social-btn:hover {
        width: 45px;
        border-radius: 50%;
    }
    
    .social-btn:hover span {
        display: none;
    }

    /* Pager responsive */
    .c-pager {
        padding-right: 15px;
    }

    .content-details-wrapper{
        padding: 1rem;
    }

    .p-top__hero {
        border-radius:0 0 150% 150% / 0 0 10% 10%;  
    }

    .p-top__hero__description {
        font-size: 22px;
    }
}

@media only screen and (min-width: 768px) {
    /* Layout for detail pages */
    .layout {
        padding: 170px 0 50px;
    }

    .layout__flex {
        flex-flow: row nowrap;
    }

    .section {
        background: #fff;
        padding: 40px;
    }
}