{% require_css %}
<style>
  {% scope_css %}
  
  /* ===========================================
     SECTION BASE STYLES
     =========================================== */
  
  .hd-content-hub {
    background-color: ;
    padding: 80px 0;
  }
  
  /* ===========================================
     HEADER STYLES
     =========================================== */
  
  .hd-content-hub-header {
    margin-bottom: 48px;
  }
  
  .hd-content-hub-header .headline * {
    color: ;
    margin: 0;
  }
  
  .hd-content-hub-header .content * {
    color: ;
  }
  
  @media (max-width: 991px) {
    .hd-content-hub-header .headline {
      margin-bottom: 24px;
    }
  }
  
  /* ===========================================
     TAB NAVIGATION
     =========================================== */
  
  .hd-content-hub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
    padding: 24px;
    background-color: #F4F1EF;
    border-radius: 12px;
  }
  
  .hd-content-hub-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid ;
    background-color: ;
    color: ;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .hd-content-hub-tab:hover {
    background-color: #D4CBC4;
    transform: translateY(-2px);
  }
  
  .hd-content-hub-tab.active {
    background-color: ;
    color: #FDFBF9;
  }
  
  .hd-content-hub-tab.active svg {
    stroke: #FDFBF9;
  }
  
  .hd-content-hub-tab svg {
    width: 20px;
    height: 20px;
    stroke: ;
    transition: stroke 0.3s ease;
  }
  
  @media (max-width: 767px) {
    .hd-content-hub-tabs {
      padding: 16px;
      gap: 8px;
    }
    
    .hd-content-hub-tab {
      padding: 10px 16px;
      font-size: 13px;
      flex: 1 1 calc(50% - 8px);
      justify-content: center;
    }
    
    .hd-content-hub-tab svg {
      width: 16px;
      height: 16px;
    }
  }
  
  /* ===========================================
     SECTION STYLES
     =========================================== */
  
  .hd-content-hub-section {
    margin-bottom: 64px;
  }
  
  .hd-content-hub-section:last-child {
    margin-bottom: 0;
  }
  
  .hd-content-hub-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #E8E1DC;
  }
  
  .hd-content-hub-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #192031;
  }
  
  .hd-content-hub-section-title svg {
    width: 28px;
    height: 28px;
    stroke: #827974;
  }
  
  .hd-content-hub-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #827974;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .hd-content-hub-view-all:hover {
    color: #192031;
    transform: translateX(4px);
  }
  
  .hd-content-hub-view-all svg {
    transition: transform 0.3s ease;
  }
  
  .hd-content-hub-view-all:hover svg {
    transform: translateX(4px);
  }
  
  @media (max-width: 767px) {
    .hd-content-hub-section-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
    
    .hd-content-hub-section-title {
      font-size: 20px;
    }
  }
  
  /* ===========================================
     CARDS GRID
     =========================================== */
  
  .hd-content-hub-cards {
    margin: 0 -12px;
  }
  
  .hd-content-hub-cards .row {
    display: flex;
    flex-wrap: wrap;
  }
  
  .hd-content-hub-card-wrap {
    width: 100%;
    padding: 12px;
  }
  
  @media (min-width: 576px) {
    .hd-content-hub-card-wrap {
      width: 50%;
    }
  }
  
  @media (min-width: 992px) {
    .hd-content-hub-card-wrap {
      width: 33.333%;
    }
  }
  
  /* ===========================================
     CARD STYLES
     =========================================== */
  
  .hd-content-hub-card {
    background-color: ;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
  }
  
  .hd-content-hub-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
  }
  
  .hd-content-hub-card-link:hover .hd-content-hub-card {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  }
  
  /* Card Image */
  .hd-content-hub-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #F4F1EF;
  }
  
  .hd-content-hub-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .hd-content-hub-card-link:hover .hd-content-hub-card-image img {
    transform: scale(1.08);
  }
  
  /* Placeholder Image */
  .hd-content-hub-placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #827974 0%, #CDB9A3 100%);
  }
  
  .hd-content-hub-placeholder-image svg {
    width: 64px;
    height: 64px;
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* Card Badge */
  .hd-content-hub-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background-color: #192031;
    color: #FDFBF9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    z-index: 2;
  }
  
  .hd-content-hub-card-badge.badge-whitepaper {
    background-color: #284B66;
  }
  
  .hd-content-hub-card-badge.badge-memo {
    background-color: #6B4E3D;
  }
  
  /* Card Content */
  .hd-content-hub-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  
  .hd-content-hub-card-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #192031;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .hd-content-hub-card-summary {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .hd-content-hub-card-btn {
    margin-top: auto;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .hd-content-hub-card .whitepaper-open-btn,
  .hd-content-hub-card .memo-open-btn {
    pointer-events: auto;
    cursor: pointer;
  }
  
  /* ===========================================
     CALCULATOR CARD STYLES
     =========================================== */
  
  .hd-content-hub-card-calculator {
    background: linear-gradient(135deg, #F4F1EF 0%, #E8E1DC 100%);
    flex-direction: row;
    align-items: center;
    min-height: 180px;
  }
  
  .hd-content-hub-card-calc-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FDFBF9;
    border-radius: 12px;
  }
  
  .hd-content-hub-card-calc-icon img {
    width: 48px;
    height: 48px;
  }
  
  .hd-content-hub-card-calculator .hd-content-hub-card-content {
    padding: 24px 24px 24px 0;
  }
  
  @media (max-width: 575px) {
    .hd-content-hub-card-calculator {
      flex-direction: column;
    }
    
    .hd-content-hub-card-calc-icon {
      margin: 24px 24px 0 24px;
    }
    
    .hd-content-hub-card-calculator .hd-content-hub-card-content {
      padding: 24px;
    }
  }
  
  /* ===========================================
     HEART/LIKE BUTTON
     =========================================== */
  
  .hd-content-hub-heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
  }
  
  .hd-content-hub-heart-btn .button-heart {
    border-radius: 6px;
    background-color: #E8E1DC;
    width: 36px;
    height: 36px;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hd-content-hub-heart-btn .button-heart:hover {
    background-color: #827974;
    transform: scale(1.1);
  }
  
  .hd-content-hub-heart-btn .button-heart.processing {
    pointer-events: none;
    opacity: 0.6;
  }
  
  /* Default state - outline heart */
  .hd-content-hub-heart-btn .button-heart svg path {
    fill: #FDFBF9;
    stroke: #827974;
    transition: all 0.3s ease;
  }
  
  /* Active/Liked state - filled heart */
  .hd-content-hub-heart-btn[data-is-active="true"] .button-heart svg path {
    fill: #D32F2F;
    stroke: #D32F2F;
  }
  
  .hd-content-hub-heart-btn[data-is-active="true"] .button-heart:hover svg path {
    fill: #B71C1C;
    stroke: #B71C1C;
  }
  
  /* ===========================================
     COMING SOON PLACEHOLDER
     =========================================== */
  
  .hd-content-hub-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    background: linear-gradient(135deg, #F4F1EF 0%, #E8E1DC 100%);
    border-radius: 16px;
    text-align: center;
  }
  
  .hd-content-hub-coming-soon-icon {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FDFBF9;
    border-radius: 50%;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
  
  .hd-content-hub-coming-soon-icon svg {
    width: 48px;
    height: 48px;
    stroke: #827974;
  }
  
  .hd-content-hub-coming-soon h4 {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    color: #192031;
  }
  
  .hd-content-hub-coming-soon p {
    margin: 0;
    font-size: 16px;
    color: #666;
    max-width: 400px;
  }
  
  /* ===========================================
     MODAL STYLES
     =========================================== */
  
  .ch-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .ch-modal-hidden {
    display: none !important;
  }
  
  .ch-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
  }
  
  .ch-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    z-index: 1;
  }
  
  .ch-choice-modal-content {
    max-width: 500px;
  }
  
  .ch-email-modal-content {
    max-width: 550px;
  }
  
  .ch-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 28px;
    line-height: 1;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 2;
    color: #333;
    transition: all 0.2s ease;
  }
  
  .ch-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
  }
  
  .ch-modal-body {
    padding: 32px;
  }
  
  .ch-modal-body h3 {
    margin: 0 0 12px 0;
    font-size: 26px;
    font-weight: 700;
    color: #192031;
  }
  
  .ch-modal-body p {
    margin: 0 0 28px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
  }
  
  .ch-modal-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 8px;
  }
  
  /* Choice Buttons */
  .ch-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .ch-choice-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background-color: #FDFBF9;
    border: 2px solid #827974;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: #192031;
    width: 100%;
    text-align: left;
  }
  
  .ch-choice-btn:hover {
    background-color: #E8E1DC;
    border-color: #192031;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }
  
  .ch-choice-btn svg {
    flex-shrink: 0;
    color: #827974;
    transition: color 0.3s ease;
  }
  
  .ch-choice-btn:hover svg {
    color: #192031;
  }
  
  /* Email Form */
  .ch-email-form {
    width: 100%;
  }
  
  .ch-form-group {
    margin-bottom: 24px;
  }
  
  .ch-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #192031;
  }
  
  .ch-email-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E8E1DC;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
  }
  
  .ch-email-input:focus {
    outline: none;
    border-color: #827974;
    box-shadow: 0 0 0 3px rgba(130, 121, 116, 0.15);
  }
  
  .ch-error-message {
    margin-top: 8px;
    color: #D32F2F;
    font-size: 14px;
    font-weight: 500;
  }
  
  /* Checkboxes */
  .ch-checkboxes {
    margin-bottom: 28px;
  }
  
  .ch-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .ch-checkbox-label.ch-required .ch-checkbox-text {
    font-weight: 500;
  }
  
  .ch-checkbox-input {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #827974;
  }
  
  .ch-checkbox-text {
    color: #666;
  }
  
  .ch-checkbox-text a {
    color: #827974;
    text-decoration: underline;
    font-weight: 500;
  }
  
  .ch-checkbox-text a:hover {
    color: #192031;
  }
  
  /* Submit Button */
  .ch-submit-btn {
    width: 100%;
    padding: 16px 28px;
    background-color: #827974;
    color: #FDFBF9;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .ch-submit-btn:hover:not(:disabled) {
    background-color: #192031;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  }
  
  .ch-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }
  
  .ch-submit-loader {
    display: inline-flex;
  }
  
  /* ===========================================
     RESPONSIVE ADJUSTMENTS
     =========================================== */
  
  @media (max-width: 991px) {
    .hd-content-hub {
      padding: 60px 0;
    }
    
    .hd-content-hub-section {
      margin-bottom: 48px;
    }
  }
  
  @media (max-width: 767px) {
    .hd-content-hub {
      padding: 40px 0;
    }
    
    .hd-content-hub-header {
      margin-bottom: 32px;
    }
    
    .ch-modal-content {
      max-width: 95%;
      margin: 16px;
    }
    
    .ch-modal-body {
      padding: 24px;
    }
    
    .ch-modal-body h3 {
      font-size: 22px;
    }
    
    .ch-modal-body p {
      font-size: 14px;
      margin-bottom: 24px;
    }
    
    .ch-modal-iframe {
      height: 400px;
    }
    
    .ch-choice-btn {
      padding: 16px 20px;
      font-size: 14px;
    }
    
    .ch-checkbox-label {
      font-size: 13px;
    }
  }
  
  {% end_scope_css %}
</style>
{% end_require_css %}