/*
Theme Name: EB3 Immigration Theme
Theme URI: https://globalgroup.net.vn
Author: Global Immigration Group
Author URI: https://globalgroup.net.vn
Description: Theme cho Global Immigration Group — Định cư Mỹ, Canada, Úc
Version: 1.0.0
Text Domain: lw_theme
Tags: immigration, vietnam, eb3, green-card
*/

/*
 * Toàn bộ CSS giao diện nằm trong:
 * /frontend/css/style.css
 *
 * File này chỉ chứa các override nhỏ dành riêng cho WordPress
 * (admin bar, pagination, wp-caption, alignments...).
 */

/* ===================== WORDPRESS ADMIN BAR ===================== */
/* Khi đăng nhập, admin bar cao 32px → đẩy header xuống */
.admin-bar header.is-fixed {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar header.is-fixed {
        top: 46px;
    }
}

/* ===================== WORDPRESS ALIGNMENTS ===================== */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide  { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }

/* ===================== WP CAPTION ===================== */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-muted, #5A6A85); text-align: center; margin-top: 6px; }

/* ===================== WORDPRESS PAGINATION ===================== */
.pagination-wrap { text-align: center; margin-top: 50px; }
.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    margin: 0 3px;
    border: 1.5px solid #dde3ef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color, #304386);
    text-decoration: none;
    transition: all 0.2s ease;
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
    background: var(--primary-color, #304386);
    color: #fff;
    border-color: var(--primary-color, #304386);
}
.pagination-wrap .page-numbers.dots {
    border: none;
    background: transparent;
    color: var(--text-muted, #5A6A85);
}

/* ===================== SEARCH FORM ===================== */
.search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}
.search-form input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #dde3ef;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    outline: none;
}
.search-form input[type="search"]:focus {
    border-color: var(--primary-color, #304386);
}
.search-form button[type="submit"] {
    padding: 12px 24px;
    background: var(--primary-color, #304386);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s ease;
}
.search-form button[type="submit"]:hover {
    background: var(--red-color, #B5232D);
}

/* ===================== ARTICLE TAGS (WordPress) ===================== */
.article-tags { margin-top: 30px; }
.article-tags a {
    display: inline-block;
    margin: 4px;
    padding: 4px 14px;
    background: var(--bg-alt, #E8EDF5);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-muted, #5A6A85);
    text-decoration: none;
    transition: all 0.2s ease;
}
.article-tags a:hover {
    background: var(--primary-color, #304386);
    color: #fff;
}
