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) {
        .x-row-wrapper {
            margin-bottom: 0 !important;
        }
        .x-card-outer {
            flex: 1 1 100% !important;
            padding: 10px 15px !important;
            margin-bottom: 30px !important;
        }
        .x-card {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }
        .x-card-content {
            align-items: center !important;
        }
        .x-card-icon {
            margin-right: 0 !important;
            margin-bottom: 15px !important;
        }
        .btn-follow-x {
            align-self: center !important;
            margin-top: 10px !important;
        }
    }

/* CSS for the X (Twitter) landing page */
    .x-landing-bg {
        /* A subtle light grey/off-white background */
        background-color: #f2f2f2;
        /* Using a slight paper texture fallback */
        background-image: url('https://www.transparenttextures.com/patterns/rice-paper-2.png');
        padding-top: 50px;
        padding-bottom: 120px;
        font-family: 'Noto Sans Thai', sans-serif;
        position: relative;
        overflow: hidden;
        float: left;
        width: 100%;
        clear: both;
        color: #000;
    }

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

    .x-hero-banner {
        text-align: center;
        padding: 50px 0 20px 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .x-hero-banner h1 {
        font-size: 80px;
        font-weight: 900;
        margin: 0;
        line-height: 1.1;
        color: #8c8c8c; /* Grey text */
    }

    .x-hero-banner h1 span.quotes {
        color: #000;
        font-size: 70px;
        vertical-align: top;
        font-family: Arial, sans-serif;
    }

    .x-logo-text {
        color: #000; /* X logo is black usually */
        font-family: 'Arial', sans-serif;
    }

    .x-hero-arrow {
        color: #000;
        font-size: 60px;
        margin-top: 20px;
        margin-bottom: 60px;
        display: inline-block;
        font-weight: 300;
        transform: scale(1.5, 1);
        text-align: center;
        width: 100%;
    }

    /* Subtitle and Description */
    .x-list-title {
        text-align: center;
        color: #000;
        margin-top: 0;
        margin-bottom: 15px;
        font-weight: bold;
        font-size: 32px;
    }
    .x-list-desc {
        text-align: center;
        color: #555;
        font-size: 16px;
        margin-bottom: 80px;
        font-weight: bold;
    }

    /* List Item Styles */
    .x-cards-container {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
    }

    .x-row-wrapper {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin-bottom: 40px;
    }
    .x-card-outer {
        flex: 1 1 50%;
        min-width: 300px;
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .x-card {
        display: flex;
        align-items: flex-start;
        text-align: left;
        color: #000;
        transition: transform 0.3s ease;
    }
    .x-card:hover {
        transform: scale(1.03);
    }

    .x-card-icon {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background-color: #eee;
        margin-right: 25px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        overflow: hidden;
        flex-shrink: 0;
    }
    .x-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .x-card-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100px; /* Align nicely with the image */
    }

    .x-card-title {
        font-size: 18px;
        font-weight: bold;
        margin: 0 0 10px 0;
        color: #000;
    }
    .x-card-desc {
        font-size: 13px;
        line-height: 1.4;
        color: #444;
        margin-bottom: 15px;
    }
    .btn-follow-x {
        border: 1px solid #000;
        color: #000;
        border-radius: 20px;
        padding: 5px 30px;
        background: transparent;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: bold;
        transition: all 0.3s ease;
        display: inline-block;
        text-decoration: none;
        align-self: flex-start;
    }
    .btn-follow-x:hover {
        background: #e0e0e0;
        border-color: #000;
        color: #000;
        text-decoration: none;
    }

    @media (max-width: 767px) {
        .x-card-outer {
            flex: 1 1 100%;
        }
        .x-hero-banner h1 {
            font-size: 45px;
        }
        .x-hero-banner h1 span.quotes {
            font-size: 40px;
        }
    }

    /* Mobile Responsive Fixes */
    @media (max-width: 767px) {
        .x-row-wrapper {
            margin-bottom: 0 !important;
        }
        .x-card-outer {
            flex: 1 1 100% !important;
            padding: 10px 15px !important;
            margin-bottom: 30px !important;
        }
        .x-card {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }
        .x-card-content {
            align-items: center !important;
        }
        .x-card-icon {
            margin-right: 0 !important;
            margin-bottom: 15px !important;
        }
        .btn-follow-x {
            align-self: center !important;
            margin-top: 10px !important;
        }
    }
