/* Aussie Insight – style.css */

/* ===== CSS RESET & NORMALIZE ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #FCFAF5;
  color: #253626;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ===== FONT FACE (Web Safe Fallbacks) ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

/* ====== COLOR & STYLE VARIABLES (Provide Fallbacks) ====== */
:root {
  --primary: #0A2239;
  --secondary: #E8C547;
  --accent: #F4F4F9;
  --organic-green: #617858;
  --organic-brown: #AA9472;
  --organic-earth: #F6F2E7;
  --card-bg: #FFFFFF;
  --border-radius: 18px;
  --shadow: 0 6px 24px 0 rgba(80,76,72,0.08);
  --shadow-dark: 0 2px 12px 0 rgba(37,54,38,0.12);
  --transition: .22s cubic-bezier(0.85, 0, 0.15, 1);
}

/* ====== GENERAL LAYOUT & CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
main {
  flex: 1 0 auto;
  margin-top: 88px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  background: var(--organic-earth);
  box-shadow: var(--shadow);
}

/* ====== ORGANIC SHAPES (Subtle Section Accents) ====== */
.hero, .category-hero, .subscribe-hero, .policy-content, .confirmation {
  background: var(--accent);
  border-radius: 0 0 72px 0 / 0 0 72px 0;
  padding-top: 48px;
  box-shadow: none;
}

/* ================= HEADINGS & TYPOGRAPHY =============== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.8rem;
  font-weight: 600;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
}
p, ul, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #253626;
  font-size: 1rem;
  line-height: 1.8;
}
.subheadline {
  color: var(--organic-green);
  font-size: 1.18rem;
  font-weight: 500;
}
.privacy-note {
  font-size: 0.95rem;
  color: var(--organic-brown);
}

/* ========== LINKS, BUTTONS & CTAS ========= */
a {
  color: var(--organic-green);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.cta-primary {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: bold;
  margin: 12px 0 0 0;
  padding: 15px 36px;
  border-radius: 40px 22px 38px 26px / 26px 36px 24px 32px; /* organic shape */
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background var(--transition),box-shadow var(--transition),transform var(--transition);
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--organic-green);
  color: #fff;
  box-shadow: var(--shadow-dark);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}
button, .feature-grid button, .popular-tags button, .sector-filters button, .filters button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 30px 14px 26px 10px / 12px 26px 24px 22px;
  background: var(--organic-green);
  color: #fff;
  padding: 9px 22px;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background var(--transition),box-shadow var(--transition);
  box-shadow: 0 1px 4px rgba(97,120,88,0.10);
}
button:hover, .feature-grid button:hover, .popular-tags button:hover, .sector-filters button:hover, .filters button:hover {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 2px 12px 0 rgba(97,120,88,0.14);
}
button:active {
  background: #6b8c61;
}

/* ============= HEADER & NAVIGATION ============= */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 88px;
  background: #fff;
  box-shadow: 0 3px 16px 0 rgba(10,34,57,0.08);
  z-index: 100;
  display: flex;
  align-items: center;
  width: 100%;
}
header nav {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
header nav > a {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
header nav img {
  height: 42px;
}
header nav ul {
  display: flex;
  flex-direction: row;
  gap: 32px;
  list-style: none;
  margin-left: 20px;
  margin-right: auto;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  border-radius: 14px;
  padding: 7px 14px;
  transition: background var(--transition);
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: var(--organic-earth);
}
header .cta-primary {
  margin-left: 18px;
  padding: 7px 22px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--organic-green);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 9px 18px;
  margin-left: 18px;
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* =============== MOBILE MENU =============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 0 0 0;
  box-shadow: -3px 0 16px 0 rgba(10,34,57,0.08);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.1rem;
  padding: 6px 22px;
  align-self: flex-end;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 2;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--organic-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--organic-earth);
  transition: color var(--transition), background var(--transition);
  border-radius: 4px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--organic-green);
  background: var(--accent);
}

/* =============== HERO, CATEGORY-HERO, & MAIN HIGHLIGHTS ============== */
.hero .container,
.category-hero .container,
.subscribe-hero .container,
.policy-content .container,
.confirmation .container {
  padding-top: 24px;
  padding-bottom: 24px;
}
.hero .content-wrapper,
.category-hero .content-wrapper,
.subscribe-hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.top-stories-teaser {
  background: var(--organic-earth);
  border-radius: var(--border-radius);
  padding: 18px 22px;
  margin-top: 18px;
  box-shadow: var(--shadow);
}
.top-stories-teaser h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--organic-green);
}
.top-stories-teaser ul {
  list-style: disc inside;
  color: var(--primary);
  margin-left: 8px;
}
.top-stories-teaser ul li a {
  color: var(--organic-green);
  font-weight: 500;
}

.market-trends-highlight, .tech-news-brief {
  margin-top: 14px;
  background: var(--organic-earth);
  border-radius: var(--border-radius);
  padding: 13px 20px;
  box-shadow: var(--shadow);
}

/* ================ FEATURES & FLEX GRIDS ================ */
.features, .feature-grid, .news-list, .news-articles-grid, .company-news-grid, .featured-articles, .article-cards, .editor-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid div, .news-list article, .news-articles-grid article, .company-news-grid article, .featured-articles article, .article-cards article, .editor-picks article {
  flex: 1 1 260px;
  min-width: 220px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.feature-grid div:hover,
.news-list article:hover,
.news-articles-grid article:hover,
.company-news-grid article:hover,
.featured-articles article:hover,
.article-cards article:hover,
.editor-picks article:hover {
  box-shadow: var(--shadow-dark);
  transform: translateY(-4px) scale(1.012);
}
.feature-grid img, .editor-picks img, .featured-articles img {
  width: 44px; height: 44px;
  margin-bottom: 3px;
}
.feature-grid h3, .editor-picks h3, .featured-articles h2, .article-cards h2 {
  color: var(--organic-green);
}
.feature-grid p { color: #4a5f31; }

.news-list article a { font-weight: 600; }

.category-tags {
  display: flex;
  gap: 10px;
  margin: 10px 0 8px 0;
}
.category-tags span {
  background: var(--organic-green);
  color: #fff;
  border-radius: 13px;
  font-size: 0.85rem;
  padding: 3px 14px;
  font-weight: 500;
  letter-spacing: 0;
}
.filters, .popular-tags, .sector-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 30px;
}
.filters > div,
.sector-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

/* ========= TESTIMONIALS & HIGHLIGHT QUOTES ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 22px 30px 24px 14px / 16px 28px 20px 20px;
  box-shadow: 0 3px 12px 0 rgba(97,120,88,0.13);
  margin-bottom: 20px;
  color: #273d2b;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #2b4c21;
}
.testimonial-card strong {
  font-size: 1rem;
  color: var(--organic-brown);
  font-weight: 600;
  margin-left: 10px;
}

.highlight-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

/* ========== LISTS, UL, OL ========= */
ul, ol {
  list-style: outside;
  margin: 12px 0 12px 20px;
  padding-left: 10px;
}
.section ul li, .newsletter-cta ul li, .subscription-cta ul li, .market-trends-highlight ul li, .event-previews ul li, .tech-news-brief ul li, .finance-updates ul li {
  margin-bottom: 5px;
  font-size: 1rem;
}

/* ========== CALL-TO-ACTION SECTIONS ========== */
.subscription-cta, .newsletter-cta, .submit-opinion-cta, .cta-block {
  background: var(--organic-green);
  color: #fff;
  border-radius: 22px;
  margin-bottom: 60px;
  padding: 40px 22px;
  box-shadow: var(--shadow-dark);
  text-align: left;
}
.subscription-cta h2, .newsletter-cta h2, .submit-opinion-cta h2, .cta-block h2 {
  color: #fff;
}
.subscription-cta ul,
.newsletter-cta ul,
.submit-opinion-cta ul,
.cta-block ul {
  color: #fff;
  font-size: 1rem;
}
.subscription-cta .cta-primary,
.newsletter-cta .cta-primary,
.submit-opinion-cta .cta-primary,
.cta-block .cta-primary {
  background: #fff;
  color: var(--organic-green);
  margin-top: 18px;
}
.subscription-cta .cta-primary:hover,
.newsletter-cta .cta-primary:hover,
.submit-opinion-cta .cta-primary:hover,
.cta-block .cta-primary:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* ============== FOOTER ============== */
footer {
  background: var(--primary);
  color: #fff;
  padding-top: 36px;
  padding-bottom: 0;
  margin-top: 40px;
}
footer .container {
  max-width: 1240px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 38px 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 36px;
}
.footer-brand img {
  height: 40px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-nav a, .footer-legal a {
  color: #fff;
  opacity: 0.84;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.95rem;
  margin-bottom: 7px;
  color: #e4edde;
  opacity: 0.94;
}
.footer-contact img {
  width: 18px; height: 18px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 9px;
}
.footer-social a {
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 5px rgba(10,34,57,0.14);
}
.footer-social a:hover {
  background: var(--secondary);
}
.footer-social img {
  width: 16px; height: 16px;
}

/* ======= POLICY & STATIC PAGES ======= */
.policy-content {
  background: var(--accent);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 48px 20px 36px 20px;
  min-height: 340px;
  box-shadow: var(--shadow);
}
.policy-content h1,
.policy-content h2 {
  color: var(--primary);
  margin-bottom: 12px;
}
.policy-content ul li {
  color: #3d5543;
  margin-bottom: 8px;
}

/* ======= SPACING AND UTILITY CLASSES ======= */
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.pt-20 { padding-top: 20px !important; }

/* =========== SPECIAL SECTIONS =========== */
.contact-details {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--organic-green);
  font-size: 1rem;
  margin-bottom: 6px;
}
.market-trends-highlight h3, .finance-updates h3, .event-previews h3, .startup-spotlights h3, .product-reviews h3 {
  font-size: 1.1rem;
  color: var(--organic-green);
  margin-bottom: 8px;
}

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: #fffbe9;
  color: #273d2b;
  border-top: 2px solid var(--organic-brown);
  box-shadow: 0 -2px 18px 0 rgba(97,120,88,0.14);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 18px 20px 18px 28px;
  font-size: 1rem;
  transition: transform 0.36s cubic-bezier(.79,.14,.35,1), opacity 0.29s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .cookie-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 20px 30px 16px 28px / 13px 34px 18px 24px;
  padding: 8px 24px;
  margin: 0 3px;
  background: var(--organic-green);
  color: #fff;
  box-shadow: 0 2px 6px 0 rgba(97,120,88,0.13);
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-banner .cookie-button.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-button.accept:hover {
  background: var(--organic-green);
  color: #fff;
}
.cookie-banner .cookie-button.reject {
  background: #e66b4d;
  color: #fff;
}
.cookie-banner .cookie-button.reject:hover {
  background: #c2422d;
}
.cookie-banner .cookie-button.settings {
  background: var(--organic-brown);
}
.cookie-banner .cookie-button.settings:hover {
  background: #dbc49e;
  color: #253626;
}

/* ====== COOKIE MODAL ====== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 200000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16,32,24,0.24);
  display: none;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .27s;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 30px 22px 18px 38px / 32px 20px 40px 24px;
  padding: 36px 32px 28px 32px;
  min-width: 320px; max-width: 98vw;
  box-shadow: 0 10px 60px 0 rgba(44,75,58,0.24);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInSlight .33s cubic-bezier(0.71,0,0.29,1);
}
@keyframes fadeInSlight {
  from { transform: scale(0.96) translateY(40px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #253626;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}
.cookie-category input[type='checkbox'] {
  width: 22px; height: 22px;
  accent-color: var(--organic-green);
}
.cookie-category.disabled label {
  color: #a7b7a1;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
}

/* ======== RESPONSIVENESS (MOBILE FIRST) ========= */
/* Mobile first: All containers flex-direction: column by default */
@media (max-width: 1024px) {
  .footer-contact, .footer-brand, .footer-nav, .footer-legal, .footer-social {
    width: 100%;
    min-width: 0;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  body, main {
    font-size: 15px;
  }
  .container {
    padding: 0 16px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .feature-grid,
  .news-list,
  .news-articles-grid,
  .company-news-grid,
  .featured-articles,
  .article-cards,
  .editor-picks {
    gap: 16px;
  }
  .filters, .sector-filters { gap: 9px; }
}
@media (max-width: 768px) {
  header nav ul, header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 18px;
  }
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 12px;
  }
  main {
    margin-top: 62px;
  }
  .footer-social {
    gap: 10px;
  }
  .section, .policy-content, .subscription-cta, .newsletter-cta, .submit-opinion-cta, .cta-block {
    padding: 24px 7px;
    margin-bottom: 34px;
  }
  .hero, .category-hero, .subscribe-hero {
    border-radius: 0 0 36px 0 / 0 0 36px 0;
    padding-top: 18px;
  }
  /* All grid/flex containers become column */
  .feature-grid,
  .news-list,
  .news-articles-grid,
  .company-news-grid,
  .featured-articles,
  .article-cards,
  .editor-picks,
  .highlight-quotes {
    flex-direction: column;
    gap: 0;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  .top-stories-teaser, .market-trends-highlight, .finance-updates, .event-previews, .tech-news-brief {
    padding: 10px 9px;
    border-radius: 14px;
  }
  .filters > div, .sector-filters, .popular-tags {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.07rem; }
  .cta-primary, button {
    font-size: 0.98rem;
    padding: 11px 18px;
  }
  .footer-brand img { height: 29px; }
  .section, .policy-content {
    padding: 10px 3px;
  }
  .testimonial-card {
    padding: 9px;
  }
  header {
    height: 56px;
  }
  main { margin-top: 52px; }
  .mobile-menu {
    padding-top: 10px;
  }
}

/* ======== MISCELLANEOUS & STANDARD HTML ELEMENTS ========= */
img {
  max-width: 100%;
  display: block;
}
strong { font-weight: 700; }
eb, i { font-style: italic; }
hr {
  border: none;
  border-top: 1px solid var(--organic-earth);
  margin: 16px 0;
}

/* ==================== END ==================== */
