article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}

article a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
}

/* basic article elements styling */
article h2 {
    margin: 0 0 18px 0;
    font-family: 'Kanit', sans-serif;
    font-size: 1.9rem;
    letter-spacing: 0.06em;
    color: var(--title-color);
    transition: color 0.3s ease-out;
}

figure {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

article img {
    max-width: 100%;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
}

.article-body {
    padding: 24px;
}

article a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #28666e;
}

article a:focus {
    outline: 1px dotted #28666e;
}

article a .icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-left: 5px;
    transform: translateX(var(--link-icon-translate));
    opacity: var(--link-icon-opacity);
    transition: all 0.3s;
}

/* using the has() relational pseudo selector to update our custom properties */
article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: #28666e;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}


/************************ 
  Generic layout (demo looks)
  **************************/

*,
*::before,
*::after {
    box-sizing: border-box;
}

.articles {
    display: grid;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

@media screen and (max-width: 960px) {
    article {
        container: card/inline-size;
    }

    .article-body p {
        display: none;
    }
}

@container card (min-width: 380px) {
    .article-wrapper {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 16px;
    }

    .article-body {
        padding-left: 0;
    }

    figure {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    figure img {
        height: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.card {
    border: 0px solid;
    position: relative;
    background-size: cover;
}

.card img {
    width: 100%;
}

.search-box {
    position: absolute;
    display: inline-block;
    bottom: 42%;
    left: 30%;
    right: 30%;
    padding: 15px;
    text-align: center;
}

.drop-shadow {
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, .5);
    box-shadow: 0 0 10px 1px rgb(211, 211, 211, 0.8);
    border-radius: 0px;
}

.container2-fluid {
    width: auto
}

.container2-fluid.drop-shadow {
    margin-top: 2%;
    margin-left: 5%;
    margin-right: 5%
}

.img-fluid {
    height: auto;
}

#child {
    width: 100%;
    height: 20px;
    margin: auto;
    text-align: center;
    margin-top: 40px;
}

.form-group {
    width: 100%;
    margin-bottom: 10px;
}

.btn-checkin {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    color: #fff;
    border-color: #EC008c;
    text-transform: uppercase;
    background-color: #EC008c;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    padding: 0.375rem .75rem;
    font-size: 13px;
    border-radius: .25rem;
}

.icon-addon {
    position: relative;
}

.icon-addon label {
    position: absolute;
    left: 2px;
    top: 2px;
    padding: 8px;
    font-size: 20px;
}

.icon-addon input {
    height: 40px;
    padding-left: 35px;
}

.shareLink .permalink {
    position: relative;
    border-radius: 30px;
}

.shareArticle {
    display: flex;
    flex-flow: column;
    align-items: center;
    width: 100%;
    padding: 15px;
}

.shareLink .permalink .textLink {
    text-align: center;
    padding: 12px 60px 12px 30px;
    height: 45px;
    width: 450px;
    font-size: 16px;
    letter-spacing: 0.3px;
    color: #494949;
    border-radius: 25px;
    border: 1px solid #f2f2f2;
    background-color: #f2f2f2;
    outline: 0;
    appearance: none;
    transition: all 0.3s ease;
}
@media (max-width: 767px) {
    .shareLink .permalink .textLink {
        width: 100%;
   }
}
.shareLink .permalink .textLink:focus {
    border-color: #d8d8d8;
}
.shareLink .permalink .textLink::selection {
    color: #fff;
    background-color: #ff0a4b;
}
.shareLink .permalink .copyLink {
    position: absolute;
    top: 50%;
    right: 25px;
    cursor: pointer;
    transform: translateY(-50%);
}
.shareLink .permalink .copyLink:hover:after {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
}
.shareLink .permalink .copyLink:after {
    content: attr(tooltip);
    width: 140px;
    bottom: -40px;
    left: 50%;
    padding: 5px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    background-color: #000;
    color: #fff;
    transform: translateY(-10px) translateX(-50%);
    transition: all 300ms ease;
    text-align: center;
}
.shareLink .permalink .copyLink i {
    font-size: 20px;
    color: #ff0a4b;
}
.shareTextSize {
    font-size: 30px;
}

.contentPage {
    width: 210mm;
    padding: 10mm;
    margin: auto;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

img {
    max-width: 100%;
    height: auto;
}
