.home-intro h1 span {
    display: block;
    margin-top: 0.22em;
    font-size: 0.58em;
    font-weight: 600;
    line-height: 1.35;
}
.signs-search-section {
    margin-top: 32px;
    margin-bottom: 0;
}
.popular-signs {
    text-align: center;
    margin-bottom: 24px;
    font-size: 0.9em;
    color: #000;
    padding: 0 10px;
    margin-top: 0;
}
.popular-label {
    font-weight: 700;
    color: #000;
    margin-left: 0;
}
.popular-sign-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    margin: 0;
}
.popular-sign-link:hover {
    color: #0056b3;
    text-decoration: underline;
}
#signs-search-results {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 16px #0002;
    z-index: 10;
    max-height: 340px;
    overflow-y: auto;
    display: none;
}
.sign-search-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.15s;
    text-align: right;
}
.sign-search-item:last-child { border-bottom: none; }
.sign-search-item:hover { background: #f5f5f5; }
.sign-search-info {
    flex: 1;
    min-width: 0;
}
.sign-search-title {
    font-weight: 600;
    color: #222;
    font-size: 1.08em;
    margin-bottom: 0;
}
.sign-search-desc {
    color: #333;
    font-size: 0.98em;
    margin-top: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 20px);
}
.sign-search-cat {
    color: #666;
    font-size: 0.82em;
    margin-top: 0px;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
    min-height: 200px;
    cursor: pointer;
    justify-content: flex-start;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}
.cat-sign-img, .cat-sign-placeholder {
    margin-bottom: 0;
    background: #fff;
    filter: drop-shadow(0px 0px 0px #fff);
    border-radius: 0;
}
.cat-info-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
    padding-top: 12px;
}
.cat-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #000;
    margin-bottom: 0;
}
.cat-series-number {
    font-size: 0.95em;
    color: #1f1ed9;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 0.01em;
}
.categories-main-title {
    letter-spacing: 0.01em;
    font-size: 1.5em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
    margin-top: 32px;
    background: #c12a1a;
    padding: 5px 8px 7px;
    border-radius: 0;
    text-align: center;
}
.most-viewed-section {
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 0;
}
.most-viewed-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
    margin-top: 0;
    background: #c12a1a;
    padding: 5px 8px 7px;
    border-radius: 0;
    text-align: center;
}
.most-viewed-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
.most-viewed-sign-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    border: 1.2px solid #e0e0e0;
    box-shadow: 0 2px 8px #0001;
    padding: 18px 6px 12px;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.14s;
    min-height: 120px;
    height: 130px;
    position: relative;
    overflow: hidden;
}
.most-viewed-sign-link:hover {
    box-shadow: 0 8px 32px #007bff22;
    transform: translateY(-4px) scale(1.03);
    border-color: #1f1ed9;
    z-index: 2;
}
.most-viewed-sign-img {
    width: auto;
    height: auto;
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 2px 8px #007bff11);
    border-radius: 0;
    background: none;
}
.most-viewed-sign-num {
    font-size: 1.08em;
    font-weight: 600;
    color: #000;
    margin-top: auto;
    margin-bottom: 0;
    min-height: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.no-most-viewed {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    padding: 20px 0;
}
.rounded-signs-section {
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 0;
}
.rounded-signs-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
    margin-top: 0;
    background: #c12a1a;
    padding: 5px 8px 7px;
    border-radius: 0;
    text-align: center;
}
.rounded-signs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 5 signs + 1 button */
    gap: 12px;
}
.rounded-sign-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    border: 1.2px solid #e0e0e0;
    box-shadow: 0 2px 8px #0001;
    padding: 18px 6px 12px;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.14s;
    min-height: 120px;
    height: 130px;
    position: relative;
    overflow: hidden;
}
.rounded-sign-link:hover {
    box-shadow: 0 8px 32px #007bff22;
    transform: translateY(-4px) scale(1.03);
    border-color: #1f1ed9;
    z-index: 2;
}
.rounded-sign-img {
    width: auto;
    height: auto;
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 2px 8px #007bff11);
    border-radius: 0;
    background: none;
}
.rounded-sign-num {
    font-size: 1.08em;
    font-weight: 600;
    color: #000;
    margin-top: auto;
    margin-bottom: 0;
    min-height: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.rounded-sign-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1f1ed9;
    color: #fff;
    border-radius: 14px;
    border: 1.2px solid #1f1ed9;
    box-shadow: 0 2px 8px #0001;
    padding: 18px 6px 12px;
    text-decoration: none;
    transition: all 0.18s;
    cursor: pointer;
    min-height: 120px;
    height: 130px;
}
.rounded-sign-button:hover {
    background: #1a19d9;
    box-shadow: 0 8px 32px #1f1ed922;
    transform: translateY(-4px) scale(1.03);
    border-color: #1a19d9;
    z-index: 2;
}
.rounded-sign-button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.rounded-sign-button-text {
    font-size: 1.08em;
    font-weight: 600;
    color: #fff;
    text-align: center;
}
.triangular-signs-section {
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 0;
}
.triangular-signs-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
    margin-top: 0;
    background: #c12a1a;
    padding: 5px 8px 7px;
    border-radius: 0;
    text-align: center;
}
.triangular-signs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 5 signs + 1 button */
    gap: 12px;
}
.triangular-sign-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    border: 1.2px solid #e0e0e0;
    box-shadow: 0 2px 8px #0001;
    padding: 18px 6px 12px;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.14s;
    min-height: 120px;
    height: 130px;
    position: relative;
    overflow: hidden;
}
.triangular-sign-link:hover {
    box-shadow: 0 8px 32px #007bff22;
    transform: translateY(-4px) scale(1.03);
    border-color: #1f1ed9;
    z-index: 2;
}
.triangular-sign-img {
    width: auto;
    height: auto;
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 2px 8px #007bff11);
    border-radius: 0;
    background: none;
}
.triangular-sign-num {
    font-size: 1.08em;
    font-weight: 600;
    color: #000;
    margin-top: auto;
    margin-bottom: 0;
    min-height: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.triangular-sign-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1f1ed9;
    color: #fff;
    border-radius: 14px;
    border: 1.2px solid #1f1ed9;
    box-shadow: 0 2px 8px #0001;
    padding: 18px 6px 12px;
    text-decoration: none;
    transition: all 0.18s;
    cursor: pointer;
    min-height: 120px;
    height: 130px;
}
.triangular-sign-button:hover {
    background: #1a19d9;
    box-shadow: 0 8px 32px #1f1ed922;
    transform: translateY(-4px) scale(1.03);
    border-color: #1a19d9;
    z-index: 2;
}
.triangular-sign-button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.triangular-sign-button-text {
    font-size: 1.08em;
    font-weight: 600;
    color: #fff;
    text-align: center;
}
@media (max-width: 1300px) {
    .most-viewed-grid { 
        grid-template-columns: repeat(4, 1fr); 
    }
    .rounded-signs-grid { 
        grid-template-columns: repeat(4, 1fr); 
    }
    .triangular-signs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 900px) {
    .categories-grid { 
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .category-card {
        min-height: 160px;
    }
    
    .most-viewed-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
    .rounded-signs-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
    .triangular-signs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .most-viewed-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .most-viewed-sign-img { 
        max-width: 80px; 
        max-height: 80px; 
    }
    .most-viewed-sign-link { 
        height: 120px; 
        min-height: 120px; 
    }
    
    .rounded-signs-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .rounded-sign-img { 
        max-width: 80px; 
        max-height: 80px; 
    }
    .rounded-sign-link { 
        height: 120px; 
        min-height: 120px; 
    }
    .triangular-signs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .triangular-sign-img {
        max-width: 80px;
        max-height: 80px;
    }
    .triangular-sign-link {
        height: 120px;
        min-height: 120px;
    }
}
@media (max-width: 600px) {
    .categories-grid { 
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-card {
        min-height: 120px;
        padding: 15px 10px;
    }
    
    .cat-sign-img {
        max-width: 120px;
        max-height: 120px;
    }
    
    .cat-sign-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .rounded-signs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rounded-sign-link {
        min-height: 100px;
        height: 110px;
    }
    .rounded-sign-img {
        max-width: 70px;
        max-height: 70px;
    }
    .rounded-sign-num {
        font-size: 0.9em;
    }
    .rounded-sign-button {
        padding: 10px 15px;
        min-height: 100px;
        height: auto;
    }
    .rounded-sign-button-text {
        font-size: 0.9em;
    }
    .triangular-signs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .triangular-sign-link {
        min-height: 100px;
        height: 110px;
    }
    .triangular-sign-img {
        max-width: 70px;
        max-height: 70px;
    }
    .triangular-sign-num {
        font-size: 0.9em;
    }
    .triangular-sign-button {
        padding: 10px 15px;
        min-height: 100px;
        height: auto;
    }
    .triangular-sign-button-text {
        font-size: 0.9em;
    }
}

/* Content Articles Section */
.content-articles-section {
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 0;
}

.content-articles-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
    margin-top: 0;
    background: #c12a1a;
    padding: 5px 8px 7px;
    border-radius: 0;
    text-align: center;
}

.content-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.content-article-link {
    background: white;
    border-radius: 14px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px;
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
    min-height: 160px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
}

.content-article-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #1f1ed9;
    text-decoration: none;
    color: inherit;
}

.content-article-image {
    position: relative;
    height: 120px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.content-article-img {
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    transition: transform 0.3s;
}

.content-article-link:hover .content-article-img {
    transform: scale(1.05);
}

.content-article-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
    text-align: center;
}

.content-article-placeholder i {
    margin-bottom: 5px;
    color: #dee2e6;
    font-size: 1.2em;
}

.content-article-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    flex: 1;
}

.content-article-title {
    font-size: 1.08em;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.content-article-intro {
    color: #666;
    margin: 0;
    line-height: 1.4;
    font-size: 0.85em;
    text-align: center;
}

.content-article-read-more {
    background: #1f1ed9;
    color: white;
    width: 100%;
    padding: 8px 0px;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 600;
    margin-top: auto;
    transition: background-color 0.3s;
}

.content-article-link:hover .content-article-read-more {
    background: #0056b3;
}



/* Content Articles Responsive Design */
@media (max-width: 1300px) {
    .content-articles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .content-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .content-article-link {
        min-height: 150px;
    }
}

@media (max-width: 700px) {
    .content-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-article-image {
        height: 100px;
    }
    
    .content-article-img {
        max-width: 100px;
        max-height: 100px;
    }
    
    .content-article-link {
        min-height: 140px;
    }
}

@media (max-width: 600px) {
    .content-articles-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .content-article-link {
        min-height: 140px;
        padding: 15px 10px;
    }
    
    .content-article-image {
        height: 100px;
    }
    
    .content-article-img {
        max-width: 100px;
        max-height: 100px;
    }
    
    .content-article-title {
        font-size: 1em;
        margin: 0 0 10px 0;
    }
    
    .content-article-intro {
        font-size: 0.85em;
    }
}
