/*
Theme Name: Commerce College 6.6
Theme URI: https://example.com/commerce-college
Author: OpenAI
Author URI: https://openai.com/
Description: Giao diện trường cao đẳng được chuyển đổi từ bộ HTML/CSS/JavaScript sang WordPress, hỗ trợ trang chủ, tin tức, cơ cấu tổ chức, công khai, đào tạo, nghiên cứu khoa học, danh bạ, lịch công tác, liên hệ và đăng nhập.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: commerce-college
Tags: education, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, news
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
  --blue: #0767b8;
  --blue-dark: #07579d;
  --navy: #064b86;
  --cyan: #18c8de;
  --text: #252525;
  --muted: #6f7780;
  --line: #e5e8ec;
  --soft: #f5f7f9;
  --white: #fff;
  --shadow: 0 10px 25px rgba(15, 48, 79, 0.12);
  --radius: 10px;
  --container: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Tahoma, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: auto;
  padding: 0 16px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
}
@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 0 10px;
  }
}
/* Header Styles */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 8px 0;
}
.phone-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f2f5;
  color: var(--blue);
  font-size: 20px;
  flex-shrink: 0;
}
.phone-icon:hover {
  background: #e0e2e5;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand a {
  display: block;
}
.brand img,
.custom-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  margin: 0;
  padding: 0;
}
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-item {
  position: relative;
  margin: 0;
}
.nav-link,
.nav-list .menu-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s;
}
.nav-link:hover,
.nav-link.active,
.nav-list .menu-item > a:hover,
.nav-list .current-menu-item > a,
.nav-list .current-menu-ancestor > a {
  color: var(--blue);
  background: #f9f9f9;
}
/* Desktop dropdown chevron */
.nav-link::after,
.nav-list .menu-item-has-children > a::after {
  content: "▾";
  font-size: 10px;
  color: #999;
  transition: 0.3s;
}
.nav-item.no-drop .nav-link::after,
.nav-list .menu-item:not(.menu-item-has-children) > a::after {
  display: none;
}
.dropdown,
.nav-list .sub-menu {
  display: none;
  position: absolute;
    min-width: 240px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--cyan);
  padding: 8px 0;
  margin: 0;
  z-index: 200;
  list-style: none;
}
/* Bullet points for submenu items */
.dropdown a::before,
.nav-list .sub-menu a::before {
  content: "•";
  margin-right: 10px;
  color: var(--blue);
  font-weight: bold;
}
.dropdown a,
.nav-list .sub-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: 0.2s;
  border: 0;
  background: transparent;
  white-space: normal;
  line-height: 1.4;
}
.dropdown a:hover,
.nav-list .sub-menu a:hover {
  background: #f0f8ff;
  color: var(--blue);
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown,
.nav-list .menu-item:hover > .sub-menu,
.nav-list .menu-item:focus-within > .sub-menu {
  display: block;
}
.header-controls {
  display: none;
  align-items: center;
  gap: 12px;
}
.search-toggle,
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  transition: 0.2s;
}
.search-toggle:hover,
.menu-toggle:hover {
  opacity: 0.7;
}
.menu-toggle {
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: 0.3s;
}
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}
.mobile-search {
  display: none;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}
.mobile-search.open {
  display: block;
}
.search-box {
  display: flex;
  gap: 0;
  width: 100%;
}
.search-box input,
.search-box button {
  border: 1px solid #ddd;
  padding: 10px 12px;
  font-size: 14px;
}
.search-box input {
  flex: 1;
  border-right: 0;
  outline: 0;
}
.search-box input::placeholder {
  color: #999;
}
.search-box button {
  width: auto;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  border: 1px solid var(--blue);
}
.search-box button:hover {
  background: var(--blue-dark);
}
.breadcrumb {
  background: #f1f3f5;
  border-bottom: 1px solid #e5e7ea;
}
.breadcrumb .container {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6c747c;
  font-size: 13px;
}
.breadcrumb a {
  color: var(--blue);
}
.section {
  padding: 56px 0;
}
.section-title {
  font-size: 29px;
  line-height: 1.25;
  margin: 0 0 26px;
  font-weight: 800;
  position: relative;
  text-transform: uppercase;
}
.section-title.center {
  text-align: center;
  text-transform: none;
  color: var(--blue);
  font-family: Georgia, serif;
}
.section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  background: var(--cyan);
  margin-top: 12px;
}
.section-title.center::after {
  margin: 12px auto 0;
}
.section-subtitle {
  font-size: 24px;
  margin: 0 0 20px;
}
.hero {
  position: relative;
  min-height: 480px;
    display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 25, 45, 0.82),
    rgba(2, 40, 73, 0.58),
    rgba(0, 0, 0, 0.24)
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 55px 0 145px;
  max-width: 620px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 18px;
}
.hero p {
  font-size: 18px;
  max-width: 560px;
  margin: 0 0 24px;
  color: #eaf5ff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--cyan);
  color: #063b5e;
  border: 0;
  border-radius: 2px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.96);
}
.btn.blue {
  background: var(--blue);
  color: #fff;
}
.btn.outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(3, 33, 57, 0.8);
  backdrop-filter: blur(4px);
  z-index: 3;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.stat-icon {
  font-size: 34px;
}
.stat strong {
  display: block;
  color: #ff5f63;
  font-size: 23px;
}
.stat span {
  font-size: 13px;
  color: #fff;
}
.home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 42px;
}
.news-list {
  display: grid;
  gap: 22px;
}
.news-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
}
.news-thumb {
  height: 140px;
  object-fit: cover;
  width: 100%;
  background: #d8eaf4;
  border-radius: 2px;
}
.news-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}
.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #1bb9d1;
  font-size: 13px;
  margin-top: 10px;
}
.mini-list {
  display: grid;
  gap: 16px;
}
.mini-news {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 13px;
}
.mini-news img {
  height: 66px;
  width: 92px;
  object-fit: cover;
}
.mini-news h4 {
  font-size: 14px;
  margin: 0 0 5px;
  line-height: 1.35;
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #ddd;
}
.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.feature-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  font-weight: 800;
  text-align: center;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tile {
  background: #fff;
  border: 1px solid #e4e8ec;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-weight: 700;
}
.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f8fb;
  color: var(--blue);
  font-size: 22px;
}
.layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 42px;
  align-items: start;
}
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-menu li + li {
  margin-top: 7px;
}
.sidebar-menu a,
.sidebar-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: #efefef;
  border: 0;
  border-left: 4px solid transparent;
  font-weight: 700;
  color: #444;
  cursor: pointer;
}
.sidebar-menu a.active,
.sidebar-menu button.active {
  border-left-color: var(--cyan);
  background: #e9f6fa;
  color: #111;
}
.content-card h2 {
  font-size: 26px;
  margin: 0 0 18px;
}
.content-card p {
  margin: 0 0 16px;
}
.article-img {
  width: 100%;
  margin: 22px 0 8px;
  border: 1px solid #e5e8eb;
}
.caption {
  text-align: center;
  color: #737b83;
  font-size: 12px;
  font-style: italic;
  margin-bottom: 24px;
}
.listing {
  display: grid;
  gap: 22px;
}
.listing-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.listing-item img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}
.listing-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
}
.listing-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 8px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.pagination button {
  width: 38px;
  height: 38px;
  border: 1px solid #d7dde2;
  background: #fff;
  cursor: pointer;
}
.pagination button.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #063b5e;
  font-weight: 800;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 42px;
}
.article h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.article .lead {
  font-weight: 700;
}
.article p {
  margin: 0 0 16px;
  text-align: justify;
}
.side-box h3 {
  font-size: 22px;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 45px;
}
.related-card {
  border: 1px solid var(--line);
  background: #fff;
}
.related-card img {
  height: 130px;
  width: 100%;
  object-fit: cover;
}
.related-card div {
  padding: 12px;
}
.related-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.profile-card {
  background: #eee;
  text-align: center;
}
.profile-card img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}
.profile-card h3 {
  font-size: 17px;
  margin: 12px 8px 2px;
}
.profile-card p {
  font-size: 13px;
  color: #666;
  margin: 0 8px 12px;
}
.info-panels {
  display: grid;
  gap: 34px;
}
.info-block h3 {
  font-size: 22px;
  text-transform: uppercase;
  border-left: 4px solid var(--cyan);
  padding-left: 12px;
}
.info-block img {
  margin: 18px 0;
}
.table-wrap {
  overflow: auto;
  border: 1px solid #e0e4e8;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}
.data-table th,
.data-table td {
  border: 1px solid #dfe3e7;
  padding: 12px;
  vertical-align: top;
  text-align: left;
  font-size: 14px;
}
.data-table th {
  background: #f1f3f5;
  text-align: center;
}
.data-table td:first-child {
  text-align: center;
}
.schedule-head {
  text-align: center;
  margin-bottom: 25px;
}
.schedule-head h1 {
  font-size: 30px;
}
.schedule-head select {
  padding: 11px 18px;
  border: 1px solid #d9dfe4;
  background: #fff;
}
.notes {
  margin-top: 25px;
  font-size: 14px;
}
.notes strong {
  font-style: italic;
}
.print-btn {
  margin-top: 18px;
}
.contact-hero {
  height: 300px;
  background: url("assets/images/campus-1.svg") center/cover no-repeat;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 30, 51, 0.58);
}
.contact-hero h1 {
  position: relative;
  font-family: Georgia, serif;
  font-size: 42px;
}
.contact-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 35px 0;
}
.contact-icon {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid #ddd;
}
.contact-icon:last-child {
  border-right: 0;
}
.contact-icon .big {
  font-size: 50px;
  color: var(--blue);
}
.contact-icon h3 {
  margin: 12px 0 7px;
}
.map {
  box-shadow: var(--shadow);
  margin-bottom: 60px;
}
.contact-form-section {
  background:
    linear-gradient(90deg, rgba(5, 64, 151, 0.94), rgba(10, 83, 169, 0.9)),
    url("assets/images/classroom.svg") center/cover;
  color: #fff;
  padding: 56px 0;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}
.contact-form-section h2 {
  font-size: 30px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .full {
  grid-column: 1/-1;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  color: #fff;
  outline: 0;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #eef6ff;
}
.contact-form textarea {
  min-height: 115px;
  resize: vertical;
}
.contact-form label {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.login-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(5, 103, 184, 0.88), rgba(5, 103, 184, 0.88)),
    url("assets/images/hero-campus.svg") center/cover;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-shell {
  text-align: center;
  width: min(520px, 100%);
}
.login-brand img {
  width: 330px;
  margin: 0 auto 26px;
}
.login-card {
  background: #fff;
  padding: 42px;
  text-align: left;
  box-shadow: var(--shadow);
}
.login-card h1 {
  text-align: center;
  font-size: 23px;
  margin: 0 0 28px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  font-weight: 700;
  display: block;
  margin-bottom: 7px;
}
.input-icon {
  display: flex;
  border: 1px solid #d6dce2;
}
.input-icon span {
  width: 50px;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.input-icon input {
  flex: 1;
  border: 0;
  padding: 13px;
  outline: 0;
}
.login-card .btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border-radius: 0;
  margin-top: 12px;
}
.directory-table {
  width: 100%;
  border-collapse: collapse;
}
.directory-table th,
.directory-table td {
  border: 1px solid #dfe3e7;
  padding: 12px;
  font-size: 14px;
}
.directory-table th {
  background: #f1f2f3;
}
.directory-table td:first-child {
  text-align: center;
  width: 58px;
}
.directory-table td:nth-child(3) {
  width: 170px;
}
.site-footer {
  background: #0767b8;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -130px;
  width: 520px;
  height: 520px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255, 255, 255, 0.03),
    0 0 0 75px rgba(255, 255, 255, 0.03),
    0 0 0 115px rgba(255, 255, 255, 0.03);
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 55px;
  padding: 58px 0;
}
.footer-logo {
  width: 300px;
  margin-bottom: 16px;
}
.footer-title {
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--cyan);
  margin-top: 10px;
}
.footer-list {
  display: grid;
  gap: 10px;
  color: #e6f3ff;
  font-size: 14px;
}
.copyright {
  position: relative;
  background: #075aa1;
  text-align: center;
  padding: 9px;
  font-size: 12px;
  color: #d8eaff;
}
.fanpage {
  background: #07549b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px;
}
.fanpage strong {
  display: block;
  font-size: 18px;
}
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #17314b;
  color: #fff;
  padding: 14px 18px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transform: translateY(120px);
  opacity: 0;
  transition: 0.3s;
  z-index: 100;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-inner {
    gap: 16px;
  }
  .nav-list {
    gap: 4px;
  }
  .nav-link,
  .nav-list .menu-item > a {
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 12px;
    min-height: 60px;
    padding: 6px 0;
  }
  .phone-icon {
    display: flex;
  }
  .brand {
    flex: 1;
    justify-content: center;
  }
  .brand img,
  .custom-logo {
    height: 40px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    flex-direction: column;
    width: 100%;
    margin: 0;
    z-index: 150;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-item {
    width: 100%;
  }
  /* Mobile menu item with chevron indicator */
  .nav-list .menu-item-has-children > a::after {
    content: "▼";
    margin-left: auto;
    transition: 0.3s transform;
  }
  .nav-list .menu-item.open > a::after {
    content: "▲";
  }
  .nav-link,
  .nav-list .menu-item > a {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    background: transparent;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-link:hover,
  .nav-link.active,
  .nav-list .menu-item > a:hover,
  .nav-list .current-menu-item > a {
    background: #f5f5f5;
  }
  .dropdown,
  .nav-list .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-top: 0;
    border-left: 3px solid var(--cyan);
    padding: 0;
    margin: 0;
    background: #fafafa;
  }
  /* Bullet points for mobile submenu */
  .dropdown a::before,
  .nav-list .sub-menu a::before {
    content: "•";
    margin-right: 10px;
    color: var(--blue);
    font-weight: bold;
  }
  .dropdown a,
  .nav-list .sub-menu a {
    padding: 10px 16px 10px 40px;
    border: 0;
    font-weight: 400;
    font-size: 13px;
  }
  .dropdown a:hover,
  .nav-list .sub-menu a:hover {
    background: #efefef;
  }
  .nav-item.open .dropdown,
  .nav-item.open > .dropdown,
  .nav-list .menu-item.open .sub-menu,
  .nav-list .menu-item.open > .sub-menu {
    display: block;
  }
  .header-controls {
    display: flex;
  }
  .mobile-search {
    padding: 10px 0;
  }
  .mobile-search.open {
    display: block;
  }
  .search-box input,
  .search-box button {
    padding: 8px 10px;
    font-size: 13px;
  }

  /* Content adjustments */
  .home-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar-menu {
    display: flex;
    overflow: auto;
    gap: 8px;
  }
  .sidebar-menu li {
    min-width: 210px;
  }
  .sidebar-menu li + li {
    margin-top: 0;
  }
  .cards-3,
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-icons {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
}

@media (max-width: 480px) {
  .header-inner {
    min-height: 52px;
    padding: 4px 0;
  }
  .phone-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .brand img,
  .custom-logo {
    height: 32px;
  }
  .header-controls {
    gap: 8px;
  }
  .search-toggle,
  .menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .menu-toggle span {
    width: 20px;
    height: 2px;
    gap: 4px;
  }
  .nav-link,
  .nav-list .menu-item > a {
    padding: 10px 14px;
    font-size: 12px;
  }
  .search-box input,
  .search-box button {
    padding: 6px 8px;
    font-size: 12px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 620px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-content {
    padding-bottom: 285px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 16px 10px;
  }
  .stat-icon {
    font-size: 26px;
  }
  .stat strong {
    font-size: 18px;
  }
  .home-grid {
    gap: 28px;
  }
  .news-item,
  .listing-item {
    grid-template-columns: 1fr;
  }
  .news-thumb,
  .listing-item img {
    height: 210px;
  }
  .cards-3,
  .tile-grid,
  .profile-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .contact-icons {
    grid-template-columns: 1fr;
  }
  .contact-icon {
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form .full {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid > div:last-child {
    grid-column: auto;
  }
  .article h1 {
    font-size: 25px;
  }
  .section {
    padding: 42px 0;
  }
  .section-title {
    font-size: 24px;
  }
  .login-card {
    padding: 28px 22px;
  }
  .login-brand img {
    width: 280px;
  }
}
@media (max-width: 480px) {
  .utility-bar {
    font-size: 11px;
  }
  .utility-inner {
    height: auto;
    padding: 8px 0;
  }
  .utility-links a:nth-child(n + 2) {
    display: none;
  }
  .header-main {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
  }
  .brand {
    width: 100%;
    padding: 8px 0;
  }
  .brand img {
    width: 100px;
  }
  .search-box {
    width: 100%;
    margin: 0;
  }
  .search-box input {
    padding: 8px 10px;
    font-size: 13px;
  }
  .search-box button {
    width: 40px;
    padding: 8px;
    font-size: 14px;
  }
  .nav-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .home-link {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .nav-toggle {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
  }
  .nav-list {
    top: 40px !important;
  }

/* WordPress integration */
.custom-logo-link {
  display: block;
}
.custom-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  max-height: 100%;
}
.nav-list .menu-item {
  position: relative;
  list-style: none;
}
.nav-list .sub-menu li {
  list-style: none;
}
.site-main {
  min-height: 420px;
}
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content img {
  height: auto;
}
.entry-content .alignwide {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.entry-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text,
.gallery-caption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}
.sticky {
  position: relative;
}
.bypostauthor {
  font-weight: inherit;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #f1f1f1;
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
.post-navigation,
.posts-navigation {
  margin-top: 32px;
}
.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.nav-links a {
  color: var(--blue);
  font-weight: 700;
}
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border: 1px solid #dfe3e7;
  background: #fff;
  padding: 0 10px;
}
.pagination .current {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #063b5e;
}
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 30px;
}
.comment-list {
  padding-left: 22px;
}
.comment-body {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid #dfe3e7;
  padding: 12px;
}
.comment-form-cookies-consent input {
  width: auto;
}
.widget {
  margin-bottom: 28px;
}
.widget-title {
  font-size: 18px;
  text-transform: uppercase;
  border-bottom: 3px solid var(--cyan);
  padding-bottom: 10px;
}
.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.search-result-title {
  margin: 0 0 8px;
}
.search-result-title a {
  color: var(--navy);
}
.no-results {
  padding: 42px;
  background: var(--soft);
  text-align: center;
}
.error-404 {
  text-align: center;
  padding: 90px 0;
}
.error-404 h1 {
  font-size: 72px;
  color: var(--blue);
  margin: 0;
}
.notice-box {
  padding: 14px 18px;
  border-left: 4px solid var(--cyan);
  background: #eefafd;
  margin: 20px 0;
}
.contact-message {
  position: absolute;
  left: -9999px;
}
.login-card .login-username,
.login-card .login-password {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.login-card label {
  font-weight: 700;
}
.login-card input {
  width: 100%;
  padding: 13px;
  border: 1px solid #ccd4db;
}
.login-card .login-submit input {
  width: 100%;
  padding: 13px;
  background: var(--blue);
  color: #fff;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}
.demo-content-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 22px;
}
.footer-widgets .widget {
  color: #e6f3ff;
}
.footer-widgets .widget-title {
  color: #fff;
}
.footer-widgets a {
  color: #fff;
}
.coc-content-placeholder {
  border: 1px dashed #9fc6df;
  padding: 18px;
  background: #f5fbff;
  margin-bottom: 24px;
}
@media (max-width: 980px) {
  body.admin-bar .main-nav {
    top: 32px;
  }
  .nav-list .menu-item > a {
    border-right: 0;
    border-bottom: 1px solid #eee;
  }
  .nav-list .sub-menu {
    position: static;
    box-shadow: none;
    border-top: 0;
    padding-left: 20px;
  }
  .nav-list .menu-item:hover > .sub-menu {
    display: none;
  }
  .nav-list .menu-item.open > .sub-menu {
    display: block;
  }
  .custom-logo {
    width: 300px;
  }
}
@media (max-width: 782px) {
  body.admin-bar .main-nav {
    top: 46px;
  }
}
@media (max-width: 680px) {
  .custom-logo {
    width: 290px;
  }
  .nav-links {
    flex-direction: column;
  }
  .error-404 h1 {
    font-size: 52px;
  }
}

/* Recruitment Banner Styles */
.recruitment-banner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 20px;
}
.recruitment-banner-link {
  display: inline-block;
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.recruitment-banner-link:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}
.recruitment-banner {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.3s ease;
}
.recruitment-banner-link:hover .recruitment-banner {
  filter: brightness(1.1);
}
.footer-widgets {
  position: relative;
  z-index: 5;
}
@media (max-width: 980px) {
  .recruitment-banner-link {
    max-width: 280px;
  }
}
@media (max-width: 680px) {
  .recruitment-banner-link {
    max-width: 240px;
  }
}

@media (max-width: 680px) {
  .utility-links a:nth-child(n + 2) {
    display: none;
  }
}
.contact-form option {
  color: #222;
}
