@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** Turkey-tips Design System
************************************/

/* =============================================
   GLOBAL HEADER — Slim & Sticky
   ============================================= */

/* ===== 全サイズ共通: Cocoonモバイルボタン無効化 ===== */
.mobile-menu-buttons { display: none !important; }
.header-top, .tagline, #header .header-top { display: none !important; }

/* ===== 全サイズ共通: ヘッダー固定 ===== */
#header-container {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(10, 10, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.15);
  height: auto !important;
  padding: 0 !important;
}
.admin-bar #header-container { top: 32px !important; }
#header-container-in {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 !important;
  height: auto !important;
  min-height: auto !important;
}
#header, #header .header-in,
.header-container-in, #header-container {
  height: auto !important;
  min-height: auto !important;
}

/* ===== ロゴ（左側） ===== */
#header {
  flex-shrink: 0;
}
#header .logo-header, #header .site-name-text, #header .logo-text {
  font-size: 0.8em !important;
  letter-spacing: 2px;
  color: #fff !important;
  padding: 10px 16px;
  font-weight: 700;
  white-space: nowrap;
}
#header .logo-header img { max-height: 26px; width: auto; }
.header-in .site-name-text-link { display: block; text-align: left; }

/* ===== ナビメニュー（右側） ===== */
#navi {
  display: block !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  flex-shrink: 0;
}
#navi .navi-in {
  max-width: none !important;
  width: auto !important;
  padding: 0;
}
/* .wrap の幅制限を解除（ヘッダー内） */
#header-container .wrap,
#header-container-in .wrap {
  width: auto !important;
  max-width: 100% !important;
}
/* Cocoonが出力する2つのul: PC版のみ表示、モバイル版は非表示 */
#navi .navi-in > ul.menu-pc {
  display: flex !important;
  justify-content: flex-end;
  flex-wrap: nowrap;
}
#navi .navi-in > ul.menu-mobile {
  display: none !important;
}
#navi .navi-in > ul > li > a {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.78em !important;
  padding: 12px 14px !important;
  letter-spacing: 1px;
  transition: color 0.15s;
  white-space: nowrap;
}
#navi .navi-in > ul > li > a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
}
#navi .navi-in > ul > li.current-menu-item > a,
#navi .navi-in > ul > li.current_page_item > a {
  color: #fff !important;
}

/* ===== サブメニュー ===== */
#navi .navi-in > ul > li .sub-menu {
  background: rgba(10, 10, 20, 0.95) !important;
  border: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  min-width: 200px;
}
#navi .navi-in > ul > li .sub-menu a {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.78em !important;
  padding: 10px 18px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#navi .navi-in > ul > li .sub-menu a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.06) !important;
}

/* ===== body オフセット ===== */
body { padding-top: 0 !important; }
body:not(.page-id-12284) #content { padding-top: 48px; }
.admin-bar:not(.page-id-12284) #content { padding-top: 80px; }

/* =============================================
   TOP PAGE — Portfolio / Reel Style (v4)
   ============================================= */

/* --- Cocoon overrides for top page --- */
.page-id-12284 #content-in,
.page-id-12284 #main,
.page-id-12284 .main {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-id-12284 .entry-content { max-width: 100%; padding: 0; }
.page-id-12284 .article { padding: 0; margin: 0; }
.page-id-12284 .entry-title,
.page-id-12284 .date-tags,
.page-id-12284 .author-info,
.page-id-12284 .sns-share,
.page-id-12284 .under-entry-content,
.page-id-12284 .breadcrumb { display: none; }

/* wpautopによる自動段落・改行がグリッド/フレックスレイアウトを壊すのを防ぐ */
.tt-lp-hero-actions > p, .tt-lp-hero-actions > br,
.tt-lp-starter-visual > p, .tt-lp-starter-visual > br,
.tt-lp-tutorial-grid > p, .tt-lp-tutorial-grid > br,
.tt-lp-category-grid > p, .tt-lp-category-grid > br,
.tt-template-article-grid > p, .tt-template-article-grid > br,
.ts-template-grid > p, .ts-template-grid > br {
  display: none !important;
}

/* ===== Hero Video ===== */
.tt-hero-video {
  position: relative;
  width: 100vw;
  height: 80vh;
  min-height: 420px;
  max-height: 700px;
  margin-left: calc(-50vw + 50%);
  margin-top: -20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 40%, #0d1b2e 100%);
}
.tt-hero-vid,
.tt-hero-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.tt-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  text-align: center;
  z-index: 2;
}
.tt-hero-name {
  font-size: 4em !important;
  font-weight: 900 !important;
  letter-spacing: 14px;
  line-height: 1;
  margin: 0 !important;
  text-transform: uppercase;
  color: #ffffff !important;
}
.tt-hero-tagline {
  font-size: 1em !important;
  letter-spacing: 6px;
  margin-top: 18px;
  color: rgba(255,255,255,0.7) !important;
  font-weight: 300;
  text-transform: uppercase;
}
.tt-hero-overlay p {
  color: #ffffff !important;
}
.tt-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5) !important;
  font-size: 1.4em;
  z-index: 3;
  animation: tt-bounce 2s infinite;
}
@keyframes tt-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== About ===== */
.tt-about {
  padding: 72px 20px;
  background: #fff;
}
.tt-about-inner {
  max-width: 700px;
  margin: 0 auto;
}
.tt-about-heading {
  font-size: 1.6em !important;
  font-weight: 800 !important;
  text-align: center;
  margin-bottom: 32px;
  color: #1a1a2e !important;
  letter-spacing: 2px;
}
.tt-about-text {
  font-size: 0.95em;
  line-height: 2;
  color: #444 !important;
}
.tt-about-text p { color: #444 !important; }
.tt-about-text p {
  margin-bottom: 16px;
}
.tt-about-text strong {
  color: #1a1a2e;
}
.tt-about-link {
  display: block;
  text-align: center;
  margin-top: 24px;
  color: #0073aa;
  text-decoration: none;
  font-size: 0.9em;
}
.tt-about-link:hover { text-decoration: underline; }

/* ===== Works ===== */
.tt-works {
  padding: 64px 20px;
  background: #f5f5f7;
}
.tt-works-heading {
  font-size: 1.8em;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  color: #1a1a2e;
  letter-spacing: 4px;
}
.tt-works-sub {
  text-align: center;
  color: #888;
  font-size: 0.9em;
  margin-bottom: 36px;
}
.tt-works-list {
  max-width: 760px;
  margin: 0 auto;
}
.tt-work-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  transition: background 0.15s;
}
.tt-work-row:first-child {
  border-top: 1px solid #ddd;
}
.tt-work-row:hover {
  background: rgba(0,0,0,0.02);
}
.tt-work-name {
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.95em;
}
.tt-work-desc {
  color: #666;
  font-size: 0.85em;
  line-height: 1.5;
}

/* ===== Blog Section ===== */
.tt-blog-section {
  padding: 64px 20px;
  background: #fff;
}
.tt-text-link {
  color: #0073aa;
  text-decoration: none;
  font-size: 0.9em;
}
.tt-text-link:hover { text-decoration: underline; }

/* ===== Links ===== */
.tt-links {
  padding: 56px 20px;
  background: #f5f5f7;
}
.tt-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}
.tt-links-group h3 {
  font-size: 0.9em;
  color: #888;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}
.tt-links-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tt-links-group li {
  margin-bottom: 10px;
}
.tt-links-group a {
  color: #333;
  text-decoration: none;
  font-size: 0.92em;
  transition: color 0.15s;
}
.tt-links-group a:hover { color: #0073aa; }

/* ===== YouTube embed spacing fix ===== */
.wp-block-html iframe,
.entry-content iframe[src*="youtube"] {
  max-width: 100%;
  margin-bottom: 8px !important;
}
.wp-block-html { margin-bottom: 12px !important; }

/* ===== Template Video Switcher ===== */
.ts-video-switcher {
  margin: 24px 0;
}
.ts-video-switcher .ts-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  margin-bottom: 12px;
}
.ts-video-switcher .ts-video-frame iframe,
.ts-video-switcher .ts-video-frame .video-container,
.ts-video-switcher .ts-video-frame .video-container .video,
.ts-video-switcher .ts-video-frame .video-container .video iframe {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.ts-video-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ts-video-tab {
  padding: 8px 14px;
  font-size: 0.82em;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f5f5f5;
  cursor: pointer;
  transition: all 0.15s;
  color: #555;
}
.ts-video-tab:hover { background: #eee; }
.ts-video-tab.active {
  background: #1a1a2e;
  color: #fff;
  border-color: #1a1a2e;
}

/* ===== Author Page Skill List Fix ===== */
.turkey-skill-list li {
  padding-left: 0 !important;
  position: static !important;
}
.turkey-skill-list li::before {
  display: none !important;
}

/* ===== Author Page Products List ===== */
.turkey-products-list {
  max-width: 700px;
}
.turkey-product-row {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
  font-size: 0.92em;
  color: #444;
}
.turkey-product-row strong { color: #1a1a2e; }
.turkey-product-row a {
  color: #0073aa;
  text-decoration: none;
  font-size: 0.88em;
  margin-left: 8px;
}
.turkey-product-row a:hover { text-decoration: underline; }

.turkey-history p,
.turkey-strength p,
.turkey-philosophy p {
  margin-bottom: 16px;
  line-height: 1.9;
  color: #444;
}
.turkey-strength p strong,
.turkey-history p strong {
  color: #1a1a2e;
}

/* ===== Contact CTA ===== */
.tt-contact {
  text-align: center;
  padding: 64px 20px;
  background: #1a1a2e;
  color: #fff;
  margin-left: calc(-50vw + 50%);
  width: 100vw;
}
.tt-contact h2 {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: 1px;
}
.tt-contact p {
  color: rgba(255,255,255,0.65);
  font-size: 0.92em;
  margin-bottom: 28px;
  line-height: 1.7;
}
.tt-btn-contact {
  display: inline-block;
  padding: 16px 40px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  text-decoration: none;
  font-size: 0.95em;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: all 0.2s;
}
.tt-btn-contact:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

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

@media screen and (min-width: 835px) {
  .sp-only { display: none; }
}

/* --- タブレット (1023px以下): メニュー文字を縮小 --- */
@media screen and (max-width: 1023px) {
  #navi .navi-in > ul > li > a {
    padding: 10px 8px !important;
    font-size: 0.7em !important;
    letter-spacing: 0;
  }
  #header .site-name-text, #header .logo-text {
    font-size: 0.72em !important;
    padding: 10px 10px;
  }
}

/* --- モバイル (768px以下): ハンバーガーメニュー --- */
@media screen and (max-width: 768px) {
  /* PC用ヘッダー非表示 */
  #header-container {
    display: none !important;
  }
  /* Cocoonモバイルボタン表示（ハンバーガー） */
  .mobile-menu-buttons {
    display: flex !important;
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 99998;
    background: rgba(10, 10, 20, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 46px !important;
    align-items: center;
    padding: 0 4px;
  }
  .admin-bar .mobile-menu-buttons {
    top: 46px !important;
  }
  .mobile-menu-buttons .menu-button {
    color: #fff !important;
    border: none !important;
  }
  .mobile-menu-buttons .menu-button > a,
  .mobile-menu-buttons .menu-button .menu-button-in {
    color: #fff !important;
  }
  /* スライドインメニュー ダーク化 */
  #slide-in-container,
  .navi-menu-content,
  #navi-menu-content {
    background: rgba(10, 10, 20, 0.97) !important;
  }
  #slide-in-container a,
  .navi-menu-content a,
  #navi-menu-content a,
  .menu-content a {
    color: rgba(255,255,255,0.85) !important;
    border-bottom: none !important;
    display: block;
    padding: 12px 16px !important;
  }
  #slide-in-container a:hover,
  .navi-menu-content a:hover,
  #navi-menu-content a:hover,
  .menu-content a:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
  }
  /* 親メニュー項目: 上ボーダーでグループ区切り */
  .menu-content li.menu-item {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  .menu-content > ul > li.menu-item {
    border-top: 1px solid rgba(255,255,255,0.15) !important;
    border-bottom: none !important;
  }
  .menu-content > ul > li.menu-item:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
  }
  /* 親メニュー: ラベルとトグルボタンを横並び */
  .menu-content .menu-item-has-children {
    position: relative;
  }
  .menu-content .menu-item-has-children > a {
    padding-right: 48px !important;
  }
  /* トグルボタン（JSで挿入） */
  .menu-content .ts-submenu-toggle {
    position: absolute;
    top: 0; right: 0;
    width: 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    font-size: 1.1em;
    transition: transform 0.2s, background 0.15s;
    border-left: 1px solid rgba(255,255,255,0.12);
  }
  .menu-content .ts-submenu-toggle:hover,
  .menu-content .ts-submenu-toggle:active {
    background: rgba(255,255,255,0.15);
    color: #fff;
  }
  .menu-content .ts-submenu-toggle.is-open {
    transform: rotate(180deg);
    background: rgba(255,255,255,0.1);
  }

  /* 子メニュー: デフォルト閉じ */
  .menu-content .sub-menu {
    display: none !important;
    padding-left: 5% !important;
    margin: 0 !important;
    background: rgba(255,255,255,0.03) !important;
  }
  .menu-content .sub-menu.is-open {
    display: block !important;
  }
  .menu-content .sub-menu li {
    padding: 2px 0 !important;
  }
  .menu-content .sub-menu a {
    padding: 10px 16px 10px 32px !important;
    font-size: 0.9em !important;
    color: rgba(255,255,255,0.7) !important;
  }
  .menu-content .sub-menu a:hover {
    color: #fff !important;
  }
  .menu-content {
    height: auto !important;
    overflow: visible !important;
  }
  .menu-close-button {
    text-align: left !important;
    padding-left: 16px !important;
  }
  /* コンテンツオフセット */
  body:not(.page-id-12284) #content {
    padding-top: 46px !important;
  }
  .admin-bar:not(.page-id-12284) #content {
    padding-top: 92px !important;
  }
  /* ページ要素 */
  .tt-hero-video { height: 65vh; min-height: 380px; }
  .tt-hero-name { font-size: 2.4em !important; letter-spacing: 8px; }
  .tt-hero-tagline { font-size: 0.82em !important; letter-spacing: 3px; }
  .tt-work-row { flex-direction: column; gap: 4px; }
  .tt-about { padding: 48px 16px; }
  .tt-links-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* --- スマホ小 (480px以下) --- */
@media screen and (max-width: 480px) {
  #navi .navi-in > ul > li > a {
    padding: 7px 6px !important;
    font-size: 0.62em !important;
  }
  #header .site-name-text, #header .logo-text {
    font-size: 0.65em !important;
    padding: 8px;
  }
  .tt-hero-video { height: 55vh; min-height: 320px; }
  .tt-hero-name { font-size: 1.8em !important; letter-spacing: 5px; }
  .tt-hero-tagline { font-size: 0.72em !important; letter-spacing: 2px; }
  .tt-contact { padding: 40px 16px; }
}


/************************************
** Portfolio full width layout
************************************/
#sidebar,
.sidebar,
#sidebar-scroll,
.sidebar-scroll { display: none !important; }
#content-in { display: block !important; width: 100% !important; max-width: 100% !important; }
#main,
.main { float: none !important; width: 100% !important; max-width: 1280px !important; margin-left: auto !important; margin-right: auto !important; }
.single-post .article,
.archive .article,
.category .article { width: 100% !important; max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; }
.tt-local-video video { width: 100%; height: auto; border-radius: 8px; background: #000; }
.tt-work-note { font-size: 1rem; line-height: 1.9; margin: 1.5em 0 2.5em; }

/************************************
** Portfolio edge-to-edge content override
************************************/
body:not(.page-id-12284) #main,
body:not(.page-id-12284) .main,
body:not(.page-id-12284) .article {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
body:not(.page-id-12284) .article {
  padding-left: clamp(16px, 4vw, 56px) !important;
  padding-right: clamp(16px, 4vw, 56px) !important;
}

/************************************
** Video category intro
************************************/
.tt-category-intro {
  margin: 0 0 32px;
  padding: 28px clamp(18px, 4vw, 44px);
  border: 1px solid #e6e8ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.tt-category-intro .tt-category-kicker {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.tt-category-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.45;
}
.tt-category-intro p {
  max-width: 980px;
  margin: 0 0 10px;
  color: #334155;
  line-height: 1.9;
}
.tt-category-intro p:last-child {
  margin-bottom: 0;
}

/************************************
** NONNOFILM App demo CTA
************************************/
.tt-nonnofilm-app-capture img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12); }
.tt-work-cta { margin: 28px 0; padding: 24px clamp(18px, 4vw, 36px); border: 1px solid #d7e3f5; border-radius: 8px; background: #f8fbff; }
.tt-work-cta h2 { margin-top: 0; font-size: 1.35rem; }
.tt-work-cta p { line-height: 1.9; }
.tt-work-cta a { display: inline-block; padding: 12px 22px; border-radius: 6px; background: #0f766e; color: #fff !important; font-weight: 700; text-decoration: none; }
.tt-work-cta a:hover { filter: brightness(0.95); }


/************************************
** Featured capture in work articles
************************************/
.tt-featured-capture-wrap { margin: 0 0 28px; }
.tt-featured-capture-wrap img,
.tt-featured-capture { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12); }


/************************************
** About page profile
************************************/
.page-id-12978 .entry-title { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.tt-about-page { max-width: 980px; margin: 0 auto; font-size: 1rem; line-height: 1.95; }
.tt-about-page .tt-about-kicker { margin: 0 0 10px; color: #0f766e; font-weight: 700; letter-spacing: 0; }
.tt-about-page h1 { margin: 0 0 24px; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.35; }
.tt-about-page h2 { margin: 42px 0 14px; padding-bottom: 8px; border-bottom: 1px solid #e5e7eb; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.tt-about-page p { margin: 0 0 1.05em; }


/************************************
** About profile meta
************************************/
.tt-profile-meta { margin-top: 44px; }
.tt-skill-table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; }
.tt-skill-table th,
.tt-skill-table td { border: 1px solid #e5e7eb; padding: 12px 14px; text-align: left; vertical-align: top; }
.tt-skill-table th { width: 32%; background: #f8fafc; font-weight: 700; }


/************************************
** Portfolio home hub
************************************/
.tt-home-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1180px; margin: 28px auto 0; }
.tt-home-work-card { display: block; min-height: 100%; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06); transition: transform .16s ease, box-shadow .16s ease; }
.tt-home-work-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12); }
.tt-home-work-card img, .tt-home-work-more { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0f172a; }
.tt-home-work-more { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.05rem; }
.tt-home-work-card span { display: inline-block; margin: 14px 14px 6px; padding: 3px 8px; border-radius: 4px; background: #e8f7ef; color: #0f766e; font-size: .76rem; font-weight: 700; }
.tt-home-work-card strong { display: block; min-height: 3.2em; padding: 0 14px 16px; font-size: 1rem; line-height: 1.55; }
.tt-home-contact-actions { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.tt-social-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 6px; color: #fff !important; text-decoration: none; font-weight: 700; }
.tt-social-btn svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.tt-social-btn.is-youtube { background: #ff0033; }
.tt-social-btn.is-x { background: #111827; }
@media screen and (max-width: 900px) { .tt-home-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 560px) { .tt-home-work-grid { grid-template-columns: 1fr; } .tt-home-work-card strong { min-height: 0; } }


/************************************
** Home hub wpautop cleanup
************************************/
.tt-home-work-grid br,
.tt-home-contact-actions br { display: none !important; }
.tt-home-work-grid > p,
.tt-home-contact-actions > p { display: contents !important; }


/************************************
** About CTA button on home
************************************/
.tt-about-cta-btn { background: #ffffff !important; color: #111827 !important; border: 1px solid #d1d5db !important; }
.tt-about-cta-btn:hover { background: #f3f4f6 !important; }


/************************************
** Contact form page
************************************/
.tt-contact-page { max-width: 760px; margin: 0 auto; line-height: 1.9; }
.tt-contact-page input[type='text'],
.tt-contact-page input[type='email'],
.tt-contact-page textarea { width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 6px; box-sizing: border-box; }
.tt-contact-page textarea { min-height: 180px; }
.tt-contact-page input[type='submit'] { padding: 12px 28px; border: 0; border-radius: 6px; background: #0f766e; color: #fff; font-weight: 700; cursor: pointer; }


/************************************
** Direct contact note
************************************/
.tt-direct-contact-note { margin-top: 10px !important; color: #0f766e !important; font-weight: 700; }

/************************************
** About profile photo
************************************/
.tt-about-profile-photo {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin: 30px 0 36px;
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}
.tt-about-profile-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}
.tt-about-profile-photo figcaption {
  display: block;
  margin: 0;
  color: #111827;
  line-height: 1.7;
}
.tt-about-profile-name {
  display: block;
  margin: 0 0 2px;
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 800;
  line-height: 1.3;
}
.tt-about-profile-role {
  display: block;
  margin: 0 0 12px;
  color: #0f766e;
  font-size: .92rem;
  font-weight: 700;
}
.tt-about-profile-text {
  display: block;
  margin: 0 0 16px;
  color: #374151;
  font-size: .98rem;
}
.tt-about-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.tt-about-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 6px;
  color: #fff !important;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}
.tt-about-profile-btn.is-contact {
  background: #0f766e;
}
.tt-about-profile-btn.is-youtube {
  background: #ff0033;
}
.tt-about-profile-btn.is-x {
  background: #111827;
}
.tt-about-profile-btn:hover {
  filter: brightness(.94);
  color: #fff !important;
}
@media screen and (max-width: 640px) {
  .tt-about-profile-photo {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .tt-about-profile-photo figcaption {
    text-align: center;
  }
  .tt-about-profile-actions {
    justify-content: center;
  }
  .tt-about-profile-btn {
    flex: 1 1 140px;
  }
}
