/* Special layout/behavior only; normal styling is in the Divi module settings. */
.rk-section {font-family:'Google Sans','Noto Sans Thai',Arial,sans-serif; box-sizing:border-box;}
.rk-section .et_pb_row {box-sizing:border-box;}
.rk-section p:last-child {padding-bottom:0;}
.rk-section .et_pb_heading h1,.rk-section .et_pb_heading h2,.rk-section .et_pb_heading h3 {padding-bottom:0;}
.rk-header {position:sticky;top:0;z-index:30;border-bottom:1px solid #d7d5ca;}
.admin-bar .rk-header {top:32px;}
.rk-nav-row {align-items:center;}
.rk-logo a {color:#191919;white-space:nowrap;}
.rk-mark {display:inline-grid;place-items:center;border:2px solid #191919;border-radius:50%;width:35px;height:35px;line-height:1;font-size:24px;transform:rotate(-17deg);vertical-align:middle;}
.rk-nav-links p {display:flex;justify-content:flex-end;gap:27px;flex-wrap:wrap;}
.rk-nav-links a {color:#191919;white-space:nowrap;}
.rk-nav-links a:hover {color:#dc4d32;}
.rk-header .rk-coming {text-align:right;}
.rk-headline h1 {font-family:'Google Sans','Noto Sans Thai',Arial,sans-serif;font-size:clamp(68px,7.3vw,112px);font-weight:900;line-height:.93;letter-spacing:-.085em;color:#191919;padding:0;}
.rk-outline {color:transparent;-webkit-text-stroke:2.2px #191919;}
.rk-collection-heading h2 {font-family:'Google Sans','Noto Sans Thai',Arial,sans-serif;font-size:clamp(48px,6.3vw,82px);font-weight:800;letter-spacing:-.07em;line-height:.97;color:#191919;padding:0;}
.rk-hero-row .rk-inline-button,.rk-about .rk-value {display:inline-block;width:auto;margin-right:9px!important;margin-bottom:8px!important;}
.rk-section .et_pb_button {white-space:normal;}
.rk-section .et_pb_button:after,.rk-section .et_pb_button:before {display:none;}
.rk-section .et_pb_button:hover {transform:translateY(-2px);}
.rk-hero-art img {width:100%;display:block;}
.rk-hero-art .et_pb_image_wrap,.rk-cover .et_pb_image_wrap {width:100%;display:block;overflow:hidden;border-radius:inherit;}
.rk-manifesto p:before {content:'';display:inline-block;width:32px;height:1px;vertical-align:middle;background:#777;margin-right:11px;}
.rk-strip {overflow:hidden;}
.rk-strip-copy p {white-space:nowrap;}
.rk-gallery,.rk-about,.rk-footer {scroll-margin-top:100px;}
.rk-gallery-intro {max-width:260px;margin-left:auto!important;}
.rk-filter-col {display:flex!important;gap:9px;flex-wrap:wrap;align-items:center;}
.rk-filter-col .rk-filter {width:auto!important;flex:0 0 auto;margin:0!important;}
.rk-filter:not(.rk-active) .et_pb_button {background:#f6f4ec!important;color:#191919!important;border-color:#cccac1!important;}
.rk-filter.rk-active .et_pb_button {background:#191919!important;color:#fff!important;border-color:#191919!important;}
.rk-card {position:relative;min-width:0;}
.rk-cover {transition:transform .2s,box-shadow .2s;cursor:pointer;}
.rk-cover:hover {transform:translateY(-3px);box-shadow:6px 6px 0 #191919;}
.rk-cover img {width:100%;height:356px;object-fit:cover;display:block;}
.rk-cover-art img,.rk-cover-ideas img {height:285px;}
.rk-project-action {position:absolute!important;top:18px;left:18px;z-index:3;width:auto!important;}
.rk-project-action .et_pb_button {font-size:10px!important;padding:7px 11px!important;letter-spacing:.08em;}
.rk-cover-music {position:relative;}
.rk-cover-music:after {content:'▶';pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#ff0033;color:#fff;border-radius:16px;width:76px;height:53px;display:grid;place-items:center;font-size:25px;box-shadow:0 8px 35px #0006;}
.rk-card[hidden],.rk-project-row[hidden] {display:none!important;}
.rk-cta-panel {position:relative;overflow:hidden;min-height:300px;}
.rk-cta-panel:before {content:'✳';position:absolute;font-size:300px;font-weight:900;line-height:1;right:-15px;top:-35px;color:#c7f36b;transform:rotate(23deg);pointer-events:none;}
.rk-cta-panel > .et_pb_module {position:relative;z-index:1;max-width:620px;}
.rk-cta-panel .et_pb_text {max-width:490px;}
.rk-footer {border-top:1px solid #d7d5ca;}
.rk-dialog {font-family:'Google Sans','Noto Sans Thai',Arial,sans-serif;background:#fffdf7;color:#191919;border:0;border-radius:23px;width:calc(100% - 32px);max-width:480px;padding:31px;box-shadow:0 25px 95px #0005;}
.rk-dialog::backdrop {background:#1919198e;backdrop-filter:blur(4px);}
.rk-dialog h2 {font-size:32px;line-height:1.1;margin:17px 0;color:#191919;}
.rk-dialog p {font-size:14px;line-height:1.8;color:#555;}
.rk-dialog .rk-modal-note {background:#e9e7dc;border-radius:12px;padding:16px;margin:14px 0;font-size:12px;}
.rk-dialog button {cursor:pointer;border:1.5px solid #191919;background:#191919;color:#fff;border-radius:999px;padding:10px 18px;}
.rk-dialog .rk-close {float:right;background:transparent;color:#191919;font-size:22px;padding:2px 10px;}
.rk-dialog .rk-dialog-kicker {font-size:11px;font-weight:800;letter-spacing:.15em;color:#a55a48;}
@media(max-width:980px) {
 .rk-header {position:relative;top:auto!important;}
 .rk-nav-row {display:flex!important;flex-wrap:wrap!important;gap:12px!important;}
 .rk-nav-row > .et_pb_column {width:100%!important;flex:0 0 100%!important;}
 .rk-nav-links p {justify-content:flex-start;gap:20px;}
 .rk-header .rk-coming {text-align:left;}
 .rk-gallery-intro {margin-left:0!important;max-width:450px;}
 .rk-cover img {height:310px;}
 .rk-cover-art img,.rk-cover-ideas img {height:260px;}
 .rk-cta-panel:before {right:-65px;top:-15px;opacity:.25;}
 .rk-footer-right {text-align:left!important;}
}
@media(max-width:767px) {
 .rk-headline h1 {font-size:clamp(58px,14vw,91px);}
 .rk-collection-heading h2 {font-size:clamp(49px,11vw,70px);}
 .rk-section .et_pb_row {width:90%;}
 .rk-strip-copy p {white-space:normal;font-size:10px;}
 .rk-filter-col {gap:7px;}
 .rk-hero-art {margin-right:8px;}
 .rk-footer-right p {text-align:left!important;}
 .rk-project-row {padding-bottom:22px;}
}
@media(prefers-reduced-motion:reduce){.rk-section *{transition:none!important;}}

/* V2: keep native typography controls and compensate for Divi wrapper layout. */
.rk-v2 .rk-logo a,.rk-v2 .rk-nav-links a {color:#191919!important;}
.rk-v2 .rk-headline h1 {margin:0;padding:0;}
.rk-v2 .rk-collection-heading h2 {margin:0;padding:0;}
.rk-v2 .rk-inline-group {display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:9px;}
.rk-v2 .rk-inline-group > :not(.rk-inline-button):not(.rk-value) {flex:0 0 100%;width:100%;min-width:0;}
.rk-v2 .rk-inline-group > .rk-inline-button,.rk-v2 .rk-inline-group > .rk-value {flex:0 0 auto;width:auto!important;}
.rk-v2 .rk-filter-col {flex-direction:row!important;justify-content:flex-start;}
.rk-v2 .rk-filter-col > .rk-filter {flex:0 0 auto!important;width:auto!important;}
.rk-v2 .rk-hero-art {width:100%;}
.rk-v2 .rk-hero-art img {aspect-ratio:1.04;object-fit:cover;}
.rk-v2 .rk-card {display:flex;flex-direction:column;gap:0;}
.rk-v2 .rk-cover .et_pb_image_wrap,.rk-v2 .rk-hero-art .et_pb_image_wrap {display:block;width:100%;}
.rk-v2 .rk-card .rk-project-action {position:absolute!important;top:18px;left:18px;}
.rk-v2 .rk-cta-panel:before {z-index:0;}
.rk-v2 .rk-cta-panel > * {position:relative;z-index:1;}
@media(max-width:767px){.rk-v2 .rk-hero-art img{aspect-ratio:1.04;}}


/* V2.1: correct the module flow in the existing V2 layout. */
.rk-v2 .rk-inline-group {
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:center!important;
  align-content:start!important;
  justify-content:flex-start!important;
  gap:0 10px!important;
}
.rk-v2 .rk-inline-group > * {
  flex:0 0 100%!important;
  width:100%!important;
  min-width:0;
}
.rk-v2 .rk-inline-group > :is(.rk-inline-button,.rk-value),
.rk-v2 .rk-inline-group > :is(.et_pb_module,.et_pb_button_module_wrapper):has(:is(.rk-inline-button,.rk-value)) {
  flex:0 0 auto!important;
  width:auto!important;
  max-width:100%!important;
  margin:0 0 8px!important;
  align-self:center!important;
}
.rk-v2 .rk-inline-group :is(.rk-inline-button,.rk-value) {
  margin-right:0!important;
  width:auto!important;
}
/* Layer the badge and image in the same grid cell, not with relative offsets. */
.rk-v2 .rk-card {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  gap:0!important;
  align-content:start!important;
  align-items:start!important;
}
.rk-v2 .rk-card > :is(.rk-cover,:has(.rk-cover)):not(:has(.rk-project-action)) {
  grid-area:1 / 1!important;
  min-width:0;
  width:100%!important;
  align-self:start!important;
  margin:0!important;
}
.rk-v2 .rk-card > :is(.rk-project-action,:has(.rk-project-action)):not(:has(.rk-cover)) {
  grid-area:1 / 1!important;
  align-self:start!important;
  justify-self:start!important;
  z-index:5!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  width:max-content!important;
  max-width:calc(100% - 36px)!important;
  margin:18px!important;
}
.rk-v2 .rk-card .rk-project-action:not(.rk-card > .rk-project-action) {
  position:static!important;
  inset:auto!important;
  transform:none!important;
  margin:0!important;
  max-width:100%!important;
}
.rk-v2 .rk-card .rk-project-action .et_pb_button,
.rk-v2 .rk-card .rk-project-action.et_pb_button {
  position:relative!important;
  inset:auto!important;
  font-size:10px!important;
  line-height:1.35!important;
  padding:7px 11px!important;
}
.rk-v2 .rk-card > :not(:is(.rk-cover,.rk-project-action)):not(:has(:is(.rk-cover,.rk-project-action))) {
  grid-column:1!important;
  min-width:0;
}
.rk-v2 .rk-project-row {align-items:start!important;}
@media(max-width:767px){
  .rk-v2 .rk-card > :is(.rk-project-action,:has(.rk-project-action)):not(:has(.rk-cover)) {
    margin:12px!important;
    max-width:calc(100% - 24px)!important;
  }
}
