*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2d2d2d;
  background-color: #f8f9fa;
}

/* Container */
.container,
.site-content,
.entry-content,
.page-content,
#page,
#content,
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header */
#masthead,
.site-header,
header[role="banner"],
header {
  background-color: #1a5c2a;
  color: #ffffff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.site-branding,
.site-title-area {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-title,
.site-branding h1,
.site-branding .site-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

.site-title a,
.site-branding h1 a,
.site-branding .site-name a {
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.site-title a:hover,
.site-branding h1 a:hover {
  color: #a8d5a2;
}

.site-description,
.site-tagline {
  font-size: 0.85rem;
  color: #c8e6c9;
  margin: 0;
  font-style: italic;
}

/* Logo */
.site-logo img,
.custom-logo,
.site-branding img {
  max-height: 70px;
  width: auto;
}

/* Navigation */
nav,
#site-navigation,
.main-navigation,
.primary-navigation,
.top-bar,
.nav-menu {
  background-color: #1a5c2a;
}

.main-navigation ul,
.nav-menu ul,
.top-bar ul,
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.main-navigation ul li,
.nav-menu ul li,
nav ul li {
  position: relative;
}

.main-navigation ul li a,
.nav-menu ul li a,
nav ul li a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-navigation ul li a:hover,
.nav-menu ul li a:hover,
nav ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
  background-color: #2e7d44;
  color: #ffffff;
}

/* Dropdown menus */
.main-navigation ul ul,
.nav-menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1e6b30;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  flex-direction: column;
}

.main-navigation ul li:hover > ul,
.nav-menu ul li:hover > ul {
  display: flex;
}

.main-navigation ul ul li a,
.nav-menu ul ul li a {
  padding: 0.65rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile nav toggle */
.menu-toggle,
.hamburger,
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  margin: 0.5rem 1rem;
}

/* Breadcrumb */
.breadcrumb,
.breadcrumbs,
#breadcrumbs,
.yoast-breadcrumb {
  background-color: #e8f5e9;
  padding: 0.6rem 1.5rem;
  font-size: 0.82rem;
  color: #555;
  border-bottom: 1px solid #c8e6c9;
}

.breadcrumb a,
.breadcrumbs a,
.yoast-breadcrumb a {
  color: #1a5c2a;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumbs a:hover,
.yoast-breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span,
.breadcrumbs span {
  margin: 0 0.3rem;
  color: #888;
}

/* Main content area */
#main,
.site-main,
main[role="main"],
main {
  padding: 2rem 0;
  min-height: 60vh;
}

/* Page/Post layout */
.content-area,
#primary {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* With sidebar */
.has-sidebar #primary,
.with-sidebar .content-area {
  float: left;
  width: 68%;
}

.has-sidebar #secondary,
.sidebar,
#secondary {
  float: right;
  width: 28%;
  padding-left: 1.5rem;
}

/* Entry */
.entry-header,
.page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #1a5c2a;
}

.entry-title,
.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a3d20;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.entry-meta,
.post-meta {
  font-size: 0.82rem;
  color: #777;
  margin-top: 0.5rem;
}

.entry-meta a,
.post-meta a {
  color: #1a5c2a;
  text-decoration: none;
}

.entry-content,
.page-content,
.entry-summary {
  max-width: 100%;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1a3d20;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

/* Paragraphs */
p {
  margin-bottom: 1.25rem;
  color: #333;
}

/* Links */
a {
  color: #1a5c2a;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0e3d1a;
  text-decoration: underline;
}

a:visited {
  color: #145023;
}

/* Lists */
ul, ol {
  margin: 0 0 1.25rem 1.5rem;
  padding: 0;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li {
  margin-bottom: 0.4rem;
  color: #333;
}

.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.entry-content li,
.page-content li {
  margin-bottom: 0.4rem;
}

/* Navigation list reset */
nav ul,
nav ol,
.main-navigation ul,
.nav-menu ul,
.widget ul,
.widget ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow: hidden;
}

thead {
  background-color: #1a5c2a;
  color: #ffffff;
}

thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.15s ease;
}

tbody tr:hover {
  background-color: #f0f7f1;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody td {
  padding: 0.75rem 1rem;
  vertical-align: top;
  color: #333;
}

tfoot td {
  padding: 0.75rem 1rem;
  background-color: #f5f5f5;
  font-weight: 600;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.entry-content img,
.page-content img {
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: center;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 1rem;
}

.wp-caption-text,
.wp-caption p {
  font-size: 0.82rem;
  color: #666;
  text-align: center;
  margin-top: 0.3rem;
  font-style: italic;
}

/* Buttons */
.button,
.btn,
input[type="submit"],
input[type="button"],
button,
.wp-block-button__link {
  display: inline-block;
  background-color: #1a5c2a;
  color: #ffffff;
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
  line-height: 1.5;
}

.button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.wp-block-button__link:hover {
  background-color: #0e3d1a;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.button-secondary,
.btn-secondary {
  background-color: #4caf50;
  color: #fff;
}

.button-secondary:hover,
.btn-secondary:hover {
  background-color: #388e3c;
}

/* Forms */
form {
  margin-bottom: 1.5rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0.75rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #1a5c2a;
  box-shadow: 0 0 0 3px rgba(26, 92, 42, 0.15);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #333;
  font-size: 0.9rem;
}

/* Search form */
.search-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.search-form input[type="search"] {
  flex: 1;
  margin-bottom: 0;
}

.search-form input[type="submit"] {
  width: auto;
}

/* Cards / Panels */
.card,
.panel,
.content-box {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hero / Banner */
.hero,
.banner,
.page-hero,
.hero-section {
  background: linear-gradient(135deg, #1a5c2a 0%, #2e7d44 50%, #4caf50 100%);
  color: #ffffff;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1,
.banner h1,
.page-hero h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-top: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero p,
.banner p,
.page-hero p {
  color: #e8f5e9;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

/* Webinar / Course sections */
.webinar-list,
.course-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.webinar-item,
.course-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.webinar-item:hover,
.course-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.webinar-item img,
.course-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 0;
  border-radius: 0;
}

.webinar-item-content,
.course-item-content {
  padding: 1rem;
}

/* Sidebar */
#secondary,
.widget-area,
aside {
  font-size: 0.92rem;
}

.widget {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.07);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.widget-title,
.widgettitle {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3d20;
  margin-top: 0;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1a5c2a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.widget ul li a:hover {
  color: #1a5c2a;
}

/* Footer */
#colophon,
.site-footer,
footer[role="contentinfo"],
footer {
  background-color: #1a3d20;
  color: #c8e6c9;
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
}

.site-footer .widget-title,
.site-footer .widgettitle {
  color: #ffffff;
  border-bottom-color: #4caf50;
}

.site-footer a {
  color: #a5d6a7;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-info,
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: #81c784;
  text-align: center;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Pagination */
.pagination,
.nav-links,
.post-navigation,
.posts-navigation {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.pagination .page-numbers,
.nav-links a,
.nav-links span {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #1a5c2a;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.pagination .page-numbers:hover,
.nav-links a:hover {
  background-color: #1a5c2a;
  color: #fff;
  border-color: #1a5c2a;
}

.pagination .page-numbers.current {
  background-color: #1a5c2a;
  color: #fff;
  border-color: #1a5c2a;
}

/* Post navigation */
.post-navigation {
  justify-content: space-between;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #e8f5e9;
  border-radius: 4px;
  color: #1a5c2a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #1a5c2a;
  color: #fff;
}

/* Blockquote */
blockquote {
  border-left: 4px solid #1a5c2a;
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background-color: #f0f7f1;
  color: #444;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

blockquote p:last-child {
  margin-bottom: 0;
}

cite {
  font-size: 0.85rem;
  color: #666;
  font-style: normal;
  display: block;
  margin-top: 0.5rem;
}

/* Code */
code, pre {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.88rem;
  background-color: #f4f4f4;
  border-radius: 3px;
}

code {
  padding: 0.15rem 0.4rem;
  color: #c0392b;
}

pre {
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid #ddd;
  margin-bottom: 1.5rem;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* HR */
hr {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 2rem 0;
}

/* Utility classes */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.highlight,
.callout {
  background-color: #e8f5e9;
  border-left: 4px solid #1a5c2a;
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.5rem;
}

.notice,
.alert {
  background-color: #fff3e0;
  border-left: 4px solid #ff9800;
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.5rem;
}

.success {
  background-color: #e8f5e9;
  border-left: 4px solid #4caf50;
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.5rem;
}

/* Video embeds */
.video-wrapper,
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 6px;
}

.video-wrapper iframe,
.embed-container iframe,
.video-wrapper video,
.embed-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* WordPress specific */
.wp-block-image {
  margin-bottom: 1.5rem;
}

.wp-block-image img {
  border-radius: 4px;
}

.wp-block-quote {
  border-left: 4px solid #1a5c2a;
  padding: 0.75rem 1.25rem;
  background: #f0f7f1;
  margin: 1.5rem 0;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

.wp-block-separator {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 2rem auto;
}

.wp-block-columns {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.wp-block-column {
  flex: 1 1 250px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #1a5c2a;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Social sharing */
.heateor_sss_horizontal_sharing,
.heateor_sss_vertical_sharing {
  margin: 1rem 0;
}

/* Comments */
.comments-area {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e0e0e0;
}

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

.comment-body {
  background: #fff;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.comment-author {
  font-weight: 700;
  color: #1a3d20;
}

.comment-meta {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 0.5rem;
}

/* Foundation / Zurb classes (the site uses Foundation framework) */
.row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.columns,
.column {
  padding: 0 0.9375rem;
  width: 100%;
}

.small-12 { width: 100%; }
.small-6 { width: 50%; }
.small-4 { width: 33.333%; }
.small-3 { width: 25%; }

@media (min-width: 640px) {
  .medium-12 { width: 100%; }
  .medium-8 { width: 66.666%; }
  .medium-6 { width: 50%; }
  .medium-4 { width: 33.333%; }
  .medium-3 { width: 25%; }
}

@media (min-width: 1024px) {
  .large-12 { width: 100%; }
  .large-8 { width: 66.666%; }
  .large-6 { width: 50%; }
  .large-4 { width: 33.333%; }
  .large-3 { width: 25%; }
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */

/* Tablet */
@media (min-width: 640px) {
  body {
    font-size: 1rem;
  }

  .entry-title,
  .page-title {
    font-size: 2.2rem;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
}

/* Desktop */
@media (min-width: 1024px) {
  .container,
  .site-content,
  #page,
  #content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .site-branding {
    padding: 1rem 2rem;
  }

  .hero {
    padding: 5rem 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.6rem; }

  .menu-toggle {
    display: none;
  }

  .main-navigation {
    display: block;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation ul,
  .nav-menu ul {
    flex-direction: column;
    display: none;
  }

  .main-navigation.toggled ul,
  .nav-menu.toggled ul {
    display: flex;
  }

  .main-navigation ul ul {
    position: static;
    box-shadow: none;
    background-color: rgba(0,0,0,0.1);
  }

  .has-sidebar #primary,
  .with-sidebar .content-area {
    float: none;
    width: 100%;
  }

  .has-sidebar #secondary,
  .sidebar,
  #secondary {
    float: none;
    width: 100%;
    padding-left: 0;
    margin-top: 2rem;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 0.85rem;
  }

  thead th,
  tbody td,
  tfoot td {
    padding: 0.5rem 0.65rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .entry-title,
  .page-title {
    font-size: 1.6rem;
  }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.25rem; }

  .webinar-list,
  .course-list {
    grid-template-columns: 1fr;
  }

  .wp-block-columns {
    flex-direction: column;
  }

  .alignleft,
  .alignright {
    float: none;
    margin: 0 0 1rem 0;
  }
}

/* Print styles */
@media print {
  #masthead,
  .site-header,
  #site-navigation,
  .main-navigation,
  #secondary,
  .sidebar,
  footer,
  .site-footer,
  .pagination,
  .heateor_sss_horizontal_sharing,
  .heateor_sss_vertical_sharing {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .entry-content,
  .page-content {
    max-width: 100%;
  }
}