/* Auckland Casinos redesign */
:root {
  --ac-blue: #0871fa;
  --ac-blue-dark: #0558c7;
  --ac-navy: #15224c;
  --ac-text: #1a1a1a;
  --ac-muted: #6b7280;
  --ac-gray: #e8eaef;
  --ac-gray-block: #d9dde5;
  --ac-white: #ffffff;
  --ac-max: 1120px;
  --ac-font: "Manrope", "Segoe UI", sans-serif;
}

body.auckland-design {
  font-family: var(--ac-font);
  color: var(--ac-text);
  background: var(--ac-white);
  line-height: 1.55;
  margin: 0;
}

body.auckland-design #page,
body.auckland-design .site {
  background: var(--ac-white);
}

body.auckland-design .site-content,
body.auckland-design #content {
  padding: 0 0 48px;
}

/* Hide Mahalo chrome that conflicts with redesign */
body.auckland-design .theme-header .header-navbar .header-item-right,
body.auckland-design .theme-at-home,
body.auckland-design .icon-sidr,
body.auckland-design .mahalo-header-ticker,
body.auckland-design .header-ticker,
body.auckland-design #widgets-nav,
body.auckland-design .theme-header .header-mainbar .header-promo-layout_1,
body.auckland-design .aside-branding-ad,
body.auckland-design .header-advertise,
body.auckland-design .entry-meta-byline,
body.auckland-design .author.vcard,
body.auckland-design .booster-author,
body.auckland-design .booster-author-block,
body.auckland-design .be-author-details,
body.auckland-design .be-author-block {
  display: none !important;
}

/* ===== Header ===== */
.auckland-site-header {
  background: var(--ac-white);
  border-bottom: none;
}

.auckland-site-header__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 20px 18px;
}

.auckland-logo img {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(320px, 80vw);
}

.auckland-nav {
  background: var(--ac-blue);
}

.auckland-nav__inner {
  max-width: var(--ac-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin-block: 0;
}

.auckland-nav__inner > li {
  list-style: none;
  margin: 0;
}

.auckland-nav__inner > li > a {
  display: block;
  color: var(--ac-white) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 18px;
  transition: background 0.2s ease;
}

.auckland-nav__inner > li > a:hover,
.auckland-nav__inner > li.current-menu-item > a,
.auckland-nav__inner > li.current_page_item > a,
.auckland-nav__inner > li.current-cat > a {
  background: var(--ac-blue-dark);
}

.auckland-nav__toggle {
  display: none;
  background: var(--ac-blue);
  color: #fff;
  border: 0;
  width: 100%;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

@media (max-width: 768px) {
  .auckland-nav__toggle { display: block; }
  .auckland-nav__inner {
    display: none;
    flex-direction: column;
    padding: 0;
  }
  .auckland-nav.is-open .auckland-nav__inner { display: flex; }
  .auckland-nav__inner > li > a { width: 100%; padding: 12px 20px; }
}

/* ===== Layout ===== */
.auckland-wrap {
  max-width: var(--ac-max);
  margin: 0 auto;
  padding: 28px 20px 0;
}

.auckland-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 900px) {
  .auckland-layout {
    grid-template-columns: 1fr;
  }
}

.auckland-page-title {
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--ac-text);
  letter-spacing: -0.02em;
}

/* ===== Cards / posts grid ===== */
.auckland-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 22px;
}

@media (max-width: 900px) {
  .auckland-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .auckland-posts { grid-template-columns: 1fr; }
}

.auckland-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.auckland-card__media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ac-gray);
  margin-bottom: 12px;
}

.auckland-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auckland-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
}

.auckland-card__title a {
  color: var(--ac-text);
  text-decoration: none;
}

.auckland-card__title a:hover {
  color: var(--ac-blue);
}

.auckland-card__excerpt {
  color: var(--ac-muted);
  font-size: 1.18rem;
  margin: 0 0 10px;
  flex: 1;
  line-height: 1.5;
}

.auckland-card__more {
  color: var(--ac-blue) !important;
  font-weight: 700;
  font-size: 1.18rem;
  text-decoration: none;
}

.auckland-card__more:hover {
  text-decoration: underline;
}

/* ===== Sidebar ===== */
.auckland-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.auckland-widget h3,
.auckland-sidebar .widget-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ac-text);
}

.auckland-cat-list,
.auckland-tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.auckland-cat-list li,
.auckland-tag-list li {
  margin: 0 0 6px;
}

.auckland-cat-list a,
.auckland-tag-list a {
  color: var(--ac-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
}

.auckland-cat-list a:hover,
.auckland-tag-list a:hover {
  text-decoration: underline;
}

.auckland-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.auckland-tag-list li { margin: 0; }

/* Gray block */
.auckland-gray-block {
  background: var(--ac-gray-block);
  padding: 18px 16px;
  border-radius: 4px;
}

.auckland-gray-block__title {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 800;
}

.auckland-gray-block__text {
  font-size: 1.18rem;
  color: #374151;
  margin-bottom: 10px;
  line-height: 1.5;
}

.auckland-gray-block__text p { margin: 0 0 8px; }

.auckland-gray-block__list {
  margin: 0;
  padding-left: 18px;
}

.auckland-gray-block__list li { margin: 0 0 6px; }

.auckland-gray-block__list a {
  color: var(--ac-blue);
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
}

.auckland-gray-block__list a:hover { text-decoration: underline; }

/* ===== Single / page ===== */
.auckland-article {
  max-width: 100%;
}

.auckland-single-layout .auckland-article {
  max-width: none;
}

.auckland-single-sidebar {
  position: sticky;
  top: 24px;
}

.auckland-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--ac-gray);
}

.auckland-post-nav__prev,
.auckland-post-nav__next {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.auckland-post-nav__next {
  text-align: right;
  align-items: flex-end;
}

.auckland-post-nav__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ac-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auckland-post-nav a {
  color: var(--ac-blue);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  line-height: 1.35;
}

.auckland-post-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .auckland-post-nav {
    grid-template-columns: 1fr;
  }
  .auckland-post-nav__next {
    text-align: left;
    align-items: flex-start;
  }
}

.auckland-article .entry-title,
.auckland-article h1 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 800;
  margin: 0 0 18px;
  line-height: 1.25;
}

.auckland-article .entry-content {
  font-size: 1.05rem;
  color: #222;
}

.auckland-article .entry-content p {
  margin: 0 0 1.1em;
}

.auckland-article .entry-content a {
  color: var(--ac-blue);
}

.auckland-article-hero {
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 22px;
  aspect-ratio: 16 / 9;
  background: var(--ac-gray);
}

.auckland-article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auckland-archive-desc {
  color: var(--ac-muted);
  margin: -8px 0 22px;
  max-width: 640px;
}

/* Pagination */
.auckland-pagination {
  margin-top: 28px;
}

.auckland-pagination .nav-links,
.auckland-pagination .pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.auckland-pagination a,
.auckland-pagination span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--ac-gray);
  color: var(--ac-navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.auckland-pagination .current {
  background: var(--ac-blue);
  color: #fff;
}

/* ===== Footer ===== */
.auckland-footer {
  background: var(--ac-navy);
  color: #fff;
  margin-top: 40px;
  border-top: 3px solid var(--ac-blue);
  padding: 40px 20px 28px;
}

.auckland-footer__inner {
  max-width: var(--ac-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 800px) {
  .auckland-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.auckland-footer__brand img {
  height: 44px;
  width: auto;
  max-width: 260px;
  display: block;
  margin-bottom: 12px;
}

.auckland-footer__copy {
  color: #b7bfd4;
  font-size: 0.85rem;
  margin: 0;
}

.auckland-footer__col {
  list-style: none;
  margin: 0;
  padding: 0;
}

.auckland-footer__col li { margin: 0 0 8px; }

.auckland-footer__col a {
  color: #fff !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.auckland-footer__col a:hover {
  text-decoration: underline;
}

/* Hide default Mahalo footer widgets when custom footer used */
body.auckland-design #site-footer .footer-widgetarea,
body.auckland-design #site-footer .site-info,
body.auckland-design #site-footer .theme-footer-top,
body.auckland-design #site-footer .theme-footer-bottom {
  display: none !important;
}

body.auckland-design #site-footer {
  background: transparent;
  padding: 0;
  margin: 0;
}

.auckland-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -6px 0 18px;
  color: var(--ac-muted);
  font-size: 1.05rem;
  font-weight: 600;
}
.auckland-article-meta__sep { opacity: 0.5; }
.auckland-article-author { color: var(--ac-navy); }
.auckland-article .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 1rem;
}
.auckland-article .entry-content th,
.auckland-article .entry-content td {
  border: 1px solid #d5dae3;
  padding: 10px 12px;
  text-align: left;
}
.auckland-article .entry-content th { background: #eef2f8; }
.auckland-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 1.3em 0;
}
@media (max-width: 640px) {
  .auckland-pros-cons { grid-template-columns: 1fr; }
}
.auckland-pros, .auckland-cons {
  border-radius: 8px;
  padding: 14px 16px;
}
.auckland-pros { background: #e8f6ee; border: 1px solid #b7e0c6; }
.auckland-cons { background: #fdeeee; border: 1px solid #efc0c0; }
.auckland-pros h3, .auckland-cons h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.auckland-pros ul, .auckland-cons ul { margin: 0; padding-left: 18px; }
.auckland-source {
  font-size: 0.95rem;
  color: var(--ac-muted);
  margin-top: 1.4em;
  padding-top: 12px;
  border-top: 1px solid var(--ac-gray);
}
