:root {
    --tarak-bg: #97815a;
    --tarak-header: #151515;
    --tarak-text: #dedede;
    --tarak-muted: #bdbdbd;
    --tarak-gold: #d5b778;
    --tarak-orange: #d59964;
    --tarak-line: rgba(255, 255, 255, 0.14);
    --tarak-content-width: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; background: var(--tarak-bg); }
body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--tarak-bg);
    color: var(--tarak-text);
}
body.tarak-compat-theme {
    font-family: "Noto Sans", "Noto Sans Telugu", "Noto Sans Tamil", "Noto Sans Kannada", "Noto Sans Malayalam", "Nirmala UI", "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
.tarak-entry-content img { height: auto; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus {
    z-index: 1000000;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    clip: auto;
    padding: 10px 14px;
    background: #fff;
    color: #111;
}

.tarak-site-header {
    position: relative;
    z-index: 10010;
    width: 100%;
    background: var(--tarak-header);
}
.td-header-top-menu-full { display: none; }
.td-header-menu-wrap-full,
.td-header-menu-wrap,
.td-header-main-menu {
    width: 100%;
    height: 80px;
    background: var(--tarak-header);
}
.tarak-site-header__inner {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 20px;
}
.tarak-site-nav { display: contents; }
.tarak-site-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: 386.8125px;
    height: 80px;
}
.tarak-site-logo a,
.tarak-site-logo img { display: block; }
.tarak-site-logo img {
    width: 386.8125px;
    height: 80px;
    object-fit: contain;
    object-position: left center;
    padding: 3px 0;
}
.menu-menu-container {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}
.tarak-site-nav__list {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tarak-site-nav__list li { margin: 0; padding: 0; }
.tarak-compat-theme .td-header-style-6 .td-header-menu-wrap #td-header-menu .menu-menu-container {
    position: relative !important;
    top: 7px !important;
}
.tarak-compat-theme .td-header-style-6 #td-header-menu .tarak-site-nav__list > li {
    margin: 0 !important;
}
.tarak-site-nav__list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 98px;
    padding: 0 20px;
    border: 1px solid #242424;
    border-radius: 0;
    background: linear-gradient(#242424 0%, #0b0b0b 48%, #000 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.95), 0 2px 0 #000, 0 3px 5px rgba(0,0,0,.5);
    color: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
.tarak-site-nav__list li:nth-child(2) a { min-width: 127px; }
.tarak-site-nav__list li:nth-child(3) a { min-width: 126px; }
.tarak-site-nav__list a:hover,
.tarak-site-nav__list a:focus-visible,
.tarak-site-nav__list .current-menu-item a {
    color: var(--tarak-gold);
    border-color: #705932;
    outline: 0;
}
.tarak-site-social {
    display: flex;
    flex: 0 0 221px;
    align-items: center;
    gap: 10px;
    height: 42px;
    margin-left: 3px;
    align-self: center;
}
.tarak-compat-theme .td-header-style-6 .td-header-menu-wrap .tarak-site-social {
    top: 5px !important;
}
.tarak-site-social__link {
    display: block;
    height: 42px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}
.tarak-site-social__facebook {
    width: 99px;
    background-image: url("https://taraktalluri.com/wp-content/uploads/codex-assets/follow.png");
}
.tarak-site-social__youtube {
    width: 112px;
    background-image: url("https://taraktalluri.com/wp-content/uploads/codex-assets/subscribe.png");
}
.tarak-site-search {
    display: none;
    flex: 0 0 40px;
    align-items: center;
    justify-content: flex-end;
}
.tarak-site-search__trigger {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.tarak-site-search__trigger span {
    display: block;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
}
.tarak-site-search__trigger span::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
}
.tarak-search-panel {
    position: absolute;
    inset: 80px 0 auto;
    padding: 16px;
    background: rgba(12,12,12,.98);
    border-top: 1px solid #333;
    box-shadow: 0 14px 30px rgba(0,0,0,.45);
}
.tarak-search-panel__inner { display: flex; max-width: 900px; margin: auto; gap: 10px; }
.tarak-search-panel .tarak-search-form { flex: 1; }
.tarak-search-panel__close {
    width: 44px;
    border: 1px solid #555;
    background: #222;
    color: #fff;
    cursor: pointer;
}

.td-main-content-wrap,
.tarak-main,
.tarak-search-results,
.tarak-archive,
.tarak-404 { width: 100%; background: var(--tarak-bg); }
.tarak-container,
.td-container,
.tdc-content-wrap { width: var(--tarak-content-width); max-width: none; margin: 0 auto; }
.tarak-content-row,
.td-pb-row { display: flex; width: 100%; }
.tarak-content-column,
.td-pb-span8 { width: 100%; }
.tarak-sidebar,
.td-pb-span4 { display: none; }
.tarak-entry-shell { width: 100%; }
.tarak-entry-header .td-page-title { display: none; }
.tarak-entry-content,
.td-page-content,
.td-post-content {
    width: 100%;
    min-height: 1px;
    padding: 0;
}
.tarak-entry-content::after { display: table; clear: both; content: ""; }

.tarak-search-results__inner,
.tarak-archive__inner {
    width: min(1210px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0 60px;
}
.tarak-search-results__header h1,
.tarak-archive__header h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 30px;
    line-height: 1.2;
}
.tarak-search-results__header p,
.tarak-archive__description { color: rgba(255,255,255,.58); }
.tarak-search-form { display: flex; width: 100%; gap: 8px; }
.tarak-search-form__field {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #fff;
}
.tarak-search-form__submit {
    height: 42px;
    padding: 0 20px;
    border: 1px solid #705932;
    background: linear-gradient(#3d3324, #17120b);
    color: #fff;
    cursor: pointer;
}
.tarak-search-list { margin-top: 42px; }
.tarak-search-card {
    display: grid;
    grid-template-columns: minmax(260px, 485px) minmax(0, 1fr);
    align-items: center;
    gap: 38px;
    margin-bottom: 42px;
}
.tarak-search-card__media {
    display: block;
    aspect-ratio: 485 / 360;
    overflow: hidden;
    background: #d8d8d8;
}
.tarak-search-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tarak-search-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(145deg, #dadada, #bcbcbc);
    color: rgba(0,0,0,.38);
    font-size: 48px;
    font-weight: 800;
}
.tarak-search-card h2,
.tarak-archive-card h2 { margin: 0 0 14px; font-size: 22px; }
.tarak-search-card h2 a,
.tarak-archive-card h2 a { color: #fff; text-decoration: none; }
.tarak-search-card p,
.tarak-archive-card p { color: rgba(255,255,255,.6); line-height: 1.65; }
.tarak-archive-card { padding: 24px 0; border-bottom: 1px solid var(--tarak-line); }
.tarak-pagination { margin: 30px 0; }
.tarak-pagination .nav-links { display: flex; gap: 8px; }
.tarak-pagination a,
.tarak-pagination span { padding: 8px 12px; background: #181818; color: #fff; text-decoration: none; }
.tarak-no-results { padding: 40px 0; color: #fff; }

.tarak-404 {
    min-height: calc(100vh - 80px);
    display: grid;
    place-items: center;
    padding: 30px;
}
.tarak-404__panel { max-width: 680px; text-align: center; }
.tarak-404__code { margin: 0; color: rgba(0,0,0,.28); font-size: clamp(90px, 22vw, 220px); font-weight: 900; line-height: .8; }
.tarak-404 h1 { color: #fff; }
.tarak-404__links { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.tarak-404__links a {
    padding: 10px 18px;
    background: linear-gradient(#242424, #000);
    border: 1px solid #705932;
    color: #fff;
    text-decoration: none;
}
.tarak-site-footer { min-height: 0; }
.tarak-home-content { min-height: 0; }

@media (max-width: 1100px) {
    .tarak-site-logo { width: 330px; }
    .tarak-site-logo img { width: 330px; }
    .tarak-site-nav__list { gap: 6px; }
    .tarak-site-nav__list a { min-width: 88px; padding-inline: 14px; }
    .tarak-site-nav__list li:nth-child(2) a,
    .tarak-site-nav__list li:nth-child(3) a { min-width: 108px; }
    .tarak-site-social { flex-basis: 193px; gap: 8px; }
    .tarak-site-social__facebook { width: 86px; }
    .tarak-site-social__youtube { width: 99px; }
}

@media (max-width: 767px) {
    .tarak-site-header { display: none; }
    .tarak-main,
    .td-main-content-wrap { min-height: 100vh; }
    .tarak-entry-content,
    .td-page-content,
    .td-post-content { width: calc(100% - 20px); margin: 0 10px; }
    .tarak-search-results__inner,
    .tarak-archive__inner { width: calc(100% - 20px); padding-top: 62px; }
    .tarak-search-results__header h1,
    .tarak-archive__header h1 { font-size: 25px; }
    .tarak-search-card { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
    .tarak-search-card h2 { font-size: 20px; }
    .tarak-search-form__submit { padding-inline: 14px; }
    .tarak-404 { min-height: 100vh; padding-top: 70px; }
    .tarak-404__links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
