/*
Theme Name: HealthConnect Portal Theme
Theme URI: https://streetkittys.net
Author: Street Kitty's
Author URI: https://streetkittys.net
Description: Simple portal-focused theme that always displays the Site Logo and Tagline.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: healthconnect-portal-theme
Tags: one-column, custom-logo, custom-menu, translation-ready
*/

:root{
  --hc-max: 1100px;
  --hc-pad: 18px;
  --hc-border: rgba(0,0,0,.12);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.45;
  color:#111;
  background:#fff;
}

a{ color: inherit; }

.hc-site-header{
  border-bottom: 1px solid var(--hc-border);
  background:#fff;
}

.hc-header-inner{
  max-width: var(--hc-max);
  margin: 0 auto;
  padding: var(--hc-pad);
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content: space-between;
}

.hc-brand{
  display:flex;
  gap: 12px;
  align-items:center;
  min-width: 0;
}

.hc-brand-logo{
  display:block;
  width: 64px;
  height:auto;
}

.hc-brand-text{ min-width:0; }

.hc-site-title{
  margin:0;
  font-size: 20px;
  line-height:1.2;
}

.hc-site-tagline{
  margin: 3px 0 0;
  font-size: 13px;
  opacity: .75;
}


.hc-nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap: 12px;
  align-items:center;
}

.hc-nav a,
.hc-nav-list a{
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 10px;
}

.hc-nav a:hover,
.hc-nav-list a:hover{
  background: rgba(0,0,0,.04);
}

/* Mobile nav */
.hc-nav-toggle{ display:none; }

@media (max-width: 820px){
  .hc-nav-toggle{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 10px 12px;
    border: 1px solid var(--hc-border);
    border-radius: 12px;
    background:#fff;
    cursor:pointer;
  }
  .hc-nav{ display:none; }
  .hc-nav.is-open{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    position:absolute;
    right: 18px;
    top: 86px;
    background:#fff;
    border: 1px solid var(--hc-border);
    border-radius: 14px;
    padding: 10px;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
  }
  .hc-nav.is-open .hc-nav-list{
    flex-direction:column;
    align-items:stretch;
    gap: 6px;
  }
  .hc-nav.is-open .hc-nav-list a{ display:block; }
  .hc-header-inner{ position:relative; }
}

.hc-content{
  max-width: var(--hc-max);
  margin: 0 auto;
  padding: calc(var(--hc-pad) + 8px) var(--hc-pad);
}

.hc-card{
  border: 1px solid var(--hc-border);
  border-radius: 16px;
  padding: 16px;
  background:#fff;
}

.hc-footer{
  border-top: 1px solid var(--hc-border);
  margin-top: 28px;
}

.hc-footer-inner{
  max-width: var(--hc-max);
  margin: 0 auto;
  padding: 18px;
  font-size: 13px;
  opacity: .75;
}

/* WordPress content defaults */
.entry-title{ margin: 0 0 14px; }
.entry-content > *{ max-width: 100%; }
.entry-content img{ height:auto; }
