/* LCN — Latest Construction News Theme */
:root {
  --lcn-gold: #DA530A;
  --lcn-dark-gold: #DA530A;
  --lcn-black: #1a1a1a;
  --lcn-dark-bg: #0a0a0a;
  --lcn-white: #ffffff;
  --lcn-light-gray: #f5f5f5;
  --lcn-medium-gray: #666666;
  --lcn-text: #333333;
  --lcn-border: #e0e0e0;
  --lcn-ad-size: 400px;
  --lcn-ad-column: 440px;
}

/* Reset and Base Styles */
.lcn-site * {
  box-sizing: border-box;
}

.jura-font {
  font-family: "Jura", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.lcn-site {
  font-family: Jura, sans-serif;
  background: var(--lcn-light-gray);
  color: var(--lcn-text);
  margin: 0;
  padding: 0;
}

/* Header */
.lcn-header {
  background: var(--lcn-white);
  border-bottom: 1px solid var(--lcn-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lcn-header-top {
  background: var(--lcn-white);
  position: relative;
}

.banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background-image: url("assets/images/newBanner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 32vh;
  padding: 40px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.banner .lcn-section-header {
  margin: 0 0 20px;
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.banner .lcn-section-header p {
  color: var(--lcn-white);
  margin: 10px 0 0;
  font-size: 1rem;
}

.banner .lcn-search-container {
  
  width: 30vw;
  margin: 0 0;
  margin-right: 20px;
  height: 60px;
}

.lcn-ad-strip {
  width: 100%;
  margin: 0 0 20px;
}

.lcn-ad-panel-inline {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lcn-ad-panel-inline .lcn-ad-title {
  grid-column: 1 / -1;
  margin: 0 0 8px;
}

.lcn-ad-panel-inline .lcn-ad-placeholder {
  height: 120px;
  margin-bottom: 0;
}

.lcn-wrap {
  max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
}

@media (max-width: 768px) {
  .lcn-wrap {
    justify-content: flex-start;
  }

  .lcn-brand {
    flex: 1;
  }
  .banner .lcn-search-container {
  width: 80vw;
 }
}

.lcn-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.lcn-logo {
  height: 100px;
  width: auto;
}

@media (max-width: 768px) {
  .lcn-logo {
    height: 50px;
  }
}

.lcn-nav {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex: 1;
}

@media (max-width: 768px) {
  .lcn-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: var(--lcn-white);
    border-bottom: 1px solid var(--lcn-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }

  .lcn-nav.active {
    display: flex;
  }

  .lcn-nav-btn {
    width: 100%;
    justify-content: center;
	width: fit-content;
  }
}

.lcn-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin: 10px;
}

.lcn-primary {
  background: var(--lcn-gold);
  color: var(--lcn-white);
}

.lcn-primary:hover {
  background: var(--lcn-dark-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(244, 184, 96, 0.2);
}

.lcn-secondary {
  background: var(--lcn-black);
  color: var(--lcn-white);
}

.lcn-secondary:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.lcn-tirtiary {
  background: repeating-linear-gradient(
    45deg,
    var(--lcn-dark-gold),
    var(--lcn-dark-gold) 10px,
    var(--lcn-black) 10px,
    var(--lcn-black) 20px
  );
  transition: filter 0.2s ease;
  color: white;
}

.lcn-quaternary {
	background: var(--lcn-white);
	color: var(--lcn-dark-gold);
	
}

.lcn-nav-icon {
  font-size: 16px;
  color: transparent;
  text-shadow: 0 0 0 #ffffff;
}

.nav-drop {
  gap: 6px;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  height: 40px
}

.lcn-search-container {
	width: 65vw;
}

.lcn-search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lcn-search-btn:hover {
  background: var(--lcn-light-gray);
}

.lcn-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lcn-menu-toggle:hover {
  background: var(--lcn-light-gray);
}

.nav-drop {
	width: 100px;
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none; /* remove list bullets */
  padding: 0px;
}

.pagination li a {
  display: block; /* let links fill the list item */
  padding: 8px 12px;
  text-decoration: none;
  border: 1px solid gray;
  color: black;
  margin: 0 4px;
  border-radius: 5px; /* add rounded borders */
}

.pagination li a.active {
  background: var(--lcn-gold);
  border-color: var(--lcn-gold);
  color: var(--lcn-white);
  font-weight: 800;
}

.pagination li a.disabled {
  opacity: .4;
  cursor: default;
}

@media (max-width: 768px) {
  .lcn-menu-toggle {
    display: flex;
    order: 3;
  }

  .lcn-search-btn {
    order: 4;
  }
  .lcn-search-container {
	  width: 65vw;
  }
}

/* Main Container Layout */
.lcn-main {
  padding-left: 20px;
  padding-right: 20px;
  background: var(--lcn-light-gray);
}

.lcn-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--lcn-ad-column));
  gap: 20px;
  grid-template-areas: "content sidebar-right";
}

.flex {
	display:flex;
	flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
}


@media (max-width: 1024px) {
  .lcn-container {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "sidebar-left"
      "sidebar-right"
      "content";
  }
}

@media (max-width: 768px) {
  .lcn-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .lcn-sidebar-left {
    order: 1;
    grid-area: unset;
  }

  .lcn-mobile-ad-top {
    order: 2;
    grid-area: unset;
  }

  .lcn-content-main {
	order: 3;
    grid-area: unset;
  }

  .lcn-sidebar-right:not(.lcn-mobile-ad-top) {
    order: 4;
    grid-area: unset;
  }
}

/* Left Sidebar */
.lcn-sidebar-left {
  grid-area: sidebar-left;
  background: var(--lcn-black);
  padding: 20px;
  border-radius: 4px;
  height: fit-content;
}

/* Right Sidebar */
.lcn-sidebar-right {
  grid-area: sidebar-right;
  width: var(--lcn-ad-column);
  max-width: 100%;
  min-width: 0;
}

/* Hide mobile ad space on desktop */
@media (min-width: 769px) {
  .lcn-mobile-ad-top {
    display: none;
  }
}

.lcn-regional-panel {
  color: var(--lcn-white);
}

.lcn-panel-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--lcn-gold);
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lcn-regional-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lcn-regional-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.lcn-regional-list li:last-child {
  border-bottom: none;
}

.lcn-regional-list a {
  color: var(--lcn-white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.lcn-regional-list a:hover {
  color: var(--lcn-gold);
}

.lcn-pin {
  color: var(--lcn-gold);
  font-size: 16px;
}

/* Main Content */
.lcn-content-main {
  grid-area: content;
  background: var(--lcn-white);
  padding: 0;
  border-radius: 4px;
}

.lcn-section-header {
  margin: 0 0 40px 0;
}

.lcn-section-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  color: var(--lcn-white);
  letter-spacing: -0.5px;
  min-width: 80vw;
}

::placeholder {
  weight: 200;
  opacity: 1; /* Firefox */
}

.lcn-section-header .products{
	color: var(--lcn-gold);
}

.lcn-accent {
  color: var(--lcn-gold);
}

/* Search Bar */
.lcn-search-container {
  position: relative;
  margin: 0 0 30px 10px;
  border: 2px solid var(--lcn-gold);
  border-radius: 30px;
  display: flex;
  align-items: center;
  background: var(--lcn-white);
  overflow: hidden;
  width: 65vw;
}

.lcn-search-input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  background: transparent;
  color: var(--lcn-text);
  outline: none;
  width: 65vw;
}

.lcn-search-input::placeholder {
  color: var(--lcn-medium-gray);
}

.lcn-search-button {
  border: none;
  background: var(--lcn-gold);
  color: var(--lcn-white);
  width: 72px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.lcn-search-button:hover {
  filter: brightness(0.95);
}

.lcn-search-container .lcn-search-icon {
  color: var(--lcn-white);
  font-size: 18px;
  cursor: pointer;
}

/* News Feed */
.lcn-news-feed {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.lcn-news-feed[data-loading="true"] > * { display: none; }

.lcn-news-feed[data-loading="true"]::before {
  content: "Loading latest articles…";
  padding: 24px;
  background: var(--lcn-light-gray);
  border-radius: 4px;
  color: #666;
  text-align: center;
}

.articles-feed-message {
  margin: 0;
  padding: 24px;
  background: var(--lcn-light-gray);
  border-radius: 4px;
  color: #555;
  text-align: center;
  font-weight: 700;
}

.articles-feed-message.error { color: #8c1c13; }
.article-read-more { color: inherit; font-weight: 800; }
.article-read-more-button { display: inline; padding: 0; border: 0; background: none; font: inherit; font-weight: 800; cursor: pointer; }

/* Individual article page */
.article-main { padding-bottom: 48px; }

.article-page-layout {
  width: 100%;
  max-width: 1400px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--lcn-ad-column));
  grid-template-areas: "article-content sidebar-right";
  gap: 20px;
  align-items: start;
}

.article-detail {
  grid-area: article-content;
  width: 100%;
  margin: 0;
  background: var(--lcn-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
}

.article-ad-sidebar {
  width: var(--lcn-ad-column);
  max-width: 100%;
  min-width: 0;
  position: sticky;
  top: 125px;
}

.article-ad-sidebar .lcn-ad-panel {
  width: 100%;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .article-page-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "article-content"
      "sidebar-right";
  }
  .article-ad-sidebar { width: var(--lcn-ad-column); max-width: 100%; position: static; }
  .article-ad-sidebar .lcn-ad-panel { display: block; }
  .article-ad-sidebar .lcn-ad-placeholder { max-width: 100%; }
}

.article-detail-header {
  display: grid;
  grid-template-columns: minmax(300px, 48%) 1fr;
  align-items: stretch;
  min-height: 340px;
}

.article-detail-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.article-detail-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
  background: var(--lcn-light-gray);
}

.article-detail-heading h1 {
  margin: 0;
  color: var(--lcn-text);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.article-detail-date {
  margin: 20px 0 0;
  color: #777;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.article-detail-content {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 72px);
  color: #333;
  font-size: 1.08rem;
  line-height: 1.8;
}

.article-detail-content p { margin: 0 0 1.4em; white-space: pre-wrap; }

.article-backlink {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 18px;
  border-radius: 4px;
  background: var(--lcn-gold);
  color: var(--lcn-white);
  text-decoration: none;
  font-weight: 800;
}

.article-detail-message {
  margin: 0;
  padding: 60px 24px;
  color: #555;
  text-align: center;
  font-weight: 700;
}

.article-detail-message.error { color: #8c1c13; }

@media (max-width: 760px) {
  .article-page-layout { width: 100%; }
  .article-ad-sidebar { width: 100%; }
  .article-ad-sidebar .lcn-ad-placeholder { width: 100%; }
  .article-detail-header { grid-template-columns: 1fr; }
  .article-detail-image { min-height: 230px; max-height: 360px; }
  .article-detail-heading { padding: 28px 22px; }
  .article-detail-content { padding: 32px 22px; }
}

/* Admin portal */
html.admin-document,
html.admin-document body,
.admin-page { min-height: 100%; background: #f2f2f2 !important; }
.admin-page::before { content: none; display: none; }
.admin-page .admin-main,
.admin-page .admin-portal,
.admin-page .admin-tab-panel { background: transparent; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 30px; border-bottom: 2px solid #d4d4d4; }
.admin-tabs button { margin-bottom: -2px; padding: 13px 24px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #555; font: inherit; font-weight: 800; cursor: pointer; }
.admin-tabs button[aria-selected="true"] { border-bottom-color: var(--lcn-gold); color: #111; }
.admin-tab-panel[hidden] { display: none; }
.admin-product-form { max-width: 950px; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 6px; background: #fff; box-shadow: 0 2px 9px rgba(0,0,0,.07); }
.admin-advert-form { max-width: 700px; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 6px; background: #fff; box-shadow: 0 2px 9px rgba(0,0,0,.07); }
.admin-advert-form .field { display: flex; flex-direction: column; gap: 8px; }
.admin-advert-form label { font-weight: 800; }
.admin-advert-form input:not([type="file"]) { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #ccc; border-radius: 4px; font: inherit; }
.admin-advert-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.admin-product-form .field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.admin-product-form label { font-weight: 800; }
.admin-product-form input, .admin-product-form textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #ccc; border-radius: 4px; font: inherit; }
.admin-product-form textarea { min-height: 130px; resize: vertical; }
.admin-product-form .field-help { margin: 0; color: #666; font-size: .78rem; }
.admin-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.admin-header { min-height: 92px; padding: 14px clamp(18px, 5vw, 70px); display: flex; align-items: center; justify-content: space-between; background: #050505; }
.admin-header .lcn-logo { width: min(260px, 60vw); height: auto; }
.admin-main { width: min(1200px, calc(100% - 32px)); margin: 44px auto; }
.admin-login-panel { width: min(440px, 100%); margin: 8vh auto 0; padding: 34px; border-radius: 6px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.admin-login-panel h1, .admin-portal h1 { margin-top: 0; }
.admin-login-panel form { display: flex; flex-direction: column; gap: 10px; }
.admin-login-panel label { margin-top: 8px; font-weight: 800; }
.admin-login-panel input { min-height: 48px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font: inherit; }
.admin-login-panel button[type="submit"], .admin-publish-button { border: 0; border-radius: 4px; padding: 11px 16px; background: #27773d; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.admin-login-panel button[type="submit"] { margin-top: 14px; min-height: 48px; }
.admin-logout, .admin-secondary-button, .admin-page-button, .admin-delete-button { border: 1px solid #aaa; border-radius: 4px; padding: 10px 14px; background: #fff; color: #222; font: inherit; font-weight: 800; cursor: pointer; }
.admin-logout { border-color: #fff; background: transparent; color: #fff; }
.admin-delete-button { border-color: #b82b2b; background: #b82b2b; color: #fff; }
.admin-portal-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.admin-portal-heading p { margin-bottom: 0; color: #666; }
.admin-message { padding: 12px 14px; border-radius: 4px; background: #eee; }
.admin-message.error { color: #8c1c13; background: #fde8e6; }
.admin-message.success { color: #245f35; background: #e8f6ec; }
.admin-article-list { display: flex; flex-direction: column; gap: 18px; }
.admin-article-card { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px; border-radius: 5px; background: #fff; box-shadow: 0 2px 9px rgba(0,0,0,.07); }
.admin-article-card > img { width: 190px; height: 130px; object-fit: cover; border-radius: 4px; }
.admin-article-card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.admin-article-card p { margin: 0 0 8px; }
.admin-article-date { color: #777; font-size: .85rem; }
.admin-article-actions { display: flex; flex-direction: column; gap: 8px; min-width: 105px; }
.admin-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.admin-live-section { margin-top: 52px; padding-top: 34px; border-top: 2px solid #d4d4d4; }
.admin-live-section .admin-portal-heading { margin-bottom: 20px; }
.admin-live-section h2 { margin: 0; color: #1a1a1a; font-size: 2rem; }
.admin-live-section .lcn-news-item { box-shadow: 0 2px 9px rgba(0,0,0,.07); }
.admin-live-section .lcn-news-actions { justify-content: flex-end; }
.admin-live-section .admin-live-article-actions { align-items: stretch; flex-direction: column; }
.admin-live-section .admin-live-article-actions button { min-width: 110px; }
.admin-live-advert-list { display: flex; flex-direction: column; gap: 12px; }
.admin-live-advert-item { display: flex; align-items: center; gap: 18px; padding: 12px; border-radius: 5px; background: #fff; box-shadow: 0 2px 9px rgba(0,0,0,.07); }
.admin-live-advert-item img { width: 100px; height: 100px; flex: 0 0 100px; border-radius: 4px; background: #eee; object-fit: contain; }
.admin-live-advert-details { min-width: 0; flex: 1; }
.admin-live-advert-details p { margin: 0; color: #555; overflow-wrap: anywhere; }
.admin-live-advert-details a { display: block; margin-top: 5px; color: #555; overflow-wrap: anywhere; }
.admin-live-job-list .job-card { box-shadow: 0 2px 9px rgba(0,0,0,.07); }
.admin-page .job-logo,
.admin-page .job-card:nth-child(even) .job-logo { background: #f2f2f2; color: #252525; border: 1px solid #ddd; }
.admin-live-card-delete { width: 100%; min-height: 44px; }
.admin-page-button[aria-current="page"] { border-color: var(--lcn-gold); background: var(--lcn-gold); color: #fff; }
.admin-empty-message { padding: 35px; background: #fff; text-align: center; font-weight: 700; }
.admin-preview { width: min(1000px, calc(100% - 30px)); max-height: 90vh; padding: 0; border: 0; border-radius: 6px; box-shadow: 0 16px 55px rgba(0,0,0,.35); }
.admin-preview::backdrop { background: rgba(0,0,0,.7); }
.admin-preview-close { position: absolute; top: 12px; right: 15px; z-index: 2; border: 0; background: rgba(0,0,0,.72); color: #fff; border-radius: 50%; width: 38px; height: 38px; font-size: 1.6rem; cursor: pointer; }
.admin-preview-header { display: grid; grid-template-columns: 46% 1fr; min-height: 310px; background: #eee; }
.admin-preview-header img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.admin-preview-header > div { display: flex; flex-direction: column; justify-content: center; padding: 38px; }
.admin-preview-header h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 4vw, 3rem); }
.admin-preview-body { padding: 38px; font-size: 1.05rem; line-height: 1.75; }
.admin-preview-body p { white-space: pre-wrap; }
.admin-preview-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 12px; padding: 18px 38px; border-top: 1px solid #ddd; background: #fff; }
@media (max-width: 760px) {
  .admin-tabs { flex-wrap: wrap; overflow: visible; }
  .admin-tabs button { flex: 1 1 calc(50% - 4px); margin-bottom: 0; padding: 12px 10px; }
  .admin-form-row { grid-template-columns: 1fr; }
  .admin-article-card { grid-template-columns: 1fr; }
  .admin-article-card > img { width: 100%; height: 210px; }
  .admin-article-actions { flex-direction: row; flex-wrap: wrap; }
  .admin-live-section { margin-top: 36px; padding-top: 28px; }
  .admin-live-section .lcn-news-actions { justify-content: stretch; }
  .admin-live-section .admin-delete-button { width: 100%; min-height: 44px; }
  .admin-live-section .admin-live-article-actions .admin-secondary-button { width: 100%; min-height: 44px; }
  .admin-live-advert-item { align-items: stretch; flex-wrap: wrap; gap: 12px; }
  .admin-live-advert-item .admin-delete-button { width: 100%; min-height: 44px; }
  .admin-live-card-delete { grid-column: 1 / -1; }
  .admin-preview-header { grid-template-columns: 1fr; }
  .admin-preview-header img { min-height: 220px; max-height: 330px; }
  .admin-preview-header > div, .admin-preview-body { padding: 25px; }
}

.lcn-news-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  padding: 20px;
  background: var(--lcn-light-gray);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lcn-news-item:hover {
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .lcn-news-item {
    grid-template-columns: 1fr;
  }
}

.lcn-news-image {
  width: 100%;
  height: 180px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lcn-image-placeholder {
  font-size: 48px;
  color: #999;
  font-weight: bold;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
}

.lcn-image-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lcn-news-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lcn-news-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--lcn-text);
  line-height: 1.3;
}

.lcn-news-excerpt {
  font-size: 14px;
  color: #666;
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.lcn-news-meta {
  font-size: 12px;
  color: #999;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lcn-region {
  color: var(--lcn-gold);
  font-weight: 600;
}

.lcn-news-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lcn-share-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--lcn-gold);
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lcn-share-btn:hover {
  color: var(--lcn-gold);
}
.copy-link-status { align-self: center; color: inherit; font-weight: 800; }
.copy-link-status[hidden] { display: none; }

.lcn-view-btn {
  background: var(--lcn-white);
  border: 2px solid var(--lcn-gold);
  color: var(--lcn-gold);
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lcn-view-btn:hover {
  background: var(--lcn-gold);
  color: var(--lcn-black);
}

/* Right Sidebar */
.lcn-sidebar-right {
  grid-area: sidebar-right;
}

.lcn-ad-panel {
  width: 100%;
  max-width: 100%;
  background: var(--lcn-white);
  padding: 20px;
  border-radius: 4px;
  overflow: hidden;
}

.lcn-ad-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: var(--lcn-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lcn-ad-placeholder {
  background: #e8e8e8;
  width: 100%;
  max-width: var(--lcn-ad-size);
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-bottom: 15px;
  color: #999;
  font-weight: 600;
  font-size: 16px;
}

.lcn-ad-placeholder:last-child {
  margin-bottom: 0;
}

.lcn-ad-placeholder img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
}

.lcn-ad-link {
  display: block;
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .lcn-container {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "sidebar-left"
      "sidebar-right"
      "content"
      "sidebar-right";
    gap: 20px;
  }

  .lcn-mobile-ad-top {
    grid-area: auto;
    order: 2;
  }

  .lcn-sidebar-left {
    order: 1;
  }

  .lcn-content-main {
    order: 3;
  }

  .lcn-sidebar-right:not(.lcn-mobile-ad-top) {
    order: 4;
  }
}

/* Hide mobile ad space on desktop */
@media (min-width: 769px) {
  .lcn-mobile-ad-top {
    display: none;
  }
}

/* Footer */
.lcn-footer {
  background: var(--lcn-black);
  color: var(--lcn-white);
  padding: 30px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.lcn-footer p {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}

/* Jobs page */
html { scroll-behavior: smooth; }
.jobs-banner { margin-bottom: 0; }
.jobs-banner .lcn-section-header { margin-bottom: 18px; }
.jobs-banner .lcn-section-title { min-width: 0; }
.jobs-banner .flex { gap: 14px; align-items: center; }
.jobs-banner .lcn-search-container { margin: 0; max-width: 660px; width: min(660px, 100%); }
.post-job-button, .job-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 4px;
  background: var(--lcn-gold); color: #fff; font: inherit; font-weight: 800;
  text-decoration: none; text-transform: uppercase; cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.post-job-button:hover, .job-submit:hover { transform: translateY(-2px); filter: brightness(.94); }
.jobs-layout { width: 100%; margin: 20px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--lcn-ad-column)); grid-template-areas: "jobs jobs-ads"; gap: 20px; align-items: start; }
.jobs-content { grid-area: jobs; min-width: 0; width: 100%; }
.jobs-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 16px; }
.jobs-heading h2 { margin: 0 0 5px; font-size: 2rem; color: #1a1a1a; }
.jobs-heading h2::after, .post-form-header h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 5px; background: var(--lcn-gold); }
.jobs-heading p { margin: 0; color: #555; }
.sort-select { min-width: 150px; padding: 11px 12px; border: 1px solid #bbb; border-radius: 4px; background: #fff; font: inherit; }
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-card { display: grid; grid-template-columns: 82px minmax(0, 1fr) 160px 132px; gap: 20px; align-items: center; padding: 18px; border: 1px solid var(--lcn-border); border-radius: 4px; background: #fff; }
.job-logo { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 4px; background: #171717; color: var(--lcn-gold); font-size: 1.5rem; font-weight: 800; letter-spacing: -.05em; }
.job-logo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.job-list[data-loading="true"] > * { display: none; }
.job-list[data-loading="true"]::before { content: "Loading latest vacancies…"; padding: 30px; background: #fff; text-align: center; color: #666; }
.job-card:nth-child(even) .job-logo { background: #f2f2f2; color: #252525; border: 1px solid #ddd; }
.job-info h3 { margin: 0 0 3px; color: #171717; font-size: 1.15rem; }
.job-company { margin: 0 0 5px; color: #222; font-weight: 650; }
.job-description { margin: 0; color: #555; font-size: .9rem; line-height: 1.45; }
.job-meta { display: grid; gap: 8px; font-size: .88rem; color: #252525; }
.job-meta span { display: flex; gap: 8px; align-items: center; }
.new-badge { width: fit-content; padding: 2px 7px; border-radius: 2px; background: #dbf3c8; color: #358319; font-size: .72rem; font-weight: 800; }
.view-job { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px; border: 1px solid #222; border-radius: 4px; color: #111; font-weight: 800; text-decoration: none; white-space: nowrap; }
.view-job:hover { background: #111; color: #fff; }
.jobs-layout > .lcn-sidebar-right { grid-area: jobs-ads; width: var(--lcn-ad-column); max-width: 100%; min-width: 0; position: sticky; top: 125px; align-self: start; }
.jobs-layout .lcn-ad-panel { width: 100%; overflow: hidden; }
.jobs-layout .lcn-ad-placeholder { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.jobs-layout .lcn-ad-placeholder img { width: 100%; height: 100%; object-fit: contain; }
.post-job-section { margin-top: 40px; padding: 34px; background: #fff; border: 1px solid var(--lcn-border); border-radius: 4px; scroll-margin-top: 130px; }
.post-form-header { margin-bottom: 24px; }
.post-form-header h2 { margin: 0; font-size: 2rem; color: #1a1a1a; }
.post-form-header p { margin: 12px 0 0; color: #555; line-height: 1.55; }
.job-form { display: flex; flex-direction: column; gap: 18px; }
.job-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.job-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.job-field label { font-size: .95rem; font-weight: 700; color: #1a1a1a; }
.job-field input, .job-field select, .job-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fafafa; color: #222; font: inherit; }
.job-field textarea { min-height: 190px; resize: vertical; line-height: 1.5; }
.job-field input:focus, .job-field select:focus, .job-field textarea:focus { outline: none; border-color: var(--lcn-gold); box-shadow: 0 0 0 3px rgba(218,83,10,.1); }
.field-help { margin: -2px 0 0; color: #666; font-size: .78rem; }
.job-submit { width: fit-content; padding: 0 26px; }
@media (max-width: 1050px) {
  .jobs-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "jobs" "jobs-ads"; }
  .jobs-layout > .lcn-sidebar-right { width: 100%; position: static; }
  .jobs-layout .lcn-ad-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .jobs-layout .lcn-ad-title { grid-column: 1 / -1; }
  .jobs-layout .lcn-ad-placeholder { margin: 0; }
  .job-card { grid-template-columns: 72px minmax(0, 1fr) 145px; }
  .view-job { grid-column: 2 / -1; width: fit-content; }
}
@media (max-width: 680px) {
  .jobs-banner .post-job-button { width: 100%; }
  .jobs-heading { align-items: flex-start; flex-direction: column; }
  .job-card { grid-template-columns: 62px 1fr; gap: 14px; }
  .job-logo { width: 60px; height: 60px; }
  .job-meta, .view-job { grid-column: 1 / -1; }
  .view-job { width: 100%; }
  .job-field-row { grid-template-columns: 1fr; }
  .post-job-section { padding: 22px 16px; }
  .jobs-layout .lcn-ad-panel { grid-template-columns: 1fr; }
  .jobs-layout .lcn-ad-title { grid-column: auto; }
}

/* Submit article page */
.submit-page {
  --submit-bg: #f4f3f1;
  --submit-panel: #f9f9f8;
  --submit-border: #dfe0df;
  --submit-input: #f7f7f7;
  --submit-text: #1a1a1a;
  --submit-muted: #5a5a5a;
  --submit-gold: #DA530A;
  --submit-gold-dark: #DA530A;
  --submit-green: #3e9b55;
  --submit-green-dark: #2f7d45;
}

body.lcn-site.submit-page {
  background: var(--submit-bg);
}

	.submit-page .flex {display:flex; flex-direction: row;}
	
.lcn-main.submit-main {
  padding: 0 20px 40px;
  background: var(--submit-bg);
}

.submit-shell {
  max-width: 1400px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--lcn-ad-column));
  gap: 28px;
  align-items: start;
}

.product-submit-shell {
  max-width: 1000px;
  grid-template-columns: 1fr;
}

.submit-panel {
  background: transparent;
  padding: 0;
  min-width: 0;
}

.submit-header {
  margin: 0 0 22px;
}

.submit-header h1 {
  margin: 0;
  font-size: clamp(2.3rem, 3vw, 3.6rem);
  color: var(--submit-text);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1.05;
}

.submit-header p {
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a4a4a;
  max-width: 760px;
}

.submit-form-wrap {
  background: transparent;
  padding-top: 8px;
}

.article-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.submit-page .field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.submit-page .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.submit-page .field label {
  color: var(--submit-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.submit-page .field label .required {
  color: #3d3d3d;
  font-weight: 700;
}

.submit-page .field input,
.submit-page .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.16);
  border: 1px solid var(--submit-border);
  border-radius: 4px;
  padding: 12px 14px;
  font: inherit;
  color: var(--submit-text);
  min-height: 48px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.submit-page .field input::placeholder,
.submit-page .field textarea::placeholder {
  color: #7a7a7a;
  opacity: 1;
}

.submit-page .field input:focus,
.submit-page .field textarea:focus {
  outline: none;
  border-color: #b8b8b8;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.submit-page .field textarea {
  resize: vertical;
  min-height: 210px;
  line-height: 1.5;
  padding-top: 14px;
}

.submit-page .field.help {
  gap: 0;
}

.submit-page .field-help {
  margin: 0;
  font-size: 0.75rem;
  color: var(--submit-muted);
  line-height: 1.5;
}

.article-link-help {
  margin: 8px 0 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--submit-gold);
  background: rgba(218,83,10,.07);
  color: #444;
  font-size: .82rem;
  line-height: 1.55;
}

.article-link-help code {
  color: #222;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

.editor-shell {
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--submit-border);
  border-radius: 4px;
  overflow: hidden;
}

.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--submit-border);
  background: rgba(255,255,255,0.08);
  color: #2d2d2d;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 10px;
  border-right: 1px solid var(--submit-border);
  margin-right: 4px;
}

.toolbar-group:last-child {
  border-right: none;
  margin-right: 0;
}

.tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  font-weight: 700;
  color: #3a3a3a;
  cursor: default;
  user-select: none;
}

.tool.small {
  font-size: 0.7rem;
}

.tool.bold {
  font-weight: 800;
}

.tool.italic {
  font-style: italic;
  font-weight: 700;
}

.tool.underline {
  text-decoration: underline;
  font-weight: 700;
}

.editor-shell textarea {
  border: none;
  border-radius: 0;
  min-height: 180px;
  background: transparent;
}

.upload-field .upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 170px;
  border: 1.5px dashed #d1d1d1;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  text-align: center;
  color: #4a4a4a;
  padding: 18px 16px;
  cursor: pointer;
}

.upload-field .upload-box:focus,
.upload-field .upload-box.is-dragging {
  outline: none;
  border-color: var(--submit-gold);
  box-shadow: 0 0 0 3px rgba(218,83,10,.12);
}

.visually-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.upload-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: #4a4a4a;
}

.upload-box p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.upload-box small {
  display: block;
  font-size: 0.72rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: fit-content;
  border: none;
  background: var(--submit-gold);
  color: #000;
  border-radius: 4px;
  padding: 16px 22px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(247,185,9,0.18);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.submit-button:hover {
  background: var(--submit-gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(247,185,9,0.22);
}

.submit-button:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.article-form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-form-status[hidden] { display: none; }

.article-form-status-text { margin: 0; }

.article-form-status-dismiss {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.article-form-status-dismiss:hover,
.article-form-status-dismiss:focus-visible {
  opacity: .65;
}

.article-form-status.error {
  color: #8c1c13;
  background: #fde8e6;
  border: 1px solid #efb7b1;
}

.article-form-status.success {
  color: #245f35;
  background: #e8f6ec;
  border: 1px solid #b6ddc0;
}

.submit-button .plane {
  font-size: 1.1rem;
}

.terms {
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #535353;
  line-height: 1.5;
  max-width: 760px;
}

.terms input {
  margin-top: 5px;
  width: 14px;
  height: 14px;
  accent-color: #2d2d2d;
}

.terms a {
  color: #2d2d2d;
  text-decoration: underline;
}

.promo-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 10px;
}

.promo-card {
  background: #f1f0ee;
  border: 1px solid #d9d6d3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.promo-card .promo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 0;
  color: #111;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.brand-mark .mark {
  font-size: 2.2rem;
}

.cert {
  font-size: 0.7rem;
  text-align: right;
  line-height: 1.2;
  color: #3d3d3d;
  font-weight: 700;
}

.promo-visual {
  position: relative;
  min-height: 280px;
  margin: 8px 8px 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(18,25,33,0.35), rgba(18,25,33,0.05)), url('assets/images/banner.jpeg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px 18px 22px;
}

.promo-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.02), rgba(10,10,10,0.28));
}

.promo-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}

.promo-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.4rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 800;
  max-width: 180px;
}

.promo-copy .mini {
  font-size: 0.96rem;
  font-weight: 700;
  opacity: 0.95;
}

.promo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 16px 13px 13px;
  padding: 12px 18px;
  background: var(--submit-green);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.promo-card.compass {
  background: #edf0ec;
  border-color: #d2d5d1;
}

.promo-card.compass .promo-body {
  padding: 14px 14px 18px;
}

.promo-card.compass .promo-body h4 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.06em;
  color: #222;
  max-width: 220px;
}

.promo-card.compass .promo-body p {
  margin: 0;
  color: #4a4a4a;
  line-height: 1.5;
  font-size: 0.92rem;
}

.promo-card.compass .promo-body .green-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  width: fit-content;
  padding: 10px 18px;
  background: var(--submit-green);
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.promo-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px 12px 12px;
  margin-top: 4px;
}

.badge {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  text-align: center;
  padding: 8px 6px 10px;
  font-size: 0.6rem;
  line-height: 1.2;
  color: #222;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .submit-shell {
    grid-template-columns: 1fr;
  }

  .promo-column {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .submit-page .field-row {
    grid-template-columns: 1fr;
  }

  .submit-page .lcn-nav {
    display: none;
  }

  .lcn-main.submit-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .submit-header h1 {
    font-size: 2.3rem;
  }

  .submit-button {
    width: 100%;
    justify-content: center;
  }
}

/* Contact page */
.contact-main {
  position: relative;
  min-height: calc(100vh - 161px);
  padding: 24px 28px 22px;
  background: #d8d8d8 url("assets/images/contactBack.jpeg") center / cover no-repeat;
  overflow: hidden;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 25%, rgba(255,255,255,.48) 49%, rgba(255,255,255,.05) 70%);
  pointer-events: none;
}

.contact-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.contact-intro {
  max-width: 500px;
  margin-bottom: 18px;
}

.contact-intro h1 {
  margin: 0 0 12px;
  color: #111;
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.045em;
}

.contact-intro h1::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 8px;
  background: var(--lcn-gold);
}

.contact-intro h1 span { color: var(--lcn-gold); }
.contact-intro p { margin: 0; color: #222; font-weight: 600; line-height: 1.45; }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 305px));
  gap: 14px;
  margin-bottom: 16px;
}

.contact-card,
.contact-form-card,
.partnership-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 7px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.contact-card { min-height: 220px; padding: 18px 20px; }
.contact-card h2, .contact-form-card h2, .partnership-card h2 { margin: 0; color: #151515; font-size: 1.05rem; font-weight: 800; }
.contact-card h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.contact-card-icon { color: var(--lcn-gold); font-size: 1.75rem; line-height: 1; }
.contact-details, .office-hours dl { margin: 0; }
.contact-details > div { margin-bottom: 12px; }
.contact-details > div:last-child { margin-bottom: 0; }
.contact-details dt { display: flex; gap: 12px; align-items: center; margin-bottom: 4px; font-weight: 800; }
.contact-details dt span { width: 26px; font-size: 1.2rem; }
.contact-details dd { margin: 0 0 0 0px; color: #222; font-size: .9rem; line-height: 1.45; }
.contact-details a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--lcn-gold); }

.office-hours dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; border-bottom: 1px dashed #d4d4d4; }
.office-hours dl > div:last-child { border-bottom: 0; }
.office-hours dt, .office-hours dd { margin: 0; font-size: .9rem; }
.office-hours dd { text-align: right; }

.contact-bottom-grid { display: grid; grid-template-columns: minmax(0, 1fr) 345px; gap: 18px; align-items: stretch; }
.contact-form-card { padding: 18px 20px; }
.contact-form-card h2 { margin-bottom: 12px; }
.message-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: end; }
.message-fields { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.message-form label { display: block; }
.message-form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.message-form input, .message-form textarea { width: 100%; border: 1px solid #ddd; border-radius: 3px; background: #fff; padding: 10px 12px; color: #222; font: inherit; }
.message-form input:focus, .message-form textarea:focus { outline: none; border-color: var(--lcn-gold); box-shadow: 0 0 0 3px rgba(218,83,10,.1); }
.message-area textarea { min-height: 76px; resize: vertical; }
.contact-send { min-height: 46px; padding: 0 20px; border: 0; border-radius: 3px; background: #080808; color: #fff; font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.contact-send:hover { background: var(--lcn-gold); }

.partnership-card { display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; background: rgba(255,248,232,.97); width: 44vw;}
.partnership-card h2 { display: flex; gap: 10px; align-items: center; }
.partnership-card h2 span { color: var(--lcn-gold); font-size: 1.55rem; }
.partnership-card p { margin: 14px 0; color: #222; line-height: 1.4; }
.partnership-card a { display: block; padding: 11px 16px; border-radius: 3px; background: var(--lcn-gold); color: #fff; text-align: center; text-decoration: none; font-weight: 800; }
.partnership-card a:hover { filter: brightness(.92); }

@media (max-width: 900px) {
  .contact-main { padding: 36px 20px; background-position: 64% center; }
  .contact-overlay { background: rgba(255,255,255,.78); backdrop-filter: blur(2px); }
  .contact-intro { max-width: 650px; }
  .contact-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .contact-main { padding: 28px 14px; }
  .contact-info-grid, .message-fields { grid-template-columns: 1fr; }
  .contact-card { min-height: 0; }
  .message-form { grid-template-columns: 1fr; }
  .message-fields { grid-column: auto; }
  .contact-send { width: 100%; }
  .contact-form-card, .partnership-card { padding: 22px 18px; }
}

/* Site-wide mobile refinements. Desktop rules above remain unchanged. */
@media (max-width: 768px) {
  html,
  body.lcn-site {
    max-width: 100%;
    overflow-x: hidden;
  }

  .lcn-header-top .lcn-wrap {
    width: 100%;
    min-height: 70px;
    padding: 10px 14px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .lcn-brand {
    min-width: 0;
  }

  .lcn-nav {
    top: 70px;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    align-items: stretch;
  }

  .lcn-nav .lcn-nav-btn {
    width: 100%;
    margin: 0;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .lcn-main,
  .article-main {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .banner {
    min-height: 260px;
    padding: 30px 16px 24px;
  }

  .banner .lcn-section-header {
    margin-bottom: 18px;
  }

  .lcn-section-title,
  .jobs-banner .lcn-section-title {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .flex,
  .jobs-banner .flex {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .banner .lcn-search-container,
  .lcn-search-container,
  .jobs-banner .lcn-search-container {
    width: 100%;
    max-width: 100%;
    height: 54px;
    margin: 0;
  }

  .lcn-search-input {
    width: auto;
    min-width: 0;
    padding: 12px 14px;
    font-size: 16px;
  }

  .lcn-search-button {
    width: 68px;
    height: 52px;
    flex: 0 0 68px;
  }

  .lcn-container,
  .jobs-layout,
  .submit-shell,
  .article-page-layout {
    width: 100%;
    min-width: 0;
  }

  .lcn-content-main,
  .lcn-news-feed,
  .jobs-content,
  .job-list,
  .submit-panel,
  .article-detail {
    width: 100%;
    min-width: 0;
  }

  .lcn-news-feed {
    gap: 16px;
  }

  .lcn-news-item {
    width: 100%;
    min-width: 0;
    gap: 16px;
    padding: 14px;
  }

  .lcn-news-image {
    height: auto;
    min-height: 180px;
    aspect-ratio: 16 / 10;
  }

  .lcn-news-title,
  .lcn-news-excerpt,
  .lcn-news-meta,
  .job-info,
  .job-description,
  .article-detail-content {
    overflow-wrap: anywhere;
  }

  .lcn-news-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .lcn-view-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .pagination {
    max-width: 100%;
    margin: 8px 0 0;
    flex-wrap: wrap;
    gap: 7px;
  }

  .pagination li a {
    min-width: 42px;
    min-height: 42px;
    margin: 0;
    padding: 10px;
    text-align: center;
  }

  .lcn-sidebar-right,
  .article-ad-sidebar,
  .jobs-layout > .lcn-sidebar-right,
  .submit-shell > .lcn-sidebar-right {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: static;
  }

  .lcn-ad-panel,
  .jobs-layout .lcn-ad-panel,
  .article-ad-sidebar .lcn-ad-panel {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    overflow: hidden;
  }

  .lcn-ad-title {
    margin-bottom: 0;
  }

  .lcn-ad-placeholder,
  .jobs-layout .lcn-ad-placeholder,
  .article-ad-sidebar .lcn-ad-placeholder {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
  }

  .lcn-ad-placeholder img,
  .jobs-layout .lcn-ad-placeholder img,
  .article-ad-sidebar .lcn-ad-placeholder img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .post-job-button,
  .job-submit,
  .submit-button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  .jobs-heading {
    gap: 14px;
  }

  .sort-select {
    width: 100%;
    min-width: 0;
  }

  .job-card {
    width: 100%;
    min-width: 0;
    padding: 14px;
  }

  .post-job-section {
    margin-top: 26px;
  }

  .article-detail-heading h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    overflow-wrap: anywhere;
  }

  .article-detail-content img,
  .article-main > footer img,
  .lcn-footer img {
    max-width: 100%;
    height: auto;
  }

  .admin-header {
    min-height: 76px;
    padding: 10px 14px;
    gap: 12px;
  }

  .admin-header .lcn-logo {
    max-height: 54px;
    object-fit: contain;
  }

  .admin-main {
    width: calc(100% - 24px);
    margin: 24px auto;
  }

  .admin-login-panel,
  .admin-product-form,
  .admin-advert-form {
    width: 100%;
    padding: 20px 16px;
  }

  .admin-tabs {
    width: 100%;
    padding-bottom: 4px;
    flex-wrap: wrap;
    overflow: visible;
  }

  .admin-tabs button {
    flex: 1 1 calc(50% - 4px);
    margin-bottom: 0;
  }

  .admin-portal-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .admin-article-actions > button,
  .admin-advert-actions > button,
  .admin-preview-actions > button {
    flex: 1 1 140px;
    min-height: 44px;
  }

  .admin-pagination {
    flex-wrap: wrap;
  }

  .admin-preview-actions {
    padding: 14px;
    flex-wrap: wrap;
  }

  .contact-wrap,
  .contact-bottom-grid,
  .partnership-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .office-hours dl > div {
    align-items: flex-start;
  }

  .partnership-card a,
  .site-footer-contact {
    overflow-wrap: anywhere;
  }

  .site-footer,
  .site-footer-inner,
  .site-footer-brand,
  .site-footer-column {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .lcn-main,
  .article-main {
    padding-left: 8px;
    padding-right: 8px;
  }

  .banner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .lcn-news-actions > *,
  .lcn-view-btn,
  .lcn-share-btn {
    width: 100%;
    justify-content: center;
  }

  .article-detail-heading,
  .article-detail-content,
  .admin-preview-header > div,
  .admin-preview-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .office-hours dl > div {
    flex-direction: column;
    gap: 3px;
  }

  .office-hours dd {
    text-align: left;
  }
}
