/* =========================
   HOME PAGE – Widget sahaja
   ========================= */
body.home .wk-item {
    background: #ffffff;
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transition: 0.25s ease;
}

body.home .wk-item:hover {
    transform: translateY(-4px);
}

body.home .wk-title {
    font-size: 18px;
    font-weight: 700;
    color: #0E68B2;
}

body.home .wk-title a {
    color: #0E68B2;
    text-decoration: none;
}

/* =========================
   FORCE LEFT – homepage content
   ========================= */
body.home .com-content-category,
body.home .com-content-category *,
body.home .article-card-content,
body.home .article-card-content * {
    text-align: left !important;
}

body.home .uk-text-center,
body.home .uk-flex,
body.home .uk-flex-center,
body.home .uk-flex-inline,
body.home .uk-flex-middle,
body.home .uk-flex-between,
body.home *[style*="text-align:center"] {
    text-align: left !important;
    justify-content: flex-start !important;
}

body.home .uk-pagination {
    justify-content: flex-start !important;
    text-align: left !important;
}

/* =========================
   FORCE sitemap Joomla 5 – FULL FIX
   ========================= */

/* Target all sitemap page content */
body.com-osmap,
body.com-osmap * {
    text-align: left !important;
}

/* Remove YOOtheme centering on container */
body.com-osmap .uk-container,
body.com-osmap .uk-section,
body.com-osmap .uk-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
}

/* Force lists left */
body.com-osmap ul,
body.com-osmap li {
    padding-left: 20px !important;
    text-align: left !important;
    list-style-position: inside !important;
}

/* Override inline style text-align:center in sitemap */
body.com-osmap *[style*="text-align:center"] {
    text-align: left !important;
}

/* Force links in sitemap left */
body.com-osmap a {
    text-align: left !important;
}

/* ===============================
   PHOCA GUESTBOOK FORM OVERRIDE
   Joomla 5
   =============================== */

#phocaguestbook {
    max-width: 650px;
}

#phocaguestbook form > div {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

#phocaguestbook label {
    width: 150px;
    font-weight: 600;
    margin-right: 10px;
}

#phocaguestbook input[type="text"],
#phocaguestbook input[type="email"],
#phocaguestbook input[type="tel"],
#phocaguestbook textarea,
#phocaguestbook select {
    border-radius: 0 !important;
    border: 1px solid #999;
    padding: 6px 8px;
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
}

#phocaguestbook textarea {
    min-height: 110px;
}

#phocaguestbook button,
#phocaguestbook input[type="submit"],
#phocaguestbook input[type="reset"] {
    border-radius: 0 !important;
}

/* Menu module biasa */
.mod-menu,
.mod-menu ul,
.mod-menu li,
.mod-menu a {
  text-align: left !important;
}
