html { scroll-behavior: smooth; }

    img.hd-logo {
      width: 64px;
      height: auto;
      padding-top: 6px;
    }

    img.hd-logo._mobile {
      width: 48px;
    }

    .main-nav-area .nav {
      padding-left: 16px;
    }

    .share-icon {
      background: url(https://static.ch7on.com/images/theme2018/social-icon.png) no-repeat scroll center center transparent;
      display: inline-block;
      height: 40px;
      width: 40px;
      -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      transition: all 0.3s ease;
      margin-left: 10px;
    }

    .fb {
      background-position: 0 0;
    }

    .tw {
      background-position: -55px 0 !important;
    }

    .tw:hover {
      background-position: -55px -40px !important;
    }

    .hilight-area {
      float: left;
      width: 100%;
      margin: 0;
      margin-top: 16px;
    }

    .multi-area p {
      line-height: 1em;
    }

    .social-link {
      padding: 10px 15px;
    }

    .social-link li {
      padding: 20px 10px;
    }

    .social-link p {
      padding: 0 10px;
    }

    .social-link h2,
    .application h2 {
      margin: 0 10px;
      padding: 10px 0;
    }

    .application p {
      padding: 10px;
    }

    @media (min-width: 768px) {

      .social-link,
      .social-link p,
      .social-link li {
        padding: 10px;
      }
    }

    /* Mobile Responsive Fixes */
    @media (max-width: 767px) {
        .yt-cards-container {
            flex-direction: column !important;
            gap: 0px !important;
        }
        .yt-card {
            flex: 1 1 auto !important;
            width: 100% !important;
            margin-bottom: 40px !important;
        }
    }

/* CSS for the Youtube landing page */
    .yt-landing-bg {
        background-color: #ab2a27;
        padding-top: 50px;
        padding-bottom: 120px;
        font-family: 'Noto Sans Thai', sans-serif;
        position: relative;
        overflow: hidden;
        float: left;
        width: 100%;
        clear: both;
    }

    .yt-content-wrapper {
        position: relative;
        z-index: 2;
    }

    .yt-hero-banner {
        text-align: center;
        padding: 50px 0 20px 0;
    }
    .yt-hero-banner h1 {
        font-size: 75px;
        font-weight: 900;
        margin: 0;
        line-height: 1.1;
    }
    .yt-hero-banner h1 .yt-word-sub {
        color: #61dae9; /* Cyan */
    }
    .yt-hero-banner h1 .yt-word-on {
        color: #f19c99; /* Pink */
    }
    .yt-hero-banner h1 .yt-word-yt {
        color: #fff;
        font-size: 90px;
    }
    .yt-hero-banner h1 span.quotes {
        color: #fff;
        font-size: 60px;
        vertical-align: top;
        font-family: 'Noto Sans Thai', sans-serif;
    }

    .yt-hero-arrow {
        color: rgba(255,255,255,0.6);
        font-size: 60px;
        margin-top: 20px;
        margin-bottom: 60px;
        display: inline-block;
        font-weight: bold;
    }

    /* Subtitle and Description */
    .yt-list-title {
        text-align: center;
        color: #8cebf0; /* Cyan */
        margin-top: 20px;
        margin-bottom: 15px;
        font-weight: bold;
        font-size: 32px;
    }
    .yt-list-desc {
        text-align: center;
        color: #fff;
        font-size: 16px;
        margin-bottom: 80px;
        font-weight: bold;
    }

    /* List Item Styles */
    .yt-cards-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 40px; /* Space between the two columns */
        max-width: 900px;
        margin: 0 auto;
    }
    .yt-card {
        flex: 1 1 350px;
        max-width: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
        color: #fff;
        transition: transform 0.3s ease;
    }
    .yt-card:hover {
        transform: translateY(-5px);
    }
    .yt-card-icon {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background-color: #fff;
        margin-bottom: 25px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .yt-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .yt-card-title {
        font-size: 22px;
        font-weight: bold;
        margin: 0 0 10px 0;
        color: #fff;
    }
    .yt-card-desc {
        font-size: 13px;
        line-height: 1.4;
        color: rgba(255,255,255,0.9);
        margin-bottom: 25px;
        padding: 0 10px;
    }
    .btn-follow-yt {
        border: 1px solid rgba(255,255,255,0.6);
        color: #fff;
        border-radius: 20px;
        padding: 6px 30px;
        background: transparent;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: bold;
        transition: all 0.3s ease;
        display: inline-block;
        text-decoration: none;
        margin-top: auto; /* Push button to bottom so they align */
    }
    .btn-follow-yt:hover {
        background: rgba(255,255,255,0.2);
        border-color: #fff;
        color: #fff;
        text-decoration: none;
    }

    /* Mobile Responsive Fixes */
    @media (max-width: 767px) {
        .yt-cards-container {
            flex-direction: column !important;
            align-items: center !important;
            gap: 0px !important;
        }
        .yt-hero-banner h1 {
            font-size: 38px !important;
            padding: 0 15px !important;
        }
        .yt-hero-banner h1 .yt-word-yt {
            font-size: 42px !important;
        }
        .yt-hero-banner h1 span.quotes {
            font-size: 30px !important;
        }
        .yt-list-title {
            font-size: 26px !important;
            padding: 0 15px !important;
        }
        .yt-list-desc {
            font-size: 14px !important;
            padding: 0 15px !important;
            margin-bottom: 40px !important;
        }
        .yt-card {
            flex: 1 1 auto !important;
            width: 100% !important;
            margin-bottom: 30px !important;
            padding: 10px 15px !important;
        }
        .yt-card-icon {
            width: 100px !important;
            height: 100px !important;
            margin-bottom: 15px !important;
        }
        .yt-card-title {
            font-size: 20px !important;
        }
        .btn-follow-yt {
            align-self: center !important;
            margin-top: 10px !important;
        }
    }
